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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
438259b7ce4d2bd4fbc36998be6190d0edf9fefd | 4,087 | cc | C++ | mindspore/ccsrc/backend/optimizer/ascend/ir_fission/bce_with_logits_loss_fission.cc | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 1 | 2021-12-27T13:42:29.000Z | 2021-12-27T13:42:29.000Z | mindspore/ccsrc/backend/optimizer/ascend/ir_fission/bce_with_logits_loss_fission.cc | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/backend/optimizer/ascend/ir_fission/bce_with_logits_loss_fission.cc | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 41.282828 | 114 | 0.73379 | [
"shape",
"vector"
] |
4394949f965e82e98b9934d5d48c629017b6c384 | 5,725 | cc | C++ | modules/audio_coding/codecs/opus/opus_bandwidth_unittest.cc | laloli/webrtc_src | 2a4d70cc93ddd3074e51c0a2c2de507ac6babc2a | [
"DOC",
"BSD-3-Clause"
] | 6 | 2020-03-18T08:21:45.000Z | 2021-02-06T14:37:57.000Z | modules/audio_coding/codecs/opus/opus_bandwidth_unittest.cc | modulesio/webrtc | ea143e774b4c00a74b617f272f5a8f71169cf24e | [
"DOC",
"BSD-3-Clause"
] | 1 | 2018-02-09T17:31:28.000Z | 2018-02-25T14:28:10.000Z | modules/audio_coding/codecs/opus/opus_bandwidth_unittest.cc | modulesio/webrtc | ea143e774b4c00a74b617f272f5a8f71169cf24e | [
"DOC",
"BSD-3-Clause"
] | 3 | 2018-07-23T04:52:42.000Z | 2021-12-18T07:37:15.000Z | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 37.664474 | 79 | 0.700262 | [
"vector"
] |
4396d5c0cc593f1aeb937be960d65a716da5237f | 761 | hpp | C++ | src/prx/simulation/collision_checking/collision_checker.hpp | aravindsiv/ML4KP | 064015a7545e1713cbcad3e79807b5cec0849f54 | [
"MIT"
] | 3 | 2021-05-31T11:28:03.000Z | 2021-05-31T13:49:30.000Z | src/prx/simulation/collision_checking/collision_checker.hpp | aravindsiv/ML4KP | 064015a7545e1713cbcad3e79807b5cec0849f54 | [
"MIT"
] | 1 | 2021-09-03T09:39:32.000Z | 2021-12-10T22:17:56.000Z | src/prx/simulation/collision_checking/collision_checker.hpp | aravindsiv/ML4KP | 064015a7545e1713cbcad3e79807b5cec0849f54 | [
"MIT"
] | 2 | 2021-09-03T09:17:45.000Z | 2021-10-04T15:52:58.000Z | #pragma once
#include "prx/simulation/plant.hpp"
// #ifndef BULLET_NOT_BUILT
// #include "prx/bullet_sim/plants/bullet_plant.hpp"
// #endif
#include "prx/simulation/collision_checking/collision_group.hpp"
#include "prx/utilities/defs.hpp"
#include <unordered_map>
namespace prx
{
class collision_checker_t
{
publ... | 25.366667 | 177 | 0.777924 | [
"vector"
] |
439ab1b7114d5ccb349a0a76e5b4731b5799909a | 1,943 | cpp | C++ | Bots/C/AI_Template/src/GoalDodgePosition.cpp | lamhoangtung/AI-Tank-Contest | 89b3804368d1b378e8ea350cee7b45bf49c3aa5e | [
"MIT"
] | 4 | 2018-05-14T18:18:40.000Z | 2020-07-21T02:45:27.000Z | Bots/C/AI_Template/src/GoalDodgePosition.cpp | lamhoangtung/AI-Tank-Contest | 89b3804368d1b378e8ea350cee7b45bf49c3aa5e | [
"MIT"
] | null | null | null | Bots/C/AI_Template/src/GoalDodgePosition.cpp | lamhoangtung/AI-Tank-Contest | 89b3804368d1b378e8ea350cee7b45bf49c3aa5e | [
"MIT"
] | 2 | 2019-05-05T22:30:26.000Z | 2021-12-24T04:24:33.000Z | #include "GoalDodgePosition.h"
#include "GoalType.h"
#include "GoalCover.h"
#include "GoalShootEnemy.h"
GoalDodgePosition::GoalDodgePosition(MyTank* pOwner):
GoalComposite<MyTank>(pOwner, goal_dodge_position)
{
}
GoalDodgePosition::~GoalDodgePosition()
{
}
void GoalDodgePosition::Activate()
{
m_iStatus = active;
... | 24.2875 | 85 | 0.69017 | [
"vector"
] |
439c29ec3d6d6c678dae0d7eb6edabff04d4cfb2 | 4,013 | hpp | C++ | src/range_min_query.hpp | keijak/cplib-cpp | 1edfd679b9faaf138c9274bc5275fe438534573f | [
"Apache-2.0"
] | null | null | null | src/range_min_query.hpp | keijak/cplib-cpp | 1edfd679b9faaf138c9274bc5275fe438534573f | [
"Apache-2.0"
] | null | null | null | src/range_min_query.hpp | keijak/cplib-cpp | 1edfd679b9faaf138c9274bc5275fe438534573f | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
template <typename T>
constexpr int num_bits = CHAR_BIT * sizeof(T);
// Log base 2 of the most significant bit that is set to 1.
inline int msb_log(unsigned x) {
assert(x != 0);
return num_bits<unsigned> - __builtin_clz(x) - 1;
}
// Range Min/Max Query based on Fischer-Heun Structure.
//... | 32.104 | 79 | 0.575878 | [
"vector"
] |
43a1666eab81b63d965402755e11be96a4106636 | 11,638 | cpp | C++ | uppsrc/TSql/dict.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | 2 | 2016-04-07T07:54:26.000Z | 2020-04-14T12:37:34.000Z | uppsrc/TSql/dict.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | uppsrc/TSql/dict.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | //////////////////////////////////////////////////////////////////////
// dict: user privileges, relocation, index removal.
#include "TSql.h"
#pragma hdrstop
NAMESPACE_UPP
#ifndef NOAPPSQL
int SqlUserGetRightsTo(const char* table)
{
return SqlUser().GetRightsTo(table);
}
#endif
#ifndef NOAPPSQL
bool SqlUserCanWrit... | 21.87594 | 117 | 0.651057 | [
"vector"
] |
43aa4fa3d58f8f92025bd3d65b0ab8e6ceb68d2c | 730 | hpp | C++ | waterbox/ares64/ares/nall/cd/scrambler.hpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | waterbox/ares64/ares/nall/cd/scrambler.hpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 296 | 2021-10-16T18:00:18.000Z | 2022-03-31T12:09:00.000Z | waterbox/ares64/ares/nall/cd/scrambler.hpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | #pragma once
namespace nall::CD::Scrambler {
//polynomial(x) = x^15 + x + 1
inline auto polynomial(u32 x) -> u8 {
static u8 lookup[2340]{};
static bool once = false;
if(!once) { once = true;
u16 shift = 0x0001;
for(u32 n : range(2340)) {
lookup[n] = shift;
for(u32 b : range(8)) {
boo... | 20.277778 | 68 | 0.568493 | [
"transform"
] |
43b251ef97840ef57673dc3c600f1ebedc6e54ce | 253,482 | hpp | C++ | openconfig/ydk/models/openconfig/fragmented/openconfig_network_instance_7.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | openconfig/ydk/models/openconfig/fragmented/openconfig_network_instance_7.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | openconfig/ydk/models/openconfig/fragmented/openconfig_network_instance_7.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 _OPENCONFIG_NETWORK_INSTANCE_7_
#define _OPENCONFIG_NETWORK_INSTANCE_7_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
#include "openconfig_network_instance_0.hpp"
#include "openconfig_network_instance_2.hpp"
#include "openconfig_network_instance_4.hpp... | 66.18329 | 339 | 0.723199 | [
"vector"
] |
43b768d9047a5cba210aaaeea21cdabb1886e268 | 1,043 | cc | C++ | HeuristicUpperBoundMemo.cc | JoeyEremondi/treewidth-memoization | 5cd6be9e05bba189d14409f28c37805948ef11b3 | [
"BSD-3-Clause"
] | 1 | 2015-07-25T15:09:11.000Z | 2015-07-25T15:09:11.000Z | HeuristicUpperBoundMemo.cc | JoeyEremondi/treewidth-memoization | 5cd6be9e05bba189d14409f28c37805948ef11b3 | [
"BSD-3-Clause"
] | 1 | 2015-09-19T00:44:24.000Z | 2015-09-21T16:47:12.000Z | HeuristicUpperBoundMemo.cc | JoeyEremondi/treewidth-memoization | 5cd6be9e05bba189d14409f28c37805948ef11b3 | [
"BSD-3-Clause"
] | null | null | null | #include <vector>
#include <cstdlib>
#include "HeuristicUpperBoundMemo.hh"
#include "TWUtilAlgos.hh"
int HeuristicUpperBoundMemo::upperBound(VSet S)
{
/*
if (S.asInt() % 13 == 0)
{
auto Svec = S.members();
Graph gthis = this->G;
//TODO ascending or descending?
std::sort(Svec.begin(), Svec.end(), [this](Verte... | 18.625 | 83 | 0.663471 | [
"vector"
] |
43bdc2e55b95daf568cb96d75bfc9acb15f85a5c | 892 | cpp | C++ | Graph/Dijkstra.cpp | maguroplusia/Library | 02e0e277986833fe1c12e20b3677a553b7b27346 | [
"CC0-1.0"
] | null | null | null | Graph/Dijkstra.cpp | maguroplusia/Library | 02e0e277986833fe1c12e20b3677a553b7b27346 | [
"CC0-1.0"
] | null | null | null | Graph/Dijkstra.cpp | maguroplusia/Library | 02e0e277986833fe1c12e20b3677a553b7b27346 | [
"CC0-1.0"
] | null | null | null | template<typename T>
struct edge {
int to;
T cost;
};
vector<int> pre;
template<typename T>
vector<T> Dijkstra(const int& N,const vector<vector<edge<T>>>& graph,const int& s) {
priority_queue<pair<T,int>,vector<pair<T,int>>,greater<pair<T,int>>> que;
vector<T> dist(N,numeric_limits<T>::max());
pre... | 20.744186 | 84 | 0.51009 | [
"vector"
] |
43c0d3fa75060c7592c1bae7ec775eb60a547a09 | 17,999 | cc | C++ | ns-allinone-3.35/ns-3.35/src/wifi/model/wifi-phy-state-helper.cc | usi-systems/cc | 487aa9e322b2b01b6af3a92e38545c119e4980a3 | [
"Apache-2.0"
] | 1 | 2022-03-22T08:08:35.000Z | 2022-03-22T08:08:35.000Z | ns-3-dev/src/wifi/model/wifi-phy-state-helper.cc | Marquez607/Wireless-Perf-Sim | 1086759b6dbe7da192225780d5fe6a3da0c5eb07 | [
"MIT"
] | null | null | null | ns-3-dev/src/wifi/model/wifi-phy-state-helper.cc | Marquez607/Wireless-Perf-Sim | 1086759b6dbe7da192225780d5fe6a3da0c5eb07 | [
"MIT"
] | null | null | null | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2005,2006 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distri... | 26.665185 | 157 | 0.664259 | [
"object",
"vector"
] |
43c2afc8fbc4a05ab10842b90ea26753a13360ad | 16,329 | cpp | C++ | octopi/library/octopus/octopus.cpp | fredhamster/feisty_meow | 66dc4221dc485a5cf9e28b724fe36268e8843043 | [
"Apache-2.0"
] | 2 | 2019-01-22T23:34:37.000Z | 2021-10-31T15:44:15.000Z | octopi/library/octopus/octopus.cpp | fredhamster/feisty_meow | 66dc4221dc485a5cf9e28b724fe36268e8843043 | [
"Apache-2.0"
] | 2 | 2020-06-01T16:35:46.000Z | 2021-10-05T21:02:09.000Z | octopi/library/octopus/octopus.cpp | fredhamster/feisty_meow | 66dc4221dc485a5cf9e28b724fe36268e8843043 | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************\
* *
* Name : octopus *
* Author : Chris Koeritz *
... | 30.521495 | 95 | 0.655215 | [
"object"
] |
43c70f83218af68c46ebc90520bdaa7d758b131f | 5,645 | hpp | C++ | src/api/dcps/isocpp2/include/dds/sub/LoanedSamples.hpp | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 133 | 2017-11-09T02:10:00.000Z | 2022-03-29T09:45:10.000Z | src/api/dcps/isocpp2/include/dds/sub/LoanedSamples.hpp | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 131 | 2017-11-07T14:48:43.000Z | 2022-03-13T15:30:47.000Z | src/api/dcps/isocpp2/include/dds/sub/LoanedSamples.hpp | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 94 | 2017-11-09T02:26:19.000Z | 2022-02-24T06:38:25.000Z | /* Copyright 2010, Object Management Group, Inc.
* Copyright 2010, PrismTech, Corp.
* Copyright 2010, Real-Time Innovations, Inc.
* 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 L... | 29.401042 | 92 | 0.686802 | [
"object"
] |
43c95378c86bd2dfc7059b94edd366f541367419 | 31,710 | cpp | C++ | src/tools/assemblyManager.cpp | bartvbw/MILO | 334e9bdec954b0cb82da0576b339729e3f39afd0 | [
"BSD-2-Clause"
] | 3 | 2018-10-23T21:04:15.000Z | 2020-01-03T21:49:05.000Z | src/tools/assemblyManager.cpp | bartvbw/MILO | 334e9bdec954b0cb82da0576b339729e3f39afd0 | [
"BSD-2-Clause"
] | 1 | 2018-11-27T23:41:57.000Z | 2018-11-27T23:41:57.000Z | src/tools/assemblyManager.cpp | bartvbw/MILO | 334e9bdec954b0cb82da0576b339729e3f39afd0 | [
"BSD-2-Clause"
] | 1 | 2018-11-13T15:53:47.000Z | 2018-11-13T15:53:47.000Z | /***********************************************************************
Multiscale/Multiphysics Interfaces for Large-scale Optimization (MILO)
Copyright 2018 National Technology & Engineering Solutions of Sandia,
LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the
U.S. Government retains certai... | 39.489415 | 126 | 0.476916 | [
"mesh",
"vector"
] |
43c98cf5c87c7c58634dddefdb00a59ded57e78f | 11,320 | cpp | C++ | src/csim.cpp | nickerso/csim-archived | 4f1fd55d556e88680d7032afd08ae3fd4bfb418e | [
"Apache-2.0"
] | null | null | null | src/csim.cpp | nickerso/csim-archived | 4f1fd55d556e88680d7032afd08ae3fd4bfb418e | [
"Apache-2.0"
] | null | null | null | src/csim.cpp | nickerso/csim-archived | 4f1fd55d556e88680d7032afd08ae3fd4bfb418e | [
"Apache-2.0"
] | null | null | null |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#ifndef _MSC_VER
# include <getopt.h>
#endif
#include <time.h>
#include <signal.h>
#include <string>
#include <iostream>
#ifdef __cplusplus
extern "C"
{
#endif
#include "version.h"
#include "common.h"
#include "utils.h"
#include "cellml.h"
... | 25.727273 | 102 | 0.623852 | [
"model"
] |
43cd311eeb15d7a4447baaffbebde5a0aad061be | 3,475 | cpp | C++ | src/compiler/ParserParameter.cpp | LucvandenBrand/OperatorGraph | a15f2c9acfc9265e5ed5cbd89a8d3f7f638cb565 | [
"MIT"
] | null | null | null | src/compiler/ParserParameter.cpp | LucvandenBrand/OperatorGraph | a15f2c9acfc9265e5ed5cbd89a8d3f7f638cb565 | [
"MIT"
] | null | null | null | src/compiler/ParserParameter.cpp | LucvandenBrand/OperatorGraph | a15f2c9acfc9265e5ed5cbd89a8d3f7f638cb565 | [
"MIT"
] | null | null | null | #include <stdexcept>
#include <algorithm>
#include <boost/variant/get.hpp>
#include <pga/core/Axis.h>
#include <pga/core/RepeatMode.h>
#include "ParserParameter.h"
namespace PGA
{
namespace Compiler
{
namespace Parser
{
//////////////////////////////////////////////////////////////////////////
std::shar... | 43.4375 | 197 | 0.675971 | [
"shape"
] |
43d068037955ddcad7ea2ca391c379810e4dd5c4 | 2,402 | cpp | C++ | Ancestor/src/Platform/OpenGL/OpenGLMesh.cpp | AlerHugu3s/Ancestor | 4ec1e693438d94f25f7eb4d7ef8a57e67a518c0d | [
"Apache-2.0"
] | null | null | null | Ancestor/src/Platform/OpenGL/OpenGLMesh.cpp | AlerHugu3s/Ancestor | 4ec1e693438d94f25f7eb4d7ef8a57e67a518c0d | [
"Apache-2.0"
] | null | null | null | Ancestor/src/Platform/OpenGL/OpenGLMesh.cpp | AlerHugu3s/Ancestor | 4ec1e693438d94f25f7eb4d7ef8a57e67a518c0d | [
"Apache-2.0"
] | null | null | null | #include "acpch.h"
#include "OpenGLMesh.h"
#include "glad/glad.h"
#include "OpenGLShader.h"
namespace Ancestor {
// constructor
OpenGLMesh::OpenGLMesh(std::vector<Vertex> vertices, std::vector<unsigned int> indices, std::vector<Ref<Texture>> textures)
{
m_Indices = indices;
m_vertices = vertices;
m_Textures =... | 32.459459 | 124 | 0.697336 | [
"mesh",
"render",
"vector"
] |
43d427934ab3cbb58c74d73b07d0528c8c41a53b | 1,418 | cpp | C++ | Hildur/src/Hildur/Component/DirectionalLight.cpp | FelipeCalin/Hildur | 13e60a357e6f84ac1de842d9a9bd980155968cbc | [
"Apache-2.0"
] | null | null | null | Hildur/src/Hildur/Component/DirectionalLight.cpp | FelipeCalin/Hildur | 13e60a357e6f84ac1de842d9a9bd980155968cbc | [
"Apache-2.0"
] | null | null | null | Hildur/src/Hildur/Component/DirectionalLight.cpp | FelipeCalin/Hildur | 13e60a357e6f84ac1de842d9a9bd980155968cbc | [
"Apache-2.0"
] | null | null | null | #include "hrpcheaders.h"
#include "DirectionalLight.h"
#include "Hildur/Core/System/Renderer.h"
#include <glm/gtc/matrix_transform.hpp>
#include <imgui.h>
namespace Hildur {
void DirectionalLight::Init()
{
m_Type = LE_DIRECTIONAL;
Renderer::AddToLightList(this);
m_LightProjection = glm::ortho(-5.0f, 5.0... | 18.415584 | 163 | 0.69464 | [
"render"
] |
43d743b3e7ffb71d0aa0cb982df77b0fc45986b3 | 18,387 | cpp | C++ | mainwindow.cpp | brandonesford/CUHRes | 0a414b7e8efd779dbfb71514bc8118bcebbf49fe | [
"MIT"
] | null | null | null | mainwindow.cpp | brandonesford/CUHRes | 0a414b7e8efd779dbfb71514bc8118bcebbf49fe | [
"MIT"
] | null | null | null | mainwindow.cpp | brandonesford/CUHRes | 0a414b7e8efd779dbfb71514bc8118bcebbf49fe | [
"MIT"
] | null | null | null | /*
* Class: MainWindow
* Purpose: The purpose of this class is to provide the GUI
* for the CuNICS system.
*/
#include <QMessageBox>
#include <QFileDialog>
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "userorm.h"
#include "roleorm.h"
#include "employeecontrol.h"
#include "app... | 34.240223 | 127 | 0.650677 | [
"model"
] |
43ddbf2366a97d0339858e7e67894d77148d26e9 | 1,145 | cpp | C++ | polish-spoj/MWP2_1A/solution.cpp | kpagacz/spoj | 8bff809c6c5227a6e85e9b12f808dd921f24e587 | [
"MIT"
] | 1 | 2021-12-06T16:01:55.000Z | 2021-12-06T16:01:55.000Z | polish-spoj/MWP2_1A/solution.cpp | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | polish-spoj/MWP2_1A/solution.cpp | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | // link to the problem https://pl.spoj.com/problems/MWP2_1A/
#include<iostream>
#include<vector>
#include<algorithm>
int rotate_and_count_matching(std::vector<int>& numbers) {
int matching = 0;
for (auto i = 0; i < numbers.size(); i++) {
if (numbers[i] == i + 1) matching++;
}
std::rotate(numbers.begin(), numbers... | 24.361702 | 88 | 0.659389 | [
"vector"
] |
43e16ac138adb183bfc56fb7d78b3bac8706f042 | 252,135 | cpp | C++ | src/core/OTPseudonym.cpp | lclc/opentxs | 0bc847c6601d20e3346bb2faf81feda3a14ab303 | [
"Apache-2.0"
] | null | null | null | src/core/OTPseudonym.cpp | lclc/opentxs | 0bc847c6601d20e3346bb2faf81feda3a14ab303 | [
"Apache-2.0"
] | null | null | null | src/core/OTPseudonym.cpp | lclc/opentxs | 0bc847c6601d20e3346bb2faf81feda3a14ab303 | [
"Apache-2.0"
] | null | null | null | /************************************************************
*
* OTPseudonym.cpp
*
*/
/************************************************************
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* OPEN TRANSACTIONS
*
* Financial Cryptography and Digital Cash
* Library, Protocol,... | 39.090698 | 97 | 0.548734 | [
"object"
] |
43e2fe60eb59b8561702aa91c297663a130f9217 | 21,222 | cxx | C++ | Examples/Registration/ImageRegistration9.cxx | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | Examples/Registration/ImageRegistration9.cxx | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | Examples/Registration/ImageRegistration9.cxx | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 34.451299 | 83 | 0.705164 | [
"object",
"transform"
] |
43eb2a5ce66d0aae9c9d43a15f86b6ca8a4bbfb0 | 8,351 | cpp | C++ | src/test_lockfree.cpp | fangcun010/inline_asm_lockfree_stack | dac6ccc71c80103cadc5b76516072c29d15efa51 | [
"MIT"
] | 2 | 2020-01-19T10:28:41.000Z | 2020-01-20T05:23:30.000Z | src/test_lockfree.cpp | fangcun010/inline_asm_lockfree_stack | dac6ccc71c80103cadc5b76516072c29d15efa51 | [
"MIT"
] | null | null | null | src/test_lockfree.cpp | fangcun010/inline_asm_lockfree_stack | dac6ccc71c80103cadc5b76516072c29d15efa51 | [
"MIT"
] | 1 | 2020-01-19T13:23:49.000Z | 2020-01-19T13:23:49.000Z | /*
MIT License
Copyright(c) 2019 fangcun
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | 28.896194 | 141 | 0.627111 | [
"vector"
] |
43eec0cae3caab9f75ea1e17d53bd37f2ed24390 | 1,967 | cpp | C++ | object_analytics_nodelet/src/merger/merger.cpp | Zippen-Huang/ros_object_analytics | eb0208edbb6da67e5d5c4092fd2964a2c8d9838e | [
"Apache-2.0"
] | 186 | 2017-11-30T14:08:54.000Z | 2022-02-24T19:17:20.000Z | object_analytics_nodelet/src/merger/merger.cpp | Zippen-Huang/ros_object_analytics | eb0208edbb6da67e5d5c4092fd2964a2c8d9838e | [
"Apache-2.0"
] | 38 | 2017-12-06T12:03:22.000Z | 2021-10-18T13:38:10.000Z | object_analytics_nodelet/src/merger/merger.cpp | Zippen-Huang/ros_object_analytics | eb0208edbb6da67e5d5c4092fd2964a2c8d9838e | [
"Apache-2.0"
] | 58 | 2017-11-30T07:37:35.000Z | 2022-02-04T20:45:59.000Z | /*
* Copyright (c) 2017 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 35.125 | 103 | 0.750381 | [
"model"
] |
43ef46ea382d0bd6281040e71f4f36e421ecb308 | 4,236 | cpp | C++ | src/deps/switchres/custom_video.cpp | basharast/RetroArch-ARM | 33208e97b7eebae35cfce7831cf3fefc9d783d79 | [
"MIT"
] | 4 | 2021-12-03T14:58:12.000Z | 2022-03-05T11:17:16.000Z | src/deps/switchres/custom_video.cpp | basharast/RetroArch-ARM | 33208e97b7eebae35cfce7831cf3fefc9d783d79 | [
"MIT"
] | 2 | 2022-03-16T06:13:34.000Z | 2022-03-26T06:44:50.000Z | src/deps/switchres/custom_video.cpp | basharast/RetroArch-ARM | 33208e97b7eebae35cfce7831cf3fefc9d783d79 | [
"MIT"
] | null | null | null | /**************************************************************
custom_video.cpp - Custom video library
---------------------------------------------------------
Switchres Modeline generation engine for emulation
License GPL-2.0+
Copyright 2010-2021 Chris Kennedy, Antonio Giner,
... | 23.664804 | 107 | 0.508026 | [
"vector"
] |
43f02ec5c525ec695f4ba9df8f8b1dc59736039d | 1,023 | hpp | C++ | lib/common/MD5.hpp | mengxiaokun/Elastos.SDK.Contact | c95d66e813e037e2171990cb764a5f0ad7591116 | [
"MIT"
] | null | null | null | lib/common/MD5.hpp | mengxiaokun/Elastos.SDK.Contact | c95d66e813e037e2171990cb764a5f0ad7591116 | [
"MIT"
] | null | null | null | lib/common/MD5.hpp | mengxiaokun/Elastos.SDK.Contact | c95d66e813e037e2171990cb764a5f0ad7591116 | [
"MIT"
] | null | null | null | /**
* @file MD5.hpp
* @brief MD5
* @details
*
* @author xxx
* @author <xxx@xxx.com>
* @copyright (c) 2012 xxx All rights reserved.
**/
#ifndef _ELASTOS_MD5_HPP_
#define _ELASTOS_MD5_HPP_
#include <string>
#include <vector>
#include <CompatibleFileSystem.hpp>
namespace elastos {
class MD5 {
public:
/***... | 20.058824 | 71 | 0.631476 | [
"vector"
] |
43f058f98781100f9d97f9eaff809cd563db994c | 5,594 | hpp | C++ | src/python_streams.hpp | david-cortes/readsparse | 1d816bdccd628788027041e92d83e8e20702de86 | [
"BSD-2-Clause"
] | 5 | 2021-01-10T06:22:11.000Z | 2021-04-13T12:59:40.000Z | src/python_streams.hpp | david-cortes/readsparse | 1d816bdccd628788027041e92d83e8e20702de86 | [
"BSD-2-Clause"
] | 1 | 2021-01-10T04:42:17.000Z | 2021-01-10T10:55:58.000Z | src/python_streams.hpp | david-cortes/readsparse | 1d816bdccd628788027041e92d83e8e20702de86 | [
"BSD-2-Clause"
] | 1 | 2021-04-13T12:59:41.000Z | 2021-04-13T12:59:41.000Z | /* Read and write sparse matrices in text format:
* <labels(s)> <column>:<value> <column>:<value> ...
*
* BSD 2-Clause License
* Copyright (c) 2021, David Cortes
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided... | 26.76555 | 84 | 0.655881 | [
"vector"
] |
43fb45d0ae853ffc2dbfdf68435fdef93c030902 | 10,581 | cpp | C++ | src/CollisionObject.cpp | AndresTraks/BulletSharp | c277666667f91c58191f4cfa97f117053de679ef | [
"MIT"
] | 245 | 2015-01-02T14:11:26.000Z | 2022-03-18T08:56:36.000Z | src/CollisionObject.cpp | AndresTraks/BulletSharp | c277666667f91c58191f4cfa97f117053de679ef | [
"MIT"
] | 50 | 2015-01-04T22:32:21.000Z | 2021-06-08T20:26:24.000Z | src/CollisionObject.cpp | AndresTraks/BulletSharp | c277666667f91c58191f4cfa97f117053de679ef | [
"MIT"
] | 69 | 2015-04-03T15:38:44.000Z | 2022-01-20T14:27:30.000Z | #include "StdAfx.h"
#include "BroadphaseProxy.h"
#include "CollisionObject.h"
#include "CollisionShape.h"
#include "RigidBody.h"
#ifndef DISABLE_FEATHERSTONE
#include "MultiBodyLinkCollider.h"
#endif
#ifndef DISABLE_SERIALIZE
#include "Serializer.h"
#endif
#ifndef DISABLE_SOFTBODY
#include "SoftBody.h"
#... | 24.43649 | 113 | 0.764389 | [
"object"
] |
43fdb44a50673f9e160bad792c4c363271b4cdf1 | 1,889 | cpp | C++ | aws-cpp-sdk-opsworks/source/model/DescribeRdsDbInstancesRequest.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-opsworks/source/model/DescribeRdsDbInstancesRequest.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-opsworks/source/model/DescribeRdsDbInstancesRequest.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 29.515625 | 133 | 0.777131 | [
"model"
] |
43fed23345f06fb7029f8722e3b750509e4d6b03 | 3,516 | cpp | C++ | Quadbit/Source/Engine/API/Compute.cpp | RMichelsen/Quadbit | d98d5c2e5e239d4d6b8e4cb527ad9b6e4e40a779 | [
"MIT"
] | 1 | 2021-09-07T00:48:00.000Z | 2021-09-07T00:48:00.000Z | Quadbit/Source/Engine/API/Compute.cpp | R-Michelsen/Quadbit | d98d5c2e5e239d4d6b8e4cb527ad9b6e4e40a779 | [
"MIT"
] | null | null | null | Quadbit/Source/Engine/API/Compute.cpp | R-Michelsen/Quadbit | d98d5c2e5e239d4d6b8e4cb527ad9b6e4e40a779 | [
"MIT"
] | null | null | null | #include "Compute.h"
#include <EASTL/string.h>
#include <EASTL/array.h>
#include <EASTL/vector.h>
#include "Engine/Rendering/Renderer.h"
#include "Engine/Rendering/Memory/ResourceManager.h"
#include "Engine/Rendering/VulkanUtils.h"
#include "Engine/Rendering/Shaders/ShaderCompiler.h"
namespace Quadbit {
Compute::Co... | 45.076923 | 146 | 0.799204 | [
"vector"
] |
a101d3e0dd4dd84aa53af8092a5660b05e8a69f7 | 1,610 | hpp | C++ | PosenetOnIOS/PoseParse.hpp | toniz/posenet-on-ios | 45b2d8168e9b47a6e2b726c3e0c83d730d7c217f | [
"MIT"
] | 31 | 2019-07-18T20:25:39.000Z | 2022-03-31T00:11:59.000Z | PosenetOnIOS/PoseParse.hpp | toniz/posenet-on-ios | 45b2d8168e9b47a6e2b726c3e0c83d730d7c217f | [
"MIT"
] | null | null | null | PosenetOnIOS/PoseParse.hpp | toniz/posenet-on-ios | 45b2d8168e9b47a6e2b726c3e0c83d730d7c217f | [
"MIT"
] | 7 | 2019-08-30T08:11:59.000Z | 2020-09-14T03:14:20.000Z | //
// PoseParse.hpp
// PosenetOnIOS
//
// Created by toniz sin on 9/7/2019.
//
#ifndef PoseParse_hpp
#define PoseParse_hpp
#include <stdio.h>
#include <string>
#include <vector>
#include <map>
#define FLOAT_TO_INT 10000
#define INT_TO_FLOAT 10000.0
using namespace std;
class C3DArray
{
public:
C3DArray(int ... | 21.466667 | 157 | 0.652795 | [
"vector"
] |
a103db1afc86b208d77c297f4d1bbe82d54a057a | 3,428 | cpp | C++ | deform_control/external_libs/OpenSceneGraph-2.8.5/src/osg/DeleteHandler.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | 3 | 2018-08-20T12:12:43.000Z | 2021-06-06T09:43:27.000Z | deform_control/external_libs/OpenSceneGraph-2.8.5/src/osg/DeleteHandler.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | null | null | null | deform_control/external_libs/OpenSceneGraph-2.8.5/src/osg/DeleteHandler.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | 1 | 2022-03-31T03:12:23.000Z | 2022-03-31T03:12:23.000Z | /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with ... | 30.607143 | 95 | 0.672404 | [
"object"
] |
a103f0cfdd397e18bf3a9a623b0204c0052d4527 | 35,975 | cpp | C++ | GLIP-Lib/src/Core/HdlShader.cpp | ronan-kerviche/glip-lib | 6ae64559db7616abc33e586364940695665795a9 | [
"MIT"
] | 16 | 2016-07-29T07:39:07.000Z | 2022-03-17T04:27:22.000Z | GLIP-Lib/src/Core/HdlShader.cpp | ronan-kerviche/glip-lib | 6ae64559db7616abc33e586364940695665795a9 | [
"MIT"
] | 2 | 2017-02-04T19:34:26.000Z | 2020-05-29T20:13:58.000Z | GLIP-Lib/src/Core/HdlShader.cpp | ronan-kerviche/glip-lib | 6ae64559db7616abc33e586364940695665795a9 | [
"MIT"
] | 4 | 2016-07-07T10:16:11.000Z | 2019-03-24T05:56:16.000Z | /* ************************************************************************************************************* */
/* */
/* GLIP-LIB ... | 45.711563 | 427 | 0.690507 | [
"object",
"vector"
] |
a10c78cc805dd31e7382045607e2b4098f7d20e1 | 4,686 | hpp | C++ | Programming Guide/Headers/Siv3D/BinaryWriter.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | 38 | 2016-01-14T13:51:13.000Z | 2021-12-29T01:49:30.000Z | Programming Guide/Headers/Siv3D/BinaryWriter.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | null | null | null | Programming Guide/Headers/Siv3D/BinaryWriter.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | 16 | 2016-01-15T11:07:51.000Z | 2021-12-29T01:49:37.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (C) 2008-2016 Ryo Suzuki
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <memory>
# include <array>
# include "Fwd.hpp"
# include "IWriter.h... | 19.689076 | 93 | 0.569569 | [
"vector"
] |
a10d5dd676a34c6b3a23d83401a8e6cf4a2897d1 | 31,016 | cpp | C++ | test/narrowphase/detail/primitive_shape_algorithm/test_sphere_box.cpp | haraisao/fcl | 6d008b63b801a2c85435c4ae959c28d7538ad270 | [
"BSD-3-Clause"
] | 2 | 2021-07-24T13:02:02.000Z | 2021-07-28T03:05:32.000Z | test/narrowphase/detail/primitive_shape_algorithm/test_sphere_box.cpp | haraisao/fcl | 6d008b63b801a2c85435c4ae959c28d7538ad270 | [
"BSD-3-Clause"
] | null | null | null | test/narrowphase/detail/primitive_shape_algorithm/test_sphere_box.cpp | haraisao/fcl | 6d008b63b801a2c85435c4ae959c28d7538ad270 | [
"BSD-3-Clause"
] | 1 | 2021-06-01T10:42:22.000Z | 2021-06-01T10:42:22.000Z | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2018. Toyota Research Institute
* 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 c... | 41.354667 | 80 | 0.656113 | [
"geometry",
"shape",
"vector"
] |
e161f4044b5b82e9d95b9226fd2b412783e47fe0 | 2,246 | cc | C++ | src/math/cholesky.cc | obs145628/ai-cpp | 32ff9365e0d3a36d219352ee6e3a01e62c633cc9 | [
"MIT"
] | null | null | null | src/math/cholesky.cc | obs145628/ai-cpp | 32ff9365e0d3a36d219352ee6e3a01e62c633cc9 | [
"MIT"
] | null | null | null | src/math/cholesky.cc | obs145628/ai-cpp | 32ff9365e0d3a36d219352ee6e3a01e62c633cc9 | [
"MIT"
] | null | null | null | #include "math/cholesky.hh"
#include <cassert>
#include <cmath>
#include "math/gauss.hh"
#include "math/vlist.hh"
Matrix Cholesky::ll(const Matrix& a)
{
assert(a.rows() == a.cols());
std::size_t n = a.rows();
auto l = Matrix::null(n, n);
for (std::size_t j = 0; j < n; ++j)
{
double val = a.at(j, j);... | 22.46 | 58 | 0.489314 | [
"vector"
] |
e16204f23356b69c81fe4bb0f5e534c0498bd18d | 12,501 | cpp | C++ | test/rocprim/test_device_radix_sort_floats.cpp | pavahora/rocPRIM | 180bf4ea64dc2262d4053c306e8e478a35c3c6e1 | [
"MIT"
] | null | null | null | test/rocprim/test_device_radix_sort_floats.cpp | pavahora/rocPRIM | 180bf4ea64dc2262d4053c306e8e478a35c3c6e1 | [
"MIT"
] | null | null | null | test/rocprim/test_device_radix_sort_floats.cpp | pavahora/rocPRIM | 180bf4ea64dc2262d4053c306e8e478a35c3c6e1 | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2017-2021 Advanced Micro Devices, Inc. All rights reserved.
//
// 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 lim... | 32.302326 | 116 | 0.596752 | [
"vector"
] |
e1625fee6514609237410693ea2b8dc93cc6cfdc | 6,260 | cpp | C++ | src/phase_limiter/test_grad.cpp | nankasuisui/phaselimiter | dd155676a3750d4977b8248d52fc77f5c28d1906 | [
"MIT"
] | 12 | 2021-07-07T14:37:20.000Z | 2022-03-07T16:43:47.000Z | src/phase_limiter/test_grad.cpp | nankasuisui/phaselimiter | dd155676a3750d4977b8248d52fc77f5c28d1906 | [
"MIT"
] | null | null | null | src/phase_limiter/test_grad.cpp | nankasuisui/phaselimiter | dd155676a3750d4977b8248d52fc77f5c28d1906 | [
"MIT"
] | 3 | 2021-04-03T13:36:02.000Z | 2021-12-28T20:21:10.000Z | #include <vector>
#include <iostream>
#include <random>
#include "bakuage/memory.h"
#include "phase_limiter/GradCore.h"
void TestGradCoreFft();
template <class SimdType>
void TestGradCoreFft() {
#if 0
typedef typename SimdType::element_type Float;
auto x = &phase_limiter::impl::ThreadVar1<SimdType>::GetT... | 34.20765 | 136 | 0.542173 | [
"vector"
] |
e16a28c10ce6c94740578448aa2e58a956619793 | 10,409 | hpp | C++ | src/p2p/sendmessage.hpp | DBCGlobal/DragonBallChain | 4d2b2c69048980e367a4235a70180dc0b9acc81f | [
"MIT"
] | 2 | 2021-10-03T14:27:03.000Z | 2021-10-19T15:29:27.000Z | src/p2p/sendmessage.hpp | DBCGlobal/DragonBallChain | 4d2b2c69048980e367a4235a70180dc0b9acc81f | [
"MIT"
] | null | null | null | src/p2p/sendmessage.hpp | DBCGlobal/DragonBallChain | 4d2b2c69048980e367a4235a70180dc0b9acc81f | [
"MIT"
] | null | null | null | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2017-2019 The DragonBallChain Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SENDMESSAGE_HPP
#define SENDMESSAGE_HPP
#include "main.h"
#includ... | 40.660156 | 130 | 0.525026 | [
"vector"
] |
e171f9bc2b9cd479d560bbcd05932ed9071a17c9 | 5,081 | hpp | C++ | labb3/labb3-library/math.hpp | ZetaTwo/dd2458-library | b4b8c9ba5fd5f5839674c48c5d5bd8eec31fbbd0 | [
"MIT"
] | 1 | 2015-02-13T17:14:15.000Z | 2015-02-13T17:14:15.000Z | labb3/labb3-library/math.hpp | ZetaTwo/dd2458-library | b4b8c9ba5fd5f5839674c48c5d5bd8eec31fbbd0 | [
"MIT"
] | null | null | null | labb3/labb3-library/math.hpp | ZetaTwo/dd2458-library | b4b8c9ba5fd5f5839674c48c5d5bd8eec31fbbd0 | [
"MIT"
] | null | null | null | // KTH DD2458 popuph14
// authors: magolsso@kth.se
// carlsven@kth.se
#pragma once
#include <stdexcept>
#include <vector>
#include <bitset>
#include <limits>
#include <map>
#include <algorithm>
//Calculates GCD(a, b)
template<typename T>
T gcd(T a, T b) {
T t;
while (b != 0) {
t = b;
b = a % b;
... | 21.529661 | 115 | 0.57961 | [
"vector"
] |
e178df86fca3313e87c83eec4c9c81aeb9de7f08 | 6,961 | cpp | C++ | src/ui/TextBox.cpp | fentacoder/NanoEngine | 9c4e27b7b7b1d8335d21aa02385afc96a7ea8188 | [
"Apache-2.0"
] | null | null | null | src/ui/TextBox.cpp | fentacoder/NanoEngine | 9c4e27b7b7b1d8335d21aa02385afc96a7ea8188 | [
"Apache-2.0"
] | null | null | null | src/ui/TextBox.cpp | fentacoder/NanoEngine | 9c4e27b7b7b1d8335d21aa02385afc96a7ea8188 | [
"Apache-2.0"
] | null | null | null | /*************************************************************************************************
Copyright 2021 Jamar Phillip
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyri... | 42.445122 | 185 | 0.586123 | [
"shape"
] |
e17a93b05ed5854eba379a9dec41f53522e16a82 | 2,570 | cpp | C++ | aoc10-2.cpp | LiemDQ/advent2021 | d1a7344050f35ebf8be94bacc7f4c1e80858473f | [
"MIT"
] | null | null | null | aoc10-2.cpp | LiemDQ/advent2021 | d1a7344050f35ebf8be94bacc7f4c1e80858473f | [
"MIT"
] | null | null | null | aoc10-2.cpp | LiemDQ/advent2021 | d1a7344050f35ebf8be94bacc7f4c1e80858473f | [
"MIT"
] | null | null | null | #include <vector>
#include <stack>
#include <fstream>
#include <string>
#include <iostream>
#include <algorithm>
#include <cassert>
#include <optional>
char match_end_bracket(char brack){
switch (brack) {
case ')':
return '(';
case '}':
return '{';
case ']':
return '[';
case '>':
return '<';
def... | 18.098592 | 106 | 0.58677 | [
"vector"
] |
e17c34f45758139f0f58fd12f805e25d3bc577ae | 1,505 | hpp | C++ | source/kiwi-core/Codegen/Emitter.hpp | alurin/kiwi | d428b6e70fb79f80caa096916dd570f4fc9725cf | [
"MIT"
] | null | null | null | source/kiwi-core/Codegen/Emitter.hpp | alurin/kiwi | d428b6e70fb79f80caa096916dd570f4fc9725cf | [
"MIT"
] | null | null | null | source/kiwi-core/Codegen/Emitter.hpp | alurin/kiwi | d428b6e70fb79f80caa096916dd570f4fc9725cf | [
"MIT"
] | null | null | null | /*
*******************************************************************************
* Copyright (C) 2012 Vasiliy Sheredeko
* MIT license. All Rights Reserved.
*******************************************************************************
*/
#ifndef KIWI_CODEGEN_EMITTER_INTERNAL
#define KIWI_CODEGEN_EMITTER_INT... | 28.396226 | 91 | 0.611296 | [
"vector"
] |
e18897d5015ebeb5717af341b8120b794a9c3d3b | 5,699 | cpp | C++ | operators/parallelscan.cpp | damodar123/pythia-core | 6b90aafed40aa63185105a652b20c61fc5a4320d | [
"BSD-3-Clause"
] | 14 | 2015-01-25T19:11:49.000Z | 2021-08-24T18:48:37.000Z | operators/parallelscan.cpp | damodar123/pythia-core | 6b90aafed40aa63185105a652b20c61fc5a4320d | [
"BSD-3-Clause"
] | null | null | null | operators/parallelscan.cpp | damodar123/pythia-core | 6b90aafed40aa63185105a652b20c61fc5a4320d | [
"BSD-3-Clause"
] | 8 | 2015-03-16T20:08:53.000Z | 2020-09-14T02:39:48.000Z |
/*
* Copyright 2009, Pythia authors (see AUTHORS file).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice... | 29.837696 | 102 | 0.742937 | [
"vector"
] |
e190f1a9ed6c8e109ebd88dca1b68373fabb5870 | 29,776 | cpp | C++ | src/lsh/sources/LocalitySensitiveHashing.cpp | Mario-Kart-Felix/Deckard | 6b14b0e3fb54b456f233c28bb7fce5597a5992e4 | [
"BSD-3-Clause"
] | 166 | 2015-02-27T14:55:02.000Z | 2022-03-16T07:14:51.000Z | src/lsh/sources/LocalitySensitiveHashing.cpp | Mario-Kart-Felix/Deckard | 6b14b0e3fb54b456f233c28bb7fce5597a5992e4 | [
"BSD-3-Clause"
] | 23 | 2015-05-01T01:25:33.000Z | 2022-02-14T05:17:04.000Z | src/lsh/sources/LocalitySensitiveHashing.cpp | Mario-Kart-Felix/Deckard | 6b14b0e3fb54b456f233c28bb7fce5597a5992e4 | [
"BSD-3-Clause"
] | 81 | 2015-01-19T22:32:24.000Z | 2022-03-22T05:48:04.000Z | /*
* Copyright (c) 2004-2005 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* MIT grants permission to use, copy, modify, and distribute this software and
* its documentation for NON-COMMERCIAL purposes and without fee, provided that
* this copyright notice appears in all copies.
*
* MIT provid... | 39.024902 | 203 | 0.691967 | [
"vector",
"model"
] |
e1960f28a35b4e1bd78fa5d55191f11bd0ffb8fd | 475 | hpp | C++ | include/pybind11-numpy-example/pybind11-numpy-example.hpp | lkeegan/pybind11-numpy-example | 2420f24c772640eab68b2c216c3693da403bba96 | [
"MIT"
] | 1 | 2021-10-13T14:59:22.000Z | 2021-10-13T14:59:22.000Z | include/pybind11-numpy-example/pybind11-numpy-example.hpp | lkeegan/pybind11-numpy-example | 2420f24c772640eab68b2c216c3693da403bba96 | [
"MIT"
] | 2 | 2021-06-29T09:14:52.000Z | 2021-10-13T14:27:05.000Z | include/pybind11-numpy-example/pybind11-numpy-example.hpp | lkeegan/pybind11-numpy-example | 2420f24c772640eab68b2c216c3693da403bba96 | [
"MIT"
] | 2 | 2021-07-01T15:32:18.000Z | 2021-10-13T14:11:56.000Z | #pragma once
#include <numeric>
#include <vector>
namespace pybind11numpyexample {
/** @brief Helper function that returns a vector of given size and type
*
* @tparam T The type of element
* @param size The size of the vector to return
* @returns a vector of given size and type
*/
template <typename T> std::vec... | 22.619048 | 71 | 0.698947 | [
"vector"
] |
e198c203063f46552a42974a76604cbb0fb72842 | 1,287 | cpp | C++ | src/models/metasprite/framesetfile-serializer.cpp | undisbeliever/untech-editor | 8598097baf6b2ac0b5580bc000e9adc3bf682043 | [
"MIT"
] | 13 | 2016-05-02T09:00:42.000Z | 2020-11-07T11:21:07.000Z | src/models/metasprite/framesetfile-serializer.cpp | undisbeliever/untech-editor | 8598097baf6b2ac0b5580bc000e9adc3bf682043 | [
"MIT"
] | 3 | 2016-09-28T13:36:29.000Z | 2020-12-22T12:22:43.000Z | src/models/metasprite/framesetfile-serializer.cpp | undisbeliever/untech-editor | 8598097baf6b2ac0b5580bc000e9adc3bf682043 | [
"MIT"
] | 1 | 2016-05-08T09:26:01.000Z | 2016-05-08T09:26:01.000Z | /*
* This file is part of the UnTech Editor Suite.
* Copyright (c) 2016 - 2021, Marcus Rowe <undisbeliever@gmail.com>.
* Distributed under The MIT License: https://opensource.org/licenses/MIT
*/
#include "framesetfile-serializer.h"
using namespace UnTech::Xml;
namespace UnTech::MetaSprite {
const EnumMap<FrameS... | 26.8125 | 83 | 0.686869 | [
"vector"
] |
e19b04ccb5178165d2fbcfd345da5ed53421cfd1 | 8,686 | cpp | C++ | Firmware/Marlin/src/lcd/menu/menu_bed_leveling.cpp | M1dn1ghtN1nj4/UnifiedFirmware | 510ef8f4145dcbae1caced5e391c3888e6022b00 | [
"Info-ZIP"
] | 6 | 2020-12-04T21:55:04.000Z | 2022-02-02T20:49:45.000Z | Firmware/Marlin/src/lcd/menu/menu_bed_leveling.cpp | M1dn1ghtN1nj4/UnifiedFirmware | 510ef8f4145dcbae1caced5e391c3888e6022b00 | [
"Info-ZIP"
] | 24 | 2020-12-25T05:00:51.000Z | 2021-04-20T00:56:50.000Z | Firmware/Marlin/src/lcd/menu/menu_bed_leveling.cpp | M1dn1ghtN1nj4/UnifiedFirmware | 510ef8f4145dcbae1caced5e391c3888e6022b00 | [
"Info-ZIP"
] | 3 | 2021-05-01T15:13:41.000Z | 2022-02-11T01:15:30.000Z | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 29.147651 | 140 | 0.677527 | [
"mesh",
"3d"
] |
e19dc14dbc6635b771e943bafaecc92026f3e693 | 3,290 | cpp | C++ | Source/Core/ScreenCapture/ScreenshotHelper.cpp | zenden2k/image-uploader | 6cf2b3385039f0a000afa86f0ce80706aeb98226 | [
"Apache-2.0"
] | 107 | 2015-03-13T08:58:26.000Z | 2022-03-14T02:56:36.000Z | Source/Core/ScreenCapture/ScreenshotHelper.cpp | zenden2k/image-uploader | 6cf2b3385039f0a000afa86f0ce80706aeb98226 | [
"Apache-2.0"
] | 285 | 2015-03-12T23:08:54.000Z | 2022-02-20T15:22:31.000Z | Source/Core/ScreenCapture/ScreenshotHelper.cpp | zenden2k/image-uploader | 6cf2b3385039f0a000afa86f0ce80706aeb98226 | [
"Apache-2.0"
] | 40 | 2015-03-14T13:37:08.000Z | 2021-08-15T05:58:10.000Z | #include "ScreenshotHelper.h"
#include <dwmapi.h>
#include "Func/WinUtils.h"
namespace ScreenshotHelper {
std::vector<RECT> monitorsRects;
BOOL getActualWindowRect(HWND hWnd, RECT* res, bool maximizedFix) {
BOOL isEnabled = false;
if (S_OK == DwmIsCompositionEnabled(&isEnabled)) {
if (isEnabled) {
... | 28.859649 | 102 | 0.621581 | [
"vector"
] |
e1a3326472753e4270e5b4264ebd60a778be5003 | 45,764 | cpp | C++ | src/auto_referee/src/auto_referee.cpp | SaligiaR/simatch | a295a39500518ec220fa511ebfb2b50daab84b4e | [
"Apache-2.0"
] | 60 | 2016-09-17T13:18:03.000Z | 2021-12-20T01:19:49.000Z | src/auto_referee/src/auto_referee.cpp | SaligiaR/simatch | a295a39500518ec220fa511ebfb2b50daab84b4e | [
"Apache-2.0"
] | 13 | 2016-09-09T14:40:34.000Z | 2022-03-08T08:10:44.000Z | src/auto_referee/src/auto_referee.cpp | SaligiaR/simatch | a295a39500518ec220fa511ebfb2b50daab84b4e | [
"Apache-2.0"
] | 56 | 2016-09-09T14:49:53.000Z | 2022-03-26T15:02:54.000Z | #include "auto_referee.h"
#include <iostream>
#ifdef USE_NCURSES
#include <ncurses.h>
#define OUTINFO printw
#define OUTERROR printw
#else
#define OUTINFO ROS_INFO
#define OUTERROR ROS_ERROR
#define KEY_UP '5'
#define KEY_DOWN '2'
#define KEY_LEFT '1'
#defin... | 34.409023 | 157 | 0.556158 | [
"model",
"solid"
] |
e1a4175687e1d96a9bb8f68cf6aff750e40f26f8 | 18,978 | cc | C++ | test/common/upstream/cluster_discovery_manager_test.cc | VMAJSTER/envoy | bd0ec3d14bc2c6159ee9fafe76355f9607b5c9f7 | [
"Apache-2.0"
] | 1 | 2022-03-02T14:23:12.000Z | 2022-03-02T14:23:12.000Z | test/common/upstream/cluster_discovery_manager_test.cc | VMAJSTER/envoy | bd0ec3d14bc2c6159ee9fafe76355f9607b5c9f7 | [
"Apache-2.0"
] | 153 | 2021-10-04T04:32:48.000Z | 2022-03-31T04:22:40.000Z | test/common/upstream/cluster_discovery_manager_test.cc | VMAJSTER/envoy | bd0ec3d14bc2c6159ee9fafe76355f9607b5c9f7 | [
"Apache-2.0"
] | 1 | 2019-07-09T21:09:57.000Z | 2019-07-09T21:09:57.000Z | #include <functional>
#include <list>
#include <memory>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include "envoy/upstream/cluster_manager.h"
#include "source/common/common/cleanup.h"
#include "source/common/upstream/cluster_discovery_manager.h"
#include "test/mocks/upstream/thread_lo... | 42.361607 | 100 | 0.680736 | [
"vector"
] |
e1a49ffb4eb9fd862c1aa6b315356d7dee1e92cb | 1,015 | cpp | C++ | acmicpc/8984.cpp | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | acmicpc/8984.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | acmicpc/8984.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | #include <iostream>
#include <algorithm>
#include <vector>
#include <tuple>
using namespace std;
#define MAX 100001
int n, l, u, v;
vector<int> t, d;
vector<tuple<int, int, int>> st;
long long dpT[MAX], dpD[MAX];
int main()
{
ios_base::sync_with_stdio(0);
cout.tie(0);
cin.tie(0);
cin >> n >> l;
for (int i=0; i<... | 19.901961 | 70 | 0.552709 | [
"vector"
] |
e1ad5804f0f2b6acdfdf311ff7045049301e6668 | 15,548 | cpp | C++ | thrift/lib/cpp/server/test/AggregatorClientTest.cpp | jesboat/fbthrift | 7d8e1dcec59024e526e6768d3d4a66f6c4abe5ac | [
"Apache-2.0"
] | 1 | 2015-11-05T18:31:38.000Z | 2015-11-05T18:31:38.000Z | thrift/lib/cpp/server/test/AggregatorClientTest.cpp | jesboat/fbthrift | 7d8e1dcec59024e526e6768d3d4a66f6c4abe5ac | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp/server/test/AggregatorClientTest.cpp | jesboat/fbthrift | 7d8e1dcec59024e526e6768d3d4a66f6c4abe5ac | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | 33.508621 | 77 | 0.590623 | [
"object",
"vector"
] |
e1b1895b0e960b570e5e23bfd40fe80e3ee0bae9 | 591 | cpp | C++ | adventofcode2021/7.cpp | marcinbiegun/exercises | 36ad942e8d40d6471136326a3f6d09285bbd90aa | [
"MIT"
] | 1 | 2018-12-11T14:09:14.000Z | 2018-12-11T14:09:14.000Z | adventofcode2021/7.cpp | marcinbiegun/exercises | 36ad942e8d40d6471136326a3f6d09285bbd90aa | [
"MIT"
] | null | null | null | adventofcode2021/7.cpp | marcinbiegun/exercises | 36ad942e8d40d6471136326a3f6d09285bbd90aa | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include "./utils.cpp"
#include "./7lib.cpp"
int main() {
std::string inputString = getInputString("7input.txt");
std::vector<std::string> inputNumbers = splitString(inputString, ',');
std::vector<int> numbers;
for (auto inputNumber : inputNumbers) {
auto [... | 26.863636 | 74 | 0.631134 | [
"vector"
] |
e1b98295eabd034ea20f2b96d5483dd395e84359 | 16,891 | cpp | C++ | src/test/RunLengthEncodeGPU_test.cpp | robertmaynard/nvcomp | 0af45c303eda4aa77235cba8d2e7b7c0b019208c | [
"BSD-3-Clause"
] | 256 | 2020-08-03T17:40:07.000Z | 2022-03-30T15:43:10.000Z | src/test/RunLengthEncodeGPU_test.cpp | robertmaynard/nvcomp | 0af45c303eda4aa77235cba8d2e7b7c0b019208c | [
"BSD-3-Clause"
] | 44 | 2020-08-11T06:04:23.000Z | 2022-03-30T23:34:44.000Z | src/test/RunLengthEncodeGPU_test.cpp | robertmaynard/nvcomp | 0af45c303eda4aa77235cba8d2e7b7c0b019208c | [
"BSD-3-Clause"
] | 49 | 2020-08-04T16:03:32.000Z | 2022-03-24T10:15:02.000Z | /*
* Copyright (c) 2020, NVIDIA CORPORATION. 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 co... | 32.234733 | 80 | 0.644189 | [
"vector"
] |
e1bd64c6d7745e00d515f20fc1540f8e22985418 | 17,392 | cpp | C++ | Samples/EmbeddedSamples/Micro AV Media Browser/MediaBrowserPPC/MediaBrowserPPCDlg.cpp | okertanov/Developer-Tools-for-UPnP-Technologies | 15da0c9e67430e79473362a8fb5de0f03b4f8f6b | [
"Apache-2.0"
] | null | null | null | Samples/EmbeddedSamples/Micro AV Media Browser/MediaBrowserPPC/MediaBrowserPPCDlg.cpp | okertanov/Developer-Tools-for-UPnP-Technologies | 15da0c9e67430e79473362a8fb5de0f03b4f8f6b | [
"Apache-2.0"
] | null | null | null | Samples/EmbeddedSamples/Micro AV Media Browser/MediaBrowserPPC/MediaBrowserPPCDlg.cpp | okertanov/Developer-Tools-for-UPnP-Technologies | 15da0c9e67430e79473362a8fb5de0f03b4f8f6b | [
"Apache-2.0"
] | 1 | 2019-02-22T19:57:30.000Z | 2019-02-22T19:57:30.000Z | /*
Copyright 2006 - 2011 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | 27.694268 | 188 | 0.709752 | [
"object"
] |
e1c009836d701f993b130c35e79cbadd8937e605 | 4,768 | cpp | C++ | source/core/ad-manager/AdClickPredictor.cpp | izenecloud/sf1r-ad-delivery | 998eadb243098446854615de9a96e58a24bd2f4f | [
"Apache-2.0"
] | 18 | 2015-04-20T03:40:36.000Z | 2020-01-09T08:43:07.000Z | source/core/ad-manager/AdClickPredictor.cpp | izenecloud/sf1r-ad-delivery | 998eadb243098446854615de9a96e58a24bd2f4f | [
"Apache-2.0"
] | null | null | null | source/core/ad-manager/AdClickPredictor.cpp | izenecloud/sf1r-ad-delivery | 998eadb243098446854615de9a96e58a24bd2f4f | [
"Apache-2.0"
] | 7 | 2015-02-01T13:53:35.000Z | 2020-07-07T15:45:36.000Z | /*
* AdCliclPredictor.cpp
*/
#include "AdClickPredictor.h"
#include <dirent.h>
#include <stdio.h>
#include <fstream>
#include <boost/bind.hpp>
#include <boost/algorithm/string.hpp>
#include <glog/logging.h>
#include <boost/filesystem.hpp>
namespace sf1r
{
void AdClickPredictor::init(const std::string& path)
{
... | 23.959799 | 87 | 0.553062 | [
"vector",
"model"
] |
e1c753a852b4ee6bcfaceff344480d0fd52a4274 | 6,873 | cc | C++ | src/libxtp/forces.cc | mbarbry/xtp | e79828209d11ec25bf1750ab75499ecf50f584ef | [
"Apache-2.0"
] | null | null | null | src/libxtp/forces.cc | mbarbry/xtp | e79828209d11ec25bf1750ab75499ecf50f584ef | [
"Apache-2.0"
] | null | null | null | src/libxtp/forces.cc | mbarbry/xtp | e79828209d11ec25bf1750ab75499ecf50f584ef | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2018 The VOTCA Development Team
* (http://www.votca.org)
*
* 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
*
* h... | 46.755102 | 160 | 0.585334 | [
"vector"
] |
e1cbde6f76eed3f167d705099831ec15e39106ba | 1,770 | cpp | C++ | Src/Source/ColorView.cpp | Sylvain78/BeTeX | 4624602987dd0f2790280c69f380661a03a03180 | [
"MIT"
] | null | null | null | Src/Source/ColorView.cpp | Sylvain78/BeTeX | 4624602987dd0f2790280c69f380661a03a03180 | [
"MIT"
] | null | null | null | Src/Source/ColorView.cpp | Sylvain78/BeTeX | 4624602987dd0f2790280c69f380661a03a03180 | [
"MIT"
] | null | null | null | /*****************************************************************
* Copyright (c) 2005 Tim de Jong, Brent Miszalski *
* *
* All rights reserved. *
* Distributed under the terms of the MIT License. *
****************************************************************... | 29.5 | 121 | 0.681921 | [
"render"
] |
e1cd3ca0a0a3fe60256ed7b96b9d9242d6657c2a | 3,308 | cpp | C++ | Program/InstanceCVRPLIB.cpp | chkwon/HGS-CVRP | cab306d2b25269c57e58acbb7b1f8a6c54491b76 | [
"MIT"
] | null | null | null | Program/InstanceCVRPLIB.cpp | chkwon/HGS-CVRP | cab306d2b25269c57e58acbb7b1f8a6c54491b76 | [
"MIT"
] | null | null | null | Program/InstanceCVRPLIB.cpp | chkwon/HGS-CVRP | cab306d2b25269c57e58acbb7b1f8a6c54491b76 | [
"MIT"
] | null | null | null | //
// Created by chkwon on 3/22/22.
//
#include <fstream>
#include <cmath>
#include "InstanceCVRPLIB.h"
InstanceCVRPLIB::InstanceCVRPLIB(std::string pathToInstance, bool isRoundingInteger = true)
{
std::string content, content2, content3;
double serviceTimeData = 0.;
// Read INPUT dataset
std::ifstream inputFile... | 38.917647 | 139 | 0.658404 | [
"vector"
] |
e1ce1aae23664e916d5e235250904f70645d8e1f | 8,067 | hpp | C++ | ScannerBit/include/gambit/ScannerBit/scanners/postprocessor_2.0.0/postprocessor.hpp | patscott/gambit_1.4 | a50537419918089effc207e8b206489a5cfd2258 | [
"Unlicense"
] | 1 | 2019-01-21T19:59:18.000Z | 2019-01-21T19:59:18.000Z | ScannerBit/include/gambit/ScannerBit/scanners/postprocessor_2.0.0/postprocessor.hpp | patscott/gambit_1.2 | 19d8ffbe58e1622542eef6c48790fb1a8cf6dd0b | [
"Unlicense"
] | 4 | 2019-10-06T14:03:41.000Z | 2020-08-06T11:53:54.000Z | ScannerBit/include/gambit/ScannerBit/scanners/postprocessor_2.0.0/postprocessor.hpp | patscott/gambit_1.4 | a50537419918089effc207e8b206489a5cfd2258 | [
"Unlicense"
] | null | null | null | // GAMBIT: Global and Modular BSM Inference Tool
// *********************************************
/// \file
///
/// "Postprocessing" scanner plugin.
/// Header file
///
/// *********************************************
///
/// Authors (add name and date if you modify):
///
/// \author Ben Farmer
/// (b... | 36.337838 | 147 | 0.624768 | [
"object",
"vector",
"model"
] |
e1d4ddb8775ab90780eb84d1dff0d199ee9053c6 | 1,645 | hpp | C++ | infra/stream/StdVectorOutputStream.hpp | ghsecuritylab/embeddedinfralib | 46ebdfcc495150afb38cc380f22be7c3e3dcbfbc | [
"Unlicense"
] | 54 | 2019-04-02T14:42:54.000Z | 2022-03-20T23:02:19.000Z | infra/stream/StdVectorOutputStream.hpp | ghsecuritylab/embeddedinfralib | 46ebdfcc495150afb38cc380f22be7c3e3dcbfbc | [
"Unlicense"
] | 32 | 2019-03-26T06:57:29.000Z | 2022-03-25T00:04:44.000Z | infra/stream/StdVectorOutputStream.hpp | ghsecuritylab/embeddedinfralib | 46ebdfcc495150afb38cc380f22be7c3e3dcbfbc | [
"Unlicense"
] | 20 | 2019-03-25T15:49:49.000Z | 2022-03-20T23:02:22.000Z | #ifndef INFRA_STD_VECTOR_OUTPUT_STREAM_HPP
#define INFRA_STD_VECTOR_OUTPUT_STREAM_HPP
#include "infra/stream/OutputStream.hpp"
#include "infra/util/WithStorage.hpp"
#include <vector>
namespace infra
{
class StdVectorOutputStreamWriter
: public StreamWriter
{
public:
using WithStorage = inf... | 35.76087 | 128 | 0.722796 | [
"vector"
] |
e1d68a892fe767e8cf0cd02bf3fe5745d9b286f9 | 6,855 | cpp | C++ | src/cpp/main/main.cpp | javabird25/PyGmod | 9bbf3b985548b258182c6f25f02617c712642e9d | [
"MIT"
] | 26 | 2018-11-27T16:40:30.000Z | 2022-01-27T12:37:34.000Z | src/cpp/main/main.cpp | javabird25/PyGmod | 9bbf3b985548b258182c6f25f02617c712642e9d | [
"MIT"
] | 9 | 2019-05-05T22:00:00.000Z | 2021-01-18T13:43:21.000Z | src/cpp/main/main.cpp | javabird25/PyGmod | 9bbf3b985548b258182c6f25f02617c712642e9d | [
"MIT"
] | 4 | 2019-05-05T18:10:35.000Z | 2022-01-18T14:42:31.000Z | // Third stage of PyGmod init.
// This binary module initializes Python and creates subinterpreters for each realm.
#include <fstream>
#include <filesystem>
#ifdef __linux__
#include <dlfcn.h> // For dlopen workaround
#endif
#include <GarrysMod/Lua/Interface.h>
#include "Console.hpp"
#include "_luastack.hpp"
#incl... | 31.30137 | 122 | 0.727644 | [
"object"
] |
e1dad4985732e3d8707b76bee2a4409d6feb55dd | 4,502 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcDistanceExpression.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 426 | 2015-04-12T10:00:46.000Z | 2022-03-29T11:03:02.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcDistanceExpression.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 124 | 2015-05-15T05:51:00.000Z | 2022-02-09T15:25:12.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcDistanceExpression.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 214 | 2015-05-06T07:30:37.000Z | 2022-03-26T16:14:04.000Z | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "ifcpp/model/AttributeObject.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/model/BuildingGuid.h"
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/I... | 60.026667 | 238 | 0.771657 | [
"vector",
"model"
] |
e1de9fc2cba2454271b716911d7c672ea438fa5a | 58 | cpp | C++ | benchmarks/logical_or/strict_specialization.erb.cpp | ldionne/mpl11 | 927d4339edc0c0cc41fb65ced2bf19d26bcd4a08 | [
"BSL-1.0"
] | 80 | 2015-03-09T03:19:12.000Z | 2022-03-04T06:44:12.000Z | benchmarks/logical_or/strict_specialization.erb.cpp | ldionne/mpl11 | 927d4339edc0c0cc41fb65ced2bf19d26bcd4a08 | [
"BSL-1.0"
] | 1 | 2021-07-27T22:37:43.000Z | 2021-08-06T17:42:07.000Z | benchmarks/logical_or/strict_specialization.erb.cpp | ldionne/mpl11 | 927d4339edc0c0cc41fb65ced2bf19d26bcd4a08 | [
"BSL-1.0"
] | 8 | 2015-01-28T00:18:57.000Z | 2021-08-06T03:00:49.000Z | <%= render('_main.erb', which: 'strict_specialization') %> | 58 | 58 | 0.689655 | [
"render"
] |
e1e111dd27ecf2153b48e04689a5bfe4ec151797 | 766 | cc | C++ | Code/1970-sorting-the-sentence.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 2 | 2019-12-06T14:08:57.000Z | 2020-01-15T15:25:32.000Z | Code/1970-sorting-the-sentence.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 1 | 2020-01-15T16:29:16.000Z | 2020-01-26T12:40:13.000Z | Code/1970-sorting-the-sentence.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | null | null | null | class Solution {
public:
string sortSentence(string s) {
vector<string> v(10);
for (int i = 0; i < 10; i++) {
v[i] = "";
}
string tmp = "";
for (int i = 0; i < s.size(); i++) {
if (s[i] == ' ') {
continue;
}
if (... | 24.709677 | 44 | 0.28329 | [
"vector"
] |
e1e1373e16e008a02be4ee83cfb07a5109d40bc2 | 4,701 | cpp | C++ | Source/menu/GUIMain.cpp | leduyquang753/tetrec | 9f1da4485b1a6412af5b244ad99aa462b65a374b | [
"MIT"
] | 16 | 2021-08-03T07:44:15.000Z | 2022-01-17T15:14:17.000Z | Source/menu/GUIMain.cpp | leduyquang753/tetrec | 9f1da4485b1a6412af5b244ad99aa462b65a374b | [
"MIT"
] | 1 | 2021-08-03T23:36:55.000Z | 2021-08-04T03:01:36.000Z | Source/menu/GUIMain.cpp | leduyquang753/tetrec | 9f1da4485b1a6412af5b244ad99aa462b65a374b | [
"MIT"
] | null | null | null | #include <algorithm>
#include <string>
#include <GL/glew.h>
#include <GL/wgl.h>
#include <GL/wglext.h>
#include <GL/gl.h>
#include <GLFW/glfw3.h>
#include "Version.h"
#include "common/Graphics.h"
#include "gameplay/PlayScreenMarathon.h"
#include "gameplay/PlayScreenSprint.h"
#include "gameplay/PlayScreenUltra.h"
#inc... | 25.274194 | 64 | 0.697298 | [
"render"
] |
e1e3d4d5443706f05654f67f7a3250f2b689195d | 29,648 | hpp | C++ | src/parser/def/def/defrReader.hpp | lbz007/rectanglequery | 59d6eb007bf65480fa3e9245542d0b6071f81831 | [
"BSD-3-Clause"
] | null | null | null | src/parser/def/def/defrReader.hpp | lbz007/rectanglequery | 59d6eb007bf65480fa3e9245542d0b6071f81831 | [
"BSD-3-Clause"
] | null | null | null | src/parser/def/def/defrReader.hpp | lbz007/rectanglequery | 59d6eb007bf65480fa3e9245542d0b6071f81831 | [
"BSD-3-Clause"
] | null | null | null | // *****************************************************************************
// *****************************************************************************
// Copyright 2013-2016, Cadence Design Systems
//
// This file is part of the Cadence LEF/DEF Open Source
// Distribution, Product Version 5.8.
/... | 40.837466 | 122 | 0.794387 | [
"object"
] |
e1e711c7992ad8fed1660a0c3140bcacdf89e395 | 1,571 | cpp | C++ | test.cpp | nkyriazis/conversion_path | 108a8471477e851944940de214fa4338ae983c37 | [
"Apache-2.0"
] | null | null | null | test.cpp | nkyriazis/conversion_path | 108a8471477e851944940de214fa4338ae983c37 | [
"Apache-2.0"
] | null | null | null | test.cpp | nkyriazis/conversion_path | 108a8471477e851944940de214fa4338ae983c37 | [
"Apache-2.0"
] | null | null | null | #include "conversion.hpp"
#include <iostream>
#include <string>
#include <tuple>
#include <vector>
struct A
{
};
struct B
{
};
struct C
{
};
struct D
{
};
struct E
{
};
struct F
{
};
B AtoB(A)
{
std::cout << __FUNCTION__ << std::endl;
return {};
}
C BtoC(B)
{
std::cout << __FUNCTION__ << std::endl;
re... | 16.892473 | 83 | 0.423934 | [
"vector"
] |
e1eaf51e50627c1f45a60898914b9e404c0fd55a | 396 | cc | C++ | compiler/frontends/spar-rtl/getclassstring.cc | CvR42/timber-compiler | fcd35f78378dff111902052916f76adb037f2cf1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 2 | 2018-04-21T00:43:16.000Z | 2019-03-14T03:22:08.000Z | compiler/frontends/spar-rtl/getclassstring.cc | CvR42/timber-compiler | fcd35f78378dff111902052916f76adb037f2cf1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | compiler/frontends/spar-rtl/getclassstring.cc | CvR42/timber-compiler | fcd35f78378dff111902052916f76adb037f2cf1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | // File: getclassstring.cc
#include <vnustypes.h>
#include <vnusstd.h>
#include <shape.h>
#include "getclassstring.h"
char *get_class_string( const VnusChar *nm, VnusInt len )
{
// TODO: do unicode translation.
size_t sz = (size_t) len;
char *res = (char *) malloc( sz+1 );
if( res == NULL ){
return N... | 19.8 | 57 | 0.606061 | [
"shape"
] |
e1ebb98c2b5b93f9d295adb5a1feb55feab1cec5 | 210,999 | cpp | C++ | inetcore/outlookexpress/inetcomm/imnxport/ixphttpm.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/outlookexpress/inetcomm/imnxport/ixphttpm.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/outlookexpress/inetcomm/imnxport/ixphttpm.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // --------------------------------------------------------------------------------
// Ixphttpm.cpp
// Copyright (c)1998 Microsoft Corporation, All Rights Reserved
// Greg Friedman
// --------------------------------------------------------------------------------
#include "pch.hxx"
#include "dllmain.h"
#inclu... | 32.115525 | 166 | 0.530405 | [
"object"
] |
e1ecdb6f74b79702467f6365eb0904c2065bd297 | 2,371 | cpp | C++ | problems/yosupo/lowest-common-ancestor/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | 7 | 2020-10-15T22:37:10.000Z | 2022-02-26T17:23:49.000Z | problems/yosupo/lowest-common-ancestor/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | problems/yosupo/lowest-common-ancestor/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
static_assert(sizeof(int) == 4 && sizeof(long) == 8);
struct lca_schieber_vishkin {
int N, timer = 0;
vector<int> preorder, up, I, A, head, depth;
static int lowest_one_bit(int n) { return n & -n; }
static int highest_one_bit(int n) { return n ? 1 << (31 -... | 29.6375 | 90 | 0.485027 | [
"vector"
] |
e1efb7f45eb75848b00819085f358299d2c79585 | 8,375 | cpp | C++ | PIPInterOpCUDA/CUDAVolumeTexture.cpp | lipilian/PlenopticImageProcessing | b732d8611404fa264459c82e7d844d3a5da6b6e5 | [
"MIT"
] | 8 | 2019-07-23T01:11:55.000Z | 2022-01-13T03:50:09.000Z | PIPInterOpCUDA/CUDAVolumeTexture.cpp | lipilian/PlenopticImageProcessing | b732d8611404fa264459c82e7d844d3a5da6b6e5 | [
"MIT"
] | null | null | null | PIPInterOpCUDA/CUDAVolumeTexture.cpp | lipilian/PlenopticImageProcessing | b732d8611404fa264459c82e7d844d3a5da6b6e5 | [
"MIT"
] | 2 | 2020-11-02T18:05:36.000Z | 2021-06-18T10:38:21.000Z | /**
* Copyright 2019 Arne Petersen, Kiel University
*
* 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, ... | 36.413043 | 157 | 0.699224 | [
"object",
"vector",
"3d"
] |
e1f414b6edcc765033cf8218573f882b1dcf543a | 4,661 | cpp | C++ | rosbag2_compression/src/rosbag2_compression/zstd_compressor.cpp | csli8192/rosbag2 | 61280b1303fc38956cdf4d1a5f9465c42ab97742 | [
"Apache-2.0"
] | null | null | null | rosbag2_compression/src/rosbag2_compression/zstd_compressor.cpp | csli8192/rosbag2 | 61280b1303fc38956cdf4d1a5f9465c42ab97742 | [
"Apache-2.0"
] | null | null | null | rosbag2_compression/src/rosbag2_compression/zstd_compressor.cpp | csli8192/rosbag2 | 61280b1303fc38956cdf4d1a5f9465c42ab97742 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Amazon.com, Inc. or its affiliates. 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
//
// Unles... | 39.837607 | 98 | 0.780519 | [
"vector"
] |
e1f9dae3df3f4e454da51cadb871540bcad0d39e | 9,080 | cpp | C++ | DearPyGui/src/core/AppItems/basic/mvColorPicker.cpp | Pcothren/DearPyGui | 0973b50e9de8d377907eec09f1307a2117f76a60 | [
"MIT"
] | 1 | 2020-10-09T01:38:18.000Z | 2020-10-09T01:38:18.000Z | DearPyGui/src/core/AppItems/basic/mvColorPicker.cpp | Pcothren/DearPyGui | 0973b50e9de8d377907eec09f1307a2117f76a60 | [
"MIT"
] | null | null | null | DearPyGui/src/core/AppItems/basic/mvColorPicker.cpp | Pcothren/DearPyGui | 0973b50e9de8d377907eec09f1307a2117f76a60 | [
"MIT"
] | null | null | null | #include "mvColorPicker.h"
#include "mvApp.h"
#include <array>
#include "mvItemRegistry.h"
namespace Marvel {
void mvColorPicker::InsertParser(std::map<std::string, mvPythonParser>* parsers)
{
mvPythonParser parser(mvPyDataType::UUID, "Adds an RGB color picker. Click and drag the color square to copy the color an... | 47.539267 | 247 | 0.753304 | [
"vector"
] |
e1fb9f848e1c4b83750b4abd940f6c307c48f0de | 6,862 | cc | C++ | content/renderer/media_recorder/h264_encoder.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-05-24T13:52:28.000Z | 2021-05-24T13:53:10.000Z | content/renderer/media_recorder/h264_encoder.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/media_recorder/h264_encoder.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2018-03-12T07:58:10.000Z | 2019-08-31T04:53:58.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 "content/renderer/media_recorder/h264_encoder.h"
#include <string>
#include "base/bind.h"
#include "base/threading/thread.h"
#include "base/tra... | 38.122222 | 80 | 0.741766 | [
"geometry",
"model"
] |
c007d550e75a85aa38c8dd8b43c5fd11fe1d562a | 1,955 | cpp | C++ | libs/openFrameworks/types/ofParameter.cpp | Geistyp/openFrameworks | b7c67103aaf799d1d51fdf287eb17db3e8161920 | [
"MIT"
] | 18 | 2015-01-18T22:34:22.000Z | 2020-09-06T20:30:30.000Z | libs/openFrameworks/types/ofParameter.cpp | Geistyp/openFrameworks | b7c67103aaf799d1d51fdf287eb17db3e8161920 | [
"MIT"
] | 2 | 2015-08-04T00:07:46.000Z | 2017-05-10T15:53:51.000Z | libs/openFrameworks/types/ofParameter.cpp | Geistyp/openFrameworks | b7c67103aaf799d1d51fdf287eb17db3e8161920 | [
"MIT"
] | 10 | 2015-01-18T23:46:10.000Z | 2019-08-25T12:10:04.000Z | #include "ofParameter.h"
#include "ofParameterGroup.h"
ofAbstractParameter::ofAbstractParameter(){
parent = NULL;
}
ofAbstractParameter::~ofAbstractParameter(){
}
string ofAbstractParameter::getName() const {
return "";
}
void ofAbstractParameter::setName(string name) {
}
string ofAbstractParameter::getEscaped... | 19.94898 | 67 | 0.715601 | [
"vector"
] |
c00856550bd9b9c9d68c1820fbcf7355b84af115 | 6,087 | cpp | C++ | jsk_topic_tools/src/rosparam_utils.cpp | ShunjiroOsada/jsk_visualization_package | f5305ccb79b41a2efc994a535cb316e7467961de | [
"MIT"
] | 5 | 2016-07-18T02:20:30.000Z | 2022-01-23T13:12:20.000Z | jsk_topic_tools/src/rosparam_utils.cpp | ShunjiroOsada/jsk_visualization_package | f5305ccb79b41a2efc994a535cb316e7467961de | [
"MIT"
] | null | null | null | jsk_topic_tools/src/rosparam_utils.cpp | ShunjiroOsada/jsk_visualization_package | f5305ccb79b41a2efc994a535cb316e7467961de | [
"MIT"
] | 7 | 2015-11-01T13:40:30.000Z | 2020-02-21T12:59:18.000Z | // -*- mode: c++ -*-
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, JSK Lab
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | 32.37766 | 77 | 0.565139 | [
"vector"
] |
c00efae33bf4fc48ce517c1325419a4e270a5065 | 1,931 | cpp | C++ | longestcommonsubsequence/longestcommonsubsequence/longestcommonsubsequence.cpp | jpvarbed/practiceproblems | 88770343139efcb478bd734346535df4f166e632 | [
"MIT"
] | null | null | null | longestcommonsubsequence/longestcommonsubsequence/longestcommonsubsequence.cpp | jpvarbed/practiceproblems | 88770343139efcb478bd734346535df4f166e632 | [
"MIT"
] | null | null | null | longestcommonsubsequence/longestcommonsubsequence/longestcommonsubsequence.cpp | jpvarbed/practiceproblems | 88770343139efcb478bd734346535df4f166e632 | [
"MIT"
] | null | null | null | // longestcommonsubsequence.cpp : Defines the entry point for the console application.
//
//Given a string(1 - d array), find if there is any sub - sequence that repeats itself.Here, sub - sequence can be a non - contiguous pattern, with the same relative order.
//[http://www.careercup.com/question?id=5931067269709824... | 20.763441 | 172 | 0.567064 | [
"vector"
] |
c0116426baa5e2759b0dc3411dde1ba875999a8e | 3,747 | cpp | C++ | src/main/fst/fst/test/dotest.cpp | apollo008/orchid-fst | a4db8e3521aff2f221b47684b5fe7ff05d154055 | [
"Apache-2.0"
] | 9 | 2021-05-12T00:48:48.000Z | 2022-01-05T07:25:27.000Z | src/main/fst/fst/test/dotest.cpp | liuyujing89/orchid-fst-1 | 45fa506348b01848c9dc5bc95901790441aa9b13 | [
"Apache-2.0"
] | 2 | 2021-05-17T09:20:49.000Z | 2021-05-24T07:53:37.000Z | src/main/fst/fst/test/dotest.cpp | liuyujing89/orchid-fst-1 | 45fa506348b01848c9dc5bc95901790441aa9b13 | [
"Apache-2.0"
] | 2 | 2021-05-12T05:15:57.000Z | 2021-05-16T13:53:27.000Z | /*********************************************************************************
*Copyright(C),dingbinthu@163.com
*All rights reserved.
*
*FileName: dotest.cpp
*Author: dingbinthu@163.com
*Version: 1.0
*Date: 2/23/21
*Description:
****************************************... | 29.738095 | 94 | 0.581265 | [
"vector"
] |
84fc7ba0d82e650cf4b21662f32f5fb919238d0b | 33,845 | cc | C++ | onnx/defs/sequence/defs.cc | justinchuby/onnx | 805ae1e634697e37b43701e585c9c253a29ce076 | [
"Apache-2.0"
] | null | null | null | onnx/defs/sequence/defs.cc | justinchuby/onnx | 805ae1e634697e37b43701e585c9c253a29ce076 | [
"Apache-2.0"
] | null | null | null | onnx/defs/sequence/defs.cc | justinchuby/onnx | 805ae1e634697e37b43701e585c9c253a29ce076 | [
"Apache-2.0"
] | null | null | null | /*
* SPDX-License-Identifier: Apache-2.0
*/
#include "onnx/defs/function.h"
#include "onnx/defs/schema.h"
#include <algorithm>
#include <numeric>
namespace ONNX_NAMESPACE {
static const char* SequenceEmpty_ver11_doc = R"DOC(
Construct an empty tensor sequence, with given data type.
)DOC";
ONNX_OPERATOR_SET_SCHEM... | 43.059796 | 116 | 0.627065 | [
"shape",
"vector"
] |
84fd58d30ae6eeac610de536c09a2df1d36e81bc | 5,143 | cpp | C++ | be/src/exec/mysql_scanner.cpp | kaiker19/incubator-doris | f4c5c6ccc650012a0db7ddda8a38f4c65cc5c9be | [
"Apache-2.0"
] | 2 | 2021-08-23T12:20:39.000Z | 2021-09-09T10:20:11.000Z | be/src/exec/mysql_scanner.cpp | kaiker19/incubator-doris | f4c5c6ccc650012a0db7ddda8a38f4c65cc5c9be | [
"Apache-2.0"
] | 3 | 2021-05-07T09:51:56.000Z | 2021-05-22T13:04:03.000Z | be/src/exec/mysql_scanner.cpp | kaiker19/incubator-doris | f4c5c6ccc650012a0db7ddda8a38f4c65cc5c9be | [
"Apache-2.0"
] | 1 | 2022-01-12T08:34:49.000Z | 2022-01-12T08:34:49.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 27.8 | 96 | 0.598483 | [
"vector"
] |
84fe3a91b461e587413dd525d8fbfe0a3298418f | 9,618 | cpp | C++ | src/main.cpp | Oberon00/synth | f4bb576d22108fdfd65bb8f0796cce4aa84349a6 | [
"MIT"
] | 185 | 2016-04-03T16:14:39.000Z | 2021-03-22T20:49:03.000Z | src/main.cpp | Oberon00/synth | f4bb576d22108fdfd65bb8f0796cce4aa84349a6 | [
"MIT"
] | 2 | 2016-04-04T05:50:12.000Z | 2017-01-17T18:12:09.000Z | src/main.cpp | Oberon00/synth | f4bb576d22108fdfd65bb8f0796cce4aa84349a6 | [
"MIT"
] | 10 | 2016-04-03T20:48:01.000Z | 2019-07-07T05:32:13.000Z | #include "CgStr.hpp"
#include "DoxytagResolver.hpp"
#include "MultiTuProcessor.hpp"
#include "SimpleTemplate.hpp"
#include "annotate.hpp"
#include "cgWrappers.hpp"
#include "cmdline.hpp"
#include <boost/filesystem.hpp>
#include <boost/io/ios_state.hpp>
#include <condition_variable>
#include <fstream>
#include <iomani... | 29.685185 | 79 | 0.565918 | [
"vector"
] |
1701594f854b50708cb89fafe8ca1ddff46f2f1e | 17,614 | cc | C++ | chrome/browser/metrics/metrics_service_browsertest.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/metrics/metrics_service_browsertest.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/metrics/metrics_service_browsertest.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Tests the MetricsService stat recording to make sure that the numbers are
// what we expect.
#include "components/metrics/metrics_service.h"
#inc... | 38.54267 | 80 | 0.758601 | [
"object"
] |
1702532474d7087be75b7ad295f9566434628518 | 52,558 | cpp | C++ | system/GLESv2_enc/GLESv2Validation.cpp | android-risc-v/device_generic_goldfish-opengl | fcc7f13afd7b6ee061da2bd2db980e9a0733689b | [
"Apache-2.0"
] | 1 | 2022-01-08T17:41:53.000Z | 2022-01-08T17:41:53.000Z | system/GLESv2_enc/GLESv2Validation.cpp | android-risc-v/device_generic_goldfish-opengl | fcc7f13afd7b6ee061da2bd2db980e9a0733689b | [
"Apache-2.0"
] | 2 | 2021-07-28T11:11:39.000Z | 2021-11-23T03:00:17.000Z | system/GLESv2_enc/GLESv2Validation.cpp | android-risc-v/device_generic_goldfish-opengl | fcc7f13afd7b6ee061da2bd2db980e9a0733689b | [
"Apache-2.0"
] | 2 | 2021-07-24T08:14:11.000Z | 2021-11-04T12:46:22.000Z | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 32.931078 | 136 | 0.705335 | [
"transform"
] |
170fd016a12d83b259580fd0e9a174de7ae41f58 | 5,652 | cpp | C++ | test/stlperf_test.cpp | kohei101/multidimalgorithm | c479747d204b8953933fdbec9a88650a75b822b7 | [
"MIT"
] | 3 | 2018-10-08T16:30:06.000Z | 2018-10-24T05:05:11.000Z | test/stlperf_test.cpp | kohei101/mdds | c479747d204b8953933fdbec9a88650a75b822b7 | [
"MIT"
] | null | null | null | test/stlperf_test.cpp | kohei101/mdds | c479747d204b8953933fdbec9a88650a75b822b7 | [
"MIT"
] | null | null | null | /*************************************************************************
*
* Copyright (c) 2010 Kohei Yoshida
*
* 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,... | 29.747368 | 106 | 0.524947 | [
"vector"
] |
1712e315f96c5334ae9f4f4f69f7182772015528 | 322 | cpp | C++ | v_0_1/Passengers_file/Mastercode.cpp | TimoLoomets/TeamSuccessRobotex2018Taxify | 702da19a93761892174f3950924e0da07ea0c568 | [
"MIT"
] | 1 | 2018-07-03T21:17:29.000Z | 2018-07-03T21:17:29.000Z | v_0_1/Passengers_file/Mastercode.cpp | TimoLoomets/TeamSuccessRobotex2018Taxify | 702da19a93761892174f3950924e0da07ea0c568 | [
"MIT"
] | null | null | null | v_0_1/Passengers_file/Mastercode.cpp | TimoLoomets/TeamSuccessRobotex2018Taxify | 702da19a93761892174f3950924e0da07ea0c568 | [
"MIT"
] | 2 | 2018-07-03T21:17:31.000Z | 2018-07-06T15:55:21.000Z | #include "stdafx.h"
#include <iostream>
#include <fstream>
#include <string>
#include <cmath>
#include <vector>
#include <sstream>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <locale>
#include <iomanip>
#include <time.h>
#include <stdio.h>
using namespace std;
void main() {
... | 15.333333 | 21 | 0.65528 | [
"vector"
] |
1717f27176c7b27d64005a1f3918dcd86390a3c3 | 10,920 | cpp | C++ | FortniteCheatSRCUpdateEveryUpdate/Source Files/util/Util.cpp | Visual9999/FortniteCheatSRCUpdateEveryUpdate | 830e25b0ddcdb3e8540eadb72fdf4014161d9d42 | [
"Apache-2.0"
] | 112 | 2020-08-25T19:26:11.000Z | 2022-02-24T16:03:39.000Z | FortniteCheatSRCUpdateEveryUpdate/Source Files/util/Util.cpp | masterpaster-ritz/FortniteCheatSRCUpdateEveryUpdate | 830e25b0ddcdb3e8540eadb72fdf4014161d9d42 | [
"Apache-2.0"
] | 50 | 2020-09-05T06:26:22.000Z | 2022-03-30T13:34:11.000Z | FortniteCheatSRCUpdateEveryUpdate/Source Files/util/Util.cpp | masterpaster-ritz/FortniteCheatSRCUpdateEveryUpdate | 830e25b0ddcdb3e8540eadb72fdf4014161d9d42 | [
"Apache-2.0"
] | 63 | 2020-08-28T08:28:53.000Z | 2022-02-24T16:03:04.000Z | /*
Visual#9999, Updated by bunyip24#9999, sigs fixed by homeless1337-
*/
#include "../../Header Files/includes.h"
#include "../../DiscordHook/Discord.h"
#include "../../Header Files/xorstr.h"
#include "../../imgui/imgui_xorstr.h"
#include <corecrt_math.h>
namespace Util {
GObjects* objects = nullptr;
FString(*Get... | 30.934844 | 415 | 0.650092 | [
"object",
"vector"
] |
171bc65fadb2592a58fbc99ea8fa0513f779c8dc | 2,409 | hpp | C++ | include/SSVOpenHexagon/Core/HexagonDialogBox.hpp | InfoTeddy/SSVOpenHexagon | e81861cd46898542e652aa3fe5b1faa68d2e7d01 | [
"AFL-3.0"
] | null | null | null | include/SSVOpenHexagon/Core/HexagonDialogBox.hpp | InfoTeddy/SSVOpenHexagon | e81861cd46898542e652aa3fe5b1faa68d2e7d01 | [
"AFL-3.0"
] | null | null | null | include/SSVOpenHexagon/Core/HexagonDialogBox.hpp | InfoTeddy/SSVOpenHexagon | e81861cd46898542e652aa3fe5b1faa68d2e7d01 | [
"AFL-3.0"
] | null | null | null | // Copyright (c) 2013-2020 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: https://opensource.org/licenses/AFL-3.0
#pragma once
#include "SSVOpenHexagon/Global/Common.hpp"
#include "SSVOpenHexagon/Utils/FastVertexVector.hpp"
#include <SSVStart/GameSystem/GameSystem.hpp>
#include... | 26.184783 | 80 | 0.686592 | [
"vector"
] |
171e5e6ea6a93ba54c0e6fa64f9782c31f746165 | 724 | cpp | C++ | leetcode/Generate Parentheses.cpp | BeautifulBeer/algorithms | 88b845dd1853ef11a839a7acb36999cf25a46fef | [
"MIT"
] | null | null | null | leetcode/Generate Parentheses.cpp | BeautifulBeer/algorithms | 88b845dd1853ef11a839a7acb36999cf25a46fef | [
"MIT"
] | null | null | null | leetcode/Generate Parentheses.cpp | BeautifulBeer/algorithms | 88b845dd1853ef11a839a7acb36999cf25a46fef | [
"MIT"
] | null | null | null | class Solution {
public:
vector<string> result;
int length;
char* s;
void go(int one, int zero, int depth){
if(one == 0){
for(int i=depth; i<this->length; i++){
s[i] = ')';
}
this->result.emplace_back(string(s, this->length));
retu... | 24.133333 | 63 | 0.418508 | [
"vector"
] |
171fc6f3e622d012f32661d0f5a676bc47315d35 | 420 | cpp | C++ | Dataset/Leetcode/test/66/468.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/66/468.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/66/468.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> XXX(vector<int>& digits) {
for (int i = digits.size() - 1; i >= 0; i--) {
if (digits[i] == 9) digits[i] = 0;
else {
++digits[i];
break;
}
}
if (digits[0] == 0) {
digits.push_b... | 22.105263 | 54 | 0.390476 | [
"vector"
] |
17208cb37aa14b178d94230c27229fb14b0d8936 | 5,015 | hpp | C++ | Engine/Include/FishEngine/Quaternion.hpp | ValtoGameEngines/Fish-Engine | a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9 | [
"MIT"
] | 240 | 2017-02-17T10:08:19.000Z | 2022-03-25T14:45:29.000Z | Engine/Include/FishEngine/Quaternion.hpp | ValtoGameEngines/Fish-Engine | a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9 | [
"MIT"
] | 2 | 2016-10-12T07:08:38.000Z | 2017-04-05T01:56:30.000Z | Engine/Include/FishEngine/Quaternion.hpp | yushroom/FishEngine | a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9 | [
"MIT"
] | 39 | 2017-03-02T09:40:07.000Z | 2021-12-04T07:28:53.000Z | #pragma once
#include "Vector3.hpp"
namespace FishEngine
{
enum class RotationOrder
{
ZXY, // default
XYZ,
YZX,
XZY,
YXZ,
ZYX,
};
class FE_EXPORT Quaternion
{
public:
union
{
struct { float x, y, z, w; };
float m[4];
};
static constexpr float kEpsilon = 1E-06f;
static const Qua... | 34.586207 | 143 | 0.724427 | [
"vector",
"transform"
] |
17299d02d8d15f0c22b727bf65a89c3ba45eb10e | 781 | cpp | C++ | Fusion/src/Platform/OpenGL/OpenGLIndexBuffer.cpp | WhoseTheNerd/Fusion | 35ab536388392b3ba2e14f288eecbc292abd7dea | [
"Apache-2.0"
] | 4 | 2018-11-12T18:43:02.000Z | 2020-02-02T10:18:56.000Z | Fusion/src/Platform/OpenGL/OpenGLIndexBuffer.cpp | WhoseTheNerd/Fusion | 35ab536388392b3ba2e14f288eecbc292abd7dea | [
"Apache-2.0"
] | 2 | 2018-12-22T13:18:05.000Z | 2019-07-24T20:15:45.000Z | Fusion/src/Platform/OpenGL/OpenGLIndexBuffer.cpp | WhoseTheNerd/Fusion | 35ab536388392b3ba2e14f288eecbc292abd7dea | [
"Apache-2.0"
] | null | null | null | #include "fpch.h"
#include "OpenGLIndexBuffer.h"
#include <glad/glad.h>
namespace Fusion { namespace Graphics {
Ref<IndexBuffer> IndexBuffer::Create(const std::vector<uint32_t>& indices)
{
return CreateRef<OpenGLIndexBuffer>(indices);
}
OpenGLIndexBuffer::OpenGLIndexBuffer(const std::vector<uint32_t>& indices... | 22.314286 | 99 | 0.746479 | [
"vector"
] |
173264e4340045f1cfe39ee165a00b3f3d84b5ef | 1,643 | hpp | C++ | cudaaligner/src/ukkonen_cpu.hpp | pb-cdunn/GenomeWorks | 84f22f7e72c0fe8e5554d7ddfebf22c93ffb4610 | [
"Apache-2.0"
] | 160 | 2019-07-02T03:35:10.000Z | 2020-05-05T09:08:26.000Z | cudaaligner/src/ukkonen_cpu.hpp | pb-cdunn/GenomeWorks | 84f22f7e72c0fe8e5554d7ddfebf22c93ffb4610 | [
"Apache-2.0"
] | 253 | 2019-07-02T13:08:28.000Z | 2020-05-07T18:47:08.000Z | cudaaligner/src/ukkonen_cpu.hpp | pb-cdunn/GenomeWorks | 84f22f7e72c0fe8e5554d7ddfebf22c93ffb4610 | [
"Apache-2.0"
] | 54 | 2019-07-02T14:33:48.000Z | 2020-05-01T16:04:21.000Z | /*
* Copyright 2019-2020 NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 26.5 | 105 | 0.719416 | [
"vector"
] |
173320db6571b0ca76dd14799f85cdc9708ee750 | 6,796 | cc | C++ | src/cpp/basic/cocompiled_models_benchmark.cc | SanggunLee/edgetpu | d3cf166783265f475c1ddba5883e150ee84f7bfe | [
"Apache-2.0"
] | 320 | 2019-09-19T07:10:48.000Z | 2022-03-12T01:48:56.000Z | src/cpp/basic/cocompiled_models_benchmark.cc | Machine-Learning-Practice/edgetpu | 6d699665efdc5d84944b5233223c55fe5d3bd1a6 | [
"Apache-2.0"
] | 563 | 2019-09-27T06:40:40.000Z | 2022-03-31T23:12:15.000Z | src/cpp/basic/cocompiled_models_benchmark.cc | Machine-Learning-Practice/edgetpu | 6d699665efdc5d84944b5233223c55fe5d3bd1a6 | [
"Apache-2.0"
] | 119 | 2019-09-25T02:51:10.000Z | 2022-03-03T08:11:12.000Z | #include "absl/flags/parse.h"
#include "benchmark/benchmark.h"
#include "glog/logging.h"
#include "src/cpp/test_utils.h"
namespace coral {
template <CompilationType Compilation>
static void BM_Compilation_TwoSmall(benchmark::State& state) {
const std::string model_path0 = TestDataPath(
(Compilation == kCoComp... | 46.547945 | 80 | 0.740877 | [
"vector"
] |
1736bfc363ab1a1722b5f213612b402abb274b2f | 23,837 | cpp | C++ | src/core/RStorage.cpp | ouxianghui/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 12 | 2021-03-26T03:23:30.000Z | 2021-12-31T10:05:44.000Z | src/core/RStorage.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | null | null | null | src/core/RStorage.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 9 | 2021-06-23T08:26:40.000Z | 2022-01-20T07:18:10.000Z | /**
* Copyright (c) 2011-2016 by Andrew Mustun. All rights reserved.
*
* This file is part of the QCAD project.
*
* QCAD is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,... | 29.247853 | 145 | 0.609011 | [
"object"
] |
173832d11785ca14347d234049d2d7753bc281b8 | 2,655 | cpp | C++ | library/tree/treePathVertexWeightVectorDot.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 40 | 2017-11-26T05:29:18.000Z | 2020-11-13T00:29:26.000Z | library/tree/treePathVertexWeightVectorDot.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 101 | 2019-02-09T06:06:09.000Z | 2021-12-25T16:55:37.000Z | library/tree/treePathVertexWeightVectorDot.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 6 | 2017-01-03T14:17:58.000Z | 2021-01-22T10:37:04.000Z | #include <tuple>
#include <vector>
#include <algorithm>
using namespace std;
#include "treePathVertexWeightVectorDot.h"
/////////// For Testing ///////////////////////////////////////////////////////
#include <time.h>
#include <cassert>
#include <string>
#include <tuple>
#include <iostream>
#include "../common/iost... | 27.947368 | 104 | 0.497928 | [
"vector"
] |
173a4b1e9b9438044c535cd5ab686ad233ed429c | 9,842 | cpp | C++ | RisLib/risNetUdpMsgSocket.cpp | chrishoen/Dev_RisLibLx | ca68b7d1a928ba9adb64c5e4996c4ec2e01de1ff | [
"MIT"
] | null | null | null | RisLib/risNetUdpMsgSocket.cpp | chrishoen/Dev_RisLibLx | ca68b7d1a928ba9adb64c5e4996c4ec2e01de1ff | [
"MIT"
] | null | null | null | RisLib/risNetUdpMsgSocket.cpp | chrishoen/Dev_RisLibLx | ca68b7d1a928ba9adb64c5e4996c4ec2e01de1ff | [
"MIT"
] | null | null | null | //******************************************************************************
//******************************************************************************
//******************************************************************************
#include "stdafx.h"
#include "risNetUdpMsgSocket.h"
namespace Ris
{
namesp... | 30.376543 | 93 | 0.410384 | [
"object"
] |
173c22308e0c6c3c1d84fac8eec6afcbb7d3e56a | 5,685 | cpp | C++ | tests/test-session-json.cpp | isndev/qbm-json | 0f7b999ff3e232d0f0ffb633eaaf744519b69d04 | [
"Apache-2.0"
] | null | null | null | tests/test-session-json.cpp | isndev/qbm-json | 0f7b999ff3e232d0f0ffb633eaaf744519b69d04 | [
"Apache-2.0"
] | null | null | null | tests/test-session-json.cpp | isndev/qbm-json | 0f7b999ff3e232d0f0ffb633eaaf744519b69d04 | [
"Apache-2.0"
] | null | null | null | /*
* qb - C++ Actor Framework
* Copyright (C) 2011-2020 isndev (www.qbaf.io). 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/li... | 26.44186 | 83 | 0.618294 | [
"object"
] |
173e85a94446783e0698ace3a00b900e5d112f61 | 44,047 | cc | C++ | src/fluid/fluidmsg/fluid/of13/of13common.cc | lionelgo/openair-mme | 75bc0993613f61072342f5ae13dca28574253671 | [
"BSD-3-Clause"
] | 19 | 2020-04-25T15:51:52.000Z | 2021-11-24T04:51:02.000Z | src/fluid/fluidmsg/fluid/of13/of13common.cc | lionelgo/openair-mme | 75bc0993613f61072342f5ae13dca28574253671 | [
"BSD-3-Clause"
] | 10 | 2020-09-09T09:54:20.000Z | 2021-04-27T20:47:52.000Z | src/fluid/fluidmsg/fluid/of13/of13common.cc | lionelgo/openair-mme | 75bc0993613f61072342f5ae13dca28574253671 | [
"BSD-3-Clause"
] | 24 | 2020-05-31T01:41:12.000Z | 2022-01-16T17:06:35.000Z | #include "of13common.hh"
namespace fluid_msg {
namespace of13 {
HelloElem::HelloElem(uint16_t type, uint16_t length) {
this->type_ = type;
this->length_ = length;
}
bool HelloElem::operator==(const HelloElem &other) const {
return ((this->type_ == other.type_) && (this->length_ == other.length_));
}
bool Hel... | 34.039413 | 80 | 0.688333 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.