hexsha stringlengths 40 40 | size int64 19 11.4M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 270 | max_stars_repo_name stringlengths 5 110 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 270 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 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 3 270 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 19 11.4M | avg_line_length float64 1.93 229k | max_line_length int64 12 688k | alphanum_fraction float64 0.07 0.99 | matches listlengths 1 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ab1ff95724b4b85f954869805e68acdcbd0b9974 | 23,861 | cpp | C++ | fennel/exec/ExecStreamGraph.cpp | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 14 | 2015-07-21T06:31:22.000Z | 2020-05-13T14:18:33.000Z | fennel/exec/ExecStreamGraph.cpp | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 1 | 2020-05-04T23:08:51.000Z | 2020-05-04T23:08:51.000Z | fennel/exec/ExecStreamGraph.cpp | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 22 | 2015-01-03T14:27:36.000Z | 2021-09-14T02:09:13.000Z | /*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... | 29.938519 | 80 | 0.655672 | [
"shape",
"vector",
"transform"
] |
ab21083c9325732f7427b211a22664af52bfd1e6 | 3,289 | cc | C++ | chrome/browser/extensions/api/signedin_devices/signedin_devices_api_unittest.cc | MIPS/external-chromium_org | e31b3128a419654fd14003d6117caa8da32697e7 | [
"BSD-3-Clause"
] | 2 | 2017-03-21T23:19:25.000Z | 2019-02-03T05:32:47.000Z | chrome/browser/extensions/api/signedin_devices/signedin_devices_api_unittest.cc | carlosavignano/android_external_chromium_org | 2b5652f7889ccad0fbdb1d52b04bad4c23769547 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/api/signedin_devices/signedin_devices_api_unittest.cc | carlosavignano/android_external_chromium_org | 2b5652f7889ccad0fbdb1d52b04bad4c23769547 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2017-07-31T19:09:52.000Z | 2019-01-04T18:48:50.000Z | // Copyright (c) 2013 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 <string>
#include <vector>
#include "base/guid.h"
#include "base/message_loop/message_loop.h"
#include "chrome/browser/extensions/api/signe... | 32.245098 | 80 | 0.742475 | [
"vector"
] |
ab21a40728884e541a5d6a359f18907fb92ec9f6 | 15,422 | cpp | C++ | keypoints_descriptors_test/keypoints_descriptors_test.cpp | oleg-Shipitko/pcl_examples | bc7f6e86da625affeb3e42cdfb3a771e69205f7d | [
"BSD-2-Clause"
] | null | null | null | keypoints_descriptors_test/keypoints_descriptors_test.cpp | oleg-Shipitko/pcl_examples | bc7f6e86da625affeb3e42cdfb3a771e69205f7d | [
"BSD-2-Clause"
] | null | null | null | keypoints_descriptors_test/keypoints_descriptors_test.cpp | oleg-Shipitko/pcl_examples | bc7f6e86da625affeb3e42cdfb3a771e69205f7d | [
"BSD-2-Clause"
] | 1 | 2020-07-16T16:07:51.000Z | 2020-07-16T16:07:51.000Z |
// STL
#include <iostream>
// PCL
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/common/io.h>
#include <pcl/filters/filter.h>
#include <pcl/keypoints/sift_keypoint.h>
#include <pcl/keypoints/impl/sift_keypoint.hpp>
#include <pcl/features/normal_3d.h>
#include <pcl/visualization/pcl_visualizer.h... | 44.701449 | 157 | 0.680132 | [
"object",
"vector"
] |
ab2ad720acf051724ce74f8258cb4a21995b22ef | 22,209 | cc | C++ | cartographer/mapping_3d/submaps.cc | binxxx/cartographer | 0f09131437acd8da86c48455593af1dd1551f1eb | [
"Apache-2.0"
] | null | null | null | cartographer/mapping_3d/submaps.cc | binxxx/cartographer | 0f09131437acd8da86c48455593af1dd1551f1eb | [
"Apache-2.0"
] | null | null | null | cartographer/mapping_3d/submaps.cc | binxxx/cartographer | 0f09131437acd8da86c48455593af1dd1551f1eb | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2016 The Cartographer Authors
*
* 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... | 40.38 | 80 | 0.644513 | [
"vector",
"transform"
] |
ab2bde292f26d6e46db6a483e6bf0455c2877ccc | 12,347 | cpp | C++ | igl/copyleft/cgal/intersect_other.cpp | sabinaRachev/3D-Snake-Game-Final-Project | 5c1f2044d848f24d6ce60dc61411393b503c8da2 | [
"Apache-2.0"
] | null | null | null | igl/copyleft/cgal/intersect_other.cpp | sabinaRachev/3D-Snake-Game-Final-Project | 5c1f2044d848f24d6ce60dc61411393b503c8da2 | [
"Apache-2.0"
] | null | null | null | igl/copyleft/cgal/intersect_other.cpp | sabinaRachev/3D-Snake-Game-Final-Project | 5c1f2044d848f24d6ce60dc61411393b503c8da2 | [
"Apache-2.0"
] | null | null | null | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2014 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one ... | 42.575862 | 1,231 | 0.580303 | [
"mesh",
"geometry",
"object",
"vector",
"3d"
] |
ab2cf92e0e616cb53d193c32924a145002665a8b | 5,305 | cpp | C++ | src/swr_app/framework.cpp | flubbe/swr | 2f09acb9f27a8d5345aaeb6f229f74693a24fcdd | [
"MIT"
] | 1 | 2022-02-15T21:00:31.000Z | 2022-02-15T21:00:31.000Z | src/swr_app/framework.cpp | flubbe/swr | 2f09acb9f27a8d5345aaeb6f229f74693a24fcdd | [
"MIT"
] | null | null | null | src/swr_app/framework.cpp | flubbe/swr | 2f09acb9f27a8d5345aaeb6f229f74693a24fcdd | [
"MIT"
] | null | null | null | /**
* swr - a software rasterizer
*
* application framework implementation.
*
* \author Felix Lubbe
* \copyright Copyright (c) 2021
* \license Distributed under the MIT software license (see accompanying LICENSE.txt).
*/
/* C++ headers. */
#include <mutex>
/* other library headers */
#ifndef __linux__
# ... | 25.382775 | 132 | 0.60886 | [
"render",
"vector"
] |
ab30dc0a6068bde4ee530da6a2cdb5e12ea344ee | 6,564 | cpp | C++ | data-server/test/unittest/range_ddl_unittest.cpp | gengdaomi/sharkstore | 1b490176846d2da98ceca07a69b6c35646567a28 | [
"Apache-2.0"
] | 1 | 2021-08-11T02:31:52.000Z | 2021-08-11T02:31:52.000Z | data-server/test/unittest/range_ddl_unittest.cpp | gengdaomi/sharkstore | 1b490176846d2da98ceca07a69b6c35646567a28 | [
"Apache-2.0"
] | null | null | null | data-server/test/unittest/range_ddl_unittest.cpp | gengdaomi/sharkstore | 1b490176846d2da98ceca07a69b6c35646567a28 | [
"Apache-2.0"
] | null | null | null | #include <gtest/gtest.h>
#include <fastcommon/shared_func.h>
#include <common/ds_config.h>
#include "helper/cpp_permission.h"
#include "base/status.h"
#include "base/util.h"
#include "common/ds_config.h"
#include "frame/sf_util.h"
#include "range/range.h"
#include "server/range_server.h"
#include "server/run_status.h"... | 29.173333 | 87 | 0.641987 | [
"vector"
] |
ab331bdcd31df6d695679102b765155a1df8047e | 1,403 | cpp | C++ | codeforces/C - Primes and Multiplication/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/C - Primes and Multiplication/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/C - Primes and Multiplication/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Sep/29/2019 19:47
* solution_verdict: Accepted language: GNU C++14
* run... | 25.509091 | 111 | 0.416251 | [
"vector"
] |
ab38e8c377d6d419a326f6b51694d74ccadd4209 | 6,146 | cc | C++ | src/asp/IsisIO/IsisInterfaceMapLineScan.cc | nasa/StereoPipeline | 8b9c0bcab258c41d10cb2973d97722765072a7bf | [
"NASA-1.3"
] | 29 | 2015-05-06T01:28:21.000Z | 2021-12-19T22:55:29.000Z | src/asp/IsisIO/IsisInterfaceMapLineScan.cc | imagineagents/StereoPipeline | 8b9c0bcab258c41d10cb2973d97722765072a7bf | [
"NASA-1.3"
] | null | null | null | src/asp/IsisIO/IsisInterfaceMapLineScan.cc | imagineagents/StereoPipeline | 8b9c0bcab258c41d10cb2973d97722765072a7bf | [
"NASA-1.3"
] | 27 | 2015-01-15T04:20:50.000Z | 2020-01-10T01:31:17.000Z | // __BEGIN_LICENSE__
// Copyright (C) 2006-2011 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
// ASP
#include <vw/Cartography/SimplePointImageManipulation.h>
#include <vw/Camera/CameraModel.h>
#include <... | 36.583333 | 146 | 0.673283 | [
"vector",
"model"
] |
ab3b094bee02a318594e0355d744e9fc1c0e89b8 | 6,927 | cpp | C++ | DebugTool/source/DebugPlotViewer/SeriesText.cpp | Bhaskers-Blu-Org2/Sora | 6aa5411db71199e56d5cb24265b01a89f49b40f4 | [
"BSD-2-Clause"
] | 270 | 2015-07-17T15:43:43.000Z | 2019-04-21T12:13:58.000Z | DebugTool/source/DebugPlotViewer/SeriesText.cpp | JamesLinus/Sora | 6aa5411db71199e56d5cb24265b01a89f49b40f4 | [
"BSD-2-Clause"
] | null | null | null | DebugTool/source/DebugPlotViewer/SeriesText.cpp | JamesLinus/Sora | 6aa5411db71199e56d5cb24265b01a89f49b40f4 | [
"BSD-2-Clause"
] | 106 | 2015-07-20T10:40:34.000Z | 2019-04-25T10:02:26.000Z | #include "stdafx.h"
#include "SeriesText.h"
//#include "DebugPlotViewerDoc.h"
#include "TextSeriesProperty.h"
#include "SubPlotWnd.h"
#include "HelperFunc.h"
#include "AppMessage.h"
/***********************************
Text Series
***********************************/
HRESULT TextSeriesProp::CreateElementSeries(IXML... | 21.183486 | 95 | 0.655695 | [
"vector"
] |
ab465b557c37f993873f3ed6cac0989ad5e8ac9d | 1,308 | cpp | C++ | D3D11Framework/D3D11Framework/RenderTarget.cpp | luca1337/DirectX11Framework | 0dfc7da0b5e9e34835996d6cb17649d50beb5e45 | [
"MIT"
] | null | null | null | D3D11Framework/D3D11Framework/RenderTarget.cpp | luca1337/DirectX11Framework | 0dfc7da0b5e9e34835996d6cb17649d50beb5e45 | [
"MIT"
] | null | null | null | D3D11Framework/D3D11Framework/RenderTarget.cpp | luca1337/DirectX11Framework | 0dfc7da0b5e9e34835996d6cb17649d50beb5e45 | [
"MIT"
] | null | null | null | #include "RenderTarget.h"
#include "Texture.h"
#include "Engine.h"
#include "Device.h"
#include "DepthTarget.h"
#include "Core.h"
RenderTarget::RenderTarget(std::shared_ptr<Texture> texture) : texture(texture)
{
// a render target view is an object able to receive rasterization
// output (like an opengl framebuff... | 29.727273 | 126 | 0.735474 | [
"render",
"object"
] |
ab4d79d73ec180ae7c7167a60f038f2bf8a3719f | 2,488 | cc | C++ | CondCore/EcalPlugins/plugins/EcalPyUtils.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CondCore/EcalPlugins/plugins/EcalPyUtils.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CondCore/EcalPlugins/plugins/EcalPyUtils.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | /*
* Make some convenient Ecal function available in python
*
* \author Stefano Argiro
* \version $Id: EcalPyUtils.cc,v 1.6 2012/07/17 09:17:11 davidlt Exp $
*/
#include "DataFormats/EcalDetId/interface/EBDetId.h"
#include "DataFormats/EcalDetId/interface/EEDetId.h"
#include "CondTools/Ecal/interface/EcalFloatC... | 27.644444 | 86 | 0.701768 | [
"vector"
] |
ab4ee2c36a4c6716fe98d026bf661ee38b42631d | 1,796 | cpp | C++ | Company-Google/418. Sentence Screen Fitting/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 1 | 2021-11-19T19:58:33.000Z | 2021-11-19T19:58:33.000Z | Company-Google/418. Sentence Screen Fitting/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | null | null | null | Company-Google/418. Sentence Screen Fitting/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 2 | 2021-11-26T12:47:27.000Z | 2022-01-13T16:14:46.000Z | //
// main.cpp
// 418. Sentence Screen Fitting
//
// Created by 边俊林 on 2020/1/7.
// Copyright © 2020 边俊林. All rights reserved.
//
#include <map>
#include <set>
#include <queue>
#include <string>
#include <stack>
#include <vector>
#include <cstdio>
#include <numeric>
#include <cstdlib>
#include <utility>
#include <... | 21.380952 | 67 | 0.454343 | [
"vector"
] |
ab52e415bb44286bdf693869d661b265cdd989aa | 5,719 | cpp | C++ | device_driver/src/device_driver.cpp | MingshanHe/Dual-Cooperator | e5de191717c1ba4b6df76c8027257f491c003ebe | [
"MIT"
] | 1 | 2022-02-18T05:50:43.000Z | 2022-02-18T05:50:43.000Z | device_driver/src/device_driver.cpp | MingshanHe/Dual-Cooperator | e5de191717c1ba4b6df76c8027257f491c003ebe | [
"MIT"
] | 1 | 2021-12-29T13:46:13.000Z | 2022-02-21T01:45:46.000Z | device_driver/src/device_driver.cpp | MingshanHe/Dual-Cooperator | e5de191717c1ba4b6df76c8027257f491c003ebe | [
"MIT"
] | null | null | null | /*
* device_driver.cpp
*
* Created on: Jan 7, 2021
* Author: hanbing
*/
#include "device_hardware/device_hardware.h"
#include "device_interface/DeviceDriver/device_timer.h"
#include "device_interface/Base/RobotSystem.h"
#include <ros/ros.h>
#include <ros/node_handle.h>
#include <urdf/model.h>
#include <cont... | 28.452736 | 84 | 0.647666 | [
"model"
] |
ab5df0289e18f7b391944378a561aa1587f808c7 | 8,315 | cc | C++ | components/offline_pages/background/request_queue_in_memory_store_unittest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | components/offline_pages/background/request_queue_in_memory_store_unittest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | components/offline_pages/background/request_queue_in_memory_store_unittest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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 "components/offline_pages/background/request_queue_in_memory_store.h"
#include <memory>
#include "base/bind.h"
#include "base/test/test_simple_... | 34.218107 | 80 | 0.72267 | [
"vector"
] |
ab6485f237f284ce6bb368ab869c4e8bb2b85802 | 716 | cc | C++ | Codeforces/274 Division 2/Problem C/C.cc | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | Codeforces/274 Division 2/Problem C/C.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | Codeforces/274 Division 2/Problem C/C.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | #include<stdio.h>
#include<iostream>
#include<cmath>
#include<algorithm>
#include<cstring>
#include<map>
#include<set>
#include<vector>
#include<utility>
#include<math.h>
#define sd(x) scanf("%d",&x);
#define sd2(x,y) scanf("%d%d",&x,&y);
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z);
#define fi first
#define se second
... | 15.234043 | 44 | 0.589385 | [
"vector"
] |
ab64fb093cdbd1df512e0162869d8d6c7a6fd02f | 2,068 | cpp | C++ | multithreading.cpp | m-shibata/jfbview-dpkg | ddca68777bf60da01da8bbeb14f1d4ac5a6e4cf9 | [
"Apache-1.1"
] | 1 | 2016-08-05T21:13:57.000Z | 2016-08-05T21:13:57.000Z | multithreading.cpp | m-shibata/jfbview-dpkg | ddca68777bf60da01da8bbeb14f1d4ac5a6e4cf9 | [
"Apache-1.1"
] | null | null | null | multithreading.cpp | m-shibata/jfbview-dpkg | ddca68777bf60da01da8bbeb14f1d4ac5a6e4cf9 | [
"Apache-1.1"
] | null | null | null | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Copyright (C) 2012-2014 Chuan Ji <ji@chu4n.com> *
* *
* ... | 40.54902 | 79 | 0.448259 | [
"vector"
] |
ab66df18b5a88ec13b80ad6989879c70a83f81ef | 4,655 | hpp | C++ | Code/PROJECT XYZ/Code/include/Engine/Input/Gesture.hpp | SonarSystems/SGE | bb98feba6192ed34918c4c7bac74c050452d8386 | [
"Unlicense"
] | null | null | null | Code/PROJECT XYZ/Code/include/Engine/Input/Gesture.hpp | SonarSystems/SGE | bb98feba6192ed34918c4c7bac74c050452d8386 | [
"Unlicense"
] | null | null | null | Code/PROJECT XYZ/Code/include/Engine/Input/Gesture.hpp | SonarSystems/SGE | bb98feba6192ed34918c4c7bac74c050452d8386 | [
"Unlicense"
] | null | null | null | #pragma once
namespace Sonar
{
/**
* \brief Analogue Sticks
*/
enum AnalogueStick
{
LeftStick,
RightStick
};
/**
* \brief Analogue Stick Direction
*/
enum Direction
{
Left,
Right,
Up,
Down,
NONE
};
/**
* \brief Logical Comparison Direction
*/
enum ComparisonDirection
{
LessThan,
Gr... | 18.326772 | 116 | 0.672825 | [
"vector"
] |
03655143e3c7a234eddf957ace328e893ae75a77 | 64,416 | cpp | C++ | src/mame/drivers/tigeroad.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/tigeroad.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/tigeroad.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Phil Stroffolino, Bryan McPhail
/***************************************************************************
Tiger Road (C) 1987 Capcom (licensed to Romstar)
F1 Dream (C) 1988 Capcom
cloned hardware:
Pushman (C) 1990 Comad
Bouncing Balls (c) 1991 Comad
Pl... | 51.245823 | 175 | 0.743464 | [
"3d"
] |
0366a11d27dedb7eaefb51336991c8b67bfd4013 | 3,062 | hh | C++ | isaac_variant_caller/src/lib/blt_util/nploid_genotype_util.hh | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 21 | 2015-01-09T01:11:28.000Z | 2019-09-04T03:48:21.000Z | isaac_variant_caller/src/lib/blt_util/nploid_genotype_util.hh | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 4 | 2015-07-23T09:38:39.000Z | 2018-02-01T05:37:26.000Z | isaac_variant_caller/src/lib/blt_util/nploid_genotype_util.hh | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 13 | 2015-01-29T16:41:26.000Z | 2021-06-25T02:42:32.000Z | // -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Copyright (c) 2009-2013 Illumina, Inc.
//
// This software is provided under the terms and conditions of the
// Illumina Open Source Software License 1.
//
// You should have received a copy of the Illumina Open Source
// Software License 1 along with this program. If ... | 25.098361 | 83 | 0.627694 | [
"vector"
] |
036b458971ff934f3a664e2127bb3711291bcf80 | 2,212 | cpp | C++ | Street-Combat/src/character.cpp | SakshayMahna/AI-for-Game-Programming | de2df8b25b233e6db08971226eece2cab2a7f3ef | [
"MIT"
] | null | null | null | Street-Combat/src/character.cpp | SakshayMahna/AI-for-Game-Programming | de2df8b25b233e6db08971226eece2cab2a7f3ef | [
"MIT"
] | null | null | null | Street-Combat/src/character.cpp | SakshayMahna/AI-for-Game-Programming | de2df8b25b233e6db08971226eece2cab2a7f3ef | [
"MIT"
] | null | null | null | #include <SFML/Graphics.hpp>
#include <cmath>
#include <iostream>
#include <algorithm>
#include <string>
#include "character.h"
#include "animation.h"
const float HEALTH_HEIGHT = 20;
const float HEALTH_WIDTH = 1000;
const float HEALTH_OFFSET = 100;
// Character constructor
Character::Character(float i_position[2], sf... | 27.65 | 108 | 0.690778 | [
"render",
"vector"
] |
036f694ba0723f4f29390ae69cdc43acb99d09f5 | 21,901 | cpp | C++ | code/graphics/generic.cpp | MageKing17/fs2open.github.com | 84b25b52d7d775af8a810d70e6beb6d20405b58c | [
"Unlicense"
] | 1 | 2015-04-24T12:37:48.000Z | 2015-04-24T12:37:48.000Z | code/graphics/generic.cpp | JohnAFernandez/fs2open.github.com | c0bb5bc8eb640c3932aefd3dfad1fd4758571cff | [
"Unlicense"
] | 4 | 2015-03-30T20:33:03.000Z | 2020-06-03T08:48:35.000Z | code/graphics/generic.cpp | JohnAFernandez/fs2open.github.com | c0bb5bc8eb640c3932aefd3dfad1fd4758571cff | [
"Unlicense"
] | 1 | 2021-05-22T16:37:50.000Z | 2021-05-22T16:37:50.000Z | #include "anim/packunpack.h"
#include "globalincs/globals.h"
#include "graphics/2d.h"
#include "graphics/generic.h"
#define BMPMAN_INTERNAL
#include "bmpman/bm_internal.h"
#ifdef _WIN32
#include <windows.h> // for MAX_PATH
#else
#define MAX_PATH 255
#endif
//#define TIMER
#ifdef TIMER
#include "io/timer.h"
#endif
//w... | 30.083791 | 218 | 0.66449 | [
"render"
] |
0371fdb991ac65fdf96de74709949bb2ede27c99 | 1,550 | hpp | C++ | components/core/src/clo/CommandLineArguments.hpp | kirkrodrigues/clp | bb81eec43da218a5fa3f3a367e0a24c144bdf0c8 | [
"Apache-2.0"
] | 28 | 2021-07-18T02:21:14.000Z | 2021-09-30T22:46:24.000Z | components/core/src/clo/CommandLineArguments.hpp | kirkrodrigues/clp | bb81eec43da218a5fa3f3a367e0a24c144bdf0c8 | [
"Apache-2.0"
] | 15 | 2021-10-12T03:55:07.000Z | 2022-03-24T09:04:35.000Z | components/core/src/clo/CommandLineArguments.hpp | kirkrodrigues/clp | bb81eec43da218a5fa3f3a367e0a24c144bdf0c8 | [
"Apache-2.0"
] | 11 | 2021-10-06T11:35:47.000Z | 2022-03-20T11:40:49.000Z | #ifndef CLO_COMMANDLINEARGUMENTS_HPP
#define CLO_COMMANDLINEARGUMENTS_HPP
// C++ libraries
#include <vector>
#include <string>
// Boost libraries
#include <boost/asio.hpp>
// Project headers
#include "../CommandLineArgumentsBase.hpp"
#include "../Defs.h"
namespace clo {
class CommandLineArguments : public Comma... | 33.695652 | 141 | 0.670968 | [
"vector"
] |
037300d26dbe60cf7d2cbc3714f3141c3f9ced2f | 1,961 | hpp | C++ | src/include/duckdb/execution/operator/aggregate/physical_hash_aggregate.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | 2 | 2020-01-07T17:19:02.000Z | 2020-01-09T22:04:04.000Z | src/include/duckdb/execution/operator/aggregate/physical_hash_aggregate.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | src/include/duckdb/execution/operator/aggregate/physical_hash_aggregate.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// DuckDB
//
// execution/operator/aggregate/physical_hash_aggregate.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/execution/aggregate_has... | 35.017857 | 104 | 0.702193 | [
"vector"
] |
03742e7ce9a5178d143b1f43fb3f424c549becc1 | 5,904 | cpp | C++ | pcutil.cpp | surebeli/node-pc-util | f9d0a8c81106ed767edf6070931f73e562288282 | [
"MIT"
] | null | null | null | pcutil.cpp | surebeli/node-pc-util | f9d0a8c81106ed767edf6070931f73e562288282 | [
"MIT"
] | null | null | null | pcutil.cpp | surebeli/node-pc-util | f9d0a8c81106ed767edf6070931f73e562288282 | [
"MIT"
] | null | null | null | #include <napi.h>
#include <windows.h>
#include <ShlObj.h>
#include <Shlwapi.h>
#include <string.h>
#pragma comment(lib, "shlwapi.lib")
static bool GetFileVersion(const wchar_t *file_path, WORD *major_version, WORD *minor_version, WORD *build_number, WORD *revision_number)
{
DWORD handle, len;
UINT buf_len;
... | 30.910995 | 137 | 0.643123 | [
"object",
"vector"
] |
037e45225a7bd270ad2f9a18420ca48831d52abf | 644 | cpp | C++ | sdk/keyvault/azure-security-keyvault-secrets/src/keyvault_secret_properties.cpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 96 | 2020-03-19T07:49:39.000Z | 2022-03-20T14:22:41.000Z | sdk/keyvault/azure-security-keyvault-secrets/src/keyvault_secret_properties.cpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 2,572 | 2020-03-18T22:54:53.000Z | 2022-03-31T22:09:59.000Z | sdk/keyvault/azure-security-keyvault-secrets/src/keyvault_secret_properties.cpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 81 | 2020-03-19T09:42:00.000Z | 2022-03-24T05:11:05.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
/**
* @file
* @brief Declares SecretProperties.
*
*/
#include "azure/keyvault/secrets/keyvault_secret.hpp"
#include "private/secret_serializers.hpp"
using namespace Azure::Security::KeyVault::Secrets;
SecretProperties Se... | 28 | 78 | 0.759317 | [
"object"
] |
037ee400f7cf96a2d8209e27bbf5cf128e4f67ce | 31,839 | cc | C++ | DEM/Src/nebula2/src/gfx2/nd3d9shader_main.cc | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | 2 | 2017-04-30T20:24:29.000Z | 2019-02-12T08:36:26.000Z | DEM/Src/nebula2/src/gfx2/nd3d9shader_main.cc | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | null | null | null | DEM/Src/nebula2/src/gfx2/nd3d9shader_main.cc | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// nd3d9shader_main.cc
// (C) 2003 RadonLabs GmbH
//------------------------------------------------------------------------------
#include "gfx2/nd3d9shader.h"
#include "gfx2/nd3d9server.h"
#include "gfx2/nd3d9texture.h"
#include... | 32.959627 | 119 | 0.541788 | [
"3d"
] |
0382f6b17759f5b49fe4e30315c72d8e4e740230 | 32,056 | cpp | C++ | article-supplementary-material/lunde2020information/Chapter4/tree_class_gumbel2.cpp | sondreus/agtboost | b01396652d23619a23eba8ca714b93038238de35 | [
"MIT"
] | 41 | 2020-08-14T12:58:25.000Z | 2022-03-09T23:08:13.000Z | article-supplementary-material/lunde2020information/Chapter4/tree_class_gumbel2.cpp | sondreus/agtboost | b01396652d23619a23eba8ca714b93038238de35 | [
"MIT"
] | 24 | 2020-08-18T09:17:44.000Z | 2022-02-14T10:53:00.000Z | article-supplementary-material/lunde2020information/Chapter4/tree_class_gumbel2.cpp | sondreus/agtboost | b01396652d23619a23eba8ca714b93038238de35 | [
"MIT"
] | 6 | 2021-01-14T15:39:15.000Z | 2022-03-21T13:51:47.000Z | #include <RcppEigen.h>
// Enable C++11 via this plugin (Rcpp 0.10.3 or later)
// [[Rcpp::plugins("cpp11")]]
// Enables Eigen
// [[Rcpp::depends(RcppEigen)]]
using namespace Eigen;
using namespace Rcpp;
template <class T>
using Tvec = Eigen::Matrix<T,Dynamic,1>;
template <class T>
using Tmat = Eigen::Matrix<T,Dyna... | 30.442545 | 127 | 0.524145 | [
"shape",
"vector",
"transform"
] |
0383f6f1ba4a07199f1222626b63bcf624524ec1 | 19,044 | cpp | C++ | clintstmtoccurrence.cpp | ftynse/clint | d9be5631156d4b93dd8a6897503141a3bc652fac | [
"BSD-3-Clause"
] | 18 | 2016-05-10T15:54:05.000Z | 2022-03-29T22:27:30.000Z | clintstmtoccurrence.cpp | ftynse/clint | d9be5631156d4b93dd8a6897503141a3bc652fac | [
"BSD-3-Clause"
] | 4 | 2017-04-12T12:52:14.000Z | 2019-05-10T10:50:48.000Z | clintstmtoccurrence.cpp | ftynse/clint | d9be5631156d4b93dd8a6897503141a3bc652fac | [
"BSD-3-Clause"
] | 3 | 2019-05-10T09:30:20.000Z | 2020-12-20T08:08:20.000Z | #include "oslutils.h"
#include "clintstmt.h"
#include "clintstmtoccurrence.h"
#include <functional>
ClintStmtOccurrence::ClintStmtOccurrence(osl_statement_p stmt, const std::vector<int> &betaVector,
ClintStmt *parent) :
QObject(parent), m_oslStatement(stmt), m_statement(parent) ... | 42.795506 | 212 | 0.692344 | [
"vector",
"transform"
] |
038a73364288af44e228a3ac602f03d05bb47745 | 1,579 | hpp | C++ | deps/boost/include/boost/atomic/detail/wait_caps_freebsd_umtx.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 80 | 2021-09-07T12:44:32.000Z | 2022-03-29T01:22:19.000Z | deps/boost/include/boost/atomic/detail/wait_caps_freebsd_umtx.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 2 | 2021-12-23T02:49:42.000Z | 2022-02-15T05:28:24.000Z | deps/boost/include/boost/atomic/detail/wait_caps_freebsd_umtx.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 25 | 2021-09-14T06:24:25.000Z | 2022-03-20T06:55:07.000Z | /*
* 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)
*
* Copyright (c) 2020 Andrey Semashev
*/
/*!
* \file atomic/detail/wait_caps_freebsd_umtx.hpp
*
* This header defines waiting/notifying operat... | 38.512195 | 128 | 0.80304 | [
"object"
] |
038e92f18f20f972fa41e6aa80b6ab8be1d5f8b2 | 2,391 | cc | C++ | Codeforces/331 Division 2/Problem C/C.cc | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | Codeforces/331 Division 2/Problem C/C.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | Codeforces/331 Division 2/Problem C/C.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | #include <cstdio>
#include <iostream>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <map>
#include <set>
#include <vector>
#include <utility>
#include <queue>
#include <stack>
#include <cassert>
#define sd(x) scanf("%d",&x)
#define sd2(x,y) scanf("%d%d",&x,&y)
#define sd3(x,y,z) scanf("%d%d%d",&x,&... | 23.441176 | 139 | 0.491844 | [
"vector"
] |
038f36534693b7c3f84894d4828baf45abc969f6 | 1,608 | cpp | C++ | LeetCode/DynamicProgramming/UglyNumberII.cpp | a4org/Angorithm4 | d2227d36608491bed270375bcea67fbde134209a | [
"MIT"
] | 3 | 2021-07-26T15:58:45.000Z | 2021-09-08T14:55:11.000Z | LeetCode/DynamicProgramming/UglyNumberII.cpp | a4org/Angorithm4 | d2227d36608491bed270375bcea67fbde134209a | [
"MIT"
] | null | null | null | LeetCode/DynamicProgramming/UglyNumberII.cpp | a4org/Angorithm4 | d2227d36608491bed270375bcea67fbde134209a | [
"MIT"
] | 2 | 2021-05-31T11:27:59.000Z | 2021-10-03T13:26:00.000Z | /*
* LeetCode 264 Ugly Number II
* Medium
* Jiawei Wang
* 2021 6.7
*/
/* Revision
* $1 2021.8.27
*/
#include <iostream>
#include <set>
#include <vector>
using namespace::std;
// #1 BFS and Brute Force
/*
Back to its definition --> Ugly Number means that prime factore are limited to 2, 3 and 5.
Which m... | 20.883117 | 93 | 0.556592 | [
"vector"
] |
038f661c2530462ac8fa5d1d2f093faf9089b211 | 1,323 | cc | C++ | concurrency/main.cc | Jiayoushi/nutshell | b0a351a60d039f106776b08e5e61164a59da059e | [
"MIT"
] | null | null | null | concurrency/main.cc | Jiayoushi/nutshell | b0a351a60d039f106776b08e5e61164a59da059e | [
"MIT"
] | null | null | null | concurrency/main.cc | Jiayoushi/nutshell | b0a351a60d039f106776b08e5e61164a59da059e | [
"MIT"
] | null | null | null | #include <iostream>
#include <functional>
#include <future>
#include <vector>
#include <thread>
#include <cmath>
#include <cassert>
#include "concurrent_queue.h"
void test_concurrent_queue() {
ConcurrentQueue<int> cq;
auto work =
[&cq](uint64_t total_task) {
std::cout << std::this_thread::get_id() << ... | 21.33871 | 68 | 0.582011 | [
"vector"
] |
0390bec376d762bd40c53f00d2cfbb3bb24701be | 3,834 | hpp | C++ | external/Carve/src/include/carve/debug_hooks.hpp | skrat/ifcplusplus | 1e65d8e0d5e3365d4d1da399081ffaa78fd8a486 | [
"MIT"
] | 426 | 2015-04-12T10:00:46.000Z | 2022-03-29T11:03:02.000Z | external/Carve/src/include/carve/debug_hooks.hpp | skrat/ifcplusplus | 1e65d8e0d5e3365d4d1da399081ffaa78fd8a486 | [
"MIT"
] | 124 | 2015-05-15T05:51:00.000Z | 2022-02-09T15:25:12.000Z | external/Carve/src/include/carve/debug_hooks.hpp | skrat/ifcplusplus | 1e65d8e0d5e3365d4d1da399081ffaa78fd8a486 | [
"MIT"
] | 214 | 2015-05-06T07:30:37.000Z | 2022-03-26T16:14:04.000Z | // Copyright 2006-2015 Tobias Sargeant (tobias.sargeant@gmail.com).
//
// This file is part of the Carve CSG Library (http://carve-csg.com/)
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Softw... | 39.9375 | 79 | 0.60433 | [
"mesh",
"vector"
] |
039d7019a63c0309e282d0d723a34666114fd143 | 42,610 | hpp | C++ | ThreadPool.hpp | tmlrbgfz/threadpool | 684b8049820e0c46c0855bbf05723fcf4ac180b4 | [
"MIT"
] | 2 | 2018-05-30T07:59:38.000Z | 2020-04-19T12:08:16.000Z | ThreadPool.hpp | tmlrbgfz/threadpool | 684b8049820e0c46c0855bbf05723fcf4ac180b4 | [
"MIT"
] | null | null | null | ThreadPool.hpp | tmlrbgfz/threadpool | 684b8049820e0c46c0855bbf05723fcf4ac180b4 | [
"MIT"
] | 1 | 2020-04-19T12:08:19.000Z | 2020-04-19T12:08:19.000Z | /*
* ThreadPool.hpp
*
* Created on: May 24, 2016
* Author: niklas
*
* Copyright (c) 2018 Niklas Krafczyk
*
* 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,... | 40.619638 | 187 | 0.695025 | [
"object",
"vector"
] |
03aa76385b72abb715b6ad343ff77fd02c69a4b4 | 970 | cpp | C++ | jp.atcoder/abc112/abc112_c/11951184.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-09T03:06:25.000Z | 2022-02-09T03:06:25.000Z | jp.atcoder/abc112/abc112_c/11951184.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-05T22:53:18.000Z | 2022-02-09T01:29:30.000Z | jp.atcoder/abc112/abc112_c/11951184.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int n; cin >> n;
vector<int> x(n);
vector<int> y(n);
vector<int> h(n);
for (int i = 0; i < n; i++) cin >> x[i] >> y[i] >> h[i];
int x0, y0, h0;
for (int i = 0; i < n; i++) {
if (h[i]... | 23.095238 | 68 | 0.413402 | [
"vector"
] |
03adb6315b4074aa646c7782f6733fa9db4561c6 | 425 | hpp | C++ | src/utils/js_utils.hpp | melchor629/node-flac-bindings | 584bd52ef12de4562dca0f198220f2c136666ce2 | [
"0BSD"
] | 13 | 2017-01-07T07:48:54.000Z | 2021-09-29T05:33:38.000Z | src/utils/js_utils.hpp | melchor629/node-flac-bindings | 584bd52ef12de4562dca0f198220f2c136666ce2 | [
"0BSD"
] | 27 | 2016-11-24T11:35:22.000Z | 2022-02-14T14:38:09.000Z | src/utils/js_utils.hpp | melchor629/node-flac-bindings | 584bd52ef12de4562dca0f198220f2c136666ce2 | [
"0BSD"
] | 3 | 2017-10-19T10:12:11.000Z | 2019-10-11T16:21:09.000Z | #pragma once
#include "../flac_addon.hpp"
#include <napi.h>
namespace flac_bindings {
static inline Napi::Object objectFreeze(Napi::Object& obj) {
#if NAPI_VERSION < 8
auto Object = obj.Env().Global().Get("Object").As<Napi::Object>();
auto freeze = Object.Get("freeze").As<Napi::Function>();
return free... | 20.238095 | 70 | 0.647059 | [
"object"
] |
03ae3f993bce530aef007fbebefb45dcee55b1ba | 936 | cpp | C++ | libvermilion/core/src/window.cpp | Jojojoppe/vermilion | 2bfe545c5f2c02e11d96940c191bac6f6c491843 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | libvermilion/core/src/window.cpp | Jojojoppe/vermilion | 2bfe545c5f2c02e11d96940c191bac6f6c491843 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | libvermilion/core/src/window.cpp | Jojojoppe/vermilion | 2bfe545c5f2c02e11d96940c191bac6f6c491843 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | #include "window.hpp"
#include <vermilion/instance.hpp>
#include "platform/glfw/window.hpp"
#include <stdexcept>
const int Vermilion::Core::windowPlatform[] = {
#ifdef VMCORE_GLFW
Vermilion::Core::WindowPlatform::WINDOW_PLATFORM_GLFW,
#endif
Vermilion::Core::WindowPlatform::WINDOW_PLATFORM_NONE
};
Vermilion::Core:... | 33.428571 | 196 | 0.775641 | [
"render"
] |
03ae836baaee9eed36dc831eda9f50bea31d1f28 | 6,198 | hpp | C++ | Includes/boost-di/di/core/dependency.hpp | webfinesse/veritas-engine | de771f2dcaa1a58550d07500e33e50940e3f5e58 | [
"MIT"
] | null | null | null | Includes/boost-di/di/core/dependency.hpp | webfinesse/veritas-engine | de771f2dcaa1a58550d07500e33e50940e3f5e58 | [
"MIT"
] | null | null | null | Includes/boost-di/di/core/dependency.hpp | webfinesse/veritas-engine | de771f2dcaa1a58550d07500e33e50940e3f5e58 | [
"MIT"
] | null | null | null | //
// Copyright (c) 2012-2017 Kris Jusiak (kris at jusiak dot net)
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_DI_CORE_DEPENDENCY_HPP
#define BOOST_DI_CORE_DEPENDENCY_HPP
#include "boost/di/... | 33.868852 | 125 | 0.702646 | [
"object"
] |
03c3e33c1cd0e51574a4eba191a16b19a17a5e51 | 222 | cpp | C++ | main.cpp | ozgurozkan01/2DSnakeGame | ab51acb9a4b1c4ac6b7fa762fdf9f5b15fb43946 | [
"MIT"
] | null | null | null | main.cpp | ozgurozkan01/2DSnakeGame | ab51acb9a4b1c4ac6b7fa762fdf9f5b15fb43946 | [
"MIT"
] | null | null | null | main.cpp | ozgurozkan01/2DSnakeGame | ab51acb9a4b1c4ac6b7fa762fdf9f5b15fb43946 | [
"MIT"
] | null | null | null | #include <iostream>
#include "SFML/Graphics.hpp"
#include "Game.h"
int main()
{
srand(time(NULL));
Game game;
while(game.IsOpen())
{
game.Update();
game.Render();
}
return 0;
}
| 11.1 | 28 | 0.536036 | [
"render"
] |
03c4b1ea77d253a286aa7c8058767a13a461b303 | 13,533 | cpp | C++ | src/metriclearn/largemargin.cpp | JoOkuma/segm | 6d3ea82c4ee6dcc94c26db8e9d03392397646449 | [
"MIT"
] | 1 | 2020-04-27T13:00:31.000Z | 2020-04-27T13:00:31.000Z | src/metriclearn/largemargin.cpp | JoOkuma/segm | 6d3ea82c4ee6dcc94c26db8e9d03392397646449 | [
"MIT"
] | null | null | null | src/metriclearn/largemargin.cpp | JoOkuma/segm | 6d3ea82c4ee6dcc94c26db8e9d03392397646449 | [
"MIT"
] | null | null | null |
#include <cmath>
#include <iostream>
#include <limits>
#include "metriclearn/largemargin.h"
#include "math/statistics.h"
#ifdef _OPENMP
#include "omp.h"
#endif
using namespace Eigen;
using namespace segm;
LargeMargin::LargeMargin(MatrixXd &_data, VectorXi &_label, int output_dim, int _k_targets, int _k_impostors,
... | 31.182028 | 114 | 0.487623 | [
"vector",
"transform"
] |
03c57de17e5d2135023456cbb3f09411d3286b6c | 1,386 | hpp | C++ | include/lug/Graphics/Vulkan/API/Builder/DeviceMemory.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 275 | 2016-10-08T15:33:17.000Z | 2022-03-30T06:11:56.000Z | include/lug/Graphics/Vulkan/API/Builder/DeviceMemory.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 24 | 2016-09-29T20:51:20.000Z | 2018-05-09T21:41:36.000Z | include/lug/Graphics/Vulkan/API/Builder/DeviceMemory.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 37 | 2017-02-25T05:03:48.000Z | 2021-05-10T19:06:29.000Z | #pragma once
#include <memory>
#include <vector>
#include <lug/Graphics/Vulkan/API/DeviceMemory.hpp>
namespace lug {
namespace Graphics {
namespace Vulkan {
namespace API {
class Buffer;
class Device;
class Image;
namespace Builder {
class DeviceMemory {
public:
DeviceMemory(const API::Device& deviceMemory);
... | 22.721311 | 124 | 0.727273 | [
"vector"
] |
03ca05c54efc11455eb49dee62709a09fb6cc6c8 | 9,859 | cpp | C++ | source/utopian/core/ModelLoader.cpp | simplerr/UtopianEngine | 6fbafed1c379993c23d870ba252efa87514d43bc | [
"MIT"
] | 62 | 2020-11-06T17:29:24.000Z | 2022-03-21T19:21:16.000Z | source/utopian/core/ModelLoader.cpp | simplerr/UtopianEngine | 6fbafed1c379993c23d870ba252efa87514d43bc | [
"MIT"
] | 134 | 2017-02-25T20:47:43.000Z | 2022-03-14T06:54:58.000Z | source/utopian/core/ModelLoader.cpp | simplerr/UtopianEngine | 6fbafed1c379993c23d870ba252efa87514d43bc | [
"MIT"
] | 6 | 2021-02-19T07:20:19.000Z | 2021-12-27T09:07:27.000Z | #include <vector>
#include <vulkan/vulkan_core.h>
#include "core/renderer/Primitive.h"
#include "core/Log.h"
#include "core/AssimpLoader.h"
#include "core/glTFLoader.h"
#include "core/ModelLoader.h"
#include "core/renderer/Model.h"
#include "vulkan/handles/Device.h"
#include "vulkan/handles/DescriptorSetLayout.h"
#incl... | 36.650558 | 119 | 0.622173 | [
"mesh",
"vector",
"model"
] |
03d3b48507e06a4f928559e193865a3f1fe931df | 2,642 | cpp | C++ | 2020/days/day1.cpp | Gnarwhal/AdventOfCode | c6ef3db530e8a6eb599d81b3c26132d6dac345f7 | [
"MIT"
] | null | null | null | 2020/days/day1.cpp | Gnarwhal/AdventOfCode | c6ef3db530e8a6eb599d81b3c26132d6dac345f7 | [
"MIT"
] | null | null | null | 2020/days/day1.cpp | Gnarwhal/AdventOfCode | c6ef3db530e8a6eb599d81b3c26132d6dac345f7 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* Copyright (c) 2020 Gnarwhal
*
* -----------------------------------------------------------------------------
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated doc... | 30.367816 | 81 | 0.590462 | [
"vector"
] |
03d56930f22ab6661c4f58c805f88bb1271649d4 | 4,663 | cpp | C++ | ThirdParty/poco/Util/testsuite/src/ValidatorTest.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | 1 | 2021-11-29T08:30:19.000Z | 2021-11-29T08:30:19.000Z | ThirdParty/poco/Util/testsuite/src/ValidatorTest.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | ThirdParty/poco/Util/testsuite/src/ValidatorTest.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | 6 | 2016-06-04T08:15:01.000Z | 2022-01-17T07:54:46.000Z | //
// ValidatorTest.cpp
//
// $Id: //poco/1.4/Util/testsuite/src/ValidatorTest.cpp#1 $
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompan... | 26.196629 | 80 | 0.682179 | [
"object"
] |
03d99787590f5c0c0ad32bef2f906b2fe45089a3 | 1,951 | cpp | C++ | Code/Framework/AzToolsFramework/AzToolsFramework/UI/DocumentPropertyEditor/ContainerActionButtonHandler.cpp | psy-repos-c/o3de | 42d917e4726b1cae8c39c10834b0e621c9e8300d | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzToolsFramework/AzToolsFramework/UI/DocumentPropertyEditor/ContainerActionButtonHandler.cpp | psy-repos-c/o3de | 42d917e4726b1cae8c39c10834b0e621c9e8300d | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzToolsFramework/AzToolsFramework/UI/DocumentPropertyEditor/ContainerActionButtonHandler.cpp | psy-repos-c/o3de | 42d917e4726b1cae8c39c10834b0e621c9e8300d | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzToolsFramework/UI/DocumentPropertyEditor/ContainerActionButtonHandler.h>
namespace Az... | 34.839286 | 126 | 0.655049 | [
"3d"
] |
03dd1d0303cf20ccf5bc66ae713458698fadd3be | 876 | cpp | C++ | src/DataMap.cpp | stringbasic/datamerger | 8c5977ffea97018d7bce4c043df28f3b3356d48d | [
"MIT"
] | null | null | null | src/DataMap.cpp | stringbasic/datamerger | 8c5977ffea97018d7bce4c043df28f3b3356d48d | [
"MIT"
] | null | null | null | src/DataMap.cpp | stringbasic/datamerger | 8c5977ffea97018d7bce4c043df28f3b3356d48d | [
"MIT"
] | null | null | null | /**
*
* DataMap.cpp
*
*/
#include "DataMap.h"
using namespace datamerger;
using namespace std;
DataMap::DataMap(string columnName, int columnIndex)
: columnName(move(columnName)), columnIndex(columnIndex), maxSize(0) {
}
const string& DataMap::getColumnName() {
return this->columnName;
}
const int& DataM... | 21.9 | 74 | 0.684932 | [
"vector"
] |
03e1d83997ba03f2b558e1f1afaac6657c16e683 | 2,263 | cpp | C++ | examples/Cuda/Experiment/ExtractVoxelsNearSurfaceCuda.cpp | devshank3/Open3D | 91611eb562680a41be8a52497bb45d278f2c9377 | [
"MIT"
] | 113 | 2018-11-12T03:32:52.000Z | 2022-03-29T13:58:54.000Z | examples/Cuda/Experiment/ExtractVoxelsNearSurfaceCuda.cpp | llp45135/Open3D | ff7003d542c4fcf88a2d9e7fe08508b3e52dc702 | [
"MIT"
] | 3 | 2018-10-19T12:09:57.000Z | 2020-04-22T11:55:54.000Z | examples/Cuda/Experiment/ExtractVoxelsNearSurfaceCuda.cpp | llp45135/Open3D | ff7003d542c4fcf88a2d9e7fe08508b3e52dc702 | [
"MIT"
] | 27 | 2018-10-16T20:01:18.000Z | 2021-07-26T08:02:20.000Z | //
// Created by wei on 4/4/19.
//
#include <Open3D/Open3D.h>
#include <Cuda/Open3DCuda.h>
#include <Cuda/Experiment/ScalableTSDFVolumeProcessorCuda.h>
#include "../ReconstructionSystem/DatasetConfig.h"
using namespace open3d;
using namespace open3d::registration;
using namespace open3d::geometry;
using namespace ope... | 33.279412 | 81 | 0.708794 | [
"mesh",
"geometry"
] |
03e31c6f24d6a629b92efc5ce28d6c5591d3b14a | 2,961 | cc | C++ | fully_dynamic_submodular_maximization/random_subset_algorithm.cc | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | 23,901 | 2018-10-04T19:48:53.000Z | 2022-03-31T21:27:42.000Z | fully_dynamic_submodular_maximization/random_subset_algorithm.cc | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | 891 | 2018-11-10T06:16:13.000Z | 2022-03-31T10:42:34.000Z | fully_dynamic_submodular_maximization/random_subset_algorithm.cc | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | 6,047 | 2018-10-12T06:31:02.000Z | 2022-03-31T13:59:28.000Z | // Copyright 2020 The Authors.
//
// 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... | 34.430233 | 80 | 0.712259 | [
"vector",
"model"
] |
03e3ce280379bcbe38b42b5564bfda20cf2e2ef7 | 14,702 | cpp | C++ | SRC/element/joint/MP_Joint2D.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 8 | 2019-03-05T16:25:10.000Z | 2020-04-17T14:12:03.000Z | SRC/element/joint/MP_Joint2D.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | null | null | null | SRC/element/joint/MP_Joint2D.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 3 | 2019-09-21T03:11:11.000Z | 2020-01-19T07:29:37.000Z | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... | 29.170635 | 116 | 0.600054 | [
"vector",
"model"
] |
03e81d1e37e210eda0b9123d88e3275fcd935ed8 | 5,893 | cpp | C++ | src/apps/colmap2adop.cpp | lfranke/ADOP | 14314b832e1f93069d21bd789e7fb57f0692b8b0 | [
"MIT"
] | null | null | null | src/apps/colmap2adop.cpp | lfranke/ADOP | 14314b832e1f93069d21bd789e7fb57f0692b8b0 | [
"MIT"
] | null | null | null | src/apps/colmap2adop.cpp | lfranke/ADOP | 14314b832e1f93069d21bd789e7fb57f0692b8b0 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2021 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#include "saiga/core/util/commandLineArguments.h"
#include "saiga/core/util/exif/TinyEXIF.h"
#include "saiga/core/util/file.h"
#include "saiga/vision/cameraModel/OCam.h"
#define SAIGA_VISION_API /... | 30.220513 | 134 | 0.597489 | [
"vector"
] |
03f533747d6044690b42340c46482dc2c163d78c | 14,839 | cpp | C++ | CursedHeaven/Motor2D/j1Scene1.cpp | golden-rhino-studio/CursedHeaven | 16e7bd3e82b64302564251d4856be570add0f98e | [
"MIT"
] | null | null | null | CursedHeaven/Motor2D/j1Scene1.cpp | golden-rhino-studio/CursedHeaven | 16e7bd3e82b64302564251d4856be570add0f98e | [
"MIT"
] | 1 | 2019-03-05T18:25:36.000Z | 2019-03-05T18:26:39.000Z | CursedHeaven/Motor2D/j1Scene1.cpp | golden-rhino-studio/CursedHeaven | 16e7bd3e82b64302564251d4856be570add0f98e | [
"MIT"
] | null | null | null | #include "p2Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Input.h"
#include "j1Textures.h"
#include "j1Audio.h"
#include "j1Collisions.h"
#include "j1Render.h"
#include "j1Window.h"
#include "j1Map.h"
#include "j1DragoonKnight.h"
#include "j1BlackMage.h"
#include "j1Tank.h"
#include "j1Rogue.h"
#include "j... | 30.532922 | 174 | 0.657187 | [
"render"
] |
03f90760e970a7d70b8f929b369a36961c37c80e | 991 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/geometry/policies/robustness/rescale_policy_tags.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 326 | 2015-02-08T13:47:49.000Z | 2022-03-16T02:13:59.000Z | ReactNativeFrontend/ios/Pods/boost/boost/geometry/policies/robustness/rescale_policy_tags.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 623 | 2015-01-02T23:45:23.000Z | 2022-03-09T11:15:23.000Z | ReactNativeFrontend/ios/Pods/boost/boost/geometry/policies/robustness/rescale_policy_tags.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 215 | 2015-01-14T15:50:38.000Z | 2022-02-23T03:58:36.000Z | // Boost.Geometry
// Copyright (c) 2019-2019 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_GEOMETRY_POLICIES_ROBUSTNES... | 22.522727 | 79 | 0.806256 | [
"geometry"
] |
03ff522509d995584b86a1ca89b9931fdd777c29 | 14,283 | cpp | C++ | common/texture.cpp | YKHahahaha/OpenGLES_Examples | b3451184bb5fffd2d6e8390ece93ca6cfcf80bfc | [
"MIT"
] | 2 | 2019-10-25T10:00:07.000Z | 2019-11-11T07:03:14.000Z | common/texture.cpp | YKHahahaha/OpenGLES_Examples | b3451184bb5fffd2d6e8390ece93ca6cfcf80bfc | [
"MIT"
] | null | null | null | common/texture.cpp | YKHahahaha/OpenGLES_Examples | b3451184bb5fffd2d6e8390ece93ca6cfcf80bfc | [
"MIT"
] | null | null | null | #include "texture.h"
#include <stb_image.h>
namespace es
{
Texture::Texture()
:mID(0),
mTarget(GL_TEXTURE_2D),
mInternalFormat(GL_RGBA8),
mFormat(GL_RGBA),
mType(GL_UNSIGNED_BYTE),
mComponents(4),
mArraySize(1)
{
GLES_CHECK_ERROR(glGenTextures(1, &mID));
}
Texture::~Texture()
{
GLES_CHECK... | 21.706687 | 188 | 0.666037 | [
"vector"
] |
ff093562c550018c3066c36b22c6fe3bcd09480b | 23,172 | hpp | C++ | include/Network/NetworkHandling.hpp | mjshakir/circle_predictor | 63774bbfa0c86d4faa06201f154154a141994a27 | [
"MIT"
] | null | null | null | include/Network/NetworkHandling.hpp | mjshakir/circle_predictor | 63774bbfa0c86d4faa06201f154154a141994a27 | [
"MIT"
] | null | null | null | include/Network/NetworkHandling.hpp | mjshakir/circle_predictor | 63774bbfa0c86d4faa06201f154154a141994a27 | [
"MIT"
] | null | null | null | #pragma once
//--------------------------------------------------------------
// Standard cpp library
//--------------------------------------------------------------
#include <future>
#include <algorithm>
#include <execution>
//--------------------------------------------------------------
// LibTorch library
//-----... | 53.025172 | 178 | 0.396038 | [
"vector",
"model"
] |
ff0ac530d63a8d1ea1693aa524a6d5b5227f3639 | 54,083 | cpp | C++ | tests/das_tests/daspay_tests.cpp | powerchain-ltd/greenpower-blockchain | ff04c37f2de11677c3a34889fdede1256a3e5e02 | [
"MIT"
] | 1 | 2021-07-26T02:42:01.000Z | 2021-07-26T02:42:01.000Z | tests/das_tests/daspay_tests.cpp | green-powerchain-ltd/greenpower-blockchain | ff04c37f2de11677c3a34889fdede1256a3e5e02 | [
"MIT"
] | null | null | null | tests/das_tests/daspay_tests.cpp | green-powerchain-ltd/greenpower-blockchain | ff04c37f2de11677c3a34889fdede1256a3e5e02 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2018 Tech Solutions Malta LTD
*
* 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 us... | 50.734522 | 228 | 0.779469 | [
"vector"
] |
ff0cb32159d387b269446dc254356b8017c7fa8b | 4,589 | cpp | C++ | ocl/getting_started/hello_vadd_ocl/src/host.cpp | martinATtug/SDSoC_Examples | 0cfb0a96bdbe07b5a6fb58f859a4a07b37390ffe | [
"BSD-3-Clause"
] | 89 | 2017-05-26T01:52:20.000Z | 2022-01-10T06:20:48.000Z | ocl/getting_started/hello_vadd_ocl/src/host.cpp | martinATtug/SDSoC_Examples | 0cfb0a96bdbe07b5a6fb58f859a4a07b37390ffe | [
"BSD-3-Clause"
] | 4 | 2018-03-29T12:32:09.000Z | 2020-07-16T19:35:42.000Z | ocl/getting_started/hello_vadd_ocl/src/host.cpp | martinATtug/SDSoC_Examples | 0cfb0a96bdbe07b5a6fb58f859a4a07b37390ffe | [
"BSD-3-Clause"
] | 46 | 2017-05-18T11:22:13.000Z | 2021-03-25T16:56:13.000Z | /**********
Copyright (c) 2018, Xilinx, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the fol... | 40.973214 | 125 | 0.681848 | [
"vector"
] |
d42f42e10b09dda341d7485f0fc7736516ebf5ef | 537 | cpp | C++ | docs/snippets/MULTI2.cpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | docs/snippets/MULTI2.cpp | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | docs/snippets/MULTI2.cpp | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | #include <ie_core.hpp>
int main() {
using namespace InferenceEngine;
//! [part2]
Core ie;
auto cnnNetwork = ie.ReadNetwork("sample.xml");
std::string allDevices = "MULTI:";
std::vector<std::string> availableDevices = ie.GetAvailableDevices();
for (auto && device : availableDevices) {
allDev... | 29.833333 | 91 | 0.649907 | [
"vector"
] |
d43e63e6d80c5488b07b64ea23c5d680cce6f847 | 2,754 | cc | C++ | drds/src/model/DescribeDrdsSlowSqlsResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | drds/src/model/DescribeDrdsSlowSqlsResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | drds/src/model/DescribeDrdsSlowSqlsResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 28.102041 | 89 | 0.729484 | [
"vector",
"model"
] |
d4484c5a11a7c1f0d2104159a07b8a7ca8c1f2f7 | 3,334 | cxx | C++ | EMCAL/EMCALTriggerBase/AliEMCALTriggerAlgorithm.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | EMCAL/EMCALTriggerBase/AliEMCALTriggerAlgorithm.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | EMCAL/EMCALTriggerBase/AliEMCALTriggerAlgorithm.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**
* @file AliEMCALTriggerAlgorithm.cxx
* @date Oct. 23, 2015
* @author Markus Fasel <markus.fasel@cern.ch>, Lawrence Berkeley National Laboratory
*/
/**************************************************************************
* Copyright(c) 1998-2013, ALICE Experiment at CERN, All rights reserved. *
* ... | 34.729167 | 170 | 0.631974 | [
"vector"
] |
d44dda6255767318dc217f07119126ac3a624e00 | 8,132 | cpp | C++ | ocr/src/v20181119/model/PropOwnerCertOCRResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | ocr/src/v20181119/model/PropOwnerCertOCRResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | ocr/src/v20181119/model/PropOwnerCertOCRResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 31.157088 | 130 | 0.670069 | [
"object",
"model"
] |
d44ecbd2703089fa353f9ace507ec2aefeafbdf9 | 1,527 | hpp | C++ | src/RenderSystem.GL4/InputLayoutGL4.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | src/RenderSystem.GL4/InputLayoutGL4.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | src/RenderSystem.GL4/InputLayoutGL4.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license.
#pragma once
#include "OpenGLPrerequisites.hpp"
#include "TypesafeGL4.hpp"
#include "../Utility/Tagged.hpp"
#include "Pomdog/Graphics/detail/ForwardDeclarations.hpp"
#include <memory>
#include <optional>
#include <vector>
namespace Pomdog {
name... | 21.507042 | 71 | 0.734774 | [
"vector"
] |
d44fe92169be662f153e7ae24268dd93cdcc9455 | 25,409 | cpp | C++ | dash_client_lib/source/api/biosmanagement.cpp | juergh/dash-sdk | 16757836f1f96ee3220992f70bffe92c18e08e76 | [
"AMDPLPA"
] | 13 | 2015-08-06T14:55:10.000Z | 2021-12-26T04:41:54.000Z | dash_client_lib/source/api/biosmanagement.cpp | juergh/dash-sdk | 16757836f1f96ee3220992f70bffe92c18e08e76 | [
"AMDPLPA"
] | null | null | null | dash_client_lib/source/api/biosmanagement.cpp | juergh/dash-sdk | 16757836f1f96ee3220992f70bffe92c18e08e76 | [
"AMDPLPA"
] | 1 | 2017-06-17T14:15:41.000Z | 2017-06-17T14:15:41.000Z | /*
* License Agreement
*
* Copyright (c) 2007, 2008, 2009 Advanced Micro Devices Inc.
*
* All rights reserved.
*
* Redistribution and use in any form of this material and any product thereof including
* software in source or binary forms, along with any related documentation, with or
* without modification (... | 27.558568 | 128 | 0.745996 | [
"vector"
] |
d4530f90e2cd28190e444774210a53c532711ff9 | 3,187 | cpp | C++ | src/exp/pokec/pokec_size_estimation.cpp | kazuibasou/KDD2020 | fc327ffc745c0cedbce85cfbffb606ac46df9a85 | [
"MIT"
] | 2 | 2020-11-07T05:50:39.000Z | 2022-01-29T14:03:25.000Z | src/exp/pokec/pokec_size_estimation.cpp | kazuibasou/KDD2020 | fc327ffc745c0cedbce85cfbffb606ac46df9a85 | [
"MIT"
] | null | null | null | src/exp/pokec/pokec_size_estimation.cpp | kazuibasou/KDD2020 | fc327ffc745c0cedbce85cfbffb606ac46df9a85 | [
"MIT"
] | 1 | 2021-05-12T04:51:52.000Z | 2021-05-12T04:51:52.000Z | #include <iostream>
#include <vector>
#include <string>
#include <random>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "../../main/graph.h"
#include "../../main/sampling.h"
#include "../../main/estimation.h"
#include "../exp.h"
/*
We estimate the NRMSEs of estimates of the follow... | 31.87 | 176 | 0.700031 | [
"vector",
"model"
] |
d45485a3bad1c1fe89b67fc9e76d5d1272c607b6 | 7,051 | cc | C++ | lib/imagereader/imdimagereader.cc | tdaede/fluxengine | 056055bf0bf8b4091ab9d23b1542d1549aa99e6a | [
"MIT"
] | 247 | 2019-01-07T05:12:52.000Z | 2022-03-30T02:30:21.000Z | lib/imagereader/imdimagereader.cc | tdaede/fluxengine | 056055bf0bf8b4091ab9d23b1542d1549aa99e6a | [
"MIT"
] | 337 | 2019-02-19T17:56:56.000Z | 2022-03-31T22:04:25.000Z | lib/imagereader/imdimagereader.cc | tdaede/fluxengine | 056055bf0bf8b4091ab9d23b1542d1549aa99e6a | [
"MIT"
] | 57 | 2019-01-07T05:18:17.000Z | 2022-03-05T09:12:28.000Z | #include "globals.h"
#include "flags.h"
#include "sector.h"
#include "imagereader/imagereader.h"
#include "image.h"
#include "lib/config.pb.h"
#include "fmt/format.h"
#include <algorithm>
#include <iostream>
#include <fstream>
static unsigned getModulationandSpeed(uint8_t flags, bool *mfm)
{
switch (flags)
{
cas... | 24.397924 | 123 | 0.633811 | [
"vector"
] |
d45adcbfada5432315ce4a7334174128443b4403 | 12,662 | cpp | C++ | src/charls_jpegls_decoder.cpp | genisysram/charls | 5cd3ed2839c49f0ff2d2aeb722ae432225d59c4e | [
"BSD-3-Clause"
] | null | null | null | src/charls_jpegls_decoder.cpp | genisysram/charls | 5cd3ed2839c49f0ff2d2aeb722ae432225d59c4e | [
"BSD-3-Clause"
] | null | null | null | src/charls_jpegls_decoder.cpp | genisysram/charls | 5cd3ed2839c49f0ff2d2aeb722ae432225d59c4e | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) Team CharLS.
// SPDX-License-Identifier: BSD-3-Clause
#include <charls/charls.h>
#include "jpeg_stream_reader.h"
#include "util.h"
#include <cassert>
#include <memory>
#include <new>
using std::unique_ptr;
using namespace charls;
using impl::throw_jpegls_error;
struct charls_jpegls_decoder final
{... | 31.341584 | 130 | 0.685595 | [
"object"
] |
d4611978a2e1cd1c02fe051eaea8cb90d12461d0 | 319 | cpp | C++ | openearthsdk/src/main/cpp/earth/geometry/geometry_util.cpp | Darlun1024/OpenEarth | f30f5fd2d4bb91e00d323f8c8a1d17169a3e8fbb | [
"Unlicense"
] | 5 | 2017-12-05T01:32:19.000Z | 2019-12-15T17:42:47.000Z | openearthsdk/src/main/cpp/earth/geometry/geometry_util.cpp | Darlun1024/OpenEarth | f30f5fd2d4bb91e00d323f8c8a1d17169a3e8fbb | [
"Unlicense"
] | 1 | 2017-12-08T06:48:41.000Z | 2017-12-08T06:48:41.000Z | openearthsdk/src/main/cpp/earth/geometry/geometry_util.cpp | Darlun1024/OpenEarth | f30f5fd2d4bb91e00d323f8c8a1d17169a3e8fbb | [
"Unlicense"
] | 4 | 2017-12-05T01:34:09.000Z | 2019-12-15T17:42:53.000Z | //
// Created by GXSN-Pro on 2017/12/21.
//
#include <glm/detail/func_geometric.inl>
#include "geometry_util.hpp"
using namespace OpenEarth::Geometry;
glm::vec3 GeometryUtil::projectToPlane(glm::vec3 vector,glm::vec3 plane){
float a = glm::dot(vector,plane)/glm::length(plane);
return vector - plane * a;
} | 26.583333 | 74 | 0.708464 | [
"geometry",
"vector"
] |
d4615bb7b98e6842d1d464541c2f1addbf529a0a | 33,517 | cpp | C++ | lib/dmitigr/pgfe/sql_string.cpp | dmitigr/pgfe | c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a | [
"Zlib"
] | 121 | 2018-05-23T19:51:00.000Z | 2022-03-12T13:05:34.000Z | lib/dmitigr/pgfe/sql_string.cpp | dmitigr/pgfe | c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a | [
"Zlib"
] | 36 | 2019-11-11T03:25:10.000Z | 2022-03-28T21:54:07.000Z | lib/dmitigr/pgfe/sql_string.cpp | dmitigr/pgfe | c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a | [
"Zlib"
] | 17 | 2018-05-24T04:01:28.000Z | 2022-01-16T13:22:26.000Z | // -*- C++ -*-
// Copyright (C) Dmitry Igrishin
// For conditions of distribution and use, see files LICENSE.txt or pgfe.hpp
#include "dmitigr/pgfe/data.hpp"
#include "dmitigr/pgfe/sql_string.hpp"
#include <memory>
#include <cstring>
#include <stdexcept>
namespace dmitigr::pgfe {
DMITIGR_PGFE_INLINE Sql_string::Sql... | 30.087074 | 117 | 0.615151 | [
"vector"
] |
d46215ea673466d81d35c7d10a4a2e608f6a9dbe | 1,257 | cpp | C++ | openbmc_modules/ipmi-blob-tool/test/crc_unittest.cpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | 14 | 2021-11-04T07:47:37.000Z | 2022-03-21T10:10:30.000Z | openbmc_modules/ipmi-blob-tool/test/crc_unittest.cpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | null | null | null | openbmc_modules/ipmi-blob-tool/test/crc_unittest.cpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | 6 | 2021-11-02T10:56:19.000Z | 2022-03-06T11:58:20.000Z | #include <ipmiblob/crc.hpp>
#include <cstdint>
#include <string>
#include <vector>
#include <gtest/gtest.h>
namespace ipmiblob
{
TEST(Crc16Test, VerifyCrcValue)
{
// Verify the crc16 is producing the value we expect.
// Origin: security/crypta/ipmi/portable/ipmi_utils_test.cc
struct CrcTestVector
{... | 28.568182 | 70 | 0.626094 | [
"vector"
] |
d469228314bf7e08cb2120a7334de72b590967e5 | 1,075 | cpp | C++ | solutions/1138.alphabet-board-path.328653183.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/1138.alphabet-board-path.328653183.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/1138.alphabet-board-path.328653183.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | class Solution {
public:
string alphabetBoardPath(string target) {
vector<pair<int, int>> positions;
for (int i = 0; i < 26; i++)
positions.emplace_back(i / 5, i % 5);
string ans;
char start = 'a';
for (char c : target) {
ans += path(start, c, positions);
ans += '!';
start... | 17.916667 | 70 | 0.447442 | [
"vector"
] |
d46d22141476573d0324455d38e7499d96a9b911 | 658 | cpp | C++ | src/amazebot.cpp | Robotcraft19/amazebot-ros-driver | b3fa0b967cc3bd56c85118e78de55ff07af5b79d | [
"MIT"
] | 1 | 2020-04-15T12:08:13.000Z | 2020-04-15T12:08:13.000Z | src/amazebot.cpp | Robotcraft19/amazebot-ros-driver | b3fa0b967cc3bd56c85118e78de55ff07af5b79d | [
"MIT"
] | null | null | null | src/amazebot.cpp | Robotcraft19/amazebot-ros-driver | b3fa0b967cc3bd56c85118e78de55ff07af5b79d | [
"MIT"
] | null | null | null | /**
* @file amazebot.cpp
* @author Nicolas Filliol <nicolas.filliol@icloud.com>, Erwin Lejeune <erwin.lejeune15@gmail.com>,
* Oleksandr Koreiba<alex@koreiba.com>, Jan Tiepelt,
* Giovanni Alexander Bergamaschi
* @brief Amazebot Controller Class
* @version 0.1
* @date 2019-08-11
*
* @copyright... | 21.933333 | 100 | 0.662614 | [
"object"
] |
d46feccd469e525123532cf38ae6a6e6b9c4335c | 16,207 | hxx | C++ | qi/detail/trackable.hxx | yumilceh/libqi | f094bcad506bcfd5a8dcfa7688cbcce864b0765b | [
"BSD-3-Clause"
] | null | null | null | qi/detail/trackable.hxx | yumilceh/libqi | f094bcad506bcfd5a8dcfa7688cbcce864b0765b | [
"BSD-3-Clause"
] | null | null | null | qi/detail/trackable.hxx | yumilceh/libqi | f094bcad506bcfd5a8dcfa7688cbcce864b0765b | [
"BSD-3-Clause"
] | null | null | null | #pragma once
/*
* Copyright (c) 2013 Aldebaran Robotics. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the COPYING file.
*/
#ifndef _QI_DETAIL_TRACKABLE_HXX_
#define _QI_DETAIL_TRACKABLE_HXX_
#include <type_traits>
#include <boost/function.hpp>
#include <... | 35.856195 | 159 | 0.581169 | [
"transform"
] |
d472dab459899e9c6cc23b512543e7991bf0e2eb | 5,558 | cc | C++ | src/libmess/extra/harmonic.cc | dsjense/MESS | b54c161327e2e35a40bb3b71555bdc2eef7cd7f9 | [
"Apache-2.0"
] | 9 | 2020-03-03T07:34:35.000Z | 2021-12-08T13:12:16.000Z | src/libmess/extra/harmonic.cc | dsjense/MESS | b54c161327e2e35a40bb3b71555bdc2eef7cd7f9 | [
"Apache-2.0"
] | 1 | 2022-03-23T10:57:25.000Z | 2022-03-31T12:30:44.000Z | src/libmess/extra/harmonic.cc | dsjense/MESS | b54c161327e2e35a40bb3b71555bdc2eef7cd7f9 | [
"Apache-2.0"
] | 9 | 2019-12-18T19:59:13.000Z | 2022-01-31T01:49:43.000Z | #include "harmonic.hh"
#include "io.hh"
/*******************************************************************************************
****************** HARMONIC EXPANSION OF THE ANGULAR PART OF THE POTENTIAL *****************
*******************************************************************************************... | 27.929648 | 115 | 0.564052 | [
"vector"
] |
d47928692cb958edf00ade4fd242ada3e3460422 | 12,545 | cpp | C++ | CPPProjects/SubtreeSize.cpp | ducaddepar/ProgrammingContest | 4c47cada50ed23bd841cfea06a377a4129d4d88f | [
"MIT"
] | 39 | 2018-08-26T05:53:19.000Z | 2021-12-11T07:47:24.000Z | CPPProjects/SubtreeSize.cpp | ducaddepar/ProgrammingContest | 4c47cada50ed23bd841cfea06a377a4129d4d88f | [
"MIT"
] | 1 | 2018-06-21T00:40:41.000Z | 2018-06-21T00:40:46.000Z | CPPProjects/SubtreeSize.cpp | ducaddepar/ProgrammingContest | 4c47cada50ed23bd841cfea06a377a4129d4d88f | [
"MIT"
] | 8 | 2018-08-27T00:34:23.000Z | 2020-09-27T12:51:22.000Z | //#define SUBMIT
#ifdef SUBMIT
#define LOGLEVEL 0
#define NDEBUG
#else
#define LOGLEVEL 1
#endif
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <cassert>
#include <iostream>
#include <vector>
#include <map>
#include <set>
#include <cmath>
#include <cstdlib>
#include <array>
#include <type_traits>
... | 25.497967 | 154 | 0.554404 | [
"vector"
] |
d47ad955b8edfb22226e27a00da37d5c2854ef6d | 3,310 | cpp | C++ | src/invocation.cpp | brainshave/v8cl | 014a939568db9983d9f10b20f63f6e815fe6dd58 | [
"MIT"
] | 1 | 2015-10-07T12:56:48.000Z | 2015-10-07T12:56:48.000Z | src/invocation.cpp | brainshave/v8cl | 014a939568db9983d9f10b20f63f6e815fe6dd58 | [
"MIT"
] | null | null | null | src/invocation.cpp | brainshave/v8cl | 014a939568db9983d9f10b20f63f6e815fe6dd58 | [
"MIT"
] | null | null | null | #include "v8cl.h"
#define V8CL_ERROR_WRAPPER_MISSING "Wrapper missing."
#define V8CL_ERROR_FUNCTION_NOT_IMPLEMENTED "Function not implemented."
#define V8CL_ERROR_NEED_MORE_ARGUMENTS "Need more arguments, in total:"
#define V8CL_ERROR_UNKNOWN_OPENCL_ERROR "Unknown WebCL error code:"
#define V8CL_INV... | 28.534483 | 77 | 0.604834 | [
"vector"
] |
d47ba9794d29a0e776ed2d4095ebbb3ebe1c7510 | 9,659 | cpp | C++ | XCPLib/XCPMaster.cpp | zhuhaijun753/XCP | f510dc96fbfad07170733eb96780c6af51882e37 | [
"Unlicense"
] | 62 | 2017-11-22T14:02:27.000Z | 2022-03-17T07:52:41.000Z | XCPLib/XCPMaster.cpp | SushMJ/XCP_OverCAN | 299f3d9c7672b5111a2c23ffff2e650395618a4d | [
"Unlicense"
] | 5 | 2018-02-23T12:36:22.000Z | 2022-01-24T04:02:45.000Z | XCPLib/XCPMaster.cpp | SushMJ/XCP_OverCAN | 299f3d9c7672b5111a2c23ffff2e650395618a4d | [
"Unlicense"
] | 17 | 2018-02-22T17:24:19.000Z | 2022-03-17T07:52:34.000Z | #include "XCPMaster.h"
#include "TCPMessageFactory.h"
#include "CANMessageFactory.h"
#include "IncomingMessageHandler.h"
//#include <vld.h>
const XCPMaster::SlaveProperties& XCPMaster::GetSlaveProperties() const
{
return m_SlaveProperties;
}
void XCPMaster::SetSlaveProperties(const SlaveProperties& properties)
{
m_... | 29.811728 | 238 | 0.78124 | [
"vector"
] |
d47ec6653ace12be215cd6472445ad5c0472b161 | 14,802 | cc | C++ | src/terrain_render.cc | aeonstasis/opengl-ocean-world | 196ac5d7170fc57cdfd3a8e25245bb48fe80384d | [
"MIT"
] | 3 | 2019-12-13T09:01:28.000Z | 2021-10-02T23:25:07.000Z | src/terrain_render.cc | aaron-zou/opengl-ocean-world | 196ac5d7170fc57cdfd3a8e25245bb48fe80384d | [
"MIT"
] | null | null | null | src/terrain_render.cc | aaron-zou/opengl-ocean-world | 196ac5d7170fc57cdfd3a8e25245bb48fe80384d | [
"MIT"
] | 1 | 2021-10-02T23:25:10.000Z | 2021-10-02T23:25:10.000Z | #include "terrain_render.h"
#include "perlin.hpp"
#include <GL/glew.h>
#include <algorithm>
#include <cmath>
#include <glm/gtx/rotate_vector.hpp>
#include <iostream>
#include <random>
const char *terrain_vertex_shader =
#include "shaders/terrain.vert"
;
const char *terrain_geometry_shader =
#include "shaders/ter... | 37.284635 | 80 | 0.611607 | [
"vector",
"transform"
] |
d47f808abe108b9e32ef548e3fa0761d75e70c84 | 5,296 | cpp | C++ | dali/internal/render/common/render-item.cpp | vcebollada/dali-core | 1f880695d4f6cb871db7f946538721e882ba1633 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali/internal/render/common/render-item.cpp | vcebollada/dali-core | 1f880695d4f6cb871db7f946538721e882ba1633 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-03-22T10:19:17.000Z | 2020-03-22T10:19:17.000Z | dali/internal/render/common/render-item.cpp | fayhot/dali-core | a69ea317f30961164520664a645ac36c387055ef | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2018 Samsung Electronics 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 applicable... | 40.738462 | 144 | 0.679758 | [
"render",
"object",
"vector",
"transform"
] |
d4800f2e58199dded92863eacba7b2de928169b3 | 10,573 | cpp | C++ | src/io/read_obj.cpp | ipc-sim/rigid-ipc | d839af457236e7363b14c2e482a01d8160fa447e | [
"MIT"
] | 71 | 2021-09-08T13:16:43.000Z | 2022-03-27T10:23:33.000Z | src/io/read_obj.cpp | ipc-sim/rigid-ipc | d839af457236e7363b14c2e482a01d8160fa447e | [
"MIT"
] | 4 | 2021-09-08T00:16:20.000Z | 2022-01-05T17:44:08.000Z | src/io/read_obj.cpp | ipc-sim/rigid-ipc | d839af457236e7363b14c2e482a01d8160fa447e | [
"MIT"
] | 2 | 2021-09-18T15:15:38.000Z | 2021-09-21T15:15:38.000Z | // Modified version of read_obj from libigl to include reading polyline elements
// as edges.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// o... | 35.009934 | 80 | 0.445663 | [
"vector"
] |
d481ef831c529fc1906fa4d4ab37f7347b300884 | 4,778 | cpp | C++ | LeetCode/C++/22. Generate Parentheses.cpp | shreejitverma/GeeksforGeeks | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-18T05:14:28.000Z | 2022-03-08T07:00:08.000Z | LeetCode/C++/22. Generate Parentheses.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 6 | 2022-01-13T04:31:04.000Z | 2022-03-12T01:06:16.000Z | LeetCode/C++/22. Generate Parentheses.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-14T19:53:53.000Z | 2022-02-18T05:14:30.000Z | //backtrack
//Runtime: 4 ms, faster than 89.87% of C++ online submissions for Generate Parentheses.
//Memory Usage: 7 MB, less than 100.00% of C++ online submissions for Generate Parentheses.
class Solution {
public:
vector<char> pars = {'(', ')'};
void backtrack(int& n, string& comb, vector<string>& comb... | 30.433121 | 93 | 0.528464 | [
"vector"
] |
d48c8597f1f399ee1155246935258ea386177f11 | 715 | cpp | C++ | leetcode/0009_palindrome_number.cpp | jacquerie/leetcode | a05e6b832eb0e0740aaff7b2eb3109038ad404bf | [
"MIT"
] | 3 | 2018-05-10T09:56:49.000Z | 2020-11-07T18:09:42.000Z | leetcode/0009_palindrome_number.cpp | jacquerie/leetcode | a05e6b832eb0e0740aaff7b2eb3109038ad404bf | [
"MIT"
] | null | null | null | leetcode/0009_palindrome_number.cpp | jacquerie/leetcode | a05e6b832eb0e0740aaff7b2eb3109038ad404bf | [
"MIT"
] | null | null | null | // Copyright (c) 2018 Jacopo Notarstefano
#include <cassert>
#include <vector>
using namespace std;
class Solution {
public:
bool isPalindrome(int x) {
if (x < 0) {
return false;
}
vector<int> digits;
while (x) {
digits.push_back(x % 10);
x /=... | 18.333333 | 49 | 0.48951 | [
"vector"
] |
d494e3bbe416ec8dd37667e44bc31b2e37d21c12 | 5,912 | cpp | C++ | src/sobolev/constraints/barycenter_components.cpp | Conrekatsu/repulsive-surfaces | 74d6a16e6ca55c8296fa5a49757c2318bea62a84 | [
"MIT"
] | 35 | 2021-12-13T09:58:08.000Z | 2022-03-30T11:03:01.000Z | src/sobolev/constraints/barycenter_components.cpp | Conrekatsu/repulsive-surfaces | 74d6a16e6ca55c8296fa5a49757c2318bea62a84 | [
"MIT"
] | null | null | null | src/sobolev/constraints/barycenter_components.cpp | Conrekatsu/repulsive-surfaces | 74d6a16e6ca55c8296fa5a49757c2318bea62a84 | [
"MIT"
] | 3 | 2022-02-25T06:46:34.000Z | 2022-03-16T05:46:53.000Z | #include "sobolev/constraints/barycenter_components.h"
#include "helpers.h"
#include <deque>
namespace rsurfaces
{
namespace Constraints
{
void fillComponents(const MeshPtr mesh, const GeomPtr geom, std::vector<std::vector<GCVertex>> &components)
{
surface::VertexData<bool> grouped... | 36.720497 | 155 | 0.516407 | [
"mesh",
"vector"
] |
d4956338a5ccabc58b3b06f81ddd44993cf559ad | 366 | cc | C++ | cpp/hackranker/h20.cc | staugust/leetcode | 0ddd0b0941e596d3c6a21b6717d0dd193025f580 | [
"Apache-2.0"
] | null | null | null | cpp/hackranker/h20.cc | staugust/leetcode | 0ddd0b0941e596d3c6a21b6717d0dd193025f580 | [
"Apache-2.0"
] | null | null | null | cpp/hackranker/h20.cc | staugust/leetcode | 0ddd0b0941e596d3c6a21b6717d0dd193025f580 | [
"Apache-2.0"
] | null | null | null | /*
*
*/
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <iomanip>
#include <cstdlib>
#include <cstdio>
#include <map>
#include <set>
#include <deque>
#include <queue>
// Complete the strangeCounter function below.
long strangeCounter(long t) {
int it = 3;
while (t > it) {
t... | 15.25 | 47 | 0.639344 | [
"vector"
] |
d4a11176f3e41630e937b82b3c1c539fa324bd85 | 9,183 | hpp | C++ | quantumvk/vulkan/graphics/render_pass.hpp | timith/QuantumVk | 1d6dcfd8a12336763ec815b19b6514db8b2ea9e8 | [
"MIT"
] | null | null | null | quantumvk/vulkan/graphics/render_pass.hpp | timith/QuantumVk | 1d6dcfd8a12336763ec815b19b6514db8b2ea9e8 | [
"MIT"
] | null | null | null | quantumvk/vulkan/graphics/render_pass.hpp | timith/QuantumVk | 1d6dcfd8a12336763ec815b19b6514db8b2ea9e8 | [
"MIT"
] | null | null | null | #pragma once
#include "quantumvk/utils/hash.hpp"
#include "quantumvk/utils/intrusive.hpp"
#include "quantumvk/utils/object_pool.hpp"
#include "quantumvk/utils/temporary_hashmap.hpp"
#include "quantumvk/vulkan/images/image.hpp"
#include "quantumvk/vulkan/misc/cookie.hpp"
#include "quantumvk/vulkan/misc/limits.hpp"
#... | 30.009804 | 204 | 0.768594 | [
"render",
"vector"
] |
d4a68fc928a94a3786a9d306d48a330c133345c3 | 3,171 | cpp | C++ | old/NeuralNetworkMT.cpp | mrnul/Neural-nets | c28c61ab6123298d3a0b1b0f6c0fe0ab9d7f3edf | [
"MIT"
] | 2 | 2019-11-14T01:20:36.000Z | 2020-06-18T17:13:27.000Z | old/NeuralNetworkMT.cpp | mrnul/Neural-nets | c28c61ab6123298d3a0b1b0f6c0fe0ab9d7f3edf | [
"MIT"
] | null | null | null | old/NeuralNetworkMT.cpp | mrnul/Neural-nets | c28c61ab6123298d3a0b1b0f6c0fe0ab9d7f3edf | [
"MIT"
] | 1 | 2020-03-07T09:36:26.000Z | 2020-03-07T09:36:26.000Z | #include <MyHeaders\NeuralNetworkMT.h>
NeuralNetworkMT::NeuralNetworkMT()
{
//hmmm...
}
NeuralNetworkMT::NeuralNetworkMT(const vector<unsigned int> topology, const int threads)
{
Initialize(topology, threads);
}
void NeuralNetworkMT::Initialize(const vector<unsigned int> topology, const int threads)
{... | 24.392308 | 143 | 0.65626 | [
"vector"
] |
d4a87765313f3a68d4028e1f23a9d09f606bf9c2 | 20,679 | cc | C++ | demo_drivers/heat_transfer_and_melting/two_d_unsteady_heat_melt/solid_contact.cc | PuneetMatharu/oomph-lib | edd590cbb4f3ef9940b9738f18275ea2fb828c55 | [
"RSA-MD"
] | null | null | null | demo_drivers/heat_transfer_and_melting/two_d_unsteady_heat_melt/solid_contact.cc | PuneetMatharu/oomph-lib | edd590cbb4f3ef9940b9738f18275ea2fb828c55 | [
"RSA-MD"
] | 1 | 2022-03-23T16:16:41.000Z | 2022-03-23T16:16:41.000Z | demo_drivers/heat_transfer_and_melting/two_d_unsteady_heat_melt/solid_contact.cc | PuneetMatharu/oomph-lib | edd590cbb4f3ef9940b9738f18275ea2fb828c55 | [
"RSA-MD"
] | null | null | null | //LIC// ====================================================================
//LIC// This file forms part of oomph-lib, the object-oriented,
//LIC// multi-physics finite-element library, available
//LIC// at http://www.oomph-lib.org.
//LIC//
//LIC// Copyright (C) 2006-2022 Matthias Heil and Andrew Hazel
//LIC//
//L... | 28.60166 | 82 | 0.649838 | [
"mesh",
"object",
"vector",
"solid"
] |
d4add560e7869e38608d69ed19c34aadf9c4deee | 1,104 | cc | C++ | srcs/apt-1.0.9.2/apt-pkg/vendor.cc | Ziul/tcc1 | 97dc2b9afcd6736aa8158066b95a698301629543 | [
"CC-BY-3.0"
] | null | null | null | srcs/apt-1.0.9.2/apt-pkg/vendor.cc | Ziul/tcc1 | 97dc2b9afcd6736aa8158066b95a698301629543 | [
"CC-BY-3.0"
] | 2 | 2015-11-21T02:30:20.000Z | 2015-11-21T02:30:35.000Z | srcs/apt-1.0.9.2/apt-pkg/vendor.cc | Ziul/tcc1 | 97dc2b9afcd6736aa8158066b95a698301629543 | [
"CC-BY-3.0"
] | null | null | null | #include<config.h>
#include <apt-pkg/vendor.h>
#include <apt-pkg/configuration.h>
#include <iostream>
#include <map>
#include <string>
#include <utility>
#include <vector>
Vendor::Vendor(std::string VendorID,
std::string Origin,
std::vector<struct Vendor::Fingerprint *> *FingerprintList)
{
... | 26.285714 | 89 | 0.622283 | [
"vector"
] |
d4aece98982717d28d05e4450330ac0b23b35bfc | 465 | hpp | C++ | vector.hpp | dominiKoeppl/distinct_squares | af497ea9e87e65cfeecf6d2a00fdc4df00c3180b | [
"BSD-2-Clause"
] | 2 | 2017-02-04T14:18:56.000Z | 2021-06-12T07:24:02.000Z | vector.hpp | koeppl/distinct_squares | ded607a7f7ad381b5c7fb759b4301989bfd2b2d8 | [
"BSD-2-Clause"
] | null | null | null | vector.hpp | koeppl/distinct_squares | ded607a7f7ad381b5c7fb759b4301989bfd2b2d8 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#ifndef VECTOR_HPP
#define VECTOR_HPP
#include <vector>
#include <stdexcept>
template<class T>
class Vector : public std::vector<T>
{
public:
using std::vector<T>::vector;
#ifndef NDEBUG
T& operator[](size_t n) /*override*/ {
DCHECK_LT(n, this->size());
return std::vector<T>::at(n);
}
const T... | 17.884615 | 52 | 0.651613 | [
"vector"
] |
d4b001baadfab649286b850246f6ae6456d88143 | 2,299 | hpp | C++ | include/UnityEngine/UI/IMask.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/UI/IMask.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/UI/IMask.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Completed includes
// Begin forward declares
// Forward declaring namespace: UnityEngi... | 41.8 | 175 | 0.695955 | [
"vector"
] |
d4b26da7c090c843e9914415d559642057dc8ff6 | 1,369 | cpp | C++ | PrehistoricEngine/src/engine/platform/vulkan/rendering/descriptors/VKDescriptorSet.cpp | Andrispowq/PrehistoricEngine---C- | 04159c9119b2f5e0148de21a85aa0dab2d6ba60e | [
"Apache-2.0"
] | 1 | 2020-12-04T13:36:03.000Z | 2020-12-04T13:36:03.000Z | PrehistoricEngine/src/engine/platform/vulkan/rendering/descriptors/VKDescriptorSet.cpp | Andrispowq/PrehistoricEngine---C- | 04159c9119b2f5e0148de21a85aa0dab2d6ba60e | [
"Apache-2.0"
] | null | null | null | PrehistoricEngine/src/engine/platform/vulkan/rendering/descriptors/VKDescriptorSet.cpp | Andrispowq/PrehistoricEngine---C- | 04159c9119b2f5e0148de21a85aa0dab2d6ba60e | [
"Apache-2.0"
] | null | null | null | #include "Includes.hpp"
#include "VKDescriptorSet.h"
namespace Prehistoric
{
VKDescriptorSet::VKDescriptorSet(const VKDescriptorSet& other)
: device(other.device), swapchain(other.swapchain), set_index(other.set_index)
{
bindings.reserve(other.bindings.size());
for (VKDescriptorSetBinding* binding : other.bin... | 25.351852 | 101 | 0.750183 | [
"object",
"vector"
] |
d4b53b38ef5f79001d8c04644dc628674234121f | 7,609 | cpp | C++ | Jolt/Physics/Body/BodyCreationSettings.cpp | sherief/JoltPhysics | aa6910724d54e81a451bef6deb1544bd6b33541f | [
"MIT"
] | null | null | null | Jolt/Physics/Body/BodyCreationSettings.cpp | sherief/JoltPhysics | aa6910724d54e81a451bef6deb1544bd6b33541f | [
"MIT"
] | null | null | null | Jolt/Physics/Body/BodyCreationSettings.cpp | sherief/JoltPhysics | aa6910724d54e81a451bef6deb1544bd6b33541f | [
"MIT"
] | null | null | null | // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
// SPDX-License-Identifier: MIT
#include <Jolt/Jolt.h>
#include <Jolt/Physics/Body/BodyCreationSettings.h>
#include <Jolt/ObjectStream/TypeDeclarations.h>
#include <Jolt/Core/StreamIn.h>
#include <Jolt/Core/StreamOut.h>
JPH_NAMESPACE_BEGIN
JPH_IMPLEMENT_SERIALIZABLE_NON_... | 30.558233 | 190 | 0.786963 | [
"shape"
] |
d4b58d07c4701137b7fc7ffa3260af9784c88db5 | 2,729 | cpp | C++ | src/Base/MultiValueSeqGraphView.cpp | rafaelxero/choreonoid | c7273027655f4bc72568888ffd863a1d289d6fdc | [
"MIT"
] | null | null | null | src/Base/MultiValueSeqGraphView.cpp | rafaelxero/choreonoid | c7273027655f4bc72568888ffd863a1d289d6fdc | [
"MIT"
] | null | null | null | src/Base/MultiValueSeqGraphView.cpp | rafaelxero/choreonoid | c7273027655f4bc72568888ffd863a1d289d6fdc | [
"MIT"
] | null | null | null | /**
@author Shin'ichiro Nakaoka
*/
#include "MultiValueSeqGraphView.h"
#include "ViewManager.h"
#include <boost/lexical_cast.hpp>
#include "gettext.h"
using namespace std;
using namespace cnoid;
using namespace std::placeholders;
void MultiValueSeqGraphView::initializeClass(ExtensionManager* ext)
{
ext->view... | 27.846939 | 124 | 0.711616 | [
"vector"
] |
d4b59241f8517aa42b53f64b412c354725e57f61 | 4,218 | cpp | C++ | src/game/server/tf/func_forcefield.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/game/server/tf/func_forcefield.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/game/server/tf/func_forcefield.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "cbase.h"
#include "func_forcefield.h"
#include "tf_shareddefs.h"
#include "tf_gamerules.h"
// memdbgon must be the last include fil... | 27.933775 | 109 | 0.458511 | [
"vector",
"solid"
] |
d4b5e4bba2f036846a6e2c2afe6807dee041c522 | 6,742 | cpp | C++ | src/lib/cli_cpp/cmd/A_CLI_Command.cpp | marvins/cli-cpp | 4f98a09d5cfeffe0d5c330cda3272ae207c511d1 | [
"MIT"
] | 4 | 2020-10-08T03:09:10.000Z | 2022-03-13T09:22:51.000Z | src/lib/cli_cpp/cmd/A_CLI_Command.cpp | marvins/cli-cpp | 4f98a09d5cfeffe0d5c330cda3272ae207c511d1 | [
"MIT"
] | 4 | 2015-05-30T17:40:46.000Z | 2015-07-01T01:10:16.000Z | src/lib/cli_cpp/cmd/A_CLI_Command.cpp | marvins/cli-cpp | 4f98a09d5cfeffe0d5c330cda3272ae207c511d1 | [
"MIT"
] | 2 | 2015-06-02T20:07:39.000Z | 2020-12-16T09:25:38.000Z | /**
* @file A_CLI_Command.cpp
* @author Marvin Smith
* @date 5/19/2015
*/
#include "A_CLI_Command.hpp"
// C++ Standard Libraries
#include <iostream>
// CLI Libraries
#include "../utility/String_Utilities.hpp"
namespace CLI{
namespace CMD{
/***********************************/
/* Constructor ... | 26.648221 | 88 | 0.474043 | [
"vector"
] |
d4b8293efb38cb9771eb5112d4ac6f2413d0cd2e | 1,346 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 326 | 2015-02-08T13:47:49.000Z | 2022-03-16T02:13:59.000Z | ReactNativeFrontend/ios/Pods/boost/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 623 | 2015-01-02T23:45:23.000Z | 2022-03-09T11:15:23.000Z | ReactNativeFrontend/ios/Pods/boost/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 215 | 2015-01-14T15:50:38.000Z | 2022-02-23T03:58:36.000Z | // Boost.Geometry Index
//
// R-tree leaf node checking visitor implementation
//
// Copyright (c) 2011-2015 Adam Wulkiewicz, Lodz, Poland.
//
// This file was modified by Oracle on 2019.
// Modifications copyright (c) 2019 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Or... | 26.392157 | 79 | 0.732541 | [
"geometry"
] |
d4b8e17eab7c6d0f0ffdad28c19402a73c9d1535 | 5,074 | cpp | C++ | SPOJ/SPOJ - OTOCI/Accepted (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | SPOJ/SPOJ - OTOCI/Accepted (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | SPOJ/SPOJ - OTOCI/Accepted (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: 2020-09-30 18:55:33
* solution_verdict: Accepted language: C++
* run... | 24.872549 | 111 | 0.565826 | [
"vector"
] |
d4ba3bb6e40eaca0354448abe2ff71f125749972 | 1,390 | hpp | C++ | radix_sort/headers/count_sort_rad.hpp | im029/Algorithms_DataStructures | 5d60d298c382935955934f84a59d0fe8c43a2bad | [
"MIT"
] | null | null | null | radix_sort/headers/count_sort_rad.hpp | im029/Algorithms_DataStructures | 5d60d298c382935955934f84a59d0fe8c43a2bad | [
"MIT"
] | null | null | null | radix_sort/headers/count_sort_rad.hpp | im029/Algorithms_DataStructures | 5d60d298c382935955934f84a59d0fe8c43a2bad | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
/**
count_sort.hpp
purpose: sorts a vector using count sort
@author: Ishant Malik; Algorithm taken from CLRS
@version: 1.0.0 08/04/2018
*/
void count_sort(std::vector<std::vector<int > *> *const arr, std::vector<std::vector<int> *> *const arr2, const int key)
{
// variable to... | 32.325581 | 120 | 0.627338 | [
"vector"
] |
d4bccecba6ee10d52564af60557d07cbe4ad9aa5 | 1,222 | hpp | C++ | third_party/boost/simd/function/genmask.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 6 | 2018-02-25T22:23:33.000Z | 2021-01-15T15:13:12.000Z | third_party/boost/simd/function/genmask.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/function/genmask.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 7 | 2017-12-12T12:36:31.000Z | 2020-02-10T14:27:07.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)
*/
//=========================... | 23.5 | 100 | 0.596563 | [
"object"
] |
d4bd65c8b060d8aa681f55d281b8540935c8d0bd | 1,475 | cpp | C++ | LeetCode/algorithms/permutations/solution.cpp | cuihaoleo/exercises | 401dc2f19b6474e84e357a79a53754684fc93784 | [
"WTFPL"
] | 1 | 2015-08-30T10:06:41.000Z | 2015-08-30T10:06:41.000Z | LeetCode/algorithms/permutations/solution.cpp | cuihaoleo/exercises | 401dc2f19b6474e84e357a79a53754684fc93784 | [
"WTFPL"
] | null | null | null | LeetCode/algorithms/permutations/solution.cpp | cuihaoleo/exercises | 401dc2f19b6474e84e357a79a53754684fc93784 | [
"WTFPL"
] | null | null | null | #include <vector>
#include <numeric>
#include <algorithm>
using std::vector;
int factorial(int n) {
int ret = 1;
for (int i = 2; i <= n; i++) ret *= i;
return ret;
}
class Solution {
public:
vector<vector<int>> permute(vector<int>& nums) {
int n = nums.size();
int returnSize = factori... | 25 | 82 | 0.463729 | [
"vector"
] |
d4cf96920a92864b736ab0cb71156307db4cb0b6 | 8,010 | cpp | C++ | src/usb-hid/raw/rawinput.cpp | Florin9doi/USBqemu-wheel | 2206de0fc818dc4334acd766b88b7d07ff4edb54 | [
"Unlicense"
] | 75 | 2015-02-05T05:56:49.000Z | 2022-03-18T23:05:01.000Z | src/usb-hid/raw/rawinput.cpp | Florin9doi/USBqemu-wheel | 2206de0fc818dc4334acd766b88b7d07ff4edb54 | [
"Unlicense"
] | 56 | 2015-08-08T16:37:35.000Z | 2022-01-13T21:31:28.000Z | src/usb-hid/raw/rawinput.cpp | Florin9doi/USBqemu-wheel | 2206de0fc818dc4334acd766b88b7d07ff4edb54 | [
"Unlicense"
] | 20 | 2015-09-06T19:12:57.000Z | 2022-03-22T19:39:06.000Z | #include "rawinput.h"
#include "../../Win32/Config.h"
#include "qemu-usb/input-keymap.h"
#include "qemu-usb/input-keymap-win32-to-qcode.h"
namespace usb_hid
{
namespace raw
{
#define CHECK(exp) \
do \
{ \
if (!(exp)) \
goto Error; \
} while (0)
#define SAFE_FREE(p... | 27.244898 | 118 | 0.650062 | [
"transform"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.