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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf87b50c4aef208fb393bf3fa63d208d8e039bee | 1,213 | hpp | C++ | dev/Basic/long/database/dao/PrimarySchoolDao.hpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 50 | 2018-12-21T08:21:38.000Z | 2022-01-24T09:47:59.000Z | dev/Basic/long/database/dao/PrimarySchoolDao.hpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 2 | 2018-12-19T13:42:47.000Z | 2019-05-13T04:11:45.000Z | dev/Basic/long/database/dao/PrimarySchoolDao.hpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 27 | 2018-11-28T07:30:34.000Z | 2022-02-05T02:22:26.000Z | /*
* PrimarySchoolDao.hpp
*
* Created on: 10 Mar 2016
* Author: gishara
*/
#pragma once
#include "database/dao/SqlAbstractDao.hpp"
#include "database/entity/PrimarySchool.hpp"
namespace sim_mob {
namespace long_term {
/**
* Data Access Object to primary_school table on data source.
... | 29.585366 | 84 | 0.582852 | [
"object"
] |
cf890978718160a849877eb08c3bc701dfe4947a | 28,768 | cpp | C++ | fastbuild-v1.02/Code/Core/Process/Process.cpp | jj4jj/TurboBuildUE4 | 497f0944c8d04d70e3656a34c145d21f431366a5 | [
"MIT"
] | 11 | 2020-08-28T02:11:22.000Z | 2021-09-11T11:29:53.000Z | fastbuild-v1.02/Code/Core/Process/Process.cpp | jj4jj/TurboBuildUE4 | 497f0944c8d04d70e3656a34c145d21f431366a5 | [
"MIT"
] | 1 | 2020-11-23T13:35:00.000Z | 2020-11-23T13:35:00.000Z | fastbuild-v1.02/Code/Core/Process/Process.cpp | jj4jj/TurboBuildUE4 | 497f0944c8d04d70e3656a34c145d21f431366a5 | [
"MIT"
] | 5 | 2020-10-22T11:16:11.000Z | 2021-04-01T10:20:09.000Z | // Process.cpp
//------------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------
#include "Process.h"
#if !defined( __APPLE__ ) || !defined( APPLE_PROCESS_USE_NSTASK )
#include "Core/Env/Assert.h"
#include "C... | 34.702051 | 135 | 0.507613 | [
"vector"
] |
cf8d99df437d26a11c7931556d72e7efc5d4c671 | 1,677 | cc | C++ | cs/src/model/DescribeClusterAddonUpgradeStatusRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | cs/src/model/DescribeClusterAddonUpgradeStatusRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | cs/src/model/DescribeClusterAddonUpgradeStatusRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 31.641509 | 94 | 0.781753 | [
"model"
] |
cf9210be114e3f2a0a6cd56e2afa4fda5dcc158b | 2,478 | hpp | C++ | ambs_core/include/ambs_core/ambs_base_interface/ambs_boolean_interface.hpp | IPA-KUT-CL/ambs | 8e26ba5836611748d31f23f8354eb00aba629b00 | [
"Apache-2.0"
] | null | null | null | ambs_core/include/ambs_core/ambs_base_interface/ambs_boolean_interface.hpp | IPA-KUT-CL/ambs | 8e26ba5836611748d31f23f8354eb00aba629b00 | [
"Apache-2.0"
] | 10 | 2021-07-22T18:07:46.000Z | 2021-11-03T08:19:31.000Z | ambs_core/include/ambs_core/ambs_base_interface/ambs_boolean_interface.hpp | IPA-KUT-CL/ambs | 8e26ba5836611748d31f23f8354eb00aba629b00 | [
"Apache-2.0"
] | 1 | 2021-08-16T14:04:29.000Z | 2021-08-16T14:04:29.000Z | #ifndef AMBSBASEBOOLEANINTERFACE_HPP
#define AMBSBASEBOOLEANINTERFACE_HPP
#include "ambs_core/ambs_base_interface/ambs_base_interface.hpp"
#include "ambs_msgs/BoolStamped.h"
namespace ambs_base {
/**
* @brief A bool specialisation of AMBSTemplatedInterface. Offers two extra functions
*/
class AMBSBooleanInterface ... | 33.486486 | 120 | 0.615416 | [
"vector"
] |
cf9f2246c77791530d477a85bc06871323603e81 | 1,844 | hpp | C++ | include/fcppt/variant/compare.hpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | include/fcppt/variant/compare.hpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | include/fcppt/variant/compare.hpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_VARIANT_COMPARE_HPP_INCLUDED
#define FCPPT_VARIANT_COMPARE_HPP_INCLUDED
#include <f... | 18.078431 | 77 | 0.642625 | [
"object"
] |
cfa08a2b7b360e59e12892abbc5d5d9ce1cfdb3a | 8,709 | cpp | C++ | qt-creator-opensource-src-4.6.1/src/libs/sqlite/sqlstatementbuilder.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/src/libs/sqlite/sqlstatementbuilder.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/src/libs/sqlite/sqlstatementbuilder.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 33.240458 | 130 | 0.698588 | [
"vector",
"transform"
] |
cfa1d6bdcd67fdb489e3f23bf6ddcb7c9a0fbc7d | 340 | cpp | C++ | codeforces/old/545D.cpp | harry-7/mycodes | 442d84fab9dddde12fa0e68fd1a43f7bf13f849d | [
"MIT"
] | 1 | 2016-11-10T13:21:57.000Z | 2016-11-10T13:21:57.000Z | codeforces/old/545D.cpp | harry-7/mycodes | 442d84fab9dddde12fa0e68fd1a43f7bf13f849d | [
"MIT"
] | null | null | null | codeforces/old/545D.cpp | harry-7/mycodes | 442d84fab9dddde12fa0e68fd1a43f7bf13f849d | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<cstring>
#include<cstdio>
#include<string>
#include<algorithm>
using namespace std;
long long a[100005];
int main()
{
int n,i;
long long ans=0,end=0;
cin>>n;
for(i=0;i<n;i++)cin>>a[i];
sort(a,a+n);
end=a[0];ans=1;
for(i=1;i<n;i++)
if(a[i]>=end)
end+=a[i],ans++;
... | 15.454545 | 27 | 0.620588 | [
"vector"
] |
bbb9749d78a84b16cad34f973d4cd04e2994621b | 341,669 | cc | C++ | src/database/schema.cc | puer99miss/Xapiand | 480f312709d40e2b1deb244ff0761b79846ed608 | [
"MIT"
] | 1 | 2019-07-23T13:30:52.000Z | 2019-07-23T13:30:52.000Z | src/database/schema.cc | puer99miss/Xapiand | 480f312709d40e2b1deb244ff0761b79846ed608 | [
"MIT"
] | null | null | null | src/database/schema.cc | puer99miss/Xapiand | 480f312709d40e2b1deb244ff0761b79846ed608 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2015-2019 Dubalu 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 restriction, including without limitation the rights
* to use, copy, modify, merge, pub... | 33.457599 | 420 | 0.694675 | [
"mesh",
"geometry",
"object",
"vector"
] |
bbba0e97cae8143b1e23cb5a7c9fd433cf33c48b | 18,616 | cpp | C++ | src/demo/ai/solarix/Grammar_Engine/Lemmatizator/C/LemmatizatorTool.cpp | name212/GrammarEngine | 1912809d6a19977c9d2fff88279b76a6152b659d | [
"MIT"
] | 55 | 2015-04-11T17:39:27.000Z | 2022-01-07T17:52:22.000Z | src/demo/ai/solarix/Grammar_Engine/Lemmatizator/C/LemmatizatorTool.cpp | name212/GrammarEngine | 1912809d6a19977c9d2fff88279b76a6152b659d | [
"MIT"
] | 17 | 2017-11-22T13:31:11.000Z | 2021-06-06T08:30:43.000Z | src/demo/ai/solarix/Grammar_Engine/Lemmatizator/C/LemmatizatorTool.cpp | qwazer/GrammarEngine | 08e1eb7bdfd77f29a51a7063848d74b9171291c4 | [
"MIT"
] | 28 | 2015-05-21T08:27:31.000Z | 2022-02-24T21:42:36.000Z | // Lemmatization API sample code.
// The program is also used as a test tool for lemmatizer.
//
// (c) by Elijah Koziev MentalComputing@gmail.com
//
// More information at: http://www.solarix.ru/for_developers/api/lemmatizator-api.shtml
#include <stdio.h>
#include <memory.h>
#include <string.h>
#include <string>
#incl... | 22.188319 | 140 | 0.526429 | [
"vector"
] |
bbc3f4352aeb8fa6d85a1368e288a0165251a7a5 | 41,738 | hpp | C++ | applications/3d_torus/3d_torus.hpp | STEllAR-GROUP/octopus | a1f910d63380e4ebf91198ac2bc2896505ce6146 | [
"BSL-1.0"
] | 4 | 2016-01-30T14:47:21.000Z | 2017-11-19T19:03:19.000Z | applications/3d_torus/3d_torus.hpp | STEllAR-GROUP/octopus | a1f910d63380e4ebf91198ac2bc2896505ce6146 | [
"BSL-1.0"
] | null | null | null | applications/3d_torus/3d_torus.hpp | STEllAR-GROUP/octopus | a1f910d63380e4ebf91198ac2bc2896505ce6146 | [
"BSL-1.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2012 Zach Byerly
// Copyright (c) 2012 Bryce Adelstein-Lelbach
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)... | 31.078183 | 91 | 0.481336 | [
"object",
"vector"
] |
bbc576b08c17d7bf1ae7ea8d0a193c38a0647313 | 788 | cpp | C++ | Algorithms/1807.Evaluate_the_Bracket_Pairs_of_a_String.cpp | metehkaya/LeetCode | 52f4a1497758c6f996d515ced151e8783ae4d4d2 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/LeetCode/Problems/1807.Evaluate_the_Bracket_Pairs_of_a_String.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/LeetCode/Problems/1807.Evaluate_the_Bracket_Pairs_of_a_String.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | class Solution {
public:
string evaluate(string s, vector<vector<string>>& v) {
int n = s.length();
map<string,string> mp;
for( int i = 0 ; i < v.size() ; i++ )
mp[v[i][0]] = v[i][1];
string ans = "";
map<string,string>::iterator it;
for( int i = 0 ; i < n... | 28.142857 | 58 | 0.335025 | [
"vector"
] |
bbc601f16b7bb08b6d8a89e128109354e2f966aa | 26,979 | cpp | C++ | input.cpp | gaartok/Fireball-CPP | d2dd2cf42edacc82ad3919a845ca67d53f5aa335 | [
"MIT"
] | null | null | null | input.cpp | gaartok/Fireball-CPP | d2dd2cf42edacc82ad3919a845ca67d53f5aa335 | [
"MIT"
] | null | null | null | input.cpp | gaartok/Fireball-CPP | d2dd2cf42edacc82ad3919a845ca67d53f5aa335 | [
"MIT"
] | null | null | null |
#include "input.hpp"
#include "resource.h"
#include "global.h"
#include "debug.h"
extern HWND hWndMain;
extern DWORD ReadKeyboardInput(void);
extern DWORD ReadJoystickInput(void);
// allocate external variables
DWORD (*ReadGameInput)(void) = ReadKeyboardInput;
/*
* We'll use up to the first ten inpu... | 26.818091 | 115 | 0.488528 | [
"object"
] |
bbcb316405df3c136390d24529b76a970d62d798 | 2,977 | cpp | C++ | src/ROI/ROITrace.cpp | dbulk/ROIVert | 01c8affc4e9c94cec15563bbc74943ea66bd69f0 | [
"BSD-3-Clause"
] | null | null | null | src/ROI/ROITrace.cpp | dbulk/ROIVert | 01c8affc4e9c94cec15563bbc74943ea66bd69f0 | [
"BSD-3-Clause"
] | null | null | null | src/ROI/ROITrace.cpp | dbulk/ROIVert | 01c8affc4e9c94cec15563bbc74943ea66bd69f0 | [
"BSD-3-Clause"
] | null | null | null | #include "ROI/ROITrace.h"
#include <QDebug>
#include "opencv2/opencv.hpp"
#include "ChartStyle.h"
#include "dockwidgets/TraceViewWidget.h"
#include "ROIVertEnums.h"
#include "VideoData.h"
#include "widgets/TraceChartWidget.h"
struct ROITrace::pimpl
{
VideoData* videodata;
TraceViewWidget* traceview;
cv:... | 32.010753 | 167 | 0.698354 | [
"shape",
"vector"
] |
bbcfe31a9183e70b92303375af494eec196a2574 | 9,371 | cpp | C++ | src/deng/vulkan/asset_cpy.cpp | inugami-dev64/Deng | ce7b05db57a9ee576293f3de28f9cc3a3255f5ca | [
"Apache-2.0"
] | 5 | 2020-12-15T19:27:34.000Z | 2021-12-15T17:00:36.000Z | src/deng/vulkan/asset_cpy.cpp | inugami-dev64/Deng | ce7b05db57a9ee576293f3de28f9cc3a3255f5ca | [
"Apache-2.0"
] | null | null | null | src/deng/vulkan/asset_cpy.cpp | inugami-dev64/Deng | ce7b05db57a9ee576293f3de28f9cc3a3255f5ca | [
"Apache-2.0"
] | null | null | null | /// DENG: dynamic engine - small but powerful 3D game engine
/// licence: Apache, see LICENCE file
/// file: asset_cpy.cpp - asset BLOB to buffer copying helper class implementation for Vulkan
/// author: Karl-Mihkel Ott
#define __VK_ASSET_CPY_CPP
#include <deng/vulkan/asset_cpy.h>
namespace deng {
namespace vul... | 45.052885 | 132 | 0.616263 | [
"3d"
] |
bbd25c6aa2b422c57b88daa1d628e53a60a56a1e | 5,210 | cpp | C++ | src/Transform.cpp | tapio/Wendy | 41ba0af0158bfe9fe50c0e881b451342602aa327 | [
"Zlib"
] | 1 | 2017-08-28T05:49:37.000Z | 2017-08-28T05:49:37.000Z | src/Transform.cpp | tapio/Wendy | 41ba0af0158bfe9fe50c0e881b451342602aa327 | [
"Zlib"
] | null | null | null | src/Transform.cpp | tapio/Wendy | 41ba0af0158bfe9fe50c0e881b451342602aa327 | [
"Zlib"
] | null | null | null | ///////////////////////////////////////////////////////////////////////
// Wendy core library
// Copyright (c) 2005 Camilla Berglund <elmindreda@elmindreda.org>
//
// 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 fro... | 21.618257 | 83 | 0.61094 | [
"vector",
"transform"
] |
bbda5bf203f87f57bbebbae52e5713e1bf68dc10 | 856 | cpp | C++ | nonogram.cpp | froller/nonosolver | ba7629d37fc284fa33e683d767c91712505d9f9b | [
"WTFPL"
] | null | null | null | nonogram.cpp | froller/nonosolver | ba7629d37fc284fa33e683d767c91712505d9f9b | [
"WTFPL"
] | null | null | null | nonogram.cpp | froller/nonosolver | ba7629d37fc284fa33e683d767c91712505d9f9b | [
"WTFPL"
] | null | null | null | #include "nonogram.h"
Nonogram::Nonogram()
: m_Width(0), m_Height(0), m_Strips({})
{
}
Nonogram::Nonogram(const unsigned short &width, const unsigned short &height, const std::vector<std::vector<unsigned short>> &strips)
: m_Width(width), m_Height(height), m_Strips(strips)
{
}
std::vector<unsigned ... | 18.212766 | 133 | 0.650701 | [
"vector"
] |
bbde1c24e00a400794f45a11638e64ac6bcc4a25 | 31,851 | cpp | C++ | CopilotVR/overlaywidget.cpp | FJThiel/CopilotVR | 1989635033f7a7ab9417db8b93682c616aba6903 | [
"MIT"
] | null | null | null | CopilotVR/overlaywidget.cpp | FJThiel/CopilotVR | 1989635033f7a7ab9417db8b93682c616aba6903 | [
"MIT"
] | null | null | null | CopilotVR/overlaywidget.cpp | FJThiel/CopilotVR | 1989635033f7a7ab9417db8b93682c616aba6903 | [
"MIT"
] | null | null | null | #include "overlaywidget.h"
#include "ui_overlaywidget.h"
#include <iostream>
OverlayWidget::OverlayWidget(QWidget *parent) :
QWidget(parent),
m_ui(new Ui::OverlayWidget)
{
m_ui->setupUi(this);
// set preset values in the ui
m_ui->movLimitSpinBox_XZ->setValue(static_cast<double>(m_maxOffset.x));
m_ui->movLimitSp... | 33.527368 | 168 | 0.715111 | [
"vector",
"model"
] |
bbe18b7d45d32e5233b5329582572ef409002268 | 2,073 | cpp | C++ | qt-mvvm/source/libmvvm_viewmodel/mvvm/editors/scientificspinboxeditor.cpp | seaCheng/animation- | 89a0cb0efbcfea202965a5851979ae6f1b67f8f0 | [
"BSD-3-Clause"
] | 6 | 2021-12-08T03:09:47.000Z | 2022-02-24T03:51:14.000Z | qt-mvvm/source/libmvvm_viewmodel/mvvm/editors/scientificspinboxeditor.cpp | seaCheng/animation- | 89a0cb0efbcfea202965a5851979ae6f1b67f8f0 | [
"BSD-3-Clause"
] | null | null | null | qt-mvvm/source/libmvvm_viewmodel/mvvm/editors/scientificspinboxeditor.cpp | seaCheng/animation- | 89a0cb0efbcfea202965a5851979ae6f1b67f8f0 | [
"BSD-3-Clause"
] | null | null | null | // ************************************************************************** //
//
// Model-view-view-model framework for large GUI applications
//
//! @license GNU General Public License v3 or higher (see COPYING)
//! @authors see AUTHORS
//
// ********************************************************************... | 27.276316 | 98 | 0.684033 | [
"model"
] |
bbe407b16b569a4a0baa849f9aa3ea930448f366 | 17,653 | cpp | C++ | sources/reflection/func/func_base_classes_test.cpp | xiaosa233/reflection_cpp | 90d71152907b11ca3009b7b8cad3ca496684dbbd | [
"MIT"
] | null | null | null | sources/reflection/func/func_base_classes_test.cpp | xiaosa233/reflection_cpp | 90d71152907b11ca3009b7b8cad3ca496684dbbd | [
"MIT"
] | null | null | null | sources/reflection/func/func_base_classes_test.cpp | xiaosa233/reflection_cpp | 90d71152907b11ca3009b7b8cad3ca496684dbbd | [
"MIT"
] | null | null | null | #include "func/func_base_classes.h"
#include "gtest/gtest.h"
#include "func/func_info_spec.h"
#include "func/func_item_spec.h"
#include "reflection.h"
namespace reflection {
struct Base {
virtual int fun() { return 1; }
};
struct B : public Base {
virtual int fun() override { return 2; }
};
struct C : public B... | 42.131265 | 100 | 0.691497 | [
"object"
] |
bbe563abad9cf766f5a34e9ff1eeb502010ec630 | 3,602 | hpp | C++ | lib/boost_1.78.0/boost/geometry/index/detail/priority_dequeue.hpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | 326 | 2015-02-08T13:47:49.000Z | 2022-03-16T02:13:59.000Z | lib/boost_1.78.0/boost/geometry/index/detail/priority_dequeue.hpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | 623 | 2015-01-02T23:45:23.000Z | 2022-03-09T11:15:23.000Z | lib/boost_1.78.0/boost/geometry/index/detail/priority_dequeue.hpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | 215 | 2015-01-14T15:50:38.000Z | 2022-02-23T03:58:36.000Z | // Boost.Geometry
// Copyright (c) 2021, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Licensed under the Boost Software License version 1.0.
// http://www.boost.org/users/license.html
#ifndef BOOST_GEOMETRY_INDEX_DETAIL_PRIORITY_DEQUEUE_HPP
#define BOOST_GEO... | 23.854305 | 86 | 0.620766 | [
"geometry",
"vector"
] |
bbec720925bf1431758b0326cea6f1b7b424f7ea | 1,279 | cpp | C++ | Answer/ans_code_and_note/chapter4/triangular.cpp | seanleecn/EssentialCPP | a2cfbd054888a3d07cb0ac22230c34f6ce90bef5 | [
"MIT"
] | null | null | null | Answer/ans_code_and_note/chapter4/triangular.cpp | seanleecn/EssentialCPP | a2cfbd054888a3d07cb0ac22230c34f6ce90bef5 | [
"MIT"
] | null | null | null | Answer/ans_code_and_note/chapter4/triangular.cpp | seanleecn/EssentialCPP | a2cfbd054888a3d07cb0ac22230c34f6ce90bef5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using namespace std;
class Triangular{
public:
Triangular(int length = 1, int beg_pos = 1)
{
_length = length;
_beg_pos = beg_pos;
for (int i = beg_pos; i < beg_pos + length; i++) {
sivec.push_back(i * (i + 1) / 2);
... | 19.676923 | 61 | 0.476935 | [
"vector"
] |
bbf2626e8dc43b22358765902dc47aea0732fbaf | 1,054 | cpp | C++ | leetcode/two_sum/leetcode_53.cpp | HuangJingGitHub/PracMakePert_C-Cpp | 6ed39e757ad8ba7bdd75fffdaf28d17a294a11e5 | [
"Apache-2.0"
] | 1 | 2019-10-17T03:13:29.000Z | 2019-10-17T03:13:29.000Z | leetcode/two_sum/leetcode_53.cpp | HuangJingGitHub/PracMakePert_C-Cpp | 6ed39e757ad8ba7bdd75fffdaf28d17a294a11e5 | [
"Apache-2.0"
] | null | null | null | leetcode/two_sum/leetcode_53.cpp | HuangJingGitHub/PracMakePert_C-Cpp | 6ed39e757ad8ba7bdd75fffdaf28d17a294a11e5 | [
"Apache-2.0"
] | null | null | null | // Solution 1
class Solution {
public:
int maxSubArray(vector<int>& nums) {
if (nums.size() == 0)
return NULL;
int res = nums[0];
int sum = 0;
for (int num:nums){
if (sum > 0)
sum += num;
else
sum = num;... | 21.510204 | 60 | 0.433586 | [
"vector"
] |
bbf30c8b2f31f330611d66199ee191fa77816568 | 21,242 | cc | C++ | Source/chrome/net/http/http_server_properties_impl.cc | yury-s/v8-inspector | 0ab4779e0909d387f243f41ca2621237cdb0c7fe | [
"BSD-3-Clause"
] | 20 | 2015-08-26T06:46:00.000Z | 2019-02-27T09:05:58.000Z | Source/chrome/net/http/http_server_properties_impl.cc | yury-s/v8-inspector | 0ab4779e0909d387f243f41ca2621237cdb0c7fe | [
"BSD-3-Clause"
] | null | null | null | Source/chrome/net/http/http_server_properties_impl.cc | yury-s/v8-inspector | 0ab4779e0909d387f243f41ca2621237cdb0c7fe | [
"BSD-3-Clause"
] | 2 | 2015-08-26T05:49:35.000Z | 2020-02-03T20:22:43.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/http/http_server_properties_impl.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base... | 35.168874 | 80 | 0.744092 | [
"vector"
] |
bbfe345eb174d8a8c1ce2c5a0ab12d52ae9cb03a | 1,755 | hxx | C++ | src/_algorithm.hxx | puzzlef/pagerank-monolithic-vs-levelwise | f0402ce161e43d403919f8804b0752c5781778b8 | [
"MIT"
] | null | null | null | src/_algorithm.hxx | puzzlef/pagerank-monolithic-vs-levelwise | f0402ce161e43d403919f8804b0752c5781778b8 | [
"MIT"
] | null | null | null | src/_algorithm.hxx | puzzlef/pagerank-monolithic-vs-levelwise | f0402ce161e43d403919f8804b0752c5781778b8 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <unordered_map>
#include <iterator>
#include <algorithm>
using std::vector;
using std::unordered_map;
using std::iterator_traits;
using std::back_inserter;
using std::set_difference;
using std::count;
using std::count_if;
using std::find;
// FIND
// ----
template <class J, ... | 17.908163 | 75 | 0.612536 | [
"vector"
] |
bbff3e57019562624654a959f5771b7ceab3725f | 319 | cpp | C++ | 1619-mean-of-array-after-removing-some-elements/1619-mean-of-array-after-removing-some-elements.cpp | rishusingh022/Leetcode-gfg-solutions | c4bc26d75557166656e0b2d54e80c87023d30fcd | [
"MIT"
] | null | null | null | 1619-mean-of-array-after-removing-some-elements/1619-mean-of-array-after-removing-some-elements.cpp | rishusingh022/Leetcode-gfg-solutions | c4bc26d75557166656e0b2d54e80c87023d30fcd | [
"MIT"
] | null | null | null | 1619-mean-of-array-after-removing-some-elements/1619-mean-of-array-after-removing-some-elements.cpp | rishusingh022/Leetcode-gfg-solutions | c4bc26d75557166656e0b2d54e80c87023d30fcd | [
"MIT"
] | null | null | null | class Solution {
public:
double trimMean(vector<int>& arr) {
sort(arr.begin(),arr.end());
int ind=floor(arr.size()*0.05);
double sum=0;
for(int i=ind;i<arr.size()-ind;i++){
sum+=arr[i];
}
//cout<<arr.size();
return sum/(arr.size()-2*ind);
}
}; | 24.538462 | 44 | 0.482759 | [
"vector"
] |
01046ee6fd257cd78772344ccdae24c0dcd18500 | 6,299 | hh | C++ | dune/fem/oseen/stab_coeff.hh | renemilk/DUNE-FEM-Oseen | 2cc2a1a70f81469f13a2330be285960a13f78fdf | [
"BSD-2-Clause"
] | null | null | null | dune/fem/oseen/stab_coeff.hh | renemilk/DUNE-FEM-Oseen | 2cc2a1a70f81469f13a2330be285960a13f78fdf | [
"BSD-2-Clause"
] | null | null | null | dune/fem/oseen/stab_coeff.hh | renemilk/DUNE-FEM-Oseen | 2cc2a1a70f81469f13a2330be285960a13f78fdf | [
"BSD-2-Clause"
] | null | null | null | #ifndef DUNE_OSEEN_STAB_COEFF_HH
#define DUNE_OSEEN_STAB_COEFF_HH
#include <dune/stuff/common/parameter/configcontainer.hh>
#include <map>
namespace Dune {
class StabilizationCoefficients {
public:
typedef int
PowerType;
typedef double
FactorType;
typedef std::pair<PowerType,FactorType>
ValueType;
... | 33.328042 | 123 | 0.67598 | [
"vector"
] |
010bb23dad55618e533c538ebcf0c13e8e85a86e | 2,801 | cpp | C++ | Amadeo Delgado Casado 3d avanzado/code/source/main.cpp | AmadeoDelgado/Open-GL-Scene | 639b67b1bca38b7a8aaf7975bcc9d66c6055c20b | [
"Apache-2.0"
] | null | null | null | Amadeo Delgado Casado 3d avanzado/code/source/main.cpp | AmadeoDelgado/Open-GL-Scene | 639b67b1bca38b7a8aaf7975bcc9d66c6055c20b | [
"Apache-2.0"
] | null | null | null | Amadeo Delgado Casado 3d avanzado/code/source/main.cpp | AmadeoDelgado/Open-GL-Scene | 639b67b1bca38b7a8aaf7975bcc9d66c6055c20b | [
"Apache-2.0"
] | null | null | null |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
* *
* Started by Ángel on may of 2014 *
* ... | 22.230159 | 150 | 0.505177 | [
"render"
] |
010fb7803a0f6dd2b2de9dea3d11525e6ce18053 | 18,454 | cpp | C++ | src/Cello/problem_MethodOutput.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Cello/problem_MethodOutput.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Cello/problem_MethodOutput.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | // See LICENSE_CELLO file for license and copyright information
/// @file problem_MethodOutput.cpp
/// @author James Bordner (jobordner@ucsd.edu)
/// @date 2021-04-27
/// @brief Implementation of the Output "method"
#include "problem.hpp"
#include "charm_simulation.hpp"
#include "test.hpp"
//-----------... | 27.876133 | 82 | 0.602308 | [
"object",
"vector"
] |
011176209630bc5743256e9d61f3046a4accdddb | 1,030 | cpp | C++ | Data Structures/Graph/Dijkstra using STL.cpp | p1yush/code-DS-ALGO | f015f766e75cb61ca908e30bb600bdd6d2fb2e82 | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | Data Structures/Graph/Dijkstra using STL.cpp | p1yush/code-DS-ALGO | f015f766e75cb61ca908e30bb600bdd6d2fb2e82 | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | Data Structures/Graph/Dijkstra using STL.cpp | p1yush/code-DS-ALGO | f015f766e75cb61ca908e30bb600bdd6d2fb2e82 | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | // Author - Yash Deshpande
// (yvdyash)
#include<bits/stdc++.h>
using namespace std;
vector<vector<pair<int,int> > > g(100005);
//vector<bool> vis(100005);
vector<long long> dist(100005,LLONG_MAX);
void shortestpath(int src)
{
set<pair<long long,int> > s;
s.insert({0,src});
dist[src]=0;
while(!s.empty())
{
p... | 17.758621 | 44 | 0.584466 | [
"vector"
] |
011e38fc88bb94e272701be49fc954a4861330f9 | 1,502 | cpp | C++ | Code/BBearEditor/Engine/2D/BBSprite2D.cpp | xiaoxianrouzhiyou/BBearEditor | 0f1b779d87c297661f9a1e66d0613df43f5fe46b | [
"MIT"
] | 26 | 2021-06-30T02:19:30.000Z | 2021-07-23T08:38:46.000Z | Code/BBearEditor/Engine/2D/BBSprite2D.cpp | lishangdian/BBearEditor-2.0 | 1f4b463ef756ed36cc15d10abae822efc400c4d7 | [
"MIT"
] | null | null | null | Code/BBearEditor/Engine/2D/BBSprite2D.cpp | lishangdian/BBearEditor-2.0 | 1f4b463ef756ed36cc15d10abae822efc400c4d7 | [
"MIT"
] | 3 | 2021-09-01T08:19:30.000Z | 2021-12-28T19:06:40.000Z | #include "BBSprite2D.h"
#include "Geometry/BBBoundingBox.h"
#include "Render/BufferObject/BBVertexBufferObject.h"
#include "Render/Texture/BBTexture.h"
#include "Render/BBMaterial.h"
#include "Render/BBRenderPass.h"
#include "Render/BBDrawCall.h"
#include "Render/BBCamera.h"
BBSprite2D::BBSprite2D(int x, int y, int n... | 29.45098 | 109 | 0.691744 | [
"geometry",
"render"
] |
0122f14f4c9b012800ace080ebe0072cfdb53254 | 1,083 | cpp | C++ | Blliards/src/GameObject/Ball.cpp | winpass0601/Training | 481eaf4697f971fe8aa01ae33ac70a928852b7e1 | [
"MIT"
] | null | null | null | Blliards/src/GameObject/Ball.cpp | winpass0601/Training | 481eaf4697f971fe8aa01ae33ac70a928852b7e1 | [
"MIT"
] | null | null | null | Blliards/src/GameObject/Ball.cpp | winpass0601/Training | 481eaf4697f971fe8aa01ae33ac70a928852b7e1 | [
"MIT"
] | null | null | null | #include <./GameObject/Ball.h>
#include <./Core/FileSystem/IO.h>
#include <./GPL/GPL.h>
#include <./GUI.h>
using namespace rinfw::core;
using namespace rinfw::graphics;
void Ball::Create(std::wstring _filepath)
{
filesystem::IO<Model>().Import(_filepath, model);
transform.setScale(0.8f, 0.8f, 0.8f);
transform.trans... | 22.102041 | 116 | 0.699908 | [
"model",
"transform"
] |
01262abdd9932c505babc37130f712024b1a22d2 | 12,058 | cpp | C++ | 3rdparty/GPSTk/core/tests/GNSSCore/IonoModel_T.cpp | mfkiwl/ICE | e660d031bb1bcea664db1de4946fd8781be5b627 | [
"MIT"
] | 50 | 2019-10-12T01:22:20.000Z | 2022-02-15T23:28:26.000Z | 3rdparty/GPSTk/core/tests/GNSSCore/IonoModel_T.cpp | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | [
"MIT"
] | null | null | null | 3rdparty/GPSTk/core/tests/GNSSCore/IonoModel_T.cpp | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | [
"MIT"
] | 14 | 2019-11-05T01:50:29.000Z | 2021-08-06T06:23:44.000Z | //============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; ei... | 36.650456 | 154 | 0.583015 | [
"object",
"model"
] |
0126b432b770e620f0512fcfc8deb1ca30ebc08d | 6,961 | cpp | C++ | code_reading/oceanbase-master/deps/oblib/unittest/lib/test_fixed_array.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/deps/oblib/unittest/lib/test_fixed_array.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/deps/oblib/unittest/lib/test_fixed_array.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | 1 | 2020-10-18T12:59:31.000Z | 2020-10-18T12:59:31.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | 29.875536 | 88 | 0.699181 | [
"object"
] |
012bc64d63168462cd728e3075a25f7056e6ce2c | 1,365 | cpp | C++ | modules/keypoints/src/harris3d_keypoint_extractor.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 17 | 2015-11-16T14:21:10.000Z | 2020-11-09T02:57:33.000Z | modules/keypoints/src/harris3d_keypoint_extractor.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 35 | 2015-07-27T15:04:43.000Z | 2019-08-22T10:52:35.000Z | modules/keypoints/src/harris3d_keypoint_extractor.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 18 | 2015-08-06T09:26:27.000Z | 2020-09-03T01:31:00.000Z | #include <v4r/keypoints/harris3d_keypoint_extractor.h>
#include <pcl/keypoints/harris_3d.h>
namespace v4r
{
template<typename PointT>
void
Harris3DKeypointExtractor<PointT>::compute ()
{
#if PCL_VERSION >= 100702
typename pcl::search::OrganizedNeighbor<PointT>::Ptr search_method (new pcl::search::OrganizedNeighbo... | 36.891892 | 119 | 0.759707 | [
"3d"
] |
012cd1d9316e14f736c8f2a8bad185e268614f30 | 2,208 | cpp | C++ | src/ui/gl_window.cpp | amidukr/cpp-bridge-v5 | e20d924eda75a141703beb441e105463bffa7986 | [
"Apache-2.0"
] | 1 | 2020-04-14T02:40:56.000Z | 2020-04-14T02:40:56.000Z | src/ui/gl_window.cpp | amidukr/cpp-bridge-v5 | e20d924eda75a141703beb441e105463bffa7986 | [
"Apache-2.0"
] | 2 | 2019-05-26T03:45:34.000Z | 2019-08-07T01:12:33.000Z | src/ui/gl_window.cpp | amidukr/cpp-bridge-v5 | e20d924eda75a141703beb441e105463bffa7986 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "model/global_vars.h"
#include "ui/gl_window.h"
GLWindow::GLWindow()
{
}
GLWindow::~GLWindow() {
close();
}
bool GLWindow::create() {
if (this->window) {
return this->active;
}
if(!GlobalVars::get_headless_mode_flag()) {
glfwWindowH... | 19.368421 | 145 | 0.678895 | [
"model"
] |
01312f1fd8e00bb37ebffaa3fccb83ab3f027b65 | 45,920 | cpp | C++ | Fitlens/fitlens.cpp | glenco/SLsimLib | fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb | [
"MIT"
] | 2 | 2017-03-22T13:18:32.000Z | 2021-05-01T01:54:31.000Z | Fitlens/fitlens.cpp | glenco/SLsimLib | fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb | [
"MIT"
] | 49 | 2016-10-05T03:08:38.000Z | 2020-11-03T15:39:26.000Z | Fitlens/fitlens.cpp | glenco/SLsimLib | fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb | [
"MIT"
] | 1 | 2017-07-10T08:52:53.000Z | 2017-07-10T08:52:53.000Z | #include "slsimlib.h"
#include <nrutil.h>
#include <iomanip> // std::setprecision
using namespace std;
static double betaT,*modT,**xobT,**dx_subT,sigGT,*modTT,*modoT,**vT,x_centerT[2],**xgT,**dx_subTt;
static int NmodT,NsourcesT,NimagesT,*pairingT,degenT,Nmin;
static double oldsm;//,tang[2],length,yot[2],radsour... | 35.160796 | 239 | 0.551524 | [
"vector",
"model"
] |
0142a477adda28ea12ff8192c013eec5f3edc810 | 733 | cpp | C++ | main.cpp | vztpv/BigInt | ef7febece93001b049e9ee05d2a16f38fe7fa8bc | [
"MIT"
] | null | null | null | main.cpp | vztpv/BigInt | ef7febece93001b049e9ee05d2a16f38fe7fa8bc | [
"MIT"
] | null | null | null | main.cpp | vztpv/BigInt | ef7febece93001b049e9ee05d2a16f38fe7fa8bc | [
"MIT"
] | null | null | null |
// todo - move this file to wiz/bigInt.h
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <wiz/big_int.h>
//#include <wiz/big_fraction.h>
int main(void)
{
wiz::big_int::BigInt x, y;
x = wiz::big_int::BigInt(std::vector<long long>{ 1 }, true);
y = wiz::big_int::BigInt(std::vector<long lon... | 23.645161 | 73 | 0.593452 | [
"vector"
] |
0142bb74a55d3398201104a9e02595c89740f321 | 5,531 | cpp | C++ | position_effort_controller/src/position_effort_controller.cpp | RIVeR-Lab/walrus | 28d285cec8e181e9300fdd9a82a299c7c025f32e | [
"BSD-3-Clause"
] | 5 | 2015-03-04T22:48:52.000Z | 2021-12-18T11:57:53.000Z | position_effort_controller/src/position_effort_controller.cpp | RIVeR-Lab/walrus | 28d285cec8e181e9300fdd9a82a299c7c025f32e | [
"BSD-3-Clause"
] | 52 | 2015-01-02T05:50:10.000Z | 2021-07-23T20:34:50.000Z | position_effort_controller/src/position_effort_controller.cpp | RIVeR-Lab/walrus | 28d285cec8e181e9300fdd9a82a299c7c025f32e | [
"BSD-3-Clause"
] | 5 | 2015-08-24T10:05:30.000Z | 2021-12-18T11:58:03.000Z | #include <tf/transform_datatypes.h>
#include <urdf_parser/urdf_parser.h>
#include <boost/assign.hpp>
#include <angles/angles.h>
#include <control_toolbox/filters.h>
#include <position_effort_controller/position_effort_controller.h>
namespace position_effort_controller{
PositionEffortController::PositionEffortContro... | 38.678322 | 159 | 0.761526 | [
"model"
] |
014d72f5751c701d696f9948f6c55d61a47b5fc8 | 52,961 | cpp | C++ | vulkan_tutorial.cpp | baba-beda/ekaterinburg | ac1e1e0d532d3c6861165e7b4193cee96f4cf75d | [
"MIT"
] | null | null | null | vulkan_tutorial.cpp | baba-beda/ekaterinburg | ac1e1e0d532d3c6861165e7b4193cee96f4cf75d | [
"MIT"
] | null | null | null | vulkan_tutorial.cpp | baba-beda/ekaterinburg | ac1e1e0d532d3c6861165e7b4193cee96f4cf75d | [
"MIT"
] | null | null | null | // #include <vulkan/vulkan.h>
// This replacement is needed for showing something
// simple include is enough for off-screen rendering
#define GLFW_INCLUDE_NONE
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
// For reporting and propagating errors
#include <iostream>
#include <stdexcept>
// Provides EXIT_SUCCESS... | 38.405366 | 148 | 0.732822 | [
"render",
"object",
"vector",
"transform",
"3d"
] |
0153da57e0b9dada4ab32cae3e64cb33aceeaea4 | 10,788 | cpp | C++ | src/modules/deviceManager/deviceManager.cpp | webosose/audiod-pro | 69b29bb92f72d5ecabb5dd3a502d793c6c3f6f76 | [
"Apache-2.0"
] | 2 | 2018-03-22T19:10:19.000Z | 2019-05-06T05:13:59.000Z | src/modules/deviceManager/deviceManager.cpp | webosose/audiod-pro | 69b29bb92f72d5ecabb5dd3a502d793c6c3f6f76 | [
"Apache-2.0"
] | null | null | null | src/modules/deviceManager/deviceManager.cpp | webosose/audiod-pro | 69b29bb92f72d5ecabb5dd3a502d793c6c3f6f76 | [
"Apache-2.0"
] | 5 | 2018-03-22T19:10:20.000Z | 2019-07-04T12:51:30.000Z | /* @@@LICENSE
*
* Copyright (c) 2021 LG Electronics Company.
*
* 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 applica... | 38.666667 | 157 | 0.644605 | [
"object"
] |
015986f44b71d047433aa16a00c56e2d8ff871e4 | 2,458 | cpp | C++ | Samples/Playlists/cpp/Scenario1_Create.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,504 | 2019-05-07T06:56:42.000Z | 2022-03-31T19:37:59.000Z | Samples/Playlists/cpp/Scenario1_Create.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 314 | 2019-05-08T16:56:30.000Z | 2022-03-21T07:13:45.000Z | Samples/Playlists/cpp/Scenario1_Create.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,219 | 2019-05-07T00:47:26.000Z | 2022-03-30T21:12:31.000Z | // Copyright (c) Microsoft. All rights reserved.
#include "pch.h"
#include "Scenario1_Create.xaml.h"
#include <sstream>
using namespace SDKTemplate;
using namespace concurrency;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespac... | 35.623188 | 175 | 0.624491 | [
"object"
] |
015a3cbf3173a21ed300834fa85580083c1bcbe9 | 12,652 | cpp | C++ | source/KingKong.WidescreenFix/dllmain.cpp | Sergeanur/WidescreenFixesPack | 7e159be860a870476a97c322a0c4dd244e50cee7 | [
"MIT"
] | null | null | null | source/KingKong.WidescreenFix/dllmain.cpp | Sergeanur/WidescreenFixesPack | 7e159be860a870476a97c322a0c4dd244e50cee7 | [
"MIT"
] | null | null | null | source/KingKong.WidescreenFix/dllmain.cpp | Sergeanur/WidescreenFixesPack | 7e159be860a870476a97c322a0c4dd244e50cee7 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include <d3d9.h>
#include "dxsdk\d3dvtbl.h"
uintptr_t pBarsPtr;
uintptr_t pBarsJmp;
struct Screen
{
int32_t Width;
int32_t Height;
float fWidth;
float fHeight;
float fFieldOfView;
float fAspectRatio;
float fCustomAspectRatioHor;
float fCustomAspectRatioVer;
int... | 40.551282 | 218 | 0.600775 | [
"geometry",
"3d"
] |
015dac72b3c82cb03226bd0007f4a5f9920f9bca | 1,753 | cpp | C++ | Hackerrank/socialcaptial/pixel.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | 1 | 2017-10-01T00:51:39.000Z | 2017-10-01T00:51:39.000Z | Hackerrank/socialcaptial/pixel.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | Hackerrank/socialcaptial/pixel.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <iostream>
#include <limits>
#include <list>
#inc... | 19.920455 | 51 | 0.504849 | [
"vector"
] |
0160daf039c0ebd1db7e86be2d04b63edcb2bdbb | 1,648 | cc | C++ | third_party/blink/renderer/modules/accessibility/ax_inline_text_box_test.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/accessibility/ax_inline_text_box_test.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/accessibility/ax_inline_text_box_test.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2020 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 "third_party/blink/renderer/modules/accessibility/ax_inline_text_box.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/bli... | 38.325581 | 88 | 0.74818 | [
"vector"
] |
0166e24c77311890df64badaff29b4a6878f59f5 | 2,181 | cpp | C++ | 11/roh/1700.cpp | Dcom-KHU/2021-Winter-Algorithm-Study | ea32826abe7d8245ee9d3dc8d0161f7ba018a02f | [
"MIT"
] | 2 | 2021-01-09T10:05:21.000Z | 2021-01-10T06:14:03.000Z | 11/roh/1700.cpp | Dcom-KHU/2021-Winter-Algorithm-Study | ea32826abe7d8245ee9d3dc8d0161f7ba018a02f | [
"MIT"
] | null | null | null | 11/roh/1700.cpp | Dcom-KHU/2021-Winter-Algorithm-Study | ea32826abe7d8245ee9d3dc8d0161f7ba018a02f | [
"MIT"
] | 1 | 2021-02-03T13:09:09.000Z | 2021-02-03T13:09:09.000Z | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
//앞으로 사용안할 머신의 플러그를 뽑거나
//가장 나중에 사용할 머신의 플러그를 뽑으면 됩니다.
//구멍과 머신의 개수가 100개이므로 n^3은 가능.
//지금 머신이 플러그에 꽂혀있는지 확인
bool is_in(const vector<int>& v, int target){
for(auto& walker : v)
if(walker == target)
... | 25.964286 | 72 | 0.469968 | [
"vector"
] |
6c646d4cb96691f38ae6cab5c23c6ad8c32ee504 | 1,641 | cpp | C++ | Leet Code/Combination Sum.cpp | Shubhrmcf07/Competitive-Coding-and-Interview-Problems | 7281ea3163c0cf6938a3af7b54a8a14f97c97c0e | [
"MIT"
] | 51 | 2020-02-24T11:14:00.000Z | 2022-03-24T09:32:18.000Z | Leet Code/Combination Sum.cpp | Shubhrmcf07/Competitive-Coding-and-Interview-Problems | 7281ea3163c0cf6938a3af7b54a8a14f97c97c0e | [
"MIT"
] | 3 | 2020-10-02T08:16:09.000Z | 2021-04-17T16:32:38.000Z | Leet Code/Combination Sum.cpp | Shubhrmcf07/Competitive-Coding-and-Interview-Problems | 7281ea3163c0cf6938a3af7b54a8a14f97c97c0e | [
"MIT"
] | 18 | 2020-04-24T15:33:36.000Z | 2022-03-24T09:32:20.000Z | /* Leet Code */
/* Title - Combination Sum */
/* Created By - Akash Modak */
/* Date - 26/09/2020 */
// Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to target.
// The same repeated nu... | 25.246154 | 187 | 0.531383 | [
"vector"
] |
6c64cd2a70ff2a99251b215e2042e3c17b13cd79 | 3,578 | hpp | C++ | src/ndnSIM/NFD/tools/nfdc/rib-module.hpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2021-09-07T04:12:15.000Z | 2021-09-07T04:12:15.000Z | src/ndnSIM/NFD/tools/nfdc/rib-module.hpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | null | null | null | src/ndnSIM/NFD/tools/nfdc/rib-module.hpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2020-07-15T06:21:03.000Z | 2020-07-15T06:21:03.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2018, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne... | 29.570248 | 86 | 0.671884 | [
"vector"
] |
6c6a3d4047095079d56d639ff32c5659bc8622a3 | 302 | cpp | C++ | 852. Peak Index in a Mountain Array.cpp | kushagra-18/Leetcode-solutions | cf276e6cc5491429144a79c59dd1097f1d625a6b | [
"MIT"
] | null | null | null | 852. Peak Index in a Mountain Array.cpp | kushagra-18/Leetcode-solutions | cf276e6cc5491429144a79c59dd1097f1d625a6b | [
"MIT"
] | null | null | null | 852. Peak Index in a Mountain Array.cpp | kushagra-18/Leetcode-solutions | cf276e6cc5491429144a79c59dd1097f1d625a6b | [
"MIT"
] | null | null | null | class Solution {
public:
int peakIndexInMountainArray(vector<int>& arr) {
int n = arr.size();
int i = 0;
while(arr[i] < arr[i+1])
{
i++;
}
return i;
}
}; | 15.1 | 52 | 0.317881 | [
"vector"
] |
6c737cfb986858bad026ea6dfd93fe02aca146fd | 2,557 | cpp | C++ | src/DebugDraw.cpp | coxm/b2draw | e1dc391243161e8f4a88a05fa590f1804cd84e03 | [
"MIT"
] | null | null | null | src/DebugDraw.cpp | coxm/b2draw | e1dc391243161e8f4a88a05fa590f1804cd84e03 | [
"MIT"
] | null | null | null | src/DebugDraw.cpp | coxm/b2draw | e1dc391243161e8f4a88a05fa590f1804cd84e03 | [
"MIT"
] | null | null | null | #include <cmath>
#include <Box2D/Dynamics/b2World.h>
#include "b2draw/algorithm.h"
#include "b2draw/DebugDraw.h"
namespace b2draw {
DebugDraw::DebugDraw(
GLint positionAttribLoc,
GLint colourAttribLoc,
unsigned numCircleSegments,
float32 fillAlpha,
float32 axisScale
)
: m_lineRenderer{positionAttribLoc, col... | 17.277027 | 72 | 0.736019 | [
"render"
] |
6c74193ee931214357284b95c13d3b5724e88026 | 2,675 | hpp | C++ | src/include/duckdb/main/database.hpp | ChuyingHe/duckdb-master-rl | 28edfc40bd012d4094442c0dfa7339a0c52a4ee8 | [
"MIT"
] | 1 | 2021-09-15T10:29:20.000Z | 2021-09-15T10:29:20.000Z | src/include/duckdb/main/database.hpp | ChuyingHe/duckdb-master-rl | 28edfc40bd012d4094442c0dfa7339a0c52a4ee8 | [
"MIT"
] | null | null | null | src/include/duckdb/main/database.hpp | ChuyingHe/duckdb-master-rl | 28edfc40bd012d4094442c0dfa7339a0c52a4ee8 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/main/database.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/common/mutex.hpp"
#include "duckdb/common/winapi.hpp"
#... | 30.747126 | 118 | 0.717757 | [
"object"
] |
6c7da1d6c71cd53f5ce5b89ab7f7362902fdc3f7 | 2,592 | cpp | C++ | test/dummy_scan_producer.cpp | StratomInc/laser_assembler | 25640f99d043b37e34310e5e0194496b8cc55895 | [
"Apache-2.0"
] | null | null | null | test/dummy_scan_producer.cpp | StratomInc/laser_assembler | 25640f99d043b37e34310e5e0194496b8cc55895 | [
"Apache-2.0"
] | null | null | null | test/dummy_scan_producer.cpp | StratomInc/laser_assembler | 25640f99d043b37e34310e5e0194496b8cc55895 | [
"Apache-2.0"
] | 1 | 2021-04-08T15:03:40.000Z | 2021-04-08T15:03:40.000Z | // Copyright 2018 Open Source Robotics Foundation, 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 appli... | 29.793103 | 77 | 0.709877 | [
"transform"
] |
6c8968781048017e15a3e474bf8ec801f10a97f2 | 1,588 | cpp | C++ | QuickSortSample/quickSort.cpp | HarrisonDing/hd-data-structure | 64a895fe4f7270fddfd9f159334c0710cc6a386d | [
"BSD-2-Clause"
] | null | null | null | QuickSortSample/quickSort.cpp | HarrisonDing/hd-data-structure | 64a895fe4f7270fddfd9f159334c0710cc6a386d | [
"BSD-2-Clause"
] | null | null | null | QuickSortSample/quickSort.cpp | HarrisonDing/hd-data-structure | 64a895fe4f7270fddfd9f159334c0710cc6a386d | [
"BSD-2-Clause"
] | null | null | null | /*
* quickSort.cpp
*
* Created on: Nov 4, 2018
* Author: Harrison.Ding
*/
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
vector<int> store;
int size = 10;
/*void swap(int & a, int &b) {
int t = a;
a = b;
b = t;
}
void quick_sort(int left, int right) {
int tmp = stor... | 15.88 | 69 | 0.569899 | [
"vector"
] |
6c8db6ae0bc599e64954749c8c6a38a00e20fd66 | 1,373 | cpp | C++ | data-structures/STree.cpp | TISparta/competitive-programming-library | 37d631b6b62bc0a603b3a510236980561d65f868 | [
"MIT"
] | 1 | 2020-03-31T12:06:37.000Z | 2020-03-31T12:06:37.000Z | data-structures/STree.cpp | TISparta/competitive-programming-library | 37d631b6b62bc0a603b3a510236980561d65f868 | [
"MIT"
] | null | null | null | data-structures/STree.cpp | TISparta/competitive-programming-library | 37d631b6b62bc0a603b3a510236980561d65f868 | [
"MIT"
] | null | null | null | struct STree {
int from, to;
struct State {
// TODO
};
vector <State> st;
State NIL; // TODO
void build (int u, int l, int r, const vi& arr) {
if (l == r) {
// TODO
return;
}
int m = (l + r) >> 1;
int lu = u << 1;
int ru = lu | 1;
build(lu, l, m, arr);
build(ru, ... | 21.453125 | 83 | 0.450109 | [
"vector"
] |
6c9262cdb9502af82fca013e098ce043861e34a1 | 11,105 | hpp | C++ | viennafem/quadrature/hexahedron.hpp | viennafem/viennafem-dev | 1f2d772cef5fb1c148e22e5bbbb6302b301e896b | [
"MIT"
] | 3 | 2019-06-23T17:35:29.000Z | 2020-02-19T14:39:03.000Z | viennafem/quadrature/hexahedron.hpp | viennafem/viennafem-dev | 1f2d772cef5fb1c148e22e5bbbb6302b301e896b | [
"MIT"
] | 3 | 2019-11-17T03:28:47.000Z | 2020-03-04T03:40:11.000Z | viennafem/quadrature/hexahedron.hpp | viennafem/viennafem-dev | 1f2d772cef5fb1c148e22e5bbbb6302b301e896b | [
"MIT"
] | 1 | 2021-12-23T20:24:15.000Z | 2021-12-23T20:24:15.000Z | #ifndef VIENNAFEM_QUADRATURE_HEXAHEDRON_HPP
#define VIENNAFEM_QUADRATURE_HEXAHEDRON_HPP
/* =========================================================================
Copyright (c) 2012-2014, Institute for Microelectronics,
Institute for Analysis and Scientific Computing,
... | 49.798206 | 139 | 0.607204 | [
"vector"
] |
6c9bb6d6693d7d5ab3ecd2c14414138a444580f5 | 12,646 | cpp | C++ | pxr/imaging/lib/hdx/colorizeTask.cpp | chen2qu/USD | 2bbedce05f61f37e7461b0319609f9ceeb91725e | [
"AML"
] | 88 | 2018-07-13T01:22:00.000Z | 2022-01-16T22:15:27.000Z | pxr/imaging/lib/hdx/colorizeTask.cpp | chen2qu/USD | 2bbedce05f61f37e7461b0319609f9ceeb91725e | [
"AML"
] | 1 | 2022-01-14T21:25:56.000Z | 2022-01-14T21:25:56.000Z | pxr/imaging/lib/hdx/colorizeTask.cpp | chen2qu/USD | 2bbedce05f61f37e7461b0319609f9ceeb91725e | [
"AML"
] | 26 | 2018-06-06T03:39:22.000Z | 2021-08-28T23:02:42.000Z | //
// Copyright 2018 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 33.104712 | 81 | 0.592678 | [
"render"
] |
6ca40226bed57647a091c46b4b71998f339bed3f | 5,102 | hh | C++ | RAVL2/PatternRec/Classify/ClassifierLinearCombination.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/PatternRec/Classify/ClassifierLinearCombination.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/PatternRec/Classify/ClassifierLinearCombination.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2001, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 34.945205 | 120 | 0.707174 | [
"object",
"vector"
] |
6ca8aa37778ac5103ad49fd0f69ed1b7a6bbb4b0 | 9,564 | cpp | C++ | src/hdNuke/instancerAdapter.cpp | TheFoundryVisionmongers/NukeHydraPlugins | 3ffaf6fae9ad3b988edcdb3198dd3109fbcda12a | [
"Apache-2.0"
] | 3 | 2022-03-03T17:40:54.000Z | 2022-03-21T22:14:43.000Z | src/hdNuke/instancerAdapter.cpp | TheFoundryVisionmongers/NukeHydraPlugins | 3ffaf6fae9ad3b988edcdb3198dd3109fbcda12a | [
"Apache-2.0"
] | null | null | null | src/hdNuke/instancerAdapter.cpp | TheFoundryVisionmongers/NukeHydraPlugins | 3ffaf6fae9ad3b988edcdb3198dd3109fbcda12a | [
"Apache-2.0"
] | 3 | 2021-12-06T06:48:54.000Z | 2022-02-08T23:58:30.000Z | // Copyright 2019-present Nathan Rusch
//
// 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 agre... | 37.505882 | 146 | 0.638749 | [
"mesh",
"vector",
"transform"
] |
6caa255c33141f90e55431b4f901a9b02e53b65f | 18,732 | cpp | C++ | trunk/src/app/srs_app_srt_conn.cpp | J0hmy/srs | ba5af88b899626f53d25237580488c9a1abbe6fb | [
"MIT"
] | null | null | null | trunk/src/app/srs_app_srt_conn.cpp | J0hmy/srs | ba5af88b899626f53d25237580488c9a1abbe6fb | [
"MIT"
] | null | null | null | trunk/src/app/srs_app_srt_conn.cpp | J0hmy/srs | ba5af88b899626f53d25237580488c9a1abbe6fb | [
"MIT"
] | null | null | null | //
// Copyright (c) 2013-2021 The SRS Authors
//
// SPDX-License-Identifier: MIT or MulanPSL-2.0
//
#include <srs_app_srt_conn.hpp>
using namespace std;
#include <srs_kernel_buffer.hpp>
#include <srs_kernel_flv.hpp>
#include <srs_kernel_stream.hpp>
#include <srs_core_autofree.hpp>
#include <srs_protocol_rtmp_stack.h... | 26.836676 | 148 | 0.617446 | [
"object",
"vector"
] |
6cabc7fb45aef53ad68c9225aec3be7494966b9d | 53,088 | cpp | C++ | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Fuse.Designer.g.cpp | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Fuse.Designer.g.cpp | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Fuse.Designer.g.cpp | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | // This file was generated based on '(multiple files)'.
// WARNING: Changes might be lost if you edit this file directly.
#include <Fuse.Designer.Advance-634be00a.h>
#include <Fuse.Designer.ChildEx-3abc5917.h>
#include <Fuse.Designer.ColorAttribute.h>
#include <Fuse.Designer.Compone-f85c8002.h>
#include <Fuse.Designer... | 34.272434 | 270 | 0.703021 | [
"object"
] |
6cb9f12a5b55965f3e51b9542ba5beaa356b75bb | 572 | cpp | C++ | CodeChef/LongChallenge/AprilLongChallenge2020B/CARSELL.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | 1 | 2019-04-19T13:06:33.000Z | 2019-04-19T13:06:33.000Z | CodeChef/LongChallenge/AprilLongChallenge2020B/CARSELL.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | CodeChef/LongChallenge/AprilLongChallenge2020B/CARSELL.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | //https://www.codechef.com/APRIL20B/problems/CARSELL
//Accepted
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
int n;
long long int profit = 0;
cin >> n;
vector<int> v(n);
for (int i = 0; i < n; i++)
{
... | 15.459459 | 52 | 0.409091 | [
"vector"
] |
6cbb4eef3dc4bcbe05fb2ff031e093215310ca33 | 57,857 | cc | C++ | third_party/blink/renderer/core/frame/local_frame.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/core/frame/local_frame.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/core/frame/local_frame.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
* 1999 Lars Knoll <knoll@kde.org>
* 1999 Antti Koivisto <koivisto@kde.org>
* 2000 Simon Hausmann <hausmann@kde.org>
* 2000 Stefan Schimanski <1Stein@gmx.de>
* ... | 39.628082 | 148 | 0.684498 | [
"vector"
] |
6cc0aa4de3ff95ee3974cb225ccfc0353fd049aa | 18,518 | cpp | C++ | cls_builder/cls_builder.cpp | STEELISI/LEADER | e9b884d3645789d6171bfa85e920b5da8cab9db5 | [
"Unlicense"
] | null | null | null | cls_builder/cls_builder.cpp | STEELISI/LEADER | e9b884d3645789d6171bfa85e920b5da8cab9db5 | [
"Unlicense"
] | null | null | null | cls_builder/cls_builder.cpp | STEELISI/LEADER | e9b884d3645789d6171bfa85e920b5da8cab9db5 | [
"Unlicense"
] | null | null | null | #include "cls_builder.h"
#include <boost/tokenizer.hpp>
#include <arpa/inet.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <chrono>
#include <exception>
#include <iostream>
#include <regex>
#include <fstream>
//#include <sys/time.h>
#include <signal.h>
#include <string>
// enum for the CSV inpu... | 35.205323 | 324 | 0.552057 | [
"object",
"vector"
] |
6ccf8f424c37ea16dce20750b982ba902cfa580a | 8,119 | cpp | C++ | BakersGame/src/nodeExports.cpp | ldgcomputing/BruteForceGameTech | b6adefd117c3ff8aa43543f84968a2b1500b6aab | [
"MIT"
] | null | null | null | BakersGame/src/nodeExports.cpp | ldgcomputing/BruteForceGameTech | b6adefd117c3ff8aa43543f84968a2b1500b6aab | [
"MIT"
] | null | null | null | BakersGame/src/nodeExports.cpp | ldgcomputing/BruteForceGameTech | b6adefd117c3ff8aa43543f84968a2b1500b6aab | [
"MIT"
] | null | null | null | /***
MIT License
Copyright (c) 2021 Louis Gehrig
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, p... | 30.294776 | 114 | 0.697377 | [
"object",
"vector"
] |
6cd34433bffba37788861903cd305fdffb2345ad | 69,682 | cpp | C++ | src/devices/video/voodoo_2.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/devices/video/voodoo_2.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/devices/video/voodoo_2.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Aaron Giles
/***************************************************************************
voodoo_2.c
3dfx Voodoo Graphics SST-1/2 emulator.
****************************************************************************
Specs:
Voodoo 2:
2,4MB frame b... | 40.348581 | 258 | 0.553113 | [
"render",
"model",
"3d"
] |
6cd44e89cd49b3eaf006be0e9fe73104679c7be0 | 4,258 | cpp | C++ | Kompressor/Src/quotientmex.cpp | fbordeu/PGDforMatlab | b40ba3f85acc262055fee12629cbf685ce19a982 | [
"BSD-3-Clause"
] | null | null | null | Kompressor/Src/quotientmex.cpp | fbordeu/PGDforMatlab | b40ba3f85acc262055fee12629cbf685ce19a982 | [
"BSD-3-Clause"
] | null | null | null | Kompressor/Src/quotientmex.cpp | fbordeu/PGDforMatlab | b40ba3f85acc262055fee12629cbf685ce19a982 | [
"BSD-3-Clause"
] | 1 | 2019-11-26T22:26:12.000Z | 2019-11-26T22:26:12.000Z | //
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
//
// Principal developer : Felipe Bordeu (Felipe.Bordeu@ec-nantes.fr)
//
// to compile mex -lblas quotientmex.cpp
#include "mex.h"
#include "MatLab.h"
#include "iostream"
#include "mat... | 33.265625 | 86 | 0.595585 | [
"vector"
] |
6cda98e556e002a8e0a28995256c58d5e14c88d8 | 8,863 | cpp | C++ | .MeshSync/Plugin/MeshSyncClientBlender/MeshSyncClientBlender.cpp | bitinn/MeshSync | 71686b6962c6177af15f980c6fa718ed6676c9f1 | [
"MIT"
] | 1 | 2019-08-03T20:33:37.000Z | 2019-08-03T20:33:37.000Z | .MeshSync/Plugin/MeshSyncClientBlender/MeshSyncClientBlender.cpp | bitinn/MeshSync | 71686b6962c6177af15f980c6fa718ed6676c9f1 | [
"MIT"
] | null | null | null | .MeshSync/Plugin/MeshSyncClientBlender/MeshSyncClientBlender.cpp | bitinn/MeshSync | 71686b6962c6177af15f980c6fa718ed6676c9f1 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "msblenContext.h"
static bool msblenExport(msblenContext& self, msblenContext::SendTarget target, msblenContext::SendScope scope)
{
if (!self.isServerAvailable()) {
self.logInfo("MeshSync: Server not available. %s", self.getErrorMessage().c_str());
return false;
}
... | 63.307143 | 141 | 0.625183 | [
"object"
] |
6cdefb56e794532abb53478c9e88ee19b0779446 | 3,535 | hh | C++ | elements/minios/todevice.hh | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 32 | 2017-11-02T12:33:21.000Z | 2022-02-07T22:25:58.000Z | elements/minios/todevice.hh | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 2 | 2019-02-18T08:47:16.000Z | 2019-05-24T14:41:23.000Z | elements/minios/todevice.hh | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 10 | 2018-06-13T11:54:53.000Z | 2020-09-08T06:52:43.000Z | /*
* ClickOS
*
* file: todevice.hh
*
* NEC Europe Ltd. PROPRIETARY INFORMATION
*
* This software is supplied under the terms of a license agreement
* or nondisclosure agreement with NEC Europe Ltd. and may not be
* copied or disclosed except in accordance with the terms of that
* agreement... | 30.213675 | 80 | 0.716266 | [
"object",
"vector"
] |
6ce304cf7600aa1084d74401e1296194e05ffc9c | 4,891 | cpp | C++ | WaveletTree/WaveletTree/WaveletTree.cpp | Vaan5/Bioinformatics---Construction-of-a-binary-wavelet-tree-using-RRR-structure | 12b8c0a293d521204c97580a6b0ab2654bffac8b | [
"MIT"
] | null | null | null | WaveletTree/WaveletTree/WaveletTree.cpp | Vaan5/Bioinformatics---Construction-of-a-binary-wavelet-tree-using-RRR-structure | 12b8c0a293d521204c97580a6b0ab2654bffac8b | [
"MIT"
] | null | null | null | WaveletTree/WaveletTree/WaveletTree.cpp | Vaan5/Bioinformatics---Construction-of-a-binary-wavelet-tree-using-RRR-structure | 12b8c0a293d521204c97580a6b0ab2654bffac8b | [
"MIT"
] | 4 | 2016-07-24T18:23:06.000Z | 2019-04-11T12:37:22.000Z | #include "WaveletTree.h"
// Returns root node of the wavelet tree
WaveletNode* WaveletTree::getRoot() const {
return root;
}
// Creates a new wavelet tree
// input input string for which the wavelet tree is constructed
// visualOutput file handler used to generate graphviz data
WaveletTree::WaveletTree... | 27.172222 | 116 | 0.645676 | [
"shape"
] |
6ce5c6e24c2d5ff1c43a8e0f40a70bd53a64dd1a | 445 | cpp | C++ | codeforces/practices/800/136A.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | codeforces/practices/800/136A.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | codeforces/practices/800/136A.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Codeforces Beta Round #97 (Div. 2) - A. Presents
https://codeforces.com/problemset/problem/136/A
*/
#include <bits/stdc++.h>
using namespace std;
#define FAST_INP ios_base::sync_with_stdio(false);cin.tie(NULL)
int main()
{
FAST_INP;
int n;
cin >> n;
vector<int> p(n+1),pp(n+1);
for(int i=1;... | 17.8 | 64 | 0.546067 | [
"vector"
] |
6ce9322ffb58e5ea0829ea67fee87c8ad0279bff | 30,711 | cpp | C++ | printscan/wia/core/server/stisvc.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | printscan/wia/core/server/stisvc.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | printscan/wia/core/server/stisvc.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++ '
Copyright (c) 1997 Microsoft Corporation
Module Name:
STISvc.CPP
Abstract:
Code for performing STI service related functions ( Start/Stop etc)
It is separated from main process code make it possible to share process for
... | 24.588471 | 135 | 0.557129 | [
"object"
] |
6ced29797c770b078aae80264a0289fc9bf4032f | 697 | cpp | C++ | Leetcode/1000-2000/1599. Maximum Profit of Operating a Centennial Wheel/1599.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/1000-2000/1599. Maximum Profit of Operating a Centennial Wheel/1599.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/1000-2000/1599. Maximum Profit of Operating a Centennial Wheel/1599.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | class Solution {
public:
int minOperationsMaxProfit(vector<int>& customers, int boardingCost,
int runningCost) {
int waiting = 0;
int profit = 0;
int maxProfit = 0;
int rotate = 0;
int maxRotate = -1;
int i = 0;
while (waiting > 0 || i < customers.size()) {
... | 24.034483 | 70 | 0.552367 | [
"vector"
] |
6ceecec4f2e194188587218d1c0486a3bb88531d | 3,212 | cpp | C++ | src/tree-automorphism.cpp | Nisiyama-Suzune/LMR | 16325b9efcb71240111ac12ea55c0cb45b0c5834 | [
"MIT"
] | 48 | 2018-08-15T11:58:28.000Z | 2022-02-08T23:38:29.000Z | src/tree-automorphism.cpp | Nisiyama-Suzune/LMR | 16325b9efcb71240111ac12ea55c0cb45b0c5834 | [
"MIT"
] | null | null | null | src/tree-automorphism.cpp | Nisiyama-Suzune/LMR | 16325b9efcb71240111ac12ea55c0cb45b0c5834 | [
"MIT"
] | 8 | 2019-07-18T10:27:50.000Z | 2021-06-08T13:03:47.000Z | #include <bits/stdc++.h>
template <int MAXN = 100000, int MAXM = 200000>
struct edge_list {
int size, begin[MAXN], dest[MAXM], next[MAXM];
void clear (int n) { size = 0; std::fill (begin, begin + n, -1); }
edge_list (int n = MAXN) { clear (n); }
void add_edge (int u, int v) { dest[size] = v; next[size] = begin[u];... | 37.788235 | 94 | 0.539851 | [
"vector"
] |
6cf71de1e7278d66b2ed81dd92fbf3cc65c7fbac | 783 | cpp | C++ | JContainers/src/api_3/tes_api_3.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 39 | 2015-01-16T09:17:05.000Z | 2021-12-15T23:02:00.000Z | JContainers/src/api_3/tes_api_3.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 26 | 2015-01-03T20:26:27.000Z | 2019-12-30T22:46:15.000Z | JContainers/src/api_3/tes_api_3.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 14 | 2015-10-23T08:46:01.000Z | 2022-03-24T18:08:24.000Z |
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <errno.h>
#include <sstream>
#include <set>
#include <thread>
#include <array>
#include <boost/filesystem.hpp>
#include <boost/optional.hpp>
#include <shlobj.h>
#include "gtest.h"
#include "util/util.h"
#include "jcontainers_constants.h"
#in... | 18.642857 | 43 | 0.752235 | [
"object"
] |
6cf722a00ec47665985a070bcc55935b4b7aa4e2 | 3,033 | cpp | C++ | leetcode/cpp/qt_find_leaves_of_binary_tree.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | 5 | 2016-10-29T09:28:11.000Z | 2019-10-19T23:02:48.000Z | leetcode/cpp/qt_find_leaves_of_binary_tree.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | null | null | null | leetcode/cpp/qt_find_leaves_of_binary_tree.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | null | null | null | /**
* @Author: Tian Qiao <qiaotian>
* @Date: 2016-07-01T11:14:53+08:00
* @Email: qiaotian@me.com
* @Last modified by: qiaotian
* @Last modified time: 2016-07-01T14:39:48+08:00
* @License: Free License
* @Diffculity: Medium
*/
/** Problem
Given a binary tree, collect a tree's nodes as if you were doing this: Coll... | 26.146552 | 133 | 0.569403 | [
"vector"
] |
6cfa28bc59c18e0bca74cbc00575faa5c892b582 | 1,966 | cpp | C++ | lc/LC6.cpp | 4llenchan/dsa | 314991a32a24578dbf48e82ddded95804c95aa10 | [
"MIT"
] | null | null | null | lc/LC6.cpp | 4llenchan/dsa | 314991a32a24578dbf48e82ddded95804c95aa10 | [
"MIT"
] | null | null | null | lc/LC6.cpp | 4llenchan/dsa | 314991a32a24578dbf48e82ddded95804c95aa10 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <algorithm>
#include <numeric>
#include <unordered_map>
#include <vector>
#include "Common.h"
using namespace std;
/**
* https://leetcode-cn.com/problems/zigzag-conversion/
*/
class Solution1 {
public:
string convert(string s, int numRows) {
if (numRows <= 1) {
... | 23.97561 | 73 | 0.468464 | [
"vector"
] |
6cfac3652b1f9bb7d0775c7d9d0c0a67453753a6 | 1,284 | cpp | C++ | nets/Examples/removeDuplicates.cpp | CxAalto/lcelib | dceea76e3f18696a2fa7c8287e1a537fbf493474 | [
"0BSD"
] | 1 | 2017-01-24T01:35:43.000Z | 2017-01-24T01:35:43.000Z | nets/Examples/removeDuplicates.cpp | CxAalto/lcelib | dceea76e3f18696a2fa7c8287e1a537fbf493474 | [
"0BSD"
] | null | null | null | nets/Examples/removeDuplicates.cpp | CxAalto/lcelib | dceea76e3f18696a2fa7c8287e1a537fbf493474 | [
"0BSD"
] | null | null | null | /* removeDuplicates.cpp
2007 May 24
Author: Lauri Kovanen
Simply reads a network from standard input, saves into the network
data structure and writes it back. The internal network presentation
takes care not to include any duplicate edges.
To compile: ... | 29.181818 | 83 | 0.66433 | [
"vector"
] |
6cfbd5fd2c4797aa71c6bdcff5636278b5553227 | 324 | cpp | C++ | wave_array.cpp | ArnabBir/leetcode-solutions | 31cf1edaa2f39c1f8d0300ad815889999058a0c8 | [
"MIT"
] | null | null | null | wave_array.cpp | ArnabBir/leetcode-solutions | 31cf1edaa2f39c1f8d0300ad815889999058a0c8 | [
"MIT"
] | null | null | null | wave_array.cpp | ArnabBir/leetcode-solutions | 31cf1edaa2f39c1f8d0300ad815889999058a0c8 | [
"MIT"
] | null | null | null | vector<int> Solution::wave(vector<int> &A) {
int n = A.size();
int m = n/2;
sort(A.begin(), A.end());
vector<int> result;
for(int i = 0; i < n/2; ++i) {
result.push_back(A[2*i+1]);
result.push_back(A[2*i]);
}
if(n%2) {
result.push_back(A[n-1]);
}
return result... | 21.6 | 44 | 0.487654 | [
"vector"
] |
9f12a5cb529ff0c9b48e8bf8445e527d7b3c263d | 4,400 | cpp | C++ | ShaderEditor/src/main.cpp | fallahn/xygine | c17e7d29bb57a5425a58abd3a05a843d6bac48e3 | [
"Unlicense"
] | 220 | 2015-10-22T16:12:13.000Z | 2022-03-16T18:51:11.000Z | ShaderEditor/src/main.cpp | fallahn/xygine | c17e7d29bb57a5425a58abd3a05a843d6bac48e3 | [
"Unlicense"
] | 64 | 2016-05-05T19:17:13.000Z | 2021-02-11T19:24:37.000Z | ShaderEditor/src/main.cpp | fallahn/xygine | c17e7d29bb57a5425a58abd3a05a843d6bac48e3 | [
"Unlicense"
] | 33 | 2016-01-13T16:44:26.000Z | 2021-11-05T21:57:24.000Z | /*********************************************************************
(c) Matt Marchant 2019
http://trederia.blogspot.com
xygineXT Shader Editor - Zlib license.
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... | 28.205128 | 72 | 0.574773 | [
"render",
"vector"
] |
2f716a4c918a270168200e356e1a6bce35af1fe2 | 689 | cpp | C++ | demo/demo.cpp | magiebox/magiebox-interface | 0082b98fc639cb6e35bf07afe37d756328bd00de | [
"Apache-2.0"
] | null | null | null | demo/demo.cpp | magiebox/magiebox-interface | 0082b98fc639cb6e35bf07afe37d756328bd00de | [
"Apache-2.0"
] | null | null | null | demo/demo.cpp | magiebox/magiebox-interface | 0082b98fc639cb6e35bf07afe37d756328bd00de | [
"Apache-2.0"
] | null | null | null | #include "demo.hpp"
void demo::transfer(name from, name to, asset quantity, string memo)
{
require_auth(from);
if (from == _self || to != _self)
{
return;
}
if (memo == "i am boss")
{
return;
}
eosio_assert(quantity.amount <= 1000 * 10000, "you bet too high, buddy.");
... | 24.607143 | 78 | 0.596517 | [
"vector"
] |
2f8009a2aa12ea9240d335f761f60c1f1a421ed3 | 7,322 | cpp | C++ | apps/crib_hand_helper.cpp | kam3k/crib_hand_helper | bc7d67c44817701bc32bf0e1efb105e8b7b20d4b | [
"MIT"
] | null | null | null | apps/crib_hand_helper.cpp | kam3k/crib_hand_helper | bc7d67c44817701bc32bf0e1efb105e8b7b20d4b | [
"MIT"
] | null | null | null | apps/crib_hand_helper.cpp | kam3k/crib_hand_helper | bc7d67c44817701bc32bf0e1efb105e8b7b20d4b | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cassert>
#include <cctype>
#include <iomanip>
#include <iostream>
#include <map>
#include <sstream>
#include <string>
#include "crib_hand_helper/card.h"
#include "crib_hand_helper/constants.h"
#include "crib_hand_helper/hand_counter.h"
#include "crib_hand_helper/hand_statistics.h"
using... | 26.243728 | 80 | 0.573887 | [
"vector",
"transform"
] |
2f81e7329c6a01f170324093878189457ac78dbc | 3,443 | cpp | C++ | Codeforces/EcoDriving.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 1 | 2018-08-28T19:58:40.000Z | 2018-08-28T19:58:40.000Z | Codeforces/EcoDriving.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 2 | 2017-04-16T00:48:05.000Z | 2017-08-03T20:12:26.000Z | Codeforces/EcoDriving.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 4 | 2016-03-04T19:42:00.000Z | 2018-01-08T11:42:00.000Z | #include <queue>
#include <cstdio>
#include <cmath>
using namespace std;
const int MAXN = 205;
const double PI = acos(-1);
const int INF = 100100100;
const double EPS = 1e-6;
int J, R, D;
long long X[MAXN], Y[MAXN];
vector<int> G[MAXN];
double dist[MAXN * MAXN], len[MAXN][MAXN], angle[MAXN][MAXN][MAXN];
priority_que... | 21.122699 | 83 | 0.421144 | [
"vector"
] |
2f8b53c5511808fa262f80fd863a2ba8bd91b72c | 6,445 | cpp | C++ | DiamondEngine/Loader.cpp | SilentCode446/Diamond_Engine | e35401d67e915af53aacbf1a397b91b5cb5c02ca | [
"MIT"
] | 1 | 2021-05-27T16:41:59.000Z | 2021-05-27T16:41:59.000Z | DiamondEngine/Loader.cpp | SilentCode446/Diamond_Engine | e35401d67e915af53aacbf1a397b91b5cb5c02ca | [
"MIT"
] | null | null | null | DiamondEngine/Loader.cpp | SilentCode446/Diamond_Engine | e35401d67e915af53aacbf1a397b91b5cb5c02ca | [
"MIT"
] | null | null | null | #include "Loader.h"
#include "ObjLoader.h"
//Textures
string DefaultPath = "Images/";
GLuint Loader::ObjectsTotal() {
return objects_total;
}
Object Loader::getObject(int index) {
return objects.at(objects[0].id + index - 2);
}
Object Loader::getLastObject() {
return last_obj;
}
vector<Object>* Loader::g... | 27.425532 | 170 | 0.586501 | [
"mesh",
"object",
"vector"
] |
2f8c44db59f9f95513b3114a2206ec313627a24f | 8,475 | cpp | C++ | src/mbgl/text/glyph_atlas.cpp | followtherider/mapbox-gl-native | 62b56b799a7d4fcd1a8f151eed878054b862da5b | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/text/glyph_atlas.cpp | followtherider/mapbox-gl-native | 62b56b799a7d4fcd1a8f151eed878054b862da5b | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/text/glyph_atlas.cpp | followtherider/mapbox-gl-native | 62b56b799a7d4fcd1a8f151eed878054b862da5b | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | #include <mbgl/text/glyph_atlas.hpp>
#include <mbgl/text/glyph_atlas_observer.hpp>
#include <mbgl/text/glyph_pbf.hpp>
#include <mbgl/gl/gl.hpp>
#include <mbgl/gl/context.hpp>
#include <mbgl/platform/log.hpp>
#include <mbgl/platform/platform.hpp>
#include <cassert>
#include <algorithm>
namespace mbgl {
static GlyphAt... | 32.224335 | 95 | 0.586431 | [
"object"
] |
2f8e94b4f7c559c1ed298a33119867696da391a7 | 693 | cpp | C++ | aws-cpp-sdk-schemas/source/model/UpdateRegistryRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-schemas/source/model/UpdateRegistryRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-schemas/source/model/UpdateRegistryRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-03-23T15:17:18.000Z | 2022-03-23T15:17:18.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/schemas/model/UpdateRegistryRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Schemas::Model;
using namespace Aws::Utils::Json;
using n... | 18.72973 | 69 | 0.746032 | [
"model"
] |
2f9159be3c312de9061d28a76f7d4d279dc81e5a | 2,757 | cpp | C++ | advanced/1022.cpp | Gongyihang/PAT | 7425be22b0a844fb7171560e034fd7a867680b49 | [
"MIT"
] | null | null | null | advanced/1022.cpp | Gongyihang/PAT | 7425be22b0a844fb7171560e034fd7a867680b49 | [
"MIT"
] | null | null | null | advanced/1022.cpp | Gongyihang/PAT | 7425be22b0a844fb7171560e034fd7a867680b49 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <math.h>
using namespace std;
void query(string &s, int num, vector<vector<string>> &v) //论引用的重要性
{
int flag = 0;
if (num != 3)
{
for (int j = 0; j < v.size(); j++)
{
if (v[j][num + 1] == s)
... | 20.574627 | 75 | 0.324628 | [
"vector"
] |
2f9aa79afdfd31566c7dacb0f6523660ee520afe | 4,633 | cpp | C++ | 3p/ClassLib/GDI/rgn.cpp | stbrenner/NiLogViewer | e6fe2b57da6d7bd61983cf7e8f0ee3139cc0ce20 | [
"MIT"
] | 2 | 2018-11-20T15:58:08.000Z | 2021-12-15T14:51:10.000Z | 3p/ClassLib/GDI/rgn.cpp | stbrenner/NiLogViewer | e6fe2b57da6d7bd61983cf7e8f0ee3139cc0ce20 | [
"MIT"
] | 1 | 2016-12-27T08:26:27.000Z | 2016-12-27T08:26:27.000Z | 3p/ClassLib/GDI/rgn.cpp | ymx/NiLogViewer | e6fe2b57da6d7bd61983cf7e8f0ee3139cc0ce20 | [
"MIT"
] | 1 | 2016-08-09T10:44:48.000Z | 2016-08-09T10:44:48.000Z | //
// rgn.cpp
//
// (C) Copyright 2000 Jan van den Baard.
// All Rights Reserved.
//
#include "rgn.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// Constructor.
ClsRgn::ClsRgn()
{
}
// Destructor.
ClsRgn::~ClsRgn()
{
}
// Creates a rectangle region.
BOOL Cls... | 24.130208 | 104 | 0.692208 | [
"object"
] |
2fa7ae7e8edb8c5e6d46df72bf3bea2af174e578 | 14,016 | cpp | C++ | dreamplacefpga/ops/place_io/src/PlaceDB.cpp | rachelselinar/DREAMPlaceFPGA | b8dd961718144a7c2471dd670379c3d1923171f9 | [
"BSD-3-Clause"
] | 20 | 2021-11-05T13:20:50.000Z | 2022-03-22T17:16:08.000Z | dreamplacefpga/ops/place_io/src/PlaceDB.cpp | rachelselinar/DREAMPlaceFPGA | b8dd961718144a7c2471dd670379c3d1923171f9 | [
"BSD-3-Clause"
] | 1 | 2022-01-25T07:35:26.000Z | 2022-01-26T03:08:45.000Z | dreamplacefpga/ops/place_io/src/PlaceDB.cpp | rachelselinar/DREAMPlaceFPGA | b8dd961718144a7c2471dd670379c3d1923171f9 | [
"BSD-3-Clause"
] | 5 | 2021-11-16T14:33:37.000Z | 2022-03-16T02:21:51.000Z | /*************************************************************************
> File Name: PlaceDB.cpp
> Author: Yibo Lin (DREAMPlace), Rachel Selina Rajarathnam (DREAMPlaceFPGA)
> Mail: yibolin@utexas.edu
> Created Time: Mon 14 Mar 2016 09:22:46 PM CDT
> Updated: Mar 2021
****************************... | 32.595349 | 101 | 0.634775 | [
"vector"
] |
2faf13e7d9e89433fd29470bd4fe65f415e4fd36 | 741 | cc | C++ | app/oxs/base/atlas.cc | ViennaNovoFlop/ViennaNovoFlop-dev | f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00 | [
"TCL",
"SWL",
"MIT",
"X11",
"BSD-3-Clause"
] | null | null | null | app/oxs/base/atlas.cc | ViennaNovoFlop/ViennaNovoFlop-dev | f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00 | [
"TCL",
"SWL",
"MIT",
"X11",
"BSD-3-Clause"
] | null | null | null | app/oxs/base/atlas.cc | ViennaNovoFlop/ViennaNovoFlop-dev | f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00 | [
"TCL",
"SWL",
"MIT",
"X11",
"BSD-3-Clause"
] | null | null | null | /* FILE: atlas.cc -*-Mode: c++-*-
*
* Atlas class, derived from OXS extension class.
*
*/
#include "atlas.h"
/* End includes */
// Constructors
Oxs_Atlas::Oxs_Atlas
( const char* name, // Child instance id
Oxs_Director* newdtr // App director
) : Oxs_Ext(name,newdtr)
{}
Oxs_Atlas::Oxs_... | 19.5 | 60 | 0.647773 | [
"vector"
] |
2fc0c4f4ae5e77ab42a813e81a9d779e2d63645a | 3,568 | cpp | C++ | examples/container/grid.cpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | examples/container/grid.cpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | examples/container/grid.cpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <fcppt/no_init.hpp>
#include <fcppt/text.hpp>
#include <fcppt/container/grid/interpolate.... | 14.15873 | 72 | 0.631166 | [
"object",
"vector"
] |
2fc376b9df23895242ebbfdf4a610a2dc468eff3 | 1,915 | cpp | C++ | src/set_package_preload.cpp | nitrocaster/luabind-deboostified | 72cc6e5e9da61d8ba0cd6835937a827c2cbad652 | [
"BSL-1.0"
] | 3 | 2015-11-23T08:19:40.000Z | 2020-11-03T01:52:37.000Z | src/set_package_preload.cpp | nitrocaster/luabind-deboostified | 72cc6e5e9da61d8ba0cd6835937a827c2cbad652 | [
"BSL-1.0"
] | 4 | 2020-10-18T23:11:14.000Z | 2021-01-01T20:54:49.000Z | src/set_package_preload.cpp | nitrocaster/luabind-deboostified | 72cc6e5e9da61d8ba0cd6835937a827c2cbad652 | [
"BSL-1.0"
] | 1 | 2020-12-28T18:47:11.000Z | 2020-12-28T18:47:11.000Z | // Boost Software License http://www.boost.org/LICENSE_1_0.txt
// Copyright (c) 2003 The Luabind Authors
#include <luabind/set_package_preload.hpp>
#include <luabind/config.hpp>
#include <luabind/detail/object.hpp> // for object, rawget, globals
#include <luabind/detail/conversion_policies/conversion_policies.hpp>
#in... | 39.081633 | 89 | 0.657963 | [
"object"
] |
2fc3b4dcc43c0ffae097221e89bd8eda05b9735c | 1,241 | cpp | C++ | thirdparty/moab/tools/mbcslam/spherical_area_test.cpp | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | null | null | null | thirdparty/moab/tools/mbcslam/spherical_area_test.cpp | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | 4 | 2016-11-10T15:49:51.000Z | 2017-02-06T23:24:16.000Z | thirdparty/moab/tools/mbcslam/spherical_area_test.cpp | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | null | null | null | /*
* spherical_area_test.cpp
*
* Created on: Feb 1, 2013
*/
#include <iostream>
#include "moab/Core.hpp"
#include "moab/Interface.hpp"
#include "CslamUtils.hpp"
#include "../test/TestUtil.hpp"
using namespace moab;
int main(int/* argc*/, char** /* argv[]*/)
{
// check command line arg
const char *filename_me... | 25.326531 | 105 | 0.647865 | [
"mesh"
] |
2fc5ab50d47c3f3f067a0b0d68247e2827beb25d | 8,534 | cc | C++ | common/aslam-serialization/src/visual-frame-serialization.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 1,936 | 2017-11-27T23:11:37.000Z | 2022-03-30T14:24:14.000Z | common/aslam-serialization/src/visual-frame-serialization.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 353 | 2017-11-29T18:40:39.000Z | 2022-03-30T15:53:46.000Z | common/aslam-serialization/src/visual-frame-serialization.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 661 | 2017-11-28T07:20:08.000Z | 2022-03-28T08:06:29.000Z | #include "aslam-serialization/visual-frame-serialization.h"
#include <glog/logging.h>
#include <aslam/cameras/camera.h>
#include <aslam/cameras/ncamera.h>
#include <aslam/frames/visual-frame.h>
#include <aslam/frames/visual-nframe.h>
#include <maplab-common/aslam-id-proto.h>
#include <maplab-common/eigen-proto.h>
na... | 34.41129 | 80 | 0.693579 | [
"object"
] |
2fc6b647657ebe8ad2fbbedfadc751464c0199ad | 36,702 | cc | C++ | parser/common/acl_graph_parser_util.cc | Ascend/parser | fc02ad76d2892cbe600a1f3906f68246284b84a1 | [
"Apache-2.0"
] | 1 | 2020-11-17T02:01:09.000Z | 2020-11-17T02:01:09.000Z | parser/common/acl_graph_parser_util.cc | Ascend/parser | fc02ad76d2892cbe600a1f3906f68246284b84a1 | [
"Apache-2.0"
] | 1 | 2021-05-28T01:46:21.000Z | 2021-05-28T21:06:46.000Z | parser/common/acl_graph_parser_util.cc | Ascend/parser | fc02ad76d2892cbe600a1f3906f68246284b84a1 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020 Huawei Technologies Co., Ltd
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or ag... | 42.577726 | 119 | 0.661817 | [
"object",
"vector",
"model"
] |
2fcdd2bf4d478a505e6ffd0eb59c0cd540cd79fb | 3,939 | cpp | C++ | lib/cogment/actor.cpp | cogment/cogment-orchestrator | c3089d2827938d450d2d2b1391ff57aee82eddd3 | [
"Apache-2.0"
] | 3 | 2021-02-20T01:32:43.000Z | 2021-07-08T15:05:27.000Z | lib/cogment/actor.cpp | cogment/cogment-orchestrator | c3089d2827938d450d2d2b1391ff57aee82eddd3 | [
"Apache-2.0"
] | null | null | null | lib/cogment/actor.cpp | cogment/cogment-orchestrator | c3089d2827938d450d2d2b1391ff57aee82eddd3 | [
"Apache-2.0"
] | 2 | 2021-02-20T02:42:10.000Z | 2022-03-23T23:47:21.000Z | // Copyright 2021 AI Redefined Inc. <dev+cogment@ai-r.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | 28.338129 | 120 | 0.707286 | [
"vector"
] |
2fd6f5ae0302e54c6e2bc9e85593ec5bcc14f981 | 1,455 | cpp | C++ | external/tellstick-core/ProtocolFineoffset.cpp | Ziver/hal | 48a139cdd5be069db498ecbe706950d87fc40963 | [
"MIT"
] | 1 | 2021-08-15T09:33:45.000Z | 2021-08-15T09:33:45.000Z | external/tellstick-core/ProtocolFineoffset.cpp | Ziver/hal | 48a139cdd5be069db498ecbe706950d87fc40963 | [
"MIT"
] | 1 | 2019-11-12T13:36:22.000Z | 2019-11-12T13:36:22.000Z | external/tellstick-core/ProtocolFineoffset.cpp | Ziver/hal | 48a139cdd5be069db498ecbe706950d87fc40963 | [
"MIT"
] | null | null | null | //
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "service/ProtocolFineoffset.h"
#include <stdlib.h>
#include <iomanip>
#include <sstream>
#include <string>
#include "common/Strings.h"
std::string ProtocolFineoffset... | 27.45283 | 84 | 0.679725 | [
"model"
] |
7c837b197cd8da6537cf10abb2da9da587b3ee4b | 14,198 | cpp | C++ | win32/test/utils/CertStoreUtil.cpp | antonhajdinaj/cryptocmd | cf5f8dc5e5dfdd753135fc33cbf852abdca21439 | [
"MIT"
] | null | null | null | win32/test/utils/CertStoreUtil.cpp | antonhajdinaj/cryptocmd | cf5f8dc5e5dfdd753135fc33cbf852abdca21439 | [
"MIT"
] | 1 | 2020-10-16T22:07:12.000Z | 2020-10-16T22:07:12.000Z | win32/test/utils/CertStoreUtil.cpp | antonhajdinaj/cryptocmd | cf5f8dc5e5dfdd753135fc33cbf852abdca21439 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Cryptable BV. All rights reserved.
* (MIT License)
* Author: "David Tillemans"
* Date: 02/08/2020
*/
#include <KSException.h>
#include <utility>
#include <vector>
#include <iostream>
#include <locale>
#include <codecvt>
#include "CertStoreUtil.h"
#include "HexUtils.hpp"
#include "CNGHash.h... | 33.250585 | 114 | 0.490773 | [
"vector"
] |
7c85326464da6363ac5363a3a00e458b8aac1d6a | 3,864 | hpp | C++ | include/eve/module/core/saturated/impl/sub.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | include/eve/module/core/saturated/impl/sub.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | include/eve/module/core/saturated/impl/sub.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 32.745763 | 100 | 0.55383 | [
"vector"
] |
7c85447b2be7c7ad6ce5b32dc674c2a241fb6b8f | 1,465 | cpp | C++ | src/sysex/getaudiocontroldetailvalue.cpp | dehnhardt/mioconfig | 6d1ac1d85379eaf168d2c2fce81b09f020500605 | [
"MIT"
] | 16 | 2018-07-16T14:13:10.000Z | 2021-02-07T06:43:57.000Z | src/sysex/getaudiocontroldetailvalue.cpp | dehnhardt/iconnconfig | 6d1ac1d85379eaf168d2c2fce81b09f020500605 | [
"MIT"
] | 16 | 2017-09-06T19:38:15.000Z | 2021-01-04T17:54:02.000Z | src/sysex/getaudiocontroldetailvalue.cpp | dehnhardt/mioconfig | 6d1ac1d85379eaf168d2c2fce81b09f020500605 | [
"MIT"
] | 10 | 2018-03-03T14:50:03.000Z | 2020-09-30T18:08:55.000Z | #include "getaudiocontroldetailvalue.h"
#include "retsetaudiocontroldetailvalue.h"
GetAudioControlDetailValue::GetAudioControlDetailValue(Device *device)
: PortSysExMessage(GET_AUDIO_CONTROL_DETAIL_VALUE, SysExMessage::QUERY,
device) {}
GetAudioControlDetailValue::~GetAudioControlDetailValu... | 32.555556 | 80 | 0.786348 | [
"vector"
] |
7c8a67d7ea824adb91bd431054932d07284cd14c | 2,445 | cpp | C++ | code/virus-by-liutianyou.cpp | yuzijiang1093883/weird-code | c06f74a258755812dd24f06b85e1fbe520269a98 | [
"WTFPL"
] | 4 | 2020-07-15T04:22:23.000Z | 2021-07-12T04:58:29.000Z | code/virus-by-liutianyou.cpp | yuzijiang1093883/weird-code | c06f74a258755812dd24f06b85e1fbe520269a98 | [
"WTFPL"
] | 10 | 2020-07-15T05:21:36.000Z | 2020-08-28T08:52:05.000Z | code/virus-by-liutianyou.cpp | yuzijiang1093883/weird-code | c06f74a258755812dd24f06b85e1fbe520269a98 | [
"WTFPL"
] | 4 | 2020-07-15T04:18:16.000Z | 2020-08-27T23:33:38.000Z | #include <bits/stdc++.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
using namespace std;
const int INF=((1*1024*1024*1024)*8);
int c_fd;
void close_connect(int sign){
close(c_fd);
cerr<<"The Signal We get :"<<sign;
exit(0);
}
vector<stri... | 28.764706 | 75 | 0.606544 | [
"vector"
] |
7c8aee74f35c871a33942b588500918816cf83bf | 2,683 | cpp | C++ | src/tokenize.cpp | akhleung/vole | 358bd7a84d245e89b3ae47d369c19b3fff2f8a75 | [
"MIT"
] | null | null | null | src/tokenize.cpp | akhleung/vole | 358bd7a84d245e89b3ae47d369c19b3fff2f8a75 | [
"MIT"
] | null | null | null | src/tokenize.cpp | akhleung/vole | 358bd7a84d245e89b3ae47d369c19b3fff2f8a75 | [
"MIT"
] | null | null | null | #include "tokenize.hpp"
#include "munchar_tokens.hpp"
namespace Vole {
using namespace std;
using namespace Munchar;
Lexeme::Lexeme(Type t, const string& txt, size_t ln)
: type(t), text(txt), line(ln)
{ }
void tokenize(const char* src, vector<Lexeme>& tokens, size_t line) {
const char* munched;
... | 25.552381 | 72 | 0.474469 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.