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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
705658634a60fc40f81896bba578391775961240 | 490 | cpp | C++ | Bit Manipulation/singleNumberTriplet.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | Bit Manipulation/singleNumberTriplet.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | Bit Manipulation/singleNumberTriplet.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | // Given an array of integers, every element appears thrice except one. Find that single one.
#include <iostream>
#include <vector>
using namespace std;
int singleNumber(vector<int>& nums) {
int ones = 0, twos = 0;
for (int i = 0; i < nums.size(); i++) {
ones = (ones ^ nums[i]) & ~twos;
twos ... | 21.304348 | 93 | 0.569388 | [
"vector"
] |
7060a557cfeff735c566f8f3e1d7518d4d781f62 | 11,668 | cpp | C++ | src/test/OpenEXRTest/testMultiScanlinePartThreading.cpp | remia/openexr | 566087f13259f4429d55125d1001b2696ac2bfc3 | [
"BSD-3-Clause"
] | 587 | 2015-01-04T09:56:19.000Z | 2019-11-21T13:23:33.000Z | third_party/openexr-672c77d7c923402f549371e08b39ece4552cbb85/src/test/OpenEXRTest/testMultiScanlinePartThreading.cpp | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | 360 | 2015-01-04T10:55:17.000Z | 2019-11-21T16:37:22.000Z | third_party/openexr-672c77d7c923402f549371e08b39ece4552cbb85/src/test/OpenEXRTest/testMultiScanlinePartThreading.cpp | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | 297 | 2015-01-11T12:06:42.000Z | 2019-11-19T21:59:57.000Z | //
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) Contributors to the OpenEXR Project.
//
#ifdef NDEBUG
# undef NDEBUG
#endif
#include <iostream>
#include <string>
#include <vector>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "tmpDir.h"
#include "testMultiScanlinePartThreading... | 26.102908 | 84 | 0.5024 | [
"vector"
] |
70652f0562b99ffdbde758a86e3f5d990c0249ea | 85,972 | cpp | C++ | c_src/common/xapian_core.cpp | schaerli/xapian-erlang-bindings | be72c73b0da254d7d21168c913f11cbf458f36e2 | [
"MIT"
] | 6 | 2015-06-28T20:14:31.000Z | 2020-10-12T21:45:45.000Z | c_src/common/xapian_core.cpp | schaerli/xapian-erlang-bindings | be72c73b0da254d7d21168c913f11cbf458f36e2 | [
"MIT"
] | 1 | 2015-08-11T08:07:14.000Z | 2015-08-11T08:07:14.000Z | c_src/common/xapian_core.cpp | schaerli/xapian-erlang-bindings | be72c73b0da254d7d21168c913f11cbf458f36e2 | [
"MIT"
] | 5 | 2016-06-02T06:22:56.000Z | 2022-01-31T16:21:42.000Z | /* vim: set filetype=cpp shiftwidth=4 tabstop=4 expandtab tw=80: */
/**
* Prefix m_ (member) for properties means that property is private.
*/
// -------------------------------------------------------------------
// Includes
// -------------------------------------------------------------------
/* Include other ... | 25.42798 | 96 | 0.533104 | [
"object",
"vector"
] |
0ad2f023ab628a7408046dd3013d3d69afdc061a | 4,598 | cpp | C++ | Engine/source/platform/input/myo/myoUtil.cpp | lukaspj/MyoT3DDevelopment | 5601e90ece75cc5d335b0a662ed8addba49efb9e | [
"Unlicense"
] | null | null | null | Engine/source/platform/input/myo/myoUtil.cpp | lukaspj/MyoT3DDevelopment | 5601e90ece75cc5d335b0a662ed8addba49efb9e | [
"Unlicense"
] | null | null | null | Engine/source/platform/input/myo/myoUtil.cpp | lukaspj/MyoT3DDevelopment | 5601e90ece75cc5d335b0a662ed8addba49efb9e | [
"Unlicense"
] | null | null | null | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 39.982609 | 111 | 0.638538 | [
"vector"
] |
0ad7d36a9efa813dd94802c5301c2070683cdd9a | 670 | cpp | C++ | external_libraries/vexcl/tests/logical.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 778 | 2017-01-27T16:29:17.000Z | 2022-03-30T03:01:51.000Z | external_libraries/vexcl/tests/logical.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 6,634 | 2017-01-15T22:56:13.000Z | 2022-03-31T15:03:36.000Z | external_libraries/vexcl/tests/logical.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 224 | 2017-02-07T14:12:49.000Z | 2022-03-06T23:09:34.000Z | #define BOOST_TEST_MODULE Logical
#include <boost/test/unit_test.hpp>
#include <vexcl/vector.hpp>
#include <vexcl/element_index.hpp>
#include <vexcl/logical.hpp>
#include "context_setup.hpp"
BOOST_AUTO_TEST_CASE(logical)
{
const size_t N = 1024;
vex::vector<int> x(ctx, N);
x = vex::element_index();
v... | 23.103448 | 39 | 0.632836 | [
"vector"
] |
0adeb3dd76fd2badd1db0591dd0e4f634139902e | 1,396 | cpp | C++ | problemes/probleme0xx/probleme050.cpp | ZongoForSpeed/ProjectEuler | 2e2d45f984d48a1da8275886c976f909a0de94ce | [
"MIT"
] | 6 | 2015-10-13T17:07:21.000Z | 2018-05-08T11:50:22.000Z | problemes/probleme0xx/probleme050.cpp | ZongoForSpeed/ProjectEuler | 2e2d45f984d48a1da8275886c976f909a0de94ce | [
"MIT"
] | null | null | null | problemes/probleme0xx/probleme050.cpp | ZongoForSpeed/ProjectEuler | 2e2d45f984d48a1da8275886c976f909a0de94ce | [
"MIT"
] | null | null | null | #include "problemes.h"
#include "premiers.h"
#include <algorithm>
#include <set>
#include <iterator>
typedef unsigned long long nombre;
typedef std::vector<nombre> vecteur;
ENREGISTRER_PROBLEME(50, "Consecutive prime sum") {
// The prime 41, can be written as the sum of six consecutive primes:
// ... | 31.022222 | 105 | 0.563037 | [
"vector"
] |
0ae425f0dd61ccd13a6852cc225b239c2207ab26 | 56,704 | hxx | C++ | lib/seldon/computation/interfaces/Lapack_Eigenvalues.hxx | HongyuHe/lsolver | c791bf192308ba6b564cb60cb3991d2e72093cd7 | [
"Apache-2.0"
] | 7 | 2021-01-31T23:20:07.000Z | 2021-09-09T20:54:15.000Z | lib/seldon/computation/interfaces/Lapack_Eigenvalues.hxx | HongyuHe/lsolver | c791bf192308ba6b564cb60cb3991d2e72093cd7 | [
"Apache-2.0"
] | 1 | 2021-06-07T07:52:38.000Z | 2021-08-13T20:40:55.000Z | lib/seldon/computation/interfaces/Lapack_Eigenvalues.hxx | HongyuHe/lsolver | c791bf192308ba6b564cb60cb3991d2e72093cd7 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2012 Vivien Mallet
//
// This file is part of the linear-algebra library Seldon,
// http://seldon.sourceforge.net/.
//
// Seldon is free software; you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free
// Software Foundation; either... | 37.477859 | 84 | 0.694007 | [
"vector"
] |
0ae64bf9a4dc99b9b2107c22755078e6a4e670be | 5,738 | cpp | C++ | gui.shared/translator_base.cpp | Qt-Widgets/im-desktop-imported | 85fed419229597bc10de59de268f5d898f853405 | [
"Apache-2.0"
] | 524 | 2016-03-16T10:17:28.000Z | 2019-12-29T02:58:56.000Z | gui.shared/translator_base.cpp | Qt-Widgets/im-desktop-imported-widgets-collection | 85fed419229597bc10de59de268f5d898f853405 | [
"Apache-2.0"
] | 68 | 2016-03-16T16:23:17.000Z | 2019-09-20T22:37:28.000Z | gui.shared/translator_base.cpp | Qt-Widgets/im-desktop-imported-widgets-collection | 85fed419229597bc10de59de268f5d898f853405 | [
"Apache-2.0"
] | 142 | 2016-03-16T10:25:03.000Z | 2019-12-26T14:08:47.000Z | #include "stdafx.h"
#include "translator_base.h"
namespace translate
{
void translator_base::init()
{
installTranslator(getLang());
}
QString translator_base::formatDayOfWeek(const QDate& _date) const
{
switch (_date.dayOfWeek())
{
case Qt::Monday:
retu... | 29.73057 | 149 | 0.497386 | [
"vector"
] |
0aebc605f8ec4666a37a6b16bf52b28c62d577f7 | 7,906 | cpp | C++ | src/xmol/io/pdb/PDBReader.cpp | sizmailov/pyxmolpp2 | 9395ba1b1ddc957e0b33dc6decccdb711e720764 | [
"MIT"
] | 4 | 2020-06-24T11:07:57.000Z | 2022-01-15T23:00:30.000Z | src/xmol/io/pdb/PDBReader.cpp | sizmailov/pyxmolpp2 | 9395ba1b1ddc957e0b33dc6decccdb711e720764 | [
"MIT"
] | 84 | 2018-04-22T12:29:31.000Z | 2020-06-17T15:03:37.000Z | src/xmol/io/pdb/PDBReader.cpp | sizmailov/pyxmolpp2 | 9395ba1b1ddc957e0b33dc6decccdb711e720764 | [
"MIT"
] | 6 | 2018-06-04T09:16:26.000Z | 2022-03-12T11:05:54.000Z | #include "xmol/io/pdb/PdbReader.h"
#include "xmol/io/pdb/PdbLine.h"
#include "xmol/io/pdb/PdbRecord.h"
#include "xmol/io/pdb/exceptions.h"
#include "xmol/utils/string.h"
using namespace xmol::io::pdb;
using namespace xmol;
namespace {
struct PdbLineSentinel {};
struct PdbLineInputIterator {
private:
std::istream*... | 32.534979 | 116 | 0.634202 | [
"vector",
"model"
] |
e4005c5022ed8a1c361f1fc0008c43ceb647a5ec | 11,623 | cpp | C++ | TAO/tao/CORBALOC_Parser.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/tao/CORBALOC_Parser.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/tao/CORBALOC_Parser.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // -*- C++ -*-
// $Id: CORBALOC_Parser.cpp 96992 2013-04-11 18:07:48Z huangh $
#include "tao/CORBALOC_Parser.h"
#if (TAO_HAS_CORBALOC_PARSER == 1)
#include "tao/ORB_Core.h"
#include "tao/Stub.h"
#include "tao/MProfile.h"
#include "tao/Connector_Registry.h"
#include "tao/Transport_Connector.h"
#include "tao/Protocol_... | 31.931319 | 84 | 0.597436 | [
"object"
] |
e4065b1e7d4e45d74df9daede34eae4fe2f93f5d | 924 | h++ | C++ | clauses/group_by_clause.h++ | snawaz/tagsql | 1b6d6c9eb9aa2d01ff3276414d714f3b6e6a9ee3 | [
"MIT"
] | 4 | 2018-03-03T13:45:35.000Z | 2021-05-22T12:11:08.000Z | clauses/group_by_clause.h++ | snawaz/tagsql | 1b6d6c9eb9aa2d01ff3276414d714f3b6e6a9ee3 | [
"MIT"
] | 1 | 2018-03-03T13:49:40.000Z | 2019-01-22T07:58:47.000Z | clauses/group_by_clause.h++ | snawaz/tagsql | 1b6d6c9eb9aa2d01ff3276414d714f3b6e6a9ee3 | [
"MIT"
] | 1 | 2018-03-03T13:45:36.000Z | 2018-03-03T13:45:36.000Z |
#pragma once
#include <tagsql/anatomy/column.h++>
namespace tagsql
{
template<typename SelectQuery>
class deferred_range;
template<typename SelectQuery>
class group_by_clause
{
public:
using is_null_t = typename std::conditional<is_null<typename SelectQuery::group_by>::value, std::true_type, std::... | 29.806452 | 144 | 0.672078 | [
"vector"
] |
e408464b134730e6fe6776a3bd7e448dd0779bee | 7,780 | cpp | C++ | source/MaterialXTest/RenderOgsFx.cpp | edgarv/MaterialX | b11267b2920c6645d44be6ff09de79a7eb853de2 | [
"BSD-3-Clause"
] | null | null | null | source/MaterialXTest/RenderOgsFx.cpp | edgarv/MaterialX | b11267b2920c6645d44be6ff09de79a7eb853de2 | [
"BSD-3-Clause"
] | null | null | null | source/MaterialXTest/RenderOgsFx.cpp | edgarv/MaterialX | b11267b2920c6645d44be6ff09de79a7eb853de2 | [
"BSD-3-Clause"
] | null | null | null | //
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <MaterialXTest/Catch/catch.hpp>
#include <MaterialXTest/RenderUtil.h>
#include <MaterialXGenOgsFx/MayaGlslPluginShaderGenerator.h>
#include <MaterialXGenShader/Shader.h>
#incl... | 39.095477 | 135 | 0.633033 | [
"render",
"vector"
] |
e40fbc7705a75be556bd2c1710c9fc129b3f357b | 1,928 | hpp | C++ | galaxy/src/galaxy/algorithm/RectPack.hpp | reworks/rework | 90508252c9a4c77e45a38e7ce63cfd99f533f42b | [
"Apache-2.0"
] | 6 | 2018-07-21T20:37:01.000Z | 2018-10-31T01:49:35.000Z | galaxy/src/galaxy/algorithm/RectPack.hpp | reworks/rework | 90508252c9a4c77e45a38e7ce63cfd99f533f42b | [
"Apache-2.0"
] | null | null | null | galaxy/src/galaxy/algorithm/RectPack.hpp | reworks/rework | 90508252c9a4c77e45a38e7ce63cfd99f533f42b | [
"Apache-2.0"
] | null | null | null | ///
/// RectPack.hpp
/// galaxy
///
/// Refer to LICENSE.txt for more details.
///
#ifndef GALAXY_ALGORITHM_RECTPACK_HPP_
#define GALAXY_ALGORITHM_RECTPACK_HPP_
#include <optional>
#include <vector>
#include "galaxy/graphics/Rect.hpp"
namespace galaxy
{
namespace algorithm
{
///
/// Rectangle 2D bin packing c... | 19.673469 | 97 | 0.612552 | [
"vector"
] |
e411e88974a68e18776bf929ebd9bec6c4f7b643 | 362 | hpp | C++ | mrrc/src/mirror/ast/mrrexpr.hpp | nfwGytautas/mirror | 4e9a20f364076cd52abf3c358afebe7b10c08078 | [
"MIT"
] | null | null | null | mrrc/src/mirror/ast/mrrexpr.hpp | nfwGytautas/mirror | 4e9a20f364076cd52abf3c358afebe7b10c08078 | [
"MIT"
] | null | null | null | mrrc/src/mirror/ast/mrrexpr.hpp | nfwGytautas/mirror | 4e9a20f364076cd52abf3c358afebe7b10c08078 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <memory>
#include <vector>
#include "mirror/compiler/mrrc.hpp"
#include "mirror/utility/log.hpp"
#include "mirror/ast/expressions/base.hpp"
#include "mirror/ast/expressions/core.hpp"
#include "mirror/ast/expressions/control.hpp"
#include "mirror/ast/expressions/function.hpp"
#... | 24.133333 | 46 | 0.773481 | [
"vector"
] |
e413f97952e21e62b228e5e137cbef6c33a70e79 | 697 | cpp | C++ | test/yosupo/shortest_path.test.cpp | shiomusubi496/library | 907f72eb6ee4ac6ef617bb359693588167f779e7 | [
"MIT"
] | 3 | 2021-11-04T08:45:12.000Z | 2021-11-29T08:44:26.000Z | test/yosupo/shortest_path.test.cpp | shiomusubi496/library | 907f72eb6ee4ac6ef617bb359693588167f779e7 | [
"MIT"
] | null | null | null | test/yosupo/shortest_path.test.cpp | shiomusubi496/library | 907f72eb6ee4ac6ef617bb359693588167f779e7 | [
"MIT"
] | null | null | null | #define PROBLEM "https://judge.yosupo.jp/problem/shortest_path"
#include "../../other/template.hpp"
#include "../../graph/Graph.hpp"
#include "../../graph/shortest-path/Dijkstra.hpp"
#include "../../graph/shortest-path/Restore.hpp"
using namespace std;
int main() {
int N, M, s, t; cin >> N >> M >> s >> t;
Graph... | 30.304348 | 63 | 0.51363 | [
"vector"
] |
e4156085a07439650fabcc7fc87776ff07c8617f | 4,645 | hpp | C++ | inference-engine/include/builders/ie_pooling_layer.hpp | fujunwei/dldt | 09497b7724de4be92629f7799b8538b483d809a2 | [
"Apache-2.0"
] | 1 | 2021-07-30T17:03:50.000Z | 2021-07-30T17:03:50.000Z | inference-engine/include/builders/ie_pooling_layer.hpp | fujunwei/dldt | 09497b7724de4be92629f7799b8538b483d809a2 | [
"Apache-2.0"
] | null | null | null | inference-engine/include/builders/ie_pooling_layer.hpp | fujunwei/dldt | 09497b7724de4be92629f7799b8538b483d809a2 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
/**
* @file
*/
#pragma once
#include <builders/ie_layer_decorator.hpp>
#include <ie_network.hpp>
#include <string>
#include <vector>
namespace InferenceEngine {
namespace Builder {
/**
* @deprecated Use ngraph API instead.
*... | 27.163743 | 82 | 0.639182 | [
"vector"
] |
e4179bf6a6e65e7db475c6d2a5de20184be81ba6 | 514 | hpp | C++ | src/xml_clients.hpp | markkorput/raspi2030 | 4a918d240172b68634619567d47599fa02b8dd16 | [
"MIT"
] | null | null | null | src/xml_clients.hpp | markkorput/raspi2030 | 4a918d240172b68634619567d47599fa02b8dd16 | [
"MIT"
] | null | null | null | src/xml_clients.hpp | markkorput/raspi2030 | 4a918d240172b68634619567d47599fa02b8dd16 | [
"MIT"
] | null | null | null |
#ifndef xml_clients_hpp
#define xml_clients_hpp
#include "ofMain.h"
#include "setting_types.h"
namespace of2030{
class XmlClients{
public:
static XmlClients* instance();
private:
static XmlClients* singleton;
public:
XmlClients() : path("clients.xml"){};
~XmlClie... | 17.724138 | 45 | 0.587549 | [
"vector"
] |
e419a80172775af08c05c314d265da6b407340e4 | 6,479 | cc | C++ | src/ui/SDL2/gui_modules/submodules/menu.cc | MrKOSMOS/ANESE | 8ae814d615479b1496c98033a1f5bc4da5921c6f | [
"MIT"
] | 349 | 2017-11-15T22:51:00.000Z | 2022-03-21T13:43:57.000Z | src/ui/SDL2/gui_modules/submodules/menu.cc | MrKOSMOS/ANESE | 8ae814d615479b1496c98033a1f5bc4da5921c6f | [
"MIT"
] | 12 | 2018-08-28T21:38:29.000Z | 2021-12-11T16:24:36.000Z | src/ui/SDL2/gui_modules/submodules/menu.cc | MrKOSMOS/ANESE | 8ae814d615479b1496c98033a1f5bc4da5921c6f | [
"MIT"
] | 28 | 2018-06-10T07:31:13.000Z | 2022-03-21T10:54:26.000Z | #include "menu.h"
#include <algorithm>
#include <cute_files.h>
#include <SDL_inprint2.h>
#include <SDL.h>
#include "../../fs/util.h"
MenuSubModule::MenuSubModule(SharedState& gui, SDL_Window* window, SDL_Renderer* renderer)
: GUISubModule(gui, window, renderer)
{
fprintf(stderr, "[GUI][Menu] Initializing...\n");
... | 30.852381 | 90 | 0.619231 | [
"vector",
"transform"
] |
e41b916d71612cc9395448e80653a9d8363e173d | 27,344 | cpp | C++ | Client/src/TopNotebook.cpp | kluete/ddt3 | b8bf3b6daf275ec025b0c4a6401576560b671a3d | [
"Apache-2.0"
] | 6 | 2020-04-20T04:54:44.000Z | 2022-02-13T01:24:10.000Z | Client/src/TopNotebook.cpp | kluete/ddt3 | b8bf3b6daf275ec025b0c4a6401576560b671a3d | [
"Apache-2.0"
] | null | null | null | Client/src/TopNotebook.cpp | kluete/ddt3 | b8bf3b6daf275ec025b0c4a6401576560b671a3d | [
"Apache-2.0"
] | 1 | 2022-02-13T01:24:35.000Z | 2022-02-13T01:24:35.000Z | // Lua DDT top Notebook
#pragma GCC diagnostic ignored "-Wunused-private-field"
#include <cassert>
#include <string>
#include <vector>
#include <unordered_map>
#include <unordered_set>
#include "wx/panel.h"
#include "wx/notebook.h"
#include "wx/splitter.h"
#include "wx/statusbr.h"
#include "wx/statbmp.h"
#include "w... | 25.459963 | 151 | 0.672469 | [
"vector"
] |
e41c421367afe230b5406aa74021b945b93c8d57 | 58,420 | cc | C++ | y2020/control_loops/superstructure/superstructure_lib_test.cc | AustinSchuh/971-Robot-Code | 99abc66fd2d899c0bdab338dc6f57dc5def9be8d | [
"Apache-2.0"
] | 39 | 2021-06-18T03:22:30.000Z | 2022-03-21T15:23:43.000Z | y2020/control_loops/superstructure/superstructure_lib_test.cc | AustinSchuh/971-Robot-Code | 99abc66fd2d899c0bdab338dc6f57dc5def9be8d | [
"Apache-2.0"
] | 10 | 2021-06-18T03:22:19.000Z | 2022-03-18T22:14:15.000Z | y2020/control_loops/superstructure/superstructure_lib_test.cc | AustinSchuh/971-Robot-Code | 99abc66fd2d899c0bdab338dc6f57dc5def9be8d | [
"Apache-2.0"
] | 4 | 2021-08-19T19:20:04.000Z | 2022-03-08T07:33:18.000Z | #include <unistd.h>
#include <chrono>
#include <memory>
#include "aos/events/logging/log_reader.h"
#include "aos/events/logging/log_writer.h"
#include "aos/network/team_number.h"
#include "frc971/control_loops/capped_test_plant.h"
#include "frc971/control_loops/control_loop_test.h"
#include "frc971/control_loops/posi... | 38.408941 | 80 | 0.703304 | [
"model"
] |
e4254c28a84f62ccf412a53c2196cbb4821657a0 | 2,250 | cpp | C++ | Triangle.cpp | rahul0324/Computer-Graphics-Lab | eeff1749c32a1cbd3e1e481a40e280c8b945688e | [
"MIT"
] | null | null | null | Triangle.cpp | rahul0324/Computer-Graphics-Lab | eeff1749c32a1cbd3e1e481a40e280c8b945688e | [
"MIT"
] | null | null | null | Triangle.cpp | rahul0324/Computer-Graphics-Lab | eeff1749c32a1cbd3e1e481a40e280c8b945688e | [
"MIT"
] | null | null | null | #include <GL/glut.h>
void initGL() {
// Set "clearing" or background color
glClearColor(0.0f, 0.0f, 0.0f, 1.0f); // Black and opaque
}
void display() {
glClear(GL_COLOR_BUFFER_BIT); // Clear the color buffer with current clearing color
// Define shapes enclosed within a pair of glBegin and glEnd
... | 31.25 | 88 | 0.536 | [
"render"
] |
e42c766b56bd4b6ccb19b34ec683711f7c6b4ce7 | 1,212 | cpp | C++ | Recursion and Backtracking/NQueensBranchAndBound.cpp | Ankitlenka26/IP2021 | 99322c9c84a8a9c9178a505afbffdcebd312b059 | [
"MIT"
] | null | null | null | Recursion and Backtracking/NQueensBranchAndBound.cpp | Ankitlenka26/IP2021 | 99322c9c84a8a9c9178a505afbffdcebd312b059 | [
"MIT"
] | null | null | null | Recursion and Backtracking/NQueensBranchAndBound.cpp | Ankitlenka26/IP2021 | 99322c9c84a8a9c9178a505afbffdcebd312b059 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;
void nqueens(vector<vector<int>> &board, vector<bool> column, vector<bool> ndiag, vector<bool> rdiag, string psf, int row)
{
if (row == board.size())
{
cout << psf + "." << endl;
return;
}
... | 28.186047 | 122 | 0.509901 | [
"vector"
] |
e4300a55a4fe9d21bbf869ec644efc3a90ceb3b4 | 2,306 | cc | C++ | apf/apfTagData.cc | Thomas-Ulrich/core | 1c7bc7ff994c3570ab22b96d37be0c4c993e5940 | [
"BSD-3-Clause"
] | 138 | 2015-01-05T15:50:20.000Z | 2022-02-25T01:09:58.000Z | apf/apfTagData.cc | Thomas-Ulrich/core | 1c7bc7ff994c3570ab22b96d37be0c4c993e5940 | [
"BSD-3-Clause"
] | 337 | 2015-08-07T18:24:58.000Z | 2022-03-31T14:39:03.000Z | apf/apfTagData.cc | Thomas-Ulrich/core | 1c7bc7ff994c3570ab22b96d37be0c4c993e5940 | [
"BSD-3-Clause"
] | 70 | 2015-01-17T00:58:41.000Z | 2022-02-13T04:58:20.000Z | /*
* Copyright 2011 Scientific Computation Research Center
*
* This work is open source software, licensed under the terms of the
* BSD license as described in the LICENSE file in the top-level directory.
*/
#include "apfTagData.h"
#include "apfShape.h"
#include <pcu_util.h>
namespace apf {
void TagData::init(... | 20.22807 | 75 | 0.630095 | [
"mesh",
"shape"
] |
e430f57aa46a89262f31a4b0d2c5eacc40c247fd | 8,300 | cc | C++ | ui/aura/mus/input_method_mus_unittest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/aura/mus/input_method_mus_unittest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/aura/mus/input_method_mus_unittest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/aura/mus/input_method_mus.h"
#include <utility>
#include "services/ui/public/interfaces/ime/ime.mojom.h"
#include "ui/aura/test/aura_test_b... | 39.52381 | 80 | 0.766747 | [
"vector"
] |
e435ba37e0dfb897d07fe5fcc8c963f94b615388 | 14,125 | cpp | C++ | instrumentor/PrepareCSI.cpp | pohmann/csi-cc | 08d103f09a647874a99349339721e1a33135468e | [
"Apache-2.0"
] | 2 | 2018-05-02T06:12:34.000Z | 2019-07-02T03:25:57.000Z | instrumentor/PrepareCSI.cpp | pohmann/csi-cc | 08d103f09a647874a99349339721e1a33135468e | [
"Apache-2.0"
] | null | null | null | instrumentor/PrepareCSI.cpp | pohmann/csi-cc | 08d103f09a647874a99349339721e1a33135468e | [
"Apache-2.0"
] | 1 | 2021-12-20T06:59:36.000Z | 2021-12-20T06:59:36.000Z | //===-------------------------- PrepareCSI.cpp ----------------------------===//
//
// This module pass replicates functions to allow multiple possible
// instrumentation schemes. Note that, presently, this causes enormous code
// bloat.
//
//===----------------------------------------------------------------------===... | 34.876543 | 119 | 0.594619 | [
"vector",
"transform"
] |
e4384de87ae479e320eaef1db17e5528dba3c335 | 5,772 | cpp | C++ | src/ContextManager.cpp | yxonic/ycc1 | 01ecf01d0e069fa9e976387164c80ee171913915 | [
"MIT"
] | 1 | 2016-09-28T02:14:30.000Z | 2016-09-28T02:14:30.000Z | src/ContextManager.cpp | yxonic/ycc1 | 01ecf01d0e069fa9e976387164c80ee171913915 | [
"MIT"
] | null | null | null | src/ContextManager.cpp | yxonic/ycc1 | 01ecf01d0e069fa9e976387164c80ee171913915 | [
"MIT"
] | null | null | null | #include "ContextManager.h"
#include "llvm/IR/IRBuilder.h"
using namespace llvm;
void ContextManager::enterBlock(Function *f)
{
_sym_table.emplace_back(std::map<std::string, std::pair<Value *, ElemType>>());
_func.push(f);
}
void ContextManager::exitBlock()
{
_sym_table.pop_back();
_func.pop();
}
V... | 37.23871 | 93 | 0.568087 | [
"vector"
] |
e43ce52f6e4e43cd20cf6c6609efae48dd09e68b | 13,772 | cpp | C++ | examples/solarsystem/openglwindow.cpp | EduardaMeirinhos/abcg | 8d2018c519b2752d4df53d5e50cc70dcf7d074a3 | [
"MIT"
] | null | null | null | examples/solarsystem/openglwindow.cpp | EduardaMeirinhos/abcg | 8d2018c519b2752d4df53d5e50cc70dcf7d074a3 | [
"MIT"
] | null | null | null | examples/solarsystem/openglwindow.cpp | EduardaMeirinhos/abcg | 8d2018c519b2752d4df53d5e50cc70dcf7d074a3 | [
"MIT"
] | null | null | null | #include "openglwindow.hpp"
#include <imgui.h>
#include <cppitertools/itertools.hpp>
#include <glm/gtc/matrix_inverse.hpp>
#include <fmt/core.h>
#include <string>
void OpenGLWindow::handleEvent(SDL_Event& ev) {
if (ev.type == SDL_KEYDOWN) {
if (ev.key.keysym.sym == SDLK_UP || ev.key.keysym.sym == SDLK_w)
... | 43.444795 | 125 | 0.702658 | [
"render",
"model"
] |
e449d546ca20d6cb08918e52c745428c07bce69a | 45,831 | cpp | C++ | YCAIRO/ycairo.cpp | Youlean/wdl-ol | 0291d9f634bd2e180a402ccf9b652b4a91e00451 | [
"Zlib"
] | 36 | 2017-03-12T20:16:42.000Z | 2022-02-09T21:40:52.000Z | YCAIRO/ycairo.cpp | Youlean/wdl-ol | 0291d9f634bd2e180a402ccf9b652b4a91e00451 | [
"Zlib"
] | 1 | 2017-08-09T13:27:55.000Z | 2017-08-12T21:48:03.000Z | YCAIRO/ycairo.cpp | Youlean/wdl-ol | 0291d9f634bd2e180a402ccf9b652b4a91e00451 | [
"Zlib"
] | 9 | 2017-04-18T14:24:04.000Z | 2018-11-14T18:03:35.000Z | #include "ycairo.h"
#define NANOSVG_ALL_COLOR_KEYWORDS // Include full list of color keywords.
#define NANOSVG_IMPLEMENTATION // Expands implementation
#include "nanosvg.h"
// ycairo_background ---------------------------------------------------------------------------------------------------------------------------... | 27.361791 | 240 | 0.719251 | [
"shape",
"vector"
] |
e44cb60a6ee0c680240559bad175982deeaf024f | 7,425 | cpp | C++ | src/PathFinder/PathFinderGui.cpp | Person-93/aima-cpp | 08d062dcb971edeaddb9a10083cf6da5a1b869f7 | [
"MIT"
] | null | null | null | src/PathFinder/PathFinderGui.cpp | Person-93/aima-cpp | 08d062dcb971edeaddb9a10083cf6da5a1b869f7 | [
"MIT"
] | null | null | null | src/PathFinder/PathFinderGui.cpp | Person-93/aima-cpp | 08d062dcb971edeaddb9a10083cf6da5a1b869f7 | [
"MIT"
] | null | null | null | #include "PathFinderGui.hpp"
#include <utility>
#include "util/define_logger.hpp"
#include "core/Exception.hpp"
#include "util/parseTitle.hpp"
#include "util/AssetManager.hpp"
#include "util/random_string.hpp"
#include "PathFinderAgent.hpp"
#include "SearchNode.hpp"
using namespace aima::core;
using namespace aima::pa... | 44.461078 | 119 | 0.59771 | [
"geometry",
"vector",
"transform"
] |
e44e0028d0f56710068e09fc6e0946303d0ec2cc | 23,704 | cpp | C++ | cresis-toolbox/+tomo/stereo.cpp | CReSIS/CRESIS-TOOLBOX | b8c5de57a7a95137e543e202c6a473a958129b04 | [
"MIT"
] | 14 | 2019-12-04T19:48:11.000Z | 2022-02-07T18:53:49.000Z | cresis-toolbox/+tomo/stereo.cpp | CReSIS/CRESIS-TOOLBOX | b8c5de57a7a95137e543e202c6a473a958129b04 | [
"MIT"
] | 10 | 2020-06-23T17:22:38.000Z | 2021-05-11T18:41:53.000Z | cresis-toolbox/+tomo/stereo.cpp | CReSIS/CRESIS-TOOLBOX | b8c5de57a7a95137e543e202c6a473a958129b04 | [
"MIT"
] | 7 | 2019-12-14T04:47:46.000Z | 2021-09-17T13:47:01.000Z | #include "SImage.h"
#include <vector>
#include <iostream>
#include <fstream>
#include <map>
#include <math.h>
#include <limits>
#ifdef STANDALONE
#include <SImageIO.h>
#endif
//#define STANDALONE
//#define INFINITY numeric_limits<double>::infinity()
using namespace std;
typedef vector< pair<int, in... | 25.217021 | 129 | 0.519659 | [
"vector"
] |
e44fe399da4a0ba71c60ec0bec512d78006007c0 | 4,716 | cpp | C++ | source/direct3d9/ExtendedMaterial.cpp | HeavenWu/slimdx | e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac | [
"MIT"
] | 85 | 2015-04-06T05:37:10.000Z | 2022-03-22T19:53:03.000Z | source/direct3d9/ExtendedMaterial.cpp | HeavenWu/slimdx | e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac | [
"MIT"
] | 10 | 2016-03-17T11:18:24.000Z | 2021-05-11T09:21:43.000Z | source/direct3d9/ExtendedMaterial.cpp | HeavenWu/slimdx | e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac | [
"MIT"
] | 45 | 2015-09-14T03:54:01.000Z | 2022-03-22T19:53:09.000Z | #include "stdafx.h"
/*
* Copyright (c) 2007-2012 SlimDX Group
*
* 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, ... | 32.75 | 107 | 0.718193 | [
"object"
] |
e45051e85e2557a517d286ae3d756935fc8917c8 | 6,015 | cpp | C++ | src/SFML/Graphics/RenderImage.cpp | yoyonel/sflm2-custom | 1ebeabe7cfe6605590b341f7b415b24bed1f50d1 | [
"Zlib"
] | null | null | null | src/SFML/Graphics/RenderImage.cpp | yoyonel/sflm2-custom | 1ebeabe7cfe6605590b341f7b415b24bed1f50d1 | [
"Zlib"
] | null | null | null | src/SFML/Graphics/RenderImage.cpp | yoyonel/sflm2-custom | 1ebeabe7cfe6605590b341f7b415b24bed1f50d1 | [
"Zlib"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any da... | 27.847222 | 110 | 0.542643 | [
"render"
] |
e4550f3dacfe299ad104c896553376578a434415 | 62,477 | cc | C++ | src/scanner.cc | carlthuringer/tree-sitter-tlaplus | d7d8c73035028edeb07cd3d9a50bcc635a186877 | [
"MIT"
] | null | null | null | src/scanner.cc | carlthuringer/tree-sitter-tlaplus | d7d8c73035028edeb07cd3d9a50bcc635a186877 | [
"MIT"
] | null | null | null | src/scanner.cc | carlthuringer/tree-sitter-tlaplus | d7d8c73035028edeb07cd3d9a50bcc635a186877 | [
"MIT"
] | null | null | null | #include <tree_sitter/parser.h>
#include <cassert>
#include <climits>
#include <cstring>
#include <cwctype>
#include <vector>
/**
* Macro; goes to the lexer state without consuming any codepoints.
*
* @param state_value The new lexer state.
*/
#define GO_TO_STATE(state_value) \
{ ... | 36.600469 | 115 | 0.64699 | [
"object",
"vector"
] |
e467d9d961353140c21c19fd817c45f4f6cf3258 | 3,174 | cpp | C++ | UVa/UVa12171.cpp | Insouciant21/solution | 8f241ec2076c9c29c0d39c2c285ee12eac1dee9e | [
"Apache-2.0"
] | 1 | 2020-09-11T13:17:28.000Z | 2020-09-11T13:17:28.000Z | UVa/UVa12171.cpp | Insouciant21/solution | 8f241ec2076c9c29c0d39c2c285ee12eac1dee9e | [
"Apache-2.0"
] | 1 | 2020-10-22T13:36:23.000Z | 2020-10-22T13:36:23.000Z | UVa/UVa12171.cpp | Insouciant21/solution | 8f241ec2076c9c29c0d39c2c285ee12eac1dee9e | [
"Apache-2.0"
] | 1 | 2020-10-22T13:33:11.000Z | 2020-10-22T13:33:11.000Z | #include <bits/stdc++.h>
using namespace std;
const int maxn = 110;
int vis[maxn][maxn][maxn];
long long v = 0;
long long s = 0;
int dx[] = {0, 0, -1, 1, 0, 0};
int dy[] = {1, -1, 0, 0, 0, 0};
int dz[] = {0, 0, 0, 0, 1, -1};
vector<int> x, y, z;
struct Sculpture {
int x, y, z;
int x0, y0, z0;
};
vector<S... | 30.228571 | 120 | 0.41966 | [
"vector"
] |
e476e1f6cea55b2b9cc43c30365cd31900aa5401 | 21,438 | cc | C++ | src/mesh/mesh_mstk/test/test_extract_surface.cc | cannsudemir/amanzi | c6cd3287bdc2c6cf26c6f8b79e34799751385f9e | [
"RSA-MD"
] | 1 | 2021-02-23T18:34:47.000Z | 2021-02-23T18:34:47.000Z | src/mesh/mesh_mstk/test/test_extract_surface.cc | cannsudemir/amanzi | c6cd3287bdc2c6cf26c6f8b79e34799751385f9e | [
"RSA-MD"
] | null | null | null | src/mesh/mesh_mstk/test/test_extract_surface.cc | cannsudemir/amanzi | c6cd3287bdc2c6cf26c6f8b79e34799751385f9e | [
"RSA-MD"
] | null | null | null | #include <UnitTest++.h>
#include <fstream>
#include "../Mesh_MSTK.hh"
#include "Epetra_Map.h"
#include "AmanziComm.hh"
#include "Teuchos_ParameterList.hpp"
#include "Teuchos_XMLParameterListHelpers.hpp"
#include "Teuchos_Array.hpp"
#include "mpi.h"
// startup function
// Extract some surfaces as-is from 3D mesh,... | 40.99044 | 126 | 0.709768 | [
"mesh",
"geometry",
"vector",
"3d"
] |
e480581f9edcd03dab6c0f95845ce7f6d498d614 | 1,452 | cpp | C++ | Application/catchVector.cpp | StijnvanWijk98/Ipass | 39ec24ddbf3659b0fd46803f24b7b4c91f3439a7 | [
"BSL-1.0"
] | null | null | null | Application/catchVector.cpp | StijnvanWijk98/Ipass | 39ec24ddbf3659b0fd46803f24b7b4c91f3439a7 | [
"BSL-1.0"
] | null | null | null | Application/catchVector.cpp | StijnvanWijk98/Ipass | 39ec24ddbf3659b0fd46803f24b7b4c91f3439a7 | [
"BSL-1.0"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "particle.hpp"
TEST_CASE("constructor, basic") {
vector v{1.1, 2.2};
std::stringstream s;
s << v;
REQUIRE(s.str() == "(1.1,2.2)");
}
TEST_CASE("equality, equal") {
vector v{1.8, 5.2};
REQUIRE(v == vector{1.8, 5.2});
}
TEST_CASE("equality, unequal")... | 20.742857 | 46 | 0.573003 | [
"vector"
] |
6b01476128bc153c8b58d09dea386b22f6b561f4 | 734 | hpp | C++ | ios/Pods/boost-for-react-native/boost/geometry/multi/algorithms/remove_spikes.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 8,805 | 2015-11-03T00:52:29.000Z | 2022-03-29T22:30:03.000Z | ios/Pods/boost-for-react-native/boost/geometry/multi/algorithms/remove_spikes.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 14,694 | 2015-02-24T15:13:42.000Z | 2022-03-31T13:16:45.000Z | ios/Pods/boost-for-react-native/boost/geometry/multi/algorithms/remove_spikes.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 1,329 | 2015-11-03T20:25:51.000Z | 2022-03-31T18:10:38.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
// Copyright (c) 2013 Adam Wulkiewicz, Lodz, Poland.
// Use, modification ... | 36.7 | 80 | 0.771117 | [
"geometry"
] |
6b020738b09eb385b96ac012962fb080d15312e9 | 12,947 | cpp | C++ | source/dawn/GenericModelDawn.cpp | gyagp/aquarium | 27c30da38df1a4df667c1696deaaa66d983ecf95 | [
"BSD-3-Clause"
] | null | null | null | source/dawn/GenericModelDawn.cpp | gyagp/aquarium | 27c30da38df1a4df667c1696deaaa66d983ecf95 | [
"BSD-3-Clause"
] | null | null | null | source/dawn/GenericModelDawn.cpp | gyagp/aquarium | 27c30da38df1a4df667c1696deaaa66d983ecf95 | [
"BSD-3-Clause"
] | null | null | null | //
// Copyright (c) 2019 The Aquarium Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#include "GenericModelDawn.h"
#include <vector>
#include "../Aquarium.h"
GenericModelDawn::GenericModelDawn(Context *context,
... | 47.251825 | 80 | 0.713215 | [
"vector",
"model"
] |
6b021acba891d945b41e86b86d3b2e5e0e6c230e | 7,343 | cc | C++ | selfdrive/ui/qt/offroad/moc_wifiManager.cc | leech2000/kona0813 | c3e73e220b86614b82959712668408a48c33ebd3 | [
"MIT"
] | 1 | 2022-03-23T13:52:40.000Z | 2022-03-23T13:52:40.000Z | selfdrive/ui/qt/offroad/moc_wifiManager.cc | leech2000/kona0813 | c3e73e220b86614b82959712668408a48c33ebd3 | [
"MIT"
] | null | null | null | selfdrive/ui/qt/offroad/moc_wifiManager.cc | leech2000/kona0813 | c3e73e220b86614b82959712668408a48c33ebd3 | [
"MIT"
] | 5 | 2022-03-24T16:18:47.000Z | 2022-03-30T02:18:49.000Z | /****************************************************************************
** Meta object code from reading C++ file 'wifiManager.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.8)
**
** WARNING! All changes made in this file will be lost!
********************************************************... | 36.351485 | 189 | 0.618821 | [
"object"
] |
6b054fbdf4ccdc26dad83731ae8a175d85281dfc | 11,349 | cc | C++ | frontend/converters/chunking.cc | yomocchi/cloud-spanner-emulator | 0fc44c9571f5c4974a57db4fe3e0457196fc8540 | [
"Apache-2.0"
] | null | null | null | frontend/converters/chunking.cc | yomocchi/cloud-spanner-emulator | 0fc44c9571f5c4974a57db4fe3e0457196fc8540 | [
"Apache-2.0"
] | null | null | null | frontend/converters/chunking.cc | yomocchi/cloud-spanner-emulator | 0fc44c9571f5c4974a57db4fe3e0457196fc8540 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2020 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 ... | 36.728155 | 80 | 0.670279 | [
"vector"
] |
6b0733857589682b3612b528e371aebe16edbcd9 | 2,253 | cpp | C++ | src/LumsTest/LumsTest.cpp | Nax/Lums | ca38b8f083fea17f96e2547acfa1dd7dfb7cbab3 | [
"MIT"
] | 1 | 2021-12-20T00:00:38.000Z | 2021-12-20T00:00:38.000Z | src/LumsTest/LumsTest.cpp | Nax/Lums | ca38b8f083fea17f96e2547acfa1dd7dfb7cbab3 | [
"MIT"
] | null | null | null | src/LumsTest/LumsTest.cpp | Nax/Lums | ca38b8f083fea17f96e2547acfa1dd7dfb7cbab3 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <vector>
#include <LumsTest/LumsTest.h>
namespace
{
struct Label
{
const char* name;
const char* file;
int line;
};
struct Test
{
Label labelSuite;
Label labelTest;
std::function<void(void)> func;
bool errored;
};
struct Cont... | 20.481818 | 140 | 0.530404 | [
"vector"
] |
6b08478cc3207f02fa2c05ddb53de663eae1e171 | 11,457 | cpp | C++ | modules/src/components/cylindricaldetector.cpp | phernst/ctl | f2369cf3141ff6a696219f99b09fd60c0ea12eac | [
"MIT"
] | null | null | null | modules/src/components/cylindricaldetector.cpp | phernst/ctl | f2369cf3141ff6a696219f99b09fd60c0ea12eac | [
"MIT"
] | null | null | null | modules/src/components/cylindricaldetector.cpp | phernst/ctl | f2369cf3141ff6a696219f99b09fd60c0ea12eac | [
"MIT"
] | null | null | null | #include "cylindricaldetector.h"
#include <QSize>
#include <QSizeF>
#include <QtMath>
#include <iostream>
#include <limits>
namespace CTL {
DECLARE_SERIALIZABLE_TYPE(CylindricalDetector)
/*!
* Constructs an empty (invalid) CylindricalDetector object.
*
* To be used only in combination with deserialization by mea... | 36.141956 | 103 | 0.663001 | [
"object",
"vector"
] |
6b119b5a3566086e91a2658b87d255c97fbe7084 | 5,585 | cc | C++ | libhwsec-foundation/tpm_error/handle_auth_failure.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | libhwsec-foundation/tpm_error/handle_auth_failure.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | libhwsec-foundation/tpm_error/handle_auth_failure.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 The Chromium OS 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 "libhwsec-foundation/tpm_error/handle_auth_failure.h"
#include <stddef.h>
#include <sys/wait.h>
#include <algorithm>
#include <string>
#incl... | 30.189189 | 78 | 0.674664 | [
"vector"
] |
6b1cbe92d9faef82e0dca1979e7c5cd74fd27f5d | 11,058 | cpp | C++ | source/NanairoCore/Material/Bxdf/ggx_dielectric_bsdf.cpp | byzin/Nanairo | 23fb6deeec73509c538a9c21009e12be63e8d0e4 | [
"MIT"
] | 30 | 2015-09-06T03:14:29.000Z | 2021-06-18T11:00:19.000Z | source/NanairoCore/Material/Bxdf/ggx_dielectric_bsdf.cpp | byzin/Nanairo | 23fb6deeec73509c538a9c21009e12be63e8d0e4 | [
"MIT"
] | 31 | 2016-01-14T14:50:34.000Z | 2018-06-25T13:21:48.000Z | source/NanairoCore/Material/Bxdf/ggx_dielectric_bsdf.cpp | byzin/Nanairo | 23fb6deeec73509c538a9c21009e12be63e8d0e4 | [
"MIT"
] | 6 | 2017-04-09T13:07:47.000Z | 2021-05-29T21:17:34.000Z | /*!
\file ggx_dielectric_bsdf.cpp
\author Sho Ikeda
Copyright (c) 2015-2018 Sho Ikeda
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
*/
#include "ggx_dielectric_bsdf.hpp"
// Standard C++ library
#include <tuple>
// Zisc
#include "zisc/error.hpp"
#include "z... | 35.902597 | 115 | 0.615663 | [
"geometry",
"vector",
"transform"
] |
6b22f19113b7c605bf15faf2c1926d95235a7e63 | 16,938 | hpp | C++ | pyoptsparse/pyNOMAD/source/nomad_src/TGP_Model_Search.hpp | robfalck/pyoptsparse | c99f4bfe8961492d0a1879f9ecff7a2fbb3c8c1d | [
"CNRI-Python"
] | 26 | 2020-08-25T16:16:21.000Z | 2022-03-10T08:23:57.000Z | pyoptsparse/pyNOMAD/source/nomad_src/TGP_Model_Search.hpp | robfalck/pyoptsparse | c99f4bfe8961492d0a1879f9ecff7a2fbb3c8c1d | [
"CNRI-Python"
] | 90 | 2020-08-24T23:02:47.000Z | 2022-03-29T13:48:15.000Z | pyoptsparse/pyNOMAD/source/nomad_src/TGP_Model_Search.hpp | robfalck/pyoptsparse | c99f4bfe8961492d0a1879f9ecff7a2fbb3c8c1d | [
"CNRI-Python"
] | 25 | 2020-08-24T19:28:24.000Z | 2022-01-27T21:17:37.000Z | /*-------------------------------------------------------------------------------------*/
/* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct search - version 3.7.0.beta */
/* */
/* Copyright (C) 2001-2014 Mark Abramson ... | 50.561194 | 96 | 0.442673 | [
"mesh",
"object",
"vector",
"model"
] |
6b2361b1a2acac4b00a51246359cda3fba620d15 | 2,590 | cpp | C++ | atcoder/arc078f.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | 1 | 2020-04-04T14:56:12.000Z | 2020-04-04T14:56:12.000Z | atcoder/arc078f.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | atcoder/arc078f.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int L = 15;
const int N = 1<<L;
int d[L][L];
//int ss[L][N];
int comp[N];
int dp[N][L];
int n,MSK;
//void sub_sum(int i){
// vector<int> pos(n, 0); // [j..0] : + - - - -
// int sum = 0;
// for (int j = 0; j < n; j++) {
// pos[j] = d[i][j] - sum... | 25.145631 | 120 | 0.335135 | [
"vector"
] |
6b263c26ed114a80769aa095ad3e9320fb9a3632 | 771 | cpp | C++ | main.cpp | mmbell/Airborne-Radar-QC | d361f14edf1a24c386df609af300dc230df5110e | [
"MIT"
] | 4 | 2018-08-19T01:26:16.000Z | 2021-02-02T18:33:46.000Z | main.cpp | DalavanCloud/Airborne-Radar-QC | d361f14edf1a24c386df609af300dc230df5110e | [
"MIT"
] | null | null | null | main.cpp | DalavanCloud/Airborne-Radar-QC | d361f14edf1a24c386df609af300dc230df5110e | [
"MIT"
] | 5 | 2015-08-06T17:33:11.000Z | 2022-01-27T03:05:53.000Z | /* AirborneRadarQC */
/* Copyright 2011 Michael Bell and Cory Wolff */
/* All rights reserved */
#include <iostream>
#include <QApplication>
#include "radarqc/ext/QCscript/Dorade.h"
#include "radarqc/ext/QCscript/AirborneRadarQC.h"
using namespace std;
int main (int argc, char *argv[]) {
// Get the arguments
if (... | 22.028571 | 67 | 0.696498 | [
"object"
] |
6b3cf2124819111c7a500a24b15c88b3959ce00e | 26,468 | cc | C++ | dts/src/model/DescribeDtsJobsResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | dts/src/model/DescribeDtsJobsResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | dts/src/model/DescribeDtsJobsResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 61.841121 | 139 | 0.798549 | [
"vector",
"model"
] |
6b4127000502303fac1998df3a0f79047cb61da2 | 21,562 | cpp | C++ | gensim/src/isa/ISADescriptionParser.cpp | Linestro/Gensim_Y | 031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8 | [
"MIT"
] | 10 | 2020-07-14T22:09:30.000Z | 2022-01-11T09:57:52.000Z | gensim/src/isa/ISADescriptionParser.cpp | Linestro/Gensim_Y | 031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8 | [
"MIT"
] | 6 | 2020-07-09T12:01:57.000Z | 2021-04-27T10:23:58.000Z | gensim/src/isa/ISADescriptionParser.cpp | Linestro/Gensim_Y | 031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8 | [
"MIT"
] | 10 | 2020-07-29T17:05:26.000Z | 2021-12-04T14:57:15.000Z | /* This file is Copyright University of Edinburgh 2018. For license details, see LICENSE. */
#include "isa/ISADescriptionParser.h"
#include "isa/InstructionDescriptionParser.h"
#include "isa/AsmDescriptionParser.h"
#include "isa/AsmMapDescriptionParser.h"
#include <archcasm/archcasmParser.h>
#include <archcasm/archca... | 36.360877 | 157 | 0.699008 | [
"vector"
] |
6b4f5769e5b1e768a8f3909f95802caf2ee2dc8c | 17,644 | cpp | C++ | samples/cpp/tutorial_code/gapi/age_gender_emotion_recognition/age_gender_emotion_recognition.cpp | thisisgopalmandal/opencv | 4e2ef8c8f57644ccb8e762a37f70a61007c6be1c | [
"BSD-3-Clause"
] | 56,632 | 2016-07-04T16:36:08.000Z | 2022-03-31T18:38:14.000Z | samples/cpp/tutorial_code/gapi/age_gender_emotion_recognition/age_gender_emotion_recognition.cpp | thisisgopalmandal/opencv | 4e2ef8c8f57644ccb8e762a37f70a61007c6be1c | [
"BSD-3-Clause"
] | 13,593 | 2016-07-04T13:59:03.000Z | 2022-03-31T21:04:51.000Z | samples/cpp/tutorial_code/gapi/age_gender_emotion_recognition/age_gender_emotion_recognition.cpp | thisisgopalmandal/opencv | 4e2ef8c8f57644ccb8e762a37f70a61007c6be1c | [
"BSD-3-Clause"
] | 54,986 | 2016-07-04T14:24:38.000Z | 2022-03-31T22:51:18.000Z | #include "opencv2/opencv_modules.hpp"
#if defined(HAVE_OPENCV_GAPI)
#include <chrono>
#include <iomanip>
#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/gapi.hpp"
#include "opencv2/gapi/core.hpp"
#include "opencv2/gapi/imgproc.hpp"
#include "opencv2/gapi/infer.hpp"
#include "opencv2/g... | 42.92944 | 95 | 0.596577 | [
"vector",
"model"
] |
6b51f4f353bf7d200fa54e27e8a1b4d391137857 | 9,419 | cpp | C++ | src/Optimize/VariableSet.cpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | null | null | null | src/Optimize/VariableSet.cpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | null | null | null | src/Optimize/VariableSet.cpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source License.
// See LICENSE file in top directory for details.
//
// Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
//
// File developed by: Jeongnim ... | 32.704861 | 118 | 0.621934 | [
"object",
"vector"
] |
6b5564807114691832873a4c2a3b526ea4bf7ad3 | 22,115 | cpp | C++ | dashboard.cpp | vain3219/463_project | 7c661c8bf98c6da6d889e2813bc97eed343e071e | [
"Info-ZIP"
] | 1 | 2021-04-08T23:54:31.000Z | 2021-04-08T23:54:31.000Z | dashboard.cpp | vain3219/463_project | 7c661c8bf98c6da6d889e2813bc97eed343e071e | [
"Info-ZIP"
] | null | null | null | dashboard.cpp | vain3219/463_project | 7c661c8bf98c6da6d889e2813bc97eed343e071e | [
"Info-ZIP"
] | null | null | null | #include "dashboard.h"
#include "ui_dashboard.h"
#include "loginauth.h"
DashBoard::DashBoard(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::DashBoard)
{
// Nothing before this line
ui->setupUi(this);
// Change the window title
this->setWindowTitle("User Dashboard");
// Hide database fa... | 29.060447 | 145 | 0.612254 | [
"object",
"model"
] |
6b5b90b65cdfae4bf0608f7f55ed25818aafc99b | 2,686 | cpp | C++ | codeforces/D - Professor GukiZ and Two Arrays/Wrong answer on test 1 (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/D - Professor GukiZ and Two Arrays/Wrong answer on test 1 (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/D - Professor GukiZ and Two Arrays/Wrong answer on test 1 (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Oct/06/2020 13:51
* solution_verdict: Wrong answer on test 1 language: GNU C++14
* run... | 26.594059 | 111 | 0.445644 | [
"vector"
] |
6b6e8b508f3173356214ea638d804d30c78cfeff | 12,885 | cpp | C++ | isis/src/base/objs/OverlapNormalization/OverlapNormalization.cpp | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 134 | 2018-01-18T00:16:24.000Z | 2022-03-24T03:53:33.000Z | isis/src/base/objs/OverlapNormalization/OverlapNormalization.cpp | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 3,825 | 2017-12-11T21:27:34.000Z | 2022-03-31T21:45:20.000Z | isis/src/base/objs/OverlapNormalization/OverlapNormalization.cpp | jlaura/isis3 | 2c40e08caed09968ea01d5a767a676172ad20080 | [
"CC0-1.0"
] | 164 | 2017-11-30T21:15:44.000Z | 2022-03-23T10:22:29.000Z | /** This is free and unencumbered software released into the public domain.
The authors of ISIS do not claim copyright on the contents of this file.
For more details about the LICENSE terms and the AUTHORS, you will
find files of those names at the top level of this repository. **/
/* SPDX-License-Identifier: CC0-1.0 ... | 34.918699 | 104 | 0.627784 | [
"object",
"vector"
] |
6b6fd568da9f5380a846de6770229617cbff6adf | 3,684 | cpp | C++ | Tools/KFModTool/models/filelistmodel.cpp | IvanDSM/KingsFieldRE | b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3 | [
"MIT"
] | 16 | 2020-07-09T15:38:41.000Z | 2022-03-03T19:05:24.000Z | Tools/KFModTool/models/filelistmodel.cpp | IvanDSM/KingsFieldRE | b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3 | [
"MIT"
] | 7 | 2020-07-03T22:38:24.000Z | 2022-01-09T18:25:22.000Z | Tools/KFModTool/models/filelistmodel.cpp | IvanDSM/KingsFieldRE | b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3 | [
"MIT"
] | 2 | 2021-08-23T08:25:44.000Z | 2022-01-09T16:05:46.000Z | #include "filelistmodel.h"
#include "core/icons.h"
#include "core/prettynames.h"
#include <QAbstractItemView>
#include <QIcon>
QVariant FileListModel::headerData(int section, Qt::Orientation orientation, int role) const
{
Q_UNUSED(section)
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) return QS... | 31.487179 | 97 | 0.653366 | [
"model"
] |
6b753858b9c4cedc90e742ae71d81a8183130196 | 4,899 | cpp | C++ | mobilican_demos/pick_and_place/src/pan_tilt_object_tracking.cpp | robotican/mobilican_robots | faf97fa1dbb05db8068eaede65b572e1e0ba2273 | [
"BSD-2-Clause"
] | 1 | 2020-05-01T19:39:51.000Z | 2020-05-01T19:39:51.000Z | mobilican_demos/pick_and_place/src/pan_tilt_object_tracking.cpp | robotican/mobilican_robots | faf97fa1dbb05db8068eaede65b572e1e0ba2273 | [
"BSD-2-Clause"
] | 1 | 2019-01-21T11:00:54.000Z | 2019-01-28T08:21:30.000Z | mobilican_demos/pick_and_place/src/pan_tilt_object_tracking.cpp | robotican/mobilican_robots | faf97fa1dbb05db8068eaede65b572e1e0ba2273 | [
"BSD-2-Clause"
] | 2 | 2019-01-22T12:13:19.000Z | 2019-01-30T10:07:21.000Z | /*******************************************************************************
* Copyright (c) 2018, RoboTICan, LTD.
* 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 sour... | 37.976744 | 107 | 0.681772 | [
"vector"
] |
6b76f533a5c4d5e4a8a0819fbc187a0eae725dfc | 2,883 | cpp | C++ | PiSw/src/System/lowlib.cpp | Simulators/PiBusRaider | ec091f3c74ea25c3287d26d990ff5d1b90e97e92 | [
"MIT"
] | 7 | 2021-01-23T04:37:18.000Z | 2022-01-08T04:44:00.000Z | PiSw/src/System/lowlib.cpp | Simulators/PiBusRaider | ec091f3c74ea25c3287d26d990ff5d1b90e97e92 | [
"MIT"
] | 3 | 2021-04-01T11:28:31.000Z | 2021-05-10T09:56:05.000Z | PiSw/src/System/lowlib.cpp | robdobsn/BusRaider | 691e7882a06408208ca2abece5e7c4bcb4b4fa45 | [
"MIT"
] | null | null | null |
// Bus Raider
// Low-level library
// Rob Dobson 2019
#include "lowlib.h"
#include "CInterrupts.h"
#include <limits.h>
#include "memorymap.h"
#include "nmalloc.h"
#ifdef __cplusplus
extern "C" {
#endif
uint32_t micros()
{
static const uint32_t volatile* pTimerLower32Bits = (uint32_t*)ARM_SYSTIMER_CLO;
retur... | 22.523438 | 111 | 0.664239 | [
"object"
] |
6b7f26f0940a1cf21cdc96b2bea135ff919aa6aa | 12,869 | cc | C++ | mindspore/lite/tools/converter/adapter/dpico/src/data_preprocessor.cc | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | mindspore/lite/tools/converter/adapter/dpico/src/data_preprocessor.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/tools/converter/adapter/dpico/src/data_preprocessor.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 36.768571 | 119 | 0.652654 | [
"shape",
"vector",
"transform"
] |
6b81ebfea13d8be56eecfdc08019806e35651ec2 | 11,762 | cpp | C++ | packages/monte_carlo/event/estimator/test/tstStandardEstimatorFactory_Root.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/monte_carlo/event/estimator/test/tstStandardEstimatorFactory_Root.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/monte_carlo/event/estimator/test/tstStandardEstimatorFactory_Root.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file tstStandardEstimatorFactory_Root.cpp
//! \author Alex Robinson
//! \brief Standard estimator factory specialization for Root unit tests
//!
//---------------------------------------------------------------------------//
//... | 36.75625 | 83 | 0.627104 | [
"geometry"
] |
6b838abf1476487d176787fb9a4557c895488c28 | 5,261 | cpp | C++ | src/contrib/mlir/core/ngraph_dialect/dialect.cpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/contrib/mlir/core/ngraph_dialect/dialect.cpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/contrib/mlir/core/ngraph_dialect/dialect.cpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 33.509554 | 89 | 0.592283 | [
"shape"
] |
6b85134fda0e2b1e1050bcf49fded8760f999a56 | 1,335 | hpp | C++ | location/src/GenomeLocation.hpp | lucyhancock3533/CRISPR-search | 4ed4544589ae941af787d09880817b77a413a3b1 | [
"Unlicense"
] | null | null | null | location/src/GenomeLocation.hpp | lucyhancock3533/CRISPR-search | 4ed4544589ae941af787d09880817b77a413a3b1 | [
"Unlicense"
] | null | null | null | location/src/GenomeLocation.hpp | lucyhancock3533/CRISPR-search | 4ed4544589ae941af787d09880817b77a413a3b1 | [
"Unlicense"
] | null | null | null | #ifndef CRISPR_SEARCH_LOCATION_GENOMELOCATION_HPP
#define CRISPR_SEARCH_LOCATION_GENOMELOCATION_HPP
#include "cslocation.hpp"
#include "LocationDb.hpp"
namespace crisprsearch::location {
/**
* Genome location class, to prepare and run CRISPRCasFinder
*/
class GenomeLocation {
private:
Ge... | 32.560976 | 102 | 0.641948 | [
"object"
] |
6b8907055649ad880bbb6e5a8b89fb1a604a8842 | 21,201 | cpp | C++ | lite/io.cpp | philomath213/nlp-engine | 9c9d694b985a6a266004c32f8866098666a640ca | [
"MIT"
] | null | null | null | lite/io.cpp | philomath213/nlp-engine | 9c9d694b985a6a266004c32f8866098666a640ca | [
"MIT"
] | null | null | null | lite/io.cpp | philomath213/nlp-engine | 9c9d694b985a6a266004c32f8866098666a640ca | [
"MIT"
] | null | null | null | /*******************************************************************************
Copyright (c) 2001-2010 by Text Analysis International, Inc.
All rights reserved.
********************************************************************************
*
* NAME: IO.CPP
* FILE: lite\io.cpp
* CR: 10/06/98 AM.
* SUBJ: I/O functio... | 23.688268 | 80 | 0.54271 | [
"object"
] |
6b8dd19a9c60076b30e9c7f96dbb547595dacd25 | 6,350 | cpp | C++ | src/skybox/skybox.cpp | redfeatherplusplus/sandbox-graphics | 1075966820806d8b3e5d3d31f4563c2b4718d805 | [
"MIT"
] | null | null | null | src/skybox/skybox.cpp | redfeatherplusplus/sandbox-graphics | 1075966820806d8b3e5d3d31f4563c2b4718d805 | [
"MIT"
] | null | null | null | src/skybox/skybox.cpp | redfeatherplusplus/sandbox-graphics | 1075966820806d8b3e5d3d31f4563c2b4718d805 | [
"MIT"
] | null | null | null | #include "sandbox.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
const float skybox_vertices[24][6] =
{
// V_x V_y V_z N_x N_y N_z
// Front
{ -1.0, -1.0, 1.0, 0.0, 0.0, 1.0 },
{ 1.0, -1.0, 1.0, 0.0, 0.0, 1.0 },
{ -1.0, 1.0, 1.0, 0.0, 0.0, 1.0 },
{ 1.0, 1.0... | 32.731959 | 112 | 0.542677 | [
"render"
] |
6b8e5b57f4030708d8651ba8fa33e1769ceda318 | 3,683 | cpp | C++ | leetcode/794. Valid Tic-Tac-Toe State.cpp | chamow97/Interview-Prep | 9ce13afef6090b1604f72bf5f80a6e1df65be24f | [
"MIT"
] | 1 | 2018-09-13T12:16:42.000Z | 2018-09-13T12:16:42.000Z | leetcode/794. Valid Tic-Tac-Toe State.cpp | chamow97/Interview-Prep | 9ce13afef6090b1604f72bf5f80a6e1df65be24f | [
"MIT"
] | null | null | null | leetcode/794. Valid Tic-Tac-Toe State.cpp | chamow97/Interview-Prep | 9ce13afef6090b1604f72bf5f80a6e1df65be24f | [
"MIT"
] | null | null | null | class Solution {
public:
bool validTicTacToe(vector<string>& board) {
int xCount = 0, oCount = 0;
int counter = 0;
for(int i = 0; i < 3; i++)
{
for(int j = 0; j < 3; j++)
{
if(board[i][j] == 'X')
{
xCount++;
... | 22.875776 | 102 | 0.217214 | [
"vector"
] |
6b8e9d2c217df148bf68f37e269f0d7151b74f78 | 581 | cpp | C++ | atcoder/nikkei/second/b.cpp | Lambda1/atcoder | a4a57ddc21cc29b8b795173630e1d07db4abb559 | [
"MIT"
] | null | null | null | atcoder/nikkei/second/b.cpp | Lambda1/atcoder | a4a57ddc21cc29b8b795173630e1d07db4abb559 | [
"MIT"
] | null | null | null | atcoder/nikkei/second/b.cpp | Lambda1/atcoder | a4a57ddc21cc29b8b795173630e1d07db4abb559 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cmath>
#include <map>
#include <queue>
using lint = long long int;
using Graph = std::vector<std::vector<lint>>;
template<class T>
struct edge
{
T dist;
lint to;
edge(){}
edge(const T &a_dist,const lint &a_to) : dist(a_dist), t... | 16.6 | 67 | 0.604131 | [
"vector"
] |
6b9b184047bda04522bcceb2d155d2c1e8f8063b | 5,151 | hpp | C++ | src/gravity/obcgravity.hpp | aviator24/athena-public-version | bb82d77a67374e8cf17977f21121d4682dd8806c | [
"BSD-3-Clause"
] | null | null | null | src/gravity/obcgravity.hpp | aviator24/athena-public-version | bb82d77a67374e8cf17977f21121d4682dd8806c | [
"BSD-3-Clause"
] | null | null | null | src/gravity/obcgravity.hpp | aviator24/athena-public-version | bb82d77a67374e8cf17977f21121d4682dd8806c | [
"BSD-3-Clause"
] | null | null | null | #ifndef GRAVITY_OBCGRAVITY_HPP_
#define GRAVITY_OBCGRAVITY_HPP_
//========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD Licens... | 29.267045 | 90 | 0.683168 | [
"mesh"
] |
6b9b1c6f6403939be34839a659dbb1d18e6b194f | 2,299 | cpp | C++ | MMOCoreORB/src/server/zone/objects/tangible/wearables/WearableContainerObjectImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/server/zone/objects/tangible/wearables/WearableContainerObjectImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/server/zone/objects/tangible/wearables/WearableContainerObjectImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
* WearableContainerObjectImplementation.cpp
*
* Created on: Oct 27, 2012
* Author: loshult
*/
#include "server/zone/objects/tangible/wearables/WearableContainerObject.h"
#include "server/zone/objects/creature/CreatureObject.h"
#include "server/zone/managers/skill/SkillModManager.h"
#include "server/zone/... | 29.857143 | 94 | 0.754676 | [
"object"
] |
6b9f814bb5ca76b5e49a0182c587f7c9f01d3ea7 | 10,290 | cpp | C++ | source/MaterialXTest/MaterialXGenMdl/GenMdl.cpp | ZapAndersson/MaterialX | 886ddc617ab9dda957ab3858a3e884ba60b166b7 | [
"Apache-2.0"
] | 38 | 2022-02-28T21:36:43.000Z | 2022-03-29T18:11:08.000Z | source/MaterialXTest/MaterialXGenMdl/GenMdl.cpp | ZapAndersson/MaterialX | 886ddc617ab9dda957ab3858a3e884ba60b166b7 | [
"Apache-2.0"
] | 37 | 2022-02-28T23:13:33.000Z | 2022-03-31T23:50:43.000Z | source/MaterialXTest/MaterialXGenMdl/GenMdl.cpp | kwokcb/MaterialX | 483c616e10e6d9a23763ae33cd10f7bcb08cf2e9 | [
"Apache-2.0"
] | 4 | 2022-03-03T20:24:13.000Z | 2022-03-25T09:53:52.000Z | //
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <MaterialXTest/Catch/catch.hpp>
#include <MaterialXTest/MaterialXGenMdl/GenMdl.h>
#include <MaterialXCore/Document.h>
#include <MaterialXFormat/File.h>
#include <MaterialXGen... | 41.829268 | 144 | 0.631876 | [
"render",
"vector"
] |
6ba275f66d2c87cd8a7fe7803027ff6a334100b2 | 17,070 | cpp | C++ | Example/Source/Examples/Private/Renderer/Scene/VrController.cpp | cofenberg/unrimp | 90310657f106eb83f3a9688329b78619255a1042 | [
"MIT"
] | 187 | 2015-11-02T21:27:57.000Z | 2022-02-17T21:39:17.000Z | Example/Source/Examples/Private/Renderer/Scene/VrController.cpp | cofenberg/unrimp | 90310657f106eb83f3a9688329b78619255a1042 | [
"MIT"
] | null | null | null | Example/Source/Examples/Private/Renderer/Scene/VrController.cpp | cofenberg/unrimp | 90310657f106eb83f3a9688329b78619255a1042 | [
"MIT"
] | 20 | 2015-11-04T19:17:01.000Z | 2021-11-18T11:23:25.000Z | /*********************************************************\
* Copyright (c) 2012-2021 The Unrimp Team
*
* 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 wit... | 44.222798 | 271 | 0.649971 | [
"mesh",
"transform"
] |
6ba3650d5a4850f449fded217ae3a8e8b624fcd1 | 4,667 | cpp | C++ | src/likelihood_ratio.cpp | tgstoecker/CAFE5 | bfc745ef7cf3ca8b11cfe984b4aadf4a90795868 | [
"ECL-2.0"
] | 33 | 2020-11-23T02:15:17.000Z | 2022-03-17T17:12:57.000Z | src/likelihood_ratio.cpp | tgstoecker/CAFE5 | bfc745ef7cf3ca8b11cfe984b4aadf4a90795868 | [
"ECL-2.0"
] | 33 | 2020-11-11T18:58:38.000Z | 2022-03-28T14:04:13.000Z | src/likelihood_ratio.cpp | tgstoecker/CAFE5 | bfc745ef7cf3ca8b11cfe984b4aadf4a90795868 | [
"ECL-2.0"
] | 11 | 2021-03-11T21:15:28.000Z | 2022-03-24T20:44:37.000Z | #include "core.h"
#include "matrix_cache.h"
#include "user_data.h"
#include "chisquare.h"
#include "optimizer_scorer.h"
#include "root_equilibrium_distribution.h"
#include <memory>
#include <cmath>
#include <algorithm>
namespace LikelihoodRatioTest
{
using namespace std;
clade * update_branchlength(const cla... | 41.669643 | 171 | 0.628027 | [
"vector",
"model"
] |
6ba781ec3c57d6d3ca8c96aab22b4d9a0446772e | 7,372 | cpp | C++ | Child/Code/tLithologyManager/childLithTestDriver.cpp | dvalters/child | 9874278f5308ab6c5f0cb93ed879bca9761d24b9 | [
"MIT"
] | 9 | 2015-02-23T15:47:20.000Z | 2020-05-19T23:42:05.000Z | Child/Code/tLithologyManager/childLithTestDriver.cpp | dvalters/child | 9874278f5308ab6c5f0cb93ed879bca9761d24b9 | [
"MIT"
] | 3 | 2020-04-21T06:12:53.000Z | 2020-08-20T16:56:17.000Z | Child/Code/tLithologyManager/childLithTestDriver.cpp | dvalters/child | 9874278f5308ab6c5f0cb93ed879bca9761d24b9 | [
"MIT"
] | 12 | 2015-02-18T18:34:57.000Z | 2020-07-12T04:04:36.000Z | /**************************************************************************/
/**
** childDriver.cpp: This provides a test and example of the CHILD
** interface.
**
** The variation "childTestDriver" is used to test new additions,
** especially to the childInterface.
**
** Apr 2010
**
** For information regarding ... | 37.612245 | 109 | 0.612588 | [
"vector",
"model"
] |
6ba80d379ae5d9b60db037c8df01320456197666 | 725 | cpp | C++ | 08/05_filter_by_index/main.cpp | MATF-Functional-Programming/FP-4I-2019-2020 | bb78c55a6d88190e9d90dbd4adcef4d25e3c2492 | [
"MIT"
] | 1 | 2021-08-29T13:09:39.000Z | 2021-08-29T13:09:39.000Z | 08/05_filter_by_index/main.cpp | MATF-Functional-Programming/FP-4I-2019-2020 | bb78c55a6d88190e9d90dbd4adcef4d25e3c2492 | [
"MIT"
] | null | null | null | 08/05_filter_by_index/main.cpp | MATF-Functional-Programming/FP-4I-2019-2020 | bb78c55a6d88190e9d90dbd4adcef4d25e3c2492 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <functional>
#include <range/v3/view.hpp>
using namespace ranges::v3;
using namespace std::placeholders;
bool index_filter(size_t index) {
return index % 3 != 0;
}
int main(int argc, char *argv[])
{
std::vector<int> xs = { -1, -3, -5, 1, 3, 5};
// Zipujemo ... | 24.166667 | 81 | 0.611034 | [
"vector",
"transform"
] |
6bac3e1912e7233eb3b45e0e53c34c31aff5af20 | 2,236 | cpp | C++ | DivideAndConquer/CountOfSmallerNumbersAfterSelf/CountOfSmallerNumbersAfterSelf.cpp | yijingbai/LeetCode | 6ae6dbdf3a720b4206323401a0ed16ac2066031e | [
"MIT"
] | 2 | 2015-08-28T03:52:05.000Z | 2015-09-03T09:54:40.000Z | DivideAndConquer/CountOfSmallerNumbersAfterSelf/CountOfSmallerNumbersAfterSelf.cpp | yijingbai/LeetCode | 6ae6dbdf3a720b4206323401a0ed16ac2066031e | [
"MIT"
] | null | null | null | DivideAndConquer/CountOfSmallerNumbersAfterSelf/CountOfSmallerNumbersAfterSelf.cpp | yijingbai/LeetCode | 6ae6dbdf3a720b4206323401a0ed16ac2066031e | [
"MIT"
] | null | null | null | // Source : https://leetcode.com/problems/count-of-smaller-numbers-after-self/
// Author : Yijing Bai
// Date : 2016-03-25
/**********************************************************************************
*
* You are given an integer array nums and you have to return a new counts array.
* The counts array has t... | 33.878788 | 103 | 0.489714 | [
"vector"
] |
6bc6a29a2963a6ef39fdd0b43a9d8f91bea676bb | 19,434 | cpp | C++ | lib/_studio/mfx_lib/fei/h264_enc/mfx_h264_enc.cpp | 3xLOGICKevinHan/MediaSDK | 92b6ee70f5ea45d08527f81cb93105f9ee71d84e | [
"MIT"
] | null | null | null | lib/_studio/mfx_lib/fei/h264_enc/mfx_h264_enc.cpp | 3xLOGICKevinHan/MediaSDK | 92b6ee70f5ea45d08527f81cb93105f9ee71d84e | [
"MIT"
] | null | null | null | lib/_studio/mfx_lib/fei/h264_enc/mfx_h264_enc.cpp | 3xLOGICKevinHan/MediaSDK | 92b6ee70f5ea45d08527f81cb93105f9ee71d84e | [
"MIT"
] | null | null | null | // Copyright (c) 2017 Intel Corporation
//
// 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, publ... | 33.277397 | 175 | 0.666821 | [
"transform"
] |
6bc6f152f0db788c06157500be706d3373d9e0c1 | 41,384 | cxx | C++ | panda/src/egg/eggGroup.cxx | cflavio/panda3d | 147bac69a76817097ffc65bd01de3709ca7c6fb0 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/egg/eggGroup.cxx | cflavio/panda3d | 147bac69a76817097ffc65bd01de3709ca7c6fb0 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/egg/eggGroup.cxx | cflavio/panda3d | 147bac69a76817097ffc65bd01de3709ca7c6fb0 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file eggGroup.cxx
* @author... | 27.406623 | 78 | 0.662116 | [
"mesh",
"render",
"object",
"model",
"transform",
"3d",
"solid"
] |
6bc7462c83344590c13c814eca074d1e26a42472 | 8,424 | hpp | C++ | lib-seeded/signature-verification-key.hpp | agricocb/seeded-crypto | 271a4d40f5fccaa65126dde7f818bfb8518eeb1a | [
"MIT"
] | null | null | null | lib-seeded/signature-verification-key.hpp | agricocb/seeded-crypto | 271a4d40f5fccaa65126dde7f818bfb8518eeb1a | [
"MIT"
] | null | null | null | lib-seeded/signature-verification-key.hpp | agricocb/seeded-crypto | 271a4d40f5fccaa65126dde7f818bfb8518eeb1a | [
"MIT"
] | null | null | null | #pragma once
#include <cassert>
#include <sodium.h>
#include <vector>
#include <string>
#include "sodium-buffer.hpp"
/**
* @brief A SignatureVerificationKey is used to verify that messages were
* signed by its corresponding SigningKey.
* SigningKeys generate _signatures_, and by verifying a message/signature
* p... | 35.846809 | 101 | 0.73623 | [
"object",
"vector"
] |
6bce4786be37736f1a638b92acacd4c6595a20e0 | 21,122 | cpp | C++ | Engine/RendererObjectFactory.cpp | kristofe/VolumeRenderer | 653976ef8c80d05fd1059ebc0b3d3542649879fc | [
"MIT"
] | null | null | null | Engine/RendererObjectFactory.cpp | kristofe/VolumeRenderer | 653976ef8c80d05fd1059ebc0b3d3542649879fc | [
"MIT"
] | null | null | null | Engine/RendererObjectFactory.cpp | kristofe/VolumeRenderer | 653976ef8c80d05fd1059ebc0b3d3542649879fc | [
"MIT"
] | null | null | null | #include <assert.h>
#include "ImageUtils.h"
#include "Platform.h"
#include "Globals.h"
#include "Game.h"
#include "Mesh.h"
#include "Material.h"
#include "TextureFont.h"
#include "RendererObjectFactory.h"
////////////////////////////////////////////////////////////////////////////////
RendererObjectFactory* RendererO... | 28.351678 | 160 | 0.595824 | [
"mesh"
] |
6bd5649b97412ce328616f4a96d0686a4040c363 | 1,616 | cpp | C++ | code/src/log/cg_execution_log.cpp | mblufstein/pruebasOR | b43e63596643fe762f49fefffcc763c6a293a9cd | [
"MIT"
] | 2 | 2019-12-31T09:21:22.000Z | 2021-05-01T02:37:07.000Z | code/src/log/cg_execution_log.cpp | mblufstein/pruebasOR | b43e63596643fe762f49fefffcc763c6a293a9cd | [
"MIT"
] | null | null | null | code/src/log/cg_execution_log.cpp | mblufstein/pruebasOR | b43e63596643fe762f49fefffcc763c6a293a9cd | [
"MIT"
] | 2 | 2019-12-21T14:09:31.000Z | 2021-05-01T02:37:06.000Z | //
// Created by Gonzalo Lera Romero.
// Grupo de Optimizacion Combinatoria (GOC).
// Departamento de Computacion - Universidad de Buenos Aires.
//
#include "goc/log/cg_execution_log.h"
#include "goc/string/string_utils.h"
using namespace std;
using namespace nlohmann;
namespace goc
{
json CGExecutionLog::ToJSON() ... | 33.666667 | 82 | 0.679455 | [
"vector"
] |
6bd8705ceaf179a8de04b0d887551c68d4ed90cb | 11,463 | cpp | C++ | 2020-2021/05_tsp_tests/tspstart.cpp | pantadeusz/meh | 16d2826330c9bfdb4c7a315f2f69ec33b464541d | [
"MIT"
] | null | null | null | 2020-2021/05_tsp_tests/tspstart.cpp | pantadeusz/meh | 16d2826330c9bfdb4c7a315f2f69ec33b464541d | [
"MIT"
] | 1 | 2019-10-18T07:14:26.000Z | 2019-10-18T18:54:26.000Z | 2020-2021/05_tsp_tests/tspstart.cpp | pantadeusz/meh | 16d2826330c9bfdb4c7a315f2f69ec33b464541d | [
"MIT"
] | 2 | 2019-10-24T08:50:00.000Z | 2020-03-29T06:10:20.000Z | /*
TSP z powrotem do punktu startowego
Zadanie do rozwiązania:
{(x0,y0),(x1,y1),...,(xn-1,yn-1)}
(dziedzina) Punkt roboczy, potencjalne rozwiązanie
(i0,i1,i2,...,in-1) -- lista kolejnych miast do odwiedzienia
Konstrukcja funkcji celu
Suma(odległość(miast))
Metoda modyfikacji rozwiązania
-*kolejna permutacja
- los... | 29.093909 | 153 | 0.545581 | [
"vector"
] |
6bda2e4a42526a9b17ea2e68519e75e824609300 | 1,606 | cpp | C++ | src/261.graph_valid_tree/code.cpp | cloudzfy/leetcode | 9d32090429ef297e1f62877382bff582d247266a | [
"MIT"
] | 1 | 2016-07-02T17:44:10.000Z | 2016-07-02T17:44:10.000Z | src/261.graph_valid_tree/code.cpp | cloudzfy/leetcode | 9d32090429ef297e1f62877382bff582d247266a | [
"MIT"
] | null | null | null | src/261.graph_valid_tree/code.cpp | cloudzfy/leetcode | 9d32090429ef297e1f62877382bff582d247266a | [
"MIT"
] | 1 | 2019-12-21T04:57:15.000Z | 2019-12-21T04:57:15.000Z | class Solution {
public:
bool validTree(int n, vector<pair<int, int>>& edges) {
vector<int> degree(n, 0);
vector<vector<int>> graph(n, vector<int>(0));
for (int i = 0; i < edges.size(); i++) {
graph[edges[i].first].push_back(edges[i].second);
graph[edges[i].second].pu... | 30.301887 | 70 | 0.412204 | [
"vector"
] |
6bdd0ba4a5dc793ee1b24e2ef4912654c9728bd3 | 2,266 | hpp | C++ | src/a2d/physics/rigidbody.hpp | ayles/A2D | 278b8e40be74c0f0257b1062f009995462f983fa | [
"MIT"
] | 17 | 2018-11-12T11:13:23.000Z | 2021-11-13T12:38:21.000Z | src/a2d/physics/rigidbody.hpp | ayles/A2D | 278b8e40be74c0f0257b1062f009995462f983fa | [
"MIT"
] | 1 | 2018-11-12T11:16:01.000Z | 2018-11-12T11:17:50.000Z | src/a2d/physics/rigidbody.hpp | ayles/A2D | 278b8e40be74c0f0257b1062f009995462f983fa | [
"MIT"
] | 3 | 2019-05-28T12:44:09.000Z | 2021-11-13T12:38:23.000Z | //
// Created by selya on 19.12.2018.
//
#ifndef A2D_RIGIDBODY_HPP
#define A2D_RIGIDBODY_HPP
#include <a2d/core/component.hpp>
#include <a2d/physics/physics.hpp>
#include <a2d/core/object2d.hpp>
#include <a2d/renderer/line.hpp>
namespace a2d {
class Rigidbody : public Component {
friend class PhysicsCollider;
... | 27.975309 | 94 | 0.717564 | [
"transform"
] |
6bdd201bc75879f4c910c17e45471c259fcbc24d | 11,723 | cpp | C++ | src/trainingset.cpp | yorickr/NeuralObjectClassification | dfc3893dfd41e6e33ce66a5edc6832a6f3ad0b52 | [
"MIT"
] | null | null | null | src/trainingset.cpp | yorickr/NeuralObjectClassification | dfc3893dfd41e6e33ce66a5edc6832a6f3ad0b52 | [
"MIT"
] | null | null | null | src/trainingset.cpp | yorickr/NeuralObjectClassification | dfc3893dfd41e6e33ce66a5edc6832a6f3ad0b52 | [
"MIT"
] | null | null | null | #include "../include/trainingset.h"
double angle( Point pt1, Point pt2, Point pt0 ) {
double dx1 = pt1.x - pt0.x;
double dy1 = pt1.y - pt0.y;
double dx2 = pt2.x - pt0.x;
double dy2 = pt2.y - pt0.y;
return (dx1*dx2 + dy1*dy2)/sqrt((dx1*dx1 + dy1*dy1)*(dx2*dx2 + dy2*dy2) + 1e-10);
}
void drawSquare... | 34.378299 | 133 | 0.621854 | [
"vector"
] |
6be0e78b6db50eab5fc9826d7ebb115062a24bc1 | 2,796 | cpp | C++ | 2d-object-tracking/server/src/application.cpp | cognitivesystems/smartcamera | 5374193260e6385becfe8086a70d21d650314beb | [
"BSD-2-Clause"
] | 1 | 2017-03-27T16:14:59.000Z | 2017-03-27T16:14:59.000Z | 2d-object-tracking/server/src/application.cpp | cognitivesystems/smartcamera | 5374193260e6385becfe8086a70d21d650314beb | [
"BSD-2-Clause"
] | null | null | null | 2d-object-tracking/server/src/application.cpp | cognitivesystems/smartcamera | 5374193260e6385becfe8086a70d21d650314beb | [
"BSD-2-Clause"
] | null | null | null | #include <fstream>
#include <bcm_host.h>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <thrift/concurrency/ThreadManager.h>
#include <thrift/concurrency/PosixThreadFactory.h>
#include <thrift/protocol/TBinaryPr... | 33.285714 | 110 | 0.712089 | [
"vector"
] |
6be89d8a9f4fb1353c9f563a6f35351a6647993c | 40,943 | cpp | C++ | profiler/src/ProfilerEngine/Datadog.Profiler.Native/CorProfilerCallback.cpp | cwe1ss/dd-trace-dotnet | ed74cf794cb02fb698567052caae973870b82428 | [
"Apache-2.0"
] | null | null | null | profiler/src/ProfilerEngine/Datadog.Profiler.Native/CorProfilerCallback.cpp | cwe1ss/dd-trace-dotnet | ed74cf794cb02fb698567052caae973870b82428 | [
"Apache-2.0"
] | null | null | null | profiler/src/ProfilerEngine/Datadog.Profiler.Native/CorProfilerCallback.cpp | cwe1ss/dd-trace-dotnet | ed74cf794cb02fb698567052caae973870b82428 | [
"Apache-2.0"
] | null | null | null | // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2022 Datadog, Inc.
// from dotnet coreclr includes
#include "cor.h"
#include "corprof.h"
// end
#include "CorProfil... | 34.147623 | 191 | 0.712429 | [
"vector"
] |
6beeab6b83fcd50248359092f5db9c4cbac99756 | 3,159 | cpp | C++ | Alien Engine/Alien Engine/PanelLayout.cpp | OverPowered-Team/Alien-GameEngine | 713a8846a95fdf253d0869bdcad4ecd006b2e166 | [
"MIT"
] | 7 | 2020-02-20T15:11:11.000Z | 2020-05-19T00:29:04.000Z | Alien Engine/Alien Engine/PanelLayout.cpp | OverPowered-Team/Alien-GameEngine | 713a8846a95fdf253d0869bdcad4ecd006b2e166 | [
"MIT"
] | 125 | 2020-02-29T17:17:31.000Z | 2020-05-06T19:50:01.000Z | Alien Engine/Alien Engine/PanelLayout.cpp | OverPowered-Team/Alien-GameEngine | 713a8846a95fdf253d0869bdcad4ecd006b2e166 | [
"MIT"
] | 1 | 2020-05-19T00:29:06.000Z | 2020-05-19T00:29:06.000Z | #include "PanelLayout.h"
#include "Application.h"
#include "ShortCutManager.h"
#include "ModuleUI.h"
#include "mmgr/mmgr.h"
PanelLayout::PanelLayout(const std::string& panel_name, const SDL_Scancode& key1_down, const SDL_Scancode& key2_repeat, const SDL_Scancode& key3_repeat_extra)
: Panel(panel_name, key1_down, key2... | 26.771186 | 158 | 0.667616 | [
"vector"
] |
6bef240d628702335522cf13ed71ef0455a5a9c8 | 2,600 | hh | C++ | gltracesim/src/vmemory.hh | JRPan/gltracesim | 79708f503047922538ca2983392c0e9f99a4345a | [
"BSD-3-Clause"
] | 11 | 2018-06-12T01:38:52.000Z | 2021-05-21T19:53:27.000Z | gltracesim/src/vmemory.hh | JRPan/gltracesim | 79708f503047922538ca2983392c0e9f99a4345a | [
"BSD-3-Clause"
] | null | null | null | gltracesim/src/vmemory.hh | JRPan/gltracesim | 79708f503047922538ca2983392c0e9f99a4345a | [
"BSD-3-Clause"
] | 3 | 2019-03-31T15:00:50.000Z | 2021-12-07T22:05:03.000Z | #ifndef __GLTRACESIM_VMEMORY_HH__
#define __GLTRACESIM_VMEMORY_HH__
#include <map>
#include <memory>
#include <string>
#include <vector>
#include <bitset>
#include <random>
#include <json/json.h>
#include "util/addr_range.hh"
#include "util/addr_range_map.hh"
namespace gltracesim {
class VirtualMemoryManager;
/**
... | 15.853659 | 78 | 0.589615 | [
"vector"
] |
6bf706c8a2a87e0759b7d7aa37cfbcd97825d60a | 3,632 | cc | C++ | zircon/system/utest/sysinfo/main.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 1 | 2019-10-09T10:50:57.000Z | 2019-10-09T10:50:57.000Z | zircon/system/utest/sysinfo/main.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 5 | 2020-09-06T09:02:06.000Z | 2022-03-02T04:44:22.000Z | zircon/system/utest/sysinfo/main.cc | ZVNexus/fuchsia | c5610ad15208208c98693618a79c705af935270c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 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 <fcntl.h>
#include <unistd.h>
#include <fuchsia/sysinfo/c/fidl.h>
#include <lib/fdio/fd.h>
#include <lib/fdio/fdio.h>
#include <lib/fdio/director... | 34.923077 | 100 | 0.706222 | [
"object"
] |
6bf71496898aac69dcd61011b3915bd9a2258c16 | 1,244 | cpp | C++ | sdk/keyvault/azure-security-keyvault-keys/src/key_vault_key.cpp | katmsft/azure-sdk-for-cpp | d99f3ab8e62fff5c65c49aea91aba3c2a422a7d1 | [
"MIT"
] | null | null | null | sdk/keyvault/azure-security-keyvault-keys/src/key_vault_key.cpp | katmsft/azure-sdk-for-cpp | d99f3ab8e62fff5c65c49aea91aba3c2a422a7d1 | [
"MIT"
] | null | null | null | sdk/keyvault/azure-security-keyvault-keys/src/key_vault_key.cpp | katmsft/azure-sdk-for-cpp | d99f3ab8e62fff5c65c49aea91aba3c2a422a7d1 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include "azure/keyvault/keys/key_vault_key.hpp"
#include <azure/core/internal/json.hpp>
using namespace Azure::Security::KeyVault::Keys;
namespace {
void ParseStringOperationsToKeyOperations(
std::vector<KeyOperation>&... | 28.930233 | 82 | 0.731511 | [
"vector"
] |
6bfa872294a0a647999df19bfbe444c69aeea472 | 13,522 | cpp | C++ | geobuf.cpp | pavanraotk/tippecanoe | d64ac19f115bef509f34cfc685ff27644e033e3c | [
"BSD-2-Clause"
] | null | null | null | geobuf.cpp | pavanraotk/tippecanoe | d64ac19f115bef509f34cfc685ff27644e033e3c | [
"BSD-2-Clause"
] | null | null | null | geobuf.cpp | pavanraotk/tippecanoe | d64ac19f115bef509f34cfc685ff27644e033e3c | [
"BSD-2-Clause"
] | null | null | null | #include <stdio.h>
#include <string>
#include <limits.h>
#include <pthread.h>
#include "mvt.hpp"
#include "serial.hpp"
#include "geobuf.hpp"
#include "geojson.hpp"
#include "projection.hpp"
#include "main.hpp"
#include "protozero/varint.hpp"
#include "protozero/pbf_reader.hpp"
#include "protozero/pbf_writer.hpp"
#inclu... | 23.193825 | 190 | 0.62757 | [
"geometry",
"vector"
] |
6bff446a61bbef3c399a655ccd082f20b2ef2936 | 2,096 | hpp | C++ | stan/math/rev/fun/sd.hpp | nicokist/math | d47c331a693a3d5ebc4453360743b9353a8e3ed1 | [
"BSD-3-Clause"
] | null | null | null | stan/math/rev/fun/sd.hpp | nicokist/math | d47c331a693a3d5ebc4453360743b9353a8e3ed1 | [
"BSD-3-Clause"
] | null | null | null | stan/math/rev/fun/sd.hpp | nicokist/math | d47c331a693a3d5ebc4453360743b9353a8e3ed1 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_REV_FUN_SD_HPP
#define STAN_MATH_REV_FUN_SD_HPP
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/fun/typedefs.hpp>
#include <stan/math/prim/fun/inv_sqrt.hpp>
#include <cmath>
#include... | 32.246154 | 80 | 0.686546 | [
"vector"
] |
d401d2134b3539b4eafe7bf23ef56e5bb6c09287 | 7,084 | cpp | C++ | sparta/src/sparta.cpp | criusx/map | 7a934d1721ac1257503f7f324b54eb898750ab0d | [
"MIT"
] | null | null | null | sparta/src/sparta.cpp | criusx/map | 7a934d1721ac1257503f7f324b54eb898750ab0d | [
"MIT"
] | null | null | null | sparta/src/sparta.cpp | criusx/map | 7a934d1721ac1257503f7f324b54eb898750ab0d | [
"MIT"
] | null | null | null | // <sparta> -*- C++ -*-
/*!
* \file sparta.cpp
* \brief Instantiation of globals and static members from all various sparta
* headers which don't have enough code to warrant their own source files.
*
* Additionally, anything requiring a strict static initialization order must
* exist here.
*/
#include "sparta... | 35.777778 | 121 | 0.679983 | [
"vector"
] |
d4096fb30eb0b0130732b502460f02be70d3297f | 8,442 | cpp | C++ | pinto/src/PintoManager.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | 1 | 2016-05-09T03:34:51.000Z | 2016-05-09T03:34:51.000Z | pinto/src/PintoManager.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | pinto/src/PintoManager.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | /* Sirikata
* PintoManager.cpp
*
* Copyright (c) 2010, Ewen Cheslack-Postava
* 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 a... | 38.372727 | 155 | 0.69936 | [
"object"
] |
d409a7d12bb608a8415e72888bf3581f028fbd93 | 9,193 | cpp | C++ | src/talker.cpp | michael081906/ros-project-robotic-polishing | 12f02befa244dc2cfdb3e3e5f89c8d3f25fde7bb | [
"BSD-3-Clause"
] | 5 | 2020-10-01T19:59:23.000Z | 2022-02-09T02:48:53.000Z | src/talker.cpp | michael081906/Robotic-polishing | 12f02befa244dc2cfdb3e3e5f89c8d3f25fde7bb | [
"BSD-3-Clause"
] | 1 | 2021-01-08T07:20:12.000Z | 2021-01-08T07:33:21.000Z | src/talker.cpp | michael081906/Robotic-polishing | 12f02befa244dc2cfdb3e3e5f89c8d3f25fde7bb | [
"BSD-3-Clause"
] | 4 | 2020-12-03T12:47:33.000Z | 2022-01-28T06:25:37.000Z | // "Copyright [2017] <Michael Kam>"
/** @file talker.cpp
* @brief This talker.cpp is a ros node that subscribes point cloud and
* computes the trajectory f
*
* @author Michael Kam (michael081906)
* @bug No known bugs.
* @copyright GNU Public License.
*
* talker is free software: you can redistribute it an... | 32.832143 | 132 | 0.662678 | [
"mesh",
"vector",
"transform"
] |
d40b4f4c05749c0563f123baa55d8f8f84af9a58 | 4,956 | cpp | C++ | Code/Piezo/Sources/albumsong.cpp | ehopperdietzel/CuarzoOS | 6202cc6658550828ca9e8527ba29d539c31f65c1 | [
"Apache-2.0"
] | 5 | 2017-08-18T03:23:09.000Z | 2021-08-15T23:12:10.000Z | Code/Piezo/Sources/albumsong.cpp | ehopperdietzel/CuarzoOS | 6202cc6658550828ca9e8527ba29d539c31f65c1 | [
"Apache-2.0"
] | 1 | 2017-12-09T16:00:58.000Z | 2017-12-09T16:41:27.000Z | Code/Piezo/Sources/albumsong.cpp | ehopperdietzel/CuarzoOS | 6202cc6658550828ca9e8527ba29d539c31f65c1 | [
"Apache-2.0"
] | 2 | 2018-07-23T20:11:00.000Z | 2018-09-24T21:37:08.000Z | #include "albumsong.h"
#include <QDebug>
//Creates the song
AlbumSong::AlbumSong(QVariantMap data, bool logged)
{
setAttribute(Qt::WA_Hover);
setFixedHeight(35);
setStyleSheet("AlbumSong{border-bottom:1px solid #EEE;border-radius:0px}");
number->setStyleSheet("color:#888");
number->setFixedWidth(1... | 24.904523 | 110 | 0.597256 | [
"solid"
] |
d40dc834fc2ea78f285778b24b2b9360a2e80821 | 9,125 | cpp | C++ | train/data.cpp | wincle/NPD | bbad16b488f6fab77a358a2e2a5337bec4bd17a5 | [
"BSD-3-Clause"
] | 120 | 2016-03-09T02:03:51.000Z | 2021-11-16T13:55:43.000Z | train/data.cpp | wincle/NPD | bbad16b488f6fab77a358a2e2a5337bec4bd17a5 | [
"BSD-3-Clause"
] | 15 | 2016-03-09T02:09:42.000Z | 2018-07-10T03:19:23.000Z | train/data.cpp | wincle/NPD | bbad16b488f6fab77a358a2e2a5337bec4bd17a5 | [
"BSD-3-Clause"
] | 84 | 2016-03-08T11:41:35.000Z | 2020-08-08T06:46:21.000Z | #include "data.hpp"
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <omp.h>
using namespace cv;
DataSet::DataSet(){
const Options& opt = Options::GetInstance();
int i;
for(i=0;i<opt.numThreads;i++){
x[i]=0;
y[i]=0;
srand(time(0)+i);
factor[i] = 1.+(float)... | 25.277008 | 87 | 0.564384 | [
"vector"
] |
d424e87da111aeb02207785424b115396678220a | 26,972 | hpp | C++ | lib/base.hpp | adamsol/Pyxell | 15f4e4918853a408fcf6a6d65ffd0be6f2b772a6 | [
"MIT"
] | 46 | 2018-08-31T03:37:49.000Z | 2022-03-08T19:31:35.000Z | lib/base.hpp | adamsol/Pyxell | 15f4e4918853a408fcf6a6d65ffd0be6f2b772a6 | [
"MIT"
] | 14 | 2020-11-01T04:28:55.000Z | 2021-06-02T16:37:05.000Z | lib/base.hpp | adamsol/Pyxell | 15f4e4918853a408fcf6a6d65ffd0be6f2b772a6 | [
"MIT"
] | 5 | 2020-11-17T21:40:33.000Z | 2021-05-30T06:04:51.000Z |
#define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <ctime>
#include <limits>
#include <functional>
#include <iostream>
#include <iterator>
#include <memory>
#include <optional>
#include <random>
#include <string>
#include <tuple>
#include <utility>
#incl... | 20.892332 | 122 | 0.546863 | [
"object",
"vector"
] |
d429bab6c9c90fa68fd8440209b645be27b0d495 | 4,664 | cpp | C++ | Classes/Manager/Sound/SoundMgr.cpp | WeHaveCookie/EnchantedForest | c17e3e1adf3bc0c1ef5afaef3126fd169ea99768 | [
"MIT"
] | null | null | null | Classes/Manager/Sound/SoundMgr.cpp | WeHaveCookie/EnchantedForest | c17e3e1adf3bc0c1ef5afaef3126fd169ea99768 | [
"MIT"
] | null | null | null | Classes/Manager/Sound/SoundMgr.cpp | WeHaveCookie/EnchantedForest | c17e3e1adf3bc0c1ef5afaef3126fd169ea99768 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "SoundMgr.h"
#include "Manager/File/FileMgr.h"
#include "Utils/wcharUtils.h"
SoundMgr* SoundMgr::s_singleton = NULL;
SoundMgr::SoundMgr()
:Manager(ManagerType::Enum::Sound)
{
s_singleton = this;
}
SoundMgr::~SoundMgr()
{
delete m_musics;
delete m_sounds;
}
void SoundMgr::init()
{
m_... | 22.862745 | 97 | 0.620497 | [
"vector"
] |
2d6cf714fd41aceff8249ee14d558e019b6d9885 | 7,505 | cpp | C++ | 3DEngine/src/3D Engine/Components/Base/Transform.cpp | tobbep1997/Bitfrost_2.0 | a092db19d4658062554b7df759f28439fc1ad4f8 | [
"Apache-2.0"
] | null | null | null | 3DEngine/src/3D Engine/Components/Base/Transform.cpp | tobbep1997/Bitfrost_2.0 | a092db19d4658062554b7df759f28439fc1ad4f8 | [
"Apache-2.0"
] | null | null | null | 3DEngine/src/3D Engine/Components/Base/Transform.cpp | tobbep1997/Bitfrost_2.0 | a092db19d4658062554b7df759f28439fc1ad4f8 | [
"Apache-2.0"
] | null | null | null | #include "3DEngine/EnginePCH.h"
#include "Transform.h"
float constexpr GetNewValueInNewRange(float value, float rangeMin, float rangeMax, float newRangeMin, float newRangeMax)
{
if (value > rangeMax)
{
return newRangeMax;
}
else
{
return ((value - rangeMin) * ((newRangeMax - newRangeMin) / (rangeMax - rangeMi... | 25.87931 | 120 | 0.73551 | [
"transform"
] |
2d6d6bacc645bddb96dd233f020cb8c3e7aedd42 | 5,057 | cpp | C++ | third_party/WebKit/Source/modules/payments/PaymentEventDataConversion.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/modules/payments/PaymentEventDataConversion.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/modules/payments/PaymentEventDataConversion.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "modules/payments/PaymentEventDataConversion.h"
#include "bindings/core/v8/ToV8ForCore.h"
#include "modules/payments/PaymentCurrencyAmount.h"
#i... | 35.612676 | 79 | 0.792565 | [
"vector"
] |
2d6e3dd2c13fbf0f20778b6e864ceebc8fe7ced7 | 953 | cpp | C++ | kickstart/2021/round b/increasing_substring.cpp | Surya-06/My-Solutions | 58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806 | [
"MIT"
] | null | null | null | kickstart/2021/round b/increasing_substring.cpp | Surya-06/My-Solutions | 58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806 | [
"MIT"
] | null | null | null | kickstart/2021/round b/increasing_substring.cpp | Surya-06/My-Solutions | 58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
#include <limits>
#include <utility>
#include <map>
#include <stack>
#include <memory>
#include <cmath>
#include <set>
#include <unordered_map>
#include <tuple>
#define in scanf
#define out printf
// Problem:
typedef long long int llint;
... | 19.854167 | 63 | 0.539349 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.