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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aa27770cb03994a0115f2893cf0e0189d713f978 | 6,486 | cpp | C++ | ros/src/computing/perception/detection/lidar_tracker/packages/lidar_imm_ukf_pda_track/nodes/visualize_detected_objects/visualize_detected_objects.cpp | K1504296/Autoware | 0de5ae709a84d6c87ffef9b3099771d5efc19f0d | [
"BSD-3-Clause"
] | 64 | 2018-11-19T02:34:05.000Z | 2021-12-27T06:19:48.000Z | dink/src/computing/perception/detection/lidar_tracker/packages/lidar_imm_ukf_pda_track/nodes/visualize_detected_objects/visualize_detected_objects.cpp | 920911love/DINK | d760ea99f21c4d6334ff5f517b49c4fdfca32399 | [
"BSD-3-Clause"
] | null | null | null | dink/src/computing/perception/detection/lidar_tracker/packages/lidar_imm_ukf_pda_track/nodes/visualize_detected_objects/visualize_detected_objects.cpp | 920911love/DINK | d760ea99f21c4d6334ff5f517b49c4fdfca32399 | [
"BSD-3-Clause"
] | 34 | 2018-11-27T08:57:32.000Z | 2022-02-18T08:06:04.000Z | /*
* Copyright (c) 2018, Nagoya University
* 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 ... | 37.062857 | 117 | 0.696115 | [
"model"
] |
aa2b7dfb9a18d332b8ec5f0cb051249b68490956 | 8,806 | cpp | C++ | robi_plugin.cpp | akalberer/robi_plugin | 6e8a2d4b0abc516be67156ab0809a58ad3b829dd | [
"Apache-2.0"
] | null | null | null | robi_plugin.cpp | akalberer/robi_plugin | 6e8a2d4b0abc516be67156ab0809a58ad3b829dd | [
"Apache-2.0"
] | null | null | null | robi_plugin.cpp | akalberer/robi_plugin | 6e8a2d4b0abc516be67156ab0809a58ad3b829dd | [
"Apache-2.0"
] | null | null | null | #ifndef _ROBI_PLUGIN_HPP_
#define _ROBI_PLUGIN_HPP_
#include <gazebo/gazebo.hh>
#include <gazebo/physics/Model.hh>
#include <gazebo/physics/Joint.hh>
#include <gazebo/common/PID.hh>
#include <gazebo/physics/JointController.hh>
#include <gazebo/physics/physics.hh>
#include <string>
#include <gazebo/transport/transport.... | 38.792952 | 228 | 0.698047 | [
"model"
] |
aa2eb756bee816d8e5099b9205878acac8c8b26d | 18,290 | cc | C++ | chrome/browser/spellchecker/feedback_sender.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | chrome/browser/spellchecker/feedback_sender.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/spellchecker/feedback_sender.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013 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.
//
// The |FeedbackSender| object stores the user feedback to spellcheck
// suggestions in a |Feedback| object.
//
// When spelling service returns spe... | 39.418103 | 80 | 0.712411 | [
"object",
"vector"
] |
aa2fb5fec0d98316031bfaef86ac380ae63ea737 | 7,916 | cpp | C++ | ShapeOperations/CsvFileUtils.cpp | chenyoujie/GeoDa | 87504344512bd0da2ccadfb160ecd1e918a52f06 | [
"BSL-1.0"
] | null | null | null | ShapeOperations/CsvFileUtils.cpp | chenyoujie/GeoDa | 87504344512bd0da2ccadfb160ecd1e918a52f06 | [
"BSL-1.0"
] | null | null | null | ShapeOperations/CsvFileUtils.cpp | chenyoujie/GeoDa | 87504344512bd0da2ccadfb160ecd1e918a52f06 | [
"BSL-1.0"
] | null | null | null | /**
* GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved
*
* This file is part of GeoDa.
*
* GeoDa is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | 26.211921 | 79 | 0.633527 | [
"object",
"shape",
"vector"
] |
a8f713c3bdb0b66fb865901bc0b7aae1011bb1dc | 5,328 | cpp | C++ | src/text.cpp | Tearnote/Minote | 35f63fecc01cf9199db1098256277465e1d41d1e | [
"MIT"
] | 8 | 2021-01-18T12:06:21.000Z | 2022-02-13T17:12:56.000Z | src/text.cpp | Tearnote/Minote | 35f63fecc01cf9199db1098256277465e1d41d1e | [
"MIT"
] | null | null | null | src/text.cpp | Tearnote/Minote | 35f63fecc01cf9199db1098256277465e1d41d1e | [
"MIT"
] | null | null | null | /**
* Implementation of text.h
* @file
*/
#include "text.hpp"
#include <stdarg.h>
#include <stdio.h>
#include "sys/opengl/vertexarray.hpp"
#include "sys/opengl/texture.hpp"
#include "sys/opengl/shader.hpp"
#include "sys/opengl/buffer.hpp"
#include "sys/opengl/draw.hpp"
#include "base/array.hpp"
#include "base/util... | 27.183673 | 92 | 0.710961 | [
"shape",
"transform"
] |
a8fb6091bd796d0b6b0babc3bb2f3853106c5761 | 4,386 | cpp | C++ | extern/eltopo/eltopo3d/broadphase_blenderbvh.cpp | wycivil08/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 30 | 2015-01-29T14:06:05.000Z | 2022-01-10T07:47:29.000Z | extern/eltopo/eltopo3d/broadphase_blenderbvh.cpp | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 1 | 2017-02-20T20:57:48.000Z | 2018-12-19T23:44:38.000Z | extern/eltopo/eltopo3d/broadphase_blenderbvh.cpp | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 15 | 2015-04-23T02:38:36.000Z | 2021-03-01T20:09:39.000Z | #if 0
// ---------------------------------------------------------
//
// broadphase_blenderbvh.cpp
// Joseph Eagar 2010
//
// Broad phase collision detection culling using blender's kdop bvh.
//
// ---------------------------------------------------------
// -------------------------------------------------------... | 34 | 116 | 0.531008 | [
"mesh",
"vector"
] |
a8fc4c03c8b86c9a720ced447fc3dc4747f3a4e7 | 1,586 | tcc | C++ | raftinc/container.tcc | mr-j0nes/RaftLib | 19b2b5401365ba13788044bfbcca0820f48b650a | [
"Apache-2.0"
] | 2 | 2019-08-27T11:08:18.000Z | 2021-09-06T12:05:23.000Z | raftinc/container.tcc | Myicefrog/RaftLib | 5ff105293bc851ed73bdfd8966b15d0cadb45eb0 | [
"Apache-2.0"
] | null | null | null | raftinc/container.tcc | Myicefrog/RaftLib | 5ff105293bc851ed73bdfd8966b15d0cadb45eb0 | [
"Apache-2.0"
] | 1 | 2021-07-31T15:07:06.000Z | 2021-07-31T15:07:06.000Z | /**
* container.tcc -
* @author: Jonathan Beard
* @version: Sat Jan 24 14:53:50 2015
*
* Copyright 2015 Jonathan Beard
*
* 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:
*
* htt... | 24.030303 | 75 | 0.619168 | [
"vector"
] |
a8ffa321d14af9ab05d403278c770cc22cd294ae | 1,981 | hpp | C++ | src/ngraph/descriptor/layout/dense_tensor_view_layout.hpp | bergtholdt/ngraph | 55ca8bb15488ac7a567bb420ca32fcee25e60fe6 | [
"Apache-2.0"
] | null | null | null | src/ngraph/descriptor/layout/dense_tensor_view_layout.hpp | bergtholdt/ngraph | 55ca8bb15488ac7a567bb420ca32fcee25e60fe6 | [
"Apache-2.0"
] | null | null | null | src/ngraph/descriptor/layout/dense_tensor_view_layout.hpp | bergtholdt/ngraph | 55ca8bb15488ac7a567bb420ca32fcee25e60fe6 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2018 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 35.375 | 119 | 0.587077 | [
"vector"
] |
d1015120b6ca8f61701fef76a48b74af15a990fa | 4,318 | cxx | C++ | Modules/Loadable/DoubleArrays/qSlicerDoubleArraysModule.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Modules/Loadable/DoubleArrays/qSlicerDoubleArraysModule.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Modules/Loadable/DoubleArrays/qSlicerDoubleArraysModule.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | /*==============================================================================
Program: 3D Slicer
Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to ... | 32.961832 | 93 | 0.531728 | [
"3d"
] |
d10669901c15eb629a4759e7868d184c519cf532 | 9,220 | cpp | C++ | src/GLUL/GUI/Text.cpp | RippeR37/GLUL | 2e5cd72192d039d281c5df09a816901f6fea28f9 | [
"MIT"
] | 43 | 2015-09-15T18:07:23.000Z | 2021-03-24T02:19:39.000Z | src/GLUL/GUI/Text.cpp | RippeR37/Utility-Library | 2e5cd72192d039d281c5df09a816901f6fea28f9 | [
"MIT"
] | 46 | 2015-01-09T18:03:40.000Z | 2015-09-09T22:05:39.000Z | src/GLUL/GUI/Text.cpp | RippeR37/GLUL | 2e5cd72192d039d281c5df09a816901f6fea28f9 | [
"MIT"
] | 4 | 2017-01-27T21:35:44.000Z | 2021-01-09T17:04:32.000Z | #include <GLUL/GL++/Context.h>
#include <GLUL/GUI/Text.h>
#include <GLUL/Logger.h>
#include <cctype>
namespace GLUL {
namespace GUI {
Text::Text(Container& parent) : Text(&parent) {
}
Text::Text(Container* const parent) : Component(parent) {
setFont(nullptr);
s... | 30.631229 | 127 | 0.482213 | [
"render",
"vector"
] |
d107752577e69b7076173ed2468300d107377d40 | 5,888 | cpp | C++ | incubus/objects/gameplayobjectgenerator.cpp | oldnick85/incubus | 128b18626b94289c0b2d5c01b56fe586cfef9519 | [
"MIT"
] | null | null | null | incubus/objects/gameplayobjectgenerator.cpp | oldnick85/incubus | 128b18626b94289c0b2d5c01b56fe586cfef9519 | [
"MIT"
] | null | null | null | incubus/objects/gameplayobjectgenerator.cpp | oldnick85/incubus | 128b18626b94289c0b2d5c01b56fe586cfef9519 | [
"MIT"
] | null | null | null | #include "gameplayobjectgenerator.h"
CGameplayObjectGenerator::CGameplayObjectGenerator(const sAllCores &cores, const IDispatcherPtr disp, ILoggerPtr log, sDispatcherMsgStatistic *msg_stat)
: CLogged (log)
, m_cores(cores)
, m_disp(disp)
, m_msg_stat(msg_stat)
{
}
CObjectGameplayPtr CGameplayObjectGe... | 43.940299 | 152 | 0.684443 | [
"shape"
] |
d1080a6b9c1550dae73a3b69d19909b7d5d49c25 | 16,462 | cpp | C++ | src/cpp/preprocessor.cpp | srbehera/Nebula | 3dba4c0aef5d0c1660748ee9bd8e1e4e74b933c3 | [
"MIT"
] | 11 | 2021-01-28T12:08:36.000Z | 2022-03-21T01:42:08.000Z | src/cpp/preprocessor.cpp | srbehera/Nebula | 3dba4c0aef5d0c1660748ee9bd8e1e4e74b933c3 | [
"MIT"
] | 6 | 2021-07-19T08:11:23.000Z | 2021-09-17T21:05:35.000Z | src/cpp/preprocessor.cpp | srbehera/Nebula | 3dba4c0aef5d0c1660748ee9bd8e1e4e74b933c3 | [
"MIT"
] | 3 | 2021-08-02T05:10:06.000Z | 2021-11-17T03:20:28.000Z | #include <omp.h>
#include <errno.h>
#include <iomanip>
#include "preprocessor.hpp"
#include "inner.hpp"
#include "logger.hpp"
#include "junction.hpp"
#include "bed_utils.hpp"
using namespace std ;
void Preprocessor::run() {
auto c = Configuration::getInstance() ;
cout << "Preprocessing.." << endl ;
load... | 40.950249 | 199 | 0.422063 | [
"vector"
] |
d10882634556b7cf0a15be4f7bc55957732e98fc | 15,721 | cpp | C++ | src/selfie_perception/src/obstacles_generator.cpp | KNR-Selfie/selfie_carolocup2020 | 5d6331962e4752c9e9c4fcc88ebd3093e4d96b85 | [
"BSD-3-Clause"
] | 10 | 2019-08-17T14:50:13.000Z | 2021-07-19T17:21:13.000Z | src/selfie_perception/src/obstacles_generator.cpp | KNR-Selfie/selfie_carolocup2020 | 5d6331962e4752c9e9c4fcc88ebd3093e4d96b85 | [
"BSD-3-Clause"
] | 16 | 2019-05-27T18:50:09.000Z | 2020-02-11T00:23:50.000Z | src/selfie_perception/src/obstacles_generator.cpp | KNR-Selfie/selfie_carolocup2020 | 5d6331962e4752c9e9c4fcc88ebd3093e4d96b85 | [
"BSD-3-Clause"
] | 3 | 2020-01-21T15:03:24.000Z | 2021-05-02T06:40:50.000Z | #include <selfie_perception/obstacles_generator.h>
ObstaclesGenerator::ObstaclesGenerator(const ros::NodeHandle &nh, const ros::NodeHandle &pnh) :
nh_(nh),
pnh_(pnh),
transformListener_(nh_),
max_range_(1.0),
min_range_(0.03),
obstacles_frame_("laser"),
visualization_frame_("base_link"),
output_frame_... | 31.568273 | 150 | 0.657465 | [
"vector",
"transform"
] |
d1121d36d28b641a8ed802d5c9fa3ea52b3cddd7 | 25,123 | cpp | C++ | src/hard.cpp | miuho/Hadoop-YARN | 4ef10c656169763422f3815ebc9599eeb1a28689 | [
"MIT"
] | 1 | 2018-09-16T18:41:50.000Z | 2018-09-16T18:41:50.000Z | src/schedpolserver.cpp | miuho/Hadoop-YARN | 4ef10c656169763422f3815ebc9599eeb1a28689 | [
"MIT"
] | null | null | null | src/schedpolserver.cpp | miuho/Hadoop-YARN | 4ef10c656169763422f3815ebc9599eeb1a28689 | [
"MIT"
] | null | null | null | #include "TetrischedService.h"
#include <thrift/protocol/TBinaryProtocol.h>
#include <thrift/server/TSimpleServer.h>
#include <thrift/transport/TServerSocket.h>
#include <thrift/transport/TBufferTransports.h>
#include "YARNTetrischedService.h"
#include <thrift/transport/TSocket.h> ... | 41.388797 | 152 | 0.429049 | [
"vector"
] |
d115fc166b8c3cef0f1996ae2408c7c5bedb6c97 | 6,585 | cpp | C++ | code/WPILib/CInterfaces/CJoystick.cpp | trc492/Frc2011Logomotion | c0cf25c21acdf2eb965e60291955f9e3080eb319 | [
"MIT"
] | null | null | null | code/WPILib/CInterfaces/CJoystick.cpp | trc492/Frc2011Logomotion | c0cf25c21acdf2eb965e60291955f9e3080eb319 | [
"MIT"
] | null | null | null | code/WPILib/CInterfaces/CJoystick.cpp | trc492/Frc2011Logomotion | c0cf25c21acdf2eb965e60291955f9e3080eb319 | [
"MIT"
] | null | null | null | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
/*--------------... | 27.668067 | 118 | 0.689749 | [
"object"
] |
d11e13c4f58da8a9210661eee846b9a034780d60 | 7,716 | hpp | C++ | core/commands/output/get_all_partitions.hpp | wickedb/LSOracle | ec2df3a3c9c1cc3b1c2dd7ca4dc7a52285781110 | [
"MIT"
] | 19 | 2020-12-09T21:09:29.000Z | 2021-12-14T08:40:01.000Z | core/commands/output/get_all_partitions.hpp | wickedb/LSOracle | ec2df3a3c9c1cc3b1c2dd7ca4dc7a52285781110 | [
"MIT"
] | 28 | 2021-02-18T22:09:38.000Z | 2022-03-09T08:08:14.000Z | core/commands/output/get_all_partitions.hpp | wickedb/LSOracle | ec2df3a3c9c1cc3b1c2dd7ca4dc7a52285781110 | [
"MIT"
] | 15 | 2021-02-26T17:10:24.000Z | 2022-03-26T12:41:45.000Z | /* LSOracle: A learning based Oracle for Logic Synthesis
* MIT License
* Copyright 2019 Laboratory for Nano Integrated Systems (LNIS)
*
* 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 ... | 46.203593 | 153 | 0.518403 | [
"vector"
] |
d120f59d7e4f289b178b38bf4f7c803ecf91019e | 1,333 | cpp | C++ | leetcode/322.cpp | laiyuling424/LeetCode | afb582026b4d9a4082fdb99fc65b437e55d1f64d | [
"Apache-2.0"
] | null | null | null | leetcode/322.cpp | laiyuling424/LeetCode | afb582026b4d9a4082fdb99fc65b437e55d1f64d | [
"Apache-2.0"
] | null | null | null | leetcode/322.cpp | laiyuling424/LeetCode | afb582026b4d9a4082fdb99fc65b437e55d1f64d | [
"Apache-2.0"
] | null | null | null | //
// Created by 赖於领 on 2021/9/14.
//
#include <string>
#include <iostream>
#include <vector>
using namespace std;
//零钱兑换
class Solution {
public:
int coinChange(vector<int> &coins, int amount) {
if (amount == 0) {
return 0;
}
sort(coins.begin(), coins.end());
if (co... | 22.982759 | 63 | 0.43886 | [
"vector"
] |
d122998a661ff41d405b9bdd41afa1ece60bf46b | 19,154 | hh | C++ | EnergyPlus/IceThermalStorage.hh | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | null | null | null | EnergyPlus/IceThermalStorage.hh | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | 1 | 2020-07-08T13:32:09.000Z | 2020-07-08T13:32:09.000Z | EnergyPlus/IceThermalStorage.hh | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | null | null | null | // EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois,
// The Regents of the University of California, through Lawrence Berkeley National Laboratory
// (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge
// National Laboratory, managed by UT-Batt... | 49.112821 | 145 | 0.621646 | [
"object",
"model"
] |
d12f5ac2e61dfbfc62e5dc46141859156ba1f461 | 3,207 | cc | C++ | test/cpp/end2end/delegating_channel_test.cc | echo80313/grpc | 93cdc8b77e7b3fe4a3afec1c9c7e29b3f02ec3cf | [
"Apache-2.0"
] | null | null | null | test/cpp/end2end/delegating_channel_test.cc | echo80313/grpc | 93cdc8b77e7b3fe4a3afec1c9c7e29b3f02ec3cf | [
"Apache-2.0"
] | 4 | 2022-02-27T18:59:37.000Z | 2022-02-27T18:59:53.000Z | test/cpp/end2end/delegating_channel_test.cc | echo80313/grpc | 93cdc8b77e7b3fe4a3afec1c9c7e29b3f02ec3cf | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright 2018 gRPC authors.
*
* 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 agree... | 31.441176 | 78 | 0.746492 | [
"vector"
] |
d131871166670fd05dc37efa65fa732ae4e56432 | 3,478 | cpp | C++ | src/DropedItem.cpp | Kirthos/Aerria | ec9eb6c78690838ba5a3509369e2c4d8428b4dc2 | [
"MIT"
] | null | null | null | src/DropedItem.cpp | Kirthos/Aerria | ec9eb6c78690838ba5a3509369e2c4d8428b4dc2 | [
"MIT"
] | null | null | null | src/DropedItem.cpp | Kirthos/Aerria | ec9eb6c78690838ba5a3509369e2c4d8428b4dc2 | [
"MIT"
] | null | null | null | #include "../include/DropedItem.hpp"
#include "../include/World.hpp"
DropedItem::DropedItem(World* t_world, GlobalSys* t_ressourceBox, Item t_matchingItem) : Entity(t_world,t_ressourceBox)
{
m_matchingItem = t_matchingItem;
distanceItemRepere = 10;
m_attractSpeed = 5;
m_sprite.setTexture(*t_ressourceBo... | 25.955224 | 119 | 0.557217 | [
"render"
] |
d133e12db1901cb33a1fe78d2deb052c0127b38e | 13,845 | cc | C++ | arc/keymaster/keymaster_server.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | arc/keymaster/keymaster_server.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | arc/keymaster/keymaster_server.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "arc/keymaster/keymaster_server.h"
#include <utility>
#include <base/bind.h>
#include <base/threading/platform_thread.h>
#include <base/thre... | 37.827869 | 80 | 0.64507 | [
"vector"
] |
d13481e8f7fbbb89ba55a86999035683870af70f | 3,263 | hpp | C++ | include/utils.hpp | bradleypowers/PlannerPDF | e154f305441c8891a5abe2522bdea107fe309234 | [
"MIT"
] | 38 | 2021-04-01T03:08:31.000Z | 2022-03-30T21:48:48.000Z | include/utils.hpp | bradleypowers/PlannerPDF | e154f305441c8891a5abe2522bdea107fe309234 | [
"MIT"
] | 5 | 2021-09-14T21:02:23.000Z | 2021-09-14T21:15:14.000Z | include/utils.hpp | bradleypowers/PlannerPDF | e154f305441c8891a5abe2522bdea107fe309234 | [
"MIT"
] | 8 | 2021-04-01T09:34:47.000Z | 2021-09-14T19:03:00.000Z | // The MIT License (MIT)
//
// Copyright (c) 2015, 2016, 2017 Howard Hinnant
// Copyright (c) 2016 Adrian Colomitchi
// Copyright (c) 2017 Florian Dang
// Copyright (c) 2017 Paul Thompson
// Copyright (c) 2018, 2019 Tomasz Kamiński
// Copyright (c) 2019 Jiangang Zhuang
//
// Permission is hereby granted, free of charge... | 40.7875 | 80 | 0.671162 | [
"object"
] |
d134c151a9316967c6327b2288721348467f1bab | 26,382 | cpp | C++ | src/tfr_mission_control/src/tfr_mission_control/mission_control.cpp | TrickfireRobotics/NasaRMC2019 | b06e84970a541ee766b9a1fc8155092049595f87 | [
"BSD-2-Clause"
] | 11 | 2019-02-19T21:31:24.000Z | 2021-06-10T04:59:25.000Z | src/tfr_mission_control/src/tfr_mission_control/mission_control.cpp | TrickfireRobotics/NasaRMC2019 | b06e84970a541ee766b9a1fc8155092049595f87 | [
"BSD-2-Clause"
] | 3 | 2019-07-19T19:12:29.000Z | 2021-03-27T21:26:12.000Z | src/tfr_mission_control/src/tfr_mission_control/mission_control.cpp | TrickfireRobotics/NasaRMC2019 | b06e84970a541ee766b9a1fc8155092049595f87 | [
"BSD-2-Clause"
] | 15 | 2019-02-19T21:40:05.000Z | 2021-06-27T22:06:52.000Z | #include "tfr_mission_control/mission_control.h"
#include <pluginlib/class_list_macros.h>
namespace tfr_mission_control {
/* ========================================================================== */
/* Constructor/Destructor */
/* ==================... | 39.376119 | 103 | 0.584944 | [
"render",
"object"
] |
d14236b85b0af9dd88ab0f797ccb9b500b50e1e6 | 2,930 | cc | C++ | chrome/test/webdriver/commands/session_with_id.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2016-03-10T09:13:57.000Z | 2016-03-10T09:13:57.000Z | chrome/test/webdriver/commands/session_with_id.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2022-03-13T08:39:05.000Z | 2022-03-13T08:39:05.000Z | chrome/test/webdriver/commands/session_with_id.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/test/webdriver/commands/session_with_id.h"
#include <sstream>
#include <string>
#include "base/values.h"
#include "chrome/app/chrom... | 33.295455 | 85 | 0.752218 | [
"vector"
] |
d14723b58bb0ee9ce1d073d7957888ec6d871515 | 15,678 | cpp | C++ | src/datetime.cpp | jeremydumais/Jed-CPP-DateTime-library | c2f26ef058d5d638b1eed2083b7c821f0ff2fe9b | [
"MIT"
] | 13 | 2020-03-12T08:10:58.000Z | 2022-03-16T05:38:56.000Z | src/datetime.cpp | jeremydumais/Jed-CPP-DateTime-library | c2f26ef058d5d638b1eed2083b7c821f0ff2fe9b | [
"MIT"
] | null | null | null | src/datetime.cpp | jeremydumais/Jed-CPP-DateTime-library | c2f26ef058d5d638b1eed2083b7c821f0ff2fe9b | [
"MIT"
] | 4 | 2021-03-20T14:17:34.000Z | 2021-08-14T14:55:38.000Z | #include "datetime.h"
using namespace std;
namespace jed_utils
{
//Default constructor get current date and time
datetime::datetime()
: timeInfo(new tm())
{
time_t rawtime;
time (&rawtime);
struct tm *tm_now = localtime(&rawtime);
_copy_from(tm_now);
}
datetime::datetime(int year, int month, int day, ... | 27.457093 | 139 | 0.631841 | [
"object"
] |
d14bfc3c7a9bef03aa787b87313ca3eb75e0b0f3 | 415 | hpp | C++ | Code/include/OE/Engine/MeshRenderer.hpp | mlomb/OrbitEngine | 41f053626f05782e81c2e48f5c87b04972f9be2c | [
"Apache-2.0"
] | 21 | 2018-06-26T16:37:36.000Z | 2022-01-11T01:19:42.000Z | Code/include/OE/Engine/MeshRenderer.hpp | mlomb/OrbitEngine | 41f053626f05782e81c2e48f5c87b04972f9be2c | [
"Apache-2.0"
] | null | null | null | Code/include/OE/Engine/MeshRenderer.hpp | mlomb/OrbitEngine | 41f053626f05782e81c2e48f5c87b04972f9be2c | [
"Apache-2.0"
] | 3 | 2019-10-01T14:10:50.000Z | 2021-11-19T20:30:18.000Z | #ifndef ENGINE_MESHRENDERER_HPP
#define ENGINE_MESHRENDERER_HPP
#include "OE/Engine/Component.hpp"
#include "OE/Graphics/3D/Material.hpp"
#include "OE/Graphics/API/Mesh.hpp"
namespace OrbitEngine { namespace Engine {
class MeshRenderer : public Component {
NATIVE_REFLECTION
public:
MeshRenderer();
~MeshRen... | 17.291667 | 42 | 0.751807 | [
"mesh",
"3d"
] |
d16094a9bf6f369d2c7827c1925cefe8c21f92ae | 2,764 | cpp | C++ | src/Tests/testLBFGS.cpp | andreas-hjortgaard/master_thesis | bb03ca9fc030c5142a7dde2ec80a85abc06e2cfb | [
"MIT"
] | null | null | null | src/Tests/testLBFGS.cpp | andreas-hjortgaard/master_thesis | bb03ca9fc030c5142a7dde2ec80a85abc06e2cfb | [
"MIT"
] | null | null | null | src/Tests/testLBFGS.cpp | andreas-hjortgaard/master_thesis | bb03ca9fc030c5142a7dde2ec80a85abc06e2cfb | [
"MIT"
] | 1 | 2018-10-20T00:43:36.000Z | 2018-10-20T00:43:36.000Z | /* Conditional Random Fields for Object Localization
* Master thesis source code
*
* Authors:
* Andreas Christian Eilschou (jwb226@alumni.ku.dk)
* Andreas Hjortgaard Danielsen (gxn961@alumni.ku.dk)
*
* Department of Computer Science
* University of Copenhagen
* Denmark
*
* Date: 27-08-2012
*/
#include <cs... | 24.678571 | 98 | 0.668596 | [
"object"
] |
d1625a638491c3389def35e6d30d2e6e012c66da | 1,057 | cpp | C++ | LeetCode/0429. N-ary Tree Level Order Traversal/solution.cpp | InnoFang/oh-my-algorithms | f559dba371ce725a926725ad28d5e1c2facd0ab2 | [
"Apache-2.0"
] | 1 | 2017-03-31T15:24:01.000Z | 2017-03-31T15:24:01.000Z | LeetCode/0429. N-ary Tree Level Order Traversal/solution.cpp | InnoFang/Algorithm-Library | 1896b9d8b1fa4cd73879aaecf97bc32d13ae0169 | [
"Apache-2.0"
] | null | null | null | LeetCode/0429. N-ary Tree Level Order Traversal/solution.cpp | InnoFang/Algorithm-Library | 1896b9d8b1fa4cd73879aaecf97bc32d13ae0169 | [
"Apache-2.0"
] | null | null | null | /*
// Definition for a Node.
class Node {
public:
int val;
vector<Node*> children;
Node() {}
Node(int _val) {
val = _val;
}
Node(int _val, vector<Node*> _children) {
val = _val;
children = _children;
}
};
*/
/**
* 38 / 38 test cases passed.
* Runtime: 24 ms
* M... | 21.14 | 51 | 0.449385 | [
"vector"
] |
d163be72d03122d7942977a47f3817b195df88dc | 4,885 | cpp | C++ | omp_prog/optimal_split_graph/Graph.cpp | alexanderflegontov/OpenMPAnalyzer | 609ad47699384b802b4d8307fab55b63e749f84c | [
"MIT"
] | null | null | null | omp_prog/optimal_split_graph/Graph.cpp | alexanderflegontov/OpenMPAnalyzer | 609ad47699384b802b4d8307fab55b63e749f84c | [
"MIT"
] | null | null | null | omp_prog/optimal_split_graph/Graph.cpp | alexanderflegontov/OpenMPAnalyzer | 609ad47699384b802b4d8307fab55b63e749f84c | [
"MIT"
] | null | null | null | #include "Graph.h"
#define PART_A (1)
#define PART_B (2)
// Sorting of deficits according to the second element
struct sort_def {
bool operator()(const std::pair<int, int> &left, const std::pair<int, int> &right) {
return left.second > right.second;
}
};
Graph::Graph(int size, int probty) {
Graph::... | 22.827103 | 89 | 0.542886 | [
"vector"
] |
d1682e4dddec33d33038c53aad6af48f4388167d | 352 | cpp | C++ | trunk/day55/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | trunk/day55/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | trunk/day55/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | class Solution
{
public:
int rob(vector<int> &nums)
{
if (nums.size() == 1) return nums[0];
std::vector<int> dp(nums.size(), 0);
dp[0] = nums[0];
dp[1] = std::max(nums[0], nums[1]);
for (int ii = 2; ii < dp.size(); ii++) {
dp[ii] = std::max(dp[ii - 1], dp[ii - 2] + nums[ii]);
}
ret... | 22 | 59 | 0.488636 | [
"vector"
] |
d16c1fb73cb3bfa7b3d9bfdb8bb98f12d2136d20 | 2,179 | cc | C++ | src/app/nit_entropy/main.cc | trimpim/genode-world | dfe284836e0a2fb3efed199660087d71386fc077 | [
"MIT"
] | 2 | 2018-06-25T13:04:26.000Z | 2022-01-19T14:56:34.000Z | src/app/nit_entropy/main.cc | trimpim/genode-world | dfe284836e0a2fb3efed199660087d71386fc077 | [
"MIT"
] | null | null | null | src/app/nit_entropy/main.cc | trimpim/genode-world | dfe284836e0a2fb3efed199660087d71386fc077 | [
"MIT"
] | null | null | null | /*
* \brief Entropy visualizer
* \author Emery Hemingway
* \date 2018-11-09
*/
/*
* Copyright (C) 2018 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
*/
/* Genode includes */
#include <terminal_s... | 22.234694 | 70 | 0.687471 | [
"geometry"
] |
ab6c1c86f71a8fa43e5601f01089a6d7fb8b9da4 | 1,408 | cpp | C++ | Spoj/ANARCO9A.cpp | gnomegeek/cp-submissions | c046be42876794d7cc6216db4e44a23c1174742d | [
"MIT"
] | null | null | null | Spoj/ANARCO9A.cpp | gnomegeek/cp-submissions | c046be42876794d7cc6216db4e44a23c1174742d | [
"MIT"
] | null | null | null | Spoj/ANARCO9A.cpp | gnomegeek/cp-submissions | c046be42876794d7cc6216db4e44a23c1174742d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef priority_queue<int> maxHeap;
typedef priority_queue<int, vector<int>, greater<int>> minHeap;
#define endl "\n"
#define int long long
#define MOD 1000000007
#define ump unordered_map
#define pb push_back
#define mp make_pair
#define pie acos(-1)
bool test_cases;
v... | 21.014925 | 63 | 0.440341 | [
"vector"
] |
ab72756ac18714f0e776c5277c0f9333b57d1700 | 214 | cpp | C++ | GameEngine/main.cpp | GPUWorks/OpenGL-Mini-CAD-2D | fedb903302f82a1d1ff0ca6776687a60a237008a | [
"MIT"
] | 1 | 2021-08-10T02:48:57.000Z | 2021-08-10T02:48:57.000Z | GameEngine/main.cpp | GPUWorks/OpenGL-Mini-CAD-2D | fedb903302f82a1d1ff0ca6776687a60a237008a | [
"MIT"
] | null | null | null | GameEngine/main.cpp | GPUWorks/OpenGL-Mini-CAD-2D | fedb903302f82a1d1ff0ca6776687a60a237008a | [
"MIT"
] | null | null | null |
#include "GLEW\glew.h"
#include "GL\glut.h"
#include "MainLoop.h"
//#include <vector>
using namespace std;
int main(int argc, char** argv)
{
MainLoop* ml = new MainLoop(argc, argv);
return 0;
} | 14.266667 | 42 | 0.626168 | [
"vector"
] |
ab732895aaacdbe940a2cbd00c5fe3e7d27221cd | 16,762 | cpp | C++ | src/CImageFilter.cpp | colinw7/CImageLib | d060f9ed408c0c1a806b610de0c7b77a4368f2eb | [
"MIT"
] | 2 | 2021-04-04T14:08:02.000Z | 2021-12-23T02:22:40.000Z | src/CImageFilter.cpp | colinw7/CImageLib | d060f9ed408c0c1a806b610de0c7b77a4368f2eb | [
"MIT"
] | null | null | null | src/CImageFilter.cpp | colinw7/CImageLib | d060f9ed408c0c1a806b610de0c7b77a4368f2eb | [
"MIT"
] | 1 | 2020-09-05T19:20:10.000Z | 2020-09-05T19:20:10.000Z | #include <CImageFilter.h>
#include <CGaussianBlur.h>
#include <CTurbulenceUtil.h>
#include <cmath>
void
CImage::
unsharpMask(CImagePtr src, CImagePtr &dst, double strength)
{
return src->unsharpMask(dst, strength);
}
CImagePtr
CImage::
unsharpMask(double strength)
{
CImagePtr dst = CImageMgrInst->createImage();
... | 20.516524 | 96 | 0.530665 | [
"vector"
] |
ab7507a228cad1514ccc164436a13d719fefd16e | 1,418 | cpp | C++ | interface/src/Stars.cpp | DaveDubUK/hifi | 1ceed98ca2f43f9accef2a174a16ab4228093144 | [
"Apache-2.0"
] | null | null | null | interface/src/Stars.cpp | DaveDubUK/hifi | 1ceed98ca2f43f9accef2a174a16ab4228093144 | [
"Apache-2.0"
] | null | null | null | interface/src/Stars.cpp | DaveDubUK/hifi | 1ceed98ca2f43f9accef2a174a16ab4228093144 | [
"Apache-2.0"
] | null | null | null | //
// Stars.cpp
// interface/src
//
// Created by Tobias Schwinger on 3/22/13.
// Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "Stars.h"
#include <NumericalConstants... | 28.36 | 90 | 0.715797 | [
"render"
] |
ab76b167e3a3cd2aeff26dffaef748a67d252553 | 33,786 | hxx | C++ | main/oox/inc/oox/xls/addressconverter.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/oox/inc/oox/xls/addressconverter.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/oox/inc/oox/xls/addressconverter.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.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 y... | 49.107558 | 186 | 0.597674 | [
"object",
"vector"
] |
ab77577d5773f3b7c4085fe9f227cca5999ff81a | 489 | hpp | C++ | src/HNSW/DynamicList.hpp | Matej-Chmel/hnsw-chm0065 | ada0d367b0231caf94551a3fc760d22648c783c6 | [
"MIT"
] | null | null | null | src/HNSW/DynamicList.hpp | Matej-Chmel/hnsw-chm0065 | ada0d367b0231caf94551a3fc760d22648c783c6 | [
"MIT"
] | null | null | null | src/HNSW/DynamicList.hpp | Matej-Chmel/hnsw-chm0065 | ada0d367b0231caf94551a3fc760d22648c783c6 | [
"MIT"
] | null | null | null | #pragma once
#include "FurthestHeap.hpp"
#include "NearestHeap.hpp"
namespace chm {
class DynamicList : public Unique {
void clear();
public:
FurthestHeap furthestHeap;
NearestHeap nearestHeap;
void add(float distance, size_t nodeID);
DynamicList(float distance, size_t entryID);
void fillResults(size_t... | 22.227273 | 92 | 0.734151 | [
"vector"
] |
ab7be5169e0daae05b0e4e9919cf75727ada287d | 15,685 | cpp | C++ | tests/tests/ChipmunkTest/drawSpace.cpp | CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493 | da25260dc8128ed66b48d391c738eb15134d7d4f | [
"Zlib",
"MIT-0",
"MIT"
] | null | null | null | tests/tests/ChipmunkTest/drawSpace.cpp | CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493 | da25260dc8128ed66b48d391c738eb15134d7d4f | [
"Zlib",
"MIT-0",
"MIT"
] | null | null | null | tests/tests/ChipmunkTest/drawSpace.cpp | CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493 | da25260dc8128ed66b48d391c738eb15134d7d4f | [
"Zlib",
"MIT-0",
"MIT"
] | null | null | null | /* Copyright (c) 2007 Scott Lembcke
*
* 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, pu... | 28.674589 | 95 | 0.653809 | [
"shape"
] |
ab7cf33390b3784053c6ec66f680e96a6ce96c15 | 8,887 | cpp | C++ | src/OT_Exact_L2.cpp | stegua/dotlib | 754d93f16522714668e99a3c313a2acdc2cd0bd1 | [
"MIT"
] | 4 | 2018-02-21T20:19:36.000Z | 2021-05-07T03:23:38.000Z | src/OT_Exact_L2.cpp | stegua/dotlib | 754d93f16522714668e99a3c313a2acdc2cd0bd1 | [
"MIT"
] | null | null | null | src/OT_Exact_L2.cpp | stegua/dotlib | 754d93f16522714668e99a3c313a2acdc2cd0bd1 | [
"MIT"
] | null | null | null | /**
* @fileoverview Copyright (c) 2017-2018, Stefano Gualandi,
* via Ferrata, 1, I-27100, Pavia, Italy
*
* @author stefano.gualandi@gmail.com (Stefano Gualandi)
*
*/
#include "OT_Exact_L2.h""
/**
* @brief Solve standard Trasportation Problem on the complete bipartite graph
* using Wassertein dist... | 28.853896 | 115 | 0.607292 | [
"vector"
] |
ab83766b1b109fb2e29ec5c4c489b9344a2420d6 | 13,530 | cpp | C++ | ftkGUI/ImageBrowser5D.cpp | tostathaina/farsight | 7e9d6d15688735f34f7ca272e4e715acd11473ff | [
"Apache-2.0"
] | 8 | 2016-07-22T11:24:19.000Z | 2021-04-10T04:22:31.000Z | ftkGUI/ImageBrowser5D.cpp | YanXuHappygela/Farsight | 1711b2a1458c7e035edd21fe0019a1f7d23fcafa | [
"Apache-2.0"
] | null | null | null | ftkGUI/ImageBrowser5D.cpp | YanXuHappygela/Farsight | 1711b2a1458c7e035edd21fe0019a1f7d23fcafa | [
"Apache-2.0"
] | 7 | 2016-07-21T07:39:17.000Z | 2020-01-29T02:03:27.000Z | /*=========================================================================
Copyright 2009 Rensselaer Polytechnic Institute
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/lice... | 28.604651 | 126 | 0.695344 | [
"render",
"object",
"vector",
"3d"
] |
ab83a2a65f684c9c5367c39fd572cbd87e6c5465 | 19,315 | cpp | C++ | test/old_tests/UnitTests/delegate.cpp | sylveon/cppwinrt | 4d5c5ae3de386ce1f18c3410a27b9ceb40aa524d | [
"MIT"
] | 859 | 2016-10-13T00:11:52.000Z | 2019-05-06T15:45:46.000Z | test/old_tests/UnitTests/delegate.cpp | shinsetsu/cppwinrt | ae0378373d2318d91448b8697a91d5b65a1fb2e5 | [
"MIT"
] | 655 | 2019-10-08T12:15:16.000Z | 2022-03-31T18:26:40.000Z | test/old_tests/UnitTests/delegate.cpp | shinsetsu/cppwinrt | ae0378373d2318d91448b8697a91d5b65a1fb2e5 | [
"MIT"
] | 137 | 2016-10-13T04:19:59.000Z | 2018-11-09T05:08:03.000Z | #include "pch.h"
#include "catch.hpp"
using namespace winrt;
using namespace Windows;
using namespace Windows::Graphics::Display;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
//
// Each of the sections in this test case exercises a unique edge case presented by an existing d... | 27.871573 | 200 | 0.662231 | [
"object"
] |
ab84acc4710ace324d3a54c16eac1c5410c8ada8 | 11,444 | cpp | C++ | Code/BasicFilters/btkForcePlatformWrenchFilter.cpp | mitkof6/BTKCore | d4c03aa9e354be16265d0efe0815c09b35abc642 | [
"Barr",
"Unlicense"
] | 61 | 2015-04-21T20:40:37.000Z | 2022-03-25T03:35:03.000Z | Code/BasicFilters/btkForcePlatformWrenchFilter.cpp | mitkof6/BTKCore | d4c03aa9e354be16265d0efe0815c09b35abc642 | [
"Barr",
"Unlicense"
] | 17 | 2015-06-23T20:51:57.000Z | 2020-08-17T17:08:57.000Z | Code/BasicFilters/btkForcePlatformWrenchFilter.cpp | mitkof6/BTKCore | d4c03aa9e354be16265d0efe0815c09b35abc642 | [
"Barr",
"Unlicense"
] | 56 | 2015-05-11T11:04:35.000Z | 2022-01-15T20:37:04.000Z | /*
* The Biomechanical ToolKit
* Copyright (c) 2009-2014, Arnaud Barré
* 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
... | 42.228782 | 247 | 0.630811 | [
"object",
"transform"
] |
ab86780fc8b33dcc774993c03a3e8a40678d91a4 | 770 | cpp | C++ | cppprimer_anwser/9.7.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | cppprimer_anwser/9.7.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | cppprimer_anwser/9.7.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <forward_list>
#include <list>
#include <map>
#include <deque>
#include <algorithm>
template <typename T>
void printContainer(const std::string desc, const T& container)
{
std::cout <<desc << " Container Have: " << std::endl;
std::for_each(container.begin(), conta... | 27.5 | 95 | 0.593506 | [
"vector"
] |
ab92421d5093901004b743cb4704c0079ecaeacb | 40,256 | cpp | C++ | Source/Vk.cpp | marcussvensson92/vulkan_testbed | 6cfbee9fd5fb245f10c1d5694812eda6232b9a6c | [
"MIT"
] | 10 | 2020-03-26T08:51:29.000Z | 2021-08-17T07:43:12.000Z | Source/Vk.cpp | marcussvensson92/vulkan_testbed | 6cfbee9fd5fb245f10c1d5694812eda6232b9a6c | [
"MIT"
] | null | null | null | Source/Vk.cpp | marcussvensson92/vulkan_testbed | 6cfbee9fd5fb245f10c1d5694812eda6232b9a6c | [
"MIT"
] | null | null | null | #include "Vk.h"
#define VMA_IMPLEMENTATION
#include <vk_mem_alloc.h>
_Vk Vk;
static const VkDeviceSize UPLOAD_BUFFER_SIZE = 1024 * 1024 * 1024;
static const VkDeviceSize UPLOAD_BUFFER_MASK = UPLOAD_BUFFER_SIZE - 1;
static_assert((UPLOAD_BUFFER_SIZE & UPLOAD_BUFFER_MASK) == 0, "UPLOAD_BUFFER_SIZE must be a power of t... | 42.87114 | 259 | 0.759166 | [
"vector"
] |
ab9fd5feb93a93b9fa38c6921f53776b53f80282 | 49,736 | hpp | C++ | include/NP-Engine/Noise/Simplex.hpp | naphipps/NP-Engine | 0cac8b2d5e76c839b96f2061bf57434bdc37915e | [
"MIT"
] | null | null | null | include/NP-Engine/Noise/Simplex.hpp | naphipps/NP-Engine | 0cac8b2d5e76c839b96f2061bf57434bdc37915e | [
"MIT"
] | null | null | null | include/NP-Engine/Noise/Simplex.hpp | naphipps/NP-Engine | 0cac8b2d5e76c839b96f2061bf57434bdc37915e | [
"MIT"
] | null | null | null |
#ifndef NP_ENGINE_SIMPLEX_HPP
#define NP_ENGINE_SIMPLEX_HPP
#include "NP-Engine/Primitive/Primitive.hpp"
#include "NP-Engine/Random/Random.hpp"
#include "NP-Engine/Math/Math.hpp"
#include "NP-Engine/JSON/JSON.hpp"
#include "NP-Engine/String/String.hpp"
namespace np
{
namespace noise
{
/**
provides simplex noi... | 26.34322 | 119 | 0.562651 | [
"object",
"shape",
"3d"
] |
aba7e81d17421f4bf3ed98e44eb8ca72e6a8de94 | 8,633 | hpp | C++ | Versionen/2021_06_15/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/srv/detail/revive_task__struct.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/srv/detail/revive_task__struct.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/srv/detail/revive_task__struct.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | 2 | 2021-06-21T07:32:09.000Z | 2021-08-17T03:05:38.000Z | // generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
// with input from rmf_task_msgs:srv/ReviveTask.idl
// generated code does not contain a copyright notice
#ifndef RMF_TASK_MSGS__SRV__DETAIL__REVIVE_TASK__STRUCT_HPP_
#define RMF_TASK_MSGS__SRV__DETAIL__REVIVE_TASK__STRUCT_HPP_
#include <rosidl_runtim... | 31.278986 | 164 | 0.760222 | [
"vector"
] |
aba8fb217a48b78efc1eb0a15d6daf7f89088870 | 1,675 | cpp | C++ | tests/graphics/CGraphicsLayersInfoTests.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-15T01:14:15.000Z | 2019-07-15T01:14:15.000Z | tests/graphics/CGraphicsLayersInfoTests.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 76 | 2018-10-27T16:59:36.000Z | 2022-03-30T17:40:39.000Z | tests/graphics/CGraphicsLayersInfoTests.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-29T02:02:08.000Z | 2019-07-29T02:02:08.000Z | #include <catch2/catch.hpp>
#include <TDEngine2.h>
#include <climits>
#include <tuple>
using namespace TDEngine2;
TEST_CASE("CGraphicsLayersInfo Tests")
{
E_RESULT_CODE result = RC_OK;
IGraphicsLayersInfo* pGraphicsLayersInfo = CreateGraphicsLayersInfo(result);
REQUIRE(result == RC_OK);
SECTION("TestGetLayer... | 23.928571 | 108 | 0.674627 | [
"vector"
] |
abb030426f1716f056eea972259621e3cbabbfef | 14,506 | cpp | C++ | SurgSim/Physics/Fem3DRepresentation.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 24 | 2015-01-19T16:18:59.000Z | 2022-03-13T03:29:11.000Z | SurgSim/Physics/Fem3DRepresentation.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 3 | 2018-12-21T14:54:08.000Z | 2022-03-14T12:38:07.000Z | SurgSim/Physics/Fem3DRepresentation.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 8 | 2015-04-10T19:45:36.000Z | 2022-02-02T17:00:59.000Z | // This file is a part of the OpenSurgSim project.
// Copyright 2013-2016, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses... | 35.553922 | 116 | 0.733283 | [
"mesh",
"vector",
"transform"
] |
abb4887f985f04f620215ad135574b8f8f2beca6 | 2,015 | cpp | C++ | apps/common/ospray_testing/transferFunction/Jet.cpp | burlen/ospray | e041b985dc53a2339a90a5735a22d0489b730df0 | [
"Apache-2.0"
] | null | null | null | apps/common/ospray_testing/transferFunction/Jet.cpp | burlen/ospray | e041b985dc53a2339a90a5735a22d0489b730df0 | [
"Apache-2.0"
] | null | null | null | apps/common/ospray_testing/transferFunction/Jet.cpp | burlen/ospray | e041b985dc53a2339a90a5735a22d0489b730df0 | [
"Apache-2.0"
] | null | null | null | // ======================================================================== //
// Copyright 2009-2019 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 40.3 | 79 | 0.443672 | [
"vector"
] |
abb5e8a12e90a094a37385f1ca8d7357503c580e | 7,080 | cpp | C++ | od/graphics/sampling/SliceList.cpp | bapch/er-301 | e652eb9253009897747b0de7cfc57a27ac0cde1a | [
"MIT"
] | 1 | 2021-06-29T19:26:35.000Z | 2021-06-29T19:26:35.000Z | od/graphics/sampling/SliceList.cpp | bapch/er-301 | e652eb9253009897747b0de7cfc57a27ac0cde1a | [
"MIT"
] | 1 | 2021-04-28T07:54:41.000Z | 2021-04-28T07:54:41.000Z | od/graphics/sampling/SliceList.cpp | bapch/er-301 | e652eb9253009897747b0de7cfc57a27ac0cde1a | [
"MIT"
] | 1 | 2021-03-02T21:32:52.000Z | 2021-03-02T21:32:52.000Z | /*
* SliceList.cpp
*
* Created on: 22 Oct 2016
* Author: clarkson
*/
#include <od/graphics/sampling/SliceList.h>
#include <stdio.h>
extern "C"
{
#include <od/graphics/fonts.h>
}
namespace od
{
SliceList::SliceList(int left, int bottom, int width, int height) : Graphic(left, bottom, ... | 25.745455 | 122 | 0.42161 | [
"render"
] |
abb76083468ae029e6094b62eb0a1271fd00e6b2 | 186 | hpp | C++ | approach_boost_code_generation/codegen_macro.hpp | noahleft/serialization | 731ebcee68339960308a86b25cf3c11ba815043e | [
"MIT"
] | null | null | null | approach_boost_code_generation/codegen_macro.hpp | noahleft/serialization | 731ebcee68339960308a86b25cf3c11ba815043e | [
"MIT"
] | null | null | null | approach_boost_code_generation/codegen_macro.hpp | noahleft/serialization | 731ebcee68339960308a86b25cf3c11ba815043e | [
"MIT"
] | null | null | null | #ifndef CODEGEN_MACRO_HPP
#define CODEGEN_MACRO_HPP
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/serialization/vector.hpp>
#endif | 31 | 42 | 0.833333 | [
"vector"
] |
abb90539e67ada120deb8335b36f1f373708ff53 | 92,307 | cpp | C++ | Source/NyxParticles.cpp | Gosenca/axionyx_1.0 | 7e2a723e00e6287717d6d81b23db32bcf6c3521a | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/NyxParticles.cpp | Gosenca/axionyx_1.0 | 7e2a723e00e6287717d6d81b23db32bcf6c3521a | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/NyxParticles.cpp | Gosenca/axionyx_1.0 | 7e2a723e00e6287717d6d81b23db32bcf6c3521a | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <iomanip>
#include <Nyx.H>
#ifdef GRAVITY
#include <Gravity.H>
#include <Gravity_F.H> //needed for get_grav_constant, but there might be a better way
#endif
#include <Nyx_F.H>
#ifdef FDM
#include "fdm_F.H"
#endif
using namespace amrex;
namespace
{
bool virtual_particles_set = false;
std::string as... | 41.692412 | 212 | 0.466151 | [
"vector"
] |
abb963b984984877a25d6b29ed4f53203fe5f794 | 41,483 | hpp | C++ | src/TNL/Matrices/Sandbox/SparseSandboxMatrix.hpp | grinisrit/tnl-dev | 4403b2dca895e2c32636395d6f1c1210c7afcefd | [
"MIT"
] | null | null | null | src/TNL/Matrices/Sandbox/SparseSandboxMatrix.hpp | grinisrit/tnl-dev | 4403b2dca895e2c32636395d6f1c1210c7afcefd | [
"MIT"
] | null | null | null | src/TNL/Matrices/Sandbox/SparseSandboxMatrix.hpp | grinisrit/tnl-dev | 4403b2dca895e2c32636395d6f1c1210c7afcefd | [
"MIT"
] | null | null | null | // Copyright (c) 2004-2022 Tomáš Oberhuber et al.
//
// This file is part of TNL - Template Numerical Library (https://tnl-project.org/)
//
// SPDX-License-Identifier: MIT
#pragma once
#include <functional>
#include <sstream>
#include <TNL/Algorithms/reduce.h>
#include <TNL/Matrices/Sandbox/SparseSandboxMatrix.h>
na... | 46.041065 | 128 | 0.690596 | [
"object",
"vector"
] |
abc78d507c3663a53904bbfb2a1e851cc3c84136 | 3,697 | hpp | C++ | source/Animation.hpp | Amaranese/mario-bros-cplusplus | b5aefffbd3650cfa0ff5e846f43748efde8666c5 | [
"Unlicense"
] | 1 | 2021-08-15T00:37:29.000Z | 2021-08-15T00:37:29.000Z | source/Animation.hpp | Amaranese/mario-bros-cplusplus | b5aefffbd3650cfa0ff5e846f43748efde8666c5 | [
"Unlicense"
] | null | null | null | source/Animation.hpp | Amaranese/mario-bros-cplusplus | b5aefffbd3650cfa0ff5e846f43748efde8666c5 | [
"Unlicense"
] | null | null | null | #ifndef ANIMATION_HPP
#define ANIMATION_HPP
#include <vector>
/**
* A renderable graphic made up of one or more Frames.
*/
class Animation
{
public:
/**
* Represents an individual Frame of an Animation.
*/
struct Frame
{
// Texture atlas position:
double left;
double right;
double bottom;
double to... | 23.547771 | 91 | 0.687855 | [
"render",
"vector"
] |
abc7bd697ef065c07b902426684eb14adf5045af | 7,132 | cpp | C++ | Editor/editor.cpp | NinjaDanz3r/NinjaOctopushBurgersOfDoom | 3b89f02d13504e4790fd655889b0cba261d4dbc6 | [
"MIT"
] | 1 | 2016-05-23T18:31:29.000Z | 2016-05-23T18:31:29.000Z | Editor/editor.cpp | NinjaDanz3r/NinjaOctopushBurgersOfDoom | 3b89f02d13504e4790fd655889b0cba261d4dbc6 | [
"MIT"
] | 25 | 2015-01-03T01:17:45.000Z | 2015-03-23T09:37:52.000Z | Editor/editor.cpp | NinjaDanz3r/NinjaOctopushBurgersOfDoom | 3b89f02d13504e4790fd655889b0cba261d4dbc6 | [
"MIT"
] | null | null | null | #include "editor.h"
#include <QtWidgets/QFileDialog>
#include <QtWidgets/QInputDialog>
#include <OBJModel.h>
#include <Project.h>
#include "convert.h"
#include <ModelResource.h>
#include <TextureResource.h>
#include <SceneResource.h>
#include "TexturePreview.h"
#include "ModelPreview.h"
Editor::Editor(QWidget *parent... | 32.271493 | 148 | 0.727706 | [
"model"
] |
abcbe33cd308655ea75abe321f95afc049d62345 | 11,837 | hpp | C++ | include/System/Security/Cryptography/RSACryptoServiceProvider.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Security/Cryptography/RSACryptoServiceProvider.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Security/Cryptography/RSACryptoServiceProvider.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.Security.Cryptography.RSA
#include "System/Security/Cryptograph... | 58.59901 | 403 | 0.741235 | [
"object"
] |
abcc23c5b0a5fbc0cc377abbf20670f7b338e80c | 6,786 | cpp | C++ | engine/source/engine/ecs/component-systems/Body3DComSys.cpp | yhyu13/Engine2021 | 6ded548caa45bf980d88e09bed59431b61f5337e | [
"MIT"
] | null | null | null | engine/source/engine/ecs/component-systems/Body3DComSys.cpp | yhyu13/Engine2021 | 6ded548caa45bf980d88e09bed59431b61f5337e | [
"MIT"
] | null | null | null | engine/source/engine/ecs/component-systems/Body3DComSys.cpp | yhyu13/Engine2021 | 6ded548caa45bf980d88e09bed59431b61f5337e | [
"MIT"
] | null | null | null | #include "engine-precompiled-header.h"
#include "Body3DComSys.h"
#include "Scene3DComSys.h"
#include "engine/events/engineEvents/EngineCustomEvent.h"
longmarch::Body3DComSys::Body3DComSys()
{
m_systemSignature.AddComponent<Transform3DCom>();
m_systemSignature.AddComponent<Body3DCom>();
}
longmarch::Body... | 31.562791 | 154 | 0.679045 | [
"render"
] |
abd0dd254ea7b61eebd7fe1a39c25069009f4416 | 3,696 | cpp | C++ | 2020/qualification_round/sol.cpp | divinerecursors/hashcode | f48ecae0378c9969811f5e14f002e60c925fdf03 | [
"MIT"
] | null | null | null | 2020/qualification_round/sol.cpp | divinerecursors/hashcode | f48ecae0378c9969811f5e14f002e60c925fdf03 | [
"MIT"
] | null | null | null | 2020/qualification_round/sol.cpp | divinerecursors/hashcode | f48ecae0378c9969811f5e14f002e60c925fdf03 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <sstream>
#include <fstream>
#include <string>
#include <algorithm>
using namespace std;
vector<string> split(const string& s, char delimiter) {
vector<string> tokens;
string token;
istringstream tokenStream(s);
while (getline(tokenStream, token, del... | 25.666667 | 106 | 0.579545 | [
"vector"
] |
abd1de7464b88283f8cf10b27dac33ec6693e219 | 36,813 | cc | C++ | sandboxed_api/sandbox2/monitor.cc | disconnect3d/sandboxed-api | 177b969e8cf96b6254fa9195e4c501dc12a82de9 | [
"Apache-2.0"
] | null | null | null | sandboxed_api/sandbox2/monitor.cc | disconnect3d/sandboxed-api | 177b969e8cf96b6254fa9195e4c501dc12a82de9 | [
"Apache-2.0"
] | null | null | null | sandboxed_api/sandbox2/monitor.cc | disconnect3d/sandboxed-api | 177b969e8cf96b6254fa9195e4c501dc12a82de9 | [
"Apache-2.0"
] | 1 | 2019-11-29T06:42:02.000Z | 2019-11-29T06:42:02.000Z | // Copyright 2019 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 34.76204 | 84 | 0.641594 | [
"object"
] |
abd8bc03b35e0abb6e2571b49365c67b570960bf | 269,832 | cc | C++ | SmartDiet_Backend/matlab/SensorFusion/BSR/grouping/source/gpb_src/src/math/libraries/lib_image.cc | mdepak/mobile_computing | 0ac1250b86c35cbe4eef7186f4efcdbfeabfb244 | [
"MIT"
] | 7 | 2018-05-05T03:51:01.000Z | 2020-12-30T01:05:33.000Z | SmartDiet_Backend/matlab/SensorFusion/BSR/grouping/source/gpb_src/src/math/libraries/lib_image.cc | mdepak/mobile_computing | 0ac1250b86c35cbe4eef7186f4efcdbfeabfb244 | [
"MIT"
] | 1 | 2020-08-13T08:49:05.000Z | 2020-08-13T08:49:05.000Z | SmartDiet_Backend/matlab/SensorFusion/BSR/grouping/source/gpb_src/src/math/libraries/lib_image.cc | mdepak/mobile_computing | 0ac1250b86c35cbe4eef7186f4efcdbfeabfb244 | [
"MIT"
] | null | null | null | /*
* Image processing library.
*/
#include "collections/abstract/collection.hh"
#include "collections/array_list.hh"
#include "collections/list.hh"
#include "collections/queue_set.hh"
#include "collections/pointers/auto_collection.hh"
#include "concurrent/threads/child_thread.hh"
#include "concurrent/threads/runnable... | 36.656976 | 110 | 0.596757 | [
"geometry",
"object",
"shape",
"vector",
"transform"
] |
abe144a635d5f9abb8ebefa2d12eb2ad9f12390e | 7,223 | cpp | C++ | plugins/digFlood.cpp | eswald/dfhack | 5c0588dd34f51d104ef654f952147c2f3a2f4d77 | [
"BSD-2-Clause"
] | null | null | null | plugins/digFlood.cpp | eswald/dfhack | 5c0588dd34f51d104ef654f952147c2f3a2f4d77 | [
"BSD-2-Clause"
] | null | null | null | plugins/digFlood.cpp | eswald/dfhack | 5c0588dd34f51d104ef654f952147c2f3a2f4d77 | [
"BSD-2-Clause"
] | null | null | null | #include "Core.h"
#include "DataDefs.h"
#include "Export.h"
#include "PluginManager.h"
#include "modules/EventManager.h"
#include "modules/MapCache.h"
#include "modules/Maps.h"
#include "df/coord.h"
#include "df/global_objects.h"
#include "df/job.h"
#include "df/map_block.h"
#include "df/tile_dig_designation.h"
#incl... | 33.439815 | 274 | 0.590198 | [
"shape",
"vector"
] |
abe1672410687de943c4a186b1202e2901e0e12f | 14,888 | cc | C++ | caffe2/operators/group_norm_op.cc | brooks-anderson/pytorch | dd928097938b6368fc7e2dc67721550d50ab08ea | [
"Intel"
] | 7 | 2021-05-29T16:31:51.000Z | 2022-02-21T18:52:25.000Z | caffe2/operators/group_norm_op.cc | brooks-anderson/pytorch | dd928097938b6368fc7e2dc67721550d50ab08ea | [
"Intel"
] | 1 | 2021-05-10T01:18:33.000Z | 2021-05-10T01:18:33.000Z | caffe2/operators/group_norm_op.cc | brooks-anderson/pytorch | dd928097938b6368fc7e2dc67721550d50ab08ea | [
"Intel"
] | 1 | 2021-06-21T14:41:30.000Z | 2021-06-21T14:41:30.000Z | // ------------------------------------------------------------------
// GroupNorm op in Caffe2 for CPU
// Written by Kaiming He
// Improved by Xiaomeng Yang
// see https://arxiv.org/abs/1803.08494
// This is a stand-alone op: Y = gamma * (X - mu) / sig + beta
// --------------------------------------------------------... | 29.59841 | 107 | 0.606394 | [
"shape",
"vector"
] |
7447870046f484e64eae7f98b0bc457cfeac93c8 | 2,778 | cc | C++ | tensorflow_lite_support/examples/task/audio/desktop/audio_classifier_demo.cc | khanhlvg/tflite-support | a4febca66974ae51fecc45bb7ecbc31794bbc4fc | [
"Apache-2.0"
] | 242 | 2020-06-01T03:20:05.000Z | 2022-03-29T23:45:38.000Z | tensorflow_lite_support/examples/task/audio/desktop/audio_classifier_demo.cc | khanhlvg/tflite-support | a4febca66974ae51fecc45bb7ecbc31794bbc4fc | [
"Apache-2.0"
] | 140 | 2020-07-01T03:56:01.000Z | 2022-03-31T14:08:54.000Z | tensorflow_lite_support/examples/task/audio/desktop/audio_classifier_demo.cc | khanhlvg/tflite-support | a4febca66974ae51fecc45bb7ecbc31794bbc4fc | [
"Apache-2.0"
] | 82 | 2020-07-01T10:30:41.000Z | 2022-03-27T12:28:24.000Z | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 39.685714 | 85 | 0.674226 | [
"model"
] |
744869dcb5a09f3d59afed7eb0315f1cfa9b3da1 | 18,559 | cc | C++ | scann/scann/hashes/asymmetric_hashing2/searcher.cc | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | 1 | 2021-01-08T03:21:19.000Z | 2021-01-08T03:21:19.000Z | scann/scann/hashes/asymmetric_hashing2/searcher.cc | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | null | null | null | scann/scann/hashes/asymmetric_hashing2/searcher.cc | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 The Google Research Authors.
//
// 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... | 40.170996 | 80 | 0.708066 | [
"model"
] |
744bcb7e974585be7a567cc1648377886cd48dda | 662 | hpp | C++ | series2_warmup/2d-poissonlFEM/shape.hpp | westernmagic/NumPDE | 98786723b0944d48202f32bc8b9a0185835e03e8 | [
"MIT"
] | null | null | null | series2_warmup/2d-poissonlFEM/shape.hpp | westernmagic/NumPDE | 98786723b0944d48202f32bc8b9a0185835e03e8 | [
"MIT"
] | 6 | 2017-04-01T22:52:16.000Z | 2017-04-30T16:21:55.000Z | series2_warmup/2d-poissonlFEM/shape.hpp | westernmagic/NumPDE | 98786723b0944d48202f32bc8b9a0185835e03e8 | [
"MIT"
] | null | null | null | #pragma once
//! The shape function (on the reference element)
//!
//! We have three shape functions.
//!
//! lambda(0, x, y) should be 1 in the point (0,0) and zero in (1,0) and (0,1)
//! lambda(1, x, y) should be 1 in the point (1,0) and zero in (0,0) and (0,1)
//! lambda(2, x, y) should be 1 in the point (0,1) and ... | 36.777778 | 89 | 0.661631 | [
"shape"
] |
7455ff586ffc3e391342ca631a1ad27401136834 | 29,260 | cpp | C++ | test/unittests/libstorage/test_CachedStorage.cpp | imtypist/FISCO-BCOS | 30a281d31e83ca666ef203193963a6d32e39e36a | [
"Apache-2.0"
] | null | null | null | test/unittests/libstorage/test_CachedStorage.cpp | imtypist/FISCO-BCOS | 30a281d31e83ca666ef203193963a6d32e39e36a | [
"Apache-2.0"
] | null | null | null | test/unittests/libstorage/test_CachedStorage.cpp | imtypist/FISCO-BCOS | 30a281d31e83ca666ef203193963a6d32e39e36a | [
"Apache-2.0"
] | null | null | null | /**
* @CopyRight:
* FISCO-BCOS 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, or
* (at your option) any later version.
*
* FISCO-BCOS is distributed in the hope that it... | 31.978142 | 102 | 0.59337 | [
"vector"
] |
7457e6a88d40a2947d1be795cf7e1b70361fbf89 | 25,575 | cpp | C++ | Source/Engine/Renderer/CanvasRenderer.cpp | CodeLikeCXK/AngieEngine | 26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e | [
"MIT"
] | 24 | 2019-07-15T22:48:44.000Z | 2021-11-02T04:42:48.000Z | Source/Engine/Renderer/CanvasRenderer.cpp | CodeLikeCXK/AngieEngine | 26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e | [
"MIT"
] | 1 | 2021-11-02T09:41:31.000Z | 2021-11-05T18:35:14.000Z | Source/Engine/Renderer/CanvasRenderer.cpp | CodeLikeCXK/AngieEngine | 26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e | [
"MIT"
] | 3 | 2020-02-03T08:34:50.000Z | 2021-07-28T05:19:22.000Z | /*
Angie Engine Source Code
MIT License
Copyright (C) 2017-2021 Alexander Samusev.
This file is part of the Angie Engine Source Code.
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 re... | 46.16426 | 164 | 0.491691 | [
"render"
] |
7460b6cc08bf4a46e4262c7992ef0f32b64ed566 | 2,176 | cc | C++ | multiSeg/src/vector.cc | vishalanand/MultiSeg | 100318f18e61e53e2d5694ec6af600be0eec363f | [
"MIT"
] | 1 | 2020-09-30T14:45:45.000Z | 2020-09-30T14:45:45.000Z | multiSeg/src/vector.cc | vishalanand/MultiSeg | 100318f18e61e53e2d5694ec6af600be0eec363f | [
"MIT"
] | null | null | null | multiSeg/src/vector.cc | vishalanand/MultiSeg | 100318f18e61e53e2d5694ec6af600be0eec363f | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2019-present, Vishal Anand
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "vector.h"
#include "matrix.h"
namespace parfasttext {
Vector::Vector(int64_t m) : data_(m) {}
Vector:... | 23.652174 | 96 | 0.588235 | [
"vector"
] |
7464c2ebf463a06a5fb8106eff99593f6ed9536c | 48,258 | cc | C++ | chromeos/printing/ppd_provider_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chromeos/printing/ppd_provider_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chromeos/printing/ppd_provider_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/printing/ppd_provider.h"
#include <algorithm>
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>
... | 42.146725 | 80 | 0.68484 | [
"vector",
"model"
] |
7465f6c7cc8985cfb1fa5cd5d38f894936d61648 | 1,349 | cpp | C++ | thirdparty/ngraph/src/nnfusion/core/operators/util/tensor_op.cpp | xiezhq-hermann/nnfusion | 1b2c23b0732bee295e37b990811719e0c4c6e993 | [
"MIT"
] | 1 | 2021-05-14T08:10:30.000Z | 2021-05-14T08:10:30.000Z | thirdparty/ngraph/src/nnfusion/core/operators/util/tensor_op.cpp | xiezhq-hermann/nnfusion | 1b2c23b0732bee295e37b990811719e0c4c6e993 | [
"MIT"
] | null | null | null | thirdparty/ngraph/src/nnfusion/core/operators/util/tensor_op.cpp | xiezhq-hermann/nnfusion | 1b2c23b0732bee295e37b990811719e0c4c6e993 | [
"MIT"
] | 1 | 2021-02-13T08:10:55.000Z | 2021-02-13T08:10:55.000Z | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 33.725 | 79 | 0.638251 | [
"shape"
] |
746951b7a2ecdd3b25980f95cf3de8c28520aea6 | 5,539 | cc | C++ | ortools/constraint_solver/samples/cp_is_fun_cp.cc | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | ortools/constraint_solver/samples/cp_is_fun_cp.cc | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | ortools/constraint_solver/samples/cp_is_fun_cp.cc | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | // Copyright 2010-2021 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 33.36747 | 75 | 0.630439 | [
"vector"
] |
746c8bcc2f9c6ac2bbd9b44edc9747706d6f02c8 | 941 | cpp | C++ | solutions/05XX/598/598B.cpp | AlexanderFadeev/codeforces | 9e70a58e69fafe96604045e1e9ce1d3dab07e1e5 | [
"MIT"
] | null | null | null | solutions/05XX/598/598B.cpp | AlexanderFadeev/codeforces | 9e70a58e69fafe96604045e1e9ce1d3dab07e1e5 | [
"MIT"
] | null | null | null | solutions/05XX/598/598B.cpp | AlexanderFadeev/codeforces | 9e70a58e69fafe96604045e1e9ce1d3dab07e1e5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <array>
#include <unordered_map>
#include <set>
using namespace std;
struct Query {
int l;
int r;
int k;
};
void run() {
string s;
cin >> s;
int q;
cin >> q;
vector<Query> qq;
qq.resize(q);
f... | 17.109091 | 58 | 0.405951 | [
"vector"
] |
746f2427b28114c9aefabaacc4f037be2df1bee9 | 12,758 | cpp | C++ | socks5.cpp | dnybz/asio_socks5 | bacef2b082981be00e1588fe140729c2041ad5f9 | [
"MIT"
] | null | null | null | socks5.cpp | dnybz/asio_socks5 | bacef2b082981be00e1588fe140729c2041ad5f9 | [
"MIT"
] | null | null | null | socks5.cpp | dnybz/asio_socks5 | bacef2b082981be00e1588fe140729c2041ad5f9 | [
"MIT"
] | null | null | null | /**
* @file socks5.cpp
* @brief Simple SOCKS5 proxy server realization using standalone asio library
* @author philave (philave7@gmail.com), cnfreebsd@163.com
*/
#include <cstdlib>
#include <iostream>
#include <string>
#include <memory>
#include <utility>
#include <asio.hpp>
#include <fstream>
#include "config_reader.... | 27.377682 | 156 | 0.630428 | [
"vector"
] |
747fe737d65844a5755afa710e41a33b5ac8db3b | 1,598 | cpp | C++ | ide/XSIDE/xsfilesavedialog.cpp | mixtile/gena-xskit | 9d273840c60493c509c72b281463a376702539fb | [
"Apache-2.0"
] | 15 | 2016-01-21T19:57:11.000Z | 2021-04-08T08:59:01.000Z | ide/XSIDE/xsfilesavedialog.cpp | mixtile/gena-xskit | 9d273840c60493c509c72b281463a376702539fb | [
"Apache-2.0"
] | 5 | 2015-12-05T03:41:43.000Z | 2016-10-17T16:25:35.000Z | ide/XSIDE/xsfilesavedialog.cpp | mixtile/gena-xskit | 9d273840c60493c509c72b281463a376702539fb | [
"Apache-2.0"
] | 10 | 2016-03-21T09:34:01.000Z | 2020-07-21T18:34:07.000Z | #include "xsfilesavedialog.h"
#include "ui_xsfilesavedialog.h"
#include <QStandardItemModel>
XSFileSaveDialog::XSFileSaveDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::XSFileSaveDialog)
{
ui->setupUi(this);
}
void XSFileSaveDialog::updateList(const QStringList &fileNames, const QStringList &filePat... | 25.365079 | 95 | 0.635795 | [
"model"
] |
7483d80f7ad2d640ca57091f98e6c368cc1f3444 | 8,970 | cpp | C++ | src/scene/octree.cpp | Caprica666/vixen | b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d | [
"BSD-2-Clause"
] | 1 | 2019-02-13T15:39:56.000Z | 2019-02-13T15:39:56.000Z | src/scene/octree.cpp | Caprica666/vixen | b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d | [
"BSD-2-Clause"
] | null | null | null | src/scene/octree.cpp | Caprica666/vixen | b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d | [
"BSD-2-Clause"
] | 2 | 2017-11-09T12:06:41.000Z | 2019-02-13T15:40:02.000Z | #include "vixen.h"
#include "scene/vxoctree.h"
namespace Vixen {
VX_IMPLEMENT_CLASSID(Octree, Shape, VX_Octree);
Octree::Octree(const Box3* bound) : Shape()
{
if (bound)
SetBound(bound);
// SetHints(Model::STATIC);
}
/*!
* @fn bool Octree::IsInside(const Mesh* mesh) const
* @param mesh mesh to check
*
* Dete... | 28.566879 | 129 | 0.689298 | [
"mesh",
"geometry",
"render",
"shape",
"model",
"3d"
] |
7486e832c570f520f323d47b38cb301fe3278b7f | 7,260 | cpp | C++ | src/file-watcher/FileWatcher_win32.cpp | jheruty/hotswap-cpp | 74175b028bf5dd0aa0dc8450f5251e6dfdf0e380 | [
"MIT"
] | 7 | 2021-05-25T11:31:00.000Z | 2022-03-16T08:39:03.000Z | src/file-watcher/FileWatcher_win32.cpp | jheruty/hotswap-cpp | 74175b028bf5dd0aa0dc8450f5251e6dfdf0e380 | [
"MIT"
] | 1 | 2021-06-07T20:01:41.000Z | 2021-06-16T13:43:23.000Z | src/file-watcher/FileWatcher_win32.cpp | jheruty/hotswap-cpp | 74175b028bf5dd0aa0dc8450f5251e6dfdf0e380 | [
"MIT"
] | 3 | 2021-07-08T07:33:03.000Z | 2021-08-21T06:50:31.000Z | #include <algorithm>
#include <assert.h>
#include "hscpp/file-watcher/FileWatcher_win32.h"
#include "hscpp/Log.h"
#include "hscpp/Util.h"
namespace hscpp
{
const static std::chrono::milliseconds DEBOUNCE_TIME = std::chrono::milliseconds(20);
FileWatcher::FileWatcher(FileWatcherConfig *pConfig)
: m_p... | 32.123894 | 129 | 0.594353 | [
"vector"
] |
7488c6cf525e315cec6bb7d6d215e328ea19bdcd | 16,823 | hpp | C++ | Middlewares/ST/touchgfx_backup/framework/include/touchgfx/widgets/canvas/AbstractShape.hpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | 12 | 2020-06-25T13:10:17.000Z | 2022-01-27T01:48:26.000Z | Middlewares/ST/touchgfx_backup/framework/include/touchgfx/widgets/canvas/AbstractShape.hpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | 2 | 2021-05-23T05:02:48.000Z | 2021-05-24T11:15:56.000Z | Middlewares/ST/touchgfx_backup/framework/include/touchgfx/widgets/canvas/AbstractShape.hpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | 7 | 2020-08-27T08:23:49.000Z | 2021-09-19T12:54:30.000Z | /**
******************************************************************************
* This file is part of the TouchGFX 4.13.0 distribution.
*
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Libert... | 30.698905 | 100 | 0.594484 | [
"shape"
] |
74894fb9e8d06e697dfa4fb71f384dddac342f85 | 2,054 | cpp | C++ | Dev/asd_cpp/core/IO/asd.Decryptor.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 37 | 2015-07-12T14:21:03.000Z | 2020-10-17T03:08:17.000Z | Dev/asd_cpp/core/IO/asd.Decryptor.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 91 | 2015-06-14T10:47:22.000Z | 2020-06-29T18:05:21.000Z | Dev/asd_cpp/core/IO/asd.Decryptor.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 14 | 2015-07-13T04:15:20.000Z | 2021-09-30T01:34:51.000Z | #include <vector>
#include "asd.Decryptor.h"
namespace asd
{
Decryptor::Decryptor(const astring& key)
{
if (key != astring())
{
// 古いバージョン
{
std::vector<int8_t> key_temp;
std::vector<uint8_t> key_;
Utf16ToUtf8(key_temp, (const int16_t*) key.c_str());
key_.resize(key_temp.size());
mem... | 18.339286 | 89 | 0.516553 | [
"vector"
] |
74915290c85fd6a62a57e3ba8d3f3b1c31af6db5 | 12,299 | cpp | C++ | modules/camera_tracking_and_mapping/src/TSFilterCloudsXYZRGB.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 17 | 2015-11-16T14:21:10.000Z | 2020-11-09T02:57:33.000Z | modules/camera_tracking_and_mapping/src/TSFilterCloudsXYZRGB.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 35 | 2015-07-27T15:04:43.000Z | 2019-08-22T10:52:35.000Z | modules/camera_tracking_and_mapping/src/TSFilterCloudsXYZRGB.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 18 | 2015-08-06T09:26:27.000Z | 2020-09-03T01:31:00.000Z | /**
* $Id$
*
* @author Johann Prankl
*
*/
#include <v4r/camera_tracking_and_mapping/TSFilterCloudsXYZRGB.h>
#include <v4r/keypoints/impl/invPose.hpp>
#include <v4r/common/convertImage.h>
#include <pcl/common/transforms.h>
#include <v4r/reconstruction/impl/projectPointToImage.hpp>
#include <pcl/common/time.h>
... | 23.561303 | 203 | 0.594195 | [
"vector",
"transform"
] |
7492fd08ec8f866b5221ab58868e2b0fb1f0c7e2 | 34,083 | cxx | C++ | PWGLF/NUCLEX/Nuclei/Nucleipp/AliAnalysisTaskB2.cxx | wiechula/AliPhysics | 6c5c45a5c985747ee82328d8fd59222b34529895 | [
"BSD-3-Clause"
] | 1 | 2021-06-11T20:36:16.000Z | 2021-06-11T20:36:16.000Z | PWGLF/NUCLEX/Nuclei/Nucleipp/AliAnalysisTaskB2.cxx | wiechula/AliPhysics | 6c5c45a5c985747ee82328d8fd59222b34529895 | [
"BSD-3-Clause"
] | 1 | 2017-03-14T15:11:43.000Z | 2017-03-14T15:53:09.000Z | PWGLF/NUCLEX/Nuclei/Nucleipp/AliAnalysisTaskB2.cxx | wiechula/AliPhysics | 6c5c45a5c985747ee82328d8fd59222b34529895 | [
"BSD-3-Clause"
] | 1 | 2018-09-22T01:09:25.000Z | 2018-09-22T01:09:25.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 26.689898 | 191 | 0.657923 | [
"object"
] |
7497c6d31feeed1b484031889feb95f5fa4f3a38 | 1,980 | cpp | C++ | main.cpp | MariiaGerasimenko/CPP-Project | 8ea99553ffbbb783d627f4695e665cfb4b69222b | [
"MIT"
] | null | null | null | main.cpp | MariiaGerasimenko/CPP-Project | 8ea99553ffbbb783d627f4695e665cfb4b69222b | [
"MIT"
] | null | null | null | main.cpp | MariiaGerasimenko/CPP-Project | 8ea99553ffbbb783d627f4695e665cfb4b69222b | [
"MIT"
] | null | null | null | #include "src/Bank.h"
#include <iostream>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
using namespace std;
/* testing unprofitability of bank working scheme */
int test1()
{
vector<struct bank_info> a;
Bank mybank;
a = mybank.get_report_per_n_years(5);
int res;
if... | 17.522124 | 104 | 0.550505 | [
"vector"
] |
749ae1badc9951ee18ddd06b2b7454f58707d8b1 | 4,810 | cxx | C++ | hpm_counters.cxx | davidbiancolin/riscv-hpmcounters | 540a4fd4d85f90db2b24ed23aa90c2bd3598705b | [
"Apache-2.0"
] | 9 | 2017-05-09T22:09:56.000Z | 2021-05-26T06:21:12.000Z | hpm_counters.cxx | davidbiancolin/riscv-hpmcounters | 540a4fd4d85f90db2b24ed23aa90c2bd3598705b | [
"Apache-2.0"
] | null | null | null | hpm_counters.cxx | davidbiancolin/riscv-hpmcounters | 540a4fd4d85f90db2b24ed23aa90c2bd3598705b | [
"Apache-2.0"
] | 11 | 2018-11-06T20:34:03.000Z | 2021-12-18T04:05:40.000Z | // Copyright 2017 University of California, Berkeley. See LICENSE.
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <vector>
#include <array>
// In setStats, we might trap reading uarch-specific counters.
// The trap handler will skip over the instruction and write 0,
// but onl... | 26.428571 | 113 | 0.638877 | [
"vector"
] |
749dcff0522a7816e6d971a26dfc8ba2d636770d | 2,646 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/MediaSyncEvent.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/MediaSyncEvent.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/MediaSyncEvent.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | 25.68932 | 90 | 0.652305 | [
"object"
] |
749fa358b1877409b8de709842eab7ec2ebbfc30 | 960 | cpp | C++ | WinProj/CAnimation.cpp | godekd3133/MyAquarium | 1162522b11f6ff222b138dff9e9dd0fe9e36353f | [
"Apache-2.0"
] | null | null | null | WinProj/CAnimation.cpp | godekd3133/MyAquarium | 1162522b11f6ff222b138dff9e9dd0fe9e36353f | [
"Apache-2.0"
] | null | null | null | WinProj/CAnimation.cpp | godekd3133/MyAquarium | 1162522b11f6ff222b138dff9e9dd0fe9e36353f | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "CAnimation.h"
CAnimation::CAnimation(CTexture * _pTexture, FLOAT _fDelay, INT _iMaxframe, INT _iLine, INT _iFrameline)
: m_pTexture(_pTexture),m_fDelay(_fDelay),m_iMaxFrame(_iMaxframe)
{
m_iCurrentTime = timeGetTime();
m_iOldTime = timeGetTime();
m_iFrameWidth = _pTexture->GetWidth() ... | 20.869565 | 104 | 0.71875 | [
"render"
] |
74a532922f6302bd7995fbedfbcc36f7a50c94d9 | 2,413 | cpp | C++ | plugins/dds/rti/src/PluginFactory.cpp | openenergysolutions/openfmb.adapters | 3c95b1c460a8967190bdd9ae16677a4e2a5d9861 | [
"Apache-2.0"
] | 1 | 2021-08-20T12:14:11.000Z | 2021-08-20T12:14:11.000Z | plugins/dds/rti/src/PluginFactory.cpp | openenergysolutions/openfmb.adapters | 3c95b1c460a8967190bdd9ae16677a4e2a5d9861 | [
"Apache-2.0"
] | 3 | 2021-06-16T19:25:23.000Z | 2021-09-02T14:39:10.000Z | plugins/dds/rti/src/PluginFactory.cpp | openenergysolutions/openfmb.adapters | 3c95b1c460a8967190bdd9ae16677a4e2a5d9861 | [
"Apache-2.0"
] | null | null | null | // SPDX-FileCopyrightText: 2021 Open Energy Solutions Inc
//
// SPDX-License-Identifier: Apache-2.0
#include "rti/PluginFactory.h"
#include <adapter-util/ConfigStrings.h>
#include <adapter-util/config/generated/Profile.h>
#include <schema-util/Builder.h>
#include "ConfigKeys.h"
#include "DDSPlugin.h"
namespace adap... | 30.1625 | 111 | 0.528388 | [
"object"
] |
74a6e9f98b8d0996778a1d171764cb806321690d | 1,358 | hpp | C++ | game/code/common/game/bowlergame/bowlerinput.hpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/game/bowlergame/bowlerinput.hpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/game/bowlergame/bowlerinput.hpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | 2 | 2019-03-08T03:02:45.000Z | 2019-05-14T08:41:26.000Z | #ifndef BOWLER_INPUT_HPP
#define BOWLER_INPUT_HPP
//////////////////////////////////////////////////////
// INCLUDES
//////////////////////////////////////////////////////
#include <vector>
//////////////////////////////////////////////////////
// FORWARD DECLARATIONS
////////////////////////////////////////////////... | 20.268657 | 65 | 0.433726 | [
"vector"
] |
74aea75ae0e78c0d84c199922afabf02acf3fd85 | 15,865 | cxx | C++ | src/nghttp2/Client.cxx | CM4all/beng-proxy | ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159 | [
"BSD-2-Clause"
] | 35 | 2017-08-16T06:52:26.000Z | 2022-03-27T21:49:01.000Z | src/nghttp2/Client.cxx | CM4all/beng-proxy | ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159 | [
"BSD-2-Clause"
] | 2 | 2017-12-22T15:34:23.000Z | 2022-03-08T04:15:23.000Z | src/nghttp2/Client.cxx | CM4all/beng-proxy | ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159 | [
"BSD-2-Clause"
] | 8 | 2017-12-22T15:11:47.000Z | 2022-03-15T22:54:04.000Z | /*
* Copyright 2007-2021 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 abo... | 25.547504 | 104 | 0.727829 | [
"object"
] |
74b00b5c0e43ebcea956bef7466b0f59a3e96fd7 | 4,091 | cpp | C++ | Tests/TestHamEvol.cpp | chaeyeunpark/Yavque | eccc7e1a4fb2ebb2e9d27a1bacb4b72ce6ba726d | [
"Apache-2.0"
] | null | null | null | Tests/TestHamEvol.cpp | chaeyeunpark/Yavque | eccc7e1a4fb2ebb2e9d27a1bacb4b72ce6ba726d | [
"Apache-2.0"
] | null | null | null | Tests/TestHamEvol.cpp | chaeyeunpark/Yavque | eccc7e1a4fb2ebb2e9d27a1bacb4b72ce6ba726d | [
"Apache-2.0"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include <Eigen/Dense>
#include <catch.hpp>
#include <random>
#include "EDP/ConstructSparseMat.hpp"
#include "EDP/LocalHamiltonian.hpp"
#include "yavque/Operators/HamEvol.hpp"
#include "yavque/utils.hpp"
#include "common.hpp"
template<typename RandomEngine>
void test_single_qubit(const uin... | 24.35119 | 84 | 0.668541 | [
"vector"
] |
74b69d3f29587ad5e8ae0906506ad816e41e2965 | 15,427 | cpp | C++ | Modules/DiffusionImaging/FiberTracking/Fiberfox/itkKspaceImageFilter.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 1 | 2021-11-20T08:19:27.000Z | 2021-11-20T08:19:27.000Z | Modules/DiffusionImaging/FiberTracking/Fiberfox/itkKspaceImageFilter.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | Modules/DiffusionImaging/FiberTracking/Fiberfox/itkKspaceImageFilter.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 40.07013 | 309 | 0.648603 | [
"vector"
] |
74bbf0b861e68fbb97020d5a05bbae035d02837f | 828 | cpp | C++ | visualization/src/main.cpp | frozar/RAPter | 8f1f9a37e4ac12fa08a26d18f58d3b335f797200 | [
"Apache-2.0"
] | 27 | 2017-09-21T19:52:28.000Z | 2022-03-09T13:47:02.000Z | visualization/src/main.cpp | frozar/RAPter | 8f1f9a37e4ac12fa08a26d18f58d3b335f797200 | [
"Apache-2.0"
] | 12 | 2017-07-26T15:00:32.000Z | 2021-12-03T03:08:15.000Z | visualization/src/main.cpp | frozar/RAPter | 8f1f9a37e4ac12fa08a26d18f58d3b335f797200 | [
"Apache-2.0"
] | 11 | 2017-03-24T16:56:08.000Z | 2020-11-21T13:18:33.000Z | #include <iostream>
#include "pcl/console/parse.h"
#include "rapter/typedefs.h"
#include "rapter/visualization/visualization.h"
#include "rapter/visualization/mst.hpp"
#include "rapter/primitives/impl/planePrimitive.hpp"
#include "rapter/primitives/impl/linePrimitive.hpp"
int main(int argc, char *argv[])
{
//ret... | 28.551724 | 88 | 0.621981 | [
"3d"
] |
74be25b5db09ce1d4ecd29663f1fa8e02567f957 | 3,758 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcLightSourceAmbient.cpp | yorikvanhavre/ifcplusplus | eec5160bfb07de66ad40db48bb7eca66e9351b85 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcLightSourceAmbient.cpp | yorikvanhavre/ifcplusplus | eec5160bfb07de66ad40db48bb7eca66e9351b85 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcLightSourceAmbient.cpp | yorikvanhavre/ifcplusplus | eec5160bfb07de66ad40db48bb7eca66e9351b85 | [
"MIT"
] | null | null | null | /* 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... | 54.463768 | 239 | 0.748803 | [
"vector",
"model"
] |
74c35b8c53f3979b94e4178afdc78d8166e698d6 | 1,155 | hpp | C++ | Cpp/AdvancedCpp/AdvancedMultithreaded/OtherThreadImplementation/inc/thread_group.hpp | NatanMeirov/ExperisAcademyBootcamp | 6608ef5571e6dc4eb1f481695da3476ecd4f7547 | [
"MIT"
] | null | null | null | Cpp/AdvancedCpp/AdvancedMultithreaded/OtherThreadImplementation/inc/thread_group.hpp | NatanMeirov/ExperisAcademyBootcamp | 6608ef5571e6dc4eb1f481695da3476ecd4f7547 | [
"MIT"
] | null | null | null | Cpp/AdvancedCpp/AdvancedMultithreaded/OtherThreadImplementation/inc/thread_group.hpp | NatanMeirov/ExperisAcademyBootcamp | 6608ef5571e6dc4eb1f481695da3476ecd4f7547 | [
"MIT"
] | null | null | null | #ifndef NM_THREAD_GROUP_HPP
#define NM_THREAD_GROUP_HPP
#include <cstddef> // size_t
#include <vector>
#include <memory> // std::shared_ptr
#include "icallable.hpp"
#include "thread.hpp"
namespace advcpp
{
/* Warning: The given ICallable task will be SHARED in all the N threads - make sure that the given task is t... | 28.875 | 146 | 0.751515 | [
"vector"
] |
74c3eb577066dae012d9cc5185e9d373752a728a | 12,563 | cpp | C++ | game/code/common/engine/system/debug/debugmenu.cpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/engine/system/debug/debugmenu.cpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/engine/system/debug/debugmenu.cpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | 2 | 2019-03-08T03:02:45.000Z | 2019-05-14T08:41:26.000Z | //////////////////////////////////////////////////////
// INCLUDES
//////////////////////////////////////////////////////
#include "common/engine/database/database.hpp"
#include "common/engine/game/gameapp.hpp"
#include "common/engine/render/font.hpp"
#include "common/engine/render/material.hpp"
#include "common/engin... | 27.017204 | 116 | 0.576136 | [
"render",
"transform"
] |
74c4034cfa09f4c3b70d693d8c21aa31284e57c1 | 1,556 | cpp | C++ | plugins/compositing_gl/src/InteractionRenderTarget.cpp | voei/megamol | 569b7b58c1f9bc5405b79549b86f84009329f668 | [
"BSD-3-Clause"
] | null | null | null | plugins/compositing_gl/src/InteractionRenderTarget.cpp | voei/megamol | 569b7b58c1f9bc5405b79549b86f84009329f668 | [
"BSD-3-Clause"
] | null | null | null | plugins/compositing_gl/src/InteractionRenderTarget.cpp | voei/megamol | 569b7b58c1f9bc5405b79549b86f84009329f668 | [
"BSD-3-Clause"
] | null | null | null | #include "InteractionRenderTarget.h"
#include "compositing/CompositingCalls.h"
megamol::compositing::InteractionRenderTarget::InteractionRenderTarget()
: SimpleRenderTarget(), m_objId_render_target("ObjectId","Access the object id render target texture")
{
this->m_objId_render_target.SetCallback(
Ca... | 33.826087 | 138 | 0.753213 | [
"render",
"object"
] |
74c7cab754836dea2229d8875791c83b9b9ecc72 | 712 | cc | C++ | cpp/hackranker/h12.cc | staugust/leetcode | 0ddd0b0941e596d3c6a21b6717d0dd193025f580 | [
"Apache-2.0"
] | null | null | null | cpp/hackranker/h12.cc | staugust/leetcode | 0ddd0b0941e596d3c6a21b6717d0dd193025f580 | [
"Apache-2.0"
] | null | null | null | cpp/hackranker/h12.cc | staugust/leetcode | 0ddd0b0941e596d3c6a21b6717d0dd193025f580 | [
"Apache-2.0"
] | null | null | null | /*
* https://www.hackerrank.com/challenges/flatland-space-stations/problem
*/
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <iomanip>
#include <cstdlib>
#include <cstdio>
#include <map>
#include <set>
#include <deque>
#include <queue>
using namespace std;
int flatlandSpaceSta... | 22.25 | 84 | 0.570225 | [
"vector"
] |
74c96cada0f9ea353f1b01dff275c4e80aefd416 | 9,254 | cc | C++ | syntaxnet/syntaxnet/binary_segment_transitions_test.cc | GlibAI/models | 47bd49001e1388dc566d3b067b8859a50fa8e2c0 | [
"Apache-2.0"
] | 308 | 2018-09-06T18:46:57.000Z | 2022-03-28T08:22:45.000Z | models/syntaxnet/syntaxnet/binary_segment_transitions_test.cc | AMDS123/tensorflow-model-zoo.torch | 6e4232352953f6a6a1fba4ce022cd8a462610215 | [
"Apache-2.0"
] | 64 | 2018-06-20T10:14:17.000Z | 2021-09-08T05:58:25.000Z | models/syntaxnet/syntaxnet/binary_segment_transitions_test.cc | AMDS123/tensorflow-model-zoo.torch | 6e4232352953f6a6a1fba4ce022cd8a462610215 | [
"Apache-2.0"
] | 69 | 2018-09-18T12:06:56.000Z | 2022-03-14T11:49:16.000Z | /* Copyright 2016 Google 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 License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 39.716738 | 80 | 0.702183 | [
"vector"
] |
74cb7dd3c16c70d754b8468d78bf783238223deb | 9,938 | cpp | C++ | rmf_fleet_adapter/src/rmf_fleet_adapter/estimation.cpp | 0to1/rmf_ros2 | f5fb611c7d334e62f50b6988eb59fa275618d68b | [
"Apache-2.0"
] | 1 | 2021-07-10T13:28:36.000Z | 2021-07-10T13:28:36.000Z | rmf_fleet_adapter/src/rmf_fleet_adapter/estimation.cpp | 0to1/rmf_ros2 | f5fb611c7d334e62f50b6988eb59fa275618d68b | [
"Apache-2.0"
] | null | null | null | rmf_fleet_adapter/src/rmf_fleet_adapter/estimation.cpp | 0to1/rmf_ros2 | f5fb611c7d334e62f50b6988eb59fa275618d68b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2020 Open Source Robotics Foundation
*
* 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 appl... | 33.126667 | 80 | 0.631918 | [
"vector"
] |
74cb9b4e5a2f6052cc2772c38e086c1204bfc3ea | 5,962 | hpp | C++ | Accolade/src/Managers/MemoryManager.hpp | Tackwin/BossRoom | ecad5853e591b9edc54e75448547e20e14964f72 | [
"MIT"
] | null | null | null | Accolade/src/Managers/MemoryManager.hpp | Tackwin/BossRoom | ecad5853e591b9edc54e75448547e20e14964f72 | [
"MIT"
] | null | null | null | Accolade/src/Managers/MemoryManager.hpp | Tackwin/BossRoom | ecad5853e591b9edc54e75448547e20e14964f72 | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm>
#include <cstdint>
#include <utility>
#include <utility>
#include <vector>
#include <memory>
#include <cmath>
// trying the singleton thing
// and snake_case sssssssss
class MemoryManager {
using u08 = std::uint8_t;
struct mem_place {
u08* location;
std::size_t size;
};
public... | 23.848 | 81 | 0.639215 | [
"vector"
] |
74cbdcb2e458420883207277fef5bd52e9940473 | 1,722 | cpp | C++ | intelligent_camera/Mesh.cpp | Blubmin/intelligent_camera | 0e9bf122f0f98681e4b5cdfb3ae6fa53ee5b7ce2 | [
"Apache-2.0"
] | null | null | null | intelligent_camera/Mesh.cpp | Blubmin/intelligent_camera | 0e9bf122f0f98681e4b5cdfb3ae6fa53ee5b7ce2 | [
"Apache-2.0"
] | null | null | null | intelligent_camera/Mesh.cpp | Blubmin/intelligent_camera | 0e9bf122f0f98681e4b5cdfb3ae6fa53ee5b7ce2 | [
"Apache-2.0"
] | null | null | null | #include "Mesh.h"
#include <climits>
using namespace glm;
using namespace std;
Mesh::Mesh()
{
}
Mesh::Mesh(const aiMesh* mesh)
{
this->verts = vector<vec3>();
for (int i = 0; i < mesh->mNumVertices; i++)
{
aiVector3D pos = mesh->mVertices[i];
this->verts.push_back(vec3(pos.x, pos.y, pos... | 25.701493 | 71 | 0.645761 | [
"mesh",
"vector"
] |
74ce77593db4e1ec3c04cdd8b12bf3fc2129b844 | 816 | cc | C++ | src/small-screen-lib/Init.cc | dananderson/small-screen | b85b2e36b27147b23cb7c1454109f23d32ffde4d | [
"MIT"
] | null | null | null | src/small-screen-lib/Init.cc | dananderson/small-screen | b85b2e36b27147b23cb7c1454109f23d32ffde4d | [
"MIT"
] | 3 | 2020-09-04T19:53:40.000Z | 2021-05-08T04:34:07.000Z | src/small-screen-lib/Init.cc | dananderson/small-screen | b85b2e36b27147b23cb7c1454109f23d32ffde4d | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2019 Daniel Anderson
*
* This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.
*/
#include <napi.h>
#include <YogaValue.h>
#include <YogaNode.h>
#include <YogaGlobal.h>
#include "TextLayout.h"
#include "CapInsets.h"
#include "Glo... | 21.473684 | 122 | 0.681373 | [
"object"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.