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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6deca8c0d18ed4af044834419473e915e7b20e81 | 3,474 | hpp | C++ | src/Utilities/TmplDebugging.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | src/Utilities/TmplDebugging.hpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | src/Utilities/TmplDebugging.hpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
/// \file
/// Defines class TypeDisplayer
#pragma once
#include "Utilities/TMPL.hpp"
/*!
* \ingroup UtilitiesGroup TypeTraitsGroup
* \brief Get compiler error with type of template parameter
*
* The compiler error generated when using an obje... | 35.44898 | 79 | 0.685377 | [
"object",
"vector",
"transform"
] |
6dee4434d080b448d4aec623e031844cc6ac3846 | 3,164 | cpp | C++ | PAT/PAT-A1111-Online_Map.cpp | authetic-x/PAT-Advanced-Level-Practice | 57a40853fab96a73e0c5ff377b2f12a5a553e11f | [
"MIT"
] | null | null | null | PAT/PAT-A1111-Online_Map.cpp | authetic-x/PAT-Advanced-Level-Practice | 57a40853fab96a73e0c5ff377b2f12a5a553e11f | [
"MIT"
] | null | null | null | PAT/PAT-A1111-Online_Map.cpp | authetic-x/PAT-Advanced-Level-Practice | 57a40853fab96a73e0c5ff377b2f12a5a553e11f | [
"MIT"
] | null | null | null | //
// Created by authetic on 2018/12/28.
//
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
const int maxn = 520;
const int INF = 1000000000;
struct Node {
int v, dis, time;
};
int n, m, s, t, d[maxn], f[maxn], d_pre[maxn], f_pre[maxn];
vector<Node> G[maxn];
bool visit[maxn];
vo... | 26.366667 | 61 | 0.331858 | [
"vector"
] |
6df2e77c7713f093df2223adbe5cebb82deb31f3 | 8,702 | cpp | C++ | sim/Character.cpp | snumrl/MSS | 29433598a9a026a18cbc6c5a9742dee7490ab9c7 | [
"Apache-2.0"
] | 10 | 2019-01-22T11:10:43.000Z | 2022-01-06T09:26:14.000Z | sim/Character.cpp | snumrl/MSS | 29433598a9a026a18cbc6c5a9742dee7490ab9c7 | [
"Apache-2.0"
] | null | null | null | sim/Character.cpp | snumrl/MSS | 29433598a9a026a18cbc6c5a9742dee7490ab9c7 | [
"Apache-2.0"
] | 3 | 2019-08-26T12:29:21.000Z | 2021-07-26T15:13:39.000Z | #include "Character.h"
#include "SkeletonBuilder.h"
#include <tinyxml.h>
using namespace dart::dynamics;
namespace MSS
{
Character::
Character(const dart::simulation::WorldPtr& world,const std::string& path)
:mWorld(world)
{
LoadSkeleton(path);
}
void
Character::
LoadSkeleton(const std::string& path)
{
mSkeleton = ... | 29.103679 | 138 | 0.706045 | [
"vector"
] |
6df43e3353508cff81a44cc6e2f8588e11f2fdf6 | 4,828 | cxx | C++ | arrows/mvg/epipolar_geometry.cxx | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 176 | 2015-07-31T23:33:37.000Z | 2022-03-21T23:42:44.000Z | arrows/mvg/epipolar_geometry.cxx | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 1,276 | 2015-05-03T01:21:27.000Z | 2022-03-31T15:32:20.000Z | arrows/mvg/epipolar_geometry.cxx | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 85 | 2015-01-25T05:13:38.000Z | 2022-01-14T14:59:37.000Z | // This file is part of KWIVER, and is distributed under the
// OSI-approved BSD 3-Clause License. See top-level LICENSE file or
// https://github.com/Kitware/kwiver/blob/master/LICENSE for details.
/**
* \file
* \brief Implementation of epipolar geometry functions.
*/
#include "epipolar_geometry.h"
#include <arro... | 33.762238 | 83 | 0.672742 | [
"geometry",
"vector"
] |
6df639d24e0d8397e6705237bcd02d613b49082f | 6,612 | hpp | C++ | src/multibody/joint/joint-data-base.hpp | Sreevis/pinocchio | 7e3f96e59047b40e678a53b3877b401af4b6d0bd | [
"BSD-2-Clause-FreeBSD"
] | 716 | 2015-03-30T16:26:45.000Z | 2022-03-30T12:26:58.000Z | src/multibody/joint/joint-data-base.hpp | Sreevis/pinocchio | 7e3f96e59047b40e678a53b3877b401af4b6d0bd | [
"BSD-2-Clause-FreeBSD"
] | 1,130 | 2015-02-21T17:30:44.000Z | 2022-03-30T09:06:22.000Z | src/multibody/joint/joint-data-base.hpp | Sreevis/pinocchio | 7e3f96e59047b40e678a53b3877b401af4b6d0bd | [
"BSD-2-Clause-FreeBSD"
] | 239 | 2015-02-05T14:15:14.000Z | 2022-03-14T23:51:47.000Z | //
// Copyright (c) 2015-2019 CNRS INRIA
// Copyright (c) 2015 Wandercraft, 86 rue de Paris 91400 Orsay, France.
//
#ifndef __pinocchio_multibody_joint_data_base_hpp__
#define __pinocchio_multibody_joint_data_base_hpp__
#include "pinocchio/multibody/joint/joint-base.hpp"
#include "pinocchio/multibody/joint/joint-mode... | 38.666667 | 109 | 0.704325 | [
"model"
] |
6df8ad37c7647e789f46ed962d4827f391e70a84 | 8,121 | cpp | C++ | test/crypto_Aes128CbcEncryptedStream_TestClass.cpp | toolbrew/libtoolchain | fd98be60d1c5ca62871c16c88b8e59be05d7f0ac | [
"MIT"
] | null | null | null | test/crypto_Aes128CbcEncryptedStream_TestClass.cpp | toolbrew/libtoolchain | fd98be60d1c5ca62871c16c88b8e59be05d7f0ac | [
"MIT"
] | null | null | null | test/crypto_Aes128CbcEncryptedStream_TestClass.cpp | toolbrew/libtoolchain | fd98be60d1c5ca62871c16c88b8e59be05d7f0ac | [
"MIT"
] | null | null | null | #include <tc/Exception.h>
#include <tc/io.h>
#include <tc/cli.h>
#include <fmt/core.h>
#include "crypto_Aes128CbcEncryptedStream_TestClass.h"
#include "StreamTestUtil.h"
void crypto_Aes128CbcEncryptedStream_TestClass::runAllTests(void)
{
fmt::print("[tc::crypto::Aes128CbcEncryptedStream] START\n");
test_CreateEmpty... | 30.645283 | 222 | 0.715675 | [
"vector"
] |
6df8d9b2f0c017f2fdaf9bada697dfa78d161072 | 3,087 | hh | C++ | src/thread_pool.hh | asielorz/task-library | 17dd2164acb6e11374fe90d9b00f18b9baadd649 | [
"MIT"
] | null | null | null | src/thread_pool.hh | asielorz/task-library | 17dd2164acb6e11374fe90d9b00f18b9baadd649 | [
"MIT"
] | null | null | null | src/thread_pool.hh | asielorz/task-library | 17dd2164acb6e11374fe90d9b00f18b9baadd649 | [
"MIT"
] | null | null | null | #pragma once
#include "polymorphic_task.hh"
#include <vector>
#include <mutex>
#include <atomic>
#include <queue>
#include <functional>
#include <optional>
#include <span>
struct atomic_flag_lock_guard
{
[[nodiscard]] explicit atomic_flag_lock_guard(std::atomic_flag & flag_) noexcept;
~atomic_flag_lock_guard();
a... | 28.063636 | 100 | 0.757046 | [
"vector"
] |
6df92c68a94b13d3f05f6d214ac7f753c1b3f51c | 5,290 | cpp | C++ | Engine/source/gfx/D3D11/gfxD3D11OcclusionQuery.cpp | John3/t3d_benchmarking | 27a5780ad704aa91b45ff1bb0d69ed07668d03be | [
"MIT"
] | 10 | 2015-03-12T20:20:34.000Z | 2021-02-03T08:07:31.000Z | Engine/source/gfx/D3D11/gfxD3D11OcclusionQuery.cpp | John3/t3d_benchmarking | 27a5780ad704aa91b45ff1bb0d69ed07668d03be | [
"MIT"
] | 3 | 2015-07-04T23:50:43.000Z | 2016-08-01T09:19:52.000Z | Engine/source/gfx/D3D11/gfxD3D11OcclusionQuery.cpp | John3/t3d_benchmarking | 27a5780ad704aa91b45ff1bb0d69ed07668d03be | [
"MIT"
] | 6 | 2015-11-28T16:18:26.000Z | 2020-03-29T17:14:56.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2015 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... | 29.887006 | 164 | 0.689981 | [
"render",
"3d"
] |
6dfa099c9c101e30508f70423e6b82e0cf63401a | 901 | hh | C++ | psdaq/drp/Opal.hh | slactjohnson/lcls2 | 87fb7a7a9b5030ed7a2a472fecfca6575e233889 | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/drp/Opal.hh | slactjohnson/lcls2 | 87fb7a7a9b5030ed7a2a472fecfca6575e233889 | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/drp/Opal.hh | slactjohnson/lcls2 | 87fb7a7a9b5030ed7a2a472fecfca6575e233889 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #pragma once
#include "BEBDetector.hh"
namespace Drp {
class OpalTT;
class OpalTTSim;
class Opal : public BEBDetector
{
public:
Opal(Parameters* para, MemPool* pool);
~Opal();
nlohmann::json connectionInfo() override;
void slowupdate(XtcData::Xtc&) override;
void shutdown() override;
void wr... | 24.351351 | 96 | 0.619312 | [
"vector"
] |
a3011f006ca618611cc615651b28040530178eac | 6,823 | cpp | C++ | RLSC1/vreprlsc/programming/v_repExtMtb/mtbRobotContainer.cpp | ichalkiad/RLSC_BaxterSimulation | 1a15f2b06521378af056a40c3765d7e6c6823596 | [
"MIT"
] | null | null | null | RLSC1/vreprlsc/programming/v_repExtMtb/mtbRobotContainer.cpp | ichalkiad/RLSC_BaxterSimulation | 1a15f2b06521378af056a40c3765d7e6c6823596 | [
"MIT"
] | null | null | null | RLSC1/vreprlsc/programming/v_repExtMtb/mtbRobotContainer.cpp | ichalkiad/RLSC_BaxterSimulation | 1a15f2b06521378af056a40c3765d7e6c6823596 | [
"MIT"
] | null | null | null | // Copyright 2006-2013 Dr. Marc Andreas Freese. All rights reserved.
// marc@coppeliarobotics.com
// www.coppeliarobotics.com
//
// -------------------------------------------------------------------
// This file is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the im... | 35.352332 | 150 | 0.683717 | [
"object",
"vector",
"model"
] |
a302cffbc6441fe96ed8ce82ae1b6ec3a33838b3 | 1,719 | cpp | C++ | openbr/gui/classifier.cpp | Rires-hy/OPENBR_SMT | 8ffd1fbe5802a1c85434119d8fc0797259cf95f4 | [
"Apache-2.0"
] | null | null | null | openbr/gui/classifier.cpp | Rires-hy/OPENBR_SMT | 8ffd1fbe5802a1c85434119d8fc0797259cf95f4 | [
"Apache-2.0"
] | null | null | null | openbr/gui/classifier.cpp | Rires-hy/OPENBR_SMT | 8ffd1fbe5802a1c85434119d8fc0797259cf95f4 | [
"Apache-2.0"
] | null | null | null | #include <QtConcurrentRun>
#include <openbr/openbr_plugin.h>
#include "classifier.h"
using namespace br;
/**** CLASSIFIER ****/
/*** PUBLIC ***/
GUIClassifier::GUIClassifier(QWidget *parent)
: QLabel(parent)
{
setAlignment(Qt::AlignCenter);
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
... | 27.285714 | 110 | 0.630599 | [
"transform"
] |
a306847f356a676ebec5df8ff276c37e3da91453 | 20,661 | cpp | C++ | src/FunctionInvocation.cpp | jiezzhang/CLSmith | a39a31c43c88352fc65e61dce270d8e1660cbcf0 | [
"BSD-2-Clause"
] | null | null | null | src/FunctionInvocation.cpp | jiezzhang/CLSmith | a39a31c43c88352fc65e61dce270d8e1660cbcf0 | [
"BSD-2-Clause"
] | null | null | null | src/FunctionInvocation.cpp | jiezzhang/CLSmith | a39a31c43c88352fc65e61dce270d8e1660cbcf0 | [
"BSD-2-Clause"
] | null | null | null | // -*- mode: C++ -*-
//
// Copyright (c) 2007, 2008, 2009, 2010, 2011 The University of Utah
// All rights reserved.
//
// This file is part of `csmith', a random generator of C programs.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following ... | 30.563609 | 113 | 0.704758 | [
"vector"
] |
a307eefee8773773c27e4c991537dbe395b6bfed | 15,581 | cpp | C++ | apps/robot-map-gui/gui/glWidget/CGLWidget.cpp | tg1716/SLAM | b8583fb98a4241d87ae08ac78b0420c154f5e1a5 | [
"BSD-3-Clause"
] | 4 | 2017-08-04T15:44:04.000Z | 2021-02-02T02:00:18.000Z | apps/robot-map-gui/gui/glWidget/CGLWidget.cpp | tg1716/SLAM | b8583fb98a4241d87ae08ac78b0420c154f5e1a5 | [
"BSD-3-Clause"
] | null | null | null | apps/robot-map-gui/gui/glWidget/CGLWidget.cpp | tg1716/SLAM | b8583fb98a4241d87ae08ac78b0420c154f5e1a5 | [
"BSD-3-Clause"
] | 2 | 2017-10-03T23:10:09.000Z | 2018-07-29T09:41:33.000Z | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | 23.500754 | 80 | 0.690135 | [
"geometry",
"vector"
] |
a3106687cbd1998379a6403c0fbe74d1706d9ccd | 4,045 | cpp | C++ | aslam_backend_python/src/OptimizerCallback.cpp | ethz-asl/aslam_optimizer | 8e9dd18f9f0d8af461e88e108a3beda2003daf11 | [
"BSD-3-Clause"
] | 33 | 2017-04-26T13:30:49.000Z | 2022-02-25T01:52:22.000Z | aslam_backend_python/src/OptimizerCallback.cpp | ethz-asl/aslam_optimizer | 8e9dd18f9f0d8af461e88e108a3beda2003daf11 | [
"BSD-3-Clause"
] | 15 | 2017-02-14T16:02:31.000Z | 2020-05-12T06:07:22.000Z | aslam_backend_python/src/OptimizerCallback.cpp | ethz-asl/aslam_optimizer | 8e9dd18f9f0d8af461e88e108a3beda2003daf11 | [
"BSD-3-Clause"
] | 8 | 2017-06-28T04:17:08.000Z | 2021-04-10T04:58:36.000Z | /*
* OptimizerCallback.cpp
*
* Created on: 24.08.2016
* Author: Ulrich Schwesinger
*/
#include <string>
#include <numpy_eigen/boost_python_headers.hpp>
#include <aslam/backend/OptimizerBase.hpp>
#include <aslam/backend/OptimizerCallback.hpp>
#include <aslam/backend/OptimizerCallbackManager.hpp>
#include <as... | 43.967391 | 118 | 0.64178 | [
"object",
"vector"
] |
a31360d7f12993e8c11bced6809a6c5dd601a5bb | 24,145 | cpp | C++ | Deprecated/Sorts/src/AttackManager.cpp | sleyzerzon/soar | 74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71 | [
"Unlicense"
] | 1 | 2016-04-01T04:02:28.000Z | 2016-04-01T04:02:28.000Z | Deprecated/Sorts/src/AttackManager.cpp | sleyzerzon/soar | 74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71 | [
"Unlicense"
] | null | null | null | Deprecated/Sorts/src/AttackManager.cpp | sleyzerzon/soar | 74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71 | [
"Unlicense"
] | null | null | null | /*
This file is part of Sorts, an interface between Soar and ORTS.
(c) 2006 James Irizarry, Sam Wintermute, and Joseph Xu
Sorts is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of t... | 27.098765 | 100 | 0.57192 | [
"object",
"shape",
"vector"
] |
a313ac5a8a73305e2f10f3ca936613f4328c8224 | 27,353 | cpp | C++ | src/thunderbots/software/geom/util.cpp | SupoWupo/Software | ae9af36d5ed20de9b8f1d4f232df0eb26e080dd4 | [
"MIT"
] | null | null | null | src/thunderbots/software/geom/util.cpp | SupoWupo/Software | ae9af36d5ed20de9b8f1d4f232df0eb26e080dd4 | [
"MIT"
] | null | null | null | src/thunderbots/software/geom/util.cpp | SupoWupo/Software | ae9af36d5ed20de9b8f1d4f232df0eb26e080dd4 | [
"MIT"
] | null | null | null | #include "geom/util.h"
#include <algorithm>
#include <cassert>
#include <cmath>
#include <iostream>
#include <limits>
#include "geom/angle.h"
double proj_len(const Seg &first, const Vector &second)
{
return proj_len(first.toVector(), second - first.start);
}
double proj_len(const Vector &first, const Vector &s... | 29.129925 | 124 | 0.542098 | [
"vector"
] |
a314b8fd1e9ce88b5311108602038079588e694f | 878 | hh | C++ | WhistleListener/whistlelistener.hh | drewnoakes/bold-humanoid | 6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335 | [
"Apache-2.0"
] | null | null | null | WhistleListener/whistlelistener.hh | drewnoakes/bold-humanoid | 6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335 | [
"Apache-2.0"
] | null | null | null | WhistleListener/whistlelistener.hh | drewnoakes/bold-humanoid | 6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <alsa/asoundlib.h>
#include <fftw3.h>
#include <string>
#include "../stats/movingaverage.hh"
#include "../util/windowfunctions.hh"
namespace bold
{
class WhistleListener
{
public:
WhistleListener();
WhistleListener(std::string deviceName, uint sampleRate, uint sampleCount, ushort... | 21.95 | 135 | 0.723235 | [
"vector"
] |
a31e8cc4d3abf2d33a3edcf3d803d6e59a31ff24 | 2,171 | cc | C++ | tests/tp/sampler.cc | project-arcana/arcana-samples | 7dbe2cab765d4d86c6e96b4ab542cac75608a0b0 | [
"MIT"
] | null | null | null | tests/tp/sampler.cc | project-arcana/arcana-samples | 7dbe2cab765d4d86c6e96b4ab542cac75608a0b0 | [
"MIT"
] | null | null | null | tests/tp/sampler.cc | project-arcana/arcana-samples | 7dbe2cab765d4d86c6e96b4ab542cac75608a0b0 | [
"MIT"
] | 1 | 2020-01-22T18:04:53.000Z | 2020-01-22T18:04:53.000Z | #include <nexus/test.hh>
#include <clean-core/vector.hh>
#include <texture-processor/image_view.hh>
#include <texture-processor/sampler.hh>
#include <typed-geometry/tg.hh>
TEST("sampler basics")
{
auto data = cc::vector<int>{1, 2, 3, //
4, 5, 6};
auto img = tp::image2_view<i... | 29.739726 | 133 | 0.499309 | [
"geometry",
"vector"
] |
a321ed7522d03c3d2402466bee8f67f83c7b6f7e | 86,093 | cpp | C++ | DiskInfoDlg.cpp | sangkmt/CrystalDiskInfo | 453a5f343c594fb843bcc7d39df0574cbe9df212 | [
"MIT"
] | null | null | null | DiskInfoDlg.cpp | sangkmt/CrystalDiskInfo | 453a5f343c594fb843bcc7d39df0574cbe9df212 | [
"MIT"
] | null | null | null | DiskInfoDlg.cpp | sangkmt/CrystalDiskInfo | 453a5f343c594fb843bcc7d39df0574cbe9df212 | [
"MIT"
] | null | null | null | /*---------------------------------------------------------------------------*/
// Author : hiyohiyo
// Mail : hiyohiyo@crystalmark.info
// Web : https://crystalmark.info/
// License : The MIT License
/*---------------------------------------------------------------------------*/
#include ... | 33.988551 | 262 | 0.737284 | [
"model"
] |
a3273eb3e9b4639d4718ab19b16ea5a29ac849e3 | 8,710 | hpp | C++ | src/tdi_utils.hpp | satish153/tdi | bcd09bdcc624de103e54531e618dd152e6a67387 | [
"Apache-2.0"
] | 15 | 2021-11-02T22:04:49.000Z | 2022-03-29T06:51:26.000Z | src/tdi_utils.hpp | satish153/tdi | bcd09bdcc624de103e54531e618dd152e6a67387 | [
"Apache-2.0"
] | 16 | 2021-10-15T17:14:55.000Z | 2022-02-25T01:24:35.000Z | src/tdi_utils.hpp | satish153/tdi | bcd09bdcc624de103e54531e618dd152e6a67387 | [
"Apache-2.0"
] | 6 | 2021-12-15T15:46:06.000Z | 2022-02-18T05:23:42.000Z | /*
* Copyright(c) 2021 Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this software except as stipulated in 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 ag... | 33.891051 | 80 | 0.646728 | [
"object",
"vector"
] |
a3292bd97f5fef701a82672e7990d2a4b9d0b972 | 1,317 | cpp | C++ | peg/ccc/2000/stage-1/golf.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-07-16T01:46:38.000Z | 2020-07-16T01:46:38.000Z | peg/ccc/2000/stage-1/golf.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | null | null | null | peg/ccc/2000/stage-1/golf.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-05-27T14:30:43.000Z | 2020-05-27T14:30:43.000Z | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
constexpr unsigned int max_strokes {6000};
inline
void use_io_optimizations()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
unsigned int min_strokes(unsigned int to_hole,
const vector<unsigned ... | 18.814286 | 69 | 0.555049 | [
"vector"
] |
a32a426aae02c705433a2ed72d250e743fd79266 | 6,238 | cpp | C++ | teleop_and_haptics/sss/Source/MySliceGLWidget.cpp | atp42/jks-ros-pkg | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | [
"FTL"
] | 3 | 2017-02-02T13:27:45.000Z | 2018-06-17T11:52:13.000Z | teleop_and_haptics/sss/Source/MySliceGLWidget.cpp | salisbury-robotics/jks-ros-pkg | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | [
"FTL"
] | null | null | null | teleop_and_haptics/sss/Source/MySliceGLWidget.cpp | salisbury-robotics/jks-ros-pkg | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | [
"FTL"
] | null | null | null | #include "MySliceGLWidget.h"
#include <QtGui>
#include <algorithm>
#include <cmath>
using namespace std;
// --------------------------------------------------------------------------
MySliceGLWidget::MySliceGLWidget(const QGLFormat &format, QWidget *parent,
const QGLWidget *shareWidg... | 28.614679 | 86 | 0.558192 | [
"render"
] |
a32d01c1fbed25052cb1c63cbc04cde9f4c66da7 | 4,011 | hpp | C++ | external/source/exploits/CVE-2017-13861/liboffsetfinder64/insn.hpp | OsmanDere/metasploit-framework | b7a014a5d22d3b57157e301d4af57e3a31ad03a9 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 26,932 | 2015-01-01T00:04:51.000Z | 2022-03-31T22:51:38.000Z | external/source/exploits/CVE-2017-13861/liboffsetfinder64/insn.hpp | Kilo-411/metasploit-framework | aaf27d7fa51390895dea63c58cb3b76e959d36f8 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 11,048 | 2015-01-01T00:05:44.000Z | 2022-03-31T21:49:52.000Z | external/source/exploits/CVE-2017-13861/liboffsetfinder64/insn.hpp | Kilo-411/metasploit-framework | aaf27d7fa51390895dea63c58cb3b76e959d36f8 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 12,593 | 2015-01-01T01:01:20.000Z | 2022-03-31T22:13:32.000Z | //
// insn.hpp
// liboffsetfinder64
//
// Created by tihmstar on 09.03.18.
// Copyright © 2018 tihmstar. All rights reserved.
//
#ifndef insn_hpp
#define insn_hpp
#include "common.h"
#include <vector>
namespace tihmstar{
namespace patchfinder64{
class insn{
public:
enum segtype{
... | 27.854167 | 97 | 0.433059 | [
"vector"
] |
cd12bd346187064419f4b9b86e4d39d11eb93f3a | 581 | hpp | C++ | maistra/vendor/com_github_alibaba_hessian2_codec/hessian2/basic_codec/map_codec.hpp | Maistra/proxy | 96b6aa184db650ec8c3a4b4e82eb54b0b9ab411f | [
"Apache-2.0"
] | 23 | 2020-12-24T08:10:24.000Z | 2021-12-27T04:52:59.000Z | hessian2/basic_codec/map_codec.hpp | wbpcode/hessian2-codec | dd8e05487a27b367b90ce81f4e6e6f62d693a212 | [
"Apache-2.0"
] | 15 | 2020-12-28T08:25:19.000Z | 2021-12-27T04:03:14.000Z | maistra/vendor/com_github_alibaba_hessian2_codec/hessian2/basic_codec/map_codec.hpp | Maistra/proxy | 96b6aa184db650ec8c3a4b4e82eb54b0b9ab411f | [
"Apache-2.0"
] | 7 | 2019-07-04T14:23:54.000Z | 2020-04-27T08:52:51.000Z | #pragma once
#include "hessian2/codec.hpp"
#include "hessian2/object.hpp"
#include "hessian2/basic_codec/object_codec.hpp"
#include "hessian2/basic_codec/number_codec.hpp"
#include "hessian2/basic_codec/string_codec.hpp"
#include "hessian2/basic_codec/type_ref_codec.hpp"
namespace Hessian2 {
template <>
std::unique_... | 23.24 | 52 | 0.783133 | [
"object"
] |
cd135578d9491be0a285014088a1865bf614e9aa | 14,909 | hpp | C++ | src/mlpack/methods/lsh/lsh_search_impl.hpp | vj-ug/Contribution-to-mlpack | 0ddb5ed463861f459ff2829712bdc59ba9d810b0 | [
"BSD-3-Clause"
] | null | null | null | src/mlpack/methods/lsh/lsh_search_impl.hpp | vj-ug/Contribution-to-mlpack | 0ddb5ed463861f459ff2829712bdc59ba9d810b0 | [
"BSD-3-Clause"
] | null | null | null | src/mlpack/methods/lsh/lsh_search_impl.hpp | vj-ug/Contribution-to-mlpack | 0ddb5ed463861f459ff2829712bdc59ba9d810b0 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file lsh_search_impl.hpp
* @author Parikshit Ram
*
* Implementation of the LSHSearch class.
*/
#ifndef __MLPACK_METHODS_NEIGHBOR_SEARCH_LSH_SEARCH_IMPL_HPP
#define __MLPACK_METHODS_NEIGHBOR_SEARCH_LSH_SEARCH_IMPL_HPP
#include <mlpack/core.hpp>
namespace mlpack {
namespace neighbor {
// Construct the obje... | 35.838942 | 80 | 0.669394 | [
"object",
"vector"
] |
cd170d47bbc64cf0ac3c2e1aca569145e4a8cc00 | 3,114 | cpp | C++ | examples/google-code-jam/trecio/ParentingPartnering.cpp | rbenic-fer/progauthfp | d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675 | [
"MIT"
] | null | null | null | examples/google-code-jam/trecio/ParentingPartnering.cpp | rbenic-fer/progauthfp | d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675 | [
"MIT"
] | null | null | null | examples/google-code-jam/trecio/ParentingPartnering.cpp | rbenic-fer/progauthfp | d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
struct period {
int from;
int to;
char who;
int duration() const {
return to - from;
}
bool operator<(const period& other) {
return from < other.from;
}
};
bool by_duration_descending(const period& left, co... | 23.953846 | 113 | 0.468208 | [
"vector"
] |
cd1de70480f20393cb7e8ccf4e50040ae1d9ef43 | 1,114 | cpp | C++ | src/crypto/test/base64.cpp | Jerryxia32/CCF | 2514a92ff96ca22aff37994d211ace2e1c918097 | [
"Apache-2.0"
] | null | null | null | src/crypto/test/base64.cpp | Jerryxia32/CCF | 2514a92ff96ca22aff37994d211ace2e1c918097 | [
"Apache-2.0"
] | 23 | 2021-11-08T07:23:47.000Z | 2022-01-17T18:49:33.000Z | src/crypto/test/base64.cpp | Jerryxia32/CCF | 2514a92ff96ca22aff37994d211ace2e1c918097 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "crypto/base64.h"
#include <chrono>
#include <doctest/doctest.h>
#include <string>
using namespace std;
using namespace crypto;
TEST_CASE("base64")
{
for (size_... | 26.52381 | 69 | 0.651706 | [
"vector"
] |
cd1e314080b9e4a6785f90209b999d3f0490af27 | 7,283 | hpp | C++ | 3rdparty/g2o/g2o/solvers/pcg/linear_solver_pcg.hpp | Refstop/VSLAM_Example | 060b9419f79f035d1c9ebfa75ad46e2e9a53e992 | [
"MIT"
] | null | null | null | 3rdparty/g2o/g2o/solvers/pcg/linear_solver_pcg.hpp | Refstop/VSLAM_Example | 060b9419f79f035d1c9ebfa75ad46e2e9a53e992 | [
"MIT"
] | null | null | null | 3rdparty/g2o/g2o/solvers/pcg/linear_solver_pcg.hpp | Refstop/VSLAM_Example | 060b9419f79f035d1c9ebfa75ad46e2e9a53e992 | [
"MIT"
] | null | null | null | // g2o - General Graph Optimization
// Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard
// 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 r... | 35.70098 | 80 | 0.654401 | [
"vector"
] |
cd247c76b216c5687f69a1da55e9b7c02f820d8d | 30,732 | cpp | C++ | exportNF/release/windows/obj/src/openfl/display/CanvasRenderer.cpp | theblobscp/NekoFreakMod-FridayNightFunkin | 232bcb08234cfe881fd6d52b13e6ae443e105fd1 | [
"BSD-3-Clause"
] | null | null | null | exportNF/release/windows/obj/src/openfl/display/CanvasRenderer.cpp | theblobscp/NekoFreakMod-FridayNightFunkin | 232bcb08234cfe881fd6d52b13e6ae443e105fd1 | [
"BSD-3-Clause"
] | null | null | null | exportNF/release/windows/obj/src/openfl/display/CanvasRenderer.cpp | theblobscp/NekoFreakMod-FridayNightFunkin | 232bcb08234cfe881fd6d52b13e6ae443e105fd1 | [
"BSD-3-Clause"
] | null | null | null | // Generated by Haxe 4.2.1+bf9ff69
#include <hxcpp.h>
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_lime_app_IModule
#include <lime/app/IModule.h>
#endif
#ifndef INCLUDED_lime_ui_Window
#include <lime/ui/Window.h>
#endif
#ifndef INCLUDED_openfl_display_Bitmap
#include <openfl/display/Bitmap.h>
#endif
#... | 47.28 | 266 | 0.697807 | [
"object",
"transform",
"3d"
] |
cd26fc87f4beaca2630d770b28e3fd7c5155041c | 646 | cpp | C++ | Sid's Contests/Codechef contests/Basic Problems/MinimumNoOfMoves.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 14 | 2021-08-22T18:21:14.000Z | 2022-03-08T12:04:23.000Z | Sid's Contests/Codechef contests/Basic Problems/MinimumNoOfMoves.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 1 | 2021-10-17T18:47:17.000Z | 2021-10-17T18:47:17.000Z | Sid's Contests/Codechef contests/Basic Problems/MinimumNoOfMoves.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 5 | 2021-09-01T08:21:12.000Z | 2022-03-09T12:13:39.000Z | //OM GAN GANAPATHAYE NAMO NAMAH
//JAI SHRI RAM
//JAI BAJRANGBALI
//AMME NARAYANA, DEVI NARAYANA, LAKSHMI NARAYANA, BHADRE NARAYANA
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long int t;
cin >> t;
while(t--)
{
long long int n;
cin >> n;
long long int i;
... | 21.533333 | 65 | 0.46904 | [
"vector"
] |
cd2c23f23457cf248d4a012f48c0035512531d25 | 9,915 | cpp | C++ | driver/convrt.cpp | htran118/MD-MS-CG | 80a3104101348d1c599ecc0a1e08aec855fc70a9 | [
"MIT"
] | null | null | null | driver/convrt.cpp | htran118/MD-MS-CG | 80a3104101348d1c599ecc0a1e08aec855fc70a9 | [
"MIT"
] | null | null | null | driver/convrt.cpp | htran118/MD-MS-CG | 80a3104101348d1c599ecc0a1e08aec855fc70a9 | [
"MIT"
] | null | null | null | /****************************************************************************
* Convert trajectory files to standard ouput
* Default input file is data/trajc.trj
***************************************************************************/
#include <iostream>
#include <sstream>
#include <string>
#include <cstring>
#... | 32.831126 | 79 | 0.494402 | [
"vector"
] |
cd2eae0a6367c1489305126c3c34e6fc3a37b7ae | 561 | cpp | C++ | leetcode/84. Largest Rectangle in Histogram/s1.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | 1 | 2021-02-09T11:38:51.000Z | 2021-02-09T11:38:51.000Z | leetcode/84. Largest Rectangle in Histogram/s1.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | null | null | null | leetcode/84. Largest Rectangle in Histogram/s1.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | null | null | null | class Solution {
public:
int largestRectangleArea(vector<int>& heights) {
stack<int> index;
int maxArea = 0;
heights.push_back(0);
for (int i = 0; i < heights.size(); ++i) {
while (!index.empty() && heights[index.top()] >= heights[i]) {
int h = heights[ind... | 31.166667 | 74 | 0.449198 | [
"vector"
] |
cd3148ba4073a1a3eb8e6065b7e1a22b796fe7a4 | 1,527 | cpp | C++ | src/UI/src/presenter.cpp | TTitcombe/Casset | 5f15eb65f5eece1761f857e995a8f68084012125 | [
"BSD-2-Clause"
] | null | null | null | src/UI/src/presenter.cpp | TTitcombe/Casset | 5f15eb65f5eece1761f857e995a8f68084012125 | [
"BSD-2-Clause"
] | 44 | 2019-02-13T14:49:37.000Z | 2019-08-02T08:15:05.000Z | src/UI/src/presenter.cpp | TTitcombe/Casset | 5f15eb65f5eece1761f857e995a8f68084012125 | [
"BSD-2-Clause"
] | null | null | null | #include "../hdr/presenter.h"
#include "../../API/hdr/stockinfo.h"
#include <algorithm>
#include <fmt/format.h>
#include <nlohmann/json.hpp>
#include <regex>
using json = nlohmann::json;
namespace UI {
Presenter::Presenter(MainWindow *v) : m_view(v) {
QObject::connect(m_view, SIGNAL(ViewButtonClicked()), this, SL... | 31.163265 | 95 | 0.682384 | [
"transform"
] |
cd39ae5ea3af1e5244f894216f9fba66ecdf6261 | 8,386 | hpp | C++ | library/include/borealis/core/box.hpp | FaultyPine/borealis | 6053f78ec2eec829b4d9c9330cf3b5d591a7bfa2 | [
"Apache-2.0"
] | 188 | 2020-06-17T12:23:21.000Z | 2022-03-28T15:52:36.000Z | library/include/borealis/core/box.hpp | GLIKCH/borealis | 20e2d33b6c4ffce139ce304c503c04f5b94da920 | [
"Apache-2.0"
] | 132 | 2020-06-17T18:03:42.000Z | 2021-12-25T00:21:30.000Z | library/include/borealis/core/box.hpp | GLIKCH/borealis | 20e2d33b6c4ffce139ce304c503c04f5b94da920 | [
"Apache-2.0"
] | 54 | 2020-06-18T05:11:41.000Z | 2022-03-12T23:47:29.000Z | /*
Copyright 2020-2021 natinusala
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... | 29.843416 | 137 | 0.671715 | [
"vector"
] |
cd3c23022b16ecbe26024d655e5ddc8ad644ff88 | 4,812 | cpp | C++ | interprocess/acceptor.cpp | bitdewy/interprocess | c21a96105ca969635a35489eb77e80037725c4e4 | [
"BSL-1.0"
] | 1 | 2021-05-05T18:54:39.000Z | 2021-05-05T18:54:39.000Z | interprocess/acceptor.cpp | bitdewy/interprocess | c21a96105ca969635a35489eb77e80037725c4e4 | [
"BSL-1.0"
] | null | null | null | interprocess/acceptor.cpp | bitdewy/interprocess | c21a96105ca969635a35489eb77e80037725c4e4 | [
"BSL-1.0"
] | 1 | 2021-05-05T18:54:40.000Z | 2021-05-05T18:54:40.000Z | // Copyright 2014, bitdewy@gmail.com
// Distributed under the Boost Software License, Version 1.0.
// You may obtain a copy of the License at
//
// http://www.boost.org/LICENSE_1_0.txt
#include "interprocess/acceptor.h"
#include <windows.h>
#include <string>
namespace interprocess {
Acceptor::Acceptor(const std:... | 27.815029 | 79 | 0.636949 | [
"object"
] |
cd3f9e978fe84342a329fa744861daa6ef8be7b2 | 13,900 | cpp | C++ | DemoApps/GLES3/FurShellRendering/source/OptionParser.cpp | alejandrolozano2/OpenGL_DemoFramework | 5fd85f05c98cc3d0c0a68bac438035df8cabaee7 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2019-01-19T20:21:24.000Z | 2021-08-10T02:11:32.000Z | DemoApps/GLES3/FurShellRendering/source/OptionParser.cpp | alejandrolozano2/OpenGL_DemoFramework | 5fd85f05c98cc3d0c0a68bac438035df8cabaee7 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | DemoApps/GLES3/FurShellRendering/source/OptionParser.cpp | alejandrolozano2/OpenGL_DemoFramework | 5fd85f05c98cc3d0c0a68bac438035df8cabaee7 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-08-10T02:11:33.000Z | 2021-08-10T02:11:33.000Z | /****************************************************************************************************************************************************
* Copyright (c) 2014 Freescale Semiconductor, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permi... | 45.12987 | 207 | 0.70036 | [
"render"
] |
cd407b41482906f5405891127e9b264f6e90c482 | 2,695 | cpp | C++ | src/LeviathanModelViewer/mainwindow.cpp | wakare/Leviathan | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | [
"MIT"
] | 3 | 2019-03-05T13:05:30.000Z | 2019-12-16T05:56:21.000Z | src/LeviathanModelViewer/mainwindow.cpp | wakare/Leviathan | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | [
"MIT"
] | null | null | null | src/LeviathanModelViewer/mainwindow.cpp | wakare/Leviathan | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | [
"MIT"
] | null | null | null | #include <QFileDialog>
#include <QGridLayout>
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "qevent.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
m_pLevStruct(nullptr)
{
ui->setupUi(this);
// Register
connect(ui->actionLoad_MeshFile, SIGNAL(trigg... | 21.388889 | 128 | 0.703154 | [
"mesh"
] |
cd45d5f9e7680b06de14ea4a3fb18d38abf659af | 489 | cpp | C++ | leetcode_solutions/MaximumSubarray.cpp | senlinzhan/experiments | f3983da0bb5080db900021b7473295262df68af8 | [
"MIT"
] | null | null | null | leetcode_solutions/MaximumSubarray.cpp | senlinzhan/experiments | f3983da0bb5080db900021b7473295262df68af8 | [
"MIT"
] | null | null | null | leetcode_solutions/MaximumSubarray.cpp | senlinzhan/experiments | f3983da0bb5080db900021b7473295262df68af8 | [
"MIT"
] | null | null | null | class Solution {
public:
int maxSubArray( const vector<int> &nums )
{
if( nums.empty() ) {
return 0;
}
vector<int> values( nums.size(), 0 );
int maxValue = nums[0];
values[0] = nums[0];
for( int i = 1; i < nums.size(); ++i )
{
... | 22.227273 | 69 | 0.435583 | [
"vector"
] |
cd4e7a839fcb8b6e5beb49f0e85144a8e561b208 | 2,301 | cpp | C++ | Engine/Source/Developer/AssetTools/Private/AssetTypeActions/AssetTypeActions_TextureRenderTarget.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Developer/AssetTools/Private/AssetTypeActions/AssetTypeActions_TextureRenderTarget.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Developer/AssetTools/Private/AssetTypeActions/AssetTypeActions_TextureRenderTarget.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "AssetTypeActions/AssetTypeActions_TextureRenderTarget.h"
#include "Framework/MultiBox/MultiBoxBuilder.h"
#include "Engine/Texture2D.h"
#include "EditorStyleSet.h"
#include "Engine/TextureCube.h"
#include "Engine/TextureRenderTarget2D.h"
#include "E... | 33.347826 | 126 | 0.760539 | [
"render",
"object"
] |
cd510219344a98a88e2e6519611c0f1bb1cdd211 | 2,583 | cpp | C++ | Application/src/contactsworker.cpp | DavidRomanovizc/adressbook | d03448d6ccb563e9403dc63d31c3a6df1539b7b9 | [
"MIT"
] | null | null | null | Application/src/contactsworker.cpp | DavidRomanovizc/adressbook | d03448d6ccb563e9403dc63d31c3a6df1539b7b9 | [
"MIT"
] | null | null | null | Application/src/contactsworker.cpp | DavidRomanovizc/adressbook | d03448d6ccb563e9403dc63d31c3a6df1539b7b9 | [
"MIT"
] | null | null | null | #include "contactsworker.h"
ContactsWorker::ContactsWorker()
: m_clientManager{ClientManager::instance()} {
connect(&m_clientManager, &ClientManager::connectionStateChanged,
this, &ContactsWorker::onConnectionStateChanged);
connect(&m_clientManager, &ClientManager::contactsResponse,
... | 33.986842 | 102 | 0.610918 | [
"vector",
"transform"
] |
cd51dc5f48d163610bfecf3f98434c70467f24e4 | 140,711 | cpp | C++ | runtime/src/kmp_tasking.cpp | sshudler/llvm-omp-chunks | 6263bbf27e9e1de53be6a19429b8b20ec9a5eccd | [
"MIT"
] | null | null | null | runtime/src/kmp_tasking.cpp | sshudler/llvm-omp-chunks | 6263bbf27e9e1de53be6a19429b8b20ec9a5eccd | [
"MIT"
] | null | null | null | runtime/src/kmp_tasking.cpp | sshudler/llvm-omp-chunks | 6263bbf27e9e1de53be6a19429b8b20ec9a5eccd | [
"MIT"
] | null | null | null | /*
* kmp_tasking.cpp -- OpenMP 3.0 tasking support.
*/
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.txt fo... | 42.652622 | 153 | 0.635174 | [
"object",
"model"
] |
cd55113c5487d153cebdf719500bab388479971f | 2,820 | cc | C++ | chrome/browser/android/compositor/scene_layer/toolbar_swipe_scene_layer.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/android/compositor/scene_layer/toolbar_swipe_scene_layer.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/android/compositor/scene_layer/toolbar_swipe_scene_layer.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 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 "chrome/browser/android/compositor/scene_layer/toolbar_swipe_scene_layer.h"
#include "chrome/android/chrome_jni_headers/ToolbarSwipeSceneLayer_j... | 33.176471 | 84 | 0.732979 | [
"geometry",
"object"
] |
cd58d164e38d8f4381e6de1db80f6e627b38b732 | 13,267 | cpp | C++ | dev/Gems/LyShine/Code/Source/UiStateActionManager.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Gems/LyShine/Code/Source/UiStateActionManager.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Gems/LyShine/Code/Source/UiStateActionManager.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 33.1675 | 118 | 0.518128 | [
"vector"
] |
cd5bf1909896a58dd0f0a496e9104781801e6138 | 5,190 | hpp | C++ | source/String.hpp | acodcha/ti4-echelon | 7849a2e50262cebd915c3eb54de1230ccf8791a8 | [
"MIT"
] | null | null | null | source/String.hpp | acodcha/ti4-echelon | 7849a2e50262cebd915c3eb54de1230ccf8791a8 | [
"MIT"
] | null | null | null | source/String.hpp | acodcha/ti4-echelon | 7849a2e50262cebd915c3eb54de1230ccf8791a8 | [
"MIT"
] | null | null | null | #pragma once
#include "Include.hpp"
namespace TI4Echelon {
/// \brief Split a string into words using whitespace as a delimiter.
std::vector<std::string> split_by_whitespace(const std::string& text) noexcept {
std::istringstream stream{text};
std::vector<std::string> words{std::istream_iterator<std::string>{stre... | 32.236025 | 158 | 0.701349 | [
"vector",
"transform"
] |
cd60cdbece107b0f31ac79ceab666693ecbcaf95 | 4,493 | cxx | C++ | Brush.cxx | pajamapants3000/simple_pickets | 80a3c6f11823790232abfcd43e8cf1da18f663a2 | [
"MIT"
] | null | null | null | Brush.cxx | pajamapants3000/simple_pickets | 80a3c6f11823790232abfcd43e8cf1da18f663a2 | [
"MIT"
] | null | null | null | Brush.cxx | pajamapants3000/simple_pickets | 80a3c6f11823790232abfcd43e8cf1da18f663a2 | [
"MIT"
] | null | null | null | /*
* File : Brush.cxx
* Program: simple_pickets
* Purpose: produces brush according to shape and size desired - implementation
* Author : Tommy Lincoln <pajamapants3000@gmail.com>
* License: MIT; See LICENSE
* Created: 03/04/2016
* Updated: 03/04/2016
*/
#include "Brush.hxx"
void Brush::create(const int x, ... | 24.551913 | 80 | 0.498108 | [
"shape"
] |
cd6106da559bd87133cbf718b9e7b041c9adc58b | 1,599 | cpp | C++ | c++/.leetcode/1463.cherry-pickup-ii.cpp | ming197/MyLeetCode | eba575765976b12db07be0857faad85b9c60d723 | [
"Apache-2.0"
] | null | null | null | c++/.leetcode/1463.cherry-pickup-ii.cpp | ming197/MyLeetCode | eba575765976b12db07be0857faad85b9c60d723 | [
"Apache-2.0"
] | null | null | null | c++/.leetcode/1463.cherry-pickup-ii.cpp | ming197/MyLeetCode | eba575765976b12db07be0857faad85b9c60d723 | [
"Apache-2.0"
] | null | null | null | /*
* @lc app=leetcode id=1463 lang=cpp
*
* [1463] Cherry Pickup II
*/
// @lc code=start
class Solution {
public:
int dy[3] = {-1, 0, 1};
int cherryPickup(vector<vector<int>>& grid) {
int m = grid.size(), n = grid[0].size();
int f[m][n][n];
for(int i = 0; i < m; i++){
... | 31.352941 | 161 | 0.292058 | [
"vector"
] |
cd7101608df019136136b3848ea45ec8ba1a9d3f | 1,164 | cpp | C++ | 0380_InsertDeleteGetRandomO(1).cpp | taro-masuda/leetcode | 39739e9fec7c66513b114c740ef982ccc09dc39f | [
"MIT"
] | null | null | null | 0380_InsertDeleteGetRandomO(1).cpp | taro-masuda/leetcode | 39739e9fec7c66513b114c740ef982ccc09dc39f | [
"MIT"
] | null | null | null | 0380_InsertDeleteGetRandomO(1).cpp | taro-masuda/leetcode | 39739e9fec7c66513b114c740ef982ccc09dc39f | [
"MIT"
] | 1 | 2020-03-18T05:23:40.000Z | 2020-03-18T05:23:40.000Z | class RandomizedSet {
private:
std::random_device rnd;
std::unordered_map<int, int> mp;
public:
/** Initialize your data structure here. */
RandomizedSet() {
}
/** Inserts a value to the set. Returns true if the set did not already contain the specified element. */
bool insert(int val) ... | 27.069767 | 109 | 0.565292 | [
"object"
] |
cd721ba86768b88ddfa3d0b4c1bcafd0872e53b3 | 430 | hpp | C++ | Overworld/LighthouseCoast.hpp | NoahKittleson/RPG-Engine | e7ce30973b5d1eed09e3d5acfd89f549c2feffd8 | [
"MIT",
"Unlicense"
] | 4 | 2016-06-30T19:55:40.000Z | 2020-01-10T21:03:00.000Z | Overworld/LighthouseCoast.hpp | NoahKittleson/RPG-Engine | e7ce30973b5d1eed09e3d5acfd89f549c2feffd8 | [
"MIT",
"Unlicense"
] | null | null | null | Overworld/LighthouseCoast.hpp | NoahKittleson/RPG-Engine | e7ce30973b5d1eed09e3d5acfd89f549c2feffd8 | [
"MIT",
"Unlicense"
] | null | null | null | //
// LighthouseCoast.hpp
// Overworld
//
// Created by Noah Kittleson on 7/8/18.
// Copyright © 2018 Noah. All rights reserved.
//
#pragma once
#include "MapSection.h"
#include "BattleState.h"
class LighthouseCoast: public MapSection
{
public:
LighthouseCoast(const ResourceHolder& resources, const std::vector<C... | 18.695652 | 93 | 0.713953 | [
"vector"
] |
cd73838f4ff6117d52db789718419e300eccdc39 | 784 | hpp | C++ | examples/eth/node.hpp | jmigual/metasim2.0 | f426aefde08fc216e6aa2428538caa59f7e4d08b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | examples/eth/node.hpp | jmigual/metasim2.0 | f426aefde08fc216e6aa2428538caa59f7e4d08b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | examples/eth/node.hpp | jmigual/metasim2.0 | f426aefde08fc216e6aa2428538caa59f7e4d08b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 8 | 2015-06-08T17:22:19.000Z | 2021-03-01T17:41:18.000Z | #ifndef __NODE_HPP__
#define __NODE_HPP__
#include <memory>
#include <vector>
#include <string>
using namespace std;
#include <metasim.hpp>
#define _NODE_DBG "Node"
class Message;
class NetInterface;
class Node : public MetaSim::Entity {
NetInterface* _net_interf;
std::unique_ptr<MetaSim::RandomVar> _interv... | 17.043478 | 58 | 0.725765 | [
"vector"
] |
cd755c248c4cc92913ecdf40ccb9749345fdc9f9 | 6,513 | cpp | C++ | examples/tm_landmark_uint8.cpp | zzz197/Tengine | be9ffe3b18af92b538dcbfb36ee4be08d94c19d7 | [
"Apache-2.0"
] | null | null | null | examples/tm_landmark_uint8.cpp | zzz197/Tengine | be9ffe3b18af92b538dcbfb36ee4be08d94c19d7 | [
"Apache-2.0"
] | null | null | null | examples/tm_landmark_uint8.cpp | zzz197/Tengine | be9ffe3b18af92b538dcbfb36ee4be08d94c19d7 | [
"Apache-2.0"
] | 1 | 2020-10-27T15:12:26.000Z | 2020-10-27T15:12:26.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you ma... | 29.739726 | 119 | 0.601105 | [
"shape",
"model"
] |
cd7a4509a075939c2525f060463dc2ca22a88091 | 4,429 | cpp | C++ | dev/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Libraries/Operators/Containers/OperatorErase.cpp | BadDevCode/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | 2 | 2020-06-27T12:13:44.000Z | 2020-06-27T12:13:46.000Z | dev/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Libraries/Operators/Containers/OperatorErase.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | null | null | null | dev/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Libraries/Operators/Containers/OperatorErase.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 41.392523 | 162 | 0.568977 | [
"vector"
] |
cd81086b88dba1f5d198d1c04c90b74cc6d20b86 | 9,850 | hpp | C++ | include/cppurses/painter/glyph_string.hpp | jktjkt/CPPurses | 652d702258db8fab55ae945f7bb38e0b7c29521b | [
"MIT"
] | null | null | null | include/cppurses/painter/glyph_string.hpp | jktjkt/CPPurses | 652d702258db8fab55ae945f7bb38e0b7c29521b | [
"MIT"
] | null | null | null | include/cppurses/painter/glyph_string.hpp | jktjkt/CPPurses | 652d702258db8fab55ae945f7bb38e0b7c29521b | [
"MIT"
] | null | null | null | #ifndef CPPURSES_PAINTER_GLYPH_STRING_HPP
#define CPPURSES_PAINTER_GLYPH_STRING_HPP
#include <codecvt>
#include <initializer_list>
#include <locale>
#include <memory>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include <cppurses/painter/attribute.hpp>
#include <cppurses/painter/glyph.hpp... | 36.891386 | 80 | 0.685482 | [
"vector"
] |
cd83fafc436e70ac4dbb984412112a104ecf7c55 | 237 | cpp | C++ | template5-OopsBasics1/main.cpp | sladewinter/Learn_CPP | 26ab606b838ae28b74b143b7c62371a84b197de6 | [
"Apache-2.0"
] | null | null | null | template5-OopsBasics1/main.cpp | sladewinter/Learn_CPP | 26ab606b838ae28b74b143b7c62371a84b197de6 | [
"Apache-2.0"
] | null | null | null | template5-OopsBasics1/main.cpp | sladewinter/Learn_CPP | 26ab606b838ae28b74b143b7c62371a84b197de6 | [
"Apache-2.0"
] | null | null | null | #include "Vector3d.h" // for creating Vector3d object
#include "Point3d.h" // for creating Point3d object
int main()
{
Point3d p(1.0, 2.0, 3.0);
Vector3d v(2.0, 2.0, -3.0);
p.print();
p.moveByVector(v);
p.print();
return 0;
} | 15.8 | 53 | 0.628692 | [
"object"
] |
cd8a4c4c059ae59e4e1a80a0e54a23af31afa1ea | 747 | cc | C++ | solutions/cpp/22-generate-parentheses.cc | PW486/leetcode | c8a38265ebc98fc6335b6420fefe0ce2bb3eeae9 | [
"Unlicense"
] | null | null | null | solutions/cpp/22-generate-parentheses.cc | PW486/leetcode | c8a38265ebc98fc6335b6420fefe0ce2bb3eeae9 | [
"Unlicense"
] | null | null | null | solutions/cpp/22-generate-parentheses.cc | PW486/leetcode | c8a38265ebc98fc6335b6420fefe0ce2bb3eeae9 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
vector<string> generateParenthesis(int n) {
vector<string> result;
backtrack(result, "", 0, 0, n);
return result;
}
void backtrack(vector<string> &result, string s, int open, int close,
int max) {
... | 19.153846 | 71 | 0.554217 | [
"vector"
] |
cd8bc6e06bd77af30cc4c9c7f31d87b361162c85 | 3,445 | cpp | C++ | source/Bit/Graphics/ModelMaterial.cpp | jimmiebergmann/Bit-Engine | 39324a9e7fb5ab4b1cf3738f871470e0a9ef7575 | [
"Zlib"
] | null | null | null | source/Bit/Graphics/ModelMaterial.cpp | jimmiebergmann/Bit-Engine | 39324a9e7fb5ab4b1cf3738f871470e0a9ef7575 | [
"Zlib"
] | null | null | null | source/Bit/Graphics/ModelMaterial.cpp | jimmiebergmann/Bit-Engine | 39324a9e7fb5ab4b1cf3738f871470e0a9ef7575 | [
"Zlib"
] | null | null | null | // ///////////////////////////////////////////////////////////////////////////
// Copyright (C) 2013 Jimmie Bergmann - jimmiebergmann@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 damages arising from the use of this... | 25.145985 | 91 | 0.687373 | [
"model"
] |
cd8c017686ef2e7dbbf4d8a3180fb6dce2251426 | 3,134 | cpp | C++ | Engine/Source/Runtime/CoreUObject/Private/Serialization/ArchiveObjectCrc32.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Runtime/CoreUObject/Private/Serialization/ArchiveObjectCrc32.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Runtime/CoreUObject/Private/Serialization/ArchiveObjectCrc32.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "CoreUObjectPrivate.h"
DEFINE_LOG_CATEGORY_STATIC(LogArchiveObjectCrc32, Log, All);
//#define DEBUG_ARCHIVE_OBJECT_CRC32
/*----------------------------------------------------------------------------
FArchiveObjectCrc32
-------------------------... | 28.752294 | 183 | 0.690172 | [
"object"
] |
cd91fef147d8bbcd39fe98e16373ea827a3dd874 | 7,290 | cpp | C++ | Code/Engine/RendererCore/Pipeline/Implementation/RenderPipeline.cpp | eltld/ezEngine | 3230235249dd2769f166872b753efd6bd8347c98 | [
"CC-BY-3.0"
] | null | null | null | Code/Engine/RendererCore/Pipeline/Implementation/RenderPipeline.cpp | eltld/ezEngine | 3230235249dd2769f166872b753efd6bd8347c98 | [
"CC-BY-3.0"
] | null | null | null | Code/Engine/RendererCore/Pipeline/Implementation/RenderPipeline.cpp | eltld/ezEngine | 3230235249dd2769f166872b753efd6bd8347c98 | [
"CC-BY-3.0"
] | 1 | 2020-03-08T04:55:16.000Z | 2020-03-08T04:55:16.000Z | #include <RendererCore/PCH.h>
#include <RendererCore/Pipeline/RenderPipeline.h>
#include <RendererCore/Pipeline/View.h>
#include <RendererCore/RenderContext/RenderContext.h>
#include <RendererCore/RenderLoop/RenderLoop.h>
#include <Foundation/Configuration/CVar.h>
#include <Core/World/World.h>
#include <RendererFoun... | 32.544643 | 148 | 0.773663 | [
"render",
"object"
] |
cd98d3ed839eb1af813dd0cdecf8c16439f0ed15 | 6,162 | cc | C++ | exegesis/util/instruction_syntax.cc | the-eager-ghosts/EXEgesis | ca6ab91c0e1f617881a34c8e794ea37466229590 | [
"Apache-2.0"
] | 201 | 2017-05-12T05:04:55.000Z | 2022-03-14T15:49:37.000Z | exegesis/util/instruction_syntax.cc | the-eager-ghosts/EXEgesis | ca6ab91c0e1f617881a34c8e794ea37466229590 | [
"Apache-2.0"
] | 7 | 2017-05-22T11:52:06.000Z | 2022-02-26T16:30:46.000Z | exegesis/util/instruction_syntax.cc | the-eager-ghosts/EXEgesis | ca6ab91c0e1f617881a34c8e794ea37466229590 | [
"Apache-2.0"
] | 35 | 2017-05-16T04:00:06.000Z | 2022-02-27T03:37:16.000Z | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | 36.035088 | 80 | 0.687926 | [
"vector"
] |
cd9d8209147172ac341dfb9655b69fd210c73aad | 7,881 | cpp | C++ | src/spatial_index.cpp | mmicek/kaacore | 2d64543a04358353a0bc2aad3665450a7ea71e7e | [
"MIT"
] | 7 | 2019-10-12T14:07:04.000Z | 2021-12-23T17:53:39.000Z | src/spatial_index.cpp | mmicek/kaacore | 2d64543a04358353a0bc2aad3665450a7ea71e7e | [
"MIT"
] | 1 | 2021-12-23T12:48:19.000Z | 2021-12-23T12:48:19.000Z | src/spatial_index.cpp | mmicek/kaacore | 2d64543a04358353a0bc2aad3665450a7ea71e7e | [
"MIT"
] | 6 | 2019-03-26T23:09:03.000Z | 2021-12-23T12:36:00.000Z | #include <functional>
#include <vector>
#include <chipmunk/chipmunk.h>
#include "kaacore/exceptions.h"
#include "kaacore/log.h"
#include "kaacore/nodes.h"
#include "kaacore/shapes.h"
#include "kaacore/spatial_index.h"
namespace kaacore {
constexpr int circle_shape_generated_points_count = 24;
inline cpBB
convert_... | 29.852273 | 80 | 0.67631 | [
"shape",
"vector",
"transform"
] |
cd9f292fb937f56fc3be58830fef8fa0a61a2942 | 16,462 | cpp | C++ | tests/testVioBackEnd.cpp | berndpfrommer/Kimera-VIO | bceed7203f824c1bcffc0c195a186d13c5ea2b22 | [
"BSD-2-Clause"
] | 1 | 2020-06-04T20:12:58.000Z | 2020-06-04T20:12:58.000Z | tests/testVioBackEnd.cpp | omarosamahu/Kimera-VIO | a652739af937200a2b82da86c217fec28334f146 | [
"BSD-2-Clause"
] | null | null | null | tests/testVioBackEnd.cpp | omarosamahu/Kimera-VIO | a652739af937200a2b82da86c217fec28334f146 | [
"BSD-2-Clause"
] | null | null | null | /* ----------------------------------------------------------------------------
* Copyright 2017, Massachusetts Institute of Technology,
* Cambridge, MA 02139
* All Rights Reserved
* Authors: Luca Carlone, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* -------------------... | 38.194896 | 80 | 0.623922 | [
"geometry",
"vector",
"model",
"3d"
] |
cdaab62257682da5b88edc032ae118e0fa8f6220 | 15,507 | cpp | C++ | src/gui/src/grid_window.cpp | pierre-dejoue/picross-solver | c4d85d66b7537e4651d411cb6480a34bb4fcf51b | [
"MIT"
] | null | null | null | src/gui/src/grid_window.cpp | pierre-dejoue/picross-solver | c4d85d66b7537e4651d411cb6480a34bb4fcf51b | [
"MIT"
] | null | null | null | src/gui/src/grid_window.cpp | pierre-dejoue/picross-solver | c4d85d66b7537e4651d411cb6480a34bb4fcf51b | [
"MIT"
] | null | null | null | #include "grid_window.h"
#include "err_window.h"
#include "settings.h"
#include <picross/picross_io.h>
#include <utils/bitmap_io.h>
#include <utils/picross_file_io.h>
#include <utils/strings.h>
#include "portable-file-dialogs.h"
#include <iostream>
#include <sstream>
#include <utility>
namespace
{
constexpr Im... | 33.71087 | 186 | 0.609531 | [
"vector"
] |
cdad97d56110b6866a7f96d4ea65a1cc935cf9f9 | 15,847 | cpp | C++ | SOURCES/graphics/objects/objlist.cpp | IsraelyFlightSimulator/Negev-Storm | 86de63e195577339f6e4a94198bedd31833a8be8 | [
"Unlicense"
] | 1 | 2021-02-19T06:06:31.000Z | 2021-02-19T06:06:31.000Z | src/graphics/objects/objlist.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | null | null | null | src/graphics/objects/objlist.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | 2 | 2019-08-20T13:35:13.000Z | 2021-04-24T07:32:04.000Z | /***************************************************************************\
ObjList.cpp
Scott Randolph
April 22, 1996
Manage the list of active objects to be drawn each frame for a given
renderer.
\***************************************************************************/
#include <math.h>
#include "... | 24.193893 | 144 | 0.578217 | [
"object"
] |
cdb7cbf07305b215d74c5ec13f661050b66d21d5 | 5,434 | cpp | C++ | src/tensors/cpu/sharp/int_gemm.cpp | hieuhoang/marian-dev | f2347a827fcfd7eebaaa552e2b3c2461f8ea45c2 | [
"MIT"
] | 4 | 2020-04-29T05:07:48.000Z | 2020-12-21T04:31:53.000Z | src/tensors/cpu/sharp/int_gemm.cpp | hieuhoang/marian-dev | f2347a827fcfd7eebaaa552e2b3c2461f8ea45c2 | [
"MIT"
] | 2 | 2020-10-21T23:38:48.000Z | 2021-03-25T05:40:35.000Z | src/tensors/cpu/sharp/int_gemm.cpp | hieuhoang/marian-dev | f2347a827fcfd7eebaaa552e2b3c2461f8ea45c2 | [
"MIT"
] | 5 | 2020-06-05T13:10:40.000Z | 2021-01-19T07:37:23.000Z | #include "int_gemm.h"
#include "tensors/tensor_allocator.h"
#include "tensors/tensor_operators.h"
#include <emmintrin.h>
#include <immintrin.h>
#include <tmmintrin.h>
#include <xmmintrin.h>
#include <cassert>
#include <cstddef>
namespace marian {
namespace cpu {
namespace int16 {
#ifdef __AVX512F__
void AVX_Quantize... | 28.904255 | 80 | 0.527788 | [
"shape"
] |
cdb8cd000821074a11b627bf26102fd41f248824 | 831 | cpp | C++ | LeetCode/Problems/0049_Group_Anagrams/group_anagrams.cpp | jocodoma/coding-interview-prep | f7f06be0bc5687c376b753ba3fa46b07412eeb80 | [
"MIT"
] | null | null | null | LeetCode/Problems/0049_Group_Anagrams/group_anagrams.cpp | jocodoma/coding-interview-prep | f7f06be0bc5687c376b753ba3fa46b07412eeb80 | [
"MIT"
] | null | null | null | LeetCode/Problems/0049_Group_Anagrams/group_anagrams.cpp | jocodoma/coding-interview-prep | f7f06be0bc5687c376b753ba3fa46b07412eeb80 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<string>> groupAnagrams(vector<string>& strs) {
return sortedStringHashMap(strs);
}
// time complexity: O(nklogk), where n is the length of arrary and k is the maximum length of string
// space complexity: O(nk)
vector<vector<string>> sortedStringHashMa... | 33.24 | 104 | 0.596871 | [
"vector"
] |
cdbb5bd9cb82f589255eff5eab7d7596cdd30be5 | 2,250 | cpp | C++ | xiablo/Plugins/SketchFabPlugin/Source/SketchfabGLTF/Private/GLTFPrimResolver.cpp | jing-interactive/ucd | 8fc8722291f086a0c0037a94d11c14562375e862 | [
"MIT"
] | 1 | 2022-02-02T23:36:07.000Z | 2022-02-02T23:36:07.000Z | xiablo/Plugins/SketchFabPlugin/Source/SketchfabGLTF/Private/GLTFPrimResolver.cpp | jing-interactive/ucd | 8fc8722291f086a0c0037a94d11c14562375e862 | [
"MIT"
] | null | null | null | xiablo/Plugins/SketchFabPlugin/Source/SketchfabGLTF/Private/GLTFPrimResolver.cpp | jing-interactive/ucd | 8fc8722291f086a0c0037a94d11c14562375e862 | [
"MIT"
] | null | null | null | // Copyright 2018 Sketchfab, Inc. All Rights Reserved.
#include "SKGLTFPrimResolver.h"
#include "SKGLTFImporter.h"
#include "SKGLTFConversionUtils.h"
#include "AssetData.h"
#include "Modules/ModuleManager.h"
#include "AssetRegistryModule.h"
#include "AssetSelection.h"
#include "IGLTFImporterModule.h"
#include "ObjectT... | 31.25 | 174 | 0.765333 | [
"mesh",
"model"
] |
02cbe67693c5beea93c134bb0161dea1b51112a6 | 5,882 | cc | C++ | Code/Components/Analysis/analysis/current/polarisation/StokesSpectrum.cc | ATNF/askapsoft | d839c052d5c62ad8a511e58cd4b6548491a6006f | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | 1 | 2020-06-18T08:37:43.000Z | 2020-06-18T08:37:43.000Z | Code/Components/Analysis/analysis/current/polarisation/StokesSpectrum.cc | ATNF/askapsoft | d839c052d5c62ad8a511e58cd4b6548491a6006f | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | Code/Components/Analysis/analysis/current/polarisation/StokesSpectrum.cc | ATNF/askapsoft | d839c052d5c62ad8a511e58cd4b6548491a6006f | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | /// @file
///
/// XXX Notes on program XXX
///
/// @copyright (c) 2014 CSIRO
/// Australia Telescope National Facility (ATNF)
/// Commonwealth Scientific and Industrial Research Organisation (CSIRO)
/// PO Box 76, Epping NSW 1710, Australia
/// atnf-enquiries@csiro.au
///
/// This file is part of the ASKAP software dis... | 34.6 | 107 | 0.696192 | [
"vector"
] |
02ccc3ced81715a89d5f5379ebe46f64133d1126 | 2,830 | cpp | C++ | Source/Basic/Renderer.cpp | IppClub/Dorothy-SSR | 2fb74673e76e5cef0218788757ce2de3c588ed33 | [
"MIT"
] | 57 | 2016-12-08T07:29:44.000Z | 2019-12-25T13:15:50.000Z | Source/Basic/Renderer.cpp | IppClub/Dorothy-SSR | 2fb74673e76e5cef0218788757ce2de3c588ed33 | [
"MIT"
] | 3 | 2018-06-07T06:31:39.000Z | 2019-10-04T07:16:15.000Z | Source/Basic/Renderer.cpp | IppClub/Dorothy-SSR | 2fb74673e76e5cef0218788757ce2de3c588ed33 | [
"MIT"
] | 16 | 2016-12-08T07:39:15.000Z | 2020-01-03T06:54:25.000Z | /* Copyright (c) 2022 Jin Li, dragon-fly@qq.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, d... | 28.877551 | 463 | 0.761484 | [
"render",
"vector"
] |
02cf395b3030e0b7a0c0a7aa862f67d5e52bda1d | 2,401 | cpp | C++ | src/tools.cpp | jnsagai/extended_kalman_filter | 6a50d86c0539c54c743278d2478de8fcfa8a5dec | [
"MIT"
] | null | null | null | src/tools.cpp | jnsagai/extended_kalman_filter | 6a50d86c0539c54c743278d2478de8fcfa8a5dec | [
"MIT"
] | null | null | null | src/tools.cpp | jnsagai/extended_kalman_filter | 6a50d86c0539c54c743278d2478de8fcfa8a5dec | [
"MIT"
] | null | null | null | #include "tools.h"
#include <iostream>
#include <cmath>
using Eigen::VectorXd;
using Eigen::MatrixXd;
using std::vector;
Tools::Tools() {}
Tools::~Tools() {}
VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations,
const vector<VectorXd> &ground_truth) {
/**
* Calculate ... | 25.273684 | 123 | 0.605165 | [
"vector"
] |
02cf7a05cac290fad587d2cee928195fe7fbc180 | 763 | cpp | C++ | p3iv_types/test/test_scene_model.cpp | fzi-forschungszentrum-informatik/P3IV | 51784e6dc03dcaa0ad58a5078475fa4daec774bd | [
"BSD-3-Clause"
] | 4 | 2021-07-27T06:56:22.000Z | 2022-03-22T11:21:30.000Z | p3iv_types/test/test_scene_model.cpp | fzi-forschungszentrum-informatik/P3IV | 51784e6dc03dcaa0ad58a5078475fa4daec774bd | [
"BSD-3-Clause"
] | null | null | null | p3iv_types/test/test_scene_model.cpp | fzi-forschungszentrum-informatik/P3IV | 51784e6dc03dcaa0ad58a5078475fa4daec774bd | [
"BSD-3-Clause"
] | 1 | 2021-10-10T01:56:44.000Z | 2021-10-10T01:56:44.000Z | /*
* This file is part of the Interpolated Polyline (https://github.com/fzi-forschungszentrum-informatik/P3IV),
* copyright by FZI Forschungszentrum Informatik, licensed under the BSD-3 license (see LICENSE file in main directory)
*/
#include <numeric>
#include <vector>
#include "scene_model.hpp"
#include "gtest/gt... | 25.433333 | 119 | 0.712975 | [
"vector"
] |
02d22dc5eb81d463cbd4d242fcae850e53799e46 | 2,291 | cpp | C++ | Contests/USACO Solutions/2013-14/Jan 2014/14 Jan G1.cpp | wanglawrence9990/USACO | 45c9bce4b3ac77d2a4ba2e646ff45a02563b59d2 | [
"CC0-1.0"
] | null | null | null | Contests/USACO Solutions/2013-14/Jan 2014/14 Jan G1.cpp | wanglawrence9990/USACO | 45c9bce4b3ac77d2a4ba2e646ff45a02563b59d2 | [
"CC0-1.0"
] | null | null | null | Contests/USACO Solutions/2013-14/Jan 2014/14 Jan G1.cpp | wanglawrence9990/USACO | 45c9bce4b3ac77d2a4ba2e646ff45a02563b59d2 | [
"CC0-1.0"
] | null | null | null | // #include<iostream>
#include<vector>
#include<algorithm>
#include<fstream>
using namespace std;
//using namespace __gnu_pbds;
typedef long long ll;
typedef vector<int> vi;
typedef pair<ll,ll> pi;
//typedef tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update> ordered_set;
#define FOR(i, a, b... | 22.683168 | 98 | 0.542994 | [
"vector"
] |
02d96129082474cc8b0297ea1cbd8db0fe19beec | 87,211 | cpp | C++ | GetPot.cpp | HydrArgs/getpot-cpp | 3aaf25c1bc8858462ac8c8d0ab7fba547b9dbd7f | [
"MIT"
] | 1 | 2020-07-30T16:24:15.000Z | 2020-07-30T16:24:15.000Z | GetPot.cpp | HydrArgs/getpot-cpp | 3aaf25c1bc8858462ac8c8d0ab7fba547b9dbd7f | [
"MIT"
] | 2 | 2021-04-09T09:07:42.000Z | 2021-08-17T19:09:47.000Z | GetPot.cpp | HydrArgs/getpot-cpp | 3aaf25c1bc8858462ac8c8d0ab7fba547b9dbd7f | [
"MIT"
] | 1 | 2021-08-16T18:40:00.000Z | 2021-08-16T18:40:00.000Z | // SPDX license identifier: MIT; Project 'GetPot'
// MIT License
//
// Copyright (C) 2001-2016 Frank-Rene Schaefer.
//
// While not directly linked to license requirements, the author would like
// this software not to be used for military purposes.
//
// Permission is hereby granted, free of charge, to any person obta... | 34.429925 | 135 | 0.577358 | [
"object",
"vector"
] |
02e54f136efafbe70affb208aa93ba5dc3b30ed9 | 4,735 | hpp | C++ | include/eve/detail/function/simd/x86/compress_store_swizzle_mask_num.hpp | microblink/eve | 26d50d59190d3e2817c3ca95614e3e74f6c6f30a | [
"MIT"
] | null | null | null | include/eve/detail/function/simd/x86/compress_store_swizzle_mask_num.hpp | microblink/eve | 26d50d59190d3e2817c3ca95614e3e74f6c6f30a | [
"MIT"
] | null | null | null | include/eve/detail/function/simd/x86/compress_store_swizzle_mask_num.hpp | microblink/eve | 26d50d59190d3e2817c3ca95614e3e74f6c6f30a | [
"MIT"
] | null | null | null | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 35.871212 | 101 | 0.605069 | [
"vector"
] |
02eac47b8bd0388ce22fdaf9c919e6abda49b301 | 2,672 | cpp | C++ | libcaf_net/src/net/middleman.cpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | null | null | null | libcaf_net/src/net/middleman.cpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | null | null | null | libcaf_net/src/net/middleman.cpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | null | null | null | // This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#include "caf/net/middleman.hpp"
#include "caf/actor_system_config.hpp"
#include "caf/det... | 29.362637 | 80 | 0.668039 | [
"vector"
] |
02ef30d96f8a50c89554f2ef02cf5e04ee855994 | 15,999 | hpp | C++ | include/System/Guid.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Guid.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Guid.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Including type: S... | 54.979381 | 292 | 0.701231 | [
"object",
"vector"
] |
02f7d29f435b61c8895ebdeb2de7914d66e09935 | 2,641 | inl | C++ | Source Code/AsTeRICS/ARE/components/sensor.eyex/src/main/c++/include/eyex-cpp/InteractionEvent.inl | EliKabasele/openHAB_MyUI | f6c66a42cca24a484c2bd4013b20b05edaa88161 | [
"Apache-2.0"
] | 2 | 2020-05-19T09:48:20.000Z | 2020-07-14T14:37:45.000Z | Source Code/AsTeRICS/ARE/components/sensor.eyex/src/main/c++/include/eyex-cpp/InteractionEvent.inl | EliKabasele/openHAB_MyUI | f6c66a42cca24a484c2bd4013b20b05edaa88161 | [
"Apache-2.0"
] | 1 | 2016-12-01T15:26:24.000Z | 2016-12-01T18:05:09.000Z | Source Code/AsTeRICS/ARE/components/sensor.eyex/src/main/c++/include/eyex-cpp/InteractionEvent.inl | EliKabasele/openHAB_MyUI | f6c66a42cca24a484c2bd4013b20b05edaa88161 | [
"Apache-2.0"
] | 1 | 2020-12-16T02:55:54.000Z | 2020-12-16T02:55:54.000Z | /*********************************************************************************************************************
* Copyright 2013-2014 Tobii Technology AB. All rights reserved.
* InteractionEvent.inl
***************************************************************************************************************... | 41.265625 | 120 | 0.432412 | [
"vector"
] |
02f8d0b421df49d7039719483d0175895497e485 | 1,128 | cpp | C++ | src/D3D/VertexLayout.cpp | razerx100/GaiaX | 6bf8fb1da9e2a60b43736742fb6f4c56b1f5f315 | [
"MIT"
] | null | null | null | src/D3D/VertexLayout.cpp | razerx100/GaiaX | 6bf8fb1da9e2a60b43736742fb6f4c56b1f5f315 | [
"MIT"
] | null | null | null | src/D3D/VertexLayout.cpp | razerx100/GaiaX | 6bf8fb1da9e2a60b43736742fb6f4c56b1f5f315 | [
"MIT"
] | null | null | null | #include <VertexLayout.hpp>
static const std::vector<const char*> vertexElementTypeNameMap{
"Position",
"UV"
};
static const std::vector<DXGI_FORMAT> vertexElementTypeFormatMap{
DXGI_FORMAT_R32G32B32_FLOAT,
DXGI_FORMAT_R32G32_FLOAT
};
static const std::vector<size_t> vertexElementTypeSizeMap{
12u,
... | 26.857143 | 92 | 0.759752 | [
"vector"
] |
02fa787a479202c796ee9e3038eb09d2a6f0a9e4 | 10,912 | cc | C++ | src/xenia/base/logging.cc | EmulationChannel/xenia-1 | d58dcf71123e216e8d933751a37d45da1d16932b | [
"BSD-3-Clause"
] | 262 | 2019-08-17T08:27:30.000Z | 2022-03-29T02:36:04.000Z | src/xenia/base/logging.cc | EmulationChannel/xenia-1 | d58dcf71123e216e8d933751a37d45da1d16932b | [
"BSD-3-Clause"
] | 33 | 2019-08-18T09:39:40.000Z | 2022-03-31T20:47:39.000Z | src/xenia/base/logging.cc | EmulationChannel/xenia-1 | d58dcf71123e216e8d933751a37d45da1d16932b | [
"BSD-3-Clause"
] | 141 | 2019-09-06T01:37:01.000Z | 2022-03-23T23:39:05.000Z | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2020 Ben Vanik. All rights reserved. ... | 29.814208 | 92 | 0.609696 | [
"vector"
] |
02fffad521dbbc0632f38db514ca086465e5fdcc | 4,366 | hpp | C++ | include/albatross/src/models/least_squares.hpp | swift-nav/albatross | 54f2edec3f19149f04a2e2e3bbb0b05aba7faba6 | [
"MIT"
] | 15 | 2018-04-10T02:05:06.000Z | 2022-02-07T23:33:27.000Z | include/albatross/src/models/least_squares.hpp | swift-nav/albatross | 54f2edec3f19149f04a2e2e3bbb0b05aba7faba6 | [
"MIT"
] | 79 | 2018-04-19T20:36:18.000Z | 2021-08-04T16:21:19.000Z | include/albatross/src/models/least_squares.hpp | swift-nav/albatross | 54f2edec3f19149f04a2e2e3bbb0b05aba7faba6 | [
"MIT"
] | 4 | 2018-04-06T03:12:16.000Z | 2020-09-11T03:25:08.000Z | /*
* Copyright (C) 2018 Swift Navigation Inc.
* Contact: Swift Navigation <dev@swiftnav.com>
*
* This source is subject to the license found in the file 'LICENSE' which must
* be distributed together with this source. All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY O... | 31.410072 | 80 | 0.65781 | [
"vector",
"model"
] |
f300095cd5ab68c21435543effa19cecf85e68b2 | 17,549 | cpp | C++ | tc/sgx/trusted_worker_manager/enclave_untrusted/enclave_bridge/dcap/dcap_attestation.cpp | MarkYQJ/avalon | ce962a09bda033d9e33c219bb1f2452f091e28dd | [
"Apache-2.0"
] | 127 | 2019-10-25T08:43:26.000Z | 2022-03-20T15:33:32.000Z | tc/sgx/trusted_worker_manager/enclave_untrusted/enclave_bridge/dcap/dcap_attestation.cpp | Mateus-dang/avalon | 3f6f4f4b892753cf2ae9f3cab839664ed6e7512c | [
"Apache-2.0"
] | 275 | 2019-10-24T23:36:21.000Z | 2022-01-24T20:38:07.000Z | tc/sgx/trusted_worker_manager/enclave_untrusted/enclave_bridge/dcap/dcap_attestation.cpp | Mateus-dang/avalon | 3f6f4f4b892753cf2ae9f3cab839664ed6e7512c | [
"Apache-2.0"
] | 110 | 2019-10-30T07:09:25.000Z | 2022-01-28T09:40:44.000Z | /* Copyright 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 38.316594 | 110 | 0.692632 | [
"object"
] |
f3011ec2bacf5787578fcfa925684c3e0fc3aca1 | 34,173 | cpp | C++ | src/mongo/db/query/sbe_stage_builder_coll_scan.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/query/sbe_stage_builder_coll_scan.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/query/sbe_stage_builder_coll_scan.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2020-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 53.731132 | 100 | 0.56173 | [
"vector"
] |
f301a9c5428ecb410076ebc83af8160ffac0b0d3 | 764 | cpp | C++ | persistence/src/vespa/persistence/spi/abstractpersistenceprovider.cpp | alexeyche/vespa | 7585981b32937d2b13da1a8f94b42c8a0833a4c2 | [
"Apache-2.0"
] | null | null | null | persistence/src/vespa/persistence/spi/abstractpersistenceprovider.cpp | alexeyche/vespa | 7585981b32937d2b13da1a8f94b42c8a0833a4c2 | [
"Apache-2.0"
] | null | null | null | persistence/src/vespa/persistence/spi/abstractpersistenceprovider.cpp | alexeyche/vespa | 7585981b32937d2b13da1a8f94b42c8a0833a4c2 | [
"Apache-2.0"
] | null | null | null | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "abstractpersistenceprovider.h"
#include <vespa/document/base/documentid.h>
#include <vespa/vespalib/util/idestructorcallback.h>
namespace storage::spi {
void
AbstractPersistenceProvider::removeIfFoundAs... | 30.56 | 104 | 0.736911 | [
"vector"
] |
f301ced7c6e9a8485bbb0f4c2b013d8b5ca40498 | 41,783 | cpp | C++ | DataViewer/OGRColumn.cpp | chenyoujie/GeoDa | 87504344512bd0da2ccadfb160ecd1e918a52f06 | [
"BSL-1.0"
] | null | null | null | DataViewer/OGRColumn.cpp | chenyoujie/GeoDa | 87504344512bd0da2ccadfb160ecd1e918a52f06 | [
"BSL-1.0"
] | null | null | null | DataViewer/OGRColumn.cpp | chenyoujie/GeoDa | 87504344512bd0da2ccadfb160ecd1e918a52f06 | [
"BSL-1.0"
] | null | null | null | /**
* GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved
*
* This file is part of GeoDa.
*
* GeoDa is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | 28.098857 | 135 | 0.53663 | [
"vector"
] |
f3026bcfc4e4e5795e0e3f8c3e10acf905b4c1f4 | 4,248 | cpp | C++ | test/transform_vector.cpp | romariorios/coruja | 275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af | [
"BSL-1.0"
] | 13 | 2017-10-24T07:13:28.000Z | 2020-10-07T02:51:31.000Z | test/transform_vector.cpp | romariorios/coruja | 275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af | [
"BSL-1.0"
] | 1 | 2019-10-30T21:50:44.000Z | 2019-11-06T19:35:23.000Z | test/transform_vector.cpp | romariorios/coruja | 275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af | [
"BSL-1.0"
] | 5 | 2018-09-19T20:29:07.000Z | 2020-03-20T18:12:09.000Z | #include "check_equal.hpp"
#include <coruja/container/view/transform.hpp>
#include <coruja/container/vector.hpp>
#include <boost/optional/optional.hpp>
#include <range/v3/back.hpp>
#include <range/v3/front.hpp>
#include <range/v3/range_concepts.hpp>
#include <string>
using namespace coruja;
using svector = vector<s... | 25.745455 | 75 | 0.551318 | [
"vector",
"transform"
] |
f3071c1a6e5b287910cfd111d01917e7a0856f36 | 13,740 | cc | C++ | webkit/tools/test_shell/test_shell_webthemecontrol.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | webkit/tools/test_shell/test_shell_webthemecontrol.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | webkit/tools/test_shell/test_shell_webthemecontrol.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2009 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.
// This file implements a simple generic version of the WebKitThemeEngine,
// which is used to draw all the native controls on a web page. We use this... | 34.69697 | 77 | 0.65524 | [
"render"
] |
f30fdbdb760f4a0bc21901839a1798fdd35bd8bb | 1,734 | cxx | C++ | Libs/MRML/Core/Testing/vtkMRMLSceneViewNodeTest1.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Libs/MRML/Core/Testing/vtkMRMLSceneViewNodeTest1.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Libs/MRML/Core/Testing/vtkMRMLSceneViewNodeTest1.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | /*=auto=========================================================================
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH)
All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Program: 3D Slicer
========================================... | 26.676923 | 105 | 0.66609 | [
"3d"
] |
f3130bd992a0338b43a59aca7596077940612f87 | 3,312 | cpp | C++ | src/target_jpeg.cpp | folkertvanheusden/constatus | 7b0c42a5017bf96afcb0f34c0d4987bdc40ef2e6 | [
"Apache-2.0"
] | 5 | 2021-07-15T11:39:25.000Z | 2022-02-25T06:14:58.000Z | src/target_jpeg.cpp | folkertvanheusden/constatus | 7b0c42a5017bf96afcb0f34c0d4987bdc40ef2e6 | [
"Apache-2.0"
] | 2 | 2021-09-27T11:13:42.000Z | 2021-10-10T01:02:39.000Z | src/target_jpeg.cpp | folkertvanheusden/constatus | 7b0c42a5017bf96afcb0f34c0d4987bdc40ef2e6 | [
"Apache-2.0"
] | 2 | 2021-06-11T09:19:47.000Z | 2022-02-18T22:22:01.000Z | // (C) 2017-2021 by folkert van heusden, released under Apache License v2.0
#include "config.h"
#include <unistd.h>
#include "target_jpeg.h"
#include "error.h"
#include "exec.h"
#include "log.h"
#include "picio.h"
#include "utils.h"
#include "source.h"
#include "view.h"
#include "filter.h"
#include "schedule.h"
targe... | 24.716418 | 657 | 0.669082 | [
"vector"
] |
f31733485a25f834e017dbc616fa06e10b7e2a2c | 3,955 | cpp | C++ | live/src/v20180801/model/DescribeLiveStreamPushInfoListRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | live/src/v20180801/model/DescribeLiveStreamPushInfoListRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | live/src/v20180801/model/DescribeLiveStreamPushInfoListRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 27.275862 | 95 | 0.740834 | [
"model"
] |
f3173fb6f8c05b706b9bf7dc9fecd5e584526260 | 3,586 | cc | C++ | smartag/src/model/DescribeQosCarsRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | smartag/src/model/DescribeQosCarsRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | smartag/src/model/DescribeQosCarsRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 1 | 2020-11-27T09:13:12.000Z | 2020-11-27T09:13:12.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... | 23.748344 | 94 | 0.755717 | [
"model"
] |
f31a9e6ea6b811d50567061d20981efbb7bc2cdb | 841 | cpp | C++ | Algorithms/0532.K-diff_Pairs_in_an_Array.cpp | metehkaya/LeetCode | 52f4a1497758c6f996d515ced151e8783ae4d4d2 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/LeetCode/Problems/0532.K-diff_Pairs_in_an_Array.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/LeetCode/Problems/0532.K-diff_Pairs_in_an_Array.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | class Solution {
public:
int findPairs(vector<int>& ar, int k) {
int n = ar.size() , ans = 0;
set<int> nums,add;
set<int>::iterator it;
for( int i = 0 ; i < n ; i++ ) {
it = nums.find(ar[i]-k);
if(it != nums.end()) {
it = add.find(ar[i]-k);
... | 28.033333 | 43 | 0.299643 | [
"vector"
] |
f31ad597f65fd32a5b8410315f0c30013a2eacfb | 7,969 | cpp | C++ | Game/dmusic/mixer.cpp | da3m0nsec/OpenGothic | af30c52309cb84ff338d42554610679e0e245f91 | [
"MIT"
] | null | null | null | Game/dmusic/mixer.cpp | da3m0nsec/OpenGothic | af30c52309cb84ff338d42554610679e0e245f91 | [
"MIT"
] | null | null | null | Game/dmusic/mixer.cpp | da3m0nsec/OpenGothic | af30c52309cb84ff338d42554610679e0e245f91 | [
"MIT"
] | null | null | null | #include "mixer.h"
#include <Tempest/Application>
#include <Tempest/SoundEffect>
#include <Tempest/Sound>
#include <Tempest/Log>
#include <cmath>
#include <set>
#include "soundfont.h"
#include "wave.h"
using namespace Dx8;
using namespace Tempest;
static int64_t toSamples(uint64_t time) {
return int64_t(time*Soun... | 24.221884 | 111 | 0.596185 | [
"shape",
"vector"
] |
f31c2aa4f45d8c2ce4705631fb3d20d4db10f0c3 | 2,604 | cpp | C++ | openstudiocore/src/model/test/GasEquipment_GTest.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | 4 | 2015-05-02T21:04:15.000Z | 2015-10-28T09:47:22.000Z | openstudiocore/src/model/test/GasEquipment_GTest.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | null | null | null | openstudiocore/src/model/test/GasEquipment_GTest.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | 1 | 2020-11-12T21:52:36.000Z | 2020-11-12T21:52:36.000Z | /**********************************************************************
* Copyright (c) 2008-2015, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 31 | 139 | 0.686636 | [
"model"
] |
f31e4126c49393525ced1161fbe09f64a1f19ab5 | 7,496 | cpp | C++ | indra/llmath/tests/llbboxlocal_test.cpp | SaladDais/LSO2-VM-Performance | d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638 | [
"ISC"
] | 1 | 2022-01-29T07:10:03.000Z | 2022-01-29T07:10:03.000Z | indra/llmath/tests/llbboxlocal_test.cpp | SaladDais/LSO2-VM-Performance | d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638 | [
"ISC"
] | null | null | null | indra/llmath/tests/llbboxlocal_test.cpp | SaladDais/LSO2-VM-Performance | d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638 | [
"ISC"
] | 1 | 2021-10-01T22:22:27.000Z | 2021-10-01T22:22:27.000Z | /**
* @file llbboxlocal_test.cpp
* @author Martin Reddy
* @date 2009-06-25
* @brief Test for llbboxlocal.cpp.
*
* $LicenseInfo:firstyear=2009&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/o... | 32.171674 | 101 | 0.659552 | [
"object",
"vector"
] |
f32bdc7b863a17c86b46e5dd739210c0dd39be17 | 6,478 | cc | C++ | core/src/main/cpp/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack_unittest.cc | sclwork/core | 65904846fcaa86dd67937a263dc6ae5882dd1f30 | [
"Apache-2.0"
] | 78 | 2016-06-23T03:01:49.000Z | 2022-03-03T03:15:49.000Z | core/src/main/cpp/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack_unittest.cc | sclwork/core | 65904846fcaa86dd67937a263dc6ae5882dd1f30 | [
"Apache-2.0"
] | 8 | 2016-12-17T03:16:01.000Z | 2020-05-21T09:55:58.000Z | core/src/main/cpp/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack_unittest.cc | sclwork/core | 65904846fcaa86dd67937a263dc6ae5882dd1f30 | [
"Apache-2.0"
] | 53 | 2016-06-05T13:34:42.000Z | 2021-12-22T10:44:03.000Z | /*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 34.275132 | 80 | 0.717197 | [
"vector"
] |
f330d3301f03de05705d0607abb4db1c38af4f64 | 666 | hpp | C++ | plugins/common/wayfire/plugins/common/simple-texture.hpp | DurandA/wayfire | f7d3c51552684ac7527d58210d8ebdff2a4bbca1 | [
"MIT"
] | 1 | 2021-05-04T18:28:20.000Z | 2021-05-04T18:28:20.000Z | plugins/common/wayfire/plugins/common/simple-texture.hpp | paullinuxthemer/wayfire | b2e244949783e92e97f5197b0e29ae2ca2868b29 | [
"MIT"
] | null | null | null | plugins/common/wayfire/plugins/common/simple-texture.hpp | paullinuxthemer/wayfire | b2e244949783e92e97f5197b0e29ae2ca2868b29 | [
"MIT"
] | null | null | null | #pragma once
#include <wayfire/opengl.hpp>
#include <wayfire/nonstd/noncopyable.hpp>
namespace wf
{
struct simple_texture_t : public noncopyable_t
{
GLuint tex = -1;
int width = 0;
int height = 0;
/**
* Destroy the GL texture.
* This will call OpenGL::render_begin()/end() internally.
*/... | 19.028571 | 64 | 0.570571 | [
"object"
] |
f330f263b7afa8497aaecfdde447ab0c5aebc603 | 1,233 | cpp | C++ | main.cpp | mzient/serializer | d183294af043f5d9e09b4162c5d4f8d0ae3724d5 | [
"MIT"
] | null | null | null | main.cpp | mzient/serializer | d183294af043f5d9e09b4162c5d4f8d0ae3724d5 | [
"MIT"
] | null | null | null | main.cpp | mzient/serializer | d183294af043f5d9e09b4162c5d4f8d0ae3724d5 | [
"MIT"
] | null | null | null | /*
* File: main.cpp
* Author: michal
*
* Created on February 20, 2016, 10:47 PM
*/
#include <iostream>
#include <cstdint>
#include <stdio.h>
#include <tuple>
#include "Serialize.h"
#include "BinarySerializer.h"
using namespace std;
struct HexStream : Serialize::IOutputStream
{
void write(const void *data... | 16.223684 | 63 | 0.564477 | [
"vector"
] |
f335371750d43bf132097819bb3483e5fdd7b394 | 156,688 | cpp | C++ | runtime/test/generated/spec_V1_2/sub_v1_2.example.cpp | riscv-android-src/platform-packages-modules-NeuralNetworks | 32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5 | [
"Apache-2.0"
] | null | null | null | runtime/test/generated/spec_V1_2/sub_v1_2.example.cpp | riscv-android-src/platform-packages-modules-NeuralNetworks | 32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5 | [
"Apache-2.0"
] | null | null | null | runtime/test/generated/spec_V1_2/sub_v1_2.example.cpp | riscv-android-src/platform-packages-modules-NeuralNetworks | 32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5 | [
"Apache-2.0"
] | null | null | null | // Generated from sub_v1_2.mod.py
// DO NOT EDIT
// clang-format off
#include "TestHarness.h"
using namespace test_helper; // NOLINT(google-build-using-namespace)
namespace generated_tests::sub_v1_2 {
const TestModel& get_test_model_none() {
static TestModel model = {
.main = {
.operands ... | 52.845868 | 1,245 | 0.378057 | [
"model"
] |
f3369dbd0ec9353f9fe945673dc89d579704d168 | 765 | hpp | C++ | src/v2/hasher.hpp | fslobanov/veeam-signature | e981d56c81646f9f24e2e60cf2b807e7faa28bd8 | [
"MIT"
] | null | null | null | src/v2/hasher.hpp | fslobanov/veeam-signature | e981d56c81646f9f24e2e60cf2b807e7faa28bd8 | [
"MIT"
] | null | null | null | src/v2/hasher.hpp | fslobanov/veeam-signature | e981d56c81646f9f24e2e60cf2b807e7faa28bd8 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <functional>
#include <boost/asio.hpp>
#include <signature.hpp>
namespace signature2 {
class segment_hasher_t final
{
public:
using crc32_t = uint32_t;
using hash_t = hashed_segment_t;
public:
hash_t operator ()( segment_t && segment ) const noexcept;
private:
... | 17.790698 | 92 | 0.700654 | [
"vector"
] |
f336dd7d012c3895fa506372d07c749ea3f89687 | 2,297 | cpp | C++ | third_party/libigl/include/igl/launch_medit.cpp | chefmramos85/monster-mash | 239a41f6f178ca83c4be638331e32f23606b0381 | [
"Apache-2.0"
] | 1,125 | 2021-02-01T09:51:56.000Z | 2022-03-31T01:50:40.000Z | third_party/libigl/include/igl/launch_medit.cpp | ryan-cranfill/monster-mash | c1b906d996885f8a4011bdf7558e62e968e1e914 | [
"Apache-2.0"
] | 19 | 2021-02-01T12:36:30.000Z | 2022-03-19T14:02:50.000Z | third_party/libigl/include/igl/launch_medit.cpp | ryan-cranfill/monster-mash | c1b906d996885f8a4011bdf7558e62e968e1e914 | [
"Apache-2.0"
] | 148 | 2021-02-13T10:54:31.000Z | 2022-03-28T11:55:20.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at htt... | 32.352113 | 374 | 0.673923 | [
"mesh",
"geometry"
] |
f33976b7369fa0d193663eb2550562c1342d9de1 | 3,642 | cpp | C++ | Second Set/Third Exercise/main.cpp | ManosL/Object-Oriented-Programming-2017-18 | bc48941e58ae1dcbc4c7c51557e9a00c49f7800d | [
"MIT"
] | null | null | null | Second Set/Third Exercise/main.cpp | ManosL/Object-Oriented-Programming-2017-18 | bc48941e58ae1dcbc4c7c51557e9a00c49f7800d | [
"MIT"
] | null | null | null | Second Set/Third Exercise/main.cpp | ManosL/Object-Oriented-Programming-2017-18 | bc48941e58ae1dcbc4c7c51557e9a00c49f7800d | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdlib>
#include <ctime>
#include <cstring>
#include <vector>
#include <string>
#include "Artifact.h"
using namespace std;
static const time_t CURRENT_YEAR = 2018; //I make this define's for better understanding of my program
static const size_t MIN_LENGTH = 150;
static const size_t... | 28.904762 | 181 | 0.690829 | [
"vector"
] |
f33f58f751a5f90263dc2979d8b72c7dd688ea64 | 18,801 | cc | C++ | src/candidate_processor.cc | vejnar/chromap | f0ff121845f727b2142f04983211233f27302d13 | [
"MIT"
] | null | null | null | src/candidate_processor.cc | vejnar/chromap | f0ff121845f727b2142f04983211233f27302d13 | [
"MIT"
] | null | null | null | src/candidate_processor.cc | vejnar/chromap | f0ff121845f727b2142f04983211233f27302d13 | [
"MIT"
] | null | null | null | #include "candidate_processor.h"
#include <cinttypes>
#include <cstring>
#include <functional>
#include <iostream>
#include <string>
#include <vector>
namespace chromap {
void CandidateProcessor::GenerateCandidates(
int error_threshold, const Index &index,
MappingMetadata &mapping_metadata) const {
const s... | 39.332636 | 80 | 0.682145 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.