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 int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3cea8a7a69c5d9848c8e5526ef045920898444b4 | 5,237 | cc | C++ | mindspore/lite/src/delegate/npu/op/resize_npu.cc | Vincent34/mindspore | a39a60878a46e7e9cb02db788c0bca478f2fa6e5 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/delegate/npu/op/resize_npu.cc | Vincent34/mindspore | a39a60878a46e7e9cb02db788c0bca478f2fa6e5 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/delegate/npu/op/resize_npu.cc | Vincent34/mindspore | a39a60878a46e7e9cb02db788c0bca478f2fa6e5 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020-2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 40.596899 | 113 | 0.681688 | Vincent34 |
3cecf3a259e168980807cb0d7d99953dd41b5975 | 28,125 | cc | C++ | chrome/browser/protector/protector_service_browsertest.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 1 | 2019-04-23T15:57:04.000Z | 2019-04-23T15:57:04.000Z | chrome/browser/protector/protector_service_browsertest.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/protector/protector_service_browsertest.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"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 "base/command_line.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "chrome/app/chrome_command_ids.h"
#include ... | 42.808219 | 78 | 0.780978 | 1065672644894730302 |
3cee5c9c41096baec5a2fa929d822d9f616f7af5 | 968 | cpp | C++ | leetcode-problems/medium/17-phone-number.cpp | formatkaka/dsalgo | a7c7386c5c161e23bc94456f93cadd0f91f102fa | [
"Unlicense"
] | null | null | null | leetcode-problems/medium/17-phone-number.cpp | formatkaka/dsalgo | a7c7386c5c161e23bc94456f93cadd0f91f102fa | [
"Unlicense"
] | null | null | null | leetcode-problems/medium/17-phone-number.cpp | formatkaka/dsalgo | a7c7386c5c161e23bc94456f93cadd0f91f102fa | [
"Unlicense"
] | null | null | null | //
// Created by Siddhant on 2019-11-15.
//
#include "iostream"
#include "vector"
#include "string"
using namespace std;
vector<string> map = {"", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz"};
vector<string> letterCombinations(string digits) {
vector<string> s;
vector<string> old;
for ... | 18.264151 | 88 | 0.44938 | formatkaka |
3ceeffa74ff7d034e15e310b190f62700940aa1d | 840 | hpp | C++ | SDK/ARKSurvivalEvolved_MissionRace_Interface_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_MissionRace_Interface_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_MissionRace_Interface_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_MissionRace_Interface_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------... | 21 | 112 | 0.638095 | 2bite |
3cf2225aa62bdc226603bb84188fa7a1a8dd50b6 | 24,500 | cpp | C++ | src/examples/scene.cpp | SCIInstitute/SCI-Solver_Peridynamic | b0b6b82151bbfdea5365bca156b449ca671cddc1 | [
"MIT"
] | 14 | 2018-02-01T08:26:26.000Z | 2021-12-18T11:37:26.000Z | src/examples/scene.cpp | SCIInstitute/SCI-Solver_Peridynamic | b0b6b82151bbfdea5365bca156b449ca671cddc1 | [
"MIT"
] | null | null | null | src/examples/scene.cpp | SCIInstitute/SCI-Solver_Peridynamic | b0b6b82151bbfdea5365bca156b449ca671cddc1 | [
"MIT"
] | 4 | 2018-05-30T05:11:34.000Z | 2021-05-08T09:06:29.000Z | //------------------------------------------------------------------------------------------
//
//
// Created on: 2/1/2015
// Author: Nghia Truong
//
//------------------------------------------------------------------------------------------
#include <iostream>
#include <cmath>
#include <core/helper_math.h>
#inclu... | 35.302594 | 113 | 0.495673 | SCIInstitute |
3cf2700a6aa1adfce4e21b2d01c332e038240877 | 215 | hpp | C++ | bunsan/utility/include/bunsan/utility/error.hpp | bacsorg/bacs | 2b52feb9efc805655cdf7829cf77ee028d567969 | [
"Apache-2.0"
] | null | null | null | bunsan/utility/include/bunsan/utility/error.hpp | bacsorg/bacs | 2b52feb9efc805655cdf7829cf77ee028d567969 | [
"Apache-2.0"
] | 10 | 2018-02-06T14:46:36.000Z | 2018-03-20T13:37:20.000Z | bunsan/utility/include/bunsan/utility/error.hpp | bacsorg/bacs | 2b52feb9efc805655cdf7829cf77ee028d567969 | [
"Apache-2.0"
] | 1 | 2021-11-26T10:59:09.000Z | 2021-11-26T10:59:09.000Z | #pragma once
#include <bunsan/error.hpp>
namespace bunsan::utility {
struct error : virtual bunsan::error {
error() = default;
explicit error(const std::string &message_);
};
} // namespace bunsan::utility
| 16.538462 | 46 | 0.702326 | bacsorg |
3cf324aced73cd76bf7562e3d4abe3e8ed820631 | 1,338 | cpp | C++ | CppSTL/cppstdlib/alloc/myalloc11.cpp | webturing/CPlusPlus | 6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f | [
"AFL-2.0"
] | 14 | 2018-06-21T14:41:26.000Z | 2021-12-19T14:43:51.000Z | CppSTL/cppstdlib/alloc/myalloc11.cpp | webturing/CPlusPlus | 6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f | [
"AFL-2.0"
] | null | null | null | CppSTL/cppstdlib/alloc/myalloc11.cpp | webturing/CPlusPlus | 6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f | [
"AFL-2.0"
] | 2 | 2020-04-20T11:16:53.000Z | 2021-01-02T15:58:35.000Z | /* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference, 2nd Edition"
* by Nicolai M. Josuttis, Addison-Wesley, 2012
*
* (C) Copyright Nicolai M. Josuttis 2012.
* Permission to copy, use, modify, sell and distribute this software
* is granted provided this copyr... | 33.45 | 69 | 0.692078 | webturing |
3cf43adb15c2d36bcf0c212a4eb39b22a66cb18c | 6,381 | cpp | C++ | src/mongo/s/s_only.cpp | guanhe0/mongo | 75077b7f56bfe8f3cc187477c2f06527e14f7ad3 | [
"Apache-2.0"
] | 14 | 2019-01-11T05:01:29.000Z | 2021-11-01T00:39:46.000Z | src/mongo/s/s_only.cpp | guanhe0/mongo | 75077b7f56bfe8f3cc187477c2f06527e14f7ad3 | [
"Apache-2.0"
] | 1 | 2022-03-05T02:55:28.000Z | 2022-03-05T05:28:00.000Z | src/mongo/s/s_only.cpp | guanhe0/mongo | 75077b7f56bfe8f3cc187477c2f06527e14f7ad3 | [
"Apache-2.0"
] | 7 | 2019-02-08T16:28:36.000Z | 2021-05-08T14:25:47.000Z | // s_only.cpp
/* Copyright 2009 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be... | 36.050847 | 91 | 0.629995 | guanhe0 |
3cf50ddd33c54036104018b9bd178806536d4ef2 | 4,882 | cpp | C++ | bin/ch/JITProcessManager.cpp | vinay72/ChakraCore | bff3ae27d0e95abe6bbbaf4691218be37b8125ee | [
"MIT"
] | 1 | 2019-05-08T21:39:33.000Z | 2019-05-08T21:39:33.000Z | bin/ch/JITProcessManager.cpp | Dachande663/ChakraCore | ed98335e71a98b45629d9ab957960121d66790a2 | [
"MIT"
] | 5 | 2019-01-07T10:15:23.000Z | 2019-01-08T08:59:03.000Z | bin/ch/JITProcessManager.cpp | Dachande663/ChakraCore | ed98335e71a98b45629d9ab957960121d66790a2 | [
"MIT"
] | 1 | 2019-01-18T12:55:24.000Z | 2019-01-18T12:55:24.000Z | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | 27.897143 | 110 | 0.612659 | vinay72 |
3cf609518aad5663eac95909b8bce993dd0a4264 | 2,606 | cpp | C++ | src/Phases/economyPhase.cpp | spChalk/cardGame | cb0332ed007cd7f137cd67f410f9a5908f3cc2df | [
"MIT"
] | 7 | 2020-03-06T18:59:15.000Z | 2020-12-06T13:31:07.000Z | src/Phases/economyPhase.cpp | spChalk/Card-Game | cb0332ed007cd7f137cd67f410f9a5908f3cc2df | [
"MIT"
] | null | null | null | src/Phases/economyPhase.cpp | spChalk/Card-Game | cb0332ed007cd7f137cd67f410f9a5908f3cc2df | [
"MIT"
] | 1 | 2020-03-06T20:39:11.000Z | 2020-03-06T20:39:11.000Z | /* economyPhase.cpp */
#include <iostream>
#include <string>
#include "basicHeader.hpp"
using std::cout;
using std::endl;
/* ========================================================================= */
void Game::economyPhase(PlayerPtr pl) {
printF ("Economy Phase Started !" , 1 , YEL , FILL);
printF ("Press E... | 31.39759 | 97 | 0.480046 | spChalk |
3cf707efa2dafcb4ad1efe63aa9a2145a730a90f | 8,279 | cpp | C++ | libs/unordered/test/unordered/unnecessary_copy_tests.cpp | coxlab/boost_patched_for_objcplusplus | 5316cd54bbd03994ae785185efcde62b57fd5e93 | [
"BSL-1.0"
] | 1 | 2017-07-31T02:19:48.000Z | 2017-07-31T02:19:48.000Z | libs/unordered/test/unordered/unnecessary_copy_tests.cpp | boost-cmake/vintage | dcfb7da3177134eddaee6789d6f582259cb0d6ee | [
"BSL-1.0"
] | null | null | null | libs/unordered/test/unordered/unnecessary_copy_tests.cpp | boost-cmake/vintage | dcfb7da3177134eddaee6789d6f582259cb0d6ee | [
"BSL-1.0"
] | 1 | 2021-03-07T05:20:43.000Z | 2021-03-07T05:20:43.000Z |
// Copyright 2006-2009 Daniel James.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/unordered_set.hpp>
#include <boost/unordered_map.hpp>
#include "../helpers/test.hpp"
namespace unnecessary_copy... | 27.875421 | 109 | 0.590651 | coxlab |
3cf7306c1722bc9d3fcf25dc626c66fe83d5a036 | 9,141 | cpp | C++ | inference-engine/tests/functional/inference_engine/transformations/ngraph_1d_ops_reshape_test.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 2 | 2020-11-18T14:14:06.000Z | 2020-11-28T04:55:57.000Z | inference-engine/tests/functional/inference_engine/transformations/ngraph_1d_ops_reshape_test.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 30 | 2020-11-13T11:44:07.000Z | 2022-02-21T13:03:16.000Z | inference-engine/tests/functional/inference_engine/transformations/ngraph_1d_ops_reshape_test.cpp | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | // Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include "common_test_utils/test_common.hpp"
#include <string>
#include <sstream>
#include <fstream>
#include <memory>
#include <map>
#include <ngraph/function.hpp>
#include <ngraph/op/constant.hpp>
#inclu... | 45.934673 | 156 | 0.665245 | Andruxin52rus |
3cf7c4cdd1c0914438ac10e3bcbee98d0f4f71f2 | 10,099 | cpp | C++ | HelperFunctions/getvkDebugUtilsMessengerCallbackDataEXT.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | HelperFunctions/getvkDebugUtilsMessengerCallbackDataEXT.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | HelperFunctions/getvkDebugUtilsMessengerCallbackDataEXT.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019-2020 Douglas Kaip
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 38.39924 | 142 | 0.600852 | dkaip |
3cfb7b723efebb24dbcb72dd1f603a83f9044e6f | 5,778 | cpp | C++ | Viewer/ecflowUI/src/VNState.cpp | mpartio/ecflow | ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6 | [
"Apache-2.0"
] | null | null | null | Viewer/ecflowUI/src/VNState.cpp | mpartio/ecflow | ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6 | [
"Apache-2.0"
] | null | null | null | Viewer/ecflowUI/src/VNState.cpp | mpartio/ecflow | ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6 | [
"Apache-2.0"
] | null | null | null | //============================================================================
// Copyright 2009- ECMWF.
// This software is licensed under the terms of the Apache Licence version 2.0
// which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
// In applying this licence, ECMWF does not waive the privileges... | 22.395349 | 96 | 0.632399 | mpartio |
3cfc529d9a5efdcf874b75ceceb00a285f64cbc9 | 4,617 | cpp | C++ | src/gpu/ocl/gemm_matmul.cpp | Acidburn0zzz/mkl-dnn | 7b5378563e4774ff4165aecb8155d8f5c626ece1 | [
"Apache-2.0"
] | 1 | 2020-02-21T07:00:06.000Z | 2020-02-21T07:00:06.000Z | src/gpu/ocl/gemm_matmul.cpp | riju/mkl-dnn | b8b06f9de7b3d58ca0c7c8d4df1838adbf1e75cc | [
"Apache-2.0"
] | null | null | null | src/gpu/ocl/gemm_matmul.cpp | riju/mkl-dnn | b8b06f9de7b3d58ca0c7c8d4df1838adbf1e75cc | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 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.o... | 35.790698 | 80 | 0.651722 | Acidburn0zzz |
3cfd1ad1843b87edf827622e2ae413e11d86faac | 3,121 | cpp | C++ | simulations/ros2_bdi_on_webots/src/blocksworld/gripper/actions/gripper_pickup.cpp | devis12/ROS2-BDI | 28a8b7d9545ddcc6862f3cb338737791eef709a6 | [
"Apache-2.0"
] | 4 | 2022-01-11T12:05:44.000Z | 2022-03-31T19:34:02.000Z | simulations/ros2_bdi_on_webots/src/blocksworld/gripper/actions/gripper_pickup.cpp | devis12/ROS2-BDI | 28a8b7d9545ddcc6862f3cb338737791eef709a6 | [
"Apache-2.0"
] | 8 | 2022-01-27T09:02:22.000Z | 2022-02-21T16:41:27.000Z | simulations/ros2_bdi_on_webots/src/blocksworld/gripper/actions/gripper_pickup.cpp | devis12/ROS2-BDI | 28a8b7d9545ddcc6862f3cb338737791eef709a6 | [
"Apache-2.0"
] | 1 | 2022-01-11T08:58:28.000Z | 2022-01-11T08:58:28.000Z | #include <string>
#include "rclcpp/rclcpp.hpp"
#include "ros2_bdi_skills/bdi_action_executor.hpp"
#include "example_interfaces/msg/string.hpp"
#include "webots_ros2_simulations_interfaces/msg/move_status.hpp"
using std::string;
using example_interfaces::msg::String;
using webots_ros2_simulations_interfaces::msg::Mo... | 32.510417 | 141 | 0.612304 | devis12 |
3cfd1fb8153ceae058e76c1c5e42a81c11fe0552 | 1,853 | cc | C++ | chrome/installer/util/create_dir_work_item.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | chrome/installer/util/create_dir_work_item.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | chrome/installer/util/create_dir_work_item.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2009 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 "base/file_util.h"
#include "chrome/installer/util/create_dir_work_item.h"
#include "chrome/installer/util/logging_installer.h"
CreateDirWor... | 26.471429 | 76 | 0.69401 | rwatson |
3cfdb53f39fad5fc2ad53400721f7fe9f5f0db96 | 834 | hpp | C++ | sel_map_mesh_publisher/include/sel_map_mesh_publisher/TriangularMeshPublisher.hpp | roahmlab/sel_map | 51c5ac738eb7475f409f826c0d30f555f98757b3 | [
"MIT"
] | 2 | 2022-02-24T21:10:32.000Z | 2022-03-11T20:00:09.000Z | sel_map_mesh_publisher/include/sel_map_mesh_publisher/TriangularMeshPublisher.hpp | roahmlab/sel_map | 51c5ac738eb7475f409f826c0d30f555f98757b3 | [
"MIT"
] | null | null | null | sel_map_mesh_publisher/include/sel_map_mesh_publisher/TriangularMeshPublisher.hpp | roahmlab/sel_map | 51c5ac738eb7475f409f826c0d30f555f98757b3 | [
"MIT"
] | null | null | null | #pragma once
#include <ros/ros.h>
#include <string>
#include "msg_adaptor/MeshGeometryStampedCustom.hpp"
// Placing all lib elements into a sel_map namespace, partly in case this is extended upon later, partly to reduce pollution.
namespace sel_map::publisher{
template <typename MeshAdaptorType>
class Trian... | 30.888889 | 133 | 0.718225 | roahmlab |
3cfe35544080783e5498d639955729242cf09caa | 3,804 | cpp | C++ | Engine/source/T3D/containerQuery.cpp | jnoyola/Torque3D_GDDEast | 15738ed79185c45e353ea4520dee0a94872ee870 | [
"Unlicense"
] | 1 | 2019-01-15T09:47:35.000Z | 2019-01-15T09:47:35.000Z | Engine/source/T3D/containerQuery.cpp | jnoyola/Torque3D_GDDEast | 15738ed79185c45e353ea4520dee0a94872ee870 | [
"Unlicense"
] | null | null | null | Engine/source/T3D/containerQuery.cpp | jnoyola/Torque3D_GDDEast | 15738ed79185c45e353ea4520dee0a94872ee870 | [
"Unlicense"
] | null | null | null | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restrictio... | 38.424242 | 114 | 0.680862 | jnoyola |
a70110104f41bdb2b9bac4086a9ea01d702272dd | 947 | cc | C++ | src/connectivity/bluetooth/core/bt-host/l2cap/channel_configuration_fuzztest.cc | dahlia-os/fuchsia-pine64-pinephone | 57aace6f0b0bd75306426c98ab9eb3ff4524a61d | [
"BSD-3-Clause"
] | 14 | 2020-10-25T05:48:36.000Z | 2021-09-20T02:46:20.000Z | src/connectivity/bluetooth/core/bt-host/l2cap/channel_configuration_fuzztest.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | 1 | 2022-01-14T23:38:40.000Z | 2022-01-14T23:38:40.000Z | src/connectivity/bluetooth/core/bt-host/l2cap/channel_configuration_fuzztest.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | 4 | 2020-12-28T17:04:45.000Z | 2022-03-12T03:20:44.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/connectivity/bluetooth/core/bt-host/l2cap/channel_configuration.h"
#include "src/connectivity/bluetooth/core/bt-host/common/byte_buffer.h"
#... | 27.852941 | 80 | 0.74868 | dahlia-os |
a706248e68aead38a05656fb8465c8a270245089 | 960 | cpp | C++ | src/Modules/Helpers/Helpers/libhelpers/Dx/DxDeviceMt.cpp | sssr33/LuaModules | 357a8c9445a237f2c98685000f6c7da668ea0e72 | [
"MIT"
] | 1 | 2020-02-24T22:21:04.000Z | 2020-02-24T22:21:04.000Z | src/Modules/Helpers/Helpers/libhelpers/Dx/DxDeviceMt.cpp | sssr33/LuaModules | 357a8c9445a237f2c98685000f6c7da668ea0e72 | [
"MIT"
] | null | null | null | src/Modules/Helpers/Helpers/libhelpers/Dx/DxDeviceMt.cpp | sssr33/LuaModules | 357a8c9445a237f2c98685000f6c7da668ea0e72 | [
"MIT"
] | 1 | 2019-10-11T12:48:44.000Z | 2019-10-11T12:48:44.000Z | #include "DxDeviceMt.h"
IDWriteFactory *DxDeviceMt::GetDwriteFactory() const {
return this->dwriteFactory.Get();
}
ID2D1Factory1 *DxDeviceMt::GetD2DFactory() const {
return this->d2dFactory.Get();
}
ID3D11Device *DxDeviceMt::GetD3DDevice() const {
return this->d3dDev.Get();
}
ID2D1Device *DxDeviceMt::GetD2DDevic... | 24.615385 | 81 | 0.755208 | sssr33 |
a7077296f0f92eed8004f61790ccc5839dd3de68 | 614 | cpp | C++ | water.cpp | sergiosvieira/mog | f23d2b18851bb58c3e60aae9b10deec023f2c9c8 | [
"MIT"
] | null | null | null | water.cpp | sergiosvieira/mog | f23d2b18851bb58c3e60aae9b10deec023f2c9c8 | [
"MIT"
] | null | null | null | water.cpp | sergiosvieira/mog | f23d2b18851bb58c3e60aae9b10deec023f2c9c8 | [
"MIT"
] | null | null | null | #include "water.h"
Water::Water(): TaticalMovingObject()
{
}
Water::Water
(
const Coordinates& position,
const Vector& velocity,
unsigned int initialTime,
unsigned int lifeTime,
const Vector &acceleration
): TaticalMovingObject(position, velocity, initialTime, lifeTime, acceleration, ObjectCatego... | 15.74359 | 106 | 0.70684 | sergiosvieira |
a709f6fab3e2fd6c6b106b8bf667b7faadce9586 | 2,789 | hpp | C++ | Source/Utility/Maths.hpp | storm20200/WaterEngine | 537910bc03e6d4016c9b22cf616d25afe40f77af | [
"MIT"
] | null | null | null | Source/Utility/Maths.hpp | storm20200/WaterEngine | 537910bc03e6d4016c9b22cf616d25afe40f77af | [
"MIT"
] | 2 | 2015-03-17T01:32:10.000Z | 2015-03-19T18:58:28.000Z | Source/Utility/Maths.hpp | storm20200/WaterEngine | 537910bc03e6d4016c9b22cf616d25afe40f77af | [
"MIT"
] | null | null | null | #if !defined WATER_UTILITY_MATHS_INCLUDED
#define WATER_UTILITY_MATHS_INCLUDED
// STL headers.
#include <cmath>
#include <type_traits>
// Utility namespace.
namespace util
{
/////////////////////
/// Miscellaneous ///
/////////////////////
/// <summary> Checks if two float values are relatively equ... | 29.357895 | 140 | 0.585873 | storm20200 |
a70a5694f3dc2cd9c7593c0eb4bbda7485459800 | 634 | cpp | C++ | 1001-1020/1005.cpp | nedchu/PTA-Advanced-Solution | 9713142a48e7e416fd087980b6ac8251ae2b200f | [
"MIT"
] | 1 | 2020-01-13T04:57:01.000Z | 2020-01-13T04:57:01.000Z | 1001-1020/1005.cpp | nedchu/PTA-Advanced-Solution | 9713142a48e7e416fd087980b6ac8251ae2b200f | [
"MIT"
] | null | null | null | 1001-1020/1005.cpp | nedchu/PTA-Advanced-Solution | 9713142a48e7e416fd087980b6ac8251ae2b200f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(), (x).end()
#define fi first
#define se second
typedef long long ll;
typedef pair<int,int> pii;
// head
const int N = 105;
char s[105];
char dig[15][15] = {
"zero", "one", "two", "three",
"four", "five", "six",
"seven", "eight", "nine"
};... | 17.611111 | 57 | 0.477918 | nedchu |
a70c2edf4348da637b12849392e0cbdd483c3ccb | 4,765 | cc | C++ | cvmfs/swissknife_lease_curl.cc | chrisburr/cvmfs | 74691036341e6010c83e9dff093f0bcad6fd08e1 | [
"BSD-3-Clause"
] | 2 | 2021-05-15T05:22:23.000Z | 2021-05-15T05:23:00.000Z | cvmfs/swissknife_lease_curl.cc | chrisburr/cvmfs | 74691036341e6010c83e9dff093f0bcad6fd08e1 | [
"BSD-3-Clause"
] | 2 | 2021-11-18T16:48:22.000Z | 2022-03-03T13:38:57.000Z | cvmfs/swissknife_lease_curl.cc | chrisburr/cvmfs | 74691036341e6010c83e9dff093f0bcad6fd08e1 | [
"BSD-3-Clause"
] | 1 | 2021-12-13T00:20:14.000Z | 2021-12-13T00:20:14.000Z | /**
* This file is part of the CernVM File System.
*/
#include "swissknife_lease_curl.h"
#include "cvmfs_config.h"
#include "gateway_util.h"
#include "hash.h"
#include "json_document.h"
#include "logging.h"
#include "util/pointer.h"
#include "util/string.h"
namespace {
CURL* PrepareCurl(const std::string& method... | 32.195946 | 80 | 0.658342 | chrisburr |
a70d5dd955b42d4cf5a025fd252d7d27e99bcb74 | 1,987 | cpp | C++ | cryptopp562/algparam.cpp | xlplbo/cryptopp | a831383b9c407c2836d35154ad4d34778597ca5b | [
"Apache-2.0"
] | 505 | 2016-02-04T15:54:46.000Z | 2022-03-27T18:43:01.000Z | src/cryptopp/algparam.cpp | brozkeff/Slothcoin | a4af51f5d3292f993ef7c3d95ead1f344c38ad4a | [
"MIT"
] | 528 | 2016-02-06T19:50:12.000Z | 2022-01-15T10:21:16.000Z | src/cryptopp/algparam.cpp | brozkeff/Slothcoin | a4af51f5d3292f993ef7c3d95ead1f344c38ad4a | [
"MIT"
] | 208 | 2015-01-02T10:31:40.000Z | 2021-12-14T07:37:36.000Z | // algparam.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#ifndef CRYPTOPP_IMPORTS
#include "algparam.h"
NAMESPACE_BEGIN(CryptoPP)
PAssignIntToInteger g_pAssignIntToInteger = NULL;
bool CombinedNameValuePairs::GetVoidValue(const char *name, const std::type_info &valueType, void *pValue... | 26.144737 | 113 | 0.749874 | xlplbo |
a70e6941e1e1b44237cdc12c9f340d89f24d5274 | 4,087 | cpp | C++ | Project/src/Player.cpp | ishohois/DivisionEngine2D | 3e38c2bf39e54b743bd01281980c4bdc502c93e4 | [
"MIT"
] | null | null | null | Project/src/Player.cpp | ishohois/DivisionEngine2D | 3e38c2bf39e54b743bd01281980c4bdc502c93e4 | [
"MIT"
] | 1 | 2021-12-14T08:33:06.000Z | 2021-12-14T08:33:06.000Z | Project/src/Player.cpp | ishohois/DivisionEngine2D | 3e38c2bf39e54b743bd01281980c4bdc502c93e4 | [
"MIT"
] | null | null | null | #include "Player.h"
#include <SystemResources.h>
#include "TextureManager.h"
#include "CollisionHandler.h"
#include "Contact.h"
#include "Input.h"
#include "GameManager.h"
#include "Bullet.h"
namespace diva
{
/*
*/
Player::Player(int x, int y, int w, int h) : GameObject(), position(x, y), collider(posit... | 27.246667 | 162 | 0.553707 | ishohois |
a7135529b1a781871edb93e6262ea6f251140998 | 5,332 | hpp | C++ | src/ascent/runtimes/ascent_mfem_data_adapter.hpp | jameskress/ascent | db799bc1e076b5413607ed45913d4c9c2b7fa421 | [
"BSD-3-Clause"
] | null | null | null | src/ascent/runtimes/ascent_mfem_data_adapter.hpp | jameskress/ascent | db799bc1e076b5413607ed45913d4c9c2b7fa421 | [
"BSD-3-Clause"
] | null | null | null | src/ascent/runtimes/ascent_mfem_data_adapter.hpp | jameskress/ascent | db799bc1e076b5413607ed45913d4c9c2b7fa421 | [
"BSD-3-Clause"
] | 2 | 2018-02-28T14:15:23.000Z | 2018-07-05T18:30:07.000Z | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2015-2019, Lawrence Livermore National Security, LLC.
//
// Produced at the Lawrence Livermore National Laboratory
//
// LLNL-CODE-716457
//
// All rights reserved.
//
// This file is part of Ascent.
//
// For details, see:... | 36.027027 | 96 | 0.525319 | jameskress |
a716143b80f1c96106e3eecbc7787226e960ea8a | 3,221 | cpp | C++ | Source/WebCore/svg/SVGClipPathElement.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/svg/SVGClipPathElement.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/svg/SVGClipPathElement.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org>
* Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
* Copyright (C) 2018 Apple Inc. All rights reserved.
*
* This library is free software; ... | 33.905263 | 139 | 0.743247 | jacadcaps |
a7195ffdfcf572028748b287b7f6513194f62166 | 1,856 | hpp | C++ | third_party/boost/simd/arch/ppc/vmx/simd/function/rsqrt.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | 1 | 2018-01-14T12:49:14.000Z | 2018-01-14T12:49:14.000Z | third_party/boost/simd/arch/ppc/vmx/simd/function/rsqrt.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/arch/ppc/vmx/simd/function/rsqrt.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | 2 | 2017-12-12T12:29:52.000Z | 2019-04-08T15:55:25.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//===========================... | 32 | 100 | 0.515086 | xmar |
a71a4a9cfa00696c592dbb3c5c783fe891256ce8 | 3,756 | hpp | C++ | altona/wz4lib/build.hpp | kebby/Werkkzeug4 | f2ff557020d62c348b54d88e137999175b5c18a3 | [
"BSD-2-Clause"
] | 10 | 2020-11-26T09:45:15.000Z | 2022-03-18T00:18:27.000Z | altona/wz4lib/build.hpp | kebby/Werkkzeug4 | f2ff557020d62c348b54d88e137999175b5c18a3 | [
"BSD-2-Clause"
] | null | null | null | altona/wz4lib/build.hpp | kebby/Werkkzeug4 | f2ff557020d62c348b54d88e137999175b5c18a3 | [
"BSD-2-Clause"
] | 3 | 2020-01-02T19:11:44.000Z | 2022-03-18T00:21:45.000Z | /*+**************************************************************************/
/*** ***/
/*** Copyright (C) by Dierk Ohlerich ***/
/*** all rights reserverd ***/
/***... | 33.238938 | 160 | 0.561235 | kebby |
a71ad25bdf939c6c0bfca9a4594ea7403041f7b3 | 1,290 | cpp | C++ | hiro/gtk/widget/vertical-slider.cpp | moon-chilled/Ares | 909fb098c292f8336d0502dc677050312d8b5c81 | [
"0BSD"
] | 7 | 2020-07-25T11:44:39.000Z | 2021-01-29T13:21:31.000Z | hiro/gtk/widget/vertical-slider.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | null | null | null | hiro/gtk/widget/vertical-slider.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | 1 | 2021-03-22T16:15:30.000Z | 2021-03-22T16:15:30.000Z | #if defined(Hiro_VerticalSlider)
namespace hiro {
static auto VerticalSlider_change(GtkRange* gtkRange, pVerticalSlider* p) -> void {
auto position = (uint)gtk_range_get_value(gtkRange);
if(p->state().position == position) return;
p->state().position = position;
if(!p->locked()) p->self().doChange();
}
auto ... | 26.326531 | 108 | 0.727907 | moon-chilled |
a71ea393263a96910de8d964b8af7ef71c21d279 | 2,304 | hpp | C++ | liboslayer/Pool.hpp | bjtj/oslayer | 92cc41288a4bae8e63a680fe714806e89421df16 | [
"MIT"
] | 1 | 2020-03-08T14:25:24.000Z | 2020-03-08T14:25:24.000Z | liboslayer/Pool.hpp | bjtj/oslayer | 92cc41288a4bae8e63a680fe714806e89421df16 | [
"MIT"
] | null | null | null | liboslayer/Pool.hpp | bjtj/oslayer | 92cc41288a4bae8e63a680fe714806e89421df16 | [
"MIT"
] | null | null | null | #ifndef __POOL_HPP__
#define __POOL_HPP__
#include <algorithm>
#include <deque>
#include "Mutex.hpp"
namespace osl {
template <typename T>
class Pool {
private:
Mutex _avail_lock;
Mutex _work_lock;
std::deque<T*> _avails;
std::deque<T*> _works;
size_t _size;
public:
Pool(size_t size) : _size(si... | 19.862069 | 100 | 0.565538 | bjtj |
a71ea451de4e885b9a84996a0b6cbcb50850eebc | 23,336 | cc | C++ | src/stim/dem/detector_error_model.test.cc | noajshu/Stim | 503de420b1e56e90d7f44337ead1065a2ae26740 | [
"Apache-2.0"
] | null | null | null | src/stim/dem/detector_error_model.test.cc | noajshu/Stim | 503de420b1e56e90d7f44337ead1065a2ae26740 | [
"Apache-2.0"
] | null | null | null | src/stim/dem/detector_error_model.test.cc | noajshu/Stim | 503de420b1e56e90d7f44337ead1065a2ae26740 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 31.706522 | 117 | 0.625857 | noajshu |
a71fd3fb8c339b2ab32c4b0525c64ca7c8fc088c | 26,785 | cpp | C++ | Launcher/src/mainwindow.cpp | ProtocolONE/cord.app | 0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7 | [
"Apache-2.0"
] | 8 | 2019-01-16T07:09:39.000Z | 2020-11-06T23:13:46.000Z | Launcher/src/mainwindow.cpp | ProtocolONE/cord.app | 0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7 | [
"Apache-2.0"
] | null | null | null | Launcher/src/mainwindow.cpp | ProtocolONE/cord.app | 0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7 | [
"Apache-2.0"
] | 3 | 2019-09-30T02:45:09.000Z | 2019-09-30T23:17:26.000Z | #include <mainwindow.h>
#include <Player.h>
#include <BestInstallPath.h>
#include <HostMessageAdapter.h>
#include <Helper/CacheNetworkManagerFactory.h>
#include <Features/PlainFileCache.h>
#include <Features/Marketing/MarketingIntegrationMarker.h>
#include <viewmodel/UpdateViewModel.h>
#include <viewmodel/Applicat... | 29.927374 | 137 | 0.746985 | ProtocolONE |
a721bf4888f6362919db9cb5450793d3b4785417 | 3,624 | cpp | C++ | groups/bal/ball/doc/keyfeatures_example2.cpp | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | 1 | 2021-11-10T16:53:42.000Z | 2021-11-10T16:53:42.000Z | groups/bal/ball/doc/keyfeatures_example2.cpp | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | 2 | 2020-11-05T15:20:55.000Z | 2021-01-05T19:38:43.000Z | groups/bal/ball/doc/keyfeatures_example2.cpp | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | 2 | 2020-01-16T17:58:12.000Z | 2020-08-11T20:59:30.000Z | // keyfeatures_example2.cpp -*-C++-*-
#include <ball_log.h>
#include <ball_loggermanager.h>
#include <ball_loggermanagerconfiguration.h>
#include <ball_fileobserver.h>
#include <ball_scopedattribute.h>
#include <bslma_allocator.h>
#include <bslma_default.h>
#include <bsl_iost... | 41.181818 | 79 | 0.700607 | eddiepierce |
a7224bf0b37c6f87d5513c1751520f59e4f05702 | 14,355 | hpp | C++ | SDK/ARKSurvivalEvolved_DinoBlueprintBase_VariableMovement_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_DinoBlueprintBase_VariableMovement_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_DinoBlueprintBase_VariableMovement_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoBlueprintBase_VariableMovement_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------... | 67.712264 | 205 | 0.911181 | 2bite |
a729fc2aba67070dc2232a6ecd145f572758e1c6 | 397 | cpp | C++ | gripper/schmalz-ecbpi/main/SimGripper.cpp | opcua-skills/plug-and-produce | 5567cd6177f973e97579fbd9d06ebbf23569ccfb | [
"Unlicense"
] | 5 | 2020-04-15T03:24:48.000Z | 2021-11-03T17:39:59.000Z | gripper/schmalz-ecbpi/main/SimGripper.cpp | opcua-skills/plug-and-produce | 5567cd6177f973e97579fbd9d06ebbf23569ccfb | [
"Unlicense"
] | null | null | null | gripper/schmalz-ecbpi/main/SimGripper.cpp | opcua-skills/plug-and-produce | 5567cd6177f973e97579fbd9d06ebbf23569ccfb | [
"Unlicense"
] | 2 | 2020-07-04T16:01:25.000Z | 2021-07-05T09:33:55.000Z | /*
* This file is subject to the terms and conditions defined in
* file 'LICENSE', which is part of this source code package.
*
* Copyright (c) 2020 fortiss GmbH, Stefan Profanter
* All rights reserved.
*/
#include "SimGripper.h"
bool SimGripper::startVaccum() {
return true;
}
bool SimGripper::stopVa... | 18.045455 | 62 | 0.677582 | opcua-skills |
a731b845abc25134e8b1d4bd03e8d441bf82682f | 341 | cpp | C++ | Problem/Presents.cpp | Shahin-Sheikh/Competitive-Programming | f66d9e1bb9013cc36bdb41faef699494fd73b952 | [
"MIT"
] | 1 | 2021-05-03T07:00:50.000Z | 2021-05-03T07:00:50.000Z | Problem/Presents.cpp | Shahin-Sheikh/Codeforces | 578e1eed1c8a77e55f217ab6036fee1206af1d3a | [
"MIT"
] | null | null | null | Problem/Presents.cpp | Shahin-Sheikh/Codeforces | 578e1eed1c8a77e55f217ab6036fee1206af1d3a | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main(){
int n,x,res=0;
cin>>n;
for(int i=0;i<n;i++){
cin>>x;
}
if(n==1){
res = 1;
cout<<res<<"\n";
}
else if(n==1){
res = 2;
cout<<res<<"\n";
}
else{
res = n/2;
cout<<res<<"\n";
... | 14.826087 | 25 | 0.375367 | Shahin-Sheikh |
a7378f6273e6b76e61b451a678410b037c0ddaac | 209 | cpp | C++ | reverse-bits/reverse-bits.cpp | itzpankajpanwar/Leetcode | bf933bc8a16f4b9d7a0e8b82f01684e60b544bed | [
"MIT"
] | 2 | 2021-08-29T12:51:09.000Z | 2021-10-18T23:24:41.000Z | reverse-bits/reverse-bits.cpp | itzpankajpanwar/Leetcode | bf933bc8a16f4b9d7a0e8b82f01684e60b544bed | [
"MIT"
] | null | null | null | reverse-bits/reverse-bits.cpp | itzpankajpanwar/Leetcode | bf933bc8a16f4b9d7a0e8b82f01684e60b544bed | [
"MIT"
] | null | null | null | class Solution {
public:
uint32_t reverseBits(uint32_t n) {
uint32_t result= 0;
for(int i=0; i<32; i++)
result = (result<<1) + (n>>i &1);
return result;
}
}; | 20.9 | 45 | 0.488038 | itzpankajpanwar |
a7387164ac60c79366c2eee434735c5d2c870a4e | 8,873 | cc | C++ | mgmt/FileManager.cc | hnakamur/trafficserver-deb | 60efe9253292f7a4fb8c37430a12ce9056190711 | [
"Apache-2.0"
] | 2 | 2020-12-05T03:28:25.000Z | 2021-07-10T06:03:57.000Z | mgmt/FileManager.cc | wikimedia/operations-debs-trafficserver | 96248f009fc67b253119665458486e6db23b6a81 | [
"Apache-2.0"
] | null | null | null | mgmt/FileManager.cc | wikimedia/operations-debs-trafficserver | 96248f009fc67b253119665458486e6db23b6a81 | [
"Apache-2.0"
] | null | null | null | /** @file
Code for class to manage configuration updates
@section license License
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 ... | 30.596552 | 115 | 0.724107 | hnakamur |
a739ba0ccf2cd05f459e7d3790a53a71a66f6ee6 | 438 | cpp | C++ | CodeBlocks/Codeforces/Solved/Codeforces266B.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/Codeforces/Solved/Codeforces266B.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/Codeforces/Solved/Codeforces266B.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main( void )
{
int n = 0, t = 0;
cin >> n >> t;
char pos[n];
cin >> pos;
while( t-- )
{
for(int i = 1; i < n; i++)
{
if( pos[i] == 'G' && pos[i - 1] == 'B')
{
pos[i] = 'B';
... | 13.272727 | 51 | 0.296804 | ash1247 |
a73a580e93f2029733d71888c7713e41a4ef71e6 | 332 | hpp | C++ | core/interface/i_node.hpp | auyunli/enhance | ca99530c80b42842e713ed4b62e40d12e56ee24a | [
"BSD-2-Clause"
] | null | null | null | core/interface/i_node.hpp | auyunli/enhance | ca99530c80b42842e713ed4b62e40d12e56ee24a | [
"BSD-2-Clause"
] | null | null | null | core/interface/i_node.hpp | auyunli/enhance | ca99530c80b42842e713ed4b62e40d12e56ee24a | [
"BSD-2-Clause"
] | null | null | null | #ifndef E2_I_NODE_INOUT_HPP
#define E2_I_NODE_INOUT_HPP
#include <thread>
#include <functional>
#include <type_traits>
#include <list>
namespace e2 { namespace interface {
template< class Impl >
class i_node_inout : public Impl {
public:
std::list< i_node_inout * > _in;
std::list< i_node_inout * > _out;
};
... | 15.809524 | 37 | 0.716867 | auyunli |
a73b3100617bf9d71525ee7c9cf6e598ae4887a7 | 29,880 | hpp | C++ | src/nonlinear_solvers.hpp | Pressio/pressio4py | 36676dbd112a7c7960ccbf302ff14d4376c819ec | [
"Unlicense",
"BSD-3-Clause"
] | 4 | 2020-07-06T20:01:39.000Z | 2022-03-05T09:23:40.000Z | src/nonlinear_solvers.hpp | Pressio/pressio4py | 36676dbd112a7c7960ccbf302ff14d4376c819ec | [
"Unlicense",
"BSD-3-Clause"
] | 19 | 2020-02-27T20:52:53.000Z | 2022-01-13T16:24:49.000Z | src/nonlinear_solvers.hpp | Pressio/pressio4py | 36676dbd112a7c7960ccbf302ff14d4376c819ec | [
"Unlicense",
"BSD-3-Clause"
] | 1 | 2022-03-03T16:05:09.000Z | 2022-03-03T16:05:09.000Z | /*
//@HEADER
// ************************************************************************
//
// nonlinear_solvers.hpp
// Pressio
// Copyright 2019
// National Technology & Engineering Solutions of Sandia, LLC (NTESS)
//
// Under the terms of Contract DE-NA0003525 with N... | 38.90625 | 106 | 0.692537 | Pressio |
a73de8b258197059f53de6a0513f4fc464af1299 | 1,113 | cpp | C++ | module/PocoLib/Register.cpp | theKAKAN/SqMod | 0c4c78da6e5f2741b0f65215fe08b84232a02fec | [
"MIT"
] | 10 | 2018-06-12T17:56:02.000Z | 2020-04-06T12:02:16.000Z | module/PocoLib/Register.cpp | theKAKAN/SqMod | 0c4c78da6e5f2741b0f65215fe08b84232a02fec | [
"MIT"
] | 45 | 2016-06-19T09:31:22.000Z | 2020-04-16T08:54:13.000Z | module/PocoLib/Register.cpp | theKAKAN/SqMod | 0c4c78da6e5f2741b0f65215fe08b84232a02fec | [
"MIT"
] | 16 | 2016-07-07T06:48:35.000Z | 2020-05-24T09:43:52.000Z | // ------------------------------------------------------------------------------------------------
#include "PocoLib/Register.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
// -----------------------------------------------------------------... | 35.903226 | 99 | 0.483378 | theKAKAN |
a73e036704fd31a260695150b85b95c61fac9377 | 5,777 | cc | C++ | src/plat-linux/drivers/sg_driver.cc | jc-lab/jcu-dparm | 140efc844e339ca22d79a9958bdcbc7195701835 | [
"Apache-2.0"
] | null | null | null | src/plat-linux/drivers/sg_driver.cc | jc-lab/jcu-dparm | 140efc844e339ca22d79a9958bdcbc7195701835 | [
"Apache-2.0"
] | null | null | null | src/plat-linux/drivers/sg_driver.cc | jc-lab/jcu-dparm | 140efc844e339ca22d79a9958bdcbc7195701835 | [
"Apache-2.0"
] | null | null | null | /**
* @file sg_driver.cc
* @author Joseph Lee <development@jc-lab.net>
* @date 2020/07/23
* @copyright Copyright (C) 2020 jc-lab.\n
* This software may be modified and distributed under the terms
* of the Apache License 2.0. See the LICENSE file for details.
*/
#include <unistd.h>
#includ... | 26.259091 | 123 | 0.629566 | jc-lab |
a73ff525c3b31bc92a198ea0fd5a3a220f38a258 | 1,496 | cpp | C++ | 201722/dec201722_1.cpp | jibsen/aocpp2017 | 8c53665ffc99a58b905758b6baf4f960d65d058c | [
"MIT"
] | null | null | null | 201722/dec201722_1.cpp | jibsen/aocpp2017 | 8c53665ffc99a58b905758b6baf4f960d65d058c | [
"MIT"
] | null | null | null | 201722/dec201722_1.cpp | jibsen/aocpp2017 | 8c53665ffc99a58b905758b6baf4f960d65d058c | [
"MIT"
] | null | null | null | //
// Advent of Code 2017, day 22, part one
//
#include <algorithm>
#include <iostream>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
struct PairHash {
template<typename T1, typename T2>
std::size_t operator()(const std::pair<T1, T2> &p) const noexcept
{
std::size_t h1 = std::ha... | 17.809524 | 74 | 0.596925 | jibsen |
a7404fe1594510cd4ef0fe820aba984d3e85cbd9 | 3,934 | cpp | C++ | src/qt/qtbase/examples/widgets/itemviews/spreadsheet/spreadsheetdelegate.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | src/qt/qtbase/examples/widgets/itemviews/spreadsheet/spreadsheetdelegate.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/examples/widgets/itemviews/spreadsheet/spreadsheetdelegate.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding... | 36.766355 | 99 | 0.655313 | power-electro |
a744186fff242abf21dc98757d412311e8a45580 | 1,415 | cc | C++ | third_party/blink/renderer/platform/testing/noop_web_url_loader.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 | third_party/blink/renderer/platform/testing/noop_web_url_loader.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 | third_party/blink/renderer/platform/testing/noop_web_url_loader.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 2021 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 "third_party/blink/renderer/platform/testing/noop_web_url_loader.h"
#include "services/network/public/cpp/resource_request.h"
#include "third_pa... | 35.375 | 82 | 0.787279 | zealoussnow |
a745df55c25a7cba822d143b33c40e82b16ab61c | 3,095 | cpp | C++ | src/gs/gsVertex.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | 2 | 2016-12-06T17:51:30.000Z | 2018-06-21T08:52:58.000Z | src/gs/gsVertex.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | null | null | null | src/gs/gsVertex.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | null | null | null | #include "gsVertex.hpp"
#include "gsEdge.hpp"
#include "gsTile.hpp"
#include <algorithm>
#include <iostream>
#include <limits>
using std::cerr;
using std::endl;
int gs::Vertex::idCounter = 0;
void gs::Vertex::AddLink(const gs::Link<gs::Vertex>& link)
{
links.push_back(link);
}
void gs::Vertex... | 21.054422 | 121 | 0.527625 | frmr |
a74600e2f90d3fd754c2f5d30e5d24cb71c686f6 | 1,349 | cpp | C++ | leetcode/131.palindrome-partitioning.cpp | geemaple/algorithm | 68bc5032e1ee52c22ef2f2e608053484c487af54 | [
"MIT"
] | 177 | 2017-08-21T08:57:43.000Z | 2020-06-22T03:44:22.000Z | leetcode/131.palindrome-partitioning.cpp | geemaple/algorithm | 68bc5032e1ee52c22ef2f2e608053484c487af54 | [
"MIT"
] | 2 | 2018-09-06T13:39:12.000Z | 2019-06-03T02:54:45.000Z | leetcode/131.palindrome-partitioning.cpp | geemaple/algorithm | 68bc5032e1ee52c22ef2f2e608053484c487af54 | [
"MIT"
] | 23 | 2017-08-23T06:01:28.000Z | 2020-04-20T03:17:36.000Z | class Solution {
private:
vector<vector<bool>> isPalindrome;
void helper(string& s, int start, vector<string>& ans, vector<vector<string>>& res)
{
if (start == s.size())
{
res.push_back(ans);
return;
}
for (auto i = start; i < s.size(); +... | 24.527273 | 87 | 0.364715 | geemaple |
a746069e133aeaef9f162224b4b9d83ebcd4cffe | 319 | cpp | C++ | src/Test.PlcNext/Deployment/InitializedStructPortField/src/InitializedStructPortFieldProgram.cpp | PLCnext/PLCnext_CLI | cf8ad590f05196747b403da891bdd5da86f82469 | [
"Apache-2.0"
] | 7 | 2020-10-08T12:37:49.000Z | 2021-03-29T07:49:52.000Z | src/Test.PlcNext/Deployment/InitializedStructPortField/src/InitializedStructPortFieldProgram.cpp | PLCnext/PLCnext_CLI | cf8ad590f05196747b403da891bdd5da86f82469 | [
"Apache-2.0"
] | 10 | 2020-10-09T14:04:01.000Z | 2022-03-09T09:38:58.000Z | src/Test.PlcNext/Deployment/InitializedStructPortField/src/InitializedStructPortFieldProgram.cpp | PLCnext/PLCnext_CLI | cf8ad590f05196747b403da891bdd5da86f82469 | [
"Apache-2.0"
] | 2 | 2020-09-04T06:45:39.000Z | 2020-10-30T10:07:33.000Z | #include "InitializedStructPortFieldProgram.hpp"
#include "Arp/System/Commons/Logging.h"
#include "Arp/System/Core/ByteConverter.hpp"
namespace InitializedStructPortField
{
void InitializedStructPortFieldProgram::Execute()
{
//implement program
}
} // end of namespace InitializedStructPortField
| 22.785714 | 50 | 0.768025 | PLCnext |
a7460b0917459ed8bacb876f17aa6ffb1f846cfd | 430 | cpp | C++ | gator-game-jam-2021/UidGenerator.cpp | lukas-vaiciunas/haterminator | 7f42e5a4ed4c5dee21368859989b74ba6c80898b | [
"MIT"
] | null | null | null | gator-game-jam-2021/UidGenerator.cpp | lukas-vaiciunas/haterminator | 7f42e5a4ed4c5dee21368859989b74ba6c80898b | [
"MIT"
] | null | null | null | gator-game-jam-2021/UidGenerator.cpp | lukas-vaiciunas/haterminator | 7f42e5a4ed4c5dee21368859989b74ba6c80898b | [
"MIT"
] | null | null | null | #include "UidGenerator.h"
UidGenerator::UidGenerator() :
next_(1)
{}
UidGenerator &UidGenerator::instance()
{
static UidGenerator uidGenerator;
return uidGenerator;
}
unsigned int UidGenerator::generate()
{
unsigned int uid = 0;
if (!released_.empty())
{
uid = released_.front();
released_.pop();
}
else
... | 13.030303 | 44 | 0.686047 | lukas-vaiciunas |
a7469abfc20ec604a21dbfac6f6e605e79ef2312 | 1,370 | cpp | C++ | bin/old/main.cpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | bin/old/main.cpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | 1 | 2019-01-31T10:59:11.000Z | 2019-01-31T10:59:11.000Z | bin/old/main.cpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | #include "simfem/timestepping.hpp"
// typedef double (*nlfct)(double u, double v);
//Hopf
// double global_Du = 0.0;
// double global_Dv = 0.0;
// double global_a = 1.0;
// double global_b = 2.1;
// double global_T = 50.0;
// double global_eps = 0.01;
//spatial pattern
// double global_Du = 0.001;
// double global_... | 24.909091 | 79 | 0.643796 | beckerrh |
a7495d8bed1dfb48e06a6b7beeda4d7a0a46d6ed | 2,764 | hpp | C++ | tcpp/minion2/minion/system/minlib/immutable_string.hpp | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | 1 | 2021-09-09T13:03:02.000Z | 2021-09-09T13:03:02.000Z | tcpp/minion2/minion/system/minlib/immutable_string.hpp | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | null | null | null | tcpp/minion2/minion/system/minlib/immutable_string.hpp | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | null | null | null | #ifndef IMMUTABLE_STRING_HPP
#define IMMUTABLE_STRING_HPP
#include "basic_sys.hpp"
#include "hash.hpp"
class ImmutableStringCache {
public:
static ImmutableStringCache& getInstance() {
static ImmutableStringCache instance;
return instance;
}
private:
ImmutableStringCache(){};
ImmutableStringCache(Im... | 23.827586 | 85 | 0.672576 | Behrouz-Babaki |
a74e24e98940f4aa2888e6b5994f1ef1ba01c2ee | 2,296 | cpp | C++ | LIP_Core/src/BandSplitter.cpp | KyrietS/lossy-image-processor | d73552ee3ccb64ae97c55b586e4ce766155bb80c | [
"MIT"
] | null | null | null | LIP_Core/src/BandSplitter.cpp | KyrietS/lossy-image-processor | d73552ee3ccb64ae97c55b586e4ce766155bb80c | [
"MIT"
] | null | null | null | LIP_Core/src/BandSplitter.cpp | KyrietS/lossy-image-processor | d73552ee3ccb64ae97c55b586e4ce766155bb80c | [
"MIT"
] | null | null | null | #include "BandSplitter.hpp"
#include <cassert>
using byte_t = uint8_t;
BandSplitter::BandSplitter(const std::vector<byte_t>& data)
{
split(data);
}
BandSplitter::BandSplitter(const std::vector<float>& upper, const std::vector<float>& lower)
{
upper_band = upper;
lower_band = lower;
}
void BandSplitter:... | 24.956522 | 92 | 0.56838 | KyrietS |
a74f7bdcd583cfbdd0e0dd2633eaf4ca5b951194 | 1,470 | cpp | C++ | ace/ace/FIFO_Send.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | ace/ace/FIFO_Send.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | ace/ace/FIFO_Send.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | // FIFO_Send.cpp
// FIFO_Send.cpp,v 4.10 2000/10/07 08:03:47 brunsch Exp
#include "ace/FIFO_Send.h"
#include "ace/Log_Msg.h"
#if defined (ACE_LACKS_INLINE_FUNCTIONS)
#include "ace/FIFO_Send.i"
#endif
ACE_RCSID(ace, FIFO_Send, "FIFO_Send.cpp,v 4.10 2000/10/07 08:03:47 brunsch Exp")
ACE_ALLOC_HOOK_DEFINE(... | 27.222222 | 82 | 0.531973 | tharindusathis |
a750311cd53ec8d89e180190f3c9d3856f6e176c | 467 | cpp | C++ | serial_comm/MessageReceiver.cpp | ZaoLahma/ArduinoStuff | 9f02ce2fed1163b66c35fb01448212824f64caf8 | [
"MIT"
] | null | null | null | serial_comm/MessageReceiver.cpp | ZaoLahma/ArduinoStuff | 9f02ce2fed1163b66c35fb01448212824f64caf8 | [
"MIT"
] | null | null | null | serial_comm/MessageReceiver.cpp | ZaoLahma/ArduinoStuff | 9f02ce2fed1163b66c35fb01448212824f64caf8 | [
"MIT"
] | null | null | null | #include "MessageReceiver.h"
#include "Arduino.h"
MessageReceiver::MessageReceiver() : currMessage(0u)
{
}
MessageBase* MessageReceiver::getNextMessage()
{
MessageBase* retVal = NULL;
if (messages.size() > currMessage)
{
retVal = messages.element_at(currMessage);
currMessage++;
}
else
{
me... | 15.064516 | 52 | 0.685225 | ZaoLahma |
a750c3ac105055db5803df4e2006290e4e2acc10 | 12,274 | cpp | C++ | cpp/src/arrow.cpp | mvilim/bamboo | 6636478346a2f1e9910e18d9bdde97aee4a7a176 | [
"Apache-2.0"
] | 1 | 2021-11-07T13:09:13.000Z | 2021-11-07T13:09:13.000Z | cpp/src/arrow.cpp | mvilim/bamboo | 6636478346a2f1e9910e18d9bdde97aee4a7a176 | [
"Apache-2.0"
] | null | null | null | cpp/src/arrow.cpp | mvilim/bamboo | 6636478346a2f1e9910e18d9bdde97aee4a7a176 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 Michael Vilim
//
// This file is part of the bamboo library. It is currently hosted at
// https://github.com/mvilim/bamboo
//
// 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 Lic... | 37.193939 | 96 | 0.647303 | mvilim |
a751cd7697460236499118eeb5ebfa8111fe6a83 | 547 | hpp | C++ | src/Server/Modelo/Juego/Terrenos/CabezaEnemigo.hpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | 4 | 2021-02-21T17:12:46.000Z | 2021-02-25T20:36:27.000Z | src/Server/Modelo/Juego/Terrenos/CabezaEnemigo.hpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | null | null | null | src/Server/Modelo/Juego/Terrenos/CabezaEnemigo.hpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | 2 | 2021-02-20T19:49:33.000Z | 2021-02-25T20:35:22.000Z |
#ifndef TP_TALLER_DE_PROGRAMACION_FIUBA_CABEZAENEMIGO_HPP
#define TP_TALLER_DE_PROGRAMACION_FIUBA_CABEZAENEMIGO_HPP
#include "Terreno.hpp"
class CabezaEnemigo : public Terreno{
public:
CabezaEnemigo();
float aplicarCoeficienteDeRozamiento(float velocidadX) override;
float obtenerImpulsoH... | 27.35 | 72 | 0.795247 | brunograssano |
a753ef7ad0553099fd0f0d7b72d98d7cdfa237e0 | 2,061 | cpp | C++ | src/plugins/advancednotifications/plugins/dolle/notificationhandler.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 120 | 2015-01-22T14:10:39.000Z | 2021-11-25T12:57:16.000Z | src/plugins/advancednotifications/plugins/dolle/notificationhandler.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 8 | 2015-02-07T19:38:19.000Z | 2017-11-30T20:18:28.000Z | src/plugins/advancednotifications/plugins/dolle/notificationhandler.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 33 | 2015-02-07T16:59:55.000Z | 2021-10-12T00:36:40.000Z | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | 30.308824 | 96 | 0.654537 | Maledictus |
a754e102d7849bcfabd82fbfc54daef55101b8d9 | 12,948 | cxx | C++ | Servers/Filters/vtkDesktopDeliveryClient.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 1 | 2021-07-31T19:38:03.000Z | 2021-07-31T19:38:03.000Z | Servers/Filters/vtkDesktopDeliveryClient.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | null | null | null | Servers/Filters/vtkDesktopDeliveryClient.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 2 | 2019-01-22T19:51:40.000Z | 2021-07-31T19:38:05.000Z | /*=========================================================================
Program: ParaView
Module: $RCSfile$
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 ANY WARRANTY; without... | 32.61461 | 93 | 0.588585 | matthb2 |
a758a5063ba258d5644c1b20bec41a65bb72f9cb | 7,581 | cpp | C++ | assignment4/stdlibQueueImplementation/main.cpp | matticoli/CS2303 | 5399fa2c8bdfcd0620793356dba108ba92f36da3 | [
"Apache-2.0"
] | null | null | null | assignment4/stdlibQueueImplementation/main.cpp | matticoli/CS2303 | 5399fa2c8bdfcd0620793356dba108ba92f36da3 | [
"Apache-2.0"
] | null | null | null | assignment4/stdlibQueueImplementation/main.cpp | matticoli/CS2303 | 5399fa2c8bdfcd0620793356dba108ba92f36da3 | [
"Apache-2.0"
] | null | null | null | //
// Created by Mikel Matticoli on 2/14/18.
//
#include <iostream>
#include <math.h>
#include "Event.h"
#include "CustomerEvent.h"
#include "SortedEventQueue.h"
#include "TellerEvent.h"
// Function prototypes for non-class functions
int randTime(double min, double max);
int runSim(int customerCount, int tellerCount,... | 42.351955 | 116 | 0.599129 | matticoli |
a7594f21165947c01912098481f1427ba1c17c09 | 3,620 | cpp | C++ | src/main.cpp | parzibyte/escribir-leer-rfid | 953a05de25c90741fe585b5f70b61a28e7f78b9f | [
"MIT"
] | null | null | null | src/main.cpp | parzibyte/escribir-leer-rfid | 953a05de25c90741fe585b5f70b61a28e7f78b9f | [
"MIT"
] | null | null | null | src/main.cpp | parzibyte/escribir-leer-rfid | 953a05de25c90741fe585b5f70b61a28e7f78b9f | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include <SPI.h>
#include <MFRC522.h>
#define LONGITUD_BYTES 18
#define LONGITUD_BYTES_ESCRITURA 16
/*
Pines para conectar el lector
*/
#define RST_PIN D3
#define SS_PIN D4
// Constantes para el ejemplo
#define MODO_LECTURA 1
#define MODO_ESCRITURA 2
#define MODO MODO_ESCRITURA
MFRC522 lector(SS_PI... | 24.133333 | 133 | 0.68232 | parzibyte |
a75b573423c78c83e3e12ac848623622f1f028ec | 112 | cxx | C++ | CMake/vtkTestCompilerIsVC6.cxx | Lin1225/vtk_v5.10.0 | b54ac74f4716572862365fbff28cd0ecb8d08c3d | [
"BSD-3-Clause"
] | 2 | 2015-07-11T13:30:23.000Z | 2017-12-19T05:23:38.000Z | CMake/vtkTestCompilerIsVC6.cxx | Armand0s/homemade_vtk | 6bc7b595a4a7f86e8fa969d067360450fa4e0a6a | [
"BSD-3-Clause"
] | null | null | null | CMake/vtkTestCompilerIsVC6.cxx | Armand0s/homemade_vtk | 6bc7b595a4a7f86e8fa969d067360450fa4e0a6a | [
"BSD-3-Clause"
] | 5 | 2015-03-23T21:13:19.000Z | 2022-01-03T11:15:39.000Z | /* Compile if this is MSVC 6. */
#if defined(_MSC_VER) && (_MSC_VER == 1200)
int main()
{
return 0;
}
#endif
| 14 | 43 | 0.607143 | Lin1225 |
a7621b00088d2de9f2ecc9f4af940f5537291cb5 | 501 | cpp | C++ | src/base/pch_std.cpp | dufferprog/verbexx | bfc3c30ad2ca6c246c8f88405b386475278f9ecc | [
"MIT"
] | null | null | null | src/base/pch_std.cpp | dufferprog/verbexx | bfc3c30ad2ca6c246c8f88405b386475278f9ecc | [
"MIT"
] | 1 | 2018-09-14T00:07:27.000Z | 2018-09-14T00:07:27.000Z | src/base/pch_std.cpp | dufferprog/verbexx | bfc3c30ad2ca6c246c8f88405b386475278f9ecc | [
"MIT"
] | 1 | 2018-09-13T23:43:12.000Z | 2018-09-13T23:43:12.000Z | // pch_std.cpp
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
//
// pch_std.cpp -- pre-compiled headers -- non-clr compiles
// =========== ----------------------------------------
//
//
///////////////////////... | 33.4 | 135 | 0.191617 | dufferprog |
a7639aa9219011d216e1f621411328d10d3cf144 | 5,922 | cpp | C++ | samples/Events/Events.cpp | amaiorano/Vulkan-Hpp | 3c481ba37409a71d92b6f1e93386b5031921453b | [
"Apache-2.0"
] | 2 | 2018-03-26T10:49:16.000Z | 2019-07-25T12:08:32.000Z | samples/Events/Events.cpp | amaiorano/Vulkan-Hpp | 3c481ba37409a71d92b6f1e93386b5031921453b | [
"Apache-2.0"
] | null | null | null | samples/Events/Events.cpp | amaiorano/Vulkan-Hpp | 3c481ba37409a71d92b6f1e93386b5031921453b | [
"Apache-2.0"
] | 1 | 2020-01-30T07:25:25.000Z | 2020-01-30T07:25:25.000Z | // Copyright(c) 2019, NVIDIA CORPORATION. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 35.461078 | 120 | 0.670719 | amaiorano |
a765c886e7a183f57b827d06a8cc1c5343658dfa | 1,367 | cc | C++ | src/schema/test/display_name_test.cc | biswajit-mandal/contrail-controller | 80c4a7e8515f7296b18ba4c21a439bd3daefcc4a | [
"Apache-2.0"
] | 5 | 2015-01-08T17:34:41.000Z | 2017-09-28T16:00:25.000Z | src/schema/test/display_name_test.cc | biswajit-mandal/contrail-controller | 80c4a7e8515f7296b18ba4c21a439bd3daefcc4a | [
"Apache-2.0"
] | 2 | 2018-12-04T02:20:52.000Z | 2018-12-22T06:16:30.000Z | src/schema/test/display_name_test.cc | biswajit-mandal/contrail-controller | 80c4a7e8515f7296b18ba4c21a439bd3daefcc4a | [
"Apache-2.0"
] | 18 | 2017-01-12T09:28:44.000Z | 2019-04-18T20:47:42.000Z | /*
* Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
*/
#include "schema/vnc_cfg_types.h"
#include <pugixml/pugixml.hpp>
#include "base/logging.h"
#include "ifmap/ifmap_server_parser.h"
#include "ifmap/ifmap_server_table.h"
#include "testing/gunit.h"
using namespace std;
class DisplayNameTest : pub... | 26.288462 | 82 | 0.697879 | biswajit-mandal |
a7671f70f4843dc4e7cc6c6e9f7638ecc9ec8d1a | 800 | cpp | C++ | MozJpegGUI/MozJpegGUI/GetLastErrorToString.cpp | nibasya/MozJpegGUI | 26e37f4c0c028800142ebeaa3470f3cc2a228475 | [
"IJG",
"Unlicense"
] | 3 | 2021-06-05T11:43:44.000Z | 2022-03-19T04:03:58.000Z | MozJpegGUI/MozJpegGUI/GetLastErrorToString.cpp | nibasya/MozJpegGUI | 26e37f4c0c028800142ebeaa3470f3cc2a228475 | [
"IJG",
"Unlicense"
] | null | null | null | MozJpegGUI/MozJpegGUI/GetLastErrorToString.cpp | nibasya/MozJpegGUI | 26e37f4c0c028800142ebeaa3470f3cc2a228475 | [
"IJG",
"Unlicense"
] | 2 | 2020-07-20T06:04:45.000Z | 2022-03-19T04:03:57.000Z | #include "pch.h" // enable for visual studio version >= 2019
// #include "stdafx.h" // enable for visual studio version < 2019
#include "GetLastErrorToString.h"
GetLastErrorToString::operator CString()
{
CreateMsg();
return m_msg;
}
GetLastErrorToString::operator LPCTSTR()
{
CreateMsg();
return (LPCTSTR)m_msg;
... | 26.666667 | 188 | 0.73 | nibasya |
a767296d3fbc38c294fc63e71db83bfc2f2ab623 | 361 | cpp | C++ | sha3test/main.cpp | ericosur/myqt | e96f77f99442c44e51a1dbe1ee93edfa09b3db0f | [
"MIT"
] | null | null | null | sha3test/main.cpp | ericosur/myqt | e96f77f99442c44e51a1dbe1ee93edfa09b3db0f | [
"MIT"
] | null | null | null | sha3test/main.cpp | ericosur/myqt | e96f77f99442c44e51a1dbe1ee93edfa09b3db0f | [
"MIT"
] | null | null | null | #include <QCoreApplication>
#include <QString>
#include <QDateTime>
#include <QDebug>
#include "core.h"
#include "commonutil.h"
int main(int argc, char** argv)
{
// Q_UNUSED(argc);
// Q_UNUSED(argv);
//
qInstallMessageHandler(myMessageOutput);
QCoreApplication app(argc, argv);
Core::getInstan... | 17.190476 | 44 | 0.66205 | ericosur |
a767557abd1d96e09f4ad2f9a0fdfe9ada561e30 | 545 | cpp | C++ | multiview/multiview_cpp/src/testcases/optimization/kz-filter_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/testcases/optimization/kz-filter_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/testcases/optimization/kz-filter_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#define CATCH_CONFIG_PREFIX_ALL
#include <algorithm>
#include <iostream>
#include <numeric>
#include <vector>
#include "perceive/contrib/catch.hpp"
#include "perceive/optimization/kz-filter.hpp"
namespace perceive
{
// ------------------------------------------------------------------- TEST_CASE
//
CATCH_TEST_CAS... | 17.580645 | 80 | 0.559633 | prcvlabs |
a767b58cea305262300f3e21ce74318c33292bc1 | 446 | cpp | C++ | src/qak_plugin.cpp | Larpon/Qak | a91cafddaa77dcdaeaff1bb1e8b8e4436acee67a | [
"MIT"
] | 23 | 2017-01-06T15:31:13.000Z | 2021-11-21T13:58:19.000Z | src/qak_plugin.cpp | Larpon/Qak | a91cafddaa77dcdaeaff1bb1e8b8e4436acee67a | [
"MIT"
] | 3 | 2021-09-08T09:37:48.000Z | 2022-01-19T13:53:20.000Z | src/qak_plugin.cpp | Larpon/Qak | a91cafddaa77dcdaeaff1bb1e8b8e4436acee67a | [
"MIT"
] | 3 | 2018-01-16T23:57:51.000Z | 2019-11-02T07:44:09.000Z | #include "qak_plugin.h"
#include "maskedmousearea.h"
#include "propertytoggle.h"
#include "resource.h"
#include "store.h"
#include <qqml.h>
void QakPlugin::registerTypes(const char *uri)
{
// @uri Qak
qmlRegisterType<MaskedMouseArea>(uri, 1, 0, "MaskedMouseArea");
qmlRegisterType<Resource>(uri, 1, 0, "Res... | 24.777778 | 67 | 0.699552 | Larpon |
a768bf9793927b924e767bd3c410daa48bd5adb3 | 10,237 | cpp | C++ | test/entt/signal/sigh.cpp | Husenap/entt | 5ffa14a7af519cdad646a359572af080cd7582db | [
"MIT"
] | 1 | 2021-04-23T17:31:59.000Z | 2021-04-23T17:31:59.000Z | test/entt/signal/sigh.cpp | Husenap/entt | 5ffa14a7af519cdad646a359572af080cd7582db | [
"MIT"
] | null | null | null | test/entt/signal/sigh.cpp | Husenap/entt | 5ffa14a7af519cdad646a359572af080cd7582db | [
"MIT"
] | 4 | 2021-09-06T20:44:47.000Z | 2021-10-04T22:05:12.000Z | #include <utility>
#include <vector>
#include <gtest/gtest.h>
#include <entt/signal/sigh.hpp>
struct sigh_listener {
static void f(int &v) { v = 42; }
bool g(int) { k = !k; return true; }
bool h(const int &) { return k; }
void i() {}
// useless definition just because msvc does weird things if bo... | 23.004494 | 89 | 0.631533 | Husenap |
a76921d32cde3d80c4a94502831a99a2d2ba5c9b | 9,980 | cpp | C++ | src/xalanc/XercesParserLiaison/Deprecated/FormatterToDeprecatedXercesDOM.cpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 24 | 2015-07-29T22:49:17.000Z | 2022-03-25T10:14:17.000Z | src/xalanc/XercesParserLiaison/Deprecated/FormatterToDeprecatedXercesDOM.cpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 14 | 2019-05-10T16:25:50.000Z | 2021-11-24T18:04:47.000Z | src/xalanc/XercesParserLiaison/Deprecated/FormatterToDeprecatedXercesDOM.cpp | 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... | 20.835073 | 104 | 0.647295 | ulisesten |
a76b080776c0582331328d0da8f40a9423bd8258 | 11,142 | cpp | C++ | src/test/cpp/pistis/util/ImmutableListTests.cpp | tomault/pistis-util | 0008e8193e210e582201ae906f6933bf82288355 | [
"Apache-2.0"
] | null | null | null | src/test/cpp/pistis/util/ImmutableListTests.cpp | tomault/pistis-util | 0008e8193e210e582201ae906f6933bf82288355 | [
"Apache-2.0"
] | null | null | null | src/test/cpp/pistis/util/ImmutableListTests.cpp | tomault/pistis-util | 0008e8193e210e582201ae906f6933bf82288355 | [
"Apache-2.0"
] | null | null | null | /** @file ImmutableListTests.cpp
*
* Unit tests for pistis::util::ImmutableList
*/
#include <pistis/util/ImmutableList.hpp>
#include <pistis/exceptions/OutOfRangeError.hpp>
#include <pistis/testing/Allocator.hpp>
#include <gtest/gtest.h>
#include <sstream>
#include <stdint.h>
using namespace pistis::exceptions;
u... | 32.770588 | 76 | 0.662179 | tomault |
a76fb6bb8c0cbb05e44c24489d39382f2cd13ca2 | 9,138 | cpp | C++ | xx_tool_sprite/main.cpp | aconstlink/natus_examples | 2716ce7481172bcd14035b18d09b44b74ec78a7e | [
"MIT"
] | null | null | null | xx_tool_sprite/main.cpp | aconstlink/natus_examples | 2716ce7481172bcd14035b18d09b44b74ec78a7e | [
"MIT"
] | null | null | null | xx_tool_sprite/main.cpp | aconstlink/natus_examples | 2716ce7481172bcd14035b18d09b44b74ec78a7e | [
"MIT"
] | null | null | null |
#include "main.h"
#include <natus/application/global.h>
#include <natus/application/app.h>
#include <natus/tool/imgui/sprite_editor.h>
#include <natus/device/global.h>
#include <natus/gfx/camera/pinhole_camera.h>
#include <natus/graphics/shader/nsl_bridge.hpp>
#include <natus/graphics/variable/variable_set.hpp>
#i... | 36.552 | 121 | 0.552637 | aconstlink |
a770b77f699c26e5194a4be7cadaf389a2a99c75 | 7,019 | cc | C++ | Simulation/OMNeT++/inet/src/inet/transportlayer/tcp_common/TCPSegment.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | 1 | 2017-03-13T15:51:22.000Z | 2017-03-13T15:51:22.000Z | Simulation/OMNeT++/inet/src/inet/transportlayer/tcp_common/TCPSegment.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | null | null | null | Simulation/OMNeT++/inet/src/inet/transportlayer/tcp_common/TCPSegment.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | null | null | null | //
// Copyright (C) 2004 Andras Varga
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program i... | 25.805147 | 109 | 0.682576 | StarStuffSteve |
a77174a760f57f32c171183044d4196695837821 | 505 | cpp | C++ | tests/csimsbw/csimsbw.cpp | OpenCMISS-Dependencies/csim | 74ec3c767afcb4a6dc900aeb4d8c5bc1812ea0f1 | [
"Apache-2.0"
] | null | null | null | tests/csimsbw/csimsbw.cpp | OpenCMISS-Dependencies/csim | 74ec3c767afcb4a6dc900aeb4d8c5bc1812ea0f1 | [
"Apache-2.0"
] | 2 | 2016-01-07T00:03:00.000Z | 2016-01-25T21:08:00.000Z | tests/csimsbw/csimsbw.cpp | OpenCMISS-Dependencies/csim | 74ec3c767afcb4a6dc900aeb4d8c5bc1812ea0f1 | [
"Apache-2.0"
] | 2 | 2015-11-29T06:02:19.000Z | 2021-03-29T06:00:22.000Z | #include "gtest/gtest.h"
#include <string>
#include "csimsbw.h"
#include "csim/error_codes.h"
// generated with test resource locations
#include "test_resources.h"
TEST(SBW, model_string) {
char* modelString;
int length;
int code = csim_serialiseCellmlFromUrl(
TestResources::getLocation(... | 22.954545 | 71 | 0.659406 | OpenCMISS-Dependencies |
a777ace1664fd926477699b879b9b96a9a4f2e1d | 1,822 | cpp | C++ | src/Algorand/Signer.cpp | Khaos-Labs/khaos-wallet-core | 2c06d49fddf978e0815b208dddef50ee2011c551 | [
"MIT"
] | 2 | 2020-11-16T08:06:30.000Z | 2021-06-18T03:21:44.000Z | src/Algorand/Signer.cpp | Khaos-Labs/khaos-wallet-core | 2c06d49fddf978e0815b208dddef50ee2011c551 | [
"MIT"
] | null | null | null | src/Algorand/Signer.cpp | Khaos-Labs/khaos-wallet-core | 2c06d49fddf978e0815b208dddef50ee2011c551 | [
"MIT"
] | null | null | null | // Copyright © 2017-2020 Khaos Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "Signer.h"
#include "Address.h"
#include "../Publi... | 38.765957 | 104 | 0.694841 | Khaos-Labs |
a77823a4d029474d69084e3fa30e4490328e92a6 | 748 | cpp | C++ | Medium/C++/229. Majority Element II.cpp | Hussein-A/Leetcode | 20e46b9adb3a4929d0b2eee1ff120fb2348be96d | [
"MIT"
] | null | null | null | Medium/C++/229. Majority Element II.cpp | Hussein-A/Leetcode | 20e46b9adb3a4929d0b2eee1ff120fb2348be96d | [
"MIT"
] | null | null | null | Medium/C++/229. Majority Element II.cpp | Hussein-A/Leetcode | 20e46b9adb3a4929d0b2eee1ff120fb2348be96d | [
"MIT"
] | null | null | null | /*
Given an integer array of size n, find all elements that appear more than ? n/3 ? times.
Note: The algorithm should run in linear time and in O(1) space.
Runtime: 16 ms, faster than 87.33% of C++ online submissions for Majority Element II.
Memory Usage: 10.7 MB, less than 50.89% of C++ online submissions for Majori... | 27.703704 | 90 | 0.673797 | Hussein-A |
a778c2ff335d175f25a2d199f1367bda500ad831 | 2,934 | cc | C++ | parma/diffMC/parma_dcpartFixer.cc | Thomas-Ulrich/core | 1c7bc7ff994c3570ab22b96d37be0c4c993e5940 | [
"BSD-3-Clause"
] | 138 | 2015-01-05T15:50:20.000Z | 2022-02-25T01:09:58.000Z | parma/diffMC/parma_dcpartFixer.cc | Thomas-Ulrich/core | 1c7bc7ff994c3570ab22b96d37be0c4c993e5940 | [
"BSD-3-Clause"
] | 337 | 2015-08-07T18:24:58.000Z | 2022-03-31T14:39:03.000Z | parma/diffMC/parma_dcpartFixer.cc | Thomas-Ulrich/core | 1c7bc7ff994c3570ab22b96d37be0c4c993e5940 | [
"BSD-3-Clause"
] | 70 | 2015-01-17T00:58:41.000Z | 2022-02-13T04:58:20.000Z | #include "PCU.h"
#include "parma_dcpart.h"
#include "parma_commons.h"
#include "parma_convert.h"
#include <maximalIndependentSet/mis.h>
#include <pcu_util.h>
typedef std::map<unsigned, unsigned> muu;
namespace {
bool isInMis(muu& mt) {
unsigned seed = TO_UINT(PCU_Comm_Self()+1);
mis_init(seed);
misLuby:... | 27.942857 | 81 | 0.582481 | Thomas-Ulrich |
a77959f0e89a7b99097f2af7afbdd048e8b7d490 | 2,457 | cc | C++ | ofstd/tests/tststack.cc | chrisvana/dcmtk_copy | f929ab8590aca5b7a319c95af4fe2ee31be52f46 | [
"Apache-2.0"
] | 24 | 2015-07-22T05:07:51.000Z | 2019-02-28T04:52:33.000Z | ofstd/tests/tststack.cc | chrisvana/dcmtk_copy | f929ab8590aca5b7a319c95af4fe2ee31be52f46 | [
"Apache-2.0"
] | 13 | 2015-07-23T05:43:02.000Z | 2021-07-17T17:14:45.000Z | ofstd/tests/tststack.cc | chrisvana/dcmtk_copy | f929ab8590aca5b7a319c95af4fe2ee31be52f46 | [
"Apache-2.0"
] | 13 | 2015-07-23T01:07:30.000Z | 2021-01-05T09:49:30.000Z | /*
*
* Copyright (C) 1997-2010, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: ofstd
*
* Author: Andreas Ba... | 24.57 | 85 | 0.638991 | chrisvana |
a779e73de1486642d329cc195c088afd6bc82c0c | 9,172 | cpp | C++ | libraries/disp3D/engine/model/items/sensordata/gpuinterpolationitem.cpp | ChunmingGu/mne-cpp-master | 36f21b3ab0c65a133027da83fa8e2a652acd1485 | [
"BSD-3-Clause"
] | null | null | null | libraries/disp3D/engine/model/items/sensordata/gpuinterpolationitem.cpp | ChunmingGu/mne-cpp-master | 36f21b3ab0c65a133027da83fa8e2a652acd1485 | [
"BSD-3-Clause"
] | null | null | null | libraries/disp3D/engine/model/items/sensordata/gpuinterpolationitem.cpp | ChunmingGu/mne-cpp-master | 36f21b3ab0c65a133027da83fa8e2a652acd1485 | [
"BSD-3-Clause"
] | null | null | null | //=============================================================================================================
/**
* @file gpuinterpolationitem.cpp
* @author Lars Debor <lars.debor@tu-ilmenau.de>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @version 1.0
* @date October, 2017
*
* @section LICEN... | 39.878261 | 116 | 0.490188 | ChunmingGu |
a77b539c8e18e780822445d43a7e28e2c127b9e6 | 25,800 | inl | C++ | include/eagine/app/opengl_eglplus.inl | matus-chochlik/eagine-app | 7aeecbf765a6e4316adfe145f9116aded6cdb550 | [
"BSL-1.0"
] | null | null | null | include/eagine/app/opengl_eglplus.inl | matus-chochlik/eagine-app | 7aeecbf765a6e4316adfe145f9116aded6cdb550 | [
"BSL-1.0"
] | null | null | null | include/eagine/app/opengl_eglplus.inl | matus-chochlik/eagine-app | 7aeecbf765a6e4316adfe145f9116aded6cdb550 | [
"BSL-1.0"
] | null | null | null | /// @file
///
/// Copyright Matus Chochlik.
/// Distributed under the Boost Software License, Version 1.0.
/// See accompanying file LICENSE_1_0.txt or copy at
/// http://www.boost.org/LICENSE_1_0.txt
///
#include <eagine/app/context.hpp>
#include <eagine/extract.hpp>
#include <eagine/integer_range.hpp>
#include <eag... | 40 | 81 | 0.496783 | matus-chochlik |
a77b972fd1434bfad2a10e073e42174a893bda96 | 5,891 | cpp | C++ | libextra/source/FontCache.cpp | PRImA-Research-Lab/prima-image-lib | 9072672cf1f42caf35e8c69d6b09ee6217fb24a6 | [
"Apache-2.0"
] | 4 | 2017-10-04T06:23:11.000Z | 2019-05-09T14:39:12.000Z | libextra/source/FontCache.cpp | PRImA-Research-Lab/prima-image-lib | 9072672cf1f42caf35e8c69d6b09ee6217fb24a6 | [
"Apache-2.0"
] | null | null | null | libextra/source/FontCache.cpp | PRImA-Research-Lab/prima-image-lib | 9072672cf1f42caf35e8c69d6b09ee6217fb24a6 | [
"Apache-2.0"
] | 2 | 2018-10-11T02:01:42.000Z | 2019-02-09T21:30:59.000Z | #include "FontCache.h"
using Gdiplus::FontStyleRegular;
using Gdiplus::UnitPixel;
using Gdiplus::UnitPoint;
using Gdiplus::FontCollection;
namespace PRImA
{
/*
* Class CFontCache
*
* Static cache for fonts used in Aletheia
*
* CC 05.10.2011 - created
*/
const wchar_t * CFontCache::FONT_ALETHEIA_SANS = _T("Ale... | 28.186603 | 130 | 0.648786 | PRImA-Research-Lab |
a77d5d08599b35023ed74a3c445c214264380b15 | 9,544 | cpp | C++ | Applications/CLI/ogs.cpp | OlafKolditz/ogs | e33400e1d9503d33ce80509a3441a873962ad675 | [
"BSD-4-Clause"
] | 1 | 2020-03-24T13:33:52.000Z | 2020-03-24T13:33:52.000Z | Applications/CLI/ogs.cpp | OlafKolditz/ogs | e33400e1d9503d33ce80509a3441a873962ad675 | [
"BSD-4-Clause"
] | 1 | 2021-09-02T14:21:33.000Z | 2021-09-02T14:21:33.000Z | Applications/CLI/ogs.cpp | OlafKolditz/ogs | e33400e1d9503d33ce80509a3441a873962ad675 | [
"BSD-4-Clause"
] | 1 | 2020-07-15T05:55:55.000Z | 2020-07-15T05:55:55.000Z | /**
* \date 2014-08-04
* \brief Implementation of OpenGeoSys simulation application
*
* \copyright
* Copyright (c) 2012-2020, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.o... | 32.462585 | 80 | 0.576907 | OlafKolditz |
a77df707c2889771045e50b016329560b5f64f4d | 2,289 | cpp | C++ | src/defaultroleweight.cpp | Alatun-Rom/Dwarf-Therapist | 99b8e0783ec4fa21359f7b148524fec574c1fba1 | [
"MIT"
] | 362 | 2017-09-30T09:35:01.000Z | 2022-02-24T14:45:48.000Z | src/defaultroleweight.cpp | Alatun-Rom/Dwarf-Therapist | 99b8e0783ec4fa21359f7b148524fec574c1fba1 | [
"MIT"
] | 170 | 2017-09-18T16:11:23.000Z | 2022-03-31T21:36:21.000Z | src/defaultroleweight.cpp | Alatun-Rom/Dwarf-Therapist | 99b8e0783ec4fa21359f7b148524fec574c1fba1 | [
"MIT"
] | 54 | 2017-09-20T08:30:21.000Z | 2022-03-29T02:55:24.000Z | /*
Dwarf Therapist
Copyright (c) 2018 Clement Vuchener
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | 36.919355 | 79 | 0.771953 | Alatun-Rom |
a7809b99d206bc39ac2a402fd7f708d07dd1c1e0 | 4,989 | cpp | C++ | src/execution/operator/set/physical_recursive_cte.cpp | kimmolinna/duckdb | f46c5e5d2162ac3163e76985a01fb6a049eb170f | [
"MIT"
] | 1 | 2022-01-06T17:44:07.000Z | 2022-01-06T17:44:07.000Z | src/execution/operator/set/physical_recursive_cte.cpp | kimmolinna/duckdb | f46c5e5d2162ac3163e76985a01fb6a049eb170f | [
"MIT"
] | 32 | 2021-09-24T23:50:09.000Z | 2022-03-29T09:37:26.000Z | src/execution/operator/set/physical_recursive_cte.cpp | kimmolinna/duckdb | f46c5e5d2162ac3163e76985a01fb6a049eb170f | [
"MIT"
] | null | null | null | #include "duckdb/execution/operator/set/physical_recursive_cte.hpp"
#include "duckdb/common/vector_operations/vector_operations.hpp"
#include "duckdb/common/types/chunk_collection.hpp"
#include "duckdb/execution/aggregate_hashtable.hpp"
#include "duckdb/parallel/pipeline.hpp"
#include "duckdb/storage/buffer_manager.h... | 33.26 | 119 | 0.676889 | kimmolinna |
a782c7e4694aa5e8f9c94f0a891038ca5f6f0422 | 13,904 | hpp | C++ | zeccup/zeccup/military/desert/medical.hpp | LISTINGS09/ZECCUP | e0ad1fae580dde6e5d90903b1295fecc41684f63 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 3 | 2016-08-29T09:23:49.000Z | 2019-06-13T20:29:28.000Z | zeccup/zeccup/military/desert/medical.hpp | LISTINGS09/ZECCUP | e0ad1fae580dde6e5d90903b1295fecc41684f63 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | zeccup/zeccup/military/desert/medical.hpp | LISTINGS09/ZECCUP | e0ad1fae580dde6e5d90903b1295fecc41684f63 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | class MedicalLarge
{
name = $STR_ZECCUP_MedicalLarge;
// EAST
class Hospital_CUP_O_TK {
name = $STR_ZECCUP_MilitaryDesert_MedicalLarge_Hospital_CUP_O_TK; // Credit: 2600K
icon = "\ca\data\flag_rus_co.paa";
side = 8;
class Object0 {side = 8; vehicle = "TK_WarfareBFieldhHospital_Base_EP1";... | 101.489051 | 135 | 0.610256 | LISTINGS09 |
a78408805c9ef2a4fb93d43a039d7c3ce3294dfe | 2,170 | cpp | C++ | example/19_multi_viewport/19_multi_viewport.cpp | alecnunn/mud | 9e204e2dc65f4a8ab52da3d11e6a261ff279d353 | [
"Zlib"
] | 1 | 2019-03-28T20:45:32.000Z | 2019-03-28T20:45:32.000Z | example/19_multi_viewport/19_multi_viewport.cpp | alecnunn/mud | 9e204e2dc65f4a8ab52da3d11e6a261ff279d353 | [
"Zlib"
] | null | null | null | example/19_multi_viewport/19_multi_viewport.cpp | alecnunn/mud | 9e204e2dc65f4a8ab52da3d11e6a261ff279d353 | [
"Zlib"
] | null | null | null | #include <mud/core.h>
#include <19_multi_viewport/19_multi_viewport.h>
#include <03_materials/03_materials.h>
using namespace mud;
size_t viewport_mode(Widget& parent)
{
std::vector<size_t> num_viewer_vals = { 1, 2, 4 };
ui::label(parent, "num viewports : ");
static uint32_t choice = 1;
ui::radio_switch(parent,... | 25.529412 | 79 | 0.64977 | alecnunn |
a78490ca22772fbbe23e1b65bd705acf34432e8a | 5,922 | hpp | C++ | src/DataStructures/Tensor/EagerMath/Determinant.hpp | macedo22/spectre | 97b2b7ae356cf86830258cb5f689f1191fdb6ddd | [
"MIT"
] | 1 | 2018-10-01T06:07:16.000Z | 2018-10-01T06:07:16.000Z | src/DataStructures/Tensor/EagerMath/Determinant.hpp | macedo22/spectre | 97b2b7ae356cf86830258cb5f689f1191fdb6ddd | [
"MIT"
] | 4 | 2018-06-04T20:26:40.000Z | 2018-07-27T14:54:55.000Z | src/DataStructures/Tensor/EagerMath/Determinant.hpp | macedo22/spectre | 97b2b7ae356cf86830258cb5f689f1191fdb6ddd | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
/// \file
/// Defines function for taking the determinant of a rank-2 tensor
#pragma once
#include "DataStructures/Tensor/Tensor.hpp"
#include "Utilities/Gsl.hpp"
namespace detail {
template <typename Symm, typename Index, typename = std::nullptr... | 37.245283 | 80 | 0.614826 | macedo22 |
a784bc499e303988d8a73b3303a9d4355e58e35f | 1,861 | cc | C++ | books/principles/search/test-search.cc | BONITA-KWKim/algorithm | 94a45c929505e574c06d235d18da4625cc243343 | [
"Unlicense"
] | 1 | 2020-06-24T07:34:55.000Z | 2020-06-24T07:34:55.000Z | books/principles/search/test-search.cc | BONITA-KWKim/algorithm | 94a45c929505e574c06d235d18da4625cc243343 | [
"Unlicense"
] | null | null | null | books/principles/search/test-search.cc | BONITA-KWKim/algorithm | 94a45c929505e574c06d235d18da4625cc243343 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <string>
#include "gtest/gtest.h"
#include "sequential-search.h"
#include "binary-search-tree.h"
#include "red-black-tree.h"
TEST (SEQUENTIAL, TEST_CASE_001) {
BaseSearch *search = new SequentialSearch();
EXPECT_EQ(0, 0);
}
TEST (BINARY_SEARCH_TREE, TEST_CASE_001) {
int sear... | 28.630769 | 70 | 0.68619 | BONITA-KWKim |
a786202d692a972fd9b5663ff265857d3848244c | 8,040 | cpp | C++ | src/wolf3d_shaders/ws_deferred.cpp | Daivuk/wolf3d-shaders | 0f3c0ab82422d068f6440af6649603774f0543b2 | [
"DOC",
"Unlicense"
] | 5 | 2019-09-14T14:08:46.000Z | 2021-04-27T11:21:43.000Z | src/wolf3d_shaders/ws_deferred.cpp | Daivuk/wolf3d-shaders | 0f3c0ab82422d068f6440af6649603774f0543b2 | [
"DOC",
"Unlicense"
] | null | null | null | src/wolf3d_shaders/ws_deferred.cpp | Daivuk/wolf3d-shaders | 0f3c0ab82422d068f6440af6649603774f0543b2 | [
"DOC",
"Unlicense"
] | 1 | 2019-10-19T04:19:46.000Z | 2019-10-19T04:19:46.000Z | #include "ws.h"
#include "WL_DEF.H"
ws_GBuffer ws_gbuffer;
std::vector<ws_PointLight> ws_active_lights;
GLuint ws_create_sphere()
{
GLuint handle;
glGenBuffers(1, &handle);
glBindBuffer(GL_ARRAY_BUFFER, handle);
ws_Vector3 *pVertices = new ws_Vector3[WS_SPHERE_VERT_COUNT];
int hseg... | 36.545455 | 124 | 0.606468 | Daivuk |
a7875c5e5310c429e73ace7a6f7b1572c6e9ab28 | 4,155 | hpp | C++ | native-library/src/native_input_context.hpp | AVSystem/Anjay-java | c8f8c5e0ac5a086db4ca183155eed07374fc6585 | [
"Apache-2.0"
] | 4 | 2021-03-03T11:27:57.000Z | 2022-03-29T03:42:47.000Z | native-library/src/native_input_context.hpp | AVSystem/Anjay-java | c8f8c5e0ac5a086db4ca183155eed07374fc6585 | [
"Apache-2.0"
] | null | null | null | native-library/src/native_input_context.hpp | AVSystem/Anjay-java | c8f8c5e0ac5a086db4ca183155eed07374fc6585 | [
"Apache-2.0"
] | 3 | 2020-11-04T13:13:24.000Z | 2021-12-06T08:03:48.000Z | /*
* Copyright 2020-2021 AVSystem <avsystem@avsystem.com>
*
* 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 ap... | 29.892086 | 79 | 0.652708 | AVSystem |
a7875e99e239cd4ad711fd5d736f2f8b94b57109 | 23,026 | cpp | C++ | src/smt/proto_model/proto_model.cpp | flowingcloudbackup/z3 | 83d84dcedde7b1fd3c7f05da25da8fbfa819c708 | [
"MIT"
] | 1 | 2018-06-15T00:27:24.000Z | 2018-06-15T00:27:24.000Z | src/smt/proto_model/proto_model.cpp | flowingcloudbackup/z3 | 83d84dcedde7b1fd3c7f05da25da8fbfa819c708 | [
"MIT"
] | null | null | null | src/smt/proto_model/proto_model.cpp | flowingcloudbackup/z3 | 83d84dcedde7b1fd3c7f05da25da8fbfa819c708 | [
"MIT"
] | null | null | null | /*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
proto_model.cpp
Abstract:
<abstract>
Author:
Leonardo de Moura (leonardo) 2007-03-08.
Revision History:
--*/
#include"proto_model.h"
#include"model_params.hpp"
#include"ast_pp.h"
#include"ast_ll_pp.h"
#include"var_subst.h"
#include"array_dec... | 33.812041 | 117 | 0.5228 | flowingcloudbackup |
a787cfad2602354641b3158814ac74b8f1fc94a7 | 2,703 | cc | C++ | remoting/test/app_remoting_service_urls.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | remoting/test/app_remoting_service_urls.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | remoting/test/app_remoting_service_urls.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2015 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 "remoting/test/app_remoting_service_urls.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
namespace {
// The placeholder is ... | 32.566265 | 80 | 0.713651 | google-ar |
a78e291fec91811edf30eb4e01b9dd7d602b798f | 681 | cpp | C++ | mooslcm/src/test_lcm_publish_moos_double_t.cpp | aspears1935/moos-lcm-bridge | f74218ab2c0c7bbd454b6f20d93db6986ec49c49 | [
"MIT"
] | null | null | null | mooslcm/src/test_lcm_publish_moos_double_t.cpp | aspears1935/moos-lcm-bridge | f74218ab2c0c7bbd454b6f20d93db6986ec49c49 | [
"MIT"
] | null | null | null | mooslcm/src/test_lcm_publish_moos_double_t.cpp | aspears1935/moos-lcm-bridge | f74218ab2c0c7bbd454b6f20d93db6986ec49c49 | [
"MIT"
] | null | null | null | // file: send_message.cpp
//
// LCM example program.
//
// compile with:
// $ g++ -o send_message send_message.cpp -llcm
//
// On a system with pkg-config, you can also use:
// $ g++ -o send_message send_message.cpp `pkg-config --cflags --libs lcm`
#include <ctime>
#include <lcm/lcm-cpp.hpp>
#include <unistd.h>
#inc... | 21.28125 | 75 | 0.631424 | aspears1935 |
a78ec63364b2bcdc87c1a7ed8458d904f4065cc0 | 5,491 | cpp | C++ | ProcessLib/VectorMatrixAssembler.cpp | yingtaohu/ogs | 651ca2f903ee0bf5a8cfb505e8e2fd0562b4ce8e | [
"BSD-4-Clause"
] | null | null | null | ProcessLib/VectorMatrixAssembler.cpp | yingtaohu/ogs | 651ca2f903ee0bf5a8cfb505e8e2fd0562b4ce8e | [
"BSD-4-Clause"
] | null | null | null | ProcessLib/VectorMatrixAssembler.cpp | yingtaohu/ogs | 651ca2f903ee0bf5a8cfb505e8e2fd0562b4ce8e | [
"BSD-4-Clause"
] | null | null | null | /**
* \copyright
* Copyright (c) 2012-2017, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "VectorMatrixAssembler.h"
#include <cass... | 33.481707 | 80 | 0.675651 | yingtaohu |
a78ee03b0d51c1f340eb0cc5f2b81cb4d2292569 | 7,426 | cpp | C++ | src/modules/database/resultset_binding.cpp | badlee/TideSDK | fe6f6c93c6cab3395121696f48d3b55d43e1eddd | [
"Apache-2.0"
] | 1 | 2021-09-18T10:10:39.000Z | 2021-09-18T10:10:39.000Z | src/modules/database/resultset_binding.cpp | hexmode/TideSDK | 2c0276de08d7b760b53416bbd8038d79b8474fc5 | [
"Apache-2.0"
] | 1 | 2022-02-08T08:45:29.000Z | 2022-02-08T08:45:29.000Z | src/modules/database/resultset_binding.cpp | hexmode/TideSDK | 2c0276de08d7b760b53416bbd8038d79b8474fc5 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2012 - 2014 TideSDK contributors
* http://www.tidesdk.org
* Includes modified sources under the Apache 2 License
* Copyright (c) 2008 - 2012 Appcelerator Inc
* Refer to LICENSE for details of distribution and use.
**/
#include <tide/tide.h>
#include "resultset_binding.h"
#include <Poco/Data/M... | 33.004444 | 188 | 0.5676 | badlee |
a78ffce8e4ff64c892ee4e8be84ed153b4e98f48 | 2,091 | cpp | C++ | Surface_mesh_topology/examples/Surface_mesh_topology/edgewidth_surface_mesh.cpp | yemaedahrav/cgal | ef771049b173007f2c566375bbd85a691adcee17 | [
"CC0-1.0"
] | 1 | 2019-04-08T23:06:26.000Z | 2019-04-08T23:06:26.000Z | Surface_mesh_topology/examples/Surface_mesh_topology/edgewidth_surface_mesh.cpp | yemaedahrav/cgal | ef771049b173007f2c566375bbd85a691adcee17 | [
"CC0-1.0"
] | 1 | 2021-03-12T14:38:20.000Z | 2021-03-12T14:38:20.000Z | Surface_mesh_topology/examples/Surface_mesh_topology/edgewidth_surface_mesh.cpp | szobov/cgal | e7b91b92b8c6949e3b62023bdd1e9f3ad8472626 | [
"CC0-1.0"
] | 1 | 2022-03-05T04:18:59.000Z | 2022-03-05T04:18:59.000Z | #include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/Curves_on_surface_topology.h>
#include <CGAL/Path_on_surface.h>
#include <CGAL/squared_distance_3.h>
#include <CGAL/draw_face_graph_with_paths.h>
#include <fstream>
using Mesh = CGAL::Surface_mesh<CGAL::Simple_cartesian<doubl... | 36.051724 | 90 | 0.683405 | yemaedahrav |