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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3d050ec97a6e657e2d1e97828d0134d2540e995 | 2,353 | hpp | C++ | grad_computer.hpp | auckland-cosmo/pspectre | c9114411bc9db0c353324c0f7c5ce2977daab452 | [
"BSD-2-Clause"
] | 1 | 2019-03-07T13:17:43.000Z | 2019-03-07T13:17:43.000Z | grad_computer.hpp | auckland-cosmo/pspectre | c9114411bc9db0c353324c0f7c5ce2977daab452 | [
"BSD-2-Clause"
] | 1 | 2019-08-21T01:08:43.000Z | 2019-08-21T01:08:43.000Z | grad_computer.hpp | auckland-cosmo/pspectre | c9114411bc9db0c353324c0f7c5ce2977daab452 | [
"BSD-2-Clause"
] | 4 | 2019-03-07T13:17:46.000Z | 2020-06-05T07:00:50.000Z | /*
* SpectRE - A Spectral Code for Reheating
* Copyright (C) 2009-2010 Hal Finkel, Nathaniel Roth and Richard Easther
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must ret... | 32.232877 | 85 | 0.740756 | auckland-cosmo |
f3d234bbf34a00d7ee88677f1fee56a2095e917b | 695 | hpp | C++ | src/backend/opencl/solve.hpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-06-14T23:49:18.000Z | 2018-06-14T23:49:18.000Z | src/backend/opencl/solve.hpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2015-07-02T15:53:02.000Z | 2015-07-02T15:53:02.000Z | src/backend/opencl/solve.hpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-02-26T17:11:03.000Z | 2018-02-26T17:11:03.000Z | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 31.590909 | 98 | 0.569784 | JuliaComputing |
f3d9e15089af8235aca90e3dcc8bc194a1584881 | 9,769 | hpp | C++ | Code/Engine/Renderer/DebugObjectProperties.hpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | 1 | 2021-01-25T23:53:44.000Z | 2021-01-25T23:53:44.000Z | Code/Engine/Renderer/DebugObjectProperties.hpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | null | null | null | Code/Engine/Renderer/DebugObjectProperties.hpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | 1 | 2021-01-25T23:53:46.000Z | 2021-01-25T23:53:46.000Z | //------------------------------------------------------------------------------------------------------------------------------
#pragma once
//Engine Systems
#include "Engine/Commons/EngineCommon.hpp"
#include "Engine/Math/AABB2.hpp"
#include "Engine/Math/AABB3.hpp"
#include "Engine/Math/Capsule3D.hpp"
#include "Engin... | 33.686207 | 142 | 0.518784 | pronaypeddiraju |
f3dc8bbe8a15638956e6cfeb0799afbcdad66bcb | 1,199 | cpp | C++ | test/common/test_timestamp.cpp | mweisgut/duckdb | 4cff1d7957ce895dd9984a87aa20aef67f5986e6 | [
"MIT"
] | 1 | 2019-08-01T08:21:33.000Z | 2019-08-01T08:21:33.000Z | test/common/test_timestamp.cpp | mweisgut/duckdb | 4cff1d7957ce895dd9984a87aa20aef67f5986e6 | [
"MIT"
] | null | null | null | test/common/test_timestamp.cpp | mweisgut/duckdb | 4cff1d7957ce895dd9984a87aa20aef67f5986e6 | [
"MIT"
] | null | null | null | #include "catch.hpp"
#include "common/types/timestamp.hpp"
#include <vector>
using namespace duckdb;
using namespace std;
static void VerifyTimestamp(date_t date, dtime_t time, int64_t epoch) {
// create the timestamp from the string
timestamp_t stamp = Timestamp::FromString(Date::ToString(date) + " " + Time::ToSt... | 37.46875 | 94 | 0.717264 | mweisgut |
f3dcbbf606ae0721591c03266e840dbe96590b76 | 1,024 | cc | C++ | src/board/position.cc | wotulong/FoolGo | 0d18e78b0812f89eb55a19f67ee280d7dd74bb8e | [
"MIT"
] | null | null | null | src/board/position.cc | wotulong/FoolGo | 0d18e78b0812f89eb55a19f67ee280d7dd74bb8e | [
"MIT"
] | null | null | null | src/board/position.cc | wotulong/FoolGo | 0d18e78b0812f89eb55a19f67ee280d7dd74bb8e | [
"MIT"
] | 1 | 2020-03-23T12:51:41.000Z | 2020-03-23T12:51:41.000Z | #include "position.h"
#include <boost/format.hpp>
namespace foolgo {
namespace board {
using boost::format;
using std::string;
const BoardLen Position::STRAIGHT_ORNTTIONS[4][2] = { { 0, -1 }, { 1, 0 }, { 0,
1 }, { -1, 0 } };
const BoardLen Position::OBLIQUE_ORNTTIONS[4][2] = { { 1, -1 }, { 1, 1 }, { -1,
1 ... | 26.947368 | 79 | 0.642578 | wotulong |
f3dd15e76204984345697029ec31b4d838c80eeb | 13,823 | cpp | C++ | 3rdparty/spirv-tools/test/val/val_function_test.cpp | bencoyote/bgfx | feb453025d7d5ba423b1bbd11a33816a86644023 | [
"BSD-2-Clause"
] | 1 | 2019-07-30T09:37:27.000Z | 2019-07-30T09:37:27.000Z | 3rdparty/spirv-tools/test/val/val_function_test.cpp | Vaiklol/bgfx | 1196825aebc4b4cdf9acc6c632d002d3c91ba095 | [
"BSD-2-Clause"
] | null | null | null | 3rdparty/spirv-tools/test/val/val_function_test.cpp | Vaiklol/bgfx | 1196825aebc4b4cdf9acc6c632d002d3c91ba095 | [
"BSD-2-Clause"
] | 2 | 2020-03-07T17:59:02.000Z | 2021-04-16T17:22:59.000Z | // Copyright (c) 2019 Google LLC.
//
// 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... | 32.524706 | 80 | 0.669826 | bencoyote |
f3df7bf456716f6b3bd615f217e86def5818eea8 | 1,455 | hpp | C++ | include/crisp/interpreter/InterpretUserDefinedAST.hpp | pzque/crisp | 4c53db12a0cca5a0c4165b6333e2cdc574daaa4e | [
"Apache-2.0"
] | 3 | 2021-12-31T09:03:46.000Z | 2022-03-29T02:40:30.000Z | include/crisp/interpreter/InterpretUserDefinedAST.hpp | pzque/crisp | 4c53db12a0cca5a0c4165b6333e2cdc574daaa4e | [
"Apache-2.0"
] | null | null | null | include/crisp/interpreter/InterpretUserDefinedAST.hpp | pzque/crisp | 4c53db12a0cca5a0c4165b6333e2cdc574daaa4e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 by Crisp Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 31.630435 | 77 | 0.720275 | pzque |
f3dfd78c5a2b822873fff33ac7e1c2b1e17312be | 11,055 | hh | C++ | include/maxscale/protocol2.hh | Daniel-Xu/MaxScale | 35d12c0c9b75c4571dbbeb983c740de098661de6 | [
"BSD-3-Clause"
] | null | null | null | include/maxscale/protocol2.hh | Daniel-Xu/MaxScale | 35d12c0c9b75c4571dbbeb983c740de098661de6 | [
"BSD-3-Clause"
] | null | null | null | include/maxscale/protocol2.hh | Daniel-Xu/MaxScale | 35d12c0c9b75c4571dbbeb983c740de098661de6 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2019 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2025-04-28
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 28.565891 | 106 | 0.66332 | Daniel-Xu |
f3e15d6b4923bd907532dd59b3ffb3cca232094f | 4,325 | cxx | C++ | Modules/IO/Base/src/itkRegularExpressionSeriesFileNames.cxx | CapeDrew/DCMTK-ITK | 440bf8ed100445396912cfd0aa72f36d4cdefe0c | [
"Apache-2.0"
] | 2 | 2015-06-19T07:18:36.000Z | 2019-04-18T07:28:23.000Z | Modules/IO/Base/src/itkRegularExpressionSeriesFileNames.cxx | CapeDrew/DCMTK-ITK | 440bf8ed100445396912cfd0aa72f36d4cdefe0c | [
"Apache-2.0"
] | null | null | null | Modules/IO/Base/src/itkRegularExpressionSeriesFileNames.cxx | CapeDrew/DCMTK-ITK | 440bf8ed100445396912cfd0aa72f36d4cdefe0c | [
"Apache-2.0"
] | 2 | 2017-05-02T07:18:49.000Z | 2020-04-30T01:37:35.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 30.457746 | 101 | 0.631445 | CapeDrew |
f3e1a955c90fa3020065005b71c325296758dea0 | 1,822 | hpp | C++ | libs/fnd/cmath/include/bksge/fnd/cmath/detail/sph_neumann_impl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/cmath/include/bksge/fnd/cmath/detail/sph_neumann_impl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/cmath/include/bksge/fnd/cmath/detail/sph_neumann_impl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file sph_neumann_impl.hpp
*
* @brief sph_neumann 関数の実装
*
* @author myoukaku
*/
#ifndef BKSGE_FND_CMATH_DETAIL_SPH_NEUMANN_IMPL_HPP
#define BKSGE_FND_CMATH_DETAIL_SPH_NEUMANN_IMPL_HPP
#include <bksge/fnd/cmath/isnan.hpp>
#include <bksge/fnd/cmath/detail/sph_bessel_jn.hpp>
#include <bksge/fnd... | 20.704545 | 94 | 0.716246 | myoukaku |
f3e5e1b8f97aef49070a35dc7a03dac8f4816e6d | 495 | cpp | C++ | examples/example3.cpp | waqqas/boost_sqlite | 5946f1d91a71e1bbc94da9270caef78d104873af | [
"BSD-3-Clause"
] | 2 | 2021-04-12T05:49:15.000Z | 2021-06-22T06:40:13.000Z | examples/example3.cpp | waqqas/boost_sqlite | 5946f1d91a71e1bbc94da9270caef78d104873af | [
"BSD-3-Clause"
] | null | null | null | examples/example3.cpp | waqqas/boost_sqlite | 5946f1d91a71e1bbc94da9270caef78d104873af | [
"BSD-3-Clause"
] | 1 | 2020-11-09T10:09:07.000Z | 2020-11-09T10:09:07.000Z |
#include "sqliter/sqliter.h"
#include <iostream>
#include <string>
using namespace sqliter::asio;
int main(int argc, char *argv[])
{
boost::asio::io_service io;
sqlite db(io);
if (argc != 2)
{
std::cout << argv[0] << " <sqlite db file>" << std::endl;
return -1;
}
db.open(argv[1... | 15.967742 | 61 | 0.563636 | waqqas |
f3e63b07283666bfe6aacb4e9e2fbb7fd86d626f | 1,025 | cpp | C++ | Pdf/pdfix_sdk_example_cpp-master/src/StandardLicenseDeactivate.cpp | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | 1 | 2021-08-23T05:56:09.000Z | 2021-08-23T05:56:09.000Z | Pdf/pdfix_sdk_example_cpp-master/src/StandardLicenseDeactivate.cpp | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | null | null | null | Pdf/pdfix_sdk_example_cpp-master/src/StandardLicenseDeactivate.cpp | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////
// StandardLicenseDeactivate.cpp
// Copyright (c) 2019 Pdfix. All Rights Reserved.
////////////////////////////////////////////////////////////////////////////////////////////////////
#include "pdfixsdksamples/Standard... | 26.973684 | 100 | 0.555122 | laoola |
f3ed2cfa2c8d264ea5ee1ea206ca9e13f3b1e6c1 | 1,405 | hpp | C++ | player/playerlib/android/render/MemcopyRender.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/android/render/MemcopyRender.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/android/render/MemcopyRender.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | /*
* This file is part of FFL project.
*
* The MIT License (MIT)
* Copyright (C) 2017-2018 zhufeifei All rights reserved.
*
* MemcopyRender.hpp
* Created by zhufeifei(34008081@qq.com) on 2018/06/28
* https://github.com/zhenfei2016/FFL-v2.git
* android ANativewindow数据拷贝显示方式
*
*/
#include "RenderInterface.hpp"... | 33.452381 | 143 | 0.649822 | zhenfei2016 |
f3f04d0fe9e13ec4f724e2c3d44bd42d5425d784 | 804 | cpp | C++ | sa2-battle-network/OnGameState.cpp | michael-fadely/sa2-battle-network | c8391dc5fdc9f1b6fc6c0c5020bbe4baabbb0aff | [
"MIT"
] | 13 | 2019-06-29T19:38:46.000Z | 2022-01-27T07:52:15.000Z | sa2-battle-network/OnGameState.cpp | SonicFreak94/sa2-battle-network | c8391dc5fdc9f1b6fc6c0c5020bbe4baabbb0aff | [
"MIT"
] | 37 | 2015-10-17T08:33:42.000Z | 2018-03-11T03:10:04.000Z | sa2-battle-network/OnGameState.cpp | SonicFreak94/sa2-battle-network | c8391dc5fdc9f1b6fc6c0c5020bbe4baabbb0aff | [
"MIT"
] | 1 | 2021-09-17T06:50:34.000Z | 2021-09-17T06:50:34.000Z | #include "stdafx.h"
#include <SA2ModLoader.h> // for everything
#include "Networking.h" // for MessageID
#include "globals.h"
#include "OnGameState.h"
DataPointer(uint, dword_174B058, 0x174B058);
// Note that the name is misleading. This only happens when the gamestate changes to Ingame.
// TODO: Real OnGameState
... | 22.333333 | 92 | 0.748756 | michael-fadely |
f3f15b4488dabbd980c8a269c993305fe37e475f | 34,525 | hpp | C++ | src/include/sweet/sphere/SphereData_Spectral.hpp | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 6 | 2017-11-20T08:12:46.000Z | 2021-03-11T15:32:36.000Z | src/include/sweet/sphere/SphereData_Spectral.hpp | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 4 | 2018-02-02T21:46:33.000Z | 2022-01-11T11:10:27.000Z | src/include/sweet/sphere/SphereData_Spectral.hpp | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 12 | 2016-03-01T18:33:34.000Z | 2022-02-08T22:20:31.000Z | /*
* SphereData.hpp
*
* Created on: 9 Aug 2016
* Author: Martin Schreiber <schreiberx@gmail.com>
*/
#ifndef SWEET_SPHERE_DATA_SPECTRAL_HPP_
#define SWEET_SPHERE_DATA_SPECTRAL_HPP_
#include <complex>
#include <functional>
#include <array>
#include <cstring>
#include <iostream>
#include <fstream>
#include <i... | 22.894562 | 144 | 0.683852 | valentinaschueller |
f3f1aca35572a63cf1ee1c3582a44a241b834d5a | 478 | cpp | C++ | Algorithm_BaekJoon/1110.cpp | dongdong97/TIL | 22fab3bc5509ac46510071cb6a7ce390fd4df75a | [
"MIT"
] | null | null | null | Algorithm_BaekJoon/1110.cpp | dongdong97/TIL | 22fab3bc5509ac46510071cb6a7ce390fd4df75a | [
"MIT"
] | null | null | null | Algorithm_BaekJoon/1110.cpp | dongdong97/TIL | 22fab3bc5509ac46510071cb6a7ce390fd4df75a | [
"MIT"
] | null | null | null | ////
//// 1110.cpp
//// Algorithm
////
//// Created by 동균 on 2018. 6. 1..
//// Copyright © 2018년 동균. All rights reserved.
////
//
//#include <iostream>
//using namespace std;
//
//int main() {
//
// int number, number2 , tmp1, tmp2, tmp3;
// int cnt =0;
//
// cin >> number;
// number2 = number;
... | 16.482759 | 48 | 0.476987 | dongdong97 |
f3f6941492d8fd5bd7965764ff995ac2282c7fad | 12,739 | cpp | C++ | avs/vis_avs/r_videodelay.cpp | czeskij/vis_avs | 10cbc47adbc128f17505c695535d8cbec243410e | [
"Unlicense"
] | null | null | null | avs/vis_avs/r_videodelay.cpp | czeskij/vis_avs | 10cbc47adbc128f17505c695535d8cbec243410e | [
"Unlicense"
] | null | null | null | avs/vis_avs/r_videodelay.cpp | czeskij/vis_avs | 10cbc47adbc128f17505c695535d8cbec243410e | [
"Unlicense"
] | null | null | null | /*
LICENSE
-------
Copyright 2005 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 conditio... | 36.606322 | 206 | 0.572886 | czeskij |
f3f97d9dda48b76df6f48b20bf558d7a52b13fd9 | 933 | cpp | C++ | client/public_key.cpp | irl-game/irl | ba507a93371ab172b705c1ede8cd062123fc96f5 | [
"MIT"
] | null | null | null | client/public_key.cpp | irl-game/irl | ba507a93371ab172b705c1ede8cd062123fc96f5 | [
"MIT"
] | 6 | 2020-02-16T21:25:21.000Z | 2020-03-11T07:42:00.000Z | client/public_key.cpp | irl-game/irl | ba507a93371ab172b705c1ede8cd062123fc96f5 | [
"MIT"
] | null | null | null | #include "public_key.hpp"
extern const RsaPublicKey PublicKey = {
0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x00, 0xe0, 0x15, 0x69, 0x00, 0x55,
0x3c, 0x6a, 0x56, 0x35, 0x6d, 0x3c, 0x2a, 0x3d, 0xd6, 0xdc, 0x7a, 0xe2,
0x72, 0x3f, 0x87, 0xa3, 0x13, 0x26, 0x86, 0x75, 0x75, 0x79, 0x45, 0xbe,
0xc8, 0xb5, 0x57, 0xaa, 0x4a,... | 54.882353 | 73 | 0.655949 | irl-game |
f3fd26e46f21b6ecfb8fa6ef072ce98546c474fa | 48,543 | hpp | C++ | runtime.Kokkos.NET/Analyzes/RadialBasisFunctionInterp2D.hpp | trmcnealy/Kokkos.NET | d81aa03d720c7d8a089fdb42da18b240f127758c | [
"MIT"
] | null | null | null | runtime.Kokkos.NET/Analyzes/RadialBasisFunctionInterp2D.hpp | trmcnealy/Kokkos.NET | d81aa03d720c7d8a089fdb42da18b240f127758c | [
"MIT"
] | null | null | null | runtime.Kokkos.NET/Analyzes/RadialBasisFunctionInterp2D.hpp | trmcnealy/Kokkos.NET | d81aa03d720c7d8a089fdb42da18b240f127758c | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdlib>
#include <ctime>
#include <iomanip>
#include <iostream>
using namespace std;
#include "r8lib/r8lib.hpp"
#pragma once
//void daxpy ( int n, double da, double dx[], int incx, double dy[], int incy );
//double ddot ( int n, double dx[], int incx, double dy[], int incy );
//double dnr... | 24.198903 | 152 | 0.434378 | trmcnealy |
6d00895d14c5f6f9a4a3f7953782bd1c93a46107 | 1,806 | cpp | C++ | 10. DP/Q_stair-case.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | 10. DP/Q_stair-case.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | 10. DP/Q_stair-case.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | /* StairCase Problem
Send Feedback
A child is running up a staircase with n steps and can hop either 1 step, 2 steps or 3 steps at a time. Implement a method to count how many possible ways the child can run up to the stairs. You need to return all possible number of ways.
Time complexity of your code should be O(n).
S... | 22.02439 | 238 | 0.555925 | bhavinvirani |
6d00f970a8e31c0262c67ea67b7b2442ae81fd8f | 1,269 | hpp | C++ | Systems/Physics/EllipsoidCollider.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 52 | 2018-09-11T17:18:35.000Z | 2022-03-13T15:28:21.000Z | Systems/Physics/EllipsoidCollider.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 1,409 | 2018-09-19T18:03:43.000Z | 2021-06-09T08:33:33.000Z | Systems/Physics/EllipsoidCollider.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 26 | 2018-09-11T17:16:32.000Z | 2021-11-22T06:21:19.000Z | ///////////////////////////////////////////////////////////////////////////////
///
/// Authors: Joshua Claeys, Joshua Davis
/// Copyright 2010-2017, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
namespace Zero
{
/// Define... | 28.840909 | 106 | 0.638298 | RachelWilSingh |
6d0282d543b2fffb53690d952166994781812219 | 347 | cpp | C++ | arc/arc038/b/main.cpp | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | 3 | 2019-06-25T06:17:38.000Z | 2019-07-13T15:18:51.000Z | arc/arc038/b/main.cpp | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | null | null | null | arc/arc038/b/main.cpp | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | null | null | null | #include "template.hpp"
int main() {
ll(H, W);
vin(string, S, H);
auto dp = vecv(bool, H + 1, W + 1, true);
rrep(i, H) {
rrep(j, W) {
if (S[i][j] == '#') {
dp[i][j] = true;
} else {
dp[i][j] = not(dp[i + 1][j] and dp[i][j + 1] and dp[i + 1][j + 1]);
}
}
}
yes(dp[0]... | 19.277778 | 75 | 0.397695 | wotsushi |
6d09abf8e4aa4b5966027c71f956344eb12a758d | 4,778 | cpp | C++ | allegro-5.0/examples/ex_audio_props.cpp | fsande/PFC-2012-2013-EMIR-PedroHernandez | 2387a8e97ee399ae453f3f9e43e2dd1cb4c0cd4c | [
"MIT"
] | null | null | null | allegro-5.0/examples/ex_audio_props.cpp | fsande/PFC-2012-2013-EMIR-PedroHernandez | 2387a8e97ee399ae453f3f9e43e2dd1cb4c0cd4c | [
"MIT"
] | null | null | null | allegro-5.0/examples/ex_audio_props.cpp | fsande/PFC-2012-2013-EMIR-PedroHernandez | 2387a8e97ee399ae453f3f9e43e2dd1cb4c0cd4c | [
"MIT"
] | null | null | null | /*
* Example program for the Allegro library, by Peter Wang.
*
* Test audio properties (gain and panning, for now).
*/
#include "allegro5/allegro.h"
#include "allegro5/allegro_image.h"
#include "allegro5/allegro_font.h"
#include "allegro5/allegro_primitives.h"
#include "allegro5/allegro_audio.h"
#include "al... | 23.653465 | 75 | 0.66869 | fsande |
6d09f3888fd57c69b14fae18c602bf3b1c68a260 | 2,698 | hh | C++ | src/windows/kernel/nt/types/registry/HIVE_IMPL.hh | srpape/IntroVirt | fe553221c40b8ef71f06e79c9d54d9e123a06c89 | [
"Apache-2.0"
] | null | null | null | src/windows/kernel/nt/types/registry/HIVE_IMPL.hh | srpape/IntroVirt | fe553221c40b8ef71f06e79c9d54d9e123a06c89 | [
"Apache-2.0"
] | null | null | null | src/windows/kernel/nt/types/registry/HIVE_IMPL.hh | srpape/IntroVirt | fe553221c40b8ef71f06e79c9d54d9e123a06c89 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 Assured Information Security, 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 a... | 32.506024 | 84 | 0.752039 | srpape |
6d0e9d9ba5800bc7279128bb9514268c45937e64 | 70 | cpp | C++ | Source/RenderSettings.cpp | historyme/MineCraft-One-Week-Challenge | 7053beef10f841f52879e025026d08e4c26c4b62 | [
"Apache-2.0"
] | 1 | 2020-04-21T18:47:09.000Z | 2020-04-21T18:47:09.000Z | Source/RenderSettings.cpp | UglySwedishFish/MineCraft-One-Week-Challenge | 2d8859a977224c1f3d184ab8f2d50f17e43ce6ba | [
"Apache-2.0"
] | null | null | null | Source/RenderSettings.cpp | UglySwedishFish/MineCraft-One-Week-Challenge | 2d8859a977224c1f3d184ab8f2d50f17e43ce6ba | [
"Apache-2.0"
] | 1 | 2018-09-14T09:01:50.000Z | 2018-09-14T09:01:50.000Z | #include "RenderSettings.h"
RenderSettings g_renderSettings = {0, 0}; | 23.333333 | 41 | 0.771429 | historyme |
6d0f175c01af31d5bfb0c5bea4d8f9ce695de2c7 | 7,129 | cpp | C++ | chocChipChess/search.cpp | GenericCinnamon/chocchipchess | 793ea775b6b96df1157c9e712a420add7d21f89b | [
"MIT"
] | null | null | null | chocChipChess/search.cpp | GenericCinnamon/chocchipchess | 793ea775b6b96df1157c9e712a420add7d21f89b | [
"MIT"
] | null | null | null | chocChipChess/search.cpp | GenericCinnamon/chocchipchess | 793ea775b6b96df1157c9e712a420add7d21f89b | [
"MIT"
] | null | null | null | #include "search.h"
#include <math.h>
Search::Search()
{
}
//function negamax(node, depth, α, β, color)
int Search::negamax(Position& position, int depth, int alpha, int beta)
{
if (stopThinking)
throw exit_search();
// From https://en.wikipedia.org/wiki/Negamax
//alphaOrig : = α
int... | 29.217213 | 120 | 0.605695 | GenericCinnamon |
6d11c34c4c0f95e44b6fd6706510363a865d813d | 4,839 | cpp | C++ | src/aimp_dotnet/SDK/MusicLibrary/DataFilter/AimpDataFilterGroup.cpp | Smartoteka/aimp_dotnet | 544502b8d080c9280ba11917ef0cc3e8dec44234 | [
"Apache-2.0"
] | 52 | 2015-04-14T14:39:30.000Z | 2022-02-07T07:16:05.000Z | src/aimp_dotnet/SDK/MusicLibrary/DataFilter/AimpDataFilterGroup.cpp | Smartoteka/aimp_dotnet | 544502b8d080c9280ba11917ef0cc3e8dec44234 | [
"Apache-2.0"
] | 11 | 2015-04-02T10:45:55.000Z | 2022-02-03T07:21:53.000Z | src/aimp_dotnet/SDK/MusicLibrary/DataFilter/AimpDataFilterGroup.cpp | Smartoteka/aimp_dotnet | 544502b8d080c9280ba11917ef0cc3e8dec44234 | [
"Apache-2.0"
] | 9 | 2015-04-05T18:25:57.000Z | 2022-02-07T07:20:23.000Z | // ----------------------------------------------------
// AIMP DotNet SDK
// Copyright (c) 2014 - 2020 Evgeniy Bogdan
// https://github.com/martin211/aimp_dotnet
// Mail: mail4evgeniy@gmail.com
// ----------------------------------------------------
#include "Stdafx.h"
#include "AimpDataFilterGroup.h"
#include "AimpD... | 32.695946 | 119 | 0.701178 | Smartoteka |
6d17b72637d5643b6b1ef7724ba53c07b8f67c4e | 9,369 | hpp | C++ | externals/stlsoft-1.9.118/include/inetstl/error/exceptions.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | 17 | 2015-03-26T14:10:25.000Z | 2022-02-09T20:55:04.000Z | externals/stlsoft-1.9.118/include/inetstl/error/exceptions.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | null | null | null | externals/stlsoft-1.9.118/include/inetstl/error/exceptions.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | 3 | 2019-05-05T22:10:56.000Z | 2019-08-22T22:24:23.000Z | /* /////////////////////////////////////////////////////////////////////////
* File: inetstl/error/exceptions.hpp
*
* Purpose: Contains the internet_exception class.
*
* Created: 25th April 2004
* Updated: 10th August 2009
*
* Home: http://stlsoft.org/
*
* Copyright (c) 200... | 31.23 | 83 | 0.62045 | betasheet |
6d1843e5d96480fee0262275e9f376e0f8684137 | 792 | cpp | C++ | snippets/cpp/VS_Snippets_CLR_System/system.Decimal.ConvFrom.SInts/CPP/cfromint16.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-03-12T19:26:36.000Z | 2022-01-10T21:45:33.000Z | snippets/cpp/VS_Snippets_CLR_System/system.Decimal.ConvFrom.SInts/CPP/cfromint16.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_CLR_System/system.Decimal.ConvFrom.SInts/CPP/cfromint16.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z | //<Snippet3>
using namespace System;
void main()
{
// Define an array of 16-bit integer values.
array<Int16>^ values = { Int16::MinValue, Int16::MaxValue,
0xFFF, 12345, -10000 };
// Convert each value to a Decimal.
for each (Int16 value in values) {
Decimal... | 33 | 64 | 0.526515 | BohdanMosiyuk |
6d18e091c4fb941c97454f0a7a5347699a590586 | 3,434 | cpp | C++ | Source/PanelConfiguration.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 10 | 2019-02-25T11:36:23.000Z | 2021-11-03T22:51:30.000Z | Source/PanelConfiguration.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 146 | 2019-02-05T13:57:33.000Z | 2019-11-07T16:21:31.000Z | Source/PanelConfiguration.cpp | FractalPuppy/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 3 | 2019-11-17T20:49:12.000Z | 2020-04-19T17:28:28.000Z | #include "PanelConfiguration.h"
#include "Application.h"
#include "ModuleWindow.h"
#include "ModuleRender.h"
#include "ModuleCamera.h"
#include "ModuleInput.h"
#include "ModuleTextures.h"
#include "ModuleScene.h"
#include "ModuleScript.h"
#include "ModuleUI.h"
#include "ModuleAudioManager.h"
#include "imgui.h"
#include... | 21.872611 | 88 | 0.665987 | solidajenjo |
6d1b9b18b88dc475a7eabcaebe64ba38556ca48c | 5,324 | cpp | C++ | thorlcr/activities/spill/thspill.cpp | davidarcher/HPCC-Platform | fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3 | [
"Apache-2.0"
] | 286 | 2015-01-03T12:45:17.000Z | 2022-03-25T18:12:57.000Z | thorlcr/activities/spill/thspill.cpp | davidarcher/HPCC-Platform | fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3 | [
"Apache-2.0"
] | 9,034 | 2015-01-02T08:49:19.000Z | 2022-03-31T20:34:44.000Z | thorlcr/activities/spill/thspill.cpp | cloLN/HPCC-Platform | 42ffb763a1cdcf611d3900831973d0a68e722bbe | [
"Apache-2.0"
] | 208 | 2015-01-02T03:27:28.000Z | 2022-02-11T05:54:52.000Z | /*##############################################################################
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... | 41.92126 | 218 | 0.632231 | davidarcher |
6d1bcbf3b374bc4f703da7b15ae733094579c15f | 1,102 | cpp | C++ | 2_variables_and_assignments/Code_Examples/prob4.cpp | AhsanAyub/tntech_csc_1300_fall_2021 | a96794e9800adccb71abaf83ecf5409ad4c25b3e | [
"MIT"
] | 2 | 2022-02-02T05:25:46.000Z | 2022-02-17T17:42:08.000Z | 2_variables_and_assignments/Code_Examples/prob4.cpp | AhsanAyub/tntech_csc_1300_fall_2021 | a96794e9800adccb71abaf83ecf5409ad4c25b3e | [
"MIT"
] | null | null | null | 2_variables_and_assignments/Code_Examples/prob4.cpp | AhsanAyub/tntech_csc_1300_fall_2021 | a96794e9800adccb71abaf83ecf5409ad4c25b3e | [
"MIT"
] | null | null | null | /*
* Problem: If a three-digit number is input through the keyboard, write a program to
* calculate the sum of its digits. (Hint: Use the modulus operator %)
*
* Example
* Case (1)
* i/p: 369
* o/p: 18
*
* Case (2)
* i/p: 999
* o/p: 27
*/
#include <iostream>
using namespace std;
int main()
{
// Decl... | 22.958333 | 85 | 0.636116 | AhsanAyub |
6d1bd2021b11058a7de9ef707e03732e661c7995 | 526 | cpp | C++ | 2217.cpp | Wookhwang/BaekJun | 1dfc9783a70318b5c4a6fe796878f767b30af3ed | [
"Apache-2.0"
] | 1 | 2019-12-30T17:18:28.000Z | 2019-12-30T17:18:28.000Z | 2217.cpp | Wookhwang/BaekJun | 1dfc9783a70318b5c4a6fe796878f767b30af3ed | [
"Apache-2.0"
] | null | null | null | 2217.cpp | Wookhwang/BaekJun | 1dfc9783a70318b5c4a6fe796878f767b30af3ed | [
"Apache-2.0"
] | null | null | null | #pragma warning(disable:4996)
#include <stdio.h>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int rope;
int weight[100000];
int result[100000];
int n = 1;
int max;
scanf("%d", &rope);
for (int i = 0; i < rope; i++) {
scanf("%d", &weight[i]);
}
sort(wei... | 14.611111 | 39 | 0.530418 | Wookhwang |
6d2744f9812ace62e509437428882c04822e5d02 | 13,666 | cpp | C++ | control/json/zone.cpp | mikecgithub/phosphor-fan-presence | a66d154ed073fda465616a40670c98979c47ee91 | [
"Apache-2.0"
] | null | null | null | control/json/zone.cpp | mikecgithub/phosphor-fan-presence | a66d154ed073fda465616a40670c98979c47ee91 | [
"Apache-2.0"
] | null | null | null | control/json/zone.cpp | mikecgithub/phosphor-fan-presence | a66d154ed073fda465616a40670c98979c47ee91 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright © 2020 IBM Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 33.169903 | 80 | 0.598858 | mikecgithub |
6d2cc79543385595cbebaf8031159372cf202ee5 | 467 | hpp | C++ | mpllibs/metamonad/typeclass.hpp | sabel83/mpllibs | 8e245aedcf658fe77bb29537aeba1d4e1a619a19 | [
"BSL-1.0"
] | 70 | 2015-01-15T09:05:15.000Z | 2021-12-08T15:49:31.000Z | mpllibs/metamonad/typeclass.hpp | sabel83/mpllibs | 8e245aedcf658fe77bb29537aeba1d4e1a619a19 | [
"BSL-1.0"
] | 4 | 2015-06-18T19:25:34.000Z | 2016-05-13T19:49:51.000Z | mpllibs/metamonad/typeclass.hpp | sabel83/mpllibs | 8e245aedcf658fe77bb29537aeba1d4e1a619a19 | [
"BSL-1.0"
] | 5 | 2015-07-10T08:18:09.000Z | 2021-12-01T07:17:57.000Z | #ifndef MPLLIBS_METAMONAD_TYPECLASS_HPP
#define MPLLIBS_METAMONAD_TYPECLASS_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
// 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)
#include <mplli... | 29.1875 | 61 | 0.781585 | sabel83 |
6d2ef8e3a85bef153a19b4963c6ffd5b449bfcc2 | 20,317 | cpp | C++ | astronomy/time_scales_test.cpp | erplsf/Principia | 1f2a1fc53f8a73c1bc67f12213169e6969c8488f | [
"MIT"
] | null | null | null | astronomy/time_scales_test.cpp | erplsf/Principia | 1f2a1fc53f8a73c1bc67f12213169e6969c8488f | [
"MIT"
] | null | null | null | astronomy/time_scales_test.cpp | erplsf/Principia | 1f2a1fc53f8a73c1bc67f12213169e6969c8488f | [
"MIT"
] | null | null | null |
#include "astronomy/time_scales.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "quantities/astronomy.hpp"
#include "testing_utilities/almost_equals.hpp"
#include "testing_utilities/approximate_quantity.hpp"
#include "testing_utilities/is_near.hpp"
#include "testing_utilities/numerics.hpp"
namespace... | 42.064182 | 80 | 0.636019 | erplsf |
6d3004e3019668b1a57067eaf2bef1d7d765c0ec | 744 | cpp | C++ | SandboxGame/main.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-15T01:14:15.000Z | 2019-07-15T01:14:15.000Z | SandboxGame/main.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 76 | 2018-10-27T16:59:36.000Z | 2022-03-30T17:40:39.000Z | SandboxGame/main.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-29T02:02:08.000Z | 2019-07-29T02:02:08.000Z | #include <iostream>
#include "include/CCustomEngineListener.h"
#include <TDEngine2.h>
#include <thread>
#if defined (TDE2_USE_WIN32PLATFORM)
#pragma comment(lib, "TDEngine2.lib")
#endif
using namespace TDEngine2;
int main(int argc, char** argv)
{
E_RESULT_CODE result = RC_OK;
IEngineCoreBuilder* pEngineCoreBui... | 19.076923 | 118 | 0.758065 | bnoazx005 |
6d33be71e3f91dbc22216545750eb71b466bfdda | 4,304 | hpp | C++ | visa/iga/IGALibrary/IR/DUAnalysis.hpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | visa/iga/IGALibrary/IR/DUAnalysis.hpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | visa/iga/IGALibrary/IR/DUAnalysis.hpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (c) 2017-2021 Intel Corporation
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, inc... | 35.570248 | 80 | 0.590381 | bader |
6d355eec0f38238c13c1f4bf5c285528507dd034 | 404 | cpp | C++ | tests/cpp/lib/make_reverse_iterator.201402.cpp | eggs-cpp/sd-6 | d7ba0c08acf7c1c817baa1ea53f488d02394858a | [
"BSL-1.0"
] | 7 | 2015-03-03T18:33:02.000Z | 2018-08-31T08:26:01.000Z | tests/cpp/lib/make_reverse_iterator.201402.cpp | eggs-cpp/sd-6 | d7ba0c08acf7c1c817baa1ea53f488d02394858a | [
"BSL-1.0"
] | null | null | null | tests/cpp/lib/make_reverse_iterator.201402.cpp | eggs-cpp/sd-6 | d7ba0c08acf7c1c817baa1ea53f488d02394858a | [
"BSL-1.0"
] | null | null | null | // Eggs.SD-6
//
// Copyright Agustin K-ballo Berge, Fusion Fenix 2015
//
// 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)
#include <iterator>
void test_make_reverse_iterator() {
std::reverse_iterator<int*> p{std:... | 23.764706 | 79 | 0.732673 | eggs-cpp |
6d35785590dea8d08c91bbfa6f4551042054e6c2 | 12,004 | cpp | C++ | lib/AudioGroup.cpp | gpeter12/amuse | d96be61e296031d5417e46dba1d3b9060b2ab6c0 | [
"MIT"
] | null | null | null | lib/AudioGroup.cpp | gpeter12/amuse | d96be61e296031d5417e46dba1d3b9060b2ab6c0 | [
"MIT"
] | null | null | null | lib/AudioGroup.cpp | gpeter12/amuse | d96be61e296031d5417e46dba1d3b9060b2ab6c0 | [
"MIT"
] | null | null | null | #include "amuse/AudioGroup.hpp"
#include <regex>
#include <sstream>
#include "amuse/AudioGroupData.hpp"
#include <athena/FileReader.hpp>
#include <fmt/ostream.h>
using namespace std::literals;
namespace amuse {
void AudioGroup::assign(const AudioGroupData& data) {
m_pool = AudioGroupPool::CreateAudioGroupPool(... | 37.5125 | 120 | 0.664612 | gpeter12 |
6d377276a329bd3412d37bc153c4c6198d2a2118 | 3,141 | hpp | C++ | driver/src/hp_reverb_hid.hpp | mmmspatz/wumbo_mr | 7dfecd4cb824ad2268f6f9208e3fe6c9510fb097 | [
"BSL-1.0"
] | 1 | 2021-02-12T06:54:53.000Z | 2021-02-12T06:54:53.000Z | driver/src/hp_reverb_hid.hpp | mmmspatz/wumbo_mr | 7dfecd4cb824ad2268f6f9208e3fe6c9510fb097 | [
"BSL-1.0"
] | null | null | null | driver/src/hp_reverb_hid.hpp | mmmspatz/wumbo_mr | 7dfecd4cb824ad2268f6f9208e3fe6c9510fb097 | [
"BSL-1.0"
] | null | null | null | // Copyright Mark H. Spatz 2021-present
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <array>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <wmr/vendor_hid_interface.hpp>
... | 28.044643 | 71 | 0.730022 | mmmspatz |
6d38cdd8c0d32cb3d0c741a0950aba2542fe03b1 | 104 | hh | C++ | SDK/ClientModeShared.hh | Joyzyy/HelvetaCS | 9e24cb0bc9748413b1a478275e30fc7e25150f8f | [
"WTFPL"
] | 1 | 2021-11-10T10:50:46.000Z | 2021-11-10T10:50:46.000Z | SDK/ClientModeShared.hh | Joyzyy/HelvetaCS | 9e24cb0bc9748413b1a478275e30fc7e25150f8f | [
"WTFPL"
] | null | null | null | SDK/ClientModeShared.hh | Joyzyy/HelvetaCS | 9e24cb0bc9748413b1a478275e30fc7e25150f8f | [
"WTFPL"
] | null | null | null | #pragma once
#include "Forward.hh"
struct SDK::ClientModeShared {
PAD(0x28);
int m_nRootSize[2];
}; | 11.555556 | 30 | 0.701923 | Joyzyy |
6d3a06a769b49345049a421aadd866de87145bdf | 4,886 | cpp | C++ | QuantumGateLib/Network/IPAddress.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | null | null | null | QuantumGateLib/Network/IPAddress.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | null | null | null | QuantumGateLib/Network/IPAddress.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | null | null | null | // This file is part of the QuantumGate project. For copyright and
// licensing information refer to the license file(s) in the project root.
#include "pch.h"
#include "IPAddress.h"
#include "..\Common\Endian.h"
#include <regex>
namespace QuantumGate::Implementation::Network
{
bool IPAddress::TryParse(const WChar* ... | 24.068966 | 111 | 0.663528 | Colorfingers |
6d3c3efbc4024cefa4774e9aa7eb7f0c8ee782b7 | 274 | cpp | C++ | C++/sqrt/sqrt.cpp | zSucrilhos/programming | aa0076a4a7084a6064e1e5df258ba0c90cf8ceeb | [
"MIT"
] | null | null | null | C++/sqrt/sqrt.cpp | zSucrilhos/programming | aa0076a4a7084a6064e1e5df258ba0c90cf8ceeb | [
"MIT"
] | 4 | 2020-07-18T03:27:03.000Z | 2020-07-18T03:28:37.000Z | C++/sqrt/sqrt.cpp | zSucrilhos/programming | aa0076a4a7084a6064e1e5df258ba0c90cf8ceeb | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
double num01, sqr;
cout << "Calculador de sqrt" << endl;
cout << "Digite um número: ";
cin >> num01;
sqr = num01 * num01;
cout << "O resultado é: " << sqr << endl;
}
// This is a commentary
| 16.117647 | 45 | 0.565693 | zSucrilhos |
6d3dc58662f91d201f5e7adcee3c9edb51b4239d | 3,129 | cpp | C++ | code/engine/xrGame/agent_manager.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 58 | 2016-11-20T19:14:35.000Z | 2021-12-27T21:03:35.000Z | code/engine/xrGame/agent_manager.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 59 | 2016-09-10T10:44:20.000Z | 2018-09-03T19:07:30.000Z | code/engine/xrGame/agent_manager.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 39 | 2017-02-05T13:35:37.000Z | 2022-03-14T11:00:12.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : agent_manager.cpp
// Created : 24.05.2004
// Modified : 24.05.2004
// Author : Dmitriy Iassenev
// Description : Agent manager
////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
... | 26.74359 | 76 | 0.688399 | InNoHurryToCode |
6d420e92bf72c524eec3380dd238df32a22afc81 | 1,511 | cpp | C++ | src/utils/ColorScheme.cpp | leet-feat/feather | ff6e6adf0c853fcf664bd8f0b2ee94a51550b4f8 | [
"BSD-3-Clause"
] | 2 | 2021-06-30T19:03:35.000Z | 2022-01-21T00:07:49.000Z | src/utils/ColorScheme.cpp | leet-feat/feather | ff6e6adf0c853fcf664bd8f0b2ee94a51550b4f8 | [
"BSD-3-Clause"
] | 1 | 2022-01-21T00:12:28.000Z | 2022-01-21T15:55:09.000Z | src/utils/ColorScheme.cpp | leet-feat/feather | ff6e6adf0c853fcf664bd8f0b2ee94a51550b4f8 | [
"BSD-3-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
// Copyright (c) 2012 thomasv@gitorious
#include "ColorScheme.h"
#include <QDebug>
bool ColorScheme::darkScheme = false;
ColorSchemeItem ColorScheme::GREEN = ColorSchemeItem("#117c11", "#8af296");
ColorSchemeItem ColorScheme::Y... | 37.775 | 77 | 0.717406 | leet-feat |
6d428ff549ce93b2a8c60365683e20449524b7a5 | 1,534 | cpp | C++ | Source/VoxelEditor/Private/VoxelWorldEditor.cpp | Batname/VoxelPlugin | 711812c3fadafd4d33e6be861dc96241c39d81a5 | [
"MIT"
] | 1 | 2019-04-09T02:39:04.000Z | 2019-04-09T02:39:04.000Z | Source/VoxelEditor/Private/VoxelWorldEditor.cpp | Batname/VoxelPlugin | 711812c3fadafd4d33e6be861dc96241c39d81a5 | [
"MIT"
] | null | null | null | Source/VoxelEditor/Private/VoxelWorldEditor.cpp | Batname/VoxelPlugin | 711812c3fadafd4d33e6be861dc96241c39d81a5 | [
"MIT"
] | null | null | null | // Copyright 2018 Phyronnaz
#include "VoxelWorldEditor.h"
#include "VoxelInvokerComponent.h"
#include "VoxelWorld.h"
#include "Components/CapsuleComponent.h"
#include "LevelEditorViewport.h"
#include "Editor.h"
#include "VoxelWorldDetails.h"
AVoxelWorldEditor::AVoxelWorldEditor()
{
PrimaryActorTick.bCanEverTick = tr... | 23.242424 | 100 | 0.769883 | Batname |
6d44ea114cc69d2e7b7d4118a1d067d1b33a1701 | 9,656 | cc | C++ | db/dbformat.cc | rnowak-basho-forks/leveldb | f6b6c42dbf19a2a8bebb75106fe8ce02bdd8d2bb | [
"BSD-3-Clause"
] | 130 | 2015-01-02T15:23:15.000Z | 2021-11-18T12:40:20.000Z | db/dbformat.cc | rnowak-basho-forks/leveldb | f6b6c42dbf19a2a8bebb75106fe8ce02bdd8d2bb | [
"BSD-3-Clause"
] | 87 | 2015-01-12T17:38:26.000Z | 2022-02-22T17:15:06.000Z | db/dbformat.cc | rnowak-basho-forks/leveldb | f6b6c42dbf19a2a8bebb75106fe8ce02bdd8d2bb | [
"BSD-3-Clause"
] | 89 | 2015-01-12T03:25:54.000Z | 2022-03-16T00:29:22.000Z | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include <stdio.h>
//#include "leveldb/expiry.h"
#include "db/dbformat.h"
#include "db/version_set.h"
#... | 33.182131 | 106 | 0.622618 | rnowak-basho-forks |
6d45fdba3b3272242f5d7531c20ae624d17dccde | 2,560 | cpp | C++ | song_nevi/goinghome_remote/src/remote_nevi.cpp | leesuengyeol/goingHome_project | 0c32f9f4194f0294510720ff2302d5d4a1df8ed5 | [
"Apache-2.0"
] | null | null | null | song_nevi/goinghome_remote/src/remote_nevi.cpp | leesuengyeol/goingHome_project | 0c32f9f4194f0294510720ff2302d5d4a1df8ed5 | [
"Apache-2.0"
] | null | null | null | song_nevi/goinghome_remote/src/remote_nevi.cpp | leesuengyeol/goingHome_project | 0c32f9f4194f0294510720ff2302d5d4a1df8ed5 | [
"Apache-2.0"
] | null | null | null | #include "goinghome_remote.h"
//debug 확인용
#define DEBUG
//move_base action_client
//amcl x,y 좌표
//static double amcl_x,amcl_y;
//orientation
//static double amcl_w;
//static double arg_x,arg_y;
//sector 영역 구분
bool nevi_sev_callback(nevi_srv::Request &req,nevi_srv::Response &res){
//action_clinet 객체 생성 "move_b... | 26.122449 | 100 | 0.696484 | leesuengyeol |
6d490b38923f9fd6fca03084200e90b200b6e09b | 2,294 | cpp | C++ | main.cpp | krzkaczor/CSP-Solver | a7b6b81db38e54ddc0a507b7983cd7aa25002fd1 | [
"MIT"
] | 4 | 2017-12-06T14:55:53.000Z | 2020-03-22T01:57:17.000Z | main.cpp | krzkaczor/CSP-Solver | a7b6b81db38e54ddc0a507b7983cd7aa25002fd1 | [
"MIT"
] | null | null | null | main.cpp | krzkaczor/CSP-Solver | a7b6b81db38e54ddc0a507b7983cd7aa25002fd1 | [
"MIT"
] | 2 | 2020-12-23T15:56:08.000Z | 2021-10-07T00:24:38.000Z | #include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include <iostream>
#include <string>
#include <fstream>
#include "grammar/CspProblemGrammar.h"
#include "utils/utils.h"
#include "csp_problem/CspProblem.h"
#include "solvers/Backtrac... | 33.246377 | 118 | 0.67524 | krzkaczor |
6d4cd67fd6ca320f24071a1708cab0d815084182 | 192,492 | hpp | C++ | modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp | JosephGeoBenjamin/opencv_contrib-hip | 2a948c02b9077b0fd3ae2baf903e9990a5f0a684 | [
"BSD-3-Clause"
] | null | null | null | modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp | JosephGeoBenjamin/opencv_contrib-hip | 2a948c02b9077b0fd3ae2baf903e9990a5f0a684 | [
"BSD-3-Clause"
] | null | null | null | modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp | JosephGeoBenjamin/opencv_contrib-hip | 2a948c02b9077b0fd3ae2baf903e9990a5f0a684 | [
"BSD-3-Clause"
] | 1 | 2020-11-16T14:32:58.000Z | 2020-11-16T14:32:58.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 145.386707 | 46,899 | 0.695925 | JosephGeoBenjamin |
6d4ed7876e5f9dce771663f2de10ce140f057e9c | 1,694 | cpp | C++ | lib/src/Delphi/Syntax/DelphiCaseElseClauseSyntax.cpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | lib/src/Delphi/Syntax/DelphiCaseElseClauseSyntax.cpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | 50 | 2021-06-30T20:01:50.000Z | 2021-11-28T16:21:26.000Z | lib/src/Delphi/Syntax/DelphiCaseElseClauseSyntax.cpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | #include "Delphi/Syntax/DelphiCaseElseClauseSyntax.hpp"
#include <cassert>
#include "interlinck/Core/Syntax/ISyntaxToken.hpp"
#include "interlinck/Core/Syntax/SyntaxKinds.hpp"
#include "Core/Support/SyntaxFactory.hpp"
namespace interlinck::Delphi::Syntax
{
using Core::Support::SyntaxFactory;
using namespace Core::Syn... | 35.291667 | 122 | 0.680638 | henrikfroehling |
6d4f549961cb2b5a88482d5c1e90c9c4cb7bbd06 | 748 | hpp | C++ | include/shiva/windows/AssetBrowser.hpp | kochol/ariyana_old | efdd20eea0f1fafa803fb254d4775aa1915ba3a1 | [
"MIT"
] | 1 | 2022-01-11T01:15:43.000Z | 2022-01-11T01:15:43.000Z | include/shiva/windows/AssetBrowser.hpp | kochol/ariyana_old | efdd20eea0f1fafa803fb254d4775aa1915ba3a1 | [
"MIT"
] | null | null | null | include/shiva/windows/AssetBrowser.hpp | kochol/ariyana_old | efdd20eea0f1fafa803fb254d4775aa1915ba3a1 | [
"MIT"
] | 2 | 2020-09-02T17:24:58.000Z | 2020-09-02T17:40:44.000Z | #pragma once
#include "shiva/shivadef.hpp"
#include "shiva/DirectoryTree.hpp"
#include "../../../src/editor/windows/AssetGui.hpp"
#include "ari/en/gui/DockableWindow.hpp"
#include "DockWindow.hpp"
namespace ari {
class Button;
class Dock;
class DockSpace;
}
namespace shiva
{
class AssetGui;
cla... | 19.684211 | 86 | 0.695187 | kochol |
6d4f62858f5ff01f3684fde4010495b163d57f87 | 96,411 | cpp | C++ | src/game/items/CItemMulti.cpp | criminalx/Source-X | 7e656bb9edcbe78dd735feeb12a9ccff3b0f2fe3 | [
"Apache-2.0"
] | 21 | 2020-01-29T14:53:31.000Z | 2022-03-20T10:53:27.000Z | src/game/items/CItemMulti.cpp | criminalx/Source-X | 7e656bb9edcbe78dd735feeb12a9ccff3b0f2fe3 | [
"Apache-2.0"
] | 435 | 2020-01-20T12:50:15.000Z | 2022-03-29T03:31:27.000Z | src/game/items/CItemMulti.cpp | criminalx/Source-X | 7e656bb9edcbe78dd735feeb12a9ccff3b0f2fe3 | [
"Apache-2.0"
] | 47 | 2020-01-21T23:25:38.000Z | 2022-03-24T21:54:32.000Z | #include "../../common/resource/CResourceLock.h"
#include "../../common/CException.h"
#include "../../common/sphereproto.h"
#include "../chars/CChar.h"
#include "../clients/CClient.h"
#include "../CServer.h"
#include "../CWorldMap.h"
#include "../triggers.h"
#include "CItemMulti.h"
#include "CItemShip.h"
#include "CIte... | 25.743925 | 202 | 0.544191 | criminalx |
6d534ee13b4cda0a1d26b42ca5c7be9790648b4a | 1,002 | cpp | C++ | RLSimion/CNTKWrapper/Chain.cpp | xcillero001/SimionZoo | b343b08f3356e1aa230d4132b0abb58aac4c5e98 | [
"MIT"
] | 1 | 2019-02-21T10:40:28.000Z | 2019-02-21T10:40:28.000Z | RLSimion/CNTKWrapper/Chain.cpp | JosuGom3z/SimionZoo | b343b08f3356e1aa230d4132b0abb58aac4c5e98 | [
"MIT"
] | null | null | null | RLSimion/CNTKWrapper/Chain.cpp | JosuGom3z/SimionZoo | b343b08f3356e1aa230d4132b0abb58aac4c5e98 | [
"MIT"
] | null | null | null |
#include "xmltags.h"
#include "NetworkArchitecture.h"
#include "Parameter.h"
#include "Chain.h"
#include "Link.h"
#include "Network.h"
#include "Parameter.h"
#include "ParameterValues.h"
#include "Exceptions.h"
#include "CNTKWrapperInternals.h"
Chain::Chain()
{
m_chainLinks = std::vector<Link*>();
}
Chain::~Chain(... | 19.269231 | 94 | 0.720559 | xcillero001 |
6d59307f1f90efe64f6283b3e08559b938583808 | 2,161 | cpp | C++ | jp.atcoder/abc007/abc007_3/19373550.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-09T03:06:25.000Z | 2022-02-09T03:06:25.000Z | jp.atcoder/abc007/abc007_3/19373550.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-05T22:53:18.000Z | 2022-02-09T01:29:30.000Z | jp.atcoder/abc007/abc007_3/19373550.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
template<typename T>
struct Edge {
public:
T weight, capacity;
Edge(
T weight=1, T capacity=1
)
: weight(weight),
capacity(capacity)
{}
};
template<typename T>
struct Node {};
template<typename T>
struct Graph {
public:
Graph(int ... | 13.257669 | 32 | 0.441 | kagemeka |
6d5d2f2c995e2621b89dbd87e9a096443cb7bbf9 | 2,862 | hpp | C++ | include/TMPro/TMP_TextUtilities_LineSegment.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/TMPro/TMP_TextUtilities_LineSegment.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/TMPro/TMP_TextUtilities_LineSegment.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: TMPro.TMP_TextUtilities
#include "T... | 45.428571 | 146 | 0.721523 | RedBrumbler |
6d629cf97390861e88c145c95724d8930b5e52a9 | 740 | hpp | C++ | src/text.hpp | ebassi/node-clutter | 760b8f5704a216dcd633658051c0778151b21391 | [
"MIT"
] | 1 | 2017-08-31T00:58:33.000Z | 2017-08-31T00:58:33.000Z | src/text.hpp | ebassi/node-clutter | 760b8f5704a216dcd633658051c0778151b21391 | [
"MIT"
] | null | null | null | src/text.hpp | ebassi/node-clutter | 760b8f5704a216dcd633658051c0778151b21391 | [
"MIT"
] | null | null | null | #ifndef NODE_CLUTTER_TEXT_H_
#define NODE_CLUTTER_TEXT_H_
#include <clutter/clutter.h>
#include <v8.h>
#include <node.h>
namespace clutter {
class Text : public Actor {
public:
static void Initialize(v8::Handle<v8::Object> target);
protected:
Text();
static v8::Handle<v8::Value> New(const v8::Arguments& args);
... | 25.517241 | 69 | 0.72973 | ebassi |
6d68c799d92e80137b313e2b08aca1fe9404b034 | 1,255 | cpp | C++ | FamilyTree2.0/FamilyTreeQtGui/AddPersonDialog.cpp | wampirat/FamilyTree | ee6edb8f9bd6afaed6014af21a39d3eb09bd638c | [
"MIT"
] | null | null | null | FamilyTree2.0/FamilyTreeQtGui/AddPersonDialog.cpp | wampirat/FamilyTree | ee6edb8f9bd6afaed6014af21a39d3eb09bd638c | [
"MIT"
] | null | null | null | FamilyTree2.0/FamilyTreeQtGui/AddPersonDialog.cpp | wampirat/FamilyTree | ee6edb8f9bd6afaed6014af21a39d3eb09bd638c | [
"MIT"
] | null | null | null | #include "AddPersonDialog.hpp"
#include "ui_AddPersonDialog.h"
AddPersonDialog::AddPersonDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AddPersonDialog)
{
ui->setupUi(this);
}
AddPersonDialog::~AddPersonDialog()
{
delete ui;
}
bool AddPersonDialog::isPersonCreated() const
{
... | 25.612245 | 68 | 0.683665 | wampirat |
6d6c62587e78f530d60f8189278966a03aa8dd2c | 1,494 | cpp | C++ | shared_model/backend/protobuf/query_responses/impl/proto_error_query_response.cpp | 132/iroha | 66e1a490dc8917530020c53d162c573571deafd3 | [
"Apache-2.0"
] | null | null | null | shared_model/backend/protobuf/query_responses/impl/proto_error_query_response.cpp | 132/iroha | 66e1a490dc8917530020c53d162c573571deafd3 | [
"Apache-2.0"
] | 8 | 2017-12-25T05:25:58.000Z | 2018-01-20T10:12:45.000Z | shared_model/backend/protobuf/query_responses/impl/proto_error_query_response.cpp | 132/iroha | 66e1a490dc8917530020c53d162c573571deafd3 | [
"Apache-2.0"
] | 1 | 2018-01-18T18:23:09.000Z | 2018-01-18T18:23:09.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "backend/protobuf/query_responses/proto_error_query_response.hpp"
#include "utils/variant_deserializer.hpp"
namespace shared_model {
namespace proto {
ErrorQueryResponse::ErrorQueryResponse(
ir... | 33.2 | 77 | 0.631191 | 132 |
6d6f06c272a40faeb2270dd82548b2eaea77aecb | 133 | cpp | C++ | Empaerior/src/state/state.cpp | Darkyun991/Empaerior | b02fcf86fb49134dd2cf919667beb7eb789377e5 | [
"MIT"
] | 4 | 2019-12-01T20:01:58.000Z | 2020-10-19T20:37:30.000Z | Empaerior/src/state/state.cpp | Dantsz/Empaerior | b02fcf86fb49134dd2cf919667beb7eb789377e5 | [
"MIT"
] | null | null | null | Empaerior/src/state/state.cpp | Dantsz/Empaerior | b02fcf86fb49134dd2cf919667beb7eb789377e5 | [
"MIT"
] | 1 | 2020-01-31T09:19:36.000Z | 2020-01-31T09:19:36.000Z | #include "pch.h"
#include "../include/state/state.h"
#include "../include/application.h"
Empaerior::State::State() = default;
| 11.083333 | 36 | 0.661654 | Darkyun991 |
6d70c49284054233aacbd9ee7867db587c0c5ac7 | 12,226 | cpp | C++ | src/FTPServer/FTPServer/SecurityPage.cpp | xingyun86/ppshuaiFTPServer | 7cc8435ca541be75a0b48ff2a13b9f083e52af37 | [
"MIT"
] | 1 | 2017-12-10T06:08:10.000Z | 2017-12-10T06:08:10.000Z | src/FTPServer/FTPServer/SecurityPage.cpp | xingyun86/ppshuaiFTPServer | 7cc8435ca541be75a0b48ff2a13b9f083e52af37 | [
"MIT"
] | null | null | null | src/FTPServer/FTPServer/SecurityPage.cpp | xingyun86/ppshuaiFTPServer | 7cc8435ca541be75a0b48ff2a13b9f083e52af37 | [
"MIT"
] | 1 | 2018-10-26T07:19:23.000Z | 2018-10-26T07:19:23.000Z |
/****************************************************************/
/* */
/* SecurityPage.cpp */
/* */
/* Implementation of the CSecurityPage class. */
/* This class is a part of the FTP Server. */
/* */
/* Programmed by xingyun86 */
/* ... | 28.498834 | 80 | 0.530754 | xingyun86 |
6d7222fbb47d3b5de31c87aac906213c74ab219c | 2,642 | cpp | C++ | Samples/GetIMUData/getIMUData.cpp | CelePixel/CeleX5_Zynq | de1058cb4905984f2a1279ec612105d70a7c117b | [
"Apache-2.0"
] | 1 | 2019-07-10T06:29:35.000Z | 2019-07-10T06:29:35.000Z | Samples/GetIMUData/getIMUData.cpp | CelePixel/CeleX5-Zynq | de1058cb4905984f2a1279ec612105d70a7c117b | [
"Apache-2.0"
] | null | null | null | Samples/GetIMUData/getIMUData.cpp | CelePixel/CeleX5-Zynq | de1058cb4905984f2a1279ec612105d70a7c117b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2018 CelePixel Technology Co. Ltd. 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 r... | 25.403846 | 112 | 0.715746 | CelePixel |
6d74865cd4979cfe7bc8ba248b473a1406c0afd3 | 1,065 | hpp | C++ | rmvmath/matrix/matrix4x3/operator/TMatrix4x3_operator.hpp | vitali-kurlovich/RMMath | a982b89e5db08e9cd16cb08e92839a315b6198dc | [
"MIT"
] | null | null | null | rmvmath/matrix/matrix4x3/operator/TMatrix4x3_operator.hpp | vitali-kurlovich/RMMath | a982b89e5db08e9cd16cb08e92839a315b6198dc | [
"MIT"
] | null | null | null | rmvmath/matrix/matrix4x3/operator/TMatrix4x3_operator.hpp | vitali-kurlovich/RMMath | a982b89e5db08e9cd16cb08e92839a315b6198dc | [
"MIT"
] | null | null | null | //
// Created by Vitali Kurlovich on 12/16/15.
//
#ifndef RMVECTORMATH_TMATRIX4X3_OPERATOR_HPP
#define RMVECTORMATH_TMATRIX4X3_OPERATOR_HPP
#include "../TMatrix4x3_def.hpp"
namespace rmmath {
namespace matrix {
template<typename T>
inline bool operator==(const TMatrix4x3 <T> &a, const TMatrix4... | 22.1875 | 82 | 0.432864 | vitali-kurlovich |
6d74f87975bba2c9e295d172f5d7f68181f95b9e | 6,420 | hpp | C++ | src/treeml/parser.hpp | igagis/puu | 0a56fae45cd7727febffbc8eaf48e6e969d9571d | [
"MIT"
] | null | null | null | src/treeml/parser.hpp | igagis/puu | 0a56fae45cd7727febffbc8eaf48e6e969d9571d | [
"MIT"
] | null | null | null | src/treeml/parser.hpp | igagis/puu | 0a56fae45cd7727febffbc8eaf48e6e969d9571d | [
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2012-2021 Ivan Gagis <igagis@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,... | 33.4375 | 119 | 0.75109 | igagis |
6d7546f4fb95f8fe845c29d2a0a74a0e5ae2fe80 | 551 | cpp | C++ | tests/sparse_set.cpp | ColinH/apecs | 5a263bbb256213087ddad293d55fbfb1df2b234d | [
"MIT"
] | null | null | null | tests/sparse_set.cpp | ColinH/apecs | 5a263bbb256213087ddad293d55fbfb1df2b234d | [
"MIT"
] | null | null | null | tests/sparse_set.cpp | ColinH/apecs | 5a263bbb256213087ddad293d55fbfb1df2b234d | [
"MIT"
] | null | null | null | #include "apecs.hpp"
#include <gtest/gtest.h>
TEST(sparse_set, set_and_get)
{
apx::sparse_set<int> set;
set.insert(2, 5);
ASSERT_TRUE(set.has(2));
ASSERT_EQ(set[2], 5);
}
TEST(sparse_set, erase)
{
apx::sparse_set<int> set;
set.insert(2, 5);
ASSERT_TRUE(set.has(2));
set.erase(2);
... | 16.69697 | 42 | 0.598911 | ColinH |
6d791aea2c24e7f7199c94d53547a4e950efa33e | 557 | hpp | C++ | src/server/Player.hpp | Fenex330/surv-royale | 4b5264a346e44e7460221cc23c8aaf9a10c4a4d7 | [
"MIT"
] | 2 | 2022-03-01T18:57:26.000Z | 2022-03-20T18:20:13.000Z | src/server/Player.hpp | Fenex330/surv-royale | 4b5264a346e44e7460221cc23c8aaf9a10c4a4d7 | [
"MIT"
] | null | null | null | src/server/Player.hpp | Fenex330/surv-royale | 4b5264a346e44e7460221cc23c8aaf9a10c4a4d7 | [
"MIT"
] | 1 | 2021-11-11T19:01:18.000Z | 2021-11-11T19:01:18.000Z | #pragma once
#include "headers.hpp"
class Player : public Obstacle
{
public:
bool active;
std::string nickname;
std::string ID;
sf::IpAddress address;
unsigned short port;
unsigned short slot;
float crosshair_distance;
int speed;
std::array<I... | 23.208333 | 122 | 0.594255 | Fenex330 |
6d79e59ad60e30a7f9ec4872831e0a2d537c96b7 | 3,919 | hpp | C++ | src/vendor/Karabiner-VirtualHIDDevice/src/include/karabiner_virtual_hid_device_methods.hpp | mul14/wwwjfy-Karabiner-Elements | 36c51373d2cce23f913685dbf2b6b6e5479619dd | [
"Unlicense"
] | 271 | 2016-10-03T22:35:55.000Z | 2022-02-14T05:40:39.000Z | src/vendor/Karabiner-VirtualHIDDevice/src/include/karabiner_virtual_hid_device_methods.hpp | mul14/wwwjfy-Karabiner-Elements | 36c51373d2cce23f913685dbf2b6b6e5479619dd | [
"Unlicense"
] | 2 | 2017-02-03T03:16:21.000Z | 2017-06-10T09:52:46.000Z | src/vendor/Karabiner-VirtualHIDDevice/src/include/karabiner_virtual_hid_device_methods.hpp | mul14/wwwjfy-Karabiner-Elements | 36c51373d2cce23f913685dbf2b6b6e5479619dd | [
"Unlicense"
] | 25 | 2016-10-06T19:20:13.000Z | 2021-06-17T03:02:09.000Z | // -*- Mode: c++ -*-
#pragma once
#include "karabiner_virtual_hid_device.hpp"
#include <IOKit/IOKitLib.h>
namespace pqrs {
class karabiner_virtual_hid_device_methods final {
public:
// VirtualHIDKeyboard
static IOReturn initialize_virtual_hid_keyboard(mach_port_t connection, const karabiner_virtual_hid_device::... | 49.607595 | 160 | 0.620056 | mul14 |
6d7a0bed6aa3ca0b6a2bd84ad7b7e349382fc681 | 5,892 | hh | C++ | src/c++/include/common/Program.hh | sequencing/EAGLE | 6da0438c1f7620ea74dec1f34baf20bb0b14b110 | [
"BSD-3-Clause"
] | 28 | 2015-05-22T16:03:29.000Z | 2022-01-15T12:12:46.000Z | src/c++/include/common/Program.hh | sequencing/EAGLE | 6da0438c1f7620ea74dec1f34baf20bb0b14b110 | [
"BSD-3-Clause"
] | 15 | 2015-10-21T11:19:09.000Z | 2020-07-15T05:01:12.000Z | src/c++/include/common/Program.hh | sequencing/EAGLE | 6da0438c1f7620ea74dec1f34baf20bb0b14b110 | [
"BSD-3-Clause"
] | 8 | 2017-01-21T00:31:17.000Z | 2018-08-12T13:28:57.000Z | /**
** Copyright (c) 2014 Illumina, Inc.
**
** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
**
** \description Declaration of the skeleton of all c++ programs.
**
** \author Mauricio Varea
**/
#ifndef EAGLE_... | 29.60804 | 144 | 0.594365 | sequencing |
6d7a501de0bc546d06424e3c8eb1630db7dd4c1d | 192 | hpp | C++ | support/modules/rmm_cnstrct/functions.hpp | beocom/dhqlax_mso.fallujah | 81217510ee2b66afbbef72c5ee3f9e4b3b7eff7f | [
"Apache-2.0"
] | null | null | null | support/modules/rmm_cnstrct/functions.hpp | beocom/dhqlax_mso.fallujah | 81217510ee2b66afbbef72c5ee3f9e4b3b7eff7f | [
"Apache-2.0"
] | null | null | null | support/modules/rmm_cnstrct/functions.hpp | beocom/dhqlax_mso.fallujah | 81217510ee2b66afbbef72c5ee3f9e4b3b7eff7f | [
"Apache-2.0"
] | null | null | null | class cnstrct {
file = "support\modules\rmm_cnstrct";
class functions {
class create {};
class handler {};
class open {};
class refresh {};
class sell {};
class update {};
};
}; | 17.454545 | 38 | 0.619792 | beocom |
6d8128eba1b5fe8fe4c86b07b60d6892ed6aa6bb | 13,223 | cpp | C++ | ace/Timeprobe_T.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | ace/Timeprobe_T.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | ace/Timeprobe_T.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | 1 | 2020-04-26T03:07:12.000Z | 2020-04-26T03:07:12.000Z | #ifndef ACE_TIMEPROBE_T_CPP
#define ACE_TIMEPROBE_T_CPP
#include "ace/config-all.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined (ACE_COMPILE_TIMEPROBES)
#include "ace/Timeprobe.h"
#include "ace/High_Res_Timer.h"
#include "ace/OS_NS_string.h"
ACE_... | 30.967213 | 109 | 0.626257 | azerothcore |
6d821ed8f72731e808081df89cab1230029335e9 | 1,124 | hpp | C++ | src/serial/split_fluxes.hpp | Scientific-Computing-BPHC/Meshfree_Adjoint_cpp | 8afe99007b08e6a21563c44f09e972a260fb5b94 | [
"MIT"
] | null | null | null | src/serial/split_fluxes.hpp | Scientific-Computing-BPHC/Meshfree_Adjoint_cpp | 8afe99007b08e6a21563c44f09e972a260fb5b94 | [
"MIT"
] | null | null | null | src/serial/split_fluxes.hpp | Scientific-Computing-BPHC/Meshfree_Adjoint_cpp | 8afe99007b08e6a21563c44f09e972a260fb5b94 | [
"MIT"
] | null | null | null | #ifndef SPLIT_FLUXES_HPP
#define SPLIT_FLUXES_HPP
#include "point.hpp"
void flux_Gyn(codi::RealReverse Gyn[4], codi::RealReverse nx, codi::RealReverse ny, codi::RealReverse u1, codi::RealReverse u2, codi::RealReverse rho, codi::RealReverse pr);
void flux_Gyp(codi::RealReverse Gyp[4], codi::RealReverse nx, codi::Real... | 66.117647 | 173 | 0.768683 | Scientific-Computing-BPHC |
6d829f817ca0208c44916a5be74993a777a74ff8 | 435 | cpp | C++ | FoxelEngine/Axes.cpp | FoxelFox/FoxelEngine | 604aa08c9f50cde278ec6e4f84cadc45723596e0 | [
"MIT"
] | 6 | 2020-06-10T10:44:57.000Z | 2022-03-08T16:45:18.000Z | FoxelEngine/Axes.cpp | FoxelFox/FoxelEngine | 604aa08c9f50cde278ec6e4f84cadc45723596e0 | [
"MIT"
] | null | null | null | FoxelEngine/Axes.cpp | FoxelFox/FoxelEngine | 604aa08c9f50cde278ec6e4f84cadc45723596e0 | [
"MIT"
] | null | null | null | #include "Axes.h"
Axes::Axes(void){
anzVertex = 4;
anzIndex = 6;
indices = AxeIndices;
vertices = AxeVertices;
colors = AxeColor;
}
void Axes::render(){
glBindVertexArray(vao);
glEnableVertexAttribArray(0);
glEnableVertexAttribArray(1);
glDrawElements(GL_LINES,6,GL_UNSIGNED_INT,indices);
gl... | 18.125 | 53 | 0.708046 | FoxelFox |
6d84aed026dc08c4da387ebe0695ae5a0bda1df2 | 13,540 | cpp | C++ | lib/src/models/filename.cpp | BramboraSK/imgbrd-grabber | ef718d4f7df7843f03f058959fbcc72e2ba54457 | [
"Apache-2.0"
] | 1 | 2019-08-03T13:11:11.000Z | 2019-08-03T13:11:11.000Z | lib/src/models/filename.cpp | AtlasJan/imgbrd-grabber | 89c1425a7d1340d99b98e3121ef981ed27c4ee9c | [
"Apache-2.0"
] | null | null | null | lib/src/models/filename.cpp | AtlasJan/imgbrd-grabber | 89c1425a7d1340d99b98e3121ef981ed27c4ee9c | [
"Apache-2.0"
] | null | null | null | #include "models/filename.h"
#include <QCollator>
#include <QJSEngine>
#include <QRegularExpression>
#include <QSettings>
#include <algorithm>
#include "filename/ast/filename-node-variable.h"
#include "filename/ast-filename.h"
#include "filename/filename-cache.h"
#include "filename/filename-execution-visitor.h"
#includ... | 33.432099 | 426 | 0.666027 | BramboraSK |
6d8603c0e924c70003faab836b8b49ff88e64410 | 4,428 | cpp | C++ | tuw_multi_robot_ctrl/src/controller_node.cpp | JakubHazik/tuw_multi_robot | 9c5c8a2ed87e0bf6f9a573e38b4d5790dfc25aba | [
"BSD-3-Clause"
] | null | null | null | tuw_multi_robot_ctrl/src/controller_node.cpp | JakubHazik/tuw_multi_robot | 9c5c8a2ed87e0bf6f9a573e38b4d5790dfc25aba | [
"BSD-3-Clause"
] | null | null | null | tuw_multi_robot_ctrl/src/controller_node.cpp | JakubHazik/tuw_multi_robot | 9c5c8a2ed87e0bf6f9a573e38b4d5790dfc25aba | [
"BSD-3-Clause"
] | null | null | null | #include <ros/ros.h>
#include <simple_velocity_controller/controller_node.h>
#include <tuw_nav_msgs/ControllerState.h>
#include <tf/transform_datatypes.h>
#define NSEC_2_SECS(A) ((float)A / 1000000000.0)
int main(int argc, char** argv)
{
std::string name("pid_controller");
if (argc >= 2)
{
name = argv[1]... | 23.806452 | 117 | 0.649051 | JakubHazik |
6d8a955cb721b29f4e1ebffe45a677d8a6f0b209 | 2,493 | cpp | C++ | Src-zd/thread_show.cpp | SuWeipeng/xm_rc | 7f5d9bcfc42dff7e9e72a3e096b195ea1a3076aa | [
"Apache-2.0"
] | 2 | 2020-03-10T03:00:38.000Z | 2020-05-04T02:40:10.000Z | Src-zd/thread_show.cpp | SuWeipeng/xm_rc | 7f5d9bcfc42dff7e9e72a3e096b195ea1a3076aa | [
"Apache-2.0"
] | null | null | null | Src-zd/thread_show.cpp | SuWeipeng/xm_rc | 7f5d9bcfc42dff7e9e72a3e096b195ea1a3076aa | [
"Apache-2.0"
] | 3 | 2020-03-10T03:00:48.000Z | 2021-01-26T06:03:49.000Z | #include "rtt_interface.h"
#include <string.h>
#include <entry.h>
#include "AP_Show.h"
#include "AP_Buffer.h"
extern vel_target vel;
extern AP_Show* show;
extern AP_Buffer* buffer;
extern uint8_t key_value;
extern ap_t mav_data;
extern uint8_t mode_changed;
extern int8_t car_mode;
extern "C"{
char g... | 21.127119 | 51 | 0.549539 | SuWeipeng |
6d8ba1ab920195d39dd0f7ba8400dfb30608253b | 463 | cpp | C++ | cpp/new_features/cpp17/as_const.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | 2 | 2019-12-21T00:53:47.000Z | 2020-01-01T10:36:30.000Z | cpp/new_features/cpp17/as_const.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | cpp/new_features/cpp17/as_const.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | //
// Created by kaiser on 2020/4/18.
//
#include <iostream>
#include <string>
#include <utility>
int main() {
// 当基于范围的 for 循环被用于一个具有写时复制语义的(非
// const)对象时, 它可能会通过(隐式)调用非 const 的 begin()
// 成员函数触发深层复制
// 如果想要避免这种行为(比如循环实际上不会修改这个对象), 可以使用
// std::as_const
// 假设是写时复制的字符串
std::string cow_string{"str"};
... | 17.807692 | 49 | 0.598272 | KaiserLancelot |
6d8f3afe3b32c425324b717c059a17c0033960e6 | 20,363 | cpp | C++ | lib/slikenet/DependentExtensions/RPC3/RPC3.cpp | TRUEPADDii/GothicMultiplayerLauncher | 1ae083a62c083fc99bb9b1358a223ae02174af3f | [
"WTFPL"
] | 2 | 2018-04-09T12:54:20.000Z | 2018-12-07T20:34:53.000Z | lib/slikenet/DependentExtensions/RPC3/RPC3.cpp | TRUEPADDii/GothicMultiplayerLauncher | 1ae083a62c083fc99bb9b1358a223ae02174af3f | [
"WTFPL"
] | 4 | 2018-04-10T23:28:47.000Z | 2021-05-16T20:35:21.000Z | lib/slikenet/DependentExtensions/RPC3/RPC3.cpp | TRUEPADDii/GothicMultiplayerLauncher | 1ae083a62c083fc99bb9b1358a223ae02174af3f | [
"WTFPL"
] | 3 | 2019-02-13T15:10:03.000Z | 2021-07-12T19:24:07.000Z | /*
* Original work: Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* RakNet License.txt file in the licenses directory of this source tree. An additional grant
* of patent rights can be found in the RakNet Patents.txt file... | 31.570543 | 169 | 0.742572 | TRUEPADDii |
6d92b8e7d365c3328b07dd9ad8c945eeb073357b | 5,334 | hpp | C++ | QuantExt/qle/termstructures/yoyoptionletvolatilitysurface.hpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | null | null | null | QuantExt/qle/termstructures/yoyoptionletvolatilitysurface.hpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | null | null | null | QuantExt/qle/termstructures/yoyoptionletvolatilitysurface.hpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:04:10.000Z | 2022-02-07T02:04:10.000Z | /*
Copyright (C) 2018 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 49.850467 | 120 | 0.726847 | PiotrSiejda |
6d964653d50aa71e89be517e4e3dc907397f332e | 98 | hpp | C++ | include/easy2d/lib/string.hpp | snatvb/easy2d | 0d82f4fd267e91605389e48df9c2d5b60887314f | [
"MIT"
] | null | null | null | include/easy2d/lib/string.hpp | snatvb/easy2d | 0d82f4fd267e91605389e48df9c2d5b60887314f | [
"MIT"
] | null | null | null | include/easy2d/lib/string.hpp | snatvb/easy2d | 0d82f4fd267e91605389e48df9c2d5b60887314f | [
"MIT"
] | null | null | null | #pragma once
#include <string>
namespace easy2d
{
using string = std::string;
} // -- easy2d
| 12.25 | 31 | 0.653061 | snatvb |
6d9b2b89a80790389f99519241b8db026314361f | 1,517 | cpp | C++ | tests/regressions/execution_tree/empty_hstack_509.cpp | diehlpk/phylanx | 7eba54f0f22dc66d18addac0b24f006380d0f798 | [
"BSL-1.0"
] | null | null | null | tests/regressions/execution_tree/empty_hstack_509.cpp | diehlpk/phylanx | 7eba54f0f22dc66d18addac0b24f006380d0f798 | [
"BSL-1.0"
] | null | null | null | tests/regressions/execution_tree/empty_hstack_509.cpp | diehlpk/phylanx | 7eba54f0f22dc66d18addac0b24f006380d0f798 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2018 Hartmut Kaiser
//
// 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)
// Fixing #509: Empty list defined inside Phylanx function has an issue
#include <phylanx/phylanx.hpp>
#include <hpx/h... | 30.34 | 81 | 0.699407 | diehlpk |
6d9fa2b3f7d0798e61cb5b7d0b2cb7b61be8c731 | 4,803 | cpp | C++ | src/3rdparty/torrent-rasterbar/src/resolve_links.cpp | adem4ik/LIII | 6aed4f91641c63b0e3d8d121769b9ecbb832602f | [
"MIT"
] | 664 | 2017-08-14T22:25:24.000Z | 2022-03-29T13:54:39.000Z | src/3rdparty/torrent-rasterbar/src/resolve_links.cpp | adem4ik/LIII | 6aed4f91641c63b0e3d8d121769b9ecbb832602f | [
"MIT"
] | 21 | 2018-11-05T22:03:20.000Z | 2022-03-25T15:04:59.000Z | src/3rdparty/torrent-rasterbar/src/resolve_links.cpp | adem4ik/LIII | 6aed4f91641c63b0e3d8d121769b9ecbb832602f | [
"MIT"
] | 65 | 2019-07-23T11:56:01.000Z | 2022-03-16T06:17:37.000Z | /*
Copyright (c) 2014-2016, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | 33.124138 | 78 | 0.725588 | adem4ik |
6da207c00724d0fa0ea127d3db46c30b9e66c8ba | 16,133 | hpp | C++ | sph_yamauchi/run/vector_x86.hpp | yamauchi1132/Research_Codes | c9e104f8592277cb4aa5c479b014c78c702a0939 | [
"FSFAP"
] | null | null | null | sph_yamauchi/run/vector_x86.hpp | yamauchi1132/Research_Codes | c9e104f8592277cb4aa5c479b014c78c702a0939 | [
"FSFAP"
] | null | null | null | sph_yamauchi/run/vector_x86.hpp | yamauchi1132/Research_Codes | c9e104f8592277cb4aa5c479b014c78c702a0939 | [
"FSFAP"
] | null | null | null | #pragma once
#include <immintrin.h>
struct v4sf;
struct v8sf;
struct v2df;
struct v4df;
struct v4sf {
typedef float _v4sf __attribute__((vector_size(16))) __attribute__((aligned(16)));
_v4sf val;
static int getVectorLength() {
return 4;
}
v4sf(const v4sf & rhs) : val(rhs.val) {}
v4s... | 28.453263 | 98 | 0.551478 | yamauchi1132 |
6da229867c3a2cade69524ae6e8f88b642c7c02e | 9,611 | hpp | C++ | tmrcheck.hpp | timoteogb/finn-hlslib | 6efd5dee886ba7cc542ab69ae3c8b09d4a1ed1af | [
"BSD-3-Clause"
] | 112 | 2019-09-23T12:23:26.000Z | 2022-03-09T16:36:07.000Z | tmrcheck.hpp | timoteogb/finn-hlslib | 6efd5dee886ba7cc542ab69ae3c8b09d4a1ed1af | [
"BSD-3-Clause"
] | 26 | 2019-11-27T17:51:06.000Z | 2022-02-04T21:06:59.000Z | tmrcheck.hpp | timoteogb/finn-hlslib | 6efd5dee886ba7cc542ab69ae3c8b09d4a1ed1af | [
"BSD-3-Clause"
] | 50 | 2019-10-08T20:35:41.000Z | 2022-03-22T17:20:00.000Z | /******************************************************************************
* Copyright (c) 2021, Xilinx, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributio... | 46.882927 | 135 | 0.613984 | timoteogb |
6da3450b336f1b6746301a35745de95e4705f1ca | 282 | cpp | C++ | verify/fast-pow.aizu-power.test.cpp | dutinmeow/library | 3501f36656795f432ac816941ec7e9548dc3d6ef | [
"MIT"
] | 7 | 2022-01-23T07:58:19.000Z | 2022-02-25T04:11:12.000Z | verify/fast-pow.aizu-power.test.cpp | dutinmeow/library | 3501f36656795f432ac816941ec7e9548dc3d6ef | [
"MIT"
] | null | null | null | verify/fast-pow.aizu-power.test.cpp | dutinmeow/library | 3501f36656795f432ac816941ec7e9548dc3d6ef | [
"MIT"
] | null | null | null | #define PROBLEM "https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=NTL_1_B"
#include <bits/stdc++.h>
using namespace std;
#include "utility/fast-pow.hpp"
const long long MOD = 1e9 + 7;
int main() {
long long M, N;
cin >> M >> N;
cout << fast_pow(M, N, MOD) << '\n';
} | 20.142857 | 83 | 0.648936 | dutinmeow |
6da8a33b93785639e63ae532d522e33071916487 | 6,708 | hpp | C++ | Core/AString.hpp | koz4k/soccer | 7bceea654b50c5c0e18effd38e79249bd295e0a4 | [
"MIT"
] | 1 | 2018-09-28T17:04:11.000Z | 2018-09-28T17:04:11.000Z | Core/AString.hpp | koz4k/soccer | 7bceea654b50c5c0e18effd38e79249bd295e0a4 | [
"MIT"
] | 1 | 2021-04-06T21:57:39.000Z | 2021-04-06T21:57:39.000Z | Core/AString.hpp | koz4k/soccer | 7bceea654b50c5c0e18effd38e79249bd295e0a4 | [
"MIT"
] | 3 | 2017-08-26T12:06:05.000Z | 2019-11-22T16:57:47.000Z | template <class B>
force_inline
void AString<B>::Insert(int pos, const char *s)
{
Insert(pos, s, strlen__(s));
}
template <class B>
void AString<B>::Cat(int c, int count)
{
tchar *s = B::Insert(GetLength(), count, NULL);
while(count--)
*s++ = c;
}
template <class B>
force_inline
void AString<B>::Cat(const tchar ... | 20.576687 | 94 | 0.601521 | koz4k |
6da9ad8e2d5ddcfecf30764dc2ec399ccc368e82 | 1,167 | cpp | C++ | DX9ShareContainer.cpp | Yamamoto0773/libClass | 630f00b01780904463ad9a0c9b74f2e078d01bc8 | [
"BSD-2-Clause"
] | 1 | 2019-12-07T13:53:31.000Z | 2019-12-07T13:53:31.000Z | DX9ShareContainer.cpp | Yamamoto0773/Dx9Wrapper | 630f00b01780904463ad9a0c9b74f2e078d01bc8 | [
"BSD-2-Clause"
] | null | null | null | DX9ShareContainer.cpp | Yamamoto0773/Dx9Wrapper | 630f00b01780904463ad9a0c9b74f2e078d01bc8 | [
"BSD-2-Clause"
] | null | null | null | #include "DX9ShareContainer.hpp"
#include <d3dx9.h>
namespace dx9 {
namespace resource {
bool DX9ShareContainer::isResCreated = false;
size_t DX9ShareContainer::topLayerPos = 0;
LogManager* DX9ShareContainer::log;
CComPtr<IDirect3D9> DX9ShareContainer::d3d9;
CComPtr<IDirect3D... | 38.9 | 77 | 0.735219 | Yamamoto0773 |
6daa7e39d96e4d5a8f7193264f99e25e9d5af9e1 | 6,803 | cpp | C++ | src/Menge/MengeCore/PluginEngine/CorePluginEngine.cpp | mfprado/Menge | 75b1ebe91989c2a58073444fb2d5908644856372 | [
"Apache-2.0"
] | null | null | null | src/Menge/MengeCore/PluginEngine/CorePluginEngine.cpp | mfprado/Menge | 75b1ebe91989c2a58073444fb2d5908644856372 | [
"Apache-2.0"
] | null | null | null | src/Menge/MengeCore/PluginEngine/CorePluginEngine.cpp | mfprado/Menge | 75b1ebe91989c2a58073444fb2d5908644856372 | [
"Apache-2.0"
] | 1 | 2021-07-01T09:40:01.000Z | 2021-07-01T09:40:01.000Z | #include "MengeCore/PluginEngine/CorePluginEngine.h"
#include "MengeCore/Agents/AgentGenerators/AgentGeneratorDatabase.h"
#include "MengeCore/Agents/Elevations/ElevationDatabase.h"
#include "MengeCore/Agents/Events/EventEffectDB.h"
#include "MengeCore/Agents/Events/EventTargetDB.h"
#include "MengeCore/Agents/Events/Ev... | 35.617801 | 89 | 0.565339 | mfprado |
6dad3c9774ede8dabd840e73714882e4b27b5a3e | 7,274 | cpp | C++ | Simulation.cpp | thomasbinay/SimuWorld | 09929f4c71d5fa9da87976772bb210b2d19fd1b2 | [
"MIT"
] | null | null | null | Simulation.cpp | thomasbinay/SimuWorld | 09929f4c71d5fa9da87976772bb210b2d19fd1b2 | [
"MIT"
] | null | null | null | Simulation.cpp | thomasbinay/SimuWorld | 09929f4c71d5fa9da87976772bb210b2d19fd1b2 | [
"MIT"
] | null | null | null | #include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_image.h>
#include <cstdlib>
#include <ctime>
#include <map>
#include <fstream>
#include <iostream>
#include "Simulation.hpp"
#include "speed.hpp"
Simulation::Simulation(Settings const& settings): m_settings(settings)
{
srand(time(0));
... | 30.953191 | 148 | 0.590184 | thomasbinay |
6daf6b90b10252a6ee737c88f9009497d751cd80 | 1,714 | hpp | C++ | src/rendering/IndexBuffer.hpp | am-lola/ARVisualizer | b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d | [
"MIT"
] | 1 | 2018-05-29T07:55:52.000Z | 2018-05-29T07:55:52.000Z | src/rendering/IndexBuffer.hpp | am-lola/ARVisualizer | b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d | [
"MIT"
] | null | null | null | src/rendering/IndexBuffer.hpp | am-lola/ARVisualizer | b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d | [
"MIT"
] | null | null | null | #ifndef _ARINDEXBUFFER_HPP
#define _ARINDEXBUFFER_HPP
#include "common.hpp"
#include "RenderResource.hpp"
#include "RenderDefinitions.hpp"
#ifndef GL_GLEXT_PROTOTYPES
#define GL_GLEXT_PROTOTYPES
#endif
#include <GLFW/glfw3.h>
namespace ar
{
class IndexBuffer : public RenderResource
{
public:
virtual ~IndexBuffer(... | 18.630435 | 110 | 0.693699 | am-lola |
6db09bf09ef557be55e9d512b3ddefbe2e4eb4a2 | 3,204 | cpp | C++ | src/chronotest.cpp | sda1969/cpptest | 068b8401664e3c13f969abcfc93ea4f60028a73a | [
"Unlicense"
] | null | null | null | src/chronotest.cpp | sda1969/cpptest | 068b8401664e3c13f969abcfc93ea4f60028a73a | [
"Unlicense"
] | null | null | null | src/chronotest.cpp | sda1969/cpptest | 068b8401664e3c13f969abcfc93ea4f60028a73a | [
"Unlicense"
] | null | null | null | /*
* chronotest.cpp
*
* Created on: 24 марта 2017 г.
* Author: dmitry
*/
#include <iostream>
#include <chrono>
#include <thread>
#include <ratio>
#include <ctime>
#include "chronotest.h"
namespace chronotest {
//duration test
void test01(){
std::chrono::duration<int, std::ratio<60,1>> dminutes {1};
... | 37.694118 | 158 | 0.634207 | sda1969 |
6db0f07b83b1b86ff87b68a9bda0147685e3e9ae | 6,226 | hpp | C++ | lib/oatpp/src/oatpp/network/server/SimpleTCPConnectionProvider.hpp | nicraMarcin/custom-oatpp-starter | 91e6c023fa78aab23cc559ab6830970134f749b9 | [
"Apache-2.0"
] | null | null | null | lib/oatpp/src/oatpp/network/server/SimpleTCPConnectionProvider.hpp | nicraMarcin/custom-oatpp-starter | 91e6c023fa78aab23cc559ab6830970134f749b9 | [
"Apache-2.0"
] | null | null | null | lib/oatpp/src/oatpp/network/server/SimpleTCPConnectionProvider.hpp | nicraMarcin/custom-oatpp-starter | 91e6c023fa78aab23cc559ab6830970134f749b9 | [
"Apache-2.0"
] | 1 | 2021-04-22T06:15:46.000Z | 2021-04-22T06:15:46.000Z | /***************************************************************************
*
* Project _____ __ ____ _ _
* ( _ ) /__\ (_ _)_| |_ _| |_
* )(_)( /(__)\ )( (_ _)(_ _)
* (_____)(__)(__)(__) |_| |_|
*
*
* Copyright 2018-present, Leoni... | 33.836957 | 148 | 0.681176 | nicraMarcin |
6db1a80d4a6ffaf31b9b0d6ba1fa2037f8b3f100 | 11,752 | cpp | C++ | moai/src/moaicore/MOAIBox2DPrismaticJoint.cpp | jjimenezg93/ai-pathfinding | e32ae8be30d3df21c7e64be987134049b585f1e6 | [
"MIT"
] | null | null | null | moai/src/moaicore/MOAIBox2DPrismaticJoint.cpp | jjimenezg93/ai-pathfinding | e32ae8be30d3df21c7e64be987134049b585f1e6 | [
"MIT"
] | null | null | null | moai/src/moaicore/MOAIBox2DPrismaticJoint.cpp | jjimenezg93/ai-pathfinding | e32ae8be30d3df21c7e64be987134049b585f1e6 | [
"MIT"
] | null | null | null | // Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved.
// http://getmoai.com
#include "pch.h"
#include <Box2D/Box2D.h>
#include <moaicore/MOAISim.h>
#include <moaicore/MOAIBox2DArbiter.h>
#include <moaicore/MOAIBox2DBody.h>
#include <moaicore/MOAIBox2DPrismaticJoint.h>
#include <moaicore/MOAIBox2DWorld.h>... | 29.089109 | 99 | 0.626361 | jjimenezg93 |
6db1b55cca7a17a60941db9856bd717e5606757f | 3,546 | cpp | C++ | test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp | ontio/libcxx-mirror | 4b4f32ea383deb28911f5618126c6ea6c110b5e4 | [
"Apache-2.0"
] | null | null | null | test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp | ontio/libcxx-mirror | 4b4f32ea383deb28911f5618126c6ea6c110b5e4 | [
"Apache-2.0"
] | 1 | 2019-04-21T16:53:33.000Z | 2019-04-21T17:15:25.000Z | test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp | ontio/libcxx-mirror | 4b4f32ea383deb28911f5618126c6ea6c110b5e4 | [
"Apache-2.0"
] | 1 | 2020-09-09T07:40:32.000Z | 2020-09-09T07:40:32.000Z | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | 34.427184 | 134 | 0.62916 | ontio |
6db41753eb040fc4124bc7ce51c3938f61a526eb | 668 | cpp | C++ | SourceCode/Chapter 03/Pr3-6.cpp | aceiro/poo2019 | 0f93d22296f43a8b024a346f510c00314817d2cf | [
"MIT"
] | 1 | 2019-04-09T18:29:38.000Z | 2019-04-09T18:29:38.000Z | SourceCode/Chapter 03/Pr3-6.cpp | aceiro/poo2019 | 0f93d22296f43a8b024a346f510c00314817d2cf | [
"MIT"
] | null | null | null | SourceCode/Chapter 03/Pr3-6.cpp | aceiro/poo2019 | 0f93d22296f43a8b024a346f510c00314817d2cf | [
"MIT"
] | null | null | null | // This program calculates the average
// of three test scores.
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double test1, test2, test3; // To hold the scores
double average; // To hold the average
// Get the three test scores.
cout << "Enter the first test scor... | 25.692308 | 56 | 0.595808 | aceiro |
6db4a79a56f75f2b423c15d8cd619db4b73e74fe | 5,712 | hpp | C++ | include/tudocomp/meta/RegistryOf.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-22T11:29:02.000Z | 2020-09-22T11:29:02.000Z | include/tudocomp/meta/RegistryOf.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | include/tudocomp/meta/RegistryOf.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-29T08:57:13.000Z | 2020-09-29T08:57:13.000Z | #pragma once
#include <functional>
#include <memory>
#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
#include <tudocomp/meta/Config.hpp>
#include <tudocomp/meta/Meta.hpp>
namespace tdc {
namespace meta {
/// \brief Error type for registry related errors.
class RegistryError : public ... | 25.61435 | 75 | 0.565651 | 421408 |
6db756864cf0c88876f7f1a33599c1d68533f2e0 | 1,630 | cpp | C++ | src/board.cpp | cruzantada/pares | 4e47bb991e1000e65416021d9fec708e6999e8c7 | [
"MIT"
] | 1 | 2019-02-10T01:29:52.000Z | 2019-02-10T01:29:52.000Z | src/board.cpp | cruzantada/pares | 4e47bb991e1000e65416021d9fec708e6999e8c7 | [
"MIT"
] | null | null | null | src/board.cpp | cruzantada/pares | 4e47bb991e1000e65416021d9fec708e6999e8c7 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <random>
#include <chrono>
#include "../include/board.h"
Board::Board()
{
boardArr = { };
}
void Board::addCard(Card card, int index)
{
boardArr[index] = card;
}
std::string Board::getCardWord(int index)
{
return boardArr[index].getWord();
}
std::string Board::getCardMatch(int i... | 18.522727 | 83 | 0.657055 | cruzantada |
6dbd63f2020c5d3f1ca6df93d304ce083b4ee496 | 56,288 | cpp | C++ | test_common/harness/kernelHelpers.cpp | grey-eminence/OpenCL-CTS | a69f3ca8cf2d50d6cf81eebedfa177d03c02b00b | [
"Apache-2.0"
] | null | null | null | test_common/harness/kernelHelpers.cpp | grey-eminence/OpenCL-CTS | a69f3ca8cf2d50d6cf81eebedfa177d03c02b00b | [
"Apache-2.0"
] | null | null | null | test_common/harness/kernelHelpers.cpp | grey-eminence/OpenCL-CTS | a69f3ca8cf2d50d6cf81eebedfa177d03c02b00b | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2017 The Khronos Group 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 la... | 37.276821 | 170 | 0.568274 | grey-eminence |
6dbf6c5ee937acbe14cf2df5cab10e8cdf80ce58 | 16,728 | cpp | C++ | PhysX-3.2.4_PC_SDK_Core/Source/PhysXVehicle/src/VehicleUtilTelemetry.cpp | emlowry/AIEFramework | 8f1dd02105237e72cfe303ec4c541eea7debd1f7 | [
"MIT"
] | null | null | null | PhysX-3.2.4_PC_SDK_Core/Source/PhysXVehicle/src/VehicleUtilTelemetry.cpp | emlowry/AIEFramework | 8f1dd02105237e72cfe303ec4c541eea7debd1f7 | [
"MIT"
] | null | null | null | PhysX-3.2.4_PC_SDK_Core/Source/PhysXVehicle/src/VehicleUtilTelemetry.cpp | emlowry/AIEFramework | 8f1dd02105237e72cfe303ec4c541eea7debd1f7 | [
"MIT"
] | 3 | 2017-01-04T19:48:57.000Z | 2020-03-24T03:05:27.000Z | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | 29.712256 | 197 | 0.768472 | emlowry |
6dc1a8199499ee8c92a8148cb62899af2b4c3cbc | 12,963 | cpp | C++ | src/alns/PALNS-CVRP/Route.cpp | alberto-santini/cvrp-decomposition | 854d2b5b7cdd51fe4ab46acac7d88dbc7e5bfb88 | [
"MIT"
] | null | null | null | src/alns/PALNS-CVRP/Route.cpp | alberto-santini/cvrp-decomposition | 854d2b5b7cdd51fe4ab46acac7d88dbc7e5bfb88 | [
"MIT"
] | null | null | null | src/alns/PALNS-CVRP/Route.cpp | alberto-santini/cvrp-decomposition | 854d2b5b7cdd51fe4ab46acac7d88dbc7e5bfb88 | [
"MIT"
] | null | null | null | // @@@ Notice! the savings algorithm assumes symmetric costs!
#include "Route.h"
// From SRP-Utils
#include "Utils.h"
#include "VectorUtils.h"
Route::Route(const CVRPInstance& instance) : m_pInstance(&instance), m_pMatDists(&(instance.getDists())) {
int iN = instance.getN();
m_vecRoute.push_back(0)... | 41.816129 | 161 | 0.615598 | alberto-santini |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.