hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 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 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | 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 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6b78f2bbe172f47b2f3292a5fc446c833d8d57c0 | 1,250 | hpp | C++ | src/main/cpp/pistis/json/util/Utf8CharEncoder.hpp | tomault/pistis-json | db39580d3e905dc4fbdbb22b06f4670cc3d76b04 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/pistis/json/util/Utf8CharEncoder.hpp | tomault/pistis-json | db39580d3e905dc4fbdbb22b06f4670cc3d76b04 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/pistis/json/util/Utf8CharEncoder.hpp | tomault/pistis-json | db39580d3e905dc4fbdbb22b06f4670cc3d76b04 | [
"Apache-2.0"
] | null | null | null | #ifndef __PISTIS__JSON__UTIL__UTF8CHARENCODER_HPP__
#define __PISTIS__JSON__UTIL__UTF8CHARENCODER_HPP__
#include <pistis/exceptions/IllegalValueError.hpp>
#include <iomanip>
#include <sstream>
namespace pistis {
namespace json {
namespace util {
class Utf8CharEncoder {
public:
template <typename ... | 26.041667 | 59 | 0.5864 | tomault |
6b7b4f0f7e85896b28c57915ef7f051fa7a6da73 | 4,979 | cpp | C++ | entity_manager.cpp | jasonhutchens/kranzky_ice | 8b1cf40f7948ac8811cdf49729d1df0acb7fc611 | [
"Unlicense"
] | 4 | 2016-06-05T04:36:12.000Z | 2016-08-21T20:11:49.000Z | entity_manager.cpp | kranzky/kranzky_ice | 8b1cf40f7948ac8811cdf49729d1df0acb7fc611 | [
"Unlicense"
] | null | null | null | entity_manager.cpp | kranzky/kranzky_ice | 8b1cf40f7948ac8811cdf49729d1df0acb7fc611 | [
"Unlicense"
] | null | null | null | //==============================================================================
#include <entity_manager.hpp>
#include <entity.hpp>
#include <engine.hpp>
#include <hgeResource.h>
#include <sstream>
#include <cstdarg>
//------------------------------------------------------------------------------
Entit... | 26.625668 | 81 | 0.420165 | jasonhutchens |
6b7c08973280db624a523f6c53e5003ed6ac2865 | 3,957 | cpp | C++ | Spark/ShapeCreator.cpp | MickAlmighty/SparkRenderer | 0e30e342c7cf4003da54e9ce191fead647a868eb | [
"MIT"
] | 1 | 2022-02-15T19:50:01.000Z | 2022-02-15T19:50:01.000Z | Spark/ShapeCreator.cpp | MickAlmighty/SparkRenderer | 0e30e342c7cf4003da54e9ce191fead647a868eb | [
"MIT"
] | null | null | null | Spark/ShapeCreator.cpp | MickAlmighty/SparkRenderer | 0e30e342c7cf4003da54e9ce191fead647a868eb | [
"MIT"
] | null | null | null | #include "ShapeCreator.h"
#include <cstring>
#include <glm/gtx/rotate_vector.hpp>
constexpr double pi = 3.14159265358979323846;
namespace spark
{
std::vector<glm::vec3> ShapeCreator::createSphere(float radius, int precision, glm::vec3 centerPoint)
{
if(radius < 0.0f)
return {};
if(precision < 3)
... | 28.06383 | 148 | 0.564064 | MickAlmighty |
6b7f7e2fe5c718d23ef535be5580e276a4f357bc | 1,951 | cpp | C++ | packages/ogdf.js/src/module/src/InitialPlacer.cpp | ZJUVAI/ogdf.js | 6670d20b6c630a46593ac380d1edf91d2c9aabe8 | [
"MIT"
] | 3 | 2021-09-14T08:11:37.000Z | 2022-03-04T15:42:07.000Z | packages/ogdf.js/src/module/src/InitialPlacer.cpp | JackieAnxis/ogdf.js | 6670d20b6c630a46593ac380d1edf91d2c9aabe8 | [
"MIT"
] | 2 | 2021-12-04T17:09:53.000Z | 2021-12-16T08:57:25.000Z | packages/ogdf.js/src/module/src/InitialPlacer.cpp | ZJUVAI/ogdf.js | 6670d20b6c630a46593ac380d1edf91d2c9aabe8 | [
"MIT"
] | 2 | 2021-06-22T08:21:54.000Z | 2021-07-07T06:57:22.000Z | #include "../main.h"
#include <ogdf/energybased/multilevel_mixer/BarycenterPlacer.h>
#include <ogdf/energybased/multilevel_mixer/CirclePlacer.h>
#include <ogdf/energybased/multilevel_mixer/MedianPlacer.h>
#include <ogdf/energybased/multilevel_mixer/RandomPlacer.h>
#include <ogdf/energybased/multilevel_mixer/SolarPlace... | 30.968254 | 100 | 0.785751 | ZJUVAI |
6b87577d459e6ac851f43a6e95106c6b94b68af4 | 25 | cpp | C++ | Source/Utility/TextureLoader.cpp | reo-prg/TurnZ_code | f079c27921e2597bb824eba416b8b9a31258580c | [
"Unlicense"
] | null | null | null | Source/Utility/TextureLoader.cpp | reo-prg/TurnZ_code | f079c27921e2597bb824eba416b8b9a31258580c | [
"Unlicense"
] | null | null | null | Source/Utility/TextureLoader.cpp | reo-prg/TurnZ_code | f079c27921e2597bb824eba416b8b9a31258580c | [
"Unlicense"
] | null | null | null | #include <DirectXTex.h>
| 8.333333 | 23 | 0.72 | reo-prg |
6b897acf6092080c0e6a1ce1abe3cc23b2c68296 | 2,191 | cpp | C++ | Scene.cpp | KosukeTakahashi/CoSDL | 9e7ae8e2f9f2434eca2236e25c6bcf54d5af716e | [
"MIT"
] | null | null | null | Scene.cpp | KosukeTakahashi/CoSDL | 9e7ae8e2f9f2434eca2236e25c6bcf54d5af716e | [
"MIT"
] | null | null | null | Scene.cpp | KosukeTakahashi/CoSDL | 9e7ae8e2f9f2434eca2236e25c6bcf54d5af716e | [
"MIT"
] | null | null | null | #include <SDL.h>
#include "./Scene.hpp"
#include "evcodes.hpp"
#include "logger.hpp"
Scene::Scene() {
}
Scene::~Scene() {
}
bool Scene::run(int fps, SDL_Renderer *renderer) {
auto intervalMs = fps <= 0 ? 0 : 1000 / fps;
SDL_Event ev;
while (true) {
auto start = SDL_GetTicks();
while (SDL_... | 25.776471 | 92 | 0.545413 | KosukeTakahashi |
6b951db2f0edf984e31abad90d864157ad8bb550 | 568 | cpp | C++ | template/specialization.cpp | 0iui0/Cpp-Primer | ff8530a202ac0340a3e8de6bb9726cf0516c50fc | [
"CC0-1.0"
] | null | null | null | template/specialization.cpp | 0iui0/Cpp-Primer | ff8530a202ac0340a3e8de6bb9726cf0516c50fc | [
"CC0-1.0"
] | null | null | null | template/specialization.cpp | 0iui0/Cpp-Primer | ff8530a202ac0340a3e8de6bb9726cf0516c50fc | [
"CC0-1.0"
] | null | null | null | //
// Created by iouoi on 2021/5/29.
//
//1.full specialization
//指定任意类型会走这里
template<class Key>
struct hash {
};
//指定以下类型会走这里
template<>
struct hash<int> {
size_t operator(
int x){ return x; };
}
template<>
//cout<<hash<long>()(1000)<<endl;
struct hash<long> {
size_t operator(
long x){ return x; };
... | 13.853659 | 41 | 0.646127 | 0iui0 |
6b96be766f6f9d3cd5fba220af39669fa1a5ab3b | 4,369 | hpp | C++ | PCL SAC + Boost/SampleConsensusProblem.hpp | erfannoury/sac | 7e4c183a91bf16803bc78536476bba594bfba109 | [
"MIT"
] | 7 | 2016-10-19T12:35:06.000Z | 2019-06-26T08:19:24.000Z | PCL SAC + Boost/SampleConsensusProblem.hpp | erfannoury/sac | 7e4c183a91bf16803bc78536476bba594bfba109 | [
"MIT"
] | null | null | null | PCL SAC + Boost/SampleConsensusProblem.hpp | erfannoury/sac | 7e4c183a91bf16803bc78536476bba594bfba109 | [
"MIT"
] | null | null | null | #ifndef ASLAM_SAMPLE_CONSENSUS_PROBLEM_HPP
#define ASLAM_SAMPLE_CONSENSUS_PROBLEM_HPP
#include <boost/random.hpp>
#include <boost/shared_ptr.hpp>
#include <ctime>
namespace aslam {
template<typename MODEL_T>
class SampleConsensusProblem
{
public:
typedef MODEL_T model_t;
SampleConsensusProblem(bool rand... | 37.025424 | 109 | 0.650721 | erfannoury |
6b9786f5b54b7a2bd3419b0ce0f4ab580f992559 | 1,074 | cpp | C++ | Backtracking/Graph Coloring.cpp | Sakshi14-code/CompetitiveCodingQuestions | 2b23bb743106df2178f2832d5b4c8d7601127c91 | [
"MIT"
] | null | null | null | Backtracking/Graph Coloring.cpp | Sakshi14-code/CompetitiveCodingQuestions | 2b23bb743106df2178f2832d5b4c8d7601127c91 | [
"MIT"
] | null | null | null | Backtracking/Graph Coloring.cpp | Sakshi14-code/CompetitiveCodingQuestions | 2b23bb743106df2178f2832d5b4c8d7601127c91 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
#define n 4
#define m 3
int *node;
int adj[4][4]={{0, 1, 1, 1},
{1, 0, 1, 0},
{1, 1, 0, 1},
{1, 0, 1, 0},
};
void printSoln()
{
int i;
for(i=0;i<n;i++)
{
printf("Node %d is colored with color %d.\n",(i+1),node[i]);
}
printf("\n");
... | 17.047619 | 103 | 0.522346 | Sakshi14-code |
6ba30af97637070ff4419988180d966e19938234 | 3,949 | cpp | C++ | src/CopyConstructors.cpp | jonathan-santos/learning-cpp | 321208f8e7064c0efd86ce060b41bdb97f9ede7f | [
"MIT"
] | null | null | null | src/CopyConstructors.cpp | jonathan-santos/learning-cpp | 321208f8e7064c0efd86ce060b41bdb97f9ede7f | [
"MIT"
] | null | null | null | src/CopyConstructors.cpp | jonathan-santos/learning-cpp | 321208f8e7064c0efd86ce060b41bdb97f9ede7f | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstring>
void ValuesDoCopy()
{
int a = 1;
int b = a;
b++;
std::cout << "Value do not copy[a]: " << a << std::endl; // 1
std::cout << "Value do not copy[b]: " << b << std::endl; // 2
}
struct VectorCopy
{
float x, y;
};
void ClassesAndStructsDoCopy()
{
VectorC... | 28.615942 | 340 | 0.610028 | jonathan-santos |
6baa8aaebc87835c39186149cca16792ca3e6c4f | 15,081 | cpp | C++ | source/backend/cpu/compute/DenseConvolutionTiledExecutor.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | null | null | null | source/backend/cpu/compute/DenseConvolutionTiledExecutor.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | null | null | null | source/backend/cpu/compute/DenseConvolutionTiledExecutor.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | null | null | null | //
// DenseConvolutionTiledExecutor.cpp
// MNN
//
// Created by MNN on 2018/07/16.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "DenseConvolutionTiledExecutor.hpp"
#include <MNN/AutoTime.hpp>
#include "backend/cpu/CPUBackend.hpp"
#include "CommonOptFunction.h"
#include "core/Concurrency.h"
#inclu... | 45.561934 | 191 | 0.562496 | foreverlms |
6baac81394bddd9d2004eed038e8f2c76543a91d | 5,054 | cpp | C++ | src/SortVisualizer.cpp | NFWSA/SortVisualizer | 32ce9b42d0c50b5ebca47169b5a9cc6eecec292b | [
"MIT"
] | null | null | null | src/SortVisualizer.cpp | NFWSA/SortVisualizer | 32ce9b42d0c50b5ebca47169b5a9cc6eecec292b | [
"MIT"
] | null | null | null | src/SortVisualizer.cpp | NFWSA/SortVisualizer | 32ce9b42d0c50b5ebca47169b5a9cc6eecec292b | [
"MIT"
] | null | null | null | #include "DataLine.h"
#include "SortView.h"
#include <ege.h>
#include <string>
#include <algorithm>
#include <map>
#include <exception>
using namespace ege;
using namespace SurgeNight;
class sort_break : std::logic_error {
public:
sort_break(const std::string &msg) : std::logic_error(msg) {}
};
v... | 27.318919 | 97 | 0.475069 | NFWSA |
6bab921d21ad76d971808fd81abb4f1875381fa3 | 11,206 | cpp | C++ | src/qt/qtbase/src/widgets/dialogs/qerrormessage.cpp | chihlee/phantomjs | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/widgets/dialogs/qerrormessage.cpp | chihlee/phantomjs | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/widgets/dialogs/qerrormessage.cpp | chihlee/phantomjs | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Lice... | 28.807198 | 141 | 0.664465 | chihlee |
6babe9b2516f92e9e3db90d77a034a4747cd90b5 | 14,283 | cpp | C++ | DeepSkyDad.AF2.ESP32/src/Motor_AF2.cpp | DeepSkyDad/AF2 | 126bb3e09c76fd83932dd60cf9df8ba7ddc1df7e | [
"MIT"
] | null | null | null | DeepSkyDad.AF2.ESP32/src/Motor_AF2.cpp | DeepSkyDad/AF2 | 126bb3e09c76fd83932dd60cf9df8ba7ddc1df7e | [
"MIT"
] | 1 | 2019-09-09T23:56:16.000Z | 2019-09-22T08:15:27.000Z | DeepSkyDad.AF2.ESP32/src/Motor_AF2.cpp | DeepSkyDad/AF2 | 126bb3e09c76fd83932dd60cf9df8ba7ddc1df7e | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include "Motor_AF2.h"
void Motor_AF2::_writeCoilsMode()
{
//Serial.println(_eeprom->getIsManualControl());
if (isMoving())
return;
unsigned short coilsMode = _eeprom->getIsManualControl() ? _eeprom->getManualCoilsMode() : _eeprom->getCoilsMode();
unsigned int holdCurrent ... | 31.669623 | 148 | 0.660505 | DeepSkyDad |
6bb0458ab4e21e879de84213c10e3435ea28d335 | 1,394 | cc | C++ | dyn/src/main.cc | balayette/saphIR-project | 18da494ac21e5433fdf1c646be02c9bf25177d7d | [
"MIT"
] | 14 | 2020-07-31T09:35:23.000Z | 2021-11-15T11:18:35.000Z | dyn/src/main.cc | balayette/saphIR-project | 18da494ac21e5433fdf1c646be02c9bf25177d7d | [
"MIT"
] | null | null | null | dyn/src/main.cc | balayette/saphIR-project | 18da494ac21e5433fdf1c646be02c9bf25177d7d | [
"MIT"
] | null | null | null | #include <iostream>
#include <getopt.h>
#include "utils/fs.hh"
#include "dyn/emu.hh"
#include "dyn/unicorn-emu.hh"
#include "fmt/format.h"
#include <string>
#include <optional>
struct options {
std::optional<std::string> coverage_file;
std::string binary;
bool help;
bool singlestep;
};
options parse_options(int a... | 19.633803 | 64 | 0.621951 | balayette |
6bb2533d765f7526f977de70830165c431947c14 | 9,305 | cpp | C++ | core/fileManager.cpp | n3on/revisy | f69f778563776ae463505baf9835820704e72bd4 | [
"MIT"
] | 1 | 2020-02-18T22:59:20.000Z | 2020-02-18T22:59:20.000Z | core/fileManager.cpp | n3on/revisy | f69f778563776ae463505baf9835820704e72bd4 | [
"MIT"
] | null | null | null | core/fileManager.cpp | n3on/revisy | f69f778563776ae463505baf9835820704e72bd4 | [
"MIT"
] | null | null | null | /***************************************************************************
* This file is part of the ReViSy project
* Copyright (C) 2007 by Neon
***************************************************************************/
#include "fileManager.h"
FileManager* FileManager::m_instance = NULL;
FileManager::F... | 32.309028 | 138 | 0.450188 | n3on |
6bb89fe1087399aa9b253295809e2906d107c237 | 4,558 | cpp | C++ | src/appleseed/renderer/modeling/project/regexrenderlayerrule.cpp | istemi-bahceci/appleseed | 2db1041acb04bad4742cf7826ce019f0e623fe35 | [
"MIT"
] | 1 | 2021-04-02T10:51:57.000Z | 2021-04-02T10:51:57.000Z | src/appleseed/renderer/modeling/project/regexrenderlayerrule.cpp | istemi-bahceci/appleseed | 2db1041acb04bad4742cf7826ce019f0e623fe35 | [
"MIT"
] | null | null | null | src/appleseed/renderer/modeling/project/regexrenderlayerrule.cpp | istemi-bahceci/appleseed | 2db1041acb04bad4742cf7826ce019f0e623fe35 | [
"MIT"
] | null | null | null |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization
//
... | 29.217949 | 113 | 0.679026 | istemi-bahceci |
6bb8d53f360caca99c16992039093cd54edb784f | 7,103 | cpp | C++ | object_analytics_nodelet/src/segmenter/organized_multi_plane_segmenter.cpp | Zippen-Huang/ros_object_analytics | eb0208edbb6da67e5d5c4092fd2964a2c8d9838e | [
"Apache-2.0"
] | 186 | 2017-11-30T14:08:54.000Z | 2022-02-24T19:17:20.000Z | object_analytics_nodelet/src/segmenter/organized_multi_plane_segmenter.cpp | Zippen-Huang/ros_object_analytics | eb0208edbb6da67e5d5c4092fd2964a2c8d9838e | [
"Apache-2.0"
] | 38 | 2017-12-06T12:03:22.000Z | 2021-10-18T13:38:10.000Z | object_analytics_nodelet/src/segmenter/organized_multi_plane_segmenter.cpp | Zippen-Huang/ros_object_analytics | eb0208edbb6da67e5d5c4092fd2964a2c8d9838e | [
"Apache-2.0"
] | 58 | 2017-11-30T07:37:35.000Z | 2022-02-04T20:45:59.000Z | /*
* Copyright (c) 2017 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 40.129944 | 120 | 0.770801 | Zippen-Huang |
6bba5c3ae4bcc603f36e8c0bdceaec11b201d83d | 1,231 | cpp | C++ | src/controllerNode.cpp | amrish1222/intelli_bot | 8bfa25296d942c9b79a828788a19ff8f0d0dac34 | [
"MIT"
] | null | null | null | src/controllerNode.cpp | amrish1222/intelli_bot | 8bfa25296d942c9b79a828788a19ff8f0d0dac34 | [
"MIT"
] | null | null | null | src/controllerNode.cpp | amrish1222/intelli_bot | 8bfa25296d942c9b79a828788a19ff8f0d0dac34 | [
"MIT"
] | 1 | 2018-12-05T01:07:40.000Z | 2018-12-05T01:07:40.000Z | #include "ros/ros.h"
#include "std_msgs/String.h"
#include "geometry_msgs/Twist.h"
#include "nav_msgs/Odometry.h"
#include "../include/Control.h"
#include "std_msgs/Empty.h"
#include <sstream>
int main(int argc, char **argv) {
ros::init(argc, argv, "intelli_bot");
ros::NodeHandle n;
Control _control;
_con... | 23.226415 | 95 | 0.618197 | amrish1222 |
6bbad17aeb39418aa1dac2e26916013680bd97dd | 9,527 | cpp | C++ | src/textfile.cpp | alexezh/trv | 1dd97096ed9f60ffb64c4e44e2e309e9c5002224 | [
"MIT"
] | null | null | null | src/textfile.cpp | alexezh/trv | 1dd97096ed9f60ffb64c4e44e2e309e9c5002224 | [
"MIT"
] | 2 | 2016-11-25T19:52:09.000Z | 2017-04-15T14:49:52.000Z | src/textfile.cpp | alexezh/trv | 1dd97096ed9f60ffb64c4e44e2e309e9c5002224 | [
"MIT"
] | null | null | null | // Copyright (c) 2013 Alexandre Grigorovitch (alexezh@gmail.com).
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use,... | 21.554299 | 116 | 0.651622 | alexezh |
6bbb18d6f4cb21042af6175e1c7804f23212f82c | 11,366 | cpp | C++ | private/tst/debugFascadeTest/src/SmartXDebugFacadeTest.cpp | juimonen/SmartXbar | 033f521a5dba5bce5e097df9c98af5b2cc2636dd | [
"BSD-3-Clause"
] | 5 | 2018-11-05T07:37:58.000Z | 2022-03-04T06:40:09.000Z | private/tst/debugFascadeTest/src/SmartXDebugFacadeTest.cpp | juimonen/SmartXbar | 033f521a5dba5bce5e097df9c98af5b2cc2636dd | [
"BSD-3-Clause"
] | null | null | null | private/tst/debugFascadeTest/src/SmartXDebugFacadeTest.cpp | juimonen/SmartXbar | 033f521a5dba5bce5e097df9c98af5b2cc2636dd | [
"BSD-3-Clause"
] | 7 | 2018-12-04T07:32:19.000Z | 2021-02-17T11:28:28.000Z | /*
* Copyright (C) 2018 Intel Corporation.All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*
* @file SmartXDebugFascadeTest.cpp
* @date 2017
* @brief
*/
#include <functional>
#include <gtest/gtest.h>
#include <dlt/dlt.h>
#include "boost/filesystem.hpp"
#include "audio/configparser/IasSmartXD... | 32.381766 | 135 | 0.747668 | juimonen |
6bbe9daba875ff05d39bdab9508820e0a4c12542 | 9,837 | cpp | C++ | Modules/Core/test/mitkPropertyPersistenceTest.cpp | samsmu/MITK | c93dce6dc38d8f4c961de4440e4dd113b9841c8c | [
"BSD-3-Clause"
] | 5 | 2015-02-05T10:58:41.000Z | 2019-04-17T15:04:07.000Z | Modules/Core/test/mitkPropertyPersistenceTest.cpp | kometa-dev/MITK | 984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d | [
"BSD-3-Clause"
] | 141 | 2015-03-03T06:52:01.000Z | 2020-12-10T07:28:14.000Z | Modules/Core/test/mitkPropertyPersistenceTest.cpp | kometa-dev/MITK | 984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d | [
"BSD-3-Clause"
] | 4 | 2015-02-19T06:48:13.000Z | 2020-06-19T16:20:25.000Z | /*===================================================================
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... | 41.506329 | 190 | 0.723391 | samsmu |
6bbf6df0693d77d43c19578f830f171975dfd6d4 | 17,009 | cpp | C++ | settingsHelper/SettingsHelperLib/Payload.cpp | stegru/windows | 6e113cb192fe8360a697657d0221c8b4e771e506 | [
"BSD-3-Clause"
] | 12 | 2015-06-03T18:30:06.000Z | 2021-12-07T12:22:25.000Z | settingsHelper/SettingsHelperLib/Payload.cpp | GPII/windows | d5a5a66059c308729ca6f8099e06819f77fdddb9 | [
"BSD-3-Clause"
] | 271 | 2015-01-28T13:24:59.000Z | 2020-11-23T13:46:43.000Z | settingsHelper/SettingsHelperLib/Payload.cpp | stegru/windows | 6e113cb192fe8360a697657d0221c8b4e771e506 | [
"BSD-3-Clause"
] | 31 | 2015-04-16T20:09:12.000Z | 2022-01-19T14:29:05.000Z | /**
* Datatypes representing payload and functions.
*
* Copyright 2019 Raising the Floor - US
*
* Licensed under the New BSD license. You may not use this file except in
* compliance with this License.
*
* You may obtain a copy of the License at
* https://github.com/GPII/universal/blob/master/LICENSE.txt
*/
... | 31.324125 | 137 | 0.587454 | stegru |
6bc0b00fdb774b8a05fe9c9b6a2f1b72447027f5 | 10,897 | hpp | C++ | parser/ParseCaseExpressions.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 82 | 2016-04-18T03:59:06.000Z | 2019-02-04T11:46:08.000Z | parser/ParseCaseExpressions.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 265 | 2016-04-19T17:52:43.000Z | 2018-10-11T17:55:08.000Z | parser/ParseCaseExpressions.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 68 | 2016-04-18T05:00:34.000Z | 2018-10-30T12:41:02.000Z | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 34.484177 | 93 | 0.696706 | Hacker0912 |
6bc210a3465b5cd4ef962cb2b8e18d8913cbf87a | 6,724 | cpp | C++ | Coin3D/src/Inventor/Xt/devices/SoXtMouse.cpp | pniaz20/inventor-utils | 2306b758b15bd1a0df3fb9bd250215b7bb7fac3f | [
"MIT"
] | null | null | null | Coin3D/src/Inventor/Xt/devices/SoXtMouse.cpp | pniaz20/inventor-utils | 2306b758b15bd1a0df3fb9bd250215b7bb7fac3f | [
"MIT"
] | null | null | null | Coin3D/src/Inventor/Xt/devices/SoXtMouse.cpp | pniaz20/inventor-utils | 2306b758b15bd1a0df3fb9bd250215b7bb7fac3f | [
"MIT"
] | null | null | null | /**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) by Kongsberg Oil & Gas Technologies.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | 31.716981 | 103 | 0.644259 | pniaz20 |
6bc2e5171220162347f5c4700c7a2e61d36db9f1 | 3,161 | hpp | C++ | libvast/vast/arrow_table_slice.hpp | frerich/vast | decac739ea4782ab91a1cee791ecd754b066419f | [
"BSD-3-Clause"
] | null | null | null | libvast/vast/arrow_table_slice.hpp | frerich/vast | decac739ea4782ab91a1cee791ecd754b066419f | [
"BSD-3-Clause"
] | null | null | null | libvast/vast/arrow_table_slice.hpp | frerich/vast | decac739ea4782ab91a1cee791ecd754b066419f | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across *
... | 33.989247 | 80 | 0.53211 | frerich |
6bc422c93e0de3c9491a71ed7ac33d3810efeee0 | 2,022 | cpp | C++ | src/Example/project_WhiteBoxStudio/code/ModelTest/ObjectSerDef/_tagDirectoryInfoSetSoap_StructInfo.cpp | yds086/HereticOS-ObjectSystem | bdbf48bc3a5ef96c54b3d1652b90740c28c5cf49 | [
"Apache-2.0"
] | 5 | 2017-09-07T06:58:34.000Z | 2021-07-21T08:41:26.000Z | src/Example/project_WhiteBoxStudio/code/ModelTest/ObjectSerDef/_tagDirectoryInfoSetSoap_StructInfo.cpp | yds086/HereticOS-ObjectSystem | bdbf48bc3a5ef96c54b3d1652b90740c28c5cf49 | [
"Apache-2.0"
] | null | null | null | src/Example/project_WhiteBoxStudio/code/ModelTest/ObjectSerDef/_tagDirectoryInfoSetSoap_StructInfo.cpp | yds086/HereticOS-ObjectSystem | bdbf48bc3a5ef96c54b3d1652b90740c28c5cf49 | [
"Apache-2.0"
] | 2 | 2017-09-27T06:31:11.000Z | 2020-05-13T12:29:58.000Z | #include "stdafx.h"
#include "CommonTypeDef.h"
#include "_tagDirectoryInfoSetSoap_StructInfo.h"
Serialize__tagDirectoryInfoSetSoap::_Myt& Serialize__tagDirectoryInfoSetSoap::operator=(_tagDirectoryInfoSetSoap & _X)
{
SetData(_X);
return *this;
}
void Serialize__tagDirectoryInfoSetSoap::GetData()
{
m_Val.ObjectNam... | 27.324324 | 131 | 0.794263 | yds086 |
6bc4970846db1d0b632b6bcc7c103ab94da08e19 | 5,003 | cpp | C++ | client/dll/offset.cpp | Nullptr-Archives/CSNS-SoftON-Hack | d68ee3c577181ef3b2910b413203aa9fc36e7c70 | [
"MIT"
] | 13 | 2021-03-14T11:34:29.000Z | 2021-04-13T03:20:19.000Z | client/dll/offset.cpp | Nullptr-Archives/CSNS-SoftON-Hack | d68ee3c577181ef3b2910b413203aa9fc36e7c70 | [
"MIT"
] | 1 | 2021-03-26T17:03:50.000Z | 2021-03-26T17:03:50.000Z | client/dll/offset.cpp | Nullptr-Archives/CSNS-SoftON-Hack | d68ee3c577181ef3b2910b413203aa9fc36e7c70 | [
"MIT"
] | 9 | 2021-03-14T11:35:19.000Z | 2021-04-21T08:12:47.000Z | #include "offset.h"
#include <unordered_map>
#include "globals.h"
#include "utils.h"
// universal representation for game modules
struct GameModule {
DWORD start, end;
GameModule() = default;
// construct module with its start and end address
GameModule(DWORD start_, DWORD end_) :
start(start_... | 30.693252 | 147 | 0.658605 | Nullptr-Archives |
6bc59a6e13328a2f0907c60638b45d5eb1a2b01c | 1,773 | hpp | C++ | genfile/include/genfile/SNPDataSinkChain.hpp | gavinband/bingwa | d52e166b3bb6bc32cd32ba63bf8a4a147275eca1 | [
"BSL-1.0"
] | 3 | 2021-04-21T05:42:24.000Z | 2022-01-26T14:59:43.000Z | genfile/include/genfile/SNPDataSinkChain.hpp | gavinband/bingwa | d52e166b3bb6bc32cd32ba63bf8a4a147275eca1 | [
"BSL-1.0"
] | 2 | 2020-04-09T16:11:04.000Z | 2020-11-10T11:18:56.000Z | genfile/include/genfile/SNPDataSinkChain.hpp | gavinband/qctool | 8d8adb45151c91f953fe4a9af00498073b1132ba | [
"BSL-1.0"
] | null | null | null |
// Copyright Gavin Band 2008 - 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SNPDATAsinkCHAIN_HPP
#define SNPDATAsinkCHAIN_HPP
#include <iostream>
#include <string>
#includ... | 26.462687 | 93 | 0.744501 | gavinband |
6bc60dd1c75c0af46927f6ff45b986130514f09c | 544 | cpp | C++ | trace_server/dock/dock.cpp | mojmir-svoboda/DbgToolkit | 590887987d0856032be906068a3103b6ce31d21c | [
"MIT"
] | null | null | null | trace_server/dock/dock.cpp | mojmir-svoboda/DbgToolkit | 590887987d0856032be906068a3103b6ce31d21c | [
"MIT"
] | null | null | null | trace_server/dock/dock.cpp | mojmir-svoboda/DbgToolkit | 590887987d0856032be906068a3103b6ce31d21c | [
"MIT"
] | null | null | null | #include "dock.h"
#include <QCloseEvent>
#include <QMainWindow>
#include "mainwindow.h"
#include "dockwidget.h"
#include <QApplication>
DockedWidgetBase::DockedWidgetBase (MainWindow * mw, QStringList const & path)
: ActionAble(path)
, m_main_window(mw)
, m_dockwidget(0)
{
qDebug("%s this=0x%08x", __FUNCTION__, th... | 21.76 | 78 | 0.738971 | mojmir-svoboda |
6bceede515f48fe461a8df7ab13cfb97ee20f3eb | 1,743 | cpp | C++ | src/cckVec3.cpp | frmr/cck | 0528157c6439057077547418c22e7977927c29f7 | [
"MIT"
] | 1 | 2015-10-02T17:00:18.000Z | 2015-10-02T17:00:18.000Z | src/cckVec3.cpp | frmr/cck | 0528157c6439057077547418c22e7977927c29f7 | [
"MIT"
] | null | null | null | src/cckVec3.cpp | frmr/cck | 0528157c6439057077547418c22e7977927c29f7 | [
"MIT"
] | null | null | null | #include "cckVec3.h"
#include "cckMath.h"
#include <cmath>
cck::GeoCoord cck::Vec3::ToGeographic() const
{
double lonRadians = atan2( y, x );
if ( lonRadians < -cck::pi )
{
lonRadians += cck::twoPi;
}
else if ( lonRadians > cck::pi )
{
lonRadians -= cck::twoPi;
... | 19.58427 | 75 | 0.500287 | frmr |
6bcfbac38550d8b76a7e14d1c84c7987cff6c711 | 7,372 | cpp | C++ | src/planner/insert_plan.cpp | vittvolt/15721-peloton | 3394c745ce5f3d71d1d71a09c700d5e367345e2e | [
"Apache-2.0"
] | 7 | 2017-03-12T01:57:48.000Z | 2022-03-16T12:44:07.000Z | src/planner/insert_plan.cpp | vittvolt/15721-peloton | 3394c745ce5f3d71d1d71a09c700d5e367345e2e | [
"Apache-2.0"
] | null | null | null | src/planner/insert_plan.cpp | vittvolt/15721-peloton | 3394c745ce5f3d71d1d71a09c700d5e367345e2e | [
"Apache-2.0"
] | 2 | 2017-03-30T00:43:50.000Z | 2021-07-21T06:27:44.000Z |
//===----------------------------------------------------------------------===//
//
// PelotonDB
//
// insert_plan.cpp
//
// Identification: /peloton/src/planner/insert_plan.cpp
//
// Copyright (c) 2015, Carnegie Mellon University Database Group
//
//===-----------------------------------------... | 37.42132 | 80 | 0.582339 | vittvolt |
6bd1f664608392956ecb975849d95fe25a09be4b | 144 | cpp | C++ | src/app.cpp | overworks/MhGameLib | 87973e29633ed09a3fa51eb27ea7fc8af5e9d71b | [
"MIT"
] | null | null | null | src/app.cpp | overworks/MhGameLib | 87973e29633ed09a3fa51eb27ea7fc8af5e9d71b | [
"MIT"
] | null | null | null | src/app.cpp | overworks/MhGameLib | 87973e29633ed09a3fa51eb27ea7fc8af5e9d71b | [
"MIT"
] | null | null | null | #include <mh/app.hpp>
namespace Mh
{
App::App()
: m_client_width(0), m_client_height(0), m_current_renderer(nullptr)
{}
App::~App()
{}
} | 13.090909 | 70 | 0.652778 | overworks |
6bd2150707a370bf4806990ee933594e166545c9 | 19,085 | hpp | C++ | include/asioex/async.hpp | madmongo1/asio_experiments | 4ed09b5fc1e3fe2597346d87cdcccc11f70d7d7f | [
"BSL-1.0"
] | 1 | 2022-01-25T04:10:59.000Z | 2022-01-25T04:10:59.000Z | include/asioex/async.hpp | madmongo1/asio_experiments | 4ed09b5fc1e3fe2597346d87cdcccc11f70d7d7f | [
"BSL-1.0"
] | null | null | null | include/asioex/async.hpp | madmongo1/asio_experiments | 4ed09b5fc1e3fe2597346d87cdcccc11f70d7d7f | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2022 Klemens D. Morgenstern
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef ASIO_EXPERIMENTS_ASYNC_HPP
#define ASIO_EXPERIMENTS_ASYNC_HPP
#include <asio/compose.hpp>
#include <asio/post.... | 29.316436 | 135 | 0.599266 | madmongo1 |
6bd6b2d10da7b45da59bc08522f75daf082cae37 | 950 | cpp | C++ | src/rtcore/ICamera.cpp | potato3d/rtrt2 | 5c135c1aea0ded2898e16220cec5ed2860dcc9b3 | [
"MIT"
] | 1 | 2021-11-06T06:13:05.000Z | 2021-11-06T06:13:05.000Z | src/rtcore/ICamera.cpp | potato3d/rtrt2 | 5c135c1aea0ded2898e16220cec5ed2860dcc9b3 | [
"MIT"
] | null | null | null | src/rtcore/ICamera.cpp | potato3d/rtrt2 | 5c135c1aea0ded2898e16220cec5ed2860dcc9b3 | [
"MIT"
] | null | null | null | #include <rti/ICamera.h>
using namespace rti;
void ICamera::translate( float x, float y, float z )
{
// avoid warnings
x;y;z;
}
void ICamera::rotate( float radians, uint32 axis )
{
// avoid warnings
radians;axis;
}
void ICamera::setLookAt( float eyeX, float eyeY, float eyeZ,
float centerX, float center... | 18.269231 | 67 | 0.670526 | potato3d |
6bd7be057a7b8fc1ffa799e2aeb17f7b363b1d33 | 16,353 | cpp | C++ | src/ARIA/ArRangeBuffer.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | 1 | 2018-10-13T02:50:25.000Z | 2018-10-13T02:50:25.000Z | src/ARIA/ArRangeBuffer.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | null | null | null | src/ARIA/ArRangeBuffer.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | 1 | 2018-10-13T02:50:26.000Z | 2018-10-13T02:50:26.000Z | /*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | 30.395911 | 131 | 0.699077 | rzsavilla |
6bda31de544e5c9f02f100ab88930531faa26073 | 1,186 | cpp | C++ | Framework/ML/Src/Datasets.cpp | TheJimmyGod/JimmyGod_Engine | b9752c6fbd9db17dc23f03330b5e4537bdcadf8e | [
"MIT"
] | null | null | null | Framework/ML/Src/Datasets.cpp | TheJimmyGod/JimmyGod_Engine | b9752c6fbd9db17dc23f03330b5e4537bdcadf8e | [
"MIT"
] | null | null | null | Framework/ML/Src/Datasets.cpp | TheJimmyGod/JimmyGod_Engine | b9752c6fbd9db17dc23f03330b5e4537bdcadf8e | [
"MIT"
] | null | null | null | #include "Precompiled.h"
#include "Datasets.h"
using namespace JimmyGod::ML;
using namespace JimmyGod::Math;
Dataset Datasets::MakeLinear(size_t samples, float b0, float b1, float minX, float maxX, float noise)
{
Dataset dataset;
dataset.x0.reserve(samples);
dataset.y.reserve(samples);
for (size_t i ... | 24.708333 | 114 | 0.652614 | TheJimmyGod |
6bdc38145a33e2bce6e327a72f86e72f4dbde44d | 1,961 | hpp | C++ | examples/toy/bnsl_state.hpp | kp1181/scool | 296cd49a0d62de609d681b3ec3d7019b3d2c7c30 | [
"MIT"
] | 1 | 2022-03-14T05:23:51.000Z | 2022-03-14T05:23:51.000Z | examples/toy/bnsl_state.hpp | kp1181/scool | 296cd49a0d62de609d681b3ec3d7019b3d2c7c30 | [
"MIT"
] | null | null | null | examples/toy/bnsl_state.hpp | kp1181/scool | 296cd49a0d62de609d681b3ec3d7019b3d2c7c30 | [
"MIT"
] | null | null | null | /***
* $Id$
**
* File: bnsl_state.hpp
* Created: Jan 13, 2022
*
* Author: Jaroslaw Zola <jaroslaw.zola@hush.com>
* Distributed under the MIT License.
* See accompanying file LICENSE.
*
* This file is part of SCoOL.
*/
#ifndef BNSL_STATE_HPP
#define BNSL_STATE_HPP
#include <istream>
#include <ostream... | 26.863014 | 83 | 0.627231 | kp1181 |
6be3d1104b8a3558401ebea570dab62f6a9821fd | 5,740 | cpp | C++ | nifti_user/ogre_tools_diamond_back/src/ogre_tools/fps_camera.cpp | talkingrobots/NIFTi_OCU | 017a36cd98f4302ebcd0f024a6c0c517b044bac7 | [
"BSD-3-Clause"
] | 1 | 2019-08-14T09:59:21.000Z | 2019-08-14T09:59:21.000Z | nifti_user/ogre_tools_diamond_back/src/ogre_tools/fps_camera.cpp | talkingrobots/NIFTi_OCU | 017a36cd98f4302ebcd0f024a6c0c517b044bac7 | [
"BSD-3-Clause"
] | null | null | null | nifti_user/ogre_tools_diamond_back/src/ogre_tools/fps_camera.cpp | talkingrobots/NIFTi_OCU | 017a36cd98f4302ebcd0f024a6c0c517b044bac7 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2008, Willow Garage, Inc.
* 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 l... | 23.52459 | 136 | 0.676481 | talkingrobots |
6be5bdf8ee06389987bc2aec558020fc8ab87a24 | 270 | hpp | C++ | gnet/include/noncopyable.hpp | gapry/GNet | 4d63540e1f532fae1a44a97f9b2d74a6754f2513 | [
"MIT"
] | 1 | 2021-05-19T03:56:47.000Z | 2021-05-19T03:56:47.000Z | gnet/include/noncopyable.hpp | gapry/GNet | 4d63540e1f532fae1a44a97f9b2d74a6754f2513 | [
"MIT"
] | null | null | null | gnet/include/noncopyable.hpp | gapry/GNet | 4d63540e1f532fae1a44a97f9b2d74a6754f2513 | [
"MIT"
] | null | null | null | #pragma once
namespace gnet {
template<class T>
class noncopyable {
protected:
noncopyable() = default;
~noncopyable() noexcept = default;
private:
noncopyable(noncopyable const&) = delete;
auto operator=(T const&) -> void = delete;
};
} // namespace gnet
| 14.210526 | 44 | 0.692593 | gapry |
6be89af3018eb4f867beea416f18d83030109bd9 | 236 | cpp | C++ | chapter-11/11.21.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | chapter-11/11.21.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | chapter-11/11.21.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | // map<string, size_t> word_count
// string word
// while(cin >> word) ++word_count.insert({word, 0}).first->second;
// see the privileges of operators in P147
// while(cin >> word) ++((((word_count.insert)({word, 0})).first)->second)
| 33.714286 | 74 | 0.661017 | zero4drift |
6bf0bb379c365859d6061f42d6779c6c8348871b | 259 | hpp | C++ | legacy/include/distconv/tensor/stream.hpp | benson31/DiHydrogen | f12d1e0281ae58e40eadf98b3e2209208c82f5e2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | legacy/include/distconv/tensor/stream.hpp | benson31/DiHydrogen | f12d1e0281ae58e40eadf98b3e2209208c82f5e2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | legacy/include/distconv/tensor/stream.hpp | benson31/DiHydrogen | f12d1e0281ae58e40eadf98b3e2209208c82f5e2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #pragma once
namespace distconv {
namespace tensor {
template <typename Allocator>
struct Stream;
struct DefaultStream {
DefaultStream() = default;
DefaultStream(int v) {}
static DefaultStream value;
};
} // namespace tensro
} // namespae distconv
| 14.388889 | 29 | 0.733591 | benson31 |
6bf3f4b4e1214252547d37aa3bf1d9163f695b8b | 254 | cpp | C++ | day-10-4-1.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | day-10-4-1.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | day-10-4-1.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | //字符串数组
#include <stdio.h>
int main(void)
{
int i;
char cs[][6] = { "turbo","naaaa","dohc" };
//此处的数组[6]则是限制括号内的数字
for (i = 0; i < 3; i++)
printf("cs[%d] = \"%s\"\n", i, cs[i]);
//其实那个\"%s\"的作用就是为了多出 " "的,因为单个斜杠不显示
return 0;
} | 19.538462 | 44 | 0.488189 | duasong111 |
6bf8fca4274fc3f829148363b44e5efb165ce604 | 8,476 | cc | C++ | modules/task_1/danshin_g_matrix_max_by_rows/main.cc | Gekata-2/pp_2021_autumn | caeac9a213e9b0c9fe1ed877d43d1eae5a1bb2cf | [
"BSD-3-Clause"
] | 1 | 2021-12-09T17:20:25.000Z | 2021-12-09T17:20:25.000Z | modules/task_1/danshin_g_matrix_max_by_rows/main.cc | Gekata-2/pp_2021_autumn | caeac9a213e9b0c9fe1ed877d43d1eae5a1bb2cf | [
"BSD-3-Clause"
] | null | null | null | modules/task_1/danshin_g_matrix_max_by_rows/main.cc | Gekata-2/pp_2021_autumn | caeac9a213e9b0c9fe1ed877d43d1eae5a1bb2cf | [
"BSD-3-Clause"
] | 3 | 2022-02-23T14:20:50.000Z | 2022-03-30T09:00:02.000Z | // Copyright 2021 Gleb "belgad" Danshin
#include <gtest/gtest.h>
#include <cstring>
#include "../../../modules/task_1/danshin_g_matrix_max_by_rows/matrix_max_by_rows.h"
#include <gtest-mpi-listener.hpp>
TEST(DanshinGMatrixMaxByRow, ConstMatrixSize5x5) {
int rank;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
int *... | 36.068085 | 101 | 0.604412 | Gekata-2 |
6bffc1817191a100adbdbd8d9e9fc9f454789e06 | 10,343 | cpp | C++ | includes/textureLoading.cpp | MuUusta/Hello-GFX | c707570207a2db638458352c2de6c03bce5a6759 | [
"MIT"
] | 2 | 2019-05-20T11:12:07.000Z | 2021-03-25T04:24:57.000Z | includes/textureLoading.cpp | MuUusta/Hello-GFX | c707570207a2db638458352c2de6c03bce5a6759 | [
"MIT"
] | null | null | null | includes/textureLoading.cpp | MuUusta/Hello-GFX | c707570207a2db638458352c2de6c03bce5a6759 | [
"MIT"
] | null | null | null | #include <textureLoading.h>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
static unsigned int getint(FILE *fp)
{
int c, c1, c2, c3;
// get 4 bytes
c = getc(fp);
c1 = getc(fp);
c2 = getc(fp);
c3 = getc(fp);
return ((unsigned int) c) +
(((unsigned int) c1) << 8) +
(((unsigned int) c2) << 16... | 34.023026 | 246 | 0.685101 | MuUusta |
d4031270386dc644c650974438d059ec12860c2d | 666 | cpp | C++ | solutions/25.reverse-nodes-in-k-group.228894559.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/25.reverse-nodes-in-k-group.228894559.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/25.reverse-nodes-in-k-group.228894559.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode *reverseKGroup(ListNode *head, int k) {
int c = k;
ListNode *temp = head;
while (c && temp) {
c--;
t... | 16.65 | 50 | 0.493994 | satu0king |
d4056c16701e69db4fbd6b7b219e5fbbe02b674d | 3,358 | cpp | C++ | qt-ticket/src/useruletablemodel.cpp | waitWindComing/QT | c8401679b7265785ec8c7e97eea7e1e37631f37d | [
"Apache-2.0"
] | null | null | null | qt-ticket/src/useruletablemodel.cpp | waitWindComing/QT | c8401679b7265785ec8c7e97eea7e1e37631f37d | [
"Apache-2.0"
] | null | null | null | qt-ticket/src/useruletablemodel.cpp | waitWindComing/QT | c8401679b7265785ec8c7e97eea7e1e37631f37d | [
"Apache-2.0"
] | null | null | null | #include "useruletablemodel.h"
#include <qDebug>
UseRuleTableModel::UseRuleTableModel(const QList<UseRule *> &useRules, QObject* parent)
:_useRules(useRules),
QAbstractTableModel(parent)
{
_header << trUtf8("名称") << trUtf8("最低消费") << trUtf8("最大抵扣") << trUtf8("类型") << trUtf8("信息") << trUtf8("选择");
}
int U... | 29.45614 | 112 | 0.581298 | waitWindComing |
d40960e250f4afb2536688a7804e145f19e73e1c | 9,716 | cpp | C++ | src/CCsharpCounter.cpp | dutchedge/Unified_Code_Count | 8c2d12942595dc11f13f36e2282e3821707b8ffd | [
"DOC"
] | 12 | 2015-06-08T16:19:33.000Z | 2020-02-11T13:40:58.000Z | src/CCsharpCounter.cpp | dutchedge/Unified_Code_Count | 8c2d12942595dc11f13f36e2282e3821707b8ffd | [
"DOC"
] | null | null | null | src/CCsharpCounter.cpp | dutchedge/Unified_Code_Count | 8c2d12942595dc11f13f36e2282e3821707b8ffd | [
"DOC"
] | 6 | 2016-09-09T11:55:19.000Z | 2020-07-08T16:04:04.000Z | //! Code counter class methods for the C# language.
/*!
* \file CCsharpCounter.cpp
*
* This file contains the code counter class methods for the C# language.
*/
#include "CCsharpCounter.h"
/*!
* Constructs a CCsharpCounter object.
*/
CCsharpCounter::CCsharpCounter()
{
classtype = CSHARP;
language_name = "C#";
isV... | 28.576471 | 104 | 0.729621 | dutchedge |
d40c7c2597e6bd0f2c60fbcb6c61c868c7ab704d | 34,479 | hpp | C++ | externals/source/testdog/pack/inc/testdog/runner.hpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | externals/source/testdog/pack/inc/testdog/runner.hpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | externals/source/testdog/pack/inc/testdog/runner.hpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------
// PROJECT : TEST-DOG
// FILENAME : testdog/runner.hpp
// DESCRIPTION : Test runner class.
// COPYRIGHT : Andy Thomas (C) 2010
//---------------------------------------------------------------------------
//--------------... | 40.326316 | 91 | 0.638215 | skarab |
d40e360b49c504fb7af840b42d9928426493f04a | 17,140 | cpp | C++ | src/Magnum/Implementation/FramebufferState.cpp | costashatz/magnum | 8f87ca92334b326a54d27789f370fd8556d557de | [
"MIT"
] | null | null | null | src/Magnum/Implementation/FramebufferState.cpp | costashatz/magnum | 8f87ca92334b326a54d27789f370fd8556d557de | [
"MIT"
] | null | null | null | src/Magnum/Implementation/FramebufferState.cpp | costashatz/magnum | 8f87ca92334b326a54d27789f370fd8556d557de | [
"MIT"
] | null | null | null | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to d... | 49.111748 | 214 | 0.751692 | costashatz |
d410fe2fe8014681408cde2a9711f0967d8b81c2 | 325 | cpp | C++ | 16. Heaps/07 Delete.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | 190 | 2021-02-10T17:01:01.000Z | 2022-03-20T00:21:43.000Z | 16. Heaps/07 Delete.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | null | null | null | 16. Heaps/07 Delete.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | 27 | 2021-03-26T11:35:15.000Z | 2022-03-06T07:34:54.000Z | #include<bits/stdc++.h>
using namespace std;
class MinHeap
{
int arr[];
int size;
int capacity;
public:
MinHeap(int c)
{
arr = new int[c];
size = 0;
capacity = c;
}
int left(int i)
{
return (2 * i + 1);
}
int right(int i)
{
return (2 * i + 2);
}
int parent(int i)
{
return (i - 1) / 2;
}... | 9.285714 | 23 | 0.532308 | VivekYadav105 |
d411603bf325af6c52e9fe2e37fb54d32bcf2d30 | 1,411 | cpp | C++ | examples/container/bitfield.cpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 13 | 2015-02-21T18:35:14.000Z | 2019-12-29T14:08:29.000Z | examples/container/bitfield.cpp | cpreh/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 5 | 2016-08-27T07:35:47.000Z | 2019-04-21T10:55:34.000Z | examples/container/bitfield.cpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 8 | 2015-01-10T09:22:37.000Z | 2019-12-01T08:31:12.000Z | // Copyright Carl Philipp Reh 2009 - 2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <fcppt/container/bitfield/object.hpp>
#include <fcppt/container/bitfield/operators.hpp>
#i... | 25.654545 | 84 | 0.671155 | freundlich |
d4116138318b85b96e4066df7c006aa82500c72f | 9,355 | cc | C++ | towr/src/quadruped_gait_generator.cc | IoannisDadiotis/towr | cbbe6d30d637b4271558e31bf522536451a9110c | [
"BSD-3-Clause"
] | null | null | null | towr/src/quadruped_gait_generator.cc | IoannisDadiotis/towr | cbbe6d30d637b4271558e31bf522536451a9110c | [
"BSD-3-Clause"
] | null | null | null | towr/src/quadruped_gait_generator.cc | IoannisDadiotis/towr | cbbe6d30d637b4271558e31bf522536451a9110c | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. 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... | 23.743655 | 90 | 0.649813 | IoannisDadiotis |
d4124780e16cb155c4f5f1c306b374d3504951c1 | 29,410 | cpp | C++ | Source/System/Physics/ColliderPrimitive/ConvexHull3D/ColliderPolyhedron.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | 2 | 2020-01-09T07:48:24.000Z | 2020-01-09T07:48:26.000Z | Source/System/Physics/ColliderPrimitive/ConvexHull3D/ColliderPolyhedron.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | null | null | null | Source/System/Physics/ColliderPrimitive/ConvexHull3D/ColliderPolyhedron.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | null | null | null | #include "ColliderPolyhedron.hpp"
#include "../../../Graphics/Utility/PrimitiveRenderer.hpp"
#include "../../BroadPhase/BoundingAABB.hpp"
#include <list>
#include "../../../../Manager/Resource/ResourceType/JsonResource.hpp"
#include "../../../../External/JSONCPP/json/json.h"
namespace Engine5
{
ColliderPolyhedron:... | 38.095855 | 232 | 0.53985 | arian153 |
d41fd04e7f4b9da20b10302fd3eba3089453ff21 | 1,694 | cpp | C++ | c/csc-220/h2.cpp | dindoliboon/archive | a5b54367dbb57260f9230375ac81e86c5fce0d7d | [
"MIT"
] | 4 | 2020-10-02T15:24:20.000Z | 2021-11-02T04:20:38.000Z | c/csc-220/h2.cpp | dindoliboon/archive | a5b54367dbb57260f9230375ac81e86c5fce0d7d | [
"MIT"
] | null | null | null | c/csc-220/h2.cpp | dindoliboon/archive | a5b54367dbb57260f9230375ac81e86c5fce0d7d | [
"MIT"
] | 2 | 2019-10-28T01:20:07.000Z | 2020-10-02T15:25:13.000Z | /* ////////////////////////////////////////////////////////////////////////
NAME: Dindo Liboon
DATE: July 17, 2001
PROJECT: Homework #2, CSC-220-01
PURPOSE: Determine if a positive integer that is 4 to 10 digits in length
can be divisible by a variety of numbers.
COMPILE: cxx h2.cpp
\\\\\\\\\\\\\\\\\\\\\... | 30.8 | 76 | 0.403188 | dindoliboon |
d4215eb81abc80b2d6331fba1e548fca4d4838f4 | 854 | hpp | C++ | Server/levelParsing/ParsingLevel.hpp | KillianG/R-Type | e3fd801ae58fcea49ac75c400ec0a2837cb0da2e | [
"MIT"
] | 1 | 2019-08-14T12:31:50.000Z | 2019-08-14T12:31:50.000Z | Server/levelParsing/ParsingLevel.hpp | KillianG/R-Type | e3fd801ae58fcea49ac75c400ec0a2837cb0da2e | [
"MIT"
] | null | null | null | Server/levelParsing/ParsingLevel.hpp | KillianG/R-Type | e3fd801ae58fcea49ac75c400ec0a2837cb0da2e | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2018
** Epitech scolarship project (4 years remaining)
** File description:
** Made on 2018/11 by ebernard
*/
#include <map>
#include <chrono>
#include <string>
#include <vector>
#include <fstream>
#include "Server/includes/Utils.hpp"
#include "Server/Monsters/includes/IEnnemy.hpp"
namespa... | 20.829268 | 62 | 0.638173 | KillianG |
d422f00ec915f9ad2cea868b0585ef64ce277d70 | 9,874 | cpp | C++ | alife/alifetests.cpp | DeanoC/hermit | 5529b1ddcbc0cdae0fa5413aa50c0c7722fb8796 | [
"MIT"
] | 1 | 2019-09-13T13:44:29.000Z | 2019-09-13T13:44:29.000Z | alife/alifetests.cpp | DeanoC/hermit | 5529b1ddcbc0cdae0fa5413aa50c0c7722fb8796 | [
"MIT"
] | null | null | null | alife/alifetests.cpp | DeanoC/hermit | 5529b1ddcbc0cdae0fa5413aa50c0c7722fb8796 | [
"MIT"
] | null | null | null | // License Summary: MIT see LICENSE file
#include "al2o3_platform/platform.h"
#include "alifetests.hpp"
#include "al2o3_memory/memory.h"
#include "world2d.hpp"
#include "al2o3_vfile/vfile.hpp"
#include "render_basics/descriptorset.h"
#include "render_basics/buffer.h"
#include "render_basics/pipeline.h"
#include "rende... | 31.851613 | 157 | 0.741847 | DeanoC |
d424b8f937498c573174f50aa1c4de4b42b5554d | 1,033 | cpp | C++ | arm9/source/_lua/lua.gadget.colorpicker.gradient.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | 2 | 2017-02-07T18:25:07.000Z | 2021-12-13T18:29:03.000Z | arm9/source/_lua/lua.gadget.colorpicker.gradient.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | null | null | null | arm9/source/_lua/lua.gadget.colorpicker.gradient.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | null | null | null | #include <_lua/lua.gadget.colorpicker.gradient.h>
#include <_lua/lua.func.h>
#include <_lua/lua.func.wrap.h>
using namespace _luafunc;
/*##################################
## Lua-Colorpicker ##
##################################*/
_lua_gradientcolorpicker::_lua_gradientcolorpicker( lua_State* ... | 44.913043 | 228 | 0.662149 | DuffsDevice |
d424f265dd71f3f060b972919d0aeaf762458041 | 4,710 | cc | C++ | Fields/QualityScoreCompressor.cc | sfu-compbio/deez | 92cd56befd0c6fbd3355e75ab1747913c11ec716 | [
"BSD-3-Clause"
] | 13 | 2015-04-11T13:30:41.000Z | 2020-06-24T16:58:18.000Z | Fields/QualityScoreCompressor.cc | sfu-compbio/deez | 92cd56befd0c6fbd3355e75ab1747913c11ec716 | [
"BSD-3-Clause"
] | 1 | 2017-09-29T08:56:30.000Z | 2017-09-29T08:56:30.000Z | Fields/QualityScoreCompressor.cc | sfu-compbio/deez | 92cd56befd0c6fbd3355e75ab1747913c11ec716 | [
"BSD-3-Clause"
] | 6 | 2015-07-06T19:30:59.000Z | 2022-03-11T07:22:24.000Z | #include "QualityScore.h"
#include <cmath>
using namespace std;
#include "../Streams/Stream.h"
#include "../Streams/BzipStream.h"
QualityScoreCompressor::QualityScoreCompressor(void):
StringCompressor<QualityCompressionStream>(),
statMode(true),
offset(0)
{
memset(lossy, 0, 128 * sizeof(int));
memset(stat, 0, ... | 23.432836 | 124 | 0.614013 | sfu-compbio |
d42892cc9e81c75a6ef583d1782ae4ed0e76e04e | 268 | cpp | C++ | C++11/language/class/ideone_e3Ar56.cpp | varunnagpaal/cpp | 1b7e1678d05d93227caea49b5629cadd217553de | [
"MIT"
] | 1 | 2016-12-15T12:56:41.000Z | 2016-12-15T12:56:41.000Z | C++11/language/class/ideone_e3Ar56.cpp | varunnagpaal/cpp | 1b7e1678d05d93227caea49b5629cadd217553de | [
"MIT"
] | null | null | null | C++11/language/class/ideone_e3Ar56.cpp | varunnagpaal/cpp | 1b7e1678d05d93227caea49b5629cadd217553de | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class A
{
private : int i;
public: void funct(){i++; cout<<"i:"<<i<<endl;}
void anFunct(){ cout<<"A "<<endl; }
};
int main()
{
A* ptrA = NULL;
ptrA->anFunct();
ptrA->funct();
return 0;
} | 14.888889 | 51 | 0.514925 | varunnagpaal |
d42ac706b5a8c53c96fa067469d5159dbb64dde7 | 1,068 | cpp | C++ | Stacks-and-Queues/EvaluateExpression.cpp | ssokjin/Interview-Bit | 8714d3d627eb5875f49d205af779b59ca33ab4a3 | [
"MIT"
] | 513 | 2016-08-16T12:52:14.000Z | 2022-03-30T19:32:10.000Z | Stacks-and-Queues/EvaluateExpression.cpp | ssokjin/Interview-Bit | 8714d3d627eb5875f49d205af779b59ca33ab4a3 | [
"MIT"
] | 25 | 2018-02-14T15:25:48.000Z | 2022-03-23T11:52:08.000Z | Stacks-and-Queues/EvaluateExpression.cpp | ssokjin/Interview-Bit | 8714d3d627eb5875f49d205af779b59ca33ab4a3 | [
"MIT"
] | 505 | 2016-09-02T15:04:20.000Z | 2022-03-25T06:36:31.000Z | // https://www.interviewbit.com/problems/evaluate-expression/
int Solution::evalRPN(vector<string> &A) {
// Do not write main() function.
// Do not read input, instead use the arguments to the function.
// Do not print the output, instead return values as specified
// Still have a doubt. Checkout www.i... | 28.105263 | 93 | 0.438202 | ssokjin |
2d72c22f457c086fcf9176e0a7caf98191d7c294 | 9,073 | cc | C++ | tests/testapp/testapp_tenant.cc | nawazish-couchbase/kv_engine | 132f1bb04c9212bcac9e401d069aeee5f63ff1cd | [
"MIT",
"BSD-3-Clause"
] | null | null | null | tests/testapp/testapp_tenant.cc | nawazish-couchbase/kv_engine | 132f1bb04c9212bcac9e401d069aeee5f63ff1cd | [
"MIT",
"BSD-3-Clause"
] | null | null | null | tests/testapp/testapp_tenant.cc | nawazish-couchbase/kv_engine | 132f1bb04c9212bcac9e401d069aeee5f63ff1cd | [
"MIT",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2021-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance with the Business Source License, use of this
* software will be governed by... | 41.619266 | 80 | 0.59385 | nawazish-couchbase |
2d7884c99a246e3606791552dc1a53326ad46bce | 12,169 | cpp | C++ | src/vision/pixel_histograms.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 3 | 2020-03-05T23:56:14.000Z | 2021-02-17T19:06:50.000Z | src/vision/pixel_histograms.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-07T01:23:47.000Z | 2021-03-07T01:23:47.000Z | src/vision/pixel_histograms.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-03T07:54:16.000Z | 2021-03-03T07:54:16.000Z | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | 31.772846 | 117 | 0.635056 | anuranbaka |
2d801bf2929bf1817171cb0d2ad850387d27862b | 4,033 | hpp | C++ | rcff/include/CXKJ/RCF/Filter.hpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null | rcff/include/CXKJ/RCF/Filter.hpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null | rcff/include/CXKJ/RCF/Filter.hpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null |
//******************************************************************************
// RCF - Remote Call Framework
//
// Copyright (c) 2005 - 2019, Delta V Software. All rights reserved.
// http://www.deltavsoft.com
//
// RCF is distributed under dual licenses - closed source or GPL.
// Consult your particular license fo... | 29.437956 | 80 | 0.617654 | DayBreakZhang |
2d8832ec13c0f3c2d2d0e1ffb37515a27b7042ab | 710 | cpp | C++ | Leetcode Daily Challenge/June-2021/16. Generate Parentheses.cpp | Akshad7829/DataStructures-Algorithms | 439822c6a374672d1734e2389d3fce581a35007d | [
"MIT"
] | 5 | 2021-08-10T18:47:49.000Z | 2021-08-21T15:42:58.000Z | Leetcode Daily Challenge/June-2021/16. Generate Parentheses.cpp | Akshad7829/DataStructures-Algorithms | 439822c6a374672d1734e2389d3fce581a35007d | [
"MIT"
] | 2 | 2022-02-25T13:36:46.000Z | 2022-02-25T14:06:44.000Z | Leetcode Daily Challenge/June-2021/16. Generate Parentheses.cpp | Akshad7829/DataStructures-Algorithms | 439822c6a374672d1734e2389d3fce581a35007d | [
"MIT"
] | 1 | 2021-08-11T06:36:42.000Z | 2021-08-11T06:36:42.000Z | /*
Generate Parentheses
====================
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
Example 1:
Input: n = 3
Output: ["((()))","(()())","(())()","()(())","()()()"]
Example 2:
Input: n = 1
Output: ["()"]
Constraints:
1 <= n <= 8
*/
class Solution
{
pub... | 16.511628 | 103 | 0.495775 | Akshad7829 |
2d8a892d31f025bba860efd08d427af16cdeba5f | 7,124 | cpp | C++ | src/qml/qt_native/contractfilterproxy.cpp | user00000001/tesramain | ddd02da923da2f9bc9dfddc1a8b177e1cadfc341 | [
"MIT"
] | 10 | 2018-06-07T13:51:04.000Z | 2020-03-12T18:27:12.000Z | src/qml/qt_native/contractfilterproxy.cpp | user00000001/tesramain | ddd02da923da2f9bc9dfddc1a8b177e1cadfc341 | [
"MIT"
] | null | null | null | src/qml/qt_native/contractfilterproxy.cpp | user00000001/tesramain | ddd02da923da2f9bc9dfddc1a8b177e1cadfc341 | [
"MIT"
] | 6 | 2018-10-23T03:12:28.000Z | 2020-03-14T16:07:54.000Z | #include "contractfilterproxy.h"
#include "contracttablemodel.h"
#include "guiutil.h"
#include "csvmodelwriter.h"
#include "ui_interface.h"
#include <script/standard.h>
#include <base58.h>
#include <wallet.h>
ContractFilterProxy::ContractFilterProxy(QObject *parent) : QSortFilterProxyModel(parent)
{
}
void Contract... | 30.973913 | 142 | 0.654969 | user00000001 |
2d8d8028a0c63d30214faa2ed6d1d8b008e4e55d | 5,953 | hpp | C++ | include/codegen/include/UnityEngine/ProBuilder/Poly2Tri/Polygon.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/ProBuilder/Poly2Tri/Polygon.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/ProBuilder/Poly2Tri/Polygon.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:22 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 55.12037 | 157 | 0.77104 | Futuremappermydud |
2d8e8ef8d0b0dd8e2a485f948d26d76631be74e1 | 7,202 | cpp | C++ | ioserver/src/ioserver/serialport/AsyncSerialPort.cpp | kaliatech/r7-ioserver | 23612ef721a7bf7a8049f3c25fcf46b1fd5b5c62 | [
"MIT"
] | 1 | 2018-08-21T12:05:04.000Z | 2018-08-21T12:05:04.000Z | ioserver/src/ioserver/serialport/AsyncSerialPort.cpp | kaliatech/r7-ioserver | 23612ef721a7bf7a8049f3c25fcf46b1fd5b5c62 | [
"MIT"
] | null | null | null | ioserver/src/ioserver/serialport/AsyncSerialPort.cpp | kaliatech/r7-ioserver | 23612ef721a7bf7a8049f3c25fcf46b1fd5b5c62 | [
"MIT"
] | null | null | null | #include "ioserver/serialport/AsyncSerialPort.h"
#include <boost/bind.hpp>
#include <boost/thread.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/thread/mutex.hpp>
#include "ioserver/serialport/AsyncSerialEvent.h"
#include "easyloggingpp/easylogging++.h"
namespace r7 {
AsyncSerialPort::AsyncSeria... | 27.48855 | 155 | 0.586087 | kaliatech |
2d8eefd1422724afdc7eb2df7c0199441ad12609 | 4,815 | hpp | C++ | vts-libs/vts/atlas.hpp | melowntech/vts-libs | ffbf889b6603a8f95d3c12a2602232ff9c5d2236 | [
"BSD-2-Clause"
] | 2 | 2020-04-20T01:44:46.000Z | 2021-01-15T06:54:51.000Z | externals/browser/externals/browser/externals/vts-libs/vts-libs/vts/atlas.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | 2 | 2020-01-29T16:30:49.000Z | 2020-06-03T15:21:29.000Z | externals/browser/externals/browser/externals/vts-libs/vts-libs/vts/atlas.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | 1 | 2019-09-25T05:10:07.000Z | 2019-09-25T05:10:07.000Z | /**
* Copyright (c) 2017 Melown Technologies SE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 30.283019 | 78 | 0.672274 | melowntech |
2d969bc84fc0c320b322039f232200d834728a3c | 25,479 | cpp | C++ | src/otbullet/wrapper.cpp | cameni/bullet3 | 2a05f2d3e56589dafb6849655d30f07e62689573 | [
"Zlib"
] | null | null | null | src/otbullet/wrapper.cpp | cameni/bullet3 | 2a05f2d3e56589dafb6849655d30f07e62689573 | [
"Zlib"
] | null | null | null | src/otbullet/wrapper.cpp | cameni/bullet3 | 2a05f2d3e56589dafb6849655d30f07e62689573 | [
"Zlib"
] | 1 | 2020-09-09T08:53:48.000Z | 2020-09-09T08:53:48.000Z | #include "discrete_dynamics_world.h"
#include "multithread_default_collision_configuration.h"
#include <BulletCollision/CollisionShapes/btCompoundShape.h>
#include <BulletCollision/CollisionShapes/btCollisionShape.h>
#include <BulletCollision/CollisionShapes/btConvexHullShape.h>
#include <BulletCollision/CollisionSha... | 32.211125 | 195 | 0.580792 | cameni |
2d9a13f3d31907a1c5b9fa94b13756818d2f03df | 3,087 | cpp | C++ | src/dslang-dialect.cpp | ryanvbissell/dslang | 65379ca7bbefff0161d11343b742ac58452d37e7 | [
"BSD-2-Clause"
] | null | null | null | src/dslang-dialect.cpp | ryanvbissell/dslang | 65379ca7bbefff0161d11343b742ac58452d37e7 | [
"BSD-2-Clause"
] | null | null | null | src/dslang-dialect.cpp | ryanvbissell/dslang | 65379ca7bbefff0161d11343b742ac58452d37e7 | [
"BSD-2-Clause"
] | null | null | null | // vim: set tabstop=2 softtabstop=2 shiftwidth=2 expandtab :
/*
* Copyright (c) 2014-2017, Ryan V. Bissell
* All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause
* See the enclosed "LICENSE" file for exact license terms.
*/
#define CX_TRACE_SECTION "dslang"
#include "dslang-dialect.hpp"
#include "dsl... | 25.725 | 82 | 0.695497 | ryanvbissell |
2d9da9e8ea4881618a1565400df9900f16745d78 | 17,746 | cpp | C++ | lib/graphics/src/Font.cpp | MarkRDavison/zeno | cea002e716e624d28130e836bf56e9f2f1d2e484 | [
"MIT"
] | null | null | null | lib/graphics/src/Font.cpp | MarkRDavison/zeno | cea002e716e624d28130e836bf56e9f2f1d2e484 | [
"MIT"
] | null | null | null | lib/graphics/src/Font.cpp | MarkRDavison/zeno | cea002e716e624d28130e836bf56e9f2f1d2e484 | [
"MIT"
] | null | null | null | #include <zeno/Graphics/Font.hpp>
#include <ft2build.h>
#include FT_FREETYPE_H
#include <zeno/Graphics/Image.hpp>
#include <zeno/Graphics/Colour.hpp>
#include <algorithm>
#include <iostream>
#include <cmath>
#define MARGIN 2
#define DIST_MARGIN 4
#define ATLAS_WIDTH 1024
#define SEED_CHARS "abcdefghijklmnopqrstuvwxy... | 35.850505 | 125 | 0.503268 | MarkRDavison |
2d9fc50ce93218efce08ee0e4ed74700e5543f0d | 1,411 | cpp | C++ | lc508_most_frequent_subtree_sum.cpp | hzwr/Basics | cd4d8625636af987efdf36c0bea186928bc9e1a7 | [
"MIT"
] | null | null | null | lc508_most_frequent_subtree_sum.cpp | hzwr/Basics | cd4d8625636af987efdf36c0bea186928bc9e1a7 | [
"MIT"
] | null | null | null | lc508_most_frequent_subtree_sum.cpp | hzwr/Basics | cd4d8625636af987efdf36c0bea186928bc9e1a7 | [
"MIT"
] | null | null | null | /*
Given the root of a binary tree, return the most frequent subtree sum. If there is a tie, return all the values with the highest frequency in any order.
The subtree sum of a node is defined as the sum of all the node values formed by the subtree rooted at that node (including the node itself).
*/
/**
* Definition... | 26.12963 | 152 | 0.564139 | hzwr |
2da7b4ba09b0f21a8261b13e03d8f0dd62c6e8c6 | 2,584 | cpp | C++ | YorozuyaGSLib/source/CCircleZone.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/CCircleZone.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/CCircleZone.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <CCircleZone.hpp>
START_ATF_NAMESPACE
CCircleZone::CCircleZone()
{
using org_ptr = void (WINAPIV*)(struct CCircleZone*);
(org_ptr(0x14012d660L))(this);
};
void CCircleZone::ctor_CCircleZone()
{
using org_ptr = void (WINAPIV*)(struct CCircleZone*);
(org_ptr(... | 33.558442 | 114 | 0.62887 | lemkova |
2db308fb672853899abcbe30eb98a423d0cd0b59 | 821 | hpp | C++ | libs/projectile/include/sge/projectile/triangulation/traits/access_element.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/projectile/include/sge/projectile/triangulation/traits/access_element.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/projectile/include/sge/projectile/triangulation/traits/access_element.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_PROJECTILE_TRIANGULATION_TRAITS_ACCESS_ELEMENT_HPP_INCLUDED
#define SGE_PROJECTILE_TRIA... | 29.321429 | 74 | 0.783191 | cpreh |
2dbb822e03a097c3c3e06fbb7aa3635f62d91418 | 6,156 | cpp | C++ | librbr_tests/src/mdp/test_mdp.cpp | kylewray/librbr | ea3dcef7c37b4f177373ac6fec1f4c4566cf7bd8 | [
"MIT"
] | null | null | null | librbr_tests/src/mdp/test_mdp.cpp | kylewray/librbr | ea3dcef7c37b4f177373ac6fec1f4c4566cf7bd8 | [
"MIT"
] | 11 | 2015-04-02T01:32:47.000Z | 2015-04-02T01:32:47.000Z | librbr_tests/src/mdp/test_mdp.cpp | kylewray/librbr | ea3dcef7c37b4f177373ac6fec1f4c4566cf7bd8 | [
"MIT"
] | null | null | null | /**
* The MIT License (MIT)
*
* Copyright (c) 2014 Kyle Hollins Wray, University of Massachusetts
*
* 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 ... | 32.919786 | 110 | 0.674789 | kylewray |
2dbcc962496b6eb0e8c389e94cc89cc51f887d8f | 2,156 | cpp | C++ | diffusion/math/Local.cpp | lanetszb/dfvm | c6154ba23c4e145fa6889c04f97b69972163f59c | [
"MIT"
] | null | null | null | diffusion/math/Local.cpp | lanetszb/dfvm | c6154ba23c4e145fa6889c04f97b69972163f59c | [
"MIT"
] | null | null | null | diffusion/math/Local.cpp | lanetszb/dfvm | c6154ba23c4e145fa6889c04f97b69972163f59c | [
"MIT"
] | null | null | null | /* MIT License
*
* Copyright (c) 2020 Aleksandr Zhuravlyov and Zakhar Lanets
*
* 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 righ... | 38.5 | 81 | 0.700835 | lanetszb |
2dc34cfc58fa45d3a274066306f22561ecf89ca8 | 700 | cc | C++ | cpp/accelerated_c++/chapter10/letter_grade.cc | zhouzhiqi/book_and_code | 3ffadd6cb721af280a00c1e1f97d509ab4b210ab | [
"Apache-2.0"
] | null | null | null | cpp/accelerated_c++/chapter10/letter_grade.cc | zhouzhiqi/book_and_code | 3ffadd6cb721af280a00c1e1f97d509ab4b210ab | [
"Apache-2.0"
] | null | null | null | cpp/accelerated_c++/chapter10/letter_grade.cc | zhouzhiqi/book_and_code | 3ffadd6cb721af280a00c1e1f97d509ab4b210ab | [
"Apache-2.0"
] | null | null | null | #include <cstddef>
#include <string>
using std::string;
string letter_grade(double grade)
{
// range posts for numeric grades
static const double numbers[] = {
97, 94, 90, 87, 84, 80, 77, 74, 70, 60, 0
};
// names for the letter grades
static const char* const letters[] = {
"A+", "A", "A-", "B+", "B", "B-",... | 22.580645 | 70 | 0.62 | zhouzhiqi |
2dc5379c6c43357a0652fbdb3e263471fbfac99d | 624 | cpp | C++ | pds2/vpls/lista_problematica/main.cpp | pganaclara/ufmg | 2325803427a7b4d5d150574bfd80243274cab527 | [
"MIT"
] | null | null | null | pds2/vpls/lista_problematica/main.cpp | pganaclara/ufmg | 2325803427a7b4d5d150574bfd80243274cab527 | [
"MIT"
] | null | null | null | pds2/vpls/lista_problematica/main.cpp | pganaclara/ufmg | 2325803427a7b4d5d150574bfd80243274cab527 | [
"MIT"
] | null | null | null | #include <iostream>
#include "List.hpp"
int main(){
int N, K;
std::cin >> N >> K;
List *L = new List();
for (int i = N; i >= 0; i--){
L->insert(i); //insere um a um os elementos [N, 0]
}
L->print();
std::cout << L->_size << std::endl;
for (int j = 0; j < K; j++){
L->removeFirst(); // re... | 18.352941 | 75 | 0.516026 | pganaclara |
2dcad7a307eb3c0502ecaf364023a49632193515 | 380 | cpp | C++ | audio.cpp | ervaibhavkumar/QtFrogger | 3f7d6e55bd153edf400bdd8bb9961f34bb32fb4d | [
"CC0-1.0"
] | null | null | null | audio.cpp | ervaibhavkumar/QtFrogger | 3f7d6e55bd153edf400bdd8bb9961f34bb32fb4d | [
"CC0-1.0"
] | null | null | null | audio.cpp | ervaibhavkumar/QtFrogger | 3f7d6e55bd153edf400bdd8bb9961f34bb32fb4d | [
"CC0-1.0"
] | null | null | null | #include "audio.h"
#include <QMediaPlayer>
namespace Audio {
void playSound(QString type) {
QMediaPlayer *media = new QMediaPlayer();
if (type == "die") {
media->setMedia(QUrl("qrc:/audio/die.mp3"));
}
else {
Q_ASSERT(type == "success");
media->setMedia(QUrl("qrc... | 19 | 57 | 0.55 | ervaibhavkumar |
2dcbb809c0c13f7f2bf3af6a3dcc69f39feed4d1 | 1,387 | cpp | C++ | IPSC2014/C.cpp | CodingYue/acm-icpc | 667596efae998f5480819870714c37e9af0740eb | [
"Unlicense"
] | 1 | 2015-11-03T09:31:07.000Z | 2015-11-03T09:31:07.000Z | IPSC2014/C.cpp | CodingYue/acm-icpc | 667596efae998f5480819870714c37e9af0740eb | [
"Unlicense"
] | null | null | null | IPSC2014/C.cpp | CodingYue/acm-icpc | 667596efae998f5480819870714c37e9af0740eb | [
"Unlicense"
] | null | null | null | // File Name: C.cpp
// Author: YangYue
// Created Time: Sun Jun 15 19:16:28 2014
//headers
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <ctime>
#include <string>
#include <queue>
#include <set>
#include <map>
#include <iostream>
#include <vec... | 17.782051 | 60 | 0.596972 | CodingYue |
2dcc39ddcbf74c75fc4be9bda0f4b577eee7e6ae | 1,535 | cpp | C++ | UVA/UVA297.cpp | avillega/CompetitiveProgramming | f12c1a07417f8fc154ac5297889ca756b49f0f35 | [
"Apache-2.0"
] | null | null | null | UVA/UVA297.cpp | avillega/CompetitiveProgramming | f12c1a07417f8fc154ac5297889ca756b49f0f35 | [
"Apache-2.0"
] | null | null | null | UVA/UVA297.cpp | avillega/CompetitiveProgramming | f12c1a07417f8fc154ac5297889ca756b49f0f35 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define _ ios_base::sync_with_stdio(false);cin.tie(NULL);
#define f(i, s, n) for(int i = s; i < n ; i++)
typedef vector< vector<bool> > picture; //false is e and true is f
void create(string &a, picture &pic, int iniF, int iniC, int finF, int finC, int &index){... | 27.410714 | 90 | 0.448208 | avillega |
2dd75dc1523557f4a9c0a2abf2a52d94d27691a7 | 3,689 | cpp | C++ | hr/medium/minimum_area.cpp | gnom1gnom/cpp-algorithms | e460c0d1720acf0e0548452dfba05651e4868120 | [
"Unlicense"
] | null | null | null | hr/medium/minimum_area.cpp | gnom1gnom/cpp-algorithms | e460c0d1720acf0e0548452dfba05651e4868120 | [
"Unlicense"
] | null | null | null | hr/medium/minimum_area.cpp | gnom1gnom/cpp-algorithms | e460c0d1720acf0e0548452dfba05651e4868120 | [
"Unlicense"
] | null | null | null | /*
* Complete the 'minArea' function below.
*
* The function is expected to return a LONG_INTEGER.
* The function accepts following parameters:
* 1. INTEGER_ARRAY x
* 2. INTEGER_ARRAY y
* 3. INTEGER k
*/
#include <bits/stdc++.h>
using namespace std;
string ltrim(const string &);
string rtrim(const string ... | 24.925676 | 166 | 0.584169 | gnom1gnom |
2dd75efe9f4490c764ffb6e78a35c63f50a350fe | 1,515 | cpp | C++ | android-31/android/telephony/CarrierConfigManager_Apn.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/telephony/CarrierConfigManager_Apn.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-31/android/telephony/CarrierConfigManager_Apn.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../JString.hpp"
#include "./CarrierConfigManager_Apn.hpp"
namespace android::telephony
{
// Fields
JString CarrierConfigManager_Apn::KEY_PREFIX()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$Apn",
"KEY_PREFIX",
"Ljava/lang/String;"
);
}
JString CarrierConfigMana... | 23.671875 | 85 | 0.753795 | YJBeetle |
2dd96491a82cbd24336742059e85bb7440310571 | 203 | hpp | C++ | demos/sjtwo/sd_card/project_config.hpp | SJSURoboticsTeam/urc-control_systems-2020 | 35dff34c1bc0beecc94ad6b8f2d4b551969c6854 | [
"Apache-2.0"
] | 6 | 2020-06-20T23:56:42.000Z | 2021-12-18T08:13:54.000Z | demos/sjtwo/sd_card/project_config.hpp | SJSURoboticsTeam/urc-control_systems-2020 | 35dff34c1bc0beecc94ad6b8f2d4b551969c6854 | [
"Apache-2.0"
] | 153 | 2020-06-09T14:49:29.000Z | 2022-01-31T16:39:39.000Z | demos/sjtwo/sd_card/project_config.hpp | SJSURoboticsTeam/urc-control_systems-2020 | 35dff34c1bc0beecc94ad6b8f2d4b551969c6854 | [
"Apache-2.0"
] | 10 | 2020-08-02T00:55:38.000Z | 2022-01-24T23:06:51.000Z | #pragma once
// Change the "#if 0" to "#if 1" below to see debug information for every
// step of the SD card communication
#if 1
#define SJ2_LOG_LEVEL SJ2_LOG_LEVEL_DEBUG
#endif
#include "config.hpp"
| 20.3 | 73 | 0.743842 | SJSURoboticsTeam |
2ddb3df5d95cfe1b477fb6c53a77c1e7b6a867da | 94 | cpp | C++ | modules/engine/src/Render/Palette/Palette.cpp | litty-studios/randar | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | [
"MIT"
] | 1 | 2016-11-12T02:43:29.000Z | 2016-11-12T02:43:29.000Z | modules/engine/src/Render/Palette/Palette.cpp | litty-studios/randar | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | [
"MIT"
] | null | null | null | modules/engine/src/Render/Palette/Palette.cpp | litty-studios/randar | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | [
"MIT"
] | null | null | null | #include <randar/Render/Palette/Palette.hpp>
// Destructor.
randar::Palette::~Palette()
{
}
| 11.75 | 44 | 0.702128 | litty-studios |
2ddba606153d5f8e2d02c84989be9b1f70aede63 | 2,122 | cpp | C++ | tests/messaging/test_call_many.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 61 | 2015-01-08T08:05:28.000Z | 2022-01-07T16:47:47.000Z | tests/messaging/test_call_many.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 30 | 2015-04-06T21:41:18.000Z | 2021-08-18T13:24:51.000Z | tests/messaging/test_call_many.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 64 | 2015-02-23T20:01:11.000Z | 2022-03-14T13:31:20.000Z | /*
** Copyright (C) 2012 Aldebaran Robotics
*/
#include <map>
#include <qi/application.hpp>
#include <qi/anyobject.hpp>
#include <qi/type/dynamicobjectbuilder.hpp>
#include <qi/session.hpp>
#include <testsession/testsessionpair.hpp>
#include <qi/testutils/testutils.hpp>
#include <gtest/gtest.h>
qi::AnyObject oclient1... | 29.887324 | 98 | 0.694628 | arntanguy |
2ddd8a850b2a9319a6f723ad224f57a35e38a7d5 | 10,532 | cpp | C++ | src/check/proof.cpp | arpj-rebola/rupee-old | b00351cbd3173d329ea183e08c3283c6d86d18a1 | [
"MIT"
] | null | null | null | src/check/proof.cpp | arpj-rebola/rupee-old | b00351cbd3173d329ea183e08c3283c6d86d18a1 | [
"MIT"
] | null | null | null | src/check/proof.cpp | arpj-rebola/rupee-old | b00351cbd3173d329ea183e08c3283c6d86d18a1 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <iostream>
#include "core.hpp"
#include "proof.hpp"
#include "database.hpp"
//************************************************************
// Class ClauseArray
//************************************************************
// Builders
ClauseArray::ClauseArray(std::uint32_t capacity) :
m... | 21.537832 | 100 | 0.612704 | arpj-rebola |
2de368037e9cbf6f6a474a1fcac22b112ca8f03a | 597 | cpp | C++ | diagonaldiff.cpp | d3cod3monk78/hackerrank | 8f3174306754d04d07b42d5c7a95ab32abf17fa1 | [
"MIT"
] | null | null | null | diagonaldiff.cpp | d3cod3monk78/hackerrank | 8f3174306754d04d07b42d5c7a95ab32abf17fa1 | [
"MIT"
] | null | null | null | diagonaldiff.cpp | d3cod3monk78/hackerrank | 8f3174306754d04d07b42d5c7a95ab32abf17fa1 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <vector>
#include <cstdlib>
using namespace std;
typedef long long int ll;
ll getDiff(vector<vector<int>> arr);
ll getDiff(vector<vector<int>> arr) {
ll sum = 0;
for(ll i = 0; i < (ll)arr.size(); i++) {
sum += arr[i][i] - arr[i][(ll)arr.size() - i - 1];
}
return sum;
}
int ... | 15.710526 | 52 | 0.549414 | d3cod3monk78 |
2de4e2d15a5865802088020fad5bcca7562ea53b | 3,995 | cc | C++ | src/util/LS_trends/rp.cc | mansour2014/ATSP2K_plus | 30842b9f086d1e497aeb778e2a352d1e8e520ec3 | [
"BSD-4-Clause-UC"
] | 1 | 2019-07-21T14:03:39.000Z | 2019-07-21T14:03:39.000Z | src/util/LS_trends/rp.cc | mzmansour/ATSP2K_plus | 30842b9f086d1e497aeb778e2a352d1e8e520ec3 | [
"BSD-4-Clause-UC"
] | null | null | null | src/util/LS_trends/rp.cc | mzmansour/ATSP2K_plus | 30842b9f086d1e497aeb778e2a352d1e8e520ec3 | [
"BSD-4-Clause-UC"
] | null | null | null | #include "rep_lib.hh"
#include "ls.hh"
#include <string>
#include<cmath>
string& ret_str(string& s) {
int a = s.find_first_not_of(" ");
s.erase(0,a);
a = s.find_last_not_of(" ");
s.erase(a+1);
// cout << s.size() << "::" << s << "::" << endl;
return s;
}
string& u_format(string& ss, double dr, double ... | 24.212121 | 64 | 0.463079 | mansour2014 |
2de62dcc70ac4b26a94f7541a6a172636c76ce7c | 6,996 | cc | C++ | src/memory/ReproCartridgeV1.cc | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/memory/ReproCartridgeV1.cc | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/memory/ReproCartridgeV1.cc | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #include "ReproCartridgeV1.hh"
#include "DummyAY8910Periphery.hh"
#include "MSXCPUInterface.hh"
#include "serialize.hh"
#include <vector>
/******************************************************************************
* DOCUMENTATION AS PROVIDED BY MANUEL PAZOS, WHO DEVELOPED THE CARTRIDGE *
*******************... | 28.555102 | 79 | 0.665666 | imulilla |
2de70533ced990658f049ae0190745fe7e8b51cb | 5,711 | cpp | C++ | libdsd/src/CDFFFile.cpp | xlm04322/dsd-dop-from-kpidsd | 2fe6916b1a5e3194d65b3d59528b3e053c9a9f50 | [
"MIT"
] | 2 | 2019-03-12T18:14:52.000Z | 2021-12-13T13:08:24.000Z | libdsd/src/CDFFFile.cpp | xlm04322/dsd-dop-from-kpidsd | 2fe6916b1a5e3194d65b3d59528b3e053c9a9f50 | [
"MIT"
] | null | null | null | libdsd/src/CDFFFile.cpp | xlm04322/dsd-dop-from-kpidsd | 2fe6916b1a5e3194d65b3d59528b3e053c9a9f50 | [
"MIT"
] | 4 | 2016-09-21T20:24:16.000Z | 2021-04-10T08:24:55.000Z | #include "stdafx.h"
#include "CDFFFile.h"
CDFFFile::CDFFFile() : CLargeFile()
{
}
CDFFFile::~CDFFFile()
{
}
void CDFFFile::Close()
{
CLargeFile::Close();
}
bool CDFFFile::readChunkHeader(DFFChunkHeader& header, ChunkStep& step)
{
DWORD dwBytesRead = 0;
step.headerOffset = Tell();
if (!Read(&header, sizeof hea... | 23.405738 | 94 | 0.691823 | xlm04322 |
2deb4e95e8c74884d97ba274b498690c42019070 | 18,196 | cc | C++ | src/xenia/ui/windowed_app_context_android.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | 1 | 2022-03-21T07:35:46.000Z | 2022-03-21T07:35:46.000Z | src/xenia/ui/windowed_app_context_android.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/ui/windowed_app_context_android.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | null | null | null | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2022 Ben Vanik. All rights reserved. ... | 35.469786 | 80 | 0.713673 | amessier |
2dedad29c413841e2cfa8e4592f1c5207d64efa4 | 422 | cpp | C++ | basic_datastructure/binary_heap/heapSort.cpp | weekieACpper/DataStructre-weekie | 9f15d95dd57c02d7d385b151940bbee4f3c2d99b | [
"MIT"
] | null | null | null | basic_datastructure/binary_heap/heapSort.cpp | weekieACpper/DataStructre-weekie | 9f15d95dd57c02d7d385b151940bbee4f3c2d99b | [
"MIT"
] | null | null | null | basic_datastructure/binary_heap/heapSort.cpp | weekieACpper/DataStructre-weekie | 9f15d95dd57c02d7d385b151940bbee4f3c2d99b | [
"MIT"
] | null | null | null | /*
* @Author: weekie
* @Date: 2022-03-04 21:02:16
* @LastEditTime: 2022-03-04 21:05:33
* @LastEditors: Please set LastEditors
* @Description: 实现堆排序
* @FilePath: /datastructure/basic_datastructre/binary_heap/heapSort.cpp
*/
#include<maxHeap.hpp>
//堆排序
void heapSort(int* array, int size)
{
maxHeap heap(array, ... | 23.444444 | 72 | 0.635071 | weekieACpper |
2dee7b31ab8c7e91333b5fb86e1ce4d941b2bb5e | 323 | cpp | C++ | artifact/storm/src/storm/solver/stateelimination/StatePriorityQueue.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/solver/stateelimination/StatePriorityQueue.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/solver/stateelimination/StatePriorityQueue.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | 1 | 2022-02-05T12:39:53.000Z | 2022-02-05T12:39:53.000Z | #include "storm/solver/stateelimination/StatePriorityQueue.h"
namespace storm {
namespace solver {
namespace stateelimination {
void StatePriorityQueue::update(storm::storage::sparse::state_type) {
// Intentionally left empty.
}
}
}... | 23.071429 | 81 | 0.572755 | glatteis |
2def344c3e3fa1c905bc0f8f37b53328c24bae73 | 1,248 | hpp | C++ | Pods/Headers/Private/GeoFeatures/Internal/geofeatures/Geometry.hpp | xarvey/Yuuuuuge | 9f4ec32f81cf813ea630ba2c44eb03970c56dad3 | [
"Apache-2.0"
] | null | null | null | Pods/Headers/Private/GeoFeatures/Internal/geofeatures/Geometry.hpp | xarvey/Yuuuuuge | 9f4ec32f81cf813ea630ba2c44eb03970c56dad3 | [
"Apache-2.0"
] | null | null | null | Pods/Headers/Private/GeoFeatures/Internal/geofeatures/Geometry.hpp | xarvey/Yuuuuuge | 9f4ec32f81cf813ea630ba2c44eb03970c56dad3 | [
"Apache-2.0"
] | null | null | null | /**
* Geometry.hpp
*
* Copyright 2015 The Climate Corporation
* Copyright 2015 Tony Stone
*
* 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/LICE... | 24.96 | 90 | 0.671474 | xarvey |
2defd0758e952e32156596da699a0ad6aafae47e | 6,081 | cpp | C++ | media_driver/media_driver_next/agnostic/gen12/codec/hal/dec/av1/pipeline/decode_filmgrain_presubpipeline_g12.cpp | saosipov/media-driver | e280504bb3ccc429aa43f30aa76e0c990df6ccbf | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | media_driver/media_driver_next/agnostic/gen12/codec/hal/dec/av1/pipeline/decode_filmgrain_presubpipeline_g12.cpp | saosipov/media-driver | e280504bb3ccc429aa43f30aa76e0c990df6ccbf | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | media_driver/media_driver_next/agnostic/gen12/codec/hal/dec/av1/pipeline/decode_filmgrain_presubpipeline_g12.cpp | saosipov/media-driver | e280504bb3ccc429aa43f30aa76e0c990df6ccbf | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020, Intel Corporation
*
* 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, publis... | 37.537037 | 136 | 0.781286 | saosipov |
2df007d43bd64a839027f78c56d8a469f325895a | 3,828 | tpp | C++ | breeze/encoding/brz/base64_to_binary.tpp | gennaroprota/breeze | 7afe88a30dc8ac8b97a76a192dc9b189d9752e8b | [
"BSD-3-Clause"
] | 1 | 2021-04-03T22:35:52.000Z | 2021-04-03T22:35:52.000Z | breeze/encoding/brz/base64_to_binary.tpp | gennaroprota/breeze | f1dfd7154222ae358f5ece936c2897a3ae110003 | [
"BSD-3-Clause"
] | null | null | null | breeze/encoding/brz/base64_to_binary.tpp | gennaroprota/breeze | f1dfd7154222ae358f5ece936c2897a3ae110003 | [
"BSD-3-Clause"
] | 1 | 2021-10-01T04:26:48.000Z | 2021-10-01T04:26:48.000Z | // ===========================================================================
// Copyright 2016 Gennaro Prota
//
// Licensed under the 3-Clause BSD License.
// (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or
// <https://opensource.org/licenses/BSD-3-C... | 42.065934 | 81 | 0.421369 | gennaroprota |
2df021c5be5a9a6256429e5fd634c66eb398cff0 | 3,066 | cpp | C++ | Tools/Src/SFToolLib/Content/Pipeline/SFMeshComponent.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | 1 | 2020-06-20T07:35:25.000Z | 2020-06-20T07:35:25.000Z | Tools/Src/SFToolLib/Content/Pipeline/SFMeshComponent.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | Tools/Src/SFToolLib/Content/Pipeline/SFMeshComponent.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null |
#include "stdafx.h"
#include "UMMeshComponent.h"
#include "UMNodeContent.h"
#include "UMVertexBufferContent.h"
UMMeshComponent::UMMeshComponent( UMNodeContent& owner )
:UMNodeContentComponent(owner)
,m_pVertexBuffer(nullptr)
,m_pRootBone(nullptr)
{
if( m_pVertexBuffer == nullptr )
m_pVertexBuffer = new UMVerte... | 23.40458 | 112 | 0.71559 | blue3k |
2df69628b3445d5ba6387fbbd0daa3a06e8d08f5 | 2,340 | cpp | C++ | files/source/objectmask.cpp | Luminyx1/NewerSMBU | 66c719b0afab0c5db5e26b8114d3fc02c15c7300 | [
"MIT"
] | null | null | null | files/source/objectmask.cpp | Luminyx1/NewerSMBU | 66c719b0afab0c5db5e26b8114d3fc02c15c7300 | [
"MIT"
] | null | null | null | files/source/objectmask.cpp | Luminyx1/NewerSMBU | 66c719b0afab0c5db5e26b8114d3fc02c15c7300 | [
"MIT"
] | null | null | null |
#include "game.h"
#include "neweru.h"
#include "groundmask.h"
//Replaces sprite 358
class ObjectMask : public StageActor {
public:
agl::TextureData texdata;
int onCreate();
int onExecute();
int onDraw();
void addMask(Vec3 *pos, float radius);
ObjectMask(ActorBuildInfo *);
static Actor *build(ActorBuildI... | 22.941176 | 93 | 0.676068 | Luminyx1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.