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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7383d15616612c6dbb87238e851c4576c000dadb | 7,852 | cpp | C++ | src/config.cpp | liulilittle/rinetd | fb07b030de5d522f15b0ad88a2d92e0d24058dff | [
"MIT"
] | 1 | 2022-01-30T07:44:01.000Z | 2022-01-30T07:44:01.000Z | src/config.cpp | liulilittle/rinetd | fb07b030de5d522f15b0ad88a2d92e0d24058dff | [
"MIT"
] | null | null | null | src/config.cpp | liulilittle/rinetd | fb07b030de5d522f15b0ad88a2d92e0d24058dff | [
"MIT"
] | null | null | null | #include <config.h>
static std::string
read_config(int argc, const char* argv[]) {
std::string path;
if (argc > 1) {
char buf[PATH_MAX + 1];
for (int i = 1; i < argc; i++) {
if (sscanf(argv[i], "-c %s", buf) > 0) {
path = buf;
break;
}
... | 30.671875 | 127 | 0.514009 | liulilittle |
7384620854d1fede1fc53667f27d5a1fa64feb7e | 3,445 | cpp | C++ | src/game/client/swarm/vgui/asw_vgui_edit_emitter_dialogs.cpp | BlueNovember/alienswarm-reactivedrop | ffaca58157f9fdd36e5c48e8d7d34d8ca958017e | [
"CC0-1.0"
] | null | null | null | src/game/client/swarm/vgui/asw_vgui_edit_emitter_dialogs.cpp | BlueNovember/alienswarm-reactivedrop | ffaca58157f9fdd36e5c48e8d7d34d8ca958017e | [
"CC0-1.0"
] | null | null | null | src/game/client/swarm/vgui/asw_vgui_edit_emitter_dialogs.cpp | BlueNovember/alienswarm-reactivedrop | ffaca58157f9fdd36e5c48e8d7d34d8ca958017e | [
"CC0-1.0"
] | null | null | null | #include "cbase.h"
#include "asw_vgui_edit_emitter_dialogs.h"
#include "asw_vgui_edit_emitter.h"
#include <KeyValues.h>
#include <filesystem.h>
#include "fmtstr.h"
#include "convar.h"
#include "vgui/ivgui.h"
#include "vgui_controls/combobox.h"
#include "vgui_controls/checkbutton.h"
#include "vgui_controls/Scr... | 30.758929 | 156 | 0.738462 | BlueNovember |
7386dd5fd8c162125e9ea71051ede153da6fd298 | 1,757 | hpp | C++ | examples/SDLAssets/FontHandler.hpp | cloudncali/GExL | 08010f6a3e46e7c633968930a96ff7e98aec4efb | [
"MIT"
] | null | null | null | examples/SDLAssets/FontHandler.hpp | cloudncali/GExL | 08010f6a3e46e7c633968930a96ff7e98aec4efb | [
"MIT"
] | null | null | null | examples/SDLAssets/FontHandler.hpp | cloudncali/GExL | 08010f6a3e46e7c633968930a96ff7e98aec4efb | [
"MIT"
] | null | null | null | #ifndef FONT_MANGER_HPP_INCLUDED
#define FONT_MANGER_HPP_INCLUDED
#include <GExL/assets/TAssetHandler.hpp>
#include <SDL_ttf.h>
typedef TTF_Font* Font;
class FontHandler : public GExL::TAssetHandler<Font>
{
public:
FontHandler(GExL::Uint32 theFontSize);
/// Provides the ImageHandler class for managing sf::Image ass... | 35.857143 | 83 | 0.749573 | cloudncali |
7386fb2bcd1bf3c3d025b99cdcd6585333141edf | 9,479 | cpp | C++ | libraries/animation/src/SwingTwistConstraint.cpp | sodaglue/hifi | 725f9e29a3d8833c6051c1562ec4831e7b72370c | [
"Apache-2.0"
] | null | null | null | libraries/animation/src/SwingTwistConstraint.cpp | sodaglue/hifi | 725f9e29a3d8833c6051c1562ec4831e7b72370c | [
"Apache-2.0"
] | null | null | null | libraries/animation/src/SwingTwistConstraint.cpp | sodaglue/hifi | 725f9e29a3d8833c6051c1562ec4831e7b72370c | [
"Apache-2.0"
] | null | null | null | //
// SwingTwistConstraint.cpp
//
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "SwingTwistConstraint.h"
#include <algorithm>
#include <math.h>
#include <GeometryUt... | 37.172549 | 123 | 0.637304 | sodaglue |
7389ce7c9b7755586c4560e61c0c184fdc65295c | 861 | cpp | C++ | MFC/8-Controles_ActiveX/wmpstringcollection.cpp | NestorJavier/Programacion_avanzada-Visual- | 1ccb8d41988d860689a6f8ef74bdd53da62c5214 | [
"MIT"
] | null | null | null | MFC/8-Controles_ActiveX/wmpstringcollection.cpp | NestorJavier/Programacion_avanzada-Visual- | 1ccb8d41988d860689a6f8ef74bdd53da62c5214 | [
"MIT"
] | null | null | null | MFC/8-Controles_ActiveX/wmpstringcollection.cpp | NestorJavier/Programacion_avanzada-Visual- | 1ccb8d41988d860689a6f8ef74bdd53da62c5214 | [
"MIT"
] | 1 | 2021-02-26T08:11:18.000Z | 2021-02-26T08:11:18.000Z | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "wmpstringcollection.h"
////////////////////////////////... | 26.090909 | 82 | 0.620209 | NestorJavier |
7389cefeff7fc5eb76379e1b6ad3447fffe41f53 | 250 | cpp | C++ | Source/FootSyncMarkersTest/FootSyncMarkersTest.cpp | GeorgeR/FootSyncMarkers | b62fde3a84b0f6d426bbedc6e753eb6da9058a7b | [
"MIT"
] | 1 | 2020-07-01T03:12:04.000Z | 2020-07-01T03:12:04.000Z | Source/FootSyncMarkersTest/FootSyncMarkersTest.cpp | GeorgeR/FootSyncMarkers | b62fde3a84b0f6d426bbedc6e753eb6da9058a7b | [
"MIT"
] | null | null | null | Source/FootSyncMarkersTest/FootSyncMarkersTest.cpp | GeorgeR/FootSyncMarkers | b62fde3a84b0f6d426bbedc6e753eb6da9058a7b | [
"MIT"
] | 1 | 2021-10-02T14:10:12.000Z | 2021-10-02T14:10:12.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "FootSyncMarkersTest.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, FootSyncMarkersTest, "FootSyncMarkersTest" );
| 35.714286 | 100 | 0.828 | GeorgeR |
738b48c80357fa3c6671889d47c92d4a94c3dcbf | 2,802 | cpp | C++ | src/main/mcuf/lang/System.cpp | ZxyKira/mcuf | 7ebe46921abfeb41906577b42e112e2dd1182544 | [
"MIT"
] | null | null | null | src/main/mcuf/lang/System.cpp | ZxyKira/mcuf | 7ebe46921abfeb41906577b42e112e2dd1182544 | [
"MIT"
] | null | null | null | src/main/mcuf/lang/System.cpp | ZxyKira/mcuf | 7ebe46921abfeb41906577b42e112e2dd1182544 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2020 ZxyKira
* All rights reserved.
*
* SPDX-License-Identifier: MIT
*/
/* ****************************************************************************************
* Include
*/
#include "stdlib.h"
#include "System.hpp"
#include "mcuf.h"
/* ************************************************... | 22.062992 | 91 | 0.337616 | ZxyKira |
738ba6bd515d233fd1e8c98099092c55a1a5b869 | 2,401 | cpp | C++ | aws-cpp-sdk-ce/source/model/DiskResourceUtilization.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-ce/source/model/DiskResourceUtilization.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-ce/source/model/DiskResourceUtilization.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ce/model/DiskResourceUtilization.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
na... | 22.866667 | 80 | 0.777593 | perfectrecall |
738cecb03809af64acc9a7a66d09cbff352566fc | 24,708 | cxx | C++ | Plugins/SciberQuestToolKit/SciberQuest/BOVReader.cxx | vbnhfylbh/ParaViewRUS | e65ea0edc5d23e593afecd623cbd047282f4c834 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-05-21T20:20:59.000Z | 2020-05-21T20:20:59.000Z | Plugins/SciberQuestToolKit/SciberQuest/BOVReader.cxx | vbnhfylbh/ParaViewRUS | e65ea0edc5d23e593afecd623cbd047282f4c834 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/SciberQuestToolKit/SciberQuest/BOVReader.cxx | vbnhfylbh/ParaViewRUS | e65ea0edc5d23e593afecd623cbd047282f4c834 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
____ _ __ ____ __ ____
/ __/___(_) / ___ ____/ __ \__ _____ ___ / /_ / _/__ ____
_\ \/ __/ / _ \/ -_) __/ /_/ / // / -_|_-</ __/ _/ // _ \/ __/
/___/\__/_/_.__/\__/_/ \___\_\_,_/\__/___/\__/ /___/_//_/\__(_)
Copyright 2012 SciberQuest Inc.
*/
#include "BOVReader.h"
#include... | 24.152493 | 81 | 0.571596 | vbnhfylbh |
738d5803dc17a9c855d8df9d58a9688073576a4f | 7,594 | cc | C++ | src/network/httpObject.cc | RichardRanft/Torque6 | db6cd08f18f4917e0c6557b2766fb40d8e2bee39 | [
"MIT"
] | 312 | 2015-02-17T15:07:28.000Z | 2022-03-12T07:09:56.000Z | src/network/httpObject.cc | lukaspj/Torque6 | db6cd08f18f4917e0c6557b2766fb40d8e2bee39 | [
"MIT"
] | 23 | 2015-03-30T14:47:37.000Z | 2020-11-02T00:00:24.000Z | src/network/httpObject.cc | lukaspj/Torque6 | db6cd08f18f4917e0c6557b2766fb40d8e2bee39 | [
"MIT"
] | 73 | 2015-02-17T15:07:30.000Z | 2021-10-02T03:11:59.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restrictio... | 23.880503 | 95 | 0.561233 | RichardRanft |
73922d63aceb6fda7f776288b8514eff7acd7d28 | 2,248 | cpp | C++ | thirdparty-cpp/boost_1_62_0/libs/hana/example/cppcon_2014/matrix.cpp | nxplatform/nx-mobile | 0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5 | [
"Apache-2.0"
] | 1 | 2018-12-15T19:57:24.000Z | 2018-12-15T19:57:24.000Z | thirdparty-cpp/boost_1_62_0/libs/hana/example/cppcon_2014/matrix.cpp | nxplatform/nx-mobile | 0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5 | [
"Apache-2.0"
] | null | null | null | thirdparty-cpp/boost_1_62_0/libs/hana/example/cppcon_2014/matrix.cpp | nxplatform/nx-mobile | 0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5 | [
"Apache-2.0"
] | null | null | null | // Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/assert.hpp>
#include <boost/hana/integral_constant.hpp>
#include "matrix/comparable.hpp"
namespace hana = boo... | 32.114286 | 94 | 0.531584 | nxplatform |
739239c2890b51ffec6a2e8e8388ac466754d138 | 47,829 | cpp | C++ | hphp/runtime/vm/jit/translator.cpp | elgenie/hiphop-php | 23efadffa702cf296403a850e3500f91511258f7 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/vm/jit/translator.cpp | elgenie/hiphop-php | 23efadffa702cf296403a850e3500f91511258f7 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/vm/jit/translator.cpp | elgenie/hiphop-php | 23efadffa702cf296403a850e3500f91511258f7 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 35.428889 | 79 | 0.525936 | elgenie |
739382337368440439c9a13cbaeb859db91ae1c3 | 19,266 | hpp | C++ | clients/include/testing_spmm_bell.hpp | arvindcheru/hipSPARSE | dc0d71028f1700693e7128a3c94f453c1c924c26 | [
"MIT"
] | null | null | null | clients/include/testing_spmm_bell.hpp | arvindcheru/hipSPARSE | dc0d71028f1700693e7128a3c94f453c1c924c26 | [
"MIT"
] | null | null | null | clients/include/testing_spmm_bell.hpp | arvindcheru/hipSPARSE | dc0d71028f1700693e7128a3c94f453c1c924c26 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright (c) 2021 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without re... | 46.090909 | 100 | 0.615852 | arvindcheru |
7393aa6409428610def69495e8c55b47a1cf97f2 | 22,541 | hpp | C++ | include/Org/BouncyCastle/Crypto/Digests/Gost3411_2012Digest.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Crypto/Digests/Gost3411_2012Digest.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Crypto/Digests/Gost3411_2012Digest.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: Org.BouncyCast... | 62.096419 | 374 | 0.706402 | marksteward |
7393fb2d368b5c705b03fde15e563b14dac581f6 | 4,410 | cpp | C++ | Equity/Base58Check.cpp | jambolo/Equity | e9f142aec8c5292406b32633fd714c26cf7fd6cd | [
"MIT"
] | null | null | null | Equity/Base58Check.cpp | jambolo/Equity | e9f142aec8c5292406b32633fd714c26cf7fd6cd | [
"MIT"
] | null | null | null | Equity/Base58Check.cpp | jambolo/Equity | e9f142aec8c5292406b32633fd714c26cf7fd6cd | [
"MIT"
] | null | null | null | #include "Base58Check.h"
#include "Base58.h"
#include "crypto/Sha256.h"
#include <algorithm>
using namespace Equity;
using namespace Crypto;
std::string Base58Check::encode(std::vector<uint8_t> const & input, unsigned version)
{
return encode(input.data(), input.size(), version);
}
std::string Base58Check::enc... | 30.413793 | 114 | 0.642404 | jambolo |
739a10a1d84717a5ce1eec9ba8047f2f394efa59 | 27,800 | cpp | C++ | test/rocprim/test_device_segmented_scan.cpp | arvindcheru/rocPRIM | 1717c3d02837d6573fdf451160bba9d6c0e23f64 | [
"MIT"
] | null | null | null | test/rocprim/test_device_segmented_scan.cpp | arvindcheru/rocPRIM | 1717c3d02837d6573fdf451160bba9d6c0e23f64 | [
"MIT"
] | null | null | null | test/rocprim/test_device_segmented_scan.cpp | arvindcheru/rocPRIM | 1717c3d02837d6573fdf451160bba9d6c0e23f64 | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2017-2021 Advanced Micro Devices, Inc. All rights reserved.
//
// 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 lim... | 40.406977 | 155 | 0.614496 | arvindcheru |
739c36c9fe90a6aa46629a388b0e6c62e5679ff7 | 2,784 | cpp | C++ | src/JobsManager/job_pool.cpp | pointnity/Scheduler-of-Pointnity-N.1.1.0 | 8824bfb95d80d638ff466535747430bae15c212d | [
"MIT"
] | 1 | 2019-08-15T10:04:31.000Z | 2019-08-15T10:04:31.000Z | src/JobsManager/job_pool.cpp | pointnity/Scheduler-V0.1- | 8824bfb95d80d638ff466535747430bae15c212d | [
"MIT"
] | null | null | null | src/JobsManager/job_pool.cpp | pointnity/Scheduler-V0.1- | 8824bfb95d80d638ff466535747430bae15c212d | [
"MIT"
] | null | null | null | /********************************
FileName: JobsManager/job_pool.cpp
Version: 0.1
Description: pool of jobs, including map, list
*********************************/
#include "JobsManager/job_pool.h"
using clynn::ReadLocker;
using clynn::WriteLocker;
using std::make_pair;
bool JobPool::InsertIfAbsent(const JobPt... | 26.514286 | 93 | 0.628592 | pointnity |
739e5a13384e0183d42b441f7de02bb9fb5b58bf | 3,295 | cpp | C++ | src/propagator.cpp | gerland-group/langevin_switching | 58772f05e1d37e561887121ccfec0d1fc1674cf2 | [
"MIT"
] | null | null | null | src/propagator.cpp | gerland-group/langevin_switching | 58772f05e1d37e561887121ccfec0d1fc1674cf2 | [
"MIT"
] | null | null | null | src/propagator.cpp | gerland-group/langevin_switching | 58772f05e1d37e561887121ccfec0d1fc1674cf2 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Filipe Tostevin, Manon Wigbers
*
* This file defines functions associated with the propagator class that
* integrates the dynamical equations.
*/
#include "propagator.h"
propagator::propagator(
const int new_PMOD,
const bool new_down,
const bool WITH_DATA,
const bool WITH_SWITCH
){
u... | 26.788618 | 134 | 0.607891 | gerland-group |
739ef99b0d445b0ce0d19c0c0433f7552d4425e8 | 763 | hpp | C++ | plugins/resource_monitor_plugin/include/eosio/resource_monitor_plugin/resource_monitor_plugin.hpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 13,162 | 2017-05-29T22:08:27.000Z | 2022-03-29T19:25:05.000Z | plugins/resource_monitor_plugin/include/eosio/resource_monitor_plugin/resource_monitor_plugin.hpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 6,450 | 2017-05-30T14:41:50.000Z | 2022-03-30T11:30:04.000Z | plugins/resource_monitor_plugin/include/eosio/resource_monitor_plugin/resource_monitor_plugin.hpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 4,491 | 2017-05-29T22:08:32.000Z | 2022-03-29T07:09:52.000Z | #pragma once
#include <appbase/application.hpp>
#include <eosio/chain_plugin/chain_plugin.hpp>
namespace eosio {
using namespace appbase;
class resource_monitor_plugin : public appbase::plugin<resource_monitor_plugin> {
public:
resource_monitor_plugin( );
virtual ~resource_monitor_plugin();
APPBASE_PLUGIN... | 25.433333 | 93 | 0.774574 | forfreeday |
739f45ddcc688b6f84fb753b505ff4ad8ad75d6b | 881 | cpp | C++ | Array/union and intersection of two array.cpp | scortier/DSA-Complete-Sheet | 925a5cb148d9addcb32192fe676be76bfb2915c7 | [
"MIT"
] | 1 | 2021-07-20T06:08:26.000Z | 2021-07-20T06:08:26.000Z | Array/union and intersection of two array.cpp | scortier/DSA-Complete-Sheet | 925a5cb148d9addcb32192fe676be76bfb2915c7 | [
"MIT"
] | null | null | null | Array/union and intersection of two array.cpp | scortier/DSA-Complete-Sheet | 925a5cb148d9addcb32192fe676be76bfb2915c7 | [
"MIT"
] | null | null | null | //Author: Aditya Singh Sisodiya (Scortier)
#include<bits/stdc++.h>
using namespace std;
void ui(int a[], int b[], int m, int n)
{
int i = 0, j = 0;
while (i < m and j < n)
{
if (a[i] < b[j])
cout << a[i++] << " ";
else if (b[j] < a[i])
cout << b[j++] << " ";
else {
cout << b[j++] << " ";
i++;
}
... | 15.732143 | 59 | 0.455165 | scortier |
739f716ef28ab8f908ef36e7e88a76226f5e78f0 | 20,002 | cpp | C++ | dev/ScrollPresenter/ScrollPresenterAnchoring.cpp | MarkIvanDev/microsoft-ui-xaml | 35e7100197efac14d647beb8d584b5766c279790 | [
"MIT"
] | 1 | 2020-07-12T15:33:44.000Z | 2020-07-12T15:33:44.000Z | dev/ScrollPresenter/ScrollPresenterAnchoring.cpp | maxkatz6/microsoft-ui-xaml | 78fa7f674364e7c3e0facd424760826d284296b6 | [
"MIT"
] | null | null | null | dev/ScrollPresenter/ScrollPresenterAnchoring.cpp | maxkatz6/microsoft-ui-xaml | 78fa7f674364e7c3e0facd424760826d284296b6 | [
"MIT"
] | 1 | 2020-07-30T12:37:40.000Z | 2020-07-30T12:37:40.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "pch.h"
#include "common.h"
#include "TypeLogging.h"
#include "ScrollPresenterTypeLogging.h"
#include "ScrollPresenter.h"
#include "DoubleUtil.h"
#... | 40.084168 | 198 | 0.69983 | MarkIvanDev |
73a126e1359c1a27815a159c1d6a6654d4d11242 | 1,061 | cpp | C++ | examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | 1 | 2020-04-26T03:07:12.000Z | 2020-04-26T03:07:12.000Z | #include "ace/FIFO_Recv_Msg.h"
#include "ace/Log_Msg.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_unistd.h"
#include "ace/OS_NS_stdlib.h"
#include "ace/OS_NS_stropts.h"
#include "ace/OS_main.h"
#if defined (ACE_HAS_STREAM_PIPES)
int
ACE_TMAIN (int, ACE_TCHAR *[])
{
ACE_OS::unlink (ACE_DEFAUL... | 22.104167 | 74 | 0.583412 | azerothcore |
73a65219dad2cfa56865d3c8f74e0d486c894801 | 645 | hpp | C++ | Radium/ResourceHolder.hpp | GameLabStudios/radium | 2b0fe0e3dd20a5e8d66396b18659ddc33d369151 | [
"MIT"
] | null | null | null | Radium/ResourceHolder.hpp | GameLabStudios/radium | 2b0fe0e3dd20a5e8d66396b18659ddc33d369151 | [
"MIT"
] | null | null | null | Radium/ResourceHolder.hpp | GameLabStudios/radium | 2b0fe0e3dd20a5e8d66396b18659ddc33d369151 | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include <string>
#include <memory>
#include <stdexcept>
#include <cassert>
template <typename Resource, typename Identifier>
class ResourceHolder
{
public:
void load(Identifier id, const std::string& filename);
template <typename Parameter>
void load(Identifier id, const std::... | 23.888889 | 88 | 0.742636 | GameLabStudios |
73a8013f805db086b15d4aa1d72b3b0bb26b2661 | 5,341 | cpp | C++ | utils/flags.cpp | jatinx/ROCclr | c836fc0cc88d929eb72ac291856fde1732dc44f8 | [
"MIT"
] | null | null | null | utils/flags.cpp | jatinx/ROCclr | c836fc0cc88d929eb72ac291856fde1732dc44f8 | [
"MIT"
] | null | null | null | utils/flags.cpp | jatinx/ROCclr | c836fc0cc88d929eb72ac291856fde1732dc44f8 | [
"MIT"
] | null | null | null | /* Copyright (c) 2008 - 2021 Advanced Micro Devices, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, mer... | 25.193396 | 100 | 0.641266 | jatinx |
73b1298e722e021867eaf27db8cc44f24bfa7ea5 | 9,688 | cpp | C++ | uwsim_resources/uwsim_osgworks/tests/createlodvisitor/createlodvisitor.cpp | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | 1 | 2020-11-30T09:55:33.000Z | 2020-11-30T09:55:33.000Z | uwsim_resources/uwsim_osgworks/tests/createlodvisitor/createlodvisitor.cpp | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | null | null | null | uwsim_resources/uwsim_osgworks/tests/createlodvisitor/createlodvisitor.cpp | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | 2 | 2020-11-21T19:50:54.000Z | 2020-12-27T09:35:29.000Z | /*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* osgWorks is (C) Copyright 2009-2012 by Kenneth Mark Bryden
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1 as published by ... | 40.705882 | 319 | 0.631296 | epsilonorion |
73b13ab2237cbdbb889679672e3e7a4069763f61 | 1,636 | hpp | C++ | Samples/Perf-RigidBodies/Objects.hpp | Ravbug/RavEngine-Samples | e9763cfb00758caaed430f38a5c99c0d44f701a7 | [
"Apache-2.0"
] | 4 | 2021-03-05T05:49:34.000Z | 2022-03-30T15:30:46.000Z | Samples/Perf-RigidBodies/Objects.hpp | Ravbug/RavEngine-Samples | e9763cfb00758caaed430f38a5c99c0d44f701a7 | [
"Apache-2.0"
] | null | null | null | Samples/Perf-RigidBodies/Objects.hpp | Ravbug/RavEngine-Samples | e9763cfb00758caaed430f38a5c99c0d44f701a7 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <RavEngine/Entity.hpp>
#include <RavEngine/StaticMesh.hpp>
#include <RavEngine/PhysicsBodyComponent.hpp>
#include <RavEngine/PhysicsCollider.hpp>
struct RotationComponent : public RavEngine::Component, public RavEngine::Queryable<RotationComponent>{
float xspeed = 0.5, yspeed = 0.2, zspeed = 0.4... | 34.083333 | 140 | 0.743888 | Ravbug |
73b310aa766d2e131f6ee577bd5e7dcf0d92783a | 397 | cpp | C++ | BOJ3053_taxigeometry/taxigeometry.cpp | wjoh0315/BOJSolutions3 | ac6bf0592ba07f5266ca972d726c8f8e8116ded1 | [
"MIT"
] | null | null | null | BOJ3053_taxigeometry/taxigeometry.cpp | wjoh0315/BOJSolutions3 | ac6bf0592ba07f5266ca972d726c8f8e8116ded1 | [
"MIT"
] | null | null | null | BOJ3053_taxigeometry/taxigeometry.cpp | wjoh0315/BOJSolutions3 | ac6bf0592ba07f5266ca972d726c8f8e8116ded1 | [
"MIT"
] | null | null | null | //https://www.acmicpc.net/problem/3053
#define _USE_MATH_DEFINES
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int r;
cin >> r;
cout << fixed;
cout.precision(6);
// 유클리드 기하학 (비선형적, 원) PIr^2
cout << r * r * M_PI ... | 18.904762 | 38 | 0.566751 | wjoh0315 |
73c69471903b904a856803022d0ca6fa88f611d8 | 1,277 | cpp | C++ | Engine/Dependences/Framework/Physics/src/Core/PhysEngine.cpp | Kiper220/SREngine | f1fa36b5ded1f489a9fdb59d8d4b40eb294ba9ec | [
"MIT"
] | 7 | 2020-10-16T11:34:27.000Z | 2022-03-12T17:53:15.000Z | Engine/Dependences/Framework/Physics/src/Core/PhysEngine.cpp | Kiper220/SREngine | f1fa36b5ded1f489a9fdb59d8d4b40eb294ba9ec | [
"MIT"
] | null | null | null | Engine/Dependences/Framework/Physics/src/Core/PhysEngine.cpp | Kiper220/SREngine | f1fa36b5ded1f489a9fdb59d8d4b40eb294ba9ec | [
"MIT"
] | 6 | 2021-05-06T15:09:52.000Z | 2022-03-12T17:57:14.000Z | //
// Created by Monika on 21.03.2021.
//
#include "Core/PhysEngine.h"
#include <Debug.h>
bool Framework::Physics::PhysEngine::Create() {
Helper::Debug::Info("PhysEngine::Create() : create physics engine...");
this->m_collisionConf = new btDefaultCollisionConfiguration();
this->m_dispatcher = new btColli... | 26.061224 | 76 | 0.658575 | Kiper220 |
73cf0e2b6fe72b8bea00fbd28badf89655cda6ea | 3,696 | cpp | C++ | DrawingExamples/DrawingExamples/src/Waves.cpp | dadak797/DirectX11Study | ab6d683009262b031dfca59673ca449500047dcc | [
"MIT"
] | null | null | null | DrawingExamples/DrawingExamples/src/Waves.cpp | dadak797/DirectX11Study | ab6d683009262b031dfca59673ca449500047dcc | [
"MIT"
] | null | null | null | DrawingExamples/DrawingExamples/src/Waves.cpp | dadak797/DirectX11Study | ab6d683009262b031dfca59673ca449500047dcc | [
"MIT"
] | null | null | null | //=======================================================================================
// Waves.cpp by Frank Luna (C) 2008 All Rights Reserved.
//=======================================================================================
#include "Waves.h"
#include <algorithm>
#include <vector>
#include <cassert>
Wave... | 25.846154 | 89 | 0.600108 | dadak797 |
73d237304125ad008401a0d58bed34c96d46d052 | 3,724 | cpp | C++ | src/MQTT.cpp | mPerier/ESP_IIOT_Platform | 59e3878d8f1f621029bd3de0ca2341979bcd1d78 | [
"X11"
] | 1 | 2022-03-04T20:41:44.000Z | 2022-03-04T20:41:44.000Z | src/MQTT.cpp | mPerier/ESP_IIOT_Platform | 59e3878d8f1f621029bd3de0ca2341979bcd1d78 | [
"X11"
] | null | null | null | src/MQTT.cpp | mPerier/ESP_IIOT_Platform | 59e3878d8f1f621029bd3de0ca2341979bcd1d78 | [
"X11"
] | null | null | null | #include <MQTT.h>
// ----------------------------- CONNECT -----------------------------
int MQTT_Connect() {
int mqtt_returnCode;
char paramBuf[32];
char mqtt_username[32];
char mqtt_password[32];
char mqtt_clientID[32];
char mqtt_server[32];
// Gets MQTT parameters from EEPROM
getEEPROMParam(e_mqt... | 33.25 | 130 | 0.632653 | mPerier |
73d44b980ff6cdc58003aadf523ce3273eba839a | 3,334 | hh | C++ | src/fastio.hh | Haellsigh/MIX5A_PenduleInverse | b5dcce4a3e633aafaf4d4e39fa9ff10e6c7b9d58 | [
"Unlicense"
] | null | null | null | src/fastio.hh | Haellsigh/MIX5A_PenduleInverse | b5dcce4a3e633aafaf4d4e39fa9ff10e6c7b9d58 | [
"Unlicense"
] | null | null | null | src/fastio.hh | Haellsigh/MIX5A_PenduleInverse | b5dcce4a3e633aafaf4d4e39fa9ff10e6c7b9d58 | [
"Unlicense"
] | null | null | null | #ifndef PENDULEINVERSE_FASTIO_H
#define PENDULEINVERSE_FASTIO_H
#include <Arduino.h>
#include <cstdint>
namespace ip {
/**
* \brief Remplace digitalWrite().
*
* \note pin doit être dans le tableau suivant:
* DUE Board pin | PORT | Label
* ----------------+--------+-------
* 0 | PA8 | "RX0"... | 30.036036 | 74 | 0.333233 | Haellsigh |
73d9b4659823ba1496559fce71a053bee082c1ea | 6,574 | hpp | C++ | ngraph/core/include/openvino/core/node_output.hpp | generalova-kate/openvino | 72fb7d207cb61fd5b9bb630ee8785881cc656b72 | [
"Apache-2.0"
] | null | null | null | ngraph/core/include/openvino/core/node_output.hpp | generalova-kate/openvino | 72fb7d207cb61fd5b9bb630ee8785881cc656b72 | [
"Apache-2.0"
] | 30 | 2020-11-19T11:12:19.000Z | 2022-02-21T13:03:28.000Z | ngraph/core/include/openvino/core/node_output.hpp | tsocha/openvino | 3081fac7581933568b496a3c4e744d1cee481619 | [
"Apache-2.0"
] | 1 | 2021-03-19T02:26:12.000Z | 2021-03-19T02:26:12.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <cstring>
#include <map>
#include <unordered_set>
#include "ngraph/shape.hpp"
#include "openvino/core/core_visibility.hpp"
#include "openvino/core/descriptor/tensor.hpp"
#include "openvino/core/partial_shape.... | 38 | 112 | 0.690295 | generalova-kate |
73d9cd3d9a03f62e24409c6cbd9baeeb9c04cc3a | 796 | hpp | C++ | src/common/Process.hpp | klx99/Elastos.Service.CarrierGroup | a1922402af66308178f048352ab6038f4c2d848b | [
"MIT"
] | null | null | null | src/common/Process.hpp | klx99/Elastos.Service.CarrierGroup | a1922402af66308178f048352ab6038f4c2d848b | [
"MIT"
] | null | null | null | src/common/Process.hpp | klx99/Elastos.Service.CarrierGroup | a1922402af66308178f048352ab6038f4c2d848b | [
"MIT"
] | null | null | null | /**
* @file Process.hpp
* @brief Process
* @details
*
* @author xxx
* @author <xxx@xxx.com>
* @copyright (c) 2012 xxx All rights reserved.
**/
#ifndef _ELASTOS_PROCESS_HPP_
#define _ELASTOS_PROCESS_HPP_
#include <string>
#include <vector>
namespace elastos {
class Process final {
public:
/*** type defi... | 18.511628 | 62 | 0.625628 | klx99 |
73dfef53454f48c6cec78e7562e6e5f07d8e58d0 | 10,749 | cpp | C++ | src/game/client/components/hud.cpp | rukano/teeworlds | 3824d885a22b5ed212d53266c5a2e9a4a10a1d5d | [
"Zlib"
] | 1 | 2018-01-08T04:36:09.000Z | 2018-01-08T04:36:09.000Z | src/game/client/components/hud.cpp | rukano/teeworlds | 3824d885a22b5ed212d53266c5a2e9a4a10a1d5d | [
"Zlib"
] | null | null | null | src/game/client/components/hud.cpp | rukano/teeworlds | 3824d885a22b5ed212d53266c5a2e9a4a10a1d5d | [
"Zlib"
] | null | null | null | #include <engine/graphics.h>
#include <engine/textrender.h>
#include <engine/shared/config.h>
#include <game/generated/protocol.h>
#include <game/generated/client_data.h>
#include <game/layers.h>
#include <game/client/gameclient.h>
#include <game/client/animstate.h>
#include <game/client/render.h>
#include "controls.... | 32.47432 | 155 | 0.683412 | rukano |
73e106fa409856e534752b9c3afe3e27e7320c54 | 2,311 | hpp | C++ | include/eve/detail/function/simd/common/lookup.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | include/eve/detail/function/simd/common/lookup.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | include/eve/detail/function/simd/common/lookup.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... | 30.813333 | 103 | 0.536997 | orao |
73e4d47faf709bb9305dc311a88dcbe04ebcd098 | 1,693 | cc | C++ | Core/src/SignalMaster.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2019-07-29T04:07:29.000Z | 2019-07-29T04:07:29.000Z | Core/src/SignalMaster.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | null | null | null | Core/src/SignalMaster.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2020-03-04T17:13:04.000Z | 2020-03-04T17:13:04.000Z | /*
* Copyright (C) 2021 Frank Mertens.
*
* Distribution and use is allowed under the terms of the zlib license
* (see cc/LICENSE-zlib).
*
*/
#include <cc/SignalMaster>
#include <cc/Thread>
#include <cc/SystemError>
namespace cc {
struct SignalMaster::State: public Object::State
{
State(const Channel<Signal... | 19.238636 | 89 | 0.614885 | frankencode |
73e5db204b7ff28b81bae1c4dd838996288c5267 | 40,288 | cpp | C++ | thrill/api/context.cpp | JonasDann/thrill | c2f4cc8bb4e362bb129c056d16faae602b42cbe7 | [
"BSD-2-Clause"
] | null | null | null | thrill/api/context.cpp | JonasDann/thrill | c2f4cc8bb4e362bb129c056d16faae602b42cbe7 | [
"BSD-2-Clause"
] | null | null | null | thrill/api/context.cpp | JonasDann/thrill | c2f4cc8bb4e362bb129c056d16faae602b42cbe7 | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
* thrill/api/context.cpp
*
* Part of Project Thrill - http://project-thrill.org
*
* Copyright (C) 2015 Alexander Noe <aleexnoe@gmail.com>
* Copyright (C) 2015 Timo Bingmann <tb@panthema.net>
*
* All rights reserved. Published under... | 31.014627 | 84 | 0.599236 | JonasDann |
73e7696f39c82f8cdbe510eb3e6ef74c88cc99ea | 1,189 | cpp | C++ | 10daysofcode/Piyush and Magical park.cpp | sgpritam/cbcpp | 192b55d8d6930091d1ceb883f6dccf06735a391f | [
"MIT"
] | 2 | 2019-11-11T17:16:52.000Z | 2020-10-04T06:05:49.000Z | 10daysofcode/Piyush and Magical park.cpp | codedevmdu/cbcpp | 85c94d81d6e491f67e3cc1ea12534065b7cde16e | [
"MIT"
] | null | null | null | 10daysofcode/Piyush and Magical park.cpp | codedevmdu/cbcpp | 85c94d81d6e491f67e3cc1ea12534065b7cde16e | [
"MIT"
] | 4 | 2019-10-24T16:58:10.000Z | 2020-10-04T06:05:47.000Z | #include<iostream>
using namespace std;
void magical_park(char a[][100],int m,int n,int k,int s)
{
//piyush can get out of the mark
bool success = true;
for(int i=0;i<m;i++)
{
for(int j=0;j<n;j++)
{
char ch=a[i][j];
//check
if(s<k)
... | 17.746269 | 81 | 0.334735 | sgpritam |
73ed9a5ce45f7bce3c01a85ea0bc0c224291fc7d | 301 | cpp | C++ | Sources/Helpers/Region.cpp | RedShyGuy/Vapecord-ACHHD-Plugin | c8df52bad7307b44edfd950234d3274f19d03691 | [
"MIT"
] | 10 | 2020-08-24T11:48:21.000Z | 2022-01-12T07:47:46.000Z | Sources/Helpers/Region.cpp | RedShyGuy/Vapecord-ACHHD-Plugin | c8df52bad7307b44edfd950234d3274f19d03691 | [
"MIT"
] | 3 | 2020-09-11T00:24:14.000Z | 2022-01-04T14:54:07.000Z | Sources/Helpers/Region.cpp | RedShyGuy/Vapecord-ACHHD-Plugin | c8df52bad7307b44edfd950234d3274f19d03691 | [
"MIT"
] | null | null | null | #include "cheats.hpp"
namespace CTRPluginFramework {
CurrRegion c_Region = USA;
u32 Region::AutoRegion(u32 usa, u32 eur, u32 jpn) {
switch(c_Region) {
default: return 0;
case CurrRegion::USA: return(usa);
case CurrRegion::EUR: return(eur);
case CurrRegion::JPN: return(jpn);
}
}
} | 21.5 | 52 | 0.687708 | RedShyGuy |
73edef76405dfdd1d70c1d0d55bf35bacc3425b9 | 1,016 | cpp | C++ | clove/source/Components/PointLightComponent.cpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | null | null | null | clove/source/Components/PointLightComponent.cpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | null | null | null | clove/source/Components/PointLightComponent.cpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | null | null | null | #include "Clove/Components/PointLightComponent.hpp"
#include "Clove/ReflectionAttributes.hpp"
#include <Clove/ECS/EntityManager.hpp>
#include <Clove/ECS/Entity.hpp>
CLOVE_REFLECT_BEGIN(clove::PointLightComponent, clove::EditorVisibleComponent{
.name ... | 59.764706 | 132 | 0.609252 | mondoo |
73f22b962843dfc6a77fcd84b9379680df263682 | 392 | cpp | C++ | 201717/dec201717_1.cpp | jibsen/aocpp2017 | 8c53665ffc99a58b905758b6baf4f960d65d058c | [
"MIT"
] | null | null | null | 201717/dec201717_1.cpp | jibsen/aocpp2017 | 8c53665ffc99a58b905758b6baf4f960d65d058c | [
"MIT"
] | null | null | null | 201717/dec201717_1.cpp | jibsen/aocpp2017 | 8c53665ffc99a58b905758b6baf4f960d65d058c | [
"MIT"
] | null | null | null | //
// Advent of Code 2017, day 17, part one
//
#include <iostream>
#include <list>
int main()
{
constexpr int delta = 316;
std::list<int> list;
list.push_back(0);
int pos = 0;
for (int i = 1; i <= 2017; ++i) {
pos = ((pos + delta) % list.size()) + 1;
list.insert(std::next(list.begin(), pos), i);
}
st... | 15.076923 | 72 | 0.55102 | jibsen |
73f58e2388467bdfde409b1493ebb274892eccb7 | 1,439 | cpp | C++ | snap-exp/test-dev/AggrTest.cpp | ksemer/snap | 0084126c30ad49a4437bc8ea30be78484f8c58d7 | [
"BSD-3-Clause"
] | 1,805 | 2015-01-06T20:01:35.000Z | 2022-03-29T16:12:51.000Z | snap-exp/test-dev/AggrTest.cpp | lizhaoqing/snap | 907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5 | [
"BSD-3-Clause"
] | 168 | 2015-01-07T22:57:29.000Z | 2022-03-15T01:20:24.000Z | snap-exp/test-dev/AggrTest.cpp | lizhaoqing/snap | 907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5 | [
"BSD-3-Clause"
] | 768 | 2015-01-09T02:28:45.000Z | 2022-03-30T00:53:46.000Z | #include "Snap.h"
int main(){
TTableContext Context;
// create scheme
Schema GradeS;
GradeS.Add(TPair<TStr,TAttrType>("Class", atStr));
GradeS.Add(TPair<TStr,TAttrType>("Area", atStr));
GradeS.Add(TPair<TStr,TAttrType>("Quarter", atStr));
GradeS.Add(TPair<TStr,TAttrType>("Grade 2011", atFlt));
... | 28.78 | 80 | 0.637248 | ksemer |
73f926aef422f57b9b1d58b4b4c0d44b2074ba3d | 10,089 | cpp | C++ | TW/TW_Core/camparamdialog.cpp | TWANG006/TW | 5f4ce9fc74dcc748730de5b75d75dcb5b7d71791 | [
"BSD-3-Clause"
] | 4 | 2019-07-21T07:06:42.000Z | 2020-11-26T02:37:08.000Z | TW/TW_Core/camparamdialog.cpp | TWANG006/TW | 5f4ce9fc74dcc748730de5b75d75dcb5b7d71791 | [
"BSD-3-Clause"
] | null | null | null | TW/TW_Core/camparamdialog.cpp | TWANG006/TW | 5f4ce9fc74dcc748730de5b75d75dcb5b7d71791 | [
"BSD-3-Clause"
] | 6 | 2019-07-02T14:20:24.000Z | 2022-03-11T03:06:29.000Z | #include "camparamdialog.h"
#include <QDebug>
#include <QMessageBox>
CamParamDialog::CamParamDialog(QWidget *parent)
: QDialog(parent)
, m_isCameraConnected(false)
, m_captureThread(nullptr)
, m_ROIRect()
{
ui.setupUi(this);
ui.frameLable->setText(tr("Connecting to camera..."));
ui.frameRateLabel-... | 36.554348 | 193 | 0.685598 | TWANG006 |
73fac2250d91f1608578e32ea8448075bfe11674 | 1,363 | hpp | C++ | libs/fnd/numeric/include/bksge/fnd/numeric/inl/adjacent_difference_inl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/numeric/include/bksge/fnd/numeric/inl/adjacent_difference_inl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/numeric/include/bksge/fnd/numeric/inl/adjacent_difference_inl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file adjacent_difference_inl.hpp
*
* @brief adjacent_difference の実装
*
* @author myoukaku
*/
#ifndef BKSGE_FND_NUMERIC_INL_ADJACENT_DIFFERENCE_INL_HPP
#define BKSGE_FND_NUMERIC_INL_ADJACENT_DIFFERENCE_INL_HPP
#include <bksge/fnd/numeric/adjacent_difference.hpp>
#include <bksge/fnd/functional/... | 20.044118 | 85 | 0.717535 | myoukaku |
73fdc4d0f43bc37eb0682f9a7ff405eb059330cd | 965 | hpp | C++ | gb++/src/Audio/Audio.hpp | dfrias100/gb-plus-plus | e5c48f18ab24315f1a5c70789cd3c1cae9428baf | [
"MIT"
] | null | null | null | gb++/src/Audio/Audio.hpp | dfrias100/gb-plus-plus | e5c48f18ab24315f1a5c70789cd3c1cae9428baf | [
"MIT"
] | null | null | null | gb++/src/Audio/Audio.hpp | dfrias100/gb-plus-plus | e5c48f18ab24315f1a5c70789cd3c1cae9428baf | [
"MIT"
] | null | null | null | #ifndef AUDIO_HPP
#define AUDIO_HPP
#include <SFML/Audio.hpp>
#include <cmath>
#include <vector>
class AudioStream : public sf::SoundStream {
float time;
float period;
float frequency;
public:
void init() {
frequency = 700.0f;
period = 1.0f / frequency;
time = 0.0f;
SampleBuffer.resize(44100);
initiali... | 17.545455 | 60 | 0.65285 | dfrias100 |
bab7b358448336b791fb1e6c585d6bfdc107f72e | 3,592 | cpp | C++ | QSW/wov/model.cpp | World0fWarcraft/QSpellWork | 8f3f42dc2b9fc14a1d9aa2a7155299de63e60792 | [
"MIT"
] | 14 | 2017-02-13T18:08:08.000Z | 2021-06-03T00:58:51.000Z | QSW/wov/model.cpp | World0fWarcraft/QSpellWork | 8f3f42dc2b9fc14a1d9aa2a7155299de63e60792 | [
"MIT"
] | 7 | 2017-04-13T09:20:52.000Z | 2019-06-14T18:08:28.000Z | QSW/wov/model.cpp | World0fWarcraft/QSpellWork | 8f3f42dc2b9fc14a1d9aa2a7155299de63e60792 | [
"MIT"
] | 20 | 2017-01-25T01:33:54.000Z | 2021-06-03T00:58:42.000Z | #include "model.h"
#include "m2.h"
#include "spellvisualkit.h"
#include "wovdbc.h"
Model::Model(ModelScene *scene)
: m_scene(scene), m_displayId(0),
m_x(0.0f), m_y(0.0f), m_orientation(0.0f),
m_model(0), m_modelChanged(false)
{
}
void Model::addSpellVisualKit(quint32 id, bool oneshot)
{
... | 23.631579 | 110 | 0.604677 | World0fWarcraft |
babe92ceeb306dc5668f6ab12627881431abd8bc | 5,751 | cpp | C++ | CrescentEngine/Rendering/Resources.cpp | xRiveria/Crescent-Engine | b6512b6a8dab2d27cf542c562ccc28f21bf2345d | [
"Apache-2.0"
] | 2 | 2020-12-18T03:43:07.000Z | 2020-12-23T12:20:00.000Z | CrescentEngine/Rendering/Resources.cpp | xRiveria/Crescent-Engine | b6512b6a8dab2d27cf542c562ccc28f21bf2345d | [
"Apache-2.0"
] | null | null | null | CrescentEngine/Rendering/Resources.cpp | xRiveria/Crescent-Engine | b6512b6a8dab2d27cf542c562ccc28f21bf2345d | [
"Apache-2.0"
] | null | null | null | #include "CrescentPCH.h"
#include "Resources.h"
#include "../Memory/ShaderLoader.h"
#include "../Memory/TextureLoader.h"
#include "../Memory/MeshLoader.h"
#include "../Shading/Texture.h"
#include "../Shading/TextureCube.h"
#include "../Utilities/StringID.h"
#include "../Scene/Scene.h"
#include "../Scene/SceneEntity.h"
... | 29.341837 | 141 | 0.713267 | xRiveria |
bac1b5430a84688217ffaf3e8651077e39e65b62 | 1,800 | cpp | C++ | features/FEATURE_COMMON_PAL/nanostack-hal-mbed-cmsis-rtos/arm_hal_timer.cpp | nachocarballeda/mbed-os | fc1836545dcc2fc86f03b01292b62bf2089f67c3 | [
"Apache-2.0"
] | 3 | 2018-03-13T13:42:12.000Z | 2019-05-17T11:48:04.000Z | features/FEATURE_COMMON_PAL/nanostack-hal-mbed-cmsis-rtos/arm_hal_timer.cpp | nachocarballeda/mbed-os | fc1836545dcc2fc86f03b01292b62bf2089f67c3 | [
"Apache-2.0"
] | 1 | 2017-02-20T10:48:02.000Z | 2017-02-21T11:34:16.000Z | features/FEATURE_COMMON_PAL/nanostack-hal-mbed-cmsis-rtos/arm_hal_timer.cpp | nachocarballeda/mbed-os | fc1836545dcc2fc86f03b01292b62bf2089f67c3 | [
"Apache-2.0"
] | 8 | 2018-01-28T02:23:18.000Z | 2021-02-26T01:15:55.000Z | /*
* Copyright (c) 2016 ARM Limited, All Rights Reserved
*/
// Include before mbed.h to properly get UINT*_C()
#include "ns_types.h"
#include "cmsis_os.h"
#include "mbed.h"
#include "platform/arm_hal_timer.h"
#include "platform/arm_hal_interrupt.h"
static osThreadId timer_thread_id;
static Timer timer;
static Ti... | 22.78481 | 76 | 0.693333 | nachocarballeda |
bac1f6ccc578536c31203bee9dc12945eef24063 | 5,721 | cc | C++ | vision/calibration_sim.cc | IJDykeman/experiments-1 | 22badf166b2ea441e953939463f751020b8c251b | [
"MIT"
] | 1 | 2022-02-28T04:19:34.000Z | 2022-02-28T04:19:34.000Z | vision/calibration_sim.cc | IJDykeman/experiments-1 | 22badf166b2ea441e953939463f751020b8c251b | [
"MIT"
] | null | null | null | vision/calibration_sim.cc | IJDykeman/experiments-1 | 22badf166b2ea441e953939463f751020b8c251b | [
"MIT"
] | null | null | null | #include "image_align.hh"
#include "eigen_helpers.hh"
#include "out.hh"
#include "util/clamp.hh"
#include "viewer/primitives/frame.hh"
#include "viewer/primitives/image.hh"
#include "viewer/primitives/image_frame.hh"
#include "viewer/primitives/simple_geometry.hh"
#include "viewer/window_3d.hh"
#include "viewer/windo... | 37.638158 | 120 | 0.692361 | IJDykeman |
bac33d67d2c7528c9a16695959b5d2ec3049229e | 554 | cpp | C++ | src/System/EventLock.cpp | hardx4/marketcash | b5a9bb2d80916ca2989845fda2458ad3f5952284 | [
"MIT"
] | null | null | null | src/System/EventLock.cpp | hardx4/marketcash | b5a9bb2d80916ca2989845fda2458ad3f5952284 | [
"MIT"
] | null | null | null | src/System/EventLock.cpp | hardx4/marketcash | b5a9bb2d80916ca2989845fda2458ad3f5952284 | [
"MIT"
] | 1 | 2021-01-14T15:02:37.000Z | 2021-01-14T15:02:37.000Z | /*
* Copyright (c) 2018, The MarketCash Developers.
* Portions Copyright (c) 2012-2017, The CryptoNote Developers, The Bytecoin Developers.
*
* This file is part of MarketCash.
*
* This file is subject to the terms and conditions defined in the
* file 'LICENSE', which is part of this source code package.
*/
#i... | 19.103448 | 88 | 0.680505 | hardx4 |
bac4ec99a2a3f39dcbde7663f8e2dc4029c28a26 | 4,962 | cc | C++ | base/regex_matcher.test.cc | ctidder/stigdb | d9ef3eb117d46542745ca98c55df13ec71447091 | [
"Apache-2.0"
] | 5 | 2018-04-24T12:36:50.000Z | 2020-03-25T00:37:17.000Z | base/regex_matcher.test.cc | ctidder/stigdb | d9ef3eb117d46542745ca98c55df13ec71447091 | [
"Apache-2.0"
] | null | null | null | base/regex_matcher.test.cc | ctidder/stigdb | d9ef3eb117d46542745ca98c55df13ec71447091 | [
"Apache-2.0"
] | 2 | 2018-04-24T12:39:24.000Z | 2020-03-25T00:45:08.000Z | /* <base/regex_matcher.test.cc>
Unit test for <base/regex_matcher.h>.
Copyright 2010-2014 Tagged
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/l... | 35.442857 | 78 | 0.688835 | ctidder |
bac9586e29e165c94410d53fdba051f067890f93 | 5,094 | cpp | C++ | directfire_github/trunk/gameui/battle.net/askfriendwidget.cpp | zhwsh00/DirectFire-android | 10c757e1be0b25dee951f9ba3a0e1f6d5c04a938 | [
"MIT"
] | 1 | 2015-08-12T04:05:33.000Z | 2015-08-12T04:05:33.000Z | directfire_github/trunk/gameui/battle.net/askfriendwidget.cpp | zhwsh00/DirectFire-android | 10c757e1be0b25dee951f9ba3a0e1f6d5c04a938 | [
"MIT"
] | null | null | null | directfire_github/trunk/gameui/battle.net/askfriendwidget.cpp | zhwsh00/DirectFire-android | 10c757e1be0b25dee951f9ba3a0e1f6d5c04a938 | [
"MIT"
] | null | null | null | #include "askfriendwidget.h"
#include "askasfrienddialog.h"
#include "addfrienddialog.h"
#include "sendmsganim.h"
#include "utils/sysutils.h"
#include "gamecore/sounds/soundmgr.h"
AskFriendWidget::AskFriendWidget(BasWidget *parent)
{
m_inited = false;
m_theme = "default";
m_hasImg = "friendadd_yes.png";
... | 31.8375 | 107 | 0.685905 | zhwsh00 |
bacd62ac86e83c5695ac425b1e6eb9fe281a55e1 | 26,379 | cpp | C++ | cpp/tests/strings/contains_tests.cpp | Matt711/cudf | b8521c336a59dd651b6db17d5c0902a0886ac324 | [
"Apache-2.0"
] | 1 | 2022-03-04T16:36:48.000Z | 2022-03-04T16:36:48.000Z | cpp/tests/strings/contains_tests.cpp | Matt711/cudf | b8521c336a59dd651b6db17d5c0902a0886ac324 | [
"Apache-2.0"
] | 1 | 2022-02-28T05:17:59.000Z | 2022-02-28T05:17:59.000Z | cpp/tests/strings/contains_tests.cpp | abhishesh/cudf | 4c9ef5161268e2486938546deef00f7fc84c9a95 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019-2022, NVIDIA 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... | 49.306542 | 100 | 0.622844 | Matt711 |
bad4f771984e0dfcb6a8e266071ac35dbf0c221f | 29,554 | cpp | C++ | Temp/il2cppOutput/il2cppOutput/Bulk_UnityEngine.Physics2DModule_0.cpp | icdiicdi/ARRemoteCar | 72c4ebc1a69bd0fdac772c65f5235fba62797f94 | [
"MIT"
] | null | null | null | Temp/il2cppOutput/il2cppOutput/Bulk_UnityEngine.Physics2DModule_0.cpp | icdiicdi/ARRemoteCar | 72c4ebc1a69bd0fdac772c65f5235fba62797f94 | [
"MIT"
] | null | null | null | Temp/il2cppOutput/il2cppOutput/Bulk_UnityEngine.Physics2DModule_0.cpp | icdiicdi/ARRemoteCar | 72c4ebc1a69bd0fdac772c65f5235fba62797f94 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | 34.285383 | 199 | 0.817148 | icdiicdi |
bad6565d297962934407904459fad31731c38471 | 446 | cpp | C++ | fawnkv/virtualnode.cpp | abcinje/FAWN-KV | 6c557b3793010eb0b2f08d4bd0d47b5e68801080 | [
"Apache-2.0"
] | 50 | 2015-04-24T23:12:20.000Z | 2022-01-27T06:03:11.000Z | fawnkv/virtualnode.cpp | abcinje/FAWN-KV | 6c557b3793010eb0b2f08d4bd0d47b5e68801080 | [
"Apache-2.0"
] | null | null | null | fawnkv/virtualnode.cpp | abcinje/FAWN-KV | 6c557b3793010eb0b2f08d4bd0d47b5e68801080 | [
"Apache-2.0"
] | 12 | 2015-02-24T01:34:10.000Z | 2021-12-22T04:39:03.000Z | /* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "virtualnode.h"
#include "node.h"
using fawn::DBID;
VirtualNode::VirtualNode() :
n(NULL), id(NULL), dead(false){
}
VirtualNode::VirtualNode(Node *nde, DBID *a) :
n(nde), id(new DBID(a->data(), a->size())), dead(false) {
}
VirtualNode... | 19.391304 | 65 | 0.621076 | abcinje |
bada1c16254be6d2b2da542188870e601524711d | 7,304 | cpp | C++ | src/GL/GLLights.cpp | quimnuss/adanaxis | a04eb945fe808aeb9be5da305a37ff47e04dd006 | [
"MIT"
] | null | null | null | src/GL/GLLights.cpp | quimnuss/adanaxis | a04eb945fe808aeb9be5da305a37ff47e04dd006 | [
"MIT"
] | null | null | null | src/GL/GLLights.cpp | quimnuss/adanaxis | a04eb945fe808aeb9be5da305a37ff47e04dd006 | [
"MIT"
] | null | null | null | //%Header {
/*****************************************************************************
*
* File: src/GL/GLLights.cpp
*
* Author: Andy Southgate 2002-2005
*
* This file contains original work by Andy Southgate. The author and his
* employer (Mushware Limited) irrevocably waive all of their copyright rights
... | 24.105611 | 83 | 0.600493 | quimnuss |
bade9bd35f5535f7184b471d9efa582dff346c3d | 823 | cpp | C++ | bus/spi-ai.cpp | yan9a/beagle | d593d4434fdca458e380611af776b949f348ac67 | [
"MIT"
] | 1 | 2022-03-28T02:16:34.000Z | 2022-03-28T02:16:34.000Z | bus/spi-ai.cpp | yan9a/beagle | d593d4434fdca458e380611af776b949f348ac67 | [
"MIT"
] | null | null | null | bus/spi-ai.cpp | yan9a/beagle | d593d4434fdca458e380611af776b949f348ac67 | [
"MIT"
] | 1 | 2022-03-18T13:05:00.000Z | 2022-03-18T13:05:00.000Z | // File: spi-ai.cpp
// Description: SPI communication with MCP3008 ADC
// WebSite: http://cool-emerald.blogspot.com
// MIT License (https://opensource.org/licenses/MIT)
// Copyright (c) 2018 Yan Naing Aye
#include <stdio.h>
#include <stdlib.h>
#include "ce_spi.h"
using namespace std;
int main()
{
CE_SPI m;
m... | 22.243243 | 52 | 0.563791 | yan9a |
bae03444a00c3f475fb7ab5acf7f9b145fecf59d | 6,532 | cpp | C++ | libnaucrates/src/parser/CParseHandlerTableScan.cpp | davidli2010/gporca | 4c946e5e41051c832736b2fce712c37ca651ddf5 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-01-01T03:11:59.000Z | 2021-01-01T03:11:59.000Z | libnaucrates/src/parser/CParseHandlerTableScan.cpp | davidli2010/gporca | 4c946e5e41051c832736b2fce712c37ca651ddf5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libnaucrates/src/parser/CParseHandlerTableScan.cpp | davidli2010/gporca | 4c946e5e41051c832736b2fce712c37ca651ddf5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2010 Greenplum, Inc.
//
// @filename:
// CParseHandlerTableScan.cpp
//
// @doc:
// Implementation of the SAX parse handler class for parsing table scan operators.
//------------------------------------... | 33.497436 | 167 | 0.682486 | davidli2010 |
bae675a5987636a0d04c618447fb1f4c58a079e2 | 1,363 | cpp | C++ | Core/TickCounter.cpp | jrouwe/RayCastTest | 6f16eef819bd13f7f7bf063b076dab7091b1886a | [
"MIT"
] | 7 | 2020-05-26T15:23:25.000Z | 2022-02-25T19:36:25.000Z | Core/TickCounter.cpp | jrouwe/RayCastTest | 6f16eef819bd13f7f7bf063b076dab7091b1886a | [
"MIT"
] | null | null | null | Core/TickCounter.cpp | jrouwe/RayCastTest | 6f16eef819bd13f7f7bf063b076dab7091b1886a | [
"MIT"
] | 2 | 2022-03-02T16:30:50.000Z | 2022-03-06T14:45:33.000Z | #include <pch.h> // IWYU pragma: keep
#include <Core/TickCounter.h>
static uint64 sProcessorTicksPerSecond = []() {
#if defined(_WIN32)
// Open the key where the processor speed is stored
HKEY hkey;
RegOpenKeyExA(HKEY_LOCAL_MACHINE, "HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0", 0, 1, &hkey);
//... | 22.716667 | 103 | 0.616288 | jrouwe |
bae6c6b7498d2a5a3f64f3c2cc0712e1ae657224 | 946 | cpp | C++ | Atcoder/KEYENCE 2021/D.cpp | python-programmer1512/Code_of_gunwookim | e72e6724fb9ee6ccf2e1064583956fa954ba0282 | [
"MIT"
] | 4 | 2021-01-27T11:51:30.000Z | 2021-01-30T17:02:55.000Z | Atcoder/KEYENCE 2021/D.cpp | python-programmer1512/Code_of_gunwookim | e72e6724fb9ee6ccf2e1064583956fa954ba0282 | [
"MIT"
] | null | null | null | Atcoder/KEYENCE 2021/D.cpp | python-programmer1512/Code_of_gunwookim | e72e6724fb9ee6ccf2e1064583956fa954ba0282 | [
"MIT"
] | 5 | 2021-01-27T11:46:12.000Z | 2021-05-06T05:37:47.000Z | #include <bits/stdc++.h>
#define x first
#define y second
#define pb push_back
#define all(v) v.begin(),v.end()
#pragma gcc optimize("O3")
#pragma gcc optimize("Ofast")
#pragma gcc optimize("unroll-loops")
using namespace std;
const int INF = 1e9;
const int TMX = 1 << 18;
const long long llINF = 1e16;
const long long ... | 22 | 46 | 0.612051 | python-programmer1512 |
bae83598ad18b94a811d04304bd6ce19db2e363e | 6,978 | hxx | C++ | data-structures/include/cxx/optional.hxx | mtezych/cpp | 05c1b85eb89117a9b406f3f32470367937331614 | [
"BSD-3-Clause"
] | null | null | null | data-structures/include/cxx/optional.hxx | mtezych/cpp | 05c1b85eb89117a9b406f3f32470367937331614 | [
"BSD-3-Clause"
] | null | null | null | data-structures/include/cxx/optional.hxx | mtezych/cpp | 05c1b85eb89117a9b406f3f32470367937331614 | [
"BSD-3-Clause"
] | 2 | 2019-12-21T00:31:17.000Z | 2021-07-14T23:16:23.000Z |
/*
* BSD 3-Clause License
*
* Copyright (c) 2021, Mateusz Zych
* 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... | 25.282609 | 80 | 0.541702 | mtezych |
baeb2186cb2270c0d3db688922c0b76574487ac4 | 4,152 | hpp | C++ | src/seshat/DataSequence.hpp | ghord/inkmath | ec4a53a3ecaf03416374447b216c4a1c430980eb | [
"MIT"
] | 3 | 2016-06-05T10:05:22.000Z | 2021-12-21T10:19:50.000Z | src/seshat/DataSequence.hpp | ghord/inkmath | ec4a53a3ecaf03416374447b216c4a1c430980eb | [
"MIT"
] | 2 | 2016-06-04T05:41:49.000Z | 2021-02-23T09:29:47.000Z | src/seshat/DataSequence.hpp | ghord/inkmath | ec4a53a3ecaf03416374447b216c4a1c430980eb | [
"MIT"
] | 1 | 2016-09-02T08:26:06.000Z | 2016-09-02T08:26:06.000Z | /*Copyright 2014 Francisco Alvaro
This file is part of SESHAT.
SESHAT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
SESHAT is ... | 26.615385 | 126 | 0.707852 | ghord |
baef93f0462d55f15f0276f85d3f26b40f1fae7f | 3,432 | cpp | C++ | xerces-c-3.1.1/src/xercesc/util/BinMemInputStream.cpp | dshadrin/RpcWrappersGenerator | 9a8ac6bebbaf73f26324f4444f6d1d620e3e9a75 | [
"Apache-2.0"
] | 218 | 2015-07-17T19:18:07.000Z | 2022-03-03T18:00:08.000Z | 3rd-party/apache/xerces/src/xercesc/util/BinMemInputStream.cpp | okean/cpputils | 812cf41f04d66c28a5eb46dedab6e782c49e0f7a | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 88 | 2015-07-08T15:35:46.000Z | 2020-08-13T13:03:09.000Z | 3rd-party/apache/xerces/src/xercesc/util/BinMemInputStream.cpp | okean/cpputils | 812cf41f04d66c28a5eb46dedab6e782c49e0f7a | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 56 | 2015-09-17T21:22:32.000Z | 2021-04-01T20:19:32.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 ... | 34.666667 | 84 | 0.564977 | dshadrin |
baf0071969d7834a60eaa40103c98860d4406141 | 4,000 | cpp | C++ | source/games/exhumed/src/map.cpp | alexey-lysiuk/Raze | 690994ea1e6b105d4fc55d6b81ffda5e26e68c36 | [
"RSA-MD"
] | null | null | null | source/games/exhumed/src/map.cpp | alexey-lysiuk/Raze | 690994ea1e6b105d4fc55d6b81ffda5e26e68c36 | [
"RSA-MD"
] | null | null | null | source/games/exhumed/src/map.cpp | alexey-lysiuk/Raze | 690994ea1e6b105d4fc55d6b81ffda5e26e68c36 | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 2010-2019 EDuke32 developers and contributors
Copyright (C) 2019 sirlemonhead, Nuke.YKT
This file is part of PCExhumed.
PCExhumed is free software; you can redistribute it and/or
modify it under the terms of the GNU General Pub... | 35.714286 | 218 | 0.6005 | alexey-lysiuk |
baf291ea115164acd1afa601a8b6e3f50f34d224 | 869 | hpp | C++ | lib/parser/Objects.hpp | calpoly-csc473-spring-18/final-project-website-mlkeller | d151bfda0da7b0d1622a8e2604665a4abcfb5782 | [
"MIT"
] | null | null | null | lib/parser/Objects.hpp | calpoly-csc473-spring-18/final-project-website-mlkeller | d151bfda0da7b0d1622a8e2604665a4abcfb5782 | [
"MIT"
] | null | null | null | lib/parser/Objects.hpp | calpoly-csc473-spring-18/final-project-website-mlkeller | d151bfda0da7b0d1622a8e2604665a4abcfb5782 | [
"MIT"
] | null | null | null |
// Copyright (C) 2018 Ian Dunn
// For conditions of distribution and use, see the LICENSE file
#pragma once
#include <glm/glm.hpp>
#include <vector>
namespace parser
{
struct Finish
{
float ambient = 0;
float diffuse = 0;
float specular = 0;
float roughness = 1;
float reflection = 0;
float ior = 1... | 11.586667 | 63 | 0.621404 | calpoly-csc473-spring-18 |
bafe6bd379e97e7a7d0bd17cfffeab3b6498df32 | 38,368 | cpp | C++ | Levels.cpp | thomasvt/stuck | eb590f4218d8eb00199518c8f0c1d3225216d412 | [
"MIT"
] | 1 | 2022-03-13T09:02:50.000Z | 2022-03-13T09:02:50.000Z | Levels.cpp | thomasvt/stuck | eb590f4218d8eb00199518c8f0c1d3225216d412 | [
"MIT"
] | 1 | 2022-03-13T09:04:33.000Z | 2022-03-13T18:56:32.000Z | Levels.cpp | thomasvt/stuck | eb590f4218d8eb00199518c8f0c1d3225216d412 | [
"MIT"
] | null | null | null | #include <Levels.h>
namespace levels {
// copy these to the levels.h file:
// -- end
const uint16_t level0_name_data[] PROGMEM = { // entrance
0, 0, 0, 0, 0, 0, 0,
0
};
const uint16_t level1_name_data[] PROGMEM = { // prison
0, 0, 0, 0, 0, 0, 0,
0
};
const uint16_t level2_name_data[] PROGMEM = { // seve... | 74.500971 | 297 | 0.400542 | thomasvt |
2403ebe20f9d78a5ac1ecf2bd2a921736e129fa2 | 76,863 | inl | C++ | Inc/DirectXMathConvert.inl | thatname/DirectXMath | b8799c360a29ddb204cc0acfee8a2f2d54db4a20 | [
"MIT"
] | null | null | null | Inc/DirectXMathConvert.inl | thatname/DirectXMath | b8799c360a29ddb204cc0acfee8a2f2d54db4a20 | [
"MIT"
] | null | null | null | Inc/DirectXMathConvert.inl | thatname/DirectXMath | b8799c360a29ddb204cc0acfee8a2f2d54db4a20 | [
"MIT"
] | null | null | null | //-------------------------------------------------------------------------------------
// DirectXMathConvert.inl -- SIMD C++ Math library
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkID=615560
//---------------------... | 36.688783 | 112 | 0.615602 | thatname |
2404469c93d275dba2598e7a8dd2f0b5e311d822 | 2,903 | cpp | C++ | firmware-latest/system/src/system_sleep.cpp | adeeshag/particle_project | 0c2ab278cf902f97d2422c44c008978be58fe6b7 | [
"Unlicense"
] | null | null | null | firmware-latest/system/src/system_sleep.cpp | adeeshag/particle_project | 0c2ab278cf902f97d2422c44c008978be58fe6b7 | [
"Unlicense"
] | null | null | null | firmware-latest/system/src/system_sleep.cpp | adeeshag/particle_project | 0c2ab278cf902f97d2422c44c008978be58fe6b7 | [
"Unlicense"
] | null | null | null | /**
******************************************************************************
Copyright (c) 2013-2015 Particle Industries, Inc. All rights reserved.
This library 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 S... | 32.255556 | 126 | 0.620393 | adeeshag |
24087c5ebf407dcc6f226da8e49920cc3b424830 | 642 | cpp | C++ | Assignments/Week2 Solution - Talha Tariq/Binary Search/P8 - Peak Index.cpp | TT-talhatariq/DSA-Bootcamp-Cpp | 823e8d8e3e01803667636f9c2be8f3e520214df3 | [
"MIT"
] | null | null | null | Assignments/Week2 Solution - Talha Tariq/Binary Search/P8 - Peak Index.cpp | TT-talhatariq/DSA-Bootcamp-Cpp | 823e8d8e3e01803667636f9c2be8f3e520214df3 | [
"MIT"
] | null | null | null | Assignments/Week2 Solution - Talha Tariq/Binary Search/P8 - Peak Index.cpp | TT-talhatariq/DSA-Bootcamp-Cpp | 823e8d8e3e01803667636f9c2be8f3e520214df3 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#include <string.h>
using namespace std;
int peakIndexInMountainArray(vector<int>& arr) {
int s = 0;
int end = arr.size()-1;
int mid = 0;
int n = arr.size()-1;
while(s<=end){
mid = s+(end-s)/2;
if((mid == 0 || arr[mid-1] <= arr[mid]) && (mid == n |... | 20.0625 | 88 | 0.481308 | TT-talhatariq |
2409e0a77b0a2154778139b82d8e8881bc054c65 | 10,956 | cpp | C++ | cold-redundancy/cold_redundancy.cpp | smccarney/phosphor-power | 39ea02bc9458f3d5a7fdd317cb546ed046eaff78 | [
"Apache-2.0"
] | 7 | 2019-10-04T01:19:49.000Z | 2021-06-02T23:11:19.000Z | cold-redundancy/cold_redundancy.cpp | smccarney/phosphor-power | 39ea02bc9458f3d5a7fdd317cb546ed046eaff78 | [
"Apache-2.0"
] | 9 | 2019-10-23T14:22:03.000Z | 2022-03-22T20:39:05.000Z | cold-redundancy/cold_redundancy.cpp | smccarney/phosphor-power | 39ea02bc9458f3d5a7fdd317cb546ed046eaff78 | [
"Apache-2.0"
] | 11 | 2019-10-04T01:20:01.000Z | 2022-03-03T06:08:16.000Z | /*
// Copyright (c) 2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 39.128571 | 80 | 0.460022 | smccarney |
240a7c822ff2c8a950aba9f080769538ea515b80 | 29,636 | cpp | C++ | Gems/PhysX/Code/Source/Joint.cpp | ninpo3d/o3de | 69bd0e85199829643a25f8829a1ae283b1016260 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/PhysX/Code/Source/Joint.cpp | ninpo3d/o3de | 69bd0e85199829643a25f8829a1ae283b1016260 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/PhysX/Code/Source/Joint.cpp | ninpo3d/o3de | 69bd0e85199829643a25f8829a1ae283b1016260 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <PhysX_precompiled.h>
#include <Joint.h>
#include <AzCore/Serialization/EditContext.h>
#inc... | 46.161994 | 187 | 0.654204 | ninpo3d |
240db49b2d364c6f5d68725ae3d749484663c42c | 2,764 | cpp | C++ | contrib/ldapc++/src/LDAPResult.cpp | matherm-aboehm/openldap | 2615a35b32b3596a1e8f872f0c244bc4a41a047e | [
"OLDAP-2.8"
] | 12 | 2015-03-24T10:41:33.000Z | 2021-03-19T10:46:29.000Z | contrib/ldapc++/src/LDAPResult.cpp | matherm-aboehm/openldap | 2615a35b32b3596a1e8f872f0c244bc4a41a047e | [
"OLDAP-2.8"
] | 8 | 2015-01-28T02:53:22.000Z | 2021-12-08T05:31:04.000Z | contrib/ldapc++/src/LDAPResult.cpp | matherm-aboehm/openldap | 2615a35b32b3596a1e8f872f0c244bc4a41a047e | [
"OLDAP-2.8"
] | 8 | 2015-04-14T13:03:24.000Z | 2019-09-19T03:22:11.000Z | // $OpenLDAP$
/*
* Copyright 2000-2018 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#include "debug.h"
#include"LDAPResult.h"
#include"LDAPAsynConnection.h"
#include "LDAPRequest.h"
#include "LDAPException.h"
#include <cstdlib>
using namespace std;
LDAPResult... | 28.494845 | 76 | 0.60492 | matherm-aboehm |
2410dde6a538387df714e9d5cfd44dda5cc7ec75 | 3,058 | cpp | C++ | vslib/src/Switch.cpp | judyjoseph/sonic-sairedis | 3c485e519db3ba96f4d4c0401ddfdfdf35767682 | [
"Apache-2.0"
] | null | null | null | vslib/src/Switch.cpp | judyjoseph/sonic-sairedis | 3c485e519db3ba96f4d4c0401ddfdfdf35767682 | [
"Apache-2.0"
] | 3 | 2016-08-08T12:14:15.000Z | 2018-02-23T12:48:36.000Z | vslib/src/Switch.cpp | judyjoseph/sonic-sairedis | 3c485e519db3ba96f4d4c0401ddfdfdf35767682 | [
"Apache-2.0"
] | 3 | 2021-06-23T11:43:41.000Z | 2021-06-23T13:45:26.000Z | #include "Switch.h"
#include "swss/logger.h"
#include <cstring>
using namespace saivs;
Switch::Switch(
_In_ sai_object_id_t switchId):
m_switchId(switchId)
{
SWSS_LOG_ENTER();
if (switchId == SAI_NULL_OBJECT_ID)
{
SWSS_LOG_THROW("switch id can't be NULL");
}
clearNotificati... | 26.136752 | 90 | 0.637345 | judyjoseph |
241194324f394d1dbe26ce12a80f3a55a568fa39 | 745 | hpp | C++ | function/listFunction.hpp | TaylorP/TML | e4c0c7ce69645a1cf30df005af786a15f85b54a2 | [
"MIT"
] | 4 | 2015-12-17T21:58:27.000Z | 2019-10-31T16:50:41.000Z | function/listFunction.hpp | TaylorP/TML | e4c0c7ce69645a1cf30df005af786a15f85b54a2 | [
"MIT"
] | null | null | null | function/listFunction.hpp | TaylorP/TML | e4c0c7ce69645a1cf30df005af786a15f85b54a2 | [
"MIT"
] | 1 | 2019-05-07T18:51:00.000Z | 2019-05-07T18:51:00.000Z | #ifndef LIST_FUNCTION_HPP
#define LIST_FUNCTION_HPP
#include "function/function.hpp"
#include "exception/functionException.hpp"
/// Function for bullet list blocks
class ListFunction : public Function
{
public:
/// Constructs a new header function
ListFunction(const bool pFilter)
: Function(pFilter)
... | 22.575758 | 67 | 0.571812 | TaylorP |
2411b8efc238c8985258d861fd5cc8481f2a2205 | 2,299 | hpp | C++ | include/ars/sdk/net/submask.hpp | southbear-club/aru | 24a3b28d9a168c28435e9cb5b5c10a2e404042a8 | [
"MIT"
] | 2 | 2021-10-21T12:25:23.000Z | 2021-10-22T00:38:35.000Z | include/ars/sdk/net/submask.hpp | southbear-club/aru | 24a3b28d9a168c28435e9cb5b5c10a2e404042a8 | [
"MIT"
] | null | null | null | include/ars/sdk/net/submask.hpp | southbear-club/aru | 24a3b28d9a168c28435e9cb5b5c10a2e404042a8 | [
"MIT"
] | null | null | null | /**
* Copyright © 2021 <wotsen>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modify, merge, publish,
* ... | 31.067568 | 96 | 0.69552 | southbear-club |
241a67cb776eac59499ed2c3132e12e19a9bbba2 | 2,387 | cpp | C++ | src/mongo/util/concurrency/synchronization.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | 24 | 2015-10-15T00:03:57.000Z | 2021-04-25T18:21:31.000Z | src/mongo/util/concurrency/synchronization.cpp | wtfuzz/mongo-arm | be6a5bbdca5b7b0566d043b6d7cea289743812d1 | [
"Apache-2.0"
] | 1 | 2015-06-02T12:19:19.000Z | 2015-06-02T12:19:19.000Z | src/mongo/util/concurrency/synchronization.cpp | wtfuzz/mongo-arm | be6a5bbdca5b7b0566d043b6d7cea289743812d1 | [
"Apache-2.0"
] | 3 | 2017-07-26T11:17:11.000Z | 2021-11-30T00:11:32.000Z | // synchronization.cpp
/* Copyright 2010 10gen 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 requir... | 26.522222 | 93 | 0.587767 | nleite |
241c87250e44f48d45d4151c0664a1dea24b4f44 | 2,065 | cpp | C++ | dep/skse/skse/PapyrusMisc.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 39 | 2015-01-16T09:17:05.000Z | 2021-12-15T23:02:00.000Z | dep/skse/skse/PapyrusMisc.cpp | Verteiron/JContainers | a5c83198c782458a7c2ae683319558cc88959d25 | [
"MIT"
] | 26 | 2015-01-03T20:26:27.000Z | 2019-12-30T22:46:15.000Z | dep/skse/skse/PapyrusMisc.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 14 | 2015-10-23T08:46:01.000Z | 2022-03-24T18:08:24.000Z | #include "PapyrusMisc.h"
#include "GameForms.h"
#include "GameObjects.h"
namespace papyrusSoulGem
{
UInt32 GetSoulSize(TESSoulGem* thisGem)
{
if (!thisGem)
return 0;
return thisGem->soulSize;
}
UInt32 GetGemSize(TESSoulGem* thisGem)
{
if (!thisGem)
return 0;
return thisGem->gemSize;
}
}
namespac... | 24.011628 | 120 | 0.753511 | SilverIce |
241e13effb1ce163562b746795f899cb89dc8d67 | 13,352 | inl | C++ | external/include/glm/detail/func_noise.inl | catlin735/animation-toolkit | ab906fa213a21168b7b5b5fc12aac46dedf60b15 | [
"MIT"
] | 191 | 2015-01-05T23:13:29.000Z | 2022-02-03T06:11:47.000Z | external/include/glm/detail/func_noise.inl | catlin735/animation-toolkit | ab906fa213a21168b7b5b5fc12aac46dedf60b15 | [
"MIT"
] | 47 | 2015-03-23T14:11:06.000Z | 2017-05-21T05:14:57.000Z | external/include/glm/detail/func_noise.inl | catlin735/animation-toolkit | ab906fa213a21168b7b5b5fc12aac46dedf60b15 | [
"MIT"
] | 41 | 2015-07-10T13:39:14.000Z | 2021-02-21T14:50:25.000Z | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documen... | 34.323907 | 132 | 0.532355 | catlin735 |
241f97df1603b596b6d46b70ae500fb3a2a11307 | 4,068 | cpp | C++ | CPP/tests/1_hour_1.cpp | rishabhiitbhu/hackerrank | acc300851c81a29472177f15fd8b56ebebe853ea | [
"MIT"
] | null | null | null | CPP/tests/1_hour_1.cpp | rishabhiitbhu/hackerrank | acc300851c81a29472177f15fd8b56ebebe853ea | [
"MIT"
] | null | null | null | CPP/tests/1_hour_1.cpp | rishabhiitbhu/hackerrank | acc300851c81a29472177f15fd8b56ebebe853ea | [
"MIT"
] | 1 | 2020-01-30T06:47:09.000Z | 2020-01-30T06:47:09.000Z | //http://www.newthinktank.com/2014/11/c-programming-tutorial/
//g++ -std=c++11 1_hour.cpp && ./a.out
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <stdlib.h>
// #include <algorithm>
// #include <cstdlib>
using namespace std;
int main(){
cout<<"hello world"<<endl;
const double... | 26.415584 | 90 | 0.604966 | rishabhiitbhu |
2427e5a55017b83bf912962a8d39895ce74db6ba | 15,889 | hpp | C++ | src/algorithm/regressor.hpp | thanhndv212/pinocchio | 3b4d272bf4e8a231954b71201ee7e0963c944aef | [
"BSD-2-Clause-FreeBSD"
] | 716 | 2015-03-30T16:26:45.000Z | 2022-03-30T12:26:58.000Z | src/algorithm/regressor.hpp | thanhndv212/pinocchio | 3b4d272bf4e8a231954b71201ee7e0963c944aef | [
"BSD-2-Clause-FreeBSD"
] | 1,130 | 2015-02-21T17:30:44.000Z | 2022-03-30T09:06:22.000Z | src/algorithm/regressor.hpp | thanhndv212/pinocchio | 3b4d272bf4e8a231954b71201ee7e0963c944aef | [
"BSD-2-Clause-FreeBSD"
] | 239 | 2015-02-05T14:15:14.000Z | 2022-03-14T23:51:47.000Z | //
// Copyright (c) 2018-2020 CNRS INRIA
//
#ifndef __pinocchio_algorithm_regressor_hpp__
#define __pinocchio_algorithm_regressor_hpp__
#include "pinocchio/multibody/model.hpp"
#include "pinocchio/multibody/data.hpp"
namespace pinocchio
{
///
/// \copydoc computeJointKinematicRegressor(const ModelTpl<Scalar,O... | 53.498316 | 230 | 0.682296 | thanhndv212 |
242d1911b3d917c4ed72f4a4b6d636c805537db9 | 1,674 | hh | C++ | elements/ip/iprwpattern.hh | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 32 | 2017-11-02T12:33:21.000Z | 2022-02-07T22:25:58.000Z | elements/ip/iprwpattern.hh | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 2 | 2019-02-18T08:47:16.000Z | 2019-05-24T14:41:23.000Z | elements/ip/iprwpattern.hh | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 10 | 2018-06-13T11:54:53.000Z | 2020-09-08T06:52:43.000Z | // -*- mode: c++; c-basic-offset: 4 -*-
#ifndef CLICK_IPRW_PATTERN_HH
#define CLICK_IPRW_PATTERN_HH
#include <click/element.hh>
#include <click/hashcontainer.hh>
#include <click/ipflowid.hh>
CLICK_DECLS
class IPRewriterFlow;
class IPRewriterEntry;
class IPRewriterInput;
class IPRewriterPattern { public:
IPRewrite... | 24.617647 | 80 | 0.696535 | MacWR |
242de9e654d61c1d7e7d627e8cecd32aac557ccf | 5,554 | cpp | C++ | src/examples/tutorial/kwl.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 251 | 2015-10-20T09:08:11.000Z | 2022-03-22T18:16:38.000Z | src/examples/tutorial/kwl.cpp | IvanLJF/ossim | 2e0143f682b9884a09ff2598ef8737f29e44fbdf | [
"MIT"
] | 73 | 2015-11-02T17:12:36.000Z | 2021-11-15T17:41:47.000Z | src/examples/tutorial/kwl.cpp | IvanLJF/ossim | 2e0143f682b9884a09ff2598ef8737f29e44fbdf | [
"MIT"
] | 146 | 2015-10-15T16:00:15.000Z | 2022-03-22T12:37:14.000Z | /*!
*
* OVERVIEW:
*
* This app uses factory and keywordlist to instatiate objects within OSSIM. Among these
* objects are projections, and image processing filters/mosaics and annotations. Basically any
* object within OSSIM that must have a state saved or loaded uses a keywordlist to do so.
* The main keyword... | 28.628866 | 129 | 0.644941 | vladislav-horbatiuk |
2432d34dc8181379ff959b38349c9f0a7b38afc2 | 5,021 | cpp | C++ | GPUPerfStudio/Server/Common/Linux/jpglib/jaricom.cpp | davidlee80/amd-gpuperfstudio-dx12 | 4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe | [
"MIT"
] | 1 | 2017-03-25T02:09:15.000Z | 2017-03-25T02:09:15.000Z | GPUPerfStudio/Server/Common/Linux/jpglib/jaricom.cpp | davidlee80/amd-gpuperfstudio-dx12 | 4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe | [
"MIT"
] | null | null | null | GPUPerfStudio/Server/Common/Linux/jpglib/jaricom.cpp | davidlee80/amd-gpuperfstudio-dx12 | 4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe | [
"MIT"
] | 3 | 2017-03-15T03:35:13.000Z | 2022-02-23T06:29:02.000Z | /*
* jaricom.c
*
* Developed 1997-2011 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains probability estimation tables for common use in
* arithmetic entropy encoding and decoding ... | 31.578616 | 79 | 0.514639 | davidlee80 |
0f8454ad7218fd0333350cfdc595b985ff6d89cf | 1,406 | hpp | C++ | src/stitcher_impl.hpp | mpiatka/gpustitch | be5520b440d44aa45df3e2bdb66969561a091462 | [
"BSD-3-Clause"
] | null | null | null | src/stitcher_impl.hpp | mpiatka/gpustitch | be5520b440d44aa45df3e2bdb66969561a091462 | [
"BSD-3-Clause"
] | null | null | null | src/stitcher_impl.hpp | mpiatka/gpustitch | be5520b440d44aa45df3e2bdb66969561a091462 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STITCHER_IMPL_HPP
#define STITCHER_IMPL_HPP
#include <vector>
#include "cam_stitch_ctx.hpp"
#include "stitcher_params.hpp"
#include "image.hpp"
#include "overlap.hpp"
#include "stitcher.hpp"
#include "cuda_stream.hpp"
#include "blender.hpp"
namespace gpustitch{
struct Cam_overlap_info{
Overlap *left;
Overl... | 20.985075 | 67 | 0.773826 | mpiatka |
0f8664edfc87df32802b1ba61bb241b825d2808c | 2,292 | cpp | C++ | src/coreclr/tests/src/Interop/PInvoke/Generics/GenericsNative.Vector256U.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 2 | 2020-03-09T16:27:51.000Z | 2021-03-11T14:46:28.000Z | src/coreclr/tests/src/Interop/PInvoke/Generics/GenericsNative.Vector256U.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 2 | 2020-06-06T09:07:48.000Z | 2020-06-06T09:13:07.000Z | src/coreclr/tests/src/Interop/PInvoke/Generics/GenericsNative.Vector256U.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.
#include <stdio.h>
#include <stdint.h>
#include <xplatform.h>
#include <platformdefines.h>
#if defined(TARGET_XARCH... | 29.766234 | 193 | 0.695899 | abock |
0f873e85896a352fc739ae4ed2e6deb1c472d3d3 | 5,760 | cpp | C++ | perception/object_recognition/tracking/multi_object_tracker/src/data_association/data_association.cpp | hamlinzheng/AutowareArchitectureProposal.iv | 8a1343019aca3a648754fa50e6cab72b98db2df5 | [
"Apache-2.0"
] | null | null | null | perception/object_recognition/tracking/multi_object_tracker/src/data_association/data_association.cpp | hamlinzheng/AutowareArchitectureProposal.iv | 8a1343019aca3a648754fa50e6cab72b98db2df5 | [
"Apache-2.0"
] | 9 | 2021-08-09T14:15:58.000Z | 2021-08-19T07:56:14.000Z | perception/object_recognition/tracking/multi_object_tracker/src/data_association/data_association.cpp | hamlinzheng/AutowareArchitectureProposal.iv | 8a1343019aca3a648754fa50e6cab72b98db2df5 | [
"Apache-2.0"
] | 1 | 2021-02-09T01:24:13.000Z | 2021-02-09T01:24:13.000Z | /*
* Copyright 2018 Autoware Foundation. 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 b... | 40.56338 | 116 | 0.699306 | hamlinzheng |
0f8c39205daf39e05ae1c8e9250f1ba1881de875 | 4,596 | cc | C++ | src/mem/cache/replacement_policies/second_chance_rp.cc | fei-shan/gem5-experiment | 70781db30d42b1fe50e495bd04f7755a4b0e0e59 | [
"BSD-3-Clause"
] | 2 | 2021-01-15T17:32:18.000Z | 2021-12-21T02:53:58.000Z | src/mem/cache/replacement_policies/second_chance_rp.cc | fei-shan/gem5-experiment | 70781db30d42b1fe50e495bd04f7755a4b0e0e59 | [
"BSD-3-Clause"
] | 3 | 2021-03-26T20:33:59.000Z | 2022-01-24T22:54:03.000Z | src/mem/cache/replacement_policies/second_chance_rp.cc | fei-shan/gem5-experiment | 70781db30d42b1fe50e495bd04f7755a4b0e0e59 | [
"BSD-3-Clause"
] | 3 | 2021-03-27T16:36:19.000Z | 2022-03-28T18:32:57.000Z | /**
* Copyright (c) 2018-2020 Inria
* 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 th... | 33.547445 | 74 | 0.727154 | fei-shan |
0f8d7a54dffefb9a658c01de96d7f2fc7bc500d1 | 2,552 | cpp | C++ | leetcode/30_days_challenge/2020_9_September/day8.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | 1 | 2020-05-05T13:06:51.000Z | 2020-05-05T13:06:51.000Z | leetcode/30_days_challenge/2020_9_September/day8.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | leetcode/30_days_challenge/2020_9_September/day8.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | /****************************************************
Date: Sept 8th
link: https://leetcode.com/explore/challenge/card/september-leetcoding-challenge/555/week-2-september-8th-september-14th/3453/
****************************************************/
#include <iostream>
#include <vector>
#include <list>
#include <algo... | 26.309278 | 126 | 0.537226 | bvbasavaraju |
0f8fb39e52bb3c1d5b296f6c3c61a992224535da | 79 | hpp | C++ | JurassicPark/JurassicPark/Climate.hpp | deyanstoyanov10/Jurassic-Park | c484c917f3f6a2d0c7c95ef227363a5e5a6a94e4 | [
"MIT"
] | null | null | null | JurassicPark/JurassicPark/Climate.hpp | deyanstoyanov10/Jurassic-Park | c484c917f3f6a2d0c7c95ef227363a5e5a6a94e4 | [
"MIT"
] | null | null | null | JurassicPark/JurassicPark/Climate.hpp | deyanstoyanov10/Jurassic-Park | c484c917f3f6a2d0c7c95ef227363a5e5a6a94e4 | [
"MIT"
] | null | null | null | #pragma once
enum class Climate
{
Unknown = -1,
Terrestrial,
Air,
Water
}; | 8.777778 | 18 | 0.670886 | deyanstoyanov10 |
0f90fc05b66331d18c713665d5ce3456c6b52fcc | 12,198 | cxx | C++ | osprey/be/com/loongson/betarget.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/com/loongson/betarget.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/com/loongson/betarget.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it would... | 26.45987 | 81 | 0.597147 | sharugupta |
0f96afb8793835e01699467a117233a87d3c18a9 | 266 | cpp | C++ | Atividade 15 vetor.cpp | RafelNunes/ifsc-programacao | 40622fb1a5496e09f4800220e293385468fef323 | [
"MIT"
] | null | null | null | Atividade 15 vetor.cpp | RafelNunes/ifsc-programacao | 40622fb1a5496e09f4800220e293385468fef323 | [
"MIT"
] | null | null | null | Atividade 15 vetor.cpp | RafelNunes/ifsc-programacao | 40622fb1a5496e09f4800220e293385468fef323 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main(){
int matriz[4][4], i, j;
srand(time(NULL));
for(i = 0; i < 4; i++){
for(j = 0; j < 4; j++){
matriz[i][j] = rand()%100+1;
printf("%d ", matriz[i][j]);
}printf("\n");
}
return 0;
}
| 14 | 31 | 0.5 | RafelNunes |
0f9850b2b4eaf89035165c543575368fde2a320a | 125 | cpp | C++ | version1.0/main.cpp | Hanwn/Shoot | 6d5277f42575c146be11d24675837d992b5c0e89 | [
"MIT"
] | null | null | null | version1.0/main.cpp | Hanwn/Shoot | 6d5277f42575c146be11d24675837d992b5c0e89 | [
"MIT"
] | null | null | null | version1.0/main.cpp | Hanwn/Shoot | 6d5277f42575c146be11d24675837d992b5c0e89 | [
"MIT"
] | null | null | null | #include "Server.h"
time_s_t time_;
Epoll epoll;
int main() {
Server* s = new Server();
s->start();
delete s;
} | 12.5 | 29 | 0.584 | Hanwn |
0f99b2424355bb6b9c8cbaa7213af2432a24ebd8 | 14,675 | cpp | C++ | src/core/stats.cpp | JaySinco/pbrt | b9f1bba9bb5d7e7d2caf07942500c5105e01aecb | [
"BSD-2-Clause"
] | null | null | null | src/core/stats.cpp | JaySinco/pbrt | b9f1bba9bb5d7e7d2caf07942500c5105e01aecb | [
"BSD-2-Clause"
] | null | null | null | src/core/stats.cpp | JaySinco/pbrt | b9f1bba9bb5d7e7d2caf07942500c5105e01aecb | [
"BSD-2-Clause"
] | null | null | null |
/*
pbrt source code is Copyright(c) 1998-2016
Matt Pharr, Greg Humphreys, and Wenzel Jakob.
This file is part of pbrt.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redi... | 35.705596 | 80 | 0.627394 | JaySinco |
0fa0346417b89fc14e0cf17e84a8dd9c3a9ecf22 | 9,981 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/interprocess/sync/windows/named_condition_any.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 57 | 2018-01-13T12:19:01.000Z | 2021-04-20T14:35:09.000Z | ReactNativeFrontend/ios/Pods/boost/boost/interprocess/sync/windows/named_condition_any.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 28 | 2018-07-02T05:33:32.000Z | 2020-08-30T13:39:38.000Z | ReactNativeFrontend/ios/Pods/boost/boost/interprocess/sync/windows/named_condition_any.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 31 | 2018-01-11T18:20:28.000Z | 2021-04-21T20:16:12.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2011-2012. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/interp... | 31.190625 | 110 | 0.686104 | Harshitha91 |
0fa54537195aedacef40686da59be56b6bbcde2b | 1,804 | cpp | C++ | contests/uri/uri-1769.cpp | leomaurodesenv/contest-codes | f7ae7e9d8c67e43dea7ac7dd71afce20d804f518 | [
"MIT"
] | null | null | null | contests/uri/uri-1769.cpp | leomaurodesenv/contest-codes | f7ae7e9d8c67e43dea7ac7dd71afce20d804f518 | [
"MIT"
] | null | null | null | contests/uri/uri-1769.cpp | leomaurodesenv/contest-codes | f7ae7e9d8c67e43dea7ac7dd71afce20d804f518 | [
"MIT"
] | null | null | null | /*
* Problema: CPF 1
* https://www.urionlinejudge.com.br/judge/pt/problems/view/1769
*/
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <sstream>
#include <iomanip>
#include <locale>
#include <bitset>
#include <map>
#include <vector>
#include <q... | 26.144928 | 109 | 0.519956 | leomaurodesenv |
0fb0ed28b951ebc910e103878b1893ac7b8088a6 | 12,225 | cc | C++ | rtc_base/task_queue_stdlib.cc | mumina07/webrtc | dc107965bdbf153fb3c237a66bcd340e43343084 | [
"BSD-3-Clause"
] | 1 | 2019-01-09T11:08:35.000Z | 2019-01-09T11:08:35.000Z | rtc_base/task_queue_stdlib.cc | mumina07/webrtc | dc107965bdbf153fb3c237a66bcd340e43343084 | [
"BSD-3-Clause"
] | null | null | null | rtc_base/task_queue_stdlib.cc | mumina07/webrtc | dc107965bdbf153fb3c237a66bcd340e43343084 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2018 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 contributing ... | 30.5625 | 80 | 0.684172 | mumina07 |
0fb29a879b0f81f9465de7a6416a5f5068d1a274 | 11,995 | cpp | C++ | external/libCSD/Build.cpp | atyuwen/string_dictionary | f99b5bfa901cb94517781ec9481d45a56b87fecf | [
"MIT"
] | 1 | 2021-06-07T11:56:11.000Z | 2021-06-07T11:56:11.000Z | external/libCSD/Build.cpp | atyuwen/string_dictionary | f99b5bfa901cb94517781ec9481d45a56b87fecf | [
"MIT"
] | null | null | null | external/libCSD/Build.cpp | atyuwen/string_dictionary | f99b5bfa901cb94517781ec9481d45a56b87fecf | [
"MIT"
] | null | null | null | /* Build.cpp
* Copyright (C) 2014, Francisco Claude & Rodrigo Canovas & Miguel A. Martinez-Prieto
* all rights reserved.
*
* Script for building indexed string dictionaries in compressed space.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser Genera... | 26.362637 | 108 | 0.565236 | atyuwen |
0fb607e1ea6353af4c08d205367c611be5c1f24d | 199,206 | cpp | C++ | Flatten/GA/c2ga.cpp | mauriciocele/arap-svd | bbefe4b0f18d7cd5e834b4c54e518f0d70f49565 | [
"MIT"
] | 4 | 2020-01-10T17:26:34.000Z | 2022-03-25T10:40:58.000Z | Flatten/GA/c2ga.cpp | mauriciocele/arap-svd | bbefe4b0f18d7cd5e834b4c54e518f0d70f49565 | [
"MIT"
] | null | null | null | Flatten/GA/c2ga.cpp | mauriciocele/arap-svd | bbefe4b0f18d7cd5e834b4c54e518f0d70f49565 | [
"MIT"
] | null | null | null |
// Generated on 2007-08-08 10:15:48 by G2 0.1 from 'E:\gasandbox\ga_sandbox\libgasandbox\c2ga.gs2'
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at... | 25.296 | 308 | 0.552313 | mauriciocele |
0fb9ebe6d3a110861a5e20c7e07d9c609dfee2ea | 5,196 | cpp | C++ | src/SLAM/Backend/NuiSLAMController.cpp | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | 3 | 2016-07-14T13:04:35.000Z | 2017-04-01T09:58:27.000Z | src/SLAM/Backend/NuiSLAMController.cpp | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | null | null | null | src/SLAM/Backend/NuiSLAMController.cpp | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | 1 | 2021-11-21T15:33:35.000Z | 2021-11-21T15:33:35.000Z | #include "NuiSLAMController.h"
#include "SLAM/VisualOdometry/DeviceSpecific/OpenCL/NuiKinfuOpenCLShiftScene.h"
#include "SLAM/VisualOdometry/DeviceSpecific/OpenCL/NuiKinfuOpenCLHashScene.h"
#include "OpenCLUtilities/NuiOpenCLGlobal.h"
#include "OpenCLUtilities/NuiOpenCLBufferFactory.h"
#include "Shape/NuiCLMappableDa... | 24.861244 | 138 | 0.756159 | hustztz |
0fbade1f10e938da8a1a6b82bb80e056d840a25c | 2,791 | cpp | C++ | main.cpp | saai63/ThreadPool | eabe61a2ea8608f448c9fd21d70d49231cdf7bfd | [
"MIT"
] | null | null | null | main.cpp | saai63/ThreadPool | eabe61a2ea8608f448c9fd21d70d49231cdf7bfd | [
"MIT"
] | null | null | null | main.cpp | saai63/ThreadPool | eabe61a2ea8608f448c9fd21d70d49231cdf7bfd | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
#include "readFileList.h"
#include "fileOps.h"
#include "md5checkSum.h"
#include "threadpool.h"
#include <stdlib.h>
#include "msgThread.h"
#ifdef PARALLEL_CHECKSUM
void sendMsg(std::string data)
{
static int qid = -1;
if( qid == -1)
{
qid = msgget(MSG_PORTID, IPC_CR... | 29.691489 | 102 | 0.582229 | saai63 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.