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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dc659e1bd88a8f1726a38f6c3fefda7acb1a3843 | 1,984 | cpp | C++ | graph/course_schedule.cpp | zm66260/Data_Structure_and_Algorithms | f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e | [
"MIT"
] | null | null | null | graph/course_schedule.cpp | zm66260/Data_Structure_and_Algorithms | f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e | [
"MIT"
] | null | null | null | graph/course_schedule.cpp | zm66260/Data_Structure_and_Algorithms | f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e | [
"MIT"
] | null | null | null | // 207 course schedule
// There are a total of n courses you have to take, labeled from 0 to n-1.
// Some courses may have prerequisites, for example to take course 0 you have to first take course 1, which is expressed as a pair: [0,1]
// Given the total number of courses and a list of prerequisite pairs, is it ... | 32 | 138 | 0.568044 | zm66260 |
dc6b6d8e1e212cc59a4fde3d5e89cdb5e0a0aba9 | 22,038 | cxx | C++ | HLT/TPCLib/tracking-ca/AliHLTTPCCATrackParam.cxx | kagarner/AliRoot | 4648616e4ecc903ad132252dd94f9eacf1c5ad16 | [
"BSD-3-Clause"
] | null | null | null | HLT/TPCLib/tracking-ca/AliHLTTPCCATrackParam.cxx | kagarner/AliRoot | 4648616e4ecc903ad132252dd94f9eacf1c5ad16 | [
"BSD-3-Clause"
] | null | null | null | HLT/TPCLib/tracking-ca/AliHLTTPCCATrackParam.cxx | kagarner/AliRoot | 4648616e4ecc903ad132252dd94f9eacf1c5ad16 | [
"BSD-3-Clause"
] | null | null | null | // $Id$
// **************************************************************************
// This file is property of and copyright by the ALICE HLT Project *
// ALICE Experiment at CERN, All rights reserved. *
// *
... | 29.902307 | 189 | 0.52591 | kagarner |
dc6c6f51a3f40e6a75d64f09955c7d156e1fbb1b | 2,631 | cpp | C++ | src/error.cpp | CorvusPrudens/Cp | e5019e4faee705dadc2ddfb8530a518730276e96 | [
"MIT"
] | null | null | null | src/error.cpp | CorvusPrudens/Cp | e5019e4faee705dadc2ddfb8530a518730276e96 | [
"MIT"
] | null | null | null | src/error.cpp | CorvusPrudens/Cp | e5019e4faee705dadc2ddfb8530a518730276e96 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <fstream>
#include <string>
#include "error.h"
#include "colors.h"
using std::string;
string get_line(string filename, int line)
{
std::ifstream file(filename);
int i = 0;
char c;
while (i < line) {
file.read(&c, 1);
if (file.eof())
{
return "???";
}
if... | 23.702703 | 90 | 0.522235 | CorvusPrudens |
dc6fe0903328ba85281e9d7496a6560e85c85ae9 | 129,426 | cpp | C++ | code/addons/dynui/scripting/deargui.cpp | Nechrito/nebula | 6c7ef27ab1374d3f751d866500729524f72a0c87 | [
"BSD-2-Clause"
] | null | null | null | code/addons/dynui/scripting/deargui.cpp | Nechrito/nebula | 6c7ef27ab1374d3f751d866500729524f72a0c87 | [
"BSD-2-Clause"
] | null | null | null | code/addons/dynui/scripting/deargui.cpp | Nechrito/nebula | 6c7ef27ab1374d3f751d866500729524f72a0c87 | [
"BSD-2-Clause"
] | null | null | null |
#include <pybind11/pybind11.h>
#include <pybind11/functional.h>
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <limits>
#include "imgui.h"
#include "imgui_internal.h"
namespace py = pybind11;
template<typename T>
void template_ImVector(py::module &module, const char* name)
{
py::class_< ImVector<T... | 47.184105 | 205 | 0.685535 | Nechrito |
dc6fe7029108ad5e649c87a8c5d0b7be3d7d4962 | 1,660 | hpp | C++ | dsss/string_sorting/sequential/mergesort.hpp | kurpicz/dsss | ac50a22b1beec1d8613a6cd868798426352305c8 | [
"BSD-2-Clause"
] | 3 | 2018-10-24T22:15:17.000Z | 2019-09-21T22:56:05.000Z | dsss/string_sorting/sequential/mergesort.hpp | kurpicz/dsss | ac50a22b1beec1d8613a6cd868798426352305c8 | [
"BSD-2-Clause"
] | null | null | null | dsss/string_sorting/sequential/mergesort.hpp | kurpicz/dsss | ac50a22b1beec1d8613a6cd868798426352305c8 | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
* string_sorting/sequential/mergesort.hpp
*
* Copyright (C) 2018 Florian Kurpicz <florian.kurpicz@tu-dortmund.de>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
***************************************... | 37.727273 | 80 | 0.66988 | kurpicz |
dc72c32ec5e28eed8c75f5ecd02d67bf6d52ecb5 | 4,342 | cpp | C++ | app/src/main/jni/nativeCode/common/texture.cpp | anandmuralidhar24/FloatTextureAndroid | 53262deafc6e3a160134adce54c1e4e9c0385748 | [
"Apache-2.0"
] | 4 | 2018-01-16T09:50:32.000Z | 2022-01-30T19:13:33.000Z | app/src/main/jni/nativeCode/common/texture.cpp | anandmuralidhar24/FloatTextureAndroid | 53262deafc6e3a160134adce54c1e4e9c0385748 | [
"Apache-2.0"
] | null | null | null | app/src/main/jni/nativeCode/common/texture.cpp | anandmuralidhar24/FloatTextureAndroid | 53262deafc6e3a160134adce54c1e4e9c0385748 | [
"Apache-2.0"
] | 3 | 2017-11-05T00:28:54.000Z | 2019-11-18T07:04:58.000Z | /*
* Copyright 2016 Anand Muralidhar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 32.893939 | 97 | 0.669277 | anandmuralidhar24 |
dc72cc28af2009cb084fb7a0b33c32b378053f81 | 4,733 | cpp | C++ | qxhexsignature.cpp | shield-endpoint/DIE-engine | ee556330ed953f042c06bb3c35e6af39dbf26e12 | [
"MIT"
] | 1 | 2021-10-15T02:21:37.000Z | 2021-10-15T02:21:37.000Z | qxhexsignature.cpp | dzzie/DIE-engine | ca068f5ed55923b7e196d991016a6850355d6b72 | [
"MIT"
] | null | null | null | qxhexsignature.cpp | dzzie/DIE-engine | ca068f5ed55923b7e196d991016a6850355d6b72 | [
"MIT"
] | 1 | 2020-01-10T12:27:40.000Z | 2020-01-10T12:27:40.000Z | // Copyright (c) 2012-2020 hors<horsicq@gmail.com>
//
// 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, mod... | 26.740113 | 112 | 0.594971 | shield-endpoint |
dc73a1b8cc1f5f55967c6c729c3101549e96279a | 770 | hpp | C++ | include/RED4ext/Types/generated/vehicle/GridDestructionEvent.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/vehicle/GridDestructionEvent.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/vehicle/GridDestructionEvent.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Types/SimpleTypes.hpp>
#include <RED4ext/Types/generated/red/Event.hpp>
namespace RED4ext
{
namespace vehicle {
struct GridDestructionEvent : red::... | 28.518519 | 71 | 0.762338 | Cyberpunk-Extended-Development-Team |
dc73fd316b78c0b620b38fb7bf44bb5771a3a896 | 5,056 | cpp | C++ | ivld/src/v20210903/model/PersonImageInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | ivld/src/v20210903/model/PersonImageInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | ivld/src/v20210903/model/PersonImageInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 27.78022 | 143 | 0.687896 | suluner |
dc75c43513f72450a0204906ce07ecd5c7badff3 | 85,035 | cpp | C++ | src/MeshData.cpp | yoshiya-usui/TetGen2Femtic | 0faa9c2bd61e62cd89c2681d7c7899cd7b6267f6 | [
"MIT"
] | 1 | 2020-09-24T01:33:34.000Z | 2020-09-24T01:33:34.000Z | src/MeshData.cpp | yoshiya-usui/TetGen2Femtic | 0faa9c2bd61e62cd89c2681d7c7899cd7b6267f6 | [
"MIT"
] | null | null | null | src/MeshData.cpp | yoshiya-usui/TetGen2Femtic | 0faa9c2bd61e62cd89c2681d7c7899cd7b6267f6 | [
"MIT"
] | null | null | null | //--------------------------------------------------------------------------
// MIT License
//
// Copyright (c) 2021 Yoshiya Usui
//
// 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 withou... | 32.149338 | 227 | 0.656553 | yoshiya-usui |
dc76a32955e0a8b0f3fa9d5e5e79b88305f97136 | 3,898 | cc | C++ | libqpdf/SF_FlateLzwDecode.cc | m-holger/qpdf | f1a9ba0c622deee0ed05004949b34f0126b12b6a | [
"Apache-2.0"
] | null | null | null | libqpdf/SF_FlateLzwDecode.cc | m-holger/qpdf | f1a9ba0c622deee0ed05004949b34f0126b12b6a | [
"Apache-2.0"
] | 3 | 2021-11-19T15:59:21.000Z | 2021-12-10T20:44:33.000Z | libqpdf/SF_FlateLzwDecode.cc | m-holger/qpdf | f1a9ba0c622deee0ed05004949b34f0126b12b6a | [
"Apache-2.0"
] | null | null | null | #include <qpdf/SF_FlateLzwDecode.hh>
#include <qpdf/Pl_Flate.hh>
#include <qpdf/Pl_LZWDecoder.hh>
#include <qpdf/Pl_PNGFilter.hh>
#include <qpdf/Pl_TIFFPredictor.hh>
#include <qpdf/QIntC.hh>
#include <qpdf/QTC.hh>
SF_FlateLzwDecode::SF_FlateLzwDecode(bool lzw) :
lzw(lzw),
// Initialize values to their default... | 30.692913 | 78 | 0.54156 | m-holger |
dc77b17128099c39402ad53daaf4c9408540af2c | 2,242 | cpp | C++ | src/ngfx/porting/vulkan/VKDescriptorSetLayoutCache.cpp | kamranrad1993/ngfx | eeef60e3419a88371a97e8bc3109d2b35b82cc89 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 12 | 2021-04-03T16:50:22.000Z | 2022-03-18T07:14:14.000Z | src/ngfx/porting/vulkan/VKDescriptorSetLayoutCache.cpp | kamranrad1993/ngfx | eeef60e3419a88371a97e8bc3109d2b35b82cc89 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 6 | 2021-05-06T21:02:19.000Z | 2022-02-14T11:57:27.000Z | src/ngfx/porting/vulkan/VKDescriptorSetLayoutCache.cpp | kamranrad1993/ngfx | eeef60e3419a88371a97e8bc3109d2b35b82cc89 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 5 | 2021-06-11T20:15:37.000Z | 2022-03-18T07:14:21.000Z | /*
* Copyright 2020 GoPro Inc.
*
* 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 Licens... | 40.035714 | 79 | 0.739518 | kamranrad1993 |
dc799ad4bd4120e35fdc3585493978ce7d8b1cad | 27,879 | cpp | C++ | CK2ToEU4/Source/EU4World/Country/Country.cpp | bavbeerhall/CK2ToEU4 | a65edfb895b30e80af5bd7045dbfac7e2c5069e9 | [
"MIT"
] | 2 | 2020-04-25T15:14:10.000Z | 2020-04-25T18:47:00.000Z | CK2ToEU4/Source/EU4World/Country/Country.cpp | bavbeerhall/CK2ToEU4 | a65edfb895b30e80af5bd7045dbfac7e2c5069e9 | [
"MIT"
] | null | null | null | CK2ToEU4/Source/EU4World/Country/Country.cpp | bavbeerhall/CK2ToEU4 | a65edfb895b30e80af5bd7045dbfac7e2c5069e9 | [
"MIT"
] | null | null | null | #include "Country.h"
#include "../../CK2World/Characters/Character.h"
#include "../../CK2World/Dynasties/Dynasty.h"
#include "../../CK2World/Provinces/Province.h"
#include "../../CK2World/Titles/Title.h"
#include "../../Common/CommonFunctions.h"
#include "../../Mappers/ColorScraper/ColorScraper.h"
#include "../../Mappe... | 37.930612 | 152 | 0.713225 | bavbeerhall |
dc80da7254804763fce455be71df9c82d3fa0116 | 9,775 | cpp | C++ | TurboX-Engine/TurboX-Engine/ModuleCamera3D.cpp | moon-funding/TurboX-Engine | 0ebcc94f0c93fa0a5d1f88f8f46e90df28b5c8a6 | [
"MIT",
"Zlib",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | TurboX-Engine/TurboX-Engine/ModuleCamera3D.cpp | moon-funding/TurboX-Engine | 0ebcc94f0c93fa0a5d1f88f8f46e90df28b5c8a6 | [
"MIT",
"Zlib",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | TurboX-Engine/TurboX-Engine/ModuleCamera3D.cpp | moon-funding/TurboX-Engine | 0ebcc94f0c93fa0a5d1f88f8f46e90df28b5c8a6 | [
"MIT",
"Zlib",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "ModuleCamera3D.h"
#include "ModuleInput.h"
#include "ModuleConsole.h"
#include "ModuleScene.h"
#include "ModuleEditor.h"
#include "W_Hierarchy.h"
#include "GameObject.h"
#include "MathGeoLib/MathGeoLib.h"
#include "ModuleRenderer3D.h"
#include "Component.h"
#inclu... | 26.854396 | 167 | 0.664041 | moon-funding |
dc84567633603b84e46cb221af36c2dc63a877b5 | 5,535 | cc | C++ | src/libmodelbox/engine/single_node.cc | fujl/modelbox | 390541a87318bb6f8a37163668b439e5387f5d9a | [
"Apache-2.0"
] | 1 | 2021-12-16T06:53:00.000Z | 2021-12-16T06:53:00.000Z | src/libmodelbox/engine/single_node.cc | fujl/modelbox | 390541a87318bb6f8a37163668b439e5387f5d9a | [
"Apache-2.0"
] | null | null | null | src/libmodelbox/engine/single_node.cc | fujl/modelbox | 390541a87318bb6f8a37163668b439e5387f5d9a | [
"Apache-2.0"
] | 1 | 2021-12-03T06:19:09.000Z | 2021-12-03T06:19:09.000Z | /*
* Copyright 2021 The Modelbox Project Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 31.810345 | 80 | 0.688166 | fujl |
dc84d559c8a64a20a65233dc48bb5fd5b52e6985 | 3,819 | inl | C++ | include/QuickMaffs/Private/Polygon2.inl | PoetaKodu/quickmaffs | d74d514ff817f70a435609c95b5dec11feeff60e | [
"MIT"
] | 2 | 2018-04-30T20:49:22.000Z | 2019-01-13T13:30:58.000Z | include/QuickMaffs/Private/Polygon2.inl | PoetaKodu/quickmaffs | d74d514ff817f70a435609c95b5dec11feeff60e | [
"MIT"
] | null | null | null | include/QuickMaffs/Private/Polygon2.inl | PoetaKodu/quickmaffs | d74d514ff817f70a435609c95b5dec11feeff60e | [
"MIT"
] | null | null | null | // Note: this file is not meant to be included on its own.
// Include "Polygon2.hpp" instead.
namespace quickmaffs
{
////////////////////////////////////////////////////////////////////////////////////////
template <typename TValueType>
Polygon2<TValueType>::Polygon2(const ContainerType& points_)
: m_points{ points... | 32.364407 | 123 | 0.532076 | PoetaKodu |
dc85d12a88082faea4d1486df0d0715a8501c41e | 6,731 | cpp | C++ | plugins/robots/common/twoDModel/src/engine/items/imageItem.cpp | ikonovalova/trik-studio | f084274a7663bb7f341169ee029e46b6079c7274 | [
"Apache-2.0"
] | null | null | null | plugins/robots/common/twoDModel/src/engine/items/imageItem.cpp | ikonovalova/trik-studio | f084274a7663bb7f341169ee029e46b6079c7274 | [
"Apache-2.0"
] | null | null | null | plugins/robots/common/twoDModel/src/engine/items/imageItem.cpp | ikonovalova/trik-studio | f084274a7663bb7f341169ee029e46b6079c7274 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2016-2018 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 26.089147 | 100 | 0.720844 | ikonovalova |
dc8771f921307ba55361dfe808866e77417ec3d3 | 13,149 | cpp | C++ | tests/cpu/fileformats/FileFormatCDL_tests.cpp | rakoman/OpenColorIO | 7ec3772ac7f3594584041261f362cd952b8b6acf | [
"BSD-3-Clause"
] | 2 | 2015-01-23T09:26:29.000Z | 2020-11-21T08:16:27.000Z | tests/cpu/fileformats/FileFormatCDL_tests.cpp | rakoman/OpenColorIO | 7ec3772ac7f3594584041261f362cd952b8b6acf | [
"BSD-3-Clause"
] | 2 | 2020-05-21T11:19:23.000Z | 2020-05-21T11:26:09.000Z | tests/cpu/fileformats/FileFormatCDL_tests.cpp | rakoman/OpenColorIO | 7ec3772ac7f3594584041261f362cd952b8b6acf | [
"BSD-3-Clause"
] | 2 | 2021-08-04T22:07:38.000Z | 2021-08-06T20:23:03.000Z | /*
Copyright (c) 2014 Cinesite VFX Ltd, et al.
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 the f... | 53.234818 | 118 | 0.686212 | rakoman |
dc8d4f8c998a560d7110a9dc9e7fcd0d93911ceb | 2,155 | cpp | C++ | CardsPermutation/CardsPermutation.cpp | HPCCS/Computation-Kernel-Dataset | 5a184c7846c1abff39426a7f53fb837de8ba36e3 | [
"MIT"
] | 1 | 2019-05-03T19:37:24.000Z | 2019-05-03T19:37:24.000Z | CardsPermutation/CardsPermutation.cpp | HPCCS/Computation-Kernel-Dataset | 5a184c7846c1abff39426a7f53fb837de8ba36e3 | [
"MIT"
] | null | null | null | CardsPermutation/CardsPermutation.cpp | HPCCS/Computation-Kernel-Dataset | 5a184c7846c1abff39426a7f53fb837de8ba36e3 | [
"MIT"
] | null | null | null | // problem statement is in https://www.hackerrank.com/contests/womens-codesprint-4/challenges/cards-permutation/problem
#include <bits/stdc++.h>
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <set>
#include <string>
#include <cstring>
#include <ctime>
using names... | 19.953704 | 119 | 0.495592 | HPCCS |
dc95b42c5c323c12ab2af60744b3b128eddf837e | 9,936 | cpp | C++ | src/ClientData/CaptureData.cpp | akopich/orbit | c7935085023cce1abb70ce96dd03339f47a1c826 | [
"BSD-2-Clause"
] | null | null | null | src/ClientData/CaptureData.cpp | akopich/orbit | c7935085023cce1abb70ce96dd03339f47a1c826 | [
"BSD-2-Clause"
] | null | null | null | src/ClientData/CaptureData.cpp | akopich/orbit | c7935085023cce1abb70ce96dd03339f47a1c826 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2020 The Orbit 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 "ClientData/CaptureData.h"
#include <absl/container/flat_hash_map.h>
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <iterat... | 40.721311 | 100 | 0.74849 | akopich |
dc9770a49853fcf24cb319e0682fa3b56d3c9521 | 1,951 | hpp | C++ | test/unit/workgroup/tests/test-util-workgroup-WorkStorage.hpp | researchapps/RAJA | 122fa519ebc84f1ed114b70444fb807bd8e4efa9 | [
"BSD-3-Clause"
] | 319 | 2016-04-28T23:53:29.000Z | 2022-03-29T16:30:36.000Z | test/unit/workgroup/tests/test-util-workgroup-WorkStorage.hpp | researchapps/RAJA | 122fa519ebc84f1ed114b70444fb807bd8e4efa9 | [
"BSD-3-Clause"
] | 1,071 | 2016-05-04T23:15:51.000Z | 2022-03-31T23:47:48.000Z | test/unit/workgroup/tests/test-util-workgroup-WorkStorage.hpp | researchapps/RAJA | 122fa519ebc84f1ed114b70444fb807bd8e4efa9 | [
"BSD-3-Clause"
] | 103 | 2016-05-02T22:48:37.000Z | 2022-03-23T13:51:21.000Z | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2016-21, Lawrence Livermore National Security, LLC
// and RAJA project contributors. See the RAJA/LICENSE file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | 23.22619 | 79 | 0.623783 | researchapps |
dc9aa1b6f6b033836268382f4420406356cfd2ec | 9,994 | hpp | C++ | include/poac/util/semver/parser/parser.hpp | ken-matsui/poac | e4503027f3993be493824f48dc31818029784238 | [
"Apache-2.0"
] | null | null | null | include/poac/util/semver/parser/parser.hpp | ken-matsui/poac | e4503027f3993be493824f48dc31818029784238 | [
"Apache-2.0"
] | null | null | null | include/poac/util/semver/parser/parser.hpp | ken-matsui/poac | e4503027f3993be493824f48dc31818029784238 | [
"Apache-2.0"
] | null | null | null | #ifndef SEMVER_PARSER_PARSER_HPP
#define SEMVER_PARSER_PARSER_HPP
#include <cstddef>
#include <cstdint>
#include <string_view>
#include <vector>
#include <optional>
#include <poac/util/semver/parser/lexer.hpp>
#include <poac/util/semver/parser/range.hpp>
#include <poac/util/semver/parser/token.hpp>
namespace semver:... | 29.307918 | 113 | 0.471683 | ken-matsui |
dc9c97a62751863b1e297638c4bbc535cf3679f5 | 447 | cpp | C++ | LuaGame/src/LuaGame.cpp | davidliljefors/Hazel | 1467f1c20ba46bdfe943d72a75b6d86bca1c2a66 | [
"Apache-2.0"
] | 1 | 2020-09-27T09:22:33.000Z | 2020-09-27T09:22:33.000Z | LuaGame/src/LuaGame.cpp | davidliljefors/Hazel | 1467f1c20ba46bdfe943d72a75b6d86bca1c2a66 | [
"Apache-2.0"
] | null | null | null | LuaGame/src/LuaGame.cpp | davidliljefors/Hazel | 1467f1c20ba46bdfe943d72a75b6d86bca1c2a66 | [
"Apache-2.0"
] | null | null | null | #include <Hazel.h>
#include <Hazel/Core/EntryPoint.h>
#include "Platform/OpenGL/OpenGLShader.h"
#include "imgui/imgui.h"
#include <glm/gtx/string_cast.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "LuaLayer.h"
class LuaGame : public Hazel::Application
{
public:
LuaGame()
{
//PushLayer(new ExampleLayer());
Pus... | 13.545455 | 46 | 0.695749 | davidliljefors |
dca4fcb5fafbad50cdbf1a830c7ee1c7b7721a6d | 4,471 | cc | C++ | examples/cpp_api/array_metadata.cc | upj977155/TileDB | 1c96c6a0c030e058930ff9d47409865fbfe2178f | [
"MIT"
] | 1,478 | 2017-06-15T13:58:50.000Z | 2022-03-30T13:46:00.000Z | examples/cpp_api/array_metadata.cc | upj977155/TileDB | 1c96c6a0c030e058930ff9d47409865fbfe2178f | [
"MIT"
] | 1,435 | 2017-05-25T01:16:18.000Z | 2022-03-31T21:57:06.000Z | examples/cpp_api/array_metadata.cc | upj977155/TileDB | 1c96c6a0c030e058930ff9d47409865fbfe2178f | [
"MIT"
] | 169 | 2017-06-09T18:35:45.000Z | 2022-03-13T01:11:18.000Z | /**
* @file array_metadata.cc
*
* @section LICENSE
*
* The MIT License
*
* @copyright Copyright (c) 2018-2021 TileDB, 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
* in the Software witho... | 31.70922 | 80 | 0.638112 | upj977155 |
dca683ed63f1fcac60b32781a75007e828ddf502 | 36,150 | cpp | C++ | sizzlingstats/serverplugin_empty.cpp | SizzlingStats/sizzlingplugins | f4947ca0533fe8f9241387a26fb1df4cd04f4c98 | [
"Unlicense",
"BSD-3-Clause"
] | 5 | 2015-06-23T23:21:28.000Z | 2021-09-14T00:35:33.000Z | sizzlingstats/serverplugin_empty.cpp | SizzlingStats/sizzlingplugins | f4947ca0533fe8f9241387a26fb1df4cd04f4c98 | [
"Unlicense",
"BSD-3-Clause"
] | 8 | 2015-04-06T23:06:57.000Z | 2017-06-15T20:28:17.000Z | sizzlingstats/serverplugin_empty.cpp | SizzlingStats/sizzlingplugins | f4947ca0533fe8f9241387a26fb1df4cd04f4c98 | [
"Unlicense",
"BSD-3-Clause"
] | 3 | 2015-10-16T22:22:29.000Z | 2021-11-10T05:03:37.000Z | /*========
This file is part of SizzlingPlugins.
Copyright (c) 2010-2013, Jordan Cristiano.
This file is subject to the terms and conditions
defined in the file 'LICENSE', which is part of this
source code package.
*/
#include "dbgflag.h"
#include <stdio.h>
#include "Sizz... | 32.655827 | 181 | 0.627939 | SizzlingStats |
dcaebb4ccb7339aa1c444ed84fb96d2d2e08f5c2 | 76 | cpp | C++ | src/third_party/doctest.cpp | ThomasGale/pytorch-cpp-rl | e25fa6418e308eefb7213c2d45528eaac20780ee | [
"MIT"
] | 445 | 2019-04-11T12:30:34.000Z | 2022-03-28T08:14:42.000Z | src/third_party/doctest.cpp | ThomasGale/pytorch-cpp-rl | e25fa6418e308eefb7213c2d45528eaac20780ee | [
"MIT"
] | 21 | 2019-04-11T20:18:02.000Z | 2021-11-27T12:56:58.000Z | src/third_party/doctest.cpp | ThomasGale/pytorch-cpp-rl | e25fa6418e308eefb7213c2d45528eaac20780ee | [
"MIT"
] | 87 | 2019-04-11T17:42:05.000Z | 2022-03-10T15:55:48.000Z | #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "third_party/doctest.h" | 25.333333 | 42 | 0.868421 | ThomasGale |
dcb6b232200032a1d1b5d1a613e3c821e7ff1ff5 | 17,683 | cpp | C++ | src/MinimiseProgramTransformer.cpp | ohamel-softwaresecure/souffle | d4b9fe641f0c51d2a25408af45416a7e5123f866 | [
"UPL-1.0"
] | null | null | null | src/MinimiseProgramTransformer.cpp | ohamel-softwaresecure/souffle | d4b9fe641f0c51d2a25408af45416a7e5123f866 | [
"UPL-1.0"
] | null | null | null | src/MinimiseProgramTransformer.cpp | ohamel-softwaresecure/souffle | d4b9fe641f0c51d2a25408af45416a7e5123f866 | [
"UPL-1.0"
] | null | null | null | /*
* Souffle - A Datalog Compiler
* Copyright (c) 2018, The Souffle Developers. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at:
* - https://opensource.org/licenses/UPL
* - <souffle root>/licenses/SOUFFLE-UPL.txt
*/
/*******************************************************... | 37.227368 | 110 | 0.618673 | ohamel-softwaresecure |
dcbc873ec2bf7e2e84d96a3d9d262182b862bc67 | 10,745 | cpp | C++ | src/coreclr/src/md/compiler/custattr_import.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 6 | 2020-01-04T14:02:35.000Z | 2020-01-05T15:28:09.000Z | src/coreclr/src/md/compiler/custattr_import.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 15 | 2017-01-27T20:18:50.000Z | 2019-11-14T00:52:58.000Z | src/coreclr/src/md/compiler/custattr_import.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 3 | 2021-02-10T16:20:05.000Z | 2021-03-12T07:55:36.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.
//*****************************************************************************
//
// CustAttr_Import.cpp
//
// Impl... | 37.968198 | 126 | 0.530014 | abock |
dcc3545da60d25d0055cba79b7ec9299ad6c4975 | 492 | cpp | C++ | light.cpp | jesuisthanos/RayTracer | df8658eb0c9206fc7084712b1436caa1a4086e1e | [
"MIT"
] | null | null | null | light.cpp | jesuisthanos/RayTracer | df8658eb0c9206fc7084712b1436caa1a4086e1e | [
"MIT"
] | null | null | null | light.cpp | jesuisthanos/RayTracer | df8658eb0c9206fc7084712b1436caa1a4086e1e | [
"MIT"
] | null | null | null | //
// Framework for a raytracer
// File: light.cpp
//
// Created for the Computer Science course "Introduction Computer Graphics"
// taught at the University of Groningen by Tobias Isenberg.
//
// Author: Maarten Everts
// Stephane Gosset
// Sy-Thanh Ho
//
// This framework is inspired by and uses code of t... | 27.333333 | 79 | 0.715447 | jesuisthanos |
dcc4c51646836ed86bf4cd3a6a48f5b26d7e8e3d | 929 | cpp | C++ | EXP5/AntEdgeDetection.cpp | PrasekMatej/AntEdgeDetection | f98577a83cf6da7a76f30e66afd3ed16ab360127 | [
"BSD-2-Clause"
] | null | null | null | EXP5/AntEdgeDetection.cpp | PrasekMatej/AntEdgeDetection | f98577a83cf6da7a76f30e66afd3ed16ab360127 | [
"BSD-2-Clause"
] | null | null | null | EXP5/AntEdgeDetection.cpp | PrasekMatej/AntEdgeDetection | f98577a83cf6da7a76f30e66afd3ed16ab360127 | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
#include <chrono>
#include "CommandParser.h"
#include "ImageParser.h"
#include "AntColonySystem.h"
#include "Parameters.h"
using namespace std;
int main(int argc, char** argv)
{
cout << "Parsing m_parameters." << endl;
Parameters parameters;
Parse(argc, argv, parameters);
cout... | 25.805556 | 135 | 0.663079 | PrasekMatej |
dcc8569f3d6328bdcdfcb22284a2e2c83b05ab71 | 54,372 | cpp | C++ | src/dbdump/dbdump_MutgosDumpFileReader.cpp | mutgos/mutgos_server | 115270d07db22d320e0b51095e9219f0a0e15ddb | [
"MIT"
] | 5 | 2019-02-24T06:42:52.000Z | 2021-04-09T19:16:24.000Z | src/dbdump/dbdump_MutgosDumpFileReader.cpp | mutgos/mutgos_server | 115270d07db22d320e0b51095e9219f0a0e15ddb | [
"MIT"
] | 40 | 2019-02-24T15:25:54.000Z | 2021-05-17T04:22:43.000Z | src/dbdump/dbdump_MutgosDumpFileReader.cpp | mutgos/mutgos_server | 115270d07db22d320e0b51095e9219f0a0e15ddb | [
"MIT"
] | 2 | 2019-02-23T22:58:36.000Z | 2019-02-27T01:27:42.000Z | /*
* dbdump_MutgosDumpFileReader.cpp
*/
#include <stddef.h>
#include <fstream>
#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/case_conv.hpp>
#include "text/text_StringConversion.h"
#include "text/text_Utf8Tools.h"
#include "utilities/mutgos_config.h"
#include "dbdump_MutgosDumpFileReade... | 31.740806 | 83 | 0.394302 | mutgos |
dccd6840981511233989eacb9d154b203b1112ba | 499 | cpp | C++ | shared/source/gen12lp/enable_family_full_core_gen12lp.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 778 | 2017-09-29T20:02:43.000Z | 2022-03-31T15:35:28.000Z | shared/source/gen12lp/enable_family_full_core_gen12lp.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 478 | 2018-01-26T16:06:45.000Z | 2022-03-30T10:19:10.000Z | shared/source/gen12lp/enable_family_full_core_gen12lp.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 215 | 2018-01-30T08:39:32.000Z | 2022-03-29T11:08:51.000Z | /*
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/gen12lp/hw_cmds.h"
#include "shared/source/helpers/hw_helper.h"
namespace NEO {
extern HwHelper *hwHelperFactory[IGFX_MAX_CORE];
typedef TGLLPFamily Family;
static auto gfxFamily = IGFX_GEN12LP_CORE;
s... | 19.192308 | 64 | 0.733467 | troels |
dcce03f8043c67170a684aaa944338fb5e7d8d4a | 3,028 | ipp | C++ | implement/oglplus/detail/glsl_source.ipp | highfidelity/oglplus | c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e | [
"BSL-1.0"
] | 2 | 2017-06-09T00:28:35.000Z | 2017-06-09T00:28:43.000Z | implement/oglplus/detail/glsl_source.ipp | highfidelity/oglplus | c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e | [
"BSL-1.0"
] | null | null | null | implement/oglplus/detail/glsl_source.ipp | highfidelity/oglplus | c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e | [
"BSL-1.0"
] | 8 | 2017-01-30T22:06:41.000Z | 2020-01-14T17:24:36.000Z | /**
* .file oglplus/detail/glsl_source.ipp
* .brief Implementation of GLSLSource helpers
*
* @author Matus Chochlik
*
* Copyright 2010-2015 Matus Chochlik. 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)... | 19.662338 | 68 | 0.679326 | highfidelity |
dcd556fe318f1f4491d507c709871f067892b1f4 | 696 | cpp | C++ | net.ssa/xrLC/Occlusion/visibilitytester.cpp | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:19.000Z | 2022-03-26T17:00:19.000Z | xrLC/Occlusion/visibilitytester.cpp | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | null | null | null | xrLC/Occlusion/visibilitytester.cpp | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:21.000Z | 2022-03-26T17:00:21.000Z | #include "stdafx.h"
#include "visibilitytester.h"
void CVisibilityTest::Calculate(void)
{
if (Count>0) {
CHK_DX(Device()->SetTransform(D3DTRANSFORMSTATE_WORLD,precalc_identity.d3d()));
CHK_DX(Device()->ComputeSphereVisibility(
(D3DVECTOR*)&(Center[0]),
&(Radius[0]),
Count,
0,
&(Result[0... | 26.769231 | 82 | 0.636494 | ixray-team |
dcd620f917ccd110b6aee3cd3ebd5afc896f6340 | 405 | cpp | C++ | solutions_cpp/first_bad_version.cpp | aaishikasb/Leetcoding | c6ad25486716d43c780d840cc80aa20ef51a8674 | [
"MIT"
] | null | null | null | solutions_cpp/first_bad_version.cpp | aaishikasb/Leetcoding | c6ad25486716d43c780d840cc80aa20ef51a8674 | [
"MIT"
] | null | null | null | solutions_cpp/first_bad_version.cpp | aaishikasb/Leetcoding | c6ad25486716d43c780d840cc80aa20ef51a8674 | [
"MIT"
] | null | null | null | // The API isBadVersion is defined for you.
// bool isBadVersion(int version);
class Solution {
public:
int firstBadVersion(int n) {
int first = 1;
int last = n;
int mid;
while(first <= last){
mid = ((last-first)>> 1) + first;
if(isBadVersion(mid)) last = mid... | 21.315789 | 49 | 0.503704 | aaishikasb |
dcd927bf7c72133c9d7494b14aec4e32d4590a89 | 941 | cpp | C++ | src/yaodaq/ConnectionState.cpp | yaodaq/YAODAQ | 3a7e60ef3eb415b0852b47a0bed698980dbc7777 | [
"MIT"
] | null | null | null | src/yaodaq/ConnectionState.cpp | yaodaq/YAODAQ | 3a7e60ef3eb415b0852b47a0bed698980dbc7777 | [
"MIT"
] | null | null | null | src/yaodaq/ConnectionState.cpp | yaodaq/YAODAQ | 3a7e60ef3eb415b0852b47a0bed698980dbc7777 | [
"MIT"
] | 1 | 2022-01-04T10:05:01.000Z | 2022-01-04T10:05:01.000Z | /**
\copyright Copyright 2022 flagarde
*/
#include "yaodaq/ConnectionState.hpp"
#include "yaodaq/Identifier.hpp"
namespace yaodaq
{
std::list<std::pair<std::string, std::string>> ConnectionState::m_Ids{};
ConnectionState::ConnectionState() : ix::ConnectionState() {}
ConnectionState::~ConnectionState()
{
std::lo... | 22.95122 | 117 | 0.651435 | yaodaq |
dcdb04c5fa4a93d6750c351edfd6bcef3a3cbc82 | 2,948 | cpp | C++ | export/release/windows/obj/src/polymod/format/EndLineType.cpp | SamuraiOfSecrets/Goatmeal-Time-v0.2 | 7b89cbaf6895495b90ee1a5679e9cc696a7fbb53 | [
"Apache-2.0"
] | null | null | null | export/release/windows/obj/src/polymod/format/EndLineType.cpp | SamuraiOfSecrets/Goatmeal-Time-v0.2 | 7b89cbaf6895495b90ee1a5679e9cc696a7fbb53 | [
"Apache-2.0"
] | null | null | null | export/release/windows/obj/src/polymod/format/EndLineType.cpp | SamuraiOfSecrets/Goatmeal-Time-v0.2 | 7b89cbaf6895495b90ee1a5679e9cc696a7fbb53 | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.2.2
#include <hxcpp.h>
#ifndef INCLUDED_polymod_format_EndLineType
#include <polymod/format/EndLineType.h>
#endif
namespace polymod{
namespace format{
::polymod::format::EndLineType EndLineType_obj::ANY;
::polymod::format::EndLineType EndLineType_obj::CR;
::polymod::format::EndLineType EndLin... | 31.031579 | 162 | 0.707938 | SamuraiOfSecrets |
dcdf2794d75299674187c37f12a4c2fe2779f2c3 | 36,987 | cxx | C++ | run/scheduler/src/FieldPropagationHandler.cxx | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | run/scheduler/src/FieldPropagationHandler.cxx | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | run/scheduler/src/FieldPropagationHandler.cxx | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #include "Geant/FieldPropagationHandler.h"
#include "Geant/FieldConfig.h"
#include "Geant/FieldLookup.h"
#include "Geant/GUFieldPropagatorPool.h"
#include "Geant/GUFieldPropagator.h"
#include "Geant/ConstBzFieldHelixStepper.h"
#include "Geant/ConstFieldHelixStepper.h"
#include "Geant/FieldTrack.h"
#include "Geant/Tr... | 39.899676 | 120 | 0.642577 | Geant-RnD |
dcdf63702b8b1e8eb49eda54c4a526878c3ead09 | 4,707 | cpp | C++ | nodes/accelerated_vadd/src/host.cpp | dirksavage88/acceleration_examples | 97140d08d84e53d7c7cc04340dfefe2c4a954117 | [
"Apache-2.0"
] | null | null | null | nodes/accelerated_vadd/src/host.cpp | dirksavage88/acceleration_examples | 97140d08d84e53d7c7cc04340dfefe2c4a954117 | [
"Apache-2.0"
] | null | null | null | nodes/accelerated_vadd/src/host.cpp | dirksavage88/acceleration_examples | 97140d08d84e53d7c7cc04340dfefe2c4a954117 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Xilinx, 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
*
* Unless required by applicable law or agreed to... | 43.583333 | 117 | 0.571277 | dirksavage88 |
dce0339cc92eebdda64e8689118d841d62e23bd4 | 2,390 | cpp | C++ | src/tests/pack-field-ordering.cpp | sbu-fsl/DataSeries | 8436462519eb22fc653387885b5f0339fb419061 | [
"BSD-2-Clause"
] | 6 | 2015-02-27T19:15:11.000Z | 2018-10-25T14:22:31.000Z | src/tests/pack-field-ordering.cpp | yoursunny/DataSeries | b5b9db8e40a79a3e546a59cd72a80be89412d7b2 | [
"BSD-2-Clause"
] | 7 | 2015-08-17T15:18:50.000Z | 2017-08-16T00:16:19.000Z | src/tests/pack-field-ordering.cpp | sbu-fsl/DataSeries | 8436462519eb22fc653387885b5f0339fb419061 | [
"BSD-2-Clause"
] | 8 | 2015-07-13T23:02:28.000Z | 2020-09-28T19:06:26.000Z | // -*-C++-*-
/*
(c) Copyright 2008, Hewlett-Packard Development Company, LP
See the file named COPYING for license details
*/
/** @file
Test the pad-record options
*/
#include <iostream>
#include <DataSeries/Extent.hpp>
#include <DataSeries/ExtentField.hpp>
using namespace std;
void testSimpleCheckOffsets... | 37.34375 | 110 | 0.546862 | sbu-fsl |
dce0e724a6fdbd41565c04e97316bfbaee89cb4d | 5,495 | cpp | C++ | modules/world/objects/agent.cpp | cirrostratus1/bark | 6629a9bbc455d0fd708e09bb8e162425e62c4165 | [
"MIT"
] | null | null | null | modules/world/objects/agent.cpp | cirrostratus1/bark | 6629a9bbc455d0fd708e09bb8e162425e62c4165 | [
"MIT"
] | null | null | null | modules/world/objects/agent.cpp | cirrostratus1/bark | 6629a9bbc455d0fd708e09bb8e162425e62c4165 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 fortiss GmbH, Julian Bernhard, Klemens Esterle, Patrick Hart, Tobias Kessler
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include <limits>
#include <cmath>
#include "modules/world/objects/agent.hpp"
#include "modules/wo... | 34.34375 | 98 | 0.720291 | cirrostratus1 |
dce137036a30ec9e64e21e77ce7b1e72a22c4b26 | 3,032 | cpp | C++ | vs2017_static_lib/DokeviNetwork/DokeviException.cpp | kaygundraka/Dokevi-TCPServer | 00c3ceb04c133d1959c89f6b3708ecf7607ef572 | [
"MIT"
] | 7 | 2020-03-23T12:09:50.000Z | 2020-05-19T02:35:42.000Z | vs2017_static_lib/DokeviNetwork/DokeviException.cpp | kaygundraka/Dokevi-Network | 00c3ceb04c133d1959c89f6b3708ecf7607ef572 | [
"MIT"
] | null | null | null | vs2017_static_lib/DokeviNetwork/DokeviException.cpp | kaygundraka/Dokevi-Network | 00c3ceb04c133d1959c89f6b3708ecf7607ef572 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "DokeviException.h"
#include "ConfigManager.h"
#include <iostream>
#include <fstream>
using namespace DokeviNet;
std::vector<void(*)(void)> DokeviNet::Exception::excpetionHandler;
std::string serverInfoText = "";
void DokeviNet::MakeMinidump(EXCEPTION_POINTERS* e)
{
auto dbgHelp = LoadLib... | 22.294118 | 129 | 0.725264 | kaygundraka |
dce158fbeb1cb933a484ff199db054bedb0ff95c | 732 | cpp | C++ | 00118_pascals-triangle/200207-1.cpp | yanlinlin82/leetcode | ddcc0b9606d951cff9c08d1f7dfbc202067c8d65 | [
"MIT"
] | 6 | 2019-10-23T01:07:29.000Z | 2021-12-05T01:51:16.000Z | 00118_pascals-triangle/200207-1.cpp | yanlinlin82/leetcode | ddcc0b9606d951cff9c08d1f7dfbc202067c8d65 | [
"MIT"
] | null | null | null | 00118_pascals-triangle/200207-1.cpp | yanlinlin82/leetcode | ddcc0b9606d951cff9c08d1f7dfbc202067c8d65 | [
"MIT"
] | 1 | 2021-12-03T06:54:57.000Z | 2021-12-03T06:54:57.000Z | // https://leetcode-cn.com/problems/pascals-triangle/
#include <cstdio>
#include <vector>
using namespace std;
class Solution {
public:
vector<vector<int>> generate(int numRows) {
vector<vector<int>> res;
if (numRows > 0) {
vector<int> a;
for (int i = 0; i < numRows; ++i) {
vector<int> b;
for (in... | 17.023256 | 53 | 0.539617 | yanlinlin82 |
dce15a4d25d287b75102069143843a394741005a | 9,265 | cpp | C++ | benchmarks/puma_benchmarks/vgg19.cpp | souravsanyal06/puma-simulator | 9580656dc0e16fb36eb268054abe4391ade183db | [
"MIT"
] | 33 | 2019-04-18T01:16:07.000Z | 2022-02-18T20:21:05.000Z | benchmarks/puma_benchmarks/vgg19.cpp | souravsanyal06/puma-simulator | 9580656dc0e16fb36eb268054abe4391ade183db | [
"MIT"
] | 26 | 2019-09-06T16:05:43.000Z | 2022-03-11T23:29:29.000Z | benchmarks/puma_benchmarks/vgg19.cpp | souravsanyal06/puma-simulator | 9580656dc0e16fb36eb268054abe4391ade183db | [
"MIT"
] | 35 | 2019-04-19T08:40:55.000Z | 2022-02-13T11:18:00.000Z |
#include <assert.h>
#include <string>
#include <vector>
#include "puma.h"
#include "conv-layer.h"
#include "fully-connected-layer.h"
void isolated_fully_connected_layer(Model model, std::string layerName, unsigned int in_size, unsigned int out_size) {
// Input vector
auto in = InputVector::creat... | 41.734234 | 196 | 0.696168 | souravsanyal06 |
dce2321018127dcdf01006fb475203e1ccd35d43 | 2,026 | cpp | C++ | Competitive/CoderBoy/C++/DSA/interleaved_string.cpp | prskid1000/Coding | e1f77c26f1bfc9160c97a8bbe181c9f851045340 | [
"MIT"
] | null | null | null | Competitive/CoderBoy/C++/DSA/interleaved_string.cpp | prskid1000/Coding | e1f77c26f1bfc9160c97a8bbe181c9f851045340 | [
"MIT"
] | null | null | null | Competitive/CoderBoy/C++/DSA/interleaved_string.cpp | prskid1000/Coding | e1f77c26f1bfc9160c97a8bbe181c9f851045340 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define ld long double
#define ll long long int
//Constant declarations
#define INF 1000000000000000000LL
//IO modifiers
#define fast ios_base::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);
#define io1 std::ifstream in("in.txt");std::cin.rdbuf(in.rdbuf());
#define io2 std::ofstr... | 22.021739 | 231 | 0.555775 | prskid1000 |
dce52de557444fd00956cf3e0027b3dcf7cc740a | 2,283 | cc | C++ | modules/congestion_controller/rtp/transport_feedback_demuxer_unittest.cc | ztchu/2020_04_05_webrtc | 2e3e36312b10b8711c467e7bdc4582c01914e4d0 | [
"BSD-3-Clause"
] | 45 | 2020-11-25T06:17:12.000Z | 2022-03-26T03:49:51.000Z | modules/congestion_controller/rtp/transport_feedback_demuxer_unittest.cc | ztchu/2020_04_05_webrtc | 2e3e36312b10b8711c467e7bdc4582c01914e4d0 | [
"BSD-3-Clause"
] | 31 | 2020-11-17T05:30:13.000Z | 2021-12-14T02:19:00.000Z | modules/congestion_controller/rtp/transport_feedback_demuxer_unittest.cc | ztchu/2020_04_05_webrtc | 2e3e36312b10b8711c467e7bdc4582c01914e4d0 | [
"BSD-3-Clause"
] | 20 | 2020-11-17T06:24:14.000Z | 2022-03-10T07:08:53.000Z | /*
* Copyright (c) 2019 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... | 34.074627 | 75 | 0.756899 | ztchu |
dce69c3f11c87b3317cd19467dea01975346ec84 | 3,202 | cpp | C++ | bigOrribleSwitchInline.cpp | abwilson/type_erasure_and_dispatch | 44e39643843c99d6327a9673f16782fe4bbc4993 | [
"MIT"
] | 5 | 2017-09-27T13:33:42.000Z | 2018-10-20T15:53:40.000Z | bigOrribleSwitchInline.cpp | abwilson/type_erasure_and_dispatch | 44e39643843c99d6327a9673f16782fe4bbc4993 | [
"MIT"
] | null | null | null | bigOrribleSwitchInline.cpp | abwilson/type_erasure_and_dispatch | 44e39643843c99d6327a9673f16782fe4bbc4993 | [
"MIT"
] | null | null | null | #include "reader.h"
#include "HandlerHolder.h"
#include "MsgReader.h"
template<template<typename, int> class Handler>
struct BigOrribleSwitch: HandlerHolder<Handler>
{
using Base = HandlerHolder<Handler>;
const char* handle(
int i,
const char* msg,
const MessageHeaderCompT& header,
... | 60.415094 | 107 | 0.623048 | abwilson |
dce6bd2731579c2461e131be104cae9375b7113c | 2,691 | hpp | C++ | libember/Headers/ember/glow/StreamFormat.hpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 78 | 2015-07-31T14:46:38.000Z | 2022-03-28T09:28:28.000Z | libember/Headers/ember/glow/StreamFormat.hpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 81 | 2015-08-03T07:58:19.000Z | 2022-02-28T16:21:19.000Z | libember/Headers/ember/glow/StreamFormat.hpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 49 | 2015-08-03T12:53:10.000Z | 2022-03-17T17:25:49.000Z | /*
libember -- C++ 03 implementation of the Ember+ Protocol
Copyright (C) 2012-2016 Lawo GmbH (http://www.lawo.com).
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef __LIBEMBER_GLOW_STREAMFORMA... | 32.421687 | 91 | 0.49424 | purefunsolutions |
dcebf5e5fbe49f62095af2f241fdc373e1efa6bc | 373,430 | cpp | C++ | Source/MediaInfo/MediaInfo_Config_Automatic.cpp | 3CHosler/MediaInfoLib | 3c1543ed46bec4bcdaa6065ba884fb1085c4f559 | [
"BSD-2-Clause"
] | 1 | 2019-12-03T16:00:42.000Z | 2019-12-03T16:00:42.000Z | Source/MediaInfo/MediaInfo_Config_Automatic.cpp | 3CHosler/MediaInfoLib | 3c1543ed46bec4bcdaa6065ba884fb1085c4f559 | [
"BSD-2-Clause"
] | null | null | null | Source/MediaInfo/MediaInfo_Config_Automatic.cpp | 3CHosler/MediaInfoLib | 3c1543ed46bec4bcdaa6065ba884fb1085c4f559 | [
"BSD-2-Clause"
] | null | null | null | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Automaticly generat... | 58.03108 | 489 | 0.665099 | 3CHosler |
dceceebb8b5cc2cf98eae77528c968f99e465f20 | 1,056 | cpp | C++ | Day11/knightsTour.cpp | tejaswini212/100-Days-Of-Algo | ae90e91e302e2f1c9b1c067416fcb0bc42b12e99 | [
"MIT"
] | 1 | 2022-03-31T13:49:46.000Z | 2022-03-31T13:49:46.000Z | Day11/knightsTour.cpp | tejaswini212/100-Days-Of-Algo | ae90e91e302e2f1c9b1c067416fcb0bc42b12e99 | [
"MIT"
] | null | null | null | Day11/knightsTour.cpp | tejaswini212/100-Days-Of-Algo | ae90e91e302e2f1c9b1c067416fcb0bc42b12e99 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int move_x[8]={2,1,-1,-2,-2,-1,1,2};
int move_y[8]={1,2,2,1,-1,-2,-2,-1};
bool validateMove(vector<vector<int>> &board,int row,int col){
if(row<8 && row>=0 && col<8 && col>=0 && board[row][col]==0)
return true;
else
return false;
}
bool solve(vector<vect... | 22.956522 | 67 | 0.500947 | tejaswini212 |
dced8b9a8bb8e3caee3c785e1996be318a8d0b02 | 10,179 | cc | C++ | lib/poppler/qt5/src/poppler-private.cc | nacimgoura/popplonode | 51625d61248eeedf0a03d00a16d642cdef0329bb | [
"MIT"
] | 4 | 2017-08-23T15:28:42.000Z | 2019-10-18T01:50:16.000Z | lib/poppler/qt5/src/poppler-private.cc | nacimgoura/popplonode | 51625d61248eeedf0a03d00a16d642cdef0329bb | [
"MIT"
] | 2 | 2021-05-06T18:59:32.000Z | 2021-08-31T16:38:27.000Z | lib/poppler/qt5/src/poppler-private.cc | istex/popplonode | 1637685667757df6e54077fa93b60d5d1f7fbc8a | [
"MIT"
] | 1 | 2017-09-05T07:56:18.000Z | 2017-09-05T07:56:18.000Z | /* poppler-private.cc: qt interface to poppler
* Copyright (C) 2005, Net Integration Technologies, Inc.
* Copyright (C) 2006, 2011, 2015 by Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2008, 2010, 2011, 2014 by Pino Toscano <pino@kde.org>
* Copyright (C) 2013 by Thomas Freitag <Thomas.Freitag@alfa.de>
* Copyr... | 34.505085 | 112 | 0.540721 | nacimgoura |
dcee6c654cbb3757e5112c58c809a763245426c4 | 590 | cc | C++ | X_Sum/653.cc | guohaoqiang/leetcode | 802447c029c36892e8dd7391c825bcfc7ac0fd0b | [
"MIT"
] | null | null | null | X_Sum/653.cc | guohaoqiang/leetcode | 802447c029c36892e8dd7391c825bcfc7ac0fd0b | [
"MIT"
] | null | null | null | X_Sum/653.cc | guohaoqiang/leetcode | 802447c029c36892e8dd7391c825bcfc7ac0fd0b | [
"MIT"
] | null | null | null | class Solution {
public:
void inorder_visit(TreeNode* root){
if (root->left) inorder_visit(root->left);
tree.push_back(root->val);
if (root->right) inorder_visit(root->right);
}
bool findTarget(TreeNode* root, int k) {
inorder_visit(root);
int i=0,j=tree.size()-1... | 22.692308 | 52 | 0.459322 | guohaoqiang |
dcef9028c7516850d032971ce520b6efe2ecb199 | 208 | cpp | C++ | Source/VREngine/Private/Interfaces/VRDualHands.cpp | Jordonbc/VREngine | c33e4eda5797dad233f8d813e3b8d3261e93632b | [
"Apache-2.0"
] | 10 | 2020-11-26T19:04:08.000Z | 2022-02-04T19:21:05.000Z | Source/VREngine/Private/Interfaces/VRDualHands.cpp | Jordonbc/VREngine | c33e4eda5797dad233f8d813e3b8d3261e93632b | [
"Apache-2.0"
] | 4 | 2020-12-30T23:26:35.000Z | 2021-12-19T23:43:08.000Z | Source/VREngine/Private/Interfaces/VRDualHands.cpp | Jordonbc/VREngine | c33e4eda5797dad233f8d813e3b8d3261e93632b | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "Interfaces/VRDualHands.h"
// Add default functionality here for any IVRDualHands functions that are not pure virtual. | 41.6 | 91 | 0.802885 | Jordonbc |
fd658b72395cbb9ddce97970d755871bb0debfec | 29,622 | cpp | C++ | test/case/wal_object_test.cpp | atframework/atframe_utils | 070eb63570e8094eeb4d03bf9761fd0311eb1ef3 | [
"MIT"
] | 55 | 2016-07-27T10:35:57.000Z | 2022-03-27T13:46:26.000Z | test/case/wal_object_test.cpp | atframework/atframe_utils | 070eb63570e8094eeb4d03bf9761fd0311eb1ef3 | [
"MIT"
] | 19 | 2021-05-29T07:30:04.000Z | 2022-03-25T15:13:15.000Z | test/case/wal_object_test.cpp | atframework/atframe_utils | 070eb63570e8094eeb4d03bf9761fd0311eb1ef3 | [
"MIT"
] | 18 | 2016-07-27T11:39:20.000Z | 2021-08-17T06:33:44.000Z | // Copyright 2021 atframework
#include <algorithm>
#include <chrono>
#include <cstring>
#include <ctime>
#include <memory>
#include <sstream>
#include <vector>
#include <distributed_system/wal_object.h>
#include "frame/test_macros.h"
enum class test_wal_object_log_action {
kDoNothing = 0,
kRecursivePushBack,
... | 40.578082 | 120 | 0.747485 | atframework |
fd679218bd84efa5a1e207aa695a148a66f8b89a | 7,563 | cpp | C++ | test/varianttestconverttuple.cpp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 39 | 2015-04-04T00:29:47.000Z | 2021-06-27T11:25:38.000Z | test/varianttestconverttuple.cpp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 115 | 2015-04-04T01:59:32.000Z | 2020-12-04T09:23:09.000Z | test/varianttestconverttuple.cpp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 8 | 2015-05-04T06:24:55.000Z | 2020-11-11T12:38:46.000Z | /*------------------------------------------------------------------------------
Copyright Butterfly Energy Systems 2014-2015.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LI... | 34.852535 | 81 | 0.479439 | katreniak |
fd6f95d88caf69e2ae197cf940beb93c164565bc | 2,714 | cpp | C++ | src/csi/utils.cpp | liangyuRain/mesos | 0f9448497ddb259063911811ab3ce5784747ca2d | [
"Apache-2.0"
] | 2 | 2017-01-13T19:40:15.000Z | 2018-05-16T21:37:13.000Z | src/csi/utils.cpp | liangyuRain/mesos | 0f9448497ddb259063911811ab3ce5784747ca2d | [
"Apache-2.0"
] | 3 | 2021-05-20T23:17:32.000Z | 2022-02-26T10:27:21.000Z | src/csi/utils.cpp | liangyuRain/mesos | 0f9448497ddb259063911811ab3ce5784747ca2d | [
"Apache-2.0"
] | 1 | 2021-08-18T09:26:06.000Z | 2021-08-18T09:26:06.000Z | // 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 may... | 27.693878 | 78 | 0.686441 | liangyuRain |
fd744bb1876c92e9b7e2bd7ee3416162ec6bdf0e | 285 | hpp | C++ | Firmware/Src/system/GlobalInterrupts.hpp | borgu/midi-grid | ce65669f55d5d5598a8ff185debcec76ab001bfa | [
"BSD-3-Clause"
] | null | null | null | Firmware/Src/system/GlobalInterrupts.hpp | borgu/midi-grid | ce65669f55d5d5598a8ff185debcec76ab001bfa | [
"BSD-3-Clause"
] | null | null | null | Firmware/Src/system/GlobalInterrupts.hpp | borgu/midi-grid | ce65669f55d5d5598a8ff185debcec76ab001bfa | [
"BSD-3-Clause"
] | null | null | null | #ifndef SYSTEM_GLOBALINTERRUPTS_HPP_
#define SYSTEM_GLOBALINTERRUPTS_HPP_
namespace mcu {
class GlobalInterrupts
{
public:
GlobalInterrupts();
virtual ~GlobalInterrupts();
void disable();
void enable();
};
} // namespace hal
#endif // SYSTEM_GLOBALINTERRUPTS_HPP_
| 15 | 38 | 0.74386 | borgu |
fd754c337e38edbe0f32c1fa6f8a1ac1498aabc2 | 469 | cpp | C++ | doc/tutorial/argument_parser/solution1.cpp | seqan/seqan3-sarg-lib | 838efea0ac76822353df002adce3b558dac5c9a3 | [
"CC0-1.0",
"CC-BY-4.0"
] | 2 | 2022-01-06T10:22:34.000Z | 2022-02-13T21:18:24.000Z | doc/tutorial/argument_parser/solution1.cpp | seqan/seqan3-sarg-lib | 838efea0ac76822353df002adce3b558dac5c9a3 | [
"CC0-1.0",
"CC-BY-4.0"
] | 82 | 2021-11-30T12:25:56.000Z | 2022-03-31T11:18:18.000Z | doc/tutorial/argument_parser/solution1.cpp | seqan/seqan3-sarg-lib | 838efea0ac76822353df002adce3b558dac5c9a3 | [
"CC0-1.0",
"CC-BY-4.0"
] | 6 | 2021-11-30T12:16:30.000Z | 2022-02-16T10:45:15.000Z | #include <sharg/all.hpp> // includes all necessary headers
void initialise_argument_parser(sharg::argument_parser & parser)
{
parser.info.author = "Cersei";
parser.info.short_description = "Aggregate average Game of Thrones viewers by season.";
parser.info.version = "1.0.0";
}
int main(int argc, char ** a... | 29.3125 | 91 | 0.720682 | seqan |
fd7a76991002ed560d1764f519766343e895854a | 10,883 | cpp | C++ | Source/AllProjects/WndUtils/CIDCtrls/CIDCtrls_Slider.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/WndUtils/CIDCtrls/CIDCtrls_Slider.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/WndUtils/CIDCtrls/CIDCtrls_Slider.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDCtrls_Slider.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 04/16/2015
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensourc... | 28.415144 | 87 | 0.508959 | MarkStega |
fd837adcd01c2eae6229bc8eee4d902c4aac9d1f | 218 | cpp | C++ | programs_AtoZ/Add 2 Numbers/If User enters Real Numbers.cpp | EarthMan123/unitech_cpp_with_oops-course | 941fec057bdcb8a5289994780ae553e6d4fddbbe | [
"Unlicense"
] | 2 | 2021-06-12T02:55:28.000Z | 2021-07-04T22:25:38.000Z | programs_AtoZ/Add 2 Numbers/If User enters Real Numbers.cpp | EarthMan123/unitech_cpp_with_oops-course | 941fec057bdcb8a5289994780ae553e6d4fddbbe | [
"Unlicense"
] | null | null | null | programs_AtoZ/Add 2 Numbers/If User enters Real Numbers.cpp | EarthMan123/unitech_cpp_with_oops-course | 941fec057bdcb8a5289994780ae553e6d4fddbbe | [
"Unlicense"
] | 1 | 2021-07-04T22:28:38.000Z | 2021-07-04T22:28:38.000Z | #include<iostream>
using namespace std;
int main()
{
float num1, num2, add;
cout<<"Enter Two Numbers: ";
cin>>num1>>num2;
add = num1+num2;
cout<<"\nResult = "<<add;
cout<<endl;
return 0;
}
| 15.571429 | 32 | 0.573394 | EarthMan123 |
fd852b3dee888a2151647e677c8270e34671d723 | 1,941 | cpp | C++ | src/ui/elementdelegate.cpp | lawarner/aft | fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603 | [
"Apache-2.0"
] | null | null | null | src/ui/elementdelegate.cpp | lawarner/aft | fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603 | [
"Apache-2.0"
] | null | null | null | src/ui/elementdelegate.cpp | lawarner/aft | fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603 | [
"Apache-2.0"
] | null | null | null | /*
* elementdelegate.cpp
* libaft
*
* Copyright © 2017 Andy Warner. 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/lic... | 26.589041 | 84 | 0.706852 | lawarner |
fd86c29fd4295108941a22556ef1a03226fec95a | 660 | cc | C++ | AbstractObject.cc | relyah/cubecamera | 051427ce7f5c3eda2738f0f05849900bcc4ea422 | [
"Apache-2.0"
] | null | null | null | AbstractObject.cc | relyah/cubecamera | 051427ce7f5c3eda2738f0f05849900bcc4ea422 | [
"Apache-2.0"
] | null | null | null | AbstractObject.cc | relyah/cubecamera | 051427ce7f5c3eda2738f0f05849900bcc4ea422 | [
"Apache-2.0"
] | null | null | null | #include "AbstractObject.h"
AbstractObject::AbstractObject(IOpenGLProgram* program, IModel *model, bool isRenderToFBO) :
program(program),
model(model),
isRenderToFBO(isRenderToFBO){
}
AbstractObject::~AbstractObject() {
program=0;
model=0;
}
void AbstractObject::Gen() {
glGenVertexArrays(1, &vao);
Bi... | 18.333333 | 92 | 0.677273 | relyah |
fd8eb1a6d94caf2c182dc29106f6fcc7ad010cfb | 1,385 | cpp | C++ | MonoNative.Tests/mscorlib/System/Runtime/Remoting/Messaging/mscorlib_System_Runtime_Remoting_Messaging_Header_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative.Tests/mscorlib/System/Runtime/Remoting/Messaging/mscorlib_System_Runtime_Remoting_Messaging_Header_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative.Tests/mscorlib/System/Runtime/Remoting/Messaging/mscorlib_System_Runtime_Remoting_Messaging_Header_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | // Mono Native Fixture
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Namespace: System.Runtime.Remoting.Messaging
// Name: Header
// C++ Typed Name: mscorlib::System::Runtime::Remoting::Messaging::Header
#include <gtest/gtest.h>
#include <mscorlib/System/Runtime/Remoting/... | 23.474576 | 164 | 0.696751 | brunolauze |
fd8ec93870ce1343796355504e52c4502b205669 | 5,495 | cpp | C++ | framework/areg/ipc/private/ServerConnectionBase.cpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 70 | 2021-07-20T11:26:16.000Z | 2022-03-27T11:17:43.000Z | framework/areg/ipc/private/ServerConnectionBase.cpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 32 | 2021-07-31T05:20:44.000Z | 2022-03-20T10:11:52.000Z | framework/areg/ipc/private/ServerConnectionBase.cpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 40 | 2021-11-02T09:45:38.000Z | 2022-03-27T11:17:46.000Z | /************************************************************************
* This file is part of the AREG SDK core engine.
* AREG SDK is dual-licensed under Free open source (Apache version 2.0
* License) and Commercial (with various pricing models) licenses, depending
* on the nature of the project (commercial, re... | 35.224359 | 137 | 0.650773 | Ali-Nasrolahi |
fd9b2165144da77a523e41d630536c1842140fcd | 345 | cpp | C++ | Note/Recursion/ccRecursion.cpp | cs-joy/cpp-2a | 3c62f582d8b4fe808153d0639c762ccec0c76af6 | [
"MIT"
] | 1 | 2022-03-07T16:57:04.000Z | 2022-03-07T16:57:04.000Z | Note/Recursion/ccRecursion.cpp | cs-joy/cpp-2a | 3c62f582d8b4fe808153d0639c762ccec0c76af6 | [
"MIT"
] | null | null | null | Note/Recursion/ccRecursion.cpp | cs-joy/cpp-2a | 3c62f582d8b4fe808153d0639c762ccec0c76af6 | [
"MIT"
] | null | null | null | // A function that calls itself is known as a recursive function.
// And, this technique is known as recursion.
#include <iostream>
using namespace std;
int sum(int j) {
if(j > 0) {
return j + sum(j - 1);
} else {
return 0;
}
}
int main() {
int result = sum(10);
cout << result <... | 15.681818 | 66 | 0.568116 | cs-joy |
fd9c24fcd2b9635b25589779e4e3421218f1259b | 681 | cpp | C++ | source/details/memory/detail/free_list_array.cpp | loopunit/lu | 699ddfdd576a2d94f516ed47bc10994f9c071083 | [
"Unlicense"
] | null | null | null | source/details/memory/detail/free_list_array.cpp | loopunit/lu | 699ddfdd576a2d94f516ed47bc10994f9c071083 | [
"Unlicense"
] | null | null | null | source/details/memory/detail/free_list_array.cpp | loopunit/lu | 699ddfdd576a2d94f516ed47bc10994f9c071083 | [
"Unlicense"
] | null | null | null | // Copyright (C) 2015-2021 Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <details/memory/detail/free_list_array.hpp>
#include <details/memory/detail/assert.hpp>
#include <details/memory/detail/... | 29.608696 | 75 | 0.767988 | loopunit |
fd9f193d6b3309bc29c0bf439aa20a3531a746db | 28,898 | cpp | C++ | SDK/ARKSurvivalEvolved_HoverSkiffHudWidget_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_HoverSkiffHudWidget_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_HoverSkiffHudWidget_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_HoverSkiffHudWidget_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------------... | 33.759346 | 196 | 0.782546 | 2bite |
fda3e15aeec103dae5fef777bbc16ea0fa563c4a | 1,210 | cpp | C++ | src/stage_controller.cpp | eksd3/shmup-engine | bdc4c6e0f412559026e2cb59dbfafa3440fb82ff | [
"MIT"
] | null | null | null | src/stage_controller.cpp | eksd3/shmup-engine | bdc4c6e0f412559026e2cb59dbfafa3440fb82ff | [
"MIT"
] | null | null | null | src/stage_controller.cpp | eksd3/shmup-engine | bdc4c6e0f412559026e2cb59dbfafa3440fb82ff | [
"MIT"
] | null | null | null | #include "stage_controller.h"
StageController::StageController(SDL* sdl, SDL_Texture* tex, bool scr, bool l, int spd, int stage_length)
{
m_sdl = sdl;
m_sdl->setBackgroundLayer(tex);
int width, height;
SDL_QueryTexture(tex, NULL, NULL, &width, &height);
float s_ratio = height / m_sdl->getWindowHei... | 19.516129 | 105 | 0.646281 | eksd3 |
fdaeffd93ddf91f60150fc3bc5d4fdae0c6bbec4 | 562 | hpp | C++ | hw4-jasonsie88-master/src/include/AST/ConstantValue.hpp | jasonsie88/Intro._to_Compiler_Design | 228205241fcba7eb3407ec72936a52b0266671bb | [
"MIT"
] | null | null | null | hw4-jasonsie88-master/src/include/AST/ConstantValue.hpp | jasonsie88/Intro._to_Compiler_Design | 228205241fcba7eb3407ec72936a52b0266671bb | [
"MIT"
] | null | null | null | hw4-jasonsie88-master/src/include/AST/ConstantValue.hpp | jasonsie88/Intro._to_Compiler_Design | 228205241fcba7eb3407ec72936a52b0266671bb | [
"MIT"
] | null | null | null | #ifndef __AST_CONSTANT_VALUE_NODE_H
#define __AST_CONSTANT_VALUE_NODE_H
#include "AST/constant.hpp"
#include "AST/expression.hpp"
#include <memory>
class ConstantValueNode : public ExpressionNode {
public:
ConstantValueNode(const uint32_t line, const uint32_t col,const Constant *new_p_constant);
~ConstantV... | 23.416667 | 94 | 0.766904 | jasonsie88 |
fdaf8f37553adb45870d510cd6a060140696ff62 | 1,795 | cpp | C++ | Game/graphics/posepool.cpp | swick/OpenGothic | 7cc7c0539c90a820607b227a38ae1146c104d420 | [
"MIT"
] | null | null | null | Game/graphics/posepool.cpp | swick/OpenGothic | 7cc7c0539c90a820607b227a38ae1146c104d420 | [
"MIT"
] | null | null | null | Game/graphics/posepool.cpp | swick/OpenGothic | 7cc7c0539c90a820607b227a38ae1146c104d420 | [
"MIT"
] | null | null | null | #include "posepool.h"
PosePool::Inst::Inst(const Skeleton& s, const Animation::Sequence* sq, const Animation::Sequence *sq1, uint64_t sTime)
:pose(s,sq,sq1),sTime(sTime) {
}
PosePool::PosePool() {
}
std::shared_ptr<Pose> PosePool::get(const Skeleton *s, const Animation::Sequence *sq1, uint64_t sT, std::shared_... | 30.423729 | 130 | 0.620613 | swick |
fdb783477067c56cbb4b81125e4b4c2b654a15cd | 1,179 | cpp | C++ | src/Server.cpp | gabswb/ap4a-submarine-monitoring | 84d025c084c373259edc18041ff9aae868a99b8b | [
"MIT"
] | 4 | 2021-11-02T13:52:58.000Z | 2022-03-04T14:34:36.000Z | src/Server.cpp | gabswb/ap4a-submarine-monitoring | 84d025c084c373259edc18041ff9aae868a99b8b | [
"MIT"
] | null | null | null | src/Server.cpp | gabswb/ap4a-submarine-monitoring | 84d025c084c373259edc18041ff9aae868a99b8b | [
"MIT"
] | null | null | null | /**
* @author Gabriel_SCHWAB
* @file Server.cpp
* @date 27/09/2021
*
*/
#include <iostream>
#include <fstream>
#include <ctime>
#include "Server.hpp"
Server::Server():
m_consoleActivation(true), m_logActivation(true){}
Server::Server(bool consoleActivation_p, bool logActivation_p):
m_consoleActivation(con... | 19.016129 | 96 | 0.750636 | gabswb |
fdb84c2d4269f0aaed8480a561c9a8bc6cc0613d | 137,444 | cpp | C++ | MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs36.cpp | DreVinciCode/TEAM-08 | 4f148953a9f492c0fc0db7ee85803212caa1a579 | [
"MIT"
] | null | null | null | MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs36.cpp | DreVinciCode/TEAM-08 | 4f148953a9f492c0fc0db7ee85803212caa1a579 | [
"MIT"
] | null | null | null | MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs36.cpp | DreVinciCode/TEAM-08 | 4f148953a9f492c0fc0db7ee85803212caa1a579 | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
#include "vm/CachedCCWBase.h"
#include "utils/New.h"
// Microsoft.MixedReality.Toolkit.Input.IMixedRealityController[]
struct IMixedRealityControllerU5BU5D_tD7B611303C8ABB2A8AC8CF1... | 49.780514 | 416 | 0.849852 | DreVinciCode |
fdb86163e1b837023025962f053e4b0408f62f38 | 2,611 | cc | C++ | prob01/pizza.cc | crimsonGnome/121-Lab-02 | 8f5152d902fe71372f4738cdaa33e6378b88482a | [
"MIT"
] | null | null | null | prob01/pizza.cc | crimsonGnome/121-Lab-02 | 8f5152d902fe71372f4738cdaa33e6378b88482a | [
"MIT"
] | null | null | null | prob01/pizza.cc | crimsonGnome/121-Lab-02 | 8f5152d902fe71372f4738cdaa33e6378b88482a | [
"MIT"
] | null | null | null | #include "pizza.h"
#include <math.h>
#include <stdlib.h>
#include "cpputils/graphics/image.h"
// You do not need to edit this file, but feel free to look around!
constexpr double pi = 3.141592;
const graphics::Color crust(237, 244, 173);
const graphics::Color sauce(217, 71, 39);
const graphics::Color cheese(255, 2... | 31.841463 | 80 | 0.703945 | crimsonGnome |
fdbebeae55ef28bd2bcca78a5f14fc42bd3edd7b | 11,149 | cpp | C++ | src/utest/utestScrambling.cpp | jakub-zwolakowski/tsduck | 79d9648967fc3aa3b590131e71c80fbfb1c11581 | [
"BSD-2-Clause"
] | 2 | 2020-02-27T04:34:41.000Z | 2020-04-29T10:43:23.000Z | src/utest/utestScrambling.cpp | jakub-zwolakowski/tsduck | 79d9648967fc3aa3b590131e71c80fbfb1c11581 | [
"BSD-2-Clause"
] | null | null | null | src/utest/utestScrambling.cpp | jakub-zwolakowski/tsduck | 79d9648967fc3aa3b590131e71c80fbfb1c11581 | [
"BSD-2-Clause"
] | 1 | 2021-02-18T13:35:31.000Z | 2021-02-18T13:35:31.000Z | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2020, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 52.098131 | 115 | 0.56588 | jakub-zwolakowski |
fdbec2818c74babbe32e2ee7d08c1e01335482ba | 9,992 | hpp | C++ | slope/slope/math/matrix44.hpp | muleax/slope | 254138703163705b57332fc7490dd2eea0082b57 | [
"MIT"
] | 6 | 2022-02-05T23:28:12.000Z | 2022-02-24T11:08:04.000Z | slope/slope/math/matrix44.hpp | muleax/slope | 254138703163705b57332fc7490dd2eea0082b57 | [
"MIT"
] | null | null | null | slope/slope/math/matrix44.hpp | muleax/slope | 254138703163705b57332fc7490dd2eea0082b57 | [
"MIT"
] | null | null | null | #pragma once
#include "slope/math/matrix33.hpp"
#include "slope/math/vector4.hpp"
namespace slope
{
class mat44 {
public:
constexpr static mat44 identity() { return {}; }
static mat44 rotation(const vec3& axis, float angle);
constexpr static mat44 scale(const vec3& scale);
con... | 37.992395 | 99 | 0.544135 | muleax |
fdbfcaefdb2578eaabdc55be0bc66ebf8c88e3cc | 843 | cpp | C++ | 1190.ReverseSubstringsBetweenEachPairofParentheses/main.cpp | SumanSudhir/LeetCode | cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6 | [
"MIT"
] | 1 | 2020-01-13T11:10:35.000Z | 2020-01-13T11:10:35.000Z | 1190.ReverseSubstringsBetweenEachPairofParentheses/main.cpp | SumanSudhir/LeetCode | cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6 | [
"MIT"
] | 4 | 2020-01-01T09:47:39.000Z | 2020-04-08T08:34:29.000Z | 1190.ReverseSubstringsBetweenEachPairofParentheses/main.cpp | SumanSudhir/LeetCode | cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6 | [
"MIT"
] | null | null | null | class Solution {
public:
string reverseParentheses(string s) {
string output;
stack<int>index_open;
int count = 0;
char temp;
for(int i=0;i<s.length();i++){
if(s[i] == '('){
index_open.push(i-count);
count++;
}
... | 25.545455 | 59 | 0.368921 | SumanSudhir |
fdc0f6aaf42e6e98a3f1a3d040d240d8ffdba706 | 8,579 | cpp | C++ | Chapter10/v4l2qt/v4l2qt.cpp | valeriyvan/LinuxProgrammingWithRaspberryPi | 7c57afcf2cbfc8e0486c78aa75b361fd712a136f | [
"MIT"
] | 4 | 2020-03-11T13:38:25.000Z | 2021-12-25T00:48:53.000Z | Chapter10/v4l2qt/v4l2qt.cpp | valeriyvan/LinuxProgrammingWithRaspberryPi | 7c57afcf2cbfc8e0486c78aa75b361fd712a136f | [
"MIT"
] | null | null | null | Chapter10/v4l2qt/v4l2qt.cpp | valeriyvan/LinuxProgrammingWithRaspberryPi | 7c57afcf2cbfc8e0486c78aa75b361fd712a136f | [
"MIT"
] | 8 | 2020-07-10T22:02:05.000Z | 2021-12-15T02:11:44.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h> /* 저수준(Low level) I/O를 위해 사용 */
#include <errno.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <linux/fb.h>
#include <linux/videodev2.h> /* Video4Linux2를 위한 헤더 파일 */
#define VIDEODEV "/dev/video0" /* Pi C... | 27.853896 | 95 | 0.532813 | valeriyvan |
fdc51be030c0ab76bd2c26a1669d6a87fe71b462 | 475 | cpp | C++ | aug-data/main/mini_main.cpp | kvathupo/Synthetic-Time-Series-Generator | ac133d2b0beff7f93f686742ce59401bc3cd1b90 | [
"MIT"
] | null | null | null | aug-data/main/mini_main.cpp | kvathupo/Synthetic-Time-Series-Generator | ac133d2b0beff7f93f686742ce59401bc3cd1b90 | [
"MIT"
] | null | null | null | aug-data/main/mini_main.cpp | kvathupo/Synthetic-Time-Series-Generator | ac133d2b0beff7f93f686742ce59401bc3cd1b90 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <unordered_map>
#include "augment.h"
int main() {
std::string dir_path, csv_path, first_letter;
dir_path = "./Datasets/Daily/Train/";
first_letter = "D";
for (auto i = 146; i < 4227 + 1; i++) {
// augmenting data
csv_path = dir_path + fir... | 22.619048 | 72 | 0.585263 | kvathupo |
fdc7b5ff3ee50b4ef3647fb3984e68f39c231a0a | 2,647 | cpp | C++ | Infoarena/Domino.cpp | Fresher001/Competitive-Programming-2 | e1e953bb1d4ade46cc670b2d0432f68504538ed2 | [
"MIT"
] | 86 | 2016-10-18T23:30:36.000Z | 2022-01-09T21:57:34.000Z | Infoarena/Domino.cpp | Fresher001/Competitive-Programming-2 | e1e953bb1d4ade46cc670b2d0432f68504538ed2 | [
"MIT"
] | 1 | 2018-04-13T09:38:36.000Z | 2018-04-13T09:38:36.000Z | Infoarena/Domino.cpp | Fresher001/Competitive-Programming-2 | e1e953bb1d4ade46cc670b2d0432f68504538ed2 | [
"MIT"
] | 39 | 2017-03-02T07:25:40.000Z | 2020-12-14T12:13:50.000Z | #include <bits/stdc++.h>
using namespace std;
const int Nmax = 9 + 1;
const int Mmax = 50000 + 1;
const int NIL = -1;
struct Edge
{
int nod;
int urm;
int indice;
int rev;
};
struct Node
{
int nod;
int indice;
int rev;
};
struct Pair
{
int a, b;
};
Edge G[2 * Mmax];
int head[Nmax];
... | 15.479532 | 95 | 0.427276 | Fresher001 |
fdc7dee6709a22b6a3e784d089cf681c193115db | 2,759 | hpp | C++ | llarp/util/thread/threading.hpp | Cipherwraith/loki-network | 44e941d0b894ead3ca7d488fc3fb6f2d9b3a34ff | [
"Zlib"
] | 1 | 2021-03-05T18:23:45.000Z | 2021-03-05T18:23:45.000Z | llarp/util/thread/threading.hpp | gjyoung1974/loki-network | 6559bb8f9e80095b4a7462ccb8fdf12e8ce19527 | [
"Zlib"
] | null | null | null | llarp/util/thread/threading.hpp | gjyoung1974/loki-network | 6559bb8f9e80095b4a7462ccb8fdf12e8ce19527 | [
"Zlib"
] | null | null | null | #ifndef LLARP_THREADING_HPP
#define LLARP_THREADING_HPP
#include <absl/synchronization/barrier.h>
#include <absl/synchronization/mutex.h>
#include <absl/types/optional.h>
#include <absl/time/time.h>
#include <iostream>
#include <thread>
#if defined(WIN32) && !defined(__GNUC__)
#include <process.h>
using pid_t = int;... | 19.848921 | 80 | 0.549474 | Cipherwraith |
fdc9fdb54aefa4c0ae7c9f63fdae08d58e491926 | 1,577 | cpp | C++ | src/Bluetooth/BtPacket.cpp | juliencombattelli/Hexapode | d240efa3c1ebbb0287f18d3380d5c2ad19d7ecc9 | [
"MIT"
] | 2 | 2018-10-25T07:09:36.000Z | 2020-09-11T12:30:52.000Z | src/Bluetooth/BtPacket.cpp | juliencombattelli/Hexapode | d240efa3c1ebbb0287f18d3380d5c2ad19d7ecc9 | [
"MIT"
] | 2 | 2018-03-20T13:03:19.000Z | 2018-03-25T12:29:05.000Z | src/Bluetooth/BtPacket.cpp | OpenPode/OpenPode | d240efa3c1ebbb0287f18d3380d5c2ad19d7ecc9 | [
"MIT"
] | null | null | null | //============================================================================
// Name : BtPacket.cpp
// Author : Julien Combattelli
// EMail : julien.combattelli@hotmail.com
// Date : 29 avr. 2017
// Version : 1.0.0
// Copyright : This file is part of MUL project which is released under
// ... | 19.962025 | 78 | 0.592898 | juliencombattelli |
fdcc7a0463811b55dc5b77e8a95fbf1861150cde | 1,921 | cpp | C++ | Engine/source/ts/loader/appNode.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | 46 | 2015-01-05T17:34:43.000Z | 2022-01-04T04:03:09.000Z | Engine/source/ts/loader/appNode.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | 10 | 2015-01-20T23:14:46.000Z | 2019-04-05T22:04:15.000Z | Engine/source/ts/loader/appNode.cpp | fr1tz/terminal-overload | 85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60 | [
"CC-BY-4.0"
] | 9 | 2015-08-08T18:46:06.000Z | 2021-02-01T13:53:20.000Z | // Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
#include "ts/loader/appNode.h"
AppNode::AppNode()
{
mName = NULL;
mParentName = NULL;
}
AppNode::~AppNode()
{
dFree( mName );
dFree( mParentName );
// delete children and meshes
f... | 22.337209 | 96 | 0.649141 | fr1tz |
fdcdd1da538748afb3cf71fe7960af802504528e | 3,723 | cpp | C++ | code/szen/src/System/SpriteBatch.cpp | Sonaza/scyori | a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf | [
"BSD-3-Clause"
] | null | null | null | code/szen/src/System/SpriteBatch.cpp | Sonaza/scyori | a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf | [
"BSD-3-Clause"
] | null | null | null | code/szen/src/System/SpriteBatch.cpp | Sonaza/scyori | a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf | [
"BSD-3-Clause"
] | null | null | null | #include <szen/System/SpriteBatch.hpp>
#include <szen/System/Assets/TextureAsset.hpp>
#include <szen/System/Assets/ShaderAsset.hpp>
#include <thor/Particles.hpp>
using namespace sz;
BatchDataList SpriteBatch::m_batchData;
////////////////////////////////////////////////////
SpriteBatch::SpriteBatch()
{
}
//////... | 25.5 | 150 | 0.586086 | Sonaza |
fdcea0c0a1f6dd691f8e293c6407b22a928664ed | 10,990 | cpp | C++ | jack/common/JackTransportEngine.cpp | KimJeongYeon/jack2_android | 4a8787be4306558cb52e5379466c0ed4cc67e788 | [
"BSD-3-Clause-No-Nuclear-Warranty"
] | 47 | 2015-01-04T21:47:07.000Z | 2022-03-23T16:27:16.000Z | jack/common/JackTransportEngine.cpp | KimJeongYeon/jack2_android | 4a8787be4306558cb52e5379466c0ed4cc67e788 | [
"BSD-3-Clause-No-Nuclear-Warranty"
] | 3 | 2015-02-04T21:40:11.000Z | 2019-09-16T19:53:51.000Z | jack/common/JackTransportEngine.cpp | KimJeongYeon/jack2_android | 4a8787be4306558cb52e5379466c0ed4cc67e788 | [
"BSD-3-Clause-No-Nuclear-Warranty"
] | 7 | 2015-05-17T08:22:52.000Z | 2021-08-07T22:36:17.000Z | /*
Copyright (C) 2001 Paul Davis
Copyright (C) 2004-2008 Grame
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This p... | 34.34375 | 146 | 0.640673 | KimJeongYeon |
fdcf3d399da1a78d1940530acc33237666850875 | 686 | hpp | C++ | src/common/interfaces/views/itoplevelview.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 3 | 2020-03-05T06:36:51.000Z | 2020-06-20T03:25:02.000Z | src/common/interfaces/views/itoplevelview.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 13 | 2020-03-11T17:43:42.000Z | 2020-12-11T03:36:05.000Z | src/common/interfaces/views/itoplevelview.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 1 | 2020-09-28T06:53:46.000Z | 2020-09-28T06:53:46.000Z | /**
* Addle source code
* @file
* @copyright Copyright 2020 Eleanor Hawk
* @copyright Modification and distribution permitted under the terms of the
* MIT License. See "LICENSE" for full details.
*/
#ifndef ITOPLEVELVIEW_HPP
#define ITOPLEVELVIEW_HPP
#include "interfaces/traits.hpp"
#include "interfaces/iamqobj... | 19.6 | 76 | 0.731778 | squeevee |
fdcf8e556d2283a11ab0938f33def374734f62d3 | 251 | cpp | C++ | Ejercicio_Ciclos/ejercicio1.cpp | memo0p2/Programas-cpp | f78f283886e478be12b3636992dbf922199ae5f1 | [
"MIT"
] | null | null | null | Ejercicio_Ciclos/ejercicio1.cpp | memo0p2/Programas-cpp | f78f283886e478be12b3636992dbf922199ae5f1 | [
"MIT"
] | null | null | null | Ejercicio_Ciclos/ejercicio1.cpp | memo0p2/Programas-cpp | f78f283886e478be12b3636992dbf922199ae5f1 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
float num,suma;
num=0;
suma=0;
do{
cout<<"Ingrese un numero"<<endl;
cin>>num;
if(num>=0)
suma=suma+num;
}while(num>=0);
cout<<"La suma total es de: "<<suma;
return 0;
}
| 15.6875 | 38 | 0.585657 | memo0p2 |
fdd1e443a28ba5d48a2f05168948fa9c7aad94d7 | 1,005 | cpp | C++ | source/data_model/hdf5/src/issues.cpp | OliverSchmitz/lue | da097e8c1de30724bfe7667cc04344b6535b40cd | [
"MIT"
] | 2 | 2021-02-26T22:45:56.000Z | 2021-05-02T10:28:48.000Z | source/data_model/hdf5/src/issues.cpp | OliverSchmitz/lue | da097e8c1de30724bfe7667cc04344b6535b40cd | [
"MIT"
] | 262 | 2016-08-11T10:12:02.000Z | 2020-10-13T18:09:16.000Z | source/data_model/hdf5/src/issues.cpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 1 | 2020-03-11T09:49:41.000Z | 2020-03-11T09:49:41.000Z | #include "lue/hdf5/issues.hpp"
namespace lue {
namespace hdf5 {
/*!
@brief Return collection of errors
*/
Errors const& Issues::errors() const
{
return _errors;
}
/*!
@brief Return collection of warnings
*/
Warnings const& Issues::warnings() const
{
return _warnings;
}
/*!
@brief ... | 15.227273 | 58 | 0.645771 | OliverSchmitz |
fdd4fc8dee74bb8111412440a859a47925af6837 | 5,097 | inl | C++ | WildMagic4/LibFoundation/ComputationalGeometry/Wm4Query2Filtered.inl | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | 23 | 2015-08-13T07:36:00.000Z | 2022-01-24T19:00:04.000Z | WildMagic4/LibFoundation/ComputationalGeometry/Wm4Query2Filtered.inl | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | null | null | null | WildMagic4/LibFoundation/ComputationalGeometry/Wm4Query2Filtered.inl | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | 6 | 2015-07-06T21:37:31.000Z | 2020-07-01T04:07:50.000Z | // Geometric Tools, LLC
// Copyright (c) 1998-2010
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 4.10.0 (2009/11/18)
//-----------------------------------------------------... | 35.395833 | 79 | 0.5103 | rms80 |
fdd87f7c87c161db0d67467a35259c2bdea6cf86 | 925 | hh | C++ | zookeeper/server/auth/ProviderRegistry.hh | cxxjava/CxxZookeeper | 149677c785627aff839b2102ab265c745882fa52 | [
"Apache-2.0"
] | 16 | 2018-03-05T02:42:00.000Z | 2020-11-30T12:57:19.000Z | zookeeper/server/auth/ProviderRegistry.hh | cxxjava/CxxZookeeper | 149677c785627aff839b2102ab265c745882fa52 | [
"Apache-2.0"
] | 1 | 2021-06-04T03:25:59.000Z | 2021-08-06T13:54:28.000Z | zookeeper/server/auth/ProviderRegistry.hh | cxxjava/CxxZookeeper | 149677c785627aff839b2102ab265c745882fa52 | [
"Apache-2.0"
] | 10 | 2018-03-18T14:33:09.000Z | 2021-05-24T05:56:28.000Z | /*
* ProviderRegistry.hh
*
* Created on: 2017-11-22
* Author: cxxjava@163.com
*/
#ifndef ProviderRegistry_HH_
#define ProviderRegistry_HH_
#include "Efc.hh"
#include "ELog.hh"
#include "./AuthenticationProvider.hh"
namespace efc {
namespace ezk {
class ProviderRegistry {
private:
static sp<ELogger> LOG... | 19.680851 | 80 | 0.696216 | cxxjava |
fdd8dfe4845d9a3aae325122d7b588d638b2d73f | 58,897 | cpp | C++ | Tests/ApiExplorer/APIs/apis_xblc_multiplayer_manager.cpp | natiskan/xbox-live-api | 9e7e51e0863b5983c2aa334a7b0db579b3bdf1de | [
"MIT"
] | 1 | 2021-08-14T15:37:15.000Z | 2021-08-14T15:37:15.000Z | Tests/ApiExplorer/APIs/apis_xblc_multiplayer_manager.cpp | aspavlov/xbox-live-api | 4bec6f92347d0ad6c85463b601821333de631e3a | [
"MIT"
] | null | null | null | Tests/ApiExplorer/APIs/apis_xblc_multiplayer_manager.cpp | aspavlov/xbox-live-api | 4bec6f92347d0ad6c85463b601821333de631e3a | [
"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 <atomic>
#if HC_PLATFORM_IS_MICROSOFT
#pragma warning( push )
#pragma warning( disable : 4365 )
#pragma warning( disable : 4061 )
#pragma warning( disab... | 43.887481 | 205 | 0.695299 | natiskan |
fdd9b9095728c53706dc0d8905db4f5a41112b19 | 187,544 | cpp | C++ | vis_milk2/milkdropfs.cpp | WACUP/vis_milk2 | 50cbd69c69497f22baa521066e04ee05d5940ea4 | [
"BSD-3-Clause"
] | 9 | 2018-11-19T02:46:07.000Z | 2022-02-12T18:10:10.000Z | vis_milk2/milkdropfs.cpp | WACUP/vis_milk2 | 50cbd69c69497f22baa521066e04ee05d5940ea4 | [
"BSD-3-Clause"
] | null | null | null | vis_milk2/milkdropfs.cpp | WACUP/vis_milk2 | 50cbd69c69497f22baa521066e04ee05d5940ea4 | [
"BSD-3-Clause"
] | 1 | 2018-11-02T17:32:38.000Z | 2018-11-02T17:32:38.000Z | /*
LICENSE
-------
Copyright 2005-2013 Nullsoft, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of con... | 38.756768 | 238 | 0.592426 | WACUP |
fdda3ea736e8d17de0f4b5bdb405c1941dd32e80 | 613 | cpp | C++ | simulator/risc_v/riscv_register/riscv_register.cpp | trexxet/mipt-mips | 200bb67dfedf0dd24dd442c4605f9265078c21d8 | [
"MIT"
] | 10 | 2021-03-10T13:22:15.000Z | 2021-03-12T23:09:42.000Z | simulator/risc_v/riscv_register/riscv_register.cpp | jamzrob/mipt-mips | 1ae47ac16967d4132d5f4a2ac486b18147660c16 | [
"MIT"
] | null | null | null | simulator/risc_v/riscv_register/riscv_register.cpp | jamzrob/mipt-mips | 1ae47ac16967d4132d5f4a2ac486b18147660c16 | [
"MIT"
] | null | null | null | /* riscv_register.cpp - RISCV register info class
* @author Alexandr Misevich
* Copyright 2018 MIPT-MIPS
*/
#include "riscv_register.h"
const RISCVRegister RISCVRegister::zero = RISCVRegister( RISCV_REG_zero);
const RISCVRegister RISCVRegister::return_address = RISCVRegister( RISCV_REG_rs);
const RISCVRegiste... | 32.263158 | 81 | 0.786297 | trexxet |
fddbfa631ff1648d3f23422f12ded461ccfb3cc2 | 701 | hpp | C++ | lib/STL+/subsystems/subsystems.hpp | knela96/Game-Engine | 06659d933c4447bd8d6c8536af292825ce4c2ab1 | [
"Unlicense"
] | 3 | 2018-05-07T19:09:23.000Z | 2019-05-03T14:19:38.000Z | deps/stlplus/subsystems/subsystems.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | deps/stlplus/subsystems/subsystems.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | #ifndef STLPLUS_SUBSYSTEMS
#define STLPLUS_SUBSYSTEMS
////////////////////////////////////////////////////////////////////////////////
// Author: Andy Rushton
// Copyright: (c) Southampton University 1999-2004
// (c) Andy Rushton 2004 onwards
// License: BSD License, see ../docs/licen... | 31.863636 | 80 | 0.457917 | knela96 |
fddcb14854d8ccc02f73819b19dad0ae822d9237 | 336 | cpp | C++ | solved/==coin chage(674).cpp | goutomroy/uva.onlinejudge | 5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2 | [
"MIT"
] | null | null | null | solved/==coin chage(674).cpp | goutomroy/uva.onlinejudge | 5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2 | [
"MIT"
] | null | null | null | solved/==coin chage(674).cpp | goutomroy/uva.onlinejudge | 5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2 | [
"MIT"
] | null | null | null | #include <stdio.h>
long ways[7500];
void main()
{
long value,i,j;
const long coin[5] = {50,25,10,5,1};
ways[0] = 1;
for (i=0;i<5;i++)
for (j=coin[i];j<=7500;j++)
ways[j] += ways[j - coin[i]];
while (scanf("%ld",&value)==1)
printf("%ld\n",ways[value]) ;
... | 17.684211 | 42 | 0.434524 | goutomroy |
fddd61de5b9641c65e7c3337bcf52e6ba4b48a0b | 4,818 | cc | C++ | lmctfy/controllers/eventfd_notifications.cc | adamvduke/lmctfy | c66398571759758ed273675398e4b37091aa7a89 | [
"Apache-2.0"
] | null | null | null | lmctfy/controllers/eventfd_notifications.cc | adamvduke/lmctfy | c66398571759758ed273675398e4b37091aa7a89 | [
"Apache-2.0"
] | null | null | null | lmctfy/controllers/eventfd_notifications.cc | adamvduke/lmctfy | c66398571759758ed273675398e4b37091aa7a89 | [
"Apache-2.0"
] | null | null | null | // Copyright 2013 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... | 34.661871 | 80 | 0.705064 | adamvduke |
fde00de7afb7446b527feabd06af7024736a0273 | 178 | hpp | C++ | include/public/BlackBox/Renderer/ITechniqueManager.hpp | kovdennik/TestEngine | 43e8d51f64c1a576ff812126d44ee43d8e25bdef | [
"MIT"
] | null | null | null | include/public/BlackBox/Renderer/ITechniqueManager.hpp | kovdennik/TestEngine | 43e8d51f64c1a576ff812126d44ee43d8e25bdef | [
"MIT"
] | null | null | null | include/public/BlackBox/Renderer/ITechniqueManager.hpp | kovdennik/TestEngine | 43e8d51f64c1a576ff812126d44ee43d8e25bdef | [
"MIT"
] | null | null | null | #pragma once
struct ITechnique;
struct ITechniqueManager
{
virtual ITechnique* get(std::string name) = 0;
virtual ITechnique* add(std::string name, ITechnique* tech) = 0;
}; | 22.25 | 66 | 0.735955 | kovdennik |
fde5464a51277b1d31d6f727571fff89b661e231 | 7,468 | cpp | C++ | sferes/modules/nn2/test_hyper_nn.cpp | Evolving-AI-Lab/innovation-engine | 58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba | [
"MIT"
] | 31 | 2015-09-20T03:03:29.000Z | 2022-01-25T06:50:20.000Z | sferes/modules/nn2/test_hyper_nn.cpp | Evolving-AI-Lab/innovation-engine | 58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba | [
"MIT"
] | 1 | 2016-08-11T07:24:50.000Z | 2016-08-17T01:19:57.000Z | sferes/modules/nn2/test_hyper_nn.cpp | Evolving-AI-Lab/innovation-engine | 58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba | [
"MIT"
] | 10 | 2015-11-15T01:52:25.000Z | 2018-06-11T23:42:58.000Z | //| This file is a part of the sferes2 framework.
//| Copyright 2009, ISIR / Universite Pierre et Marie Curie (UPMC)
//| Main contributor(s): Jean-Baptiste Mouret, mouret@isir.fr
//|
//| This software is a computer program whose purpose is to facilitate
//| experiments in evolutionary computation and evolutionary robot... | 30.987552 | 89 | 0.670059 | Evolving-AI-Lab |
fde9eee03eeb6f473829260cb8843f49c5fcd53d | 1,874 | hpp | C++ | pythran/pythonic/include/utils/iterator.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/include/utils/iterator.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/include/utils/iterator.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_INCLUDE_UTILS_ITERATOR_HPP
#define PYTHONIC_INCLUDE_UTILS_ITERATOR_HPP
namespace pythonic
{
namespace utils
{
template <class T>
struct comparable_iterator : T {
comparable_iterator();
comparable_iterator(T const &t);
bool operator<(comparable_iterator<T> other);
};... | 27.15942 | 77 | 0.639274 | xmar |
fdec27847fd91c4c5b7588a12a7dee288c084793 | 848 | cpp | C++ | test/test_float.cpp | janisozaur/safe_numerics | c494e9d6bddc47292b1bb1552469196b01fcdc55 | [
"BSL-1.0"
] | null | null | null | test/test_float.cpp | janisozaur/safe_numerics | c494e9d6bddc47292b1bb1552469196b01fcdc55 | [
"BSL-1.0"
] | null | null | null | test/test_float.cpp | janisozaur/safe_numerics | c494e9d6bddc47292b1bb1552469196b01fcdc55 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2012 Robert Ramey
//
// 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)
// testing floating point
// this is a compile only test - but since many build systems
// can't handle a compile-only test... | 22.918919 | 68 | 0.629717 | janisozaur |
fdf0fa1d49599f577183ca4f392c5daa0e4d1676 | 8,367 | hh | C++ | gazebo/physics/Actor.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-07-02T08:23:30.000Z | 2020-11-17T19:00:38.000Z | gazebo/physics/Actor.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gazebo/physics/Actor.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2015-04-22T18:33:15.000Z | 2021-11-16T10:17:45.000Z | /*
* Copyright 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 34.57438 | 80 | 0.594239 | thomas-moulard |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.