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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0f4b2620111c0c637ebf58c05c1096e8cdbd07e2 | 3,525 | cpp | C++ | src/batchQuery.cpp | drtamermansour/Kprocessor | 3356d7dad5a8c55cebe49a63113c41ef536d1b9c | [
"BSD-3-Clause"
] | 8 | 2018-10-12T11:02:55.000Z | 2021-08-29T14:46:02.000Z | src/batchQuery.cpp | drtamermansour/Kprocessor | 3356d7dad5a8c55cebe49a63113c41ef536d1b9c | [
"BSD-3-Clause"
] | 79 | 2019-03-16T15:31:43.000Z | 2022-03-21T18:56:55.000Z | src/batchQuery.cpp | drtamermansour/Kprocessor | 3356d7dad5a8c55cebe49a63113c41ef536d1b9c | [
"BSD-3-Clause"
] | 2 | 2019-06-21T11:48:11.000Z | 2021-04-09T00:47:54.000Z | #include "batchQuery.hpp"
#include "algorithms.hpp"
// ----------------- colored kDataFrame Batch Query -----------------
ckf_batchQuery::ckf_batchQuery(colored_kDataFrame *ckFrame, std::string filename,
std::map<std::string, int> parse_params, int chunk_size) {
// parse_params["m... | 29.132231 | 93 | 0.61844 | [
"vector"
] |
0f4deb7f85aac27838ec20254021e53ca62d4987 | 497 | cpp | C++ | LeetCode/Problems/Algorithms/#264_UglyNumberII_sol3_full_generation_404ms_19.8MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | 1 | 2022-01-26T14:50:07.000Z | 2022-01-26T14:50:07.000Z | LeetCode/Problems/Algorithms/#264_UglyNumberII_sol3_full_generation_404ms_19.8MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | LeetCode/Problems/Algorithms/#264_UglyNumberII_sol3_full_generation_404ms_19.8MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | class Solution {
public:
int nthUglyNumber(int n) {
vector<int> ugly_numbers;
for(long long two = 1; two <= INT_MAX; two *= 2){
for(long long three = two; three <= INT_MAX; three *= 3){
for(long long five = three; five <= INT_MAX; five *= 5){
ug... | 33.133333 | 73 | 0.488934 | [
"vector"
] |
0f4e146c1a5c4b7a333f049d81294fd0c782e903 | 630 | hh | C++ | cc/scan-lineages.hh | acorg/seqdb-3 | 55513a55381f9911ebfe58d0d60fac366f89c07b | [
"MIT"
] | null | null | null | cc/scan-lineages.hh | acorg/seqdb-3 | 55513a55381f9911ebfe58d0d60fac366f89c07b | [
"MIT"
] | null | null | null | cc/scan-lineages.hh | acorg/seqdb-3 | 55513a55381f9911ebfe58d0d60fac366f89c07b | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
// ----------------------------------------------------------------------
namespace acmacs::seqdb
{
inline namespace v3
{
namespace scan
{
namespace fasta
{
struct scan_result_t;
}
void detect_line... | 22.5 | 86 | 0.428571 | [
"vector"
] |
0f5180c2b5b51988ad86fcabdf7dfb76c1515fc0 | 39,108 | cpp | C++ | Userland/Libraries/LibWeb/CSS/StyleComputer.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 19,438 | 2019-05-20T15:11:11.000Z | 2022-03-31T23:31:32.000Z | Userland/Libraries/LibWeb/CSS/StyleComputer.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 7,882 | 2019-05-20T01:03:52.000Z | 2022-03-31T23:26:31.000Z | Userland/Libraries/LibWeb/CSS/StyleComputer.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 2,721 | 2019-05-23T00:44:57.000Z | 2022-03-31T22:49:34.000Z | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021, the SerenityOS developers.
* Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/QuickSort.h>
#include <AK/TemporaryChange.h>
#include <LibGfx/Font.h>
#include <... | 42.006445 | 282 | 0.657052 | [
"vector"
] |
0f55ff4e94f5540424e35263cbee3b6ae053f04d | 38,060 | cpp | C++ | lib/PhasarLLVM/DataFlowSolver/IfdsIde/Problems/IDELinearConstantAnalysis.cpp | jplehr/phasar | 54eb46acbc4beb45587a1d383bbf0d65b306270a | [
"MIT"
] | null | null | null | lib/PhasarLLVM/DataFlowSolver/IfdsIde/Problems/IDELinearConstantAnalysis.cpp | jplehr/phasar | 54eb46acbc4beb45587a1d383bbf0d65b306270a | [
"MIT"
] | null | null | null | lib/PhasarLLVM/DataFlowSolver/IfdsIde/Problems/IDELinearConstantAnalysis.cpp | jplehr/phasar | 54eb46acbc4beb45587a1d383bbf0d65b306270a | [
"MIT"
] | null | null | null | /******************************************************************************
* Copyright (c) 2017 Philipp Schubert.
* All rights reserved. This program and the accompanying materials are made
* available under the terms of LICENSE.txt.
*
* Contributors:
* Philipp Schubert and others
**********************... | 38.561297 | 88 | 0.651261 | [
"vector"
] |
0f59ee9386ab7f50a76ef3c99e0257a3ca9fcf03 | 5,136 | cpp | C++ | src/webots/scene_tree/WbTreeView.cpp | nishantkr18/webots | 6ab631adb2e69906fc251cc77d690e67195de222 | [
"Apache-2.0"
] | 1 | 2020-06-08T13:38:11.000Z | 2020-06-08T13:38:11.000Z | src/webots/scene_tree/WbTreeView.cpp | nishantkr18/webots | 6ab631adb2e69906fc251cc77d690e67195de222 | [
"Apache-2.0"
] | null | null | null | src/webots/scene_tree/WbTreeView.cpp | nishantkr18/webots | 6ab631adb2e69906fc251cc77d690e67195de222 | [
"Apache-2.0"
] | null | null | null | // Copyright 1996-2020 Cyberbotics 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 or agr... | 32.923077 | 110 | 0.739097 | [
"model"
] |
0f5e9f80f03ce5b1c981bfc04d159c257a6fbca7 | 13,002 | cxx | C++ | Widgets/vtkSeedWidget.cxx | Lin1225/vtk_v5.10.0 | b54ac74f4716572862365fbff28cd0ecb8d08c3d | [
"BSD-3-Clause"
] | 3 | 2020-06-20T23:31:06.000Z | 2021-01-11T02:17:16.000Z | Widgets/vtkSeedWidget.cxx | Lin1225/vtk_v5.10.0 | b54ac74f4716572862365fbff28cd0ecb8d08c3d | [
"BSD-3-Clause"
] | 1 | 2020-12-01T23:21:02.000Z | 2020-12-02T23:44:43.000Z | Widgets/vtkSeedWidget.cxx | Lin1225/vtk_v5.10.0 | b54ac74f4716572862365fbff28cd0ecb8d08c3d | [
"BSD-3-Clause"
] | 5 | 2015-10-09T04:12:29.000Z | 2021-12-15T16:57:11.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkSeedWidget.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is... | 31.405797 | 89 | 0.5996 | [
"render",
"shape"
] |
0f61e2ca5e4ac5807b2416ad36723fa504890d8b | 8,145 | cc | C++ | test/scenario/network/network_emulation_pc_unittest.cc | Numbrs/WebRTC | d9348ec831b8a1f178ce1a92877f04b1fbd27a04 | [
"BSD-3-Clause"
] | 4 | 2019-11-26T07:08:00.000Z | 2021-06-20T08:53:50.000Z | test/scenario/network/network_emulation_pc_unittest.cc | Numbrs/WebRTC | d9348ec831b8a1f178ce1a92877f04b1fbd27a04 | [
"BSD-3-Clause"
] | null | null | null | test/scenario/network/network_emulation_pc_unittest.cc | Numbrs/WebRTC | d9348ec831b8a1f178ce1a92877f04b1fbd27a04 | [
"BSD-3-Clause"
] | 4 | 2019-11-25T09:25:01.000Z | 2021-08-20T06:00:04.000Z | /*
* Copyright 2019 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | 41.345178 | 80 | 0.742787 | [
"vector"
] |
0f64f70f4b676599cec3b9b0c501d596d77b8007 | 9,780 | hpp | C++ | include/filesplitter.hpp | jmcarter9t/filesplitter | c92a2fca23c064688e18336baf86092ab538dba8 | [
"Apache-2.0"
] | null | null | null | include/filesplitter.hpp | jmcarter9t/filesplitter | c92a2fca23c064688e18336baf86092ab538dba8 | [
"Apache-2.0"
] | null | null | null | include/filesplitter.hpp | jmcarter9t/filesplitter | c92a2fca23c064688e18336baf86092ab538dba8 | [
"Apache-2.0"
] | null | null | null | #pragma once
#ifndef FILESPLITTER_HPP
#define FILESPLITTER_HPP
#include <mutex>
#include <cstdio>
#include "tool.hpp"
#include "spdlog/spdlog.h"
/**
* @brief predicate indicating whether a file exists on the filesystem.
*
* @param fn the file name and path to check the existance of.
*
* @return true if it exi... | 40.75 | 184 | 0.586605 | [
"vector"
] |
0f6e5d71ee2e674621b0d58bfb89643937c2da1c | 45,609 | cpp | C++ | src/raven_src/src/CustomOutput.cpp | Okanagan-Basin-Water-Board/obwb-hydro-modelling | 91ee6b914e344de65a495093c3b9427986182ef2 | [
"Artistic-2.0"
] | null | null | null | src/raven_src/src/CustomOutput.cpp | Okanagan-Basin-Water-Board/obwb-hydro-modelling | 91ee6b914e344de65a495093c3b9427986182ef2 | [
"Artistic-2.0"
] | null | null | null | src/raven_src/src/CustomOutput.cpp | Okanagan-Basin-Water-Board/obwb-hydro-modelling | 91ee6b914e344de65a495093c3b9427986182ef2 | [
"Artistic-2.0"
] | null | null | null | /*----------------------------------------------------------------
Raven Library Source Code
Copyright (c) 2008-2019 the Raven Development Team, Ayman Khedr
----------------------------------------------------------------*/
#include "CustomOutput.h"
void WriteNetCDFGlobalAttributes(int out_ncid,const optStruct ... | 45.517964 | 160 | 0.590256 | [
"object",
"shape",
"vector",
"model"
] |
0f702271941ef6130bb1e1ce195e34a3d1aa3e98 | 9,588 | cc | C++ | src/simd/simd_bits_range_ref.test.cc | dstrain115/Stim | 82a161741c05d637fe16ea20b1d99a48b4ca4750 | [
"Apache-2.0"
] | null | null | null | src/simd/simd_bits_range_ref.test.cc | dstrain115/Stim | 82a161741c05d637fe16ea20b1d99a48b4ca4750 | [
"Apache-2.0"
] | null | null | null | src/simd/simd_bits_range_ref.test.cc | dstrain115/Stim | 82a161741c05d637fe16ea20b1d99a48b4ca4750 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 34.992701 | 89 | 0.674489 | [
"vector"
] |
0f72277593f9529a401e195d80959f3eb70cdeb4 | 250,541 | cxx | C++ | PWGHF/vertexingHF/AliAnalysisTaskSELc2V0bachelor.cxx | peckalec/AliPhysics | b5661f0dd0bb24534397615b26260d35f0809830 | [
"BSD-3-Clause"
] | 1 | 2019-10-03T15:11:04.000Z | 2019-10-03T15:11:04.000Z | PWGHF/vertexingHF/AliAnalysisTaskSELc2V0bachelor.cxx | abarreirALICE/AliPhysics | b2cd6e45bb7fc1b76fec02fe20c70a828a30cb6d | [
"BSD-3-Clause"
] | null | null | null | PWGHF/vertexingHF/AliAnalysisTaskSELc2V0bachelor.cxx | abarreirALICE/AliPhysics | b2cd6e45bb7fc1b76fec02fe20c70a828a30cb6d | [
"BSD-3-Clause"
] | null | null | null | /**************************************************************************
* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 45.338581 | 326 | 0.688901 | [
"object",
"vector",
"3d"
] |
0f744d547b2ae5f66f985262a4aea0166cde4958 | 7,547 | cpp | C++ | event_camera_simulator/esim_common/test/test_utils.cpp | Louis-Jin/rpg_esim | eea20b84e2bb788431f93b8aace82b0f98606982 | [
"MIT"
] | 371 | 2018-11-02T10:09:22.000Z | 2022-03-31T05:09:39.000Z | event_camera_simulator/esim_common/test/test_utils.cpp | Louis-Jin/rpg_esim | eea20b84e2bb788431f93b8aace82b0f98606982 | [
"MIT"
] | 97 | 2018-11-06T11:47:53.000Z | 2022-03-10T16:25:59.000Z | event_camera_simulator/esim_common/test/test_utils.cpp | Louis-Jin/rpg_esim | eea20b84e2bb788431f93b8aace82b0f98606982 | [
"MIT"
] | 101 | 2018-11-05T12:33:43.000Z | 2022-03-24T17:40:50.000Z | #include <esim/common/utils.hpp>
#include <ze/common/test_entrypoint.hpp>
#include <ze/common/file_utils.hpp>
#include <ze/common/path_utils.hpp>
#include <ze/common/string_utils.hpp>
#include <ze/cameras/camera_rig.hpp>
#include <ze/common/random.hpp>
std::string getTestDataDir(const std::string& dataset_name)
{
us... | 35.266355 | 114 | 0.614681 | [
"object",
"transform"
] |
0f76aa7b94560451678b6cb3085788750c99f078 | 30,581 | cc | C++ | crdb/crdb_db.cc | audreyccheng/taobench | 41294425896ed8c2e6c53761dc0f04cf3b32dbd2 | [
"CC0-1.0"
] | null | null | null | crdb/crdb_db.cc | audreyccheng/taobench | 41294425896ed8c2e6c53761dc0f04cf3b32dbd2 | [
"CC0-1.0"
] | null | null | null | crdb/crdb_db.cc | audreyccheng/taobench | 41294425896ed8c2e6c53761dc0f04cf3b32dbd2 | [
"CC0-1.0"
] | 1 | 2021-12-17T02:21:57.000Z | 2021-12-17T02:21:57.000Z | #include "crdb_db.h"
#include "db_factory.h"
#include <pqxx/pqxx>
#include <chrono>
using std::cout;
using std::endl;
namespace {
const std::string CONNECTION_STRING = "crdb.connectionstring";
}
namespace benchmark {
void CrdbDB::Init() {
std::lock_guard<std::mutex> lock(mutex_);
const utils::Properties &pro... | 43.315864 | 471 | 0.620418 | [
"vector"
] |
0f787aa039113784ae18bd1148a339ae5111d065 | 28,537 | cpp | C++ | src/jsonv-tests/serialization_builder_tests.cpp | BeStateless/json-voorhees-1 | 9752f38d38cfd9d608c9943b6a1ab986ea75f21b | [
"Apache-2.0"
] | 138 | 2015-02-13T08:34:19.000Z | 2022-03-04T20:08:11.000Z | src/jsonv-tests/serialization_builder_tests.cpp | BeStateless/json-voorhees-1 | 9752f38d38cfd9d608c9943b6a1ab986ea75f21b | [
"Apache-2.0"
] | 104 | 2015-01-04T21:14:02.000Z | 2022-03-04T21:34:47.000Z | src/jsonv-tests/serialization_builder_tests.cpp | BeStateless/json-voorhees-1 | 9752f38d38cfd9d608c9943b6a1ab986ea75f21b | [
"Apache-2.0"
] | 28 | 2015-02-21T15:38:24.000Z | 2022-01-25T15:46:46.000Z | /** \file
*
* Copyright (c) 2015-2019 by Travis Gockel. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the Apache License
* as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later
* vers... | 36.260483 | 134 | 0.503977 | [
"object",
"vector"
] |
0f7b398a44ad3718a0e7d8765ac5ded7061f90f5 | 1,434 | hpp | C++ | controller/session/util/buffer-pool.hpp | UbuntuEvangelist/greyhound | 350dfdad9c907391200b75b110bc3bc779eb6da8 | [
"MIT"
] | null | null | null | controller/session/util/buffer-pool.hpp | UbuntuEvangelist/greyhound | 350dfdad9c907391200b75b110bc3bc779eb6da8 | [
"MIT"
] | null | null | null | controller/session/util/buffer-pool.hpp | UbuntuEvangelist/greyhound | 350dfdad9c907391200b75b110bc3bc779eb6da8 | [
"MIT"
] | 18 | 2017-01-12T09:26:10.000Z | 2019-06-18T14:55:37.000Z | #pragma once
#include <map>
#include <mutex>
#include <vector>
#include <memory>
#include <cstring>
#include <condition_variable>
class ItcBufferPool;
class ItcBuffer
{
// Don't let anyone besides the ItcBufferPool create or release these.
friend class ItcBufferPool;
public:
// Append vector onto this b... | 22.761905 | 77 | 0.682706 | [
"vector"
] |
0f7db210e5b7c62670f4cabe516f072304eda130 | 7,589 | cpp | C++ | src/HMC5883L.cpp | iamcsharper/RoombaGroup | cdeaae618ba357a5ff2688037d6230c01c7ad839 | [
"MIT"
] | 2 | 2021-03-12T18:32:47.000Z | 2021-06-01T13:54:26.000Z | src/HMC5883L.cpp | iamcsharper/RoombaGroup | cdeaae618ba357a5ff2688037d6230c01c7ad839 | [
"MIT"
] | null | null | null | src/HMC5883L.cpp | iamcsharper/RoombaGroup | cdeaae618ba357a5ff2688037d6230c01c7ad839 | [
"MIT"
] | 1 | 2021-03-14T08:24:10.000Z | 2021-03-14T08:24:10.000Z | /*
HMC5883L.cpp - Class file for the HMC5883L Triple Axis Digital Compass Arduino Library.
Version: 1.1.0
(c) 2014 Korneliusz Jarzebski
www.jarzebski.pl
This program is free software: you can redistribute it and/or modify
it under the terms of the version 3 GNU General Public License as
published by the Free Software... | 22.125364 | 174 | 0.660561 | [
"vector"
] |
0f7f5649de7a569548ba4cd8a3d3a6fb21042bfc | 3,591 | hpp | C++ | include/range/v3/action/split.hpp | seewpx/range-v3 | 8527a9741518dd61082bc3e2139aed8ecb5da4f6 | [
"MIT"
] | 3,436 | 2015-01-05T14:27:21.000Z | 2022-03-31T07:56:04.000Z | include/range/v3/action/split.hpp | seewpx/range-v3 | 8527a9741518dd61082bc3e2139aed8ecb5da4f6 | [
"MIT"
] | 1,197 | 2015-01-01T21:27:32.000Z | 2022-03-29T17:46:09.000Z | include/range/v3/action/split.hpp | seewpx/range-v3 | 8527a9741518dd61082bc3e2139aed8ecb5da4f6 | [
"MIT"
] | 490 | 2015-01-04T00:18:04.000Z | 2022-03-25T18:59:43.000Z | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-present
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler... | 32.645455 | 88 | 0.558062 | [
"vector"
] |
abf187f2e7bd3da9a8a9b1b7e127b13c8fa1fcf8 | 29,301 | cxx | C++ | oss_test/sframe_query_engine/optimizations.cxx | venkattgg/venkey | 796b9bdfb2fa1b881d82080754643c7e68629cd2 | [
"BSD-3-Clause"
] | 493 | 2016-07-11T13:35:24.000Z | 2022-02-15T13:04:29.000Z | oss_test/sframe_query_engine/optimizations.cxx | venkattgg/venkey | 796b9bdfb2fa1b881d82080754643c7e68629cd2 | [
"BSD-3-Clause"
] | 27 | 2016-07-13T20:01:07.000Z | 2022-02-01T18:55:28.000Z | oss_test/sframe_query_engine/optimizations.cxx | venkattgg/venkey | 796b9bdfb2fa1b881d82080754643c7e68629cd2 | [
"BSD-3-Clause"
] | 229 | 2016-07-12T10:39:54.000Z | 2022-02-15T13:04:31.000Z | /**
* Copyright (C) 2016 Turi
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#include <sframe_query_engine/planning/planner.hpp>
#include <sframe_query_engine/planning/planner_node.hpp>
#include <sframe_query_engi... | 24.336379 | 106 | 0.577967 | [
"vector"
] |
abf69b9cd895e96f368baddf3de0269b260cbf1e | 9,136 | cpp | C++ | libs/math/benchmark/tensor/tensor.cpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 3 | 2019-07-11T08:49:27.000Z | 2021-09-07T16:49:15.000Z | libs/math/benchmark/tensor/tensor.cpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | null | null | null | libs/math/benchmark/tensor/tensor.cpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 2 | 2019-11-13T10:55:24.000Z | 2019-11-13T11:37:09.000Z | //------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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
//
// ... | 41.908257 | 100 | 0.731721 | [
"shape",
"vector"
] |
abf75d87b8d9b73b0dc8bb6d99ec400fd1f372fd | 5,195 | hpp | C++ | src/mlpack/methods/ann/layer/alpha_dropout.hpp | florian-rosenthal/mlpack | 4287a89886e39703571165ef1d40693eb51d22c6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4,216 | 2015-01-01T02:06:12.000Z | 2022-03-31T19:12:06.000Z | src/mlpack/methods/ann/layer/alpha_dropout.hpp | florian-rosenthal/mlpack | 4287a89886e39703571165ef1d40693eb51d22c6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,621 | 2015-01-01T01:41:47.000Z | 2022-03-31T19:01:26.000Z | src/mlpack/methods/ann/layer/alpha_dropout.hpp | florian-rosenthal/mlpack | 4287a89886e39703571165ef1d40693eb51d22c6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,972 | 2015-01-01T23:37:13.000Z | 2022-03-28T06:03:41.000Z | /**
* @file methods/ann/layer/alpha_dropout.hpp
* @author Dakshit Agrawal
*
* Definition of the Alpha-Dropout class, which implements a regularizer that
* randomly sets units to alpha-dash to prevent them from co-adapting and
* makes an affine transformation so as to keep the mean and variance of
* outputs at th... | 31.107784 | 78 | 0.693551 | [
"object"
] |
abfa50cd5560455c7021cc1510d032e67c66bb1f | 83,326 | cc | C++ | DQMOffline/EGamma/plugins/PhotonAnalyzer.cc | eric-moreno/cmssw | 3dc2c26f276632ac8357ac7b52675f04649e3903 | [
"Apache-2.0"
] | null | null | null | DQMOffline/EGamma/plugins/PhotonAnalyzer.cc | eric-moreno/cmssw | 3dc2c26f276632ac8357ac7b52675f04649e3903 | [
"Apache-2.0"
] | 1 | 2019-04-12T08:01:26.000Z | 2019-04-12T08:01:26.000Z | DQMOffline/EGamma/plugins/PhotonAnalyzer.cc | eric-moreno/cmssw | 3dc2c26f276632ac8357ac7b52675f04649e3903 | [
"Apache-2.0"
] | 2 | 2019-09-27T08:33:22.000Z | 2019-11-14T10:52:30.000Z | #include <iostream>
#include <iomanip>
//
#include "DQMOffline/EGamma/plugins/PhotonAnalyzer.h"
/** \class PhotonAnalyzer
**
**
** $Id: PhotonAnalyzer
** authors:
** Nancy Marinelli, U. of Notre Dame, US
** Jamie Antonelli, U. of Notre Dame, US
**
***/
using namespace std;
PhotonAnalyzer::PhotonAnalyz... | 39.175364 | 150 | 0.530171 | [
"shape",
"vector",
"solid"
] |
abfdcb9009eb2b49d41da2930b93c422c0b93dd5 | 34,575 | cpp | C++ | src/jit/lsraarm64.cpp | wnmhb/coreclr | e3562c9bcc92ec04eec97cf1a945e7ea6d5234d2 | [
"MIT"
] | 1 | 2018-01-29T03:04:43.000Z | 2018-01-29T03:04:43.000Z | src/jit/lsraarm64.cpp | wnmhb/coreclr | e3562c9bcc92ec04eec97cf1a945e7ea6d5234d2 | [
"MIT"
] | null | null | null | src/jit/lsraarm64.cpp | wnmhb/coreclr | e3562c9bcc92ec04eec97cf1a945e7ea6d5234d2 | [
"MIT"
] | null | null | null | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... | 35.244648 | 116 | 0.526305 | [
"object",
"vector"
] |
abffa4ec5d62daa95c3cfcc3249162542827e46c | 1,211 | cc | C++ | src/jw/leetcode/most_water/main.cc | wanyaworld/algo-study | d540e9a72bb251a6bf2b04bc3aa7edbf17bee974 | [
"MIT"
] | 1 | 2020-10-31T15:28:43.000Z | 2020-10-31T15:28:43.000Z | src/jw/leetcode/most_water/main.cc | wanyaworld/algo-study | d540e9a72bb251a6bf2b04bc3aa7edbf17bee974 | [
"MIT"
] | null | null | null | src/jw/leetcode/most_water/main.cc | wanyaworld/algo-study | d540e9a72bb251a6bf2b04bc3aa7edbf17bee974 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <stdlib.h>
#include <unistd.h>
using namespace std;
class Solution {
public:
int min(int a, int b) {
if (a < b) return a;
return b;
}
int dnc(vector<int>& vec, int s, int e) {
if (s >= e) return 0;
int mid = (s + e) / 2;
int l_max = dnc(vec, s, mid)... | 18.630769 | 61 | 0.463254 | [
"vector"
] |
28003911be6e6c824584a7bdd13fdbfc970ccd7e | 5,503 | hpp | C++ | src/autonet/AutoNetServerImpl.hpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 87 | 2015-01-18T00:43:06.000Z | 2022-02-11T17:40:50.000Z | src/autonet/AutoNetServerImpl.hpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 274 | 2015-01-03T04:50:49.000Z | 2021-03-08T09:01:09.000Z | src/autonet/AutoNetServerImpl.hpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 15 | 2015-09-30T20:58:43.000Z | 2020-12-19T21:24:56.000Z | // Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved.
#pragma once
#include "AutoNetServer.h"
#include <json11/json11.hpp>
#include <cctype>
#include <map>
#include <set>
#include SYSTEM_ERROR_HEADER
#include ARRAY_HEADER
namespace autowiring {
struct CoreObjectDescriptor;
}
// Protocol layer for AutoNe... | 32.755952 | 124 | 0.693258 | [
"object",
"vector"
] |
28054f23e217ea16f710d45eafd096b14325afe7 | 5,848 | cpp | C++ | lib/Mutators/MutatorsFactory.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | null | null | null | lib/Mutators/MutatorsFactory.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | null | null | null | lib/Mutators/MutatorsFactory.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | 1 | 2019-06-10T02:43:04.000Z | 2019-06-10T02:43:04.000Z | #include "mull/Mutators/MutatorsFactory.h"
#include "mull/Mutators/AndOrReplacementMutator.h"
#include "mull/Mutators/ConditionalsBoundaryMutator.h"
#include "mull/Mutators/MathAddMutator.h"
#include "mull/Mutators/MathDivMutator.h"
#include "mull/Mutators/MathMulMutator.h"
#include "mull/Mutators/MathSubMutator.h"
#i... | 35.442424 | 79 | 0.701436 | [
"vector"
] |
28072372ee6aeeebfeb3e16a26f3010681dc8bdb | 3,976 | cpp | C++ | src/TAO/API/types/users/status.cpp | bibbityjibbity/LLL-TAO | 4073ba412f71bf27d21fd297497a7c276ebd2d67 | [
"MIT"
] | null | null | null | src/TAO/API/types/users/status.cpp | bibbityjibbity/LLL-TAO | 4073ba412f71bf27d21fd297497a7c276ebd2d67 | [
"MIT"
] | null | null | null | src/TAO/API/types/users/status.cpp | bibbityjibbity/LLL-TAO | 4073ba412f71bf27d21fd297497a7c276ebd2d67 | [
"MIT"
] | null | null | null | /*__________________________________________________________________________________________
(c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++
(c) Copyright The Nexus Developers 2014 - 2019
Distributed under the MIT software license, see the accompanying
... | 37.158879 | 108 | 0.59507 | [
"vector"
] |
2808a6b377d87ad878efe021be3fff3ede29f374 | 15,278 | cpp | C++ | plugin/usdImagingCycles/engine.cpp | tangent-opensource/hdcycles | e77ca61afc78c376f82abfa4f63ebbba2a4ca8bc | [
"Apache-2.0",
"BSD-3-Clause"
] | 213 | 2020-08-17T18:55:32.000Z | 2021-04-27T02:56:55.000Z | plugin/usdImagingCycles/engine.cpp | MaxSteven/hdBlackbird | e77ca61afc78c376f82abfa4f63ebbba2a4ca8bc | [
"Apache-2.0",
"BSD-3-Clause"
] | 80 | 2020-08-18T15:25:07.000Z | 2021-05-04T18:20:09.000Z | plugin/usdImagingCycles/engine.cpp | MaxSteven/hdBlackbird | e77ca61afc78c376f82abfa4f63ebbba2a4ca8bc | [
"Apache-2.0",
"BSD-3-Clause"
] | 22 | 2020-08-17T21:05:55.000Z | 2021-04-16T20:59:58.000Z | // Copyright 2020 Tangent Animation
//
// 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... | 30.802419 | 141 | 0.65879 | [
"geometry",
"render",
"vector"
] |
280f5ca3c61426d35da5b99c5328413f1a0661b0 | 970 | cpp | C++ | aws-cpp-sdk-iot/source/model/PutItemInput.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-iot/source/model/PutItemInput.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-iot/source/model/PutItemInput.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iot/model/PutItemInput.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace Io... | 16.166667 | 69 | 0.715464 | [
"model"
] |
28141db25dce5950487853d99e6efb4e70aecb43 | 5,431 | cpp | C++ | Dev-Cpp/OpenGL/Starfield/Main.cpp | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | 1 | 2022-03-22T14:41:15.000Z | 2022-03-22T14:41:15.000Z | Dev-Cpp/OpenGL/Starfield/Main.cpp | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | null | null | null | Dev-Cpp/OpenGL/Starfield/Main.cpp | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | null | null | null | #include <windows.h>
#include <gl/gl.h>
#include "iPhone/IP_Constants.h"
#include "Classes/IP_Camera.h"
#include "Classes/IP_Random.h"
#include "Classes/IP_Star.h"
#define GLInt int
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
void EnableOpenGL(HWND hWnd, HDC *hDC, HGLRC *hRC);
voi... | 27.0199 | 81 | 0.561038 | [
"render"
] |
2817a197384726761d79555a3287121efb4a0aeb | 2,090 | cpp | C++ | src/external/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketConfiguration.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 2 | 2019-02-08T21:29:57.000Z | 2021-07-27T06:59:19.000Z | src/external/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketConfiguration.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 3 | 2021-09-08T02:18:00.000Z | 2022-03-12T00:39:44.000Z | src/external/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketConfiguration.cpp | ZeroInfinite/turicreate | dd210c2563930881abd51fd69cb73007955b33fd | [
"BSD-3-Clause"
] | 1 | 2020-10-21T17:46:28.000Z | 2020-10-21T17:46:28.000Z | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | 28.243243 | 165 | 0.77177 | [
"model"
] |
281b3cdfe23acc97fd500a80ddb31c4c788af25d | 54,933 | cc | C++ | mindspore/ccsrc/transform/op_declare.cc | doc22940/mindspore | 21bcdcd8adb97b9171b2822a7ed2c4c138c99607 | [
"Apache-2.0"
] | 1 | 2020-05-13T11:31:21.000Z | 2020-05-13T11:31:21.000Z | mindspore/ccsrc/transform/op_declare.cc | doc22940/mindspore | 21bcdcd8adb97b9171b2822a7ed2c4c138c99607 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/transform/op_declare.cc | doc22940/mindspore | 21bcdcd8adb97b9171b2822a7ed2c4c138c99607 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019 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... | 43.80622 | 120 | 0.659512 | [
"shape",
"vector",
"transform"
] |
281e19968d6fd1d138ba882d3ad26b1ae406c8d7 | 9,322 | hpp | C++ | coding/text_storage.hpp | dualword/organicmaps | c0a73aea4835517edef3b5a7d68a3a50d55a4471 | [
"Apache-2.0"
] | null | null | null | coding/text_storage.hpp | dualword/organicmaps | c0a73aea4835517edef3b5a7d68a3a50d55a4471 | [
"Apache-2.0"
] | null | null | null | coding/text_storage.hpp | dualword/organicmaps | c0a73aea4835517edef3b5a7d68a3a50d55a4471 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "coding/bwt_coder.hpp"
#include "coding/reader.hpp"
#include "coding/varint.hpp"
#include "coding/write_to_sink.hpp"
#include "base/assert.hpp"
#include "base/lru_cache.hpp"
#include <algorithm>
#include <cstdint>
#include <sstream>
#include <string>
#include <vector>
namespace coding
{
// Wri... | 29.222571 | 100 | 0.674748 | [
"vector"
] |
2822cd22162c7fb04c33b7ae2cffbca19df7e37e | 31,315 | cpp | C++ | src/training/common/trainingsampleset.cpp | varmantusr/tesseract | 94a3a70fda21c1e5a0e06ed5fcb887b86534d380 | [
"Apache-2.0"
] | null | null | null | src/training/common/trainingsampleset.cpp | varmantusr/tesseract | 94a3a70fda21c1e5a0e06ed5fcb887b86534d380 | [
"Apache-2.0"
] | null | null | null | src/training/common/trainingsampleset.cpp | varmantusr/tesseract | 94a3a70fda21c1e5a0e06ed5fcb887b86534d380 | [
"Apache-2.0"
] | null | null | null | // Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// 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
// ... | 41.04194 | 99 | 0.688296 | [
"shape",
"vector"
] |
2823c6f00e5ed290610a5588b84cc21a075c80e7 | 2,731 | cpp | C++ | dev/Gems/LyShine/Code/Tests/SerializationTest.cpp | BadDevCode/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Gems/LyShine/Code/Tests/SerializationTest.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Gems/LyShine/Code/Tests/SerializationTest.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"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... | 33.716049 | 89 | 0.652508 | [
"vector"
] |
2826dcdb3ef1593dfa8b8bd177525e9c20e8a7a6 | 18,711 | cc | C++ | src/storage/lru_storage_test.cc | mcognetta/mozc | 1f4fa17372bd196e87042738a16ab08bf904bcbf | [
"BSD-3-Clause"
] | null | null | null | src/storage/lru_storage_test.cc | mcognetta/mozc | 1f4fa17372bd196e87042738a16ab08bf904bcbf | [
"BSD-3-Clause"
] | 1 | 2021-06-30T14:59:51.000Z | 2021-06-30T15:31:56.000Z | src/storage/lru_storage_test.cc | mcognetta/mozc | 1f4fa17372bd196e87042738a16ab08bf904bcbf | [
"BSD-3-Clause"
] | 1 | 2022-03-25T09:01:39.000Z | 2022-03-25T09:01:39.000Z | // Copyright 2010-2020, 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 condit... | 31.984615 | 79 | 0.674256 | [
"vector"
] |
282713f9d59dcaae5fe6f71b5b23b9fe5e7e5bba | 3,338 | cpp | C++ | pickup.cpp | matt360/PSVita-game | 9dc4163c3256b0d3ee23a5c4730af4d4c11a9491 | [
"MIT"
] | 2 | 2019-11-18T09:12:44.000Z | 2020-08-18T11:08:44.000Z | pickup.cpp | matt360/PSVita-game | 9dc4163c3256b0d3ee23a5c4730af4d4c11a9491 | [
"MIT"
] | null | null | null | pickup.cpp | matt360/PSVita-game | 9dc4163c3256b0d3ee23a5c4730af4d4c11a9491 | [
"MIT"
] | 2 | 2019-06-28T16:44:42.000Z | 2021-04-11T17:06:58.000Z | #include "pickup.h"
Pickup::Pickup()
{
}
Pickup::~Pickup()
{
//this->GetBody()->GetWorld()->DestroyBody(this->GetBody());
this->GetBody()->SetActive(false);
}
void Pickup::InitPickup(
PrimitiveBuilder* primitive_builder,
b2World* world,
b2Vec2 position,
float32 radius,
gef::Mesh* mesh,
uint16 category_bi... | 27.816667 | 151 | 0.760336 | [
"mesh",
"shape",
"model"
] |
2829617afe0a2421431b7002bc78f85b495fb0e4 | 520 | cpp | C++ | CodeForces/Complete/500-599/525B-PashaAndString.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/500-599/525B-PashaAndString.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/500-599/525B-PashaAndString.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <iostream>
#include <vector>
int main(){
std::string s; getline(std::cin, s);
long m; std::cin >> m;
std::vector<long> rev(s.size() + 1, 0);
for(int p = 0; p < m; p++){
long a; std::cin >> a; --a;
++rev[a]; --rev[s.size() - a];
}
int reversals(0);
std::string ans(... | 20.8 | 52 | 0.465385 | [
"vector"
] |
2829b7fc3eebc179428a816460900ead42bd9848 | 6,645 | cpp | C++ | Silence/forest.cpp | wt-student-projects/games-technology-project | 70790e26f087fd401b0211a59b7c2beaef9546c9 | [
"Apache-2.0"
] | null | null | null | Silence/forest.cpp | wt-student-projects/games-technology-project | 70790e26f087fd401b0211a59b7c2beaef9546c9 | [
"Apache-2.0"
] | 4 | 2016-07-15T21:23:08.000Z | 2016-08-28T21:40:16.000Z | Silence/forest.cpp | wt-student-projects/games-technology-project | 70790e26f087fd401b0211a59b7c2beaef9546c9 | [
"Apache-2.0"
] | null | null | null |
#include "Forest.h"
#include "Silence.h"
Forest::Forest(OperatingSystem * engine) :
player(nullptr),
alpha(0.0)
{
manager = engine->acquireSceneManager();
gamepad = engine->acquireGamepad();
package = engine->acquireAssetManager()->grabLocalManager();
package->grab({
"data/fonts/Calib... | 25.170455 | 111 | 0.60933 | [
"render"
] |
2829cdc1073ec20c03bbcde193de20ab1d0f8022 | 11,156 | hpp | C++ | lib/include/dcs/testbed/rain/sensors.hpp | sguazt/prometheus | 03cdf3ccb283ed69c6fb84f18d89118abf95f837 | [
"Apache-2.0"
] | null | null | null | lib/include/dcs/testbed/rain/sensors.hpp | sguazt/prometheus | 03cdf3ccb283ed69c6fb84f18d89118abf95f837 | [
"Apache-2.0"
] | null | null | null | lib/include/dcs/testbed/rain/sensors.hpp | sguazt/prometheus | 03cdf3ccb283ed69c6fb84f18d89118abf95f837 | [
"Apache-2.0"
] | null | null | null | /**
* \file dcs/testbed/rain/sensors.hpp
*
* \brief Sensor for RAIN-driven applications.
*
* \author Marco Guazzone (marco.guazzone@gmail.com)
*
* <hr/>
*
* Copyright 2012 Marco Guazzone (marco.guazzone@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fil... | 25.824074 | 294 | 0.584797 | [
"vector"
] |
282de800fa7f0908837732bf2711bb57cd0ba711 | 2,489 | cpp | C++ | lesson01/src/main.cpp | QwintenParker/CPPExercises2021 | dac568fd46fca2cf144cbe01551913deb133cef4 | [
"MIT"
] | 1 | 2021-09-22T08:48:24.000Z | 2021-09-22T08:48:24.000Z | lesson01/src/main.cpp | QwintenParker/CPPExercises2021 | dac568fd46fca2cf144cbe01551913deb133cef4 | [
"MIT"
] | null | null | null | lesson01/src/main.cpp | QwintenParker/CPPExercises2021 | dac568fd46fca2cf144cbe01551913deb133cef4 | [
"MIT"
] | null | null | null | #include <iostream> // таким образом подключаются системные библиотеки (эта нужна для вывода в консоль)
#include <vector> // подключаем библиотеку для поддержки вектора (массива динамического размера)
// таким образом подключаются наши функции
#include "simple_sum.h"
#include "some_math.h"
int main() {
// таким о... | 36.072464 | 165 | 0.588992 | [
"vector"
] |
28310d8ab7f7372d7575e9cd480445f90ad2caeb | 45,615 | cpp | C++ | src/gausskernel/runtime/executor/execClusterResize.cpp | Yanci0/openGauss-server | b2ff10be1367c77f2fda396d6c12ffa3c25874c7 | [
"MulanPSL-1.0"
] | 360 | 2020-06-30T14:47:34.000Z | 2022-03-31T15:21:53.000Z | src/gausskernel/runtime/executor/execClusterResize.cpp | Yanci0/openGauss-server | b2ff10be1367c77f2fda396d6c12ffa3c25874c7 | [
"MulanPSL-1.0"
] | 4 | 2020-06-30T15:09:16.000Z | 2020-07-14T06:20:03.000Z | src/gausskernel/runtime/executor/execClusterResize.cpp | futurewei-cloud/chogori-opengauss | f43410e1643c887819e718d9baceb9e853ad9574 | [
"MulanPSL-1.0"
] | 133 | 2020-06-30T14:47:36.000Z | 2022-03-25T15:29:00.000Z | /* -------------------------------------------------------------------------
*
* execClusterResize.cpp
* MPPDB ClusterResizing relevant routines
*
* Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd.
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Re... | 38.493671 | 120 | 0.562183 | [
"object"
] |
28343e1f3e625a05a8cb3b9f039cccd6d7e4cab5 | 1,947 | cc | C++ | dali/operators/generic/slice/slice_attr.cc | roclark/DALI | e44a212d89a5449bbe7f4bae3d0f55f11a262932 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-23T05:35:47.000Z | 2020-09-23T05:35:47.000Z | dali/operators/generic/slice/slice_attr.cc | roclark/DALI | e44a212d89a5449bbe7f4bae3d0f55f11a262932 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dali/operators/generic/slice/slice_attr.cc | roclark/DALI | e44a212d89a5449bbe7f4bae3d0f55f11a262932 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | 37.442308 | 90 | 0.720596 | [
"shape",
"vector"
] |
2836269e0c943dcb1b30760c07497984a458bf11 | 25,304 | cpp | C++ | plugin/pxr/maya/lib/usdMaya/adaptor.cpp | sopvop/maya-usd | c567a1661152ec2450359767fa2b0ca8cac4dc83 | [
"Apache-2.0"
] | 4 | 2019-11-19T14:58:17.000Z | 2021-03-27T02:27:43.000Z | plugin/pxr/maya/lib/usdMaya/adaptor.cpp | ZhongLingXiao/maya-usd | c567a1661152ec2450359767fa2b0ca8cac4dc83 | [
"Apache-2.0"
] | 2 | 2019-08-14T20:44:09.000Z | 2020-01-07T09:12:03.000Z | plugin/pxr/maya/lib/usdMaya/adaptor.cpp | ZhongLingXiao/maya-usd | c567a1661152ec2450359767fa2b0ca8cac4dc83 | [
"Apache-2.0"
] | 1 | 2019-08-14T14:33:41.000Z | 2019-08-14T14:33:41.000Z | //
// Copyright 2018 Pixar
//
// 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 wri... | 26.861996 | 79 | 0.661714 | [
"object",
"vector"
] |
283885e5222e0533c21779c5e48636d57d53da18 | 106,620 | cc | C++ | android/art/runtime/interpreter/interpreter_switch_impl.cc | Solotov/deoptfuscator | 8a54119e81517bcef73d2d6dfefba910ae2446e7 | [
"MIT"
] | 206 | 2020-04-13T03:19:33.000Z | 2022-03-27T13:52:25.000Z | android/art/runtime/interpreter/interpreter_switch_impl.cc | Solotov/deoptfuscator | 8a54119e81517bcef73d2d6dfefba910ae2446e7 | [
"MIT"
] | 9 | 2020-06-07T12:51:09.000Z | 2022-03-28T23:55:09.000Z | android/art/runtime/interpreter/interpreter_switch_impl.cc | Solotov/deoptfuscator | 8a54119e81517bcef73d2d6dfefba910ae2446e7 | [
"MIT"
] | 42 | 2020-04-13T03:37:58.000Z | 2022-03-23T15:08:12.000Z | /*
* Copyright (C) 2012 The Android Open Source Project
*
* 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 app... | 42.359952 | 102 | 0.550047 | [
"object"
] |
2838dbc287096b7f5241f15bcbca4d6989aca036 | 4,560 | hpp | C++ | include/OpenSpaceToolkit/Physics/Data/Vector.hpp | robinpdm/open-space-toolkit-physics | b53e5d4287fa6568d700cb8942c9a56d57b8d7cf | [
"Apache-2.0"
] | 7 | 2020-03-30T11:51:11.000Z | 2022-02-02T15:20:44.000Z | include/OpenSpaceToolkit/Physics/Data/Vector.hpp | robinpdm/open-space-toolkit-physics | b53e5d4287fa6568d700cb8942c9a56d57b8d7cf | [
"Apache-2.0"
] | 24 | 2018-06-25T08:06:39.000Z | 2020-01-05T20:34:02.000Z | include/OpenSpaceToolkit/Physics/Data/Vector.hpp | robinpdm/open-space-toolkit-physics | b53e5d4287fa6568d700cb8942c9a56d57b8d7cf | [
"Apache-2.0"
] | 3 | 2020-03-05T18:18:38.000Z | 2020-07-02T05:06:53.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @project Open Space Toolkit ▸ Physics
/// @file OpenSpaceToolkit/Physics/Data/Vector.hpp
/// @author Lucas Brémond <lucas@loftorb... | 46.530612 | 194 | 0.267325 | [
"vector"
] |
283aee8bd8a0cfa48491e4672a7d675afe692c7c | 5,362 | hpp | C++ | plugin/html-overlay/include/android/dom/AndroidWebViewDOMEngine.hpp | undeadinu/minko | 9171805751fb3a50c6fcab0b78892cdd4253ee11 | [
"BSD-3-Clause"
] | null | null | null | plugin/html-overlay/include/android/dom/AndroidWebViewDOMEngine.hpp | undeadinu/minko | 9171805751fb3a50c6fcab0b78892cdd4253ee11 | [
"BSD-3-Clause"
] | null | null | null | plugin/html-overlay/include/android/dom/AndroidWebViewDOMEngine.hpp | undeadinu/minko | 9171805751fb3a50c6fcab0b78892cdd4253ee11 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2013 Aerys
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, distribute,
sublicens... | 26.544554 | 97 | 0.620291 | [
"vector"
] |
283b9a27616b1b1d8146f96c6789650fbf8a14a4 | 2,740 | hpp | C++ | include/crab/domains/term/simplify.hpp | seahorn/crab | 82e3d9c94a3b112d4db344e34ae9f789b51d0ec0 | [
"Apache-2.0"
] | 152 | 2016-02-28T06:04:02.000Z | 2022-03-30T10:44:56.000Z | include/crab/domains/term/simplify.hpp | seahorn/crab | 82e3d9c94a3b112d4db344e34ae9f789b51d0ec0 | [
"Apache-2.0"
] | 43 | 2017-07-03T06:25:19.000Z | 2022-03-23T21:09:32.000Z | include/crab/domains/term/simplify.hpp | seahorn/crab | 82e3d9c94a3b112d4db344e34ae9f789b51d0ec0 | [
"Apache-2.0"
] | 28 | 2015-11-22T15:51:52.000Z | 2022-01-30T00:46:57.000Z | #pragma once
#include <boost/optional.hpp>
#include <crab/domains/term/term_expr.hpp>
#include <crab/domains/term/term_operators.hpp>
/*
Simplifiers for table terms after giving meaning to functors.
*/
namespace crab {
namespace domains {
namespace term {
// Common API to simplifiers
template <class Num, class F... | 28.842105 | 77 | 0.659489 | [
"vector"
] |
283e1a17c0c86dfd38f73c691aa563fdc08b6c99 | 2,820 | cpp | C++ | windows.ui.xaml.input/code/Controls_WebView/cpp/Scenario7.xaml.cpp | gbaychev/winrt-api | 25346cd51bc9d24c8c4371dc59768e039eaf02f1 | [
"CC-BY-4.0",
"MIT"
] | 199 | 2017-02-09T23:13:51.000Z | 2022-03-28T15:56:12.000Z | windows.ui.xaml.input/code/Controls_WebView/cpp/Scenario7.xaml.cpp | gbaychev/winrt-api | 25346cd51bc9d24c8c4371dc59768e039eaf02f1 | [
"CC-BY-4.0",
"MIT"
] | 2,093 | 2017-02-09T21:52:45.000Z | 2022-03-25T22:23:18.000Z | windows.ui.xaml.input/code/Controls_WebView/cpp/Scenario7.xaml.cpp | gbaychev/winrt-api | 25346cd51bc9d24c8c4371dc59768e039eaf02f1 | [
"CC-BY-4.0",
"MIT"
] | 620 | 2017-02-08T19:19:44.000Z | 2022-03-29T11:38:25.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
/... | 34.390244 | 186 | 0.732624 | [
"object"
] |
2849d4373f524b74987beb3f4d609540bc050f5c | 12,360 | cpp | C++ | ARK2D/src/ARK2D/Tools/Packer.cpp | ashleygwinnell/ark2d | bbfbee742ace9c52841dad4fab74d0d120ffe662 | [
"Unlicense"
] | 6 | 2015-08-25T19:16:20.000Z | 2021-04-19T16:47:58.000Z | ARK2D/src/ARK2D/Tools/Packer.cpp | ashleygwinnell/ark2d | bbfbee742ace9c52841dad4fab74d0d120ffe662 | [
"Unlicense"
] | 1 | 2015-09-17T14:03:12.000Z | 2015-09-17T14:03:12.000Z | ARK2D/src/ARK2D/Tools/Packer.cpp | ashleygwinnell/ark2d | bbfbee742ace9c52841dad4fab74d0d120ffe662 | [
"Unlicense"
] | 1 | 2018-10-02T19:59:47.000Z | 2018-10-02T19:59:47.000Z | /*
* Packer.cpp
*
* Created on: Sep 4, 2011
* Author: ashleygwinnell
*/
#include "Packer.h"
#include <stdio.h>
#include <iostream>
#include <fstream>
#include "../vendor/ogg130/ogg.h"
#include "../vendor/vorbis132/vorbisfile.h"
#include "../vendor/zlib123/zlib.h"
#ifndef ARK2D_WINDOWS_PHONE_8
string get... | 24.769539 | 109 | 0.593447 | [
"vector"
] |
284bf6ced4bcdfe76e90dbbee29fc3b7f440017c | 5,142 | cpp | C++ | test/src/line_test.cpp | kduske/vecmath | e6838c24b704a622e0fd85bc9d7ad2ccfb8c4522 | [
"MIT"
] | 3 | 2019-10-19T21:16:33.000Z | 2020-03-04T06:32:52.000Z | test/src/line_test.cpp | kduske/vecmath | e6838c24b704a622e0fd85bc9d7ad2ccfb8c4522 | [
"MIT"
] | 21 | 2019-09-29T20:31:07.000Z | 2020-08-15T18:23:42.000Z | test/src/line_test.cpp | TrenchBroom/vecmath | d4dd858a0b1d2d16aee4d572804e0cca26cee664 | [
"MIT"
] | 3 | 2020-12-06T05:32:05.000Z | 2022-02-23T17:50:19.000Z | /*
Copyright 2010-2019 Kristian Duske
Copyright 2015-2019 Eric Wasylishen
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, ... | 38.954545 | 100 | 0.688059 | [
"transform"
] |
284cf2271efdf04b186180190669c3d91b19507d | 2,982 | cpp | C++ | methods/slmm/slmm_c_compat.cpp | ambrad/COMPOSE | 0bda7aeaf2b8494c7de8cd179c22e340b08eda6e | [
"BSD-3-Clause"
] | 3 | 2018-12-30T20:01:25.000Z | 2020-07-22T23:44:14.000Z | methods/slmm/slmm_c_compat.cpp | E3SM-Project/COMPOSE | 0bda7aeaf2b8494c7de8cd179c22e340b08eda6e | [
"BSD-3-Clause"
] | 8 | 2019-02-06T19:08:31.000Z | 2020-04-24T03:40:49.000Z | methods/slmm/slmm_c_compat.cpp | ambrad/COMPOSE | 0bda7aeaf2b8494c7de8cd179c22e340b08eda6e | [
"BSD-3-Clause"
] | 2 | 2019-01-16T03:58:31.000Z | 2019-02-06T22:45:43.000Z | #include <typeinfo>
#include "slmm_c_compat.hpp"
#include "slmm_spf.hpp"
#include "slmm_gll.hpp"
#include "slmm_mesh.hpp"
#include "slmm_util.hpp"
void init () {
static bool inited = false;
if ( ! inited) Kokkos::initialize();
inited = true;
}
void finalize () {
static bool fin = false;
if ( ! fin) Kokkos... | 31.389474 | 88 | 0.585178 | [
"mesh"
] |
284e127ec405afeb8de409a45cc1c3a4ff33e45f | 2,205 | cpp | C++ | Dynamic Programming/CSES Problem Set [ Dynamic Programming ]/Book Shop.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 8 | 2021-02-13T17:07:27.000Z | 2021-08-20T08:20:40.000Z | Dynamic Programming/CSES Problem Set [ Dynamic Programming ]/Book Shop.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | null | null | null | Dynamic Programming/CSES Problem Set [ Dynamic Programming ]/Book Shop.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 5 | 2021-02-17T18:12:20.000Z | 2021-10-10T17:49:34.000Z | // Problem: Book Shop
// Contest: CSES - CSES Problem Set
// URL: https://cses.fi/problemset/task/1158
// Memory Limit: 512 MB
// Time Limit: 1000 ms
// Parsed on: 03-02-2021 12:24:12 IST (UTC+05:30)
// Author: Kapil Choudhary
// ********************************************************************
// कर्मण्येवाधिकारस्त... | 26.566265 | 81 | 0.543311 | [
"vector"
] |
28528474ec603711cf1f8f6cdb88b047d42fa6e8 | 9,259 | cpp | C++ | GpioTestTool/main.cpp | eportelli/samples | 9a9fba8ce6f10fc9d7f7eb1f0519c874f21d9949 | [
"MIT"
] | 8 | 2016-06-01T16:27:20.000Z | 2021-03-25T03:06:59.000Z | GpioTestTool/main.cpp | eportelli/samples | 9a9fba8ce6f10fc9d7f7eb1f0519c874f21d9949 | [
"MIT"
] | null | null | null | GpioTestTool/main.cpp | eportelli/samples | 9a9fba8ce6f10fc9d7f7eb1f0519c874f21d9949 | [
"MIT"
] | 4 | 2016-07-15T03:04:10.000Z | 2021-03-18T09:43:57.000Z | // Copyright (c) Microsoft. All rights reserved.
//
// GpioTestTool
//
// Utility to manipulate GPIO pins from the command line.
// Demonstrates how to use the GPIO WinRT APIs from standard
// C++ with WRL.
//
#include <windows.h>
#include <strsafe.h>
#include <wrl.h>
#include <string>
#include <vector>
#inclu... | 29.771704 | 93 | 0.542067 | [
"vector"
] |
285292500f37042070703e85d381b5d1c9a8ab58 | 14,332 | cpp | C++ | Prototype/src/libsbml-5.10.0/src/sbml/packages/spatial/sbml/CSGNode.cpp | Cosmo-Tech/biopredyn | 0f5bcd4cb1f723bfdea07d4973e46e676f4175e8 | [
"BSD-3-Clause"
] | null | null | null | Prototype/src/libsbml-5.10.0/src/sbml/packages/spatial/sbml/CSGNode.cpp | Cosmo-Tech/biopredyn | 0f5bcd4cb1f723bfdea07d4973e46e676f4175e8 | [
"BSD-3-Clause"
] | 95 | 2015-03-06T12:14:06.000Z | 2015-03-20T11:15:54.000Z | Prototype/src/libsbml-5.10.0/src/sbml/packages/spatial/sbml/CSGNode.cpp | Cosmo-Tech/biopredyn | 0f5bcd4cb1f723bfdea07d4973e46e676f4175e8 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file CSGNode.cpp
* @brief Implementation of CSGNode, the SBase derived class of spatial package.
* @author
*
* $Id: CSGNode.cpp $
* $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/branches/libsbml-5/src/packages/spatial/sbml/CSGNode.cpp $
*
*<!--------------------------------------... | 23.456628 | 123 | 0.679528 | [
"object",
"vector"
] |
28535f94d7e094f65a4116ff0d4d5d631ea0e576 | 2,827 | hpp | C++ | Explit/Explit/sdk/config/config.hpp | danielkrupinski/Expl | 74124b67361cd29dd34389d692e43df86f83d072 | [
"MIT"
] | 12 | 2019-05-18T14:08:58.000Z | 2021-06-13T01:22:53.000Z | Explit/Explit/sdk/config/config.hpp | danielkrupinski/Expl | 74124b67361cd29dd34389d692e43df86f83d072 | [
"MIT"
] | null | null | null | Explit/Explit/sdk/config/config.hpp | danielkrupinski/Expl | 74124b67361cd29dd34389d692e43df86f83d072 | [
"MIT"
] | 3 | 2019-05-26T20:02:30.000Z | 2020-02-17T20:26:47.000Z | #pragma once
#include "../sdk.hpp"
class c_config
{
public:
c_config(const std::string path);
void load(const std::string name);
void save(const std::string name);
void refresh();
struct {
bool unhook = false;
std::vector<std::string> config_list;
std::string config_name;
int config_id = 0;
... | 25.93578 | 47 | 0.559958 | [
"vector"
] |
28543377cfda6729d28d07ac1b8e9889737f09dc | 3,789 | hpp | C++ | examples/flow/flow.hpp | Pan-Maciek/iga-ads | 4744829c98cba4e9505c5c996070119e73ba18fa | [
"MIT"
] | null | null | null | examples/flow/flow.hpp | Pan-Maciek/iga-ads | 4744829c98cba4e9505c5c996070119e73ba18fa | [
"MIT"
] | null | null | null | examples/flow/flow.hpp | Pan-Maciek/iga-ads | 4744829c98cba4e9505c5c996070119e73ba18fa | [
"MIT"
] | null | null | null | // SPDX-FileCopyrightText: 2015 - 2021 Marcin Łoś <marcin.los.91@gmail.com>
// SPDX-License-Identifier: MIT
#ifndef FLOW_FLOW_HPP
#define FLOW_FLOW_HPP
#include <cmath>
#include "ads/executor/galois.hpp"
#include "ads/output_manager.hpp"
#include "ads/simulation.hpp"
#include "environment.hpp"
#include "pumps.hpp"
... | 27.456522 | 92 | 0.502507 | [
"shape"
] |
28597050160a73fdceb84e22fb323cdb1062532b | 10,742 | cpp | C++ | Project1/matrix.cpp | ASSANDHOLE/CS205 | 2d27a75bb3c76cb76ac55442e514823b295c89a7 | [
"MIT"
] | 3 | 2020-09-21T10:58:05.000Z | 2021-01-18T08:35:12.000Z | Project1/matrix.cpp | ASSANDHOLE/CS205 | 2d27a75bb3c76cb76ac55442e514823b295c89a7 | [
"MIT"
] | null | null | null | Project1/matrix.cpp | ASSANDHOLE/CS205 | 2d27a75bb3c76cb76ac55442e514823b295c89a7 | [
"MIT"
] | null | null | null | //
// Created by AGY on 2020/10/21.
//
#include "matrix.h"
#include <algorithm>
#include <thread>
#include <vector>
#include <functional>
#include "mul_mat.h"
template<typename T>
Matrix<T>::Matrix(const int row, const int column, bool to_zero_for_basic_types) {
if (column > 0 && row > 0) {
column_ = colu... | 29.510989 | 123 | 0.51415 | [
"vector"
] |
285e80958f0809a96c6e7f2dd18ac71e68b97b3f | 8,609 | cc | C++ | chrome/browser/sync/glue/ui_model_worker_unittest.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | chrome/browser/sync/glue/ui_model_worker_unittest.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | chrome/browser/sync/glue/ui_model_worker_unittest.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr... | 40.41784 | 80 | 0.709258 | [
"model"
] |
285f5c5ba965b32f021a92573ca92874e3dc2b7c | 14,132 | cpp | C++ | external/webkit/Source/WebCore/plugins/PluginPackage.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | Source/WebCore/plugins/PluginPackage.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | Source/WebCore/plugins/PluginPackage.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-08-09T09:03:23.000Z | 2020-05-26T09:14:49.000Z | /*
* Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2008 Collabora Ltd. All rights reserved.
* Copyright (C) 2009 Holger Hans Peter Freyther
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are... | 35.777215 | 189 | 0.717167 | [
"vector"
] |
2862051c2dcda68fdd88f0ca4fab78234eb5ba5d | 4,512 | cpp | C++ | Dev_RESTClient/CCallSharpTest/CCallSharpTestDlg.cpp | caochunsheng/AutoOrderSystem | 8607380f16bbf47da0112d1e3403cb98f073ba6f | [
"Apache-2.0"
] | 1 | 2017-12-18T17:11:43.000Z | 2017-12-18T17:11:43.000Z | Dev_RESTClient/CCallSharpTest/CCallSharpTestDlg.cpp | caochunsheng/AutoOrderSystem | 8607380f16bbf47da0112d1e3403cb98f073ba6f | [
"Apache-2.0"
] | null | null | null | Dev_RESTClient/CCallSharpTest/CCallSharpTestDlg.cpp | caochunsheng/AutoOrderSystem | 8607380f16bbf47da0112d1e3403cb98f073ba6f | [
"Apache-2.0"
] | 3 | 2019-05-31T21:02:33.000Z | 2021-12-28T11:48:59.000Z |
// CCallSharpTestDlg.cpp : implementation file
//
#include "stdafx.h"
#include "CCallSharpTest.h"
#include "CCallSharpTestDlg.h"
#include "afxdialogex.h"
#include "RegisterSharpCOM.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
#import "RESTClient.tlb" raw_interfaces_only
using namespace RESTClient;
// CCCallSharp... | 26.698225 | 105 | 0.755098 | [
"geometry"
] |
2863a72c68ba47bbeefbd272c41e1f280984e450 | 3,601 | cpp | C++ | 4. Алгоритмы на графах/39. Сеть дорог #1586/[OK]228776.cpp | godnoTA/acm.bsu.by | 3e1cf1c545c691de82b5e1d2e0768b41ea581734 | [
"Unlicense"
] | 19 | 2018-05-19T16:37:14.000Z | 2022-03-23T20:13:43.000Z | 4. Алгоритмы на графах/39. Сеть дорог #1586/[OK]228776.cpp | godnoTA/acm.bsu.by | 3e1cf1c545c691de82b5e1d2e0768b41ea581734 | [
"Unlicense"
] | 6 | 2020-05-07T21:06:48.000Z | 2020-06-05T17:52:57.000Z | 4. Алгоритмы на графах/39. Сеть дорог #1586/[OK]228776.cpp | godnoTA/acm.bsu.by | 3e1cf1c545c691de82b5e1d2e0768b41ea581734 | [
"Unlicense"
] | 31 | 2019-03-01T21:41:38.000Z | 2022-03-27T17:56:39.000Z | #include <iostream>
#include <fstream>
#include <vector>
#include <queue>
using namespace std;
struct Edge {
int x;
int y;
long long c;
long long p;
long long f = 0;
Edge *r;
Edge(int x, int y, long long c, long long p) : x(x), y(y), c(c), p(p) {};
};
vector<Edge*> a[111], b[111], res;
int m... | 21.824242 | 97 | 0.452374 | [
"vector"
] |
286636d37f615c08ab0518154040702eb4329a7f | 14,332 | cc | C++ | chainerx_cc/chainerx/cuda/cuda_device/batch_norm.cc | nishnik/chainer | 03fc8a54b657f703855b25cbe53f56fda1295e76 | [
"MIT"
] | 1 | 2020-08-12T23:08:41.000Z | 2020-08-12T23:08:41.000Z | chainerx_cc/chainerx/cuda/cuda_device/batch_norm.cc | nishnik/chainer | 03fc8a54b657f703855b25cbe53f56fda1295e76 | [
"MIT"
] | null | null | null | chainerx_cc/chainerx/cuda/cuda_device/batch_norm.cc | nishnik/chainer | 03fc8a54b657f703855b25cbe53f56fda1295e76 | [
"MIT"
] | null | null | null | #include "chainerx/cuda/cuda_device.h"
#include <cstdint>
#include <memory>
#include <cudnn.h>
#include "chainerx/array.h"
#include "chainerx/axes.h"
#include "chainerx/backend_util.h"
#include "chainerx/cuda/cuda_set_device_scope.h"
#include "chainerx/cuda/cudnn.h"
#include "chainerx/device.h"
#include "chainerx/dt... | 45.069182 | 136 | 0.66369 | [
"shape"
] |
286673a5c122bfe39c76addd19d524b8328a2a55 | 16,931 | hpp | C++ | src/ttauri/text/editable_text.hpp | prollings/ttauri | 51aa748eb52b72a06038ffa12952523cf3d4f9b6 | [
"BSL-1.0"
] | null | null | null | src/ttauri/text/editable_text.hpp | prollings/ttauri | 51aa748eb52b72a06038ffa12952523cf3d4f9b6 | [
"BSL-1.0"
] | null | null | null | src/ttauri/text/editable_text.hpp | prollings/ttauri | 51aa748eb52b72a06038ffa12952523cf3d4f9b6 | [
"BSL-1.0"
] | null | null | null | // Copyright Take Vos 2019-2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include "attributed_grapheme.hpp"
#include "shaped_text.hpp"
#include "font.hpp"
#include <string>
#include <vector>
... | 31.885122 | 109 | 0.579588 | [
"vector"
] |
286807e50321e4659331fd3e2cbb4303b70b4be5 | 31,259 | cc | C++ | test/call_test.cc | na-g/webrtc-upstream-tracking | 41b5296405e2cc37b838c2f7490d02130387b294 | [
"BSD-3-Clause"
] | null | null | null | test/call_test.cc | na-g/webrtc-upstream-tracking | 41b5296405e2cc37b838c2f7490d02130387b294 | [
"BSD-3-Clause"
] | null | null | null | test/call_test.cc | na-g/webrtc-upstream-tracking | 41b5296405e2cc37b838c2f7490d02130387b294 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2014 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 38.0743 | 80 | 0.736428 | [
"vector"
] |
28695374e753070e38b50f41002eb431d47f5cf1 | 3,176 | hpp | C++ | cpp/src/gcylon/utils/util.hpp | deHasara/cylon | f5e31a1191d6a30c0a8c5778a7db4a07c5802da8 | [
"Apache-2.0"
] | 229 | 2020-07-01T14:05:10.000Z | 2022-03-25T12:26:58.000Z | cpp/src/gcylon/utils/util.hpp | deHasara/cylon | f5e31a1191d6a30c0a8c5778a7db4a07c5802da8 | [
"Apache-2.0"
] | 261 | 2020-06-30T23:23:15.000Z | 2022-03-16T09:55:40.000Z | cpp/src/gcylon/utils/util.hpp | deHasara/cylon | f5e31a1191d6a30c0a8c5778a7db4a07c5802da8 | [
"Apache-2.0"
] | 36 | 2020-06-30T23:14:52.000Z | 2022-03-03T02:37:09.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 u... | 24.8125 | 101 | 0.689232 | [
"vector"
] |
28771c4eaa854aa5bc02d03435fc240286c007c9 | 4,149 | cpp | C++ | src/plugins/robots/prototype/simulator/prototype_link_entity.cpp | wtrep/argos3 | 8c855408ca7d88be4ccf015ad93d7a6abd3c7f0b | [
"MIT"
] | null | null | null | src/plugins/robots/prototype/simulator/prototype_link_entity.cpp | wtrep/argos3 | 8c855408ca7d88be4ccf015ad93d7a6abd3c7f0b | [
"MIT"
] | 1 | 2021-02-28T23:45:32.000Z | 2021-02-28T23:45:32.000Z | src/plugins/robots/prototype/simulator/prototype_link_entity.cpp | wtrep/argos3 | 8c855408ca7d88be4ccf015ad93d7a6abd3c7f0b | [
"MIT"
] | 7 | 2021-02-26T16:41:06.000Z | 2022-01-19T21:36:31.000Z | /**
* @file <argos3/plugins/robots/prototype/simulator/prototype_link_entity.cpp>
*
* @author Michael Allwright - <allsey87@gmail.com>
* @author Weixu Zhu - <zhuweixu_harry@126.com>
*/
#include "prototype_link_entity.h"
#include <argos3/core/simulator/entity/composable_entity.h>
#include <argos3/plugins/robots/pr... | 40.676471 | 98 | 0.566402 | [
"geometry",
"object",
"vector"
] |
287ab7f47dd4af62cdf6c18f1bf50f7aa96ce85a | 71,285 | cc | C++ | src/nnet3/convolution.cc | shuipi100/kaldi | 8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0 | [
"Apache-2.0"
] | 74 | 2017-01-10T21:27:24.000Z | 2022-03-05T07:30:30.000Z | src/nnet3/convolution.cc | shuipi100/kaldi | 8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0 | [
"Apache-2.0"
] | 49 | 2015-10-24T22:06:28.000Z | 2019-12-24T11:13:34.000Z | src/nnet3/convolution.cc | shuipi100/kaldi | 8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0 | [
"Apache-2.0"
] | 28 | 2017-01-23T10:49:04.000Z | 2022-03-05T07:30:21.000Z | // nnet3/convolution.cc
// Copyright 2017 Johns Hopkins University (author: Daniel Povey)
// 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.
// You may obtain ... | 42.634569 | 85 | 0.660602 | [
"object",
"vector",
"model"
] |
287c7c1f8f1d4b3f1e921213e6b7143bd93a3f51 | 1,794 | hh | C++ | src/experience.hh | MaximilienNaveau/EnergyComputation | f9fdefcff197f7527a7c686f990ff496562ebc5e | [
"BSD-3-Clause"
] | null | null | null | src/experience.hh | MaximilienNaveau/EnergyComputation | f9fdefcff197f7527a7c686f990ff496562ebc5e | [
"BSD-3-Clause"
] | null | null | null | src/experience.hh | MaximilienNaveau/EnergyComputation | f9fdefcff197f7527a7c686f990ff496562ebc5e | [
"BSD-3-Clause"
] | null | null | null | #include "explorefolder.hh"
#include "motors.hh"
#include "commonTools.hh"
#ifndef EXPERIENCE_HH
#define EXPERIENCE_HH
class Experience
{
public: // methods
Experience(Motors * hrp2motors, path_t input_state_path, path_t input_ref_path, path_t rootFolder);
// handle the data
int handleData();
// get... | 26.776119 | 103 | 0.686734 | [
"vector"
] |
287f59cc2f87149bbed81cae47185a0c088bcbf8 | 746 | hpp | C++ | Miracle/src/Miracle/Graphics/Implementations/Vulkan/ISurfaceTarget.hpp | McFlyboy/Miracle | 03a41bb8e24ecf2dfc18b5e3aee964640ec9a593 | [
"MIT"
] | null | null | null | Miracle/src/Miracle/Graphics/Implementations/Vulkan/ISurfaceTarget.hpp | McFlyboy/Miracle | 03a41bb8e24ecf2dfc18b5e3aee964640ec9a593 | [
"MIT"
] | 3 | 2021-12-10T23:19:29.000Z | 2022-03-27T05:04:14.000Z | Miracle/src/Miracle/Graphics/Implementations/Vulkan/ISurfaceTarget.hpp | McFlyboy/Miracle | 03a41bb8e24ecf2dfc18b5e3aee964640ec9a593 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <variant>
#include <Miracle/MiracleError.hpp>
#include "Vulkan.hpp"
namespace Miracle::Graphics::Implementations::Vulkan {
class ISurfaceTarget {
protected:
bool m_extentChanged = false;
public:
virtual ~ISurfaceTarget() = default;
virtual std::vector<const char*> g... | 21.941176 | 77 | 0.730563 | [
"vector"
] |
288a3529f479beda5fa8dd544968eb36f994d4cb | 3,021 | cpp | C++ | Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/Text.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/Text.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/Text.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzQtComponents/Components/Widgets/Text.h>
#include <AzQtComponents/Components/ConfigHelp... | 27.463636 | 100 | 0.683548 | [
"3d"
] |
288a543505a878b837a2f16128a556360ca7fff8 | 895 | cpp | C++ | ProjectTile/src/SceneNode.cpp | andersonfr/TileEngineSFML | efb0685239208e6faa2519fdca318de086459fc4 | [
"MIT"
] | null | null | null | ProjectTile/src/SceneNode.cpp | andersonfr/TileEngineSFML | efb0685239208e6faa2519fdca318de086459fc4 | [
"MIT"
] | null | null | null | ProjectTile/src/SceneNode.cpp | andersonfr/TileEngineSFML | efb0685239208e6faa2519fdca318de086459fc4 | [
"MIT"
] | null | null | null | #include "SceneNode.h"
#include <assert.h>
void SceneNode::AttachChild(Ptr child)
{
child->m_parent = this;
child->OnStart();
m_children.push_back(std::move(child));
}
SceneNode::Ptr SceneNode::DetachChild(const Ptr& node)
{
auto find = std::find_if(m_children.begin(), m_children.end(), [&](Ptr& p) { return p == ... | 19.042553 | 99 | 0.683799 | [
"transform"
] |
288ba306b831daf419ef28499f7bf5053b388a95 | 11,115 | hpp | C++ | include/Firebase/Unity/UnitySynchronizationContext_SynchronizationContextBehavoir_-Start-c__Iterator0.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/Firebase/Unity/UnitySynchronizationContext_SynchronizationContextBehavoir_-Start-c__Iterator0.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/Firebase/Unity/UnitySynchronizationContext_SynchronizationContextBehavoir_-Start-c__Iterator0.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: Firebase.Unity.UnitySynchronization... | 65.382353 | 353 | 0.77031 | [
"object",
"vector"
] |
288e10b4298f1c4d24489be7cb7c5698c0f8b982 | 10,514 | cpp | C++ | L1Trigger/Phase2L1ParticleFlow/src/newfirmware/regionizer/tdr/tdr_regionizer_ref.cpp | p2l1pfp/cmssw | 9bda22bf33ecf18dd19a3af2b3a8cbdb1de556a9 | [
"Apache-2.0"
] | 2 | 2018-06-01T05:18:55.000Z | 2021-04-08T21:44:06.000Z | L1Trigger/Phase2L1ParticleFlow/src/newfirmware/regionizer/tdr/tdr_regionizer_ref.cpp | p2l1pfp/cmssw | 9bda22bf33ecf18dd19a3af2b3a8cbdb1de556a9 | [
"Apache-2.0"
] | 26 | 2018-10-30T12:47:58.000Z | 2022-03-29T08:39:00.000Z | L1Trigger/Phase2L1ParticleFlow/src/newfirmware/regionizer/tdr/tdr_regionizer_ref.cpp | p2l1pfp/cmssw | 9bda22bf33ecf18dd19a3af2b3a8cbdb1de556a9 | [
"Apache-2.0"
] | null | null | null | #include "tdr_regionizer_ref.h"
#include <iostream>
#include "tdr_regionizer_elements_ref.icc"
#ifdef CMSSW_GIT_HASH
#include "FWCore/ParameterSet/interface/ParameterSet.h"
l1ct::TDRRegionizerEmulator::TDRRegionizerEmulator(const edm::ParameterSet& iConfig)
: TDRRegionizerEmulator(
/*netaslices=*/3,
... | 35.761905 | 120 | 0.592353 | [
"vector"
] |
28947ec35c2b5c101ace10c427af0697ca159048 | 1,058 | cc | C++ | example/test-chars.cc | sebdeckers/cuckoofilter | b5170c326242693c8411e57975c6d885b06794e8 | [
"Apache-2.0"
] | 18 | 2018-03-20T12:31:43.000Z | 2021-03-15T01:34:45.000Z | example/test-chars.cc | sebdeckers/cuckoofilter | b5170c326242693c8411e57975c6d885b06794e8 | [
"Apache-2.0"
] | 1 | 2018-03-20T14:25:11.000Z | 2018-03-20T14:37:29.000Z | example/test-chars.cc | sebdeckers/cuckoofilter | b5170c326242693c8411e57975c6d885b06794e8 | [
"Apache-2.0"
] | 9 | 2018-03-20T14:14:27.000Z | 2019-12-24T22:33:15.000Z | #include "cuckoofilter.h"
#include <assert.h>
#include <math.h>
#include <iostream>
#include <vector>
using cuckoofilter::CuckooFilter;
class MyObj {
public:
std::string str;
MyObj(const std::string str) {
this->str = str;
}
};
class MyHash {
public:
uint64_t operator()(MyObj* o) const {... | 18.561404 | 82 | 0.595463 | [
"vector"
] |
2895eef0fa4478f9174c459261f57196a0ca5710 | 748 | cpp | C++ | computer_science/algorithms/dynamic_programming/fibonacci.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | computer_science/algorithms/dynamic_programming/fibonacci.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | computer_science/algorithms/dynamic_programming/fibonacci.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | #include <iostream>
#include <vector>
#include <map>
using namespace std;
int fibonacci(int n) {
// exponation time - T(n) = T(n - 1) + T(n - 2) + const(1) --> O(2^(n/2))
if (n <= 2) return 1;
return fibonacci(n - 1) + fibonacci(n - 2);
}
int fibonacci_dp(int n) {
if (n == 0) return 0;
else if (n == 1) re... | 18.243902 | 96 | 0.553476 | [
"vector"
] |
28971bcb9412bf9305b7254657a621eaac2eb2c5 | 2,343 | hh | C++ | src/window.hh | Geemili/kakoune | 079b006cdab6f0ae594f80fff18ad61b71b0754d | [
"Unlicense"
] | 1 | 2021-07-19T14:28:05.000Z | 2021-07-19T14:28:05.000Z | src/window.hh | MilanVasko/kakoune | c939c30135930ebe6dbf963649e81a732e0830af | [
"Unlicense"
] | null | null | null | src/window.hh | MilanVasko/kakoune | c939c30135930ebe6dbf963649e81a732e0830af | [
"Unlicense"
] | null | null | null | #ifndef window_hh_INCLUDED
#define window_hh_INCLUDED
#include "client.hh"
#include "display_buffer.hh"
#include "highlighter_group.hh"
#include "option_manager.hh"
#include "optional.hh"
#include "safe_ptr.hh"
#include "scope.hh"
namespace Kakoune
{
// A Window is a view onto a Buffer
class Window : public SafeCoun... | 27.564706 | 82 | 0.729407 | [
"vector"
] |
28971e1953eae2a992e4a7ea9466c54a9f3829f8 | 25,679 | cpp | C++ | libraries/crosschain_privatekey_management/main.cpp | Whitecoin-Owner/Whitecoin-core | a48c1c229b9a311b10654ac79335890ca57aec4a | [
"MIT"
] | 10 | 2020-09-26T12:00:03.000Z | 2021-07-27T06:41:40.000Z | libraries/crosschain_privatekey_management/main.cpp | r8d8/Whitecoin-core | ba4438a0e41babde272c67a3b2048b4247a7dc4e | [
"MIT"
] | 23 | 2020-05-31T13:08:03.000Z | 2021-12-08T09:07:30.000Z | libraries/crosschain_privatekey_management/main.cpp | r8d8/Whitecoin-core | ba4438a0e41babde272c67a3b2048b4247a7dc4e | [
"MIT"
] | 4 | 2019-12-05T15:32:08.000Z | 2021-09-21T17:53:41.000Z |
#include <graphene/crosschain_privatekey_management/private_key.hpp>
#include <graphene/crosschain_privatekey_management/database_privatekey.hpp>
#include "fc/crypto/base58.hpp"
#include <bitcoin/bitcoin.hpp>
#include <graphene/crosschain_privatekey_management/util.hpp>
#include <graphene/chain/protocol/address.hpp>
... | 106.551867 | 1,447 | 0.907746 | [
"vector"
] |
80bc5ce68ae3ac940945b00d2359521711ab7b3e | 16,821 | cpp | C++ | packages/nextalign/src/align/alignPairwise.cpp | davidcroll/nextclade | f62d906034974c160eabb12ac9bf98a691646ee3 | [
"MIT"
] | 1 | 2021-07-01T05:07:32.000Z | 2021-07-01T05:07:32.000Z | packages/nextalign/src/align/alignPairwise.cpp | amkram/nextclade | 3703f4013f69407c9b91172997abc2e19b902b91 | [
"MIT"
] | null | null | null | packages/nextalign/src/align/alignPairwise.cpp | amkram/nextclade | 3703f4013f69407c9b91172997abc2e19b902b91 | [
"MIT"
] | null | null | null | #include "alignPairwise.h"
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
#include "../match/matchAa.h"
#include "../match/matchNuc.h"
#include "../utils/safe_cast.h"
namespace details {
inline int round(double x) {
return safe_cast<int>(std::round(x));
}
}// namespace details
cla... | 35.11691 | 121 | 0.658225 | [
"vector"
] |
80bc69c2a6e915e6d0943a57c492495ebf9ea38d | 14,348 | cpp | C++ | source/games/duke/src/player_w.cpp | madame-rachelle/Raze | 67c8187d620e6cf9e99543cab5c5746dd31007af | [
"RSA-MD"
] | null | null | null | source/games/duke/src/player_w.cpp | madame-rachelle/Raze | 67c8187d620e6cf9e99543cab5c5746dd31007af | [
"RSA-MD"
] | null | null | null | source/games/duke/src/player_w.cpp | madame-rachelle/Raze | 67c8187d620e6cf9e99543cab5c5746dd31007af | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 1996, 2003 - 3D Realms Entertainment
Copyright (C) 2000, 2003 - Matt Saettler (EDuke Enhancements)
Copyright (C) 2020 - Christoph Oelckers
This file is part of Enhanced Duke Nukem 3D version 1.5 - Atomic Edition
Duke Nukem 3D... | 26.134791 | 102 | 0.601478 | [
"3d"
] |
80be637060b9e7e14a6a46f79c814ddf640de01d | 7,580 | cc | C++ | components/precache/core/precache_database.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | components/precache/core/precache_database.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | components/precache/core/precache_database.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/precache/core/precache_database.h"
#include "base/bind.h"
#include "base/files/file_path.h"
#include "base/message_loop/message_loop... | 33.245614 | 80 | 0.679683 | [
"vector"
] |
80c2f2d6c4ccf4fe213ff4ba9b38beaac1a893f5 | 2,346 | cpp | C++ | Source/WebKit/UIProcess/Automation/cairo/WebAutomationSessionCairo.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | Source/WebKit/UIProcess/Automation/cairo/WebAutomationSessionCairo.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | 9 | 2020-04-18T18:47:18.000Z | 2020-04-18T18:52:41.000Z | Source/WebKit/UIProcess/Automation/cairo/WebAutomationSessionCairo.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2017 Igalia S.L.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following dis... | 37.83871 | 135 | 0.739557 | [
"vector"
] |
80c45fadb8379012bc30cce26f16edf281093b50 | 14,514 | cpp | C++ | Runtime/World/CScriptEffect.cpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | Runtime/World/CScriptEffect.cpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | Runtime/World/CScriptEffect.cpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | #include "Runtime/World/CScriptEffect.hpp"
#include "Runtime/CPlayerState.hpp"
#include "Runtime/CSimplePool.hpp"
#include "Runtime/CStateManager.hpp"
#include "Runtime/GameGlobalObjects.hpp"
#include "Runtime/Camera/CGameCamera.hpp"
#include "Runtime/Character/CModelData.hpp"
#include "Runtime/Collision/CMaterialList... | 39.333333 | 119 | 0.716274 | [
"render",
"vector"
] |
80c79d105472d89e1e358229395b3932d1cdf1b0 | 37,918 | cpp | C++ | PrimitivesTest/Game.cpp | walbourn/directxtk12test | c94ab20d30e94475198dc1420d592435aa19dd58 | [
"MIT"
] | 5 | 2019-05-23T14:25:41.000Z | 2022-03-07T13:41:59.000Z | PrimitivesTest/Game.cpp | walbourn/directxtk12test | c94ab20d30e94475198dc1420d592435aa19dd58 | [
"MIT"
] | 3 | 2016-09-29T03:06:56.000Z | 2020-09-26T19:38:37.000Z | PrimitivesTest/Game.cpp | walbourn/directxtk12test | c94ab20d30e94475198dc1420d592435aa19dd58 | [
"MIT"
] | 1 | 2022-03-07T13:42:00.000Z | 2022-03-07T13:42:00.000Z | //--------------------------------------------------------------------------------------
// File: Game.cpp
//
// Developer unit test for DirectXTK Geometric Primitives
//
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkID=615561
//-----------... | 33.319859 | 148 | 0.657814 | [
"render"
] |
80ca1ef06af9cd08b80f9fa8869da0cca8096053 | 975 | cpp | C++ | HeightCalibrator/SimpleTest.cpp | dohxehapo/HeightCalibrator | 1f129bd6e5a593425ae125309b05002ff087e30f | [
"MIT"
] | 2 | 2019-05-06T06:58:54.000Z | 2019-05-06T14:23:29.000Z | HeightCalibrator/SimpleTest.cpp | dohxehapo/HeightCalibrator | 1f129bd6e5a593425ae125309b05002ff087e30f | [
"MIT"
] | null | null | null | HeightCalibrator/SimpleTest.cpp | dohxehapo/HeightCalibrator | 1f129bd6e5a593425ae125309b05002ff087e30f | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "SimpleTest.h"
void SimpleTest::Run(std::string pImagePath, std::vector<Post> &pPosts, PostImage pTestPost)
{
// Initialization
HeightCalibrator calibr;
LineF skyline;
calibr.Initialize(pPosts, &skyline);
// Processing
float height;
calibr.GetHeight(pTestPost, height);
std::cou... | 29.545455 | 143 | 0.667692 | [
"vector"
] |
80ce0bda4dbad4253c981db320feaae037f4cee9 | 1,890 | cpp | C++ | samples/CaptureCube/src/CaptureCubeApp.cpp | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 3,494 | 2015-01-02T08:42:09.000Z | 2022-03-31T14:16:23.000Z | samples/CaptureCube/src/CaptureCubeApp.cpp | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 1,284 | 2015-01-02T07:31:47.000Z | 2022-03-30T02:06:43.000Z | samples/CaptureCube/src/CaptureCubeApp.cpp | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 780 | 2015-01-02T22:14:29.000Z | 2022-03-30T00:16:56.000Z | #include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Surface.h"
#include "cinder/Capture.h"
#include "cinder/Camera.h"
#include "cinder/Text.h"
#include "cinder/Log.h"
using namespace ci;
using namespace ci::app;
class CaptureCubeApp : public App {
public:
void... | 23.333333 | 75 | 0.678307 | [
"render"
] |
80cf455769f68822d7dc186c38c37e1b67c438dc | 19,546 | cpp | C++ | src/Pipeline/SpirvShaderControlFlow.cpp | springmeyer/swiftshader | d2046d34f651c6ef1426b48f6280df2464094c18 | [
"Apache-2.0"
] | null | null | null | src/Pipeline/SpirvShaderControlFlow.cpp | springmeyer/swiftshader | d2046d34f651c6ef1426b48f6280df2464094c18 | [
"Apache-2.0"
] | null | null | null | src/Pipeline/SpirvShaderControlFlow.cpp | springmeyer/swiftshader | d2046d34f651c6ef1426b48f6280df2464094c18 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 The SwiftShader Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 27.529577 | 151 | 0.696562 | [
"object",
"vector"
] |
80cff375b1d40f31d75259335bb23fa072912673 | 2,938 | cpp | C++ | eval/src/benchmarkOnlyDS.cpp | xaedes/GNSS-Shadowing | a748e3063fb76272005b6430a844a53644cca9b0 | [
"MIT"
] | 29 | 2017-10-13T12:14:13.000Z | 2022-02-25T16:39:05.000Z | eval/src/benchmarkOnlyDS.cpp | xaedes/GNSS-Shadowing | a748e3063fb76272005b6430a844a53644cca9b0 | [
"MIT"
] | null | null | null | eval/src/benchmarkOnlyDS.cpp | xaedes/GNSS-Shadowing | a748e3063fb76272005b6430a844a53644cca9b0 | [
"MIT"
] | 8 | 2018-04-21T14:52:26.000Z | 2022-02-14T13:51:10.000Z | #include <iostream>
#include <sstream>
#include <memory>
#include <iomanip> // std::setprecision
#include <ios> // std::fixed
#include "eval/version.h"
#include "mapping/mapProperties.h"
#include "mapping/mapper.h"
#include "mapping/dopMap.h"
#include "world/world.h"
#include "common/timing.h"
using na... | 28.803922 | 116 | 0.576923 | [
"vector"
] |
80d3ab6c11f6755dfd0b96daaa636923dae80626 | 12,455 | cpp | C++ | src/Context.cpp | CaptainUnitaco/Clustered-Deferred-shading-in-Vulkan | 08803777a20a010015958af8bd841147fc6b7fd6 | [
"MIT"
] | 3 | 2020-06-24T07:13:59.000Z | 2020-10-22T03:49:15.000Z | src/Context.cpp | CaptainUnitaco/Clustered-Deferred-shading-in-Vulkan | 08803777a20a010015958af8bd841147fc6b7fd6 | [
"MIT"
] | null | null | null | src/Context.cpp | CaptainUnitaco/Clustered-Deferred-shading-in-Vulkan | 08803777a20a010015958af8bd841147fc6b7fd6 | [
"MIT"
] | null | null | null | /**
* @file 'Context.cpp'
* @brief Graphic context holder
* @copyright The MIT license
* @author Matej Karas
*/
#include "Context.h"
#include <GLFW/glfw3.h>
#include <unordered_set>
#include <iostream>
#include <vulkan/vulkan.hpp>
#ifndef DEBUG
#define ENABLE_VALIDATION_LAYERS
#endif
namespace
{
const std::... | 31.29397 | 178 | 0.749659 | [
"object",
"vector"
] |
80d567c9e34ed4128c70aaf87e798c12110acd92 | 15,537 | cpp | C++ | libraries/fc/src/network/http/http_connection.cpp | hbchain/hbcore | 649c67d91cf950e0fc4102a6e0ea82e5f7abd17f | [
"MIT"
] | 2 | 2020-07-22T02:08:49.000Z | 2020-12-04T08:20:40.000Z | libraries/fc/src/network/http/http_connection.cpp | hbchain/hbcore | 649c67d91cf950e0fc4102a6e0ea82e5f7abd17f | [
"MIT"
] | null | null | null | libraries/fc/src/network/http/http_connection.cpp | hbchain/hbcore | 649c67d91cf950e0fc4102a6e0ea82e5f7abd17f | [
"MIT"
] | 1 | 2020-12-01T07:50:29.000Z | 2020-12-01T07:50:29.000Z | #include <fc/network/http/connection.hpp>
#include <fc/network/tcp_socket.hpp>
#include <fc/io/sstream.hpp>
#include <fc/io/iostream.hpp>
#include <fc/exception/exception.hpp>
#include <fc/network/ip.hpp>
#include <fc/crypto/hex.hpp>
#include <fc/log/logger.hpp>
#include <fc/io/stdio.hpp>
#include <fc/network/url.hpp>
... | 27.645907 | 178 | 0.57598 | [
"vector"
] |
80d58067ca97085cad3abfbaf6eafb3d9eaba76f | 334 | cpp | C++ | vectors.c++.cpp | Prachimandavee/Hactoberfest2020 | 0de395fa976723949f2ed20e290a679bede26b3d | [
"MIT"
] | null | null | null | vectors.c++.cpp | Prachimandavee/Hactoberfest2020 | 0de395fa976723949f2ed20e290a679bede26b3d | [
"MIT"
] | null | null | null | vectors.c++.cpp | Prachimandavee/Hactoberfest2020 | 0de395fa976723949f2ed20e290a679bede26b3d | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<int> vec;
while(1)
{
int a;
cout<< "enter the number which is not negative ";
cin >> a;
if(a<0)
{
break;
}
vec.push_back(a);
}
for(int i=0;i<vec.size();i++)
{
cout<<vec[i]<<endl;
}
r... | 11.517241 | 54 | 0.51497 | [
"vector"
] |
80de8d1325d39debc556c3e08c38ac183ddea38a | 4,369 | cpp | C++ | examples/multiple_buttons/main.cpp | mscofield0/cui-sfml | f70dfdf977958eb2b37162d474873c75df4dadc5 | [
"MIT"
] | null | null | null | examples/multiple_buttons/main.cpp | mscofield0/cui-sfml | f70dfdf977958eb2b37162d474873c75df4dadc5 | [
"MIT"
] | null | null | null | examples/multiple_buttons/main.cpp | mscofield0/cui-sfml | f70dfdf977958eb2b37162d474873c75df4dadc5 | [
"MIT"
] | null | null | null | #include <any>
#include <iostream>
#include <print_stuff.hpp>
#include <random>
#include <string>
#include <type_traits>
#include <utility>
#include <cui/compile_time/scene.hpp>
#include <cui/compile_time/scenes/parse_scenes.hpp>
#include <cui/compile_time/style.hpp>
#include <cui/compile_time/styles/parse_styles.hpp>... | 34.952 | 140 | 0.719158 | [
"render",
"vector"
] |
80dea87699836e251958aaaa26ee720a1315cf7e | 129,752 | cpp | C++ | src/modules/processes/ImageIntegration/ImageIntegrationInterface.cpp | fmeschia/pixinsight-class-library | 11b956e27d6eee3e119a7b1c337d090d7a03f436 | [
"JasPer-2.0",
"libtiff"
] | null | null | null | src/modules/processes/ImageIntegration/ImageIntegrationInterface.cpp | fmeschia/pixinsight-class-library | 11b956e27d6eee3e119a7b1c337d090d7a03f436 | [
"JasPer-2.0",
"libtiff"
] | null | null | null | src/modules/processes/ImageIntegration/ImageIntegrationInterface.cpp | fmeschia/pixinsight-class-library | 11b956e27d6eee3e119a7b1c337d090d7a03f436 | [
"JasPer-2.0",
"libtiff"
] | null | null | null | // ____ ______ __
// / __ \ / ____// /
// / /_/ // / / /
// / ____// /___ / /___ PixInsight Class Library
// /_/ \____//_____/ PCL 2.4.9
// ----------------------------------------------------------------------------
// Standard ImageIntegration Process Module Version 1.2.33
// ------------------... | 51.265113 | 151 | 0.721137 | [
"geometry",
"model"
] |
80e1591d4de27fa4e1ecf0d4907b912e799ea49c | 6,045 | cpp | C++ | main.cpp | duzenko/opengl_sky | 4137da35b205c292267a4b1a39b400632dd57008 | [
"MIT"
] | null | null | null | main.cpp | duzenko/opengl_sky | 4137da35b205c292267a4b1a39b400632dd57008 | [
"MIT"
] | null | null | null | main.cpp | duzenko/opengl_sky | 4137da35b205c292267a4b1a39b400632dd57008 | [
"MIT"
] | null | null | null | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string>
#include "utils.h"
#include "glsl.h"
// OpenGL Helpers
void glAssert( unsigned int obj, GLenum statusType, void ( APIENTRY* ivFun )( GLuint, GLenum, GLint* ),
void ( APIENTRY* infoLogFun )( G... | 30.376884 | 116 | 0.633747 | [
"render"
] |
80e1850a7ac2c8458b6cc251c8341fb540272d1c | 156,704 | cpp | C++ | CWE-119/source_files/CVE-2010-3765/Firefox_3.5.13_CVE_2010_3765_content_base_src_nsGenericElement.cpp | CGCL-codes/VulDeePecker | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | [
"Apache-2.0"
] | 185 | 2017-12-14T08:18:15.000Z | 2022-03-30T02:58:36.000Z | CWE-119/source_files/CVE-2010-3765/Firefox_3.5.13_CVE_2010_3765_content_base_src_nsGenericElement.cpp | CGCL-codes/VulDeePecker | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | [
"Apache-2.0"
] | 11 | 2018-01-30T23:31:20.000Z | 2022-01-17T05:03:56.000Z | CWE-119/source_files/CVE-2010-3765/Firefox_3.5.13_CVE_2010_3765_content_base_src_nsGenericElement.cpp | CGCL-codes/VulDeePecker | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | [
"Apache-2.0"
] | 87 | 2018-01-10T08:12:32.000Z | 2022-02-19T10:29:31.000Z | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 sw=2 et tw=79: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file e... | 29.746393 | 96 | 0.662121 | [
"object"
] |
80e333ff33618f291731c13743e1eceacc24a63c | 3,242 | cpp | C++ | C++/nuts-bolts-problem.cpp | xenron/sandbox-dev-lintcode | 114145723af43eafc84ff602ad3ac7b353a9fc38 | [
"MIT"
] | 695 | 2015-04-18T16:11:56.000Z | 2022-03-11T13:28:44.000Z | C++/nuts-bolts-problem.cpp | Abd-Elrazek/LintCode | 8f6ee0ff38cb7cf8bf9fca800243823931604155 | [
"MIT"
] | 4 | 2015-07-04T13:07:35.000Z | 2020-08-11T11:32:29.000Z | C++/nuts-bolts-problem.cpp | Abd-Elrazek/LintCode | 8f6ee0ff38cb7cf8bf9fca800243823931604155 | [
"MIT"
] | 338 | 2015-04-28T04:39:03.000Z | 2022-03-16T03:00:15.000Z | // Time: O(nlogn) on average
// Space: O(logn) on average
/**
* class Comparator {
* public:
* int cmp(string a, string b);
* };
* You can use compare.cmp(a, b) to compare nuts "a" and bolts "b",
* if "a" is bigger than "b", it will return 1, else if they are equal,
* it will return 0, else if "a" is ... | 40.024691 | 88 | 0.548735 | [
"vector"
] |
80e5b61cbd5f3c10be303fa887ed3e979e535091 | 3,677 | hpp | C++ | packages/monte_carlo/core/src/MonteCarlo_SimulationProperties.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/monte_carlo/core/src/MonteCarlo_SimulationProperties.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/monte_carlo/core/src/MonteCarlo_SimulationProperties.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file MonteCarlo_SimulationProperties.hpp
//! \author Alex Robinson
//! \brief Simulation properties class declaration
//!
//---------------------------------------------------------------------------//
#ifndef MONTE_CARLO_SIMUL... | 33.126126 | 84 | 0.643459 | [
"object"
] |
80e9a9118b034d8f778cbceaa4ea8e00cf4ac859 | 10,002 | cpp | C++ | project/HeightmapTerrain.cpp | Linzee/opengl-forest | 9e8f49568449247cc627c4481785c4431a1e37a3 | [
"MIT"
] | null | null | null | project/HeightmapTerrain.cpp | Linzee/opengl-forest | 9e8f49568449247cc627c4481785c4431a1e37a3 | [
"MIT"
] | 1 | 2018-09-05T13:41:47.000Z | 2018-09-08T13:50:26.000Z | project/HeightmapTerrain.cpp | Linzee/opengl-forest | 9e8f49568449247cc627c4481785c4431a1e37a3 | [
"MIT"
] | null | null | null | #include "HeightmapTerrain.h"
//-----------------------------------------
//---- TERRAIN ----
//-----------------------------------------
Terrain LoadHeightmapTerrain(const maybewchar* filename, GLint position_location, GLint normal_location, GLint tex_coord_location) {
/*
Load texture data... | 29.856716 | 151 | 0.635773 | [
"geometry",
"object",
"vector"
] |
80eb15f966d016c7b069beb32039f516eab15865 | 3,249 | cpp | C++ | String/385. Mini Parser/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 1 | 2021-11-19T19:58:33.000Z | 2021-11-19T19:58:33.000Z | String/385. Mini Parser/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | null | null | null | String/385. Mini Parser/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 2 | 2021-11-26T12:47:27.000Z | 2022-01-13T16:14:46.000Z | //
// main.cpp
// 385. Mini Parser
//
// Created by 边俊林 on 2019/8/11.
// Copyright © 2019 Minecode.Link. All rights reserved.
//
/* ------------------------------------------------------ *\
https://leetcode.com/problems/mini-parser/
\* ------------------------------------------------------ */
#include <map>
#inc... | 23.715328 | 94 | 0.566328 | [
"vector"
] |
80ee6446c4c48d2973526a4d5021783e501cb78a | 2,478 | cc | C++ | mysql-server/router/src/http/src/http_auth_backend_metadata_cache.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/router/src/http/src/http_auth_backend_metadata_cache.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/router/src/http/src/http_auth_backend_metadata_cache.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /*
Copyright (c) 2020, 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, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain softwa... | 34.901408 | 77 | 0.76473 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.