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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aae0cb37ec13ed23db0eda82896fe2487f52025a | 508 | cpp | C++ | honours_project/main.cpp | alexbarker/soc10101_honours_project | c29c10f0e5d7bed50819c948f841dd97e7d68809 | [
"MIT"
] | null | null | null | honours_project/main.cpp | alexbarker/soc10101_honours_project | c29c10f0e5d7bed50819c948f841dd97e7d68809 | [
"MIT"
] | null | null | null | honours_project/main.cpp | alexbarker/soc10101_honours_project | c29c10f0e5d7bed50819c948f841dd97e7d68809 | [
"MIT"
] | null | null | null | #include "engine.h"
#include "app.h"
#include "scenes/scene_splash.h"
#include <SFML/Audio.hpp>
// SOC10101 - Honours Project (40 Credits)
// Snake Prototype 3
// Version 0.x.x
// Alexander Barker
// 40333139
// Last Updated on 19th March 2019
// main.cpp - This file is used to start the engine with predefined size a... | 20.32 | 82 | 0.730315 | alexbarker |
aae28e821c18fa9345b0ea45a42436cc109d76cf | 3,517 | cpp | C++ | tests/array/test_array_single_index_operator.cpp | BenKoehler/ndcontainer | 07cda63f8193425d4e6654eb72fd003a55ebf434 | [
"MIT"
] | null | null | null | tests/array/test_array_single_index_operator.cpp | BenKoehler/ndcontainer | 07cda63f8193425d4e6654eb72fd003a55ebf434 | [
"MIT"
] | null | null | null | tests/array/test_array_single_index_operator.cpp | BenKoehler/ndcontainer | 07cda63f8193425d4e6654eb72fd003a55ebf434 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2018-2020 Benjamin Köhler
*
* 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, c... | 36.257732 | 89 | 0.571794 | BenKoehler |
aae473c31447e2409e148edb1b2efd10e4ad59e2 | 3,629 | hpp | C++ | Opal Prospect/OpenGL/ArrayTextureAtlas.hpp | swbengs/OpalProspect | 5f77dd07c1bb4197673589ac3f42546a4d0329b3 | [
"MIT"
] | 2 | 2018-06-06T02:01:08.000Z | 2020-07-25T18:10:32.000Z | Opal Prospect/OpenGL/ArrayTextureAtlas.hpp | swbengs/OpalProspect | 5f77dd07c1bb4197673589ac3f42546a4d0329b3 | [
"MIT"
] | 10 | 2018-07-27T01:56:45.000Z | 2019-02-23T01:49:36.000Z | Opal Prospect/OpenGL/ArrayTextureAtlas.hpp | swbengs/OpalProspect | 5f77dd07c1bb4197673589ac3f42546a4d0329b3 | [
"MIT"
] | null | null | null | #pragma once
//std lib includes
#include <string>
#include <vector>
//other includes
/*
MIT License
Copyright (c) 2018 Scott Bengs
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 restr... | 41.712644 | 243 | 0.751171 | swbengs |
aaf75fdb1ea2ae1d25317dd54f71fe36a26d5ee8 | 9,991 | cpp | C++ | Battle.cpp | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | Battle.cpp | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | Battle.cpp | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | #include "Battle.h"
#include "Tower.h"
#include "Character/Boss.h"
#include "Character/StrongEnemy.h"
#include "Character/WeakEnemy.h"
#include <random>
#include "QRandomGenerator"
extern int random_number(const int&, const int&);
extern const int BossATK;
extern const int BossDEF;
extern const int StrongEnemyATK;
ext... | 44.404444 | 167 | 0.635172 | Ricecrackie |
aafccea20f3d3ed3259de1bdc59dfce3e7078bba | 2,041 | cpp | C++ | test/test_ekf.cpp | Amit10311/robot_localization | 7a2219c0579cfcad27fb59f1a7650bdc26f8ff72 | [
"BSD-3-Clause"
] | null | null | null | test/test_ekf.cpp | Amit10311/robot_localization | 7a2219c0579cfcad27fb59f1a7650bdc26f8ff72 | [
"BSD-3-Clause"
] | null | null | null | test/test_ekf.cpp | Amit10311/robot_localization | 7a2219c0579cfcad27fb59f1a7650bdc26f8ff72 | [
"BSD-3-Clause"
] | null | null | null | #include "robot_localization/ekf.h"
#include <gtest/gtest.h>
TEST (EkfTest, Measurements)
{
RobotLocalization::Ekf ekf;
Eigen::VectorXd measurement(12);
for(size_t i = 0; i < 12; ++i)
{
measurement[i] = i;
}
Eigen::MatrixXd measurementCovariance(12, 12);
for(size_t i = 0; i < 12; ++i)
{
meas... | 25.197531 | 69 | 0.603626 | Amit10311 |
c90577a0fb4c50e8650c8032cb1cf8a08e936173 | 6,285 | cpp | C++ | Chapter_14/src/Gui.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | 603 | 2021-08-04T11:46:33.000Z | 2022-03-28T12:12:31.000Z | Chapter_14/src/Gui.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | 4 | 2021-07-09T09:00:43.000Z | 2021-07-20T09:44:54.000Z | Chapter_14/src/Gui.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | 45 | 2021-08-04T18:57:37.000Z | 2022-03-11T11:33:49.000Z | /* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | 33.790323 | 110 | 0.760223 | 9ndres |
c90fe1fe059e66be2d19893cc552b95727357d11 | 6,428 | cpp | C++ | lib/targets/cuda/comm_target.cpp | Marcogarofalo/quda | 7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda | [
"MIT"
] | null | null | null | lib/targets/cuda/comm_target.cpp | Marcogarofalo/quda | 7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda | [
"MIT"
] | null | null | null | lib/targets/cuda/comm_target.cpp | Marcogarofalo/quda | 7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda | [
"MIT"
] | null | null | null | #include <comm_quda.h>
#include <quda_api.h>
#include <quda_cuda_api.h>
#include <algorithm>
#include <shmem_helper.cuh>
#define CHECK_CUDA_ERROR(func) \
quda::target::cuda::set_runtime_error(func, #func, __func__, __FILE__, __ST... | 37.156069 | 121 | 0.671437 | Marcogarofalo |
c910eea999b17044cd9f674f2095ae6742803d40 | 682 | cpp | C++ | cards/WymianaKart.cpp | programistagd/TrachOnline | 2acd9ffac0add87fd0f1824ae2b75132933496c7 | [
"MIT"
] | 3 | 2016-06-07T11:55:23.000Z | 2016-06-09T17:17:52.000Z | cards/WymianaKart.cpp | radeusgd/TrachOnline | 2acd9ffac0add87fd0f1824ae2b75132933496c7 | [
"MIT"
] | 25 | 2016-06-13T16:14:18.000Z | 2017-07-29T08:12:23.000Z | cards/WymianaKart.cpp | radeusgd/TrachOnline | 2acd9ffac0add87fd0f1824ae2b75132933496c7 | [
"MIT"
] | null | null | null | #include "cards/WymianaKart.hpp"
#include "GameServer.hpp"
using namespace Cards;
string WymianaKart::getName(){
return "wymiana_kart";
}
bool WymianaKart::canBePlayedAt(CardPtr card, GameServer* game){
if(card==nullptr) return true;
return false;
}
CardPtr WymianaKart::makeNew(){
return make_shared... | 22.733333 | 65 | 0.71261 | programistagd |
c9114b64a479bbb8f2ae530ee6235965133f18e4 | 1,440 | cpp | C++ | cpp/MergekSortedLists.cpp | thinksource/code_interview | 08be992240508b73894eaf6b8c025168fd19df19 | [
"Apache-2.0"
] | 12 | 2015-03-12T03:27:26.000Z | 2021-03-11T09:26:16.000Z | cpp/MergekSortedLists.cpp | thinksource/code_interview | 08be992240508b73894eaf6b8c025168fd19df19 | [
"Apache-2.0"
] | null | null | null | cpp/MergekSortedLists.cpp | thinksource/code_interview | 08be992240508b73894eaf6b8c025168fd19df19 | [
"Apache-2.0"
] | 11 | 2015-01-28T16:45:40.000Z | 2017-03-28T20:01:38.000Z | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
struct ListNodeWrapper{
ListNode* node;
int listIndex;
};
bool Compare(ListNodeWrapper lw1, ListNodeWrapper lw2)
{
return lw1.node->val > lw2.node... | 26.666667 | 127 | 0.509722 | thinksource |
c913e129515426561924bec1f5f394858259527f | 7,579 | hpp | C++ | include/GlobalNamespace/Levenshtein.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/Levenshtein.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/Levenshtein.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.MonoBehaviour
#include ... | 43.809249 | 170 | 0.727537 | RedBrumbler |
c9157ede81b6c55289ae23dd53dd870006d85b88 | 385 | hpp | C++ | core/code/core/LanguageTypes.hpp | iboB/word-grid | d1029323d5c51499298f3ed19390928371cb70a6 | [
"MIT"
] | 2 | 2019-07-01T00:10:43.000Z | 2019-09-18T19:37:38.000Z | core/code/core/LanguageTypes.hpp | iboB/word-grid | d1029323d5c51499298f3ed19390928371cb70a6 | [
"MIT"
] | null | null | null | core/code/core/LanguageTypes.hpp | iboB/word-grid | d1029323d5c51499298f3ed19390928371cb70a6 | [
"MIT"
] | 2 | 2019-07-17T17:44:16.000Z | 2020-12-21T07:56:11.000Z | // word-grid
// Copyright (c) 2019-2021 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE.txt or copy at
// https://opensource.org/licenses/MIT
//
#pragma once
#include "GridElement.hpp"
#include <vector>
namespace core
{
using Alphabet = std::vector<GridElement>;... | 18.333333 | 47 | 0.735065 | iboB |
c9217162272e6f713c48fdf56e5724b5dfc7ca21 | 227,750 | cpp | C++ | test/grapheme_iterator_05.cpp | jan-moeller/text | c61e51c82dfb0ae6e74200c01ce040fa6db730c4 | [
"BSL-1.0"
] | null | null | null | test/grapheme_iterator_05.cpp | jan-moeller/text | c61e51c82dfb0ae6e74200c01ce040fa6db730c4 | [
"BSL-1.0"
] | null | null | null | test/grapheme_iterator_05.cpp | jan-moeller/text | c61e51c82dfb0ae6e74200c01ce040fa6db730c4 | [
"BSL-1.0"
] | null | null | null | // Warning! This file is autogenerated.
#include <boost/text/grapheme_iterator.hpp>
#include <boost/text/utf8.hpp>
#include <gtest/gtest.h>
#include <algorithm>
TEST(grapheme, iterator_05_0_fwd)
{
// ÷ 0600 × 1F1E6 ÷
// ÷ [0.2] ARABIC NUMBER SIGN (Prepend) × [9.2] REGIONAL INDICATOR SYMBOL LETTER A (RI) ÷... | 28.723673 | 157 | 0.506828 | jan-moeller |
c926667f12ee50afa92b001e20f68d2a8a57af74 | 5,457 | cpp | C++ | src/FSString.cpp | pperehozhih/transform-cxx | f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48 | [
"BSD-3-Clause"
] | 4 | 2018-09-16T09:55:22.000Z | 2020-12-19T02:02:40.000Z | src/FSString.cpp | pperehozhih/transform-cxx | f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48 | [
"BSD-3-Clause"
] | null | null | null | src/FSString.cpp | pperehozhih/transform-cxx | f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48 | [
"BSD-3-Clause"
] | 2 | 2015-11-24T20:27:35.000Z | 2019-06-04T15:23:30.000Z | /*
* FSString.cpp
* Transform SWF
*
* Created by Stuart MacKay on Thu Feb 13 2003.
* Copyright (c) 2003 Flagstone Software Ltd. All rights reserved.
*
* This file contains Original Code and/or Modifications of Original Code as defined in
* and that are subject to the Flagstone Software Source Lice... | 28.873016 | 117 | 0.575591 | pperehozhih |
c92766fe41b83766d8d2e2aefa3d6df894063e7e | 8,728 | hpp | C++ | matrix.hpp | ArvinSKushwaha/moldyn | cef3a3545c0975742c0786916b6d40a9f199b281 | [
"MIT"
] | null | null | null | matrix.hpp | ArvinSKushwaha/moldyn | cef3a3545c0975742c0786916b6d40a9f199b281 | [
"MIT"
] | null | null | null | matrix.hpp | ArvinSKushwaha/moldyn | cef3a3545c0975742c0786916b6d40a9f199b281 | [
"MIT"
] | null | null | null | #ifndef MOLDYN_MATRIX_HPP
#define MOLDYN_MATRIX_HPP
#include <algorithm>
#include <cmath>
#include <initializer_list>
#include <vector>
#include <iostream>
#include <functional>
#include <ostream>
#include <numeric>
#include <string>
#include <memory>
template <typename T, size_t M, size_t N>
class Matrix;
template ... | 35.052209 | 192 | 0.438932 | ArvinSKushwaha |
c928cb81ac5116527c878624f2755360f848dd59 | 4,075 | hpp | C++ | lib/rtos_data/include/rtos_file.hpp | kdeoliveira/coen320 | 4c788b3c2544e57e27bac8a59232f06c7a04d67a | [
"MIT"
] | null | null | null | lib/rtos_data/include/rtos_file.hpp | kdeoliveira/coen320 | 4c788b3c2544e57e27bac8a59232f06c7a04d67a | [
"MIT"
] | null | null | null | lib/rtos_data/include/rtos_file.hpp | kdeoliveira/coen320 | 4c788b3c2544e57e27bac8a59232f06c7a04d67a | [
"MIT"
] | null | null | null | #pragma once
#include <stdio.h>
#include <fstream>
#include <cstring>
#include <memory>
#include <utility>
#include <deque>
#include <sys/stat.h>
#include <rtos_common.hpp>
namespace rtos
{
/**
* @brief Input stream for files. Alternative C implementation of ifstream provided by the std library
* File ... | 23.970588 | 113 | 0.488834 | kdeoliveira |
c92d479a517780a1c04d34b12e83a6d5821280d1 | 2,928 | hpp | C++ | Paper/Curve.hpp | mokafolio/Paper | d7e9c1450b29b1d3d8873de4f959bffa02232055 | [
"MIT"
] | 20 | 2016-12-13T22:34:35.000Z | 2021-09-20T12:44:56.000Z | Paper/Curve.hpp | mokafolio/Paper | d7e9c1450b29b1d3d8873de4f959bffa02232055 | [
"MIT"
] | null | null | null | Paper/Curve.hpp | mokafolio/Paper | d7e9c1450b29b1d3d8873de4f959bffa02232055 | [
"MIT"
] | null | null | null | #ifndef PAPER_CURVE_HPP
#define PAPER_CURVE_HPP
#include <Paper/Path.hpp>
namespace paper
{
class CurveLocation;
class Segment;
class STICK_API Curve
{
friend class Path;
friend class Segment;
public:
Curve();
Curve(const Path & _path, stick::Size _segmentA, sti... | 21.372263 | 81 | 0.635929 | mokafolio |
c92e15e6011444b62e2084bf8b7b9f2ce6012528 | 3,642 | cpp | C++ | 3.三维空间刚体运动/useGeometry/eigenGeometry_test.cpp | HustRobot/VSLAM | e6759dc3769b3cca6ecf551a3bf120b0edeaeaa3 | [
"MIT"
] | 24 | 2019-03-14T06:00:15.000Z | 2022-03-04T06:35:49.000Z | 3.三维空间刚体运动/useGeometry/eigenGeometry_test.cpp | HustRobot/VSLAM | e6759dc3769b3cca6ecf551a3bf120b0edeaeaa3 | [
"MIT"
] | null | null | null | 3.三维空间刚体运动/useGeometry/eigenGeometry_test.cpp | HustRobot/VSLAM | e6759dc3769b3cca6ecf551a3bf120b0edeaeaa3 | [
"MIT"
] | 13 | 2018-09-17T15:56:51.000Z | 2022-03-03T07:27:34.000Z | /*=================================================================================
* Copyleft! 2018 William Yu
* Some rights reserved:CC(creativecommons.org)BY-NC-SA
* Copyleft! 2018 William Yu
* 版权部分所有,遵循CC(creativecommons.org)BY-NC-SA协议授权方式使用
*
* Filename ... | 36.787879 | 100 | 0.494509 | HustRobot |
c9315d56f9441080a8b66650198537cc54ca3647 | 758 | cpp | C++ | code/select.cpp | ldionne/cppnow-2016-metaprogramming-for-the-brave | 580f900d778553b8a7affc1dd02bbc597f992df6 | [
"MIT"
] | 6 | 2016-05-25T08:10:50.000Z | 2017-09-14T14:36:48.000Z | code/select.cpp | ldionne/cppnow-2016-metaprogramming-for-the-brave | 580f900d778553b8a7affc1dd02bbc597f992df6 | [
"MIT"
] | null | null | null | code/select.cpp | ldionne/cppnow-2016-metaprogramming-for-the-brave | 580f900d778553b8a7affc1dd02bbc597f992df6 | [
"MIT"
] | null | null | null | // Copyright Louis Dionne 2016
// Distributed under the Boost Software License, Version 1.0.
#include <cassert>
#include <cstddef>
#include <tuple>
#include <utility>
// sample(main)
template <typename Tuple, std::size_t ...i>
auto select(Tuple&& tuple, std::index_sequence<i...> const&) {
using Result = std::tup... | 26.137931 | 66 | 0.624011 | ldionne |
c935e0e85242912c0782350958aa0f76a4104813 | 1,163 | cpp | C++ | online_judges/cf/4/d/d.cpp | miaortizma/competitive-programming | ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc | [
"MIT"
] | 2 | 2018-02-20T14:44:57.000Z | 2018-02-20T14:45:03.000Z | online_judges/cf/4/d/d.cpp | miaortizma/competitive-programming | ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc | [
"MIT"
] | null | null | null | online_judges/cf/4/d/d.cpp | miaortizma/competitive-programming | ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef pair<int,int> pii;
const int N = 5 * 1e3 + 100;
struct dta {
int w, h, i;
dta() : w(0), h(0), i(0) {}
dta(int w, int h, int i) : w(w), h(h), i(i) {}
};
dta arr[N];
bool cmp(dta lh, dta rh) {
if (lh.w == rh.w)
return lh.h < rh.h;
return lh.w < rh.w;
... | 18.460317 | 55 | 0.395529 | miaortizma |
c938029b54fb586fd362b694813273e28d0a692d | 336 | hpp | C++ | test/qsbr_test_utils.hpp | laurynas-biveinis/unodb | 4865a2c5ca97a93e8d4e3e7c990ebb7be12371b9 | [
"Apache-2.0"
] | 24 | 2019-11-26T09:31:31.000Z | 2022-03-27T16:31:45.000Z | test/qsbr_test_utils.hpp | laurynas-biveinis/unodb | 4865a2c5ca97a93e8d4e3e7c990ebb7be12371b9 | [
"Apache-2.0"
] | 222 | 2019-10-26T12:50:54.000Z | 2022-03-31T10:29:50.000Z | test/qsbr_test_utils.hpp | laurynas-biveinis/unodb | 4865a2c5ca97a93e8d4e3e7c990ebb7be12371b9 | [
"Apache-2.0"
] | 1 | 2021-03-10T14:55:48.000Z | 2021-03-10T14:55:48.000Z | // Copyright 2021 Laurynas Biveinis
#ifndef UNODB_DETAIL_QSBR_TEST_UTILS_HPP
#define UNODB_DETAIL_QSBR_TEST_UTILS_HPP
#include "global.hpp" // IWYU pragma: keep
#include <gtest/gtest.h> // IWYU pragma: keep
namespace unodb::test {
void expect_idle_qsbr();
} // namespace unodb::test
#endif // UNODB_DETAIL_QSBR... | 21 | 46 | 0.77381 | laurynas-biveinis |
c9459f2c2d895101891d127fb9a4f3022d8dcb6b | 8,309 | hpp | C++ | include/HMUI/HierarchyManager.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/HMUI/HierarchyManager.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/HMUI/HierarchyManager.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.MonoBehaviour
#... | 48.876471 | 237 | 0.73282 | RedBrumbler |
c94c406b00cf49bf343116eabc871095a1580203 | 2,425 | cpp | C++ | SkyBox.cpp | soleilgames/Zinc | af34cd2698a8d392d266802a67b4607df6a79033 | [
"MIT"
] | null | null | null | SkyBox.cpp | soleilgames/Zinc | af34cd2698a8d392d266802a67b4607df6a79033 | [
"MIT"
] | null | null | null | SkyBox.cpp | soleilgames/Zinc | af34cd2698a8d392d266802a67b4607df6a79033 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017 Florian GOLESTIN
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, p... | 43.303571 | 80 | 0.715052 | soleilgames |
c9559c08c8c8f002b7c3cf0e5c6d0a0ff30d6d02 | 703 | hpp | C++ | include/htool/types/virtual_generator.hpp | htool-ddm/htool | e4dbec7c08c5008e62344fd0d5ebfdf95ef8863f | [
"MIT"
] | 15 | 2020-05-06T15:20:42.000Z | 2022-03-15T10:27:56.000Z | include/htool/types/virtual_generator.hpp | htool-ddm/htool | e4dbec7c08c5008e62344fd0d5ebfdf95ef8863f | [
"MIT"
] | 14 | 2020-05-25T13:59:11.000Z | 2022-03-02T16:40:45.000Z | include/htool/types/virtual_generator.hpp | PierreMarchand20/htool | b6e91690f8d7c20d67dfb3b8db2e7ea674405a37 | [
"MIT"
] | 2 | 2018-04-25T07:44:35.000Z | 2019-11-05T16:57:00.000Z | #ifndef HTOOL_GENERATOR_HPP
#define HTOOL_GENERATOR_HPP
#include "vector.hpp"
#include <cassert>
#include <iterator>
namespace htool {
template <typename T>
class VirtualGenerator {
protected:
// Data members
int nr;
int nc;
int dimension;
public:
VirtualGenerator(int nr0, int nc0, int dimen... | 20.676471 | 110 | 0.672831 | htool-ddm |
c958cb28035ae321dea1795ba9e70317e2d1b435 | 4,797 | cpp | C++ | src/Walker.cpp | SrinidhiSreenath/turtlebot-roomba | ec8d80c70ce077a8d2891557fbe9fa65f4f58bcc | [
"BSD-3-Clause"
] | null | null | null | src/Walker.cpp | SrinidhiSreenath/turtlebot-roomba | ec8d80c70ce077a8d2891557fbe9fa65f4f58bcc | [
"BSD-3-Clause"
] | null | null | null | src/Walker.cpp | SrinidhiSreenath/turtlebot-roomba | ec8d80c70ce077a8d2891557fbe9fa65f4f58bcc | [
"BSD-3-Clause"
] | null | null | null | /************************************************************************************
* BSD 3-Clause License
* Copyright (c) 2018, Srinidhi Sreenath
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions ar... | 36.618321 | 86 | 0.693767 | SrinidhiSreenath |
c95c16202557ff8003219858c01790821bc06a4f | 348,708 | cc | C++ | iWorkFileInspector/iWorkFileInspector/Messages/TSKArchives.pb.cc | obriensp/iWorkFileFormat | 8575e441beaaaa56f480fdd91721f5bb06d07d43 | [
"MIT"
] | 151 | 2015-01-07T01:39:17.000Z | 2022-01-05T22:46:02.000Z | iWorkFileInspector/iWorkFileInspector/Messages/TSKArchives.pb.cc | Zearin/iWorkFileFormat | 8575e441beaaaa56f480fdd91721f5bb06d07d43 | [
"MIT"
] | 5 | 2015-06-29T14:34:38.000Z | 2022-03-25T20:55:38.000Z | iWorkFileInspector/iWorkFileInspector/Messages/TSKArchives.pb.cc | Zearin/iWorkFileFormat | 8575e441beaaaa56f480fdd91721f5bb06d07d43 | [
"MIT"
] | 28 | 2015-01-09T01:45:20.000Z | 2022-03-23T13:33:19.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TSKArchives.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "TSKArchives.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>... | 36.709969 | 148 | 0.701114 | obriensp |
c960bc4204cf3b5412b1a4dfcab2a738dbb8c815 | 3,442 | cpp | C++ | Course_2_Ordered Data Structures/Week_3_Advanced Tree Structures/Week3_Challenge_implementation.cpp | pgautam8601/Accelerated_Computer_Science_Fundamentals_Specialization | 2c11f943ab1f7e41e374f10708cf7b357979d5c3 | [
"MIT"
] | 37 | 2020-01-04T08:27:54.000Z | 2022-03-28T07:37:16.000Z | Course_2_Ordered Data Structures/Week_3_Advanced Tree Structures/Week3_Challenge_implementation.cpp | pgautam8601/Accelerated_Computer_Science_Fundamentals_Specialization | 2c11f943ab1f7e41e374f10708cf7b357979d5c3 | [
"MIT"
] | null | null | null | Course_2_Ordered Data Structures/Week_3_Advanced Tree Structures/Week3_Challenge_implementation.cpp | pgautam8601/Accelerated_Computer_Science_Fundamentals_Specialization | 2c11f943ab1f7e41e374f10708cf7b357979d5c3 | [
"MIT"
] | 25 | 2020-04-29T18:37:01.000Z | 2022-03-20T13:15:34.000Z |
// The height of a node is the number of edges in
// its longest chain of descendants.
// Implement computeHeight to compute the height
// of the subtree rooted at the node n. Note that
// this function does not return a value. You should
// store the calculated height in that node's own
// height member variable. Yo... | 23.256757 | 73 | 0.626089 | pgautam8601 |
c9616b0871dbbf789c73c33b7865c497f13e351a | 1,199 | cpp | C++ | src/dynarmic/frontend/A32/translate/impl/a32_exception_generating.cpp | liushuyu/dynarmic | 40afbe19279820e59382b7460643c62398ba0fb8 | [
"0BSD"
] | 77 | 2021-09-03T09:40:01.000Z | 2022-03-30T05:18:36.000Z | src/dynarmic/frontend/A32/translate/impl/a32_exception_generating.cpp | xerpi/dynarmic | bcfe377aaa5138af740e90af5be7a7dff7b62a52 | [
"0BSD"
] | 16 | 2021-09-03T13:13:54.000Z | 2022-03-30T20:07:38.000Z | src/dynarmic/frontend/A32/translate/impl/a32_exception_generating.cpp | xerpi/dynarmic | bcfe377aaa5138af740e90af5be7a7dff7b62a52 | [
"0BSD"
] | 15 | 2021-09-01T11:19:26.000Z | 2022-03-27T09:19:14.000Z | /* This file is part of the dynarmic project.
* Copyright (c) 2016 MerryMage
* SPDX-License-Identifier: 0BSD
*/
#include "dynarmic/frontend/A32/translate/impl/a32_translate_impl.h"
#include "dynarmic/interface/A32/config.h"
namespace Dynarmic::A32 {
// BKPT #<imm16>
bool TranslatorVisitor::arm_BKPT(Cond cond, Imm... | 26.644444 | 81 | 0.681401 | liushuyu |
c961f1b6fca899f8e3f4c2719f1970f98b1a52b7 | 4,399 | cpp | C++ | framework/src/manager/TBoardConfigDAQ.cpp | AudreyFrancisco/MultiLadderOperation | fd6fefd616d73487835c31bc9916bbd8490d1864 | [
"BSD-4-Clause"
] | null | null | null | framework/src/manager/TBoardConfigDAQ.cpp | AudreyFrancisco/MultiLadderOperation | fd6fefd616d73487835c31bc9916bbd8490d1864 | [
"BSD-4-Clause"
] | null | null | null | framework/src/manager/TBoardConfigDAQ.cpp | AudreyFrancisco/MultiLadderOperation | fd6fefd616d73487835c31bc9916bbd8490d1864 | [
"BSD-4-Clause"
] | null | null | null | #include "TBoardConfigDAQ.h"
using namespace std;
// default values for config parameters; less important ones are set in the TBoardConfig constructor
//---- ADC module
const int TBoardConfigDAQ::LIMIT_DIGITAL = 300;
const int TBoardConfigDAQ::LIMIT_IO = 50;
const int TBoardConfigDAQ::LIMIT_ANALOGUE = 300... | 34.912698 | 105 | 0.663333 | AudreyFrancisco |
e92e0960cf571d07187d5c035243bf4c8fbda2ee | 240 | cpp | C++ | Item.cpp | stephens2633/CppPractice | 05e886885466bc0fd43957c887c19545678e9230 | [
"MIT"
] | null | null | null | Item.cpp | stephens2633/CppPractice | 05e886885466bc0fd43957c887c19545678e9230 | [
"MIT"
] | null | null | null | Item.cpp | stephens2633/CppPractice | 05e886885466bc0fd43957c887c19545678e9230 | [
"MIT"
] | null | null | null | #include "Item.h"
#include<iostream>
using namespace std;
Item::Item()
{
//ctor
}
Item::~Item()
{
//dtor
}
void Item::getWriting(){
if(!writing.compare(""))
cout << "Nothing written" << endl;
else
cout << writing <<endl;
}
| 11.428571 | 36 | 0.595833 | stephens2633 |
e9352f717a0cf9277d2af3df76fac7a65f958819 | 1,040 | cpp | C++ | snippets/cpp/VS_Snippets_CLR_System/system.IO.TextReaderWriter/CPP/textrw.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-02-22T09:30:21.000Z | 2021-08-02T23:44:31.000Z | snippets/cpp/VS_Snippets_CLR_System/system.IO.TextReaderWriter/CPP/textrw.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_CLR_System/system.IO.TextReaderWriter/CPP/textrw.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z |
// <Snippet1>
using namespace System;
using namespace System::IO;
// <Snippet4>
void WriteText( TextWriter^ textWriter )
{
textWriter->Write( "Invalid file path characters are: " );
textWriter->Write( Path::InvalidPathChars );
textWriter->Write( Char::Parse( "." ) );
}
// </Snippet4>
// <Snippet5>
void Re... | 22.12766 | 96 | 0.661538 | BohdanMosiyuk |
e938acd34564df6e26baa94ee69d6e654d7b2123 | 1,842 | cpp | C++ | apps/myApps/idolHackerthon/src/Scenes/SquareRippleScene.cpp | marble-seijin/idolHackerthon | a1f1312f4a9a4b1dc25eea94ee496088490f5cfc | [
"MIT"
] | null | null | null | apps/myApps/idolHackerthon/src/Scenes/SquareRippleScene.cpp | marble-seijin/idolHackerthon | a1f1312f4a9a4b1dc25eea94ee496088490f5cfc | [
"MIT"
] | null | null | null | apps/myApps/idolHackerthon/src/Scenes/SquareRippleScene.cpp | marble-seijin/idolHackerthon | a1f1312f4a9a4b1dc25eea94ee496088490f5cfc | [
"MIT"
] | null | null | null | //
// SquareRipple.cpp
// idolHackerthon
//
// Created by NAMBU AKIFUMI on 2015/09/12.
//
//
#include "SquareRippleScene.h"
SquareRippleScene::SquareRippleScene(){
ofBackground(255);
}
void SquareRippleScene::update(){
for (vector<SquareRipple>::iterator it = ripples.begin(); it != ripples.end(); ++i... | 23.615385 | 90 | 0.449511 | marble-seijin |
e939008e50edd11d330217bc598402b9eca5c7e9 | 1,113 | cpp | C++ | src/ConcoleGame/clock.cpp | Aswiz/C_Plus_Plus | 6768a67e821a444383232c41915fb9b6d81ceac4 | [
"MIT"
] | null | null | null | src/ConcoleGame/clock.cpp | Aswiz/C_Plus_Plus | 6768a67e821a444383232c41915fb9b6d81ceac4 | [
"MIT"
] | null | null | null | src/ConcoleGame/clock.cpp | Aswiz/C_Plus_Plus | 6768a67e821a444383232c41915fb9b6d81ceac4 | [
"MIT"
] | null | null | null | //пример использования функции clock
#include <iostream> // для оператора cout
#include <ctime> // для функции clock
#include <cmath> // для функции sqrt
int frequencyPrimes (int n) ... | 34.78125 | 105 | 0.446541 | Aswiz |
e93dfb562dc983971f42a200a07b431647652436 | 95 | cpp | C++ | contracts/test.inline/test.inline.cpp | TP-Lab/enumivo | 76d81a36d2db8cea93fb54cd95a6ec5f6c407f97 | [
"MIT"
] | 8 | 2018-08-02T02:31:19.000Z | 2018-08-16T03:31:02.000Z | contracts/test.inline/test.inline.cpp | TP-Lab/enumivo | 76d81a36d2db8cea93fb54cd95a6ec5f6c407f97 | [
"MIT"
] | null | null | null | contracts/test.inline/test.inline.cpp | TP-Lab/enumivo | 76d81a36d2db8cea93fb54cd95a6ec5f6c407f97 | [
"MIT"
] | null | null | null | #include <test.inline/test.inline.hpp>
ENUMIVO_ABI( enumivo::testinline, (reqauth)(forward) )
| 23.75 | 54 | 0.757895 | TP-Lab |
e940c26ed9a92c15255d1b8e3017b811662e8893 | 69,542 | cpp | C++ | src/plugProjectEbisawaU/ebiCardMgr_Load.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 33 | 2021-12-08T11:10:59.000Z | 2022-03-26T19:59:37.000Z | src/plugProjectEbisawaU/ebiCardMgr_Load.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 6 | 2021-12-22T17:54:31.000Z | 2022-01-07T21:43:18.000Z | src/plugProjectEbisawaU/ebiCardMgr_Load.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 2 | 2022-01-04T06:00:49.000Z | 2022-01-26T07:27:28.000Z | #include "types.h"
/*
Generated from dpostproc
.section .rodata # 0x804732E0 - 0x8049E220
.global lbl_80497118
lbl_80497118:
.4byte 0x65626943
.4byte 0x6172644D
.4byte 0x67725F4C
.4byte 0x6F61642E
.4byte 0x63707000
.global lbl_8049712C
lbl_8049712C:
... | 24.256017 | 97 | 0.672845 | projectPiki |
e942f0a147ac55f005dd5ff7d2c9306a4e155173 | 1,514 | cpp | C++ | stacks_queues/queue_using_ll.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | stacks_queues/queue_using_ll.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | stacks_queues/queue_using_ll.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | /************************************************************
Following is the structure of the node class
class Node {
public :
int data;
Node *next;
Node(int data) {
this->data = data;
next = NULL;
}
};
********************************************************... | 19.921053 | 66 | 0.423382 | ramchandra94 |
e943e557728193cb6a24d56e908d51244119978e | 9,622 | cpp | C++ | vm/instruments/profiler.cpp | samleb/rubinius | 38eec1983b9b6739d7a552081e208aa433b99483 | [
"BSD-3-Clause"
] | 1 | 2016-05-09T10:45:38.000Z | 2016-05-09T10:45:38.000Z | vm/instruments/profiler.cpp | samleb/rubinius | 38eec1983b9b6739d7a552081e208aa433b99483 | [
"BSD-3-Clause"
] | null | null | null | vm/instruments/profiler.cpp | samleb/rubinius | 38eec1983b9b6739d7a552081e208aa433b99483 | [
"BSD-3-Clause"
] | null | null | null | #include "instruments/profiler.hpp"
#include "vm/object_utils.hpp"
#include "builtin/array.hpp"
#include "builtin/class.hpp"
#include "builtin/compiledmethod.hpp"
#include "builtin/integer.hpp"
#include "builtin/lookuptable.hpp"
#include "builtin/module.hpp"
#include "builtin/string.hpp"
#include "builtin/symbol.hpp"... | 27.104225 | 88 | 0.585429 | samleb |
e9470c962dfb222d6d049f4ae0f01c8ed0117873 | 1,960 | hpp | C++ | source/backend/cuda/core/BufferConvertor.hpp | zjd1988/mnn_cuda | d487534a2f6ffb0b98e3070a74682348e46ec4d1 | [
"Apache-2.0"
] | 1 | 2020-10-04T04:40:38.000Z | 2020-10-04T04:40:38.000Z | source/backend/cuda/core/BufferConvertor.hpp | zjd1988/mnn_cuda | d487534a2f6ffb0b98e3070a74682348e46ec4d1 | [
"Apache-2.0"
] | null | null | null | source/backend/cuda/core/BufferConvertor.hpp | zjd1988/mnn_cuda | d487534a2f6ffb0b98e3070a74682348e46ec4d1 | [
"Apache-2.0"
] | null | null | null | //
// ImageBufferConvertor.hpp
// MNN
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef BufferConvertor_hpp
#define BufferConvertor_hpp
#include "core/Macro.h"
#include <MNN/Tensor.hpp>
#include "backend/cuda/core/runtime/CUDARuntime.hpp"
#include "backend/cuda/core... | 33.220339 | 100 | 0.715816 | zjd1988 |
e94d1e020929f6c4c5f17fcd54f16ba1cadd18cf | 147 | cpp | C++ | test/CompileVariableTest.cpp | hzx/mutant2 | 5029d4ef59dca55819a98975b47554110913d62e | [
"MIT"
] | 1 | 2016-08-03T13:15:05.000Z | 2016-08-03T13:15:05.000Z | test/CompileVariableTest.cpp | hzx/mutant2 | 5029d4ef59dca55819a98975b47554110913d62e | [
"MIT"
] | null | null | null | test/CompileVariableTest.cpp | hzx/mutant2 | 5029d4ef59dca55819a98975b47554110913d62e | [
"MIT"
] | null | null | null | #include <gmock/gmock.h>
class CompileVariableTest: public ::testing::Test {
public:
};
TEST_F(CompileVariableTest, declaration) {
FAIL();
}
| 12.25 | 51 | 0.714286 | hzx |
e94e5a06f97fe5c203caaf0c930b74c4042a9d3d | 418 | cpp | C++ | 07.connect/connect.cpp | JackeyLea/Wayland_Freshman | e6467ad05642d433bcff252c14507b52e199835f | [
"MIT"
] | 7 | 2022-01-14T14:58:47.000Z | 2022-03-10T07:19:24.000Z | 07.connect/connect.cpp | JackeyLea/Wayland_Freshman | e6467ad05642d433bcff252c14507b52e199835f | [
"MIT"
] | 1 | 2022-01-28T03:14:03.000Z | 2022-01-28T03:14:03.000Z | 07.connect/connect.cpp | JackeyLea/Wayland_Freshman | e6467ad05642d433bcff252c14507b52e199835f | [
"MIT"
] | 2 | 2022-01-01T23:51:54.000Z | 2022-02-02T08:35:07.000Z | /////////////////////
// \author JackeyLea
// \date
// \note 测试能否正常链接wayland server
/////////////////////
#include <wayland-client.h>
#include <iostream>
using namespace std;
int main() {
wl_display *display = wl_display_connect(0);
if (!display) {
std::cout << "Unable to connect to wayland composi... | 17.416667 | 76 | 0.57177 | JackeyLea |
e9549399459a47c49e73042e2a7f3a4bbca0f452 | 5,726 | cpp | C++ | code/scripting/api/objs/particle.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | null | null | null | code/scripting/api/objs/particle.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | null | null | null | code/scripting/api/objs/particle.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | null | null | null | //
//
#include "particle.h"
#include "vecmath.h"
#include "object.h"
namespace scripting {
namespace api {
particle_h::particle_h() {
}
particle_h::particle_h(const particle::WeakParticlePtr& part_p) {
this->part = part_p;
}
particle::WeakParticlePtr particle_h::Get() {
return this->part;
}
bool particle_h::isVali... | 26.757009 | 244 | 0.66591 | trgswe |
e959cabacfd844292fb49a13e989bebb56ff73ab | 2,536 | hpp | C++ | irohad/simulator/impl/simulator.hpp | laSinteZ/iroha | 78f152a85ee2b3b86db7b705831938e96a186c36 | [
"Apache-2.0"
] | 1 | 2017-01-15T08:47:16.000Z | 2017-01-15T08:47:16.000Z | irohad/simulator/impl/simulator.hpp | laSinteZ/iroha | 78f152a85ee2b3b86db7b705831938e96a186c36 | [
"Apache-2.0"
] | 1 | 2017-11-08T02:34:24.000Z | 2017-11-08T02:34:24.000Z | irohad/simulator/impl/simulator.hpp | laSinteZ/iroha | 78f152a85ee2b3b86db7b705831938e96a186c36 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved.
* http://soramitsu.co.jp
*
* 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/LICENS... | 34.27027 | 75 | 0.733438 | laSinteZ |
e9605dde96f17d5d1f28fae32ccb8114647a6658 | 2,958 | hpp | C++ | src/cpu/x64/jit_uni_quantization_injector.hpp | IvanNovoselov/oneDNN | aa47fcd2a03ee5caac119b6417bc66abe3154aab | [
"Apache-2.0"
] | null | null | null | src/cpu/x64/jit_uni_quantization_injector.hpp | IvanNovoselov/oneDNN | aa47fcd2a03ee5caac119b6417bc66abe3154aab | [
"Apache-2.0"
] | null | null | null | src/cpu/x64/jit_uni_quantization_injector.hpp | IvanNovoselov/oneDNN | aa47fcd2a03ee5caac119b6417bc66abe3154aab | [
"Apache-2.0"
] | 1 | 2021-03-10T17:25:36.000Z | 2021-03-10T17:25:36.000Z | /*******************************************************************************
* Copyright 2019-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://www.apa... | 36.975 | 150 | 0.7167 | IvanNovoselov |
e960710f7378f48754c078c90573c372f2620647 | 924 | hh | C++ | src/Nuxed/Http/Server/__Private/NextMiddlewareProcessor.hh | tomoki1337/framework | ff06d260c5bf2a78a99b8d17b041de756550f95a | [
"MIT"
] | 1 | 2019-01-25T20:05:55.000Z | 2019-01-25T20:05:55.000Z | src/Nuxed/Http/Server/__Private/NextMiddlewareProcessor.hh | gitter-badger/framework-27 | 368b734f2753b06b7f19f819185091f896838467 | [
"MIT"
] | null | null | null | src/Nuxed/Http/Server/__Private/NextMiddlewareProcessor.hh | gitter-badger/framework-27 | 368b734f2753b06b7f19f819185091f896838467 | [
"MIT"
] | null | null | null | <?hh // strict
namespace Nuxed\Http\Server\__Private;
use type Nuxed\Contract\Http\Message\ResponseInterface;
use type Nuxed\Contract\Http\Message\ServerRequestInterface;
use type Nuxed\Contract\Http\Server\RequestHandlerInterface;
use type Nuxed\Contract\Http\Server\MiddlewareInterface;
use type SplPriorityQueue;
c... | 28 | 66 | 0.75 | tomoki1337 |
e96957d7604f6b91f2f1403e55a8f6b3dc262022 | 10,293 | hpp | C++ | core/src/cogs/collections/slink.hpp | cogmine/cogs | ef1c369a36a4f811704e0ced0493c3a6f8eca821 | [
"MIT"
] | 5 | 2019-02-08T15:59:14.000Z | 2022-01-22T19:12:33.000Z | core/src/cogs/collections/slink.hpp | cogmine/cogs | ef1c369a36a4f811704e0ced0493c3a6f8eca821 | [
"MIT"
] | 1 | 2019-12-03T03:11:34.000Z | 2019-12-03T03:11:34.000Z | core/src/cogs/collections/slink.hpp | cogmine/cogs | ef1c369a36a4f811704e0ced0493c3a6f8eca821 | [
"MIT"
] | null | null | null | //
// Copyright (C) 2000-2020 - Colen M. Garoutte-Carson <colen at cogmine.com>, Cog Mine LLC
//
// Status: Good
#ifndef COGS_HEADER_COLLECTION_SLINK
#define COGS_HEADER_COLLECTION_SLINK
#include <type_traits>
#include "cogs/mem/ptr.hpp"
namespace cogs {
/// @defgroup CollectionMixIns Collection Mix-In's
/// @... | 28.671309 | 166 | 0.69727 | cogmine |
e976852fe01b660f90e281aae7d41b1bfa44be63 | 435 | inl | C++ | node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefn.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefn.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefn.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // smtc_TmplFuncDefn.inl
//
#ifdef LZZ_ENABLE_INLINE
#define LZZ_INLINE inline
#else
#define LZZ_INLINE
#endif
namespace smtc
{
LZZ_INLINE TmplFuncDefn::TmplFuncDefn (TmplSpecPtrVector const & tmpl_spec_set, FuncDefnPtr const & func_defn)
: TmplFuncDecl (tmpl_spec_set, func_defn)
{}
}
namespace smtc
{
LZZ_... | 18.913043 | 112 | 0.744828 | SuperDizor |
e976bb3f488e776db80e97ce4b4eca75e15d8607 | 2,641 | cpp | C++ | demos/Tweening.cpp | liavt/MACE | 9a4e83b2b5cb39d9a69b2e699b57c05d9dd94aad | [
"MIT"
] | 9 | 2016-03-01T03:10:50.000Z | 2021-04-15T09:17:14.000Z | demos/Tweening.cpp | liavt/The-Poor-Plebs-Engine | 9a4e83b2b5cb39d9a69b2e699b57c05d9dd94aad | [
"MIT"
] | 10 | 2016-07-09T04:00:27.000Z | 2019-12-09T09:14:49.000Z | demos/Tweening.cpp | liavt/The-Poor-Plebs-Engine | 9a4e83b2b5cb39d9a69b2e699b57c05d9dd94aad | [
"MIT"
] | 3 | 2017-05-24T04:07:40.000Z | 2019-10-11T20:31:25.000Z | /*
Copyright (c) 2016-2019 Liav Turkia
See LICENSE.md for full copyright information
*/
#include <MACE/MACE.h>
using namespace mc;
gfx::Image square;
void create(gfx::WindowModule& win) {
square = gfx::Image(Colors::RED);
square.setX(-0.5f);
square.setY(0.5f);
square.setWidth(0.1f);
square.setHeight(0.1f);
... | 29.344444 | 133 | 0.709958 | liavt |
e97db13c29a28aecb05281afbf709bf303a77a36 | 5,352 | cc | C++ | squid_wrap/squid_win_helpers/auth/ext_AD_Group/AD_group/rfc1738.cc | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | squid_wrap/squid_win_helpers/auth/ext_AD_Group/AD_group/rfc1738.cc | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | squid_wrap/squid_win_helpers/auth/ext_AD_Group/AD_group/rfc1738.cc | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | /*
* Copyright (C) 1996-2018 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#define _CRT_SECURE_NO_WARNINGS
//#include "... | 30.237288 | 131 | 0.448617 | NPaolini |
e97f3b8b5f0e037da3dccfaba4bac513eb31f0f4 | 29 | cpp | C++ | DinoLasers/ContactManifold.cpp | QRayarch/DinoLasers | 500f4144fad2a813cd140d6067b41a41f4573e8c | [
"MIT"
] | null | null | null | DinoLasers/ContactManifold.cpp | QRayarch/DinoLasers | 500f4144fad2a813cd140d6067b41a41f4573e8c | [
"MIT"
] | null | null | null | DinoLasers/ContactManifold.cpp | QRayarch/DinoLasers | 500f4144fad2a813cd140d6067b41a41f4573e8c | [
"MIT"
] | null | null | null | #include "ContactManifold.h"
| 14.5 | 28 | 0.793103 | QRayarch |
e97f792fcdfd9dde7882bb657cf63e706c34d5e9 | 15,997 | cpp | C++ | source/MultiLibrary/Window/Windows/Window.cpp | danielga/multilibrary | 3d1177dd3affa875e06015f5e3e42dda525f3336 | [
"BSD-3-Clause"
] | 2 | 2018-06-22T12:43:57.000Z | 2019-05-31T21:56:27.000Z | source/MultiLibrary/Window/Windows/Window.cpp | danielga/multilibrary | 3d1177dd3affa875e06015f5e3e42dda525f3336 | [
"BSD-3-Clause"
] | 1 | 2017-09-09T01:21:31.000Z | 2017-11-12T17:52:56.000Z | source/MultiLibrary/Window/Windows/Window.cpp | danielga/multilibrary | 3d1177dd3affa875e06015f5e3e42dda525f3336 | [
"BSD-3-Clause"
] | 1 | 2022-03-30T18:57:41.000Z | 2022-03-30T18:57:41.000Z | /*************************************************************************
* MultiLibrary - https://danielga.github.io/multilibrary/
* A C++ library that covers multiple low level systems.
*------------------------------------------------------------------------
* Copyright (c) 2014-2022, Daniel Almeida
* All righ... | 22.918338 | 148 | 0.69213 | danielga |
e984acd57e07bbd11e2f3a3f8bfcd4b8762ead7b | 4,770 | cpp | C++ | Uno/GUI/ServerScreen.cpp | Wolchy/Uno | 3ebb485b7e71b801cdd08d2cf97bbbb9579f44b5 | [
"MIT"
] | null | null | null | Uno/GUI/ServerScreen.cpp | Wolchy/Uno | 3ebb485b7e71b801cdd08d2cf97bbbb9579f44b5 | [
"MIT"
] | null | null | null | Uno/GUI/ServerScreen.cpp | Wolchy/Uno | 3ebb485b7e71b801cdd08d2cf97bbbb9579f44b5 | [
"MIT"
] | null | null | null | #include "ServerScreen.h"
ServerScreen::ServerScreen(Mya mya) : Screen::Screen("screenServer")
{
assets = new Assets(mya);
tv_port = new TextView(*assets->font, "Port: ", 5, 5, mya.getRenderer());
et_port = new EditText("9998", *assets->font, mya.getRenderer(), tv_port->tex.w + 5, 5);
btn_host = new Button("Host"... | 29.444444 | 117 | 0.592034 | Wolchy |
e9860e961e26f6900dea4d6d50ad1d4df42b20c0 | 564 | cpp | C++ | src/model/common/comtu.cpp | fanghaocong/GitlHEVCAnalyzer | 1dbf3adca4822b0a55af03c7a7f49c92798c91d6 | [
"Apache-2.0"
] | null | null | null | src/model/common/comtu.cpp | fanghaocong/GitlHEVCAnalyzer | 1dbf3adca4822b0a55af03c7a7f49c92798c91d6 | [
"Apache-2.0"
] | null | null | null | src/model/common/comtu.cpp | fanghaocong/GitlHEVCAnalyzer | 1dbf3adca4822b0a55af03c7a7f49c92798c91d6 | [
"Apache-2.0"
] | null | null | null | #include "comtu.h"
ComTU::ComTU()
{
}
bool ComTU::isValid(int cuLeft, int cuTop, int cuRight, int cuBottom)
{
if ( m_iX < cuLeft || m_iX > cuRight )
{
return false;
}
if ( m_iY < cuTop || m_iY > cuBottom )
{
return false;
}
int tuRight = m_iX + m_iWidth ... | 17.090909 | 70 | 0.5 | fanghaocong |
e9862a8d8d79bf90db88df6722c9342dbab39e70 | 11,842 | hpp | C++ | include/fiction/algorithms/network_transformation/fanout_substitution.hpp | ElderDelp/fiction | f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8 | [
"MIT"
] | null | null | null | include/fiction/algorithms/network_transformation/fanout_substitution.hpp | ElderDelp/fiction | f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8 | [
"MIT"
] | null | null | null | include/fiction/algorithms/network_transformation/fanout_substitution.hpp | ElderDelp/fiction | f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8 | [
"MIT"
] | null | null | null | //
// Created by marcel on 31.05.21.
//
#ifndef FICTION_FANOUT_SUBSTITUTION_HPP
#define FICTION_FANOUT_SUBSTITUTION_HPP
#include "fiction/algorithms/network_transformation/network_conversion.hpp"
#include "fiction/traits.hpp"
#include <mockturtle/algorithms/cleanup.hpp>
#include <mockturtle/traits.hpp>
#include <moc... | 35.561562 | 119 | 0.613748 | ElderDelp |
e988506ac6657e8bea19a368918fbb2a90b88158 | 1,400 | hh | C++ | source/format/KBWPointCluster.hh | KUNPL/KEBII | 7feba36bb2ac2812c0dec21f5e3f3a0dcc1c8e39 | [
"MIT"
] | null | null | null | source/format/KBWPointCluster.hh | KUNPL/KEBII | 7feba36bb2ac2812c0dec21f5e3f3a0dcc1c8e39 | [
"MIT"
] | null | null | null | source/format/KBWPointCluster.hh | KUNPL/KEBII | 7feba36bb2ac2812c0dec21f5e3f3a0dcc1c8e39 | [
"MIT"
] | null | null | null | #ifndef KBWPOINTCLUSTER_HH
#define KBWPOINTCLUSTER_HH
#ifdef ACTIVATE_EVE
#include "TEveElement.h"
#include "TEvePointSet.h"
#endif
#include "KBWPoint.hh"
#include <vector>
#include <cmath>
/* Cluster of TWPoint.
* Adding KBWPoint to KBWPointCluster will calculate mean, covariance.
* MeanError(i,j) returns covaria... | 24.561404 | 70 | 0.707143 | KUNPL |
e9890a4a899fe4210cd202c733f2a7fea34326f7 | 2,060 | cpp | C++ | src/feata/util/shared_lib.cpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | 1 | 2021-08-30T13:51:42.000Z | 2021-08-30T13:51:42.000Z | src/feata/util/shared_lib.cpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | null | null | null | src/feata/util/shared_lib.cpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | 1 | 2021-08-30T13:51:35.000Z | 2021-08-30T13:51:35.000Z | #include "util/shared_lib.hpp"
#include "util/filesys.hpp"
#include "defs/arch.hpp"
#if defined(FEATA_SYSTEM_WIN)
#include <Windows.h>
#elif defined(FEATA_SYSTEM_UNIX)
#include <dlfcn.h>
#endif
namespace util
{
SharedLib::SharedLib(const String& file_name,
const boo... | 23.146067 | 82 | 0.581553 | master-clown |
e991b46d1a4e8d9dd727ad89a3fc06d1a7d53e0f | 544 | cpp | C++ | BOJ19941/BOJ19941_src.cpp | wjoh0315/BOJSolutions4 | 1a5910f6dda33c58fdcb806ed0a2806a4f5d764a | [
"MIT"
] | null | null | null | BOJ19941/BOJ19941_src.cpp | wjoh0315/BOJSolutions4 | 1a5910f6dda33c58fdcb806ed0a2806a4f5d764a | [
"MIT"
] | null | null | null | BOJ19941/BOJ19941_src.cpp | wjoh0315/BOJSolutions4 | 1a5910f6dda33c58fdcb806ed0a2806a4f5d764a | [
"MIT"
] | null | null | null | //https://www.acmicpc.net/problem/19941
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n, k;
cin >> n >> k;
string pos;
cin >> pos;
int j = 0;
int cnt = 0;
for (int i=0; i < n; i++)
{
if (pos[i] == 'H') ... | 17.548387 | 51 | 0.420956 | wjoh0315 |
e993ca58efd042faa8667ada9364d12b35a1e14b | 17,027 | cpp | C++ | Ambit/Source/Ambit/Actors/Spawners/SpawnerBase.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/Ambit/Actors/Spawners/SpawnerBase.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/Ambit/Actors/Spawners/SpawnerBase.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License").
// You may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//... | 41.32767 | 201 | 0.646914 | brhook-aws |
e996ad96f208f01c2890faf6e7faf6925d2b8fa2 | 1,351 | cpp | C++ | cpp/src/test.cpp | cnloni/othello | f80f190e505b6a4dd2b2bd49054651dbea4f00fa | [
"Apache-2.0"
] | 1 | 2021-01-16T03:34:06.000Z | 2021-01-16T03:34:06.000Z | cpp/src/test.cpp | cnloni/othello | f80f190e505b6a4dd2b2bd49054651dbea4f00fa | [
"Apache-2.0"
] | null | null | null | cpp/src/test.cpp | cnloni/othello | f80f190e505b6a4dd2b2bd49054651dbea4f00fa | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "b16.hpp"
#include "b36.hpp"
#include "board.hpp"
using namespace std;
int execute16(uint64_t bp, uint64_t wp, int turn, int alpha, int beta) {
Board<B16> board;
int result = board.getBestResult(bp, wp, turn, alpha, beta);
cout << board.getFinalBoardString() << endl;
cout << "Initial... | 32.166667 | 79 | 0.640266 | cnloni |
e9a1ff9570260abd9e652b8d41c348b4db46b0a4 | 18,729 | cpp | C++ | test/unittest/regextest.cpp | lktrgl/rapidjson | f09bafdd7e5eac006ea1d926a16a5b941ea71d9a | [
"BSD-3-Clause"
] | null | null | null | test/unittest/regextest.cpp | lktrgl/rapidjson | f09bafdd7e5eac006ea1d926a16a5b941ea71d9a | [
"BSD-3-Clause"
] | null | null | null | test/unittest/regextest.cpp | lktrgl/rapidjson | f09bafdd7e5eac006ea1d926a16a5b941ea71d9a | [
"BSD-3-Clause"
] | null | null | null | // Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obta... | 27.182874 | 94 | 0.567729 | lktrgl |
e9a2baf6896da4c6ee2705cc615b91f091062f2f | 295 | hpp | C++ | include/sge/initializers/sdl-image.hpp | smaudet/sdl-game-engine | e49a001541c6e30c0cc0ee6aa04ee6ba2b5f4af7 | [
"MIT"
] | 75 | 2017-07-19T14:00:55.000Z | 2022-01-10T21:50:44.000Z | include/sge/initializers/sdl-image.hpp | smaudet/sdl-game-engine | e49a001541c6e30c0cc0ee6aa04ee6ba2b5f4af7 | [
"MIT"
] | 3 | 2017-04-05T00:57:33.000Z | 2018-11-14T07:48:40.000Z | include/sge/initializers/sdl-image.hpp | smaudet/sdl-game-engine | e49a001541c6e30c0cc0ee6aa04ee6ba2b5f4af7 | [
"MIT"
] | 12 | 2017-09-19T09:51:48.000Z | 2021-12-05T18:11:53.000Z | #ifndef __SGE_SDL_IMAGE_INIT_HPP
#define __SGE_SDL_IMAGE_INIT_HPP
#include <sge/init.hpp>
namespace sge
{
class SDLImageInitializer : public Initializer
{
public:
void do_initialize();
void do_shutdown();
};
}
#endif /* __SGE_SDL_IMAGE_INIT_HPP */
| 17.352941 | 50 | 0.667797 | smaudet |
e9a7332b6220e9db2bf28f1d62a71dbe5f91d530 | 3,711 | hpp | C++ | include/ccbase/platform/bswap.hpp | adityaramesh/ccbase | 595e1416aab3cc8bc976aad9bb3e262c7d11e3b2 | [
"BSD-3-Clause-Clear"
] | 8 | 2015-01-08T05:44:43.000Z | 2021-05-11T15:54:17.000Z | include/ccbase/platform/bswap.hpp | adityaramesh/ccbase | 595e1416aab3cc8bc976aad9bb3e262c7d11e3b2 | [
"BSD-3-Clause-Clear"
] | 1 | 2016-01-31T08:48:53.000Z | 2016-01-31T08:54:28.000Z | include/ccbase/platform/bswap.hpp | adityaramesh/ccbase | 595e1416aab3cc8bc976aad9bb3e262c7d11e3b2 | [
"BSD-3-Clause-Clear"
] | 2 | 2015-03-26T11:08:18.000Z | 2016-01-30T03:28:06.000Z | /*
** File Name: bswap.hpp
** Author: Aditya Ramesh
** Date: 04/14/2014
** Contact: _@adityaramesh.com
*/
#ifndef Z2C1D91E3_6CC1_415A_A95D_65604B557F77
#define Z2C1D91E3_6CC1_415A_A95D_65604B557F77
#include <algorithm>
#include <cstdint>
#include <type_traits>
#include <ccbase/platform/attributes.hpp>
#include <ccbas... | 25.244898 | 55 | 0.665319 | adityaramesh |
e9a9db49b0ab476f52bff58296aa37f1b8e47a89 | 5,313 | hpp | C++ | libs/boost_1_72_0/boost/spirit/home/support/char_encoding/standard_wide.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/spirit/home/support/char_encoding/standard_wide.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/spirit/home/support/char_encoding/standard_wide.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | /*=============================================================================
Copyright (c) 2001-2011 Hartmut Kaiser
Copyright (c) 2001-2011 Joel de Guzman
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... | 28.718919 | 80 | 0.618859 | henrywarhurst |
e9acc2eb1780b01d5820b99d173334f3e07e58d2 | 4,731 | cpp | C++ | src/mapmaker/Util.cpp | gshaw/closecombat | 8c0f8a9ee29a109784a465aadda063922543ac72 | [
"Zlib"
] | 5 | 2015-02-03T04:04:20.000Z | 2020-03-19T01:07:47.000Z | src/mapmaker/Util.cpp | gshaw/closecombat | 8c0f8a9ee29a109784a465aadda063922543ac72 | [
"Zlib"
] | null | null | null | src/mapmaker/Util.cpp | gshaw/closecombat | 8c0f8a9ee29a109784a465aadda063922543ac72 | [
"Zlib"
] | null | null | null | #include "StdAfx.h"
#include "Util.h"
bool CC2_IsDataFolderValid(const CString& FolderPath)
{
// return true if FolderPath is a valid folder path to the close combat 2 game folder
bool ok = false;
// look for data\base\elements
CString PathName(FolderPath);
PathName += _T("\\data\\base\\... | 21.120536 | 92 | 0.452124 | gshaw |
e9ba8ae7ee0dc7b184cda9f5193bce46908d91e3 | 4,414 | cpp | C++ | src/guo_hall_thinning.cpp | ericdanz/rgb_line_follower | 89e534301e1c4dd83649b0fa750d5f808caa2df8 | [
"BSD-3-Clause"
] | null | null | null | src/guo_hall_thinning.cpp | ericdanz/rgb_line_follower | 89e534301e1c4dd83649b0fa750d5f808caa2df8 | [
"BSD-3-Clause"
] | null | null | null | src/guo_hall_thinning.cpp | ericdanz/rgb_line_follower | 89e534301e1c4dd83649b0fa750d5f808caa2df8 | [
"BSD-3-Clause"
] | null | null | null | /*
* \guo_hall_thinning.cpp
* \takes a image and converts it to a trajectory for the robot to follow
*
* \author Chris Dunkers, CMU - cmdunkers@cmu.edu
* \date October 31, 2014
*/
#include "rgb_line_follower/guo_hall_thinning.h"
convert_to_line::convert_to_line(){
//the main node handle
ros::NodeHandle nh... | 27.416149 | 93 | 0.600362 | ericdanz |
e9bb3e6703c393cce61ebb3097f41be8c021c38c | 585 | cpp | C++ | src/main.cpp | philong6297/tetravex-solver | 3d427f00a697c22c2231c57445140c7f1bb76572 | [
"MIT"
] | null | null | null | src/main.cpp | philong6297/tetravex-solver | 3d427f00a697c22c2231c57445140c7f1bb76572 | [
"MIT"
] | null | null | null | src/main.cpp | philong6297/tetravex-solver | 3d427f00a697c22c2231c57445140c7f1bb76572 | [
"MIT"
] | null | null | null | #include <iostream>
#include "engine/game_generator.h"
#include "solver/solver.h"
int main() {
std::ios::sync_with_stdio(false);
// absolute dir = full name of the path
Game game = GameGenerator::ReadFromFile("D:/cpp-projects/tetravex-solver/data/6x6.txt");
// {
// Solver solver;
// std::co... | 23.4 | 91 | 0.62735 | philong6297 |
e9bca392665c427444ae656aca0eecf95dfb1c26 | 379 | cpp | C++ | src/core/core_render.cpp | RichardMarks/allegro-5-project-template | cdeb83a5eecf70d43e89f31ed7f56d87b00745c8 | [
"MIT"
] | null | null | null | src/core/core_render.cpp | RichardMarks/allegro-5-project-template | cdeb83a5eecf70d43e89f31ed7f56d87b00745c8 | [
"MIT"
] | null | null | null | src/core/core_render.cpp | RichardMarks/allegro-5-project-template | cdeb83a5eecf70d43e89f31ed7f56d87b00745c8 | [
"MIT"
] | null | null | null | #include "core.h"
bool core_render() {
// printf("core_render()\n");
if (__CoreGlobals__.Redraw && al_is_event_queue_empty(__CoreGlobals__.Queue)) {
__CoreGlobals__.Redraw = false;
al_set_target_bitmap(__CoreGlobals__.DisplayBuffer);
al_clear_to_color(al_map_rgb(0, 0, 0)); // FIXME: should use a globa... | 25.266667 | 90 | 0.717678 | RichardMarks |
e9be9d0ab7adf2d26b5fd92d101e2fd841f88d42 | 1,354 | cpp | C++ | Algorithms/Warmup/TimeConversion.cpp | latimercaleb/hacker-rank-results | 2cb5e0eca306835eb7607c157f8ee8ee166d3630 | [
"MIT"
] | null | null | null | Algorithms/Warmup/TimeConversion.cpp | latimercaleb/hacker-rank-results | 2cb5e0eca306835eb7607c157f8ee8ee166d3630 | [
"MIT"
] | null | null | null | Algorithms/Warmup/TimeConversion.cpp | latimercaleb/hacker-rank-results | 2cb5e0eca306835eb7607c157f8ee8ee166d3630 | [
"MIT"
] | null | null | null | // https://www.hackerrank.com/challenges/time-conversion/problem
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <sstream>
#include<iomanip>
using namespace std;
int main(){
string time;
cin >> time;
char delim = ':';
stringstream newTime;
new... | 23.344828 | 141 | 0.474151 | latimercaleb |
e9cc92831ba96d53b71b6a3c19769aa3eec198d4 | 1,317 | hpp | C++ | src/osm_node_wrap.hpp | simonpoole/node-osmium | 379bc61c2584e6fb441ee37f37af34aea97213dd | [
"BSL-1.0"
] | 104 | 2015-02-02T19:05:38.000Z | 2021-04-25T19:54:46.000Z | src/osm_node_wrap.hpp | simonpoole/node-osmium | 379bc61c2584e6fb441ee37f37af34aea97213dd | [
"BSL-1.0"
] | 75 | 2015-01-10T02:04:18.000Z | 2021-08-16T07:15:36.000Z | src/osm_node_wrap.hpp | simonpoole/node-osmium | 379bc61c2584e6fb441ee37f37af34aea97213dd | [
"BSL-1.0"
] | 29 | 2015-01-21T19:32:58.000Z | 2022-03-28T16:08:28.000Z | #ifndef OSM_NODE_WRAP_HPP
#define OSM_NODE_WRAP_HPP
#include "include_nan.hpp"
// osmium
#include <osmium/osm/node.hpp>
namespace osmium {
class OSMEntity;
}
// node-osmium
#include "node_osmium.hpp"
#include "osm_entity_wrap.hpp"
#include "osm_object_wrap.hpp"
#include "utils.hpp"
namespace node_osmium {
... | 22.322034 | 83 | 0.645406 | simonpoole |
8399c01ccfa2859713571d9b22bf725093207988 | 4,794 | cpp | C++ | src/debugger/breakpoint_break.cpp | sar/netcoredbg | c9b95f74452d3ac58ebe6642f64143fbe225df83 | [
"MIT"
] | 402 | 2017-12-12T13:12:39.000Z | 2022-03-28T01:43:25.000Z | src/debugger/breakpoint_break.cpp | sar/netcoredbg | c9b95f74452d3ac58ebe6642f64143fbe225df83 | [
"MIT"
] | 83 | 2018-01-10T16:23:43.000Z | 2022-03-22T07:25:42.000Z | src/debugger/breakpoint_break.cpp | sar/netcoredbg | c9b95f74452d3ac58ebe6642f64143fbe225df83 | [
"MIT"
] | 66 | 2018-01-10T10:39:59.000Z | 2022-03-27T15:55:10.000Z | // Copyright (c) 2021 Samsung Electronics Co., LTD
// Distributed under the MIT License.
// See the LICENSE file in the project root for more information.
#include "debugger/breakpoint_break.h"
#include "debugger/threads.h"
#include "metadata/modules.h"
#include "utils/torelease.h"
namespace netcoredbg
{
... | 38.047619 | 129 | 0.701293 | sar |
839aa948208c5719d99ba773ed28827aa0875089 | 1,315 | cpp | C++ | src/Core/Models/ShortId.cpp | Fookdies301/GrinPlusPlus | 981a99af0ae04633afbd02666894b5c199e06339 | [
"MIT"
] | 135 | 2018-12-17T15:38:16.000Z | 2022-03-01T05:38:29.000Z | src/Core/Models/ShortId.cpp | Fookdies301/GrinPlusPlus | 981a99af0ae04633afbd02666894b5c199e06339 | [
"MIT"
] | 185 | 2018-12-21T13:56:29.000Z | 2022-03-23T14:41:46.000Z | src/Core/Models/ShortId.cpp | Fookdies301/GrinPlusPlus | 981a99af0ae04633afbd02666894b5c199e06339 | [
"MIT"
] | 49 | 2018-12-23T12:05:51.000Z | 2022-03-26T14:24:49.000Z | #include <Core/Models/ShortId.h>
#include <Crypto/Hasher.h>
ShortId::ShortId(CBigInteger<6>&& id)
: m_id(id)
{
}
ShortId ShortId::Create(const CBigInteger<32>& hash, const CBigInteger<32>& blockHash, const uint64_t nonce)
{
// take the block hash and the nonce and hash them together
Serializer serializer;
serial... | 27.395833 | 108 | 0.756654 | Fookdies301 |
839ab305106ca145ed99a3a1a51b61938e5042db | 356 | cpp | C++ | 800-1000/1626A-Equidistant Letters.cpp | Ozzey/Codeforces | 36626f19382a08f54e66ade28431d7d440664e67 | [
"MIT"
] | 1 | 2022-02-11T16:38:52.000Z | 2022-02-11T16:38:52.000Z | 800-1000/1626A-Equidistant Letters.cpp | Ozzey/Codeforces | 36626f19382a08f54e66ade28431d7d440664e67 | [
"MIT"
] | null | null | null | 800-1000/1626A-Equidistant Letters.cpp | Ozzey/Codeforces | 36626f19382a08f54e66ade28431d7d440664e67 | [
"MIT"
] | null | null | null | // https://codeforces.com/problemset/problem/1626/A
#include <bits/stdc++.h>
using namespace std;
int fn(string str){
sort(str.begin(),str.end());
cout<<str<<endl;
return 0;
}
int main(){
int tc;
string s;
cin >> tc;
int count=0;
while(count<tc) {
cin>>s;
fn(s);
... | 13.185185 | 51 | 0.525281 | Ozzey |
83a17c4201313c1fea5af8dfe92af3133d1a8fd8 | 1,284 | hpp | C++ | include/brynet/net/wrapper/HttpServiceBuilder.hpp | mr-cn/brynet | 93ddf823ccc451b336cc5d78d636c75fd712ae59 | [
"MIT"
] | null | null | null | include/brynet/net/wrapper/HttpServiceBuilder.hpp | mr-cn/brynet | 93ddf823ccc451b336cc5d78d636c75fd712ae59 | [
"MIT"
] | null | null | null | include/brynet/net/wrapper/HttpServiceBuilder.hpp | mr-cn/brynet | 93ddf823ccc451b336cc5d78d636c75fd712ae59 | [
"MIT"
] | null | null | null | #pragma once
#include <brynet/net/http/HttpService.hpp>
#include <brynet/net/wrapper/ServiceBuilder.hpp>
namespace brynet { namespace net { namespace wrapper {
class HttpListenerBuilder : public BaseListenerBuilder<HttpListenerBuilder>
{
public:
HttpListenerBuilder& configureEnterCallback(http::H... | 32.923077 | 96 | 0.620717 | mr-cn |
83a80d6a3de3738253f89231fa5ed65d803f222c | 1,273 | cpp | C++ | cpp/problem067.cpp | curtislb/ProjectEuler | 7baf8d7b7ac0e8697d4dec03458b473095a45da4 | [
"MIT"
] | null | null | null | cpp/problem067.cpp | curtislb/ProjectEuler | 7baf8d7b7ac0e8697d4dec03458b473095a45da4 | [
"MIT"
] | null | null | null | cpp/problem067.cpp | curtislb/ProjectEuler | 7baf8d7b7ac0e8697d4dec03458b473095a45da4 | [
"MIT"
] | null | null | null | /*
* problem067.cpp
*
* Problem 67: Maximum path sum II
*
* By starting at the top of the triangle below and moving to adjacent numbers
* on the row below, the maximum total from top to bottom is 23.
*
* 3
* 7 4
* 2 4 6
* 8 5 9 3
*
* That is, 3 + 7 + 4 + 9 = 23.
*
* Find the maximu... | 27.085106 | 79 | 0.595444 | curtislb |
83a862224907608ff44f9777f127ed24abdaa333 | 583 | cpp | C++ | project3D/main.cpp | deadglow/AIE-bootstrap-pathfinding | 158ee426f896413d47293f3803a1a7aae687da21 | [
"MIT"
] | 1 | 2022-02-16T20:45:04.000Z | 2022-02-16T20:45:04.000Z | project3D/main.cpp | deadglow/AIE-bootstrap-pathfinding | 158ee426f896413d47293f3803a1a7aae687da21 | [
"MIT"
] | null | null | null | project3D/main.cpp | deadglow/AIE-bootstrap-pathfinding | 158ee426f896413d47293f3803a1a7aae687da21 | [
"MIT"
] | null | null | null | //----------------------------------------------------------------------------
// This is the entry-point for your game.
// Creates and runs the Application3D class which contains the game loop.
//----------------------------------------------------------------------------
#include <crtdbg.h>
#include "Game3D.h"
int m... | 25.347826 | 78 | 0.511149 | deadglow |
83afa5c4e1a850e5b60637ab9a5ca4b88f9e1e75 | 367 | cpp | C++ | src/main/cpp/miscar/Log.cpp | MisCar/libmiscar | b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2 | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/miscar/Log.cpp | MisCar/libmiscar | b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2 | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/miscar/Log.cpp | MisCar/libmiscar | b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) MisCar 1574
#include "miscar/Log.h"
#include <networktables/NetworkTableInstance.h>
#include <frc/Errors.h>
void miscar::log::Warning(const std::string& message) {
FRC_ReportError(frc::err::Error, "[MisCar] {}", message);
}
void miscar::log::Error(const std::string& message) {
FRC_ReportError(... | 22.9375 | 62 | 0.697548 | MisCar |
83b0c94bfd73bc3ee43ccde95f849830e4779402 | 1,246 | hpp | C++ | libs/core/include/fcppt/container/map_values_ref.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/container/map_values_ref.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/container/map_values_ref.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_CONTAINER_MAP_VALUES_REF_HPP_INCLUDED
#define FCPPT_CONTAINER_MAP_VALUES_REF_HPP_INC... | 17.8 | 144 | 0.699037 | pmiddend |
83b6f1b38fb302d7e00efb4714bb7c74ce46d811 | 86,312 | inl | C++ | src/fonts/stb_font_consolas_bold_22_latin_ext.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | 3 | 2018-03-13T12:51:57.000Z | 2021-10-11T11:32:17.000Z | src/fonts/stb_font_consolas_bold_22_latin_ext.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | src/fonts/stb_font_consolas_bold_22_latin_ext.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | // Font generated by stb_font_inl_generator.c (4/1 bpp)
//
// Following instructions show how to use the only included font, whatever it is, in
// a generic way so you can replace it with any other font by changing the include.
// To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_consolas_bold_22_la... | 69.382637 | 137 | 0.792207 | stetre |
83b83caebab3394ba74f0376bb93f29a34852ef6 | 2,502 | cpp | C++ | common/WhirlyGlobeLib/src/Lighting.cpp | uCiC-app/WhirlyGlobe-3 | 399fa89a7c00db3f7fed08968e1c3692bba25d7c | [
"Apache-2.0"
] | 11 | 2020-01-03T09:17:59.000Z | 2020-10-12T21:42:42.000Z | common/WhirlyGlobeLib/src/Lighting.cpp | uCiC-app/WhirlyGlobe-3 | 399fa89a7c00db3f7fed08968e1c3692bba25d7c | [
"Apache-2.0"
] | 36 | 2020-01-08T07:52:20.000Z | 2020-11-16T23:49:39.000Z | common/WhirlyGlobeLib/src/Lighting.cpp | uCiC-app/WhirlyGlobe-3 | 399fa89a7c00db3f7fed08968e1c3692bba25d7c | [
"Apache-2.0"
] | 9 | 2020-01-08T06:04:48.000Z | 2021-07-21T13:14:27.000Z | /*
* Lighting.cpp
* WhirlyGlobeLib
*
* Created by jmnavarro
* Copyright 2011-2019 mousebird consulting.
*
* 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.o... | 28.431818 | 97 | 0.707834 | uCiC-app |
83bee7b50861ab838211689007ad8ca46649910e | 326 | cpp | C++ | Dumping.cpp | pOri0n/Astrix3 | 49cf86b3af0fd0116b5cc9f64d8ae9886fcbcecf | [
"MIT"
] | 8 | 2017-06-07T09:55:37.000Z | 2019-01-15T18:59:06.000Z | Dumping.cpp | pOri0n/Astrix3 | 49cf86b3af0fd0116b5cc9f64d8ae9886fcbcecf | [
"MIT"
] | null | null | null | Dumping.cpp | pOri0n/Astrix3 | 49cf86b3af0fd0116b5cc9f64d8ae9886fcbcecf | [
"MIT"
] | 2 | 2017-06-08T22:23:08.000Z | 2019-12-25T00:13:05.000Z |
#include "Dumping.h"
#define DUMPIDTOFILE
void Dump::DumpClassIds()
{
#ifdef DUMPIDTOFILE
Utilities::EnableLogFile("ClassID.txt");
#endif
ClientClass* cClass = Interfaces::Client->GetAllClasses();
while (cClass)
{
Utilities::Log("%s = %d,", cClass->m_pNetworkName, cClass->m_ClassID);
cClass = cClass->m_pNext... | 19.176471 | 72 | 0.711656 | pOri0n |
83c0ad87bdb0d12683a67e4df21dbaba578e230b | 6,333 | cpp | C++ | src/platform/vulkan/image.cpp | PedroSFreire/LiftPR.Version | 61e8e135335e3c4def80f345548620db95f1662d | [
"BSD-3-Clause"
] | 30 | 2019-07-24T09:58:22.000Z | 2021-09-03T08:20:22.000Z | src/platform/vulkan/image.cpp | PedroSFreire/LiftPR.Version | 61e8e135335e3c4def80f345548620db95f1662d | [
"BSD-3-Clause"
] | 15 | 2020-06-20T13:20:50.000Z | 2021-04-26T16:05:33.000Z | src/platform/vulkan/image.cpp | PedroSFreire/LiftPR.Version | 61e8e135335e3c4def80f345548620db95f1662d | [
"BSD-3-Clause"
] | 5 | 2020-06-17T08:38:34.000Z | 2021-09-08T22:14:02.000Z |
#include "image.h"
#include "buffer.h"
#include "depth_buffer.h"
#include "device.h"
#include "single_time_commands.h"
#include "vulkan/vulkan.hpp"
namespace vulkan {
Image::Image(const class Device& device, const VkExtent2D extent, const VkFormat format) :
Image(device,
extent,
format,
... | 38.852761 | 120 | 0.707406 | PedroSFreire |
83cabcb8793c45be6e820790d905f9b5aa7e5339 | 11,520 | cpp | C++ | FlowchartEditor/FlowchartLinkableLineSegment.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | null | null | null | FlowchartEditor/FlowchartLinkableLineSegment.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | 33 | 2018-09-14T21:58:20.000Z | 2022-01-12T21:39:22.000Z | FlowchartEditor/FlowchartLinkableLineSegment.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | null | null | null | /* ==========================================================================
CFlowchartLinkableLineSegment
Author : Johan Rosengren, Abstrakt Mekanik AB
Date : 2004-04-29
Purpose : CFlowchartLinkableLineSegment is a CFlowchartEntity-
derived class, representing a line that can be linked
to other C... | 26.241458 | 107 | 0.59375 | pmachapman |
83cba6e15b084962e05c5549797891c18e752cf0 | 1,075 | hpp | C++ | Hypothesis-checker/argument_handler.hpp | novotnyt94/Hypothesis-checker | 6c539ad748cf8771b9b73943363d6e32232f2df8 | [
"MIT"
] | null | null | null | Hypothesis-checker/argument_handler.hpp | novotnyt94/Hypothesis-checker | 6c539ad748cf8771b9b73943363d6e32232f2df8 | [
"MIT"
] | null | null | null | Hypothesis-checker/argument_handler.hpp | novotnyt94/Hypothesis-checker | 6c539ad748cf8771b9b73943363d6e32232f2df8 | [
"MIT"
] | null | null | null | #ifndef ARGUMENT_HANDLER_
#define ARGUMENT_HANDLER_
#include "errors.hpp"
#include <string>
namespace cube {
/* Parses arguments passed to the program. */
class argument_handler {
public:
/* Parses the arguments. */
static void parse_args(int argc, char ** argv);
//Whether input file was select... | 22.87234 | 62 | 0.717209 | novotnyt94 |
83d1cbe8f1dc8cbdcf2d16d341aa538468ac8594 | 2,045 | cpp | C++ | Game/Source/GDKTestGyms/Private/AsyncPlayerController.cpp | sang-tian/UnrealGDKTestGyms | f68f71c99d35dc2a442845b1bcb84501342d482a | [
"MIT"
] | 9 | 2019-12-06T16:52:16.000Z | 2021-01-04T22:25:46.000Z | Game/Source/GDKTestGyms/Private/AsyncPlayerController.cpp | sang-tian/UnrealGDKTestGyms | f68f71c99d35dc2a442845b1bcb84501342d482a | [
"MIT"
] | 250 | 2019-10-23T13:56:54.000Z | 2021-12-14T17:01:23.000Z | Game/Source/GDKTestGyms/Private/AsyncPlayerController.cpp | sang-tian/UnrealGDKTestGyms | f68f71c99d35dc2a442845b1bcb84501342d482a | [
"MIT"
] | 9 | 2020-01-13T10:54:15.000Z | 2021-12-20T07:28:09.000Z | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "AsyncPlayerController.h"
#include "EngineUtils.h"
#include "SpatialGDKSettings.h"
#include "AsyncActorSpawner.h"
AAsyncPlayerController::AAsyncPlayerController()
{
}
void AAsyncPlayerController::BeginPlay()
{
Super::BeginPlay();
if (GetWorl... | 27.266667 | 157 | 0.74621 | sang-tian |
83d2cfac3c21be8b58da35c6640d34085576ebff | 503 | cpp | C++ | 2-Structural/11.Flyweight/src/Flyweight/Player.cpp | gfa99/gof_design_patterns | a33ee7f344f8e382bb9fc676b77b22a5a123bca0 | [
"Apache-2.0"
] | 21 | 2017-11-08T11:32:48.000Z | 2021-03-29T08:58:04.000Z | 2-Structural/11.Flyweight/src/Flyweight/Player.cpp | gfa99/gof_design_patterns | a33ee7f344f8e382bb9fc676b77b22a5a123bca0 | [
"Apache-2.0"
] | null | null | null | 2-Structural/11.Flyweight/src/Flyweight/Player.cpp | gfa99/gof_design_patterns | a33ee7f344f8e382bb9fc676b77b22a5a123bca0 | [
"Apache-2.0"
] | 8 | 2017-11-26T13:57:50.000Z | 2021-08-23T06:52:57.000Z | #include <iostream>
#include "Flyweight/Player.h"
namespace GoF {
namespace Flyweight {
Player::Player()
: AbstractItem('$')
{
std::cout << "\nCreating a Player .." << std::endl;
}
void Player::display(const Point & point)
{
std::cout <... | 20.958333 | 67 | 0.465209 | gfa99 |
83d5880633fca24815d45aebe820075d1a91666b | 3,217 | cpp | C++ | src/number_conversion_utils.cpp | william01110111/wmwwStatusline | 658ae739e45694bfad201aa33eb2aceecef10195 | [
"WTFPL"
] | 1 | 2021-11-11T03:43:32.000Z | 2021-11-11T03:43:32.000Z | src/number_conversion_utils.cpp | william01110111/wmwwStatusline | 658ae739e45694bfad201aa33eb2aceecef10195 | [
"WTFPL"
] | null | null | null | src/number_conversion_utils.cpp | william01110111/wmwwStatusline | 658ae739e45694bfad201aa33eb2aceecef10195 | [
"WTFPL"
] | null | null | null | #include "number_conversion_utils.h"
#include <math.h>
using std::min;
using std::max;
// const string fixedWidthSpace = "\xe3\x80\x80"; // Full width space
const string fixedWidthSpace = "\x20"; // ASCII space
// const string fixedWidthSpace = "\x20\x20"; // 2 ASCII spaces
string intToString(int in)
{
string out;
... | 18.703488 | 104 | 0.539633 | william01110111 |
83d8a1e4e797244b84ad7fff3fea86eca617b199 | 339 | hpp | C++ | y2018/filters/mergeFinalWindows.hpp | valkyrierobotics/vision2018 | aa82e936c5481b7cc43a46ff5f6e68702c2166c2 | [
"BSD-2-Clause"
] | 2 | 2016-08-06T06:21:02.000Z | 2017-01-10T05:45:13.000Z | y2018/filters/mergeFinalWindows.hpp | valkyrierobotics/vision2018 | aa82e936c5481b7cc43a46ff5f6e68702c2166c2 | [
"BSD-2-Clause"
] | 1 | 2017-04-15T20:54:59.000Z | 2017-04-15T20:54:59.000Z | y2018/filters/mergeFinalWindows.hpp | valkyrierobotics/vision2018 | aa82e936c5481b7cc43a46ff5f6e68702c2166c2 | [
"BSD-2-Clause"
] | 3 | 2016-07-30T06:19:55.000Z | 2017-02-07T01:55:05.000Z | #ifndef MERGE_FINAL_WINDOWS_HPP
#define MERGE_FINAL_WINDOWS_HPP
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "mergeFinal.hpp"
void mergeFinalWindows(cv::Mat& img1, cv::Mat& img2, int& weight1, int& weight2, int& apply, bool visible, const bool isStreaming);
#endif // MERGE... | 28.25 | 131 | 0.784661 | valkyrierobotics |
83e148a164441ac3f8147d90b99d9abf2f5de0be | 4,624 | cxx | C++ | Modules/Core/Common/test/otbRGBAPixelConverter.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | 2 | 2019-02-13T14:48:19.000Z | 2019-12-03T02:54:28.000Z | Modules/Core/Common/test/otbRGBAPixelConverter.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | 3 | 2015-10-14T10:11:38.000Z | 2015-10-15T08:26:23.000Z | Modules/Core/Common/test/otbRGBAPixelConverter.cxx | CS-SI/OTB | 5926aca233ff8a0fb11af1a342a6f5539cd5e376 | [
"Apache-2.0"
] | 2 | 2015-10-08T12:04:06.000Z | 2018-06-19T08:00:47.000Z | /*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 37.593496 | 105 | 0.658737 | lfyater |
83e4c4f670cddc19f5905c689f507838288a762f | 6,366 | cc | C++ | src/optimizer.cc | RobertBendun/stacky | f61622e35c8bd07533cb198573e355e556cd8057 | [
"BSL-1.0"
] | 3 | 2021-09-14T14:22:00.000Z | 2021-09-29T20:04:40.000Z | src/optimizer.cc | RobertBendun/stacky | f61622e35c8bd07533cb198573e355e556cd8057 | [
"BSL-1.0"
] | 58 | 2021-09-14T22:20:28.000Z | 2021-11-24T17:37:42.000Z | src/optimizer.cc | RobertBendun/stacky | f61622e35c8bd07533cb198573e355e556cd8057 | [
"BSL-1.0"
] | null | null | null | #include "stacky.hh"
#include "utilities.cc"
namespace optimizer
{
auto for_all_functions(Generation_Info &geninfo, auto &&iteration)
{
bool result = callv(iteration, false, geninfo, geninfo.main);
for (auto &[name, word] : geninfo.words)
if (word.kind == Word::Kind::Function)
result |= callv(iteration, ... | 37.447059 | 137 | 0.672636 | RobertBendun |
83e79f66ac0b12fe1bae71bf032824027513d05e | 7,371 | cpp | C++ | src/openms/source/ANALYSIS/MAPMATCHING/TransformationModel.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/MAPMATCHING/TransformationModel.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/MAPMATCHING/TransformationModel.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 36.671642 | 154 | 0.625017 | liangoaix |
83e942a3070b9a42cce922527ab8e45882cc245a | 774 | hpp | C++ | libs/fnd/units/include/bksge/fnd/units/luminance.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/units/include/bksge/fnd/units/luminance.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/units/include/bksge/fnd/units/luminance.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file luminance.hpp
*
* @brief luminance の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_UNITS_LUMINANCE_HPP
#define BKSGE_FND_UNITS_LUMINANCE_HPP
#include <bksge/fnd/units/candela.hpp>
#include <bksge/fnd/units/metre.hpp>
namespace bksge
{
namespace units
{
// カンデラ毎平方メートル(輝度の単位)
te... | 24.1875 | 106 | 0.736434 | myoukaku |
83ea7200763af9ed99e49f10e502767a9429f83e | 562 | tpp | C++ | src/algorithms/rem_factorial.tpp | adienes/remainder-tree | 0aa76214ab6f2a4389ec45a239ea660749989a90 | [
"MIT"
] | null | null | null | src/algorithms/rem_factorial.tpp | adienes/remainder-tree | 0aa76214ab6f2a4389ec45a239ea660749989a90 | [
"MIT"
] | null | null | null | src/algorithms/rem_factorial.tpp | adienes/remainder-tree | 0aa76214ab6f2a4389ec45a239ea660749989a90 | [
"MIT"
] | null | null | null | #include "intermediate_computation.hpp"
#include "utils.hpp"
#include <NTL/ZZ_pX.h>
#include <NTL/matrix.h>
#include "../elements/element.hpp"
template <typename T, typename U>
T calculate_factorial(long n, const U& m, const std::function<std::vector<T> (long, long)>& get_A, const PolyMatrix& formula) {
// retu... | 24.434783 | 127 | 0.690391 | adienes |
83ef47cb67d5d2858e9270db4657e948d7c23a43 | 4,676 | cpp | C++ | applications/RANSApplication/tests/cpp/test_incompressible_potential_flow_elements.cpp | Rodrigo-Flo/Kratos | f718cae5d1618e9c0e7ed1da9e95b7a853e62b1b | [
"BSD-4-Clause"
] | null | null | null | applications/RANSApplication/tests/cpp/test_incompressible_potential_flow_elements.cpp | Rodrigo-Flo/Kratos | f718cae5d1618e9c0e7ed1da9e95b7a853e62b1b | [
"BSD-4-Clause"
] | null | null | null | applications/RANSApplication/tests/cpp/test_incompressible_potential_flow_elements.cpp | Rodrigo-Flo/Kratos | f718cae5d1618e9c0e7ed1da9e95b7a853e62b1b | [
"BSD-4-Clause"
] | null | null | null | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Suneth Warnakulasuriya
//
// ... | 30.763158 | 108 | 0.705731 | Rodrigo-Flo |
83f0d45d0ba843ab8068a5b4a75942ed18d3f1d4 | 979 | cpp | C++ | lib/IR/Compute/Constant.cpp | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 450 | 2018-08-03T08:17:03.000Z | 2022-03-17T17:21:06.000Z | lib/IR/Compute/Constant.cpp | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 104 | 2018-08-13T07:31:50.000Z | 2021-08-24T11:24:40.000Z | lib/IR/Compute/Constant.cpp | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 100 | 2018-08-12T04:27:39.000Z | 2022-03-11T04:17:42.000Z | //===- Constant.cpp -------------------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <onnc/IR/Compute/Constant.h>
using namespace onnc;
char Co... | 24.475 | 80 | 0.429009 | LiuLeif |
83f847fa7fe4024bdecfb4935a3d5009c54a99bd | 2,398 | cpp | C++ | code/source/visual/model.cpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | 12 | 2015-01-12T00:19:20.000Z | 2021-08-05T10:47:20.000Z | code/source/visual/model.cpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | code/source/visual/model.cpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | #include "global/env.hpp"
#include "model.hpp"
#include "resources/cache.hpp"
#include "visual/material.hpp"
#include "visual/mesh.hpp"
namespace clover {
namespace visual {
Model::Model():
material(0),
mesh(0),
INIT_RESOURCE_ATTRIBUTE(nameAttribute, "name", ""),
INIT_RESOURCE_ATTRIBUTE(materialAttribute, "ma... | 26.065217 | 93 | 0.711843 | crafn |
83fcd2d527818526288762d92bd540fac0a5db71 | 2,116 | cpp | C++ | src/asynclock/asynclock.cpp | Damdoshi/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 38 | 2016-07-30T09:35:19.000Z | 2022-03-04T10:13:48.000Z | src/asynclock/asynclock.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 15 | 2017-02-12T19:20:52.000Z | 2021-06-09T09:30:52.000Z | src/asynclock/asynclock.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 12 | 2016-10-06T09:06:59.000Z | 2022-03-04T10:14:00.000Z | // Jason Brillante "Damdoshi"
// Hanged Bunny Studio 2014-2018
//
// Lapin library
#include "lapin_private.h"
static int remove_dead_trap(struct bunny_trap **trap,
t_bunny_call_order order)
{
struct bunny_trap *lst;
struct bunny_trap *nxt;
int cnt;
cnt = 0;
for (lst = *trap; lst != NULL; )
if... | 23.511111 | 73 | 0.628544 | Damdoshi |
860e1cc06467099493d564854fe7a31e7945a20d | 20,277 | cpp | C++ | src/idocr.cpp | najlepsiwebdesigner/opencv-lab | 397711129c675958c3d612a8213b53b74e909702 | [
"Unlicense"
] | null | null | null | src/idocr.cpp | najlepsiwebdesigner/opencv-lab | 397711129c675958c3d612a8213b53b74e909702 | [
"Unlicense"
] | null | null | null | src/idocr.cpp | najlepsiwebdesigner/opencv-lab | 397711129c675958c3d612a8213b53b74e909702 | [
"Unlicense"
] | null | null | null | #include "idocr.h"
using namespace cv;
using namespace std;
string idOCR::cutoutPath = "";
idOCR::idOCR()
{
tesseract::TessBaseAPI *api = new tesseract::TessBaseAPI();
}
idOCR::~idOCR()
{
}
void idOCR::saveImage(string fileName, const Mat & image){
if (fileName.length() < 1) return;
imwrite(file... | 33.132353 | 218 | 0.532179 | najlepsiwebdesigner |
86137e5b7b498285a0bd2b289263849584c247b2 | 1,545 | hpp | C++ | Source/ImGui DirectX 11 Kiero Hook/cfg.hpp | 1hAck-0/UE4-Cheat-Source-Code | 7686193399158a0daab8ae07332451cc674a33c6 | [
"CC0-1.0"
] | 17 | 2022-01-08T20:26:30.000Z | 2022-03-21T14:09:42.000Z | Source/ImGui DirectX 11 Kiero Hook/cfg.hpp | 1hAck-0/UE4-Cheat-Source-Code | 7686193399158a0daab8ae07332451cc674a33c6 | [
"CC0-1.0"
] | 1 | 2022-01-11T21:53:16.000Z | 2022-02-15T16:33:37.000Z | Source/ImGui DirectX 11 Kiero Hook/cfg.hpp | 1hAck-0/UE4-Cheat-Source-Code | 7686193399158a0daab8ae07332451cc674a33c6 | [
"CC0-1.0"
] | 2 | 2022-01-09T11:12:07.000Z | 2022-01-14T17:27:45.000Z | #include <Windows.h>
struct cfg_Exploits_t
{
bool bInfiniteHealth = false;
bool bInfiniteAmmo = false;
bool bNoSpread = false;
bool bNoClip = false;
USHORT noClipKey = 0;
bool bFlyHack = false;
USHORT flyKey = 0;
bool bSpeedHack = false;
float speed = 3000.f;
bool bSuperJump = false;
float jumpHeight =... | 16.612903 | 62 | 0.697087 | 1hAck-0 |
861c0afd7637ac2c073fea8bbd099c9490acb861 | 878 | cc | C++ | stage2/tareeq/control/test/unicycle_driver_test.cc | aboarya/unicyle-kinematics | dfbb1090bf112079d0a1b5c629718999681515bb | [
"MIT"
] | null | null | null | stage2/tareeq/control/test/unicycle_driver_test.cc | aboarya/unicyle-kinematics | dfbb1090bf112079d0a1b5c629718999681515bb | [
"MIT"
] | null | null | null | stage2/tareeq/control/test/unicycle_driver_test.cc | aboarya/unicyle-kinematics | dfbb1090bf112079d0a1b5c629718999681515bb | [
"MIT"
] | null | null | null | #include <string>
#include <unordered_map>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "../unicycle_driver.h"
#include "tareeq/mocks/motor.h"
#include "tareeq/mocks/sensor.h"
#include "tareeq/mocks/state.h"
namespace tareeq {
namespace control {
using namespace tareeq::mocks;
class Un... | 19.086957 | 52 | 0.627563 | aboarya |
8629734fcfd04b2f01c228d0e80973ce1f4cf90d | 323 | cpp | C++ | Codeforces/A/Fox And Snake.cpp | AkibHossainOmi/Solving-Online-Judge-Problem | ae2f7685f7a0df3438607498c38de01742fe7240 | [
"MIT"
] | 1 | 2022-01-30T05:20:36.000Z | 2022-01-30T05:20:36.000Z | Codeforces/A/Fox And Snake.cpp | AkibHossainOmi/Solving-Online-Judge-Problem | ae2f7685f7a0df3438607498c38de01742fe7240 | [
"MIT"
] | null | null | null | Codeforces/A/Fox And Snake.cpp | AkibHossainOmi/Solving-Online-Judge-Problem | ae2f7685f7a0df3438607498c38de01742fe7240 | [
"MIT"
] | null | null | null | #include<stdio.h>
int main()
{
int m,n,i,j,r;
scanf("%d %d",&m,&n);
for(i=1;i<=m;i++)
{
for(j=1;j<=n;j++)
{
if(i%2==0&&i%4!=0&&j!=n) printf(".");
else if(i%4==0&&j!=1) printf(".");
else printf("#");
}
printf("\n");
}
... | 19 | 50 | 0.318885 | AkibHossainOmi |
862c334e725df615f51db8ed8870724ea5982cb3 | 551 | hpp | C++ | Axis/Renderer/Include/Axis/RendererExport.hpp | SimmyPeet/Axis | a58c073d13f74d0224fbfca34a4dcd4b9d0c6726 | [
"Apache-2.0"
] | 1 | 2022-01-23T14:51:51.000Z | 2022-01-23T14:51:51.000Z | Axis/Renderer/Include/Axis/RendererExport.hpp | SimmyPeet/Axis | a58c073d13f74d0224fbfca34a4dcd4b9d0c6726 | [
"Apache-2.0"
] | null | null | null | Axis/Renderer/Include/Axis/RendererExport.hpp | SimmyPeet/Axis | a58c073d13f74d0224fbfca34a4dcd4b9d0c6726 | [
"Apache-2.0"
] | 1 | 2022-01-10T21:01:54.000Z | 2022-01-10T21:01:54.000Z | /// \copyright Simmypeet - Copyright (C)
/// This file is subject to the terms and conditions defined in
/// file `LICENSE`, which is part of this source code package.
#ifndef AXIS_RENDERER_RENDEREREXPORT_HPP
#define AXIS_RENDERER_RENDEREREXPORT_HPP
#pragma once
#include "../../../System/Include... | 25.045455 | 74 | 0.740472 | SimmyPeet |
862c896fcc9f082a8175468d51ee681e60687869 | 8,521 | cc | C++ | src/compiler/table_gen.cc | chzchzchz/fsl | 2df9e4422995f58e719e730c8974ea77c5196bc6 | [
"MIT"
] | 1 | 2019-01-02T18:38:28.000Z | 2019-01-02T18:38:28.000Z | src/compiler/table_gen.cc | chzchzchz/fsl | 2df9e4422995f58e719e730c8974ea77c5196bc6 | [
"MIT"
] | 1 | 2015-04-21T21:38:57.000Z | 2015-10-27T01:26:29.000Z | src/compiler/table_gen.cc | chzchzchz/fsl | 2df9e4422995f58e719e730c8974ea77c5196bc6 | [
"MIT"
] | null | null | null | /* generates tables that tools will use to work with data. */
#include <iostream>
#include <string>
#include <map>
#include <typeinfo>
#include "util.h"
#include "struct_writer.h"
#include "AST.h"
#include "type.h"
#include "func.h"
#include "symtab.h"
#include "eval.h"
#include "points.h"
#include "asserts.h"
#inclu... | 23.868347 | 70 | 0.69405 | chzchzchz |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.