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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c85b65a2b9311fcbade6847add3c70884fd2e289 | 3,286 | cc | C++ | third_party/blink/renderer/platform/graphics/paint/transform_paint_property_node.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | third_party/blink/renderer/platform/graphics/paint/transform_paint_property_node.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/renderer/platform/graphics/paint/transform_paint_property_node.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/platform/graphics/paint/transform_paint_property_node.h"
namespace blink {
// The root of the transform tree. The r... | 37.340909 | 93 | 0.692635 | [
"transform"
] |
c85bc36ffbb2d27e8c9d2d3739a18aabb4fe581c | 7,345 | cpp | C++ | camera control/src/main.cpp | vugolfcart/zed-examples | eecbac1322725557056bc1344219d0a47113b8d0 | [
"MIT"
] | null | null | null | camera control/src/main.cpp | vugolfcart/zed-examples | eecbac1322725557056bc1344219d0a47113b8d0 | [
"MIT"
] | null | null | null | camera control/src/main.cpp | vugolfcart/zed-examples | eecbac1322725557056bc1344219d0a47113b8d0 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2018, STEREOLABS.
//
// All rights reserved.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIE... | 34.162791 | 149 | 0.603131 | [
"object",
"model"
] |
c85c2b84f1e16fc89da163f0138344cb478f5dce | 13,123 | cpp | C++ | tools/PocoDoc/src/PocoDoc.cpp | Maximilian995/Macchina | b22cb4b87ffed86b9266889ad6bd44388792fbbe | [
"Apache-2.0"
] | 1 | 2021-12-04T04:07:20.000Z | 2021-12-04T04:07:20.000Z | tools/PocoDoc/src/PocoDoc.cpp | bas524/cmake.macchina.io | 22a21d78f8075fd145b788b41a23603591e91c9f | [
"Apache-2.0"
] | null | null | null | tools/PocoDoc/src/PocoDoc.cpp | bas524/cmake.macchina.io | 22a21d78f8075fd145b788b41a23603591e91c9f | [
"Apache-2.0"
] | 1 | 2022-01-11T02:51:18.000Z | 2022-01-11T02:51:18.000Z | //
// PocoDoc.cpp
//
// Copyright (c) 2005-2014, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/StringTokenizer.h"
#include "Poco/Glob.h"
#include "Poco/Path.h"
#include "Poco/File.h"
#include "Poco/DirectoryIterator.h"
#include "Poco/Proce... | 25.091778 | 146 | 0.659834 | [
"vector"
] |
c85daa1ed69d07543cedf3824c1cf78b3ba5ae53 | 1,641 | cpp | C++ | p773/p773.cpp | suzyz/leetcode_practice | e22dc5a81e065dc962e5561b14ac84b9a2302e8a | [
"MIT"
] | 1 | 2019-10-07T05:00:21.000Z | 2019-10-07T05:00:21.000Z | p773/p773.cpp | suzyz/leetcode_practice | e22dc5a81e065dc962e5561b14ac84b9a2302e8a | [
"MIT"
] | null | null | null | p773/p773.cpp | suzyz/leetcode_practice | e22dc5a81e065dc962e5561b14ac84b9a2302e8a | [
"MIT"
] | null | null | null | class Solution {
public:
const string target = "123450";
const int dir[4][2] = {{0,1}, {0,-1}, {1,0},{-1,0}};
deque<string> qu1, qu2;
unordered_set<string> vis1, vis2;
int slidingPuzzle(vector<vector<int>>& board) {
string start;
for (int i = 0; i < 2; ++i)
for (int j = 0; j < 3; ++j)... | 21.88 | 53 | 0.401584 | [
"vector"
] |
c85ef6d945c655b74020aba9201e9db025cc9d89 | 8,046 | cpp | C++ | code/editors/XTools/ETools.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/editors/XTools/ETools.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/editors/XTools/ETools.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 3 | 2020-10-12T18:04:42.000Z | 2020-10-12T18:04:59.000Z | #include "stdafx.h"
#include "ETools.h"
#include "xrXRC.h"
#pragma warning(disable:4267)
BOOL APIENTRY DllMain(HANDLE hModule, DWORD fdwReason, LPVOID lpReserved)
{
switch (fdwReason) {
case DLL_PROCESS_ATTACH:
Debug._initialize();
Core._initialize("XRayEditorTools", 0, FALSE);
//FPU::m64r ();
break;
... | 38.314286 | 156 | 0.672011 | [
"model"
] |
c8643a3ab54f7e4e5c366e043147334bd1f396c9 | 277 | hpp | C++ | include/oddlib/compressiontype2.hpp | mouzedrift/alive | 7c297a39c60e930933c0a93ea373226907f8b1c7 | [
"MIT"
] | 131 | 2015-03-21T14:10:21.000Z | 2021-01-19T03:54:04.000Z | include/oddlib/compressiontype2.hpp | mouzedrift/alive | 7c297a39c60e930933c0a93ea373226907f8b1c7 | [
"MIT"
] | 51 | 2015-04-06T17:24:45.000Z | 2018-02-03T14:36:37.000Z | include/oddlib/compressiontype2.hpp | mouzedrift/alive | 7c297a39c60e930933c0a93ea373226907f8b1c7 | [
"MIT"
] | 17 | 2015-10-07T10:20:47.000Z | 2021-08-02T04:14:11.000Z | #pragma once
#include <vector>
#include "types.hpp"
namespace Oddlib
{
class IStream;
class CompressionType2
{
public:
CompressionType2() = default;
std::vector<u8> Decompress(IStream& stream, u32 finalW, u32 w, u32 h, u32 dataSize);
};
}
| 17.3125 | 92 | 0.638989 | [
"vector"
] |
c868671a6c6e846808cf28200b5169c79da53377 | 194,815 | cc | C++ | src/torque/implementation-visitor.cc | vincent-unity/v8 | 6925c86b1dcec37ee5682049f6a07c8a62befb58 | [
"BSD-3-Clause"
] | null | null | null | src/torque/implementation-visitor.cc | vincent-unity/v8 | 6925c86b1dcec37ee5682049f6a07c8a62befb58 | [
"BSD-3-Clause"
] | null | null | null | src/torque/implementation-visitor.cc | vincent-unity/v8 | 6925c86b1dcec37ee5682049f6a07c8a62befb58 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/torque/implementation-visitor.h"
#include <algorithm>
#include <iomanip>
#include <string>
#include "src/base/optional.h"
#include "src/... | 39.324788 | 80 | 0.638365 | [
"object",
"vector"
] |
c86d406bca4c61451ab68a159395cdef5c4b474f | 1,023 | cpp | C++ | test/utest/device_map/device_map_test.cpp | xjqbest/HugeCTR | 0b1c92d5e65891dfdd90d917bc6d520d0ca5d1e1 | [
"Apache-2.0"
] | 130 | 2021-10-11T11:55:28.000Z | 2022-03-31T21:53:07.000Z | test/utest/device_map/device_map_test.cpp | xjqbest/HugeCTR | 0b1c92d5e65891dfdd90d917bc6d520d0ca5d1e1 | [
"Apache-2.0"
] | 72 | 2021-10-09T04:59:09.000Z | 2022-03-31T11:27:54.000Z | test/utest/device_map/device_map_test.cpp | xjqbest/HugeCTR | 0b1c92d5e65891dfdd90d917bc6d520d0ca5d1e1 | [
"Apache-2.0"
] | 29 | 2021-11-03T22:35:01.000Z | 2022-03-30T13:11:59.000Z | /*
* Copyright (c) 2021, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 31 | 75 | 0.715543 | [
"vector"
] |
c86fa34a2af4e2830b149b34ad2c77dc7aa97563 | 12,006 | cc | C++ | garnet/bin/fidl_compatibility_test/compatibility_test_server_llcpp.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | null | null | null | garnet/bin/fidl_compatibility_test/compatibility_test_server_llcpp.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 5 | 2020-09-06T09:02:06.000Z | 2022-03-02T04:44:22.000Z | garnet/bin/fidl_compatibility_test/compatibility_test_server_llcpp.cc | ZVNexus/fuchsia | c5610ad15208208c98693618a79c705af935270c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <fidl/test/compatibility/llcpp/fidl.h>
#include <fuchsia/sys/cpp/fidl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/fdio/directory.h>
#inc... | 40.976109 | 80 | 0.624854 | [
"vector"
] |
c871d53caf953ad8d49df2635233886d6d474063 | 5,428 | cc | C++ | caffe2/operators/lengths_top_k_op.cc | shigengtian/caffe2 | e19489d6acd17fea8ca98cd8e4b5b680e23a93c5 | [
"Apache-2.0"
] | 1 | 2018-03-26T13:25:03.000Z | 2018-03-26T13:25:03.000Z | caffe2/operators/lengths_top_k_op.cc | shigengtian/caffe2 | e19489d6acd17fea8ca98cd8e4b5b680e23a93c5 | [
"Apache-2.0"
] | null | null | null | caffe2/operators/lengths_top_k_op.cc | shigengtian/caffe2 | e19489d6acd17fea8ca98cd8e4b5b680e23a93c5 | [
"Apache-2.0"
] | 1 | 2018-12-20T09:14:48.000Z | 2018-12-20T09:14:48.000Z | #include "caffe2/operators/lengths_top_k_op.h"
namespace caffe2 {
template <typename T, class Context>
bool LengthsTopKOp<T, Context>::RunOnDevice() {
auto& X = Input(X_IN);
auto& Y = Input(Y_IN);
int N = Y.dim32(0);
const T* X_data = X.template data<T>();
const int* input_len = Y.template data<int>();
au... | 33.300613 | 79 | 0.649963 | [
"shape",
"vector"
] |
c873466cdfd74d8bbbe549b9b7c193d6e8b36cf8 | 3,619 | cpp | C++ | examples/src/webcam_mobilenet_example.cpp | Piaktipik/depthai-core | 06dcfd5daab08591a58811763c8bd28c22c0ca7f | [
"MIT"
] | null | null | null | examples/src/webcam_mobilenet_example.cpp | Piaktipik/depthai-core | 06dcfd5daab08591a58811763c8bd28c22c0ca7f | [
"MIT"
] | null | null | null | examples/src/webcam_mobilenet_example.cpp | Piaktipik/depthai-core | 06dcfd5daab08591a58811763c8bd28c22c0ca7f | [
"MIT"
] | null | null | null |
#include <cstdio>
#include <iostream>
#include "utility.hpp"
// Inludes common necessary includes for development using depthai library
#include "depthai/depthai.hpp"
int main(int argc, char** argv) {
using namespace std;
// Default blob path provided by Hunter private data download
// Applicable for e... | 27.210526 | 108 | 0.504007 | [
"vector",
"transform"
] |
c874f6bd8f0c8f2eba69d1928c1405c4f9585c8a | 28,401 | cpp | C++ | networkit/cpp/algebraic/test/MatricesGTest.cpp | valentin-noske/networkit | fc598542eb3815b0eb9c0a06bc40fe6c6ca0ae89 | [
"MIT"
] | null | null | null | networkit/cpp/algebraic/test/MatricesGTest.cpp | valentin-noske/networkit | fc598542eb3815b0eb9c0a06bc40fe6c6ca0ae89 | [
"MIT"
] | null | null | null | networkit/cpp/algebraic/test/MatricesGTest.cpp | valentin-noske/networkit | fc598542eb3815b0eb9c0a06bc40fe6c6ca0ae89 | [
"MIT"
] | null | null | null | // no-networkit-format
/*
* MatricesGTest.cpp
*
* Created on: May 31, 2016
* Author: Michael Wegner (michael.wegner@student.kit.edu)
*/
#include <gtest/gtest.h>
#include <networkit/auxiliary/Random.hpp>
#include <networkit/algebraic/AlgebraicGlobals.hpp>
#include <networkit/algebraic/Vector.hpp>
#include <... | 24.253629 | 129 | 0.578818 | [
"vector"
] |
c8759dcf23cfd273d4e490f4b11c1f71e7815e32 | 28,386 | cpp | C++ | DearPyGui/src/core/PythonCommands/mvAppInterface.cpp | czhmisaka/DearPyGui | a10b6cb8446aa17d3b3255214ca6b535111ec835 | [
"MIT"
] | 1 | 2021-02-09T07:03:52.000Z | 2021-02-09T07:03:52.000Z | DearPyGui/src/core/PythonCommands/mvAppInterface.cpp | VinoXuanyu/DearPyGui | 4d45df347c9de67062c6d0e0db0b4e6e2864b184 | [
"MIT"
] | null | null | null | DearPyGui/src/core/PythonCommands/mvAppInterface.cpp | VinoXuanyu/DearPyGui | 4d45df347c9de67062c6d0e0db0b4e6e2864b184 | [
"MIT"
] | null | null | null | #include "mvAppInterface.h"
#include "mvAppItem.h"
#include "mvWindow.h"
#include "mvEvents.h"
#include <ImGuiFileDialog.h>
#include <iostream>
namespace Marvel {
void AddAppCommands(std::map<std::string, mvPythonParser>* parsers)
{
parsers->insert({ "add_texture", mvPythonParser({
{mvPythonDataType::String, "... | 28.847561 | 138 | 0.675016 | [
"object",
"vector"
] |
c877b7130c55c728a635a4170405447115551244 | 114,249 | cc | C++ | paddle/fluid/operators/mlu/mlu_baseop.cc | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 2 | 2021-07-25T06:47:03.000Z | 2021-12-17T04:27:26.000Z | paddle/fluid/operators/mlu/mlu_baseop.cc | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | null | null | null | paddle/fluid/operators/mlu/mlu_baseop.cc | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 2 | 2021-03-10T08:05:40.000Z | 2021-03-11T14:30:14.000Z | /* Copyright (c) 2021 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 by applicable law or... | 44.750881 | 80 | 0.700776 | [
"vector",
"transform"
] |
c88126e42447a5c724c2c27050dabc0b4c32cb28 | 3,579 | hpp | C++ | parallel_transport_frames.hpp | ddiakopoulos/sandbox | fd4aa4d0e1cd6e45459cdee44aa18d0087adb708 | [
"Unlicense"
] | 177 | 2015-09-19T19:51:57.000Z | 2021-11-08T11:25:55.000Z | parallel_transport_frames.hpp | ddiakopoulos/gfx_dev | fd4aa4d0e1cd6e45459cdee44aa18d0087adb708 | [
"Unlicense"
] | 1 | 2016-03-16T23:27:11.000Z | 2016-03-17T08:12:54.000Z | parallel_transport_frames.hpp | ddiakopoulos/gfx_dev | fd4aa4d0e1cd6e45459cdee44aa18d0087adb708 | [
"Unlicense"
] | 16 | 2016-03-16T13:06:55.000Z | 2020-06-20T04:57:04.000Z | #ifndef parallel_transport_frames_hpp
#define parallel_transport_frames_hpp
#include "util.hpp"
#include "math-common.hpp"
#include "splines.hpp"
// good ref: http://sunandblackcat.com/tipFullView.php?l=eng&topicid=4
// Compute a set of reference frames defined by their transformation matrix along a
// curve. It is... | 37.28125 | 130 | 0.557698 | [
"vector"
] |
c8817f80d60f9b5e4a0db373dccc8b608046bcc2 | 12,660 | cpp | C++ | hyper/console/command.cpp | hyperlib/console | 045b36a3a1f0ad3493c7032409f1c4af156ad37a | [
"MIT"
] | null | null | null | hyper/console/command.cpp | hyperlib/console | 045b36a3a1f0ad3493c7032409f1c4af156ad37a | [
"MIT"
] | null | null | null | hyper/console/command.cpp | hyperlib/console | 045b36a3a1f0ad3493c7032409f1c4af156ad37a | [
"MIT"
] | null | null | null | // <hyper/console/command.cpp> -*- C++ -*-
/**
* Hyper
*
* (c) 2017 Axel Etcheverry
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <sstream>
#i... | 29.44186 | 122 | 0.450237 | [
"vector"
] |
c881e9077309bfad4bed6ff9bf6abedbebc0de54 | 1,200 | cc | C++ | OnlineDB/CSCCondDB/test/stubs/CSCChamberMapHandler.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | OnlineDB/CSCCondDB/test/stubs/CSCChamberMapHandler.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | OnlineDB/CSCCondDB/test/stubs/CSCChamberMapHandler.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "OnlineDB/CSCCondDB/test/stubs/CSCChamberMapHandler.h"
#include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
#include<iostream>
#include "CondFormats/CSCObjects/interface/CSCChamberMap.h"
#include "OnlineDB/CSCCondDB/interface/CSCChamberMapValues.h"
popcon::CSCChamberMapImpl::CSCChamberMapImpl(const edm... | 31.578947 | 152 | 0.7025 | [
"object"
] |
c885db6dfcc3433a2fa7a3ea3cb8cb2994242231 | 3,598 | cpp | C++ | P0/MyApp/main.cpp | daniOrtiz11/Graficos-Por-Computador | df655ee952f0516ec63b27508617a27b0fe51a99 | [
"MIT"
] | null | null | null | P0/MyApp/main.cpp | daniOrtiz11/Graficos-Por-Computador | df655ee952f0516ec63b27508617a27b0fe51a99 | [
"MIT"
] | null | null | null | P0/MyApp/main.cpp | daniOrtiz11/Graficos-Por-Computador | df655ee952f0516ec63b27508617a27b0fe51a99 | [
"MIT"
] | null | null | null | //#include <Windows.h>
//#include <gl/GL.h>
//#include <gl/GLU.h>
//#include <GL/glut.h>
#include <GL/freeglut.h>
#include "Camera.h"
#include "Scene.h"
#include <iostream>
using namespace std;
//---------- Global variables -------------------------------------------------------------
// Viewport position and siz... | 23.827815 | 91 | 0.546415 | [
"render"
] |
c886927e74a7ee12e79b8f2cbc2ae09173cfe351 | 2,886 | cpp | C++ | src/main.cpp | 22427/df | f6761259fce95856d4ebc895b6e621c85b5b34b6 | [
"Unlicense"
] | null | null | null | src/main.cpp | 22427/df | f6761259fce95856d4ebc895b6e621c85b5b34b6 | [
"Unlicense"
] | null | null | null | src/main.cpp | 22427/df | f6761259fce95856d4ebc895b6e621c85b5b34b6 | [
"Unlicense"
] | null | null | null | #define GLM_FORCE_RADIANS
#include <glm/glm.hpp>
#include <glm/gtx/norm.hpp>
#include <glm/gtx/matrix_transform_2d.hpp>
#include <string>
#include <vector>
#include <stdint.h>
#include <algorithm>
#include <cstring>
#include <iostream>
#include <stb_image.h>
#include <stb_image_write.h>
#include <sstream>
#include "b... | 19.632653 | 97 | 0.619543 | [
"shape",
"vector"
] |
c8876b20a5c43bcc6e95236fbf0232ad36a0efdd | 17,404 | cpp | C++ | Tests/testXLRow.cpp | martbelko/OpenXLSX | 87d1c8c4c5f71aeb4ce0214b20babffaf3f17f4c | [
"BSD-3-Clause"
] | 1 | 2021-12-24T09:31:24.000Z | 2021-12-24T09:31:24.000Z | Tests/testXLRow.cpp | martbelko/OpenXLSX | 87d1c8c4c5f71aeb4ce0214b20babffaf3f17f4c | [
"BSD-3-Clause"
] | null | null | null | Tests/testXLRow.cpp | martbelko/OpenXLSX | 87d1c8c4c5f71aeb4ce0214b20babffaf3f17f4c | [
"BSD-3-Clause"
] | 1 | 2022-01-01T15:13:38.000Z | 2022-01-01T15:13:38.000Z | //
// Created by Kenneth Balslev on 27/08/2021.
//
#include <OpenXLSX.hpp>
#include <catch.hpp>
#include <fstream>
#include <vector>
#include <list>
#include <deque>
using namespace OpenXLSX;
TEST_CASE("XLRow Tests", "[XLRow]")
{
SECTION("XLRow")
{
XLDocument doc;
doc.create("./testXLRow.xlsx... | 29.152429 | 92 | 0.545852 | [
"vector"
] |
c88a4d8e7ebdc56f30a68d680f378cd24b1160e2 | 34,128 | cxx | C++ | main/sd/source/ui/view/drviews2.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sd/source/ui/view/drviews2.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sd/source/ui/view/drviews2.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 29.069847 | 141 | 0.648324 | [
"object",
"model"
] |
c88b8085803c71133585eab9b9ca6e9a0772ad3f | 3,771 | cpp | C++ | 3rdparty/glslang/SPIRV/CInterface/spirv_c_interface.cpp | christiancoder/bgfx | b96deb1cecbd92b2ca46d7266499839069d6ba6a | [
"BSD-2-Clause"
] | 166 | 2019-06-19T19:51:45.000Z | 2022-03-24T13:03:29.000Z | 3rdparty/glslang/SPIRV/CInterface/spirv_c_interface.cpp | christiancoder/bgfx | b96deb1cecbd92b2ca46d7266499839069d6ba6a | [
"BSD-2-Clause"
] | 312 | 2019-06-13T19:39:25.000Z | 2022-03-02T18:37:22.000Z | 3rdparty/glslang/SPIRV/CInterface/spirv_c_interface.cpp | christiancoder/bgfx | b96deb1cecbd92b2ca46d7266499839069d6ba6a | [
"BSD-2-Clause"
] | 23 | 2019-10-04T11:02:21.000Z | 2021-12-24T16:34:52.000Z | /**
This code is based on the glslang_c_interface implementation by Viktor Latypov
**/
/**
BSD 2-Clause License
Copyright (c) 2019, Viktor Latypov
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... | 33.972973 | 106 | 0.765845 | [
"vector"
] |
c891edf78b288836a6b7110e8873fac51e1ef484 | 1,336 | cpp | C++ | logdevice/test/utils/nc.cpp | dmitris/LogDevice | 18336bb95262c51d9b1e8f2f9ae9ad0874b023cd | [
"BSD-3-Clause"
] | null | null | null | logdevice/test/utils/nc.cpp | dmitris/LogDevice | 18336bb95262c51d9b1e8f2f9ae9ad0874b023cd | [
"BSD-3-Clause"
] | null | null | null | logdevice/test/utils/nc.cpp | dmitris/LogDevice | 18336bb95262c51d9b1e8f2f9ae9ad0874b023cd | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* 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.
*/
#include "logdevice/test/utils/nc.h"
#include "logdevice/common/debug.h"
#include "log... | 34.25641 | 80 | 0.669162 | [
"vector"
] |
c894de8360eee1746236921c3af45dabdb73aec9 | 90,306 | cpp | C++ | src/mongo/db/query/index_bounds_builder_test.cpp | hgGeorg/mongo | b5bea92504b2612f433b55e7b901f9ae276d11ec | [
"Apache-2.0"
] | null | null | null | src/mongo/db/query/index_bounds_builder_test.cpp | hgGeorg/mongo | b5bea92504b2612f433b55e7b901f9ae276d11ec | [
"Apache-2.0"
] | null | null | null | src/mongo/db/query/index_bounds_builder_test.cpp | hgGeorg/mongo | b5bea92504b2612f433b55e7b901f9ae276d11ec | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2013 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... | 42.179355 | 100 | 0.695292 | [
"vector"
] |
c89815653498976e019f47a0db2a2e2e3842eb73 | 5,140 | hpp | C++ | src/vlCore/plugins/ioJPG.hpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | 1 | 2017-06-29T18:25:11.000Z | 2017-06-29T18:25:11.000Z | src/vlCore/plugins/ioJPG.hpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | null | null | null | src/vlCore/plugins/ioJPG.hpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | 1 | 2021-01-01T10:43:33.000Z | 2021-01-01T10:43:33.000Z | /**************************************************************************************/
/* */
/* Visualization Library */
/* http://visualizationlibrary.org ... | 45.892857 | 89 | 0.502529 | [
"object"
] |
c898d06b51b8252fc21ef1a97ee9bfe89e10110e | 8,634 | cpp | C++ | mainwindow.cpp | PLLUG/CPPQT-2016-2-CafeMenuEditor | 7832561f2c347db8de49ea16b77c33032b5a43f8 | [
"MIT"
] | null | null | null | mainwindow.cpp | PLLUG/CPPQT-2016-2-CafeMenuEditor | 7832561f2c347db8de49ea16b77c33032b5a43f8 | [
"MIT"
] | null | null | null | mainwindow.cpp | PLLUG/CPPQT-2016-2-CafeMenuEditor | 7832561f2c347db8de49ea16b77c33032b5a43f8 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <utility>
#include <menu.h>
#include <menuitem.h>
#include <QJsonObject>
#include <string>
#include <queue>
#include <QJsonArray>
#include <QFileDialog>
#include <QDebug>
#include <QFile>
#include <QJsonDocument>
#include <QDir>
#include <map>
#include <tupl... | 31.396364 | 142 | 0.614895 | [
"object"
] |
c89b83b9b6b7e8f20e77f51277afe1bddf57331e | 19,136 | cpp | C++ | rtcp_payload/src/cpp_stl_98/rtcp_payload.cpp | kaitai-io/formats-kaitai-io.github.io | 2700514a2a8f67c5351fe93962c70abea02fd3d3 | [
"0BSD"
] | 4 | 2018-12-10T09:21:19.000Z | 2021-11-03T16:43:22.000Z | rtcp_payload/src/cpp_stl_98/rtcp_payload.cpp | kaitai-io/formats-kaitai-io.github.io | 2700514a2a8f67c5351fe93962c70abea02fd3d3 | [
"0BSD"
] | null | null | null | rtcp_payload/src/cpp_stl_98/rtcp_payload.cpp | kaitai-io/formats-kaitai-io.github.io | 2700514a2a8f67c5351fe93962c70abea02fd3d3 | [
"0BSD"
] | 3 | 2019-04-08T08:22:22.000Z | 2021-10-10T19:11:51.000Z | // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
#include "rtcp_payload.h"
rtcp_payload_t::rtcp_payload_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, rtcp_payload_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m_rtcp... | 27.337143 | 203 | 0.637803 | [
"vector"
] |
c8a158c9f84965c85aa7ac957063c3889eb6d725 | 5,047 | hpp | C++ | include/GlobalNamespace/SimpleAudioPlayer.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/SimpleAudioPlayer.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/SimpleAudioPlayer.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: AudioPlayerBase
#include "GlobalNamespace/AudioPlayerBase.hpp"
#include "exte... | 41.710744 | 343 | 0.705964 | [
"object"
] |
c8a54bb46eb33a59b3fad97e3b622833ff2d0317 | 144,546 | cpp | C++ | src/CppParser/Parser.cpp | ChristophBender/CppSharp | 59e766a394000e63bbb7fb7236b7cb9f83083e59 | [
"MIT"
] | 1 | 2022-01-05T10:34:27.000Z | 2022-01-05T10:34:27.000Z | src/CppParser/Parser.cpp | ChristophBender/CppSharp | 59e766a394000e63bbb7fb7236b7cb9f83083e59 | [
"MIT"
] | null | null | null | src/CppParser/Parser.cpp | ChristophBender/CppSharp | 59e766a394000e63bbb7fb7236b7cb9f83083e59 | [
"MIT"
] | 2 | 2021-12-07T10:53:27.000Z | 2021-12-22T06:50:43.000Z | /************************************************************************
*
* CppSharp
* Licensed under the simplified BSD license. All rights reserved.
*
************************************************************************/
#ifdef DEBUG
#undef DEBUG // workaround DEBUG define messing with LLVM COFF headers
#endif... | 30.462803 | 123 | 0.616766 | [
"object",
"vector",
"model"
] |
c8a5e8cd567a92e7de13bafa452842a11ed613c5 | 17,071 | cpp | C++ | layers/render_pass_state.cpp | youkim02/Vulkan-ValidationLayers | 09227446c8d3a6bc1f7814adee401573cdcc8c0f | [
"Apache-2.0"
] | null | null | null | layers/render_pass_state.cpp | youkim02/Vulkan-ValidationLayers | 09227446c8d3a6bc1f7814adee401573cdcc8c0f | [
"Apache-2.0"
] | null | null | null | layers/render_pass_state.cpp | youkim02/Vulkan-ValidationLayers | 09227446c8d3a6bc1f7814adee401573cdcc8c0f | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2015-2022 The Khronos Group Inc.
* Copyright (c) 2015-2022 Valve Corporation
* Copyright (c) 2015-2022 LunarG, Inc.
* Copyright (C) 2015-2022 Google Inc.
* Modifications Copyright (C) 2020 Advanced Micro Devices, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "L... | 50.958209 | 165 | 0.675122 | [
"vector"
] |
c8a72562524b3f44d8cd6194f60f711792146c5f | 339,193 | cc | C++ | mysql-dst/mysql-cluster/sql/field.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 9 | 2020-12-17T01:59:13.000Z | 2022-03-30T16:25:08.000Z | mysql-dst/mysql-cluster/sql/field.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-07-30T12:06:33.000Z | 2021-07-31T10:16:09.000Z | mysql-dst/mysql-cluster/sql/field.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-08-01T13:47:07.000Z | 2021-08-01T13:47:07.000Z | /*
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed i... | 29.180403 | 112 | 0.653967 | [
"geometry",
"object",
"vector"
] |
c8a9d8cd1e0ed41a2562e1548bbd725084121d37 | 4,491 | cpp | C++ | solved/o-q/opening-doors/doors.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/o-q/opening-doors/doors.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/o-q/opening-doors/doors.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | #include <cstdio>
#include <cstring>
#include <vector>
using namespace std;
#define MAXLEN 101
#define crFor(t,v,c) \
for(t::const_reverse_iterator v=c.rbegin(); v != c.rend(); ++v)
typedef vector<int> IV;
typedef IV::iterator IVi;
//
// Big Integer
//
#define BIBAS 1000
#define BIDIG 3
#define BIFMT "%03d"
... | 26.417647 | 78 | 0.421732 | [
"vector"
] |
c8ac76275e8536a37d5211337664164948f14788 | 1,353 | cpp | C++ | Game/player.cpp | benbancroft/2DEngine | 56aa3ecd388bac3ad3e036a750749b2399d2ed12 | [
"MIT"
] | null | null | null | Game/player.cpp | benbancroft/2DEngine | 56aa3ecd388bac3ad3e036a750749b2399d2ed12 | [
"MIT"
] | null | null | null | Game/player.cpp | benbancroft/2DEngine | 56aa3ecd388bac3ad3e036a750749b2399d2ed12 | [
"MIT"
] | null | null | null | #include "player.h"
void Player::Loaded(Core::Engine* engine){
Entity::Loaded(engine);
Maths::Vector2<int> res = engine->GetResolution();
x = res.GetX()/2;
y = res.GetY()/2;
speed = 0;
//SetAlarm(0, 150);
}
void Player::Tick(Core::Engine *engine){
Entity::Tick(engine);
if (hasTarge... | 22.55 | 124 | 0.577236 | [
"render"
] |
c8adefea03905797a7f14eab167e77ab69a281ae | 1,308 | cpp | C++ | impl/src/gui_fltk.cpp | mvendra/bolotracker | 2eab0505030b8615de173ce596bb12491a8977f2 | [
"MIT"
] | null | null | null | impl/src/gui_fltk.cpp | mvendra/bolotracker | 2eab0505030b8615de173ce596bb12491a8977f2 | [
"MIT"
] | null | null | null | impl/src/gui_fltk.cpp | mvendra/bolotracker | 2eab0505030b8615de173ce596bb12491a8977f2 | [
"MIT"
] | null | null | null |
#include "gui_fltk.h"
#include "fltk_wrapper.h"
#include <stdlib.h>
#include <memory>
Gui_FLTK::Gui_FLTK(int _argc, char *_argv[], Model &md):ControllerInterface{_argc, _argv, md}{
}
Gui_FLTK::~Gui_FLTK(){
}
bool Gui_FLTK::run() {
std::unique_ptr<Fl_Double_Window> window = std::make_unique<Fl_Double_Window>(... | 27.829787 | 105 | 0.655963 | [
"model"
] |
c8b1dad8f0abd80c5f03e13238bf15f2d4d40364 | 21,852 | cc | C++ | DQM/Phase2OuterTracker/plugins/OuterTrackerMonitorTTStub.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | DQM/Phase2OuterTracker/plugins/OuterTrackerMonitorTTStub.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | DQM/Phase2OuterTracker/plugins/OuterTrackerMonitorTTStub.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | // -*- C++ -*-
//
// Package: Phase2OuterTracker
// Class: Phase2OuterTracker
//
/**\class Phase2OuterTracker OuterTrackerMonitorTTStub.cc DQM/Phase2OuterTracker/plugins/OuterTrackerMonitorTTStub.cc
Description: [one line class summary]
Implementation:
[Notes on implementation]
*/
//
// Original Autho... | 44.324544 | 187 | 0.716639 | [
"geometry",
"vector"
] |
c8b2ed24e435474162b38c4dbe5e7a27a2cd888f | 1,369 | cpp | C++ | 数学/同余/crt.cpp | tempure/algorithm-advance | 38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b | [
"MIT"
] | 3 | 2020-11-16T08:58:30.000Z | 2020-11-16T08:58:33.000Z | 数学/同余/crt.cpp | tempure/algorithm-advance | 38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b | [
"MIT"
] | null | null | null | 数学/同余/crt.cpp | tempure/algorithm-advance | 38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(x) ((int)(x).size())
typedef vector<int> vi;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> pii;
mt19937 mrand(random_device{}());
const ll mod = 1000000007;
int rnd(int x) {... | 23.603448 | 144 | 0.472608 | [
"vector"
] |
c8b4bab55a93c0210c11abf8f7140bc925d04801 | 9,648 | cpp | C++ | modules/props_2d/material_cache/prop_2d_material_cache.cpp | Relintai/pandemonium_engine | 3de05db75a396b497f145411f71eb363572b38ae | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | modules/props_2d/material_cache/prop_2d_material_cache.cpp | Relintai/pandemonium_engine | 3de05db75a396b497f145411f71eb363572b38ae | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | modules/props_2d/material_cache/prop_2d_material_cache.cpp | Relintai/pandemonium_engine | 3de05db75a396b497f145411f71eb363572b38ae | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | /*
Copyright (c) 2019-2022 Péter Magyar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | 31.529412 | 134 | 0.743677 | [
"object",
"vector"
] |
c8ba3105ab0b2d964b29712143235434de6b1f5f | 5,801 | cc | C++ | src/featbin/apply-vad-merged.cc | supreet21/kaldi-1 | 996d9241eaea0f71d41eb3d064dba8907dcafa31 | [
"Apache-2.0"
] | null | null | null | src/featbin/apply-vad-merged.cc | supreet21/kaldi-1 | 996d9241eaea0f71d41eb3d064dba8907dcafa31 | [
"Apache-2.0"
] | null | null | null | src/featbin/apply-vad-merged.cc | supreet21/kaldi-1 | 996d9241eaea0f71d41eb3d064dba8907dcafa31 | [
"Apache-2.0"
] | null | null | null | // featbin/apply-vad.cc
// Copyright 2014 University of Southern California (author: Maarten Van Segbroeck)
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Yo... | 36.031056 | 109 | 0.607309 | [
"vector",
"transform"
] |
c8bd5c1136fb7f5efd45a336c1f540c2784f61ed | 55,344 | cpp | C++ | src/luxcore/pyluxcoreforblender.cpp | OmidGhotbi/LuxCore | e83fb6bf2e2c0254e3c769ffc8e5546eb71f576a | [
"Apache-2.0"
] | 826 | 2017-12-12T15:38:16.000Z | 2022-03-28T07:12:40.000Z | src/luxcore/pyluxcoreforblender.cpp | OmidGhotbi/LuxCore | e83fb6bf2e2c0254e3c769ffc8e5546eb71f576a | [
"Apache-2.0"
] | 531 | 2017-12-03T17:21:06.000Z | 2022-03-20T19:22:11.000Z | src/luxcore/pyluxcoreforblender.cpp | OmidGhotbi/LuxCore | e83fb6bf2e2c0254e3c769ffc8e5546eb71f576a | [
"Apache-2.0"
] | 133 | 2017-12-13T18:46:10.000Z | 2022-03-27T16:21:00.000Z | /***************************************************************************
* Copyright 1998-2020 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... | 35.005693 | 130 | 0.661047 | [
"mesh",
"object",
"shape",
"vector",
"transform",
"solid"
] |
c8bd74b2ac3481a49b32664d5c8c9c867e56f706 | 1,309 | hpp | C++ | libraries/chain/include/mos/chain/protocol_feature_activation.hpp | moschain/moschain-master | 418531f281a8a1fb58621bb7f38ad3202edce46f | [
"MIT"
] | null | null | null | libraries/chain/include/mos/chain/protocol_feature_activation.hpp | moschain/moschain-master | 418531f281a8a1fb58621bb7f38ad3202edce46f | [
"MIT"
] | null | null | null | libraries/chain/include/mos/chain/protocol_feature_activation.hpp | moschain/moschain-master | 418531f281a8a1fb58621bb7f38ad3202edce46f | [
"MIT"
] | null | null | null | #pragma once
#include <mos/chain/types.hpp>
namespace mos { namespace chain {
struct protocol_feature_activation : fc::reflect_init {
static constexpr uint16_t extension_id() { return 0; }
static constexpr bool enforce_unique() { return true; }
protocol_feature_activation() = default;
protocol_feat... | 28.456522 | 93 | 0.714286 | [
"vector"
] |
c8bf07cf76318a1a3b801675c9283423ce4d855d | 59,821 | cc | C++ | test/cpp/end2end/xds/xds_ring_hash_end2end_test.cc | PJB2TY/grpc | 1630efd8ab3d2ff4b006f1288fde1be5c29dc651 | [
"Apache-2.0"
] | null | null | null | test/cpp/end2end/xds/xds_ring_hash_end2end_test.cc | PJB2TY/grpc | 1630efd8ab3d2ff4b006f1288fde1be5c29dc651 | [
"Apache-2.0"
] | null | null | null | test/cpp/end2end/xds/xds_ring_hash_end2end_test.cc | PJB2TY/grpc | 1630efd8ab3d2ff4b006f1288fde1be5c29dc651 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 47.10315 | 80 | 0.715334 | [
"vector"
] |
c8bf97a6a2152fd029fe065ef39326aaa1fc9e2f | 54,264 | cpp | C++ | deps/icu/repo/source/test/intltest/dcfmapts.cpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 26 | 2015-04-22T05:25:25.000Z | 2020-11-15T11:07:56.000Z | hihope_neptune-oh_hid/00_src/v0.3/third_party/icu/icu4c/source/test/intltest/dcfmapts.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | 2 | 2015-01-05T10:41:27.000Z | 2015-01-06T20:46:11.000Z | hihope_neptune-oh_hid/00_src/v0.3/third_party/icu/icu4c/source/test/intltest/dcfmapts.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | 5 | 2016-08-02T11:13:57.000Z | 2018-10-26T11:19:27.000Z | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2015, International Business Machines Corporation and
* others. All Rights Reserved.
***************... | 39.066955 | 152 | 0.66182 | [
"object"
] |
c8c139d3ba850e564bd51b4fed500f78f7ee051d | 398 | cpp | C++ | Sabertooth/main.cpp | AugustoChies/OtimizacaoGB | 21b5aeb2f5b6ce097f953f5ccdd157d7dc9dfe8b | [
"MIT"
] | null | null | null | Sabertooth/main.cpp | AugustoChies/OtimizacaoGB | 21b5aeb2f5b6ce097f953f5ccdd157d7dc9dfe8b | [
"MIT"
] | null | null | null | Sabertooth/main.cpp | AugustoChies/OtimizacaoGB | 21b5aeb2f5b6ce097f953f5ccdd157d7dc9dfe8b | [
"MIT"
] | null | null | null | #include "System.h"
#define EXIT_FAILURE -1
#define EXIT_SUCCESS 0
Object cubo;
int main() {
cubo.readobj("uvmappedcow.obj");
//cubo.setupMesh();
System system;
if ( system.GLFWInit() != 0 ){
return EXIT_FAILURE;
}
if ( system.OpenGLSetup() != 0 ){
return EXIT_FAILURE;
}
if ( system.SystemSetup() != 0... | 13.266667 | 34 | 0.648241 | [
"object"
] |
c8c25c30bc1f4bde8569b2b91982cc339df99bc9 | 6,029 | hpp | C++ | library/include/rocwmma/internal/io_config.hpp | mkarunan/rocWMMA | 390a2e793699a1e17c18e46d7fe51e245907f012 | [
"MIT"
] | null | null | null | library/include/rocwmma/internal/io_config.hpp | mkarunan/rocWMMA | 390a2e793699a1e17c18e46d7fe51e245907f012 | [
"MIT"
] | null | null | null | library/include/rocwmma/internal/io_config.hpp | mkarunan/rocWMMA | 390a2e793699a1e17c18e46d7fe51e245907f012 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* MIT License
*
* Copyright 2021-2022 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | 41.868056 | 100 | 0.607563 | [
"geometry",
"shape",
"vector"
] |
c8c361f88037bd89769e063b04c59062b381cf3d | 5,926 | cpp | C++ | src/rpccrypto.cpp | durgeshkmr/SlimCoin-upgrade | efcc261711e7abeb22bb14fb7ab73f48a709b4e2 | [
"MIT"
] | 29 | 2017-03-16T19:01:36.000Z | 2022-03-03T03:36:55.000Z | src/rpccrypto.cpp | durgeshkmr/SlimCoin-upgrade | efcc261711e7abeb22bb14fb7ab73f48a709b4e2 | [
"MIT"
] | 17 | 2015-08-19T23:36:11.000Z | 2020-11-20T17:51:48.000Z | src/rpccrypto.cpp | durgeshkmr/SlimCoin-upgrade | efcc261711e7abeb22bb14fb7ab73f48a709b4e2 | [
"MIT"
] | 28 | 2016-06-15T18:39:22.000Z | 2021-11-21T10:31:05.000Z | /*
* Copyright (c) 2018 John Doering <ghostlander@slimcoin.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
* n... | 36.355828 | 103 | 0.681404 | [
"object",
"vector"
] |
c8c53be447292b60fbfa93aa34541a8b4e9e7799 | 14,112 | cpp | C++ | src/utils/MRMPairFinder.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/utils/MRMPairFinder.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/utils/MRMPairFinder.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 41.505882 | 373 | 0.592971 | [
"vector"
] |
c8c671d74f91ea5bbaaacf33e9c91b64a53a011d | 48,026 | cpp | C++ | src/mod/pop/wave_extensions.cpp | rafradek/sigsegv-mvm | e36f347ff5c89fcfc9ceff7ddde22ec2d1499edd | [
"BSD-2-Clause"
] | 7 | 2021-03-02T02:27:18.000Z | 2022-02-18T00:56:28.000Z | src/mod/pop/wave_extensions.cpp | rafradek/sigsegv-mvm | e36f347ff5c89fcfc9ceff7ddde22ec2d1499edd | [
"BSD-2-Clause"
] | 3 | 2021-11-29T15:53:02.000Z | 2022-02-21T13:09:22.000Z | src/mod/pop/wave_extensions.cpp | rafradek/sigsegv-mvm | e36f347ff5c89fcfc9ceff7ddde22ec2d1499edd | [
"BSD-2-Clause"
] | 5 | 2021-03-04T20:26:11.000Z | 2021-11-26T07:09:24.000Z | #include "mod.h"
#include "stub/populators.h"
#include "mod/pop/kv_conditional.h"
#include "stub/usermessages_sv.h"
#include "stub/entities.h"
#include "stub/nextbot_cc_behavior.h"
#include "stub/objects.h"
#include "stub/gamerules.h"
#include "stub/tf_objective_resource.h"
#include "stub/tfplayer.h"
#include... | 32.038692 | 158 | 0.64159 | [
"vector"
] |
c8ccb90df0b33d7952ebe23ce2770e79baf16e38 | 63,431 | cpp | C++ | handlers/token_collector/xasm/generated/xasm_singleParser.cpp | amirebrahimi/qcor | 1345cc04e7871105e1a251a1714dd9ce19a5f646 | [
"BSD-3-Clause"
] | null | null | null | handlers/token_collector/xasm/generated/xasm_singleParser.cpp | amirebrahimi/qcor | 1345cc04e7871105e1a251a1714dd9ce19a5f646 | [
"BSD-3-Clause"
] | null | null | null | handlers/token_collector/xasm/generated/xasm_singleParser.cpp | amirebrahimi/qcor | 1345cc04e7871105e1a251a1714dd9ce19a5f646 | [
"BSD-3-Clause"
] | 1 | 2021-03-14T09:13:06.000Z | 2021-03-14T09:13:06.000Z |
// Generated from xasm_single.g4 by ANTLR 4.8
#include "xasm_singleListener.h"
#include "xasm_singleVisitor.h"
#include "xasm_singleParser.h"
using namespace antlrcpp;
using namespace xasm;
using namespace antlr4;
xasm_singleParser::xasm_singleParser(TokenStream *input) : Parser(input) {
_interpreter = new atn... | 33.847919 | 103 | 0.63532 | [
"vector"
] |
c8d12b13db2422b0e97b3ac5bdc01db71fd68260 | 35,867 | cc | C++ | src/Perf.cc | IMCG/RamCloud | dad96cf34d330608acb43b009d12949ed2d938f4 | [
"0BSD"
] | 1 | 2021-12-06T01:24:22.000Z | 2021-12-06T01:24:22.000Z | src/Perf.cc | behnamm/cs244b_project | 957e8b3979e4ca24814edd73254cc4c69ea14126 | [
"0BSD"
] | null | null | null | src/Perf.cc | behnamm/cs244b_project | 957e8b3979e4ca24814edd73254cc4c69ea14126 | [
"0BSD"
] | 1 | 2021-12-06T01:24:22.000Z | 2021-12-06T01:24:22.000Z | /* Copyright (c) 2011-2014 Stanford University
* Copyright (c) 2011 Facebook
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS P... | 29.351064 | 80 | 0.608637 | [
"object",
"vector"
] |
c8d1837358f4e3489529e58c27e899e2e70ad3f5 | 19,884 | cpp | C++ | sample/so_5/news_board/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | 2 | 2018-04-14T16:16:47.000Z | 2019-04-15T06:47:58.000Z | sample/so_5/news_board/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | null | null | null | sample/so_5/news_board/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | null | null | null | /*
* An example for imitation of news board which handles requests from
* different types of clients: news-writers and news-readers.
*/
#if defined( _MSC_VER )
#if defined( __clang__ )
#pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <algorithm>
#in... | 25.992157 | 75 | 0.664253 | [
"transform"
] |
c8d31fd7211a6c8ef24915fd352a93299c34f460 | 1,038 | hpp | C++ | src/MultiLayerOptics/src/MultiPaneSampleData.hpp | bakonyidani/Windows-CalcEngine | afa4c4a9f88199c6206af8bc994a073931fc8b91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/MultiLayerOptics/src/MultiPaneSampleData.hpp | bakonyidani/Windows-CalcEngine | afa4c4a9f88199c6206af8bc994a073931fc8b91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/MultiLayerOptics/src/MultiPaneSampleData.hpp | bakonyidani/Windows-CalcEngine | afa4c4a9f88199c6206af8bc994a073931fc8b91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #ifndef MultiLayerOpticsMEASUREDDATA_H
#define MultiLayerOpticsMEASUREDDATA_H
#include "WCESpectralAveraging.hpp"
namespace FenestrationCommon {
class CSeries;
}
namespace MultiLayerOptics {
// Contain multiple spectral data samples. It also calculates MultiLayerOptics properties (Transmittance,
// Front refle... | 26.615385 | 106 | 0.783237 | [
"vector"
] |
c8d3f47e377f551d94f2bb93829646d2496c7aa4 | 6,529 | cxx | C++ | src/Cxx/Meshes/ClipFrustum.cxx | cvandijck/VTKExamples | b6bb89414522afc1467be8a1f0089a37d0c16883 | [
"Apache-2.0"
] | 309 | 2017-05-21T09:07:19.000Z | 2022-03-15T09:18:55.000Z | src/Cxx/Meshes/ClipFrustum.cxx | yijianmingliu/VTKExamples | dc8aac47c4384f9a2de9facbdd1ab3249f62ec99 | [
"Apache-2.0"
] | 379 | 2017-05-21T09:06:43.000Z | 2021-03-29T20:30:50.000Z | src/Cxx/Meshes/ClipFrustum.cxx | yijianmingliu/VTKExamples | dc8aac47c4384f9a2de9facbdd1ab3249f62ec99 | [
"Apache-2.0"
] | 170 | 2017-05-17T14:47:41.000Z | 2022-03-31T13:16:26.000Z | #include <vtkSmartPointer.h>
#include <vtkFrustumSource.h>
#include <vtkClipPolyData.h>
#include <vtkPlanes.h>
#include <vtkNamedColors.h>
#include <vtkPolyDataNormals.h>
#include <vtkBYUReader.h>
#include <vtkOBJReader.h>
#include <vtkPLYReader.h>
#include <vtkPolyDataReader.h>
#include <vtkSTLReader.h>
#include <v... | 30.087558 | 91 | 0.721244 | [
"render"
] |
c8d57c41a0fd1bb57e05a4e83ab96a5dedc7604b | 2,540 | cpp | C++ | data_structures/disjoint_set.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | data_structures/disjoint_set.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | data_structures/disjoint_set.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | /**
*
* \file
* \brief [Disjoint Sets Data Structure
* (Disjoint Sets)](https://en.wikipedia.org/wiki/Disjoint-set_data_structure)
*
* \author [leoyang429](https://github.com/leoyang429)
*
* \details
* A disjoint set data structure (also called union find or merge find set)
* is a data structure that tracks a... | 18.142857 | 78 | 0.588976 | [
"vector"
] |
c8d8bbe77166a7a2750eafd1e6bac97d916b2278 | 29,805 | cc | C++ | tests/unittests/unittests.cc | kacprzak/KTX-Software | ebc4b205e32090665d375bd9bee8559a85294b33 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-1-Clause",
"BSD-3-Clause"
] | null | null | null | tests/unittests/unittests.cc | kacprzak/KTX-Software | ebc4b205e32090665d375bd9bee8559a85294b33 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-1-Clause",
"BSD-3-Clause"
] | null | null | null | tests/unittests/unittests.cc | kacprzak/KTX-Software | ebc4b205e32090665d375bd9bee8559a85294b33 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-1-Clause",
"BSD-3-Clause"
] | null | null | null | /* -*- tab-width: 4; -*- */
/* vi: set sw=2 ts=4 expandtab: */
/*
* Copyright 2010-2020 Mark Callow.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @internal
* @file unittests.cc
* @~English
*
* @brief Tests of internal API functions.
*
* @author Mark Callow, Edgewise Consulting
*/
#if defined(_WIN32)
#... | 31.979614 | 107 | 0.610837 | [
"vector",
"model"
] |
c8d98dff3742176e38a02742eabdb57afc7cb51b | 9,314 | cpp | C++ | examples/transformation.cpp | abhilashraju/GLplus | ae61c6e615ace5495bb6e7cddab84c159eb019be | [
"MIT"
] | null | null | null | examples/transformation.cpp | abhilashraju/GLplus | ae61c6e615ace5495bb6e7cddab84c159eb019be | [
"MIT"
] | null | null | null | examples/transformation.cpp | abhilashraju/GLplus | ae61c6e615ace5495bb6e7cddab84c159eb019be | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2021 abhilashraju
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | 41.580357 | 136 | 0.494632 | [
"model"
] |
c8de82ab8d5cb20e0f187c34cf0f6f3360af139d | 5,377 | cpp | C++ | bbp/src/uwsr/FEM/CompositeResponse.cpp | alborzgh/bbp | bc0cce2378aa071a5537d25c1a738e58ef610561 | [
"Apache-2.0"
] | null | null | null | bbp/src/uwsr/FEM/CompositeResponse.cpp | alborzgh/bbp | bc0cce2378aa071a5537d25c1a738e58ef610561 | [
"Apache-2.0"
] | null | null | null | bbp/src/uwsr/FEM/CompositeResponse.cpp | alborzgh/bbp | bc0cce2378aa071a5537d25c1a738e58ef610561 | [
"Apache-2.0"
] | 1 | 2018-11-12T23:10:02.000Z | 2018-11-12T23:10:02.000Z | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... | 31.444444 | 111 | 0.530593 | [
"vector"
] |
c8e1ae4798ce577974ed453e291dd70f540b3234 | 1,574 | hpp | C++ | src/transpile/circuitopt.hpp | bytesalad/qiskit-aer | 63420bde7eccbd8181e12e0cc287e5a93090972b | [
"Apache-2.0"
] | null | null | null | src/transpile/circuitopt.hpp | bytesalad/qiskit-aer | 63420bde7eccbd8181e12e0cc287e5a93090972b | [
"Apache-2.0"
] | null | null | null | src/transpile/circuitopt.hpp | bytesalad/qiskit-aer | 63420bde7eccbd8181e12e0cc287e5a93090972b | [
"Apache-2.0"
] | null | null | null | /**
* This code is part of Qiskit.
*
* (C) Copyright IBM 2018, 2019.
*
* This code is licensed under the Apache License, Version 2.0. You may
* obtain a copy of this license in the LICENSE.txt file in the root directory
* of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
*
* Any modificatio... | 26.233333 | 78 | 0.631512 | [
"vector"
] |
c8e2acbcbcf58f22e5fee0d5c7a13ea0e4d82c19 | 853 | cpp | C++ | src/omp_flush.cpp | ggrbill/omp-tutorial | 4518d3f442f68a1a9b97b9df6e519be97ea7ed62 | [
"MIT"
] | null | null | null | src/omp_flush.cpp | ggrbill/omp-tutorial | 4518d3f442f68a1a9b97b9df6e519be97ea7ed62 | [
"MIT"
] | null | null | null | src/omp_flush.cpp | ggrbill/omp-tutorial | 4518d3f442f68a1a9b97b9df6e519be97ea7ed62 | [
"MIT"
] | null | null | null | #include <iostream>
#include <omp.h>
#include <unistd.h> // usleep function
#include <vector>
int main()
{
int n_threads, thread_id;
int size = omp_get_max_threads();
std::vector<double> v(size), w(size), k(size);
std::fill(v.begin(), v.end(), 1.0);
std::fill(w.begin(), w.end(), 1.0);
std::fil... | 24.371429 | 77 | 0.506448 | [
"vector"
] |
c8e3600e7f8c48df175e78b86d86cb2096b845ac | 630 | cpp | C++ | 78.subsets.161111266.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | 78.subsets.161111266.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | 78.subsets.161111266.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
void util(vector<vector<int>> &ans,vector<int> temp,int index, vector<int> nums)
{
ans.push_back(temp);
if(index==nums.size())
{
return;
}
for(int i=index;i<nums.size();i++)
{
// util(ans,temp,i+1,nums);... | 22.5 | 84 | 0.465079 | [
"vector"
] |
c8e4c00a992bc120042386eaeb26b859bc2f4322 | 45,108 | cpp | C++ | server/api/src/rsDataObjRepl.cpp | Darleev/irods | 961555581469ba1d3e7da99c0bff7c15898b37e9 | [
"BSD-3-Clause"
] | null | null | null | server/api/src/rsDataObjRepl.cpp | Darleev/irods | 961555581469ba1d3e7da99c0bff7c15898b37e9 | [
"BSD-3-Clause"
] | null | null | null | server/api/src/rsDataObjRepl.cpp | Darleev/irods | 961555581469ba1d3e7da99c0bff7c15898b37e9 | [
"BSD-3-Clause"
] | null | null | null | #include "apiNumber.h"
#include "dataObjClose.h"
#include "dataObjCreate.h"
#include "dataObjGet.h"
#include "dataObjLock.h"
#include "dataObjOpen.h"
#include "dataObjOpr.hpp"
#include "dataObjPut.h"
#include "dataObjRepl.h"
#include "dataObjTrim.h"
#include "fileStageToCache.h"
#include "fileSyncToArch.h"
#include "ge... | 41.921933 | 150 | 0.627294 | [
"object",
"vector"
] |
c8e8c07a4fcecdd8a0b22edb3ba76b1d465c3971 | 39,995 | cpp | C++ | src/wasm/wasm-debug.cpp | sbc100/binaryen | 224d1a113f4d7f112314a8d3f62b830d698d00b2 | [
"Apache-2.0"
] | null | null | null | src/wasm/wasm-debug.cpp | sbc100/binaryen | 224d1a113f4d7f112314a8d3f62b830d698d00b2 | [
"Apache-2.0"
] | 2 | 2020-09-04T03:05:50.000Z | 2021-08-02T17:33:59.000Z | src/wasm/wasm-debug.cpp | sbc100/binaryen | 224d1a113f4d7f112314a8d3f62b830d698d00b2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 WebAssembly Community Group participants
*
* 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... | 37.066728 | 80 | 0.647356 | [
"object",
"vector"
] |
c8e97d5c8565556f4833545308cbf46838ffa768 | 17,331 | cxx | C++ | main/framework/source/services/modulemanager.cxx | jimjag/openoffice | 74746a22d8cc22b031b00fcd106f4496bf936c77 | [
"Apache-2.0"
] | 1 | 2019-12-27T19:25:34.000Z | 2019-12-27T19:25:34.000Z | main/framework/source/services/modulemanager.cxx | ackza/openoffice | d49dfe9c625750e261c7ed8d6ccac8d361bf3418 | [
"Apache-2.0"
] | 1 | 2019-11-25T04:29:25.000Z | 2019-11-25T04:29:25.000Z | main/framework/source/services/modulemanager.cxx | ackza/openoffice | d49dfe9c625750e261c7ed8d6ccac8d361bf3418 | [
"Apache-2.0"
] | 6 | 2019-11-19T00:28:25.000Z | 2019-11-22T06:48:49.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 41.06872 | 176 | 0.533264 | [
"model"
] |
c8e982aa410e897b0900e217af650e3a35dd9bd0 | 22,224 | cc | C++ | third_party/gloo/gloo/transport/tcp/pair.cc | Hosseinabady/caffe2_fpga | d7a31107332d9288a672e8dadda7774cffb78561 | [
"MIT"
] | 6 | 2016-09-28T18:51:21.000Z | 2019-04-01T04:42:08.000Z | third_party/gloo/gloo/transport/tcp/pair.cc | axbaretto/torch | 80b25960ef1ef510c8f1cf77680593db2fb4e7c4 | [
"Apache-2.0"
] | null | null | null | third_party/gloo/gloo/transport/tcp/pair.cc | axbaretto/torch | 80b25960ef1ef510c8f1cf77680593db2fb4e7c4 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2017-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 "... | 28.096081 | 80 | 0.631075 | [
"vector"
] |
c8ea69933414ebf146c598c5a3576fa0f413ea50 | 6,462 | cpp | C++ | Source/ThirdParty/TurboBadger/tb_select_item.cpp | elix22/AtomicGameEngine | 83bc2c12f1451aea0b5de691b512810f00d5ee06 | [
"Apache-2.0",
"MIT"
] | 3,170 | 2015-02-13T12:35:00.000Z | 2022-03-31T15:32:42.000Z | Source/ThirdParty/TurboBadger/tb_select_item.cpp | elix22/AtomicGameEngine | 83bc2c12f1451aea0b5de691b512810f00d5ee06 | [
"Apache-2.0",
"MIT"
] | 1,314 | 2015-02-13T12:30:08.000Z | 2021-11-22T14:10:02.000Z | Source/ThirdParty/TurboBadger/tb_select_item.cpp | elix22/AtomicGameEngine | 83bc2c12f1451aea0b5de691b512810f00d5ee06 | [
"Apache-2.0",
"MIT"
] | 683 | 2015-02-13T12:35:06.000Z | 2022-03-31T16:13:54.000Z | // ================================================================================
// == This file is a part of Turbo Badger. (C) 2011-2014, Emil Segerås ==
// == See tb_core.h for more information. ==
// =================================================================... | 29.239819 | 109 | 0.641907 | [
"model"
] |
c8ec1cec00f9986509311edd6bf67d69f4cc9052 | 4,336 | cpp | C++ | libs/intrusive/example/doc_external_value_traits.cpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 2 | 2015-01-02T14:24:56.000Z | 2015-01-02T14:25:17.000Z | libs/intrusive/example/doc_external_value_traits.cpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 2 | 2019-01-13T23:45:51.000Z | 2019-02-03T08:13:26.000Z | libs/intrusive/example/doc_external_value_traits.cpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 4 | 2018-04-17T15:37:11.000Z | 2018-06-10T14:06:31.000Z | /////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2007-2013
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost... | 33.353846 | 99 | 0.669742 | [
"vector"
] |
c8ed40428baa6bf6e826f765d8d1eee5251040a2 | 8,559 | cc | C++ | dali/operators/detection/box_encoder.cc | truthiswill/DALI | 1c96cb62018138585b616888d4616646135cedad | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-12-25T01:36:32.000Z | 2019-12-25T01:36:32.000Z | dali/operators/detection/box_encoder.cc | CZZLEGEND/DALI | efd1f39b32b893c320ad580e7e84557df8f73983 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dali/operators/detection/box_encoder.cc | CZZLEGEND/DALI | efd1f39b32b893c320ad580e7e84557df8f73983 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | 38.728507 | 125 | 0.68723 | [
"object",
"vector"
] |
c8ee2a6b275b047991f7a5a76f5af8f7a2366cd1 | 1,542 | cpp | C++ | src/statefunctions/declaration.cpp | realliance/sWar | d5c502ad0d8c719194a0f7d4fed662daceeb2cfb | [
"BSL-1.0"
] | null | null | null | src/statefunctions/declaration.cpp | realliance/sWar | d5c502ad0d8c719194a0f7d4fed662daceeb2cfb | [
"BSL-1.0"
] | null | null | null | src/statefunctions/declaration.cpp | realliance/sWar | d5c502ad0d8c719194a0f7d4fed662daceeb2cfb | [
"BSL-1.0"
] | null | null | null | #include <algorithm>
#include <memory>
#include <vector>
#include "card.h"
#include "event.h"
#include "gamestate.h"
#include "playercontroller.h"
#include "statefunctions.h"
auto sWar::Declaration(GameState& state) -> GameState& {
for (const auto& victor : state.victors) {
if (state.hands.at(victor).empty()) {... | 26.135593 | 74 | 0.603113 | [
"vector"
] |
c8ef70dd6e994a4537877a0c711ac36b02156b05 | 2,088 | cpp | C++ | project/src/VideoStream.cpp | CheerfulMushroom/PokeRanch | 490ce1587a2c062ed8ef88f2302666cc3f910f0a | [
"CC-BY-3.0"
] | null | null | null | project/src/VideoStream.cpp | CheerfulMushroom/PokeRanch | 490ce1587a2c062ed8ef88f2302666cc3f910f0a | [
"CC-BY-3.0"
] | null | null | null | project/src/VideoStream.cpp | CheerfulMushroom/PokeRanch | 490ce1587a2c062ed8ef88f2302666cc3f910f0a | [
"CC-BY-3.0"
] | 1 | 2021-05-25T20:56:51.000Z | 2021-05-25T20:56:51.000Z | #include <iostream>
#include <opencv2/opencv.hpp>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "VideoStream.h"
#include "Utils.h"
VideoStream::VideoStream(int cam_index) {
cam = cv::VideoCapture(cam_index);
glGenTextures(1, &texture);
glGenBuffers(1, &VBO);
glGenVertexArrays(1, &VAO);
gl... | 22.945055 | 105 | 0.655172 | [
"render"
] |
c8f062c5747a6a38825e31c987737801f910e251 | 106,170 | cpp | C++ | openstudiocore/src/model/ThermalZone.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2017-10-13T09:23:04.000Z | 2017-10-13T09:23:04.000Z | openstudiocore/src/model/ThermalZone.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | null | null | null | openstudiocore/src/model/ThermalZone.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... | 34.673416 | 303 | 0.711595 | [
"geometry",
"object",
"vector",
"model"
] |
c8f4d601beb86fb5acdc2aaa2eeae2a814123d86 | 2,539 | cc | C++ | src/AndroidApiWrapper.cc | meesokim/openmsx-0.13.0 | 287033a3fcade297e008a544b715eb3906da3848 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 5 | 2015-02-27T21:42:28.000Z | 2021-10-10T23:36:08.000Z | src/AndroidApiWrapper.cc | meesokim/openmsx-0.13.0 | 287033a3fcade297e008a544b715eb3906da3848 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/AndroidApiWrapper.cc | meesokim/openmsx-0.13.0 | 287033a3fcade297e008a544b715eb3906da3848 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 2 | 2015-06-15T09:57:56.000Z | 2017-05-14T01:11:48.000Z | /*
* Android API wrapper
*
* It makes a few Android functions available for the android flavour of openMSX
*
*/
#include "build-info.hh"
#include "AndroidApiWrapper.hh"
#if PLATFORM_ANDROID
#include "openmsx.hh"
#include <stdlib.h>
#include <string.h>
#include <jni.h>
// The jniVM parameter gets set by the JNI... | 28.52809 | 89 | 0.738874 | [
"object"
] |
c8f59ce22b35b07f47388c2a3c089a6efbaf87bd | 35,398 | cpp | C++ | drivers/gles2/shader_compiler_gles2.cpp | mikica1986vee/Godot_android_tegra_fallback | 61df6d40282ea5a4ff48d60885cf83c94f804433 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | drivers/gles2/shader_compiler_gles2.cpp | mikica1986vee/Godot_android_tegra_fallback | 61df6d40282ea5a4ff48d60885cf83c94f804433 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | drivers/gles2/shader_compiler_gles2.cpp | mikica1986vee/Godot_android_tegra_fallback | 61df6d40282ea5a4ff48d60885cf83c94f804433 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | /*************************************************************************/
/* shader_compiler_gles2.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 37.73774 | 503 | 0.685406 | [
"transform"
] |
c8f656de0fa5d189a3b9256fc7a662cb49940196 | 1,820 | cpp | C++ | src/PAT/P1095.cpp | TDYe123/Algorithm | 9c7cc2b2b79db7245846affc5b263049fd866c87 | [
"MIT"
] | 1 | 2019-05-04T15:44:41.000Z | 2019-05-04T15:44:41.000Z | src/PAT/P1095.cpp | TDYe123/Algorithm | 9c7cc2b2b79db7245846affc5b263049fd866c87 | [
"MIT"
] | null | null | null | src/PAT/P1095.cpp | TDYe123/Algorithm | 9c7cc2b2b79db7245846affc5b263049fd866c87 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
struct node {
char id[10];
int time, flag = 0; //flag = 1->进入;flag = -1->离开
};
bool cmp1(node a, node b) {
if(strcmp(a.id, b.id) != 0)
return strcmp(a.id, b.id) < 0;
else
return a.time < b.time;
}
bool cmp2(node a, node b) {
return a.time < b.time;... | 25.633803 | 99 | 0.51978 | [
"vector"
] |
c8f697e045d437fc380639fc763603038d9897b3 | 2,405 | cpp | C++ | dlgsquar.cpp | RDamman/SpeakerWorkshop | 87a38d04197a07a9a7878b3f60d5e0706782163c | [
"OML"
] | 12 | 2019-06-07T10:06:41.000Z | 2021-03-22T22:13:59.000Z | dlgsquar.cpp | RDamman/SpeakerWorkshop | 87a38d04197a07a9a7878b3f60d5e0706782163c | [
"OML"
] | 1 | 2019-05-09T07:38:12.000Z | 2019-07-10T04:20:55.000Z | dlgsquar.cpp | RDamman/SpeakerWorkshop | 87a38d04197a07a9a7878b3f60d5e0706782163c | [
"OML"
] | 3 | 2020-09-08T08:27:33.000Z | 2021-05-13T09:25:43.000Z | // dlgsquar.cpp : implementation file
//
#include "stdafx.h"
#include "audtest.h"
#include "zFormEdt.h"
#include "dlgsquar.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgSquare property page... | 23.811881 | 84 | 0.695634 | [
"object"
] |
c8f771601266aa57a2ec6a46d8f345b623fa2038 | 1,672 | cpp | C++ | inference-engine/src/cldnn_engine/ops/lrn.cpp | YUNEEC/openvino | a73a9a37124ca44445683e003f53f41ce8e1dee6 | [
"Apache-2.0"
] | null | null | null | inference-engine/src/cldnn_engine/ops/lrn.cpp | YUNEEC/openvino | a73a9a37124ca44445683e003f53f41ce8e1dee6 | [
"Apache-2.0"
] | null | null | null | inference-engine/src/cldnn_engine/ops/lrn.cpp | YUNEEC/openvino | a73a9a37124ca44445683e003f53f41ce8e1dee6 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "cldnn_program.h"
#include "cldnn_common_utils.h"
#include "ngraph/op/lrn.hpp"
#include "ngraph/op/constant.hpp"
#include "api/lrn.hpp"
namespace CLDNNPlugin {
static cldnn::lrn_norm_region GetNormRegion(std::vector<int... | 32.784314 | 120 | 0.610048 | [
"vector"
] |
7402aea62b4b40691f19f1ef195ee769fd83689d | 13,923 | cpp | C++ | src/System/Player.cpp | asifmallik/SCALE-MAMBA | 80db831818b55b7675dd549920b5fb096db4321f | [
"BSD-2-Clause"
] | null | null | null | src/System/Player.cpp | asifmallik/SCALE-MAMBA | 80db831818b55b7675dd549920b5fb096db4321f | [
"BSD-2-Clause"
] | null | null | null | src/System/Player.cpp | asifmallik/SCALE-MAMBA | 80db831818b55b7675dd549920b5fb096db4321f | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2017, The University of Bristol, Senate House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom.
Copyright (c) 2020, COSIC-KU Leuven, Kasteelpark Arenberg 10, bus 2452, B-3001 Leuven-Heverlee, Belgium.
All rights reserved
*/
#include <errno.h>
#if !defined(__MACH__)
#include <malloc.h>
#else
#include... | 28.530738 | 155 | 0.519572 | [
"vector"
] |
740508e27876f531bf73b7633d84148f62172cb2 | 3,892 | cpp | C++ | src/standard/2d/sprite/sprite_system.cpp | jamjarlabs/JamJarNative | ed8aea9cbd3f1eed3eb49c7da0df50eea87e880e | [
"MIT"
] | 1 | 2022-03-28T02:26:23.000Z | 2022-03-28T02:26:23.000Z | src/standard/2d/sprite/sprite_system.cpp | jamjarlabs/JamJarNative | ed8aea9cbd3f1eed3eb49c7da0df50eea87e880e | [
"MIT"
] | 103 | 2020-02-24T23:52:58.000Z | 2021-04-18T21:00:50.000Z | src/standard/2d/sprite/sprite_system.cpp | jamjarlabs/JamJarNative | ed8aea9cbd3f1eed3eb49c7da0df50eea87e880e | [
"MIT"
] | 1 | 2021-05-20T22:29:44.000Z | 2021-05-20T22:29:44.000Z | #include "standard/2d/sprite/sprite_system.hpp"
#include "game.hpp"
#include "message/message_payload.hpp"
#include "standard/2d/render/render_system.hpp"
#include "standard/2d/render/renderable.hpp"
#include "standard/2d/sprite/sprite.hpp"
#include "standard/2d/transform/transform.hpp"
#include <array>
#include <memor... | 41.849462 | 120 | 0.677544 | [
"render",
"vector",
"transform"
] |
740582125998d3dd86a5a8a341f5748246ba09ac | 45,167 | cpp | C++ | mlir/lib/Target/SPIRV/Serialization/Serializer.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | mlir/lib/Target/SPIRV/Serialization/Serializer.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | mlir/lib/Target/SPIRV/Serialization/Serializer.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | //===- Serializer.cpp - MLIR SPIR-V Serializer ----------------------------===//
//
// 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
//
//===---------------------------... | 36.780945 | 80 | 0.648394 | [
"vector"
] |
740d74fb47b32cf11a46224e78f5db59c60e88bf | 2,197 | cpp | C++ | test/unit/api/authentication_check_test.cpp | alexgunkel/shoppinglist-server | af9f96c34588f15b477a08e5a9d490d148dae4ce | [
"Apache-2.0"
] | null | null | null | test/unit/api/authentication_check_test.cpp | alexgunkel/shoppinglist-server | af9f96c34588f15b477a08e5a9d490d148dae4ce | [
"Apache-2.0"
] | null | null | null | test/unit/api/authentication_check_test.cpp | alexgunkel/shoppinglist-server | af9f96c34588f15b477a08e5a9d490d148dae4ce | [
"Apache-2.0"
] | null | null | null | #include "api/authentication_check.h"
#include <gtest/gtest.h>
#include <cpprest/asyncrt_utils.h>
TEST(AuthenticationRepositoryTest, testAuthentication) {
AuthenticationRepository repo{std::make_unique<HashingAlgorithm>()};
repo.addUser(User{"foo"}, Password{"bar"});
EXPECT_TRUE(repo.checkUser(User{"foo... | 37.87931 | 100 | 0.720983 | [
"vector"
] |
740d7ae86b30b83bc1f280338a0cf3b3dc756edd | 2,731 | cc | C++ | mindspore/lite/src/delegate/npu/op/argmax_npu.cc | Vincent34/mindspore | a39a60878a46e7e9cb02db788c0bca478f2fa6e5 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/delegate/npu/op/argmax_npu.cc | Vincent34/mindspore | a39a60878a46e7e9cb02db788c0bca478f2fa6e5 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/delegate/npu/op/argmax_npu.cc | Vincent34/mindspore | a39a60878a46e7e9cb02db788c0bca478f2fa6e5 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 35.467532 | 108 | 0.685097 | [
"shape",
"vector"
] |
74162d2efe74e3db0cbcc5d14197b6a4459de219 | 92,131 | cpp | C++ | source/slang/slang-compiler.cpp | lucy96chen/slang | fc84455d0d1cb6b9396ba869a17d6f8d4b65ecc6 | [
"MIT"
] | null | null | null | source/slang/slang-compiler.cpp | lucy96chen/slang | fc84455d0d1cb6b9396ba869a17d6f8d4b65ecc6 | [
"MIT"
] | null | null | null | source/slang/slang-compiler.cpp | lucy96chen/slang | fc84455d0d1cb6b9396ba869a17d6f8d4b65ecc6 | [
"MIT"
] | null | null | null | // Compiler.cpp : Defines the entry point for the console application.
//
#include "../core/slang-basic.h"
#include "../core/slang-platform.h"
#include "../core/slang-io.h"
#include "../core/slang-string-util.h"
#include "../core/slang-hex-dump-util.h"
#include "../core/slang-riff.h"
#include "../core/slang-type-text-u... | 35.779029 | 157 | 0.573054 | [
"mesh",
"geometry",
"object",
"model"
] |
741c79cc812967348ad8cfe5b8e890e844460bf4 | 13,538 | cc | C++ | src/chromium/web_runner_tests/web_runner_pixel_tests.cc | EnderNightLord-ChromeBook/zircon-rpi | b09b1eb3aa7a127c65568229fe10edd251869283 | [
"BSD-2-Clause"
] | 1 | 2020-12-29T17:07:06.000Z | 2020-12-29T17:07:06.000Z | src/chromium/web_runner_tests/web_runner_pixel_tests.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | null | null | null | src/chromium/web_runner_tests/web_runner_pixel_tests.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <fuchsia/sys/cpp/fidl.h>
#include <fuchsia/ui/app/cpp/fidl.h>
#include <fuchsia/ui/policy/cpp/fidl.h>
#include <fuchsia/ui/scenic/cpp/fidl.h>
#inc... | 37.605556 | 100 | 0.698331 | [
"vector",
"solid"
] |
741ef8f25749353f1b1f437cbe4130905c5cdd3a | 396 | cpp | C++ | solutions/1024.video-stitching.321553631.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/1024.video-stitching.321553631.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/1024.video-stitching.321553631.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | class Solution {
public:
int videoStitching(vector<vector<int>> &clips, int T) {
sort(clips.begin(), clips.end());
int n = clips.size();
int ans = 0;
for (int i = 0, start = 0, end = 0; start < T; ans++, start = end) {
while (i < n && clips[i][0] <= start)
end = max(end, clips[i++][1])... | 19.8 | 72 | 0.5 | [
"vector"
] |
742124cff8a89b51929f3f16f3b1878eef788830 | 22,571 | hpp | C++ | mmap_lib/include/mmap_str.hpp | bokket/livehd | 93d7533a6254cc404f58f54029d3106c19882743 | [
"BSD-3-Clause"
] | null | null | null | mmap_lib/include/mmap_str.hpp | bokket/livehd | 93d7533a6254cc404f58f54029d3106c19882743 | [
"BSD-3-Clause"
] | null | null | null | mmap_lib/include/mmap_str.hpp | bokket/livehd | 93d7533a6254cc404f58f54029d3106c19882743 | [
"BSD-3-Clause"
] | null | null | null | // This file is distributed under the BSD 3-Clause License. See LICENSE for details.
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <array>
#include <cstdint>
#include <string_view>
#include "mmap_map.hpp"
#define posShifter(s) s<4 ? (s-1):3
namespace mmap_lib {
class str {
protected:
// Keeping ... | 34.459542 | 109 | 0.523592 | [
"vector"
] |
742603ae73ccdba9de7fcbcca2c64bfad0e8f196 | 30,016 | cpp | C++ | src/core/hw/gfxip/universalCmdBuffer.cpp | Zakhrov/pal | c5bf5ff777e90f143a9e5b59e485cb2169e29e79 | [
"MIT"
] | null | null | null | src/core/hw/gfxip/universalCmdBuffer.cpp | Zakhrov/pal | c5bf5ff777e90f143a9e5b59e485cb2169e29e79 | [
"MIT"
] | null | null | null | src/core/hw/gfxip/universalCmdBuffer.cpp | Zakhrov/pal | c5bf5ff777e90f143a9e5b59e485cb2169e29e79 | [
"MIT"
] | null | null | null | /*
***********************************************************************************************************************
*
* Copyright (c) 2015-2019 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | 39.494737 | 120 | 0.625466 | [
"object"
] |
742c4d1a17f02a860e6d5a95868e660c3d8db4e3 | 4,113 | cpp | C++ | src/robustness.cpp | zju3dv/eval-vislam | 03ad90dc97a50149045f7c426f5e63ee5b34bd80 | [
"Apache-2.0"
] | 112 | 2019-04-01T01:39:56.000Z | 2022-03-31T06:14:40.000Z | src/robustness.cpp | zju3dv/eval-vislam | 03ad90dc97a50149045f7c426f5e63ee5b34bd80 | [
"Apache-2.0"
] | 11 | 2019-04-29T02:39:29.000Z | 2022-01-11T04:00:08.000Z | src/robustness.cpp | zju3dv/eval-vislam | 03ad90dc97a50149045f7c426f5e63ee5b34bd80 | [
"Apache-2.0"
] | 25 | 2019-04-24T02:45:45.000Z | 2021-12-27T03:41:22.000Z | #include "benchmark.h"
#include <cmath>
using namespace benchmark;
int main(int argc, char *argv[]) {
if (argc != 4) {
fputs("Usage:\n robustness <groundtruth> <input> <fix scale>", stderr);
return EXIT_FAILURE;
}
std::string dataset_root(argv[1]);
std::string input_filename(argv[2]);... | 36.723214 | 119 | 0.60248 | [
"vector"
] |
742da9d6d877dd78ce7947cf6d311a177c3d4165 | 2,403 | cpp | C++ | dev/Gems/CryLegacy/Code/Source/CryAction/GameConfigPhysicsSettings.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Gems/CryLegacy/Code/Source/CryAction/GameConfigPhysicsSettings.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Gems/CryLegacy/Code/Source/CryAction/GameConfigPhysicsSettings.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 37.546875 | 155 | 0.71161 | [
"vector"
] |
7430d1306d8be106dae4943b90883fe41a5b36b1 | 6,275 | cpp | C++ | addons/ofxMidi/example-output/src/testApp.cpp | k4rm/AscoGraph | 9038ae785b6f4f144a3ab5c4c5520761c0cd08f2 | [
"MIT"
] | 18 | 2015-01-18T22:34:22.000Z | 2020-09-06T20:30:30.000Z | addons/ofxMidi/example-output/src/testApp.cpp | k4rm/AscoGraph | 9038ae785b6f4f144a3ab5c4c5520761c0cd08f2 | [
"MIT"
] | 2 | 2015-08-04T00:07:46.000Z | 2017-05-10T15:53:51.000Z | addons/ofxMidi/example-output/src/testApp.cpp | k4rm/AscoGraph | 9038ae785b6f4f144a3ab5c4c5520761c0cd08f2 | [
"MIT"
] | 10 | 2015-01-18T23:46:10.000Z | 2019-08-25T12:10:04.000Z | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup() {
ofSetVerticalSync(true);
ofBackground(255);
ofSetLogLevel(OF_LOG_VERBOSE);
// print the available output ports to the console
midiOut.listPorts(); // via instance
//ofxMidiOut::listPorts();... | 28.784404 | 74 | 0.554263 | [
"vector"
] |
7431504bf567c52d7883a407de1d55f28e5793ed | 1,578 | hpp | C++ | umllib/include/UMLFile.hpp | mucsci-students/2021fa-420-nullptr | ca9dda5f755e5487befb8c1cfd6bca9723809fc3 | [
"BSD-2-Clause"
] | 6 | 2021-09-01T01:38:21.000Z | 2021-10-09T19:31:00.000Z | umllib/include/UMLFile.hpp | mucsci-students/2021fa-420-nullptr | ca9dda5f755e5487befb8c1cfd6bca9723809fc3 | [
"BSD-2-Clause"
] | 92 | 2021-09-07T21:14:44.000Z | 2021-12-09T23:29:37.000Z | umllib/include/UMLFile.hpp | mucsci-students/2021fa-420-nullptr | ca9dda5f755e5487befb8c1cfd6bca9723809fc3 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
/*
Filename : UMLFile.hpp
Description: Serves as an object for which information about a class
in the UML diagram is stored in a JSON file.
*/
//--------------------------------------------------------------------
// System includes
#include <vector>
#include <string>
#include <fstream>
#include... | 29.222222 | 94 | 0.54943 | [
"object",
"vector"
] |
74339ee496bf41ab071816532929e30565c90900 | 34,542 | cpp | C++ | cpp/jni/javet_converter.cpp | Cormanz/Javet | 47c098f7b355e9033349335d1fdef7fab987ddb2 | [
"Apache-2.0"
] | null | null | null | cpp/jni/javet_converter.cpp | Cormanz/Javet | 47c098f7b355e9033349335d1fdef7fab987ddb2 | [
"Apache-2.0"
] | null | null | null | cpp/jni/javet_converter.cpp | Cormanz/Javet | 47c098f7b355e9033349335d1fdef7fab987ddb2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 caoccao.com Sam Cao
* 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 ... | 67.729412 | 177 | 0.692403 | [
"object"
] |
29364b6be435932ac6ec13bbd413d65a9b735b71 | 72,673 | cpp | C++ | layer3/Editor.cpp | kingdavid72/pymol-OpenSource | 8068af8b53a4ae16657b536e83bfd5310e58a8bd | [
"CNRI-Python"
] | null | null | null | layer3/Editor.cpp | kingdavid72/pymol-OpenSource | 8068af8b53a4ae16657b536e83bfd5310e58a8bd | [
"CNRI-Python"
] | null | null | null | layer3/Editor.cpp | kingdavid72/pymol-OpenSource | 8068af8b53a4ae16657b536e83bfd5310e58a8bd | [
"CNRI-Python"
] | null | null | null |
/*
A* -------------------------------------------------------------------
B* This file contains source code for the PyMOL computer program
C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific.
D* -------------------------------------------------------------------
E* It is unlawful to modify or remove ... | 30.343633 | 140 | 0.545952 | [
"object",
"vector"
] |
2936892d33e192bc1021f07d560569436747485d | 9,141 | cpp | C++ | Cpp-Projects/Part_03_OOP/Project_2_System_Monitor/src/linux_parser.cpp | selfbeing/selfdriving | 8a40db76e5aa4ac3b0f83a855e4ca29b99b90dd9 | [
"MIT"
] | null | null | null | Cpp-Projects/Part_03_OOP/Project_2_System_Monitor/src/linux_parser.cpp | selfbeing/selfdriving | 8a40db76e5aa4ac3b0f83a855e4ca29b99b90dd9 | [
"MIT"
] | null | null | null | Cpp-Projects/Part_03_OOP/Project_2_System_Monitor/src/linux_parser.cpp | selfbeing/selfdriving | 8a40db76e5aa4ac3b0f83a855e4ca29b99b90dd9 | [
"MIT"
] | 1 | 2022-03-22T04:02:41.000Z | 2022-03-22T04:02:41.000Z | #include "linux_parser.h"
#include <dirent.h>
#include <unistd.h>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
using std::stof;
using std::string;
using std::to_string;
using std::vector;
// DONE: An example of how to read data from the filesystem
string LinuxParser::OperatingSystem() ... | 27.616314 | 80 | 0.608577 | [
"vector"
] |
293915688c8e43481656a8f807fc75f1ede3f818 | 18,934 | cc | C++ | SimG4CMS/Calo/src/ECalSD.cc | Michael-Krohn/cmssw | 25064b40a13dc451b498e850214fcbe141f7cb75 | [
"Apache-2.0"
] | 2 | 2018-06-01T05:18:55.000Z | 2021-04-08T21:44:06.000Z | SimG4CMS/Calo/src/ECalSD.cc | Michael-Krohn/cmssw | 25064b40a13dc451b498e850214fcbe141f7cb75 | [
"Apache-2.0"
] | 26 | 2018-10-30T12:47:58.000Z | 2022-03-29T08:39:00.000Z | SimG4CMS/Calo/src/ECalSD.cc | p2l1pfp/cmssw | 9bda22bf33ecf18dd19a3af2b3a8cbdb1de556a9 | [
"Apache-2.0"
] | 3 | 2019-03-09T13:06:43.000Z | 2020-07-03T00:47:30.000Z | ///////////////////////////////////////////////////////////////////////////////
// File: ECalSD.cc
// Description: Sensitive Detector class for electromagnetic calorimeters
///////////////////////////////////////////////////////////////////////////////
#include "SimG4CMS/Calo/interface/ECalSD.h"
#include "SimG4Core/Not... | 41.52193 | 120 | 0.599715 | [
"geometry",
"vector"
] |
293915bd7a9faa6b9688a53bba30b549e0b1d197 | 27,318 | cpp | C++ | NYUCodebase/space/Space_Invaders.cpp | MarcNYU/Game-Files | 43781cae89ea02d18930b1b2ead04db400c7f1dd | [
"Artistic-2.0"
] | null | null | null | NYUCodebase/space/Space_Invaders.cpp | MarcNYU/Game-Files | 43781cae89ea02d18930b1b2ead04db400c7f1dd | [
"Artistic-2.0"
] | null | null | null | NYUCodebase/space/Space_Invaders.cpp | MarcNYU/Game-Files | 43781cae89ea02d18930b1b2ead04db400c7f1dd | [
"Artistic-2.0"
] | null | null | null | //
// Space_Invaders.cpp
// NYUCodebase
//
// Created by Marcus Williams on 2/20/15.
// Copyright (c) 2015 Ivan Safrin. All rights reserved.
//
#include <stdio.h>
#include <SDL.h>
#include <SDL_opengl.h>
#include <SDL_image.h>
#include <iostream>
#include <vector>
#include <array>
#include <math.h>
#include <strin... | 43.849117 | 210 | 0.424811 | [
"vector"
] |
293c193e54de7c36d0b5ceda38f76dffdfccb304 | 1,173 | hpp | C++ | src/BFS/BFS.hpp | LeGazzelle/AlgoWEB | 1915f2593c39b28a8ea9dd84ea2e8850046f69a9 | [
"MIT"
] | 1 | 2020-06-22T09:45:01.000Z | 2020-06-22T09:45:01.000Z | src/BFS/BFS.hpp | LeGazzelle/AlgoWEB | 1915f2593c39b28a8ea9dd84ea2e8850046f69a9 | [
"MIT"
] | null | null | null | src/BFS/BFS.hpp | LeGazzelle/AlgoWEB | 1915f2593c39b28a8ea9dd84ea2e8850046f69a9 | [
"MIT"
] | null | null | null | //
// Created by Leonardo De Laurentiis on 08/10/16.
//
#ifndef ALGOWEB_BFS_H
#define ALGOWEB_BFS_H
#include <queue>
#include <vector>
#include "../AlgoWEB.hpp"
#include "../Graphs/FastGraphs.hpp"
class BFS {
public:
BFS(FastGraph &g, Vertex u, vertex_index_t Dstr);
void nextStep();
void firstStep();... | 18.619048 | 58 | 0.700767 | [
"vector"
] |
2943ad640c6940584b839969288d018a1ddc14f8 | 2,869 | cpp | C++ | solved_problems/732B.cpp | archit-1997/codeforces | 6f78a3ed5930531159ae22f7b70dc56e37a9e240 | [
"MIT"
] | 1 | 2021-01-27T16:37:31.000Z | 2021-01-27T16:37:31.000Z | solved_problems/732B.cpp | archit-1997/codeforces | 6f78a3ed5930531159ae22f7b70dc56e37a9e240 | [
"MIT"
] | null | null | null | solved_problems/732B.cpp | archit-1997/codeforces | 6f78a3ed5930531159ae22f7b70dc56e37a9e240 | [
"MIT"
] | null | null | null | /*Recently a dog was bought for Polycarp. The dog's name is Cormen. Now Polycarp
has a lot of troubles. For example, Cormen likes going for a walk.
Empirically Polycarp learned that the dog needs at least k walks for any two
consecutive days in order to feel good. For example, if k = 5 and yesterday
Polycarp went... | 24.947826 | 81 | 0.659463 | [
"vector"
] |
2945c1ec26107256c15e8a0120fd04e1f7ba88cb | 6,136 | cpp | C++ | tools/llvm-exegesis/lib/Target.cpp | HikariObfuscatorSuite/Hikari-with-llvm | 88514bf7d454b4f25a3c040e2f84e66a3651975c | [
"Apache-2.0"
] | null | null | null | tools/llvm-exegesis/lib/Target.cpp | HikariObfuscatorSuite/Hikari-with-llvm | 88514bf7d454b4f25a3c040e2f84e66a3651975c | [
"Apache-2.0"
] | null | null | null | tools/llvm-exegesis/lib/Target.cpp | HikariObfuscatorSuite/Hikari-with-llvm | 88514bf7d454b4f25a3c040e2f84e66a3651975c | [
"Apache-2.0"
] | 1 | 2022-01-03T19:46:57.000Z | 2022-01-03T19:46:57.000Z | //===-- Target.cpp ----------------------------------------------*- 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
//
//===---------------------------... | 34.27933 | 81 | 0.68693 | [
"vector",
"model"
] |
29484da9e7914100a29b09cff4eeebb866215ece | 23,108 | cpp | C++ | sparse/src/magma_z_precond_wrapper.cpp | stomov/magma.github | 79b982c88d64c660a04353fbac77fe00580060aa | [
"BSD-3-Clause"
] | 13 | 2018-03-25T01:03:31.000Z | 2022-03-31T09:12:23.000Z | sparse/src/magma_z_precond_wrapper.cpp | stomov/magma.github | 79b982c88d64c660a04353fbac77fe00580060aa | [
"BSD-3-Clause"
] | null | null | null | sparse/src/magma_z_precond_wrapper.cpp | stomov/magma.github | 79b982c88d64c660a04353fbac77fe00580060aa | [
"BSD-3-Clause"
] | 7 | 2018-03-24T23:33:28.000Z | 2022-01-25T18:41:03.000Z | /*
-- MAGMA (version 2.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date
@precisions normal z -> c d s
@author Hartwig Anzt
*/
#include "magmasparse_internal.h"
/**
Purpose
-------
For a given input matrix A a... | 34.33581 | 96 | 0.53977 | [
"vector"
] |
294dff72323b151abe3f59442ca3f64f7f0b2556 | 56,076 | cpp | C++ | src/tests/hello_xr/openxr_program.cpp | microdee/OpenXR-SDK-Source | 57cfe1711414776556039b1d65fa386ba7c1f4e9 | [
"MIT",
"Unlicense",
"Apache-2.0",
"BSD-3-Clause"
] | 226 | 2019-07-30T00:07:22.000Z | 2022-03-29T03:19:54.000Z | src/tests/hello_xr/openxr_program.cpp | microdee/OpenXR-SDK-Source | 57cfe1711414776556039b1d65fa386ba7c1f4e9 | [
"MIT",
"Unlicense",
"Apache-2.0",
"BSD-3-Clause"
] | 171 | 2019-07-29T17:51:26.000Z | 2022-03-31T18:17:31.000Z | src/tests/hello_xr/openxr_program.cpp | microdee/OpenXR-SDK-Source | 57cfe1711414776556039b1d65fa386ba7c1f4e9 | [
"MIT",
"Unlicense",
"Apache-2.0",
"BSD-3-Clause"
] | 105 | 2019-08-01T09:26:49.000Z | 2022-03-26T03:43:42.000Z | // Copyright (c) 2017-2021, The Khronos Group Inc.
//
// SPDX-License-Identifier: Apache-2.0
#include "pch.h"
#include "common.h"
#include "options.h"
#include "platformdata.h"
#include "platformplugin.h"
#include "graphicsplugin.h"
#include "openxr_program.h"
#include <common/xr_linear.h>
#include <array>
#include <c... | 53.609943 | 132 | 0.641594 | [
"render",
"object",
"vector",
"transform"
] |
294edf74df658a9147d5c578d4b61fab1c7240ec | 20,483 | cc | C++ | tensorflow/lite/micro/micro_interpreter_test.cc | zhangqiang-hf/tensorflow | 4b660b49225b49d62d023506aad248ba50cfe997 | [
"Apache-2.0"
] | 3 | 2020-08-11T13:13:52.000Z | 2020-11-09T12:59:16.000Z | tensorflow/lite/micro/micro_interpreter_test.cc | zhangqiang-hf/tensorflow | 4b660b49225b49d62d023506aad248ba50cfe997 | [
"Apache-2.0"
] | 2 | 2021-08-25T16:12:15.000Z | 2022-02-10T02:19:16.000Z | tensorflow/lite/micro/micro_interpreter_test.cc | zhangqiang-hf/tensorflow | 4b660b49225b49d62d023506aad248ba50cfe997 | [
"Apache-2.0"
] | 1 | 2021-01-22T12:29:32.000Z | 2021-01-22T12:29:32.000Z | /* Copyright 2018 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... | 40.884232 | 80 | 0.713519 | [
"object",
"model"
] |
2955e163c3ee7bd5747ed475b9d98787df05b603 | 2,063 | cpp | C++ | aula03122020/media.cpp | imdcode/imd0030_t02_2020 | 9c08e159752fa3d1169518fcc4a1046c045d7cec | [
"MIT"
] | 3 | 2020-09-23T00:59:43.000Z | 2020-10-06T22:27:00.000Z | aula03122020/media.cpp | imdcode/imd0030_t02_2020 | 9c08e159752fa3d1169518fcc4a1046c045d7cec | [
"MIT"
] | null | null | null | aula03122020/media.cpp | imdcode/imd0030_t02_2020 | 9c08e159752fa3d1169518fcc4a1046c045d7cec | [
"MIT"
] | 4 | 2020-10-05T05:36:25.000Z | 2020-12-08T02:47:32.000Z | #include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
using std::stringstream;
using std::ifstream;
using std::ofstream;
using std::string;
using std::cout;
using std::endl;
using std::ios;
using std::vector;
using std::fixed;
using std::setprecision;
using std::ostream;
using s... | 23.179775 | 101 | 0.623849 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.