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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
57ea4613de1f155e0dcd1c23394843a43b9ee879 | 2,565 | cpp | C++ | goTo.cpp | dubining/ARC.CPP | 33484e665d842d2004edbdbc552e4fd68738e9cc | [
"Unlicense"
] | null | null | null | goTo.cpp | dubining/ARC.CPP | 33484e665d842d2004edbdbc552e4fd68738e9cc | [
"Unlicense"
] | null | null | null | goTo.cpp | dubining/ARC.CPP | 33484e665d842d2004edbdbc552e4fd68738e9cc | [
"Unlicense"
] | null | null | null | #include "goTo.h"
const int16_t CELL = 115;
Position cellShift(MyRio_I2c* i2c, MotorController & mc1, MotorController & mc2, Position cur, Position goal, int derevo)
{
Position pos = cur;
int16_t a = 70; //30;
int16_t c = 5; //5;
double b = 0.1;
if (derevo)
{
a = 1;
c = 1;
b = 0.01;
}
if (derevo == 2)... | 25.39604 | 146 | 0.57193 | [
"vector"
] |
57ed7667a42f7f8d890d2f212c92dc422ae08733 | 67,137 | cpp | C++ | emulator/src/mame/drivers/segag80v.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/mame/drivers/segag80v.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/mame/drivers/segag80v.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Aaron Giles
/***************************************************************************
Sega vector hardware
Games supported:
* Space Fury
* Zektor
* Tac/Scan
* Eliminator
* Star Trek
Known bugs:
* games run too... | 46.981805 | 198 | 0.668126 | [
"vector"
] |
57edfe5722187d6ce26b29c6ae5dd6854c84ab4b | 32,048 | hpp | C++ | cisco-ios-xe/ydk/models/cisco_ios_xe/DS3_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/DS3_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/DS3_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _DS3_MIB_
#define _DS3_MIB_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xe {
namespace DS3_MIB {
class DS3MIB : public ydk::Entity
{
public:
DS3MIB();
~DS3MIB();
bool has_data() const override;
... | 47.060206 | 162 | 0.685846 | [
"vector"
] |
57f5dcbf10ab8125063342db0e5b3fb1ccff315b | 1,161 | cpp | C++ | stats.cpp | Engin-Boot/statisticker-cpp-aditiambadkar | 23ce895c77eab0f1fec6e20bfdd08a608c8ba348 | [
"MIT"
] | null | null | null | stats.cpp | Engin-Boot/statisticker-cpp-aditiambadkar | 23ce895c77eab0f1fec6e20bfdd08a608c8ba348 | [
"MIT"
] | 1 | 2020-08-31T12:21:30.000Z | 2020-08-31T12:21:30.000Z | stats.cpp | Engin-Boot/statisticker-cpp-aditiambadkar | 23ce895c77eab0f1fec6e20bfdd08a608c8ba348 | [
"MIT"
] | 1 | 2020-09-02T10:04:42.000Z | 2020-09-02T10:04:42.000Z | #include "stats.h"
#include <bits/stdc++.h>
#include <math.h>
namespace Statistics {
std::vector<float> RemoveNANElements(const std::vector<float>& floatVector) {
std::vector<float> floatVectorWithoutNAN = {};
std::vector<float>::const_iterator itr = floatVector.begin();
while(itr != fl... | 37.451613 | 134 | 0.639966 | [
"vector"
] |
57f8eefb69c28faa47e924aea6bce141232571f6 | 8,596 | cpp | C++ | src/models/FaceDetector.cpp | nihui/ncnnRay | 1c7a7149b058c11d02b09dba7aad14555a55444e | [
"Intel"
] | 2 | 2021-05-14T08:10:27.000Z | 2021-07-28T19:10:11.000Z | src/models/FaceDetector.cpp | nihui/ncnnRay | 1c7a7149b058c11d02b09dba7aad14555a55444e | [
"Intel"
] | null | null | null | src/models/FaceDetector.cpp | nihui/ncnnRay | 1c7a7149b058c11d02b09dba7aad14555a55444e | [
"Intel"
] | null | null | null | #include "FaceDetector.h"
#include <algorithm>
//#include "omp.h"
Detector::Detector():
_nms(0.4),
_threshold(0.6),
_mean_val{104.f, 117.f, 123.f},
_retinaface(false),
Net(new ncnn::Net())
{
}
inline void Detector::Release(){
if (Net != nullptr)
{
delete Net;
... | 29.847222 | 123 | 0.509074 | [
"vector",
"model"
] |
57facd67f316d5f9587ee37eec7915515a3f8172 | 31,522 | cxx | C++ | dicom2rawiv/zipextract/gdcm-2.6.3/Utilities/VTK/Applications/gdcmviewer.cxx | chipbuster/skull-atlas | 7f3ee009e1d5f65f101fe853a2cf6e12662970ee | [
"BSD-3-Clause"
] | 47 | 2020-03-30T14:36:46.000Z | 2022-03-06T07:44:54.000Z | dicom2rawiv/zipextract/gdcm-2.6.3/Utilities/VTK/Applications/gdcmviewer.cxx | chipbuster/skull-atlas | 7f3ee009e1d5f65f101fe853a2cf6e12662970ee | [
"BSD-3-Clause"
] | null | null | null | dicom2rawiv/zipextract/gdcm-2.6.3/Utilities/VTK/Applications/gdcmviewer.cxx | chipbuster/skull-atlas | 7f3ee009e1d5f65f101fe853a2cf6e12662970ee | [
"BSD-3-Clause"
] | 8 | 2020-04-01T01:22:45.000Z | 2022-01-02T13:06:09.000Z | /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT A... | 31.148221 | 105 | 0.629846 | [
"render",
"vector"
] |
6489c5cd28db874bddb71915175b725d882ace46 | 6,216 | cpp | C++ | visor/src/MPEG7FexLib_src_OpenCV22/Descriptors/ColorSpace.cpp | ferdianap/Eris_test | c2a00d65f816ad6d48a65c14b4bea4f3d081b86b | [
"BSD-3-Clause"
] | 1 | 2015-06-12T04:38:09.000Z | 2015-06-12T04:38:09.000Z | visor/src/MPEG7FexLib_src_OpenCV22/Descriptors/ColorSpace.cpp | ferdianap/eris | c2a00d65f816ad6d48a65c14b4bea4f3d081b86b | [
"BSD-3-Clause"
] | null | null | null | visor/src/MPEG7FexLib_src_OpenCV22/Descriptors/ColorSpace.cpp | ferdianap/eris | c2a00d65f816ad6d48a65c14b4bea4f3d081b86b | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
//
// This software module was originally developed by
//
// TU-Munich, S.Herrmann
// (contributing organizations names)
//
// in the course of development of the MPEG-7 Experimentation Model.
//
// This software module is an imple... | 32.544503 | 92 | 0.621622 | [
"vector",
"model"
] |
648a6fb39f84560324301d59d5ac23a3ff04263a | 4,245 | cpp | C++ | src/cpp/puzzlelist.cpp | kotrenn/twiztor | fbd42506f9e534269df2ab870e17446bbc7cb6c3 | [
"libtiff",
"Libpng",
"BSD-3-Clause"
] | null | null | null | src/cpp/puzzlelist.cpp | kotrenn/twiztor | fbd42506f9e534269df2ab870e17446bbc7cb6c3 | [
"libtiff",
"Libpng",
"BSD-3-Clause"
] | null | null | null | src/cpp/puzzlelist.cpp | kotrenn/twiztor | fbd42506f9e534269df2ab870e17446bbc7cb6c3 | [
"libtiff",
"Libpng",
"BSD-3-Clause"
] | null | null | null | #include "puzzlelist.h"
#include "glgraphics.h"
#include "puzzlereader.h"
PuzzleList::PuzzleList(Camera *camera)
:m_camera(camera),
m_puzzleDataList(),
m_currentIndex(0),
m_puzzleRenderer()
{
}
PuzzleList::~PuzzleList()
{
for (PuzzleData *puzzleData : m_puzzleDataList)
delete puzzleData;
}
void PuzzleList... | 22.700535 | 91 | 0.699176 | [
"render",
"vector"
] |
6491c0a5661aacbb5d7257b9368286f9b9132733 | 4,968 | cpp | C++ | Source/ModuleWindow.cpp | BooLAW/3DEngine18 | 0b93691287d95b2de46baf7b2762878961d5f099 | [
"MIT"
] | 1 | 2020-04-17T07:13:37.000Z | 2020-04-17T07:13:37.000Z | Source/ModuleWindow.cpp | BooLAW/3DEngine18 | 0b93691287d95b2de46baf7b2762878961d5f099 | [
"MIT"
] | 2 | 2018-10-10T18:34:38.000Z | 2018-10-18T12:32:44.000Z | Source/ModuleWindow.cpp | BooLAW/3DEngine18 | 0b93691287d95b2de46baf7b2762878961d5f099 | [
"MIT"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "ModuleWindow.h"
ModuleWindow::ModuleWindow(bool start_enabled) : Module( start_enabled)
{
window = NULL;
screen_surface = NULL;
}
// Destructor
ModuleWindow::~ModuleWindow()
{
}
// Called before render is available
bool ModuleWindow::Init()
{
CONSOLE_LOG_INF... | 22.278027 | 107 | 0.692834 | [
"render"
] |
649a6215cb91b79677c52e6d92d2248870a7d84e | 43,632 | hpp | C++ | modules/irc/Session.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | modules/irc/Session.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | modules/irc/Session.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | #ifndef _SQIRC_SESSION_HPP_
#define _SQIRC_SESSION_HPP_
// ------------------------------------------------------------------------------------------------
#include "Common.hpp"
// ------------------------------------------------------------------------------------------------
#include <vector>
// ------------------... | 38.073298 | 123 | 0.416369 | [
"object",
"vector"
] |
649d28481902f4a07dcafe6cc9f9718e7b2a1fa2 | 6,033 | cc | C++ | src/atlas/functionspace/CubedSphereColumns.cc | ecmwf/atlas | d589893bf6aa28c6df649a46d642fab006b00a8d | [
"Apache-2.0"
] | 67 | 2018-03-01T06:56:49.000Z | 2022-03-08T18:44:47.000Z | src/atlas/functionspace/CubedSphereColumns.cc | ecmwf/atlas | d589893bf6aa28c6df649a46d642fab006b00a8d | [
"Apache-2.0"
] | 93 | 2018-12-07T17:38:04.000Z | 2022-03-31T10:04:51.000Z | src/atlas/functionspace/CubedSphereColumns.cc | ecmwf/atlas | d589893bf6aa28c6df649a46d642fab006b00a8d | [
"Apache-2.0"
] | 33 | 2018-02-28T17:06:19.000Z | 2022-01-20T12:12:27.000Z | /*
* (C) Crown Copyright 2021 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
#include "atlas/functionspace/CubedSphereColumns.h"
#include "atlas/field/Field.h"
#include "atlas/mesh/HybridElements.... | 34.672414 | 119 | 0.737444 | [
"mesh"
] |
64a359290649356006bd4aff9c9dca20db0a0568 | 571 | cpp | C++ | kahn.cpp | sohumsikdar/CP-Implementations | 6c4500ef488c8daa36831ada63cd2b170fca1fdc | [
"MIT"
] | null | null | null | kahn.cpp | sohumsikdar/CP-Implementations | 6c4500ef488c8daa36831ada63cd2b170fca1fdc | [
"MIT"
] | null | null | null | kahn.cpp | sohumsikdar/CP-Implementations | 6c4500ef488c8daa36831ada63cd2b170fca1fdc | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<ll> vl;
bool kahn(vector<vl>& g, vector<bool>& vis, vl& inDeg, vl& topSorted){
queue <ll> bfsQ;
for(int i = 1; i < g.size(); i++){
if(inDeg[i] == 0){
bfsQ.push(i);
}
}
while(!bfsQ.empty()... | 19.689655 | 70 | 0.483363 | [
"vector"
] |
64a65633a4ae84bede68aee5e5956fe78c6dcc9f | 4,515 | cpp | C++ | Section Assignment 8/Balanced Trees/balanced_trees.cpp | daniel22373/cs106b | aa11e5346011a9ae5a3d07dda8d3974afb16e279 | [
"MIT"
] | 1 | 2021-05-19T03:28:58.000Z | 2021-05-19T03:28:58.000Z | Section Assignment 8/Balanced Trees/balanced_trees.cpp | daedaldan/cs106b | aa11e5346011a9ae5a3d07dda8d3974afb16e279 | [
"MIT"
] | null | null | null | Section Assignment 8/Balanced Trees/balanced_trees.cpp | daedaldan/cs106b | aa11e5346011a9ae5a3d07dda8d3974afb16e279 | [
"MIT"
] | null | null | null | // CS106B: Programming Abstractions Assignment 8 Problem 5
// code to print binary tree is from www.geeksforgeeks.org/print-binary-tree-2-dimensions/
#include <iostream>
#include <vector>
using namespace std;
struct nodeT {
string key;
nodeT * left;
nodeT * right;
};
// Function to print binary tree in ... | 22.351485 | 90 | 0.561462 | [
"vector"
] |
64b2d51e645a8f9134c5f2988a199dd0a196ec31 | 17,579 | cpp | C++ | dev/spark/Gem/Code/Components/VariableManagerComponent.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 2 | 2020-08-20T03:40:24.000Z | 2021-02-07T20:31:43.000Z | dev/spark/Gem/Code/Components/VariableManagerComponent.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | null | null | null | dev/spark/Gem/Code/Components/VariableManagerComponent.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.000Z |
#include "spark_precompiled.h"
#include "VariableManagerComponent.h"
#include <AzFramework/Network/NetworkContext.h>
#include <AzFramework/Network/NetBindingHandlerBus.h>
#include <GridMate/Replica/ReplicaFunctions.h>
#include <GridMate/Replica/ReplicaChunk.h>
#include <GridMate/Replica/DataSet.h>
#include <GridMa... | 31.560144 | 173 | 0.772683 | [
"vector"
] |
64b2de9d556dc898c70e39d1e4bd3a754dfb397e | 1,763 | cpp | C++ | Facebook Hacker Cup 2021/Qualification Round/B.cpp | Lee-Siwon/Online-Contest | c127866fec56ba027347a8da65bde587b55602ea | [
"Unlicense"
] | null | null | null | Facebook Hacker Cup 2021/Qualification Round/B.cpp | Lee-Siwon/Online-Contest | c127866fec56ba027347a8da65bde587b55602ea | [
"Unlicense"
] | null | null | null | Facebook Hacker Cup 2021/Qualification Round/B.cpp | Lee-Siwon/Online-Contest | c127866fec56ba027347a8da65bde587b55602ea | [
"Unlicense"
] | null | null | null | #include<iostream>
#include<algorithm>
#include<vector>
#include<cmath>
#include<stack>
#include<fstream>
#include<map>
#include<stdlib.h>
#include<stdio.h>
#include<string>
#include<string.h>
#include<time.h>
using namespace std;
map<int, int> cake;
stack<int> check;
void init(){
}
int solve(s... | 18.175258 | 46 | 0.462847 | [
"vector"
] |
64b7d4da5011ff5c8486fa0a2d0fc9728334e5cb | 11,872 | cc | C++ | chrome/browser/extensions/activity_log/activity_log_unittest.cc | hujiajie/pa-chromium | 1816ff80336a6efd1616f9e936880af460b1e105 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-05-03T06:33:56.000Z | 2021-11-14T18:39:42.000Z | chrome/browser/extensions/activity_log/activity_log_unittest.cc | hujiajie/pa-chromium | 1816ff80336a6efd1616f9e936880af460b1e105 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/activity_log/activity_log_unittest.cc | hujiajie/pa-chromium | 1816ff80336a6efd1616f9e936880af460b1e105 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "base/run_loop.h"
#include "base/synchroniz... | 38.051282 | 79 | 0.710074 | [
"vector"
] |
64bbc04090b9aea738fa7677d484a692e6046a5a | 19,058 | inl | C++ | 3es-core/3esmatrix4.inl | data61/3es-core | 597f25aa604cb446dcc1f08b9d3bc8f89f3043b9 | [
"Zlib"
] | 2 | 2020-06-11T04:16:08.000Z | 2020-06-20T19:57:10.000Z | 3es-core/3esmatrix4.inl | csiro-robotics/3es-core | 597f25aa604cb446dcc1f08b9d3bc8f89f3043b9 | [
"Zlib"
] | null | null | null | 3es-core/3esmatrix4.inl | csiro-robotics/3es-core | 597f25aa604cb446dcc1f08b9d3bc8f89f3043b9 | [
"Zlib"
] | null | null | null | //
// author: Kazys Stepanas
//
#include <cstdlib>
namespace tes
{
template <typename T>
Matrix4<T> operator*(const Matrix4<T> &a, const Matrix4<T> &b)
{
Matrix4<T> m;
m(0, 0) = a(0, 0) * b(0, 0) + a(0, 1) * b(1, 0) + a(0, 2) * b(2, 0) + a(0, 3) * b(3, 0);
m(0, 1) = a(0, 0) * b(0, 1) + a(0, 1) * b(1, 1) + a(0, 2... | 31.605307 | 120 | 0.553311 | [
"transform"
] |
64c0b5ae2209c895e7e0c0002142e1bbc348f0d9 | 2,636 | hxx | C++ | np/spiegel/platform/common.hxx | juewuer/novaprova | 7ca3d28975d7d155e52b53ba52107fe7bb29e5d2 | [
"Apache-2.0"
] | null | null | null | np/spiegel/platform/common.hxx | juewuer/novaprova | 7ca3d28975d7d155e52b53ba52107fe7bb29e5d2 | [
"Apache-2.0"
] | null | null | null | np/spiegel/platform/common.hxx | juewuer/novaprova | 7ca3d28975d7d155e52b53ba52107fe7bb29e5d2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2011-2012 Gregory Banks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 32.95 | 99 | 0.58953 | [
"vector"
] |
64c43bcd9b08a1f604fd61899dc3e910a24b397a | 16,967 | cpp | C++ | src/core/lib/core_ui_framework/action_manager.cpp | wgsyd/wgtf | d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed | [
"BSD-3-Clause"
] | 28 | 2016-06-03T05:28:25.000Z | 2019-02-14T12:04:31.000Z | src/core/lib/core_ui_framework/action_manager.cpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | null | null | null | src/core/lib/core_ui_framework/action_manager.cpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | 14 | 2016-06-03T05:52:27.000Z | 2019-03-21T09:56:03.000Z | #include "action_manager.hpp"
#include "core_common/assert.hpp"
#include "core_logging/logging.hpp"
#include "core_ui_framework/i_action.hpp"
#include "core_ui_framework/i_window.hpp"
#include "core_serialization_xml/simple_api_for_xml.hpp"
#include "core_reflection/property_accessor.hpp"
#include "core_ui_framework/i... | 29.507826 | 113 | 0.665409 | [
"vector",
"transform"
] |
64c4d9e407b89ff0add8a98416d20e2ad3325cbb | 3,890 | cpp | C++ | src/ae_deep_conv.cpp | wichtounet/word_spotting | 7e25513acc684d79f5c6b622d1d2e55fc40d3192 | [
"MIT"
] | 4 | 2017-11-07T02:36:30.000Z | 2022-01-20T17:46:06.000Z | src/ae_deep_conv.cpp | wichtounet/word_spotting | 7e25513acc684d79f5c6b622d1d2e55fc40d3192 | [
"MIT"
] | null | null | null | src/ae_deep_conv.cpp | wichtounet/word_spotting | 7e25513acc684d79f5c6b622d1d2e55fc40d3192 | [
"MIT"
] | 1 | 2019-12-11T11:03:25.000Z | 2019-12-11T11:03:25.000Z | //=======================================================================
// Copyright Baptiste Wicht 2015-2017.
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
#ifndef S... | 44.204545 | 246 | 0.678663 | [
"vector"
] |
64c5d2361485c94d81a8d535a534a452795ec42c | 526 | cpp | C++ | tests/range/filtered_range.cpp | AlCash07/ACTL | 15de4e2783d8e39dbd8e10cd635aaab328ca4f5b | [
"BSL-1.0"
] | 17 | 2018-08-22T06:48:20.000Z | 2022-02-22T21:20:09.000Z | tests/range/filtered_range.cpp | AlCash07/ACTL | 15de4e2783d8e39dbd8e10cd635aaab328ca4f5b | [
"BSL-1.0"
] | null | null | null | tests/range/filtered_range.cpp | AlCash07/ACTL | 15de4e2783d8e39dbd8e10cd635aaab328ca4f5b | [
"BSL-1.0"
] | null | null | null | // Copyright 2018 Oleksandr Bacherikov.
//
// Distributed under the Boost Software License, Version 1.0
// (see accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
#include <actl/range/algorithm.hpp>
#include <actl/range/filtered_range.hpp>
#include <actl/std/vector.hpp>
#include "test... | 27.684211 | 63 | 0.665399 | [
"vector"
] |
64cadbb9f77867a8bd43b81e3eda4be981df959c | 2,209 | hpp | C++ | src/OpenAnalysis/DFAGen/ReachingDefs/auto_ReachingDefsStandard.hpp | sriharikrishna/OpenAnalysis | 0d0c3819bd091cc0c83db5555cc20bfbc07ecbdc | [
"BSD-3-Clause"
] | null | null | null | src/OpenAnalysis/DFAGen/ReachingDefs/auto_ReachingDefsStandard.hpp | sriharikrishna/OpenAnalysis | 0d0c3819bd091cc0c83db5555cc20bfbc07ecbdc | [
"BSD-3-Clause"
] | null | null | null | src/OpenAnalysis/DFAGen/ReachingDefs/auto_ReachingDefsStandard.hpp | sriharikrishna/OpenAnalysis | 0d0c3819bd091cc0c83db5555cc20bfbc07ecbdc | [
"BSD-3-Clause"
] | null | null | null |
/* ReachingDefsStandard.hpp
NOTE: This file was automatically generated by DFAGen. It is the interface
for the ReachingDefs analysis results.
*/
#ifndef ReachingDefsStandard_hpp
#define ReachingDefsStandard_hpp
#include <cassert>
#include <iostream>
#include <map>
#include <set>
#include <vector>
#inclu... | 27.962025 | 78 | 0.717067 | [
"vector"
] |
64d3de099b9678ac9aab0025b634a84e29853016 | 12,018 | cpp | C++ | src/WfpTool/FilterApiProvider.cpp | imgen/WFPTool | 66fbc0a3c890a5da8801d907b0aaed168c1a5ddd | [
"MIT"
] | 21 | 2017-05-03T19:14:22.000Z | 2022-03-21T06:43:05.000Z | src/WfpTool/FilterApiProvider.cpp | imgen/WFPTool | 66fbc0a3c890a5da8801d907b0aaed168c1a5ddd | [
"MIT"
] | 1 | 2021-03-10T04:38:37.000Z | 2021-03-10T04:38:37.000Z | src/WfpTool/FilterApiProvider.cpp | imgen/WFPTool | 66fbc0a3c890a5da8801d907b0aaed168c1a5ddd | [
"MIT"
] | 12 | 2017-04-26T01:51:08.000Z | 2022-02-11T02:23:49.000Z | #include "stdafx.h"
#include "FilterApiProvider.h"
#include "WfpFilter.h"
#include "FilterApiErrors.h"
#include "NetworkAdapterUtils.h"
namespace wfptool
{
FilterApiProvider::~FilterApiProvider()
{
RemoveAllFilters();
}
void FilterApiProvider::DefineFilter(
vector<FilterGuidPair>& filters,
function<WfpFilte... | 24.728395 | 113 | 0.712515 | [
"vector"
] |
64d674acb530878622d029d4905ea979d2f0da04 | 2,990 | cpp | C++ | luogu/codes/P3806.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | 1 | 2018-12-22T06:43:59.000Z | 2018-12-22T06:43:59.000Z | luogu/codes/P3806.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | luogu/codes/P3806.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | /*************************************************************
* > File Name : P3806.cpp
* > Author : Tony
* > Created Time : 2019/09/13 22:16:40
* > Algorithm : 点分治
**************************************************************/
#include <bits/stdc++.h>
using namespace std;
inline... | 26 | 65 | 0.420067 | [
"vector"
] |
64dc47b87c0efe8ea9445780946dfbc87582d84f | 5,646 | cpp | C++ | src/FrameBase.cpp | charlie-lee/slam_demo | 0bb6cc6d20c6a728eea502a61456f83881144e59 | [
"MIT"
] | null | null | null | src/FrameBase.cpp | charlie-lee/slam_demo | 0bb6cc6d20c6a728eea502a61456f83881144e59 | [
"MIT"
] | null | null | null | src/FrameBase.cpp | charlie-lee/slam_demo | 0bb6cc6d20c6a728eea502a61456f83881144e59 | [
"MIT"
] | null | null | null | /**
* @file FrameBase.cpp
* @brief Implementation of FrameBase class for basic frame information.
* @author Charlie Li
* @date 2019.10.24
*/
#include "FrameBase.hpp"
#include <memory>
#include <opencv2/core.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/flann.hpp>
#include "Config.hpp"
#include "... | 28.23 | 76 | 0.580765 | [
"vector"
] |
64e0ccb64c02eb10d416a1ebf7bea5e7835c4bc7 | 10,501 | cc | C++ | src/vnsw/agent/ovs_tor_agent/ovsdb_client/unicast_mac_local_ovsdb.cc | jnpr-pranav/contrail-controller | 428eee37c28c31830fd764315794e1a6e52720c1 | [
"Apache-2.0"
] | 37 | 2020-09-21T10:42:26.000Z | 2022-01-09T10:16:40.000Z | src/vnsw/agent/ovs_tor_agent/ovsdb_client/unicast_mac_local_ovsdb.cc | jnpr-pranav/contrail-controller | 428eee37c28c31830fd764315794e1a6e52720c1 | [
"Apache-2.0"
] | 2 | 2018-12-04T02:20:52.000Z | 2018-12-22T06:16:30.000Z | src/vnsw/agent/ovs_tor_agent/ovsdb_client/unicast_mac_local_ovsdb.cc | jnpr-pranav/contrail-controller | 428eee37c28c31830fd764315794e1a6e52720c1 | [
"Apache-2.0"
] | 21 | 2020-08-25T12:48:42.000Z | 2022-03-22T04:32:18.000Z | /*
* Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
*/
extern "C" {
#include <ovsdb_wrapper.h>
};
#include <cmn/agent.h>
#include <oper/vn.h>
#include <oper/vrf.h>
#include <oper/vxlan.h>
#include <oper/physical_device_vn.h>
#include <ovs_tor_agent/tor_agent_init.h>
#include <ovsdb_client.h>
#include... | 35.003333 | 84 | 0.66927 | [
"vector"
] |
64e39e7e4c8ede701ec03e6389bcff3ef74113f2 | 556 | cpp | C++ | technocup/2017/elimination_round_1/convert.cpp | dluschan/olymp | dfbf4352dbc7f6fd7563e7bd19aff6fd67fb50b7 | [
"MIT"
] | null | null | null | technocup/2017/elimination_round_1/convert.cpp | dluschan/olymp | dfbf4352dbc7f6fd7563e7bd19aff6fd67fb50b7 | [
"MIT"
] | null | null | null | technocup/2017/elimination_round_1/convert.cpp | dluschan/olymp | dfbf4352dbc7f6fd7563e7bd19aff6fd67fb50b7 | [
"MIT"
] | 1 | 2018-09-14T18:50:48.000Z | 2018-09-14T18:50:48.000Z | #include <iostream>
#include <vector>
using namespace std;
int main()
{
int a = 2;
int b = 162;
//cin >> a >> b;
vector<int> proc;
proc.push_back(b);
while (a != b)
{
switch (b % 10)
{
case 0:
case 2:
case 4:
case 6:
case 8:
b /= 2;
proc.push_back(b);
break;
case 1:
b /= 10;
pr... | 12.930233 | 43 | 0.501799 | [
"vector"
] |
64ea17e216e029d1805d1b744721c0c243314254 | 1,152 | cpp | C++ | test/dsa/dsa_runtime/algorithms.cpp | Abstract-Everything/dsa | fcbc0f4fa1eb3493f0e1b8f05d7f159ea6f2342c | [
"Unlicense"
] | null | null | null | test/dsa/dsa_runtime/algorithms.cpp | Abstract-Everything/dsa | fcbc0f4fa1eb3493f0e1b8f05d7f159ea6f2342c | [
"Unlicense"
] | null | null | null | test/dsa/dsa_runtime/algorithms.cpp | Abstract-Everything/dsa | fcbc0f4fa1eb3493f0e1b8f05d7f159ea6f2342c | [
"Unlicense"
] | null | null | null | #include <dsa/algorithms.hpp>
#include <dsa/vector.hpp>
#include <utility>
#include <gtest/gtest.h>
TEST(is_heap, empty)
{
dsa::Vector<int> empty;
ASSERT_TRUE(dsa::is_heap(empty.begin(), empty.end(), std::less{}));
}
TEST(is_heap, just_root)
{
dsa::Vector<int> root{1};
ASSERT_TRUE(dsa::is_heap(root.begin(), r... | 20.571429 | 80 | 0.663194 | [
"vector"
] |
64fc3b027bd17a0ff32d0a88ecfed2b18dcb71f3 | 5,582 | cc | C++ | dsp/dspSmoothers.cc | cwsmith/core | 840fbf6ec49a63aeaa3945f11ddb224f6055ac9f | [
"BSD-3-Clause"
] | 138 | 2015-01-05T15:50:20.000Z | 2022-02-25T01:09:58.000Z | dsp/dspSmoothers.cc | cwsmith/core | 840fbf6ec49a63aeaa3945f11ddb224f6055ac9f | [
"BSD-3-Clause"
] | 337 | 2015-08-07T18:24:58.000Z | 2022-03-31T14:39:03.000Z | dsp/dspSmoothers.cc | cwsmith/core | 840fbf6ec49a63aeaa3945f11ddb224f6055ac9f | [
"BSD-3-Clause"
] | 70 | 2015-01-17T00:58:41.000Z | 2022-02-13T04:58:20.000Z | #include "dspSmoothers.h"
#include <math.h>
#include <apf.h>
#include <apfMesh2.h>
#include <apfNumbering.h>
#include <cmath>
#include <vector>
#include <queue>
using namespace std;
namespace dsp {
Smoother::~Smoother()
{
}
void Smoother::preprocess(apf::Mesh* m, Boundary& fixed, Boundary& moving)
{
(void)m;
(v... | 27.771144 | 102 | 0.516123 | [
"mesh",
"vector"
] |
5584743c781cc86effdaea00a7f8f71ca0ea4a86 | 41,561 | cc | C++ | wrappers/8.1.1/vtkImplicitModellerWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 6 | 2016-02-03T12:48:36.000Z | 2020-09-16T15:07:51.000Z | wrappers/8.1.1/vtkImplicitModellerWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 4 | 2016-02-13T01:30:43.000Z | 2020-03-30T16:59:32.000Z | wrappers/8.1.1/vtkImplicitModellerWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | null | null | null | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include <nan.h>
#include "vtkImageAlgorithmWrap.h"
#include "vtkImplicitModellerWrap.h"
#include "vtkObjectBaseWrap.h"
#include "vtkDataSetWrap.h"
#include "../../plus/p... | 33.409164 | 114 | 0.74298 | [
"object"
] |
5587dec4b68a7039a0403d2798a6264dece92387 | 2,830 | hpp | C++ | include/slate_api/lapack/lansy.hpp | langou/tlapack | e80ac67833e74a1f5bb406a21a658c175607838a | [
"BSD-3-Clause"
] | null | null | null | include/slate_api/lapack/lansy.hpp | langou/tlapack | e80ac67833e74a1f5bb406a21a658c175607838a | [
"BSD-3-Clause"
] | null | null | null | include/slate_api/lapack/lansy.hpp | langou/tlapack | e80ac67833e74a1f5bb406a21a658c175607838a | [
"BSD-3-Clause"
] | null | null | null | /// @file lansy.hpp
/// @author Weslley S Pereira, University of Colorado Denver, USA
//
// Copyright (c) 2012-2022, University of Colorado Denver. All rights reserved.
//
// This file is part of <T>LAPACK.
// <T>LAPACK is free software: you can redistribute it and/or modify it under
// the terms of the BSD 3-Clause li... | 35.375 | 131 | 0.648057 | [
"vector"
] |
5592608265e46409fd363a145f94279322ad2e24 | 1,386 | cpp | C++ | SimulationUI/projects/copter_simulation/Aerodynamics/AerodynamicsDatabase.cpp | eanswer/LearningToFly | 8d1eeb5a99b185358ec94ba65afceb6747d6438d | [
"MIT"
] | 24 | 2019-08-13T02:39:01.000Z | 2022-03-03T15:44:54.000Z | SimulationUI/projects/copter_simulation/Aerodynamics/AerodynamicsDatabase.cpp | eanswer/LearningToFly | 8d1eeb5a99b185358ec94ba65afceb6747d6438d | [
"MIT"
] | 4 | 2020-11-16T02:03:09.000Z | 2021-08-19T08:16:48.000Z | SimulationUI/projects/copter_simulation/Aerodynamics/AerodynamicsDatabase.cpp | eanswer/LearningToFly | 8d1eeb5a99b185358ec94ba65afceb6747d6438d | [
"MIT"
] | 11 | 2019-07-28T09:11:40.000Z | 2022-03-17T08:08:27.000Z | #include "Aerodynamics/AerodynamicsDatabase.h"
namespace copter_simulation {
AerodynamicsDatabase::AerodynamicsDatabase()
:_angle_of_attack_0(PI / 18.0f), _area(0.0f),
_AR(0.0f), _Cl_0(0.2f), _Cd_0(0.0f), _e(0.9f) {}
AerodynamicsDatabase::~AerodynamicsDatabase() {}
void AerodynamicsDatabase::Ini... | 30.130435 | 101 | 0.712843 | [
"vector"
] |
55988f4b6ce7cfc842dd77ff57749b93dd5a0a12 | 626 | cpp | C++ | 2017/sem1/seminar3/2_intro_file_reading/main.cpp | ivafanas/cpp_shad_students | 3c78d1675494b963cd03a123d96d4a601bbd04cd | [
"MIT"
] | 12 | 2019-08-18T19:34:26.000Z | 2022-03-17T13:33:24.000Z | 2017/sem1/seminar3/2_intro_file_reading/main.cpp | ivafanas/cpp_shad_students | 3c78d1675494b963cd03a123d96d4a601bbd04cd | [
"MIT"
] | 21 | 2017-09-20T05:26:16.000Z | 2019-10-19T10:13:47.000Z | 2017/sem1/seminar3/2_intro_file_reading/main.cpp | ivafanas/cpp_shad_students | 3c78d1675494b963cd03a123d96d4a601bbd04cd | [
"MIT"
] | 14 | 2017-11-14T19:39:10.000Z | 2022-01-05T02:09:25.000Z | #include <fstream>
#include <iostream>
#include <vector>
int main()
{
// std::ifstream ifs("input.txt");
//
// int x = 0, y = 0;
// ifs >> x;
// ifs >> y;
//
// std::cout << x + y << std::endl;
std::ifstream ifs("input.txt");
if (!ifs)
{
std::cerr << "ERROR: cannot open input.txt file" << std::endl;
re... | 15.65 | 64 | 0.563898 | [
"vector"
] |
55a3d4df841f6f49739e25e7acc94efaafba6b0a | 898 | cpp | C++ | test/info/additional_functions/max_key_size.cpp | arkantos493/MPICXX | ffbaeaaa3c7248e2087c3716ec71e0612aafe689 | [
"MIT"
] | 1 | 2020-10-20T06:53:05.000Z | 2020-10-20T06:53:05.000Z | test/info/additional_functions/max_key_size.cpp | arkantos493/MPICXX | ffbaeaaa3c7248e2087c3716ec71e0612aafe689 | [
"MIT"
] | null | null | null | test/info/additional_functions/max_key_size.cpp | arkantos493/MPICXX | ffbaeaaa3c7248e2087c3716ec71e0612aafe689 | [
"MIT"
] | 1 | 2020-08-13T17:46:40.000Z | 2020-08-13T17:46:40.000Z | /**
* @file
* @author Marcel Breyer
* @date 2020-07-29
* @copyright This file is distributed under the MIT License.
*
* @brief Test cases for the @ref mpicxx::info::max_key_size() static member function provided by the @ref mpicxx::info class.
* @details Testsuite: *NonMemberFunctionTest*
* | test case name | t... | 29.933333 | 126 | 0.665924 | [
"object"
] |
55a54b7d0aaa351df49f7abdf69f7a7a8c6ac9cd | 2,216 | cpp | C++ | semana6/J.cpp | AllanNozomu/MC521 | 92e44eaee36b6adf4c4655e3b32d3ca2948ee03a | [
"MIT"
] | null | null | null | semana6/J.cpp | AllanNozomu/MC521 | 92e44eaee36b6adf4c4655e3b32d3ca2948ee03a | [
"MIT"
] | null | null | null | semana6/J.cpp | AllanNozomu/MC521 | 92e44eaee36b6adf4c4655e3b32d3ca2948ee03a | [
"MIT"
] | null | null | null | bool debug = true;
#include<vector>
#include<stack>
#include<map>
#include<bitset>
#include<unordered_map>
#include<set>
#include<string>
#include<iostream>
#include<algorithm>
#include<stdlib.h>
#include<string.h>
#include<stdio.h>
#include<math.h>
using namespace std;
typedef pair<int,int> pii;
#define spc " "
#d... | 21.940594 | 107 | 0.545578 | [
"vector"
] |
55a8aefcb0bfa8dbaf2a7e1afe91c56ad2ec0163 | 1,782 | cpp | C++ | src/atcoder/arc086/arc086_a/main_0.cpp | kzmsh/compete | 5cbe8062689a10bd81c97612b800fd434d93aa3f | [
"MIT"
] | null | null | null | src/atcoder/arc086/arc086_a/main_0.cpp | kzmsh/compete | 5cbe8062689a10bd81c97612b800fd434d93aa3f | [
"MIT"
] | null | null | null | src/atcoder/arc086/arc086_a/main_0.cpp | kzmsh/compete | 5cbe8062689a10bd81c97612b800fd434d93aa3f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using i32 = int32_t;
using i64 = int64_t;
using u32 = uint32_t;
using u64 = uint64_t;
using f32 = float;
using f64 = double;
template<typename T>
bool choose_min(T &min, const T &value) {
if (min > value) {
min = value;
return true;
}
return f... | 20.72093 | 135 | 0.572391 | [
"vector"
] |
55ade133f27cd63a46702e23415da5ef53137877 | 2,854 | cpp | C++ | TerraForge3D/src/Base/OpenCL/ComputeKernel.cpp | lunaboards-dev/TerraForge3D | 90ac770d58905ab34c5c49aff826f511bf5f23bf | [
"MIT"
] | 1 | 2022-02-22T09:35:53.000Z | 2022-02-22T09:35:53.000Z | TerraForge3D/src/Base/OpenCL/ComputeKernel.cpp | lunaboards-dev/TerraForge3D | 90ac770d58905ab34c5c49aff826f511bf5f23bf | [
"MIT"
] | null | null | null | TerraForge3D/src/Base/OpenCL/ComputeKernel.cpp | lunaboards-dev/TerraForge3D | 90ac770d58905ab34c5c49aff826f511bf5f23bf | [
"MIT"
] | null | null | null | #include "ComputeKernel.h"
#include <iostream>
static void OnError(std::string message)
{
std::cout << "OpenCL Error : " << message << std::endl;
}
static void OnStatus(std::string message)
{
std::cout << "OpenCL Status : " << message << std::endl;
}
ComputeKernel::ComputeKernel()
:ComputeKernel(OnError, OnStatu... | 22.650794 | 115 | 0.701822 | [
"vector"
] |
55c2e67eeb982aad8e9a9aeaa46ce312d1b5d60a | 1,833 | cpp | C++ | problems-base/hdu/hdu-beginner/hdu-5.2.7-entropy/solution.cpp | PeterYHChen/myBlog | ab731097a4f5ad662a9447437efcf50dc17c898e | [
"MIT"
] | 1 | 2017-02-19T09:56:08.000Z | 2017-02-19T09:56:08.000Z | problems-base/hdu/hdu-beginner/hdu-5.2.7-entropy/solution.cpp | PeterYHChen/myBlog | ab731097a4f5ad662a9447437efcf50dc17c898e | [
"MIT"
] | null | null | null | problems-base/hdu/hdu-beginner/hdu-5.2.7-entropy/solution.cpp | PeterYHChen/myBlog | ab731097a4f5ad662a9447437efcf50dc17c898e | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <queue>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
using namespace std;
int cnt[27];
struct Node{
char symbol;
int freq;
Node* next[2];
};
class comp{
public:
bool operator()(Node &a, Node &b)
{
return a.freq > b.freq;
}
};
void init()
{
memse... | 14.433071 | 71 | 0.531369 | [
"vector"
] |
55ce37611791e6ce198745cca5c46b8db2f7f069 | 5,697 | cc | C++ | archival/lzip-1.19/encoder_base.cc | myzhang1029/zmymingw | 4c6b6088fb8a03248a1e6d9d6126dfaf225ffa56 | [
"CC0-1.0"
] | null | null | null | archival/lzip-1.19/encoder_base.cc | myzhang1029/zmymingw | 4c6b6088fb8a03248a1e6d9d6126dfaf225ffa56 | [
"CC0-1.0"
] | null | null | null | archival/lzip-1.19/encoder_base.cc | myzhang1029/zmymingw | 4c6b6088fb8a03248a1e6d9d6126dfaf225ffa56 | [
"CC0-1.0"
] | null | null | null | /* Lzip - LZMA lossless data compressor
Copyright (C) 2008-2017 Antonio Diaz Diaz.
This program 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 the License, or
(at your op... | 31.302198 | 77 | 0.661401 | [
"vector"
] |
55cf59ddba691b8ac3bb7af570f4cbb756e9aa23 | 617 | hh | C++ | src/nqsok/transform.hh | CaffeineViking/nqsok | 1f4c7c2b7e7e907facd794b3267f07a2e01f6f87 | [
"MIT"
] | 1 | 2019-06-18T07:17:51.000Z | 2019-06-18T07:17:51.000Z | src/nqsok/transform.hh | CaffeineViking/nqsok | 1f4c7c2b7e7e907facd794b3267f07a2e01f6f87 | [
"MIT"
] | null | null | null | src/nqsok/transform.hh | CaffeineViking/nqsok | 1f4c7c2b7e7e907facd794b3267f07a2e01f6f87 | [
"MIT"
] | null | null | null | #ifndef NQSOK_TRANSFORM_HH
#define NQSOK_TRANSFORM_HH
#include <glm/glm.hpp>
namespace nq {
class Transform final {
public:
Transform() = default;
Transform(const glm::mat4& matrix)
: transform {matrix} {}
void scale(const glm::vec3&);
void translate(const glm... | 24.68 | 58 | 0.598055 | [
"transform"
] |
55d11bdaeb3c62b99c1dfbc72994c9a2aeb30ec3 | 14,319 | cpp | C++ | fm_commands.cpp | sugawaray/filemanager | 3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1 | [
"MIT"
] | null | null | null | fm_commands.cpp | sugawaray/filemanager | 3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1 | [
"MIT"
] | null | null | null | fm_commands.cpp | sugawaray/filemanager | 3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <algorithm>
#include <iostream>
#include <iterator>
#include <memory>
#include <string>
#include <utility>
#include <unistd.h>
#include "absolute_path.h"
#include "except.h"
#include "filesystem.h"
#include "filemanager.h"
#include "fm_commands.h"
#include "fm_filesystem.h"
#include "fm_map_... | 18.620286 | 73 | 0.674488 | [
"vector",
"transform"
] |
55dd7a86684f77e1d382cf67219ebdf96e32009b | 8,863 | cpp | C++ | src/appleseed/renderer/meta/tests/test_bsdfmix.cpp | PaulDoessel/appleseed | 142908e05609cd802b3ab937ff27ef2b73dd3088 | [
"MIT"
] | null | null | null | src/appleseed/renderer/meta/tests/test_bsdfmix.cpp | PaulDoessel/appleseed | 142908e05609cd802b3ab937ff27ef2b73dd3088 | [
"MIT"
] | null | null | null | src/appleseed/renderer/meta/tests/test_bsdfmix.cpp | PaulDoessel/appleseed | 142908e05609cd802b3ab937ff27ef2b73dd3088 | [
"MIT"
] | null | null | null |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2016 Francois Beaune, The appleseedhq Organization
//
... | 36.473251 | 124 | 0.658016 | [
"vector"
] |
55e345f343dbb6d66b98618ba1764f9694bfb790 | 7,380 | cpp | C++ | demo/mypaintview.cpp | CandyFace/qtmypaint | e170e42e4f83b203ee86f67997ccc57fef14106e | [
"BSD-3-Clause"
] | 12 | 2017-04-20T17:57:21.000Z | 2020-09-15T15:32:29.000Z | demo/mypaintview.cpp | rodlie/qtmypaint | e170e42e4f83b203ee86f67997ccc57fef14106e | [
"BSD-3-Clause"
] | null | null | null | demo/mypaintview.cpp | rodlie/qtmypaint | e170e42e4f83b203ee86f67997ccc57fef14106e | [
"BSD-3-Clause"
] | 6 | 2017-08-29T04:05:13.000Z | 2021-03-01T07:09:24.000Z | /*
Copyright (c) 2016, François Téchené
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the ... | 31.948052 | 149 | 0.645257 | [
"transform",
"solid"
] |
55e4b2840d3e6ba7bf84c2bcf42c51bd32ceeb38 | 2,773 | cpp | C++ | Bacchus_Engine/ImporterMaterial.cpp | ForestGin/Bacchus_Engine | 4cdc9aa576fa3c91aed75654aa333ed78070b5ce | [
"MIT"
] | null | null | null | Bacchus_Engine/ImporterMaterial.cpp | ForestGin/Bacchus_Engine | 4cdc9aa576fa3c91aed75654aa333ed78070b5ce | [
"MIT"
] | null | null | null | Bacchus_Engine/ImporterMaterial.cpp | ForestGin/Bacchus_Engine | 4cdc9aa576fa3c91aed75654aa333ed78070b5ce | [
"MIT"
] | null | null | null | #include "ImporterMaterial.h"
#include "Application.h"
#include "FileSystem.h"
#include "ModuleTextures.h"
#include "ModuleResources.h"
#include "ComponentMaterial.h"
#include "ResourceMaterial.h"
#include "Assimp/include/scene.h"
#include "mmgr/mmgr.h"
ImporterMaterial::ImporterMaterial()
{
}
ImporterMaterial::~I... | 33.409639 | 259 | 0.756221 | [
"mesh"
] |
55e66b39f1bfc7e4072b38a48b709a4f7c946174 | 8,503 | hpp | C++ | tpls/pressio/include/pressio/rom/impl/rom_lspg_unsteady_hypred_updater_trilinos.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 29 | 2019-11-11T13:17:57.000Z | 2022-03-16T01:31:31.000Z | tpls/pressio/include/pressio/rom/impl/rom_lspg_unsteady_hypred_updater_trilinos.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 303 | 2019-09-30T10:15:41.000Z | 2022-03-30T08:24:04.000Z | tpls/pressio/include/pressio/rom/impl/rom_lspg_unsteady_hypred_updater_trilinos.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 4 | 2020-07-07T03:32:36.000Z | 2022-03-10T05:21:42.000Z | /*
//@HEADER
// ************************************************************************
//
// rom_lspg_unsteady_hypred_updater_trilinos.hpp
// Pressio
// Copyright 2019
// National Technology & Engineering Solutions of Sandia, LLC (NTESS)
//
// Under the terms of ... | 38.301802 | 88 | 0.70728 | [
"mesh",
"vector"
] |
55e91278040261d6629df7bcd8640cd04923545d | 13,001 | cpp | C++ | NEST-14.0-FPGA/models/gif_psc_exp.cpp | OpenHEC/SNN-simulator-on-PYNQcluster | 14f86a76edf4e8763b58f84960876e95d4efc43a | [
"MIT"
] | 45 | 2019-12-09T06:45:53.000Z | 2022-01-29T12:16:41.000Z | NEST-14.0-FPGA/models/gif_psc_exp.cpp | zlchai/SNN-simulator-on-PYNQcluster | 14f86a76edf4e8763b58f84960876e95d4efc43a | [
"MIT"
] | 2 | 2020-05-23T05:34:21.000Z | 2021-09-08T02:33:46.000Z | NEST-14.0-FPGA/models/gif_psc_exp.cpp | OpenHEC/SNN-simulator-on-PYNQcluster | 14f86a76edf4e8763b58f84960876e95d4efc43a | [
"MIT"
] | 10 | 2019-12-09T06:45:59.000Z | 2021-03-25T09:32:56.000Z | /*
* gif_psc_exp.cpp
*
* This file is part of NEST.
*
* Copyright (C) 2004 The NEST Initiative
*
* NEST 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 the License, or
* (a... | 28.201735 | 80 | 0.581109 | [
"vector"
] |
55ec9418cd47258545b7501dc45910e6edb26ae6 | 2,151 | cpp | C++ | llvm-2.9/tools/clang/test/SemaCXX/vararg-non-pod.cpp | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | llvm-2.9/tools/clang/test/SemaCXX/vararg-non-pod.cpp | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | llvm-2.9/tools/clang/test/SemaCXX/vararg-non-pod.cpp | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | // RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s -Wnon-pod-varargs
extern char version[];
class C {
public:
C(int);
void g(int a, ...);
static void h(int a, ...);
};
void g(int a, ...);
void t1()
{
C c(10);
g(10, c); // expected-warning{{cannot pass object of non-POD type 'C' through variadic funct... | 21.29703 | 150 | 0.649 | [
"object"
] |
55efa79874e20f6eb716845d17e3906bcdeecd8c | 946 | hpp | C++ | Include/FishEngine/Component.hpp | yushroom/FishEngine_-Experiment | 81e4c06f20f6b94dc561b358f8a11a092678aeeb | [
"MIT"
] | 1 | 2018-12-20T02:38:44.000Z | 2018-12-20T02:38:44.000Z | Include/FishEngine/Component.hpp | yushroom/FishEngine_-Experiment | 81e4c06f20f6b94dc561b358f8a11a092678aeeb | [
"MIT"
] | null | null | null | Include/FishEngine/Component.hpp | yushroom/FishEngine_-Experiment | 81e4c06f20f6b94dc561b358f8a11a092678aeeb | [
"MIT"
] | 1 | 2018-10-25T19:40:22.000Z | 2018-10-25T19:40:22.000Z | #pragma once
#include "Object.hpp"
namespace FishEngine
{
class GameObject;
class Transform;
class Prefab;
class Component : public Object
{
public:
DeclareObject(Component, 2);
Component(int classID, const char* className) : Object(classID, className)
{
}
virtual ~Component()
{
}
std::str... | 22 | 80 | 0.732558 | [
"object",
"transform"
] |
55f30c51c007d7f69c7e8dbfe955e5ba5b5734ec | 1,981 | cpp | C++ | 26.cpp | DouglasSherk/project-euler | f3b188b199ff31671c6d7683b15675be7484c5b8 | [
"MIT"
] | null | null | null | 26.cpp | DouglasSherk/project-euler | f3b188b199ff31671c6d7683b15675be7484c5b8 | [
"MIT"
] | null | null | null | 26.cpp | DouglasSherk/project-euler | f3b188b199ff31671c6d7683b15675be7484c5b8 | [
"MIT"
] | null | null | null | /*
Number theory-based solution.
Fractions with prime denominators always have repeating decimals. Non-primes
never do. Factors of primes never have higher amounts of repeating decimals than
the primes they are factors of. Thus we can evaluate only all primes from 1 to
1000 for repeating digits.
Calculate the order f... | 27.136986 | 87 | 0.632509 | [
"vector"
] |
55f51d21732c356e359297b0021aa132a9be208e | 3,208 | cpp | C++ | source/gameengine/Rasterizer/RAS_MaterialBucket.cpp | linluofeng/upbge | 50bc9bc923a41411461d662c0fddd58d1f0b3ab3 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2022-01-11T10:02:21.000Z | 2022-01-11T10:02:21.000Z | source/gameengine/Rasterizer/RAS_MaterialBucket.cpp | linluofeng/upbge | 50bc9bc923a41411461d662c0fddd58d1f0b3ab3 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | source/gameengine/Rasterizer/RAS_MaterialBucket.cpp | linluofeng/upbge | 50bc9bc923a41411461d662c0fddd58d1f0b3ab3 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | /*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program 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 the License, or (at your option) any later version.
*
* This program is d... | 26.081301 | 99 | 0.726309 | [
"mesh"
] |
55f7e060a178586f2509c2e45f566189449449e0 | 41,030 | cpp | C++ | c++/src/objmgr/seq_vector.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | c++/src/objmgr/seq_vector.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | c++/src/objmgr/seq_vector.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | /* $Id: seq_vector.cpp 369165 2012-07-17 12:12:12Z ivanov $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Work" un... | 31.658951 | 78 | 0.523934 | [
"object",
"vector"
] |
55fffcbf00aff9249bcaa04f7cb57663bbf9c412 | 26,160 | cpp | C++ | tests/unit_tests/serialization.cpp | hennecker/pebble | 9572b868f2157cb044a60ad68c9cffc798b17144 | [
"MIT"
] | 9 | 2015-07-10T11:40:33.000Z | 2020-05-17T01:09:13.000Z | tests/unit_tests/serialization.cpp | hennecker/pebble | 9572b868f2157cb044a60ad68c9cffc798b17144 | [
"MIT"
] | 1 | 2018-01-03T07:55:18.000Z | 2018-01-03T07:55:18.000Z | tests/unit_tests/serialization.cpp | hennecker/pebble | 9572b868f2157cb044a60ad68c9cffc798b17144 | [
"MIT"
] | 15 | 2016-03-14T03:14:50.000Z | 2020-05-09T11:48:58.000Z | // Copyright (c) 2012-2013 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <cstring>
#include <cstdint>
#include <cstdio>
#include <iostream>
#include <vector>
#include <boost/foreach.hpp>
... | 29.559322 | 105 | 0.726338 | [
"vector"
] |
36038027b259436fe5e9ef2225abfba30df5998e | 16,708 | cpp | C++ | libclamav/c++/llvm/lib/CodeGen/LLVMTargetMachine.cpp | watchdogdevel/wsdk-scanner-core | 7a2451bbee9ed9a7246eb5fbb21d09d7e0442240 | [
"BSL-1.0"
] | 1 | 2022-01-22T12:16:33.000Z | 2022-01-22T12:16:33.000Z | libclamav/c++/llvm/lib/CodeGen/LLVMTargetMachine.cpp | watchdogdevel/wsdk-scanner-core | 7a2451bbee9ed9a7246eb5fbb21d09d7e0442240 | [
"BSL-1.0"
] | null | null | null | libclamav/c++/llvm/lib/CodeGen/LLVMTargetMachine.cpp | watchdogdevel/wsdk-scanner-core | 7a2451bbee9ed9a7246eb5fbb21d09d7e0442240 | [
"BSL-1.0"
] | null | null | null | //===-- LLVMTargetMachine.cpp - Implement the LLVMTargetMachine class -----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 37.630631 | 80 | 0.675784 | [
"object",
"model"
] |
360c18939ac50dea0d34a3d2fee42390e9af5899 | 25,582 | cpp | C++ | src/bus_monitor.cpp | ibm-openbmc/ibm-panel | b3634eec7767d839f5e7a2cbf40964937a9700d8 | [
"Apache-2.0"
] | 2 | 2021-08-10T21:50:07.000Z | 2022-01-07T08:32:02.000Z | src/bus_monitor.cpp | ibm-openbmc/ibm-panel | b3634eec7767d839f5e7a2cbf40964937a9700d8 | [
"Apache-2.0"
] | 50 | 2021-07-23T06:21:49.000Z | 2022-03-25T10:46:03.000Z | src/bus_monitor.cpp | ibm-openbmc/ibm-panel | b3634eec7767d839f5e7a2cbf40964937a9700d8 | [
"Apache-2.0"
] | 8 | 2021-07-22T08:32:40.000Z | 2022-03-14T11:15:04.000Z | #include "bus_monitor.hpp"
#include "const.hpp"
#include "utils.hpp"
#include <algorithm>
#include <boost/algorithm/string.hpp>
#include <vector>
namespace panel
{
void PanelPresence::readPresentProperty(sdbusplus::message::message& msg)
{
if (msg.is_method_error())
{
std::cerr << "\n Error in readi... | 34.430686 | 80 | 0.546478 | [
"object",
"vector"
] |
3614f03792c2d98b6d2b60cdec51eff7322bdef7 | 224 | cpp | C++ | Easy/Build Array From Permutations.cpp | TheCodeAlpha26/Lets-LeetCode | 00110044763a683d262fed196f7b0742d2e8505f | [
"Apache-2.0"
] | null | null | null | Easy/Build Array From Permutations.cpp | TheCodeAlpha26/Lets-LeetCode | 00110044763a683d262fed196f7b0742d2e8505f | [
"Apache-2.0"
] | null | null | null | Easy/Build Array From Permutations.cpp | TheCodeAlpha26/Lets-LeetCode | 00110044763a683d262fed196f7b0742d2e8505f | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
vector<int> buildArray(vector<int>& n) {
int l=n.size();
for(int i=0;i<l;i++)
n.push_back(n[n[i]]);
n.erase(n.begin(),n.begin()+l);
return n;
}
};
| 20.363636 | 44 | 0.477679 | [
"vector"
] |
3619ff00e4366b82e2535d83d9c7665d675c76b7 | 4,876 | hpp | C++ | src/problem/ElasticProblem.hpp | ldXiao/polyfem | d4103af16979ff67d461a9ebe46a14bbc4dc8c7c | [
"MIT"
] | null | null | null | src/problem/ElasticProblem.hpp | ldXiao/polyfem | d4103af16979ff67d461a9ebe46a14bbc4dc8c7c | [
"MIT"
] | null | null | null | src/problem/ElasticProblem.hpp | ldXiao/polyfem | d4103af16979ff67d461a9ebe46a14bbc4dc8c7c | [
"MIT"
] | null | null | null | #pragma once
#include <polyfem/Problem.hpp>
#include <polyfem/ProblemWithSolution.hpp>
#include <vector>
#include <Eigen/Dense>
namespace polyfem
{
class ElasticProblem: public Problem
{
public:
ElasticProblem(const std::string &name);
void rhs(const std::string &formulation, const Eigen::MatrixXd &pts,const... | 35.852941 | 184 | 0.757588 | [
"mesh",
"vector"
] |
361a8a9a6f3dd4376368ac67e0d7ef7632c0ecf8 | 3,786 | cpp | C++ | ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_Oilpan.cpp | quadrotor-IITKgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | 1 | 2021-07-17T11:37:16.000Z | 2021-07-17T11:37:16.000Z | ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_Oilpan.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_Oilpan.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include <AP_HAL/AP_HAL.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1
#include "AP_InertialSensor_Oilpan.h"
#include <AP_ADC/AP_ADC.h>
const extern AP_HAL::HAL& hal;
// this driver assumes an AP_ADC object has been declared globally
extern AP... | 29.348837 | 84 | 0.698627 | [
"object"
] |
3621463d56e8338e744d8670039372b1bd91b0f0 | 27,578 | cpp | C++ | src/base/NetCDFUtilities.cpp | paullric/tempestextremes | a478fe4bd204fb83b00ba87708f9d21791260f9c | [
"Unlicense"
] | null | null | null | src/base/NetCDFUtilities.cpp | paullric/tempestextremes | a478fe4bd204fb83b00ba87708f9d21791260f9c | [
"Unlicense"
] | 4 | 2015-03-13T20:53:39.000Z | 2016-07-21T22:01:44.000Z | src/base/NetCDFUtilities.cpp | paullric/tempestextremes | a478fe4bd204fb83b00ba87708f9d21791260f9c | [
"Unlicense"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
///
/// \file NetCDFUtilities.cpp
/// \author Paul Ullrich
/// \version August 14, 2014
///
/// <remarks>
/// Copyright 2000-2014 Paul Ullrich
///
/// This file is distributed as part of the Tempest source code package.
/// Permissio... | 27.578 | 131 | 0.61317 | [
"vector"
] |
36214a73cbf7f04f029333b48ae98f4e4864e48e | 2,077 | hpp | C++ | src/matching2D.hpp | AndiA76/SFND_2D_Feature_Tracking | 0df4007dca2c0eab5969d5e547ed19ff784f0f8a | [
"MIT"
] | null | null | null | src/matching2D.hpp | AndiA76/SFND_2D_Feature_Tracking | 0df4007dca2c0eab5969d5e547ed19ff784f0f8a | [
"MIT"
] | null | null | null | src/matching2D.hpp | AndiA76/SFND_2D_Feature_Tracking | 0df4007dca2c0eab5969d5e547ed19ff784f0f8a | [
"MIT"
] | null | null | null | // ============================================================================
//
// Project 2.1: 2D Feature Tracking (Udacity Sensor Fusion Nanodegree)
//
// Authors: Andreas Albrecht using code base/skeleton provided by Udacity
//
// Source: https://github.com/udacity/SFND_2D_Feature_Tracking
//
// ... | 42.387755 | 133 | 0.701011 | [
"vector"
] |
362662cd92252eda0b140c0385bd7bc966573f1e | 1,634 | cpp | C++ | Essential Cpp/Exercise3_4v1.cpp | HuangJingGitHub/PracMakePert_C | 94e570c55d9e391913ccd9c5c72026ab926809b2 | [
"Apache-2.0"
] | 1 | 2019-10-17T03:13:29.000Z | 2019-10-17T03:13:29.000Z | Essential Cpp/Exercise3_4v1.cpp | HuangJingGitHub/PracMakePert_C-Cpp | 6ed39e757ad8ba7bdd75fffdaf28d17a294a11e5 | [
"Apache-2.0"
] | null | null | null | Essential Cpp/Exercise3_4v1.cpp | HuangJingGitHub/PracMakePert_C-Cpp | 6ed39e757ad8ba7bdd75fffdaf28d17a294a11e5 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <iterator>
#include <vector>
#include <string>
#include <algorithm>
#include <fstream>
#include <sstream>
using namespace std;
class even_elem
{
public:
bool operator()(int elem)
{
return elem%2 ? false : true;
}
};
void input_process(string &s_put, vector<in... | 24.029412 | 76 | 0.617503 | [
"vector"
] |
362a7c739c1c173730aa977881b707b31dd56d5d | 1,155 | hpp | C++ | Support/Modules/ObjectDatabase/ODBObjectLoader.hpp | graphisoft-python/TextEngine | 20c2ff53877b20fdfe2cd51ce7abdab1ff676a70 | [
"Apache-2.0"
] | 3 | 2019-07-15T10:54:54.000Z | 2020-01-25T08:24:51.000Z | Support/Modules/ObjectDatabase/ODBObjectLoader.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | null | null | null | Support/Modules/ObjectDatabase/ODBObjectLoader.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | 1 | 2020-09-26T03:17:22.000Z | 2020-09-26T03:17:22.000Z |
// *****************************************************************************
//
// Class ObjectLoader
//
// Module: ObjectDatabase
// Namespace: ODB
// Contact person: MB
//
// SG compatible
//
// *****************************************************************************
#i... | 20.263158 | 80 | 0.491775 | [
"object"
] |
1569040d32e0edef6f9a07392d098f62b2678d1c | 637 | cpp | C++ | docs/mfc/reference/codesnippet/CPP/cwnd-class_28.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 14 | 2018-01-28T18:10:55.000Z | 2021-11-16T13:21:18.000Z | docs/mfc/reference/codesnippet/CPP/cwnd-class_28.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/reference/codesnippet/CPP/cwnd-class_28.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 2 | 2018-11-01T12:33:08.000Z | 2021-11-16T13:21:19.000Z | // If pDialog points to a CDialog object with a combo box
// with the identifier IDC_DIRCOMBO, this call will populate
// the box with only the non-hidden subdirectories in the root
// directory of the C:\ drive.
TCHAR szPath[MAX_PATH];
_tcsncpy_s(szPath, MAX_PATH, _T("C:\\"), MAX_PATH);
pDialog-... | 45.5 | 72 | 0.712716 | [
"object"
] |
156d5edfd71c5fbab2a6a33f7ed0e78c670aedd1 | 4,612 | cpp | C++ | src/DB/CommandHandler/Handlers.cpp | Heliferepo/myDB | a02c8c8b01d987631b1a76928c11d0e67165468d | [
"Apache-2.0"
] | null | null | null | src/DB/CommandHandler/Handlers.cpp | Heliferepo/myDB | a02c8c8b01d987631b1a76928c11d0e67165468d | [
"Apache-2.0"
] | null | null | null | src/DB/CommandHandler/Handlers.cpp | Heliferepo/myDB | a02c8c8b01d987631b1a76928c11d0e67165468d | [
"Apache-2.0"
] | null | null | null | /**
* File : Handlers.cpp
* Author : Mattis DALLEAU <mattisdalleau@gmail.com>
* Date : 13.06.2021
* Last Modified Date: 13.06.2021
* Last Modified By : Mattis DALLEAU <mattisdalleau@gmail.com>
*/
#include <dbhlCommand.hpp>
static const char *ALL_HANDLER_COMMANDS_POSSIBLE =
... | 31.37415 | 130 | 0.630095 | [
"vector"
] |
158ee4e641ba566119694a8c1f7923ed198cb16b | 8,842 | cc | C++ | src/key_data.cc | rishi-e-kumar/tracer | b3f2dd034a8002e888793929fe3a5ea577c7525b | [
"MIT"
] | null | null | null | src/key_data.cc | rishi-e-kumar/tracer | b3f2dd034a8002e888793929fe3a5ea577c7525b | [
"MIT"
] | null | null | null | src/key_data.cc | rishi-e-kumar/tracer | b3f2dd034a8002e888793929fe3a5ea577c7525b | [
"MIT"
] | null | null | null | #include "key_data.h"
#include <glm/glm.hpp>
#include "key.h"
#include "scad.h"
#include "transform.h"
namespace scad {
namespace {
constexpr double kDefaultKeySpacing = 19;
// The direct distance between switch tops in the bowl.
constexpr double kBowlKeySpacing = 16.5;
constexpr double kDColumnRadius = 55.1;
cons... | 21.306024 | 100 | 0.55734 | [
"transform"
] |
1593f38bda97f576a1011c9a63742f20b11f1eda | 12,827 | cc | C++ | library/cgicc-3.0.1/src/Cgicc.cc | duardo56/khjb-0 | 4db371d9059b96e1e1e42757a8e349ca4529f79c | [
"Apache-2.0"
] | null | null | null | library/cgicc-3.0.1/src/Cgicc.cc | duardo56/khjb-0 | 4db371d9059b96e1e1e42757a8e349ca4529f79c | [
"Apache-2.0"
] | null | null | null | library/cgicc-3.0.1/src/Cgicc.cc | duardo56/khjb-0 | 4db371d9059b96e1e1e42757a8e349ca4529f79c | [
"Apache-2.0"
] | null | null | null | /*
* $Id: Cgicc.cc,v 1.15 1999/06/01 17:10:18 sbooth Exp $
*
* Copyright (C) 1996, 1997, 1998, 1999 Stephen F. Booth
*
* This program 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 ... | 24.667308 | 79 | 0.648866 | [
"vector"
] |
15a64a3219ec6cf9dea9bc1f8f5c37a387f87602 | 6,697 | cpp | C++ | solutions/LeetCode/C++/749.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | solutions/LeetCode/C++/749.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | solutions/LeetCode/C++/749.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 12 ms submission
class Solution {
int dy_[4] = { -1, 0, 1, 0 };
int dx_[4] = { 0, -1, 0, 1 };
vector<vector<int>> visited_;
int n_;
int m_;
public:
int containVirus(vector<vector<int>>& grid) {
n_ = g... | 34.34359 | 149 | 0.436315 | [
"vector"
] |
15b2a156b4a1c6ce4d4916e5e070af4fca196a14 | 17,621 | cpp | C++ | Source/WebCore/platform/graphics/cairo/PathCairo.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/platform/graphics/cairo/PathCairo.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/platform/graphics/cairo/PathCairo.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (C) 2007 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <wildfox@kde.org>
2004, 2005, 2006 Rob Buis <buis@kde.org>
2005, 2007 Apple Inc. All Rights reserved.
2007 Alp Toker <alp@atoker.com>
... | 32.51107 | 139 | 0.631179 | [
"vector",
"transform"
] |
15b9a5c045f9f9d7331668ec1948412112d14f03 | 822 | cpp | C++ | CGameEngine/src/Engine/ComponentBased/Transform.cpp | 3DExtended/C-GameEngine | 557b5894d4a574772c17efe729a872f3d192ee7e | [
"MIT"
] | 2 | 2017-09-05T12:35:16.000Z | 2019-10-26T09:56:35.000Z | CGameEngine/src/Engine/ComponentBased/Transform.cpp | 3DExtended/C-GameEngine | 557b5894d4a574772c17efe729a872f3d192ee7e | [
"MIT"
] | null | null | null | CGameEngine/src/Engine/ComponentBased/Transform.cpp | 3DExtended/C-GameEngine | 557b5894d4a574772c17efe729a872f3d192ee7e | [
"MIT"
] | null | null | null | #include "Transform.h"
#include "GameObject.h"
using namespace ENGINE;
glm::mat4 ENGINE::Transform::GetModelMatrix() {
if (gameObject->GetParent() != nullptr) {
return GetPosMatrix() * GetRotationMatrix() * GetScaleMatrix() * gameObject->GetParent()->transform.GetModelMatrix();
}
else {
return GetPosMatrix() * G... | 27.4 | 119 | 0.694647 | [
"transform"
] |
15b9cd3620482de8491d20faedca82b9772e8146 | 1,765 | cpp | C++ | Competitive Programming/String/Longest Substring Without Repeating Characters.cpp | shreejitverma/GeeksforGeeks | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-18T05:14:28.000Z | 2022-03-08T07:00:08.000Z | Competitive Programming/String/Longest Substring Without Repeating Characters.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 6 | 2022-01-13T04:31:04.000Z | 2022-03-12T01:06:16.000Z | Competitive Programming/String/Longest Substring Without Repeating Characters.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-14T19:53:53.000Z | 2022-02-18T05:14:30.000Z | /*
https://leetcode.com/problems/longest-substring-without-repeating-characters/
3. Longest Substring Without Repeating Characters
Medium
19505
891
Add to List
Share
Given a string s, find the length of the longest substring without repeating characters.
Example 1:
Input: s = "abcabcbb"
Output: 3
Explanation: T... | 18.010204 | 88 | 0.533144 | [
"vector"
] |
15c556be1462f6f19d4a4a18921e2aa0a6739a42 | 29,209 | cpp | C++ | dnn/NearestNeighbor/L1NNS/Cgraph.cpp | sk7755/postechDNN | ad1cd62a1364e5aa5e5624c64a93f09fb18b11b8 | [
"MIT"
] | null | null | null | dnn/NearestNeighbor/L1NNS/Cgraph.cpp | sk7755/postechDNN | ad1cd62a1364e5aa5e5624c64a93f09fb18b11b8 | [
"MIT"
] | null | null | null | dnn/NearestNeighbor/L1NNS/Cgraph.cpp | sk7755/postechDNN | ad1cd62a1364e5aa5e5624c64a93f09fb18b11b8 | [
"MIT"
] | null | null | null | #include"Cgraph.h"
Cgraph::Cgraph()
{}
int Cgraph::edgecnt()
{
return this->elist.size();
}
int Cgraph::vertexcnt()
{
return this->vcnt;
}
Edge* Cgraph::getedge(int i)
{
return this->elist[i];
}
Point* Cgraph::getvertex(int i)
{
return this->vlist[i];
}
vector<vector<double>> Cgraph::getmatrix()
{
return thi... | 31.139659 | 115 | 0.545243 | [
"vector"
] |
15c7b3cf5d0cca8ac2840abde718c09feb9b310b | 34,779 | cpp | C++ | lab_control_center/ui/commonroad/CommonroadViewUI.cpp | Durrrr95/cpm_lab | e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67 | [
"MIT"
] | 9 | 2020-06-24T11:22:15.000Z | 2022-01-13T14:14:13.000Z | lab_control_center/ui/commonroad/CommonroadViewUI.cpp | Durrrr95/cpm_lab | e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67 | [
"MIT"
] | 1 | 2021-05-10T13:48:04.000Z | 2021-05-10T13:48:04.000Z | lab_control_center/ui/commonroad/CommonroadViewUI.cpp | Durrrr95/cpm_lab | e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67 | [
"MIT"
] | 2 | 2021-11-08T11:59:29.000Z | 2022-03-15T13:50:54.000Z | #include "CommonroadViewUI.hpp"
/**
* \file CommonroadViewUI.cpp
* \ingroup lcc_ui
*/
CommonroadViewUI::CommonroadViewUI
(
std::shared_ptr<CommonRoadScenario> _commonroad_scenario,
std::shared_ptr<ObstacleSimulationManager> _obstacle_sim_manager
)
:
commonroad_scenario(_commonroad_scenario)... | 37.558315 | 190 | 0.654188 | [
"vector",
"model"
] |
15cb031628d8be71a588b7610f334909ca53878f | 14,734 | hpp | C++ | robot_diagrams_0.0.hpp | HebiRobotics/RobotDiagrams | 722040e919bd3ecf89fc5df65233aff9ce6ad6c8 | [
"MIT"
] | 5 | 2018-02-13T02:40:45.000Z | 2021-04-02T01:23:12.000Z | robot_diagrams_0.0.hpp | HebiRobotics/RobotDiagrams | 722040e919bd3ecf89fc5df65233aff9ce6ad6c8 | [
"MIT"
] | null | null | null | robot_diagrams_0.0.hpp | HebiRobotics/RobotDiagrams | 722040e919bd3ecf89fc5df65233aff9ce6ad6c8 | [
"MIT"
] | 1 | 2019-03-16T07:45:20.000Z | 2019-03-16T07:45:20.000Z | #include <cmath>
#include <algorithm>
#include <memory>
#include "simple_svg_1.0.0.hpp"
// Since M_PI isn't part of the C++ standard, we define it here to be more
// portable.
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
using namespace svg; // TODO: remove me!
namespace rob_diag
{
class Pose
{
public:
... | 31.960954 | 132 | 0.625017 | [
"object",
"vector"
] |
15deb95eb76a24b459d11f80e6f4e5d2e5b05906 | 6,085 | cpp | C++ | Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Bullet/Ragdoll/DBProJoints.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 231 | 2018-01-28T00:06:56.000Z | 2022-03-31T21:39:56.000Z | Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Bullet/Ragdoll/DBProJoints.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 9 | 2016-02-10T10:46:16.000Z | 2017-12-06T17:27:51.000Z | Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Bullet/Ragdoll/DBProJoints.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 66 | 2018-01-28T21:54:52.000Z | 2022-02-16T22:50:57.000Z |
// BulletPhysicsWrapper for DarkBasic Proffessional
//Stab In The Dark Software
//Copyright (c) 2002-2014
//http://stabinthedarksoftware.com
///#include "StdAfx.h"
#include "DBProJoints.h"
// externs to globals elsewhere
extern btDiscreteDynamicsWorld* g_dynamicsWorld;
struct MyContactResultCallback : public btCol... | 38.512658 | 245 | 0.800986 | [
"transform"
] |
15e6b47b0e3495d90569935f55b2fffd31cd5a94 | 9,724 | cpp | C++ | moses/biconcor/SuffixArray.cpp | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 3 | 2018-01-25T00:51:56.000Z | 2022-01-07T15:09:38.000Z | moses/biconcor/SuffixArray.cpp | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 1 | 2020-06-23T08:29:09.000Z | 2020-06-24T12:11:47.000Z | moses/biconcor/SuffixArray.cpp | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 3 | 2018-06-08T08:36:27.000Z | 2021-12-26T20:36:16.000Z | #include "SuffixArray.h"
#include <fstream>
#include <string>
#include <stdlib.h>
#include <cstring>
namespace {
const int LINE_MAX_LENGTH = 10000;
} // namespace
using namespace std;
SuffixArray::SuffixArray()
: m_array(NULL),
m_index(NULL),
m_buffer(NULL),
m_wordInSentence(NULL),
m_s... | 27.703704 | 147 | 0.603353 | [
"vector"
] |
15e9c8b20ced5f08753ac0d9e2ea8a4af5689f67 | 94,156 | cpp | C++ | pwiz_tools/Bumbershoot/idpicker/Qonverter/waffles/GRayTrace.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | 2 | 2019-12-28T21:24:36.000Z | 2020-04-18T03:52:05.000Z | pwiz_tools/Bumbershoot/idpicker/Qonverter/waffles/GRayTrace.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz_tools/Bumbershoot/idpicker/Qonverter/waffles/GRayTrace.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2006, Mike Gashler
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 the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
see http://www.gnu.org/copy... | 29.852885 | 204 | 0.663229 | [
"mesh",
"render",
"object",
"vector"
] |
15ec3106d1acf38d1c486cd2f46914eb2cd73bf2 | 1,413 | hpp | C++ | src/toolwidgetlabel.hpp | ToppleKek/pemdas | 713a8c3d1d3c634abf9624bd5456c80bdae47dd8 | [
"MIT"
] | null | null | null | src/toolwidgetlabel.hpp | ToppleKek/pemdas | 713a8c3d1d3c634abf9624bd5456c80bdae47dd8 | [
"MIT"
] | null | null | null | src/toolwidgetlabel.hpp | ToppleKek/pemdas | 713a8c3d1d3c634abf9624bd5456c80bdae47dd8 | [
"MIT"
] | null | null | null | #ifndef PEMDAS_TOOLWIDGETLABEL_HPP
#define PEMDAS_TOOLWIDGETLABEL_HPP
#include <QLabel>
#include <QEvent>
#include <QHoverEvent>
#include <QHelpEvent>
#include <QCursor>
#include <QPropertyAnimation>
#include <memory>
class toolwidgetlabel : public QLabel {
Q_OBJECT
public:
explicit toolwidgetla... | 25.690909 | 83 | 0.571125 | [
"geometry"
] |
15f2b8bcfda17cfd9fdc17c50b6cb0d23e53688f | 5,199 | cc | C++ | packager/media/codecs/hevc_decoder_configuration_record.cc | koln67/shaka-packager | 5b9fd409a5de502e8af2e46ee12840bd2226874d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,288 | 2016-05-25T01:20:31.000Z | 2022-03-02T23:56:56.000Z | packager/media/codecs/hevc_decoder_configuration_record.cc | koln67/shaka-packager | 5b9fd409a5de502e8af2e46ee12840bd2226874d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 894 | 2016-05-17T00:39:30.000Z | 2022-03-02T18:46:21.000Z | packager/media/codecs/hevc_decoder_configuration_record.cc | koln67/shaka-packager | 5b9fd409a5de502e8af2e46ee12840bd2226874d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 400 | 2016-05-25T01:20:35.000Z | 2022-03-03T02:12:00.000Z | // Copyright 2015 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/media/codecs/hevc_decoder_configuration_record.h"
#include "packager/base/stri... | 33.980392 | 80 | 0.66859 | [
"vector"
] |
15f4129f322e62823d4a65c5208ef49bb9132cd2 | 3,339 | cpp | C++ | GLengine/RTransformComponent.cpp | Abhi-BearMunk/R-Game-Engine | df09b7c3acef2d051a7a7a4526d2996cd6a67dd1 | [
"MIT"
] | 3 | 2020-05-22T01:12:55.000Z | 2020-05-22T08:25:07.000Z | GLengine/RTransformComponent.cpp | AbhishekSkullbear/R-Game-Engine | df09b7c3acef2d051a7a7a4526d2996cd6a67dd1 | [
"MIT"
] | null | null | null | GLengine/RTransformComponent.cpp | AbhishekSkullbear/R-Game-Engine | df09b7c3acef2d051a7a7a4526d2996cd6a67dd1 | [
"MIT"
] | null | null | null | #define DEG_TO_RAD 0.0174533f
#include <iostream>
#include "RTransformComponent.h"
RTransformComponent::RTransformComponent(const std::weak_ptr<REntity> _entity,
const glm::vec3& _position, const glm::vec3& _scale, const glm::vec3& _eulerAngles)
:RComponent(_entity),
position(_position),
scale(_scale),
orientat... | 28.058824 | 97 | 0.71758 | [
"object"
] |
15f4720002542dffc4fc9c63b56e0cada4a84c31 | 964 | cpp | C++ | numpy_benchmarks/benchmarks/make_decision.cpp | adriendelsalle/numpy-benchmarks | 5c09448d045726b347e868756f9e1b004d0876ea | [
"BSD-3-Clause"
] | 33 | 2015-03-18T23:16:55.000Z | 2021-12-17T11:00:01.000Z | numpy_benchmarks/benchmarks/make_decision.cpp | adriendelsalle/numpy-benchmarks | 5c09448d045726b347e868756f9e1b004d0876ea | [
"BSD-3-Clause"
] | 8 | 2015-04-17T15:14:15.000Z | 2021-02-24T13:34:55.000Z | numpy_benchmarks/benchmarks/make_decision.cpp | adriendelsalle/numpy-benchmarks | 5c09448d045726b347e868756f9e1b004d0876ea | [
"BSD-3-Clause"
] | 12 | 2015-04-17T12:24:31.000Z | 2021-01-27T08:06:01.000Z | #include "xtensor/xnoalias.hpp"
#include "xtensor/xtensor.hpp"
#include "xtensor/xarray.hpp"
#include "xtensor/xrandom.hpp"
#include "xtensor/xview.hpp"
#include "xtensor/xsort.hpp"
#define FORCE_IMPORT_ARRAY
#include "xtensor-python/pyarray.hpp"
#include "xtensor-python/pytensor.hpp"
using namespace xt;
template<t... | 25.368421 | 110 | 0.71473 | [
"shape"
] |
15f5106dd4ac95127694b6aadfa519ea32e2d2f3 | 7,020 | cpp | C++ | Treaps.cpp | RohitTheBoss007/CodeforcesSolutions | 4025270fb22a6c5c5276569b42e839f35b9ce09b | [
"MIT"
] | 2 | 2020-06-15T09:20:26.000Z | 2020-10-01T19:24:07.000Z | Treaps.cpp | RohitTheBoss007/Coding-Algorithms | 4025270fb22a6c5c5276569b42e839f35b9ce09b | [
"MIT"
] | null | null | null | Treaps.cpp | RohitTheBoss007/Coding-Algorithms | 4025270fb22a6c5c5276569b42e839f35b9ce09b | [
"MIT"
] | null | null | null |
// Problem : C1. Prefix Flip (Easy Version)
// Contest : Codeforces - Codeforces Round #658 (Div. 2)
// URL : https://codeforces.com/contest/1382/problem/C1
// Memory Limit : 256 MB
// Time Limit : 1000 ms
// Powered by CP Editor (https://github.com/cpeditor/cpeditor)
//look at my code
//my code is amazing
#include<... | 25.714286 | 118 | 0.508974 | [
"vector"
] |
c6000f2b8b0cdc4443094176e45bd363cde6743b | 38,666 | hpp | C++ | src/nvm.hpp | TakeOver/yet-another-useless-scripting-language-with-javascript-like-syntax-and-non-optimized-virtual-machine | 0b3563135454c79b5f8bb68d17d0e7e66fd35ef8 | [
"MIT"
] | null | null | null | src/nvm.hpp | TakeOver/yet-another-useless-scripting-language-with-javascript-like-syntax-and-non-optimized-virtual-machine | 0b3563135454c79b5f8bb68d17d0e7e66fd35ef8 | [
"MIT"
] | null | null | null | src/nvm.hpp | TakeOver/yet-another-useless-scripting-language-with-javascript-like-syntax-and-non-optimized-virtual-machine | 0b3563135454c79b5f8bb68d17d0e7e66fd35ef8 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <iostream>
#include <unordered_map>
#include <map>
#include <functional>
#include <cstdio>
#include <cstdlib>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "nexc.hpp"
#include "ngc.hpp"
#include "nvalue.hpp"
... | 36.20412 | 127 | 0.379894 | [
"object",
"vector"
] |
c606426cd5cd1689e898d95d93db1a82713b59a2 | 6,065 | cpp | C++ | Programs/ResourceEditor/Classes/CommandLine/Private/SceneSaver/SceneSaverTool.cpp | stinvi/dava.engine | 2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e | [
"BSD-3-Clause"
] | 26 | 2018-09-03T08:48:22.000Z | 2022-02-14T05:14:50.000Z | Programs/ResourceEditor/Classes/CommandLine/Private/SceneSaver/SceneSaverTool.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | null | null | null | Programs/ResourceEditor/Classes/CommandLine/Private/SceneSaver/SceneSaverTool.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | 45 | 2018-05-11T06:47:17.000Z | 2022-02-03T11:30:55.000Z | #include "Classes/CommandLine/SceneSaverTool.h"
#include <REPlatform/CommandLine/OptionName.h>
#include <REPlatform/CommandLine/SceneConsoleHelper.h>
#include <REPlatform/DataNodes/ProjectManagerData.h>
#include <REPlatform/Scene/Utils/SceneSaver.h>
#include <TArc/Utils/ModuleCollection.h>
#include <Logger/Logger.h>... | 35.676471 | 221 | 0.678978 | [
"vector",
"3d"
] |
c60679cedc4d5b6e8a2111315bbfcb7125c314c2 | 1,126 | hpp | C++ | include/khepri/scene/scene.hpp | KhepriEngine/KhepriEngine | 6ee25cdb57c8e98ff9a0565ebd3b091eac268143 | [
"MIT"
] | 2 | 2021-04-30T12:05:35.000Z | 2021-05-11T15:56:39.000Z | include/khepri/scene/scene.hpp | KhepriEngine/KhepriEngine | 6ee25cdb57c8e98ff9a0565ebd3b091eac268143 | [
"MIT"
] | null | null | null | include/khepri/scene/scene.hpp | KhepriEngine/KhepriEngine | 6ee25cdb57c8e98ff9a0565ebd3b091eac268143 | [
"MIT"
] | null | null | null | #pragma once
#include "scene_object.hpp"
#include <memory>
#include <set>
namespace khepri::scene {
/**
* \brief A scene
*
* A scene is a collection of scene objects and represents an interactive space.
*/
class Scene
{
public:
Scene() = default;
virtual ~Scene() = default;
Scene(const Sce... | 19.754386 | 80 | 0.611012 | [
"object"
] |
c6076c5a9becffd6e2ad5e82388c92f76915f53f | 2,870 | cpp | C++ | lib/antlr-2.7.5/examples/cpp/unicode/MismatchedUnicodeCharException.cpp | popcatalin81/boo | 48b951d15bad9f78c345dadfc2e1314788a500c1 | [
"BSD-3-Clause"
] | 479 | 2015-12-19T16:17:52.000Z | 2022-03-23T19:42:16.000Z | lib/antlr-2.7.5/examples/cpp/unicode/MismatchedUnicodeCharException.cpp | seanpm2001-lifearchive/boo | 48b951d15bad9f78c345dadfc2e1314788a500c1 | [
"BSD-3-Clause"
] | 104 | 2015-12-19T23:24:19.000Z | 2022-03-31T12:26:19.000Z | lib/antlr-2.7.5/examples/cpp/unicode/MismatchedUnicodeCharException.cpp | seanpm2001-lifearchive/boo | 48b951d15bad9f78c345dadfc2e1314788a500c1 | [
"BSD-3-Clause"
] | 92 | 2015-12-19T23:00:15.000Z | 2022-03-30T14:54:04.000Z |
#include <iostream>
#include <antlr/config.hpp>
#include <antlr/RecognitionException.hpp>
#include <antlr/BitSet.hpp>
#include <antlr/String.hpp>
#include "MismatchedUnicodeCharException.hpp"
#include "UnicodeCharScanner.hpp"
MismatchedUnicodeCharException::MismatchedUnicodeCharException()
: RecognitionException("M... | 25.855856 | 153 | 0.674216 | [
"vector"
] |
c61409079e2e4ca81d85c64e684f4d6ee9f98738 | 7,485 | cc | C++ | chrome/browser/ui/webui/discards/discards_ui.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/ui/webui/discards/discards_ui.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/ui/webui/discards/discards_ui.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/discards/discards_ui.h"
#include <utility>
#include <vector>
#include "base/logging.h"
#include "base/strings/utf_stri... | 38.384615 | 79 | 0.736673 | [
"vector"
] |
7246650583a66047176ec4458079b8f91b3f565a | 364 | cpp | C++ | Dataset/Leetcode/valid/70/434.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/valid/70/434.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/valid/70/434.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
int XXX(int n) {
//如果用完全背包来解 应该是一个排列的问题
//那么应该先遍历容量再遍历物体 1---2
//完全背包解法
vector<int>dp(n+1);
dp[0] = 1;
dp[1] = 1;
for(int i = 2; i<= n; i++)
{
for(int j = 1; j<= 2; j++)
{
dp[i] = dp[i] + dp[i-j];
... | 14 | 38 | 0.362637 | [
"vector"
] |
724a4e647dffaf716f58609db10768af23ae828f | 1,141 | cpp | C++ | compiler/src/Ast/AstNew.cpp | jadedrip/SimpleLang | f39c490e5a41151d1d0d2f8c77c6ce524b7842f0 | [
"BSD-3-Clause"
] | 16 | 2015-03-30T02:46:49.000Z | 2020-07-28T13:36:54.000Z | compiler/src/Ast/AstNew.cpp | jadedrip/SimpleLang | f39c490e5a41151d1d0d2f8c77c6ce524b7842f0 | [
"BSD-3-Clause"
] | 1 | 2020-09-01T09:38:30.000Z | 2020-09-01T09:38:30.000Z | compiler/src/Ast/AstNew.cpp | jadedrip/SimpleLang | f39c490e5a41151d1d0d2f8c77c6ce524b7842f0 | [
"BSD-3-Clause"
] | 2 | 2020-02-07T02:09:48.000Z | 2020-02-19T13:31:35.000Z | #include "stdafx.h"
#include "AstNew.h"
#include "utility.h"
#include "AstClass.h"
#include "AstLet.h"
#include "AstModule.h"
#include "AstGetClass.h"
#include "FunctionInstance.h"
#include "../AstContext.h"
#include "../CodeGenerate/NewGen.h"
#include "../CodeGenerate/GenList.h"
#include "../CodeGenerate/BlockGen.h"
... | 25.355556 | 76 | 0.67397 | [
"vector"
] |
725167a75938083c4a6cb7e6372f82f3fce92cbb | 19,001 | cxx | C++ | src/PatRec/TreeBased/TreeCalClusterAssociator.cxx | fermi-lat/TkrRecon | 9174a0ab1310038d3956ab4dcc26e06b8a845daf | [
"BSD-3-Clause"
] | null | null | null | src/PatRec/TreeBased/TreeCalClusterAssociator.cxx | fermi-lat/TkrRecon | 9174a0ab1310038d3956ab4dcc26e06b8a845daf | [
"BSD-3-Clause"
] | null | null | null | src/PatRec/TreeBased/TreeCalClusterAssociator.cxx | fermi-lat/TkrRecon | 9174a0ab1310038d3956ab4dcc26e06b8a845daf | [
"BSD-3-Clause"
] | null | null | null | /// @file TreeCalClusterAssociator.cxx
/**
* @brief Provides X-Y space points from the same tower from TkrClusterCol
*
*
* @authors Tracy Usher
*
* $Header: /nfs/slac/g/glast/ground/cvs/TkrRecon/src/PatRec/TreeBased/TreeCalClusterAssociator.cxx,v 1.25 2013/02/19 04:16:18 usher Exp $
*
*/
#include "TreeCalCluste... | 45.896135 | 151 | 0.581022 | [
"object",
"vector"
] |
7254991e5336cf246eb56ecf7c0e870f8c7f29ad | 5,849 | cc | C++ | Sources/OpenGL (Legacy)/7_camera.cc | liliilli/SH-GraphicsStudy | 314af5ad6ec04b91ec86978c60cc2f96db6a1d7c | [
"Unlicense"
] | 3 | 2019-11-23T16:37:22.000Z | 2021-05-02T20:43:27.000Z | Sources/OpenGL (Legacy)/7_camera.cc | liliilli/SH-GraphicsStudy | 314af5ad6ec04b91ec86978c60cc2f96db6a1d7c | [
"Unlicense"
] | 3 | 2018-05-01T04:52:39.000Z | 2018-05-10T02:14:46.000Z | Sources/OpenGL (Legacy)/7_camera.cc | liliilli/GraphicsStudy | 314af5ad6ec04b91ec86978c60cc2f96db6a1d7c | [
"Unlicense"
] | 2 | 2019-11-23T16:37:38.000Z | 2022-03-29T10:33:32.000Z | #include <iostream>
#include <memory>
#include <functional>
#include "stb_image.h"
#include "camera.h"
#include "helper.h"
#include "main.h"
#define SIZE_OF(size, type) (void*)(size * sizeof(type))
#define SIZE_NULL (void*)0
float vertex_data[] = {
// Local Position // Coords
-0.5f, -0.5f, -0.5f, 0.0f, 0... | 33.422857 | 88 | 0.553428 | [
"object",
"model"
] |
72568c5c560ef55f0d2da879c29d32af48de3879 | 307 | cpp | C++ | development/interactiveTests/size.cpp | xywzwd/VT-Wireless | ec42e742e2be26310df4b25cef9cea873896890b | [
"MIT"
] | 6 | 2019-01-05T08:30:32.000Z | 2022-03-10T08:19:57.000Z | development/interactiveTests/size.cpp | xywzwd/VT-Wireless | ec42e742e2be26310df4b25cef9cea873896890b | [
"MIT"
] | 4 | 2019-10-18T14:31:04.000Z | 2020-10-16T16:52:30.000Z | development/interactiveTests/size.cpp | xywzwd/VT-Wireless | ec42e742e2be26310df4b25cef9cea873896890b | [
"MIT"
] | 5 | 2017-05-12T21:24:18.000Z | 2022-03-10T08:20:02.000Z | #include <stdio.h>
#include <complex>
#include <vector>
#include <string.h>
int main(void)
{
std::complex<float> f[10];
std::vector<std::complex<float>> buffer(10);
memset(f, 0, sizeof(f));
printf("sizeof(f) = %zu buffer.size()=%zu\n", sizeof(f), buffer.size());
return 0;
}
| 14.619048 | 76 | 0.592834 | [
"vector"
] |
725730b5e132fd1a8db3032c45e333e2a869cacc | 2,054 | cpp | C++ | src/HW_B6/Task_A/main.cpp | GAlekseyV/YandexTraining | e49ce6616e2584a80857a8b2f45b700f12b1fb85 | [
"Unlicense"
] | 1 | 2021-09-21T23:24:37.000Z | 2021-09-21T23:24:37.000Z | src/HW_B6/Task_A/main.cpp | GAlekseyV/YandexTraining | e49ce6616e2584a80857a8b2f45b700f12b1fb85 | [
"Unlicense"
] | null | null | null | src/HW_B6/Task_A/main.cpp | GAlekseyV/YandexTraining | e49ce6616e2584a80857a8b2f45b700f12b1fb85 | [
"Unlicense"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <vector>
std::vector<int> read_nums(std::istream &is);
/*
* Возвращает индекс первого элемента вектора v равного n
*/
template<class UnaryPredicate>
size_t findfirstgen(const std::vector<int> &v, int n, UnaryPredicate pred);
/*
* Возвращает индекс последнего элеме... | 20.959184 | 75 | 0.566212 | [
"vector"
] |
725c023cb9737c78ab7656cfdd0fb602fd41991e | 3,621 | cpp | C++ | codes/CChef/CChef_BAKERY.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | null | null | null | codes/CChef/CChef_BAKERY.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | null | null | null | codes/CChef/CChef_BAKERY.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | null | null | null |
//misaka will carry me to master
#include <iostream>
#include <cstdio>
#include <cstring>
#include <utility>
#include <cassert>
#include <algorithm>
#include <vector>
#include <array>
#include <tuple>
#include <set>
#include <map>
#define ll long long
#define lb long double
#define sz(vec) ((int)(vec.size()))
#define... | 26.625 | 145 | 0.553162 | [
"vector"
] |
7264789fc2d1e25d7d1c67202fd90e8cb2b88405 | 22,467 | cc | C++ | zircon/system/utest/core/property/fsgsbase.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | zircon/system/utest/core/property/fsgsbase.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 1 | 2022-03-01T01:12:04.000Z | 2022-03-01T01:17:26.000Z | zircon/system/utest/core/property/fsgsbase.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifdef __x86_64__
// The ZX_PROP_REGISTER_FS and ZX_PROP_REGISTER_GS properties exist as
// stand-ins for the rdfsbase/wrfsbase and rdgsbase/rdgsbase inst... | 38.209184 | 100 | 0.735123 | [
"object"
] |
726afd19d08ecc4b70826c77df94d1ffee2a3572 | 3,867 | cpp | C++ | src/textbox.cpp | hyche/SinglyListIllustration | 6a2b08604aee2326dbda1cfb0765683b2b9d413d | [
"MIT"
] | null | null | null | src/textbox.cpp | hyche/SinglyListIllustration | 6a2b08604aee2326dbda1cfb0765683b2b9d413d | [
"MIT"
] | null | null | null | src/textbox.cpp | hyche/SinglyListIllustration | 6a2b08604aee2326dbda1cfb0765683b2b9d413d | [
"MIT"
] | null | null | null | #include <iostream>
#include "../include/textbox.h"
TextBox::TextBox(int x, int y, int w, int h) {
Text = NULL;
box.x = x;
box.y = y;
box.w = w;
box.h = h;
textColor = {0, 0, 0};
gFont = TTF_OpenFont("../resources/Literation Mono Powerline.ttf", 26);
}
TextBox::TextBox() {
Text = NULL;... | 33.051282 | 174 | 0.439359 | [
"render"
] |
7271e9d00d960ee68fadb69d4e8266858023b790 | 14,218 | hpp | C++ | include/data_structure/segment_tree.hpp | naskya/cp-library-cpp | e045f244060af4588a4a62cb150f07940002c448 | [
"CC0-1.0"
] | null | null | null | include/data_structure/segment_tree.hpp | naskya/cp-library-cpp | e045f244060af4588a4a62cb150f07940002c448 | [
"CC0-1.0"
] | null | null | null | include/data_structure/segment_tree.hpp | naskya/cp-library-cpp | e045f244060af4588a4a62cb150f07940002c448 | [
"CC0-1.0"
] | null | null | null |
//! @file segment_tree.hpp
#ifndef CP_LIBRARY_SEGMENT_TREE_HPP
#define CP_LIBRARY_SEGMENT_TREE_HPP
#include <algorithm>
#include <cassert>
#include <functional>
#include <iostream>
#include <limits>
#include <string>
#include <type_traits>
#include <vector>
#ifndef CP_LIBRARY_WARN
# if (CP_LIBRARY_DEBUG_LEVEL >= 1... | 36.086294 | 150 | 0.660852 | [
"vector"
] |
72795f46a1700b9a7a0368efdfa544882b3677e4 | 6,314 | cpp | C++ | McEngine/src/GUI/CBaseUIContainerBase.cpp | lwkobe/McEngine | c24dea65b9e6745391b073dd4521561e9808b1a3 | [
"MIT"
] | 1 | 2019-11-20T13:24:56.000Z | 2019-11-20T13:24:56.000Z | McEngine/src/GUI/CBaseUIContainerBase.cpp | lwkobe/McEngine | c24dea65b9e6745391b073dd4521561e9808b1a3 | [
"MIT"
] | null | null | null | McEngine/src/GUI/CBaseUIContainerBase.cpp | lwkobe/McEngine | c24dea65b9e6745391b073dd4521561e9808b1a3 | [
"MIT"
] | null | null | null | /*
* CBaseUIContainerBase.cpp
*
* Created on: May 31, 2017
* Author: Psy
*/
#include "CBaseUIContainerBase.h"
#include "Engine.h"
CBaseUIContainerBase::CBaseUIContainerBase(UString name) : CBaseUIElement(0, 0, 0, 0, name)
{
m_bClipping = false;
}
CBaseUIContainerBase::~CBaseUIContainerBase()
{
}
void C... | 24.956522 | 148 | 0.695914 | [
"vector"
] |
72851cfddeb9d89f3d6248cf54f66a2fc8f6ff10 | 6,094 | cc | C++ | tests/networking/mqtt.cc | amnonpaz/maayan_robot | 34296eb4d369ce9487970855bb001fedd9c09a3f | [
"MIT"
] | null | null | null | tests/networking/mqtt.cc | amnonpaz/maayan_robot | 34296eb4d369ce9487970855bb001fedd9c09a3f | [
"MIT"
] | 1 | 2021-09-02T11:04:59.000Z | 2021-09-02T11:04:59.000Z | tests/networking/mqtt.cc | amnonpaz/mrobot | 34296eb4d369ce9487970855bb001fedd9c09a3f | [
"MIT"
] | null | null | null | #include "mqtt_client.hpp"
#include <iostream>
#include <memory>
#include <sstream>
#include <cstring>
#include <signal.h>
class MessageEcho final : public mrobot::messaging::IncomingMessage,
public mrobot::messaging::OutgoingMessage {
public:
MessageEcho() = default;
vi... | 26.042735 | 105 | 0.575484 | [
"vector"
] |
72911cd9e04adf6fdd43aaade5f9208db734b94a | 750 | cpp | C++ | PuzzlesGame/src/Follower.cpp | PinaYoryi/Puzzles | 219d794cfe81a7d5572f9b3bb41a2a9cb44b9cc5 | [
"MIT"
] | null | null | null | PuzzlesGame/src/Follower.cpp | PinaYoryi/Puzzles | 219d794cfe81a7d5572f9b3bb41a2a9cb44b9cc5 | [
"MIT"
] | null | null | null | PuzzlesGame/src/Follower.cpp | PinaYoryi/Puzzles | 219d794cfe81a7d5572f9b3bb41a2a9cb44b9cc5 | [
"MIT"
] | null | null | null | #include "Follower.h"
#include "SceneManager.h"
#include "BasicAI.h"
#include "GameManager.h"
bool Follower::init(const std::map<std::string, std::string>& mapa) {
if (mapa.find("strength") == mapa.end() || mapa.find("objective") == mapa.end()) return false;
std::string s = mapa.at("strength");
_strength = std::st... | 35.714286 | 97 | 0.706667 | [
"transform"
] |
7292e1ad7ee19ca898c76a33dca3f2d4de173cab | 11,783 | hpp | C++ | include/lock_ll.hpp | RaftLib/ipc | 608dcb10e1acb84e0f3be89639a91abe5395566b | [
"Apache-2.0"
] | 6 | 2021-08-04T20:03:16.000Z | 2021-08-17T16:16:10.000Z | include/lock_ll.hpp | RaftLib/ipc | 608dcb10e1acb84e0f3be89639a91abe5395566b | [
"Apache-2.0"
] | 9 | 2021-08-05T01:14:13.000Z | 2021-08-31T21:39:28.000Z | include/lock_ll.hpp | RaftLib/ipc | 608dcb10e1acb84e0f3be89639a91abe5395566b | [
"Apache-2.0"
] | null | null | null | /**
* lock_ll.hpp - simple routines that enable construction of a linked
* list within a shared memory segment. Instead of using direct VAs, this
* class uses offsets which are converted to virtual addresses within the
* class.
* @author: Jonathan Beard
* @version: Thu Jul 8 06:41:07 2021
*
* Copyright 2021... | 35.706061 | 97 | 0.505813 | [
"object"
] |
729f29140ae240014734918a33c2153f7ff52754 | 2,139 | cc | C++ | elements/userlevel/xdploader.cc | timmytimj/fastclick | 260dfa7285e5fff3c916b8272249d6d393e61179 | [
"BSD-3-Clause-Clear"
] | 129 | 2015-10-08T14:38:35.000Z | 2022-03-06T14:54:44.000Z | elements/userlevel/xdploader.cc | nic-bench/fastclick | 2812f0684050cec07e08f30d643ed121871cf25d | [
"BSD-3-Clause-Clear"
] | 241 | 2016-02-17T16:17:58.000Z | 2022-03-15T09:08:33.000Z | elements/userlevel/xdploader.cc | nic-bench/fastclick | 2812f0684050cec07e08f30d643ed121871cf25d | [
"BSD-3-Clause-Clear"
] | 61 | 2015-12-17T01:46:58.000Z | 2022-02-07T22:25:19.000Z | #include <click/config.h>
#include <click/args.hh>
#include "xdploader.hh"
XDPLoader::XDPLoader() : _path(), _dev() {
}
XDPLoader::~XDPLoader() {
}
int
XDPLoader::configure(Vector<String> &conf, ErrorHandler *errh) {
if (Args(this, errh).bind(conf)
.read_mp("PATH", _path)
.r... | 23 | 90 | 0.586723 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.