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 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 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 float64 1 77k ⌀ | 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 float64 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 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4337c0bd814d439575b21c2b54f38d573e1d0714 | 4,649 | cpp | C++ | Source/Gui/OptionBox.cpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | 4 | 2018-12-06T01:20:50.000Z | 2019-08-04T10:19:23.000Z | Source/Gui/OptionBox.cpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | null | null | null | Source/Gui/OptionBox.cpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | null | null | null | /**
* Copyright (C) 2015-2019
* Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com>
*
* This file is part of Dixter Project
* License-Identifier: MIT License
* See README.md for more information.
*/
#include <QDebug>
#include "Utilities.hpp"
#include "Configuration.hpp"
#include "Constants.hpp"
#include "Gu... | 22.244019 | 102 | 0.640783 |
4338947a412da18f04207d6cd91e24b985b681b3 | 914 | cpp | C++ | RayTracing/Grid/UI/Float3Slider.cpp | DarriusWrightGD/realtimeraytracing | 1b1117858dcd8880ed88b59ce0388cfb39fc1d96 | [
"MIT"
] | 1 | 2020-03-27T18:59:57.000Z | 2020-03-27T18:59:57.000Z | RayTracing/Grid/UI/Float3Slider.cpp | DarriusWrightGD/RealtimeRaytracing | 1b1117858dcd8880ed88b59ce0388cfb39fc1d96 | [
"MIT"
] | null | null | null | RayTracing/Grid/UI/Float3Slider.cpp | DarriusWrightGD/RealtimeRaytracing | 1b1117858dcd8880ed88b59ce0388cfb39fc1d96 | [
"MIT"
] | null | null | null | #include "Float3Slider.h"
Float3Slider::Float3Slider(char * name, glm::vec3 min, glm::vec3 max, float * value , glm::vec3 gran) :
min(min), max(max), value(value), gran(gran)
{
sliderLayout = new QHBoxLayout();
vectorLabel = new QLabel(name);
sliderVector[0] = new FloatSlider("X", min[0],max[0],&value[0], gran[0]... | 23.435897 | 103 | 0.68709 |
433ae75e9d736f625f831a1620e6e38bc019bf04 | 557 | cpp | C++ | apps/src/libvideostitch-gui/videostitcher/globalcontroller.cpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 182 | 2019-04-19T12:38:30.000Z | 2022-03-20T16:48:20.000Z | apps/src/libvideostitch-gui/videostitcher/globalcontroller.cpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 107 | 2019-04-23T10:49:35.000Z | 2022-03-02T18:12:28.000Z | apps/src/libvideostitch-gui/videostitcher/globalcontroller.cpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 59 | 2019-06-04T11:27:25.000Z | 2022-03-17T23:49:49.000Z | // Copyright (c) 2012-2017 VideoStitch SAS
// Copyright (c) 2018 stitchEm
#include "globalcontroller.hpp"
GlobalController::GlobalController() : impl(nullptr) {}
GlobalController::~GlobalController() {
Q_ASSERT(impl);
delete impl;
}
StitcherController* GlobalController::getController() const {
Q_ASSERT(impl);... | 20.62963 | 61 | 0.745063 |
433cf735c1a16d5d0c1fbc2d7508beafac849f4c | 750 | cpp | C++ | cpp/minsk/source/analysis/text/span.cpp | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | null | null | null | cpp/minsk/source/analysis/text/span.cpp | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | 1 | 2022-03-23T03:34:48.000Z | 2022-03-24T06:47:30.000Z | cpp/minsk/source/analysis/text/span.cpp | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | null | null | null | #include "minsk/analysis/text/span.hpp"
minsk::analysis::text::text_span::text_span(int start, int length)
: m_start(start), m_length(length) {}
minsk::analysis::text::text_span
minsk::analysis::text::text_span::from_bounds(int start, int end) {
return text_span{start, end - start};
}
int minsk::analysis::text... | 34.090909 | 80 | 0.676 |
433d042ebbf37ddf2d23e09e8c5cf0931dedd2cb | 5,567 | cpp | C++ | iotbx/pdb/hierarchy_atoms_bpl.cpp | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | iotbx/pdb/hierarchy_atoms_bpl.cpp | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | iotbx/pdb/hierarchy_atoms_bpl.cpp | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | #include <cctbx/boost_python/flex_fwd.h>
#include <cctbx/xray/scatterer.h>
#include <cctbx/adptbx.h>
#include <cctbx/uctbx.h>
#include <boost/python/class.hpp>
#include <boost/python/dict.hpp>
#include <boost/python/str.hpp>
#include <boost/python/args.hpp>
#include <boost/python/return_arg.hpp>
#include <scitbx/array... | 37.870748 | 78 | 0.645949 |
433d04b598e823da49c5fb6e196785cd3745b131 | 3,505 | hpp | C++ | src/xalanc/PlatformSupport/Writer.hpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 24 | 2015-07-29T22:49:17.000Z | 2022-03-25T10:14:17.000Z | src/xalanc/PlatformSupport/Writer.hpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 14 | 2019-05-10T16:25:50.000Z | 2021-11-24T18:04:47.000Z | src/xalanc/PlatformSupport/Writer.hpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 28 | 2015-04-20T15:50:51.000Z | 2022-01-26T14:56:55.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 m... | 23.682432 | 144 | 0.637946 |
433d1527559c11feb2d9e258eecd883f91e66a7b | 2,174 | hh | C++ | src/rng/LC_Subrandom_Generator.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/rng/LC_Subrandom_Generator.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/rng/LC_Subrandom_Generator.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
/*!
* \file rng/LC_Subrandom_Generator.hh
* \author Kent Budge
* \brief Definition of class LC_Subrandom_Generator
* \note Copyright (C) 2016-2019 Triad National Security, LLC.
* All rights reserved. */
//-----------------... | 28.233766 | 79 | 0.579577 |
433e267645d7db0ec43692267f8e771a01a48d07 | 511 | hpp | C++ | plugins/libpng/include/sge/libpng/error_context_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/libpng/include/sge/libpng/error_context_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/libpng/include/sge/libpng/error_context_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_LIBPNG_ERROR_CONTEXT_REF_HPP_INCLUDED
#define SGE_LIBPNG_ERROR_CONTEXT_REF_HPP_INCLUDED... | 25.55 | 71 | 0.761252 |
433f775a1a2d66621435d3f82f7810ba28529c92 | 581 | cpp | C++ | 272 TEX Quotes.cpp | zihadboss/UVA-Solutions | 020fdcb09da79dc0a0411b04026ce3617c09cd27 | [
"Apache-2.0"
] | 86 | 2016-01-20T11:36:50.000Z | 2022-03-06T19:43:14.000Z | 272 TEX Quotes.cpp | Mehedishihab/UVA-Solutions | 474fe3d9d9ba574b97fd40ca5abb22ada95654a1 | [
"Apache-2.0"
] | null | null | null | 272 TEX Quotes.cpp | Mehedishihab/UVA-Solutions | 474fe3d9d9ba574b97fd40ca5abb22ada95654a1 | [
"Apache-2.0"
] | 113 | 2015-12-04T06:40:57.000Z | 2022-02-11T02:14:28.000Z | #include <iostream>
#include <string>
using namespace std;
int main()
{
string temp;
bool isFirst(true);
while (getline(cin, temp))
{
for (string::iterator iter = temp.begin(); iter != temp.end(); ++iter)
{
if (*iter == '"')
{
if (isFirst)
... | 18.15625 | 78 | 0.342513 |
434088dc41dd9cf7b51e868677a756cd0fce5f2d | 1,186 | cpp | C++ | Game_Engine/GameOver.cpp | IndiaWomble/Game-Engine | 8b2a47db6e976d272e62c6f9f4f2bc8d6b07b957 | [
"Apache-2.0"
] | null | null | null | Game_Engine/GameOver.cpp | IndiaWomble/Game-Engine | 8b2a47db6e976d272e62c6f9f4f2bc8d6b07b957 | [
"Apache-2.0"
] | null | null | null | Game_Engine/GameOver.cpp | IndiaWomble/Game-Engine | 8b2a47db6e976d272e62c6f9f4f2bc8d6b07b957 | [
"Apache-2.0"
] | null | null | null | //Game Over State source file
#include "GameOver.h"
//Instantiating static variable gameOverID
const std::string GameOverState::gameOverID = "GAMEOVER";
//GameOver State constructor
GameOverState::GameOverState(std::vector<GameObject*> parameter, void (*callbackFunction)())
{
for (int i = 0; i < parameter.size(); i... | 23.254902 | 97 | 0.735245 |
43416145b8f4cbbf25133e338b72525b6d825609 | 4,188 | cpp | C++ | src/ledger/FeeFrame.cpp | RomanTkachenkoDistr/SwarmCore | db0544758e7bb3c879778cfdd6946b9a72ba23ab | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/ledger/FeeFrame.cpp | RomanTkachenkoDistr/SwarmCore | db0544758e7bb3c879778cfdd6946b9a72ba23ab | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/ledger/FeeFrame.cpp | RomanTkachenkoDistr/SwarmCore | db0544758e7bb3c879778cfdd6946b9a72ba23ab | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | #include "ledger/FeeFrame.h"
#include "database/Database.h"
#include "crypto/SecretKey.h"
#include "crypto/SHA.h"
#include "LedgerDelta.h"
#include "util/types.h"
using namespace std;
using namespace soci;
namespace stellar
{
FeeFrame::FeeFrame() : EntryFrame(LedgerEntryType::FEE), mFee(mEntry.data.feeState())
... | 27.019355 | 121 | 0.608644 |
43424a0765c0632fbd13fd85bbdd39f388d36333 | 4,979 | cc | C++ | enumerative-search/utils.cc | HiroakiMikami/DeepCoder-Utils | c433d76371cf3f3a62b7b2dbaec9e8121d394a08 | [
"MIT"
] | 26 | 2019-05-23T20:12:03.000Z | 2022-03-25T06:52:14.000Z | enumerative-search/utils.cc | HiroakiMikami/DeepCoder-Utils | c433d76371cf3f3a62b7b2dbaec9e8121d394a08 | [
"MIT"
] | 1 | 2019-08-16T13:05:36.000Z | 2019-08-16T13:05:36.000Z | enumerative-search/utils.cc | HiroakiMikami/DeepCoder-Utils | c433d76371cf3f3a62b7b2dbaec9e8121d394a08 | [
"MIT"
] | 8 | 2019-05-10T10:58:19.000Z | 2020-12-12T17:29:01.000Z | #include "utils.h"
#include <stdio.h>
#include <stdarg.h>
#include <string>
#include <math.h>
#include <iostream>
string StringPrintf(const char *format, ...) {
va_list arg;
char buffer[512]; // TODO(medium): Should check for overflow
va_start(arg, format);
vsprintf(buffer, format, arg);
va_end (arg);
... | 23.822967 | 91 | 0.565776 |
4344759dacfa6557e99d15c35d3f20bf63617418 | 445,525 | cpp | C++ | src/mame/drivers/nmk16.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/nmk16.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/nmk16.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Mirko Buffoni,Nicola Salmoria,Bryan McPhail,David Haywood,R. Belmont,Alex Marshall,Angelo Salese,Luca Elia
// thanks-to:Richard Bush
/********************************************************************
Task Force Harrier 1989 UPL 68000 Z80 YM2203 2... | 49.862899 | 421 | 0.700354 |
43463d548094f54c7e5cf389576ae9143e901a70 | 3,322 | cc | C++ | content/public/common/content_client.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | content/public/common/content_client.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | content/public/common/content_client.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/common/content_client.h"
#include "base/logging.h"
#include "base/strings/string_piece.h"
#include "build/build_config.h"
#i... | 24.248175 | 78 | 0.752559 |
43469e8d2db6b4e321b9f51e6b035ac8d2e50f45 | 13,751 | cxx | C++ | code/plugins/xray_re/xr_scene.cxx | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/plugins/xray_re/xr_scene.cxx | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/plugins/xray_re/xr_scene.cxx | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | #include "xr_scene.h"
#include "xr_scene_ai_map.h"
#include "xr_scene_details.h"
#include "xr_scene_glows.h"
#include "xr_scene_groups.h"
#include "xr_scene_lights.h"
#include "xr_scene_particles.h"
#include "xr_scene_portals.h"
#include "xr_scene_sectors.h"
#include "xr_scene_shapes.h"
#include "xr_scene_sound_envs.h"... | 27.668008 | 120 | 0.726056 |
4348e96186c368e175b686cee615ba2a261d8e69 | 9,572 | cpp | C++ | rviz_default_plugins/test/rviz_default_plugins/view_controllers/fps/fps_view_controller_test.cpp | Tobias-Fischer/rviz-1 | 2d84e191873befa86c1b4060ddf7e25b39d095c1 | [
"BSD-3-Clause-Clear"
] | 108 | 2017-08-29T11:01:08.000Z | 2022-03-31T06:07:52.000Z | rviz_default_plugins/test/rviz_default_plugins/view_controllers/fps/fps_view_controller_test.cpp | Tobias-Fischer/rviz-1 | 2d84e191873befa86c1b4060ddf7e25b39d095c1 | [
"BSD-3-Clause-Clear"
] | 741 | 2017-08-29T06:30:27.000Z | 2022-03-29T14:46:07.000Z | rviz_default_plugins/test/rviz_default_plugins/view_controllers/fps/fps_view_controller_test.cpp | Tobias-Fischer/rviz-1 | 2d84e191873befa86c1b4060ddf7e25b39d095c1 | [
"BSD-3-Clause-Clear"
] | 141 | 2017-08-31T08:31:26.000Z | 2022-03-31T14:46:36.000Z | /*
* Copyright (c) 2018, Bosch Software Innovations GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the disclaimer
* below) provided that the following conditions are met:
*
* * Redistributions o... | 42.923767 | 98 | 0.752925 |
43490df917e86965b41f011d1c725cfd4adec159 | 1,306 | hpp | C++ | llarp/dns/question.hpp | da4089/llarp | e223f5d023b1794638b9e9b47a86ed03c8c25306 | [
"Zlib"
] | 28 | 2018-01-25T17:39:25.000Z | 2022-03-26T15:23:12.000Z | llarp/dns/question.hpp | gjyoung1974/loki-network | 6559bb8f9e80095b4a7462ccb8fdf12e8ce19527 | [
"Zlib"
] | 2 | 2019-12-19T15:37:07.000Z | 2020-01-31T19:42:28.000Z | llarp/dns/question.hpp | gjyoung1974/loki-network | 6559bb8f9e80095b4a7462ccb8fdf12e8ce19527 | [
"Zlib"
] | 7 | 2018-05-21T12:34:50.000Z | 2021-05-05T11:57:50.000Z | #ifndef LLARP_DNS_QUESTION_HPP
#define LLARP_DNS_QUESTION_HPP
#include <dns/serialize.hpp>
#include <dns/name.hpp>
#include <net/net_int.hpp>
namespace llarp
{
namespace dns
{
using QType_t = uint16_t;
using QClass_t = uint16_t;
struct Question : public Serialize
{
Question() = default;
... | 20.730159 | 63 | 0.603369 |
43494642380d832641ce016fea4e5180ebfe1caa | 8,080 | cpp | C++ | test/test_conversions.cpp | nuclearsandwich-ros/octomap_ros-release | 48838155654ca76d5eb4c421f30e1898408a6086 | [
"BSD-3-Clause"
] | null | null | null | test/test_conversions.cpp | nuclearsandwich-ros/octomap_ros-release | 48838155654ca76d5eb4c421f30e1898408a6086 | [
"BSD-3-Clause"
] | null | null | null | test/test_conversions.cpp | nuclearsandwich-ros/octomap_ros-release | 48838155654ca76d5eb4c421f30e1898408a6086 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021, Daisuke Nishimatsu. 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 condi... | 31.076923 | 87 | 0.71151 |
434a512f05e53fd9827c861245143c832012ecc9 | 25,850 | cxx | C++ | GPU/GPUTracking/Base/hip/GPUReconstructionHIP.hip.cxx | aknospe/AliRoot | 96d76b2078d6b757a2843ae4a890a85021241e70 | [
"BSD-3-Clause"
] | null | null | null | GPU/GPUTracking/Base/hip/GPUReconstructionHIP.hip.cxx | aknospe/AliRoot | 96d76b2078d6b757a2843ae4a890a85021241e70 | [
"BSD-3-Clause"
] | null | null | null | GPU/GPUTracking/Base/hip/GPUReconstructionHIP.hip.cxx | aknospe/AliRoot | 96d76b2078d6b757a2843ae4a890a85021241e70 | [
"BSD-3-Clause"
] | null | null | null | //**************************************************************************\
//* This file is property of and copyright by the ALICE Project *\
//* ALICE Experiment at CERN, All rights reserved. *\
//* *\
//* Prim... | 42.727273 | 287 | 0.670097 |
434cdbfcf15052e3f8bba86220f599a4623b631c | 1,203 | hpp | C++ | Hog_HLS/solution1/csim/build/HOG.hpp | DoubleGithub/HOG_Zedboard | 6fc55c37ee210d7fc8bca919213e96bfc5c9d811 | [
"MIT"
] | 29 | 2018-07-09T10:12:47.000Z | 2022-01-14T18:57:52.000Z | Hog_HLS/solution1/csim/build/HOG.hpp | DoubleGithub/HOG_Zedboard | 6fc55c37ee210d7fc8bca919213e96bfc5c9d811 | [
"MIT"
] | 10 | 2018-10-30T10:38:12.000Z | 2021-04-14T00:43:29.000Z | Hog_HLS/solution1/csim/build/HOG.hpp | DoubleGithub/HOG_Zedboard | 6fc55c37ee210d7fc8bca919213e96bfc5c9d811 | [
"MIT"
] | 10 | 2019-07-04T07:39:38.000Z | 2021-05-11T13:54:07.000Z | #ifndef HOG_HPP_
#define HOG_HPP_
#include "types.h"
#include <iostream>
#include "consts.h"
#include <string.h>
#include "math.h"
#define VECTOR_SIZE 3780
using namespace std;
// void computeHOG(unsigned char *inputImage , unsigned char *output);
void hog(int *specs,unsigned char *image0);
//void hog(unsigned int... | 27.976744 | 135 | 0.719867 |
434d9303b5bf4fe27f58b07da1dacda0c7dd54af | 7,583 | cpp | C++ | android-31/android/animation/ValueAnimator.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/animation/ValueAnimator.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/animation/ValueAnimator.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../JFloatArray.hpp"
#include "../../JIntArray.hpp"
#include "../../JArray.hpp"
#include "../../JObjectArray.hpp"
#include "./Animator.hpp"
#include "../../JObject.hpp"
#include "../../JString.hpp"
#include "./ValueAnimator.hpp"
namespace android::animation
{
// Fields
jint ValueAnimator::INFINITE()
{
... | 19.645078 | 93 | 0.678359 |
4350204c4b39af95b64e3d43058cd7f9c46b4bd4 | 2,425 | cpp | C++ | EngineTests/Platforms.GAPI/Compute/CApp_UpdateBuffer.cpp | azhirnov/GraphicsGenFramework-modular | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | 12 | 2017-12-23T14:24:57.000Z | 2020-10-02T19:52:12.000Z | EngineTests/Platforms.GAPI/Compute/CApp_UpdateBuffer.cpp | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | EngineTests/Platforms.GAPI/Compute/CApp_UpdateBuffer.cpp | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt'
#include "CApp.h"
bool CApp::_Test_UpdateBuffer ()
{
// generate data
BinaryArray data; data.Resize( 512 );
BinaryArray data2; data2.Resize( 256 );
FOR( i, data ) {
data[i] = Random::Int<ubyte>();
}
FOR( i, data2 ) {
data2[i] = Rando... | 25.526316 | 95 | 0.686598 |
435145bddef934ff52ae533a1b85648ac45db1d9 | 4,818 | cpp | C++ | src/lib/src/sat/dimacs/parser.cpp | black-sat/black | 80902240987312fb0e6f00227a06e9f9c9728a67 | [
"MIT"
] | 4 | 2020-09-30T15:16:22.000Z | 2021-09-20T15:02:39.000Z | src/lib/src/sat/dimacs/parser.cpp | teodorov/black | 4de280ded5e99cc515141b4acc35137ba32c2469 | [
"MIT"
] | 42 | 2020-07-15T13:46:11.000Z | 2022-03-10T09:42:43.000Z | src/lib/src/sat/dimacs/parser.cpp | teodorov/black | 4de280ded5e99cc515141b4acc35137ba32c2469 | [
"MIT"
] | 3 | 2020-03-30T14:39:17.000Z | 2022-03-18T14:05:33.000Z | //
// BLACK - Bounded Ltl sAtisfiability ChecKer
//
// (C) 2021 Nicola Gigante
//
// 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 righ... | 24.835052 | 80 | 0.585305 |
43517c785d6fc5a398a8df3ccbe4ec4568611f3a | 4,377 | cpp | C++ | SimpleSocks/cl_TCPServer.cpp | SimpleRepos/SimpleSocks | 7c5fe41d8a119d2ad285d0e98087cd4a0ed45859 | [
"MIT"
] | null | null | null | SimpleSocks/cl_TCPServer.cpp | SimpleRepos/SimpleSocks | 7c5fe41d8a119d2ad285d0e98087cd4a0ed45859 | [
"MIT"
] | null | null | null | SimpleSocks/cl_TCPServer.cpp | SimpleRepos/SimpleSocks | 7c5fe41d8a119d2ad285d0e98087cd4a0ed45859 | [
"MIT"
] | null | null | null | #include "cl_TCPServer.h"
#include <WS2tcpip.h>
//Set members to default values.
//SOCKET_ERROR is used here to indicate that the socket is closed
SSocks::TCPServer::TCPServer() : sock(SOCKET_ERROR), blocking(true) {
//nothing
}
//invoke the default constructor and then call start()
SSocks::TCPServer::TCPServer(uin... | 33.930233 | 109 | 0.720356 |
43518db909e026f9a4e402d831480b411057e047 | 2,120 | cpp | C++ | core/driver/disk.cpp | JartC0ding/horizon | 2b9a75b45ac768a8da0f7a98f164a37690dc583f | [
"MIT"
] | 4 | 2022-01-06T09:19:46.000Z | 2022-03-27T18:08:36.000Z | core/driver/disk.cpp | JartC0ding/horizon | 2b9a75b45ac768a8da0f7a98f164a37690dc583f | [
"MIT"
] | null | null | null | core/driver/disk.cpp | JartC0ding/horizon | 2b9a75b45ac768a8da0f7a98f164a37690dc583f | [
"MIT"
] | 1 | 2022-03-22T19:10:05.000Z | 2022-03-22T19:10:05.000Z | #include <driver/disk.h>
#include <utils/log.h>
using namespace driver;
disk_driver_manager* driver::global_disk_manager;
disk_device::disk_device() {
}
disk_device::~disk_device() {
}
void disk_device::read(uint64_t sector, uint32_t sector_count, void* buffer) {
}
void disk_device::write(uint64_t sector, ui... | 21.85567 | 108 | 0.696226 |
4351e76d4385b5789b202681f110b3aaffa8d239 | 16,426 | cpp | C++ | VCProject/MEMZ/payloads.cpp | MicroshaftCorp/AwedoMEMZ | f5ff53a7e5f723d83d44c2965ec55b97c5b50741 | [
"MIT"
] | null | null | null | VCProject/MEMZ/payloads.cpp | MicroshaftCorp/AwedoMEMZ | f5ff53a7e5f723d83d44c2965ec55b97c5b50741 | [
"MIT"
] | null | null | null | VCProject/MEMZ/payloads.cpp | MicroshaftCorp/AwedoMEMZ | f5ff53a7e5f723d83d44c2965ec55b97c5b50741 | [
"MIT"
] | null | null | null | #include "memz.h"
Sound scaryMonsters = { L"data\\12.bin", L"sequencer", L"scarymonsters" };
Sound softonic = { L"data\\11.bin", L"mpegvideo", L"softonic" };
// Why is this even based on MEMZ if I'm using a special payloadHost for almost anything?
PAYLOAD payloads[] = {
{ payloadChangeDesktop, NULL, 20000, 0, 0, 0, ... | 25.665625 | 148 | 0.664556 |
43527ff00fdf820bd0b4b098fdac7dea51d80805 | 1,444 | cpp | C++ | src/BLDCM-control-ino.cpp | Infineon/motor-system-ic-tle956x | 8147c362d1bde2a5d10c07fd87b580bc5844e4a8 | [
"MIT"
] | 5 | 2021-08-02T08:20:08.000Z | 2022-03-17T08:56:24.000Z | src/BLDCM-control-ino.cpp | Infineon/motor-system-ic-tle956x | 8147c362d1bde2a5d10c07fd87b580bc5844e4a8 | [
"MIT"
] | 1 | 2022-02-28T12:26:57.000Z | 2022-02-28T12:26:57.000Z | src/BLDCM-control-ino.cpp | Infineon/motor-system-ic-tle956x | 8147c362d1bde2a5d10c07fd87b580bc5844e4a8 | [
"MIT"
] | null | null | null | /*!
* \file BLDCM-control-ino.cpp
* \name BLDCM-control-ino.cpp - basic motor control functions for Arduino
* \author Infineon Technologies AG
* \copyright 2020-2021 Infineon Technologies AG
* \version 1.0.0
* \brief This library includes the basic common functions to control ... | 33.581395 | 118 | 0.705679 |
435406e012dea6e5c12e53e7d73c44ce9abab01b | 14,358 | cpp | C++ | src/external/open_dynamics_engine-ef/ode/ode_collision_quadtreespace.cpp | Benefit-Zebra/ballistica | eb85df82cff22038e74a2d93abdcbe9cd755d782 | [
"MIT"
] | 317 | 2020-04-04T00:33:10.000Z | 2022-03-28T01:07:09.000Z | src/external/open_dynamics_engine-ef/ode/ode_collision_quadtreespace.cpp | Alshahriah/ballistica | 326f6677a0118667e93ce9034849622ebef706fa | [
"MIT"
] | 315 | 2020-04-04T22:33:10.000Z | 2022-03-31T22:50:02.000Z | src/external/open_dynamics_engine-ef/ode/ode_collision_quadtreespace.cpp | Alshahriah/ballistica | 326f6677a0118667e93ce9034849622ebef706fa | [
"MIT"
] | 97 | 2020-04-04T01:32:17.000Z | 2022-03-16T19:02:59.000Z | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | 24.585616 | 145 | 0.625296 |
4354429a7f3731314acf1f40f94f8661a6e197e9 | 8,839 | hpp | C++ | include/boost/compute/types/tuple.hpp | roshanr95/compute | 377e509acd16af466cdb133d70e2dcd525ec1a87 | [
"BSL-1.0"
] | null | null | null | include/boost/compute/types/tuple.hpp | roshanr95/compute | 377e509acd16af466cdb133d70e2dcd525ec1a87 | [
"BSL-1.0"
] | null | null | null | include/boost/compute/types/tuple.hpp | roshanr95/compute | 377e509acd16af466cdb133d70e2dcd525ec1a87 | [
"BSL-1.0"
] | 1 | 2020-04-09T15:56:37.000Z | 2020-04-09T15:56:37.000Z | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg.gi... | 39.995475 | 85 | 0.489874 |
4354fd8c8bc205aea0c35010ebf1c532539fe372 | 24,512 | cpp | C++ | Project/Source/Scene.cpp | TBD-org/RealBugEngine | 0131fde0abc2d86137500acd6f63ed8f0fc2835f | [
"MIT"
] | 7 | 2021-04-26T21:32:12.000Z | 2022-02-14T13:48:53.000Z | Project/Source/Scene.cpp | TBD-org/RealBugEngine | 0131fde0abc2d86137500acd6f63ed8f0fc2835f | [
"MIT"
] | 66 | 2021-04-24T10:08:07.000Z | 2021-10-05T16:52:56.000Z | Project/Source/Scene.cpp | TBD-org/Tesseract | 0131fde0abc2d86137500acd6f63ed8f0fc2835f | [
"MIT"
] | 1 | 2021-07-13T21:26:13.000Z | 2021-07-13T21:26:13.000Z | #include "Scene.h"
#include "GameObject.h"
#include "Application.h"
#include "Modules/ModuleTime.h"
#include "Modules/ModuleEditor.h"
#include "Modules/ModuleRender.h"
#include "Modules/ModulePhysics.h"
#include "Modules/ModuleTime.h"
#include "Modules/ModuleCamera.h"
#include "Modules/ModuleWindow.h"
#include "Module... | 33.214092 | 136 | 0.777945 |
435552d931ccffb65e45704f1b5909b4cb708ba0 | 1,606 | cpp | C++ | modules/argument_game/grid_controller_base.cpp | Niluk93/ArgumentGame | e934399578d3aa0852faed3175b8675439632c9e | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2020-03-08T21:31:15.000Z | 2020-03-08T21:31:15.000Z | modules/argument_game/grid_controller_base.cpp | Niluk93/ArgumentGame | e934399578d3aa0852faed3175b8675439632c9e | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/argument_game/grid_controller_base.cpp | Niluk93/ArgumentGame | e934399578d3aa0852faed3175b8675439632c9e | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | #include "grid_controller_base.h"
#include "grid_state.h"
#include "game_grid.h"
#include <stdexcept>
GridControllerBase::GridControllerBase()
: bAcceptingInput(true)
{
}
void GridControllerBase::_bind_methods()
{
ClassDB::bind_method(D_METHOD("init", "owner"), &GridControllerBase::init);
ClassDB::bind_method(D_ME... | 30.301887 | 125 | 0.800125 |
43569ad39815f1f8b9c0661f1e4a85149010644c | 1,761 | cpp | C++ | 2019/online/0908/test.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 2 | 2021-06-09T12:27:07.000Z | 2021-06-11T12:02:03.000Z | 2019/online/0908/test.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 1 | 2021-09-08T12:00:05.000Z | 2021-09-08T14:52:30.000Z | 2019/online/0908/test.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int maxn=2e6+10;
ll m,n,k;
ll f[maxn];
int main()
{
//freopen("in.txt","r",stdin);
int t;
cin>>t;
int T=0;
while(t--)
{
T++;
cin>>n>>m>>k;
cout<<"Case #"<<T<<": ";
if(m<=k){//直接递推
... | 26.681818 | 59 | 0.252697 |
4357a69dd104e211a12495be7e01f51c27fcab19 | 4,512 | cpp | C++ | orca/gporca/libnaucrates/src/operators/CDXLColDescr.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 3 | 2017-12-10T16:41:21.000Z | 2020-07-08T12:59:12.000Z | orca/gporca/libnaucrates/src/operators/CDXLColDescr.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | orca/gporca/libnaucrates/src/operators/CDXLColDescr.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 4 | 2017-12-10T16:41:35.000Z | 2020-11-28T12:20:30.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2010 Greenplum, Inc.
//
// @filename:
// CDXLColDescr.cpp
//
// @doc:
// Implementation of DXL column descriptors
//
// @owner:
//
//
// @test:
//
//
//----------------------------------------------... | 22.903553 | 91 | 0.466312 |
435c03d986c90d3c7ee9bef3f3f8ac3677cc4a46 | 2,828 | cc | C++ | chromeos/components/local_search_service/search_utils_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chromeos/components/local_search_service/search_utils_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chromeos/components/local_search_service/search_utils_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/components/local_search_service/search_utils.h"
#include <algorithm>
#include "base/strings/utf_string_conversions.h"
#include "chrom... | 35.797468 | 79 | 0.626945 |
435c090fd8939dd970935de9450fce645ecbb7ce | 1,227 | cc | C++ | lib/common/idioms.cc | clementval/f18 | b17ab7f7bda573d33d6ca554ef1e46144148cf57 | [
"Apache-2.0"
] | null | null | null | lib/common/idioms.cc | clementval/f18 | b17ab7f7bda573d33d6ca554ef1e46144148cf57 | [
"Apache-2.0"
] | null | null | null | lib/common/idioms.cc | clementval/f18 | b17ab7f7bda573d33d6ca554ef1e46144148cf57 | [
"Apache-2.0"
] | null | null | null | //===-- lib/common/idioms.cc ----------------------------------------------===//
//
// 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
//
//------------------------------... | 27.886364 | 80 | 0.546047 |
435c0c4257ecd93178b461ba61793dd9386e4bbd | 6,031 | cc | C++ | chromium/chrome/browser/password_manager/save_password_infobar_delegate.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/password_manager/save_password_infobar_delegate.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/password_manager/save_password_infobar_delegate.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/password_manager/save_password_infobar_delegate.h"
#include <utility>
#include "base/metrics/histogram.h"
#include "chrome/brow... | 41.593103 | 80 | 0.765213 |
435df21ddd9ee3e897aae0f2896d3766695c88d1 | 12,938 | cpp | C++ | tests/unique_handle.cpp | DNKpp/Simple-Utility | db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7 | [
"BSL-1.0"
] | null | null | null | tests/unique_handle.cpp | DNKpp/Simple-Utility | db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7 | [
"BSL-1.0"
] | 8 | 2021-12-30T22:07:39.000Z | 2022-02-04T21:13:53.000Z | tests/unique_handle.cpp | DNKpp/Simple-Utility | db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7 | [
"BSL-1.0"
] | 1 | 2020-08-19T13:02:58.000Z | 2020-08-19T13:02:58.000Z | // Copyright Dominic Koepke 2019 - 2022.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#include <catch2/catch.hpp>
#include "helper.hpp"
#include "Simple-Utility/unique_handle.hpp"
usi... | 25.269531 | 125 | 0.715257 |
435f356cf6f99479c46daf36ba159a43a372a45d | 20,060 | cpp | C++ | weex_core/Source/core/bridge/platform/core_side_in_platform.cpp | Txink/weex | e73c38a937ffa59a79106f5d554dcbcacd5168f2 | [
"Apache-2.0"
] | 50 | 2019-06-12T03:46:17.000Z | 2022-03-30T09:20:27.000Z | weex_core/Source/core/bridge/platform/core_side_in_platform.cpp | Txink/weex | e73c38a937ffa59a79106f5d554dcbcacd5168f2 | [
"Apache-2.0"
] | 8 | 2019-07-12T02:17:21.000Z | 2022-02-07T07:30:55.000Z | weex_core/Source/core/bridge/platform/core_side_in_platform.cpp | Txink/weex | e73c38a937ffa59a79106f5d554dcbcacd5168f2 | [
"Apache-2.0"
] | 30 | 2019-06-28T17:07:57.000Z | 2021-12-09T06:06:19.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... | 36.605839 | 132 | 0.679063 |
43611415979b808baa8805471e857fcb4cfe933b | 34,856 | cpp | C++ | orchagent/pfcwdorch.cpp | linemma/sonic-swss | 2e3b94633eaeff479f6ad4ff5d47f3000f6e5ef8 | [
"Apache-2.0"
] | null | null | null | orchagent/pfcwdorch.cpp | linemma/sonic-swss | 2e3b94633eaeff479f6ad4ff5d47f3000f6e5ef8 | [
"Apache-2.0"
] | null | null | null | orchagent/pfcwdorch.cpp | linemma/sonic-swss | 2e3b94633eaeff479f6ad4ff5d47f3000f6e5ef8 | [
"Apache-2.0"
] | null | null | null | #include <limits.h>
#include <unordered_map>
#include "pfcwdorch.h"
#include "sai_serialize.h"
#include "portsorch.h"
#include "converter.h"
#include "redisapi.h"
#include "select.h"
#include "notifier.h"
#include "redisclient.h"
#include "schema.h"
#include "subscriberstatetable.h"
#define PFC_WD_GLOBAL ... | 33.515385 | 157 | 0.60443 |
4361339ed90cacbac792e72fa8a6080377be5d1e | 7,840 | cpp | C++ | libs/extensions/CCArmature/CCBone.cpp | qq2588258/floweers | c7f117f29dee21473821b89ff9b18058f7ebdadf | [
"MIT"
] | 17 | 2015-01-09T07:34:32.000Z | 2021-06-25T02:50:03.000Z | libs/extensions/CCArmature/CCBone.cpp | qq2588258/floweers | c7f117f29dee21473821b89ff9b18058f7ebdadf | [
"MIT"
] | null | null | null | libs/extensions/CCArmature/CCBone.cpp | qq2588258/floweers | c7f117f29dee21473821b89ff9b18058f7ebdadf | [
"MIT"
] | 4 | 2015-01-24T02:48:46.000Z | 2020-07-02T06:29:06.000Z | /****************************************************************************
Copyright (c) 2013 cocos2d-x.org
http://www.cocos2d-x.org
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 res... | 22.65896 | 159 | 0.653954 |
cb196e35fc623b3aa0f1ca9511afa22f3352f8c7 | 750 | cpp | C++ | lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp | kkeita/llvm_autofdo | 9ecd435b55a3e58e1e3f71d478ff02c57840a900 | [
"Apache-2.0"
] | 34 | 2019-05-29T03:15:48.000Z | 2022-03-24T03:14:58.000Z | lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp | kkeita/llvm_autofdo | 9ecd435b55a3e58e1e3f71d478ff02c57840a900 | [
"Apache-2.0"
] | 1 | 2020-05-21T11:44:22.000Z | 2020-05-21T11:44:22.000Z | lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp | kkeita/llvm_autofdo | 9ecd435b55a3e58e1e3f71d478ff02c57840a900 | [
"Apache-2.0"
] | 4 | 2019-12-16T18:49:42.000Z | 2021-10-11T18:41:54.000Z | //===-- AVRTargetInfo.cpp - AVR Target Implementation ---------------------===//
//
// 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
//
//===---------------------------... | 32.608696 | 80 | 0.586667 |
cb1b4f33bb1124eb17374dc1faa6e4ab516899b5 | 5,802 | cpp | C++ | examples/cpp/source/decision_tree/dt_reg_dense_batch.cpp | KalyanovD/daal | b354b68f83a213102bca6e03d7a11f55ab751f92 | [
"Apache-2.0"
] | null | null | null | examples/cpp/source/decision_tree/dt_reg_dense_batch.cpp | KalyanovD/daal | b354b68f83a213102bca6e03d7a11f55ab751f92 | [
"Apache-2.0"
] | null | null | null | examples/cpp/source/decision_tree/dt_reg_dense_batch.cpp | KalyanovD/daal | b354b68f83a213102bca6e03d7a11f55ab751f92 | [
"Apache-2.0"
] | null | null | null | /* file: dt_reg_dense_batch.cpp */
/*******************************************************************************
* Copyright 2014-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 th... | 43.298507 | 150 | 0.729231 |
cb1d93a8dcc65301589afdd43ea7004cd3627cd9 | 22,224 | cc | C++ | services/network/web_transport.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | services/network/web_transport.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | services/network/web_transport.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/network/web_transport.h"
#include "base/auto_reset.h"
#include "base/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/notreache... | 30.319236 | 80 | 0.669726 |
cb1ecaceb1f1cbd84409850879b41f210ceaf3a1 | 487 | hpp | C++ | include/render/Triangle.hpp | nsentout/project-lambda-client | 3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469 | [
"MIT"
] | null | null | null | include/render/Triangle.hpp | nsentout/project-lambda-client | 3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469 | [
"MIT"
] | null | null | null | include/render/Triangle.hpp | nsentout/project-lambda-client | 3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469 | [
"MIT"
] | null | null | null | #ifndef TRIANGLE_HPP
#define TRIANGLE_HPP
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "GameObject.hpp"
#include "Position.h"
#include "Color.h"
//TODO: manage width and color
class Triangle : public GameObject
{
public:
Triangle();
void init() override;
void draw() const override;
void era... | 18.730769 | 47 | 0.704312 |
cb1ef2b1565387a58e53630a76e8cbac8b92347c | 12,997 | cpp | C++ | src/openms/source/ANALYSIS/TARGETED/TargetedExperiment.cpp | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/TARGETED/TargetedExperiment.cpp | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/TARGETED/TargetedExperiment.cpp | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 30.50939 | 158 | 0.689467 |
cb20fd566ad03421aa5b31489bf6c82fd7c4f2b7 | 5,437 | tpp | C++ | mesh/polyhedron.tpp | 3DStuff/polyhedron | 1374af2d47135cf0f9d092ec9bc8bc730f700f90 | [
"MIT"
] | null | null | null | mesh/polyhedron.tpp | 3DStuff/polyhedron | 1374af2d47135cf0f9d092ec9bc8bc730f700f90 | [
"MIT"
] | null | null | null | mesh/polyhedron.tpp | 3DStuff/polyhedron | 1374af2d47135cf0f9d092ec9bc8bc730f700f90 | [
"MIT"
] | null | null | null | #include "../timer.h"
namespace mesh {
template<typename base_t>
void polyhedron<base_t>::scale(const base_t dim) {
benchmark::timer tmp("scale()");
const bbox bbox = bounding_box();
const glm::vec<3, base_t> cur_size = bbox._max - bbox._min;
for(size_t i = 0; i < _vert... | 33.561728 | 113 | 0.543866 |
cb21d43e0e262a3c11d8f08fa85b552829f7afd6 | 46,255 | cpp | C++ | libredex/DexClass.cpp | rybalkinsd/redex | 950917ff252eb62ad64b9c7ab1f7322b9e0c4bd6 | [
"MIT"
] | null | null | null | libredex/DexClass.cpp | rybalkinsd/redex | 950917ff252eb62ad64b9c7ab1f7322b9e0c4bd6 | [
"MIT"
] | null | null | null | libredex/DexClass.cpp | rybalkinsd/redex | 950917ff252eb62ad64b9c7ab1f7322b9e0c4bd6 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexClass.h"
#include "Debug.h"
#include "DexAccess.h"
#include "DexDebugInstruction.h"
#include "DexDefs.h"
#include "De... | 31.966137 | 80 | 0.657983 |
cb24210c3b97751caff9776316f1a805f119e4c3 | 15,911 | cc | C++ | content/browser/web_contents/web_contents_drag_win.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/web_contents/web_contents_drag_win.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/web_contents/web_contents_drag_win.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/web_contents/web_contents_drag_win.h"
#include <windows.h>
#include <string>
#include "base/bind.h"
#include "base/file_u... | 35.835586 | 80 | 0.696625 |
cb253a9543f4b930da580dd83756499311e85f33 | 1,931 | cpp | C++ | strands_movebase/src/subsample_cloud.cpp | nilsbore/strands_movebase | 1fd7a289eb2f66f4656f625a88724edaadd4b613 | [
"MIT"
] | null | null | null | strands_movebase/src/subsample_cloud.cpp | nilsbore/strands_movebase | 1fd7a289eb2f66f4656f625a88724edaadd4b613 | [
"MIT"
] | null | null | null | strands_movebase/src/subsample_cloud.cpp | nilsbore/strands_movebase | 1fd7a289eb2f66f4656f625a88724edaadd4b613 | [
"MIT"
] | null | null | null | #include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <pcl_ros/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/filters/statistical_outlier_removal.h>
#include <boost/thread/thread.hpp>
#include "strands_movebase/noise_approximate_voxel_grid.h"
ros::Publisher p... | 28.397059 | 86 | 0.684619 |
cb2704acf1688c0dd55810183741f63121b92191 | 196,624 | cpp | C++ | HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Devices/Audio/DevHDA.cpp | roughk/CSCI-49XX-OpenSource | 74268cbca8bcda3023b2350d046e2dca2853a3ef | [
"BSD-2-Clause",
"CC-BY-4.0"
] | null | null | null | HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Devices/Audio/DevHDA.cpp | roughk/CSCI-49XX-OpenSource | 74268cbca8bcda3023b2350d046e2dca2853a3ef | [
"BSD-2-Clause",
"CC-BY-4.0"
] | null | null | null | HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Devices/Audio/DevHDA.cpp | roughk/CSCI-49XX-OpenSource | 74268cbca8bcda3023b2350d046e2dca2853a3ef | [
"BSD-2-Clause",
"CC-BY-4.0"
] | null | null | null | /* $Id: DevHDA.cpp 73466 2018-08-03 09:41:27Z vboxsync $ */
/** @file
* DevHDA.cpp - VBox Intel HD Audio Controller.
*
* Implemented against the specifications found in "High Definition Audio
* Specification", Revision 1.0a June 17, 2010, and "Intel I/O Controller
* HUB 6 (ICH6) Family, Datasheet", document numbe... | 36.351266 | 210 | 0.595126 |
cb288eb1f968c86b8b67164743a542a058b9c6f1 | 3,376 | hpp | C++ | include/boost/application/detail/posix/path_impl.hpp | mlegenovic/Boost.Application | e69d4926027274dadb7d89c45964ddafa1edd7f5 | [
"BSL-1.0"
] | null | null | null | include/boost/application/detail/posix/path_impl.hpp | mlegenovic/Boost.Application | e69d4926027274dadb7d89c45964ddafa1edd7f5 | [
"BSL-1.0"
] | null | null | null | include/boost/application/detail/posix/path_impl.hpp | mlegenovic/Boost.Application | e69d4926027274dadb7d89c45964ddafa1edd7f5 | [
"BSL-1.0"
] | null | null | null | // Copyright 2014 Renato Tegon Forti
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_APPLICATION_DETAIL_POSIX_PATH_FROM_ME_HPP
#define BOOST_APPLICATION_DETAIL_POSIX_PATH_FROM_ME_HPP
#include <... | 25.575758 | 71 | 0.534656 |
cb29e7e9b4f4ea40ec91653b818bad6bada86e65 | 3,316 | cpp | C++ | M3ScriptHook/src/LuaStateManager.cpp | MartinJK/Mafia3ScriptHook | b27da0dfcc93118aa4eb5c45a82d0ddf70205bfc | [
"MIT"
] | 10 | 2016-10-09T19:23:18.000Z | 2019-03-20T21:10:48.000Z | M3ScriptHook/src/LuaStateManager.cpp | MartinJK/Mafia3ScriptHook | b27da0dfcc93118aa4eb5c45a82d0ddf70205bfc | [
"MIT"
] | 5 | 2016-10-12T01:55:32.000Z | 2017-05-31T09:50:19.000Z | M3ScriptHook/src/LuaStateManager.cpp | MartinJK/Mafia3ScriptHook | b27da0dfcc93118aa4eb5c45a82d0ddf70205bfc | [
"MIT"
] | 5 | 2016-10-20T21:51:22.000Z | 2018-11-25T22:42:58.000Z | // Base Application taken from Klusark (GPLv2)
// https://code.google.com/archive/p/mafia2injector/
/*
* Copyright (c) 2010 Barzakh (martinjk 'at' outlook 'dot' com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... | 29.345133 | 119 | 0.741255 |
cb2bed5eeabe3457e28c3869cba316345319d03b | 12,316 | cpp | C++ | sdl_core/src/thirdPartyLibs/apache-log4cxx-win32-0.10.0/apache-log4cxx-0.10.0/src/main/cpp/syslogappender.cpp | APCVSRepo/android_packet | 5d4237234656b777cd9b0cae4731afea51986582 | [
"BSD-3-Clause"
] | 4 | 2016-09-21T12:36:24.000Z | 2020-10-29T01:45:03.000Z | sdl_core/src/thirdPartyLibs/apache-log4cxx-win32-0.10.0/apache-log4cxx-0.10.0/src/main/cpp/syslogappender.cpp | APCVSRepo/android_packet | 5d4237234656b777cd9b0cae4731afea51986582 | [
"BSD-3-Clause"
] | 7 | 2016-06-01T01:21:44.000Z | 2017-11-03T08:18:23.000Z | sdl_core/src/thirdPartyLibs/apache-log4cxx-win32-0.10.0/apache-log4cxx-0.10.0/src/main/cpp/syslogappender.cpp | APCVSRepo/android_packet | 5d4237234656b777cd9b0cae4731afea51986582 | [
"BSD-3-Clause"
] | 8 | 2017-08-29T10:51:50.000Z | 2021-03-24T10:19:11.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... | 34.306407 | 107 | 0.572507 |
cb2c4f1e3c5b0b085e6b46dc11719ad005c3738d | 2,039 | cpp | C++ | libraries/render/src/task/Config.cpp | alphaversiond/hifi | 735944c912a29e948a557dbff13e0a1cb71d954e | [
"Apache-2.0"
] | 2 | 2018-05-07T16:12:38.000Z | 2019-04-28T17:32:01.000Z | libraries/render/src/task/Config.cpp | alphaversiond/hifi | 735944c912a29e948a557dbff13e0a1cb71d954e | [
"Apache-2.0"
] | null | null | null | libraries/render/src/task/Config.cpp | alphaversiond/hifi | 735944c912a29e948a557dbff13e0a1cb71d954e | [
"Apache-2.0"
] | null | null | null | //
// Config.cpp
// render/src/task
//
// Created by Zach Pomerantz on 1/21/2016.
// Copyright 2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "Config.h"
#include "Task.h"
#includ... | 30.893939 | 90 | 0.642472 |
cb2cb1a3ac7831ef9ceb690cd3bb8be97e3988a9 | 271 | hpp | C++ | ResInt.hpp | afarsitio5/javafar-14.github.io | 6378758230c1f3ef524d0f7e4b8f32a5660d59b7 | [
"CC0-1.0"
] | null | null | null | ResInt.hpp | afarsitio5/javafar-14.github.io | 6378758230c1f3ef524d0f7e4b8f32a5660d59b7 | [
"CC0-1.0"
] | null | null | null | ResInt.hpp | afarsitio5/javafar-14.github.io | 6378758230c1f3ef524d0f7e4b8f32a5660d59b7 | [
"CC0-1.0"
] | 1 | 2021-04-07T23:06:03.000Z | 2021-04-07T23:06:03.000Z | #ifndef __RES_INT_H__
#define __RES_INT_H__
#include <Arduino.h>
class ResInt {
public:
const int valor;
const String error;
ResInt(int _valor,
String _error );
ResInt(const ResInt& ref );
const char* valida();
};
#endif
| 16.9375 | 32 | 0.612546 |
cb2ce25b2fa2bf92a52b34d5202b20c663829cee | 1,417 | cpp | C++ | src/chat/encryptor.cpp | saeschdivara/SecretWhisperer-Server | 45e3c2a706ede3128c84dc5272edfb8d0f76a58c | [
"MIT"
] | null | null | null | src/chat/encryptor.cpp | saeschdivara/SecretWhisperer-Server | 45e3c2a706ede3128c84dc5272edfb8d0f76a58c | [
"MIT"
] | null | null | null | src/chat/encryptor.cpp | saeschdivara/SecretWhisperer-Server | 45e3c2a706ede3128c84dc5272edfb8d0f76a58c | [
"MIT"
] | null | null | null | #include "encryptor.h"
#include <QtCore/QCryptographicHash>
#include <botan/botan.h>
#include <botan/pubkey.h>
#include <botan/pkcs8.h>
#include <botan/pk_keys.h>
#include <botan/rsa.h>
Encryptor::Encryptor(QObject *parent) : QObject(parent)
{
}
QByteArray Encryptor::createRandomString()
{
QByteArray randomStr... | 23.616667 | 90 | 0.689485 |
cb312d165ce42f9aa367f53077e484d706e1ba2e | 1,081 | cpp | C++ | Stadium_Seating.cpp | MigPug/C-Plus-Plus | 53241378ded0adc509c32abb64cbfc780d7165f3 | [
"Apache-2.0"
] | 1 | 2020-12-03T05:17:00.000Z | 2020-12-03T05:17:00.000Z | Stadium_Seating.cpp | MigPug/Code | 53241378ded0adc509c32abb64cbfc780d7165f3 | [
"Apache-2.0"
] | null | null | null | Stadium_Seating.cpp | MigPug/Code | 53241378ded0adc509c32abb64cbfc780d7165f3 | [
"Apache-2.0"
] | 1 | 2022-01-30T06:11:59.000Z | 2022-01-30T06:11:59.000Z | /*
Stadium Seating
There are three seating categories at a stadium . For a softball game, Class A seats cost
$15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how
many tickets for each class of seats were sold, then displays the amount of income
generated from ticket ... | 26.365854 | 92 | 0.648474 |
cb31953785045a9484cce4fd9d945ee917216a7d | 590 | cpp | C++ | NamingThreads/NamingThreadsLinux/main.cpp | Watch-Later/Eureka | 3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35 | [
"MIT"
] | 20 | 2016-05-16T11:09:04.000Z | 2021-12-08T09:30:33.000Z | NamingThreads/NamingThreadsLinux/main.cpp | Watch-Later/Eureka | 3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35 | [
"MIT"
] | 1 | 2018-12-30T09:55:31.000Z | 2018-12-30T14:08:30.000Z | NamingThreads/NamingThreadsLinux/main.cpp | Watch-Later/Eureka | 3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35 | [
"MIT"
] | 11 | 2016-05-02T09:17:12.000Z | 2021-12-08T09:30:35.000Z | /*
@ 0xCCCCCCCC
*/
#include <cstdio>
#include <thread>
#include <errno.h>
#include <unistd.h>
#include <sys/prctl.h>
#include <sys/syscall.h>
pid_t GetCurrentThreadID()
{
return syscall(__NR_gettid);
}
void SetThreadName(const char* name)
{
if (GetCurrentThreadID() == getpid()) {
return;
}
... | 13.72093 | 46 | 0.576271 |
cb358c7b84f92119bced642a19a61bcecffcdaaa | 6,884 | cpp | C++ | pin-2.11/source/tools/SignalTests/mtstress.cpp | swchoi1994/Project | e46fa191afe54d6676016d41534c3531eb51ff79 | [
"Intel"
] | 3 | 2020-06-26T09:35:19.000Z | 2021-01-03T16:58:11.000Z | pin-2.11/source/tools/SignalTests/mtstress.cpp | swchoi1994/Project | e46fa191afe54d6676016d41534c3531eb51ff79 | [
"Intel"
] | null | null | null | pin-2.11/source/tools/SignalTests/mtstress.cpp | swchoi1994/Project | e46fa191afe54d6676016d41534c3531eb51ff79 | [
"Intel"
] | 2 | 2020-12-27T03:58:38.000Z | 2020-12-27T03:58:38.000Z | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2012 Intel Corporation. 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 noti... | 29.293617 | 96 | 0.662841 |
cb369df49755e93fdbbe09fdaefa7a0a84425f02 | 10,882 | cpp | C++ | stocks_exchange/unit-test/stock_exchange_kraken_unit_test.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 21 | 2020-06-07T20:34:47.000Z | 2021-08-10T20:19:59.000Z | stocks_exchange/unit-test/stock_exchange_kraken_unit_test.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | null | null | null | stocks_exchange/unit-test/stock_exchange_kraken_unit_test.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 4 | 2020-07-13T10:19:44.000Z | 2022-03-11T12:15:43.000Z | /*
* Copyright (c) 2020, Rapprise.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of condition... | 38.725979 | 99 | 0.787723 |
cb374f868c3dc1a02b2eb2bb3c9d2233accc5eff | 526 | cpp | C++ | src/main.cpp | NatanVachon/TeensyDShot | 908b331b4b15b48d0032171fd4f0cd4f5a581508 | [
"BSD-2-Clause"
] | null | null | null | src/main.cpp | NatanVachon/TeensyDShot | 908b331b4b15b48d0032171fd4f0cd4f5a581508 | [
"BSD-2-Clause"
] | null | null | null | src/main.cpp | NatanVachon/TeensyDShot | 908b331b4b15b48d0032171fd4f0cd4f5a581508 | [
"BSD-2-Clause"
] | null | null | null | #include <Arduino.h>
#include "Dshot600.h"
#define PIN_POS1 7
#define PIN_POS2 4
#define PIN_POS3 2
#define PIN_POS4 3
// Real pins: 5, 6, 7, 8
Dshot600 dshot;
uint32_t lastMillis = 0U;
volatile uint32_t isrCounter = 0;
float commands[4] = {0.0f, 0.0f, 50.0f, 0.0f};
void setup()
{
Serial.begin(9600);
... | 15.470588 | 56 | 0.653992 |
cb3abd39bc10b947cbec482314fe96fb5d114c30 | 12,307 | cpp | C++ | src/orbital/ui.cpp | Ryan2511/orbital | 673e1a3c37fe17255ef652196c735baacb61e5fc | [
"MIT"
] | 2 | 2020-11-13T07:54:05.000Z | 2020-11-13T07:54:07.000Z | src/orbital/ui.cpp | Ryan2511/orbital | 673e1a3c37fe17255ef652196c735baacb61e5fc | [
"MIT"
] | null | null | null | src/orbital/ui.cpp | Ryan2511/orbital | 673e1a3c37fe17255ef652196c735baacb61e5fc | [
"MIT"
] | null | null | null | /**
* SDL/ImGui-based user interface.
*
* Copyright 2017-2020. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#include "ui.h"
#include "ui/ui_style.h"
#include <orbital/host/graphics/vulkan.h>
#include <SDL2/SDL_vulk... | 32.906417 | 121 | 0.674575 |
cb3af440a6dfb403d6e91bb51ebc0ce027812870 | 1,713 | cc | C++ | tree/cpp-bplustree/util/cli.cc | NewGuonx/DST_algorithm | 8c4b2f0fe1f43044a5c37a7f993d339862d9182c | [
"Unlicense"
] | 231 | 2015-01-07T00:59:28.000Z | 2022-03-23T04:55:53.000Z | util/cli.cc | gaubert/BPlusTree | 82e2dfc3c54a2488e3a96fc356ca1af7c569098f | [
"Unlicense",
"MIT"
] | 2 | 2019-10-20T14:24:47.000Z | 2021-05-08T07:48:19.000Z | util/cli.cc | gaubert/BPlusTree | 82e2dfc3c54a2488e3a96fc356ca1af7c569098f | [
"Unlicense",
"MIT"
] | 83 | 2015-01-06T13:42:18.000Z | 2022-02-24T10:31:39.000Z | #include "../bpt.h"
using namespace bpt;
#include <string.h>
int main(int argc, char *argv[])
{
if (argc < 3) {
fprintf(stderr, "Usage: %s database command\n", argv[0]);
return 1;
}
bpt::bplus_tree database(argv[1]);
if (!strcmp(argv[2], "search")) {
if (argc < 4) {
... | 27.190476 | 65 | 0.437828 |
cb3dbd02009b0b677299e97faebaa34d6ccff415 | 529,602 | cpp | C++ | esp32/TinyCPCEMttgovga32/CPCem/Z80.cpp | rpsubc8/ESP32TinyCPC | 386a0d1d47fc6f32c0b3dace67a6c2197a846a9d | [
"WTFPL"
] | 19 | 2020-12-04T15:12:45.000Z | 2022-02-07T19:46:36.000Z | esp32/TinyCPCEMttgovga32/CPCem/Z80.cpp | rpsubc8/ESP32TinyCPC | 386a0d1d47fc6f32c0b3dace67a6c2197a846a9d | [
"WTFPL"
] | 3 | 2021-02-20T08:42:09.000Z | 2022-03-11T05:11:26.000Z | esp32/TinyCPCEMttgovga32/CPCem/Z80.cpp | rpsubc8/ESP32TinyCPC | 386a0d1d47fc6f32c0b3dace67a6c2197a846a9d | [
"WTFPL"
] | 4 | 2021-02-20T08:07:04.000Z | 2022-03-27T21:52:45.000Z | //offset 703 + 45056 = B2BF
#include "gbConfig.h"
#include <stdlib.h>
#include <stdio.h>
#include "CPCem.h"
#include "DAA.h"
#include "Z80.h"
#include <string.h>
#include "FDC.h"
#include "CRTC.h"
#include "GA.h"
#include "CRTC.h"
#include "8255.h"
#include "gb_globals.h"
#include "dataFlash/gbrom.h"
... | 70.925673 | 261 | 0.604099 |
cb3e732cc1b62ef4e36c29529adedb5ba6f2b5b0 | 307 | cc | C++ | xrm_functor.cc | RokerHRO/xrm | a2344014ca8fe6fcb7b960c47c209c65ae84603e | [
"MIT"
] | 3 | 2019-06-06T09:46:39.000Z | 2020-12-28T21:41:42.000Z | xrm_functor.cc | RokerHRO/xrm | a2344014ca8fe6fcb7b960c47c209c65ae84603e | [
"MIT"
] | null | null | null | xrm_functor.cc | RokerHRO/xrm | a2344014ca8fe6fcb7b960c47c209c65ae84603e | [
"MIT"
] | null | null | null | class XRM
{
public:
XRM(uint64_t _x, uint64_t _r, uint64_t _m)
: x(_x), r(_r), m(_m)
{}
uint64_t operator()(uint64_t value) const
{
value ^= x;
value = (value>>r) + (value<<(64-r));
value *= m;
return value;
}
const uint64_t x, r, m;
};
| 17.055556 | 46 | 0.482085 |
cb3f44d815159ffece5fd125e2da8271ac3964d2 | 6,448 | cpp | C++ | src/API/STGOctree.cpp | squarefk/spheretree-fixed | 79ec91538030a271f7aba16e22dc20c9ebb63444 | [
"Unlicense"
] | 17 | 2016-08-12T13:15:41.000Z | 2021-11-11T10:03:48.000Z | src/API/STGOctree.cpp | squarefk/spheretree-fixed | 79ec91538030a271f7aba16e22dc20c9ebb63444 | [
"Unlicense"
] | null | null | null | src/API/STGOctree.cpp | squarefk/spheretree-fixed | 79ec91538030a271f7aba16e22dc20c9ebb63444 | [
"Unlicense"
] | 9 | 2016-04-26T16:15:45.000Z | 2020-10-29T00:12:12.000Z | /*************************************************************************\
C O P Y R I G H T
Copyright 2003 Image Synthesis Group, Trinity College Dublin, Ireland.
All Rights Reserved.
Permission to use, copy, modify and distribute this software and its
doc... | 33.237113 | 139 | 0.611663 |
cb40819bb404c9356225d0d51fa01d882f72d349 | 569 | hpp | C++ | src/behaviours/include/AvoidNest.hpp | BCLab-UNM/SwarmBaseCode-Modular-Public | 2061796570baf65deeb74f29444fcaf3b6464aa1 | [
"MIT"
] | null | null | null | src/behaviours/include/AvoidNest.hpp | BCLab-UNM/SwarmBaseCode-Modular-Public | 2061796570baf65deeb74f29444fcaf3b6464aa1 | [
"MIT"
] | null | null | null | src/behaviours/include/AvoidNest.hpp | BCLab-UNM/SwarmBaseCode-Modular-Public | 2061796570baf65deeb74f29444fcaf3b6464aa1 | [
"MIT"
] | null | null | null | #ifndef _AVOID_NEST_HPP
#define _AVOID_NEST_HPP
#include "BehaviorManager.hpp"
#include "SwarmieSensors.hpp"
#include "Timer.hpp"
#include <cmath>
class AvoidNest : public Behavior
{
private:
int _tagsLeft;
int _tagsRight;
bool _persist;
bool _tooClose;
SwarmieAction _savedAction;
Timer*... | 18.966667 | 87 | 0.72935 |
cb40820c726939ae3832b6109a59bc038afc0e41 | 15,691 | cpp | C++ | SurgSim/Devices/TrackIR/win32/TrackIRScaffold.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 24 | 2015-01-19T16:18:59.000Z | 2022-03-13T03:29:11.000Z | SurgSim/Devices/TrackIR/win32/TrackIRScaffold.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 3 | 2018-12-21T14:54:08.000Z | 2022-03-14T12:38:07.000Z | SurgSim/Devices/TrackIR/win32/TrackIRScaffold.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 8 | 2015-04-10T19:45:36.000Z | 2022-02-02T17:00:59.000Z | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | 34.485714 | 117 | 0.736728 |
cb4228247489e8a081d561cea3ee795112a74380 | 3,843 | cpp | C++ | src/sudoku/solution_queue.cpp | samwarring/sudoku | 0dee535363358e3124c869cd91f2b02a124e4c20 | [
"MIT"
] | null | null | null | src/sudoku/solution_queue.cpp | samwarring/sudoku | 0dee535363358e3124c869cd91f2b02a124e4c20 | [
"MIT"
] | 16 | 2020-04-25T19:53:04.000Z | 2020-07-13T00:06:56.000Z | src/sudoku/solution_queue.cpp | samwarring/sudoku | 0dee535363358e3124c869cd91f2b02a124e4c20 | [
"MIT"
] | null | null | null | #include <sudoku/solution_queue.h>
namespace sudoku
{
SolutionQueue::SolutionQueue(size_t maxSize) : maxSize_(maxSize)
{
}
SolutionQueue::Producer::Producer(SolutionQueue& queue) : queue_(queue)
{
std::lock_guard<std::mutex> lock(queue_.mutex_);
queue_.numProducers_++;
}
S... | 32.567797 | 97 | 0.602394 |
cb44ebde7a41bfeec0322340fc7ede0343421d3a | 6,634 | cc | C++ | 3rdParty/V8/v7.1.302.28/test/cctest/trace-extension.cc | cclauss/arangodb | 089f7a7e60483f0fb73171d159f922dd3de283e9 | [
"BSL-1.0",
"Apache-2.0"
] | 4 | 2019-04-20T15:56:13.000Z | 2019-12-23T07:14:01.000Z | 3rdParty/V8/v7.1.302.28/test/cctest/trace-extension.cc | fceller/arangodb | 22eec2e35407d868ac36f06b9abdbee3fb3c3ef3 | [
"Apache-2.0"
] | 1 | 2019-02-13T09:53:48.000Z | 2019-02-13T09:53:48.000Z | 3rdParty/V8/v7.1.302.28/test/cctest/trace-extension.cc | fceller/arangodb | 22eec2e35407d868ac36f06b9abdbee3fb3c3ef3 | [
"Apache-2.0"
] | 10 | 2015-10-15T06:16:55.000Z | 2019-06-23T18:52:25.000Z | // Copyright 2014 the V8 project authors. 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 ... | 39.488095 | 80 | 0.678927 |
cb45098d43af681ef458b5381157a9694310b2cf | 6,040 | cpp | C++ | src/error.cpp | BlubBlab/micromacro-with-OpenCV | c1a17d5faef38fc8532fb1a52ae1c41e7d2d3a34 | [
"BSD-3-Clause"
] | null | null | null | src/error.cpp | BlubBlab/micromacro-with-OpenCV | c1a17d5faef38fc8532fb1a52ae1c41e7d2d3a34 | [
"BSD-3-Clause"
] | null | null | null | src/error.cpp | BlubBlab/micromacro-with-OpenCV | c1a17d5faef38fc8532fb1a52ae1c41e7d2d3a34 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
Project: MicroMacro
Author: SolarStrike Software
URL: www.solarstrike.net
License: Modified BSD (see license.txt)
******************************************************************************/
#include "error.h"
#include "strl.h"
#... | 23.501946 | 95 | 0.665232 |
cb4608985ca07706758e1f4c511dc8a060def709 | 1,699 | cpp | C++ | stimulus.cpp | dcblack/ModernSystemC | 953740c6d796cd3a2f60108c5093f0366d6ee3bd | [
"Apache-2.0"
] | 29 | 2019-06-17T20:46:21.000Z | 2022-03-21T13:13:42.000Z | stimulus.cpp | dcblack/ModernSystemC | 953740c6d796cd3a2f60108c5093f0366d6ee3bd | [
"Apache-2.0"
] | 4 | 2019-11-07T18:42:32.000Z | 2021-09-16T19:03:21.000Z | stimulus.cpp | dcblack/ModernSystemC | 953740c6d796cd3a2f60108c5093f0366d6ee3bd | [
"Apache-2.0"
] | 7 | 2020-02-04T17:17:28.000Z | 2021-11-05T23:16:23.000Z | /**
* @file stimulus.cpp
*/
#include "stimulus.hpp"
#include "objection.hpp"
#include "report.hpp"
#include <random>
using namespace sc_core;
namespace {
char const * const MSGID{ "/Doulos/Example/Modern/Stimulus_module" };
}
//..............................................................................
Stimulus... | 32.673077 | 99 | 0.560918 |
cb484272f48beefce0e678883967d121ba1e81c9 | 1,977 | cpp | C++ | depends/libyarn/src/protocolrecords/RegisterApplicationMasterRequest.cpp | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 450 | 2015-09-05T09:12:51.000Z | 2018-08-30T01:45:36.000Z | depends/libyarn/src/protocolrecords/RegisterApplicationMasterRequest.cpp | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 1,274 | 2015-09-22T20:06:16.000Z | 2018-08-31T22:14:00.000Z | depends/libyarn/src/protocolrecords/RegisterApplicationMasterRequest.cpp | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 278 | 2015-09-21T19:15:06.000Z | 2018-08-31T00:36:51.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 ... | 29.954545 | 84 | 0.794638 |
cb4a4d1e1c306ca1bcdef8945b3e789bf8773c8a | 5,461 | cpp | C++ | openstudiocore/src/openstudio_lib/ConstructionsController.cpp | colemat/OpenStudio | 46680e95efa5ef51c7199176f366dfdede5ab706 | [
"blessing"
] | null | null | null | openstudiocore/src/openstudio_lib/ConstructionsController.cpp | colemat/OpenStudio | 46680e95efa5ef51c7199176f366dfdede5ab706 | [
"blessing"
] | 1 | 2019-02-04T23:30:45.000Z | 2019-02-04T23:30:45.000Z | openstudiocore/src/openstudio_lib/ConstructionsController.cpp | colemat/OpenStudio | 46680e95efa5ef51c7199176f366dfdede5ab706 | [
"blessing"
] | null | null | null | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 42.333333 | 125 | 0.730819 |
cb4ba2cb949e2aaaf6e6c36f773ed35c82df9e73 | 7,632 | cpp | C++ | sim/decoder_tb.cpp | nmoroze/lemoncore | 8223f6f6fd9b3bb6dfeeae3025d1d63aceced324 | [
"MIT"
] | 11 | 2020-08-29T19:49:48.000Z | 2021-05-29T17:52:12.000Z | sim/decoder_tb.cpp | nmoroze/lemoncore | 8223f6f6fd9b3bb6dfeeae3025d1d63aceced324 | [
"MIT"
] | null | null | null | sim/decoder_tb.cpp | nmoroze/lemoncore | 8223f6f6fd9b3bb6dfeeae3025d1d63aceced324 | [
"MIT"
] | null | null | null | #include <stdint.h>
#include <stdlib.h>
#include <gtest/gtest.h>
#include "Vdecoder.h"
#include "verilated.h"
#include "riscv.h"
#include "decoder_tb.h"
const static int NUM_INSTRUCTIONS = 37;
struct control_signals_t {
std::string instr;
uint32_t (*gen_instr)();
int alu_op;
int a_src;
int b_src;
int b_n... | 43.363636 | 108 | 0.611242 |
cb4e3e53265ee0210bdb8c10ec8420f8ed69f681 | 2,261 | cc | C++ | Testcase4-Application-breakdown/online-compiling/examples/gtest/wrapper.cc | hunhoffe/ServerlessBench | 529eb835638cad0edb5be3343166c7ade375ece2 | [
"MulanPSL-1.0"
] | 129 | 2020-08-09T12:02:30.000Z | 2022-03-31T15:26:03.000Z | Testcase4-Application-breakdown/online-compiling/examples/gtest/wrapper.cc | hunhoffe/ServerlessBench | 529eb835638cad0edb5be3343166c7ade375ece2 | [
"MulanPSL-1.0"
] | 11 | 2020-09-17T09:42:07.000Z | 2022-03-30T19:05:38.000Z | Testcase4-Application-breakdown/online-compiling/examples/gtest/wrapper.cc | hunhoffe/ServerlessBench | 529eb835638cad0edb5be3343166c7ade375ece2 | [
"MulanPSL-1.0"
] | 22 | 2020-08-20T06:59:24.000Z | 2022-03-18T21:00:05.000Z | /* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
#include <string>
#include <vector>
#include "thunk/thunk.hh"
#include "thunk/thunk_reader.hh"
#include "util/exception.hh"
#include "util/path.hh"
#include "util/system_runner.hh"
#include "util/util.hh"
using namespace std;
using namespa... | 24.311828 | 77 | 0.603273 |
cb4e69dd28ffffcb5e6fa2caf1d40c1e9b27c11d | 4,001 | cpp | C++ | emulation/hel/lib/ChipObject/tInterruptManager.cpp | NWalker1208/synthesis | c7bb2d49a7a3fc4d4db9f857aabcc4a4c3b74c34 | [
"Apache-2.0"
] | null | null | null | emulation/hel/lib/ChipObject/tInterruptManager.cpp | NWalker1208/synthesis | c7bb2d49a7a3fc4d4db9f857aabcc4a4c3b74c34 | [
"Apache-2.0"
] | null | null | null | emulation/hel/lib/ChipObject/tInterruptManager.cpp | NWalker1208/synthesis | c7bb2d49a7a3fc4d4db9f857aabcc4a4c3b74c34 | [
"Apache-2.0"
] | null | null | null | #include <ChipObject/tInterruptManager.h>
#include <stdio.h>
#ifndef __NI_CRITICAL_SECTION
#define __NI_CRITICAL_SECTION
#include <OSAL/Synchronized.h>
class ni::dsc::osdep::CriticalSection {
public:
NTReentrantSemaphore sem;
};
#endif
#include <OSAL/Task.h>
namespace nFPGA {
uint32_t tInterruptManager::_globalIn... | 31.503937 | 130 | 0.749563 |
cb503f82f6fdc341a6a002ed76655a823192614d | 483 | hpp | C++ | system/sysutil.hpp | mrtryhard/mrtlib | 07344c7a374ea60b494fab67c3d66d617143479e | [
"BSD-3-Clause"
] | null | null | null | system/sysutil.hpp | mrtryhard/mrtlib | 07344c7a374ea60b494fab67c3d66d617143479e | [
"BSD-3-Clause"
] | null | null | null | system/sysutil.hpp | mrtryhard/mrtlib | 07344c7a374ea60b494fab67c3d66d617143479e | [
"BSD-3-Clause"
] | null | null | null | #ifndef MRT_SYSTEM_SYSUTIL_HPP_
#define MRT_SYSTEM_SYSUTIL_HPP_
#include <iostream>
namespace mrt { namespace system {
void pause()
{
const auto old_flags = std::cin.flags();
char wait_char;
std::cin.setf(old_flags & ~std::ios_base::skipws);
std::cout << "Press any ke... | 23 | 65 | 0.610766 |
cb5247f01f34da3b7c30612dbdca21cba22c0bbe | 1,665 | cpp | C++ | rollhash.cpp | rakibulhossain/competetive-programming-library | 1a1d8e18e411c6094001d56a7aca45cc106e0f09 | [
"MIT"
] | 1 | 2021-11-18T13:07:39.000Z | 2021-11-18T13:07:39.000Z | rollhash.cpp | Sajjadhossaintalukder/competetive-programming-library | 1a1d8e18e411c6094001d56a7aca45cc106e0f09 | [
"MIT"
] | null | null | null | rollhash.cpp | Sajjadhossaintalukder/competetive-programming-library | 1a1d8e18e411c6094001d56a7aca45cc106e0f09 | [
"MIT"
] | 2 | 2021-08-07T05:09:52.000Z | 2021-08-23T19:41:07.000Z | #include<bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
int gen_base(const int bef,const int aft)
{
auto seed = chrono::high_resolution_clock::now().time_since_epoch().count();
mt19937 mt_rand(seed);
int base=uniform_int_distribution<int>(bef+1,aft)(mt_rand);
... | 21.075949 | 87 | 0.574775 |
cb530e61579194d839aaa97b208695672266b836 | 2,307 | hpp | C++ | test-suite/marketmodel.hpp | zhengyuzhang1/QuantLib | 65867ab7c44419b69e40e553b41230744b83cff9 | [
"BSD-3-Clause"
] | 2 | 2021-12-12T01:27:45.000Z | 2022-01-25T17:44:12.000Z | test-suite/marketmodel.hpp | zhengyuzhang1/QuantLib | 65867ab7c44419b69e40e553b41230744b83cff9 | [
"BSD-3-Clause"
] | 1 | 2020-07-17T18:49:22.000Z | 2020-07-17T18:49:22.000Z | test-suite/marketmodel.hpp | zhengyuzhang1/QuantLib | 65867ab7c44419b69e40e553b41230744b83cff9 | [
"BSD-3-Clause"
] | 1 | 2021-07-11T08:32:27.000Z | 2021-07-11T08:32:27.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2006 Ferdinando Ametrano
Copyright (C) 2006 StatPro Italia srl
Copyright (C) 2012 Peter Caspers
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - ... | 37.209677 | 79 | 0.763762 |
cb57507b16a829830bb93d61c699889ee7ffe63f | 1,609 | cpp | C++ | src/OpcUaStackCore/EventType/EventHandler.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 108 | 2018-10-08T17:03:32.000Z | 2022-03-21T00:52:26.000Z | src/OpcUaStackCore/EventType/EventHandler.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 287 | 2018-09-18T14:59:12.000Z | 2022-01-13T12:28:23.000Z | src/OpcUaStackCore/EventType/EventHandler.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 32 | 2018-10-19T14:35:03.000Z | 2021-11-12T09:36:46.000Z | /*
Copyright 2017 Kai Huebl (kai@huebl-sgh.de)
Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser
Datei nur in Übereinstimmung mit der Lizenz erlaubt.
Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0.
Sofern nicht gemäß geltendem Recht vorgeschri... | 24.753846 | 86 | 0.59913 |
cb5a4018b10c384cabca4cf983c909761d3eb6ac | 9,998 | cxx | C++ | ParaViewCore/ServerManager/Core/vtkSMGlobalPropertiesProxy.cxx | brown-ccv/paraview-scalable | 64b221a540737d2ac94a120039bd8d1e661bdc8f | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-09-27T08:04:34.000Z | 2019-10-16T22:30:54.000Z | ParaViewCore/ServerManager/Core/vtkSMGlobalPropertiesProxy.cxx | sakjain92/paraview | f3af0cd9f6750e24ad038eac573b870c88d6b7dd | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ParaViewCore/ServerManager/Core/vtkSMGlobalPropertiesProxy.cxx | sakjain92/paraview | f3af0cd9f6750e24ad038eac573b870c88d6b7dd | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: ParaView
Module: vtkSMGlobalPropertiesProxy.cxx
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ... | 31.049689 | 100 | 0.620324 |
cb5a8fe23001a40702e83f803cfa086d3fb07f05 | 742 | cpp | C++ | python/swig_/timepoint_to_datetime/foo.cpp | SnoopJeDi/playground | 73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf | [
"MIT"
] | null | null | null | python/swig_/timepoint_to_datetime/foo.cpp | SnoopJeDi/playground | 73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf | [
"MIT"
] | null | null | null | python/swig_/timepoint_to_datetime/foo.cpp | SnoopJeDi/playground | 73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf | [
"MIT"
] | null | null | null | #include <iostream>
#include <chrono>
std::chrono::steady_clock::time_point get_time() {
return std::chrono::steady_clock::now();
}
int main(int argc, char** argv)
{
auto start = get_time();
std::cout << "Hello, I'm going to print out some stars I guess\n";
for(int i=0; i<1000; i++) {
std::co... | 27.481481 | 122 | 0.591644 |
cb5bd046319c5b0670668f4b193a9d75638ca782 | 1,357 | cpp | C++ | apps/panel/widgets/ApplicationListing.cpp | AptRock327/skift | 1c8192ab2d3b3f2688128bf7a85b46dbcdcb7cb3 | [
"MIT"
] | null | null | null | apps/panel/widgets/ApplicationListing.cpp | AptRock327/skift | 1c8192ab2d3b3f2688128bf7a85b46dbcdcb7cb3 | [
"MIT"
] | null | null | null | apps/panel/widgets/ApplicationListing.cpp | AptRock327/skift | 1c8192ab2d3b3f2688128bf7a85b46dbcdcb7cb3 | [
"MIT"
] | null | null | null | #include <libsystem/process/Process.h>
#include <libutils/FuzzyMatcher.h>
#include <libwidget/Button.h>
#include <libwidget/Label.h>
#include <libwidget/Window.h>
#include "panel/model/MenuEntry.h"
#include "panel/widgets/ApplicationListing.h"
namespace panel
{
ApplicationListing::ApplicationListing(Widget *parent) ... | 19.385714 | 77 | 0.607222 |
cb5d04dd07cb6c00ed36c2d2ea19f01019719629 | 1,146 | cpp | C++ | src/aimp_dotnet/SDK/MusicLibrary/Extension/Command/AimpDataStorageCommandUserMark.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/Extension/Command/AimpDataStorageCommandUserMark.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/Extension/Command/AimpDataStorageCommandUserMark.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 "AimpDataStorageCommandUserMark.h"
Aim... | 30.157895 | 95 | 0.67452 |
cb5f9872cdb5be2bac3ddc4af9ee60cd3bc229bb | 3,179 | cpp | C++ | src/utils.cpp | leomonta/cpp_server | 46cec338600e5fecf2539622cdd5ac00124d9822 | [
"MIT"
] | 1 | 2022-02-08T16:41:53.000Z | 2022-02-08T16:41:53.000Z | src/utils.cpp | leomonta/cpp_server | 46cec338600e5fecf2539622cdd5ac00124d9822 | [
"MIT"
] | null | null | null | src/utils.cpp | leomonta/cpp_server | 46cec338600e5fecf2539622cdd5ac00124d9822 | [
"MIT"
] | null | null | null | #include "utils.hpp"
/**
* split the given string with a single token, and return the vector of the splitted strings
*/
std::vector<std::string> split(const std::string& source, const std::string& find) {
std::vector<std::string> res;
std::string haystack(source);
size_t pos = 0;
std::string token;
//... | 25.845528 | 148 | 0.614659 |
cb605c273c1aeefd1fd821e29b23580d29d367d4 | 6,542 | cc | C++ | src/misc_audio.cc | bartvanerp/visqol | 9115ad9dbc29ae5f9cc5a55d2bb07befce2153cb | [
"Apache-2.0"
] | null | null | null | src/misc_audio.cc | bartvanerp/visqol | 9115ad9dbc29ae5f9cc5a55d2bb07befce2153cb | [
"Apache-2.0"
] | null | null | null | src/misc_audio.cc | bartvanerp/visqol | 9115ad9dbc29ae5f9cc5a55d2bb07befce2153cb | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google LLC, Andrew Hines
//
// 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... | 35.945055 | 79 | 0.693366 |
cb62f0e1b2ba7516ed1b49dfe0e0061f35a11105 | 1,218 | cpp | C++ | tests/syscall/epoll/host/host.cpp | oe-ci-test/openenclave | 966ef04f623aba54720fa95996c1ff9e0585c22b | [
"MIT"
] | null | null | null | tests/syscall/epoll/host/host.cpp | oe-ci-test/openenclave | 966ef04f623aba54720fa95996c1ff9e0585c22b | [
"MIT"
] | 3 | 2021-04-07T20:56:28.000Z | 2021-09-23T23:31:47.000Z | tests/syscall/epoll/host/host.cpp | oe-ci-test/openenclave | 966ef04f623aba54720fa95996c1ff9e0585c22b | [
"MIT"
] | 1 | 2019-11-16T08:21:33.000Z | 2019-11-16T08:21:33.000Z | // Copyright (c) Open Enclave SDK contributors.
// Licensed under the MIT License.
#include <openenclave/host.h>
#include <openenclave/internal/tests.h>
#include <cstdio>
#include <thread>
#include "epoll_u.h"
using namespace std;
int main(int argc, const char* argv[])
{
oe_result_t r;
const uint32_t flags =... | 23.423077 | 73 | 0.646141 |
cb64800ebc8deabf49e40a3a9886fe7a8da352a5 | 6,819 | cpp | C++ | dev/Gems/EMotionFX/Code/Tests/ProvidesUI/AnimGraph/Transitions/RemoveTransitionCondition.cpp | brianherrera/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Gems/EMotionFX/Code/Tests/ProvidesUI/AnimGraph/Transitions/RemoveTransitionCondition.cpp | ArchitectureStudios/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Gems/EMotionFX/Code/Tests/ProvidesUI/AnimGraph/Transitions/RemoveTransitionCondition.cpp | ArchitectureStudios/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 52.860465 | 186 | 0.72078 |
cb6515063d85df722a2f25fdfcb40563f6d94796 | 4,869 | cpp | C++ | inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/convolution/convolution_kernel_imad_bs_fs_yx_bsv16_fsv16_3x3.cpp | cwzrad/openvino | ae4bd370eac7c695bd797a31e62317d328dbe742 | [
"Apache-2.0"
] | 1 | 2020-10-13T22:49:18.000Z | 2020-10-13T22:49:18.000Z | inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/convolution/convolution_kernel_imad_bs_fs_yx_bsv16_fsv16_3x3.cpp | cwzrad/openvino | ae4bd370eac7c695bd797a31e62317d328dbe742 | [
"Apache-2.0"
] | 1 | 2021-07-24T15:22:27.000Z | 2021-07-24T15:22:27.000Z | inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/convolution/convolution_kernel_imad_bs_fs_yx_bsv16_fsv16_3x3.cpp | cwzrad/openvino | ae4bd370eac7c695bd797a31e62317d328dbe742 | [
"Apache-2.0"
] | 1 | 2020-08-13T08:33:55.000Z | 2020-08-13T08:33:55.000Z | // Copyright (c) 2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 33.122449 | 144 | 0.653933 |
cb674231b80c63b7bbdd86e527291ea4cbe9b33d | 27,792 | cpp | C++ | src/gpu/ganesh/d3d/GrD3DPipelineStateBuilder.cpp | JimmySoftware/skia | d5a244e6c00c12f8c91c94ff4549191177dd817e | [
"BSD-3-Clause"
] | null | null | null | src/gpu/ganesh/d3d/GrD3DPipelineStateBuilder.cpp | JimmySoftware/skia | d5a244e6c00c12f8c91c94ff4549191177dd817e | [
"BSD-3-Clause"
] | null | null | null | src/gpu/ganesh/d3d/GrD3DPipelineStateBuilder.cpp | JimmySoftware/skia | d5a244e6c00c12f8c91c94ff4549191177dd817e | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2020 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
//#include <d3dcompiler.h>
#include "src/gpu/ganesh/d3d/GrD3DPipelineStateBuilder.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/d3d/GrD3DTypes.h"
#include... | 39.365439 | 100 | 0.667098 |
cb680c2a4f44b30f8779f92f9997901e875fa3c6 | 6,605 | cpp | C++ | tag/src/v20180813/model/ResourcesTag.cpp | datalliance88/tencentcloud-sdk-cpp | fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c | [
"Apache-2.0"
] | null | null | null | tag/src/v20180813/model/ResourcesTag.cpp | datalliance88/tencentcloud-sdk-cpp | fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c | [
"Apache-2.0"
] | null | null | null | tag/src/v20180813/model/ResourcesTag.cpp | datalliance88/tencentcloud-sdk-cpp | fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 28.106383 | 139 | 0.672521 |
cb691e6d92f3a9a20d483cbfad738dfa15f23b4a | 16,699 | cpp | C++ | src/apps/sequencer/python/sequencer.cpp | forestcaver/performer | 17750bc8e6fa23cd806d58a9c519fac25a52473f | [
"MIT"
] | 1 | 2019-04-19T01:34:03.000Z | 2019-04-19T01:34:03.000Z | src/apps/sequencer/python/sequencer.cpp | forestcaver/performer | 17750bc8e6fa23cd806d58a9c519fac25a52473f | [
"MIT"
] | null | null | null | src/apps/sequencer/python/sequencer.cpp | forestcaver/performer | 17750bc8e6fa23cd806d58a9c519fac25a52473f | [
"MIT"
] | null | null | null | #include "SequencerApp.h"
#include "model/Model.h"
#include <pybind11/pybind11.h>
namespace py = pybind11;
void register_sequencer(py::module &m) {
// ------------------------------------------------------------------------
// Sequencer
// -----------------------------------------------------------------... | 49.259587 | 152 | 0.565243 |
cb697c77faa2819c8e8d38ca4485f7ea793d8b14 | 5,064 | cpp | C++ | libs/variant/test/rvalue_test.cpp | juslee/boost-svn | 6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb | [
"BSL-1.0"
] | null | null | null | libs/variant/test/rvalue_test.cpp | juslee/boost-svn | 6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb | [
"BSL-1.0"
] | null | null | null | libs/variant/test/rvalue_test.cpp | juslee/boost-svn | 6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb | [
"BSL-1.0"
] | null | null | null | //-----------------------------------------------------------------------------
// boost-libs variant/test/rvalue_test.cpp source file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2012
//... | 36.963504 | 109 | 0.720182 |
cb6a19f9d53d524703bf6ff2cd44ea4655a5d8d4 | 696 | cpp | C++ | #1059 Prime Factors.cpp | ZachVec/PAT-Advanced | 52ba5989c095ddbee3c297e82a4b3d0d2e0cd449 | [
"MIT"
] | 1 | 2021-12-26T08:34:47.000Z | 2021-12-26T08:34:47.000Z | #1059 Prime Factors.cpp | ZachVec/PAT-Advanced | 52ba5989c095ddbee3c297e82a4b3d0d2e0cd449 | [
"MIT"
] | null | null | null | #1059 Prime Factors.cpp | ZachVec/PAT-Advanced | 52ba5989c095ddbee3c297e82a4b3d0d2e0cd449 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
int main() {
size_t num;
if(!scanf("%zu", &num)) return 0;
std::vector<bool> isPrime(50000, true);
isPrime[0] = isPrime[1] = false;
for(size_t i = 2; i < 50000; ++i) {
if(!isPrime[i]) continue;
for(size_t j = 2 * i; j < 50000; j *= 2) isPrime[j]... | 27.84 | 68 | 0.465517 |
cb6a6e0d94bd252250f45486b117b886d3441738 | 3,651 | hpp | C++ | ThirdParty/pegtl/vtkpegtl/include/tao/pegtl/contrib/parse_tree_to_dot.hpp | cclauss/VTK | f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d | [
"BSD-3-Clause"
] | 1,755 | 2015-01-03T06:55:00.000Z | 2022-03-29T05:23:26.000Z | ThirdParty/pegtl/vtkpegtl/include/tao/pegtl/contrib/parse_tree_to_dot.hpp | cclauss/VTK | f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d | [
"BSD-3-Clause"
] | 1,110 | 2015-04-20T19:30:34.000Z | 2020-06-01T08:13:52.000Z | ThirdParty/pegtl/vtkpegtl/include/tao/pegtl/contrib/parse_tree_to_dot.hpp | cclauss/VTK | f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d | [
"BSD-3-Clause"
] | 1,044 | 2015-01-05T22:48:27.000Z | 2022-03-31T02:38:26.000Z | // Copyright (c) 2019-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_CONTRIB_PARSE_TREE_TO_DOT_HPP
#define TAO_PEGTL_CONTRIB_PARSE_TREE_TO_DOT_HPP
#include <cassert>
#include <ostream>
#include <string>
#include "parse_tree.hpp"
na... | 31.205128 | 94 | 0.325938 |
cb6af83f1807b38ebb0333de2396014c2f838543 | 21,064 | cpp | C++ | library/property/test/src/test_tetengo.property.property_set.cpp | kaorut/tetengo | 3360cce3e3f4c92b18154927685986c1fa7b4e8e | [
"MIT"
] | null | null | null | library/property/test/src/test_tetengo.property.property_set.cpp | kaorut/tetengo | 3360cce3e3f4c92b18154927685986c1fa7b4e8e | [
"MIT"
] | 153 | 2019-08-11T05:26:36.000Z | 2021-06-23T17:24:04.000Z | library/property/test/src/test_tetengo.property.property_set.cpp | kaorut/tetengo | 3360cce3e3f4c92b18154927685986c1fa7b4e8e | [
"MIT"
] | null | null | null | /*! \file
\brief A property set.
Copyright (C) 2019-2021 kaoru https://www.tetengo.org/
*/
#include <cstdint>
#include <filesystem>
#include <iterator>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include <stddef.h>
#... | 38.437956 | 121 | 0.664214 |
cb6b8703f5e16034e0d2743739f516941d408e4e | 71,913 | cpp | C++ | lib/AST/ExprCXX.cpp | ath-n/clang | 3ebb1d6cd126916230b761219f709bdb165a14be | [
"Apache-2.0"
] | null | null | null | lib/AST/ExprCXX.cpp | ath-n/clang | 3ebb1d6cd126916230b761219f709bdb165a14be | [
"Apache-2.0"
] | null | null | null | lib/AST/ExprCXX.cpp | ath-n/clang | 3ebb1d6cd126916230b761219f709bdb165a14be | [
"Apache-2.0"
] | 1 | 2019-10-22T05:48:01.000Z | 2019-10-22T05:48:01.000Z | //===- ExprCXX.cpp - (C++) Expression AST Node Implementation -------------===//
//
// 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
//
//===---------------------------... | 42.729055 | 85 | 0.667876 |
cb6c2f31090c6ea33cabe18bf1054a7f947f9895 | 1,054 | inl | C++ | src/ComponentWrapper.inl | vis4rd/ecs | ef32770d93ef5a24dcf056032fc75a40077dcddc | [
"MIT"
] | null | null | null | src/ComponentWrapper.inl | vis4rd/ecs | ef32770d93ef5a24dcf056032fc75a40077dcddc | [
"MIT"
] | null | null | null | src/ComponentWrapper.inl | vis4rd/ecs | ef32770d93ef5a24dcf056032fc75a40077dcddc | [
"MIT"
] | null | null | null | namespace ecs
{
template <typename ComponentT>
ComponentWrapper<ComponentT>::ComponentWrapper(const uint64 &entity_id)
: m_component(), m_entityID(entity_id)
{ }
template <typename ComponentT>
ComponentWrapper<ComponentT>::ComponentWrapper(const ComponentT &comp)
: m_component(comp), m_entityID(0)
{ }
template <type... | 20.666667 | 71 | 0.781784 |
cb6c3806ae14398a4db0b47f3d8235ed4db43c00 | 7,313 | cpp | C++ | Current/773_Sliding_Puzzle/main.cpp | camelboat/LeetCode_Archive | c29d263e068752a9ad355925f326b56f672bb584 | [
"MIT"
] | 3 | 2019-09-21T16:25:44.000Z | 2021-08-29T20:43:57.000Z | Current/773_Sliding_Puzzle/main.cpp | camelboat/LeetCode_Archive | c29d263e068752a9ad355925f326b56f672bb584 | [
"MIT"
] | null | null | null | Current/773_Sliding_Puzzle/main.cpp | camelboat/LeetCode_Archive | c29d263e068752a9ad355925f326b56f672bb584 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
#include <queue>
#include <string>
#include <unordered_map>
#include <unordered_set>
using namespace std;
//// 83.56% , 100.00%
class Solution {
public:
int slidingPuzzle(vector<vector<int>>& board) {
string final_state = "123450";
unordered_set... | 34.013953 | 114 | 0.484069 |