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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
05935593d048f7d0754c602fb109377f105918ef | 15,014 | cpp | C++ | Tempest/2d/font.cpp | enotio/Tempest | 1a7105cfca3669d54c696ad8188f04f25159c0a0 | [
"MIT"
] | 5 | 2017-05-31T21:25:57.000Z | 2020-01-14T14:11:41.000Z | Tempest/2d/font.cpp | enotio/Tempest | 1a7105cfca3669d54c696ad8188f04f25159c0a0 | [
"MIT"
] | 2 | 2017-11-13T14:32:21.000Z | 2018-10-03T17:07:36.000Z | Tempest/2d/font.cpp | enotio/Tempest | 1a7105cfca3669d54c696ad8188f04f25159c0a0 | [
"MIT"
] | 2 | 2018-01-31T14:06:58.000Z | 2018-10-02T11:46:34.000Z | #include "font.h"
#include <Tempest/Pixmap>
#include <Tempest/File>
#include <ft2build.h>
#include FT_FREETYPE_H
#include <freetype/freetype.h>
#include <algorithm>
struct Tempest::FontElement::FreeTypeLib{
FreeTypeLib(){
FT_Init_FreeType( &library );
Tempest::FontElement::fnames.reserve(16);
}
~Fre... | 24.53268 | 96 | 0.58239 | enotio |
0594a0d72dd7da10f22b66dd865ca59dfa41f56d | 734 | hpp | C++ | SDK/ARKSurvivalEvolved_DinoSpawnEntries_Ocean_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_DinoSpawnEntries_Ocean_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_DinoSpawnEntries_Ocean_parameters.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_DinoSpawnEntries_Ocean_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------... | 26.214286 | 152 | 0.543597 | 2bite |
05970ed668b4dc46c03af935b9eedfcb4a9d178d | 7,799 | hpp | C++ | include/usb_asio/usb_device.hpp | MiSo1289/usb-asio | cd6aac7b9bfad1c617aa0e6d1eefeea8b00cfcdf | [
"MIT"
] | 47 | 2020-08-24T17:53:04.000Z | 2022-03-11T16:03:22.000Z | include/usb_asio/usb_device.hpp | MiSo1289/usb-asio | cd6aac7b9bfad1c617aa0e6d1eefeea8b00cfcdf | [
"MIT"
] | null | null | null | include/usb_asio/usb_device.hpp | MiSo1289/usb-asio | cd6aac7b9bfad1c617aa0e6d1eefeea8b00cfcdf | [
"MIT"
] | null | null | null | #pragma once
#include <concepts>
#include <compare>
#include <cstdint>
#include <span>
#include <libusb.h>
#include "usb_asio/asio.hpp"
#include "usb_asio/error.hpp"
#include "usb_asio/libusb_ptr.hpp"
#include "usb_asio/usb_device_info.hpp"
#include "usb_asio/usb_service.hpp"
namespace usb_asio
{
template <typen... | 30.584314 | 103 | 0.548788 | MiSo1289 |
05971dcc65a0a9e093db223379ade73c5c53932c | 6,903 | cpp | C++ | aegisub/src/timeedit_ctrl.cpp | rcombs/Aegisub | 58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50 | [
"ISC"
] | 1 | 2018-02-12T02:44:57.000Z | 2018-02-12T02:44:57.000Z | aegisub/src/timeedit_ctrl.cpp | rcombs/Aegisub | 58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50 | [
"ISC"
] | null | null | null | aegisub/src/timeedit_ctrl.cpp | rcombs/Aegisub | 58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50 | [
"ISC"
] | 2 | 2018-02-12T03:46:24.000Z | 2018-02-12T14:36:07.000Z | // Copyright (c) 2005, Rodrigo Braz Monteiro
// 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 o... | 28.060976 | 126 | 0.694626 | rcombs |
0597a663407b40a70366c93612eb6b1d47c6743e | 3,210 | cpp | C++ | src/UnitTest/Core/MemoryManager.cpp | fangchuan/Open3D | 61f991ba5d9fe3ee1e4e195a607bf48f4695d821 | [
"MIT"
] | null | null | null | src/UnitTest/Core/MemoryManager.cpp | fangchuan/Open3D | 61f991ba5d9fe3ee1e4e195a607bf48f4695d821 | [
"MIT"
] | null | null | null | src/UnitTest/Core/MemoryManager.cpp | fangchuan/Open3D | 61f991ba5d9fe3ee1e4e195a607bf48f4695d821 | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... | 39.146341 | 80 | 0.655763 | fangchuan |
0598ded5dbcc7673af8d0b34d123a50536350218 | 1,681 | cpp | C++ | Tools/NounShipPort/Port.cpp | SnipeDragon/darkspace | b6a1fa0a29d3559b158156e7b96935bd0a832ee3 | [
"MIT"
] | 1 | 2016-05-22T21:28:29.000Z | 2016-05-22T21:28:29.000Z | Tools/NounShipPort/Port.cpp | SnipeDragon/darkspace | b6a1fa0a29d3559b158156e7b96935bd0a832ee3 | [
"MIT"
] | null | null | null | Tools/NounShipPort/Port.cpp | SnipeDragon/darkspace | b6a1fa0a29d3559b158156e7b96935bd0a832ee3 | [
"MIT"
] | null | null | null | /*
Port.cpp
(c)1998 Palestar, Richard Lyle
*/
#define NOUNSHIPPORT_DLL
#include "stdafx.h"
#include "Port.h"
#include "DarkSpace/NounShip.h"
#include "DarkSpace/GameContext.h"
#include "Tools/ShipContextPort/Port.h"
#include "Tools/ScenePort/ChildFrame.h"
#include "Tools/ResourcerDoc/Port.h"
//-------------------... | 19.776471 | 81 | 0.580012 | SnipeDragon |
059c22af97e6bb4f86b0a1797c0ed377e1c1176e | 5,689 | cpp | C++ | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/InteropInfoLevelProfile.cpp | txlos/wpf | 4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1 | [
"MIT"
] | 5,937 | 2018-12-04T16:32:50.000Z | 2022-03-31T09:48:37.000Z | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/InteropInfoLevelProfile.cpp | txlos/wpf | 4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1 | [
"MIT"
] | 4,151 | 2018-12-04T16:38:19.000Z | 2022-03-31T18:41:14.000Z | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/InteropInfoLevelProfile.cpp | txlos/wpf | 4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1 | [
"MIT"
] | 1,084 | 2018-12-04T16:24:21.000Z | 2022-03-30T13:52:03.000Z | // 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.
/*++
Abstract:
InfoLeve... | 14.081683 | 84 | 0.65987 | txlos |
059ce283b8c93cad84111c7b32408394d3b01e32 | 23,713 | cpp | C++ | compiler-rt/lib/memprof/memprof_allocator.cpp | ajaykumarkannan/llvm | d31b42c27e72d305f158289d34e55a190e00942e | [
"Apache-2.0"
] | 1 | 2021-12-10T01:17:03.000Z | 2021-12-10T01:17:03.000Z | compiler-rt/lib/memprof/memprof_allocator.cpp | 1samhicks/llvm-project | c3017819cb7fe22dcfabf90ecb34130fb6bed314 | [
"Apache-2.0"
] | 1 | 2021-02-11T23:06:57.000Z | 2021-02-11T23:06:57.000Z | compiler-rt/lib/memprof/memprof_allocator.cpp | 1samhicks/llvm-project | c3017819cb7fe22dcfabf90ecb34130fb6bed314 | [
"Apache-2.0"
] | 1 | 2021-02-11T15:05:32.000Z | 2021-02-11T15:05:32.000Z | //===-- memprof_allocator.cpp --------------------------------------------===//
//
// 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
//
//===----------------------------... | 33.731152 | 80 | 0.684983 | ajaykumarkannan |
05a1fcc957de1a7b4b5bbdd0d19a2f92991e296b | 15,134 | hpp | C++ | http.hpp | kissbeni/tinyhttp | 2e7dddbbb4ac0824ec457eadfcf00106fce5154c | [
"Apache-2.0"
] | 2 | 2021-11-27T18:35:20.000Z | 2022-03-23T08:11:57.000Z | http.hpp | kissbeni/tinyhttp | 2e7dddbbb4ac0824ec457eadfcf00106fce5154c | [
"Apache-2.0"
] | null | null | null | http.hpp | kissbeni/tinyhttp | 2e7dddbbb4ac0824ec457eadfcf00106fce5154c | [
"Apache-2.0"
] | null | null | null | #ifndef HTTP_SERVER_H
#define HTTP_SERVER_H
// json support (Currently uses MiniJson)
#define TINYHTTP_JSON
// websocket support
#define TINYHTTP_WS
// template integration
#define TINYHTTP_TEMPLATES
#ifndef MAX_HTTP_HEADERS
# define MAX_HTTP_HEADERS 30
#endif
#ifndef MAX_HTTP_CONTENT_SIZE
# define MAX_HTTP_CONT... | 31.861053 | 153 | 0.606647 | kissbeni |
05a2505a2f5188765ad529de3ee1af874a409105 | 30,222 | cpp | C++ | tests/PhiCore/unittests/src/type_traits/is_arithmetic.test.cpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 3 | 2020-12-21T13:47:35.000Z | 2022-03-16T23:53:21.000Z | tests/PhiCore/unittests/src/type_traits/is_arithmetic.test.cpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 53 | 2020-08-07T07:46:57.000Z | 2022-02-12T11:07:08.000Z | tests/PhiCore/unittests/src/type_traits/is_arithmetic.test.cpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 1 | 2020-08-19T15:50:02.000Z | 2020-08-19T15:50:02.000Z | #include <phi/test/test_macros.hpp>
#include "test_types.hpp"
#include <phi/compiler_support/char8_t.hpp>
#include <phi/core/boolean.hpp>
#include <phi/core/floating_point.hpp>
#include <phi/core/integer.hpp>
#include <phi/core/nullptr_t.hpp>
#include <phi/core/scope_ptr.hpp>
#include <phi/type_traits/is_arithmetic.hp... | 46.783282 | 92 | 0.694097 | AMS21 |
05a3bd736ec53c47ded063d6e84f7be75056e38e | 2,755 | cpp | C++ | platform-windows/source/Bitmap.cpp | mtezych/cpp | 05c1b85eb89117a9b406f3f32470367937331614 | [
"BSD-3-Clause"
] | null | null | null | platform-windows/source/Bitmap.cpp | mtezych/cpp | 05c1b85eb89117a9b406f3f32470367937331614 | [
"BSD-3-Clause"
] | null | null | null | platform-windows/source/Bitmap.cpp | mtezych/cpp | 05c1b85eb89117a9b406f3f32470367937331614 | [
"BSD-3-Clause"
] | 2 | 2019-12-21T00:31:17.000Z | 2021-07-14T23:16:23.000Z |
#include <windows/Bitmap.h>
#include <cassert>
#include <cstring>
namespace windows
{
namespace
{
template <typename ObjectHandleType>
struct ObjectInfo;
template <>
struct ObjectInfo<HBITMAP > { using type = BITMAP; };
template <>
struct ObjectInfo<HPALETTE> { using type = WORD; };
template <... | 23.347458 | 69 | 0.661706 | mtezych |
05a5f467fe10e76c637a76d16b1c30130e64f884 | 4,990 | cpp | C++ | code/fiber/Manager.cpp | MarqusJonsson/NomadTasks | 91fd52432c96ed3945761ceef45eb0a6e2f0ddac | [
"MIT"
] | 5 | 2020-06-22T06:32:59.000Z | 2022-01-22T00:35:02.000Z | code/fiber/Manager.cpp | MarqusJonsson/NomadTasks | 91fd52432c96ed3945761ceef45eb0a6e2f0ddac | [
"MIT"
] | null | null | null | code/fiber/Manager.cpp | MarqusJonsson/NomadTasks | 91fd52432c96ed3945761ceef45eb0a6e2f0ddac | [
"MIT"
] | 3 | 2020-01-26T17:25:59.000Z | 2020-05-13T15:12:38.000Z | /*
* All or portions of this file Copyright (c) NOMAD Group<nomad-group.net> or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the ... | 23.42723 | 141 | 0.707214 | MarqusJonsson |
05a79b51fe5cffeda2814cf180805a6308ee6c2f | 2,141 | cpp | C++ | main4-4.cpp | if025-pm-unpsjb/tp5-2019-emanuelbalcazar | e5201ce62a06a4177340799c78cfeb81923d1fa9 | [
"MIT"
] | 1 | 2019-11-12T21:20:23.000Z | 2019-11-12T21:20:23.000Z | main4-4.cpp | if025-pm-unpsjb/tp5-2019-emanuelbalcazar | e5201ce62a06a4177340799c78cfeb81923d1fa9 | [
"MIT"
] | null | null | null | main4-4.cpp | if025-pm-unpsjb/tp5-2019-emanuelbalcazar | e5201ce62a06a4177340799c78cfeb81923d1fa9 | [
"MIT"
] | null | null | null | #include "mbed.h" // Librería mbed
#include "FreeRTOS.h" // Definiciones principales de FreeRTOS
#include "task.h" // Funciones para el control de las tareas
Serial pc(USBTX, USBRX); // tx, rx
DigitalOut led1(LED1);
// SYSTEM 0, 1 o 2
const int SYSTEM = 0;
void thread1(void*);
struct Task {
char name... | 18.946903 | 79 | 0.610929 | if025-pm-unpsjb |
05aa007478d246c30fe28407256cc60dc922165c | 707 | inl | C++ | performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.inl | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | 16 | 2015-05-11T04:33:44.000Z | 2022-02-15T04:28:39.000Z | performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.inl | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | null | null | null | performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.inl | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | 7 | 2015-01-08T16:11:34.000Z | 2021-07-04T16:04:40.000Z | // $Id$
ACE_INLINE size_t
Baseline_Test_Base::iteration (void)
{
return this->iteration_;
}
ACE_INLINE int
Baseline_Test_Base::yield_method (void)
{
return this->yield_method_;
}
ACE_INLINE int
Baseline_Test_Options::test_try_lock (void)
{
return this->test_try_lock_;
}
ACE_INLINE size_t
Baseline_Test_Options... | 16.068182 | 63 | 0.772277 | BeiJiaan |
05ae1572c7945c27845058a91ddf0021294b064d | 357 | cpp | C++ | Setul_D.5/P6.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | Setul_D.5/P6.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | Setul_D.5/P6.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
using namespace std;
int main(){
ifstream f("P6.in");
int n,p,x,scif=0;
f >> n;
f >> p;
int arr[n];
for (int i=0; i<n; i++){
f >> arr[i];
}
for (int i=0; i<n; i++){
x=arr[i];
while(x!=0){
scif+=x%10;
x=x/10;
}
if(scif%p==0)
cout << arr[... | 11.516129 | 28 | 0.464986 | rlodina99 |
05af093645111de3fc5f0533d5de887324095f85 | 8,912 | cpp | C++ | calc_v3/calccore.cpp | fa993/calc_v3 | d01d010764e7f49a60a0b2d222612cc25d7bf7a1 | [
"MIT"
] | null | null | null | calc_v3/calccore.cpp | fa993/calc_v3 | d01d010764e7f49a60a0b2d222612cc25d7bf7a1 | [
"MIT"
] | null | null | null | calc_v3/calccore.cpp | fa993/calc_v3 | d01d010764e7f49a60a0b2d222612cc25d7bf7a1 | [
"MIT"
] | null | null | null | #ifndef CALCCORE_FA993
#define CALCCORE_FA993
#include <iostream>
#include <vector>
#include <map>
#include <string>
#include <sstream>
#include "calcentity.cpp"
class CalcFunctionData;
class CalcPrimaryFunctionData;
class CalcText : public CalcData {
protected:
std::string value;
public:
C... | 19.804444 | 118 | 0.554758 | fa993 |
05b1a9d3fd5a2f4fc22db2e5fe22f780c1bc7b30 | 24,064 | cpp | C++ | src/mumble/OverlayEditorScene.cpp | JoelTroch/mumble | cdaff31b00a713b2a259d9c6a4c81bf7496a592e | [
"BSD-3-Clause"
] | 1 | 2015-02-27T15:40:11.000Z | 2015-02-27T15:40:11.000Z | src/mumble/OverlayEditorScene.cpp | JoelTroch/mumble | cdaff31b00a713b2a259d9c6a4c81bf7496a592e | [
"BSD-3-Clause"
] | null | null | null | src/mumble/OverlayEditorScene.cpp | JoelTroch/mumble | cdaff31b00a713b2a259d9c6a4c81bf7496a592e | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com>
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,... | 27.564719 | 276 | 0.664977 | JoelTroch |
05b4cfdde4aa27055466888a7420912deb00023a | 460 | cpp | C++ | AOJ/ITP1/07B_How_many_ways.cpp | tyokinuhata/procon | d0a8439f961c7b28b74201c65cc3c603011a94dc | [
"MIT"
] | 1 | 2019-04-18T02:25:05.000Z | 2019-04-18T02:25:05.000Z | AOJ/ITP1/07B_How_many_ways.cpp | tyokinuhata/procon | d0a8439f961c7b28b74201c65cc3c603011a94dc | [
"MIT"
] | 1 | 2018-06-27T08:00:07.000Z | 2018-06-27T08:00:07.000Z | AOJ/ITP1/07B_How_many_ways.cpp | tyokinuhata/procon | d0a8439f961c7b28b74201c65cc3c603011a94dc | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main () {
int n, x;
while (true) {
cin >> n >> x;
if (n == 0 && x == 0) break;
int cnt = 0;
for (int i = 1; i <= n - 2; i++) {
for (int j = i + 1; j <= n - 1; j++) {
for (int k = j + 1; k <= n; k++) {
... | 20 | 50 | 0.297826 | tyokinuhata |
05c8b3124e4298abcd65c09fd63d3274b1863c06 | 3,588 | hpp | C++ | pyjac/kernel_utils/c/memcpy_2d.hpp | stgeke/pyJac-v2 | c2716a05df432efd8e5f6cc5cc3d46b72c24c019 | [
"MIT"
] | 9 | 2018-10-08T07:49:20.000Z | 2021-06-26T15:28:30.000Z | pyjac/kernel_utils/c/memcpy_2d.hpp | stgeke/pyJac-v2 | c2716a05df432efd8e5f6cc5cc3d46b72c24c019 | [
"MIT"
] | 13 | 2018-09-01T14:17:51.000Z | 2021-07-30T16:19:33.000Z | pyjac/kernel_utils/c/memcpy_2d.hpp | arghdos/spyJac | bdd6940c27681e3b19ee41efb31abd20a89d1be8 | [
"MIT"
] | 7 | 2018-09-08T11:57:34.000Z | 2022-02-14T13:57:20.000Z | /**
* memcpy_2d.h
*
* \author Nick Curtis
* \date 2017
*
* Simple 2D memcopy function to enable strided copy of state vectors
* for cases where the maximum allowable number of initial conditions is
* _less_ than the total number of conditions to be tested
*
*/
#ifndef MEMCPY2D_H
#define MEMCPY2D_H
#in... | 50.535211 | 160 | 0.571906 | stgeke |
05c8f7f43074ff0999305b2df26ba879fe288db2 | 6,759 | cpp | C++ | TOMB5/game/willwisp.cpp | walkawayy/TOMB5 | cc33d5147ed21c8db123a72f4acdc9241e3ed73c | [
"MIT"
] | null | null | null | TOMB5/game/willwisp.cpp | walkawayy/TOMB5 | cc33d5147ed21c8db123a72f4acdc9241e3ed73c | [
"MIT"
] | null | null | null | TOMB5/game/willwisp.cpp | walkawayy/TOMB5 | cc33d5147ed21c8db123a72f4acdc9241e3ed73c | [
"MIT"
] | null | null | null | #include "../tomb5/pch.h"
#include "willwisp.h"
#include "box.h"
#include "objects.h"
#include "../specific/3dmath.h"
#include "sound.h"
#include "effect2.h"
#include "control.h"
#include "sphere.h"
#include "tomb4fx.h"
#include "lot.h"
#include "items.h"
#include "../specific/function_stubs.h"
#include "effects.h"
st... | 25.896552 | 127 | 0.660749 | walkawayy |
05cc2d169818d66a47bf2133326c658b2e317820 | 12,446 | cpp | C++ | tests/hdf5.cpp | embarktrucks/armadillo-code | edfce747962f8ad508db660caa3892ed1a4069f8 | [
"Apache-2.0"
] | 11 | 2017-08-31T16:38:39.000Z | 2022-03-26T03:45:12.000Z | tests/hdf5.cpp | embarktrucks/armadillo-code | edfce747962f8ad508db660caa3892ed1a4069f8 | [
"Apache-2.0"
] | 1 | 2017-03-14T02:27:16.000Z | 2017-03-14T02:27:16.000Z | tests/hdf5.cpp | embarktrucks/armadillo-code | edfce747962f8ad508db660caa3892ed1a4069f8 | [
"Apache-2.0"
] | 4 | 2017-08-08T18:18:06.000Z | 2020-10-02T02:03:06.000Z | // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/)
// Copyright 2017 National ICT Australia (NICTA)
//
// 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/licens... | 17.286111 | 75 | 0.550217 | embarktrucks |
fe4aee51d806f723938b7ef0050e414eda3a9eb9 | 59 | cpp | C++ | test_package/test_package.cpp | Hopobcn/conan-cutlass | d6ba4c31562b56c1de3ce0df25daaad3755365ee | [
"MIT"
] | null | null | null | test_package/test_package.cpp | Hopobcn/conan-cutlass | d6ba4c31562b56c1de3ce0df25daaad3755365ee | [
"MIT"
] | null | null | null | test_package/test_package.cpp | Hopobcn/conan-cutlass | d6ba4c31562b56c1de3ce0df25daaad3755365ee | [
"MIT"
] | null | null | null | #include <cutlass/cutlass.h>
int main()
{
return 0;
}
| 8.428571 | 28 | 0.610169 | Hopobcn |
fe4f16a266134c04e8466236a801e3afc70c0a13 | 1,063 | cpp | C++ | stack/test/tests/coh/testCohRequestMsg.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | 1 | 2016-07-12T06:00:37.000Z | 2016-07-12T06:00:37.000Z | stack/test/tests/coh/testCohRequestMsg.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | null | null | null | stack/test/tests/coh/testCohRequestMsg.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | 2 | 2016-09-06T07:59:09.000Z | 2020-12-12T03:25:24.000Z | #include <boost/test/unit_test.hpp>
#include "CohRequestMsg.h"
using namespace sdo::coh;
BOOST_AUTO_TEST_SUITE(test_cohrequestmsg)
BOOST_AUTO_TEST_CASE(test_parser)
{
CCohRequestMsg msg;
msg.SetUrl("http://192.168.0.3/SetLog");
BOOST_CHECK_EQUAL(msg.GetIp(),"192.168.0.3");
BOOST_CHECK_EQUAL(msg.GetPor... | 27.973684 | 58 | 0.687676 | shrewdlin |
fe528f57febbc3ce32384ecc4b1929d8a0918c44 | 1,801 | cc | C++ | src/developer/forensics/feedback_data/device_id_provider.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | 1 | 2021-09-09T12:25:41.000Z | 2021-09-09T12:25:41.000Z | src/developer/forensics/feedback_data/device_id_provider.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | null | null | null | src/developer/forensics/feedback_data/device_id_provider.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/forensics/feedback_data/device_id_provider.h"
#include <lib/syslog/cpp/macros.h>
#include <optional>
#include "src/developer/for... | 29.52459 | 98 | 0.694059 | JokeZhang |
fe52fa6dbf4f8ec46a71486c99dce01779201b66 | 711 | cpp | C++ | Projects/CoX/Clients/Client_I0/patch_all_the_things.cpp | HeraldOfOmega/Segs | 0de876d7c28481dc2eab743781e86141be0fc8ba | [
"BSD-3-Clause"
] | 1 | 2019-02-19T02:52:29.000Z | 2019-02-19T02:52:29.000Z | Projects/CoX/Clients/Client_I0/patch_all_the_things.cpp | HeraldOfOmega/Segs | 0de876d7c28481dc2eab743781e86141be0fc8ba | [
"BSD-3-Clause"
] | null | null | null | Projects/CoX/Clients/Client_I0/patch_all_the_things.cpp | HeraldOfOmega/Segs | 0de876d7c28481dc2eab743781e86141be0fc8ba | [
"BSD-3-Clause"
] | 1 | 2021-04-13T16:04:08.000Z | 2021-04-13T16:04:08.000Z | #include "patch_all_the_things.h"
#include "entity/entityDebug.h"
#include "renderer/RendererUtils.h"
#include "renderer/RenderTricks.h"
#include "renderer/RenderBonedModel.h"
#include "renderer/RenderModel.h"
#include "renderer/RendererState.h"
#include "renderer/RenderShadow.h"
#include "renderer/RenderSprites.h"
#i... | 24.517241 | 38 | 0.745429 | HeraldOfOmega |
fe52fb262931d41160ccf7ea7f4ed2e908574e26 | 11,997 | hpp | C++ | include/cynodelic/tesela/rgba_types.hpp | cynodelic/tesela | 3b86a7b9501c7136d5168c7e314740fa7f72f7a7 | [
"BSL-1.0"
] | null | null | null | include/cynodelic/tesela/rgba_types.hpp | cynodelic/tesela | 3b86a7b9501c7136d5168c7e314740fa7f72f7a7 | [
"BSL-1.0"
] | null | null | null | include/cynodelic/tesela/rgba_types.hpp | cynodelic/tesela | 3b86a7b9501c7136d5168c7e314740fa7f72f7a7 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2019 Álvaro Ceballos
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt
/**
* @file rgba_types.hpp
*
* @brief Defines RGBA pixel types.
*/
#ifndef CYNODELIC_TESELA_RGBA_TYPES_HPP
#define CYNODELIC_TESELA_R... | 19.928571 | 137 | 0.643828 | cynodelic |
fe555779d3aa725ab958ee9fe9568f41f4d2935c | 7,141 | cpp | C++ | Zone/libs/cocos2dx/extensions/CCBReader/CCParticleSystemQuadLoader.cpp | sdost/Zone | 747e5998b23ba58b1389880640e16a699a115c9e | [
"Apache-2.0"
] | 6 | 2015-01-10T03:42:34.000Z | 2016-03-24T05:17:02.000Z | Zone/libs/cocos2dx/extensions/CCBReader/CCParticleSystemQuadLoader.cpp | sdost/Zone | 747e5998b23ba58b1389880640e16a699a115c9e | [
"Apache-2.0"
] | 1 | 2015-11-11T08:38:11.000Z | 2015-11-11T08:38:11.000Z | Zone/libs/cocos2dx/extensions/CCBReader/CCParticleSystemQuadLoader.cpp | sdost/Zone | 747e5998b23ba58b1389880640e16a699a115c9e | [
"Apache-2.0"
] | 4 | 2015-03-24T02:19:57.000Z | 2020-09-19T06:16:51.000Z | #include "CCParticleSystemQuadLoader.h"
USING_NS_CC;
USING_NS_CC_EXT;
#define PROPERTY_EMITERMODE "emitterMode"
#define PROPERTY_POSVAR "posVar"
#define PROPERTY_EMISSIONRATE "emissionRate"
#define PROPERTY_DURATION "duration"
#define PROPERTY_TOTALPARTICLES "totalParticles"
#define PROPERTY_LIFE "life"
#define PROPE... | 53.691729 | 172 | 0.734911 | sdost |
fe5718e950c709fdfa16355378ea5d09bb3ab65d | 1,078 | cpp | C++ | Implement strStr().cpp | Xe0n0/LeetCode | a7a383d88d222edaadd52b317e848f06632a569a | [
"MIT"
] | 1 | 2017-08-22T00:43:27.000Z | 2017-08-22T00:43:27.000Z | Implement strStr().cpp | Xe0n0/LeetCode | a7a383d88d222edaadd52b317e848f06632a569a | [
"MIT"
] | null | null | null | Implement strStr().cpp | Xe0n0/LeetCode | a7a383d88d222edaadd52b317e848f06632a569a | [
"MIT"
] | null | null | null | //1. what should be return if needle is NULL
//2. some condition prevent go inside loop may have satifiable pattern
class Solution {
public:
char *strStr(char *haystack, char *needle) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
char *r = NULL;
... | 26.95 | 70 | 0.38961 | Xe0n0 |
fe5cc0521a12dc45abbbf0a3bb4e06cc2f2c3034 | 32,287 | hpp | C++ | SamSrc/sam/SubgraphQueryResult.hpp | elgood/SAM | 5943d637270581e4fe307bc68fbeb5a8e4eccc2c | [
"MIT"
] | 6 | 2019-08-16T07:13:17.000Z | 2021-06-08T21:15:52.000Z | SamSrc/sam/SubgraphQueryResult.hpp | elgood/SAM | 5943d637270581e4fe307bc68fbeb5a8e4eccc2c | [
"MIT"
] | 1 | 2020-05-30T20:35:18.000Z | 2020-05-30T20:35:18.000Z | SamSrc/sam/SubgraphQueryResult.hpp | elgood/SAM | 5943d637270581e4fe307bc68fbeb5a8e4eccc2c | [
"MIT"
] | 3 | 2020-02-17T18:38:14.000Z | 2021-03-28T02:47:57.000Z | #ifndef SAM_SUBGRAPH_QUERY_RESULT_HPP
#define SAM_SUBGRAPH_QUERY_RESULT_HPP
#include <sam/SubgraphQuery.hpp>
#include <sam/Null.hpp>
#include <sam/EdgeRequest.hpp>
#include <sam/Util.hpp>
#include <sam/VertexConstraintChecker.hpp>
#include <set>
namespace sam {
class SubgraphQueryResultException : public std::runtim... | 35.7949 | 85 | 0.67442 | elgood |
fe6340a8ff0b093b349b3245307e3a0e27ab7f00 | 48,602 | cpp | C++ | openfpga/src/fabric/build_memory_modules.cpp | LNIS-Projects/POSH | 9a3c82039d40c3878549775264b0d769237a65d0 | [
"MIT"
] | 148 | 2018-08-12T11:25:50.000Z | 2020-11-30T16:08:54.000Z | openfpga/src/fabric/build_memory_modules.cpp | VHDL-Digital-Systems/OpenFPGA | 9d00308166b8800d245b265d7378b0593761a61f | [
"MIT"
] | 52 | 2019-01-18T18:54:36.000Z | 2020-12-01T18:41:36.000Z | openfpga/src/fabric/build_memory_modules.cpp | VHDL-Digital-Systems/OpenFPGA | 9d00308166b8800d245b265d7378b0593761a61f | [
"MIT"
] | 26 | 2018-06-28T18:12:18.000Z | 2020-11-24T03:11:46.000Z | /*********************************************************************
* This file includes functions to generate Verilog submodules for
* the memories that are affiliated to multiplexers and other programmable
* circuit models, such as IOPADs, LUTs, etc.
***********************************************************... | 51.213909 | 170 | 0.638451 | LNIS-Projects |
fe6507d57a1b28cddc2b3fedea4b54aea30bb8ef | 1,931 | cpp | C++ | Graph/kruskal.cpp | kasettakorn/algorithms | 877c0be14b1816efe02bad8f1556c2af378ab2d1 | [
"MIT"
] | null | null | null | Graph/kruskal.cpp | kasettakorn/algorithms | 877c0be14b1816efe02bad8f1556c2af378ab2d1 | [
"MIT"
] | null | null | null | Graph/kruskal.cpp | kasettakorn/algorithms | 877c0be14b1816efe02bad8f1556c2af378ab2d1 | [
"MIT"
] | null | null | null | // Online C++ compiler to run C++ program online
#include <iostream>
#include <algorithm>
#define MAXV 500
typedef struct
{
int edges[MAXV][MAXV];
int degrees[MAXV];
bool visited[MAXV];
int nedges, nvertices;
} Graph;
typedef struct
{
int start;
int finish;
int distance;
} Vertex;
using nam... | 21.943182 | 73 | 0.469705 | kasettakorn |
fe68a253f284820b8a0c1100b0657db7080b1891 | 3,800 | cpp | C++ | src/xserver_emscripten.cpp | QuantStack/xeus | 40bc5a0865d1076a5d17e16ba43e1362bd9bbd8c | [
"BSD-3-Clause"
] | 559 | 2016-12-07T11:37:24.000Z | 2019-12-23T12:20:38.000Z | src/xserver_emscripten.cpp | QuantStack/xeus | 40bc5a0865d1076a5d17e16ba43e1362bd9bbd8c | [
"BSD-3-Clause"
] | 90 | 2016-12-07T12:06:33.000Z | 2019-12-19T17:42:17.000Z | src/xserver_emscripten.cpp | QuantStack/xeus | 40bc5a0865d1076a5d17e16ba43e1362bd9bbd8c | [
"BSD-3-Clause"
] | 52 | 2016-12-08T21:20:11.000Z | 2019-12-10T09:14:48.000Z | #include "xeus/xeus.hpp"
#include "xeus/xserver.hpp"
#include "xeus/xmessage.hpp"
#include "xeus/xkernel_configuration.hpp"
#include "xeus/xserver_emscripten.hpp"
#include "xeus/xembind.hpp"
#include <iostream>
#include <emscripten.h>
namespace nl = nlohmann;
namespace ems = emscripten;
namespace xeus
{
EM_JS(em... | 27.941176 | 139 | 0.643421 | QuantStack |
fe6a7a5513d95d947a47347a67fcd0264deb5d9a | 2,508 | cpp | C++ | branch/old_angsys/angsys_beta3/source/angsys/angsys.shared/source/async/thread_manager.cpp | ChuyX3/angsys | 89b2eaee866bcfd11e66efda49b38acc7468c780 | [
"Apache-2.0"
] | null | null | null | branch/old_angsys/angsys_beta3/source/angsys/angsys.shared/source/async/thread_manager.cpp | ChuyX3/angsys | 89b2eaee866bcfd11e66efda49b38acc7468c780 | [
"Apache-2.0"
] | null | null | null | branch/old_angsys/angsys_beta3/source/angsys/angsys.shared/source/async/thread_manager.cpp | ChuyX3/angsys | 89b2eaee866bcfd11e66efda49b38acc7468c780 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include <ang/core/async.h>
#include "thread_manager.h"
//#if defined _DEBUG || defined _DEVELOPPER
//#define new new(__FILE__, __LINE__)
//#define new_args(...) new(__VAR_ARGS__, __FILE__, __LINE__)
//#else
//#define new_args(...) new(__VAR_ARGS__)
//#endif // MEMORY_
using namespace ang;
using na... | 24.115385 | 87 | 0.680223 | ChuyX3 |
fe6f3cf671a7217f45b6ad4d7a39d8b00534b66a | 3,413 | cpp | C++ | module/buffer/src/buffer/AtomicContainerDataFaster.cpp | Khoronus/StoreData | 067c64cc0e240412fab99759fab5b88083d0dbe0 | [
"MIT"
] | null | null | null | module/buffer/src/buffer/AtomicContainerDataFaster.cpp | Khoronus/StoreData | 067c64cc0e240412fab99759fab5b88083d0dbe0 | [
"MIT"
] | null | null | null | module/buffer/src/buffer/AtomicContainerDataFaster.cpp | Khoronus/StoreData | 067c64cc0e240412fab99759fab5b88083d0dbe0 | [
"MIT"
] | null | null | null | /* @file AtomicContainerDataFaster.cpp
* @brief Main file with the example for the hog descriptor and visualization.
*
* @section LICENSE
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIE... | 38.348315 | 79 | 0.564899 | Khoronus |
fe7339f73246d5876d68a29349339fb579c7406b | 18,279 | cpp | C++ | startalk_ui/EmotionTabDialog.cpp | xuepingiw/open_source_startalk | 44d962b04039f5660ec47a10313876a0754d3e72 | [
"MIT"
] | 34 | 2019-03-18T08:09:24.000Z | 2022-03-15T02:03:25.000Z | startalk_ui/EmotionTabDialog.cpp | venliong/open_source_startalk | 51fda091a932a8adea626c312692836555753a9a | [
"MIT"
] | 5 | 2019-05-29T09:32:05.000Z | 2019-08-29T03:01:33.000Z | startalk_ui/EmotionTabDialog.cpp | venliong/open_source_startalk | 51fda091a932a8adea626c312692836555753a9a | [
"MIT"
] | 32 | 2019-03-15T09:43:22.000Z | 2021-08-10T08:26:02.000Z | #include "EmotionTabDialog.h"
#include <QApplication>
#include <QDesktopWidget>
#include <QStackedLayout>
#include "LanguageHelper.h"
#include "QFileDialog"
#include "Session.h"
#include "Account.h"
#include "AccountData.h"
#include "EmotionListData.h"
#include "ConfigureHelper.h"
#include "EmotionManager.h"
#include... | 27.120178 | 157 | 0.698835 | xuepingiw |
fe76dbde2028b20a1cadf9392ce3e6ff2019f314 | 581 | hh | C++ | textQuery/v3/TextQuery.hh | snow-tyan/learn-cpp | ecab0fae7999005ed7fdb60ff4954b4014b2c2e6 | [
"MulanPSL-1.0"
] | null | null | null | textQuery/v3/TextQuery.hh | snow-tyan/learn-cpp | ecab0fae7999005ed7fdb60ff4954b4014b2c2e6 | [
"MulanPSL-1.0"
] | null | null | null | textQuery/v3/TextQuery.hh | snow-tyan/learn-cpp | ecab0fae7999005ed7fdb60ff4954b4014b2c2e6 | [
"MulanPSL-1.0"
] | null | null | null | #pragma once
#include "QueryResult.hh"
#include <iostream>
#include <memory>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <fstream>
using namespace std;
class QueryResult;
class TextQuery
{
public:
TextQuery(ifstream &);
QueryResult query(const string &) const;
void checkFi... | 17.088235 | 56 | 0.660929 | snow-tyan |
fe77abf80934b8d011df4da358b72ddbb9ed1d4e | 131 | hxx | C++ | src/Providers/UNIXProviders/ServiceStatistics/UNIX_ServiceStatistics_DARWIN.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/ServiceStatistics/UNIX_ServiceStatistics_DARWIN.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/ServiceStatistics/UNIX_ServiceStatistics_DARWIN.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_DARWIN
#ifndef __UNIX_SERVICESTATISTICS_PRIVATE_H
#define __UNIX_SERVICESTATISTICS_PRIVATE_H
#endif
#endif
| 10.916667 | 42 | 0.854962 | brunolauze |
fe7e5823e4f366d4ea2a1ca4d128e0cee37b4e5a | 11,555 | cpp | C++ | common/src/ninjamclient.cpp | ventosus/abNinjam | fc50af9e2603c2184f24f3a3483203d69d4b2c2a | [
"MIT"
] | 14 | 2020-05-13T21:14:22.000Z | 2021-04-05T12:28:00.000Z | common/src/ninjamclient.cpp | ventosus/abNinjam | fc50af9e2603c2184f24f3a3483203d69d4b2c2a | [
"MIT"
] | 12 | 2020-05-13T22:56:29.000Z | 2021-07-08T13:17:32.000Z | common/src/ninjamclient.cpp | ventosus/abNinjam | fc50af9e2603c2184f24f3a3483203d69d4b2c2a | [
"MIT"
] | 4 | 2020-05-15T11:03:42.000Z | 2020-11-24T18:06:29.000Z | #include "../include/ninjamclient.h"
#include "../include/fileutil.h"
#include "../include/licensedialog.h"
#include "../include/stringutil.h"
#include <sstream>
using namespace AbNinjam::Common;
using namespace std;
static int agree = 1;
static bool autoAgree = false;
static int bpm = 110;
int licensecallback(void... | 34.287834 | 80 | 0.624924 | ventosus |
fe81b4c0d1eb50764ee4c99d35cc48075f3dfde1 | 22,320 | cpp | C++ | DatabaseUpgrade.cpp | addam/SkauTan | a46b60e91741da343a50a63948d3a19d961550d0 | [
"Unlicense"
] | null | null | null | DatabaseUpgrade.cpp | addam/SkauTan | a46b60e91741da343a50a63948d3a19d961550d0 | [
"Unlicense"
] | null | null | null | DatabaseUpgrade.cpp | addam/SkauTan | a46b60e91741da343a50a63948d3a19d961550d0 | [
"Unlicense"
] | null | null | null | #include "DatabaseUpgrade.h"
#include <vector>
#include <QSqlError>
#include <QSqlRecord>
#include <QDebug>
#include "Database.h"
class VersionScript
{
public:
VersionScript(std::vector<std::string> && a_Commands):
m_Commands(std::move(a_Commands))
{}
std::vector<std::string> m_Commands;
/** Applies this ... | 29.21466 | 116 | 0.640636 | addam |
fe86780268c1ff4b208053446b7199550f6d58b3 | 953 | cpp | C++ | Projects/Kalinka5_Factorial2.cpp | Nakama3942/SimpleProjects | 2d927fde6b3fd4a597a3035c25a0534873aa1f47 | [
"WTFPL"
] | 1 | 2020-11-08T22:03:56.000Z | 2020-11-08T22:03:56.000Z | Projects/Kalinka5_Factorial2.cpp | Nakama3942/SimpleProjects | 2d927fde6b3fd4a597a3035c25a0534873aa1f47 | [
"WTFPL"
] | null | null | null | Projects/Kalinka5_Factorial2.cpp | Nakama3942/SimpleProjects | 2d927fde6b3fd4a597a3035c25a0534873aa1f47 | [
"WTFPL"
] | null | null | null | //*Пользовател вводит натуральное число n и действительное x, а программа просчитывает сумму по формуле x + x^2/2! + .. + x^n/n!
#include <iostream>
#include <math.h>
using namespace std;
int factorial(int n)
{
if (n == 1)
return 1;
else
return n * factorial(n - 1);
}
double form(... | 20.276596 | 129 | 0.451207 | Nakama3942 |
fe878002ee03f2a738d4991d2bd0fba3d0dcc2c5 | 1,244 | cpp | C++ | src/vhdlConvertor/archParser.cpp | lionheart117/hdlConvertor | 935941471fbb592942776d2c46af2be0b14b9b06 | [
"MIT"
] | 1 | 2021-08-02T02:23:39.000Z | 2021-08-02T02:23:39.000Z | src/vhdlConvertor/archParser.cpp | dalance/hdlConvertor | 34efb6ce0e38b7fa73251c179a8e34cabe1c7772 | [
"MIT"
] | null | null | null | src/vhdlConvertor/archParser.cpp | dalance/hdlConvertor | 34efb6ce0e38b7fa73251c179a8e34cabe1c7772 | [
"MIT"
] | null | null | null | #include <hdlConvertor/vhdlConvertor/archParser.h>
#include <hdlConvertor/vhdlConvertor/blockDeclarationParser.h>
#include <hdlConvertor/vhdlConvertor/referenceParser.h>
#include <hdlConvertor/vhdlConvertor/statementParser.h>
#include <hdlConvertor/createObject.h>
namespace hdlConvertor {
namespace vhdl {
using vhdl... | 28.272727 | 69 | 0.732315 | lionheart117 |
fe8981cb2ff13d6a8e72ac7b3b6185dbb03d248e | 755 | hpp | C++ | src/dispatcher.hpp | jlangvand/jucipp | 0a3102f13e62d78a329d488fb1eb8812181e448e | [
"MIT"
] | null | null | null | src/dispatcher.hpp | jlangvand/jucipp | 0a3102f13e62d78a329d488fb1eb8812181e448e | [
"MIT"
] | null | null | null | src/dispatcher.hpp | jlangvand/jucipp | 0a3102f13e62d78a329d488fb1eb8812181e448e | [
"MIT"
] | null | null | null | #pragma once
#include "mutex.hpp"
#include <functional>
#include <gtkmm.h>
#include <list>
class Dispatcher {
private:
Mutex functions_mutex;
std::list<std::function<void()>> functions GUARDED_BY(functions_mutex);
Glib::Dispatcher dispatcher;
sigc::connection connection;
void connect();
public:
/// Must ... | 20.972222 | 73 | 0.692715 | jlangvand |
fe8c0c80e9a34226c3dc53614fe2db92c7b2dda5 | 26,192 | hpp | C++ | shared/utils/il2cpp-functions.hpp | Metalit/beatsaber-hook | d9eed309cee7c3aca3da6c983f8787d2395c1713 | [
"MIT"
] | null | null | null | shared/utils/il2cpp-functions.hpp | Metalit/beatsaber-hook | d9eed309cee7c3aca3da6c983f8787d2395c1713 | [
"MIT"
] | null | null | null | shared/utils/il2cpp-functions.hpp | Metalit/beatsaber-hook | d9eed309cee7c3aca3da6c983f8787d2395c1713 | [
"MIT"
] | null | null | null | #ifndef IL2CPP_FUNCTIONS_H
#define IL2CPP_FUNCTIONS_H
#pragma pack(push)
#include <cstddef>
#include <stdio.h>
#include <stdlib.h>
#include "logging.hpp"
#include "utils.h"
#if !defined(UNITY_2019) && __has_include("il2cpp-runtime-stats.h")
#define UNITY_2019
#endif
#if defined(__GLIBCXX__) || defined(__GLIBCPP__)
... | 55.491525 | 246 | 0.748511 | Metalit |
fe8e1d7761a863d7868d2afa0acf21e713da7564 | 8,543 | hpp | C++ | include/lbann/utils/cudnn.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | include/lbann/utils/cudnn.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | include/lbann/utils/cudnn.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... | 41.270531 | 83 | 0.610675 | andy-yoo |
fe8e341043d412fbf85d071ec983141d6afb4d5f | 2,938 | cc | C++ | cyber/scheduler/scheduler_policy_test.cc | ghdawn/apollo | 002eba4a1635d6af7f1ebd2118464bca6f86b106 | [
"Apache-2.0"
] | null | null | null | cyber/scheduler/scheduler_policy_test.cc | ghdawn/apollo | 002eba4a1635d6af7f1ebd2118464bca6f86b106 | [
"Apache-2.0"
] | null | null | null | cyber/scheduler/scheduler_policy_test.cc | ghdawn/apollo | 002eba4a1635d6af7f1ebd2118464bca6f86b106 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 32.644444 | 79 | 0.67631 | ghdawn |
fe9210adf4e62aec6f352ae853e618bf0948d838 | 3,224 | hpp | C++ | INCLUDE/Vcl/qclipbrd.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | 1 | 2022-01-13T01:03:55.000Z | 2022-01-13T01:03:55.000Z | INCLUDE/Vcl/qclipbrd.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | INCLUDE/Vcl/qclipbrd.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | // Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'QClipbrd.pas' rev: 6.00
#ifndef QClipbrdHPP
#define QClipbrdHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QGraph... | 37.057471 | 104 | 0.701303 | earthsiege2 |
fe92ffca13c5d8825ec617b976adfe37f72c82f3 | 15,997 | hxx | C++ | src/dcc/Loco.hxx | TrainzLuvr/openmrn | b3bb9d4995e49aa39856740d292d38cf4a99845b | [
"BSD-2-Clause"
] | null | null | null | src/dcc/Loco.hxx | TrainzLuvr/openmrn | b3bb9d4995e49aa39856740d292d38cf4a99845b | [
"BSD-2-Clause"
] | null | null | null | src/dcc/Loco.hxx | TrainzLuvr/openmrn | b3bb9d4995e49aa39856740d292d38cf4a99845b | [
"BSD-2-Clause"
] | null | null | null | /** \copyright
* Copyright (c) 2014, Balazs Racz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this li... | 31.740079 | 106 | 0.653185 | TrainzLuvr |
fe96f577c4a8cc52efd1178c2edb70564ea6d497 | 6,969 | cpp | C++ | Graphics/ParticleEmitter.cpp | craigjlovell/aieBootstrap-master | 2b0b850ed4be9103b15e38631fee496c93e1f5a5 | [
"MIT"
] | null | null | null | Graphics/ParticleEmitter.cpp | craigjlovell/aieBootstrap-master | 2b0b850ed4be9103b15e38631fee496c93e1f5a5 | [
"MIT"
] | null | null | null | Graphics/ParticleEmitter.cpp | craigjlovell/aieBootstrap-master | 2b0b850ed4be9103b15e38631fee496c93e1f5a5 | [
"MIT"
] | null | null | null | #include "ParticleEmitter.h"
#include <glm/ext.hpp>
#include <gl_core_4_4.h>
ParticleEmitter::ParticleEmitter() : m_particles(nullptr), m_firstDead(0), m_maxParticles(0), m_position(0,0,0), m_vao(0), m_vbo(0), m_ibo(0), m_vertexData(nullptr)
{
}
ParticleEmitter::~ParticleEmitter()
{
delete[] m_particles;
delete[] m... | 33.666667 | 266 | 0.710719 | craigjlovell |
fe9ace811ea5bdcbd7e065c7ef9e5804b48710f8 | 656 | cpp | C++ | N0440-K-th-Smallest-in-Lexicographical-Order/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N0440-K-th-Smallest-in-Lexicographical-Order/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N0440-K-th-Smallest-in-Lexicographical-Order/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | 2 | 2022-01-25T05:31:31.000Z | 2022-02-26T07:22:23.000Z | class Solution {
public:
int findKthNumber(int n, int k) {
int curr = 1;
k--;
while(k > 0){
int steps = getStep(curr, n);
if(steps <= k){
k -= steps;
curr++;
}else{
curr = curr*10;
k--;
... | 21.16129 | 46 | 0.368902 | loyio |
fea15aabecf641d5e10a0afbff8f635f076e6992 | 10,158 | hpp | C++ | Tensile/Source/client/include/ResultReporter.hpp | micmelesse/Tensile | 62fb9a16909ddef08010915cfefe4c0341f48daa | [
"MIT"
] | null | null | null | Tensile/Source/client/include/ResultReporter.hpp | micmelesse/Tensile | 62fb9a16909ddef08010915cfefe4c0341f48daa | [
"MIT"
] | null | null | null | Tensile/Source/client/include/ResultReporter.hpp | micmelesse/Tensile | 62fb9a16909ddef08010915cfefe4c0341f48daa | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* 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
* ... | 43.784483 | 148 | 0.546171 | micmelesse |
fea5787d36aa11d39cfbd670ba034d1cdc00f4f8 | 14,447 | cc | C++ | vbd/vbd.cc | akihito-takeuchi/cpp-variable-binding | 9664d1245984faf4e40090eab99304ad2d817072 | [
"MIT"
] | null | null | null | vbd/vbd.cc | akihito-takeuchi/cpp-variable-binding | 9664d1245984faf4e40090eab99304ad2d817072 | [
"MIT"
] | null | null | null | vbd/vbd.cc | akihito-takeuchi/cpp-variable-binding | 9664d1245984faf4e40090eab99304ad2d817072 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Akihito Takeuchi
// Distributed under the MIT License : http://opensource.org/licenses/MIT
#include "vbd/vbd.h"
#include "vbd/vbd_impl.h"
#include "vbd/graphstyle.h"
#include <iostream>
#include <boost/format.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string/predicate.hpp>
... | 31.135776 | 81 | 0.67232 | akihito-takeuchi |
fea847180db4236e8668e6eb2ada7c4f2fbe1cce | 7,833 | cxx | C++ | Qt/Widgets/pqDoubleLineEdit.cxx | hkroeger/caetool-paraview | 716d3174523674134a93bfe3a3d335c1ed87d7f1 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Qt/Widgets/pqDoubleLineEdit.cxx | hkroeger/caetool-paraview | 716d3174523674134a93bfe3a3d335c1ed87d7f1 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Qt/Widgets/pqDoubleLineEdit.cxx | hkroeger/caetool-paraview | 716d3174523674134a93bfe3a3d335c1ed87d7f1 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: ParaView
Module: pqDoubleLineEdit.cxx
Copyright (c) 2005-2018 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the Para... | 30.838583 | 99 | 0.58994 | hkroeger |
feaf9b4f8a7902a8d1ed0745a72ea920a5f56eaa | 2,731 | cpp | C++ | Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/CompositeAndNode.cpp | jredmondson/GamsPlugins | d133f86c263997a55f11b3b3d3344faeee60d726 | [
"BSD-2-Clause"
] | 3 | 2020-03-25T01:59:20.000Z | 2020-06-02T17:58:05.000Z | Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/CompositeAndNode.cpp | jredmondson/GamsPlugins | d133f86c263997a55f11b3b3d3344faeee60d726 | [
"BSD-2-Clause"
] | null | null | null | Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/CompositeAndNode.cpp | jredmondson/GamsPlugins | d133f86c263997a55f11b3b3d3344faeee60d726 | [
"BSD-2-Clause"
] | 1 | 2020-11-05T23:04:05.000Z | 2020-11-05T23:04:05.000Z | /* -*- C++ -*- */
#ifndef COMPOSITE_AND_NODE_CPP
#define COMPOSITE_AND_NODE_CPP
#ifndef _MADARA_NO_KARL_
#include <iostream>
#include "madara/expression/ComponentNode.h"
#include "madara/expression/Visitor.h"
#include "madara/expression/CompositeAndNode.h"
#include "madara/expression/LeafNode.h"
// Ctor
madara::e... | 27.31 | 80 | 0.692054 | jredmondson |
feb06acef31e784da976ebc368b7b575ad5873c7 | 6,222 | cpp | C++ | src/thirdparty/qtpropertybrowser/qtpropertybrowser-2.5_1-opensource/examples/object_controller/main.cpp | kulibali/neurolab | c522358a22fb384dbea6fee87b49d8572f8db844 | [
"BSD-3-Clause"
] | 1 | 2021-10-09T16:12:07.000Z | 2021-10-09T16:12:07.000Z | src/thirdparty/qtpropertybrowser/qtpropertybrowser-2.5_1-opensource/examples/object_controller/main.cpp | kulibali/neurolab | c522358a22fb384dbea6fee87b49d8572f8db844 | [
"BSD-3-Clause"
] | null | null | null | src/thirdparty/qtpropertybrowser/qtpropertybrowser-2.5_1-opensource/examples/object_controller/main.cpp | kulibali/neurolab | c522358a22fb384dbea6fee87b49d8572f8db844 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of a Qt Solutions component.
**
** Commercial Usage
** Licensees hol... | 35.554286 | 78 | 0.704275 | kulibali |
feb6c072ed5af3d2ebfbd8ea77d955e4dce3d5e9 | 3,874 | cc | C++ | modules/pacing/paced_sender_unittest.cc | tstan123/webrtc-client-native | ef66da2abd2db839c9e57958ea090538ab339808 | [
"BSD-3-Clause"
] | 128 | 2019-10-07T14:03:15.000Z | 2022-02-25T10:25:57.000Z | modules/pacing/paced_sender_unittest.cc | tstan123/webrtc-client-native | ef66da2abd2db839c9e57958ea090538ab339808 | [
"BSD-3-Clause"
] | 51 | 2019-10-19T04:58:30.000Z | 2022-01-03T07:16:46.000Z | modules/pacing/paced_sender_unittest.cc | tstan123/webrtc-client-native | ef66da2abd2db839c9e57958ea090538ab339808 | [
"BSD-3-Clause"
] | 90 | 2019-10-16T06:13:14.000Z | 2022-03-02T10:29:19.000Z | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 32.283333 | 79 | 0.728704 | tstan123 |
feb9c3d70cea77934f163a13008042476d41e0d0 | 431 | cpp | C++ | areas/MarjanQML/main.cpp | misoboute/playground | 9732bf50ddec7fd2112d60b372c4489f9d1b1763 | [
"MIT"
] | null | null | null | areas/MarjanQML/main.cpp | misoboute/playground | 9732bf50ddec7fd2112d60b372c4489f9d1b1763 | [
"MIT"
] | 1 | 2019-12-01T11:03:21.000Z | 2020-07-27T12:21:28.000Z | areas/MarjanQML/main.cpp | misoboute/playground | 9732bf50ddec7fd2112d60b372c4489f9d1b1763 | [
"MIT"
] | 2 | 2019-07-26T10:01:25.000Z | 2019-12-01T10:55:26.000Z | #include <iostream>
#include <QApplication>
#include <QQmlApplicationEngine>
int main(int argc, char** argv)
{
// try
// {
QApplication app(argc, argv);
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
return app.exec();
// }
// catch(c... | 21.55 | 67 | 0.559165 | misoboute |
febaa98e494ff30b63d5ed1fc27864108e2bc989 | 8,503 | cpp | C++ | disc-fe/src/Panzer_Workset_Utilities.cpp | hillyuan/Panzer | 13ece3ea4c145c4d7b6339e3ad6332a501932ea8 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T03:49:50.000Z | 2022-03-22T03:49:50.000Z | disc-fe/src/Panzer_Workset_Utilities.cpp | hillyuan/Panzer | 13ece3ea4c145c4d7b6339e3ad6332a501932ea8 | [
"BSD-3-Clause"
] | null | null | null | disc-fe/src/Panzer_Workset_Utilities.cpp | hillyuan/Panzer | 13ece3ea4c145c4d7b6339e3ad6332a501932ea8 | [
"BSD-3-Clause"
] | null | null | null | // @HEADER
// ***********************************************************************
//
// Panzer: A partial differential equation assembly
// engine for strongly coupled complex multiphysics systems
// Copyright (2011) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85... | 37.791111 | 106 | 0.605551 | hillyuan |
febdf4064217a57acc335f150e4fe6d60fc26ee8 | 957 | hpp | C++ | include/flatboobs/types.hpp | akhilman/flatboobs | 1bf116d7dbd1bc51b3c98c1c5f968ed6daa62231 | [
"MIT"
] | null | null | null | include/flatboobs/types.hpp | akhilman/flatboobs | 1bf116d7dbd1bc51b3c98c1c5f968ed6daa62231 | [
"MIT"
] | 1 | 2019-04-14T17:47:11.000Z | 2019-04-17T16:42:41.000Z | include/flatboobs/types.hpp | akhilman/flatboobs | 1bf116d7dbd1bc51b3c98c1c5f968ed6daa62231 | [
"MIT"
] | null | null | null | #ifndef FLATBOOBS_TYPES_HPP_
#define FLATBOOBS_TYPES_HPP_
#include <flatbuffers/flatbuffers.h>
#include <map>
#include <type_traits>
namespace flatboobs {
using content_id_t = size_t;
using offset_map_t = std::map<flatboobs::content_id_t, flatbuffers::uoffset_t>;
struct BaseStruct {};
struct BaseTable {};
struct Ba... | 27.342857 | 79 | 0.765935 | akhilman |
febe01c76be441f4c8d5a789a8a4d0a655af8cca | 19,531 | hpp | C++ | include/memory/hadesmem/pelib/pe_file.hpp | phlip9/hadesmem | 59e13a92c05918b8c842141fd5cac1ed390cd79e | [
"MIT"
] | 19 | 2017-10-19T23:13:11.000Z | 2022-03-29T11:37:26.000Z | include/memory/hadesmem/pelib/pe_file.hpp | namreeb/hadesmem | f0a1f0f2c7a00e0c5f085162a09e2a6cb6bb1684 | [
"MIT"
] | null | null | null | include/memory/hadesmem/pelib/pe_file.hpp | namreeb/hadesmem | f0a1f0f2c7a00e0c5f085162a09e2a6cb6bb1684 | [
"MIT"
] | 10 | 2018-04-04T07:55:16.000Z | 2021-11-23T20:22:43.000Z | // Copyright (C) 2010-2015 Joshua Boyce
// See the file COPYING for copying permission.
#pragma once
#include <cstddef>
#include <cstdint>
#include <iosfwd>
#include <memory>
#include <ostream>
#include <utility>
#include <windows.h>
#include <winnt.h>
#include <hadesmem/config.hpp>
#include <hadesmem/detail/assert... | 32.660535 | 80 | 0.644002 | phlip9 |
febed95a96c85ab196036847ce07a8466f010626 | 2,521 | hpp | C++ | gamelib/gamelib_physics_component.hpp | scifi6546/game | 27d79976ba879263147cbf36e520c72c80f0461d | [
"MIT"
] | null | null | null | gamelib/gamelib_physics_component.hpp | scifi6546/game | 27d79976ba879263147cbf36e520c72c80f0461d | [
"MIT"
] | null | null | null | gamelib/gamelib_physics_component.hpp | scifi6546/game | 27d79976ba879263147cbf36e520c72c80f0461d | [
"MIT"
] | null | null | null | #ifndef GAMELIB_PHYSICS_COMPONENT_HPP
#define GAMELIB_PHYSICS_COMPONENT_HPP
#include <gamelib_actor.hpp>
#include <gamelib_world.hpp>
namespace GameLib {
class PhysicsComponent {
public:
virtual ~PhysicsComponent() {}
// handles needed initialization before play begins
virtual void beginPlay(Actor& actor) {}
... | 31.123457 | 73 | 0.746926 | scifi6546 |
febffc789b4d3409c18920173f117cb8985bfbb2 | 2,621 | cpp | C++ | BFS/Food Cubes/FoodCubes.cpp | Sean16SYSU/Algorithms4N | 24f06c29d476c4bd9c90bcc89dac90ba3a448c27 | [
"MIT"
] | 2 | 2019-09-30T01:26:41.000Z | 2019-10-02T01:36:34.000Z | BFS/Food Cubes/FoodCubes.cpp | Sean16SYSU/Algorithms4N | 24f06c29d476c4bd9c90bcc89dac90ba3a448c27 | [
"MIT"
] | null | null | null | BFS/Food Cubes/FoodCubes.cpp | Sean16SYSU/Algorithms4N | 24f06c29d476c4bd9c90bcc89dac90ba3a448c27 | [
"MIT"
] | 3 | 2020-05-18T15:09:01.000Z | 2020-12-21T10:14:51.000Z | #include <iostream>
using namespace std;
#include <queue>
#include <cstring>
#include <algorithm>
#define INF 1 << 30
#define MINF 1 << 31
bool map[103][103][103]; // true 表示是障碍,否则就不是障碍
bool visited[103][103][103]; // true表示访问过
int ans;
struct Node
{
int x, y, z;
Node(int a = 0, int b = 0, int c = 0) : x(a)... | 33.177215 | 105 | 0.295307 | Sean16SYSU |
fec139e8d540cf55b7f1fe580b500512300380b4 | 937 | hpp | C++ | gearoenix/render/pipeline/gx-rnd-pip-unlit-resource-set.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 35 | 2018-01-07T02:34:38.000Z | 2022-02-09T05:19:03.000Z | gearoenix/render/pipeline/gx-rnd-pip-unlit-resource-set.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 111 | 2017-09-20T09:12:36.000Z | 2020-12-27T12:52:03.000Z | gearoenix/render/pipeline/gx-rnd-pip-unlit-resource-set.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 5 | 2020-02-11T11:17:37.000Z | 2021-01-08T17:55:43.000Z | #ifndef GEAROENIX_RENDER_PIPELINE_UNLIT_RESOURCE_SET_HPP
#define GEAROENIX_RENDER_PIPELINE_UNLIT_RESOURCE_SET_HPP
#include "../../core/gx-cr-build-configuration.hpp"
#include "gx-rnd-pip-resource-set.hpp"
namespace gearoenix::render::pipeline {
class Unlit;
class UnlitResourceSet : public ResourceSet {
protected:
... | 32.310345 | 80 | 0.763074 | Hossein-Noroozpour |
fec1658be242f868f880112605401c48d25d15c9 | 3,506 | hh | C++ | inc/stb_model.hh | stbd/stoolbox | 4535e1df2795cb0157420e7d4b1a01f3bda441da | [
"MIT"
] | null | null | null | inc/stb_model.hh | stbd/stoolbox | 4535e1df2795cb0157420e7d4b1a01f3bda441da | [
"MIT"
] | null | null | null | inc/stb_model.hh | stbd/stoolbox | 4535e1df2795cb0157420e7d4b1a01f3bda441da | [
"MIT"
] | null | null | null | #ifndef STB_GL_MODEL_HH_
#define STB_GL_MODEL_HH_
#include "stb_types.hh"
#include <string>
#include <vector>
#include <boost/ref.hpp>
#include <memory>
#include <cstdio>
namespace stb
{
class ModelData
{
public:
enum AttributeDataMode { TRIANGLE, TRIANGE_STRIP };
enum AttributeBufferData... | 36.14433 | 102 | 0.676554 | stbd |
feca807a84de2b3f2c4b0b24dc78ac07da04dbf5 | 314 | cpp | C++ | LilEngie/Core/src/Entity/Components/PointLight.cpp | Nordaj/LilEngie | 453cee13c45ae33abe2665e1446fc90e67b1117a | [
"MIT"
] | null | null | null | LilEngie/Core/src/Entity/Components/PointLight.cpp | Nordaj/LilEngie | 453cee13c45ae33abe2665e1446fc90e67b1117a | [
"MIT"
] | null | null | null | LilEngie/Core/src/Entity/Components/PointLight.cpp | Nordaj/LilEngie | 453cee13c45ae33abe2665e1446fc90e67b1117a | [
"MIT"
] | null | null | null | #include <iostream>
#include <glm/glm.hpp>
#include <Entity/GameObject.h>
#include <Entity/Component.h>
#include <Graphics/LightHandler.h>
#include "PointLight.h"
PointLight::PointLight(GameObject *obj)
:Component(obj)
{ }
void PointLight::Start()
{
//Add to lightmanager
LightHandler::AddPointLight(this);
}
| 18.470588 | 39 | 0.745223 | Nordaj |
fecb6b1dfa14901f5f477bc3772ba064d5782ebc | 322 | cpp | C++ | Source/Sample/Sample2/TransformObject.cpp | MasyoLab/Directx9-Framework | b7525865744b64a7c10078656cfb086a1276c819 | [
"MIT"
] | null | null | null | Source/Sample/Sample2/TransformObject.cpp | MasyoLab/Directx9-Framework | b7525865744b64a7c10078656cfb086a1276c819 | [
"MIT"
] | null | null | null | Source/Sample/Sample2/TransformObject.cpp | MasyoLab/Directx9-Framework | b7525865744b64a7c10078656cfb086a1276c819 | [
"MIT"
] | null | null | null | #include "TransformObject.h"
TransformObject::TransformObject()
{
SetComponentName("TransformObject");
}
TransformObject::~TransformObject()
{
}
void TransformObject::Update()
{
}
void TransformObject::UpdateMatrix()
{
CreateWorldMatrix();
}
void TransformObject::GUISystem()
{
GUIGameObject();
GUITransform();
... | 12.384615 | 37 | 0.745342 | MasyoLab |
feceb1ac6da166ac7be7ce6a2a87e8ab7722e9b2 | 5,149 | cpp | C++ | Planning/waypoint_generator/src/ROI_publisher.cpp | acr-iitkgp/swarm_search | 3857edde0238c2f5d83a33c8969e6e3e3b9a3dcf | [
"MIT"
] | 6 | 2020-01-07T15:45:14.000Z | 2021-06-19T12:14:20.000Z | Planning/waypoint_generator/src/ROI_publisher.cpp | manthan99/swarm_search | 3857edde0238c2f5d83a33c8969e6e3e3b9a3dcf | [
"MIT"
] | null | null | null | Planning/waypoint_generator/src/ROI_publisher.cpp | manthan99/swarm_search | 3857edde0238c2f5d83a33c8969e6e3e3b9a3dcf | [
"MIT"
] | 3 | 2020-04-21T06:29:26.000Z | 2020-11-23T05:39:41.000Z | #include <cmath>
#include "ros/ros.h"
#include <math.h>
#include "geodetic_conv.hpp"
#include "sensor_msgs/NavSatFix.h"
#include "geometry_msgs/Point.h"
#include <geometry_msgs/Twist.h>
#include "waypoint_generator/point_list.h"
#include "geometry_msgs/PoseStamped.h"
#include <std_msgs/Float64.h>
// #define M_PI 3.141... | 31.206061 | 131 | 0.707322 | acr-iitkgp |
fecf8281fde3a86854821e28b53de5f20bea0084 | 60,415 | cxx | C++ | PWGCF/EBYE/NetLambda/AliAnalysisTaskNetLambdaIdent.cxx | vfilova/AliPhysics | 2ec91e234e5601e855daf3e58ef90a1eaae2f413 | [
"BSD-3-Clause"
] | 1 | 2021-06-11T20:36:16.000Z | 2021-06-11T20:36:16.000Z | PWGCF/EBYE/NetLambda/AliAnalysisTaskNetLambdaIdent.cxx | vfilova/AliPhysics | 2ec91e234e5601e855daf3e58ef90a1eaae2f413 | [
"BSD-3-Clause"
] | 1 | 2017-03-14T15:11:43.000Z | 2017-03-14T15:53:09.000Z | PWGCF/EBYE/NetLambda/AliAnalysisTaskNetLambdaIdent.cxx | vfilova/AliPhysics | 2ec91e234e5601e855daf3e58ef90a1eaae2f413 | [
"BSD-3-Clause"
] | null | null | null | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 39.720579 | 503 | 0.645634 | vfilova |
fed36904f2fc71038820c11a975dd5e84661f9b9 | 10,657 | hpp | C++ | include/ouchilib/crypto/algorithm/aes.hpp | ouchiminh/ouchilib | de1bab0aa75c9e567ce06d76c95bc330dffbf52e | [
"MIT"
] | 1 | 2019-06-11T05:22:54.000Z | 2019-06-11T05:22:54.000Z | include/ouchilib/crypto/algorithm/aes.hpp | ouchiminh/ouchilib | de1bab0aa75c9e567ce06d76c95bc330dffbf52e | [
"MIT"
] | 1 | 2019-10-30T14:33:37.000Z | 2019-10-31T15:01:09.000Z | include/ouchilib/crypto/algorithm/aes.hpp | ouchiminh/ouchilib | de1bab0aa75c9e567ce06d76c95bc330dffbf52e | [
"MIT"
] | null | null | null | #pragma once
#include <cstdlib>
#include <cstdint>
#include <cstring>
#include <utility>
#include "ouchilib/utl/step.hpp"
#include "../common.hpp"
namespace ouchi::crypto {
inline constexpr std::uint32_t rotword(std::uint32_t in) {
return rotl(in, 8);
}
static_assert(rotword(0x00112233) == 0x11223300);
inline ... | 38.472924 | 88 | 0.546683 | ouchiminh |
fedbac19f574b275988c8a19b137fe48ae95b4c0 | 6,301 | cpp | C++ | tests/report/enc/datetime.cpp | jbdelcuv/openenclave | c2e9cfabd788597f283c8dd39edda5837b1b1339 | [
"MIT"
] | 617 | 2019-06-19T22:08:04.000Z | 2022-03-25T09:21:03.000Z | tests/report/enc/datetime.cpp | jbdelcuv/openenclave | c2e9cfabd788597f283c8dd39edda5837b1b1339 | [
"MIT"
] | 2,545 | 2019-06-18T21:46:10.000Z | 2022-03-31T23:26:51.000Z | tests/report/enc/datetime.cpp | jbdelcuv/openenclave | c2e9cfabd788597f283c8dd39edda5837b1b1339 | [
"MIT"
] | 292 | 2019-07-02T15:40:35.000Z | 2022-03-27T13:27:10.000Z | // Copyright (c) Open Enclave SDK contributors.
// Licensed under the MIT License.
#include <openenclave/enclave.h>
#include <openenclave/internal/datetime.h>
#include <openenclave/internal/tests.h>
#include <stdio.h>
#include <string.h>
#include "../../../common/sgx/quote.h"
#include "tests_t.h"
void TestPositive(co... | 41.728477 | 80 | 0.679416 | jbdelcuv |
fedd42565c43c97d8076d5105b8d6f5d96c178a4 | 9,288 | cpp | C++ | lib/Modules.in.cpp | bastille-attic/SoapySDR | 7976f888ea03d128bfc0c2ebe49ce8316ce9e2ea | [
"BSL-1.0"
] | 1 | 2021-03-04T07:02:11.000Z | 2021-03-04T07:02:11.000Z | lib/Modules.in.cpp | bastille-attic/SoapySDR | 7976f888ea03d128bfc0c2ebe49ce8316ce9e2ea | [
"BSL-1.0"
] | null | null | null | lib/Modules.in.cpp | bastille-attic/SoapySDR | 7976f888ea03d128bfc0c2ebe49ce8316ce9e2ea | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2014-2016 Josh Blum
// SPDX-License-Identifier: BSL-1.0
#include <SoapySDR/Modules.hpp>
#include <SoapySDR/Logger.hpp>
#include <SoapySDR/Version.hpp>
#include <vector>
#include <string>
#include <cstdlib> //getenv
#include <sstream>
#include <map>
#ifdef _MSC_VER
#include <windows.h>
#else
#include ... | 30.754967 | 136 | 0.612618 | bastille-attic |
fee0330c29683881624ff108e2fe55816e4ae2fc | 1,256 | cpp | C++ | socket/src/socket_error.cpp | Clonkk/ezHttpServer | 41299d480d8ef19c264d41fb0731f93edff2f6ea | [
"MIT"
] | 1 | 2018-01-20T08:40:10.000Z | 2018-01-20T08:40:10.000Z | socket/src/socket_error.cpp | Clonkk/cpp11HttpServer | 41299d480d8ef19c264d41fb0731f93edff2f6ea | [
"MIT"
] | null | null | null | socket/src/socket_error.cpp | Clonkk/cpp11HttpServer | 41299d480d8ef19c264d41fb0731f93edff2f6ea | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017-2018 Régis Caillaud
*
* This source code is provided 'as-is', without any express or implied
* warranty. In no event will the author 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... | 36.941176 | 79 | 0.710191 | Clonkk |
fee14cc9a8df9ac6ed581fc097296b6c758e6551 | 15,162 | cpp | C++ | hardware/src/display_monitor_andr.cpp | vinders/pandora_toolbox | f32e301ebaa2b281a1ffc3d6d0c556091420520a | [
"MIT"
] | 2 | 2020-11-19T03:23:35.000Z | 2021-02-25T03:34:40.000Z | hardware/src/display_monitor_andr.cpp | vinders/pandora_toolbox | f32e301ebaa2b281a1ffc3d6d0c556091420520a | [
"MIT"
] | null | null | null | hardware/src/display_monitor_andr.cpp | vinders/pandora_toolbox | f32e301ebaa2b281a1ffc3d6d0c556091420520a | [
"MIT"
] | null | null | null | /*******************************************************************************
MIT License
Copyright (c) 2021 Romain Vinders
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, ... | 49.875 | 159 | 0.675636 | vinders |
fef21fde4e50939f14c95851d34669baa6c9e07b | 5,282 | hxx | C++ | include/opengm/functions/modelviewfunction.hxx | burcin/opengm | a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41 | [
"MIT"
] | 318 | 2015-01-07T15:22:02.000Z | 2022-01-22T10:10:29.000Z | include/opengm/functions/modelviewfunction.hxx | burcin/opengm | a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41 | [
"MIT"
] | 89 | 2015-03-24T14:33:01.000Z | 2020-07-10T13:59:13.000Z | include/opengm/functions/modelviewfunction.hxx | burcin/opengm | a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41 | [
"MIT"
] | 119 | 2015-01-13T08:35:03.000Z | 2022-03-01T01:49:08.000Z | #pragma once
#ifndef OPENGM_MODELVIEWFUNCTION_HXX
#define OPENGM_MODELVIEWFUNCTION_HXX
#include "opengm/functions/function_properties_base.hxx"
namespace opengm {
/// Function that refers to a factor of another GraphicalModel
///
/// \tparam GM type of the graphical model which we want to view
/// \tparam MARRAY typ... | 27.65445 | 129 | 0.695191 | burcin |
fef22804ea27051568f02524adb66cd9abef0aa8 | 1,772 | cpp | C++ | src/keyboard.cpp | EduardoPagotto/Esp32DisplayKeyboard | 492b10e5e974050778f3cd47c57d72a32f0c09ca | [
"MIT"
] | null | null | null | src/keyboard.cpp | EduardoPagotto/Esp32DisplayKeyboard | 492b10e5e974050778f3cd47c57d72a32f0c09ca | [
"MIT"
] | null | null | null | src/keyboard.cpp | EduardoPagotto/Esp32DisplayKeyboard | 492b10e5e974050778f3cd47c57d72a32f0c09ca | [
"MIT"
] | null | null | null | #include "../include/keyboard.hpp"
#include "Arduino.h"
#define LINHAS 4
#define COLUNAS 4
const int linhas[] = {16, 17, 13, 19};
const int colunas[] = {21, 22, 12, 25};
const char hexaKey[LINHAS][COLUNAS] = {{'1', '2', '3', 'A'}, // Linha 0
{'4', '5', '6', 'B'}, // Linha 1
... | 24.957746 | 76 | 0.461061 | EduardoPagotto |
fef2345454027bc0c790750ef89900d764782667 | 2,793 | hpp | C++ | stacks/layer/data/Outputs.hpp | akatray/stacks | 2922b6556983894c550f7b650bcabdbfaf45e9d9 | [
"Unlicense"
] | 1 | 2019-08-27T22:16:40.000Z | 2019-08-27T22:16:40.000Z | stacks/layer/data/Outputs.hpp | akatray/stacks | 2922b6556983894c550f7b650bcabdbfaf45e9d9 | [
"Unlicense"
] | null | null | null | stacks/layer/data/Outputs.hpp | akatray/stacks | 2922b6556983894c550f7b650bcabdbfaf45e9d9 | [
"Unlicense"
] | null | null | null | // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// Pragma.
// --------------------------------------------------------------------------------------------------------------------------... | 41.686567 | 183 | 0.332617 | akatray |
fef2972a16a97c7c0f003dbb1c0c21b4e0e8dcac | 17,123 | cpp | C++ | src/graysvr/ntservice.cpp | shiryux/UOLatam-0.57a | 892aefd42cbcf4c1ca9b4f89b196cea0757a93f1 | [
"Apache-2.0"
] | null | null | null | src/graysvr/ntservice.cpp | shiryux/UOLatam-0.57a | 892aefd42cbcf4c1ca9b4f89b196cea0757a93f1 | [
"Apache-2.0"
] | null | null | null | src/graysvr/ntservice.cpp | shiryux/UOLatam-0.57a | 892aefd42cbcf4c1ca9b4f89b196cea0757a93f1 | [
"Apache-2.0"
] | null | null | null | // Stuff for making this application run as an NT service
#ifdef _WIN32
#include "graysvr.h"
#include "../common/grayver.h"
#include "ntservice.h"
#include <direct.h>
CNTService g_Service;
CNTService::CNTService()
{
m_hStatusHandle = NULL;
m_fIsNTService = false;
}
// Try to create the registry ke... | 33.248544 | 129 | 0.708346 | shiryux |
fef2e40bd84ca91dd09ff9464209a409eb81e5c1 | 533 | cpp | C++ | Tests/Source/StackTests.cpp | stefanfrings/LuaBridge | 36c0c62815f9f6bf43c81a3977502cd3996302a0 | [
"X11",
"MIT"
] | 1,171 | 2015-01-03T06:19:58.000Z | 2022-03-31T10:37:08.000Z | Tests/Source/StackTests.cpp | nikita-yfh/LuaBridge | 6c1d0a1126487f993e5f93141c0954ff6600fdfe | [
"X11",
"MIT"
] | 164 | 2015-01-20T11:58:39.000Z | 2022-03-29T20:36:12.000Z | Tests/Source/StackTests.cpp | nikita-yfh/LuaBridge | 6c1d0a1126487f993e5f93141c0954ff6600fdfe | [
"X11",
"MIT"
] | 324 | 2015-01-02T11:03:48.000Z | 2022-03-15T08:00:35.000Z | // https://github.com/vinniefalco/LuaBridge
// Copyright 2020, Dmitry Tarakanov
// SPDX-License-Identifier: MIT
#include "TestBase.h"
struct StackTests : TestBase
{
};
TEST_F(StackTests, IntegralTypes)
{
luabridge::push(L, true);
ASSERT_TRUE(luabridge::isInstance<bool>(L, -1));
ASSERT_FALSE(luabridge::is... | 23.173913 | 53 | 0.690432 | stefanfrings |
fef32977f29d3c5c2d16bfc95596e18ccd7dc9cb | 9,783 | cpp | C++ | tests/service_test.cpp | angelcaban/cpp_rest_servlets | 8debf35c67ce9cd96dfc9ca3c4ea06b77abcaea9 | [
"MIT"
] | null | null | null | tests/service_test.cpp | angelcaban/cpp_rest_servlets | 8debf35c67ce9cd96dfc9ca3c4ea06b77abcaea9 | [
"MIT"
] | null | null | null | tests/service_test.cpp | angelcaban/cpp_rest_servlets | 8debf35c67ce9cd96dfc9ca3c4ea06b77abcaea9 | [
"MIT"
] | null | null | null | /*
* Copyright 2018 Angel Caban
*
* 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, d... | 31.156051 | 88 | 0.69263 | angelcaban |
fef46847de52199d4d5232b62c53b9f42c8bca4a | 5,387 | cpp | C++ | 3rd/snap7-1.4.2/src/sys/snap_threads.cpp | xeniumlee/edge.skynet | 011b227e67663f298d6dd02b82eb41d30c6924f1 | [
"MIT"
] | 133 | 2015-02-19T04:49:23.000Z | 2022-02-23T22:15:53.000Z | 3rd/snap7-1.4.2/src/sys/snap_threads.cpp | xeniumlee/edge.skynet | 011b227e67663f298d6dd02b82eb41d30c6924f1 | [
"MIT"
] | 76 | 2015-02-21T09:41:56.000Z | 2022-03-03T11:59:15.000Z | 3rd/snap7-1.4.2/src/sys/snap_threads.cpp | xeniumlee/edge.skynet | 011b227e67663f298d6dd02b82eb41d30c6924f1 | [
"MIT"
] | 51 | 2015-03-02T21:48:09.000Z | 2022-03-17T12:10:36.000Z | /*=============================================================================|
| PROJECT SNAP7 1.3.0 |
|==============================================================================|
| Copyright (C) 2013, 2015 Davide Nardella ... | 33.04908 | 80 | 0.437906 | xeniumlee |
67940aaa92211fc635e986b50812605503c0f757 | 2,062 | hpp | C++ | libraries/kid/include/bts/kid/name_record.hpp | denkhaus/bitsharesx | 60b3653881e02873ff6802ea0c5e3c531da773c0 | [
"Unlicense"
] | 1 | 2018-01-25T19:18:09.000Z | 2018-01-25T19:18:09.000Z | libraries/kid/include/bts/kid/name_record.hpp | denkhaus/bitsharesx | 60b3653881e02873ff6802ea0c5e3c531da773c0 | [
"Unlicense"
] | null | null | null | libraries/kid/include/bts/kid/name_record.hpp | denkhaus/bitsharesx | 60b3653881e02873ff6802ea0c5e3c531da773c0 | [
"Unlicense"
] | null | null | null | #include <fc/crypto/elliptic.hpp>
#include <fc/time.hpp>
#include <fc/reflect/reflect.hpp>
namespace bts { namespace kid
{
struct name_record
{
name_record():nonce(0){}
fc::sha256 digest()const;
fc::sha256 digest512()const;
uint64_t difficulty()const;
std::string ... | 31.723077 | 116 | 0.625606 | denkhaus |
67981bdb8f675c75abc54b9f0046564817586c4f | 14,279 | cpp | C++ | src/package.cpp | akivajp/lev | 945aa438ce4718f60cde35556c55655515cb423b | [
"MIT"
] | null | null | null | src/package.cpp | akivajp/lev | 945aa438ce4718f60cde35556c55655515cb423b | [
"MIT"
] | null | null | null | src/package.cpp | akivajp/lev | 945aa438ce4718f60cde35556c55655515cb423b | [
"MIT"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
// Name: src/package.cpp
// Purpose: source for package management
// Author: Akiva Miura <akiva.miura@gmail.com>
// Modified by:
// Created: 09/01/2011
// Copyright: (C) 2010-2012 Akiva Miura
// Licence: MIT License... | 28.275248 | 90 | 0.555011 | akivajp |
679d36cd794c628dc3f91a0716de1834fafb66e1 | 3,494 | cpp | C++ | src/ThirdParty/jvarTest.cpp | beached/JsonBenchmark | 87d4862f872cb05d58ccbfb4df008e0c4ca72818 | [
"MIT"
] | 7 | 2020-07-22T10:45:44.000Z | 2021-09-30T10:09:54.000Z | src/ThirdParty/jvarTest.cpp | beached/JsonBenchmark | 87d4862f872cb05d58ccbfb4df008e0c4ca72818 | [
"MIT"
] | 6 | 2020-07-25T08:58:25.000Z | 2020-07-30T10:12:20.000Z | src/ThirdParty/jvarTest.cpp | beached/JsonBenchmark | 87d4862f872cb05d58ccbfb4df008e0c4ca72818 | [
"MIT"
] | 1 | 2021-05-29T21:15:01.000Z | 2021-05-29T21:15:01.000Z | #include "test.h"
#include "jvar/include/jvar.h"
#include "jvar/include/util.h"
#include "jvar/include/var.h"
#include "jvar/include/str.h"
#include "jvar/include/json.h"
#include "jvar/include/arr.h"
#include <memory>
using namespace jvar;
static void GenStat(Stat& stat, Variant* v)
{
switch (v->type())
{
... | 22.113924 | 82 | 0.524041 | beached |
67a12d236833f9b07ce8184646f77b7be4976ea5 | 1,016 | hpp | C++ | include/game/skirmish/coordinates.hpp | namelessvoid/qrwar | bbc4036cd3bab6b0edcaccbc95286379ef51f12b | [
"MIT"
] | 3 | 2015-03-28T02:51:58.000Z | 2018-11-08T16:49:53.000Z | include/game/skirmish/coordinates.hpp | namelessvoid/qrwar | bbc4036cd3bab6b0edcaccbc95286379ef51f12b | [
"MIT"
] | 39 | 2015-05-18T08:29:16.000Z | 2020-07-18T21:17:44.000Z | include/game/skirmish/coordinates.hpp | namelessvoid/qrwar | bbc4036cd3bab6b0edcaccbc95286379ef51f12b | [
"MIT"
] | null | null | null | #ifndef QRW_COORDINATES_HPP
#define QRW_COORDINATES_HPP
#include "core/sid.hpp"
#include "meta/reflectable.hpp"
namespace qrw
{
class Coordinates : public Reflectable
{
public:
friend class CoordinateMetaClass;
static SID typeName;
const SID& getTypeName() const override { return typeName; }
Coordi... | 18.472727 | 63 | 0.680118 | namelessvoid |
67a38dd233ddc1d2209bb6b47a22be249c5e3398 | 3,612 | hpp | C++ | include/extractor/internal_extractor_edge.hpp | neilbu/osrm-backend | 2a8e1f77459fef33ca34c9fe01ec62e88e255452 | [
"BSD-2-Clause"
] | null | null | null | include/extractor/internal_extractor_edge.hpp | neilbu/osrm-backend | 2a8e1f77459fef33ca34c9fe01ec62e88e255452 | [
"BSD-2-Clause"
] | null | null | null | include/extractor/internal_extractor_edge.hpp | neilbu/osrm-backend | 2a8e1f77459fef33ca34c9fe01ec62e88e255452 | [
"BSD-2-Clause"
] | 1 | 2021-11-24T14:24:44.000Z | 2021-11-24T14:24:44.000Z | #ifndef INTERNAL_EXTRACTOR_EDGE_HPP
#define INTERNAL_EXTRACTOR_EDGE_HPP
#include "extractor/guidance/road_classification.hpp"
#include "extractor/guidance/turn_lane_types.hpp"
#include "extractor/node_based_edge.hpp"
#include "extractor/travel_mode.hpp"
#include "osrm/coordinate.hpp"
#include "util/typedefs.hpp"
#inc... | 29.606557 | 98 | 0.650886 | neilbu |
67a4625ed3e410aad9ed727da698dc60d6772ff9 | 2,821 | hpp | C++ | Nacro/SDK/FN_AthenaLeaderboardTabButton_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_AthenaLeaderboardTabButton_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2021-08-11T18:40:26.000Z | 2021-08-11T18:40:26.000Z | Nacro/SDK/FN_AthenaLeaderboardTabButton_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function AthenaLeaderb... | 32.425287 | 154 | 0.689826 | Milxnor |
67a46dca2533e0f32b5eb37c87a52aa4de4b6429 | 2,666 | cpp | C++ | include/base/util/unicode.cpp | HaiyongLi/LuaDebugCode | 8a12e5b21ab5fb74b7b5cd1b50393191df1382ca | [
"MIT"
] | 2 | 2019-09-29T07:06:32.000Z | 2021-09-10T09:46:19.000Z | include/base/util/unicode.cpp | HaiyongLi/LuaDebugCode | 8a12e5b21ab5fb74b7b5cd1b50393191df1382ca | [
"MIT"
] | null | null | null | include/base/util/unicode.cpp | HaiyongLi/LuaDebugCode | 8a12e5b21ab5fb74b7b5cd1b50393191df1382ca | [
"MIT"
] | null | null | null | #include <base/util/unicode.h>
#include <rapidjson/encodings.h>
#include <vector>
#if defined(_WIN32)
#include <Windows.h>
#endif
namespace base
{
template <class T>
struct input_stream
{
typedef T Ch;
input_stream(const T* t) : t_(t) { }
T Take() { return *t_++; }
const T* t_;
};
template <class T>
str... | 20.045113 | 105 | 0.624156 | HaiyongLi |
67a5372338837a665cfff0b62a048da7542226e8 | 1,602 | cpp | C++ | base/Windows/singx86/bytev.cpp | sphinxlogic/Singularity-RDK-2.0 | 2968c3b920a5383f7360e3e489aa772f964a7c42 | [
"MIT"
] | null | null | null | base/Windows/singx86/bytev.cpp | sphinxlogic/Singularity-RDK-2.0 | 2968c3b920a5383f7360e3e489aa772f964a7c42 | [
"MIT"
] | null | null | null | base/Windows/singx86/bytev.cpp | sphinxlogic/Singularity-RDK-2.0 | 2968c3b920a5383f7360e3e489aa772f964a7c42 | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ----------------------------------------------------------------------------
#include "singx86.h"
struct ByteVector {
ULONG64 ulDataOffset;
ULONG64 ... | 30.807692 | 80 | 0.553683 | sphinxlogic |
67a659291e8357acd1a0abe142e9b5af8c78988d | 7,833 | cpp | C++ | 02-Opengl-window/main.cpp | NeroGames/Learn-SFML | 44e4e17b9af0eacf776f0d8bdbea869433224cff | [
"MIT"
] | null | null | null | 02-Opengl-window/main.cpp | NeroGames/Learn-SFML | 44e4e17b9af0eacf776f0d8bdbea869433224cff | [
"MIT"
] | null | null | null | 02-Opengl-window/main.cpp | NeroGames/Learn-SFML | 44e4e17b9af0eacf776f0d8bdbea869433224cff | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////
// Nero Game Engine - SFML Tutorials
// Copyright (c) 2021 Sanou A. K. Landry
////////////////////////////////////////////////////////////
///////////////////////////HEADERS//////////////////////////
//Glew
#include <GL/glew.h>
//SFML
#include <SFML/Window.hp... | 37.123223 | 170 | 0.634623 | NeroGames |
67a6ab2b2600f763670c66c975a683fe59560e97 | 5,213 | cpp | C++ | Source/Services/Presence/presence_title_record.cpp | yklys/Xbox-Live-API | e409400ec38c0c131b16e09281cdc83199d1c90f | [
"MIT"
] | 1 | 2019-04-19T01:37:34.000Z | 2019-04-19T01:37:34.000Z | Source/Services/Presence/presence_title_record.cpp | DalavanCloud/xbox-live-api | 2166ffcb4a1ca1f5d89a43dce9ab4c5ff9b797b7 | [
"MIT"
] | null | null | null | Source/Services/Presence/presence_title_record.cpp | DalavanCloud/xbox-live-api | 2166ffcb4a1ca1f5d89a43dce9ab4c5ff9b797b7 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "pch.h"
#include "xsapi/presence.h"
#include "presence_internal.h"
NAMESPACE_MICROSOFT_XBOX_SERVICES_PRESENCE_CPP_BEGIN
presence_title_record::presence_title_record(
... | 29.619318 | 111 | 0.761366 | yklys |
67aaf36ac088bd70e014232334638ae0fb58ca7a | 3,340 | cpp | C++ | irohad/pending_txs_storage/impl/pending_txs_storage_impl.cpp | IvanTyulyandin/iroha | 442a08325c7b808236569600653370e28ec5eff6 | [
"Apache-2.0"
] | 24 | 2016-09-26T17:11:46.000Z | 2020-03-03T13:42:58.000Z | irohad/pending_txs_storage/impl/pending_txs_storage_impl.cpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | 11 | 2016-10-13T10:09:55.000Z | 2019-06-13T08:49:11.000Z | irohad/pending_txs_storage/impl/pending_txs_storage_impl.cpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | 4 | 2016-09-27T13:18:28.000Z | 2019-08-05T20:47:15.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "pending_txs_storage/impl/pending_txs_storage_impl.hpp"
#include "interfaces/transaction.hpp"
#include "multi_sig_transactions/state/mst_state.hpp"
namespace iroha {
PendingTransactionStorageImpl::Pending... | 34.081633 | 79 | 0.690419 | IvanTyulyandin |
67ab0d1481045c36caa100f8e18e569e1a252ad4 | 37,047 | cpp | C++ | dali/treeview/inspectctrl.cpp | emuharemagic/HPCC-Platform | bbd5423b25f6ba2d675521c8917f9ecfa97dace5 | [
"Apache-2.0"
] | 1 | 2020-08-01T19:54:56.000Z | 2020-08-01T19:54:56.000Z | dali/treeview/inspectctrl.cpp | emuharemagic/HPCC-Platform | bbd5423b25f6ba2d675521c8917f9ecfa97dace5 | [
"Apache-2.0"
] | null | null | null | dali/treeview/inspectctrl.cpp | emuharemagic/HPCC-Platform | bbd5423b25f6ba2d675521c8917f9ecfa97dace5 | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 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 ... | 26.98252 | 201 | 0.5828 | emuharemagic |
67ae6d5c8d54ad99fb27f838fe49b44f04b64a30 | 1,021 | cpp | C++ | competitive_programming/programming_contests/uri/flavious_josephus_legend.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | competitive_programming/programming_contests/uri/flavious_josephus_legend.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | competitive_programming/programming_contests/uri/flavious_josephus_legend.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | // https://www.urionlinejudge.com.br/judge/en/problems/view/1030
#include <iostream>
#include <vector>
using namespace std;
int verify_last_value(vector<int> &v) {
int counter = 0;
for (int i = 0; i < v.size(); i++) if (v[i] == 1) counter++;
return counter;
}
int can_be_counted(vector<int> &v, int index, int n) ... | 16.737705 | 66 | 0.528893 | LeandroTk |
67b1fa9045b34e365f41b2000ee814a92e030616 | 4,051 | cc | C++ | cc/data-fix.cc | acorg/acmacs-whocc | af508bd4651ffb565cd4cf771200540918b1b2bd | [
"MIT"
] | null | null | null | cc/data-fix.cc | acorg/acmacs-whocc | af508bd4651ffb565cd4cf771200540918b1b2bd | [
"MIT"
] | null | null | null | cc/data-fix.cc | acorg/acmacs-whocc | af508bd4651ffb565cd4cf771200540918b1b2bd | [
"MIT"
] | null | null | null | #include "acmacs-whocc/log.hh"
#include "acmacs-whocc/data-fix.hh"
#include "acmacs-whocc/sheet-extractor.hh"
// ----------------------------------------------------------------------
#pragma GCC diagnostic push
#ifdef __clang__
#pragma GCC diagnostic ignored "-Wglobal-constructors"
#pragma GCC diagnostic ignored "-W... | 33.204918 | 151 | 0.5137 | acorg |
67b2cd9991983d069d1c807324e99bd52a36d771 | 1,308 | cpp | C++ | Demo Code/operator_overload_example/animal_class_example/animal.cpp | pranavas11/CS162-Introduction-to-CS-II | c17c5c1f844de1be4a49646201d77717394dfdbc | [
"MIT"
] | null | null | null | Demo Code/operator_overload_example/animal_class_example/animal.cpp | pranavas11/CS162-Introduction-to-CS-II | c17c5c1f844de1be4a49646201d77717394dfdbc | [
"MIT"
] | null | null | null | Demo Code/operator_overload_example/animal_class_example/animal.cpp | pranavas11/CS162-Introduction-to-CS-II | c17c5c1f844de1be4a49646201d77717394dfdbc | [
"MIT"
] | null | null | null | /*
Animal Class
*/
#include <iostream>
#include "animal.h"
Animal::Animal(string name) {
cout << "Alternate animal constructor called" << endl;
this->name = name;
this->age = 0;
}
Animal::Animal(string name, int age) {
cout << "Alternate 2 animal constructor called" << endl;
this->name = name;
this->age = age... | 20.123077 | 61 | 0.663609 | pranavas11 |
67b33b7d0cedbadbea6d581bdc6c589827a328e5 | 4,795 | cpp | C++ | Coin3D/src/engines/SoFieldConverter.cpp | pniaz20/inventor-utils | 2306b758b15bd1a0df3fb9bd250215b7bb7fac3f | [
"MIT"
] | null | null | null | Coin3D/src/engines/SoFieldConverter.cpp | pniaz20/inventor-utils | 2306b758b15bd1a0df3fb9bd250215b7bb7fac3f | [
"MIT"
] | null | null | null | Coin3D/src/engines/SoFieldConverter.cpp | pniaz20/inventor-utils | 2306b758b15bd1a0df3fb9bd250215b7bb7fac3f | [
"MIT"
] | null | null | null | /**************************************************************************\
* Copyright (c) Kongsberg Oil & Gas Technologies AS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* Red... | 31.546053 | 84 | 0.739937 | pniaz20 |
67b5987fe0766aef30608a214937b28d98fcd281 | 2,705 | hpp | C++ | hpx/components/security/secret_key.hpp | kempj/hpx | ffdbfed5dfa029a0f2e97e7367cb66d12103df67 | [
"BSL-1.0"
] | null | null | null | hpx/components/security/secret_key.hpp | kempj/hpx | ffdbfed5dfa029a0f2e97e7367cb66d12103df67 | [
"BSL-1.0"
] | null | null | null | hpx/components/security/secret_key.hpp | kempj/hpx | ffdbfed5dfa029a0f2e97e7367cb66d12103df67 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2013 Jeroen Habraken
//
// 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 HPX_COMPONENTS_SECURITY_SERVER_SECRET_KEY_HPP
#define HPX_COMPONENTS_SECURITY_SERVER_SECRET_KEY_HPP
#include <hpx... | 26.009615 | 80 | 0.50647 | kempj |
67b7d681391af04e35a2ba15ab61233c0099630a | 1,639 | cpp | C++ | rEFIt_UEFI/Platform/Volumes.cpp | crazyinsanejames/CloverBootloader | 799880e95aaa2783f27373e91837fc105352e82f | [
"BSD-2-Clause"
] | 3,861 | 2019-09-04T10:10:11.000Z | 2022-03-31T15:46:28.000Z | rEFIt_UEFI/Platform/Volumes.cpp | crazyinsanejames/CloverBootloader | 799880e95aaa2783f27373e91837fc105352e82f | [
"BSD-2-Clause"
] | 461 | 2019-09-24T10:26:56.000Z | 2022-03-26T13:22:32.000Z | rEFIt_UEFI/Platform/Volumes.cpp | crazyinsanejames/CloverBootloader | 799880e95aaa2783f27373e91837fc105352e82f | [
"BSD-2-Clause"
] | 654 | 2019-09-05T11:42:37.000Z | 2022-03-30T02:42:32.000Z | /*
* Volumes.cpp
*
* Created on: Feb 4, 2021
* Author: jief
*/
#include "Volumes.h"
REFIT_VOLUME *SelfVolume = NULL;
VolumesArrayClass Volumes;
//REFIT_VOLUME* VolumesArrayClass::getApfsPartitionWithUUID(const XString8& ApfsContainerUUID, const XString8& APFSTargetUUID)
//{
//}
REFIT_VOLUME* Volume... | 30.924528 | 151 | 0.688835 | crazyinsanejames |
67b998033dbe8e18c4c306516116d855126ee195 | 33,655 | cxx | C++ | MUON/MUONrec/AliMUONClusterFinderPeakCOG.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | MUON/MUONrec/AliMUONClusterFinderPeakCOG.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | MUON/MUONrec/AliMUONClusterFinderPeakCOG.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 34.063765 | 170 | 0.6145 | AllaMaevskaya |
67be918e5dd99e296c760a0ab545617700aded39 | 5,229 | cpp | C++ | CSIS 112 - Advanced Programming/Lab 6/Splice_Arrays/Splice_Arrays/main.cpp | setdebarr/university-assignments | 64bfc720a9ade16a5ba056f200b09c6db216f338 | [
"Unlicense"
] | null | null | null | CSIS 112 - Advanced Programming/Lab 6/Splice_Arrays/Splice_Arrays/main.cpp | setdebarr/university-assignments | 64bfc720a9ade16a5ba056f200b09c6db216f338 | [
"Unlicense"
] | null | null | null | CSIS 112 - Advanced Programming/Lab 6/Splice_Arrays/Splice_Arrays/main.cpp | setdebarr/university-assignments | 64bfc720a9ade16a5ba056f200b09c6db216f338 | [
"Unlicense"
] | null | null | null | //main.cpp -- splices two integer arrays together, and then copys the elements of both arrays into a new array
//CSIS 112-<Section Number>
//<Sources if necessary>
//Include statements
#include <iostream>
#include <string>
//Global declarations: Constants and type definitions only -- NO variables
//Function protot... | 30.401163 | 127 | 0.688277 | setdebarr |
67bfe582d3bb4f9a633dbb13fab2d1ca1e45e1a9 | 436 | cpp | C++ | LAB6/LAB6/Dacia.cpp | florinERotaru/oop-et-al | 750af01be09967e4112e7c783439fe2bdc0a11ce | [
"MIT"
] | null | null | null | LAB6/LAB6/Dacia.cpp | florinERotaru/oop-et-al | 750af01be09967e4112e7c783439fe2bdc0a11ce | [
"MIT"
] | null | null | null | LAB6/LAB6/Dacia.cpp | florinERotaru/oop-et-al | 750af01be09967e4112e7c783439fe2bdc0a11ce | [
"MIT"
] | null | null | null | #define _CRT_SECURE_NO_WARNINGS
#include "Dacia.h"
#include <cstring>
int Dacia::avgSpeed(int weather) {
switch (weather) {
case 0: // rain
return 60;
case 1: // sunny
return 80;
case 2: // snow
return 43;
}
}
Dacia::Dacia() {
strcpy(name, "Dacia");
fuelCap = 45;
... | 17.44 | 36 | 0.582569 | florinERotaru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.