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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f672d2a108cc99f3214eaa3a4dbeefedec9f0efa | 16,095 | cpp | C++ | clang/lib/Driver/ToolChains/HIPAMD.cpp | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | clang/lib/Driver/ToolChains/HIPAMD.cpp | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | clang/lib/Driver/ToolChains/HIPAMD.cpp | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | //===--- HIPAMD.cpp - HIP Tool and ToolChain Implementations ----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 38.876812 | 80 | 0.653992 | [
"object",
"vector"
] |
f675b0f212c59a58327653ff03d8a5aedb1fbda3 | 2,504 | cpp | C++ | BFS/iterateGridForMaxIterationsToReachEveryPosBFS.cpp | jkerkela/best-algorithm-collection | 6b22536a9f8ebdf3ae134031d41becf30066a5ef | [
"MIT"
] | null | null | null | BFS/iterateGridForMaxIterationsToReachEveryPosBFS.cpp | jkerkela/best-algorithm-collection | 6b22536a9f8ebdf3ae134031d41becf30066a5ef | [
"MIT"
] | null | null | null | BFS/iterateGridForMaxIterationsToReachEveryPosBFS.cpp | jkerkela/best-algorithm-collection | 6b22536a9f8ebdf3ae134031d41becf30066a5ef | [
"MIT"
] | null | null | null | class Solution {
public:
int nextStepDims[4][2] = { {0,1},{0,-1},{1,0},{-1,0} };
int orangesRotting(vector<vector<int>>& grid) {
return stepsNeededForSpreadingRotOverGrid(grid);
}
int stepsNeededForSpreadingRotOverGrid(vector<vector<int>>& grid) {
int gridWidth = grid[0].s... | 41.733333 | 174 | 0.555112 | [
"vector"
] |
f6773d944950bf9a6648a99db5dc141e931f2863 | 35,494 | cpp | C++ | openstudiocore/src/model/EvaporativeCoolerIndirectResearchSpecial.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2017-10-13T09:23:04.000Z | 2017-10-13T09:23:04.000Z | openstudiocore/src/model/EvaporativeCoolerIndirectResearchSpecial.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | null | null | null | openstudiocore/src/model/EvaporativeCoolerIndirectResearchSpecial.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2022-03-20T13:19:42.000Z | 2022-03-20T13:19:42.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... | 48.755495 | 165 | 0.807714 | [
"vector",
"model"
] |
f6776803f2fa96ba832948a6042bd0b6a4af057f | 7,181 | cpp | C++ | Day17/src/main.cpp | tux2nicolae/AOC-2019 | f69f873b28954396a6adc1a6d179c62a8155683c | [
"MIT"
] | null | null | null | Day17/src/main.cpp | tux2nicolae/AOC-2019 | f69f873b28954396a6adc1a6d179c62a8155683c | [
"MIT"
] | null | null | null | Day17/src/main.cpp | tux2nicolae/AOC-2019 | f69f873b28954396a6adc1a6d179c62a8155683c | [
"MIT"
] | 1 | 2019-12-11T15:18:18.000Z | 2019-12-11T15:18:18.000Z | /**
* Advent of code 2019
* @author : Nicolae Telechi
*/
#include <iostream>
#include <fstream>
#include <string>
#include <memory>
#include <algorithm>
#include <vector>
#include <sstream>
#include <fstream>
#include <map>
#include <set>
#include <unordered_map>
#include <optional>
#include <numeric>
#include <asse... | 18.749347 | 90 | 0.494917 | [
"vector"
] |
f6793bb268a2b671ad75e3a48b620ede4cd9281f | 10,868 | cc | C++ | tincan/trunk/src/tincan.cc | saumitraaditya/evio | aa0b118b07008cb08f8825e67614e58acc8660cf | [
"MIT"
] | null | null | null | tincan/trunk/src/tincan.cc | saumitraaditya/evio | aa0b118b07008cb08f8825e67614e58acc8660cf | [
"MIT"
] | null | null | null | tincan/trunk/src/tincan.cc | saumitraaditya/evio | aa0b118b07008cb08f8825e67614e58acc8660cf | [
"MIT"
] | null | null | null | /*
* EdgeVPNio
* Copyright 2020, University of Florida
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 28.082687 | 81 | 0.693228 | [
"vector"
] |
f679c78e959b53f0a6c8764b73c16f240d14302f | 16,693 | cc | C++ | src/FF/source/SimpleFF.cc | asu-cactus/netsdb | fe6ae0e1dcd07ea0b9a47ff4a657d5ed029c7af5 | [
"Apache-2.0"
] | 13 | 2022-01-17T16:14:26.000Z | 2022-03-30T02:06:04.000Z | src/FF/source/SimpleFF.cc | asu-cactus/netsdb | fe6ae0e1dcd07ea0b9a47ff4a657d5ed029c7af5 | [
"Apache-2.0"
] | 1 | 2022-01-28T23:17:14.000Z | 2022-01-28T23:17:14.000Z | src/FF/source/SimpleFF.cc | asu-cactus/netsdb | fe6ae0e1dcd07ea0b9a47ff4a657d5ed029c7af5 | [
"Apache-2.0"
] | 3 | 2022-01-18T02:13:53.000Z | 2022-03-06T19:28:19.000Z | #include "SimpleFF.h"
#include "FFAggMatrix.h"
#include "FFInputLayerJoin.h"
#include "FFMatrixBlock.h"
#include "FFMatrixBlockScanner.h"
#include "FFMatrixData.h"
#include "FFMatrixMeta.h"
#include "FFMatrixWriter.h"
#include "FFOutputLayer.h"
#include "FFReluBiasSum.h"
#include "FFRowAggregate.h"
#include "FFTranspo... | 35.592751 | 117 | 0.674594 | [
"vector"
] |
f67a4e9685e4a0474b5c4401efb7f776ecef64b8 | 25,669 | cpp | C++ | Engine/Source/Editor/Sequencer/Private/SequencerActorBindingManager.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Editor/Sequencer/Private/SequencerActorBindingManager.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Editor/Sequencer/Private/SequencerActorBindingManager.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "SequencerPrivatePCH.h"
#include "SequencerActorBindingManager.h"
#include "Sequencer.h"
#include "MovieScene.h"
#include "Toolkits/IToolkitHost.h"
#include "Kismet2/BlueprintEditorUtils.h"
#include "K2Node_PlayMovieScene.h"
#include "MovieSceneInst... | 32.410354 | 237 | 0.720986 | [
"object"
] |
f67b7e7a74009ae0d435a2d80aa8cf3da728409a | 10,065 | cpp | C++ | tutorials/31_framebuffer_access/main.cpp | Speedwag00n/RadeonProRenderSDK | 015becd5b81c772c5edfa07b5469e32ecef5e6be | [
"Apache-2.0"
] | null | null | null | tutorials/31_framebuffer_access/main.cpp | Speedwag00n/RadeonProRenderSDK | 015becd5b81c772c5edfa07b5469e32ecef5e6be | [
"Apache-2.0"
] | 1 | 2021-04-03T09:39:52.000Z | 2021-04-03T09:39:52.000Z | tutorials/31_framebuffer_access/main.cpp | isabella232/RadeonProRenderSDK | 838267ae910b21b828dea098bf71ed03fc9ee8b4 | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************\
*
* Module Name simple_render.cpp
* Project Radeon ProRender rendering tutorial
*
* Description Radeon ProRender SDK tutorials
*
* Copyright 2011 - 2020 Advanced Micro Devices, Inc.
*
* All rights reserved. This notice i... | 35.565371 | 112 | 0.738897 | [
"mesh",
"render",
"transform"
] |
f67c0abdb9a859da514706354fae033a7fedba03 | 6,727 | hpp | C++ | utils/sdiy/io/numpy.hpp | inealey/SENSEI | 45d073d26e0cf05ebd64cfd81138d04e69f6d39d | [
"BSD-3-Clause-LBNL"
] | 11 | 2021-06-22T19:05:43.000Z | 2022-02-01T13:36:47.000Z | utils/sdiy/io/numpy.hpp | inealey/SENSEI | 45d073d26e0cf05ebd64cfd81138d04e69f6d39d | [
"BSD-3-Clause-LBNL"
] | 28 | 2021-07-22T17:52:57.000Z | 2022-03-31T15:31:28.000Z | utils/sdiy/io/numpy.hpp | inealey/SENSEI | 45d073d26e0cf05ebd64cfd81138d04e69f6d39d | [
"BSD-3-Clause-LBNL"
] | 8 | 2021-06-23T17:06:59.000Z | 2021-09-03T13:26:13.000Z | #ifndef DIY_IO_NMPY_HPP
#define DIY_IO_NMPY_HPP
#include <sstream>
#include <complex>
#include <stdexcept>
#include "../serialization.hpp"
#include "bov.hpp"
namespace sdiy
{
namespace io
{
class NumPy: public BOV
{
public:
NumPy(mpi::io::file& f):
BOV(f) ... | 31.434579 | 129 | 0.581388 | [
"shape",
"vector"
] |
f681d314021bb5184e18cb6b99047b3522dd2d50 | 382 | cpp | C++ | src/ShinyColor.cpp | lzanotto/mo802-spitz | 3d3ce9f0fa6d345bd309aea5e2f4f64a8a4f4714 | [
"Apache-2.0"
] | 175 | 2015-01-03T21:50:11.000Z | 2022-03-07T00:20:08.000Z | src/ShinyColor.cpp | KsGin-Fork/RayTracer | 4c9f2dd389ace5f7601af367d2aa0e8db70b2b7d | [
"Apache-2.0"
] | 4 | 2016-08-04T10:13:04.000Z | 2020-10-26T09:36:35.000Z | src/ShinyColor.cpp | KsGin-Fork/RayTracer | 4c9f2dd389ace5f7601af367d2aa0e8db70b2b7d | [
"Apache-2.0"
] | 49 | 2015-03-04T16:13:21.000Z | 2022-02-23T00:27:13.000Z | #include "ShinyColor.h"
#include "Vector.h"
#include "Color.h"
ShinyColor::ShinyColor(std::istream& in) {
in >> color.r >> color.g >> color.b;
in >> shininess;
in >> reflectivity;
}
Color ShinyColor::getColor(Vector point) {
return color;
}
double ShinyColor::getShininess() {
return shininess;
}
dou... | 16.608696 | 42 | 0.67801 | [
"vector"
] |
f683fd48de4102f0a6bbbe867ed7587a80088ce4 | 3,016 | cc | C++ | tests/unittests/v8_unittest.cc | chromium-googlesource-mirror/chromiumembedded | f659ddbeb58e957a3c57a309cdcfc52c999fe719 | [
"BSD-3-Clause"
] | null | null | null | tests/unittests/v8_unittest.cc | chromium-googlesource-mirror/chromiumembedded | f659ddbeb58e957a3c57a309cdcfc52c999fe719 | [
"BSD-3-Clause"
] | null | null | null | tests/unittests/v8_unittest.cc | chromium-googlesource-mirror/chromiumembedded | f659ddbeb58e957a3c57a309cdcfc52c999fe719 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Embedded Framework 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 "include/cef_runnable.h"
#include "include/cef_v8.h"
#include "tests/unittests/test_handler.h"
#include "testing/gtest/inc... | 28.72381 | 78 | 0.615053 | [
"object"
] |
f68413178bd58bfa9b31427596ff48c3fc6c076d | 21,287 | cpp | C++ | arangod/Indexes/SortedIndexAttributeMatcher.cpp | Korov/arangodb | d1f8df028f8af60d1cd5708890f0d6ae75f9dd06 | [
"Apache-2.0"
] | 1 | 2020-10-27T12:19:33.000Z | 2020-10-27T12:19:33.000Z | arangod/Indexes/SortedIndexAttributeMatcher.cpp | Korov/arangodb | d1f8df028f8af60d1cd5708890f0d6ae75f9dd06 | [
"Apache-2.0"
] | null | null | null | arangod/Indexes/SortedIndexAttributeMatcher.cpp | Korov/arangodb | d1f8df028f8af60d1cd5708890f0d6ae75f9dd06 | [
"Apache-2.0"
] | 1 | 2020-10-01T08:49:12.000Z | 2020-10-01T08:49:12.000Z | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 39.640596 | 180 | 0.647672 | [
"vector"
] |
f68758f42e10ebfb8997d31138daa390ee2ddfec | 20,769 | cpp | C++ | src/armnnOnnxParser/test/Gemm.cpp | sahilbandar/armnn | 249950645b7bc0593582182097c7e2f1d6d97442 | [
"MIT"
] | 1 | 2022-02-10T11:06:30.000Z | 2022-02-10T11:06:30.000Z | src/armnnOnnxParser/test/Gemm.cpp | Elm8116/armnn | e571cde8411803aec545b1070ed677e481f46f3f | [
"MIT"
] | null | null | null | src/armnnOnnxParser/test/Gemm.cpp | Elm8116/armnn | e571cde8411803aec545b1070ed677e481f46f3f | [
"MIT"
] | null | null | null | //
// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "armnnOnnxParser/IOnnxParser.hpp"
#include "ParserPrototxtFixture.hpp"
#include "OnnxParserTestUtils.hpp"
TEST_SUITE("OnnxParser_Gemm")
{
struct GemmFixture : public armnnUtils::ParserPrototxtFixture<arm... | 37.287253 | 108 | 0.305985 | [
"shape",
"vector",
"model"
] |
f6875fe8ff33615eda803d302c9399e3bc7b22b3 | 67,822 | cc | C++ | zircon/system/utest/core/threads/threads.cc | EnderNightLord-ChromeBook/fuchsia-pine64-pinephone | 05e2c059b57b6217089090a0315971d1735ecf57 | [
"BSD-3-Clause"
] | 14 | 2020-10-25T05:48:36.000Z | 2021-09-20T02:46:20.000Z | zircon/system/utest/core/threads/threads.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | null | null | null | zircon/system/utest/core/threads/threads.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | 2 | 2020-10-25T01:13:49.000Z | 2020-10-26T02:32:13.000Z | // Copyright 2016 The Fuchsia Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/test-exceptions/exception-catcher.h>
#include <lib/test-exceptions/exception-handling.h>
#include <lib/zx/clock.h>
#include <lib/zx/event.... | 39.203468 | 100 | 0.742134 | [
"object"
] |
f68ea0c9869378681dcd8dde06bf91ac1cb5304f | 6,392 | cc | C++ | zetasql/common/errors.cc | dictav/zetasql | f4b7df010ae94941a984930a82175ee8836d9c0e | [
"Apache-2.0"
] | null | null | null | zetasql/common/errors.cc | dictav/zetasql | f4b7df010ae94941a984930a82175ee8836d9c0e | [
"Apache-2.0"
] | null | null | null | zetasql/common/errors.cc | dictav/zetasql | f4b7df010ae94941a984930a82175ee8836d9c0e | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2019 ZetaSQL 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 agree... | 38.275449 | 89 | 0.751252 | [
"vector"
] |
f690efb148322366e7e9f4a3840003b34eb13343 | 13,137 | hh | C++ | aspects/fluid/conductor/test/UtGunnsFluidPressureSensitiveValve.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 18 | 2020-01-23T12:14:09.000Z | 2022-02-27T22:11:35.000Z | aspects/fluid/conductor/test/UtGunnsFluidPressureSensitiveValve.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 39 | 2020-11-20T12:19:35.000Z | 2022-02-22T18:45:55.000Z | aspects/fluid/conductor/test/UtGunnsFluidPressureSensitiveValve.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 7 | 2020-02-10T19:25:43.000Z | 2022-03-16T01:10:00.000Z | #ifndef UtGunnsFluidPressureSensitiveValve_EXISTS
#define UtGunnsFluidPressureSensitiveValve_EXISTS
////////////////////////////////////////////////////////////////////////////////////////////////////
/// @defgroup UT_TSM_GUNNS_FLUID_CONDUCTOR_PRESSURE_SENSITIVE_VALVE Pressure Sensitive Valve Unit Test
/// @ingroup ... | 80.103659 | 168 | 0.50727 | [
"vector",
"model"
] |
f69211d0227fc583da808d939224e2b427c9b7ac | 60,847 | cpp | C++ | tests/vklayertests_best_practices.cpp | kedarthangudu/Vulkan-ValidationLayers | f4a485f0aedde2064c85907fa89aa489b398d253 | [
"Apache-2.0"
] | null | null | null | tests/vklayertests_best_practices.cpp | kedarthangudu/Vulkan-ValidationLayers | f4a485f0aedde2064c85907fa89aa489b398d253 | [
"Apache-2.0"
] | null | null | null | tests/vklayertests_best_practices.cpp | kedarthangudu/Vulkan-ValidationLayers | f4a485f0aedde2064c85907fa89aa489b398d253 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2015-2020 The Khronos Group Inc.
* Copyright (c) 2015-2020 Valve Corporation
* Copyright (c) 2015-2020 LunarG, Inc.
* Copyright (c) 2015-2020 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... | 43.493209 | 132 | 0.744178 | [
"geometry",
"vector",
"transform"
] |
f6946fa75df65d4efafe86d52e1c21609a50aa57 | 3,034 | hpp | C++ | src/modules/fpn/fpn_proposal_layer.m.hpp | xyt2008/frcnn | 32a559e881cceeba09a90ff45ad4aae1dabf92a1 | [
"BSD-2-Clause"
] | 198 | 2018-01-07T13:44:29.000Z | 2022-03-21T12:06:16.000Z | src/modules/fpn/fpn_proposal_layer.m.hpp | xyt2008/frcnn | 32a559e881cceeba09a90ff45ad4aae1dabf92a1 | [
"BSD-2-Clause"
] | 18 | 2018-02-01T13:24:53.000Z | 2021-04-26T10:51:47.000Z | src/modules/fpn/fpn_proposal_layer.m.hpp | xyt2008/frcnn | 32a559e881cceeba09a90ff45ad4aae1dabf92a1 | [
"BSD-2-Clause"
] | 82 | 2018-01-06T14:21:43.000Z | 2022-02-16T09:39:58.000Z | // ------------------------------------------------------------------
// Xuanyi . Refer to Dong Jian
// 2016/03/31
// ------------------------------------------------------------------
#ifndef CAFFE_FPN_PROPOSAL_LAYER_HPP_
#define CAFFE_FPN_PROPOSAL_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caf... | 31.604167 | 145 | 0.653922 | [
"object",
"vector"
] |
f6964b3ba4822b5759f5105768acffac1b939038 | 4,704 | hpp | C++ | core/algorithms/partitioning/slack_view.hpp | sjkelly/LSOracle | 21688c5d542740dfc8577349fa615ee655acd92c | [
"MIT"
] | null | null | null | core/algorithms/partitioning/slack_view.hpp | sjkelly/LSOracle | 21688c5d542740dfc8577349fa615ee655acd92c | [
"MIT"
] | 1 | 2021-07-26T22:09:49.000Z | 2021-07-26T22:09:49.000Z | core/algorithms/partitioning/slack_view.hpp | sjkelly/LSOracle | 21688c5d542740dfc8577349fa615ee655acd92c | [
"MIT"
] | 2 | 2021-07-26T14:46:51.000Z | 2021-11-09T11:32:09.000Z | /* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
*
* 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 u... | 32.441379 | 111 | 0.642219 | [
"vector"
] |
f69a84deda99df75dee19fac9dcf9ef7927e9d3e | 26,106 | cpp | C++ | apps/Analysis.cpp | MaftyNaveyuErin/Analysis | 1d1870befde835baf6efb4fcaec292ee536d13f8 | [
"MIT"
] | null | null | null | apps/Analysis.cpp | MaftyNaveyuErin/Analysis | 1d1870befde835baf6efb4fcaec292ee536d13f8 | [
"MIT"
] | 1 | 2021-08-04T08:20:00.000Z | 2021-08-04T08:20:00.000Z | apps/Analysis.cpp | MaftyNaveyuErin/Analysis | 1d1870befde835baf6efb4fcaec292ee536d13f8 | [
"MIT"
] | null | null | null | #include "CLI/CLI.hpp"
#include "Channel.hpp"
#include "Event.hpp"
#include "TCanvas.h"
#include "TFile.h"
#include "TH1F.h"
#include "TROOT.h"
#include "TSpectrum.h"
#include "TTree.h"
#include "TTreeReader.h"
#include "TPaveLabel.h"
#include "TStyle.h"
#include "TLine.h"
#include "TSystemDirectory.h"
#include <algor... | 33.129442 | 523 | 0.635984 | [
"vector"
] |
f69c22d2a95e2ffc08ea4e3ae0430c7957b5868a | 23,328 | cc | C++ | tensorflow/contrib/persona/kernels/snap-align/SnapAlignerWrapper.cc | epfl-dcsl/ptf-system | 16d634bf2572eb316112ea34630feaa90a560e5a | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/persona/kernels/snap-align/SnapAlignerWrapper.cc | epfl-dcsl/ptf-system | 16d634bf2572eb316112ea34630feaa90a560e5a | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/persona/kernels/snap-align/SnapAlignerWrapper.cc | epfl-dcsl/ptf-system | 16d634bf2572eb316112ea34630feaa90a560e5a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2019 École Polytechnique Fédérale de Lausanne. 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 by a... | 42.725275 | 197 | 0.60018 | [
"vector"
] |
f69ccd7c3cf069e8dc9aa44d2354accf9eb2aa1d | 10,454 | cpp | C++ | deps/src/boost_1_65_1/libs/spirit/classic/test/bug_fixes.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2018-12-15T20:03:51.000Z | 2018-12-15T20:03:51.000Z | deps/src/boost_1_65_1/libs/spirit/classic/test/bug_fixes.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 3 | 2021-09-08T02:18:00.000Z | 2022-03-12T00:39:44.000Z | deps/src/boost_1_65_1/libs/spirit/classic/test/bug_fixes.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2020-10-21T17:46:28.000Z | 2020-10-21T17:46:28.000Z | /*=============================================================================
Copyright (c) 2003 Giovanni Bajo
Copyright (c) 2003 Joel de Guzman
Copyright (c) 2003 Vaclav Vesely
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version... | 28.562842 | 81 | 0.51741 | [
"vector"
] |
f69ddeaa1fa0b3c6e5838b113df051e617d7a52d | 2,032 | cxx | C++ | pi_14_parvec_omp_for_avx2.cxx | cmbrandt/using-openmp | 6260592d06856722ae315338b844cff86e4bfc21 | [
"MIT"
] | null | null | null | pi_14_parvec_omp_for_avx2.cxx | cmbrandt/using-openmp | 6260592d06856722ae315338b844cff86e4bfc21 | [
"MIT"
] | null | null | null | pi_14_parvec_omp_for_avx2.cxx | cmbrandt/using-openmp | 6260592d06856722ae315338b844cff86e4bfc21 | [
"MIT"
] | null | null | null | // pi_14_parvec_omp_for_avx2.cxx
// Compile:
// g++ -Wall -pedantic -std=c++17 -fopenmp -mavx2 -mfma -O3 pi_14_parvec_omp_for_avx2.cxx -o pi_14.exe
// Usage:
// ./pi_14.exe
#include <iostream>
#include <vector>
#include <immintrin.h>
#include <omp.h>
double pi_14_parvec_omp_for_avx2(int num_steps)
{
int ... | 25.4 | 105 | 0.612697 | [
"vector"
] |
f69ee32990d944caacd126ca31c5334833b7d8c8 | 8,888 | cpp | C++ | src/tests/functional/plugin/gna/pass_tests/convert_dwsc_to_scaleshifts.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | src/tests/functional/plugin/gna/pass_tests/convert_dwsc_to_scaleshifts.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | src/tests/functional/plugin/gna/pass_tests/convert_dwsc_to_scaleshifts.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include "common_test_utils/test_common.hpp"
#include <string>
#include <sstream>
#include <fstream>
#include <memory>
#include <queue>
#include <map>
#include "transformations/init_node_info.hpp"
#include... | 40.036036 | 141 | 0.645815 | [
"shape",
"vector",
"model"
] |
f69f47073683d479d5321ed0bb152a6ab67821b7 | 2,696 | cpp | C++ | examples/src/example_access.cpp | cmas1/HolorLib | bb62dc738298b7e229a1965a5bfc206395f68b88 | [
"MIT"
] | 1 | 2022-01-20T12:48:36.000Z | 2022-01-20T12:48:36.000Z | examples/src/example_access.cpp | cmas1/HolorLib | bb62dc738298b7e229a1965a5bfc206395f68b88 | [
"MIT"
] | null | null | null | examples/src/example_access.cpp | cmas1/HolorLib | bb62dc738298b7e229a1965a5bfc206395f68b88 | [
"MIT"
] | null | null | null | // This file is part of Holor, a C++ header-only template library for multi-dimensional containers
// Copyright 2020-2022 Carlo Masone
// 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 wi... | 42.125 | 142 | 0.609792 | [
"vector"
] |
f6a09625a8554c1fc7af57552ce3634969addc66 | 592 | hxx | C++ | other/cpp/problems/algorithm/1twosum/cpp/twosum.hxx | sguzman/LeetCode | 83cd945949cdbcafec91045d87e30549feb181f1 | [
"MIT"
] | null | null | null | other/cpp/problems/algorithm/1twosum/cpp/twosum.hxx | sguzman/LeetCode | 83cd945949cdbcafec91045d87e30549feb181f1 | [
"MIT"
] | null | null | null | other/cpp/problems/algorithm/1twosum/cpp/twosum.hxx | sguzman/LeetCode | 83cd945949cdbcafec91045d87e30549feb181f1 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <unordered_map>
using std::vector;
using std::unordered_map;
class Solution {
public:
vector<int> twoSum(const vector<int>& nums, const int target) {
unordered_map<int,int> sums;
vector<int> result{2, 1};
for (unsigned int idx{}; idx < nums.size(); ++idx) {
... | 19.733333 | 65 | 0.58277 | [
"vector"
] |
f6a10dc06033c505553cdd08fbbaae2ceacfc0de | 6,491 | cpp | C++ | src/model_Skeleton.cpp | dimtziwnas/HandObjectInteractionIJCV16_HandMotionViewer | 9d8bb450d32c17eecf09ea4ab6ab98e26698f119 | [
"MIT"
] | 11 | 2017-01-26T01:46:57.000Z | 2020-11-09T00:06:08.000Z | src/model_Skeleton.cpp | cvlabbonn/hands_3d_motion_viewer | f7d45f123e5ed4b60e68515268e27d00504d8f87 | [
"MIT"
] | null | null | null | src/model_Skeleton.cpp | cvlabbonn/hands_3d_motion_viewer | f7d45f123e5ed4b60e68515268e27d00504d8f87 | [
"MIT"
] | 3 | 2015-10-05T22:48:34.000Z | 2018-06-28T11:50:14.000Z | #include "model.h"
void Model::readSkeleton( QString myFileString_Skeleton )
{
QFile myFile (myFileString_Skeleton );
myFile.open(QIODevice::ReadOnly);
if( !myFile.isOpen() )
{
ErrorManager::error(3, myFileString_Skeleton);
return;
}
///////... | 58.477477 | 289 | 0.20644 | [
"model"
] |
f6a4adfa848da19c7d87fda2ec243b38a8d951f5 | 18,633 | cpp | C++ | src/main/cpp/driver/ps_navi_controller.cpp | morrky89/PSMoveSteamVRBridge | 03d29b14d1738597523bd059d30736cb0d075d37 | [
"Apache-2.0"
] | 147 | 2017-03-28T21:32:25.000Z | 2022-01-03T14:43:58.000Z | src/main/cpp/driver/ps_navi_controller.cpp | morrky89/PSMoveSteamVRBridge | 03d29b14d1738597523bd059d30736cb0d075d37 | [
"Apache-2.0"
] | 129 | 2017-04-01T20:34:52.000Z | 2021-04-06T07:34:49.000Z | src/main/cpp/driver/ps_navi_controller.cpp | morrky89/PSMoveSteamVRBridge | 03d29b14d1738597523bd059d30736cb0d075d37 | [
"Apache-2.0"
] | 53 | 2017-03-29T19:31:40.000Z | 2022-03-13T11:38:23.000Z | #define _USE_MATH_DEFINES
#include "constants.h"
#include "server_driver.h"
#include "utils.h"
#include "settings_util.h"
#include "driver.h"
#include "facing_handsolver.h"
#include "ps_navi_controller.h"
#include "trackable_device.h"
#include <assert.h>
#if _MSC_VER
#define strcasecmp(a, b) stricmp(a,b)
#pragma warn... | 39.644681 | 149 | 0.78522 | [
"transform"
] |
f6ab03421060536bb97f49bc17e9ce2e4708af37 | 1,067 | hpp | C++ | src/org/apache/poi/hssf/eventmodel/EventRecordFactory.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/hssf/eventmodel/EventRecordFactory.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/hssf/eventmodel/EventRecordFactory.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/hssf/eventmodel/EventRecordFactory.java
#pragma once
#include <fwd-POI.hpp>
#include <java/io/fwd-POI.hpp>
#include <org/apache/poi/hssf/eventmodel/fwd-POI.hpp>
#include <org/apache/poi/hssf/record/fwd-POI.hpp>
#include <java/lang/Object.hpp>
struct default_init_tag;
class... | 23.711111 | 89 | 0.710403 | [
"object"
] |
f6ac5be0297745a1032935843f69fff0a8a57a7b | 473 | cpp | C++ | 0101-0200/0128-Longest Consecutive Sequence/0128-Longest Consecutive Sequence.cpp | jiadaizhao/LeetCode | 4ddea0a532fe7c5d053ffbd6870174ec99fc2d60 | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 0101-0200/0128-Longest Consecutive Sequence/0128-Longest Consecutive Sequence.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 0101-0200/0128-Longest Consecutive Sequence/0128-Longest Consecutive Sequence.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | class Solution {
public:
int longestConsecutive(vector<int>& nums) {
unordered_set<int> table(nums.begin(), nums.end());
int maxLen = 0;
for (int num : nums) {
if (!table.count(num - 1)) {
int nextNum = num + 1;
while (table.count(nextNum)) {
... | 26.277778 | 59 | 0.44186 | [
"vector"
] |
f6b12c3d74a1d7b084a1c75928536153c4c6b9eb | 14,696 | cpp | C++ | util/system/filemap.cpp | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | null | null | null | util/system/filemap.cpp | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | null | null | null | util/system/filemap.cpp | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 1 | 2022-02-23T13:35:26.000Z | 2022-02-23T13:35:26.000Z | #include "info.h"
#include "madvise.h"
#include "defaults.h"
#include "hi_lo.h"
#include <util/generic/yexception.h>
#include <util/generic/singleton.h>
#if defined(_win_)
#include "winint.h"
#elif defined(_unix_)
#include <sys/types.h>
#include <sys/mman.h>
#if !defined(_linux_)
#ifdef MAP_P... | 25.121368 | 161 | 0.592474 | [
"object"
] |
f6b18ecb7f2c7d6eecff499a1762b035171edcb0 | 7,032 | cpp | C++ | test/beast/core/flat_stream.cpp | Pandinosaurus/beast | bd5e702c9004f2fff828735676c260972f1cd37d | [
"BSL-1.0"
] | 2,906 | 2017-07-25T18:28:53.000Z | 2022-03-31T16:07:53.000Z | test/beast/core/flat_stream.cpp | Pandinosaurus/beast | bd5e702c9004f2fff828735676c260972f1cd37d | [
"BSL-1.0"
] | 1,712 | 2017-07-25T23:22:10.000Z | 2022-03-31T06:39:46.000Z | Libs/boost_1_76_0/libs/beast/test/beast/core/flat_stream.cpp | Antd23rus/S2DE | 47cc7151c2934cd8f0399a9856c1e54894571553 | [
"MIT"
] | 555 | 2017-07-25T17:53:39.000Z | 2022-03-21T07:27:16.000Z | //
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header ... | 28.702041 | 79 | 0.487201 | [
"vector"
] |
f6b376c24e8307a61c32fd7fdb12d09f63cf48fd | 47,945 | cpp | C++ | windows/FaceRecognitionTest/FaceImage.cpp | HSE-asavchenko/HSE_FaceRec | 7ba0d9aa10629061866fc237c04f15b00cd25659 | [
"Apache-2.0"
] | 3 | 2016-12-16T20:03:35.000Z | 2018-05-17T17:55:36.000Z | windows/FaceRecognitionTest/FaceImage.cpp | HSE-asavchenko/HSE_FaceRec | 7ba0d9aa10629061866fc237c04f15b00cd25659 | [
"Apache-2.0"
] | 1 | 2018-07-06T13:41:45.000Z | 2020-01-29T09:38:13.000Z | windows/FaceRecognitionTest/FaceImage.cpp | HSE-asavchenko/HSE_FaceRec | 7ba0d9aa10629061866fc237c04f15b00cd25659 | [
"Apache-2.0"
] | 3 | 2016-12-16T19:03:41.000Z | 2019-05-20T01:58:33.000Z | #include "stdafx.h"
#include "FaceImage.h"
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/imgproc.hpp>
#include <iostream>
#include <vector>
#include <algorithm>
using namespace cv;
//#define ORTHO_SERIES_HISTOS
#ifdef ORTHO_SERIES_HISTOS
#define ORTH... | 29.163625 | 153 | 0.604359 | [
"vector"
] |
f6b44e82096a1a35dd13380e7f1f31377cd31d24 | 13,050 | cpp | C++ | src/ar_track_alvar/ar_track_alvar/nodes/IndividualMarkersNoKinectSawyer.cpp | SaahilParikh/Interceptor | 2c9f1baa7d655cd585e03057fbda114e73995bf9 | [
"MIT"
] | 1 | 2021-12-22T21:34:01.000Z | 2021-12-22T21:34:01.000Z | src/ar_track_alvar/ar_track_alvar/nodes/IndividualMarkersNoKinectSawyer.cpp | SaahilParikh/Interceptor | 2c9f1baa7d655cd585e03057fbda114e73995bf9 | [
"MIT"
] | null | null | null | src/ar_track_alvar/ar_track_alvar/nodes/IndividualMarkersNoKinectSawyer.cpp | SaahilParikh/Interceptor | 2c9f1baa7d655cd585e03057fbda114e73995bf9 | [
"MIT"
] | null | null | null | /*
Software License Agreement (BSD License)
Copyright (c) 2012, Scott Niekum
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
... | 36.968839 | 122 | 0.686513 | [
"transform"
] |
f6bdc29cfafea97433779ad296f81a54e5fbb3eb | 25,871 | cpp | C++ | gpac-0.7.1/applications/osmo4_w32/Osmo4.cpp | xu5343/ffmpegtoolkit_CentOS7 | 974496c709a1c8c69034e46ae5ce7101cf03716f | [
"Apache-2.0"
] | null | null | null | gpac-0.7.1/applications/osmo4_w32/Osmo4.cpp | xu5343/ffmpegtoolkit_CentOS7 | 974496c709a1c8c69034e46ae5ce7101cf03716f | [
"Apache-2.0"
] | null | null | null | gpac-0.7.1/applications/osmo4_w32/Osmo4.cpp | xu5343/ffmpegtoolkit_CentOS7 | 974496c709a1c8c69034e46ae5ce7101cf03716f | [
"Apache-2.0"
] | 1 | 2021-04-15T18:27:37.000Z | 2021-04-15T18:27:37.000Z | // GPAC.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "Osmo4.h"
#include <gpac/network.h>
#include <direct.h>
#include "MainFrm.h"
#include "OpenUrl.h"
#include "resource.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////... | 27.34778 | 151 | 0.68857 | [
"object"
] |
f6be1ed99d014d1bede1acdbb17d0f77e48f41f0 | 3,847 | cc | C++ | lib/application/lines_renderable.cc | tdelame/Graphics-Origin | 27b7d6ac72c4cb1858fc85dc18fe864de1496c6d | [
"MIT"
] | null | null | null | lib/application/lines_renderable.cc | tdelame/Graphics-Origin | 27b7d6ac72c4cb1858fc85dc18fe864de1496c6d | [
"MIT"
] | null | null | null | lib/application/lines_renderable.cc | tdelame/Graphics-Origin | 27b7d6ac72c4cb1858fc85dc18fe864de1496c6d | [
"MIT"
] | null | null | null | # include "../../graphics-origin/application/renderables/lines_renderable.h"
# include "../../graphics-origin/application/renderer.h"
# include "../../graphics-origin/application/gl_helper.h"
# include <GL/glew.h>
namespace graphics_origin { namespace application {
lines_renderable::storage::storage()
{}
line... | 31.024194 | 117 | 0.646998 | [
"model"
] |
f6be5f7935719c59a88b570c78a59eb6ef7d7671 | 6,979 | cpp | C++ | metrics/src/vespa/metrics/metric.cpp | atveit/vespa | 545898728f29a9ed7fcae223bfb0c85f24227af8 | [
"Apache-2.0"
] | null | null | null | metrics/src/vespa/metrics/metric.cpp | atveit/vespa | 545898728f29a9ed7fcae223bfb0c85f24227af8 | [
"Apache-2.0"
] | 1 | 2021-01-21T01:37:37.000Z | 2021-01-21T01:37:37.000Z | metrics/src/vespa/metrics/metric.cpp | atveit/vespa | 545898728f29a9ed7fcae223bfb0c85f24227af8 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "metric.h"
#include "countmetric.h"
#include "valuemetric.h"
#include "metricset.h"
#include "namehash.h"
#include <vespa/vespalib/text/stringtokenizer.h>
#include <vespa/vespalib/util/except... | 27.050388 | 118 | 0.639347 | [
"vector",
"transform"
] |
f6bf6adc75410db41a0e623c34a569264cbb6da8 | 10,576 | cpp | C++ | Userland/Applications/Help/main.cpp | Camisul/serenity | 7cf0c7cc0d74b84b0a2cc6f180914178cbb9ea20 | [
"BSD-2-Clause"
] | 2 | 2021-02-10T17:03:23.000Z | 2021-11-08T09:58:24.000Z | Userland/Applications/Help/main.cpp | Camisul/serenity | 7cf0c7cc0d74b84b0a2cc6f180914178cbb9ea20 | [
"BSD-2-Clause"
] | 78 | 2020-08-25T08:13:30.000Z | 2021-03-02T10:20:05.000Z | Userland/Applications/Help/main.cpp | Camisul/serenity | 7cf0c7cc0d74b84b0a2cc6f180914178cbb9ea20 | [
"BSD-2-Clause"
] | 1 | 2021-06-10T00:18:29.000Z | 2021-06-10T00:18:29.000Z | /*
* Copyright (c) 2019-2020, Sergey Bugaev <bugaevc@serenityos.org>
* 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 no... | 33.789137 | 131 | 0.638521 | [
"model"
] |
f6c306978e4e184c718d07c26f8375087ff3f73d | 1,772 | cpp | C++ | src/observer/sql/executor/execution_node.cpp | penggan666/miniob | 23a3c30e06b06958f70aa9dc2c31e70354e2b708 | [
"Apache-2.0"
] | null | null | null | src/observer/sql/executor/execution_node.cpp | penggan666/miniob | 23a3c30e06b06958f70aa9dc2c31e70354e2b708 | [
"Apache-2.0"
] | null | null | null | src/observer/sql/executor/execution_node.cpp | penggan666/miniob | 23a3c30e06b06958f70aa9dc2c31e70354e2b708 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2021 Xie Meiyi(xiemeiyi@hust.edu.cn) and OceanBase and/or its affiliates. All rights reserved.
miniob is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/Mulan... | 35.44 | 132 | 0.758465 | [
"vector"
] |
f6c308a53996908f940e801d633924f8d8d70cb3 | 92,323 | cpp | C++ | aten/src/ATen/native/RNN.cpp | xiaohanhuang/pytorch | a31aea8eaa99a5ff72b5d002c206cd68d5467a5e | [
"Intel"
] | 183 | 2018-04-06T21:10:36.000Z | 2022-03-30T15:05:24.000Z | aten/src/ATen/native/RNN.cpp | xiaohanhuang/pytorch | a31aea8eaa99a5ff72b5d002c206cd68d5467a5e | [
"Intel"
] | 818 | 2020-02-07T02:36:44.000Z | 2022-03-31T23:49:44.000Z | aten/src/ATen/native/RNN.cpp | xiaohanhuang/pytorch | a31aea8eaa99a5ff72b5d002c206cd68d5467a5e | [
"Intel"
] | 58 | 2018-06-05T16:40:18.000Z | 2022-03-16T15:37:29.000Z | #include <ATen/native/RNN.h>
#include <ATen/ATen.h>
#include <ATen/NativeFunctions.h>
#include <ATen/core/op_registration/op_registration.h>
#include <ATen/cpp_custom_type_hack.h>
#include <ATen/native/quantized/cpu/packed_params.h>
#include <ATen/native/quantized/cpu/fbgemm_utils.h>
#include <ATen/native/quantized/cp... | 44.947907 | 317 | 0.624644 | [
"vector",
"model",
"transform"
] |
f6c336844b6341710d6fcc7894ba0dd4493db472 | 14,139 | cpp | C++ | pcl__/surface/src/3rdparty/opennurbs/opennurbs_arc.cpp | avinfinity/UnmanagedCodeSnippets | 2bd848db88d7b271209ad30017c8f62307319be3 | [
"MIT"
] | 4 | 2016-11-17T02:10:04.000Z | 2019-09-05T22:53:23.000Z | software/SLAM/ygz_slam_ros/Thirdparty/PCL/surface/src/3rdparty/opennurbs/opennurbs_arc.cpp | glider54321/GAAS | 5c3b8c684e72fdf7f62c5731a260021e741069e7 | [
"BSD-3-Clause"
] | null | null | null | software/SLAM/ygz_slam_ros/Thirdparty/PCL/surface/src/3rdparty/opennurbs/opennurbs_arc.cpp | glider54321/GAAS | 5c3b8c684e72fdf7f62c5731a260021e741069e7 | [
"BSD-3-Clause"
] | 1 | 2021-12-20T06:54:41.000Z | 2021-12-20T06:54:41.000Z | /* $NoKeywords: $ */
/*
//
// Copyright (c) 1993-2012 Robert McNeel & Associates. All rights reserved.
// OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
// McNeel & Associates.
//
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
// ALL IMPLIED WARRANTIES OF FITNESS FOR A... | 22.658654 | 100 | 0.601033 | [
"3d"
] |
f6c4ca28f96dd0187f37b01ad6d52c3eb4314cc6 | 1,593 | cpp | C++ | src/third_party/swiftshader/src/D3D9/Unknown.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/third_party/swiftshader/src/D3D9/Unknown.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/third_party/swiftshader/src/D3D9/Unknown.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 The SwiftShader Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 18.523256 | 75 | 0.680477 | [
"object"
] |
f6c7cc3c5a0cbc10d666df160ea963a6cd814cb3 | 3,413 | cpp | C++ | decompiler/IR2/LabelDB.cpp | ShadowLordAlpha/jak-project | 59265cdeae8151324703ce31ec318806e5312b4d | [
"0BSD"
] | 602 | 2020-08-23T22:52:42.000Z | 2022-02-07T23:36:14.000Z | decompiler/IR2/LabelDB.cpp | romatthe/jak-project | 35bdc9b1d3a0a89cff072deb57844aa0e73d15e7 | [
"ISC"
] | 970 | 2020-08-27T03:25:21.000Z | 2022-02-08T01:27:11.000Z | decompiler/IR2/LabelDB.cpp | romatthe/jak-project | 35bdc9b1d3a0a89cff072deb57844aa0e73d15e7 | [
"ISC"
] | 34 | 2020-08-26T03:23:50.000Z | 2022-02-03T18:49:06.000Z | #include "third-party/fmt/core.h"
#include "LabelDB.h"
namespace decompiler {
std::string LabelInfo::print() const {
if (!known) {
return fmt::format("{} unknown", name);
}
std::string result = fmt::format("{} {} ", name, result_type.print());
if (is_value) {
result += "value ";
} else {
resul... | 29.17094 | 100 | 0.64225 | [
"vector"
] |
f6ced3090b61bcefcfb6f74c5f110979b1ed9895 | 24,149 | cpp | C++ | ESP32/TinyFairChildttgovga32/fairChild/libretro.cpp | rpsubc8/ESP32TinyFairChild | 467a9934bc9a6f6a89e757c69f49bf6b7fa8a867 | [
"WTFPL"
] | 2 | 2021-11-14T20:26:51.000Z | 2022-01-12T02:22:12.000Z | ESP32/TinyFairChildttgovga32/fairChild/libretro.cpp | rpsubc8/ESP32TinyFairChild | 467a9934bc9a6f6a89e757c69f49bf6b7fa8a867 | [
"WTFPL"
] | null | null | null | ESP32/TinyFairChildttgovga32/fairChild/libretro.cpp | rpsubc8/ESP32TinyFairChild | 467a9934bc9a6f6a89e757c69f49bf6b7fa8a867 | [
"WTFPL"
] | null | null | null |
// This file is part of FreeChaF.
//
// FreeChaF is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// FreeChaF is distribu... | 30.568354 | 130 | 0.67332 | [
"geometry"
] |
f6cf4780719c8ecbc45c67df23b1b7f7449597b2 | 8,950 | cc | C++ | shell/renderer/api/atom_api_renderer_ipc.cc | CezaryKulakowski/electron | eb6660f5341d6d7e2143be31eefec558fd866c84 | [
"MIT"
] | 4 | 2019-07-05T20:42:42.000Z | 2020-01-02T07:26:56.000Z | shell/renderer/api/atom_api_renderer_ipc.cc | CezaryKulakowski/electron | eb6660f5341d6d7e2143be31eefec558fd866c84 | [
"MIT"
] | 4 | 2021-03-11T05:19:38.000Z | 2022-03-28T01:24:48.000Z | shell/renderer/api/atom_api_renderer_ipc.cc | CezaryKulakowski/electron | eb6660f5341d6d7e2143be31eefec558fd866c84 | [
"MIT"
] | null | null | null | // Copyright (c) 2013 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include <string>
#include "base/task/post_task.h"
#include "base/values.h"
#include "content/public/renderer/render_frame.h"
#include "electron/shell/common/api/api.mojom.h"
#include... | 43.658537 | 80 | 0.663128 | [
"object"
] |
f6d310810a24e4c13ab808be5c8ade7114ec4d68 | 47,780 | cxx | C++ | VTK/Interaction/Widgets/vtkImplicitCylinderRepresentation.cxx | brown-ccv/paraview-scalable | 64b221a540737d2ac94a120039bd8d1e661bdc8f | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | VTK/Interaction/Widgets/vtkImplicitCylinderRepresentation.cxx | brown-ccv/paraview-scalable | 64b221a540737d2ac94a120039bd8d1e661bdc8f | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | VTK/Interaction/Widgets/vtkImplicitCylinderRepresentation.cxx | brown-ccv/paraview-scalable | 64b221a540737d2ac94a120039bd8d1e661bdc8f | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: vtkImplicitCylinderRepresentation.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | 30.608584 | 93 | 0.601779 | [
"vector",
"transform"
] |
f6d57a0a1d90c7d2ad1edb654b264f8f90cbaf00 | 19,393 | cc | C++ | src/connectivity/bluetooth/core/bt-host/fidl/gatt2_remote_service_server.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 2 | 2021-12-29T10:11:08.000Z | 2022-01-04T15:37:09.000Z | src/connectivity/bluetooth/core/bt-host/fidl/gatt2_remote_service_server.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | null | null | null | src/connectivity/bluetooth/core/bt-host/fidl/gatt2_remote_service_server.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gatt2_remote_service_server.h"
#include <measure_tape/hlcpp/hlcpp_measure_tape_for_read_by_type_result.h>
#include "src/connectivity/bluetooth/... | 40.913502 | 100 | 0.676069 | [
"vector"
] |
f6d96c02857bd2f88fd76543708083d857f5da8b | 23,059 | cpp | C++ | inetcore/setup/active/basectl/ctlview.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/setup/active/basectl/ctlview.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/setup/active/basectl/ctlview.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //=--------------------------------------------------------------------------=
// CtlView.Cpp
//=--------------------------------------------------------------------------=
// Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
... | 31.45839 | 190 | 0.528601 | [
"object",
"transform"
] |
f6db1584eade311e9898e67f755b8f59f651dee1 | 3,942 | cxx | C++ | test/test75.cxx | JadeMatrix/libpqxx | fa86ce2103f96cb2a89c381b8075e419dc6ac00b | [
"BSD-3-Clause"
] | null | null | null | test/test75.cxx | JadeMatrix/libpqxx | fa86ce2103f96cb2a89c381b8075e419dc6ac00b | [
"BSD-3-Clause"
] | null | null | null | test/test75.cxx | JadeMatrix/libpqxx | fa86ce2103f96cb2a89c381b8075e419dc6ac00b | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <vector>
#include "test_helpers.hxx"
using namespace std;
using namespace pqxx;
// Test program for libpqxx. Compare const_reverse_iterator iteration of a
// result to a regular, const_iterator iteration.
namespace
{
void test_075()
{
connection conn;
work tx{conn};
test::create... | 32.578512 | 80 | 0.679097 | [
"vector"
] |
f6e576f67281cacafcd3e14dfeafb193fb98daf1 | 789 | cc | C++ | ash/components/phonehub/fake_browser_tabs_model_provider.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ash/components/phonehub/fake_browser_tabs_model_provider.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | ash/components/phonehub/fake_browser_tabs_model_provider.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/components/phonehub/fake_browser_tabs_model_provider.h"
namespace ash {
namespace phonehub {
FakeBrowserTabsModelProvider::FakeBrowserTabs... | 32.875 | 76 | 0.749049 | [
"vector"
] |
f6e835e2a5cc7f96cb74927b1bf03030599934f3 | 32,364 | cpp | C++ | libraries/fc/src/network/http/websocket.cpp | cubetrain/CubeTrain | b930a3e88e941225c2c54219267f743c790e388f | [
"MIT"
] | null | null | null | libraries/fc/src/network/http/websocket.cpp | cubetrain/CubeTrain | b930a3e88e941225c2c54219267f743c790e388f | [
"MIT"
] | null | null | null | libraries/fc/src/network/http/websocket.cpp | cubetrain/CubeTrain | b930a3e88e941225c2c54219267f743c790e388f | [
"MIT"
] | null | null | null | #include <fc/network/http/websocket.hpp>
#include <websocketpp/config/asio_client.hpp>
#include <websocketpp/config/asio.hpp>
#include <websocketpp/server.hpp>
#include <websocketpp/config/asio_client.hpp>
#include <websocketpp/client.hpp>
#include <websocketpp/logger/stub.hpp>
#include <fc/optional.hpp>
#inc... | 42.640316 | 175 | 0.516438 | [
"object"
] |
f6eb2ae05b6c30d93807cf51965ca90591e48d70 | 56,333 | cpp | C++ | examples/SharedMemory/plugins/eglPlugin/eglRendererVisualShapeConverter.cpp | foolyc/bullet3 | f4f5f70886e8d85bb5c000fe0c443fbf958f45d8 | [
"Zlib"
] | 158 | 2016-11-17T19:37:51.000Z | 2022-03-21T19:57:55.000Z | examples/SharedMemory/plugins/eglPlugin/eglRendererVisualShapeConverter.cpp | foolyc/bullet3 | f4f5f70886e8d85bb5c000fe0c443fbf958f45d8 | [
"Zlib"
] | 94 | 2016-11-18T09:55:57.000Z | 2021-01-14T08:50:40.000Z | examples/SharedMemory/plugins/eglPlugin/eglRendererVisualShapeConverter.cpp | foolyc/bullet3 | f4f5f70886e8d85bb5c000fe0c443fbf958f45d8 | [
"Zlib"
] | 51 | 2017-05-24T10:20:25.000Z | 2022-03-17T15:07:02.000Z | /* Copyright (C) 2016 Google
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to al... | 32.375287 | 349 | 0.705057 | [
"mesh",
"geometry",
"render",
"shape",
"model"
] |
f6ed08c85cf0e5b11eacdc3a7da7413207a8c350 | 3,041 | cpp | C++ | src/parser/expression/subquery_expression.cpp | preetansh/terrier | 1d677fdbbd247ddca2ab45e09cb914c6af658ce5 | [
"MIT"
] | null | null | null | src/parser/expression/subquery_expression.cpp | preetansh/terrier | 1d677fdbbd247ddca2ab45e09cb914c6af658ce5 | [
"MIT"
] | 2 | 2020-08-24T16:29:40.000Z | 2020-09-08T16:34:51.000Z | src/parser/expression/subquery_expression.cpp | preetansh/terrier | 1d677fdbbd247ddca2ab45e09cb914c6af658ce5 | [
"MIT"
] | null | null | null | #include "parser/expression/subquery_expression.h"
#include "common/json.h"
namespace terrier::parser {
std::unique_ptr<AbstractExpression> SubqueryExpression::Copy() const {
std::vector<common::ManagedPointer<AbstractExpression>> select_columns;
for (const auto &col : subselect_->GetSelectColumns()) {
selec... | 41.657534 | 111 | 0.726077 | [
"vector"
] |
f6eecd62c4b99f18cb5d7128522f5307f8d5c3d5 | 263 | cpp | C++ | AutoJoin/test.cpp | JateNensvold/logcabin | 6966ab07e8780de4ee2c706df4c2530922f7d265 | [
"ISC"
] | null | null | null | AutoJoin/test.cpp | JateNensvold/logcabin | 6966ab07e8780de4ee2c706df4c2530922f7d265 | [
"ISC"
] | null | null | null | AutoJoin/test.cpp | JateNensvold/logcabin | 6966ab07e8780de4ee2c706df4c2530922f7d265 | [
"ISC"
] | null | null | null | #include "autojoin.cpp"
int main(void)
{
autojoin testobject = autojoin();
vector<string> test = testobject.parseString("127.0.0.1:1552", ':');
for(int index = 0; index < (int)test.size(); index++)
{
cout << test[index] << endl;
}
} | 20.230769 | 72 | 0.577947 | [
"vector"
] |
f6f158a73be42ea2602811ad64a2a2c655dab088 | 27,881 | cc | C++ | tensorflow/compiler/tf2xla/kernels/pooling_ops.cc | Zwysilence/tensorflow | b55001be83da044bb21d539d433dec6231eaec55 | [
"Apache-2.0"
] | 3 | 2018-09-25T00:35:34.000Z | 2018-09-25T00:38:06.000Z | tensorflow/compiler/tf2xla/kernels/pooling_ops.cc | Zwysilence/tensorflow | b55001be83da044bb21d539d433dec6231eaec55 | [
"Apache-2.0"
] | 1 | 2018-09-04T07:44:56.000Z | 2018-09-04T07:44:56.000Z | tensorflow/compiler/tf2xla/kernels/pooling_ops.cc | Zwysilence/tensorflow | b55001be83da044bb21d539d433dec6231eaec55 | [
"Apache-2.0"
] | 2 | 2020-03-04T13:59:48.000Z | 2020-03-09T13:11:45.000Z | /* Copyright 2017 The TensorFlow Authors. 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 by applicable law or a... | 42.631498 | 80 | 0.645278 | [
"shape",
"vector"
] |
f6f400ff5bb3e0c033ca940f6564935c7c2a197c | 2,362 | cpp | C++ | app/src/main/jni/liveMedia/ADTSAudioFileServerMediaSubsession.cpp | Key-CN/Live555Porting-for-Android | db8b7b46fbc3dcf166c85cf3ec8b4cd04c3e2150 | [
"Apache-2.0"
] | 24 | 2017-08-10T16:33:03.000Z | 2022-03-25T16:18:18.000Z | app/src/main/jni/liveMedia/ADTSAudioFileServerMediaSubsession.cpp | Key-CN/Live555Porting-for-Android | db8b7b46fbc3dcf166c85cf3ec8b4cd04c3e2150 | [
"Apache-2.0"
] | 6 | 2017-11-01T09:58:05.000Z | 2020-10-17T13:17:48.000Z | app/src/main/jni/liveMedia/ADTSAudioFileServerMediaSubsession.cpp | Key-CN/Live555Porting-for-Android | db8b7b46fbc3dcf166c85cf3ec8b4cd04c3e2150 | [
"Apache-2.0"
] | 11 | 2017-08-28T13:02:43.000Z | 2021-04-15T07:19:02.000Z | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... | 38.721311 | 81 | 0.779848 | [
"object"
] |
f6f58d5d6422a2af671cb319bd56d1755edfd777 | 866 | cpp | C++ | src/roq/samples/import/application.cpp | roq-trading/examples | 1e8ac9f5a960378ae4dc4d4a6b83f8daf6a65cba | [
"BSD-3-Clause"
] | null | null | null | src/roq/samples/import/application.cpp | roq-trading/examples | 1e8ac9f5a960378ae4dc4d4a6b83f8daf6a65cba | [
"BSD-3-Clause"
] | null | null | null | src/roq/samples/import/application.cpp | roq-trading/examples | 1e8ac9f5a960378ae4dc4d4a6b83f8daf6a65cba | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2017-2022, Hans Erik Thrane */
#include "roq/samples/import/application.hpp"
#include <stdexcept>
#include <vector>
#include "roq/exceptions.hpp"
#include "roq/samples/import/processor.hpp"
using namespace std::literals;
namespace roq {
namespace samples {
namespace import {
int Application::mai... | 23.405405 | 77 | 0.691686 | [
"vector"
] |
f6f5fc1531ffb942a1d740becfb820fcb69f37f9 | 38,438 | cc | C++ | CCA/Components/Models/Radiation/RMCRT/RMCRTCommon.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 3 | 2020-06-10T08:21:31.000Z | 2020-06-23T18:33:16.000Z | CCA/Components/Models/Radiation/RMCRT/RMCRTCommon.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | null | null | null | CCA/Components/Models/Radiation/RMCRT/RMCRTCommon.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 2 | 2019-12-30T05:48:30.000Z | 2020-02-12T16:24:16.000Z | /*
* The MIT License
*
* Copyright (c) 1997-2019 The University of Utah
*
* 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
* right... | 39.914849 | 319 | 0.628128 | [
"vector"
] |
f6f61c7090bb286398ca53260bc176edf47eb94f | 4,187 | cpp | C++ | src/InjectOpenGLIntrinsics.cpp | champyen/Halide | 8c0dbba26971c4b2a0adbb4c45aac2688642401d | [
"MIT"
] | 1 | 2021-08-16T13:10:03.000Z | 2021-08-16T13:10:03.000Z | src/InjectOpenGLIntrinsics.cpp | champyen/Halide | 8c0dbba26971c4b2a0adbb4c45aac2688642401d | [
"MIT"
] | null | null | null | src/InjectOpenGLIntrinsics.cpp | champyen/Halide | 8c0dbba26971c4b2a0adbb4c45aac2688642401d | [
"MIT"
] | null | null | null | #include "InjectOpenGLIntrinsics.h"
#include "IRMutator.h"
#include "IROperator.h"
#include "CodeGen_GPU_Dev.h"
#include "Substitute.h"
#include "FuseGPUThreadLoops.h"
#include "Scope.h"
namespace Halide {
namespace Internal {
using std::string;
using std::vector;
/** Normalizes image loads/stores and produces glsl_... | 36.408696 | 86 | 0.493193 | [
"vector"
] |
f6f65a58d35a4897014629dfcd4566d80b9cdb53 | 2,870 | cpp | C++ | src/CoreLib/Formats/FileFormatCSV.cpp | mapron/d2modgen | 6906de7bfc4c2cebf7ca523c559ae8ae26012034 | [
"MIT"
] | 17 | 2022-01-08T09:27:08.000Z | 2022-03-19T08:23:42.000Z | src/CoreLib/Formats/FileFormatCSV.cpp | mapron/d2modgen | 6906de7bfc4c2cebf7ca523c559ae8ae26012034 | [
"MIT"
] | 11 | 2022-01-08T11:25:42.000Z | 2022-02-13T05:17:00.000Z | src/CoreLib/Formats/FileFormatCSV.cpp | mapron/d2modgen | 6906de7bfc4c2cebf7ca523c559ae8ae26012034 | [
"MIT"
] | 2 | 2022-01-14T16:43:55.000Z | 2022-03-09T07:56:43.000Z | /*
* Copyright (C) 2022 Smirnov Vladimir / mapron1@gmail.com
* SPDX-License-Identifier: MIT
* See LICENSE file for details.
*/
#include "FileFormatCSV.hpp"
#include <cassert>
namespace D2ModGen {
namespace {
class FastCsvTable {
const char* begin;
const char* end;
const char* curr;
public:
Fast... | 24.322034 | 98 | 0.489547 | [
"vector"
] |
f6f993695edc17dd3193745610c36100f9cff714 | 2,707 | hpp | C++ | ios/Pods/boost-for-react-native/boost/hana/fwd/concept/integral_constant.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 8,805 | 2015-11-03T00:52:29.000Z | 2022-03-29T22:30:03.000Z | ios/Pods/boost-for-react-native/boost/hana/fwd/concept/integral_constant.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 14,694 | 2015-02-24T15:13:42.000Z | 2022-03-31T13:16:45.000Z | ios/Pods/boost-for-react-native/boost/hana/fwd/concept/integral_constant.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 1,329 | 2015-11-03T20:25:51.000Z | 2022-03-31T18:10:38.000Z | /*!
@file
Forward declares `boost::hana::IntegralConstant`.
@copyright Louis Dionne 2013-2016
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_FWD_CONCEPT_INTEGRAL_CONSTANT_HPP
#define BOOST_HANA_... | 36.581081 | 80 | 0.612856 | [
"model"
] |
f6fedeec5fe148a43640f0790d2895ea2005c29a | 15,611 | cpp | C++ | ai1.0/othello.cpp | kenchan-liu/qt-homework | 52096696407c279e3046f6cf5e99fd443cdb69bf | [
"AFL-3.0"
] | null | null | null | ai1.0/othello.cpp | kenchan-liu/qt-homework | 52096696407c279e3046f6cf5e99fd443cdb69bf | [
"AFL-3.0"
] | null | null | null | ai1.0/othello.cpp | kenchan-liu/qt-homework | 52096696407c279e3046f6cf5e99fd443cdb69bf | [
"AFL-3.0"
] | null | null | null | #include "othello.h"
#include "ui_othello.h"
#include <Qpainter>
#include <QPixmap>
#include "QCursor"
#include <iostream>
#include<QDebug>
#include "QMouseEvent"
#include <string>
#include <vector>
#include <time.h>
#include <Windows.h>
#include <queue>
#include <stack>
#include<QSize>
#include <conio.h>
#include<QMes... | 28.962894 | 123 | 0.464096 | [
"vector"
] |
10005cd4782972d0bf5461fffd21ab3413aaa2b9 | 1,188 | cpp | C++ | GFG/Matrix/C++/Spirally traversing a matrix.cpp | C-a-thing/Code-Insight | b201bec522d47c82ae088d382e426074e279f500 | [
"MIT"
] | 10 | 2022-02-15T10:12:10.000Z | 2022-02-25T17:25:14.000Z | GFG/Matrix/C++/Spirally traversing a matrix.cpp | C-a-thing/Code-Insight | b201bec522d47c82ae088d382e426074e279f500 | [
"MIT"
] | 5 | 2022-02-24T16:22:41.000Z | 2022-03-04T13:29:00.000Z | GFG/Matrix/C++/Spirally traversing a matrix.cpp | C-a-thing/Code-Insight | b201bec522d47c82ae088d382e426074e279f500 | [
"MIT"
] | 5 | 2022-02-15T06:29:14.000Z | 2022-02-20T06:53:57.000Z | class Solution
{
public:
//Function to return a list of integers denoting spiral traversal of matrix.
vector<int> spirallyTraverse(vector<vector<int> > mat, int r, int c)
{
// code here
vector<int> v;
int r1=0,rn = r , c1 = 0 , cn = c ,i,count=0;
while(r1<rn && c1<c... | 27 | 80 | 0.382997 | [
"vector"
] |
100112d1c6b45e3a2c99fb20317389b8f5d1fcec | 3,827 | cpp | C++ | cc/Messenger.cpp | PEQUI-VSSS/VSSS-EMC | 0c2b61e308f754ca91df52e46ba48828168223df | [
"MIT"
] | 9 | 2017-07-18T12:37:09.000Z | 2018-05-01T14:41:48.000Z | cc/Messenger.cpp | PEQUI-MEC/VSSS-EMC | 0c2b61e308f754ca91df52e46ba48828168223df | [
"MIT"
] | 31 | 2018-07-31T13:10:01.000Z | 2022-03-26T16:00:25.000Z | cc/Messenger.cpp | PEQUI-MEC/VSSS-EMC | 0c2b61e308f754ca91df52e46ba48828168223df | [
"MIT"
] | 2 | 2017-10-01T16:09:20.000Z | 2018-05-01T17:39:59.000Z | #include "Messenger.h"
using std::string;
using std::vector;
using Pose = Robot2::Pose;
using Command = Robot2::Command;
void Messenger::start_xbee(const string &port, int baud) {
xbee = new Xbee(port, baud);
add_robots();
}
void Messenger::stop_xbee() {
if (!xbee) return;
delete xbee;
xbee = nullptr;
}
void M... | 27.934307 | 98 | 0.660047 | [
"geometry",
"vector"
] |
10011978c2977d34922726b5fc8a76bba4d5f0c4 | 163 | hpp | C++ | Iridium/Model/Graph/Graph.hpp | lordharambae/Iridium | 40997d7082f7f80e38338af358fdca2a5ac3af63 | [
"BSD-3-Clause"
] | null | null | null | Iridium/Model/Graph/Graph.hpp | lordharambae/Iridium | 40997d7082f7f80e38338af358fdca2a5ac3af63 | [
"BSD-3-Clause"
] | null | null | null | Iridium/Model/Graph/Graph.hpp | lordharambae/Iridium | 40997d7082f7f80e38338af358fdca2a5ac3af63 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#ifndef GRAPH_HPP
#define GRAPH_HPP
namespace Iridium {
namespace Model {
class Graph {};
} // namespace Model
} // namespace Iridium
#endif | 10.866667 | 22 | 0.705521 | [
"model"
] |
10078906820cff01cb92352ba1e98e9d7c8e64b0 | 596 | cpp | C++ | leetcode/539. Minimum Time Difference/s2.cpp | zhuohuwu0603/leetcode_cpp_lzl124631x | 6a579328810ef4651de00fde0505934d3028d9c7 | [
"Fair"
] | 787 | 2017-05-12T05:19:57.000Z | 2022-03-30T12:19:52.000Z | leetcode/539. Minimum Time Difference/s2.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 8 | 2020-03-16T05:55:38.000Z | 2022-03-09T17:19:17.000Z | leetcode/539. Minimum Time Difference/s2.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 247 | 2017-04-30T15:07:50.000Z | 2022-03-30T09:58:57.000Z | // OJ: https://leetcode.com/problems/minimum-time-difference
// Author: github.com/lzl124631x
// Time: O(NlogN)
// Space: O(1)
class Solution {
private:
inline int getKey(string &s) {
return stoi(s.substr(0, 2)) * 60 + stoi(s.substr(3, 2));
}
public:
int findMinDifference(vector<string>& timePoints) {
sor... | 31.368421 | 121 | 0.612416 | [
"vector"
] |
1008673914dcefcde98e7cbc1c0ad71d6ed60f97 | 5,702 | cpp | C++ | tests/cpp/codegen/refine_coordinates_test.cpp | cruedo/taichi | 010e8b9aed96634cd257f803646ff2f7849b06c1 | [
"MIT"
] | null | null | null | tests/cpp/codegen/refine_coordinates_test.cpp | cruedo/taichi | 010e8b9aed96634cd257f803646ff2f7849b06c1 | [
"MIT"
] | null | null | null | tests/cpp/codegen/refine_coordinates_test.cpp | cruedo/taichi | 010e8b9aed96634cd257f803646ff2f7849b06c1 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include <memory>
#include "llvm/IR/Function.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/BasicBlock.h"
#include "taichi/program/arch.h"
#include "taichi/program/program.h"
#include "taichi/struct/struct_llvm.h"
#include "taichi/ir/snode.h"
#include "taichi/program/compile_config.h"
#inclu... | 34.143713 | 80 | 0.681515 | [
"vector"
] |
100923d20a429e3c7c1c12876eb0cefd05a3682c | 3,849 | cpp | C++ | source/wrapper/WrapperCache.cpp | Jde-cpp/MarketLibrary | 2324e46b3a2a9de7385cb5bad66826693b65545a | [
"MIT"
] | null | null | null | source/wrapper/WrapperCache.cpp | Jde-cpp/MarketLibrary | 2324e46b3a2a9de7385cb5bad66826693b65545a | [
"MIT"
] | null | null | null | source/wrapper/WrapperCache.cpp | Jde-cpp/MarketLibrary | 2324e46b3a2a9de7385cb5bad66826693b65545a | [
"MIT"
] | 1 | 2021-06-04T16:45:33.000Z | 2021-06-04T16:45:33.000Z | #include "WrapperCache.h"
#include "../types/Exchanges.h"
#include <jde/markets/types/Contract.h>
#include "../../../Framework/source/Cache.h"
#include "../../../Framework/source/collections/Collections.h"
#define var const auto
namespace Jde::Markets
{
void WrapperCache::contractDetails( int reqId, const ::Contract... | 40.515789 | 224 | 0.717329 | [
"vector"
] |
1009d947e788f41cb9c2159f00db91608b5ebb2e | 13,082 | cpp | C++ | disabled_modules/gdnative/gdnative/array.cpp | ZopharShinta/SegsEngine | 86d52c5b805e05e107594efd3358cabd694365f0 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 8 | 2019-09-03T19:58:19.000Z | 2021-06-18T07:11:26.000Z | disabled_modules/gdnative/gdnative/array.cpp | ZopharShinta/SegsEngine | 86d52c5b805e05e107594efd3358cabd694365f0 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 24 | 2019-09-03T17:35:45.000Z | 2020-10-27T14:36:02.000Z | disabled_modules/gdnative/gdnative/array.cpp | ZopharShinta/SegsEngine | 86d52c5b805e05e107594efd3358cabd694365f0 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 6 | 2019-09-27T15:44:35.000Z | 2021-01-23T18:52:51.000Z | /*************************************************************************/
/* array.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 34.97861 | 171 | 0.641798 | [
"object",
"transform"
] |
100a706277a3956390a1061f6c29554939a3f58a | 18,559 | cpp | C++ | source/globjects/source/Texture.cpp | jakpam/globjects | b6390838d183e15f1a652cff26ee8d9b6d30fda9 | [
"MIT"
] | 486 | 2015-10-13T13:50:24.000Z | 2022-03-31T06:46:07.000Z | source/globjects/source/Texture.cpp | jakpam/globjects | b6390838d183e15f1a652cff26ee8d9b6d30fda9 | [
"MIT"
] | 90 | 2015-07-21T20:13:03.000Z | 2022-03-07T19:14:35.000Z | source/globjects/source/Texture.cpp | jakpam/globjects | b6390838d183e15f1a652cff26ee8d9b6d30fda9 | [
"MIT"
] | 56 | 2015-07-08T12:41:43.000Z | 2022-02-15T07:38:15.000Z |
#include <globjects/Texture.h>
#include <glbinding/gl/enum.h>
#include <glbinding/gl/functions.h>
#include <glbinding/gl/boolean.h>
#include <glm/gtc/type_ptr.hpp>
#include <globjects/Buffer.h>
#include <globjects/TextureHandle.h>
#include "pixelformat.h"
#include <globjects/Resource.h>
#include "r... | 37.568826 | 233 | 0.742066 | [
"object",
"vector"
] |
100dacdcc3c4b5e9e7f10fe2811e639d3ad62a41 | 22,887 | cc | C++ | chrome/browser/extensions/external_provider_impl.cc | rzr/chromium-crosswalk | d391344809adf7b4f39764ac0e15c378169b805f | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-11-28T10:46:52.000Z | 2019-11-28T10:46:52.000Z | chrome/browser/extensions/external_provider_impl.cc | rzr/chromium-crosswalk | d391344809adf7b4f39764ac0e15c378169b805f | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/external_provider_impl.cc | rzr/chromium-crosswalk | d391344809adf7b4f39764ac0e15c378169b805f | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/external_provider_impl.h"
#include <set>
#include <vector>
#include "base/command_line.h"
#include "base/files/f... | 38.791525 | 91 | 0.649845 | [
"vector"
] |
100e7753c684bfdfc38ff33729ccdbfb93a1e87d | 4,469 | cpp | C++ | src/RecognitionSystem/XmlRecognition/source/XmlUtils.cpp | iago-suarez/TFG | 68315e6c48659231a6bd217f1fc2979ea8299e55 | [
"Apache-2.0"
] | null | null | null | src/RecognitionSystem/XmlRecognition/source/XmlUtils.cpp | iago-suarez/TFG | 68315e6c48659231a6bd217f1fc2979ea8299e55 | [
"Apache-2.0"
] | null | null | null | src/RecognitionSystem/XmlRecognition/source/XmlUtils.cpp | iago-suarez/TFG | 68315e6c48659231a6bd217f1fc2979ea8299e55 | [
"Apache-2.0"
] | null | null | null | //#include <iostream>
//#include <fstream>
//
//#include "../header/XmlUtils.h"
//#include "../../BehaviorLib/header/Detection.h"
//
//#include <opencv/cv.h>
//
//using namespace std;
//
//string detectionToXml(DetectionDto detection){
//
// stringstream result;
//
// int id = ((int) detection.id[0])*1000000 ... | 35.752 | 93 | 0.488924 | [
"object",
"vector"
] |
1010334e96c948939ffac809deec49753ca26411 | 1,285 | cpp | C++ | POI/3/wie.cpp | nalinbhardwaj/olympiad | 6b640d8cef2fa16fb4e9776f8416575519357edf | [
"MIT"
] | 1 | 2018-12-14T07:51:26.000Z | 2018-12-14T07:51:26.000Z | POI/3/wie.cpp | nalinbhardwaj/olympiad | 6b640d8cef2fa16fb4e9776f8416575519357edf | [
"MIT"
] | null | null | null | POI/3/wie.cpp | nalinbhardwaj/olympiad | 6b640d8cef2fa16fb4e9776f8416575519357edf | [
"MIT"
] | 1 | 2019-06-23T10:34:19.000Z | 2019-06-23T10:34:19.000Z | #include <iostream>
#include <cstdio>
#include <vector>
#include <set>
using namespace std;
const int maxn = int(3e3)+5;
int n, A[maxn][4];
pair<int, int> loc[maxn];
vector<pair<int, int> > start[maxn];
void solve(int type)
{
set<pair<int, int> > active;
for(int i = 0;i < n;i++)
{
start[i].clear();
if(type) l... | 19.469697 | 108 | 0.536965 | [
"vector"
] |
101161dfb565619dba221c47ff42c5b100142db0 | 20,592 | cpp | C++ | applications/mne_x/plugins/tmsi/tmsidriver.cpp | yvnxs/mne-cpp | 29c90a86f49c843b5f0ca8f9180cb38e0e774176 | [
"BSD-3-Clause"
] | 1 | 2021-05-18T08:33:44.000Z | 2021-05-18T08:33:44.000Z | applications/mne_x/plugins/tmsi/tmsidriver.cpp | yvnxs/mne-cpp | 29c90a86f49c843b5f0ca8f9180cb38e0e774176 | [
"BSD-3-Clause"
] | null | null | null | applications/mne_x/plugins/tmsi/tmsidriver.cpp | yvnxs/mne-cpp | 29c90a86f49c843b5f0ca8f9180cb38e0e774176 | [
"BSD-3-Clause"
] | null | null | null | //=============================================================================================================
/**
* @file tmsidriver.cpp
* @author Lorenz Esch <lorenz.esch@tu-ilmenau.de>;
* Christoph Dinh <chdinh@nmr.mgh.harvard.edu>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @ver... | 44.094218 | 295 | 0.609654 | [
"vector"
] |
10147d85f23720b7b1c5e9b9689a29d2fac401ce | 681 | hpp | C++ | plugins/community/repos/Bogaudio/src/Noise.hpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/Bogaudio/src/Noise.hpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/Bogaudio/src/Noise.hpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | #pragma once
#include "bogaudio.hpp"
#include "dsp/noise.hpp"
using namespace bogaudio::dsp;
extern Model* modelNoise;
namespace bogaudio {
struct Noise : Module {
enum ParamsIds {
NUM_PARAMS
};
enum InputsIds {
ABS_INPUT,
NUM_INPUTS
};
enum OutputsIds {
WHITE_OUTPUT,
PINK_OUTPUT,
RED_OUTPUT,
... | 14.1875 | 69 | 0.734214 | [
"model"
] |
10152aaab360be5d9831e4f31771dd972832cffa | 12,824 | cpp | C++ | visa/Passes/InstCombine.cpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | 1 | 2020-09-03T17:11:47.000Z | 2020-09-03T17:11:47.000Z | visa/Passes/InstCombine.cpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | null | null | null | visa/Passes/InstCombine.cpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (C) 2017-2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#include "InstCombine.hpp"
#include <functional>
#include <unordered_set>
using na... | 34.659459 | 95 | 0.541173 | [
"vector"
] |
101828496ccee40c2238d7f0d7dfcacccc0caa1d | 13,349 | cpp | C++ | test/module/irohad/validation/stateful_validator_test.cpp | artyom-yurin/iroha-archive | 1ad3a149d21d30e99c650a9a4bad88b2792d751d | [
"Apache-2.0"
] | 31 | 2019-04-17T19:32:05.000Z | 2022-02-05T01:35:02.000Z | test/module/irohad/validation/stateful_validator_test.cpp | artyom-yurin/iroha-archive | 1ad3a149d21d30e99c650a9a4bad88b2792d751d | [
"Apache-2.0"
] | 1 | 2021-06-01T23:38:54.000Z | 2021-06-01T23:38:54.000Z | test/module/irohad/validation/stateful_validator_test.cpp | artyom-yurin/iroha-archive | 1ad3a149d21d30e99c650a9a4bad88b2792d751d | [
"Apache-2.0"
] | 12 | 2019-06-03T10:31:31.000Z | 2021-12-13T12:17:15.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "validation/impl/stateful_validator_impl.hpp"
#include <gtest/gtest.h>
#include <boost/range/adaptor/transformed.hpp>
#include <boost/range/algorithm_ext/push_back.hpp>
#include "backend/protobuf/proto_propos... | 39.146628 | 80 | 0.65136 | [
"vector"
] |
101889a5c9ec1b89fb697f8c5bb0f587fa1ca153 | 8,679 | cpp | C++ | Furiosity/Svg/Canvas.cpp | enci/Furiosity | 0f823b31ba369a6f20a69ca079627dccd4b4549a | [
"MIT"
] | 7 | 2015-05-14T18:36:18.000Z | 2020-08-30T19:09:33.000Z | Furiosity/Svg/Canvas.cpp | enci/Furiosity | 0f823b31ba369a6f20a69ca079627dccd4b4549a | [
"MIT"
] | 1 | 2015-10-23T14:24:08.000Z | 2015-10-23T14:24:08.000Z | Furiosity/Svg/Canvas.cpp | enci/Furiosity | 0f823b31ba369a6f20a69ca079627dccd4b4549a | [
"MIT"
] | 1 | 2020-07-31T23:34:49.000Z | 2020-07-31T23:34:49.000Z | ////////////////////////////////////////////////////////////////////////////////
// Canvas.cpp
//
// Created by Gerard Meier on 7/19/13.
// Copyright (c) 2013 Game Oven. All rights reserved.
////////////////////////////////////////////////////////////////////////////////
#include "Canvas.h"
#include <limits>
#inclu... | 27.817308 | 135 | 0.546031 | [
"shape",
"vector",
"solid"
] |
1018e68346e533e941b19a405130e1271597ce51 | 1,499 | cpp | C++ | 323. Number of Connected Components in an Undirected Graph.cpp | rajeev-ranjan-au6/Leetcode_Cpp | f64cd98ab96ec110f1c21393f418acf7d88473e8 | [
"MIT"
] | 3 | 2020-12-30T00:29:59.000Z | 2021-01-24T22:43:04.000Z | 323. Number of Connected Components in an Undirected Graph.cpp | rajeevranjancom/Leetcode_Cpp | f64cd98ab96ec110f1c21393f418acf7d88473e8 | [
"MIT"
] | null | null | null | 323. Number of Connected Components in an Undirected Graph.cpp | rajeevranjancom/Leetcode_Cpp | f64cd98ab96ec110f1c21393f418acf7d88473e8 | [
"MIT"
] | null | null | null | // DFS
class Solution {
public:
int countComponents(int n, vector<pair<int, int>>& edges) {
vector<vector<int>>graph(n);
vector<int>visited(n);
for(auto x: edges){
graph[x.first].push_back(x.second);
graph[x.second].push_back(x.first);
}
int label = 0;... | 27.254545 | 73 | 0.477652 | [
"vector"
] |
10196fee64ab8e4822a0bacc6ccfae05e12ac420 | 14,165 | hpp | C++ | vegastrike/boost/1_28/boost/math/common_factor.hpp | Ezeer/VegaStrike_win32FR | 75891b9ccbdb95e48e15d3b4a9cd977955b97d1f | [
"MIT"
] | null | null | null | vegastrike/boost/1_28/boost/math/common_factor.hpp | Ezeer/VegaStrike_win32FR | 75891b9ccbdb95e48e15d3b4a9cd977955b97d1f | [
"MIT"
] | null | null | null | vegastrike/boost/1_28/boost/math/common_factor.hpp | Ezeer/VegaStrike_win32FR | 75891b9ccbdb95e48e15d3b4a9cd977955b97d1f | [
"MIT"
] | null | null | null | // Boost common_factor.hpp header file -------------------------------------//
// (C) Copyright Daryle Walker, Stephen Cleary, Paul Moore 2001. Permission
// to copy, use, modify, sell and distribute this software is granted provided
// this copyright notice appears in all copies. This software is provided "as
... | 25.249554 | 80 | 0.608966 | [
"object"
] |
101aa23f552f54302860cecbc1c6c80bc1e0e681 | 58,343 | cpp | C++ | src/mongo/dbtests/querytests.cpp | bjori/mongo | c0e293d88a9946e9b3395b2445589c6db8c067f7 | [
"Apache-2.0"
] | 1 | 2019-05-15T03:41:50.000Z | 2019-05-15T03:41:50.000Z | src/mongo/dbtests/querytests.cpp | bjori/mongo | c0e293d88a9946e9b3395b2445589c6db8c067f7 | [
"Apache-2.0"
] | null | null | null | src/mongo/dbtests/querytests.cpp | bjori/mongo | c0e293d88a9946e9b3395b2445589c6db8c067f7 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2008 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful... | 33.130608 | 100 | 0.534734 | [
"object",
"vector"
] |
101c086087d8f0ff155ac0ee90a477b2a93c6de2 | 9,622 | hh | C++ | packages/MC/geometry/RTK_Geometry.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 19 | 2015-06-04T09:02:41.000Z | 2021-04-27T19:32:55.000Z | packages/MC/geometry/RTK_Geometry.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | null | null | null | packages/MC/geometry/RTK_Geometry.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 5 | 2016-10-05T20:48:28.000Z | 2021-06-21T12:00:54.000Z | //----------------------------------*-C++-*----------------------------------//
/*!
* \file MC/geometry/RTK_Geometry.hh
* \author Thomas M. Evans
* \date Tuesday April 29 16:43:25 2014
* \brief RTK_Geometry class definition.
* \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
//-... | 30.839744 | 80 | 0.609333 | [
"geometry",
"object",
"vector"
] |
102231abaa79d5328def5272ce8c2925cb337e4a | 2,570 | cpp | C++ | Worms/src/InGame/Entity/Object/Item/Banana/BabyBanana.cpp | GearEngine/GearEngine | fa5ed49ca6289a215799a7b84ece1241eb33bd36 | [
"Apache-2.0"
] | 3 | 2020-03-05T06:56:51.000Z | 2020-03-12T09:36:20.000Z | Worms/src/InGame/Entity/Object/Item/Banana/BabyBanana.cpp | GearEngine/GearEngine | fa5ed49ca6289a215799a7b84ece1241eb33bd36 | [
"Apache-2.0"
] | 2 | 2020-03-05T15:40:28.000Z | 2020-03-11T16:04:44.000Z | Worms/src/InGame/Entity/Object/Item/Banana/BabyBanana.cpp | GearEngine/GearEngine | fa5ed49ca6289a215799a7b84ece1241eb33bd36 | [
"Apache-2.0"
] | null | null | null | #include "wmpch.h"
#include "BabyBanana.h"
#include "BabyBananaFSMHandlers.h"
#include "../ItemPixelCollisionHandler.h"
#include "../ItemStatusHandler.h"
namespace InGame {
BabyBanana::BabyBanana(const InitiateData & initData)
{
m_ID = Gear::EntitySystem::CreateEntity(false);
Gear::EntitySystem::AttachCompone... | 39.538462 | 167 | 0.710895 | [
"transform"
] |
102361c219e80c41f62c73baae1a16a44d0e1a7d | 5,851 | cpp | C++ | Foundation/extensions/DataspaceLib/tests/GainDataspace.test.cpp | avilleret/JamomaCore | b09cfb684527980f30845f664e1f922005c24e60 | [
"BSD-3-Clause"
] | null | null | null | Foundation/extensions/DataspaceLib/tests/GainDataspace.test.cpp | avilleret/JamomaCore | b09cfb684527980f30845f664e1f922005c24e60 | [
"BSD-3-Clause"
] | null | null | null | Foundation/extensions/DataspaceLib/tests/GainDataspace.test.cpp | avilleret/JamomaCore | b09cfb684527980f30845f664e1f922005c24e60 | [
"BSD-3-Clause"
] | null | null | null | /** @file
*
* @ingroup foundationDataspaceLib
*
* @brief Unit tests for the #GainDataspace.
*
* @authors Trond Lossius, Tim Place, Nils Peters, ...
*
* @copyright Copyright © 2011 Trond Lossius @n
* This code is licensed under the terms of the "New BSD License" @n
* http://creativecommons.org/licenses/BSD/
*... | 29.40201 | 92 | 0.554606 | [
"object"
] |
1025cbed7e23615e5f5f8531aec429866cb1a5df | 8,342 | cpp | C++ | tests/static_sync_index.cpp | FreshDISKANN/FreshDISKANN | c7750ed7ae2df202b3f3a98477199963245c8ba7 | [
"MIT"
] | 6 | 2020-10-13T11:30:53.000Z | 2021-12-03T15:50:15.000Z | tests/static_sync_index.cpp | FreshDISKANN/FreshDISKANN | c7750ed7ae2df202b3f3a98477199963245c8ba7 | [
"MIT"
] | null | null | null | tests/static_sync_index.cpp | FreshDISKANN/FreshDISKANN | c7750ed7ae2df202b3f3a98477199963245c8ba7 | [
"MIT"
] | 3 | 2020-10-13T11:30:55.000Z | 2021-12-02T14:29:42.000Z | #include <index.h>
#include <future>
#include <Neighbor_Tag.h>
#include <numeric>
#include <omp.h>
#include <shard.h>
#include <string.h>
#include <sync_index.h>
#include <time.h>
#include <timer.h>
#include <cstring>
#include <iomanip>
#include "aux_utils.h"
#include "utils.h"
#ifndef _WINDOWS
#include <sys/mman.h>
... | 41.093596 | 80 | 0.606689 | [
"vector"
] |
102624d80cdb9c316cf52958d04ef4a89ea54e7d | 25,429 | cpp | C++ | src/Root.cpp | kritzikratzi/ofxMightyUI | 63eaa7fcc8739e019f27500f68c4129a18be5434 | [
"MIT"
] | 52 | 2015-02-19T21:22:19.000Z | 2022-01-24T07:59:07.000Z | src/Root.cpp | kritzikratzi/ofxMightyUI | 63eaa7fcc8739e019f27500f68c4129a18be5434 | [
"MIT"
] | 5 | 2016-05-22T16:39:57.000Z | 2020-09-19T20:29:20.000Z | src/Root.cpp | kritzikratzi/ofxMightyUI | 63eaa7fcc8739e019f27500f68c4129a18be5434 | [
"MIT"
] | 14 | 2015-05-19T10:04:52.000Z | 2021-05-12T09:07:22.000Z | /*
* Root.cpp
* ofxMightyUI
*
* Created by hansi on 28.01.11.
* Copyright 2011 __MyCompanyName__. All rights reserved.
*
*/
#include "Root.h"
#include "ofEventUtils.h"
#include "ofEvents.h"
#include "Container.h"
#include "ScrollPane.h"
#include "ofxMightyUI.h"
#include <GLFW/glfw3.h>
using namespace mui;
... | 30.711353 | 254 | 0.630933 | [
"vector"
] |
102860601d4fb8c70626e7256edb94a34dda018d | 30,820 | cpp | C++ | src/Klondike.cpp | CaesiumFox/Klondike | 977220eea1fa3a0ffb54e5718581c579c3650459 | [
"MIT"
] | 2 | 2019-12-05T05:16:12.000Z | 2020-02-26T00:31:01.000Z | src/Klondike.cpp | CaesiumFox/Klondike | 977220eea1fa3a0ffb54e5718581c579c3650459 | [
"MIT"
] | null | null | null | src/Klondike.cpp | CaesiumFox/Klondike | 977220eea1fa3a0ffb54e5718581c579c3650459 | [
"MIT"
] | 1 | 2019-12-05T05:12:55.000Z | 2019-12-05T05:12:55.000Z | #include "Klondike.h"
Klondike::Klondike() {
srand((uint32_t)time(0));
SDL_Init(SDL_INIT_EVERYTHING);
SDL_DisplayMode DM;
SDL_GetCurrentDisplayMode(0, &DM);
window = SDL_CreateWindow("Klondike", 100, 100, DM.w, DM.h, SDL_WINDOW_SHOWN | SDL_WINDOW_FULLSCREEN);
SDL_GetWindowSize(window, &WinWidth, &WinHeight);
re... | 30.912738 | 161 | 0.640136 | [
"render",
"vector",
"transform"
] |
1028662b6963f34468fe019f51b41a45fddfd60d | 86,141 | cpp | C++ | src/drivers/m62.cpp | tt-arcade/mame4all-pi | b1479cacfa616fc0dea4ad0f9b19a679a04867cf | [
"Unlicense"
] | 33 | 2015-08-10T11:13:47.000Z | 2021-08-30T10:00:46.000Z | src/drivers/m62.cpp | tt-arcade/mame4all-pi | b1479cacfa616fc0dea4ad0f9b19a679a04867cf | [
"Unlicense"
] | 13 | 2015-08-25T03:53:08.000Z | 2022-03-30T18:02:35.000Z | src/drivers/m62.cpp | tt-arcade/mame4all-pi | b1479cacfa616fc0dea4ad0f9b19a679a04867cf | [
"Unlicense"
] | 40 | 2015-08-25T05:09:21.000Z | 2022-02-08T05:02:30.000Z | #include "../vidhrdw/m62.cpp"
/****************************************************************************
Irem "M62" system
There's two crystals on Kid Kiki. 24.00 MHz and 3.579545 MHz for sound
TODO:
- Kid Niki is missing the drums
**************************************************************************/
#in... | 43.927078 | 208 | 0.640589 | [
"3d"
] |
102921263c32f0c13a5b9181b4ae2cba1ed571e6 | 817 | hpp | C++ | include/impl/os_windows.hpp | basaltex/aze | 1c64862e9ba2dfd2c6745e936274fd8a7be13d79 | [
"MIT"
] | null | null | null | include/impl/os_windows.hpp | basaltex/aze | 1c64862e9ba2dfd2c6745e936274fd8a7be13d79 | [
"MIT"
] | null | null | null | include/impl/os_windows.hpp | basaltex/aze | 1c64862e9ba2dfd2c6745e936274fd8a7be13d79 | [
"MIT"
] | null | null | null | ///////
#ifndef GA_OS_WINDOWS_HPP
#define GA_OS_WINDOWS_HPP
#include <string>
#include <string_view>
#include <optional>
#include <vector>
namespace os {
inline bool Executable(std::string &exe) {
(void)exe;
// NOTIMPL
return false;
}
inline bool PathRemoveFileSpec(std::string &path) {
if (path.empty()) {
... | 17.382979 | 63 | 0.604651 | [
"vector"
] |
102af8bad5fcd137bc5103f4c33a8a22dc8f21d0 | 42,905 | cpp | C++ | Vic2ToHoI4/Source/OutHoi4/OutHoi4Country.cpp | ParadoxGameConverters/Vic2ToHoI4 | ac5d77f2bcf8b9b7cb9dfe78a0bc85875600fc1c | [
"MIT"
] | 25 | 2018-12-10T03:41:49.000Z | 2021-10-04T10:42:36.000Z | Vic2ToHoI4/Source/OutHoi4/OutHoi4Country.cpp | Elfangor567/Vic2ToHoI4 | 55df397bbb65ecb690fe6bb5fcaf757d17bcc885 | [
"MIT"
] | 739 | 2018-12-13T02:01:20.000Z | 2022-03-28T02:57:13.000Z | Vic2ToHoI4/Source/OutHoi4/OutHoi4Country.cpp | Elfangor567/Vic2ToHoI4 | 55df397bbb65ecb690fe6bb5fcaf757d17bcc885 | [
"MIT"
] | 43 | 2018-12-10T03:41:58.000Z | 2022-03-22T23:55:41.000Z | #include "OutHoi4Country.h"
#include "AiStrategy/OutAiStrategy.h"
#include "Date.h"
#include "HOI4World/Diplomacy/Faction.h"
#include "HOI4World/HoI4Country.h"
#include "HOI4World/Leaders/Advisor.h"
#include "HOI4World/Leaders/CountryLeader.h"
#include "HOI4World/Military/DivisionTemplate.h"
#include "HOI4World/Names/N... | 31.478357 | 117 | 0.638154 | [
"vector"
] |
102e1b0676d72fecfdf9846a5a883ba9be2ae83e | 1,044 | cpp | C++ | inference-engine/tests/functional/plugin/myriad/shared_tests_instances/skip_tests_config.cpp | shre2398/openvino | f84a6d97ace26b75ae9d852525a997cbaba32e6a | [
"Apache-2.0"
] | 2 | 2021-02-26T15:46:19.000Z | 2021-05-16T20:48:13.000Z | inference-engine/tests/functional/plugin/myriad/shared_tests_instances/skip_tests_config.cpp | shre2398/openvino | f84a6d97ace26b75ae9d852525a997cbaba32e6a | [
"Apache-2.0"
] | 1 | 2020-12-22T05:01:12.000Z | 2020-12-23T09:49:43.000Z | inference-engine/tests/functional/plugin/myriad/shared_tests_instances/skip_tests_config.cpp | shre2398/openvino | f84a6d97ace26b75ae9d852525a997cbaba32e6a | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include <string>
#include "functional_test_utils/skip_tests_config.hpp"
std::vector<std::string> disabledTestPatterns() {
return {
// Not supported activation types
".*ActivationLayerTest\\.Compar... | 37.285714 | 119 | 0.666667 | [
"vector"
] |
1036811ca02c3f41cf3d3ce2620924236fa9d23c | 31,733 | cpp | C++ | Chapter08/chapter8_tutorials/universal_robot/ur_kinematics/src/ur_moveit_plugin.cpp | PacktPublishing/Robot-Operating-System-Cookbook | d94ef672a483782922ca8b134f6de749af8e0a10 | [
"MIT"
] | 53 | 2018-09-13T05:11:03.000Z | 2022-02-28T04:09:58.000Z | Chapter08/chapter8_tutorials/universal_robot/ur_kinematics/src/ur_moveit_plugin.cpp | PacktPublishing/Robot-Operating-System-Cookbook | d94ef672a483782922ca8b134f6de749af8e0a10 | [
"MIT"
] | 2 | 2018-09-30T08:32:22.000Z | 2019-04-12T13:37:43.000Z | Chapter08/chapter8_tutorials/universal_robot/ur_kinematics/src/ur_moveit_plugin.cpp | PacktPublishing/Robot-Operating-System-Cookbook | d94ef672a483782922ca8b134f6de749af8e0a10 | [
"MIT"
] | 31 | 2018-09-16T06:05:13.000Z | 2021-09-10T18:10:37.000Z | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, Georgia Tech
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are ... | 37.777381 | 285 | 0.630826 | [
"object",
"vector",
"model"
] |
103fa0f5faf841c78c14dbb1679d7296e0913ba7 | 7,073 | cc | C++ | paddle/fluid/framework/ir/fc_fuse_pass.cc | XiaoguangHu01/Paddle | af37285870439a6410851eb0cc8a1b5849ee203a | [
"Apache-2.0"
] | null | null | null | paddle/fluid/framework/ir/fc_fuse_pass.cc | XiaoguangHu01/Paddle | af37285870439a6410851eb0cc8a1b5849ee203a | [
"Apache-2.0"
] | 1 | 2021-01-25T09:40:19.000Z | 2021-01-25T09:40:19.000Z | paddle/fluid/framework/ir/fc_fuse_pass.cc | XiaoguangHu01/Paddle | af37285870439a6410851eb0cc8a1b5849ee203a | [
"Apache-2.0"
] | 3 | 2021-01-07T12:51:20.000Z | 2021-01-08T04:31:16.000Z | // Copyright (c) 2018 PaddlePaddle Authors. 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... | 36.647668 | 78 | 0.652199 | [
"vector"
] |
1040077b02a464794663d5e05f6003228cece2f8 | 51,635 | cpp | C++ | OgreMain/src/OgreFrustum.cpp | Sukesh16/121212 | f7bcfae219af453247172c13d4484141ccf8e978 | [
"MIT"
] | null | null | null | OgreMain/src/OgreFrustum.cpp | Sukesh16/121212 | f7bcfae219af453247172c13d4484141ccf8e978 | [
"MIT"
] | null | null | null | OgreMain/src/OgreFrustum.cpp | Sukesh16/121212 | f7bcfae219af453247172c13d4484141ccf8e978 | [
"MIT"
] | null | null | null | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person o... | 37.607429 | 103 | 0.482696 | [
"object",
"vector",
"transform"
] |
104159b3ffe82a6e7ae6cfd1d7f21d5908b9bbdf | 2,510 | cpp | C++ | hphp/runtime/base/req-root.cpp | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 9,491 | 2015-01-01T00:30:28.000Z | 2022-03-31T20:22:11.000Z | hphp/runtime/base/req-root.cpp | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 4,796 | 2015-01-01T00:26:31.000Z | 2022-03-31T01:09:05.000Z | hphp/runtime/base/req-root.cpp | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 2,126 | 2015-01-01T11:13:29.000Z | 2022-03-28T19:58:15.000Z | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 33.026316 | 80 | 0.58247 | [
"object"
] |
104175f8d32f5838bb3f487479ac0ff3b7d2a93a | 479 | cpp | C++ | aws-cpp-sdk-mq/source/model/ListTagsRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-mq/source/model/ListTagsRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-mq/source/model/ListTagsRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/mq/model/ListTagsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::MQ::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Ut... | 17.107143 | 69 | 0.726514 | [
"model"
] |
1041ac85dc30b4d76784c1e522229800f6c44100 | 3,017 | cpp | C++ | libredex/Mutators.cpp | sjndhkl/redex | f6da510e67da284b0093bf01e2e9357d8b963cfd | [
"BSD-3-Clause"
] | null | null | null | libredex/Mutators.cpp | sjndhkl/redex | f6da510e67da284b0093bf01e2e9357d8b963cfd | [
"BSD-3-Clause"
] | null | null | null | libredex/Mutators.cpp | sjndhkl/redex | f6da510e67da284b0093bf01e2e9357d8b963cfd | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "... | 33.153846 | 86 | 0.64004 | [
"transform"
] |
1041f63aa2e295b6999ae82a7b6b9bcddaa0ea1f | 40,767 | cpp | C++ | lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp | c834606877/llvm-project | 01de58136ae4971b8d7d32a765092121f9975377 | [
"Apache-2.0"
] | 5 | 2021-02-21T22:35:08.000Z | 2022-02-01T18:22:50.000Z | lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp | c834606877/llvm-project | 01de58136ae4971b8d7d32a765092121f9975377 | [
"Apache-2.0"
] | null | null | null | lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp | c834606877/llvm-project | 01de58136ae4971b8d7d32a765092121f9975377 | [
"Apache-2.0"
] | 1 | 2021-03-30T11:22:52.000Z | 2021-03-30T11:22:52.000Z | //===-- ProcessMinidump.cpp -----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 39.274566 | 84 | 0.681728 | [
"object",
"vector"
] |
104206d5c3f978b622095a5a3b88f965df77742f | 2,173 | cc | C++ | k-closest-points-to-origin.cc | ArCan314/leetcode | 8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd | [
"MIT"
] | null | null | null | k-closest-points-to-origin.cc | ArCan314/leetcode | 8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd | [
"MIT"
] | null | null | null | k-closest-points-to-origin.cc | ArCan314/leetcode | 8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd | [
"MIT"
] | null | null | null | #include <vector>
#include <algorithm>
#include <queue>
#include <random>
class Solution
{
private:
std::mt19937 dev{ std::random_device{}() };
public:
std::vector<std::vector<int>> kClosest(std::vector<std::vector<int>> &points, int k)
{
return kClosestLinearSelect(points, k);
}
std::vect... | 28.973333 | 117 | 0.513116 | [
"vector"
] |
104322f08fcf436fd4bb94d0be9fc5b872b06360 | 5,530 | cpp | C++ | tools/skpinfo.cpp | InvictrixRom/external_skia | 5d1778b530aa0b845b8d6996815665f7cc44bf38 | [
"BSD-3-Clause"
] | 4 | 2019-10-18T05:53:30.000Z | 2021-08-21T07:36:37.000Z | tools/skpinfo.cpp | InvictrixRom/external_skia | 5d1778b530aa0b845b8d6996815665f7cc44bf38 | [
"BSD-3-Clause"
] | 4 | 2016-04-08T23:04:42.000Z | 2017-06-16T21:46:02.000Z | tools/skpinfo.cpp | InvictrixRom/external_skia | 5d1778b530aa0b845b8d6996815665f7cc44bf38 | [
"BSD-3-Clause"
] | 7 | 2017-09-30T23:06:11.000Z | 2019-05-30T08:54:33.000Z | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkCommandLineFlags.h"
#include "SkPicture.h"
#include "SkPictureData.h"
#include "SkStream.h"
#include "SkFontDescriptor.h"
DEFINE_string2(input, i, "", "skp on whi... | 31.067416 | 74 | 0.551899 | [
"object"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.