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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d28b40ae3f75e12d5cd823761b9cb61239e3d897 | 11,203 | cpp | C++ | src/sapi/sapi_transaction.cpp | glemercier/Core-Smart | 4ccc12a1b2a55cbad79ddee07449a5fdadf3082b | [
"MIT"
] | 67 | 2018-05-17T21:54:01.000Z | 2022-02-04T09:45:03.000Z | src/sapi/sapi_transaction.cpp | glemercier/Core-Smart | 4ccc12a1b2a55cbad79ddee07449a5fdadf3082b | [
"MIT"
] | 11 | 2018-06-23T11:27:51.000Z | 2021-02-20T17:54:18.000Z | src/sapi/sapi_transaction.cpp | glemercier/Core-Smart | 4ccc12a1b2a55cbad79ddee07449a5fdadf3082b | [
"MIT"
] | 43 | 2018-05-09T07:27:58.000Z | 2021-12-14T15:21:51.000Z | // Copyright (c) 2017 - 2020 - The SmartCash Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sapi/sapi_transaction.h"
#include "core_io.h"
#include "coins.h"
#include "consensus/validation.h"
#include "smar... | 40.298561 | 137 | 0.63367 | [
"object",
"vector"
] |
d293ffcfdf5ef14d03cd749b5dc0042a63daf45b | 2,307 | cc | C++ | src/gtl.cc | mjansche/pynini | f2fa2cc5704f028d85c6a4ce1e0d51abb0599b77 | [
"Apache-2.0"
] | 17 | 2016-08-09T07:11:32.000Z | 2021-11-24T07:14:00.000Z | src/gtl.cc | mjansche/pynini | f2fa2cc5704f028d85c6a4ce1e0d51abb0599b77 | [
"Apache-2.0"
] | null | null | null | src/gtl.cc | mjansche/pynini | f2fa2cc5704f028d85c6a4ce1e0d51abb0599b77 | [
"Apache-2.0"
] | 3 | 2016-11-20T03:36:37.000Z | 2021-07-09T08:57:39.000Z | // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed ... | 31.60274 | 75 | 0.692241 | [
"vector"
] |
d2946ab63697be1abc3012c119b4e3e0f64f75e0 | 6,120 | hpp | C++ | duds/hardware/devices/clocks/CppClockDriver.hpp | jjackowski/duds | 0fc4eec0face95c13575672f2a2d8625517c9469 | [
"BSD-2-Clause"
] | null | null | null | duds/hardware/devices/clocks/CppClockDriver.hpp | jjackowski/duds | 0fc4eec0face95c13575672f2a2d8625517c9469 | [
"BSD-2-Clause"
] | null | null | null | duds/hardware/devices/clocks/CppClockDriver.hpp | jjackowski/duds | 0fc4eec0face95c13575672f2a2d8625517c9469 | [
"BSD-2-Clause"
] | null | null | null | /*
* This file is part of the DUDS project. It is subject to the BSD-style
* license terms in the LICENSE file found in the top-level directory of this
* distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE.
* No part of DUDS, including this file, may be copied, modified, propagated,
* or dis... | 34.772727 | 80 | 0.696078 | [
"object"
] |
d29500746a1f0436d9bc42f1ebb07ba1c98a8095 | 3,704 | cpp | C++ | src/physics/ChLink.cpp | Milad-Rakhsha/Project-Chrono | 6ab7abcd532cfb3c5e3876478fdd49c7ab783f63 | [
"BSD-3-Clause"
] | 1 | 2020-02-16T16:52:08.000Z | 2020-02-16T16:52:08.000Z | src/physics/ChLink.cpp | Milad-Rakhsha/Project-Chrono | 6ab7abcd532cfb3c5e3876478fdd49c7ab783f63 | [
"BSD-3-Clause"
] | null | null | null | src/physics/ChLink.cpp | Milad-Rakhsha/Project-Chrono | 6ab7abcd532cfb3c5e3876478fdd49c7ab783f63 | [
"BSD-3-Clause"
] | null | null | null | //
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2010 Alessandro Tasora
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file at the top level of the distribution
// and at http://projectchrono.org/license-chrono.txt.
//
//... | 15.628692 | 96 | 0.600432 | [
"geometry",
"object"
] |
d29927ff61d7d29593d0d8e6999095e937d4ba22 | 28,722 | cpp | C++ | python/xmorphy.cpp | fakemoon123/XMorphy | 58ead04bccc3f134d8f3d52244629f46d38e9da0 | [
"MIT"
] | 29 | 2017-07-27T12:47:28.000Z | 2022-01-23T12:20:47.000Z | python/xmorphy.cpp | fakemoon123/XMorphy | 58ead04bccc3f134d8f3d52244629f46d38e9da0 | [
"MIT"
] | 1 | 2018-04-24T19:56:00.000Z | 2021-04-27T15:37:15.000Z | python/xmorphy.cpp | fakemoon123/XMorphy | 58ead04bccc3f134d8f3d52244629f46d38e9da0 | [
"MIT"
] | 5 | 2020-10-21T08:11:24.000Z | 2021-11-02T08:18:21.000Z | #include <iostream>
#include <string>
#include <vector>
#include <pybind11/operators.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <xmorphy/graphem/Token.h>
#include <xmorphy/graphem/Tokenizer.h>
#include <xmorphy/ml/TFDisambiguator.h>
#include <xmorphy/ml/TFMorphemicSplitter.h>
#include <xmorphy... | 38.34713 | 164 | 0.57402 | [
"vector"
] |
d29a5c63efe62cccf4d050135822f71ed3581df6 | 6,052 | cpp | C++ | fem/tmop/tmop_pa_da3.cpp | adantra/mfem | e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298 | [
"BSD-3-Clause"
] | null | null | null | fem/tmop/tmop_pa_da3.cpp | adantra/mfem | e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298 | [
"BSD-3-Clause"
] | null | null | null | fem/tmop/tmop_pa_da3.cpp | adantra/mfem | e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 35.186047 | 80 | 0.579147 | [
"mesh",
"vector"
] |
d2a80f8b31bf53a6696801601b176abc29cfc769 | 1,022 | hpp | C++ | include/ClientLib/Components/LocalPlayerControlledComponent.hpp | DigitalPulseSoftware/BurgWar | a4d7418c2b639e26bc0fed89ac0c45357f4ac7ba | [
"MIT"
] | 45 | 2018-09-29T14:16:04.000Z | 2022-03-10T18:53:58.000Z | include/ClientLib/Components/LocalPlayerControlledComponent.hpp | Walimouche/BurgWar | 4517ae739945dae2838313b72d0fa854bb27f87c | [
"MIT"
] | 46 | 2019-12-22T17:29:41.000Z | 2022-03-20T14:15:06.000Z | include/ClientLib/Components/LocalPlayerControlledComponent.hpp | Walimouche/BurgWar | 4517ae739945dae2838313b72d0fa854bb27f87c | [
"MIT"
] | 19 | 2018-09-29T11:53:25.000Z | 2022-01-14T17:00:07.000Z | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Burgwar" project
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#ifndef BURGWAR_CLIENTLIB_COMPONENTS_LOCALPLAYERCONTROLLED_HPP
#define BURGWAR_CLIENTLIB_COMPONENTS_LOCALPLAYERCONTROLLED_HPP
#include <ClientLib... | 26.205128 | 115 | 0.80137 | [
"vector"
] |
d2a86233f254a8d923aa7bd3ee95eb16eb51f2f6 | 3,097 | hpp | C++ | phylanx/plugins/keras_support/l2_normalize_operation.hpp | Yeahhhh/phylanx | b6b0843f9b2e54c6d0abea24c04321414d2b67b9 | [
"BSL-1.0"
] | 1 | 2019-08-17T21:19:57.000Z | 2019-08-17T21:19:57.000Z | phylanx/plugins/keras_support/l2_normalize_operation.hpp | tapaswenipathak/phylanx | 62859f2b25d31ba469df64801401c996261163a9 | [
"BSL-1.0"
] | null | null | null | phylanx/plugins/keras_support/l2_normalize_operation.hpp | tapaswenipathak/phylanx | 62859f2b25d31ba469df64801401c996261163a9 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2019 Bita Hasheminezhad
// Copyright (c) 2019 Hartmut Kaiser
//
// 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)
#if !defined(PHYLANX_PLUGINS_KERAS_SUPPORT_L2_NORMALIZE_OPERATION)
#define PHYLANX_PL... | 37.768293 | 80 | 0.721989 | [
"shape",
"vector"
] |
d2a8a4ea4d7e2337ba5e7a3a5797f5d62aada789 | 8,204 | cc | C++ | ash/common/session/session_controller_unittest.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | ash/common/session/session_controller_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | ash/common/session/session_controller_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.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 "ash/common/session/session_controller.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "ash/common/session... | 34.616034 | 80 | 0.739639 | [
"vector"
] |
d2aa95906a20d2e7a5c4d282e60d4f7205660c3f | 5,948 | hpp | C++ | modules/sqlite/Common.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | modules/sqlite/Common.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | modules/sqlite/Common.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | #ifndef _SQSQLITE_COMMON_HPP_
#define _SQSQLITE_COMMON_HPP_
// ------------------------------------------------------------------------------------------------
#include "Base/Utility.hpp"
// ------------------------------------------------------------------------------------------------
#include <sqlite3.h>
// -----... | 39.919463 | 99 | 0.458642 | [
"object"
] |
d2ac4d0f374554a428ad6e2e890ba06d50ff3d6d | 2,307 | cpp | C++ | example-01/vector_addition.cpp | joeatodd/SYCL-For-CUDA-Examples | aad6720cf052fb12557a14758d0e7f7adc151f30 | [
"Apache-2.0"
] | 41 | 2020-06-02T13:31:03.000Z | 2022-02-07T10:46:55.000Z | example-01/vector_addition.cpp | joeatodd/SYCL-For-CUDA-Examples | aad6720cf052fb12557a14758d0e7f7adc151f30 | [
"Apache-2.0"
] | 7 | 2020-06-03T16:21:33.000Z | 2021-06-27T14:48:11.000Z | example-01/vector_addition.cpp | joeatodd/SYCL-For-CUDA-Examples | aad6720cf052fb12557a14758d0e7f7adc151f30 | [
"Apache-2.0"
] | 12 | 2020-06-13T10:02:22.000Z | 2022-01-08T02:47:27.000Z | /**
* SYCL FOR CUDA : Vector Addition Example
*
* Copyright 2020 Codeplay Software 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... | 26.215909 | 79 | 0.622887 | [
"vector"
] |
d2b9ed5133a5a0ad1c99570209aeb8b4d4947291 | 26,472 | hpp | C++ | src/Overseer/src/spatial/bits/spatial_manhattan_neighbor.hpp | bacahillsmu/benbot | f6eeadac99690c5c2a5575d8c0d661e6bed3b604 | [
"MIT"
] | 10 | 2017-09-25T18:00:38.000Z | 2018-02-12T06:09:30.000Z | src/Overseer/src/spatial/bits/spatial_manhattan_neighbor.hpp | bacahillsmu/benbot | f6eeadac99690c5c2a5575d8c0d661e6bed3b604 | [
"MIT"
] | 4 | 2017-09-25T18:23:41.000Z | 2018-01-24T19:33:59.000Z | src/Overseer/src/spatial/bits/spatial_manhattan_neighbor.hpp | bacahillsmu/benbot | f6eeadac99690c5c2a5575d8c0d661e6bed3b604 | [
"MIT"
] | 1 | 2021-07-08T21:48:28.000Z | 2021-07-08T21:48:28.000Z | // -*- C++ -*-
//
// Copyright Sylvain Bougerel 2009 - 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file COPYING or copy at
// http://www.boost.org/LICENSE_1_0.txt)
/**
* \file spatial_neighbor.hpp
* Contains the definition of manhattan neighbor iterators. These iterat... | 35.108753 | 80 | 0.704065 | [
"model"
] |
d2bbc1949fcd47eb99fc29045e70f173399b640f | 4,468 | cpp | C++ | StandaloneTuvok/CmdRenderer.cpp | JensDerKrueger/ImageVis3D | 699ab32132c899b7ea227bc87a9de80768ab879f | [
"MIT"
] | null | null | null | StandaloneTuvok/CmdRenderer.cpp | JensDerKrueger/ImageVis3D | 699ab32132c899b7ea227bc87a9de80768ab879f | [
"MIT"
] | null | null | null | StandaloneTuvok/CmdRenderer.cpp | JensDerKrueger/ImageVis3D | 699ab32132c899b7ea227bc87a9de80768ab879f | [
"MIT"
] | null | null | null | // Disable checked iterators on Windows.
#ifndef _DEBUG
# undef _SECURE_SCL
# define _SECURE_SCL 0
#endif
#ifdef _WIN32
// CRT's memory leak detection on windows
#if defined(DEBUG) || defined(_DEBUG)
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#ifndef DBG_NEW
... | 31.027778 | 146 | 0.671441 | [
"render",
"vector"
] |
d2bccd8cf487f4d91d54a2498c9593da7e574902 | 181 | cpp | C++ | lang/C++/casting-out-nines-3.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:38.000Z | 2018-11-09T22:08:38.000Z | lang/C++/casting-out-nines-3.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C++/casting-out-nines-3.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | struct ran {
const int base;
std::vector<int> rs;
ran(const int base) : base(base) { for (int nz=0; nz<base-1; nz++) if(SumDigits(nz) == SumDigits(nz*nz)) rs.push_back(nz); }
};
| 30.166667 | 125 | 0.635359 | [
"vector"
] |
d2bd19ddfd14b480c9668d7e3543f52d3bac8048 | 1,055 | cpp | C++ | GeeksForGeeks/Longest Common Prefix in an Array.cpp | tanishq1g/cp_codes | 80b8ccc9e195a66d6d317076fdd54a02cd21275b | [
"MIT"
] | null | null | null | GeeksForGeeks/Longest Common Prefix in an Array.cpp | tanishq1g/cp_codes | 80b8ccc9e195a66d6d317076fdd54a02cd21275b | [
"MIT"
] | null | null | null | GeeksForGeeks/Longest Common Prefix in an Array.cpp | tanishq1g/cp_codes | 80b8ccc9e195a66d6d317076fdd54a02cd21275b | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <locale>
#include <algorithm>
#include <cmath>
#include <unordered_map>
#include <unordered_set>
#include <set>
#include <bitset>
#include <climits>
#include <list>
#include <queue>
#include <stack>
#include <utility>
using namespace std;
#define INF 1e7
... | 20.288462 | 47 | 0.420853 | [
"vector"
] |
d2c43984d51d333112325ec5cb4100592929c4e1 | 1,745 | cpp | C++ | PERMPAL.cpp | yashji9/COMPETITIVE-PROGRAMMING | 5c7a255be9b01001ddcde8ca4e6ff4bcb1c62f0f | [
"MIT"
] | 2 | 2018-01-18T13:39:48.000Z | 2018-09-18T09:27:07.000Z | PERMPAL.cpp | yashji9/COMPETITIVE-PROGRAMMING | 5c7a255be9b01001ddcde8ca4e6ff4bcb1c62f0f | [
"MIT"
] | null | null | null | PERMPAL.cpp | yashji9/COMPETITIVE-PROGRAMMING | 5c7a255be9b01001ddcde8ca4e6ff4bcb1c62f0f | [
"MIT"
] | 2 | 2018-09-30T19:12:02.000Z | 2018-10-01T09:31:55.000Z | #include<bits/stdc++.h>
using namespace std;
int main()
{
long int t;
cin>>t;
while(t--)
{
string s;
vector<long int>v[26];
cin>>s;
long int cnt[26]={0},si[26]={0},ei[26]={0};
for(long int i=0;s[i]!='\0';i++)
{
cnt[s[i]-'a']++;
... | 25.289855 | 64 | 0.285387 | [
"vector"
] |
d2cb693be71795ebad4f9712d29d9e0043388a1b | 12,248 | cpp | C++ | k5lib.cpp | iboukris/webgss | 0e4732e2f7b4de111eafc60b5876aedcc3577f97 | [
"MIT"
] | 1 | 2021-12-26T22:17:24.000Z | 2021-12-26T22:17:24.000Z | k5lib.cpp | iboukris/webgss | 0e4732e2f7b4de111eafc60b5876aedcc3577f97 | [
"MIT"
] | null | null | null | k5lib.cpp | iboukris/webgss | 0e4732e2f7b4de111eafc60b5876aedcc3577f97 | [
"MIT"
] | null | null | null | // MIT Licensed, see LICENSE file
// Copyright (c) 2021 Isaac Boukris <iboukris@gmail.com>
#include <iostream>
#include <string>
#include <emscripten/bind.h>
#include <emscripten/val.h>
#include <sanitizer/lsan_interface.h>
#include "k5drv.h"
using namespace std;
struct k5libHandle
{
virtual emscripten::val s... | 27.710407 | 88 | 0.589811 | [
"object",
"vector"
] |
d2d1b4454883bd8bf1ebcd1de4c2c568a24e6012 | 1,907 | cpp | C++ | third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "core/css/StyleRuleKeyframe.h"
#include "core/css/StylePropertySet.h"
#include "core/css/parser/CSSParser.h"
#include "wtf/t... | 23.8375 | 122 | 0.692711 | [
"vector"
] |
d2d2fc1b8c5dc591d538367ea561f483681cc38f | 2,638 | cpp | C++ | app/drawable/DrawableFactory.cpp | mattjr/benthicQT | bd5415d5a18f528b5b2ce4cc1524b7f4f651a1e8 | [
"Apache-2.0"
] | 9 | 2016-06-07T09:38:03.000Z | 2021-11-25T17:30:59.000Z | app/drawable/DrawableFactory.cpp | mattjr/benthicQT | bd5415d5a18f528b5b2ce4cc1524b7f4f651a1e8 | [
"Apache-2.0"
] | null | null | null | app/drawable/DrawableFactory.cpp | mattjr/benthicQT | bd5415d5a18f528b5b2ce4cc1524b7f4f651a1e8 | [
"Apache-2.0"
] | 4 | 2016-06-16T16:55:33.000Z | 2019-04-29T02:34:46.000Z | /* Copyright 2010 NVIDIA Foundation
*
* 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... | 33.392405 | 90 | 0.573541 | [
"mesh",
"object",
"model"
] |
d2d534b7e8145560fc09c0d4fa65d20944018509 | 51,091 | cpp | C++ | src/Application.cpp | zmeadows/lldbg | 2445690d48fb6f9847ec7c3aa16379135fdeb78b | [
"MIT"
] | 77 | 2019-02-05T14:06:56.000Z | 2022-03-25T13:31:33.000Z | src/Application.cpp | zmeadows/lldbg | 2445690d48fb6f9847ec7c3aa16379135fdeb78b | [
"MIT"
] | 5 | 2020-06-30T17:44:01.000Z | 2021-09-27T18:11:11.000Z | src/Application.cpp | zmeadows/lldbg | 2445690d48fb6f9847ec7c3aa16379135fdeb78b | [
"MIT"
] | 11 | 2019-04-26T00:27:31.000Z | 2022-03-18T10:22:17.000Z | #include "Application.hpp"
#include <cassert>
#include <chrono>
#include <filesystem>
#include <iostream>
#include <map>
#include <queue>
#include <thread>
#include <unordered_set>
#include "Defer.hpp"
#include "Log.hpp"
#include "StringBuffer.hpp"
#include "fmt/format.h"
namespace fs = std::filesyst... | 37.238338 | 128 | 0.544382 | [
"render"
] |
d2d5d6873546520e5a1a6d01ef59043f4dd9cc0a | 15,160 | cpp | C++ | src/inlet_connection.cpp | samuelpowell/liblsl | 92f0e2f4870cd9b505cd35c89f70c7a9d3b191a3 | [
"MIT"
] | null | null | null | src/inlet_connection.cpp | samuelpowell/liblsl | 92f0e2f4870cd9b505cd35c89f70c7a9d3b191a3 | [
"MIT"
] | null | null | null | src/inlet_connection.cpp | samuelpowell/liblsl | 92f0e2f4870cd9b505cd35c89f70c7a9d3b191a3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <boost/bind.hpp>
#include "cast.h"
#include "inlet_connection.h"
#include "api_config.h"
// === implementation of the inlet_connection class ===
using namespace lsl;
using namespace lslboost::asio;
/**
* Construct a new inlet connection.
* @param info A resolved stream info object (as c... | 44.457478 | 198 | 0.709235 | [
"object",
"vector"
] |
d2de462cc377babbe5f8848025058154428da665 | 247 | hpp | C++ | cpp/dc.hpp | jieyaren/hello-world | 9fbc7d117b9aee98d748669646dd200c25a4122f | [
"WTFPL"
] | 3 | 2021-11-12T09:20:21.000Z | 2022-02-18T11:34:33.000Z | cpp/dc.hpp | jieyaren/hello-world | 9fbc7d117b9aee98d748669646dd200c25a4122f | [
"WTFPL"
] | 1 | 2021-03-08T03:23:04.000Z | 2021-03-08T03:23:04.000Z | cpp/dc.hpp | jieyaren/hello-world | 9fbc7d117b9aee98d748669646dd200c25a4122f | [
"WTFPL"
] | null | null | null | #include <vector>
#include <unordered_set>
#include <algorithm>
class Solution {
public:
int dc(std::vector<int>& candies) {
return std::min(std::unordered_set<int>(candies.begin(), candies.end()).size(), candies.size() / 2);
}
}; | 24.7 | 108 | 0.651822 | [
"vector"
] |
d2e219e23644c3a552d33dc13916a41b3dc29a61 | 3,009 | cpp | C++ | facelib/faceobject.cpp | artintexo/facedemo | d1bf8d7c758736a588e20ff264b76f7c1558a183 | [
"MIT"
] | 1 | 2019-06-17T07:24:07.000Z | 2019-06-17T07:24:07.000Z | facelib/faceobject.cpp | artintexo/facedemo | d1bf8d7c758736a588e20ff264b76f7c1558a183 | [
"MIT"
] | null | null | null | facelib/faceobject.cpp | artintexo/facedemo | d1bf8d7c758736a588e20ff264b76f7c1558a183 | [
"MIT"
] | null | null | null | #include "facelib/faceobject.h"
#include "facelib/nodedata.h"
#include "facelib/nodeitem.h"
#include "facelib/nodemodel.h"
#include "facelib/worker.h"
#include <QFile>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QThread>
namespace facelib {
FaceObject::FaceObject(QObject *parent)
... | 27.861111 | 122 | 0.626122 | [
"object",
"model"
] |
5e4eace72799d5431080f5cbbfef4a84cbb0d743 | 4,746 | cpp | C++ | sqlserver/src/v20180328/model/CreatePublishSubscribeRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | sqlserver/src/v20180328/model/CreatePublishSubscribeRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | sqlserver/src/v20180328/model/CreatePublishSubscribeRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 31.223684 | 105 | 0.751159 | [
"vector",
"model"
] |
5e57f6d24b6b6d35a3c51e0b030959a1f1e26842 | 1,984 | cc | C++ | cdn/src/model/SetUserGreenManagerConfigRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | cdn/src/model/SetUserGreenManagerConfigRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | cdn/src/model/SetUserGreenManagerConfigRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 26.810811 | 90 | 0.763609 | [
"model"
] |
5e6442faad6835b84b19a50b329324ac45f42d85 | 34,093 | cpp | C++ | tests/variable/variable.cpp | 0u812/libcellml | 8e4c73dcb8e8c6e40a9d75067a361ac1807aa83e | [
"Apache-2.0"
] | null | null | null | tests/variable/variable.cpp | 0u812/libcellml | 8e4c73dcb8e8c6e40a9d75067a361ac1807aa83e | [
"Apache-2.0"
] | null | null | null | tests/variable/variable.cpp | 0u812/libcellml | 8e4c73dcb8e8c6e40a9d75067a361ac1807aa83e | [
"Apache-2.0"
] | null | null | null | /*
Copyright libCellML Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwa... | 33.391773 | 174 | 0.630452 | [
"model"
] |
5e64860373de8d1095176f070c52add405ecafdd | 15,761 | cpp | C++ | test/test_concepts.cpp | cjdb/NanoRange | 16d33c66c7869e57dd82ff8673eb5172eff1343d | [
"BSL-1.0"
] | 323 | 2017-10-09T19:46:26.000Z | 2022-03-29T10:44:07.000Z | test/test_concepts.cpp | cjdb/NanoRange | 16d33c66c7869e57dd82ff8673eb5172eff1343d | [
"BSL-1.0"
] | 66 | 2018-05-30T23:54:56.000Z | 2021-03-26T00:20:57.000Z | test/test_concepts.cpp | cjdb/NanoRange | 16d33c66c7869e57dd82ff8673eb5172eff1343d | [
"BSL-1.0"
] | 26 | 2018-06-08T14:01:20.000Z | 2022-02-17T13:31:47.000Z |
#include <nanorange/iterator.hpp>
#include <nanorange/ranges.hpp>
//#include <nanorange-old.hpp>
#include <bitset>
#include <functional>
#include <memory>
#include <string>
#include <thread>
#include <vector>
#include <array>
namespace rng = nano::ranges;
struct incomplete;
struct base {};
struct derived : base {}... | 37.52619 | 106 | 0.72838 | [
"vector"
] |
5e65d8bc15b574fc4febaece5a5681de716b46e0 | 8,290 | hpp | C++ | WICWIU_src/Dataset.hpp | wok1909/WICWIU-OSSLab-Final-Project | ea172614c3106de3a8e203acfac8f0dd4eca7c7c | [
"Apache-2.0"
] | 119 | 2018-05-30T01:16:36.000Z | 2021-11-08T13:01:07.000Z | WICWIU_src/Dataset.hpp | wok1909/WICWIU-OSSLab-Final-Project | ea172614c3106de3a8e203acfac8f0dd4eca7c7c | [
"Apache-2.0"
] | 24 | 2018-08-05T16:50:42.000Z | 2020-10-28T00:38:48.000Z | WICWIU_src/Dataset.hpp | wok1909/WICWIU-OSSLab-Final-Project | ea172614c3106de3a8e203acfac8f0dd4eca7c7c | [
"Apache-2.0"
] | 35 | 2018-06-29T17:10:13.000Z | 2021-06-05T04:07:48.000Z | #ifndef _DATASET_H_
#define _DATASET_H_
#include <stdio.h>
#include <vector>
#include <queue>
#include "Tensor.hpp"
template<typename DTYPE> class WData {
public:
DTYPE *m_aData;
int m_capacity;
WData(DTYPE *data, int capacity) {
m_aData = data;
m_capacity = capacity;
}
virtu... | 28.986014 | 168 | 0.587455 | [
"vector"
] |
5e7343c0635602e64df21416f48814879b8b58a0 | 35,843 | cpp | C++ | src/mrt/maplert/src/mrt_classloader.cpp | MapleSystem/OpenArkCompiler | fc250857642ca38ac8b83ae7486513fadf3ab742 | [
"MulanPSL-1.0"
] | 5 | 2019-09-02T04:44:52.000Z | 2021-11-08T12:23:51.000Z | src/mrt/maplert/src/mrt_classloader.cpp | MapleSystem/OpenArkCompiler | fc250857642ca38ac8b83ae7486513fadf3ab742 | [
"MulanPSL-1.0"
] | 2 | 2020-07-21T01:22:01.000Z | 2021-12-06T08:07:16.000Z | src/mrt/maplert/src/mrt_classloader.cpp | MapleSystem/OpenArkCompiler | fc250857642ca38ac8b83ae7486513fadf3ab742 | [
"MulanPSL-1.0"
] | 4 | 2019-09-02T04:46:52.000Z | 2020-09-10T11:30:03.000Z | /*
* Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler 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/MulanPSL2
*
* THI... | 39.087241 | 120 | 0.699969 | [
"object",
"vector",
"model"
] |
5e7381917e6fd98a2ff0195e6dc247eb2cfa9f26 | 6,724 | cpp | C++ | src/renderer/Camera.cpp | kondrak/vk_playground | 9cadf4ec445fd607728026653a8092b8e78efb1b | [
"MIT"
] | null | null | null | src/renderer/Camera.cpp | kondrak/vk_playground | 9cadf4ec445fd607728026653a8092b8e78efb1b | [
"MIT"
] | null | null | null | src/renderer/Camera.cpp | kondrak/vk_playground | 9cadf4ec445fd607728026653a8092b8e78efb1b | [
"MIT"
] | null | null | null | #include "renderer/Camera.hpp"
#include "renderer/RenderContext.hpp"
#include "Math.hpp"
extern RenderContext g_renderContext;
static const float MouseSensitivity = 800.f;
Camera::Camera(float x, float y, float z) : m_position(x, y, z),
m_yLimit(1.f),
... | 30.017857 | 150 | 0.600833 | [
"vector"
] |
5e74e75953f771dd65e0a988e7479b34165ee4bb | 5,514 | cpp | C++ | raytracing/diffuse_reflection/Main.cpp | abcdjdj/OpenGL-playground | 5f6f4de948b86d1b06bc493d7a0d5efb3ba03536 | [
"MIT"
] | null | null | null | raytracing/diffuse_reflection/Main.cpp | abcdjdj/OpenGL-playground | 5f6f4de948b86d1b06bc493d7a0d5efb3ba03536 | [
"MIT"
] | null | null | null | raytracing/diffuse_reflection/Main.cpp | abcdjdj/OpenGL-playground | 5f6f4de948b86d1b06bc493d7a0d5efb3ba03536 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <utility>
#include <cmath>
#include "Parameters.h"
constexpr float inf = std::numeric_limits<float>::infinity();
std::vector<float> background_color {BACKGROUND_R, BACKGROUND_G, BACKGROUND_B};
class Point
{
public:
float x, y, z;
Point() {}
Point(float x,... | 26.382775 | 103 | 0.589227 | [
"vector"
] |
5e8ff7356b54a76d277fe15e3318616d93e5fb42 | 1,443 | cpp | C++ | core/src/cpp/tests/UUID/uuidBoostTest.cpp | OpenKGC/hypergraphdb | 05073f5082df60577e48af283311172dd3f2f847 | [
"Apache-2.0"
] | 186 | 2015-07-09T06:00:54.000Z | 2022-03-16T01:14:40.000Z | core/src/cpp/tests/UUID/uuidBoostTest.cpp | OpenKGC/hypergraphdb | 05073f5082df60577e48af283311172dd3f2f847 | [
"Apache-2.0"
] | 27 | 2015-08-01T20:33:10.000Z | 2022-03-08T21:11:23.000Z | core/src/cpp/tests/UUID/uuidBoostTest.cpp | OpenKGC/hypergraphdb | 05073f5082df60577e48af283311172dd3f2f847 | [
"Apache-2.0"
] | 56 | 2015-10-15T10:00:14.000Z | 2022-03-12T20:56:14.000Z | // example of tagging an object with a uuid
// see boost/libs/uuid/test/test_tagging.cpp
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <vector>
#include <iomanip>
using namespace std;
void print( vector<char> v )
{
std::cout.fill( '0' );
for( int i=0 ; i<v.size( ) ... | 18.0375 | 62 | 0.527374 | [
"object",
"vector"
] |
5e93c9e10d07ebfcac2a2ec5770f35cfce3f1ce3 | 51,476 | cpp | C++ | src/visualizer/Visualizer3D.cpp | omarosamahu/Kimera-VIO | a652739af937200a2b82da86c217fec28334f146 | [
"BSD-2-Clause"
] | 1 | 2020-06-04T20:12:58.000Z | 2020-06-04T20:12:58.000Z | src/visualizer/Visualizer3D.cpp | omarosamahu/Kimera-VIO | a652739af937200a2b82da86c217fec28334f146 | [
"BSD-2-Clause"
] | null | null | null | src/visualizer/Visualizer3D.cpp | omarosamahu/Kimera-VIO | a652739af937200a2b82da86c217fec28334f146 | [
"BSD-2-Clause"
] | null | null | null | /* ----------------------------------------------------------------------------
* Copyright 2017, Massachusetts Institute of Technology,
* Cambridge, MA 02139
* All Rights Reserved
* Authors: Luca Carlone, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* -------------------... | 42.124386 | 86 | 0.608147 | [
"mesh",
"geometry",
"render",
"vector",
"3d"
] |
5ea47bac7f846b301edba658f36033d95ec7894d | 5,985 | cc | C++ | tensorflow/cc/framework/gradients_test.cc | yxiong/tensorflow | f71cc62282bf2e066f9ebd08cf3f605fc98c6e41 | [
"Apache-2.0"
] | 6 | 2016-09-07T18:38:41.000Z | 2020-01-12T23:01:03.000Z | tensorflow/cc/framework/gradients_test.cc | yxiong/tensorflow | f71cc62282bf2e066f9ebd08cf3f605fc98c6e41 | [
"Apache-2.0"
] | null | null | null | tensorflow/cc/framework/gradients_test.cc | yxiong/tensorflow | f71cc62282bf2e066f9ebd08cf3f605fc98c6e41 | [
"Apache-2.0"
] | 8 | 2017-06-08T09:46:06.000Z | 2021-06-20T14:03:19.000Z | /* Copyright 2016 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... | 33.813559 | 80 | 0.576274 | [
"vector"
] |
5ea62f402c0e3b8258fd46d4d80b31a16477836b | 1,066 | cpp | C++ | ConStorm/src/files/load.cpp | drake200120xx/ConStorm | bfc47b6424154e8258d375d0a5eaff687d0cad27 | [
"Apache-2.0"
] | null | null | null | ConStorm/src/files/load.cpp | drake200120xx/ConStorm | bfc47b6424154e8258d375d0a5eaff687d0cad27 | [
"Apache-2.0"
] | null | null | null | ConStorm/src/files/load.cpp | drake200120xx/ConStorm | bfc47b6424154e8258d375d0a5eaff687d0cad27 | [
"Apache-2.0"
] | null | null | null | /*
Code by Drake Johnson
*/
#include "../../include/cons/files/load.hpp"
namespace fs = std::filesystem;
static std::mutex s_files_mutex;
static void load_file(
cons::FilesLoad::file_vec* output_vec,
const fs::path path,
const cons::File::openmode om)
{
std::lock_guard<std::mutex> lock(s_files_mutex);
output_v... | 21.755102 | 49 | 0.688555 | [
"vector"
] |
5ea671e2a0a7ac4c8783728841cdebb708bb4913 | 3,894 | cpp | C++ | 03 Software/examples/pixels/pixelFunLoop.cpp | lloydrichards/mimirOpen | 95a42fb99cd2f9e0d041d7cbb975bc6adb6646b4 | [
"MIT"
] | null | null | null | 03 Software/examples/pixels/pixelFunLoop.cpp | lloydrichards/mimirOpen | 95a42fb99cd2f9e0d041d7cbb975bc6adb6646b4 | [
"MIT"
] | 7 | 2020-07-30T10:29:34.000Z | 2020-11-11T18:02:58.000Z | 03 Software/examples/pixels/pixelFunLoop.cpp | lloydrichards/mimirOpen | 95a42fb99cd2f9e0d041d7cbb975bc6adb6646b4 | [
"MIT"
] | null | null | null | // NeoPixelFunFadeInOut
// This example will randomly pick a color and fade all pixels to that color, then
// it will fade them to black and restart over
//
// This example demonstrates the use of a single animation channel to animate all
// the pixels at once.
//
#include <NeoPixelBus.h>
#include <NeoPixelAnimator.h>... | 30.661417 | 98 | 0.687982 | [
"object"
] |
5ea7fe15db6b0d7593b24dc7a90a815d1c2ade7a | 11,096 | hpp | C++ | src/underscore.hpp | Nachooking/underscore_cpp | 71ec1ae6c62f5e9609a7d316f2e58ce5b45559ce | [
"MIT"
] | 7 | 2018-08-26T15:25:49.000Z | 2019-01-28T11:57:24.000Z | src/underscore.hpp | mohitanand001/underscore_cpp | e214da7f97ee492e226a27f6773c7dbf191b3ce9 | [
"MIT"
] | 67 | 2018-08-26T14:16:27.000Z | 2019-12-13T21:05:50.000Z | src/underscore.hpp | mohitanand001/underscore_cpp | e214da7f97ee492e226a27f6773c7dbf191b3ce9 | [
"MIT"
] | 38 | 2018-08-26T15:25:53.000Z | 2019-12-12T15:46:22.000Z | #pragma once
#include <algorithm>
#include <cstddef>
#include <iostream>
#include <map>
#include <set>
#include <vector>
namespace _
{
template <typename Iterator, typename Predicate>
bool any(Iterator begin, const Iterator end, Predicate predicate)
{
while (begin != end)
{
if ... | 29.510638 | 104 | 0.583904 | [
"vector",
"transform"
] |
5ea94d06dc8f078bd85ef0e6cdc28d19646a1da0 | 1,677 | hpp | C++ | src/Domain/Model.hpp | LBBassani/cg-trabalho-2d | 8ada0b1a222a423d4dd28428b96653acbbaa2d5a | [
"MIT"
] | null | null | null | src/Domain/Model.hpp | LBBassani/cg-trabalho-2d | 8ada0b1a222a423d4dd28428b96653acbbaa2d5a | [
"MIT"
] | null | null | null | src/Domain/Model.hpp | LBBassani/cg-trabalho-2d | 8ada0b1a222a423d4dd28428b96653acbbaa2d5a | [
"MIT"
] | null | null | null | #if !defined MODEL
#define MODEL
#include <GL/gl.h>
#include <string>
#include "Shape.hpp"
#include "../Third-Party-Libs/glm/glm.hpp"
struct Model{
std::string nome;
Shape *shape = nullptr;
Shape *hitbox = nullptr;
glm::vec2 hitbox_offset = {0.0f, 0.0f};
glm::vec2 shape_offset = {0.0f, 0.0f};
... | 32.25 | 146 | 0.604055 | [
"shape",
"model"
] |
5eae472eef46d139a48837b644712a9878bef456 | 1,410 | cpp | C++ | Cpp/UVa/WIP/11709.cpp | kchevali/OnlineJudge | c1d1894078fa45eef05c8785aba29758d9adf0c6 | [
"MIT"
] | null | null | null | Cpp/UVa/WIP/11709.cpp | kchevali/OnlineJudge | c1d1894078fa45eef05c8785aba29758d9adf0c6 | [
"MIT"
] | null | null | null | Cpp/UVa/WIP/11709.cpp | kchevali/OnlineJudge | c1d1894078fa45eef05c8785aba29758d9adf0c6 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long l;
typedef vector<l> vl;
void dfsSCC(l &a, vl *adj, stack<l> &st, l *onStack, l *ids, l *low, l &id,
l &counter) {
st.push(a);
onStack[a] = true;
ids[a] = low[a] = id++;
for (auto &b : adj[a]) {
if (ids[b] == -1) dfsSCC(b, adj, st,... | 22.03125 | 75 | 0.453191 | [
"vector"
] |
5eb32a4e776411730ce98d0618a95801418bf86f | 490 | cpp | C++ | rotate-matrix.cpp | babu-thomas/interviewbit-solutions | 21125bf30b2d94b6f03310a4917679f216f55af3 | [
"MIT"
] | 16 | 2018-12-04T16:23:07.000Z | 2021-09-21T06:32:04.000Z | rotate-matrix.cpp | babu-thomas/interviewbit-solutions | 21125bf30b2d94b6f03310a4917679f216f55af3 | [
"MIT"
] | 1 | 2019-08-21T16:20:03.000Z | 2019-08-21T16:21:41.000Z | rotate-matrix.cpp | babu-thomas/interviewbit-solutions | 21125bf30b2d94b6f03310a4917679f216f55af3 | [
"MIT"
] | 23 | 2019-06-21T12:09:57.000Z | 2021-09-22T18:03:28.000Z | // Time - O(N), Space - O(1)
void Solution::rotate(vector<vector<int> > &A) {
int rows = A.size();
if(rows == 0) {
return;
}
int cols = A[0].size();
// Transpose
for(int i = 0; i < rows; i++) {
for(int j = i; j < cols; j++) {
swap(A[i][j], A[j][i]);
}
... | 21.304348 | 55 | 0.377551 | [
"vector"
] |
5eb7e7206745ebaa57bf2edd21b737c18bd87c01 | 8,404 | cpp | C++ | main.cpp | andrewgonzalez/quicksort | eba6589b9cdbc9b8a1887a891fd7cc0da90261dc | [
"MIT"
] | null | null | null | main.cpp | andrewgonzalez/quicksort | eba6589b9cdbc9b8a1887a891fd7cc0da90261dc | [
"MIT"
] | null | null | null | main.cpp | andrewgonzalez/quicksort | eba6589b9cdbc9b8a1887a891fd7cc0da90261dc | [
"MIT"
] | null | null | null | // Andrew Gonzalez
// CS 350
// The intent of this project is to measure runtime performance for
// the Quicksort algorithm using various pivot choosing strategies.
#include <iostream>
#include <fstream>
#include <chrono>
#include <algorithm>
#include "quicksort.h"
using namespace std::chrono;
typedef int (*partFunc... | 32.956863 | 116 | 0.638981 | [
"transform"
] |
5ebb51017480f37a3a086ea8edb1baac668daee3 | 2,174 | cpp | C++ | src/streams/file.cpp | thgcode/synthizer | 50ff649e0651441bf67f986983e71c5ce6de239c | [
"Unlicense"
] | 1 | 2021-02-06T07:29:35.000Z | 2021-02-06T07:29:35.000Z | src/streams/file.cpp | thgcode/synthizer | 50ff649e0651441bf67f986983e71c5ce6de239c | [
"Unlicense"
] | null | null | null | src/streams/file.cpp | thgcode/synthizer | 50ff649e0651441bf67f986983e71c5ce6de239c | [
"Unlicense"
] | null | null | null | #include <filesystem>
#include <fstream>
#include <utility>
#include <vector>
#include <tuple>
#include <memory>
#include "synthizer/byte_stream.hpp"
namespace synthizer {
class FileByteStream: public ByteStream {
public:
FileByteStream(std::fstream &&f);
std::string getName() override;
std::size_t read(std::si... | 23.89011 | 131 | 0.699172 | [
"vector"
] |
5ebd8541060e52bfb826a39ca26b6a0ba3b86a9b | 1,041 | cpp | C++ | cpp_code/STCPlan.cpp | Tesla2fox/ComplexSystemIntelligentControl | 9fd73a4b315177a6241d366fd86dacf7348b4ee6 | [
"MIT"
] | 3 | 2018-07-04T02:45:00.000Z | 2019-10-23T08:30:03.000Z | cpp_code/STCPlan.cpp | Tesla2fox/ComplexSystemIntelligentControl | 9fd73a4b315177a6241d366fd86dacf7348b4ee6 | [
"MIT"
] | null | null | null | cpp_code/STCPlan.cpp | Tesla2fox/ComplexSystemIntelligentControl | 9fd73a4b315177a6241d366fd86dacf7348b4ee6 | [
"MIT"
] | 1 | 2018-09-13T12:47:52.000Z | 2018-09-13T12:47:52.000Z | #include "STCPlan.h"
namespace pl
{
pl::STCPlan::~STCPlan()
{
}
void pl::STCPlan::setRange(vector<size_t> const & vVertInd)
{
_vVertInd.clear();
_vGridInd.clear();
_vVertInd = vVertInd;
for (auto &it : _vVertInd)
_vGridInd.push_back(this->_mainMap.tgraph2map[it]);
}
void STCPlan::setRange(ve... | 19.277778 | 80 | 0.677233 | [
"vector"
] |
5ec08681ee1e23c5cd6162077b788cfcc28df545 | 1,774 | cpp | C++ | src/pywinrt/strings/runtime.cpp | pywinrt/pywinrt | b86e80fc497cb405c79b85d542a889057c3aa084 | [
"MIT"
] | 3 | 2022-02-12T19:40:06.000Z | 2022-03-29T20:39:26.000Z | src/pywinrt/strings/runtime.cpp | pywinrt/pywinrt | b86e80fc497cb405c79b85d542a889057c3aa084 | [
"MIT"
] | 8 | 2022-01-27T19:11:26.000Z | 2022-03-24T01:25:12.000Z | src/pywinrt/strings/runtime.cpp | pywinrt/pywinrt | b86e80fc497cb405c79b85d542a889057c3aa084 | [
"MIT"
] | null | null | null |
#include <Python.h>
#include "pybase.h"
/**
* Adds a Python type to a Python module.
*
* @param module The module to add the type to.
* @param type_name A valid Python identifier.
* @param type_spec The Python type spec.
* @param base_type The base type, a tuple of base types or nullptr to use the base
* slot.... | 26.477612 | 83 | 0.696167 | [
"object"
] |
5ec3360d627431860f4e3228b840a3142a5d68a4 | 9,138 | cc | C++ | sas/src/model/DescribeImageVulListRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | sas/src/model/DescribeImageVulListRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | sas/src/model/DescribeImageVulListRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 22.618812 | 97 | 0.756074 | [
"model"
] |
5ec5ced1fdff962b9edc7ff96a44cdc47e4cf072 | 16,616 | cpp | C++ | third_party/angle/src/libANGLE/renderer/gl/egl/android/DisplayAndroid.cpp | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/angle/src/libANGLE/renderer/gl/egl/android/DisplayAndroid.cpp | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/angle/src/libANGLE/renderer/gl/egl/android/DisplayAndroid.cpp | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | //
// Copyright (c) 2016 The ANGLE 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.
//
// DisplayAndroid.cpp: Android implementation of egl::Display
#include <android/native_window.h>
#include "common/debug.h"
#include "libA... | 35.656652 | 100 | 0.639444 | [
"vector"
] |
5ec695b79f57ad6aa2761492040d908379c392ca | 776 | hpp | C++ | 2016/Day18/LightMap.hpp | marcuskrahl/AdventOfCode | 0148d9a01a565aac1a6104a6001478fab3b6d4f8 | [
"MIT"
] | null | null | null | 2016/Day18/LightMap.hpp | marcuskrahl/AdventOfCode | 0148d9a01a565aac1a6104a6001478fab3b6d4f8 | [
"MIT"
] | null | null | null | 2016/Day18/LightMap.hpp | marcuskrahl/AdventOfCode | 0148d9a01a565aac1a6104a6001478fab3b6d4f8 | [
"MIT"
] | null | null | null | #ifndef LIGHT_MAP_HPP
#define LIGHT_MAP_HPP
#include <vector>
class LightMap {
public:
LightMap(unsigned int max_x, unsigned int max_y);
bool is_on(unsigned int x, unsigned int y) const;
void turn_on(unsigned int x, unsigned int y);
void turn_off(unsigned int x, unsigned int y);
... | 29.846154 | 80 | 0.670103 | [
"vector"
] |
5ec8f34e5b0f0a17b0f3677111f10f0fade8f841 | 17,489 | cpp | C++ | src/footstep_planner/src/test/footstep_planner_test.cpp | vinitha910/homotopy_guided_footstep_planner | d7706292ab264134e949d1bb0b860a5608597623 | [
"BSD-3-Clause"
] | 6 | 2019-01-13T07:34:15.000Z | 2021-12-18T19:48:49.000Z | src/footstep_planner/src/test/footstep_planner_test.cpp | vinitha910/homotopy_guided_footstep_planner | d7706292ab264134e949d1bb0b860a5608597623 | [
"BSD-3-Clause"
] | null | null | null | src/footstep_planner/src/test/footstep_planner_test.cpp | vinitha910/homotopy_guided_footstep_planner | d7706292ab264134e949d1bb0b860a5608597623 | [
"BSD-3-Clause"
] | 4 | 2019-01-13T07:37:27.000Z | 2021-01-26T22:13:18.000Z | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2019, Vinitha Ranganeni & Sahit Chintalapudi
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
/... | 38.35307 | 107 | 0.649494 | [
"vector"
] |
5ec980bc4325c0cefb3134111518340ed9decdda | 10,075 | cpp | C++ | automator.cpp | authoff-swordpointstudios/testable | 63580c98752da80aface0152554f4d609fc172bf | [
"Apache-2.0"
] | null | null | null | automator.cpp | authoff-swordpointstudios/testable | 63580c98752da80aface0152554f4d609fc172bf | [
"Apache-2.0"
] | null | null | null | automator.cpp | authoff-swordpointstudios/testable | 63580c98752da80aface0152554f4d609fc172bf | [
"Apache-2.0"
] | null | null | null | #include <QQuickWindow>
#include <QEventLoop>
#include <QTimer>
#include <QQuickItem>
#include <QTime>
#include <QTest>
#include <QSignalSpy>
#include "automator.h"
#include "priv/objectutils.h"
#include "testablefunctions.h"
using namespace Testable;
static bool hasMethod(QObject* object, QString method) {
const... | 25.1875 | 112 | 0.594541 | [
"object"
] |
5ec9d4946c67de5fbb5535ac094d98f148c2f8f6 | 2,064 | hpp | C++ | src/material/material.hpp | mfirmin/audio-demo | 767e2fc1b7afb53cd5aafad90ae562661a154373 | [
"MIT"
] | 1 | 2021-09-13T20:22:29.000Z | 2021-09-13T20:22:29.000Z | src/material/material.hpp | mfirmin/audio-demo | 767e2fc1b7afb53cd5aafad90ae562661a154373 | [
"MIT"
] | null | null | null | src/material/material.hpp | mfirmin/audio-demo | 767e2fc1b7afb53cd5aafad90ae562661a154373 | [
"MIT"
] | 1 | 2021-09-13T20:22:31.000Z | 2021-09-13T20:22:31.000Z | #pragma once
#include <GL/glew.h>
#include <glm/glm.hpp>
#include <memory>
#include <vector>
enum class Side { FRONT, BACK, BOTH };
class Light;
class Material {
public:
Material(glm::vec3 color = glm::vec3(1.0f, 0.0f, 0.0), float specularCoefficient = 0.5f, float shininess = 32.0f);
virtual ~M... | 24.282353 | 122 | 0.591085 | [
"vector"
] |
5ed3d29673deb9cf89576c56a801e78a37d9dcad | 3,196 | cpp | C++ | gnc/matlab/code_generation/sharedutils/biecdbieglngohlf_pinv.cpp | Robo0603179/astrobee | 19e58806c63cddd9046342c7fa2ac7808f40ad3c | [
"Apache-2.0"
] | 629 | 2017-08-31T23:09:00.000Z | 2022-03-30T11:55:40.000Z | gnc/matlab/code_generation/sharedutils/biecdbieglngohlf_pinv.cpp | Robo0603179/astrobee | 19e58806c63cddd9046342c7fa2ac7808f40ad3c | [
"Apache-2.0"
] | 269 | 2018-05-05T12:31:16.000Z | 2022-03-30T22:04:11.000Z | gnc/matlab/code_generation/sharedutils/biecdbieglngohlf_pinv.cpp | Robo0603179/astrobee | 19e58806c63cddd9046342c7fa2ac7808f40ad3c | [
"Apache-2.0"
] | 248 | 2017-08-31T23:20:56.000Z | 2022-03-30T22:29:16.000Z | //
// File: biecdbieglngohlf_pinv.cpp
//
// Code generated for Simulink model 'est_estimator'.
//
// Model version : 1.1142
// Simulink Coder version : 8.11 (R2016b) 25-Aug-2016
// C/C++ source code generated on : Tue Oct 16 10:06:07 2018
//
#include "rtwtypes.h"
#include "rtGetNaN.h"
#include ... | 20.888889 | 80 | 0.421464 | [
"model"
] |
5ed3d69f76debc2425525f6a43e7c0810fe2c480 | 10,381 | cc | C++ | tensorflow/compiler/plugin/poplar/driver/tools/replica_identical_dataflow_analysis.cc | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/plugin/poplar/driver/tools/replica_identical_dataflow_analysis.cc | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/plugin/poplar/driver/tools/replica_identical_dataflow_analysis.cc | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2021 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... | 38.735075 | 95 | 0.72257 | [
"shape"
] |
5edb62352b4f61d5a406b66a0219dbda9d940bce | 3,998 | cpp | C++ | src/xray/editor/dialog/sources/dialog_text_editor.cpp | ixray-team/ixray-2.0 | 85c3a544175842323fc82f42efd96c66f0fc5abb | [
"Linux-OpenIB"
] | 3 | 2021-10-30T09:36:14.000Z | 2022-03-26T17:00:06.000Z | src/xray/editor/dialog/sources/dialog_text_editor.cpp | acidicMercury8/ixray-2.0 | 85c3a544175842323fc82f42efd96c66f0fc5abb | [
"Linux-OpenIB"
] | null | null | null | src/xray/editor/dialog/sources/dialog_text_editor.cpp | acidicMercury8/ixray-2.0 | 85c3a544175842323fc82f42efd96c66f0fc5abb | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:08.000Z | 2022-03-26T17:00:08.000Z | //-------------------------------------------------------------------------------------------
// Created : 04.02.2010
// Author : Sergey Pryshchepa
// Copyright (C) GSC Game World - 2010
//-------------------------------------------------------------------------------------------
#include "pch.h"
#include "dial... | 28.15493 | 122 | 0.678339 | [
"object"
] |
5ede4823b93cb518c86e35e93318938ab1362b3e | 2,144 | cpp | C++ | src/scene/scene.cpp | miuho/Fast-Subdivision | d9e2ba1b46cadfb1570ce0a25d80141f71659f9d | [
"MIT"
] | null | null | null | src/scene/scene.cpp | miuho/Fast-Subdivision | d9e2ba1b46cadfb1570ce0a25d80141f71659f9d | [
"MIT"
] | 1 | 2018-08-08T00:28:27.000Z | 2018-08-08T00:28:27.000Z | src/scene/scene.cpp | miuho/Fast-Subdivision | d9e2ba1b46cadfb1570ce0a25d80141f71659f9d | [
"MIT"
] | null | null | null | /**
* @file scene.cpp
* @brief Function definitions for scenes.
*
*/
#include "scene/scene.hpp"
#include <ctime>
namespace _462 {
Geometry::Geometry():
position( Vector3::Zero ),
orientation( Quaternion::Identity ),
scale( Vector3::Ones )
{
}
Geometry::~Geometry() { }
PointLight::PointLight():
... | 17.152 | 87 | 0.612873 | [
"mesh",
"geometry"
] |
5ee72c4c488c48befb160c62206f54285e647552 | 22,525 | cpp | C++ | frameworks/src/core/modules/test/unittest/common/dfx_tdd_test.cpp | jaspercloud/ace_engine_lite | ba29e09ccb4b017d1f18fbecd313a89bc9557d12 | [
"Apache-2.0"
] | null | null | null | frameworks/src/core/modules/test/unittest/common/dfx_tdd_test.cpp | jaspercloud/ace_engine_lite | ba29e09ccb4b017d1f18fbecd313a89bc9557d12 | [
"Apache-2.0"
] | null | null | null | frameworks/src/core/modules/test/unittest/common/dfx_tdd_test.cpp | jaspercloud/ace_engine_lite | ba29e09ccb4b017d1f18fbecd313a89bc9557d12 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Huawei Device 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 ... | 42.102804 | 117 | 0.364395 | [
"render"
] |
5ee8837f7271f377569050f4a0af27c3c6e1b1df | 6,325 | hpp | C++ | rigid2d/include/rigid2d/diff_drive.hpp | YaelBenShalom/Turtlebot3-SLAM-from-scratch | 82c118f8598549c4824c43c33b0f85d51b17f465 | [
"MIT"
] | 5 | 2021-12-20T11:55:53.000Z | 2022-03-07T19:00:34.000Z | rigid2d/include/rigid2d/diff_drive.hpp | YaelBenShalom/Turtlebot3-SLAM-from-scratch | 82c118f8598549c4824c43c33b0f85d51b17f465 | [
"MIT"
] | null | null | null | rigid2d/include/rigid2d/diff_drive.hpp | YaelBenShalom/Turtlebot3-SLAM-from-scratch | 82c118f8598549c4824c43c33b0f85d51b17f465 | [
"MIT"
] | 1 | 2022-01-20T09:25:22.000Z | 2022-01-20T09:25:22.000Z | /// \file diff_drive.hpp
/// \brief Library for the kinematics of a differential drive robot with a given
/// wheel base and wheel radius.
#ifndef DIFFDRIVE_INCLUDE_GUARD_HPP
#define DIFFDRIVE_INCLUDE_GUARD_HPP
#include "rigid2d/rigid2d.hpp"
#include <cmath>
#include <iosfwd>
namespace rigid2d
{
/// \brief Th... | 36.773256 | 81 | 0.693755 | [
"transform"
] |
5eec588b402acded55b91f28310069ffb687d8fa | 2,535 | hpp | C++ | include/cpl/number_theory/chinese_remainder_theorem.hpp | dieram3/competitive-programming-library | 29bd0204d00c08e56d1f7fedc5c6c3603c4e5121 | [
"BSL-1.0"
] | 25 | 2016-05-03T02:08:58.000Z | 2022-01-11T03:49:28.000Z | include/cpl/number_theory/chinese_remainder_theorem.hpp | dieram3/competitive-programming-library | 29bd0204d00c08e56d1f7fedc5c6c3603c4e5121 | [
"BSL-1.0"
] | 22 | 2016-04-26T04:46:17.000Z | 2016-12-06T03:53:32.000Z | include/cpl/number_theory/chinese_remainder_theorem.hpp | dieram3/competitive-programming-library | 29bd0204d00c08e56d1f7fedc5c6c3603c4e5121 | [
"BSL-1.0"
] | 5 | 2017-04-04T16:10:42.000Z | 2019-12-05T08:22:30.000Z | // Copyright Diego Ramirez 2015
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef CPL_NUMBER_THEORY_CHINESE_REMAINDER_THEOREM_HPP
#define CPL_NUMBER_THEORY_CHINESE_REMAINDER_THEOREM_HP... | 37.279412 | 79 | 0.614596 | [
"vector"
] |
5eecf64a9256e68c0b98a57ec96c15065429d63f | 16,660 | cpp | C++ | examples/cvode/hip/cvAdvDiff_kry_hip.cpp | d5ch4k/sundials | c0097c0bfd56e8f94dbb588e0894fdceacf6f737 | [
"BSD-3-Clause"
] | 256 | 2017-10-06T04:11:32.000Z | 2022-03-25T07:15:53.000Z | examples/cvode/hip/cvAdvDiff_kry_hip.cpp | d5ch4k/sundials | c0097c0bfd56e8f94dbb588e0894fdceacf6f737 | [
"BSD-3-Clause"
] | 114 | 2018-03-24T20:38:31.000Z | 2022-03-30T16:59:05.000Z | examples/cvode/hip/cvAdvDiff_kry_hip.cpp | d5ch4k/sundials | c0097c0bfd56e8f94dbb588e0894fdceacf6f737 | [
"BSD-3-Clause"
] | 77 | 2017-11-16T08:32:31.000Z | 2022-01-25T15:22:17.000Z | /* -----------------------------------------------------------------
* Programmer(s): Cody Balos @ LLNL
* -----------------------------------------------------------------
* Acknowledgements: This example is based on cvAdvDiff_kry_cuda.cu.
* -----------------------------------------------------------------
* SUNDI... | 31.55303 | 90 | 0.629772 | [
"mesh",
"vector",
"model"
] |
5eed970af5a0c28814d2469b15b7e2fa4957dbae | 18,708 | cpp | C++ | Source/ZipUtility/Private/ZipFileFunctionLibrary.cpp | VJien/ZipUtility-UE4-Extra | 501165dfdfa5d31bddcbd4e52f7767171235ed38 | [
"MIT"
] | null | null | null | Source/ZipUtility/Private/ZipFileFunctionLibrary.cpp | VJien/ZipUtility-UE4-Extra | 501165dfdfa5d31bddcbd4e52f7767171235ed38 | [
"MIT"
] | null | null | null | Source/ZipUtility/Private/ZipFileFunctionLibrary.cpp | VJien/ZipUtility-UE4-Extra | 501165dfdfa5d31bddcbd4e52f7767171235ed38 | [
"MIT"
] | null | null | null | #include "ZipFileFunctionLibrary.h"
#include "ZipUtilityPrivatePCH.h"
#include "ZipFileFunctionInternalCallback.h"
#include "ListCallback.h"
#include "ProgressCallback.h"
#include "Interfaces/IPluginManager.h"
#include "WFULambdaRunnable.h"
#include "ZULambdaDelegate.h"
#include "SevenZipCallbackHandler.h"
#include "W... | 36.899408 | 319 | 0.783622 | [
"object"
] |
d672996db6035a3142869354927b2727d7bb8f37 | 1,270 | cpp | C++ | answers/harshpreet0508/day28/q1.cpp | vishaljha2121/30-DaysOfCode-March-2021 | 27922819b4e0a3c1072822f8df22b7a0873fe72c | [
"MIT"
] | 22 | 2021-03-16T14:07:47.000Z | 2021-08-13T08:52:50.000Z | answers/harshpreet0508/day28/q1.cpp | vishaljha2121/30-DaysOfCode-March-2021 | 27922819b4e0a3c1072822f8df22b7a0873fe72c | [
"MIT"
] | 174 | 2021-03-16T21:16:40.000Z | 2021-06-12T05:19:51.000Z | answers/harshpreet0508/day28/q1.cpp | vishaljha2121/30-DaysOfCode-March-2021 | 27922819b4e0a3c1072822f8df22b7a0873fe72c | [
"MIT"
] | 135 | 2021-03-16T16:47:12.000Z | 2021-06-27T14:22:38.000Z | // Divide numbers 1..n into two sets of equal sum
#include <bits/stdc++.h>
using namespace std;
void find(int n)
{
if (n <= 2)
{
cout << "NO";
return;
}
int v = (n*(n+1)) / 2;
if(v & 1)
{
cout<<"NO";
return;
}
vector<int> v1,v2;
if (!(n & 1))
{
int t = 1;
int st = 1;
i... | 10.948276 | 49 | 0.431496 | [
"vector"
] |
d6739aa4da6b16e41cdd56095f4e0b2f17a55423 | 7,498 | cpp | C++ | dlib/test/cublas.cpp | ckproc/dlib-19.7 | 0ca40f5e85de2436e557bee9a805d3987d2d9507 | [
"BSL-1.0"
] | null | null | null | dlib/test/cublas.cpp | ckproc/dlib-19.7 | 0ca40f5e85de2436e557bee9a805d3987d2d9507 | [
"BSL-1.0"
] | 4 | 2018-02-27T15:44:25.000Z | 2018-02-28T01:26:03.000Z | dlib/test/cublas.cpp | ckproc/dlib-19.7 | 0ca40f5e85de2436e557bee9a805d3987d2d9507 | [
"BSL-1.0"
] | null | null | null | // Copyright (C) 2015 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#include <dlib/matrix.h>
#include <sstream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <vector>
#include "../dnn/tensor_tools.h"
#include "tester.h"
// W... | 37.678392 | 137 | 0.493465 | [
"vector"
] |
d67754efb88ab67cf03fc758c4441f94e0917765 | 11,145 | cpp | C++ | third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | /*
* Copyright (C) 2007, 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of c... | 40.380435 | 80 | 0.656169 | [
"vector"
] |
d6775e3056d8379777db5f90cda618131c17ba79 | 7,911 | cpp | C++ | src/qt/qtwebkit/Source/WebCore/html/track/WebVTTTokenizer.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/WebCore/html/track/WebVTTTokenizer.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebCore/html/track/WebVTTTokenizer.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 34.395652 | 93 | 0.636835 | [
"vector"
] |
d68a3a79714335059c030117834e710b16e5677f | 13,409 | cpp | C++ | QP/v5.4.2/qpcpp/examples/msp430/dpp_msp-exp430g2/qk/bsp.cpp | hyller/GladiatorCots | 36a69df68675bb40b562081c531e6674037192a8 | [
"Unlicense"
] | null | null | null | QP/v5.4.2/qpcpp/examples/msp430/dpp_msp-exp430g2/qk/bsp.cpp | hyller/GladiatorCots | 36a69df68675bb40b562081c531e6674037192a8 | [
"Unlicense"
] | null | null | null | QP/v5.4.2/qpcpp/examples/msp430/dpp_msp-exp430g2/qk/bsp.cpp | hyller/GladiatorCots | 36a69df68675bb40b562081c531e6674037192a8 | [
"Unlicense"
] | null | null | null | //****************************************************************************
// Product: DPP example on MSP-EXP430G2 board, preemptive QK kernel
// Last updated for version 5.4.0
// Last updated on 2015-05-13
//
// Q u a n t u m L e a P s
// ---------------------------
// ... | 34.470437 | 78 | 0.582967 | [
"vector"
] |
d68ad80a4652958c137f1b0f9cd434434a686314 | 4,801 | cpp | C++ | ZOJ/F.cpp | CodingYue/acm-icpc | 667596efae998f5480819870714c37e9af0740eb | [
"Unlicense"
] | 1 | 2015-11-03T09:31:07.000Z | 2015-11-03T09:31:07.000Z | ZOJ/F.cpp | CodingYue/acm-icpc | 667596efae998f5480819870714c37e9af0740eb | [
"Unlicense"
] | null | null | null | ZOJ/F.cpp | CodingYue/acm-icpc | 667596efae998f5480819870714c37e9af0740eb | [
"Unlicense"
] | null | null | null | // File Name: F.cpp
// Author: YangYue
// Created Time: Sun Oct 12 20:36:46 2014
//headers
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <ctime>
#include <string>
#include <queue>
#include <set>
#include <map>
#include <iostream>
#include <vec... | 25.402116 | 97 | 0.550719 | [
"vector"
] |
d6955bf2d9497add0031761c9e298cbe1d9669a1 | 4,632 | cpp | C++ | src/gaia/DebugDraw.cpp | tomrosling/gaia | cb26e9951d399a402d4ab4deca5f75b64cf13700 | [
"MIT"
] | null | null | null | src/gaia/DebugDraw.cpp | tomrosling/gaia | cb26e9951d399a402d4ab4deca5f75b64cf13700 | [
"MIT"
] | null | null | null | src/gaia/DebugDraw.cpp | tomrosling/gaia | cb26e9951d399a402d4ab4deca5f75b64cf13700 | [
"MIT"
] | null | null | null | #include "DebugDraw.hpp"
#include "Renderer.hpp"
namespace gaia
{
struct DebugDraw::DebugVertex
{
Vec3f position;
Vec4u8 colour;
};
static constexpr int BufferSize = 1024 * 1024;
static constexpr int MaxVertices = BufferSize / sizeof(DebugDraw::DebugVertex);
void DebugDraw::Init(Renderer& renderer)
{
//... | 35.090909 | 135 | 0.725604 | [
"render"
] |
d696a70868bb667dcb21bac856a76e63fb77ef7a | 6,124 | cpp | C++ | official/recommend/wide_and_deep/infer/mxbase/main.cpp | mindspore-ai/models | 9127b128e2961fd698977e918861dadfad00a44c | [
"Apache-2.0"
] | 77 | 2021-10-15T08:32:37.000Z | 2022-03-30T13:09:11.000Z | official/recommend/wide_and_deep/infer/mxbase/main.cpp | mindspore-ai/models | 9127b128e2961fd698977e918861dadfad00a44c | [
"Apache-2.0"
] | 3 | 2021-10-30T14:44:57.000Z | 2022-02-14T06:57:57.000Z | official/recommend/wide_and_deep/infer/mxbase/main.cpp | mindspore-ai/models | 9127b128e2961fd698977e918861dadfad00a44c | [
"Apache-2.0"
] | 24 | 2021-10-15T08:32:45.000Z | 2022-03-24T18:45:20.000Z | /**
* 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... | 31.73057 | 80 | 0.619856 | [
"shape",
"vector",
"model"
] |
d69de6632d54c3bf1bc6f44608baabac10ebbe8e | 13,569 | cpp | C++ | src/prod/src/Common/StringUtility.Test.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Common/StringUtility.Test.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Common/StringUtility.Test.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
#include ... | 40.504478 | 141 | 0.7086 | [
"vector"
] |
d6a1dd07858485ef77794b2dabcc57e0ca811518 | 2,271 | cpp | C++ | examples/cpp/core/nothing_default/nothing_default.cpp | grisharav/bond | db05b170c83f74d0ea561d109ea90ed63b13cfa6 | [
"MIT"
] | null | null | null | examples/cpp/core/nothing_default/nothing_default.cpp | grisharav/bond | db05b170c83f74d0ea561d109ea90ed63b13cfa6 | [
"MIT"
] | null | null | null | examples/cpp/core/nothing_default/nothing_default.cpp | grisharav/bond | db05b170c83f74d0ea561d109ea90ed63b13cfa6 | [
"MIT"
] | null | null | null | #include "nothing_default_reflection.h"
#include <bond/core/bond.h>
#include <bond/stream/output_buffer.h>
using namespace examples::nothing_default;
template <typename T>
bond::blob Marshal(const T& obj)
{
bond::OutputBuffer buffer;
bond::CompactBinaryWriter<bond::OutputBuffer> writer(buffer);
bond::Mar... | 25.806818 | 92 | 0.628358 | [
"object"
] |
d6a33941efe6ec3443924328bfcfc8bed241b675 | 4,197 | cpp | C++ | Motion/mixingconfig.cpp | jjuiddong/Common | 2518fa05474222f84c474707b4511f190a34f574 | [
"MIT"
] | 2 | 2017-11-24T12:34:14.000Z | 2021-09-10T02:18:34.000Z | Motion/mixingconfig.cpp | jjuiddong/Common | 2518fa05474222f84c474707b4511f190a34f574 | [
"MIT"
] | null | null | null | Motion/mixingconfig.cpp | jjuiddong/Common | 2518fa05474222f84c474707b4511f190a34f574 | [
"MIT"
] | 6 | 2017-11-24T12:34:56.000Z | 2022-03-22T10:05:45.000Z |
#include "stdafx.h"
#include "mixingconfig.h"
const string g_minxingConfigFileName = "mixing_conf.cfg";
cMixingConfig::cMixingConfig():
m_bias_yaw(0)
, m_bias_pitch(0)
, m_bias_roll(0)
, m_bias_heave(0)
,m_rate1_center_yaw(0)
,m_rate1_center_pitch(0)
,m_rate1_center_roll(0)
,m_rate1_center_heave(0)
,m_rate2_center... | 25.131737 | 65 | 0.750298 | [
"vector"
] |
d6ae6a00c6005475b110d8e9c5910a2fc7e1334e | 2,482 | hpp | C++ | DFNs/Executors/CamerasTransformEstimation/CamerasTransformEstimationExecutor.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 7 | 2019-02-26T15:09:50.000Z | 2021-09-30T07:39:01.000Z | DFNs/Executors/CamerasTransformEstimation/CamerasTransformEstimationExecutor.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | null | null | null | DFNs/Executors/CamerasTransformEstimation/CamerasTransformEstimationExecutor.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 1 | 2020-12-06T12:09:05.000Z | 2020-12-06T12:09:05.000Z | /**
* @addtogroup DFNs
* @{
*/
#ifndef CAMERASTRANSFORESTIMATION_EXECUTOR_HPP
#define CAMERASTRANSFORESTIMATION_EXECUTOR_HPP
#include "DFNCommonInterface.hpp"
#include <CamerasTransformEstimation/CamerasTransformEstimationInterface.hpp>
#include <Types/CPP/Matrix.hpp>
#include <Types/CPP/CorrespondenceMap2D.hpp>
#... | 48.666667 | 201 | 0.810637 | [
"transform"
] |
d6b813607f75ebd122d618552c6fb08ab511f1d1 | 8,070 | cpp | C++ | StaticArray.TestDriver.cpp | innasoboleva/c-study-files | a8ca32ccfab05a70fff6bc7e48b360fc39006d6f | [
"Apache-2.0"
] | null | null | null | StaticArray.TestDriver.cpp | innasoboleva/c-study-files | a8ca32ccfab05a70fff6bc7e48b360fc39006d6f | [
"Apache-2.0"
] | null | null | null | StaticArray.TestDriver.cpp | innasoboleva/c-study-files | a8ca32ccfab05a70fff6bc7e48b360fc39006d6f | [
"Apache-2.0"
] | null | null | null | //
// StaticArray.TestDriver.cpp
// Data Course
//
// Created by Inna Soboleva on 8/21/17.
// Copyright © 2017 Inna Soboleva. All rights reserved.
//
#include <iostream>
#include <string>
using namespace std;
#include <cassert>
#include "StaticArray.h"
#include "StaticArray.h" // ifndef test
int main()
{
c... | 37.18894 | 107 | 0.570632 | [
"object"
] |
d6bb06f008d25e7afe253dee644bfa60c6fd7b79 | 1,243 | cpp | C++ | 4rth_Sem_c++_backup/PRACTICE/C/h.cpp | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | 4rth_Sem_c++_backup/PRACTICE/C/h.cpp | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | 4rth_Sem_c++_backup/PRACTICE/C/h.cpp | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z | #include<iostream>
#include<vector>
#include<string>
#include<fstream>
using namespace std;
// file handling in c++
int main()
{
string steveQuote = "A day without sunshine is like, you know, night";
ofstream writer("stevequote.txt"); // to make a file name stevequote.txt
if(! writer)
{
// if cannot write ... | 18.833333 | 92 | 0.641191 | [
"vector"
] |
d6bdb1ac2ce4e9839cb649885ffc2de2dc0ae977 | 3,422 | cpp | C++ | cpp/binaryTree/binaryTreeLevelTraversal.cpp | locmpham/codingtests | 3805fc98c0fa0dbee52e12531f6205e77b52899e | [
"MIT"
] | null | null | null | cpp/binaryTree/binaryTreeLevelTraversal.cpp | locmpham/codingtests | 3805fc98c0fa0dbee52e12531f6205e77b52899e | [
"MIT"
] | null | null | null | cpp/binaryTree/binaryTreeLevelTraversal.cpp | locmpham/codingtests | 3805fc98c0fa0dbee52e12531f6205e77b52899e | [
"MIT"
] | null | null | null | /*
LEETCODE# 102
Given the root of a binary tree, return the level order traversal of its nodes' values.
(i.e., from left to right, level by level).
Example 1:
Input: root = [3,9,20,null,null,15,7]
Output: [[3],[9,20],[15,7]]
Example 2:
Input: root = [1]
Output: [[1]]
Ex... | 22.513158 | 92 | 0.532729 | [
"vector"
] |
d6c1ce9a4f9ec89dfbb392cc3dd8f864e0a5f2b3 | 3,606 | hpp | C++ | include/zrp/json_misc.hpp | omegacoleman/zrp | 8c3013c60a7c6d2a7817015e438d122f023c4bef | [
"BSL-1.0"
] | 12 | 2021-05-23T16:25:34.000Z | 2021-11-23T12:25:17.000Z | include/zrp/json_misc.hpp | omegacoleman/zrp | 8c3013c60a7c6d2a7817015e438d122f023c4bef | [
"BSL-1.0"
] | null | null | null | include/zrp/json_misc.hpp | omegacoleman/zrp | 8c3013c60a7c6d2a7817015e438d122f023c4bef | [
"BSL-1.0"
] | null | null | null | // SPDX-License-Identifier: BSL-1.0
// copyleft 2021 youcai <omegacoleman@gmail.com>
// Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include "zrp/bindings.hpp"
#include "zrp/file.hpp"
#include "zrp/fmt... | 20.843931 | 149 | 0.585413 | [
"object"
] |
d6c8ea4a3daf31c9fda4fd543e650a6557f3ae35 | 29,791 | hpp | C++ | libs/boost_1_72_0/boost/smart_ptr/shared_ptr.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/smart_ptr/shared_ptr.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/smart_ptr/shared_ptr.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | #ifndef BOOST_SMART_PTR_SHARED_PTR_HPP_INCLUDED
#define BOOST_SMART_PTR_SHARED_PTR_HPP_INCLUDED
//
// shared_ptr.hpp
//
// (C) Copyright Greg Colvin and Beman Dawes 1998, 1999.
// Copyright (c) 2001-2008 Peter Dimov
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE... | 26.457371 | 80 | 0.670437 | [
"object"
] |
d6d12e7e1a4f518c9d96e4ebb6bfdfc32f139960 | 3,254 | cpp | C++ | Steamhammer/Source/ProductionGoal.cpp | kant2002/steamhammer | 375756e40f427faf3496fcf5da20955720ceda0a | [
"MIT"
] | 10 | 2017-07-06T18:47:02.000Z | 2019-03-22T04:49:41.000Z | Steamhammer/Source/ProductionGoal.cpp | kant2002/steamhammer | 375756e40f427faf3496fcf5da20955720ceda0a | [
"MIT"
] | null | null | null | Steamhammer/Source/ProductionGoal.cpp | kant2002/steamhammer | 375756e40f427faf3496fcf5da20955720ceda0a | [
"MIT"
] | 6 | 2017-09-05T14:40:19.000Z | 2018-11-01T08:00:53.000Z | #include "ProductionGoal.h"
#include "BuildingManager.h"
#include "The.h"
using namespace UAlbertaBot;
// An upgrade or research goal may already be done.
bool ProductionGoal::alreadyAchieved() const
{
if (act.isTech())
{
return
BWAPI::Broodwar->self()->hasResearched(act.getT... | 29.053571 | 99 | 0.622004 | [
"vector"
] |
d6d678b26b9426a3685dd077159cc1903474fb2e | 3,146 | cpp | C++ | NinjaVsZombie/POC - C++/source/TestTileEngineState.cpp | Cabrra/SPG-Project | 7602de287b750c882f9fe9e2bc57e0492d36a76f | [
"MIT"
] | null | null | null | NinjaVsZombie/POC - C++/source/TestTileEngineState.cpp | Cabrra/SPG-Project | 7602de287b750c882f9fe9e2bc57e0492d36a76f | [
"MIT"
] | null | null | null | NinjaVsZombie/POC - C++/source/TestTileEngineState.cpp | Cabrra/SPG-Project | 7602de287b750c882f9fe9e2bc57e0492d36a76f | [
"MIT"
] | null | null | null | ///Used to test the tile engine
#include "TestTileEngineState.h"
#include "../SGD Wrappers/SGD_AudioManager.h"
#include "../SGD Wrappers/SGD_GraphicsManager.h"
#include "../SGD Wrappers/SGD_InputManager.h"
#include <cassert>
#include "MainMenuState.h"
#include "LevelManager.h"
#include "Map.h"
#include "TileSet.h"
#... | 29.961905 | 142 | 0.625874 | [
"render"
] |
d6de2a74ec4f2526e4c2496c76643d79166c2977 | 21,707 | cc | C++ | ui/display/win/scaling_util_unittest.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ui/display/win/scaling_util_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ui/display/win/scaling_util_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "ui/display/win/scaling_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/win/test/screen_util_win.h"
#include "ui/gfx... | 42.067829 | 80 | 0.610448 | [
"geometry"
] |
d6e5fb2c577d049ad9d6d3eaec0b03fd5260cd04 | 33,150 | cpp | C++ | src/cless/rsolvers/roe_cl.cpp | roarkhabegger/athena-public-version | 3446d2f4601c1dbbfd7a98d4f53335d97e21e195 | [
"BSD-3-Clause"
] | 1 | 2021-03-05T20:59:04.000Z | 2021-03-05T20:59:04.000Z | src/cless/rsolvers/roe_cl.cpp | roarkhabegger/athena-public-version | 3446d2f4601c1dbbfd7a98d4f53335d97e21e195 | [
"BSD-3-Clause"
] | null | null | null | src/cless/rsolvers/roe_cl.cpp | roarkhabegger/athena-public-version | 3446d2f4601c1dbbfd7a98d4f53335d97e21e195 | [
"BSD-3-Clause"
] | 2 | 2019-02-26T18:49:13.000Z | 2019-07-22T17:04:41.000Z | //========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//===============================... | 36.792453 | 90 | 0.576048 | [
"vector"
] |
d6e696aeda443bf06a57c0e573d6f20bd4d02a87 | 327 | cpp | C++ | Codeforces 677A.cpp | Jvillegasd/Codeforces | ffdd2d5db1dabc7ff76f8f92270c79233a77b933 | [
"MIT"
] | null | null | null | Codeforces 677A.cpp | Jvillegasd/Codeforces | ffdd2d5db1dabc7ff76f8f92270c79233a77b933 | [
"MIT"
] | null | null | null | Codeforces 677A.cpp | Jvillegasd/Codeforces | ffdd2d5db1dabc7ff76f8f92270c79233a77b933 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main(){
int n, h, a, ans = 0;
vector<int> fh;
scanf("%d %d", &n, &h);
for(int i = 0; i < n; i++) scanf("%d", &a), fh.push_back(a);
for(int i = 0; i < n; i++){
if(fh[i] <= h) ans+=1;
else ans+=2;
}
printf("%d", ans);
retu... | 20.4375 | 64 | 0.446483 | [
"vector"
] |
d6e7628fd5739c3a37e9d6f23cd293de2687b7bd | 14,261 | cpp | C++ | brlycmbd/CrdBrlyTtb/DlgBrlyTtbNew_blks.cpp | mpsitech/brly-BeamRelay | 481ccb3e83ea6151fb78eba293b44ade62a0ec78 | [
"MIT"
] | null | null | null | brlycmbd/CrdBrlyTtb/DlgBrlyTtbNew_blks.cpp | mpsitech/brly-BeamRelay | 481ccb3e83ea6151fb78eba293b44ade62a0ec78 | [
"MIT"
] | null | null | null | brlycmbd/CrdBrlyTtb/DlgBrlyTtbNew_blks.cpp | mpsitech/brly-BeamRelay | 481ccb3e83ea6151fb78eba293b44ade62a0ec78 | [
"MIT"
] | null | null | null | /**
* \file DlgBrlyTtbNew_blks.cpp
* job handler for job DlgBrlyTtbNew (implementation of blocks)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 11 Jan 2021
*/
// IP header --- ABOVE
using namespace std;
using namespace Sbecore;
using namespa... | 28.183794 | 121 | 0.620503 | [
"vector"
] |
d6eaba223c1328543c6122969ed7da01edef8a5f | 3,425 | cpp | C++ | solutions/1008/20120322T192647Z-4199705.cpp | Mistereo/timus-solutions | 062540304c33312b75e0e8713c4b36c80fb220ab | [
"MIT"
] | 11 | 2019-10-29T15:34:53.000Z | 2022-03-14T14:45:09.000Z | solutions/1008/20120322T192647Z-4199705.cpp | Mistereo/timus-solutions | 062540304c33312b75e0e8713c4b36c80fb220ab | [
"MIT"
] | null | null | null | solutions/1008/20120322T192647Z-4199705.cpp | Mistereo/timus-solutions | 062540304c33312b75e0e8713c4b36c80fb220ab | [
"MIT"
] | 6 | 2018-06-30T12:06:55.000Z | 2021-03-20T08:46:33.000Z | #include <iostream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <cstdlib>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <queue>
using namespace std;
//#define ONLINE_JUDGE
#define mp make_pair
int A[15][15];
int dx[] = { 1, 0, -1, ... | 30.309735 | 66 | 0.388321 | [
"vector"
] |
d6ee1c881c58e398721548537ceb58a80f986208 | 6,817 | cpp | C++ | opt/optimize_enums/EnumInSwitch.cpp | parind/redex | a919919298f45e7ff33f03be7f819dc04e533182 | [
"MIT"
] | null | null | null | opt/optimize_enums/EnumInSwitch.cpp | parind/redex | a919919298f45e7ff33f03be7f819dc04e533182 | [
"MIT"
] | null | null | null | opt/optimize_enums/EnumInSwitch.cpp | parind/redex | a919919298f45e7ff33f03be7f819dc04e533182 | [
"MIT"
] | null | null | null | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "EnumInSwitch.h"
#include "Resolver.h"
namespace optimize_enums {
bool has_all_but_branch(boost::optional<Info> info) {... | 28.404167 | 79 | 0.658794 | [
"vector"
] |
d6ef94f2a185ae7971b642bd855fff22d596c357 | 1,533 | hpp | C++ | src/enemyCollisionFunctions.hpp | evanbowman/Blind-Jump | 971bbfabb7a43a0de90c6131035b081b94a0bc08 | [
"BSD-2-Clause"
] | 79 | 2016-11-05T12:41:46.000Z | 2022-03-23T07:05:01.000Z | src/enemyCollisionFunctions.hpp | evanbowman/Blind-Jump | 971bbfabb7a43a0de90c6131035b081b94a0bc08 | [
"BSD-2-Clause"
] | 14 | 2017-02-28T02:47:43.000Z | 2021-04-25T20:08:15.000Z | src/enemyCollisionFunctions.hpp | evanbowman/Blind-Jump | 971bbfabb7a43a0de90c6131035b081b94a0bc08 | [
"BSD-2-Clause"
] | 22 | 2017-02-12T00:12:30.000Z | 2021-12-04T08:44:35.000Z | #pragma once
#include "wall.hpp"
// Simple bounding box collision checking
inline void checkCollision(std::vector<wall> walls, bool & CollisionDown,
bool & CollisionUp, bool & CollisionRight,
bool & CollisionLeft, float posY, float posX) {
bool foundCollision[... | 35.651163 | 80 | 0.463144 | [
"vector"
] |
d6f233e27cab0161226b7a6292a16817837062f9 | 660 | cpp | C++ | aboutdialog.cpp | dmitrysl/qt-mclaut-notifier | c5559de2c0d7f106e5a7e6ffe53065373632b803 | [
"MIT"
] | 1 | 2015-04-03T11:46:32.000Z | 2015-04-03T11:46:32.000Z | aboutdialog.cpp | dmitrysl/qt-mclaut-notifier | c5559de2c0d7f106e5a7e6ffe53065373632b803 | [
"MIT"
] | 3 | 2015-09-03T07:34:53.000Z | 2015-09-03T09:14:03.000Z | aboutdialog.cpp | dmitrysl/qt-mclaut-notifier | c5559de2c0d7f106e5a7e6ffe53065373632b803 | [
"MIT"
] | null | null | null | #include <QVBoxLayout>
#include <QLabel>
#include <QDebug>
#include "aboutdialog.h"
AboutDialog::AboutDialog(const QRect &geometry, QWidget *parent) : QWidget(parent)
{
QVBoxLayout *layout = new QVBoxLayout;
QLabel *label = new QLabel("Developer: ", this);
layout->addWidget(label);
layout->... | 22.758621 | 83 | 0.662121 | [
"geometry"
] |
d6fc3a83c330b75bac261284f6ed8833e495b15c | 7,203 | cpp | C++ | src/FlatPieceMemoryStorage.cpp | a-pavlov/qtplayer | 10dfb7e1c8bac9cebb1925dd890b1d4b42d036f4 | [
"Apache-2.0"
] | null | null | null | src/FlatPieceMemoryStorage.cpp | a-pavlov/qtplayer | 10dfb7e1c8bac9cebb1925dd890b1d4b42d036f4 | [
"Apache-2.0"
] | null | null | null | src/FlatPieceMemoryStorage.cpp | a-pavlov/qtplayer | 10dfb7e1c8bac9cebb1925dd890b1d4b42d036f4 | [
"Apache-2.0"
] | null | null | null | #include "FlatPieceMemoryStorage.h"
#include <QDebug>
#include <QMutexLocker>
#include <cassert>
#include <algorithm>
FlatPieceMemoryStorage::FlatPieceMemoryStorage(int pieceLength
, int maxCachePieces
, qlonglong fileOffset
, qlonglong fileSize) :
buffer(new unsigned char[pieceLength * maxCacheP... | 30.782051 | 168 | 0.602666 | [
"transform"
] |
d6ff22660177fcbe684143cd8ed9415a7db62c81 | 3,124 | hpp | C++ | include/hipipe/core/stream/for_each.hpp | iterait/hipipe | c2a6cc13857dce93e5ae3f76a86e8f029ca3f921 | [
"BSL-1.0",
"MIT"
] | 16 | 2018-10-08T09:00:14.000Z | 2021-07-11T12:35:09.000Z | include/hipipe/core/stream/for_each.hpp | iterait/hipipe | c2a6cc13857dce93e5ae3f76a86e8f029ca3f921 | [
"BSL-1.0",
"MIT"
] | 19 | 2018-09-26T13:55:40.000Z | 2019-08-28T13:47:04.000Z | include/hipipe/core/stream/for_each.hpp | iterait/hipipe | c2a6cc13857dce93e5ae3f76a86e8f029ca3f921 | [
"BSL-1.0",
"MIT"
] | null | null | null | /****************************************************************************
* hipipe library
* Copyright (c) 2017, Cognexa Solutions s.r.o.
* Copyright (c) 2018, Iterait a.s.
* Author(s) Filip Matzner
*
* This file is distributed under the MIT License.
* See the accompanying file LICENSE.txt for the comp... | 39.05 | 89 | 0.622279 | [
"vector",
"transform"
] |
d903ede5b2d2f0f4bfccf1956ddf1b1e65ee96f2 | 2,108 | cpp | C++ | Arrays/Maximum-gap.cpp | anuanu0-0/Essential-dsa-questions | a9c225afd039dd58f9fbb692852878eb306b65a4 | [
"MIT"
] | null | null | null | Arrays/Maximum-gap.cpp | anuanu0-0/Essential-dsa-questions | a9c225afd039dd58f9fbb692852878eb306b65a4 | [
"MIT"
] | null | null | null | Arrays/Maximum-gap.cpp | anuanu0-0/Essential-dsa-questions | a9c225afd039dd58f9fbb692852878eb306b65a4 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/**
* @brief Given an integer array nums, return the maximum difference between two successive
* elements in its sorted form. If the array contains less than two elements, return 0.
* You must write an algorithm that runs in linear time and uses linear ext... | 35.133333 | 94 | 0.63093 | [
"vector"
] |
d90537a5250612bd5cb39e207bbc06527c3c1012 | 980 | cpp | C++ | solutions/uva_11286_conformity.cpp | pvchaumier/uva | 66923f62a0165f6ab6c7d37d487569cd7b308e6f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | solutions/uva_11286_conformity.cpp | pvchaumier/uva | 66923f62a0165f6ab6c7d37d487569cd7b308e6f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | solutions/uva_11286_conformity.cpp | pvchaumier/uva | 66923f62a0165f6ab6c7d37d487569cd7b308e6f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <string>
using namespace std;
void solution(int n);
int main(int argc, char const *argv[])
{
int n(0);
while (cin >> n && n != 0)
solution(n);
return 0;
}
void solution(int n)
{
vector<int> v(5);
map<str... | 18.846154 | 68 | 0.491837 | [
"vector"
] |
d90b82ef72475dfa26ea3c39b9d55c29682d0ad1 | 6,692 | hpp | C++ | tests/src/BaseKmerTests.hpp | adbailey4/embed_fast5 | 4416fab3927a4f3deae2f4637ff6c7344b4098c9 | [
"MIT"
] | null | null | null | tests/src/BaseKmerTests.hpp | adbailey4/embed_fast5 | 4416fab3927a4f3deae2f4637ff6c7344b4098c9 | [
"MIT"
] | 1 | 2021-12-14T13:31:42.000Z | 2022-03-12T17:41:30.000Z | tests/src/BaseKmerTests.hpp | adbailey4/embed_fast5 | 4416fab3927a4f3deae2f4637ff6c7344b4098c9 | [
"MIT"
] | null | null | null | //
// Created by Andrew Bailey on 5/23/20.
//
#ifndef EMBED_FAST5_TESTS_SRC_BASEKMERTESTS_HPP_
#define EMBED_FAST5_TESTS_SRC_BASEKMERTESTS_HPP_
// embed source
#include "BaseKmer.hpp"
#include "TestFiles.hpp"
//boost
#include <boost/filesystem.hpp>
// gtest
#include <gtest/gtest.h>
#include <gmock/gmock.h>
using nam... | 30.83871 | 102 | 0.682756 | [
"vector"
] |
d90e0dd81fccf39e4949c2009c104784c8b6f4e1 | 66,568 | cc | C++ | Mysql/sql/sql_load.cc | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | 1 | 2015-12-24T16:44:50.000Z | 2015-12-24T16:44:50.000Z | Mysql/sql/sql_load.cc | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | 1 | 2015-12-24T18:23:56.000Z | 2015-12-24T18:24:26.000Z | Mysql/sql/sql_load.cc | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2000, 2015, 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.428824 | 109 | 0.572197 | [
"object"
] |
d90fba0c737fb8631cca9831dfe20452e2ef0e37 | 3,857 | cpp | C++ | libdariadb/storage/pages/index.cpp | lysevi/memseries | e9c2e34b0723ea6e040ecdcce3d57153d32b061e | [
"Apache-2.0"
] | 24 | 2016-06-14T20:09:37.000Z | 2021-03-21T23:11:52.000Z | libdariadb/storage/pages/index.cpp | lysevi/dariadb | e9c2e34b0723ea6e040ecdcce3d57153d32b061e | [
"Apache-2.0"
] | 326 | 2016-03-18T08:04:33.000Z | 2017-07-03T08:47:37.000Z | libdariadb/storage/pages/index.cpp | lysevi/dariadb | e9c2e34b0723ea6e040ecdcce3d57153d32b061e | [
"Apache-2.0"
] | 8 | 2016-06-16T14:28:02.000Z | 2022-01-20T04:19:35.000Z | #ifdef MSVC
#define _CRT_SECURE_NO_WARNINGS // for fopen
#endif
#include <libdariadb/storage/bloom_filter.h>
#include <libdariadb/storage/pages/index.h>
#include <algorithm>
#include <cstring>
#include <fstream>
using namespace dariadb;
using namespace dariadb::storage;
using dariadb::utils::inInterval;
inline bool ... | 31.614754 | 90 | 0.670469 | [
"vector"
] |
d9108aa52072d727491fb58e3da58878408d9332 | 7,220 | cpp | C++ | tests/unit/src/utility.cpp | carlbrown/scraps | 78925a738540415ec04b9cbe23cb319421f44978 | [
"Apache-2.0"
] | null | null | null | tests/unit/src/utility.cpp | carlbrown/scraps | 78925a738540415ec04b9cbe23cb319421f44978 | [
"Apache-2.0"
] | null | null | null | tests/unit/src/utility.cpp | carlbrown/scraps | 78925a738540415ec04b9cbe23cb319421f44978 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2016 BitTorrent Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 29.834711 | 96 | 0.590859 | [
"vector"
] |
d914a2edaa8fb5fa8854f3b66f13df38783b2b42 | 8,072 | cpp | C++ | DEM/Src/L2/Physics/Prop/PropTrigger.cpp | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | 2 | 2017-04-30T20:24:29.000Z | 2019-02-12T08:36:26.000Z | DEM/Src/L2/Physics/Prop/PropTrigger.cpp | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | null | null | null | DEM/Src/L2/Physics/Prop/PropTrigger.cpp | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | null | null | null | #include "PropTrigger.h"
#include <Game/Mgr/EntityManager.h>
#include <Game/GameServer.h>
#include <Scripting/Prop/PropScriptable.h>
#include <Physics/PhysicsServer.h>
#include <Physics/Level.h>
#include <Events/Subscription.h>
#include <Loading/EntityFactory.h>
#include <DB/DBServer.h>
#include <gfx2/ngfxse... | 32.813008 | 125 | 0.652131 | [
"shape",
"transform"
] |
d9181175030166929575f4e2377e7fd794444547 | 13,573 | cc | C++ | extractor/rule_extractor.cc | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 114 | 2015-01-11T05:41:03.000Z | 2021-08-31T03:47:12.000Z | extractor/rule_extractor.cc | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 29 | 2015-01-09T01:00:09.000Z | 2019-09-25T06:04:02.000Z | extractor/rule_extractor.cc | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 50 | 2015-02-13T13:48:39.000Z | 2019-08-07T09:45:11.000Z | #include "rule_extractor.h"
#include <map>
#include "alignment.h"
#include "data_array.h"
#include "features/feature.h"
#include "phrase_builder.h"
#include "phrase_location.h"
#include "rule.h"
#include "rule_extractor_helper.h"
#include "scorer.h"
#include "target_phrase_extractor.h"
using namespace std;
namespac... | 39.456395 | 80 | 0.686436 | [
"vector"
] |
d91ade8c1a3ee3854a5fb9f84c9514592e3f6c67 | 1,415 | cpp | C++ | 3041 Asteroids/main.cpp | sqc1999-oi/POJ | 450afa9485bcf5398f9cb7efd5a3b8c40de60e03 | [
"MIT"
] | 1 | 2016-07-18T12:05:16.000Z | 2016-07-18T12:05:16.000Z | 3041 Asteroids/main.cpp | sqc1999/POJ | 450afa9485bcf5398f9cb7efd5a3b8c40de60e03 | [
"MIT"
] | null | null | null | 3041 Asteroids/main.cpp | sqc1999/POJ | 450afa9485bcf5398f9cb7efd5a3b8c40de60e03 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <queue>
#include <vector>
#include <cstring>
using namespace std;
const int INF = 0x7fffffff;
struct Edge { int From, To, Cap, Flow; };
int a[1002], p[1002];
vector<Edge> Edges;
vector<int> G[1002];
void AddEdge(int from, int to, int cap)
{
G[from].push_b... | 20.507246 | 64 | 0.491166 | [
"vector"
] |
d91c6512123b2338de3dc676c036e47750dc6351 | 2,320 | cpp | C++ | C++/letter-combinations-of-a-phone-number.cpp | xenron/sandbox-dev-lintcode | 114145723af43eafc84ff602ad3ac7b353a9fc38 | [
"MIT"
] | 695 | 2015-04-18T16:11:56.000Z | 2022-03-11T13:28:44.000Z | C++/letter-combinations-of-a-phone-number.cpp | Abd-Elrazek/LintCode | 8f6ee0ff38cb7cf8bf9fca800243823931604155 | [
"MIT"
] | 4 | 2015-07-04T13:07:35.000Z | 2020-08-11T11:32:29.000Z | C++/letter-combinations-of-a-phone-number.cpp | Abd-Elrazek/LintCode | 8f6ee0ff38cb7cf8bf9fca800243823931604155 | [
"MIT"
] | 338 | 2015-04-28T04:39:03.000Z | 2022-03-16T03:00:15.000Z | // Time: O(n * 4^n)
// Space: O(n)
// Iterative solution.
class Solution {
public:
/**
* @param digits A digital string
* @return all posible letter combinations
*/
vector<string> letterCombinations(string& digits) {
if (digits.empty()) {
return {};
}
vector... | 30.12987 | 81 | 0.456034 | [
"vector"
] |
0ba693f04034127c0d1624b775d08f88e30210cf | 1,005 | cpp | C++ | book/Chap5/logicerror.cpp | mjakebarrington/CPP-Exercises | 9bb01f66ae9861c4d5323738fb478f15ad7e691c | [
"MIT"
] | null | null | null | book/Chap5/logicerror.cpp | mjakebarrington/CPP-Exercises | 9bb01f66ae9861c4d5323738fb478f15ad7e691c | [
"MIT"
] | null | null | null | book/Chap5/logicerror.cpp | mjakebarrington/CPP-Exercises | 9bb01f66ae9861c4d5323738fb478f15ad7e691c | [
"MIT"
] | null | null | null | /*
* This is a simple logic error example provided by the book.
* The program will compile and run, but will not yield the correct results.
*/
#include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<double>temps;
double temp = 0;
double sum = 0;
double high_temp = 0;
double low_temp = ... | 25.125 | 92 | 0.686567 | [
"vector"
] |
0ba858dcb0c07b39f693090cea8b0898bbf5d7cc | 8,051 | cpp | C++ | OpenGL_3DJV1/LoaderOBJ/LoaderOBJ.cpp | Epono/5A-3DJV-OpenGL_Project | 59ea1aac67780f4b53687beb46085e10c2ca4d4c | [
"MIT"
] | null | null | null | OpenGL_3DJV1/LoaderOBJ/LoaderOBJ.cpp | Epono/5A-3DJV-OpenGL_Project | 59ea1aac67780f4b53687beb46085e10c2ca4d4c | [
"MIT"
] | null | null | null | OpenGL_3DJV1/LoaderOBJ/LoaderOBJ.cpp | Epono/5A-3DJV-OpenGL_Project | 59ea1aac67780f4b53687beb46085e10c2ca4d4c | [
"MIT"
] | null | null | null | //
// LoaderOBJ.cpp : Defines the entry point for the console application.
//
// Specifique a Windows
#if _WIN32
#include <Windows.h>
#define FREEGLUT_LIB_PRAGMAS 0
#pragma comment(lib, "freeglut.lib")
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glew32s.lib")
#endif
// Entete OpenGL
#define GLEW_STATI... | 25.640127 | 107 | 0.71457 | [
"mesh",
"render",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.