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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e1f1de31733247187346cd74863b641aa6dc772b | 2,974 | cc | C++ | lib/kahypar/tools/remove_heavy_nodes.cc | sjkelly/LSOracle | 21688c5d542740dfc8577349fa615ee655acd92c | [
"MIT"
] | null | null | null | lib/kahypar/tools/remove_heavy_nodes.cc | sjkelly/LSOracle | 21688c5d542740dfc8577349fa615ee655acd92c | [
"MIT"
] | 1 | 2021-07-26T22:09:49.000Z | 2021-07-26T22:09:49.000Z | lib/kahypar/tools/remove_heavy_nodes.cc | sjkelly/LSOracle | 21688c5d542740dfc8577349fa615ee655acd92c | [
"MIT"
] | 2 | 2021-07-26T14:46:51.000Z | 2021-11-09T11:32:09.000Z | /*******************************************************************************
* This file is part of KaHyPar.
*
* Copyright (C) 2020 Nikolai Maas <nikolai.maas@student.kit.edu>
*
* KaHyPar is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... | 33.41573 | 94 | 0.643578 | [
"vector"
] |
e1f2fd345c4e44d507d63328b48cb7d9d136f777 | 2,835 | cpp | C++ | external/swak/libraries/swakSourceFields/expressionSource.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | external/swak/libraries/swakSourceFields/expressionSource.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | external/swak/libraries/swakSourceFields/expressionSource.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright: ICE Stroemungsfoschungs GmbH
Copyright held by original author
-------------------------------------------------------------------------------
License
This file is based on CAELUS.
CAELUS is free software: you can redis... | 27.524272 | 90 | 0.555203 | [
"mesh",
"vector"
] |
e1f34bdf5f3442a80954a6d4cf25e04baef637f7 | 945 | cpp | C++ | Nov2020/20Nov/BaseballGame.cpp | shivanisbp/2monthsOfCoding | 26dc53e3160c7b313dff974b957c81350bf9f1a1 | [
"MIT"
] | null | null | null | Nov2020/20Nov/BaseballGame.cpp | shivanisbp/2monthsOfCoding | 26dc53e3160c7b313dff974b957c81350bf9f1a1 | [
"MIT"
] | null | null | null | Nov2020/20Nov/BaseballGame.cpp | shivanisbp/2monthsOfCoding | 26dc53e3160c7b313dff974b957c81350bf9f1a1 | [
"MIT"
] | null | null | null | /*
Problem name: Baseball Game
Problem link: https://leetcode.com/problems/baseball-game/
*/
class Solution {
public:
int calPoints(vector<string>& ops) {
int sum=0,i=0,t1=0,t2=0;
stack<int> record;
while(i<ops.size()){
if(ops[i]=="+"){
t1=record.top();
... | 23.625 | 58 | 0.367196 | [
"vector"
] |
e1fefabeae35c9431ed3f178398f680182c55e1f | 1,561 | cc | C++ | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/language/compiler/module.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/language/compiler/module.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/language/compiler/module.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | // -----------------------------------------------------------------------------
// Fern © Geoneric
//
// This file is part of Geoneric Fern which is available under the terms of
// the GNU General Public License (GPL), version 2. If you do not want to
// be bound by the terms of the GPL, you may purchase a proprietary... | 26.457627 | 80 | 0.618834 | [
"vector"
] |
c006093f7172e7afa378bd2f65c87ed602de60f2 | 3,507 | cpp | C++ | ThirdParty/libtorrent-rasterbar-0.15.6/examples/enum_if.cpp | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 32 | 2016-05-22T23:09:19.000Z | 2022-03-13T03:32:27.000Z | ThirdParty/libtorrent-rasterbar-0.15.6/examples/enum_if.cpp | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 2 | 2016-05-30T19:45:58.000Z | 2018-01-24T22:29:51.000Z | ThirdParty/libtorrent-rasterbar-0.15.6/examples/enum_if.cpp | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 17 | 2016-05-27T11:01:42.000Z | 2022-03-13T03:32:30.000Z | /*
Copyright (c) 2008, Arvid Norberg
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 conditions and the f... | 30.232759 | 78 | 0.674651 | [
"vector"
] |
c008230e9613fc27bda8a31626a3388f94d22abd | 4,528 | cc | C++ | tools/symbol-index/command_line_options.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | 1 | 2020-12-29T17:07:06.000Z | 2020-12-29T17:07:06.000Z | tools/symbol-index/command_line_options.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | null | null | null | tools/symbol-index/command_line_options.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "tools/symbol-index/command_line_options.h"
#include <lib/cmdline/args_parser.h>
#include "src/lib/fxl/strings/string_printf.h"
namespace symbo... | 30.186667 | 100 | 0.655698 | [
"vector"
] |
c009c0c2a59c454db0691e0215c0dc067bf638a3 | 5,712 | cpp | C++ | faceid/src/v20180301/model/CreateUploadUrlResponse.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | 1 | 2022-01-27T09:27:34.000Z | 2022-01-27T09:27:34.000Z | faceid/src/v20180301/model/CreateUploadUrlResponse.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | null | null | null | faceid/src/v20180301/model/CreateUploadUrlResponse.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 32.827586 | 133 | 0.686099 | [
"object",
"model"
] |
c00a98b96381a4032e1e4d89102241bdb44b50a6 | 16,557 | cc | C++ | cavs/midend/graph_util.cc | xsz/HPops | 35bcc0316fe313529b67472ad6702ceacf771d01 | [
"Apache-2.0"
] | 9 | 2020-09-19T06:29:48.000Z | 2022-01-31T09:24:25.000Z | cavs/midend/graph_util.cc | xsz/HPops | 35bcc0316fe313529b67472ad6702ceacf771d01 | [
"Apache-2.0"
] | 1 | 2021-02-15T05:56:57.000Z | 2021-02-17T21:15:27.000Z | cavs/midend/graph_util.cc | xsz/HPops | 35bcc0316fe313529b67472ad6702ceacf771d01 | [
"Apache-2.0"
] | 3 | 2020-09-19T16:22:47.000Z | 2021-02-16T07:34:47.000Z | #include "cavs/midend/graph_util.h"
#include "cavs/midend/statement.h"
#include "cavs/backend/op_decl.h"
#include "cavs/util/logging.h"
#include "cavs/util/macros_gpu.h"
#include "cavs/util/op_def_builder.h"
#include "cavs/util/op_util.h"
#include <string>
#include <algorithm>
#include <list>
using namespace std;
na... | 35.915401 | 114 | 0.610014 | [
"shape",
"vector"
] |
c00f38126ad6d6580d547df8c49f2c3828c6ffb2 | 11,260 | cc | C++ | content/renderer/pepper/pepper_media_device_manager.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/pepper/pepper_media_device_manager.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/pepper/pepper_media_device_manager.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.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 "content/renderer/pepper/pepper_media_device_manager.h"
#include "base/bind.h"
#include "base/check.h"
#include "base/feature_list.h"
#inclu... | 36.440129 | 94 | 0.739609 | [
"vector"
] |
c010116d62b78f626052bb0ba7f75a62c860e885 | 5,196 | cpp | C++ | Modules/Graphics/Core/Sources/Methane/Graphics/Vulkan/RenderCommandListVK.cpp | navono/MethaneKit | 5cf55dcbbc23392f5c06b178570c7c32b6368ca7 | [
"Apache-2.0"
] | null | null | null | Modules/Graphics/Core/Sources/Methane/Graphics/Vulkan/RenderCommandListVK.cpp | navono/MethaneKit | 5cf55dcbbc23392f5c06b178570c7c32b6368ca7 | [
"Apache-2.0"
] | null | null | null | Modules/Graphics/Core/Sources/Methane/Graphics/Vulkan/RenderCommandListVK.cpp | navono/MethaneKit | 5cf55dcbbc23392f5c06b178570c7c32b6368ca7 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
Copyright 2019-2020 Evgeny Gorodetskiy
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/lic... | 30.928571 | 139 | 0.745189 | [
"render"
] |
84fccb37d72e7c16167ce60f3696d7f56d075460 | 6,853 | hpp | C++ | src/client/headers/client/sqf/intersects.hpp | xdr1000/intercept | 0c7b2deda7351dc0c264dd167bfae2371e463625 | [
"MIT"
] | null | null | null | src/client/headers/client/sqf/intersects.hpp | xdr1000/intercept | 0c7b2deda7351dc0c264dd167bfae2371e463625 | [
"MIT"
] | null | null | null | src/client/headers/client/sqf/intersects.hpp | xdr1000/intercept | 0c7b2deda7351dc0c264dd167bfae2371e463625 | [
"MIT"
] | null | null | null | /*!
@file
@author Verox (verox.averre@gmail.com)
@author Nou (korewananda@gmail.com)
@author Glowbal (thomasskooi@live.nl)
@brief Intersection command wrappers.
These are commands that are used to test 3D intersections and collisions in the
game world.
https://github.com/NouberNou/intercept
*/
#pragma o... | 55.266129 | 290 | 0.696483 | [
"object",
"vector",
"3d"
] |
1704696c5694f3af701512e73516a999114825d9 | 1,129 | cpp | C++ | src/exporter/exporter.cpp | LibreTextus/LibreTextus | a142c0bed2237b1b252e1ff5dcfdbe82bd4439d3 | [
"CC0-1.0"
] | 3 | 2020-08-26T06:18:42.000Z | 2021-01-16T17:22:29.000Z | src/exporter/exporter.cpp | LibreTextus/LibreTextus | a142c0bed2237b1b252e1ff5dcfdbe82bd4439d3 | [
"CC0-1.0"
] | null | null | null | src/exporter/exporter.cpp | LibreTextus/LibreTextus | a142c0bed2237b1b252e1ff5dcfdbe82bd4439d3 | [
"CC0-1.0"
] | null | null | null | #include "exporter.hpp"
Libre::Exporter::Exporter(rapidxml::xml_document<> * doc, std::string & p, std::string & s, std::string & pos) : search_engine(s) {
this->file = doc;
this->path = p;
this->position = pos;
this->source = s;
fout.open(this->path + ".tmp");
search_engine.set_search_argument(this->positi... | 28.225 | 131 | 0.648361 | [
"vector"
] |
17093b06edd6f901136be6c7fe83d3936f532810 | 8,364 | cpp | C++ | src/CScheduleAlgorithmSufferageMig2Dyn.cpp | aw32/sched | b6ef35c5b517875a5954c70e2dc366fab3721a60 | [
"BSD-2-Clause"
] | null | null | null | src/CScheduleAlgorithmSufferageMig2Dyn.cpp | aw32/sched | b6ef35c5b517875a5954c70e2dc366fab3721a60 | [
"BSD-2-Clause"
] | null | null | null | src/CScheduleAlgorithmSufferageMig2Dyn.cpp | aw32/sched | b6ef35c5b517875a5954c70e2dc366fab3721a60 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2019, Alex Wiens <awiens@mail.upb.de>, Achim Lösch <achim.loesch@upb.de>
// SPDX-License-Identifier: BSD-2-Clause
#include <limits>
#include <list>
#include <algorithm>
#include "CScheduleAlgorithmSufferageMig2Dyn.h"
#include "CTask.h"
#include "CTaskCopy.h"
#include "CEstimation.h"
#include "CSchedule.h"... | 30.525547 | 165 | 0.672286 | [
"vector"
] |
17186afd9bcd73b1f3167b33ce62f9552fc9e0b8 | 1,316 | cpp | C++ | mesh/hexahedron.cpp | ajithvallabai/mfem | 5920fbf645f328c29a9d6489f2474d989f808451 | [
"BSD-3-Clause"
] | 969 | 2015-07-10T02:28:17.000Z | 2022-03-31T17:28:02.000Z | mesh/hexahedron.cpp | ajithvallabai/mfem | 5920fbf645f328c29a9d6489f2474d989f808451 | [
"BSD-3-Clause"
] | 2,604 | 2015-07-14T08:22:22.000Z | 2022-03-31T23:51:41.000Z | mesh/hexahedron.cpp | ajithvallabai/mfem | 5920fbf645f328c29a9d6489f2474d989f808451 | [
"BSD-3-Clause"
] | 407 | 2015-08-26T14:14:22.000Z | 2022-03-31T03:32:16.000Z | // Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 23.927273 | 80 | 0.642097 | [
"geometry"
] |
171a7c33176cbf61ba602cb4f0c69d2d9adf42cd | 1,062 | cpp | C++ | engine/src/physics/2d/circlecollider2d.cpp | TRBFLXR/x808 | d5ab9e96c5a6109283151a591c261e4183628075 | [
"MIT"
] | null | null | null | engine/src/physics/2d/circlecollider2d.cpp | TRBFLXR/x808 | d5ab9e96c5a6109283151a591c261e4183628075 | [
"MIT"
] | null | null | null | engine/src/physics/2d/circlecollider2d.cpp | TRBFLXR/x808 | d5ab9e96c5a6109283151a591c261e4183628075 | [
"MIT"
] | null | null | null | //
// Created by FLXR on 9/18/2018.
//
#include <Box2D/Box2D.h>
#include <xe/physics/2d/physicsworld2d.hpp>
#include <xe/physics/2d/circlecollider2d.hpp>
namespace xe {
CircleCollider2D::CircleCollider2D(PhysicsWorld2D *world, ColliderType type,
CircleShape *circle, bool fixedR... | 22.125 | 79 | 0.663842 | [
"shape"
] |
1722903d050f07df433c2cb559d7b9ba30006f14 | 5,024 | cpp | C++ | lib/Core/MAHandler.cpp | qiaokang92/P4wn | cd2418de2dff238f67508898e3bfdf2aae1889a4 | [
"NCSA"
] | 10 | 2020-12-26T07:18:14.000Z | 2022-01-11T23:46:13.000Z | lib/Core/MAHandler.cpp | qiaokang92/P4wn | cd2418de2dff238f67508898e3bfdf2aae1889a4 | [
"NCSA"
] | 1 | 2021-05-25T03:54:19.000Z | 2021-05-25T04:22:29.000Z | lib/Core/MAHandler.cpp | qiaokang92/P4wn | cd2418de2dff238f67508898e3bfdf2aae1889a4 | [
"NCSA"
] | null | null | null | #include <stdio.h>
#include <string>
#include <map>
#include <fstream>
#include "llvm/Support/raw_ostream.h"
#include <cstdio>
#include <iostream>
#include <memory>
#include <stdexcept>
#include <array>
#include <regex>
#include "helper.h"
#include "klee/ExecutionState.h"
#include "klee/Internal/ADT/RNG.h"
#include <bo... | 24.995025 | 80 | 0.641521 | [
"vector"
] |
172411ee78068497d037be6ee2bd983d804f3756 | 5,688 | cpp | C++ | src/validators/claims/claimvalidatorfactory.cpp | bang-olufsen/jwt-cpp | cb649385ab5c0c7c0483b7b44bff909cf5fb0de1 | [
"MIT"
] | null | null | null | src/validators/claims/claimvalidatorfactory.cpp | bang-olufsen/jwt-cpp | cb649385ab5c0c7c0483b7b44bff909cf5fb0de1 | [
"MIT"
] | null | null | null | src/validators/claims/claimvalidatorfactory.cpp | bang-olufsen/jwt-cpp | cb649385ab5c0c7c0483b7b44bff909cf5fb0de1 | [
"MIT"
] | null | null | null | // Copyright (c) 2015 Erwin Jansen
//
// MIT License
//
// 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... | 34.472727 | 79 | 0.629747 | [
"object",
"vector"
] |
17329e0f0501e5a821c4057f80acd4dbefa03a1a | 1,294 | hpp | C++ | scripts/tests/echolib.hpp | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 11 | 2018-03-12T10:43:46.000Z | 2020-06-01T10:58:56.000Z | scripts/tests/echolib.hpp | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 85 | 2018-03-03T15:10:56.000Z | 2022-03-18T14:05:14.000Z | scripts/tests/echolib.hpp | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 6 | 2018-03-12T10:47:11.000Z | 2022-02-03T13:44:07.000Z | #pragma once
#include <cstdint>
#include <stdexcept>
#include <string>
#include <vector>
namespace echolib {
enum class Color {
RED = 1,
GREEN = 2,
BLUE = 3
};
class Echo {
public:
Echo(int argc, char const * const * argv);
void echo_nothing() const;
int echo_int(int value) ... | 25.372549 | 85 | 0.649923 | [
"vector"
] |
1734dfdfe52f750f05788ccb1b76177734f3d4cb | 74,094 | cc | C++ | api.pb.cc | blockchainhelppro/Ninja-Trader-Integration-With-Bitoin-Trading | 5cd15b9399b1cd32504fdbbe91e16e2fd215680c | [
"MIT"
] | null | null | null | api.pb.cc | blockchainhelppro/Ninja-Trader-Integration-With-Bitoin-Trading | 5cd15b9399b1cd32504fdbbe91e16e2fd215680c | [
"MIT"
] | null | null | null | api.pb.cc | blockchainhelppro/Ninja-Trader-Integration-With-Bitoin-Trading | 5cd15b9399b1cd32504fdbbe91e16e2fd215680c | [
"MIT"
] | null | null | null | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/api.proto
#include <google/protobuf/api.pb.h>
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_fo... | 38.731835 | 186 | 0.677113 | [
"object"
] |
173b6c89b1cecba276aea3bd16ef28ec877d3fe5 | 1,427 | cpp | C++ | src/myImportandFunction/alignTranscript.cpp | illarionovaanastasia/GEAN | b81bbf45dd869ffde2833fd1eb78463d09de45cb | [
"MIT"
] | 34 | 2019-01-17T22:47:17.000Z | 2021-12-20T08:36:44.000Z | src/myImportandFunction/alignTranscript.cpp | illarionovaanastasia/GEAN | b81bbf45dd869ffde2833fd1eb78463d09de45cb | [
"MIT"
] | 7 | 2019-04-23T02:50:13.000Z | 2021-05-05T07:32:46.000Z | src/myImportandFunction/alignTranscript.cpp | illarionovaanastasia/GEAN | b81bbf45dd869ffde2833fd1eb78463d09de45cb | [
"MIT"
] | 5 | 2019-03-14T23:05:46.000Z | 2020-08-17T09:14:17.000Z | //
// Created by song on 8/26/18.
//
#include "alignTranscript.h"
AlignTranscript::AlignTranscript(std::string& dna_d, std::string& dna_q, int & startCodonPosition, int & stopCodonPosition,
std::vector<SpliceSitePosition>& splitSitePositions, std::map<std::string, std::string>& parameters, NucleotideCodeSubst... | 39.638889 | 202 | 0.756132 | [
"vector"
] |
173c776195593301bfe6aad72afda986ccc41f91 | 1,097 | hpp | C++ | OGL - EGE/engine/system/System.hpp | johnathontheriot/Edge | 916db7c49e33569e172917c5aff93414e4d2b174 | [
"MIT"
] | 1 | 2018-01-08T14:37:57.000Z | 2018-01-08T14:37:57.000Z | OGL - EGE/engine/system/System.hpp | johnathontheriot/Edge | 916db7c49e33569e172917c5aff93414e4d2b174 | [
"MIT"
] | 18 | 2018-01-08T14:35:25.000Z | 2018-02-14T19:29:27.000Z | OGL - EGE/engine/system/System.hpp | johnathontheriot/Edge | 916db7c49e33569e172917c5aff93414e4d2b174 | [
"MIT"
] | null | null | null | //
// System.hpp
// OGL - EGE
//
// Created by Johnathon Theriot on 1/5/18.
// Copyright © 2018 Johnathon Theriot. All rights reserved.
//
#ifndef System_hpp
#define System_hpp
#include <unordered_map>
#include "WindowConfig.hpp"
#include "../../vendor/json.hpp"
#include "../object/scene/Scene.hpp"
#include "Dime... | 24.931818 | 60 | 0.696445 | [
"object"
] |
173e698b7f726f522faff85dc26b337c07d06537 | 51,407 | cpp | C++ | source/CompilerSpirV/SpirvExprVisitor.cpp | Praetonus/ShaderWriter | 1c5b3961e3e1b91cb7158406998519853a4add07 | [
"MIT"
] | null | null | null | source/CompilerSpirV/SpirvExprVisitor.cpp | Praetonus/ShaderWriter | 1c5b3961e3e1b91cb7158406998519853a4add07 | [
"MIT"
] | null | null | null | source/CompilerSpirV/SpirvExprVisitor.cpp | Praetonus/ShaderWriter | 1c5b3961e3e1b91cb7158406998519853a4add07 | [
"MIT"
] | null | null | null | /*
See LICENSE file in root folder
*/
#include "SpirvExprVisitor.hpp"
#include "SpirvHelpers.hpp"
#include "SpirvGetSwizzleComponents.hpp"
#include "SpirvImageAccessConfig.hpp"
#include "SpirvImageAccessNames.hpp"
#include "SpirvIntrinsicConfig.hpp"
#include "SpirvIntrinsicNames.hpp"
#include "SpirvMakeAccessChain.hpp... | 28.091257 | 133 | 0.671601 | [
"vector"
] |
174e8eb59bb28530732a8ba37d7e5bbd233ad5bc | 1,095 | cpp | C++ | lib/IsenPython/PyOutput.cpp | thfabian/Isen | c03d8e3f4590f4208ce9f4d9141169ca6133cac3 | [
"MIT"
] | 1 | 2016-07-26T17:43:44.000Z | 2016-07-26T17:43:44.000Z | lib/IsenPython/PyOutput.cpp | thfabian/Isen | c03d8e3f4590f4208ce9f4d9141169ca6133cac3 | [
"MIT"
] | null | null | null | lib/IsenPython/PyOutput.cpp | thfabian/Isen | c03d8e3f4590f4208ce9f4d9141169ca6133cac3 | [
"MIT"
] | null | null | null | /**
* _________ _______ __
* / _/ ___// ____/ | / /
* / / \__ \/ __/ / |/ /
* _/ / ___/ / /___/ /| /
* /___//____/_____/_/ |_/
*
* Isentropic model - ETH Zurich
* Copyright (C) 2016 Fabian Thuering (thfa... | 24.333333 | 92 | 0.591781 | [
"model"
] |
175b5e86ffce7e8d8345dbd4414b281357dfb3aa | 16,655 | cpp | C++ | src/core/impl/comp_node/mem_alloc/impl.cpp | Olalaye/MegEngine | 695d24f24517536e6544b07936d189dbc031bbce | [
"Apache-2.0"
] | 1 | 2022-03-21T03:13:45.000Z | 2022-03-21T03:13:45.000Z | src/core/impl/comp_node/mem_alloc/impl.cpp | Olalaye/MegEngine | 695d24f24517536e6544b07936d189dbc031bbce | [
"Apache-2.0"
] | null | null | null | src/core/impl/comp_node/mem_alloc/impl.cpp | Olalaye/MegEngine | 695d24f24517536e6544b07936d189dbc031bbce | [
"Apache-2.0"
] | null | null | null | /**
* \file src/core/impl/comp_node/mem_alloc/impl.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed ... | 33.177291 | 89 | 0.626238 | [
"vector"
] |
175eb3decb1f8e72c63ae6866bcb1e1558ba1703 | 732 | cpp | C++ | POJ/1426/16336908_AC_407ms_5024kB.cpp | BakaErii/ACM_Collection | d368b15c7f1c84472424d5e61e5ebc667f589025 | [
"WTFPL"
] | null | null | null | POJ/1426/16336908_AC_407ms_5024kB.cpp | BakaErii/ACM_Collection | d368b15c7f1c84472424d5e61e5ebc667f589025 | [
"WTFPL"
] | null | null | null | POJ/1426/16336908_AC_407ms_5024kB.cpp | BakaErii/ACM_Collection | d368b15c7f1c84472424d5e61e5ebc667f589025 | [
"WTFPL"
] | null | null | null | /**
* @author Moe_Sakiya sakiya@tun.moe
* @date 2018-10-09 13:27:23
*
*/
#include <iostream>
#include <string>
#include <algorithm>
#include <set>
#include <map>
#include <vector>
#include <stack>
#include <queue>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cmath>
using namespace std;
... | 15.913043 | 39 | 0.620219 | [
"vector"
] |
176057ba8e8e940e7f0c0ec86586e7c8ce1ce0dc | 110,910 | cpp | C++ | recipes-clp/clp/clp/src/AbcSimplexParallel.cpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-clp/clp/clp/src/AbcSimplexParallel.cpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-clp/clp/clp/src/AbcSimplexParallel.cpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | // Copyright (C) 2002, International Business Machines
// Corporation and others, Copyright (C) 2012, FasterCoin. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#include "CoinPragma.hpp"
#include <math.h>
#include "CoinHelperFunctions.hpp"
#include "CoinAbcHelperFun... | 34.231481 | 128 | 0.589442 | [
"vector"
] |
1767f8923847b5f4aa53aa2a77cc9a0884075153 | 4,044 | cpp | C++ | src/UserInterface/src/Dialog/FlightDialog.cpp | till213/SkyDolly | 75caa54fa9fcbaae04b6605c3c1a68e0cb9a0c16 | [
"MIT"
] | 21 | 2021-03-01T00:19:41.000Z | 2022-02-22T02:57:19.000Z | src/UserInterface/src/Dialog/FlightDialog.cpp | till213/SkyDolly | 75caa54fa9fcbaae04b6605c3c1a68e0cb9a0c16 | [
"MIT"
] | 11 | 2021-06-20T20:16:56.000Z | 2022-03-28T19:03:34.000Z | src/UserInterface/src/Dialog/FlightDialog.cpp | till213/SkyDolly | 75caa54fa9fcbaae04b6605c3c1a68e0cb9a0c16 | [
"MIT"
] | 3 | 2021-04-06T19:06:16.000Z | 2022-01-20T21:22:39.000Z | /**
* Sky Dolly - The Black Sheep for your Flight Recordings
*
* Copyright (c) Oliver Knoll
* All rights reserved.
*
* MIT License
*
* 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
* ... | 32.352 | 107 | 0.73269 | [
"model"
] |
176acd1693bcb4336e4c7f1aa6e816bba0fc7fc8 | 14,007 | cc | C++ | wrspice/src/fte/save.cc | bernardventer/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 3 | 2020-01-26T14:18:52.000Z | 2020-12-09T20:07:22.000Z | wrspice/src/fte/save.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | null | null | null | wrspice/src/fte/save.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 2 | 2020-01-26T14:19:02.000Z | 2021-08-14T16:33:28.000Z |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | 29.865672 | 80 | 0.454915 | [
"vector"
] |
176e5ecc9409e076a68b35014e356c879ea09234 | 10,163 | cc | C++ | dance/anyone.cc | bobjervis/sets_in_motion | 24df9a5fbd55acd84ca072ea6b930c851bb667d9 | [
"Apache-2.0"
] | null | null | null | dance/anyone.cc | bobjervis/sets_in_motion | 24df9a5fbd55acd84ca072ea6b930c851bb667d9 | [
"Apache-2.0"
] | null | null | null | dance/anyone.cc | bobjervis/sets_in_motion | 24df9a5fbd55acd84ca072ea6b930c851bb667d9 | [
"Apache-2.0"
] | null | null | null | #include "../common/platform.h"
#include "dance.h"
#include "call.h"
#include "stored_data.h"
namespace dance {
const char* dancerSetNames[] = {
"none",
"centers",
"ends",
"very centers",
"very ends",
"$last_active",
"others",
"leaders",
"trailers",
"heads",
"sides",
"boys",
"girls"... | 26.744737 | 105 | 0.573551 | [
"geometry",
"vector"
] |
17713c97fd7eafd98761bc99ff662c0c7b1e7946 | 819 | cpp | C++ | cplusplus/RCF/demo/Server.cpp | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 22 | 2015-05-18T07:04:36.000Z | 2021-08-02T03:01:43.000Z | cplusplus/RCF/demo/Server.cpp | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 1 | 2017-08-31T22:13:57.000Z | 2017-09-05T15:00:25.000Z | cplusplus/RCF/demo/Server.cpp | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 6 | 2015-06-06T07:16:12.000Z | 2021-07-06T13:45:56.000Z |
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <RCF/RCF.hpp>
#include "MyService.hpp"
class MyServiceImpl
{
public:
// Reverses the order of strings in the vector.
void reverse(std::vector<std::string> &v)
{
std::cout << "Reversing a vector of strings...\n"... | 21 | 66 | 0.622711 | [
"vector"
] |
1776210b16ea0eaaa1dc6446749b9e59b62b68b3 | 10,658 | cc | C++ | src/generic/trilinos_preconditioners.cc | pkeuchel/oomph-lib | 37c1c61425d6b9ea1c2ddceef63a68a228af6fa4 | [
"RSA-MD"
] | 4 | 2020-11-16T12:25:09.000Z | 2021-06-29T08:53:25.000Z | src/generic/trilinos_preconditioners.cc | pkeuchel/oomph-lib | 37c1c61425d6b9ea1c2ddceef63a68a228af6fa4 | [
"RSA-MD"
] | 2 | 2020-05-05T22:41:37.000Z | 2020-05-10T14:14:17.000Z | src/generic/trilinos_preconditioners.cc | pkeuchel/oomph-lib | 37c1c61425d6b9ea1c2ddceef63a68a228af6fa4 | [
"RSA-MD"
] | 3 | 2021-01-31T14:09:20.000Z | 2021-06-07T07:20:51.000Z | // LIC// ====================================================================
// LIC// This file forms part of oomph-lib, the object-oriented,
// LIC// multi-physics finite-element library, available
// LIC// at http://www.oomph-lib.org.
// LIC//
// LIC// Copyright (C) 2006-2021 Matthias Heil and Andrew Hazel
// LIC//
... | 39.917603 | 82 | 0.528054 | [
"object",
"vector"
] |
1777d79a88ac8589e23a1c747010c6d65ed5f00a | 1,206 | hpp | C++ | data-structure/interval-scheduling.hpp | matumoto1234/library | a2c80516a8afe5876696c139fe0e837d8a204f69 | [
"Unlicense"
] | 2 | 2021-06-24T11:21:08.000Z | 2022-03-15T05:57:25.000Z | data-structure/interval-scheduling.hpp | matumoto1234/library | a2c80516a8afe5876696c139fe0e837d8a204f69 | [
"Unlicense"
] | 102 | 2021-10-30T21:30:00.000Z | 2022-03-26T18:39:47.000Z | data-structure/interval-scheduling.hpp | matumoto1234/library | a2c80516a8afe5876696c139fe0e837d8a204f69 | [
"Unlicense"
] | null | null | null | #pragma once
#include "./base.hpp"
#include <vector>
namespace data_structure {
// verify:https://atcoder.jp/contests/keyence2020/tasks/keyence2020_b
template <typename T>
class IntervalScheduling {
vector<pair<T, T>> intervals_;
vector<bool> used;
public:
IntervalScheduling() {}
void add_i... | 23.647059 | 81 | 0.554726 | [
"vector"
] |
177a53b79e08b9ec6c7c0082ed14148bd028dc77 | 5,348 | cc | C++ | src/util/thin_image.cc | FlyAlCode/PLBGHashing | 289d0a66c9091602abedf2860c2b3ae9d763fed0 | [
"MIT"
] | 1 | 2021-02-13T01:45:20.000Z | 2021-02-13T01:45:20.000Z | src/util/thin_image.cc | FlyAlCode/PLBGHashing | 289d0a66c9091602abedf2860c2b3ae9d763fed0 | [
"MIT"
] | null | null | null | src/util/thin_image.cc | FlyAlCode/PLBGHashing | 289d0a66c9091602abedf2860c2b3ae9d763fed0 | [
"MIT"
] | null | null | null | #include "thin_image.h"
#include <opencv2/imgproc/imgproc.hpp>
void FillImageHole(const cv::Mat &input_img, cv::Mat &output_img){
input_img.copyTo(output_img);
for(int i=1; i<input_img.rows-1;i++){
for(int j=1; j<input_img.cols-1; j++){
if(input_img.at<char>(i,j)==0){
... | 36.630137 | 115 | 0.338444 | [
"vector"
] |
177bf231bca52a32f4a7864f16f4e279c8c94524 | 12,612 | cpp | C++ | src/vehicle.cpp | jandal487/CarND-Path-Planning-Project | 189f6f6213a95cb5d2c4ed3c1c606d73b7637b0d | [
"MIT"
] | null | null | null | src/vehicle.cpp | jandal487/CarND-Path-Planning-Project | 189f6f6213a95cb5d2c4ed3c1c606d73b7637b0d | [
"MIT"
] | null | null | null | src/vehicle.cpp | jandal487/CarND-Path-Planning-Project | 189f6f6213a95cb5d2c4ed3c1c606d73b7637b0d | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include "vehicle.h"
#include "road.h"
#include <cmath>
#include <math.h>
#include <map>
#include <string>
#include <iterator>
#include "cost.h"
// Initializes Vehicle
Vehicle::Vehicle(){}
// Initializes custom Vehicle object
Vehicle::Vehicle(int lane, float s,float d, float v... | 38.45122 | 129 | 0.679274 | [
"object",
"vector"
] |
ed00879b47a6832df659a177a14c7223a5c25266 | 16,619 | cc | C++ | internal/ceres/sparse_normal_cholesky_solver.cc | nicedone/ceres-solver-1.11.0 | bb50b160ddcbe66a731bcf4f50f5cb07f765b935 | [
"BSD-3-Clause"
] | 12 | 2016-10-08T11:47:59.000Z | 2022-01-11T13:09:24.000Z | internal/ceres/sparse_normal_cholesky_solver.cc | nicedone/ceres-solver-1.11.0 | bb50b160ddcbe66a731bcf4f50f5cb07f765b935 | [
"BSD-3-Clause"
] | 1 | 2019-05-01T07:29:55.000Z | 2019-05-01T07:29:55.000Z | internal/ceres/sparse_normal_cholesky_solver.cc | nicedone/ceres-solver-1.11.0 | bb50b160ddcbe66a731bcf4f50f5cb07f765b935 | [
"BSD-3-Clause"
] | 30 | 2016-10-09T02:59:13.000Z | 2022-01-22T10:52:14.000Z | // Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2015 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of so... | 34.125257 | 80 | 0.68867 | [
"vector"
] |
ed019ce144230a7bb343eb8e77349c036eff93b2 | 5,427 | hpp | C++ | E3T/E3T/src/Shader.hpp | oj002/Educational_3d_Toolbox | 309376a8dfcc22801482f2ee31b66982572f7424 | [
"WTFPL"
] | null | null | null | E3T/E3T/src/Shader.hpp | oj002/Educational_3d_Toolbox | 309376a8dfcc22801482f2ee31b66982572f7424 | [
"WTFPL"
] | null | null | null | E3T/E3T/src/Shader.hpp | oj002/Educational_3d_Toolbox | 309376a8dfcc22801482f2ee31b66982572f7424 | [
"WTFPL"
] | null | null | null | #pragma once
#include <string>
#include <fstream>
#include <sstream>
#include <functional>
#include <vector>
#include "Macros.hpp"
#include <glad\glad.h>
#include <glm\glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <imgui\imgui.h>
#include <imgui\imgui_impl_glfw.h>
#include <imgui\imgui_impl_opengl3.h>
#include... | 45.605042 | 160 | 0.714575 | [
"vector"
] |
ed01bf8b5647bd14638f3748a4f7371191f2fe42 | 6,756 | cc | C++ | chromium/device/bluetooth/bluetooth_gatt_service_unittest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/device/bluetooth/bluetooth_gatt_service_unittest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/device/bluetooth/bluetooth_gatt_service_unittest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 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 "device/bluetooth/bluetooth_gatt_service.h"
#include "build/build_config.h"
#include "device/bluetooth/bluetooth_gatt_characteristic.h"
#include... | 44.741722 | 80 | 0.761397 | [
"object",
"vector"
] |
ed01cc4cc177dd95394aa6757288c3832c095cf7 | 382 | cpp | C++ | bit-manipulation/136-single-number.cpp | gromitsun/algorithm | 5aea12139c1b98221650063b91c0d38b965047e5 | [
"MIT"
] | null | null | null | bit-manipulation/136-single-number.cpp | gromitsun/algorithm | 5aea12139c1b98221650063b91c0d38b965047e5 | [
"MIT"
] | null | null | null | bit-manipulation/136-single-number.cpp | gromitsun/algorithm | 5aea12139c1b98221650063b91c0d38b965047e5 | [
"MIT"
] | null | null | null | /*
* Runtime: 12 ms, faster than 97.37% of C++ online submissions for Single Number.
* Memory Usage: 9.8 MB, less than 30.77% of C++ online submissions for Single Number.
*/
class Solution {
public:
int singleNumber(vector<int>& nums) {
int res = 0;
for (int x : nums)
{
... | 20.105263 | 86 | 0.52356 | [
"vector"
] |
ed0470f63f9c249ead8a188e20d3fa8d53aa8aa0 | 747 | cpp | C++ | platforms/codeforces/all/codeforces_1339_A.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | 2 | 2020-09-17T09:04:00.000Z | 2020-11-20T19:43:18.000Z | platforms/codeforces/all/codeforces_1339_A.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | platforms/codeforces/all/codeforces_1339_A.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cassert>
#include <limits>
#include <cmath>
#include <algorithm>
#include <vector>
#include <unordered_map>
#include <unordered_set>
#include <string>
#include <array>
#include <map>
#include <set>
#include <deque>
#include <list>
#include <sstream>
#include <iomanip>
#include <numeric>
#i... | 18.219512 | 83 | 0.646586 | [
"vector"
] |
ed097177c56e628c1a8670d70b1215b4933cd131 | 4,974 | cpp | C++ | Source/MultiBreakpong/PongBall.cpp | Enagan/MultiBreakPong | 509fee732ab1b2bfa3fe0e3edbbd3181ec6ea878 | [
"MIT"
] | 1 | 2018-01-31T04:10:35.000Z | 2018-01-31T04:10:35.000Z | Source/MultiBreakpong/PongBall.cpp | Enagan/MultiBreakPong | 509fee732ab1b2bfa3fe0e3edbbd3181ec6ea878 | [
"MIT"
] | null | null | null | Source/MultiBreakpong/PongBall.cpp | Enagan/MultiBreakPong | 509fee732ab1b2bfa3fe0e3edbbd3181ec6ea878 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "MultiBreakpong.h"
#include "PongBall.h"
#include "GameFramework/ProjectileMovementComponent.h"
#include "PongStickPawn.h"
#include "Goal.h"
#include "EngineUtils.h"
#include "Kismet/KismetMathLibrary.h"
// Sets default values
AP... | 42.87931 | 153 | 0.77121 | [
"mesh",
"object",
"vector"
] |
ed0e86da74e5aefaf8a4027ab7198c3986bceb7e | 5,186 | cpp | C++ | gst/inference_elements/common/post_processor/meta_attacher.cpp | Rasmita-Ardu/dlstreamer_gst | 88fc68cbb052e011d51fdd0195e74a38567651a8 | [
"MIT"
] | 125 | 2020-09-18T10:50:27.000Z | 2022-02-10T06:20:59.000Z | gst/inference_elements/common/post_processor/meta_attacher.cpp | msg4rajesh/dlstreamer | 88fc68cbb052e011d51fdd0195e74a38567651a8 | [
"MIT"
] | 155 | 2020-09-10T23:32:29.000Z | 2022-02-05T07:10:26.000Z | gst/inference_elements/common/post_processor/meta_attacher.cpp | msg4rajesh/dlstreamer | 88fc68cbb052e011d51fdd0195e74a38567651a8 | [
"MIT"
] | 41 | 2020-09-15T08:49:17.000Z | 2022-01-24T10:39:36.000Z | /*******************************************************************************
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
#include "meta_attacher.h"
#include "gva_base_inference.h"
#include "gva_tensor_m... | 39.287879 | 114 | 0.643849 | [
"model"
] |
ed0eb8df617ff4994bd7a83cb9c682ca60623c96 | 9,147 | cpp | C++ | src/coreclr/md/runtime/liteweightstgdb.cpp | colgreen/runtime | a62588a86730435c8953e7321d1c7072ff04bb1e | [
"MIT"
] | 1 | 2022-01-09T20:51:06.000Z | 2022-01-09T20:51:06.000Z | src/coreclr/md/runtime/liteweightstgdb.cpp | DekuDesu/runtime | 84ca939dc9931e8b4d5ab4197cdc99a4621984a6 | [
"MIT"
] | null | null | null | src/coreclr/md/runtime/liteweightstgdb.cpp | DekuDesu/runtime | 84ca939dc9931e8b4d5ab4197cdc99a4621984a6 | [
"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.
//*****************************************************************************
// LiteWeightStgdb.cpp
//
//
// This contains definition of class CLiteWeightStgDB. This is light weig... | 37.641975 | 125 | 0.58839 | [
"model"
] |
ed12f7ec3d791058ebd5e4791ae14015425da885 | 13,768 | cpp | C++ | ANattr/src/NodeAttr.cpp | ecmwf/ecflow | 2498d0401d3d1133613d600d5c0e0a8a30b7b8eb | [
"Apache-2.0"
] | 11 | 2020-08-07T14:42:45.000Z | 2021-10-21T01:59:59.000Z | ANattr/src/NodeAttr.cpp | CoollRock/ecflow | db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d | [
"Apache-2.0"
] | 10 | 2020-08-07T14:36:27.000Z | 2022-02-22T06:51:24.000Z | ANattr/src/NodeAttr.cpp | CoollRock/ecflow | db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d | [
"Apache-2.0"
] | 6 | 2020-08-07T14:34:38.000Z | 2022-01-10T12:06:27.000Z | //============================================================================
// Name :
// Author : Avi
// Revision : $Revision: #67 $
//
// Copyright 2009-2020 ECMWF.
// This software is licensed under the terms of the Apache Licence version 2.0
// which can be obtained at http://www.apache.org/licen... | 28.803347 | 157 | 0.552005 | [
"vector"
] |
ed1e81469c39a650e79a5ca66f82ed7ad794af21 | 7,222 | cpp | C++ | tests/test_ndk/src.win32/cpp/net_service_internal.cpp | dios-game/dios | ce947382bcc8692ea70533d6def112a2838a9d0e | [
"MIT"
] | 1 | 2016-05-25T02:57:02.000Z | 2016-05-25T02:57:02.000Z | tests/test_ndk/src.win32/cpp/net_service_internal.cpp | dios-game/dios | ce947382bcc8692ea70533d6def112a2838a9d0e | [
"MIT"
] | null | null | null | tests/test_ndk/src.win32/cpp/net_service_internal.cpp | dios-game/dios | ce947382bcc8692ea70533d6def112a2838a9d0e | [
"MIT"
] | 1 | 2021-04-17T16:06:00.000Z | 2021-04-17T16:06:00.000Z | #include "precompiled.h"
#include "net_service_internal.h"
#include "net_connector.h"
#include "net_server.h"
// default event callback function
void defaultEventFunc(evutil_socket_t, short, void * ptr) {
timeval tv;
tv.tv_sec = 1;
tv.tv_usec = 0;
CNetService* net_service = (CNetService*)ptr;
event_add(net_servi... | 28.772908 | 140 | 0.735807 | [
"object"
] |
ed21b3529fde94676c0765ce37553db5f0d33dfb | 8,673 | cpp | C++ | src/CommandLineParser/CommandLineParser.cpp | sebastiandaberdaku/PoCavEDT | bc4fa2d8c52d138d6eb1446f78a4162e05d97d6b | [
"BSD-3-Clause"
] | null | null | null | src/CommandLineParser/CommandLineParser.cpp | sebastiandaberdaku/PoCavEDT | bc4fa2d8c52d138d6eb1446f78a4162e05d97d6b | [
"BSD-3-Clause"
] | null | null | null | src/CommandLineParser/CommandLineParser.cpp | sebastiandaberdaku/PoCavEDT | bc4fa2d8c52d138d6eb1446f78a4162e05d97d6b | [
"BSD-3-Clause"
] | 1 | 2022-03-29T18:14:51.000Z | 2022-03-29T18:14:51.000Z | /*
* CommandLineParser.cpp
*
* Created on: Sep 6, 2014
* Author: sebastian
*/
#include "../utils/basename.h"
#include "../utils/disclaimer.h"
#include "CommandLineParser.h"
#include "CustomValidators.h"
/**
* This method parses the input command line options.
* @param argc input argc reference, i.e. the... | 44.937824 | 287 | 0.700565 | [
"transform"
] |
ed26fa97218696cfcab74555bebc9c5835822177 | 1,599 | cpp | C++ | src/networks/fcnn.cpp | lsh123/yann | 4a12b7c1ee2d89d34772d647586b3018df6997db | [
"MIT"
] | 2 | 2019-08-22T18:14:44.000Z | 2020-01-01T10:25:07.000Z | src/networks/fcnn.cpp | lsh123/yann | 4a12b7c1ee2d89d34772d647586b3018df6997db | [
"MIT"
] | null | null | null | src/networks/fcnn.cpp | lsh123/yann | 4a12b7c1ee2d89d34772d647586b3018df6997db | [
"MIT"
] | null | null | null | /*
* fcnn.cpp
*
*/
#include <string>
#include <boost/assert.hpp>
#include "core/utils.h"
#include "layers/fclayer.h"
#include "fcnn.h"
using namespace std;
using namespace yann;
////////////////////////////////////////////////////////////////////////////////////////////////
//
// FullyConnectedNetwork implementa... | 25.380952 | 96 | 0.66354 | [
"vector"
] |
ed26fca4e2cbb59a6d2f009622082203c910e2d5 | 18,706 | cpp | C++ | UOFinalProject/snake.cpp | SimNicolas/Snake | eeb5f1a5360a3b5277f38187f88764910ef3ccb5 | [
"Apache-2.0"
] | null | null | null | UOFinalProject/snake.cpp | SimNicolas/Snake | eeb5f1a5360a3b5277f38187f88764910ef3ccb5 | [
"Apache-2.0"
] | null | null | null | UOFinalProject/snake.cpp | SimNicolas/Snake | eeb5f1a5360a3b5277f38187f88764910ef3ccb5 | [
"Apache-2.0"
] | null | null | null | #include "snake.h"
using namespace std;
snakepart::snakepart(int col,int row)
{
x = col;
y = row;
}
snakepart::snakepart()
{
x = 0;
y = 0;
}
food::food()
{
x = 0;
y = 0;
i = 0;
// these are the basic food types
charpool[0] = '*';
charpo... | 28.867284 | 150 | 0.408104 | [
"vector"
] |
ed2dc2a7403f60bb78a2e525aca7c707c88033c6 | 4,463 | hpp | C++ | http_server/include/testproj.hpp | kushaldalsania/haystack-cpp | 95997ae2bca9ea096dc7e61c000291f3ac08d9d7 | [
"AFL-3.0"
] | null | null | null | http_server/include/testproj.hpp | kushaldalsania/haystack-cpp | 95997ae2bca9ea096dc7e61c000291f3ac08d9d7 | [
"AFL-3.0"
] | null | null | null | http_server/include/testproj.hpp | kushaldalsania/haystack-cpp | 95997ae2bca9ea096dc7e61c000291f3ac08d9d7 | [
"AFL-3.0"
] | null | null | null | #pragma once
//
// Copyright (c) 2015, J2 Innovations
// Copyright (c) 2012 Brian Frank
// Licensed under the Academic Free License version 3.0
// History:
// 09 Sep 2014 Radu Racariu<radur@2inn.com> Ported to C++
// 06 Jun 2011 Brian Frank Creation
//
#include "server.hpp"
#include <Poco/AtomicCounter.h>
#incl... | 34.068702 | 113 | 0.460004 | [
"vector"
] |
ed2fdf933946575d443e9ccbae6c1f4da113ff70 | 39,978 | cpp | C++ | nfc/src/DOOM/neo/d3xp/Game_network.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | nfc/src/DOOM/neo/d3xp/Game_network.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | nfc/src/DOOM/neo/d3xp/Game_network.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | /*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom 3 BFG Edition Source Code is free... | 30.081264 | 366 | 0.671019 | [
"model"
] |
ed332cc02f610adb22670097ce5aa7d622ff496e | 6,277 | hpp | C++ | include/eagine/shapes/topology.hpp | ford442/oglplu2 | abf1e28d9bcd0d2348121e8640d9611a94112a83 | [
"BSL-1.0"
] | 103 | 2015-10-15T07:09:22.000Z | 2022-03-20T03:39:32.000Z | include/eagine/shapes/topology.hpp | ford442/oglplu2 | abf1e28d9bcd0d2348121e8640d9611a94112a83 | [
"BSL-1.0"
] | 11 | 2015-11-25T11:39:49.000Z | 2021-06-18T08:06:06.000Z | include/eagine/shapes/topology.hpp | ford442/oglplu2 | abf1e28d9bcd0d2348121e8640d9611a94112a83 | [
"BSL-1.0"
] | 10 | 2016-02-28T00:13:20.000Z | 2021-09-06T05:21:38.000Z | /// @file
///
/// Copyright Matus Chochlik.
/// Distributed under the Boost Software License, Version 1.0.
/// See accompanying file LICENSE_1_0.txt or copy at
/// http://www.boost.org/LICENSE_1_0.txt
///
#ifndef EAGINE_SHAPES_TOPOLOGY_HPP
#define EAGINE_SHAPES_TOPOLOGY_HPP
#include "gen_base.hpp"
#include <eagine/c... | 30.470874 | 86 | 0.60427 | [
"mesh",
"shape",
"vector"
] |
ed378f02421757e76d01928d4c1170bd0bd3cb5d | 15,542 | hpp | C++ | allocore/allocore/sound/al_Ambisonics.hpp | AlloSphere-Research-Group/AlloSystem | 646bac1232d230f61dbdaaef38327de1a244b43f | [
"BSD-3-Clause"
] | 51 | 2015-02-16T02:36:27.000Z | 2021-08-30T07:22:43.000Z | allocore/allocore/sound/al_Ambisonics.hpp | AlloSphere-Research-Group/AlloSystem | 646bac1232d230f61dbdaaef38327de1a244b43f | [
"BSD-3-Clause"
] | 18 | 2015-01-24T12:52:46.000Z | 2018-03-19T23:43:27.000Z | allocore/allocore/sound/al_Ambisonics.hpp | AlloSphere-Research-Group/AlloSystem | 646bac1232d230f61dbdaaef38327de1a244b43f | [
"BSD-3-Clause"
] | 23 | 2015-01-29T17:44:02.000Z | 2019-09-22T09:04:33.000Z | #ifndef INCLUDE_AL_AMBISONICS_HPP
#define INCLUDE_AL_AMBISONICS_HPP
/* Allocore --
Multimedia / virtual environment application class library
Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology, UCSB.
Copyright (C) 2012. The Regents of the University of California.
All rights reserved.
Redist... | 30.654832 | 238 | 0.715095 | [
"vector",
"3d"
] |
ed3983ee59e744efc1701adc1c689e0fb79e8d35 | 1,128 | cpp | C++ | 20160911_ABC045/b.cpp | miyalab/AtCoder | a57c8a6195463a9a8edd1c3ddd36cc56f145c60d | [
"MIT"
] | null | null | null | 20160911_ABC045/b.cpp | miyalab/AtCoder | a57c8a6195463a9a8edd1c3ddd36cc56f145c60d | [
"MIT"
] | null | null | null | 20160911_ABC045/b.cpp | miyalab/AtCoder | a57c8a6195463a9a8edd1c3ddd36cc56f145c60d | [
"MIT"
] | null | null | null | // インクルード
#include <iostream>
#include <vector>
#include <string>
#include <cmath>
#include <algorithm>
#include <iomanip>
// 名前空間省略
using namespace std;
// メイン
int main()
{
// 入出力の高速化
ios::sync_with_stdio(false);
cin.tie(nullptr);
// 表示精度変更
cout << fixed << setprecision(16);
vector<strin... | 23.5 | 68 | 0.503546 | [
"vector"
] |
ed39b4a29ff4e2339e587991658cfa29aa344756 | 3,325 | cpp | C++ | tests/unit_tests/NumericLimitTests.cpp | MatthieuHernandez/StraightforwardNeuralNetwork | e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7 | [
"Apache-2.0"
] | 14 | 2019-08-29T07:20:19.000Z | 2022-03-22T12:51:02.000Z | tests/unit_tests/NumericLimitTests.cpp | MatthieuHernandez/StraightforwardNeuralNetwork | e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7 | [
"Apache-2.0"
] | 7 | 2020-08-07T11:08:45.000Z | 2021-05-08T17:11:12.000Z | tests/unit_tests/NumericLimitTests.cpp | MatthieuHernandez/StraightforwardNeuralNetwork | e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7 | [
"Apache-2.0"
] | 3 | 2020-08-07T10:53:52.000Z | 2021-02-16T22:13:22.000Z | #include "../ExtendedGTest.hpp"
#include "tools/Tools.hpp"
#include "neural_network/StraightforwardNeuralNetwork.hpp"
using namespace std;
using namespace snn;
class NumericLimitTests : public testing::Test
{
protected:
static void createData(int sizeOfTraining, int sizeOfTesting)
{
vector2D<float> tr... | 33.928571 | 90 | 0.524511 | [
"vector"
] |
ed3a0c76776d0263df741f0e4a89fa98eda26231 | 14,529 | hpp | C++ | src/store.hpp | xianghex/also-test | 18e3f09b77403adc73f700ea5115c19f4c293359 | [
"MIT"
] | 1 | 2019-04-01T11:43:16.000Z | 2019-04-01T11:43:16.000Z | src/store.hpp | xianghex/also-test | 18e3f09b77403adc73f700ea5115c19f4c293359 | [
"MIT"
] | null | null | null | src/store.hpp | xianghex/also-test | 18e3f09b77403adc73f700ea5115c19f4c293359 | [
"MIT"
] | null | null | null | /* also: Advanced Logic Synthesis and Optimization tool
* Copyright (C) 2019- Ningbo University, Ningbo, China
*
* 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, i... | 27.780115 | 133 | 0.603896 | [
"vector"
] |
ed3aa1d4c7213acfde2f63ee719edab553c9bd79 | 6,206 | cpp | C++ | src/slave/containerizer/mesos/isolators/docker/volume/driver.cpp | Acidburn0zzz/mesos | 3562f95d0cd216634b53217710e60c25ff7524d1 | [
"Apache-2.0"
] | 1 | 2016-09-12T05:25:15.000Z | 2016-09-12T05:25:15.000Z | src/slave/containerizer/mesos/isolators/docker/volume/driver.cpp | Acidburn0zzz/mesos | 3562f95d0cd216634b53217710e60c25ff7524d1 | [
"Apache-2.0"
] | null | null | null | src/slave/containerizer/mesos/isolators/docker/volume/driver.cpp | Acidburn0zzz/mesos | 3562f95d0cd216634b53217710e60c25ff7524d1 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 26.408511 | 77 | 0.598292 | [
"vector"
] |
ed3b934b0b666d35f8f618ea4a8d3ac481ad8ecd | 981 | hh | C++ | src/PageSections/_Private/stringify_shape.hh | YuryBandarchuk16/hh-apidoc | 996f8a606193fb111929d9e1b48ae772b0d1b12b | [
"MIT"
] | null | null | null | src/PageSections/_Private/stringify_shape.hh | YuryBandarchuk16/hh-apidoc | 996f8a606193fb111929d9e1b48ae772b0d1b12b | [
"MIT"
] | null | null | null | src/PageSections/_Private/stringify_shape.hh | YuryBandarchuk16/hh-apidoc | 996f8a606193fb111929d9e1b48ae772b0d1b12b | [
"MIT"
] | null | null | null | <?hh // strict
/*
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
namespace Facebook\HHAPIDoc\PageSections\_Private;
use type Facebook\DefinitionFinder\Scan... | 23.926829 | 67 | 0.591233 | [
"shape"
] |
ed3d8997c86f881f942299acd55ce1e7c97a6767 | 4,769 | hpp | C++ | cmdstan/stan/lib/stan_math/test/unit/math/torsten/pmx_neut_mpi_test_fixture.hpp | csetraynor/Torsten | 55b59b8068e2a539346f566ec698c755a9e3536c | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/torsten/pmx_neut_mpi_test_fixture.hpp | csetraynor/Torsten | 55b59b8068e2a539346f566ec698c755a9e3536c | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/torsten/pmx_neut_mpi_test_fixture.hpp | csetraynor/Torsten | 55b59b8068e2a539346f566ec698c755a9e3536c | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_TORSTEN_PK_NEUT_MPI_TEST_FIXTURE_HPP
#define STAN_MATH_TORSTEN_PK_NEUT_MPI_TEST_FIXTURE_HPP
#include <stan/math/rev/mat.hpp>
#include <gtest/gtest.h>
#include <boost/numeric/odeint.hpp>
#include <test/unit/math/torsten/test_util.hpp>
#include <test/unit/math/torsten/pmx_ode_test_fixture.hpp>
#include... | 27.096591 | 106 | 0.565737 | [
"vector"
] |
ed42979f645d9e7bff8ab006a90fac4dccb35ae1 | 3,246 | cpp | C++ | RenderCore/Techniques/ModelCache.cpp | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | 3 | 2018-05-17T08:39:39.000Z | 2020-12-09T13:20:26.000Z | RenderCore/Techniques/ModelCache.cpp | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | null | null | null | RenderCore/Techniques/ModelCache.cpp | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | 1 | 2021-11-14T08:50:15.000Z | 2021-11-14T08:50:15.000Z | // Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#include "ModelCache.h"
#include "SimpleModelRenderer.h"
#include "../Assets/ModelScaffold.h"
#include "../Assets/MaterialScaffold.h"
#include "../../Assets/AssetLRUHeap.h"
#in... | 34.531915 | 169 | 0.735675 | [
"vector"
] |
ed42fa8ccd1c6e6f49a3232e57cc274e10591574 | 4,678 | cpp | C++ | ConversionWorker.cpp | Phitherek/oziexplorer_uiview_converter | 4036100f5438f4d692e6ae4a29586b4162bffa87 | [
"MIT"
] | null | null | null | ConversionWorker.cpp | Phitherek/oziexplorer_uiview_converter | 4036100f5438f4d692e6ae4a29586b4162bffa87 | [
"MIT"
] | null | null | null | ConversionWorker.cpp | Phitherek/oziexplorer_uiview_converter | 4036100f5438f4d692e6ae4a29586b4162bffa87 | [
"MIT"
] | null | null | null | //
// Created by phitherek on 20.11.15.
//
#include <gtkmm/textview.h>
#include <glibmm/fileutils.h>
#include <glibmm/regex.h>
#include "ConversionWorker.h"
#include "Converter.h"
#include "ConversionError.h"
#include <sstream>
#include <gtkmm/progressbar.h>
#include <iostream>
#include <chrono>
#include <thread>
Con... | 36.263566 | 138 | 0.578666 | [
"vector"
] |
ed44400870c9ff138543caf83250f3a250111fab | 13,976 | cpp | C++ | Source/UnitTests/UnitTest_Model.cpp | nTopology/lib3mf | 8ad7511c59df88376554805105def4cdacbc8e77 | [
"BSD-2-Clause"
] | 2 | 2017-04-18T05:56:37.000Z | 2018-06-27T21:52:03.000Z | Source/UnitTests/UnitTest_Model.cpp | martinweismann/lib3mf | 6332b23de0d5ec26aac8b5a53c169a54d4b60a34 | [
"BSD-2-Clause"
] | null | null | null | Source/UnitTests/UnitTest_Model.cpp | martinweismann/lib3mf | 6332b23de0d5ec26aac8b5a53c169a54d4b60a34 | [
"BSD-2-Clause"
] | null | null | null | /*++
Copyright (C) 2017 Autodesk Inc.
Copyright (C) 2015 Microsoft Corporation (Original Author)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above ... | 41.227139 | 125 | 0.766171 | [
"mesh",
"model"
] |
ed447a6ee383c4ca62ff24721d6d6501ed9bdba4 | 85,464 | cpp | C++ | modules/dynamic_modules/fulltick/fulltick.cpp | mykeels/simple | 3074fa32a8d1e8e691ffa1dc48b2767898bc943c | [
"MIT"
] | 2 | 2018-04-12T11:55:13.000Z | 2018-11-21T06:51:42.000Z | modules/dynamic_modules/fulltick/fulltick.cpp | mykeels/simple | 3074fa32a8d1e8e691ffa1dc48b2767898bc943c | [
"MIT"
] | 1 | 2018-09-24T22:09:59.000Z | 2018-09-24T22:10:41.000Z | modules/dynamic_modules/fulltick/fulltick.cpp | appcypher/simple | 7fad63106d7537708b17df2bf12f193c8271ab97 | [
"MIT"
] | 1 | 2018-11-21T06:51:48.000Z | 2018-11-21T06:51:48.000Z | #include "fulltick_delegate.cpp"
/** the callback class for fulltick library **/
CallbackStruct::CallbackStruct(void *the_pointer, String *the_block, Fl_Widget *the_widget) {
pointer = the_pointer ;
block = the_block ;
widget = the_widget ;
}
/** the callback delegate for the fulltick library **/
static void Simpl... | 30.029515 | 200 | 0.746934 | [
"object"
] |
ed479a80ad8ea2fb07f572382f1d2fd26d8e1331 | 5,281 | cpp | C++ | src/ReadGraph.cpp | ekg/shasta | e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01 | [
"BSD-3-Clause"
] | null | null | null | src/ReadGraph.cpp | ekg/shasta | e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01 | [
"BSD-3-Clause"
] | null | null | null | src/ReadGraph.cpp | ekg/shasta | e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01 | [
"BSD-3-Clause"
] | null | null | null | // Shasta.
#include "ReadGraph.hpp"
using namespace ChanZuckerberg;
using namespace shasta;
// Boost libraries.
#include <boost/graph/graphviz.hpp>
// Standard library.
#include "fstream.hpp"
#include <queue>
const uint32_t ReadGraph::infiniteDistance = std::numeric_limits<uint32_t>::max();
void RawReadGraph::Visi... | 28.857923 | 93 | 0.607461 | [
"vector"
] |
ed484e5611034fc7514260a7b58c59a5c89a59a7 | 2,312 | cpp | C++ | src/pyhookv.cpp | philkr/pyhookv | 05fb5b718adad32565e42d6f5c4ec769cd096b64 | [
"BSD-2-Clause"
] | 8 | 2018-06-26T02:38:37.000Z | 2021-08-02T06:41:36.000Z | src/pyhookv.cpp | philkr/pyhookv | 05fb5b718adad32565e42d6f5c4ec769cd096b64 | [
"BSD-2-Clause"
] | null | null | null | src/pyhookv.cpp | philkr/pyhookv | 05fb5b718adad32565e42d6f5c4ec769cd096b64 | [
"BSD-2-Clause"
] | 4 | 2018-07-19T06:57:08.000Z | 2021-11-03T15:55:57.000Z | #define NOMINMAX
#define _CRT_SECURE_NO_WARNINGS
#include <windows.h>
#include "scripthook\main.h"
#include "scripthook\enums.h"
#include "scripthook\natives.h"
#include "pybind11/pybind11.h"
#include "pybind11/embed.h"
#include "pybind11/stl.h"
namespace py = pybind11;
void defEnums(py::module m);
void defNatives(py:... | 36.125 | 884 | 0.732699 | [
"object"
] |
ed56c75c6c6bd05b6690aa168e54a90d37b1610c | 1,042 | cpp | C++ | Algorithms/0265.Paint_House_II.cpp | metehkaya/LeetCode | 52f4a1497758c6f996d515ced151e8783ae4d4d2 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/LeetCode/Problems/0265.Paint_House_II.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/LeetCode/Problems/0265.Paint_House_II.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | class Solution {
public:
int minCostII(vector<vector<int>>& ar) {
int n = ar.size();
if(n == 0)
return 0;
int k = ar[0].size();
int dp[n][k];
for( int i = 0 ; i < k ; i++ )
dp[0][i] = ar[0][i];
for( int i = 1 ; i < n ; i++ ) {
int b... | 30.647059 | 68 | 0.304223 | [
"vector"
] |
ed5781f99ba25b9caf2401be0e381c07dfdfaaf0 | 9,177 | cpp | C++ | src/FeatureHandling/src/OrFastDetector.cpp | makra89/Visual-Odometry-Cpp | fc1cb8741430f6bf16185d8416eb421422e54ad5 | [
"BSD-3-Clause"
] | 7 | 2021-03-08T13:18:52.000Z | 2022-01-15T13:39:49.000Z | src/FeatureHandling/src/OrFastDetector.cpp | makra89/Visual-Odometry-Cpp | fc1cb8741430f6bf16185d8416eb421422e54ad5 | [
"BSD-3-Clause"
] | 17 | 2020-01-21T23:11:31.000Z | 2021-03-03T19:49:05.000Z | src/FeatureHandling/src/OrFastDetector.cpp | makra89/Visual-Odometry-Cpp | fc1cb8741430f6bf16185d8416eb421422e54ad5 | [
"BSD-3-Clause"
] | 3 | 2020-05-26T06:52:53.000Z | 2021-09-12T22:41:16.000Z | /* This file is part of the Visual-Odometry-Cpp project.
* It is subject to the license terms in the LICENSE file
* found in the top-level directory of this distribution.
*
* Copyright (C) 2020 Manuel Kraus
*/
#include <Vocpp_FeatureHandling/OrFastDetector.h>
#include <Vocpp_Utils/ImageProcessingUtils.h>
#include <Voc... | 41.90411 | 176 | 0.627547 | [
"vector"
] |
ed5d543a3a2568ac824fc9d8a110eccb9928e5e8 | 8,596 | cpp | C++ | src/Magnum/Shaders/Test/MeshVisualizerGL_Test.cpp | Anon1428/magnum | 384e148c24293f513df69e6c03f94a2d4a1e3b6a | [
"MIT"
] | 1 | 2022-03-02T19:44:27.000Z | 2022-03-02T19:44:27.000Z | src/Magnum/Shaders/Test/MeshVisualizerGL_Test.cpp | Anon1428/magnum | 384e148c24293f513df69e6c03f94a2d4a1e3b6a | [
"MIT"
] | null | null | null | src/Magnum/Shaders/Test/MeshVisualizerGL_Test.cpp | Anon1428/magnum | 384e148c24293f513df69e6c03f94a2d4a1e3b6a | [
"MIT"
] | null | null | null | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021, 2022 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files ... | 41.326923 | 170 | 0.728362 | [
"object"
] |
ed5fc723fb5b5d45db101e44c42a2c840b2ffacf | 75,679 | cpp | C++ | asm.cpp | mras0/AmiEmu | 90288e431e6442c9201621368d3e98a987b80663 | [
"MIT"
] | 4 | 2021-09-27T16:04:10.000Z | 2021-10-24T02:05:22.000Z | asm.cpp | mras0/AmiEmu | 90288e431e6442c9201621368d3e98a987b80663 | [
"MIT"
] | null | null | null | asm.cpp | mras0/AmiEmu | 90288e431e6442c9201621368d3e98a987b80663 | [
"MIT"
] | null | null | null | #include "asm.h"
#include "instruction.h"
#include "ioutil.h"
#include "disasm.h"
#include "memory.h"
#include <sstream>
#include <stdexcept>
#include <unordered_map>
#include <map>
#include <vector>
#include <string>
#include <cassert>
#include <iostream>
#include <algorithm>
#include <memory>
constexpr uint8_t opsiz... | 39.601779 | 214 | 0.487374 | [
"vector"
] |
ed61426a7975266a692d8a460615b80a6a809cca | 942 | cpp | C++ | C++/maximum-vacation-days.cpp | jaiskid/LeetCode-Solutions | a8075fd69087c5463f02d74e6cea2488fdd4efd1 | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/maximum-vacation-days.cpp | pnandini/LeetCode | e746c3298be96dec8e160da9378940568ef631b1 | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/maximum-vacation-days.cpp | pnandini/LeetCode | e746c3298be96dec8e160da9378940568ef631b1 | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time: O(n^2 * k)
// Space: O(k)
class Solution {
public:
int maxVacationDays(vector<vector<int>>& flights, vector<vector<int>>& days) {
if (days.empty() || flights.empty()) {
return 0;
}
vector<vector<int>> dp(2, vector<int>(days.size()));
for (int week = days[0].siz... | 37.68 | 108 | 0.444798 | [
"vector"
] |
ed647b6115e17035b41da06e1fdde91131c5328f | 27,843 | cc | C++ | main/lsp/LSPTypechecker.cc | streeter/sorbet | 893f8e5cf39d1de4fead40e5fa0c125e60944e78 | [
"Apache-2.0"
] | null | null | null | main/lsp/LSPTypechecker.cc | streeter/sorbet | 893f8e5cf39d1de4fead40e5fa0c125e60944e78 | [
"Apache-2.0"
] | null | null | null | main/lsp/LSPTypechecker.cc | streeter/sorbet | 893f8e5cf39d1de4fead40e5fa0c125e60944e78 | [
"Apache-2.0"
] | null | null | null | #include "main/lsp/LSPTypechecker.h"
#include "absl/synchronization/mutex.h"
#include "absl/synchronization/notification.h"
#include "ast/treemap/treemap.h"
#include "common/concurrency/ConcurrentQueue.h"
#include "common/sort.h"
#include "common/typecase.h"
#include "core/ErrorQueue.h"
#include "core/Unfreeze.h"
#incl... | 43.369159 | 120 | 0.64307 | [
"object",
"vector"
] |
ed6944f4ac10b0ae8ca46a362b917179381ea8ae | 12,901 | hpp | C++ | include/cascade/object.hpp | yw2399/cascade | 5aa0e750851affc0583bea125fa5d6714ca07d97 | [
"BSD-3-Clause"
] | 21 | 2020-09-07T20:57:00.000Z | 2022-03-30T18:18:37.000Z | include/cascade/object.hpp | yw2399/cascade | 5aa0e750851affc0583bea125fa5d6714ca07d97 | [
"BSD-3-Clause"
] | 17 | 2020-09-10T11:09:08.000Z | 2021-12-28T04:56:23.000Z | include/cascade/object.hpp | yw2399/cascade | 5aa0e750851affc0583bea125fa5d6714ca07d97 | [
"BSD-3-Clause"
] | 17 | 2020-09-10T11:00:13.000Z | 2022-02-26T22:00:27.000Z | #pragma once
#include <chrono>
#include <iostream>
#include <map>
#include <memory>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
#include <optional>
#include <tuple>
#include <derecho/conf/conf.hpp>
#include <derecho/core/derecho.hpp>
#include <derecho/mutils-serialization/SerializationSup... | 39.57362 | 159 | 0.627316 | [
"object",
"vector"
] |
ed6c321e554a5b77731a84806dc0430e0f423388 | 2,261 | cpp | C++ | src/Simulation.cpp | IreneGR92/Group-augmentation-Basic | 9225c44e6608981d25b45e5575fd9922a358d1e0 | [
"MIT"
] | 1 | 2018-12-22T08:49:09.000Z | 2018-12-22T08:49:09.000Z | src/Simulation.cpp | IreneGR92/Group-augmentation-Basic | 9225c44e6608981d25b45e5575fd9922a358d1e0 | [
"MIT"
] | null | null | null | src/Simulation.cpp | IreneGR92/Group-augmentation-Basic | 9225c44e6608981d25b45e5575fd9922a358d1e0 | [
"MIT"
] | 1 | 2018-12-22T08:49:10.000Z | 2018-12-22T08:49:10.000Z |
#include "Simulation.h"
#include <iostream>
#include <cassert>
#include "Simulation.h"
#include "stats/Statistics.h"
#include <vector>
Simulation::Simulation(const int replica)
: replica(replica),
population(),
parameters(Parameters::instance()) {
}
void Simulation::run() {
// Outp... | 25.988506 | 179 | 0.647059 | [
"vector"
] |
ed6fc87a737c6978893b2bbc8a71a65d17bd0787 | 3,731 | cpp | C++ | src/planner/vectorfield/MoveEndEffectorOffsetVectorField.cpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 181 | 2016-04-22T15:11:23.000Z | 2022-03-26T12:51:08.000Z | src/planner/vectorfield/MoveEndEffectorOffsetVectorField.cpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 514 | 2016-04-20T04:29:51.000Z | 2022-02-10T19:46:21.000Z | src/planner/vectorfield/MoveEndEffectorOffsetVectorField.cpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 31 | 2017-03-17T09:53:02.000Z | 2022-03-23T10:35:05.000Z | #include "aikido/planner/vectorfield/MoveEndEffectorOffsetVectorField.hpp"
#include <dart/dynamics/BodyNode.hpp>
#include <dart/math/MathTypes.hpp>
#include <dart/optimizer/Function.hpp>
#include <dart/optimizer/Problem.hpp>
#include "aikido/planner/vectorfield/VectorFieldUtil.hpp"
#include "detail/VectorFieldPlanne... | 33.918182 | 80 | 0.713482 | [
"vector"
] |
142e4bd6a18871c1da05fed946f159202ae6ab20 | 10,367 | cpp | C++ | src/db/timing/spef/net_parasitics.cpp | lbz007/rectanglequery | 59d6eb007bf65480fa3e9245542d0b6071f81831 | [
"BSD-3-Clause"
] | null | null | null | src/db/timing/spef/net_parasitics.cpp | lbz007/rectanglequery | 59d6eb007bf65480fa3e9245542d0b6071f81831 | [
"BSD-3-Clause"
] | null | null | null | src/db/timing/spef/net_parasitics.cpp | lbz007/rectanglequery | 59d6eb007bf65480fa3e9245542d0b6071f81831 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file net_parasitics.cpp
* @date 2020-11-02
* @brief
*
* Copyright (C) 2020 NIIC EDA
*
* All rights reserved.
*
* This software may be modified and distributed under the terms
*
* of the BSD license. See the LICENSE file for details.
*/
#include "db/timing/spef/net_parasitics.h"
#include <iostream>... | 29.202817 | 97 | 0.586959 | [
"object",
"vector"
] |
143047c55b6f62257c4851efa630ebf7f75d6056 | 2,524 | cpp | C++ | services/call/src/ims_call.cpp | openharmony-gitee-mirror/telephony_call_manager | c24bda5ddd9baeb4987a29b20224ffa2aa9faef6 | [
"Apache-2.0"
] | null | null | null | services/call/src/ims_call.cpp | openharmony-gitee-mirror/telephony_call_manager | c24bda5ddd9baeb4987a29b20224ffa2aa9faef6 | [
"Apache-2.0"
] | null | null | null | services/call/src/ims_call.cpp | openharmony-gitee-mirror/telephony_call_manager | c24bda5ddd9baeb4987a29b20224ffa2aa9faef6 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:17:20.000Z | 2021-09-13T11:17:20.000Z | /*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 20.688525 | 97 | 0.738906 | [
"vector"
] |
1430debc5b0c1f41c64ed57e9ad0e4e12506a346 | 15,296 | cpp | C++ | tess-two/jni/com_googlecode_tesseract_android/src/ccmain/cube_control.cpp | andyfuturex/tess-two | db698d0e4a13af1cfef593a246e0398d1c7c1ccb | [
"Apache-2.0"
] | 10 | 2016-03-10T11:43:56.000Z | 2020-01-23T13:30:39.000Z | tess-two/jni/com_googlecode_tesseract_android/src/ccmain/cube_control.cpp | andyfuturex/tess-two | db698d0e4a13af1cfef593a246e0398d1c7c1ccb | [
"Apache-2.0"
] | 1 | 2019-02-12T15:39:10.000Z | 2019-02-12T15:47:52.000Z | tess-two/jni/com_googlecode_tesseract_android/src/ccmain/cube_control.cpp | andyfuturex/tess-two | db698d0e4a13af1cfef593a246e0398d1c7c1ccb | [
"Apache-2.0"
] | 9 | 2016-04-09T14:18:21.000Z | 2019-10-04T06:30:33.000Z | /******************************************************************
* File: cube_control.cpp
* Description: Tesseract class methods for invoking cube convolutional
* neural network word recognizer.
* Author: Raquel Romano
* Created: September 2009
*
**********************************... | 35.325635 | 79 | 0.659519 | [
"object"
] |
14321413280fbdb853d0af275e92f86976ade9cb | 8,094 | cpp | C++ | dev/Code/CryEngine/CryAction/VehicleSystem/ScriptBind_VehicleSeat.cpp | crazyskateface/lumberyard | 164512f8d415d6bdf37e195af319ffe5f96a8f0b | [
"AML"
] | 5 | 2018-08-17T21:05:55.000Z | 2021-04-17T10:48:26.000Z | dev/Code/CryEngine/CryAction/VehicleSystem/ScriptBind_VehicleSeat.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | null | null | null | dev/Code/CryEngine/CryAction/VehicleSystem/ScriptBind_VehicleSeat.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | 5 | 2017-12-05T16:36:00.000Z | 2021-04-27T06:33:54.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... | 31.011494 | 124 | 0.587225 | [
"vector"
] |
1433e1ca1512252553d0bdc23ad35ea4a7c34666 | 1,007 | hpp | C++ | src/include/duckdb/storage/table/append_state.hpp | pachamaltese/duckdb | 81a0e923fd9d061f79c97aec05b41dfa26cf8581 | [
"MIT"
] | 1 | 2021-09-15T10:29:20.000Z | 2021-09-15T10:29:20.000Z | src/include/duckdb/storage/table/append_state.hpp | pachamaltese/duckdb | 81a0e923fd9d061f79c97aec05b41dfa26cf8581 | [
"MIT"
] | null | null | null | src/include/duckdb/storage/table/append_state.hpp | pachamaltese/duckdb | 81a0e923fd9d061f79c97aec05b41dfa26cf8581 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/storage/table/append_state.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/common/common.hpp"
#include "duckdb/storag... | 23.418605 | 80 | 0.625621 | [
"vector"
] |
1434d660d3b93d7d44059ae9f171cd30f220eae8 | 3,675 | cc | C++ | RecoMuon/MuonIdentification/plugins/CosmicsMuonIdProducer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoMuon/MuonIdentification/plugins/CosmicsMuonIdProducer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoMuon/MuonIdentification/plugins/CosmicsMuonIdProducer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include <string>
#include <vector>
#include "DataFormats/Common/interface/ValueMap.h"
#include "DataFormats/MuonReco/interface/MuonFwd.h"
#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "RecoMuon/MuonIdentification/interface/MuonCosmicsId.h"
#include "FWCo... | 39.516129 | 117 | 0.74068 | [
"vector"
] |
1439705c7abba5ded77669f5f45224e22b2b10ed | 8,639 | hpp | C++ | libs/muddle/include/muddle/muddle_interface.hpp | devjsc/ledger | 5681480faf6e2aeee577f149c17745d6ab4d4ab3 | [
"Apache-2.0"
] | 1 | 2019-09-11T09:46:04.000Z | 2019-09-11T09:46:04.000Z | libs/muddle/include/muddle/muddle_interface.hpp | devjsc/ledger | 5681480faf6e2aeee577f149c17745d6ab4d4ab3 | [
"Apache-2.0"
] | null | null | null | libs/muddle/include/muddle/muddle_interface.hpp | devjsc/ledger | 5681480faf6e2aeee577f149c17745d6ab4d4ab3 | [
"Apache-2.0"
] | 1 | 2019-09-19T12:38:46.000Z | 2019-09-19T12:38:46.000Z | #pragma once
//------------------------------------------------------------------------------
//
// 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 Licen... | 28.989933 | 98 | 0.676351 | [
"vector"
] |
143aade4b66696ad4fde531ee5d970df96cac0a3 | 12,046 | cxx | C++ | linux_packages/source/hypre-2.9.0b/src/FEI_mv/femli/mli_solver_mls.cxx | pangkeji/warp3d | 8b273b337e557f734298940a63291697cd561d02 | [
"NCSA"
] | 75 | 2015-07-06T18:14:20.000Z | 2022-01-24T02:54:32.000Z | src/ilPSP/layer_0/3rd_party/Hypre2.9.0b/src/FEI_mv/femli/mli_solver_mls.cxx | leyel/BoSSS | 39f58a1a64a55e44f51384022aada20a5b425230 | [
"Apache-2.0"
] | 15 | 2017-04-07T18:09:58.000Z | 2022-02-28T01:48:33.000Z | src/ilPSP/layer_0/3rd_party/Hypre2.9.0b/src/FEI_mv/femli/mli_solver_mls.cxx | leyel/BoSSS | 39f58a1a64a55e44f51384022aada20a5b425230 | [
"Apache-2.0"
] | 41 | 2015-05-24T23:24:54.000Z | 2021-12-13T22:07:45.000Z | /*BHEADER**********************************************************************
* Copyright (c) 2008, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* This file is part of HYPRE. See file COPYRIGHT for details.
*
* HYPRE is free software; you can redistribute... | 32.733696 | 81 | 0.471277 | [
"vector"
] |
14431cfaaf8f84399523bf9effd3617bf9b8bed9 | 5,181 | cpp | C++ | src/xtd.drawing.native.wxwidgets/src/xtd/drawing/native/wxwidgets/font_family.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | null | null | null | src/xtd.drawing.native.wxwidgets/src/xtd/drawing/native/wxwidgets/font_family.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | null | null | null | src/xtd.drawing.native.wxwidgets/src/xtd/drawing/native/wxwidgets/font_family.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cmath>
#include <xtd/convert_string.h>
#define __XTD_DRAWING_NATIVE_LIBRARY__
#include <xtd/drawing/native/font.h>
#include <xtd/drawing/native/font_family.h>
#undef __XTD_DRAWING_NATIVE_LIBRARY__
#include <wx/app.h>
#include <wx/colour.h>
#include <wx/fontenum.h>
#include <wx/dcscreen.h>... | 35.244898 | 331 | 0.762787 | [
"vector"
] |
1444069264c42f3fd1676d7aed862d7f329ce5e9 | 5,448 | cpp | C++ | src/Base/FileFormats/PincoFormat/PincoFormatDataStore.cpp | PhilipVinc/PincoSimulator | 562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3 | [
"MIT"
] | 1 | 2017-10-23T13:22:01.000Z | 2017-10-23T13:22:01.000Z | src/Base/FileFormats/PincoFormat/PincoFormatDataStore.cpp | PhilipVinc/PincoSimulator | 562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3 | [
"MIT"
] | null | null | null | src/Base/FileFormats/PincoFormat/PincoFormatDataStore.cpp | PhilipVinc/PincoSimulator | 562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3 | [
"MIT"
] | null | null | null | //
// PincoFormatDataStore.cpp
// TWMC++
//
// Created by Filippo Vicentini on 22/09/17.
// Copyright © 2017 Filippo Vicentini. All rights reserved.
//
#include "PincoFormatDataStore.hpp"
#include "ChunkFileSet.hpp"
#include "ChunkRegister.hpp"
#include "Base/TaskResults.hpp"
#include <algorithm>
#include <memor... | 30.606742 | 117 | 0.650147 | [
"vector"
] |
144654bb0c4a0cfba3f0d6fdfc70a989b1d899c3 | 1,079 | cpp | C++ | src/_leetcode/leet_350.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | src/_leetcode/leet_350.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | src/_leetcode/leet_350.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | /*
* ====================== leet_350.cpp ==========================
* -- tpr --
* CREATE -- 2020.07.13
* MODIFY --
* ----------------------------------------------------------
* 350. 两个数组的交集 II
*/
#include "in... | 18.929825 | 83 | 0.318814 | [
"vector"
] |
14484fc6cd3b5ed975aa76245f60fdd1f5905a7d | 2,171 | hpp | C++ | include/gold/button.hpp | josiest/gold | 140d7c92fce8548b8a4cc6d2eda4be5b12e32975 | [
"MIT"
] | null | null | null | include/gold/button.hpp | josiest/gold | 140d7c92fce8548b8a4cc6d2eda4be5b12e32975 | [
"MIT"
] | null | null | null | include/gold/button.hpp | josiest/gold | 140d7c92fce8548b8a4cc6d2eda4be5b12e32975 | [
"MIT"
] | null | null | null | #pragma once
// frameworks
#include <SDL.h>
// resource handlers
#include "gold/serialization.hpp" // unqiue_texture
// data types
#include "gold/widget.hpp"
#include <cstdint>
namespace au {
class button : public itext_widget {
public:
button() = delete;
button(SDL_Renderer * renderer, SDL_Rect const & b... | 26.47561 | 75 | 0.68678 | [
"render",
"object"
] |
144993c6e6788fada28a395b712042471db05492 | 892 | cpp | C++ | cpp/boost/container/vector_move_container/main.cpp | kanganabhargava/learning-c-cpp | 4beff4d800650d100b575a4067cc0e654a330f79 | [
"MIT"
] | 10 | 2018-06-14T07:21:15.000Z | 2022-02-13T14:46:42.000Z | cpp/boost/container/vector_move_container/main.cpp | kanganabhargava/learning-c-cpp | 4beff4d800650d100b575a4067cc0e654a330f79 | [
"MIT"
] | null | null | null | cpp/boost/container/vector_move_container/main.cpp | kanganabhargava/learning-c-cpp | 4beff4d800650d100b575a4067cc0e654a330f79 | [
"MIT"
] | 5 | 2019-01-10T14:10:11.000Z | 2020-12-08T09:54:30.000Z | #include <boost/container/vector.hpp>
#include <boost/move/utility_core.hpp>
#include <cassert>
// Non-copyable class
class non_copyable {
BOOST_MOVABLE_BUT_NOT_COPYABLE(non_copyable)
public:
non_copyable() {}
non_copyable(BOOST_RV_REF(non_copyable)) {}
non_copyable& operator=(BOOST_RV_REF(non_copyable)) ... | 22.3 | 69 | 0.713004 | [
"vector"
] |
144a1ea575d1e8b3b93aca9a128d9da9b435d8d2 | 7,749 | cpp | C++ | jn.cpp | katahiromz/JapaneseNumber | 6adaed627250a383b4596f808c110d4eed1d55cf | [
"MIT"
] | null | null | null | jn.cpp | katahiromz/JapaneseNumber | 6adaed627250a383b4596f808c110d4eed1d55cf | [
"MIT"
] | null | null | null | jn.cpp | katahiromz/JapaneseNumber | 6adaed627250a383b4596f808c110d4eed1d55cf | [
"MIT"
] | null | null | null | #ifdef _WIN32
#include <windows.h>
#include <mmsystem.h>
#endif
#include "jn.hpp"
#include <vector>
#include <cstdlib>
#include <cstring>
#include "resource.h"
const char *JN_wide_to_ansi(int codepage, const wchar_t *str)
{
static char s_buf[1024];
WideCharToMultiByte(codepage, 0, str, -1,... | 25.159091 | 96 | 0.557749 | [
"vector"
] |
14574c62da2d0a2c60177a752882038b0a71fa6b | 23,275 | cpp | C++ | it2nsf/source/toadloader.cpp | mukunda-/it2nsf | 62765a9627b7be45d570d444057f37585f0406d8 | [
"BSD-3-Clause"
] | 5 | 2015-07-13T00:58:07.000Z | 2022-03-20T16:49:47.000Z | it2nsf/source/toadloader.cpp | mukunda-/it2nsf | 62765a9627b7be45d570d444057f37585f0406d8 | [
"BSD-3-Clause"
] | 1 | 2018-05-12T20:43:32.000Z | 2018-05-12T20:43:32.000Z | it2nsf/source/toadloader.cpp | mukunda-/it2nsf | 62765a9627b7be45d570d444057f37585f0406d8 | [
"BSD-3-Clause"
] | 3 | 2018-05-12T18:36:18.000Z | 2018-07-10T14:35:42.000Z | /*********************************************************************************************
* IT2NSF
*
* Copyright (C) 2009, mukunda, coda, madbrain, reduz
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are... | 28.770087 | 135 | 0.484168 | [
"vector"
] |
1457673677571d693ad34b77dd400efc404464c0 | 3,362 | hpp | C++ | include/types.hpp | mrityunjay-tripathi/qpp | 68c76a1f4f2dd85b453521326b2186dece498cbd | [
"MIT"
] | null | null | null | include/types.hpp | mrityunjay-tripathi/qpp | 68c76a1f4f2dd85b453521326b2186dece498cbd | [
"MIT"
] | null | null | null | include/types.hpp | mrityunjay-tripathi/qpp | 68c76a1f4f2dd85b453521326b2186dece498cbd | [
"MIT"
] | null | null | null | /*
* This file is part of Quantum++.
*
* Copyright (c) 2013 - 2021 softwareQ Inc. All rights reserved.
*
* MIT License
*
* 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 restr... | 27.557377 | 80 | 0.709399 | [
"vector"
] |
145d894fd930a6203f2865dc9e4ac0e2928ab82c | 328 | hpp | C++ | include/UncompressedVoxel.hpp | basticirca/libpcc | 307792d24ad75bed70872f0145b121377adae93f | [
"MIT"
] | 2 | 2018-09-22T12:48:18.000Z | 2019-04-02T08:55:44.000Z | include/UncompressedVoxel.hpp | basticirca/libpcc | 307792d24ad75bed70872f0145b121377adae93f | [
"MIT"
] | null | null | null | include/UncompressedVoxel.hpp | basticirca/libpcc | 307792d24ad75bed70872f0145b121377adae93f | [
"MIT"
] | 3 | 2019-05-04T04:21:39.000Z | 2020-12-01T00:59:13.000Z | #ifndef LIBPCC_UNCOMPRESSEDVOXEL_HPP
#define LIBPCC_UNCOMPRESSEDVOXEL_HPP
/**
* Data transfer object to define basic (property) layout of a voxel.
* Offers a 3D position as well as an 8 bit rgba-color.
*/
struct UncompressedVoxel {
float pos[3];
unsigned char color_rgba[4];
};
#endif //LIBPCC_UNCOMPRESSEDVO... | 23.428571 | 69 | 0.759146 | [
"object",
"3d"
] |
1465be20f79129506e883a0a9ca98a6c2160b83d | 7,663 | cpp | C++ | Source/Plugins/TeD3D11RenderAPI/TeD3D11GpuProgram.cpp | GameDevery/TweedeFrameworkRedux | 69a28fe171db33d00066b97b9b6bf89f6ef3e3a4 | [
"MIT"
] | 57 | 2019-09-02T01:10:37.000Z | 2022-01-11T06:28:10.000Z | Source/Plugins/TeD3D11RenderAPI/TeD3D11GpuProgram.cpp | GameDevery/TweedeFrameworkRedux | 69a28fe171db33d00066b97b9b6bf89f6ef3e3a4 | [
"MIT"
] | null | null | null | Source/Plugins/TeD3D11RenderAPI/TeD3D11GpuProgram.cpp | GameDevery/TweedeFrameworkRedux | 69a28fe171db33d00066b97b9b6bf89f6ef3e3a4 | [
"MIT"
] | 6 | 2020-02-29T17:19:30.000Z | 2021-10-30T04:29:22.000Z | #include "TeD3D11GpuProgram.h"
#include "TeD3D11Device.h"
//#include "RenderAPI/TeGpuParams.h"
#include "TeD3D11RenderAPI.h"
#include "RenderAPI/TeGpuProgramManager.h"
#include "RenderAPI/TeHardwareBufferManager.h"
#include <regex>
namespace te
{
UINT32 D3D11GpuProgram::GlobalProgramId = 0;
D3D11GpuProgram::D... | 33.17316 | 130 | 0.667624 | [
"geometry",
"render"
] |
146de492a65d833fe2a1bd85b259cb34ff64d09e | 6,589 | cpp | C++ | VelocityCalibration/estimateVelocity.cpp | kdulski/j-pet-framework-examples | ab2592a2c6cf8f901f5732f8878b750b9a7b6a49 | [
"Apache-2.0"
] | 2 | 2017-12-12T16:51:06.000Z | 2021-11-04T08:01:34.000Z | VelocityCalibration/estimateVelocity.cpp | kdulski/j-pet-framework-examples | ab2592a2c6cf8f901f5732f8878b750b9a7b6a49 | [
"Apache-2.0"
] | 89 | 2016-07-23T22:12:09.000Z | 2022-01-19T13:21:29.000Z | VelocityCalibration/estimateVelocity.cpp | kdulski/j-pet-framework-examples | ab2592a2c6cf8f901f5732f8878b750b9a7b6a49 | [
"Apache-2.0"
] | 34 | 2016-06-18T17:47:35.000Z | 2021-04-27T12:18:00.000Z | #include <iostream>
#include <vector>
#include <utility>
#include <fstream>
#include <sstream>
#include "TGraph.h"
#include "TCanvas.h"
#include "TF1.h"
#include "TStyle.h"
#include "TGraphErrors.h"
#include <map>
#include <algorithm>
std::vector< std::pair<int,double> > takeData(const std::string file, const char thr... | 25.148855 | 156 | 0.656701 | [
"vector"
] |
146f9431204f454305a8c67f29c7d687cf48fff1 | 360 | cpp | C++ | test/maths/intersection.test.cpp | guillaume-haerinck/voxel-editor | 78c2db3e7f33a1944ef6202c8ae33f4008695153 | [
"MIT"
] | 7 | 2019-12-30T21:01:06.000Z | 2022-02-24T07:41:52.000Z | test/maths/intersection.test.cpp | guillaume-haerinck/voxel-editor | 78c2db3e7f33a1944ef6202c8ae33f4008695153 | [
"MIT"
] | null | null | null | test/maths/intersection.test.cpp | guillaume-haerinck/voxel-editor | 78c2db3e7f33a1944ef6202c8ae33f4008695153 | [
"MIT"
] | 1 | 2020-04-26T22:02:29.000Z | 2020-04-26T22:02:29.000Z | #include <catch2/catch.hpp>
#include <glm/glm.hpp>
#include "maths/intersection.h"
SCENARIO("Intersection functions should say when an object intersect another and give the point of intersection", "[intersection]") {
GIVEN("Blabla") {
WHEN("blabla") {
THEN("blabla") {
REQUIRE... | 21.176471 | 133 | 0.586111 | [
"object"
] |
146fdcbbe003c296861e9829f9471bba94dc5a2d | 655 | cpp | C++ | Dataset/Leetcode/train/112/34.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/112/34.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/112/34.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
void dfs(TreeNode * root, vector<int>&result,int sum){
sum += root->val;
if(!root->left && !root->right){ //如果是叶子节点
result.push_back(sum);
return;
}
if(root->left)
dfs(root->left, result,sum);
if(root->right)
... | 23.392857 | 58 | 0.464122 | [
"vector"
] |
1475eabee1e9a5f95e4eb8009dd07469f80bcfd5 | 13,951 | cc | C++ | src/trace_processor/dynamic/experimental_flamegraph_generator.cc | SolaceDev/perfetto | cf4922dea8779ff37f641b2e5b652f71509320dc | [
"Apache-2.0"
] | null | null | null | src/trace_processor/dynamic/experimental_flamegraph_generator.cc | SolaceDev/perfetto | cf4922dea8779ff37f641b2e5b652f71509320dc | [
"Apache-2.0"
] | null | null | null | src/trace_processor/dynamic/experimental_flamegraph_generator.cc | SolaceDev/perfetto | cf4922dea8779ff37f641b2e5b652f71509320dc | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2020 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... | 37.202667 | 80 | 0.691922 | [
"vector"
] |
148560d968b422887fafd668a98b40d48dbc5dde | 2,159 | cpp | C++ | examples/manual/rotate.cpp | isabella232/stdcxx | b0b0cab391b7b1f2d17ef4342aeee6b792bde63c | [
"Apache-2.0"
] | 53 | 2015-01-13T05:46:43.000Z | 2022-02-24T23:46:04.000Z | examples/manual/rotate.cpp | mann-patel/stdcxx | a22c5192f4b2a8b0b27d3588ea8f6d1faf8b037a | [
"Apache-2.0"
] | 1 | 2021-11-04T12:35:39.000Z | 2021-11-04T12:35:39.000Z | examples/manual/rotate.cpp | isabella232/stdcxx | b0b0cab391b7b1f2d17ef4342aeee6b792bde63c | [
"Apache-2.0"
] | 33 | 2015-07-09T13:31:00.000Z | 2021-11-04T12:12:20.000Z | /**************************************************************************
*
* rotate.cpp - Example program of rotate algorithm.
*
* $Id$
*
***************************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor licens... | 35.393443 | 76 | 0.580361 | [
"vector"
] |
148d0bfdd7cde8709c61959229f1f48d34e03b5a | 17,192 | cpp | C++ | flowsnake.cpp | phma/flowbound | d1bd12aeb77964b33ba0fc4595125027ceb447b8 | [
"Apache-2.0"
] | null | null | null | flowsnake.cpp | phma/flowbound | d1bd12aeb77964b33ba0fc4595125027ceb447b8 | [
"Apache-2.0"
] | null | null | null | flowsnake.cpp | phma/flowbound | d1bd12aeb77964b33ba0fc4595125027ceb447b8 | [
"Apache-2.0"
] | null | null | null | /******************************************************/
/* */
/* flowsnake.cpp - flowsnake */
/* */
/******************************************************/
/* Copyright 2020,2021 Pierre Abbat... | 22.801061 | 93 | 0.576489 | [
"vector"
] |
148e026a0da286de7c85cf96d3cb7f7f645210e3 | 463 | cpp | C++ | codes/c++/122.cpp | YuanweiZHANG/Leetcode | 14a083528431bc65ada8f8265a5ef9d0fae40ecd | [
"MIT"
] | null | null | null | codes/c++/122.cpp | YuanweiZHANG/Leetcode | 14a083528431bc65ada8f8265a5ef9d0fae40ecd | [
"MIT"
] | null | null | null | codes/c++/122.cpp | YuanweiZHANG/Leetcode | 14a083528431bc65ada8f8265a5ef9d0fae40ecd | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
/**
* 2020-04-05
* Veronica
*/
class Solution {
public:
int maxProfit(vector<int>& prices) {
int days = prices.size(), profit = 0;
for (int i = 1; i < days; ++i) {
if (prices[i] > prices[i - 1])
profit += prices[i] - prices[i - 1];
}
return pro... | 16.535714 | 44 | 0.598272 | [
"vector"
] |
148eb55e41c1b8126e505bfbe2a6a2e8fcb7c021 | 85,560 | hh | C++ | MUSIC/solver.hh | NERSC/cosmoflow-sims | 04701369e2dc07d5c9ea1c82bd1ddbd6ef45636e | [
"BSD-3-Clause-LBNL"
] | null | null | null | MUSIC/solver.hh | NERSC/cosmoflow-sims | 04701369e2dc07d5c9ea1c82bd1ddbd6ef45636e | [
"BSD-3-Clause-LBNL"
] | null | null | null | MUSIC/solver.hh | NERSC/cosmoflow-sims | 04701369e2dc07d5c9ea1c82bd1ddbd6ef45636e | [
"BSD-3-Clause-LBNL"
] | 2 | 2018-09-18T22:51:28.000Z | 2019-09-06T09:55:58.000Z | /*
* solver.h
* GravitySolver
*
* Created by Oliver Hahn on 1/20/10.
* Copyright 2010 KIPAC/Stanford University. All rights reserved.
*
*/
#ifndef __SOLVER_HH
#define __SOLVER_HH
#include <cmath>
#include <iostream>
#include "mesh.hh"
#define BEGIN_MULTIGRID_NAMESPACE namespace multigrid {
#define END_MUL... | 77.011701 | 4,996 | 0.64252 | [
"mesh"
] |
149606c121f483041afd9c88e5b6acc11b93f42e | 4,509 | cpp | C++ | src/classifier/classifier.cpp | amtf1683/U-Net | ec203834f1d0ffbbcffea6d7c3e3113c32a20fbc | [
"MIT"
] | 3 | 2020-08-19T09:20:26.000Z | 2020-11-19T10:11:24.000Z | src/classifier/classifier.cpp | hyterazzb/U-Net | ec203834f1d0ffbbcffea6d7c3e3113c32a20fbc | [
"MIT"
] | null | null | null | src/classifier/classifier.cpp | hyterazzb/U-Net | ec203834f1d0ffbbcffea6d7c3e3113c32a20fbc | [
"MIT"
] | 1 | 2022-02-24T07:58:50.000Z | 2022-02-24T07:58:50.000Z | #include "classifier.h"
#include <algorithm>
#include <iostream>
#include "opencv2/imgproc.hpp"
#include "opencv2/opencv.hpp"
namespace mirror {
Classifier::Classifier() {
labels_.clear();
initialized_ = false;
topk_ = 5;
}
Classifier::~Classifier() {
classifier_interpreter_->releaseModel();
clas... | 31.3125 | 132 | 0.643602 | [
"vector",
"model"
] |
149654e2c27bbe796542b6ae9b8eb832f82f0b54 | 7,817 | hpp | C++ | indexed_bzip2/BitReader.hpp | hyanwong/indexed_bzip2 | 95881dda01804214c81f8918e6f0fc73e9b39911 | [
"MIT"
] | null | null | null | indexed_bzip2/BitReader.hpp | hyanwong/indexed_bzip2 | 95881dda01804214c81f8918e6f0fc73e9b39911 | [
"MIT"
] | null | null | null | indexed_bzip2/BitReader.hpp | hyanwong/indexed_bzip2 | 95881dda01804214c81f8918e6f0fc73e9b39911 | [
"MIT"
] | null | null | null | #pragma once
#include <stdint.h>
#include <stdio.h>
#include <cassert>
#include <cstddef>
#include <stdexcept>
#include <sstream>
#include <string>
#include <vector>
#include <unistd.h>
#include <sys/stat.h>
#include "FileReader.hpp"
class BitReader :
public FileReader
{
public:
static constexpr size_t IO... | 26.231544 | 110 | 0.552642 | [
"object",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.