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 108 | 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 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ccf999aef5203dc8bdba0d4243ce1e28ed9b4280 | 11,726 | cpp | C++ | CppSimShared/Sue2/src/check_dependencies_or_name_clashes.cpp | silicon-vlsi-org/eda-sue2Plus | 83a2afa9c80308d5afe07a3fa0214d8412addb6d | [
"MIT"
] | 1 | 2021-05-30T13:27:33.000Z | 2021-05-30T13:27:33.000Z | CppSimShared/Sue2/src/check_dependencies_or_name_clashes.cpp | silicon-vlsi-org/eda-sue2Plus | 83a2afa9c80308d5afe07a3fa0214d8412addb6d | [
"MIT"
] | null | null | null | CppSimShared/Sue2/src/check_dependencies_or_name_clashes.cpp | silicon-vlsi-org/eda-sue2Plus | 83a2afa9c80308d5afe07a3fa0214d8412addb6d | [
"MIT"
] | null | null | null | #include "sue2_common_code.h"
int mark_dependent_modules(MODULE *first_module, char *module_name,
char *library_name, int check_library_flag);
int mark_name_clash_modules(MODULE *first_module, char *module_name,
char *library_name, int check_library_flag);
main(int argc,char *... | 31.606469 | 137 | 0.540338 | silicon-vlsi-org |
ccfc2c408f306a3715ce963f622879a8cbac6bde | 853 | cpp | C++ | tools/dae2sim/source/export_camera.cpp | funZX/game-sdk | 6d6cee60a1a63b5b6b3f1e9c4664ed9ed791a767 | [
"MIT"
] | 5 | 2018-11-05T12:40:53.000Z | 2020-09-05T11:37:14.000Z | tools/dae2sim/source/export_camera.cpp | funZX/game-sdk | 6d6cee60a1a63b5b6b3f1e9c4664ed9ed791a767 | [
"MIT"
] | null | null | null | tools/dae2sim/source/export_camera.cpp | funZX/game-sdk | 6d6cee60a1a63b5b6b3f1e9c4664ed9ed791a767 | [
"MIT"
] | null | null | null | #include <iostream>
#include <dae.h>
#include <render/scene/sim_camera.h>
#include "dae2sim.h"
int export_camera(daeScene& scene, daeElement* elem, const std::string& path)
{
int status = 0;
auto perspective = ((domCamera*)elem)->getOptics()->getTechnique_common()->getPerspective();
sim::io::CMemStream... | 25.848485 | 96 | 0.665885 | funZX |
ccfd666127dec64f2c71cb225434a550569d218d | 2,085 | cpp | C++ | Striver Sheet/Day-15/Roman to Integer.cpp | Akshad7829/DataStructures-Algorithms | 439822c6a374672d1734e2389d3fce581a35007d | [
"MIT"
] | 5 | 2021-08-10T18:47:49.000Z | 2021-08-21T15:42:58.000Z | Striver Sheet/Day-15/Roman to Integer.cpp | Akshad7829/DataStructures-Algorithms | 439822c6a374672d1734e2389d3fce581a35007d | [
"MIT"
] | 2 | 2022-02-25T13:36:46.000Z | 2022-02-25T14:06:44.000Z | Striver Sheet/Day-15/Roman to Integer.cpp | Akshad7829/DataStructures-Algorithms | 439822c6a374672d1734e2389d3fce581a35007d | [
"MIT"
] | 1 | 2021-08-11T06:36:42.000Z | 2021-08-11T06:36:42.000Z | /*
Roman to Integer
================
Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.
Symbol Value
I 1
V 5
X 10
L 50
C 100
D 500
M 1000
For example, 2 is written as II in Roman numeral, just two... | 24.529412 | 345 | 0.568345 | Akshad7829 |
6901fef899b4f3ebe16f6cecf70147d09a0e11c7 | 872 | cpp | C++ | src/main.cpp | pamelus/air-conditioning-sensor | 8d575d9cbf9a993d26437bd71addd114b07a689c | [
"MIT"
] | null | null | null | src/main.cpp | pamelus/air-conditioning-sensor | 8d575d9cbf9a993d26437bd71addd114b07a689c | [
"MIT"
] | null | null | null | src/main.cpp | pamelus/air-conditioning-sensor | 8d575d9cbf9a993d26437bd71addd114b07a689c | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include "Controller/RemoteCommandExecutor.h"
#include "Controller/SensorController.h"
#define INDOOR 1
#define OUTDOOR 2
#define VARIANT OUTDOOR
ACC::Controller::RemoteCommand::Radio radio(Serial, 2);
ACC::Controller::RemoteCommand::Executor executor(radio);
#if VARIANT == OUTDOOR
#include ... | 24.914286 | 89 | 0.719037 | pamelus |
69051f1bc346206245819cbde0299aa3875036de | 657 | cpp | C++ | modules/algorithm/test/test_pca.cpp | ljm941004/HYPERCV_PUBLIC | aef4f392ed0136284409c3e2d750a7812e4a5e35 | [
"BSD-3-Clause"
] | 8 | 2019-08-16T00:38:02.000Z | 2021-12-05T10:24:44.000Z | modules/algorithm/test/test_pca.cpp | mafu0927/HYPERCV_PUBLIC | aef4f392ed0136284409c3e2d750a7812e4a5e35 | [
"BSD-3-Clause"
] | null | null | null | modules/algorithm/test/test_pca.cpp | mafu0927/HYPERCV_PUBLIC | aef4f392ed0136284409c3e2d750a7812e4a5e35 | [
"BSD-3-Clause"
] | 5 | 2019-07-23T07:28:29.000Z | 2021-01-14T01:27:48.000Z | /*************************************************************************
> File Name: test_pca.cpp
> Author: ljm
> Mail: jimin@iscas.ac.cn
************************************************************************/
#include "precomp.h"
using namespace std;
void test_pca()
{
hyper_mat t = hmread_with_hdr("/hom... | 23.464286 | 95 | 0.567732 | ljm941004 |
69060246c3450242cb7b3fe7d659180d0b31f87f | 4,947 | hpp | C++ | glfw3_app/basic/buff.hpp | hirakuni45/glfw3_app | d9ceeef6d398229fda4849afe27f8b48d1597fcf | [
"BSD-3-Clause"
] | 9 | 2015-09-22T21:36:57.000Z | 2021-04-01T09:16:53.000Z | glfw3_app/basic/buff.hpp | hirakuni45/glfw3_app | d9ceeef6d398229fda4849afe27f8b48d1597fcf | [
"BSD-3-Clause"
] | null | null | null | glfw3_app/basic/buff.hpp | hirakuni45/glfw3_app | d9ceeef6d398229fda4849afe27f8b48d1597fcf | [
"BSD-3-Clause"
] | 2 | 2019-02-21T04:22:13.000Z | 2021-03-02T17:24:32.000Z | #pragma once
//=====================================================================//
/*! @file
@brief バッファ・クラス
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include <cstdint>
#include <cstring>
namespace utils {
//++++++++++++++++++++++... | 25.632124 | 74 | 0.269658 | hirakuni45 |
69060b751d85cbd7f0cc8d4a8de6e7a82581cbc7 | 6,374 | cc | C++ | app/webrtc/datachannel_unittest.cc | MIPS/external-chromium_org-third_party-libjingle-source-talk | 06a093c73d10bd918baa95312974108bf37b54b4 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | app/webrtc/datachannel_unittest.cc | MIPS/external-chromium_org-third_party-libjingle-source-talk | 06a093c73d10bd918baa95312974108bf37b54b4 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | app/webrtc/datachannel_unittest.cc | MIPS/external-chromium_org-third_party-libjingle-source-talk | 06a093c73d10bd918baa95312974108bf37b54b4 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /*
* libjingle
* Copyright 2013, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 39.590062 | 80 | 0.716505 | MIPS |
690b6fd778dfc86c2844bcd080fae500003a4916 | 9,746 | hpp | C++ | dakota-6.3.0.Windows.x86/include/GeneticAlgorithmFitnessAssessor.hpp | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | null | null | null | dakota-6.3.0.Windows.x86/include/GeneticAlgorithmFitnessAssessor.hpp | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | null | null | null | dakota-6.3.0.Windows.x86/include/GeneticAlgorithmFitnessAssessor.hpp | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | 1 | 2022-03-18T14:13:14.000Z | 2022-03-18T14:13:14.000Z | /*
================================================================================
PROJECT:
John Eddy's Genetic Algorithms (JEGA)
CONTENTS:
Definition of class GeneticAlgorithmFitnessAssessor
NOTES:
See notes under section "Class Definition" of this file.
PROGRAMMERS:
... | 25.053985 | 80 | 0.392058 | seakers |
690ffb58765268a0e98fa37aae7940cff157c9e1 | 119,971 | cpp | C++ | llvm-2.9/tools/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | llvm-2.9/tools/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | llvm-2.9/tools/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | // CFRefCount.cpp - Transfer functions for tracking simple values -*- C++ -*--//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 34.08267 | 85 | 0.612148 | vidkidz |
69100de5493137e39ee16ecd006db0b80cb7b856 | 2,369 | cpp | C++ | backend/Monopoly/websock/service/connpool.cpp | szedenik-adam/monopoly | 3de807caeb43da102a81da2c7aeec93ef6a2cd50 | [
"MIT"
] | null | null | null | backend/Monopoly/websock/service/connpool.cpp | szedenik-adam/monopoly | 3de807caeb43da102a81da2c7aeec93ef6a2cd50 | [
"MIT"
] | null | null | null | backend/Monopoly/websock/service/connpool.cpp | szedenik-adam/monopoly | 3de807caeb43da102a81da2c7aeec93ef6a2cd50 | [
"MIT"
] | 1 | 2021-09-19T00:20:21.000Z | 2021-09-19T00:20:21.000Z | #include "connpool.h"
static struct event_base *base = NULL;
static evconnlistener *listener = NULL;
vector<WSAuth*> sessions;
static const uint32_t WS_REQ_ONCE_READ = 1;
//static const uint32_t MAX_WS_REQ_LEN = 10240;
//static const uint64_t MAX_MSG_LEN = 1024000;
//#define LOG(format, args...) fprintf(stdout, f... | 28.202381 | 165 | 0.726045 | szedenik-adam |
6914d22ae372dd1a6c6a7f931366d8cafbf4fb85 | 422 | cpp | C++ | Modules/Spine/Sources/UI/Spine/Private/SpineTrackEntry.cpp | stinvi/dava.engine | 2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e | [
"BSD-3-Clause"
] | 26 | 2018-09-03T08:48:22.000Z | 2022-02-14T05:14:50.000Z | Modules/Spine/Sources/UI/Spine/Private/SpineTrackEntry.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | null | null | null | Modules/Spine/Sources/UI/Spine/Private/SpineTrackEntry.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | 45 | 2018-05-11T06:47:17.000Z | 2022-02-03T11:30:55.000Z | #include "UI/Spine/Private/SpineTrackEntry.h"
#include <Debug/DVAssert.h>
#include <spine/spine.h>
namespace DAVA
{
SpineTrackEntry::SpineTrackEntry(spTrackEntry* track)
: trackPtr(track)
{
DVASSERT(trackPtr);
}
bool SpineTrackEntry::IsLoop() const
{
return trackPtr->loop != 0;
}
String SpineTrackEntry... | 17.583333 | 78 | 0.718009 | stinvi |
6917b99944ad02adb3239541ef5b7322727884ad | 1,405 | cpp | C++ | Algorithms/Sliding_Window/fixed_size/sub_arr_avg.cpp | abhishekjha786/ds_algo | 38355ca12e8ac20c4baa8baccf8ad189effaa6ae | [
"MIT"
] | 11 | 2020-03-20T17:24:28.000Z | 2022-01-08T02:43:24.000Z | Algorithms/Sliding_Window/fixed_size/sub_arr_avg.cpp | abhishekjha786/ds_algo | 38355ca12e8ac20c4baa8baccf8ad189effaa6ae | [
"MIT"
] | 1 | 2021-07-25T11:24:46.000Z | 2021-07-25T12:09:25.000Z | Algorithms/Sliding_Window/fixed_size/sub_arr_avg.cpp | abhishekjha786/ds_algo | 38355ca12e8ac20c4baa8baccf8ad189effaa6ae | [
"MIT"
] | 4 | 2020-03-20T17:24:36.000Z | 2021-12-07T19:22:59.000Z | #include<bits/stdc++.h>
using namespace std;
// Find the subarray with least average
// Input: arr[] = {3, 7, 90, 20, 10, 50, 40}, k = 3
// Output: Subarray between indexes 3 and 5
// The subarray {20, 10, 50} has the least average
// among all subarrays of size 3.
// Input: arr[] = {3, 7, 5, 20, -10, 0, 12}, k = ... | 23.032787 | 78 | 0.556584 | abhishekjha786 |
691a3829cd80d1e079ee6b8be5851a29924b51d1 | 457 | cpp | C++ | LibsExternes/Includes/lzma465/CPP/7zip/Archive/Split/SplitRegister.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | LibsExternes/Includes/lzma465/CPP/7zip/Archive/Split/SplitRegister.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | LibsExternes/Includes/lzma465/CPP/7zip/Archive/Split/SplitRegister.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | // SplitRegister.cpp
#include "StdAfx.h"
#include "../../Common/RegisterArc.h"
#include "SplitHandler.h"
static IInArchive *CreateArc() { return new NArchive::NSplit::CHandler; }
/*
#ifndef EXTRACT_ONLY
static IOutArchive *CreateArcOut() { return new NArchive::NSplit::CHandler; }
#else
#define CreateAr... | 21.761905 | 79 | 0.676149 | benkaraban |
691b25f641e13bd9afe819903b250410c4050e09 | 770 | hpp | C++ | libs/fnd/algorithm/include/bksge/fnd/algorithm/detail/binary_search.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/algorithm/include/bksge/fnd/algorithm/detail/binary_search.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/algorithm/include/bksge/fnd/algorithm/detail/binary_search.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file binary_search.hpp
*
* @brief binary_search の実装
*
* @author myoukaku
*/
#ifndef BKSGE_FND_ALGORITHM_DETAIL_BINARY_SEARCH_HPP
#define BKSGE_FND_ALGORITHM_DETAIL_BINARY_SEARCH_HPP
#include <bksge/fnd/algorithm/detail/lower_bound.hpp>
#include <bksge/fnd/config.hpp>
namespace bksge
{
... | 20.263158 | 66 | 0.732468 | myoukaku |
691e54f2c51985ef24079e3c9ba77cc7c08a2236 | 6,712 | cpp | C++ | lib/src/HOMappedGeometry/MultiBlockLevelGeom.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | null | null | null | lib/src/HOMappedGeometry/MultiBlockLevelGeom.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | null | null | null | lib/src/HOMappedGeometry/MultiBlockLevelGeom.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-04-13T19:06:43.000Z | 2021-04-13T19:06:43.000Z | #ifdef CH_LANG_CC
/*
* _______ __
* / ___/ / ___ __ _ / / ___
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
* \___/_//_/\___/_/_/_/_.__/\___/
* Please refer to Copyright.txt, in Chombo's root directory.
*/
#endif
#include "MultiBlockLevelGeom.H"
#include "BoxFixedOff.H"
#include "Namespac... | 32.901961 | 100 | 0.604589 | rmrsk |
69223569b49d94c6fa91b28ce4a1ac86aea0d3bc | 193 | cpp | C++ | src/passman/fs/is_empty.cpp | tabz1234/passman | adab0c58982619a7640716e7304d1a58d6257793 | [
"Unlicense"
] | null | null | null | src/passman/fs/is_empty.cpp | tabz1234/passman | adab0c58982619a7640716e7304d1a58d6257793 | [
"Unlicense"
] | null | null | null | src/passman/fs/is_empty.cpp | tabz1234/passman | adab0c58982619a7640716e7304d1a58d6257793 | [
"Unlicense"
] | null | null | null | #include "is_empty.hpp"
#include <filesystem>
bool Passman::FS::is_empty(const std::string_view path) noexcept
{
std::error_code errc;
return std::filesystem::is_empty(path, errc);
}
| 19.3 | 64 | 0.720207 | tabz1234 |
6929c8e2ff33abbf48b8f3a8d2b958d9146ee49e | 870 | cpp | C++ | Leetcode/Practice/Find Common Characters.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | 4 | 2019-06-04T11:03:38.000Z | 2020-06-19T23:37:32.000Z | Leetcode/Practice/Find Common Characters.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | Leetcode/Practice/Find Common Characters.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | class Solution {
public:
vector<string> commonChars(vector<string>& A) {
int base[26];
memset(base, 0, sizeof base);
for(int i = 0; i < A[0].size(); i++)
base[A[0][i] - 'a']++;
for(int i = 1; i < A.size(); i++)
{
int temp[26];
memset(temp, ... | 26.363636 | 51 | 0.33908 | coderanant |
692d2ec687dac5872f4640258dbd0aeae26f1895 | 4,815 | cpp | C++ | grading_tool/settings_window.cpp | almikh/automatic-knee-oa-grading-tools | f59c2ba627ed3f52d0acdb01535c3224c64210de | [
"MIT"
] | null | null | null | grading_tool/settings_window.cpp | almikh/automatic-knee-oa-grading-tools | f59c2ba627ed3f52d0acdb01535c3224c64210de | [
"MIT"
] | null | null | null | grading_tool/settings_window.cpp | almikh/automatic-knee-oa-grading-tools | f59c2ba627ed3f52d0acdb01535c3224c64210de | [
"MIT"
] | null | null | null | #include "settings_window.h"
#include "settings_window.h"
#include <QApplication>
#include <QJsonDocument>
#include <QGridLayout>
#include <QScrollArea>
#include <QScrollBar>
#include <QPushButton>
#include <QFileDialog>
#include <QComboBox>
#include <QGroupBox>
#include <QLineEdit>
#include <QCheckBox>
#include <QList... | 30.865385 | 129 | 0.701558 | almikh |
693392e4bb211afb02711eb3e25c4dfe6f4f5e53 | 448 | cpp | C++ | programs_AtoZ/Conversion Decimal to Octal/Decimal_to_Octal.cpp | EarthMan123/unitech_cpp_with_oops-course | 941fec057bdcb8a5289994780ae553e6d4fddbbe | [
"Unlicense"
] | 2 | 2021-06-12T02:55:28.000Z | 2021-07-04T22:25:38.000Z | programs_AtoZ/Conversion Decimal to Octal/Decimal_to_Octal.cpp | EarthMan123/unitech_cpp_with_oops-course | 941fec057bdcb8a5289994780ae553e6d4fddbbe | [
"Unlicense"
] | null | null | null | programs_AtoZ/Conversion Decimal to Octal/Decimal_to_Octal.cpp | EarthMan123/unitech_cpp_with_oops-course | 941fec057bdcb8a5289994780ae553e6d4fddbbe | [
"Unlicense"
] | 1 | 2021-07-04T22:28:38.000Z | 2021-07-04T22:28:38.000Z | // C++ Program to Convert Decimal to Octal
#include<iostream>
using namespace std;
int main()
{
int decimalNum, octalNum[50], i=0;
cout<<"Enter any Decimal number: ";
cin>>decimalNum;
while(decimalNum != 0)
{
octalNum[i] = decimalNum%8;
i++;
decimalNum = decimalNum/8;
}
... | 20.363636 | 42 | 0.564732 | EarthMan123 |
69339dffd05441ed22395d48782ffe7ac3f6c8ff | 2,902 | cpp | C++ | engine/scene_impl/scene_pause.cpp | rimuz/unfair-game | 5479d64b2f22d109b77cc024ab61d67be98b64d5 | [
"Apache-2.0"
] | 4 | 2019-01-22T21:06:39.000Z | 2022-02-27T22:00:38.000Z | engine/scene_impl/scene_pause.cpp | rimuz/unfair | 5479d64b2f22d109b77cc024ab61d67be98b64d5 | [
"Apache-2.0"
] | null | null | null | engine/scene_impl/scene_pause.cpp | rimuz/unfair | 5479d64b2f22d109b77cc024ab61d67be98b64d5 | [
"Apache-2.0"
] | null | null | null | #include "engine/scene.hpp"
#include "io/save.hpp"
namespace ue{
void Scene::togglePauseGame(){
if(Game::curr_game){
GAME.paused = !GAME.paused;
if(GAME.paused){
if(GAME.showingLevel){
removeLevelScreen();
} else {
... | 26.87037 | 82 | 0.431082 | rimuz |
69340342eb721e0a4eba7d0eb6ae7e4ec47d2796 | 1,391 | hpp | C++ | hif/hif_read.hpp | masc-ucsc/hif | ad84f39c2717648f17e73649c57ba27a42b018b1 | [
"BSD-3-Clause"
] | 1 | 2021-12-04T22:20:38.000Z | 2021-12-04T22:20:38.000Z | hif/hif_read.hpp | masc-ucsc/hif | ad84f39c2717648f17e73649c57ba27a42b018b1 | [
"BSD-3-Clause"
] | null | null | null | hif/hif_read.hpp | masc-ucsc/hif | ad84f39c2717648f17e73649c57ba27a42b018b1 | [
"BSD-3-Clause"
] | null | null | null | // This file is distributed under the BSD 3-Clause License. See LICENSE for details.
#pragma once
#include <cstdint>
#include <tuple>
#include <memory>
#include <functional>
#include "hif_base.hpp"
class Hif_read : public Hif_base {
public:
// Load a file (fname) and populate the Hif
static std::shared_ptr<Hif... | 23.982759 | 85 | 0.700216 | masc-ucsc |
69355da0cec1c8ade38a25fddf638183285fcd2c | 595 | cpp | C++ | qt3dwidget.cpp | MedMoute/EF-Solver | aa79a0b21b08016f66277ec2cba686776b83f0e3 | [
"MIT"
] | null | null | null | qt3dwidget.cpp | MedMoute/EF-Solver | aa79a0b21b08016f66277ec2cba686776b83f0e3 | [
"MIT"
] | null | null | null | qt3dwidget.cpp | MedMoute/EF-Solver | aa79a0b21b08016f66277ec2cba686776b83f0e3 | [
"MIT"
] | 1 | 2021-08-12T14:10:34.000Z | 2021-08-12T14:10:34.000Z | #include <Qt3DCore/QEntity>
#include <Qt3DRender/QCamera>
#include <Qt3DRender/QCameraLens>
#include <Qt3DCore/QTransform>
#include <Qt3DCore/QAspectEngine>
#include <Qt3DInput/QInputAspect>
#include <Qt3DRender/QRenderAspect>
#include <Qt3DExtras/QForwardRenderer>
#include "qt3dwindow.h"
#include "qt3dwidget.h"
#in... | 23.8 | 86 | 0.766387 | MedMoute |
69360c9bef38bcde0b3018fe2a76f5b8e1755e2d | 21,525 | cpp | C++ | code_reading/oceanbase-master/src/sql/engine/connect_by/ob_connect_by_utility_bfs.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/engine/connect_by/ob_connect_by_utility_bfs.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/engine/connect_by/ob_connect_by_utility_bfs.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | 1 | 2020-10-18T12:59:31.000Z | 2020-10-18T12:59:31.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | 35.934891 | 120 | 0.662811 | wangcy6 |
6939706c3208603ddca5219433963f0fe051c807 | 18,645 | cpp | C++ | PtermConnection.cpp | qbarnes/cyber1-pterm | dcea5e703a4e5372cc4972b71cc4f655206b5262 | [
"Zlib"
] | 3 | 2020-10-23T18:24:42.000Z | 2022-03-08T18:17:45.000Z | PtermConnection.cpp | qbarnes/cyber1-pterm | dcea5e703a4e5372cc4972b71cc4f655206b5262 | [
"Zlib"
] | null | null | null | PtermConnection.cpp | qbarnes/cyber1-pterm | dcea5e703a4e5372cc4972b71cc4f655206b5262 | [
"Zlib"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////
// Name: PTermConnection.cpp
// Purpose: Implementation of the a connection to a host
// Authors: Paul Koning, Joe Stanton, Bill Galcher, Steve Zoppi, Dale Sinder
// Created: 03/26/2005
// Copyright: (c) Paul Koning, Joe S... | 25.541096 | 80 | 0.489836 | qbarnes |
693c019d724684da451f0a226087c501abbe6931 | 8,309 | cpp | C++ | DT3Core/Scripting/ScriptingSoundHighPassFilter3db.cpp | 9heart/DT3 | 4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e | [
"MIT"
] | 3 | 2016-01-27T13:17:18.000Z | 2019-03-19T09:18:25.000Z | DT3Core/Scripting/ScriptingSoundHighPassFilter3db.cpp | pakoito/DT3 | 4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e | [
"MIT"
] | 1 | 2016-01-28T14:39:49.000Z | 2016-01-28T22:12:07.000Z | DT3Core/Scripting/ScriptingSoundHighPassFilter3db.cpp | adderly/DT3 | e2605be091ec903d3582e182313837cbaf790857 | [
"MIT"
] | 3 | 2016-01-25T16:44:51.000Z | 2021-01-29T19:59:45.000Z | //==============================================================================
///
/// File: ScriptingSoundHighPassFilter3db.cpp
///
/// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved.
///
/// This file is subject to the terms and conditions defined in
/// file 'LICENSE.txt',... | 37.427928 | 161 | 0.533999 | 9heart |
693d7e33c67decac79b6d3863a5d076d1f256682 | 2,849 | cpp | C++ | alicia_modder/source/main/buffer/buffer.cpp | rgnter/alicia_modwork | 88713a943a7dccf0f0ec9f4322f5cb41b1200db4 | [
"MIT"
] | 3 | 2021-03-29T15:37:38.000Z | 2021-09-18T18:53:02.000Z | alicia_modder/source/main/buffer/buffer.cpp | rgnter/alicia_modwork | 88713a943a7dccf0f0ec9f4322f5cb41b1200db4 | [
"MIT"
] | null | null | null | alicia_modder/source/main/buffer/buffer.cpp | rgnter/alicia_modwork | 88713a943a7dccf0f0ec9f4322f5cb41b1200db4 | [
"MIT"
] | null | null | null | //
// Created by maros on 31/05/2021.
//
#include "buffer.hpp"
#include "cstdio"
#include "string.h"
buffer::stack_buffer::stack_buffer(const void *dataPtr, size_t dataLen) :
m_buffer((uint8_t *) dataPtr), m_bufferLength(dataLen), m_bufferCursor(0) {
}
void buffer::stack_buffer::setCursor(size_t pos) {
... | 23.352459 | 83 | 0.716041 | rgnter |
693f21cd4794e8c3892720088e28e867736b3d8b | 1,174 | cpp | C++ | src/DesktopCore/Utils/Patterns/PublisherSubscriber/Broker.cpp | lurume84/blink-desktop | d6d01f8dc461edd22192a521fbd49669bfa8f684 | [
"MIT"
] | 75 | 2019-03-08T14:15:49.000Z | 2022-01-05T17:30:43.000Z | src/DesktopCore/Utils/Patterns/PublisherSubscriber/Broker.cpp | lurume84/blink-desktop | d6d01f8dc461edd22192a521fbd49669bfa8f684 | [
"MIT"
] | 55 | 2019-02-17T01:34:12.000Z | 2022-02-26T21:07:33.000Z | src/DesktopCore/Utils/Patterns/PublisherSubscriber/Broker.cpp | lurume84/blink-desktop | d6d01f8dc461edd22192a521fbd49669bfa8f684 | [
"MIT"
] | 20 | 2019-05-21T19:02:31.000Z | 2022-03-28T07:29:28.000Z | #include "Broker.h"
#include "Event.h"
namespace desktop { namespace core { namespace utils { namespace patterns {
Broker& Broker::get()
{
static Broker S;
return S;
}
Broker::Broker() = default;
Broker::~Broker()
{
std::unique_lock<std::mutex> lock(m_mutexSubscriptions);
TStrS... | 20.964286 | 101 | 0.669506 | lurume84 |
6942dd0d32d26e8a4dcc9e070425e468c34063b8 | 348 | cpp | C++ | Camp_1-2562/07 Pointer-Structure/Untitled2.cpp | MasterIceZ/POSN_BUU | 56e176fb843d7ddcee0cf4acf2bb141576c260cf | [
"MIT"
] | null | null | null | Camp_1-2562/07 Pointer-Structure/Untitled2.cpp | MasterIceZ/POSN_BUU | 56e176fb843d7ddcee0cf4acf2bb141576c260cf | [
"MIT"
] | null | null | null | Camp_1-2562/07 Pointer-Structure/Untitled2.cpp | MasterIceZ/POSN_BUU | 56e176fb843d7ddcee0cf4acf2bb141576c260cf | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<conio.h>
#include<string.h>
int main (){
struct profile{
char name[20];
int age;
}s[10];
for(int i=0;i<10;i++){
printf("Student[%d]\n",i);
printf("\t %s",s[i].name);
printf("\t age");
scanf("%d",&s[i].age);
}
for(int j=0;j<10;j++)
if(s[j].age>20)
printf("\n%s,%d",s[j].n... | 16.571429 | 40 | 0.545977 | MasterIceZ |
6942fbf506141863c5861da224e93bddbf51b79e | 579 | hpp | C++ | src/Tools/Constellation/PAM/Constellation_PAM.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2022-02-17T08:47:47.000Z | 2022-02-17T08:47:47.000Z | src/Tools/Constellation/PAM/Constellation_PAM.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | null | null | null | src/Tools/Constellation/PAM/Constellation_PAM.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2022-02-15T23:32:39.000Z | 2022-02-15T23:32:39.000Z | #ifndef CONSTELLATION_PAM_HPP__
#define CONSTELLATION_PAM_HPP__
#include <cstdint>
#include "Tools/Constellation/Constellation.hpp"
namespace aff3ct
{
namespace tools
{
template <typename R>
class Constellation_PAM : public Constellation<R>
{
public:
using typename Constellation<R>::S;
/*
* \param n_bps is the ... | 17.545455 | 56 | 0.773748 | WilliamMajor |
69437699b710ac295ab84838f08e2a71666fbe3e | 30,405 | cpp | C++ | unittests/snapshot_tests.cpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 13,162 | 2017-05-29T22:08:27.000Z | 2022-03-29T19:25:05.000Z | unittests/snapshot_tests.cpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 6,450 | 2017-05-30T14:41:50.000Z | 2022-03-30T11:30:04.000Z | unittests/snapshot_tests.cpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 4,491 | 2017-05-29T22:08:32.000Z | 2022-03-29T07:09:52.000Z | #include <sstream>
#include <eosio/chain/block_log.hpp>
#include <eosio/chain/global_property_object.hpp>
#include <eosio/chain/kv_chainbase_objects.hpp>
#include <eosio/chain/snapshot.hpp>
#include <eosio/testing/tester.hpp>
#include <eosio/testing/snapshot_suites.hpp>
#include <boost/mpl/list.hpp>
#include <boost/t... | 42.643759 | 163 | 0.68617 | forfreeday |
694409f0b03164d37256e9935ce970573501d858 | 2,117 | cpp | C++ | tests/basic_query_match_test.cpp | HardwareIR/netlistDB | 2c52a1c88b7be712d6cdc9146f1a9dbf26441198 | [
"MIT"
] | 14 | 2019-03-27T00:53:06.000Z | 2021-12-13T15:18:04.000Z | tests/basic_query_match_test.cpp | PDFxy/netlistDB | 2c52a1c88b7be712d6cdc9146f1a9dbf26441198 | [
"MIT"
] | 11 | 2019-02-25T18:43:48.000Z | 2019-06-13T15:00:33.000Z | tests/basic_query_match_test.cpp | HardwareIR/hardwareIr | 2c52a1c88b7be712d6cdc9146f1a9dbf26441198 | [
"MIT"
] | 2 | 2020-03-12T06:01:13.000Z | 2021-04-09T10:00:32.000Z |
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MAIN
#define BOOST_TEST_MODULE netlistDB_basic_query_test
#include <boost/test/unit_test.hpp>
#include <functional>
#include <iostream>
#include <fstream>
#include <stdint.h>
#include <netlistDB/netlist.h>
#include <netlistDB/statement_if.h>
#include <netlistDB/query/qu... | 24.056818 | 80 | 0.667454 | HardwareIR |
694519103a37f28b3716a175f335487ff9f98788 | 7,838 | cc | C++ | chromeos/components/phonehub/feature_status_provider_impl.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chromeos/components/phonehub/feature_status_provider_impl.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chromeos/components/phonehub/feature_status_provider_impl.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/components/phonehub/feature_status_provider_impl.h"
#include <utility>
#include "base/bind.h"
#include "chromeos/components/multidevi... | 33.495726 | 80 | 0.756188 | mghgroup |
69451b4c9948071c013fde7618500ca36e68298f | 1,442 | cpp | C++ | lib/cpalgo/graph/tests/articulation_points_test.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | lib/cpalgo/graph/tests/articulation_points_test.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | lib/cpalgo/graph/tests/articulation_points_test.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | #include <bits/stdc++.h>
#include "gtest/gtest.h"
#include "cpalgo/graph/articulation_points.hpp"
using namespace std;
TEST(ArticulationPointsTest, IsEmptyInitially) {
ArticulationPoints solver;
EXPECT_EQ(0ULL, solver.size());
}
TEST(ArticulationPointsTest, ShouldComputeArticulationPointsInCase1) {
size... | 24.862069 | 70 | 0.678918 | xirc |
69455c396ce5f6d8aeae6d67c8b5f42b40ff9db4 | 4,394 | hpp | C++ | CKGfx/Context.hpp | samkusin/overview | affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1 | [
"MIT"
] | null | null | null | CKGfx/Context.hpp | samkusin/overview | affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1 | [
"MIT"
] | null | null | null | CKGfx/Context.hpp | samkusin/overview | affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1 | [
"MIT"
] | null | null | null | //
// Context.hpp
// GfxPrototype
//
// Created by Samir Sinha on 9/26/15.
//
//
#ifndef CK_Graphics_Context_hpp
#define CK_Graphics_Context_hpp
#include "GfxTypes.hpp"
#include <cinek/managed_dictionary.hpp>
#include <functional>
namespace cinek {
namespace gfx {
class Context
{
public:
struct Res... | 35.152 | 91 | 0.715066 | samkusin |
694c8798ea55938161cafa427afe7b5af78ae55d | 722 | cc | C++ | src/llvm-backend/deserialise_ir/deserialise_protobuf.cc | paulocoghi/bolt | a81627f95af6577cd465df09290a51c9d469c667 | [
"MIT"
] | 305 | 2020-05-08T11:09:53.000Z | 2022-03-19T18:43:58.000Z | src/llvm-backend/deserialise_ir/deserialise_protobuf.cc | paulocoghi/bolt | a81627f95af6577cd465df09290a51c9d469c667 | [
"MIT"
] | 53 | 2019-11-10T13:46:46.000Z | 2022-02-04T17:20:15.000Z | src/llvm-backend/deserialise_ir/deserialise_protobuf.cc | paulocoghi/bolt | a81627f95af6577cd465df09290a51c9d469c667 | [
"MIT"
] | 33 | 2020-05-09T00:35:53.000Z | 2022-03-14T21:10:25.000Z | #include "src/llvm-backend/deserialise_ir/deserialise_protobuf.h"
#include <stdlib.h>
#include <fstream>
#include <string>
#include "src/llvm-backend/deserialise_ir/program_ir.h"
Frontend_ir::program deserialiseProtobufFile(std::string &filePath) {
Frontend_ir::program program;
std::fstream fileIn(filePath, std... | 28.88 | 79 | 0.750693 | paulocoghi |
694cf8bda6343616abc16c0ca0de2ae2c8c2a9e1 | 228 | cpp | C++ | Study/ActArgv.cpp | soft9000/GnuCpp1000 | 17a6e9acc1d1f5c79d7b36db852aaf9fd66e55ff | [
"MIT"
] | 1 | 2017-04-05T18:39:26.000Z | 2017-04-05T18:39:26.000Z | Study/ActArgv.cpp | soft9000/GnuCpp1000 | 17a6e9acc1d1f5c79d7b36db852aaf9fd66e55ff | [
"MIT"
] | null | null | null | Study/ActArgv.cpp | soft9000/GnuCpp1000 | 17a6e9acc1d1f5c79d7b36db852aaf9fd66e55ff | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(int argc, char *argv[]) {
printf("What is in argv? Depends!\r\n");
for(int ss = 0; ss < argc; ss++) {
printf("%d.) \t %s\n", ss, argv[ss]);
}
printf("Got %d", argc);
} // ActArgv
| 19 | 42 | 0.517544 | soft9000 |
695086470a997d5e73f6aedb43fa5aa013ba8cee | 101 | cpp | C++ | Ping/graph.cpp | siddhantkhandelwal/Hello-world | fc08cc3aef52992cbec0d76dd4572d6cd69bbc93 | [
"MIT"
] | null | null | null | Ping/graph.cpp | siddhantkhandelwal/Hello-world | fc08cc3aef52992cbec0d76dd4572d6cd69bbc93 | [
"MIT"
] | null | null | null | Ping/graph.cpp | siddhantkhandelwal/Hello-world | fc08cc3aef52992cbec0d76dd4572d6cd69bbc93 | [
"MIT"
] | null | null | null | #include<iostream>
#include<graphics.h>
void main()
{
line (0,0,1280,800);
getch();
}
| 12.625 | 25 | 0.564356 | siddhantkhandelwal |
6950d8a7fd4013470461beebe950ad6ae8d08514 | 4,026 | cpp | C++ | gui/dialogs/HoughTransformDialog.cpp | frooms/stira | 60b419f3e478397a8ab43ce9315a259567d94a26 | [
"MIT"
] | 8 | 2016-03-23T08:12:33.000Z | 2022-01-25T14:07:03.000Z | gui/dialogs/HoughTransformDialog.cpp | frooms/stira | 60b419f3e478397a8ab43ce9315a259567d94a26 | [
"MIT"
] | null | null | null | gui/dialogs/HoughTransformDialog.cpp | frooms/stira | 60b419f3e478397a8ab43ce9315a259567d94a26 | [
"MIT"
] | 8 | 2015-06-29T12:00:06.000Z | 2019-09-03T12:40:47.000Z | /***********************************************************************************
* Copyright (C) 2016 by Filip Rooms *
* *
* Terms and conditions for using this software in any form are ... | 38.342857 | 85 | 0.575261 | frooms |
6953a5d4532d05fe2bcc4a139c77b69f7dcf9693 | 1,970 | cpp | C++ | Data/Note.cpp | zmeyc/notetrainer | 0c046d7db5402a84a1085a51bd4e9b9eac5d4adf | [
"MIT"
] | 3 | 2016-04-06T16:57:48.000Z | 2019-01-01T08:51:07.000Z | Data/Note.cpp | zmeyc/notetrainer | 0c046d7db5402a84a1085a51bd4e9b9eac5d4adf | [
"MIT"
] | 3 | 2016-03-14T19:43:25.000Z | 2021-11-24T03:52:18.000Z | Data/Note.cpp | zmeyc/notetrainer | 0c046d7db5402a84a1085a51bd4e9b9eac5d4adf | [
"MIT"
] | null | null | null | // NoteTrainer (c) 2016 Andrey Fidrya. MIT license. See LICENSE for more information.
#include <QHash>
#include "Note.h"
#include "Utils/Utils.h"
Note::Note(Note::Pitch pitch, int octave)
: pitch_(pitch)
, octave_(octave)
{
}
Note Note::noteFromKey(int key)
{
Note note;
note.setPitch((Note::Pitch)(k... | 18.942308 | 95 | 0.598985 | zmeyc |
695485c64641aec309364e8cd0227fea2820d6d3 | 1,290 | cc | C++ | userFiles/ctrl/body/Hill_muscles/specific_muscles/arms/pitch/EFL_Muscle.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | userFiles/ctrl/body/Hill_muscles/specific_muscles/arms/pitch/EFL_Muscle.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | userFiles/ctrl/body/Hill_muscles/specific_muscles/arms/pitch/EFL_Muscle.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | #include "EFL_Muscle.hh"
/*! \brief constructor
*
* \param[in] inputs inputs of the controller
* \param[in] pitch_elbow joint: pitch for elbow
* \param[in] body_part_id body part ID
*/
EFL_Muscle::EFL_Muscle(CtrlInputs *inputs, Articulation *pitch_elbow, int body_part_id):
Muscle(inputs, EFL_MUSCLE, body_part_i... | 22.631579 | 114 | 0.672093 | mharding01 |
6955562b6bcfbda8832c2b8d145987917458a636 | 3,196 | cpp | C++ | agent/cacla/src/pybinding/cacla.cpp | matthieu637/ddrl | a454d09a3ac9be5db960ff180b3d075c2f9e4a70 | [
"MIT"
] | 27 | 2017-11-27T09:32:41.000Z | 2021-03-02T13:50:23.000Z | agent/cacla/src/pybinding/cacla.cpp | matthieu637/ddrl | a454d09a3ac9be5db960ff180b3d075c2f9e4a70 | [
"MIT"
] | 10 | 2018-10-09T14:39:14.000Z | 2020-11-10T15:01:00.000Z | agent/cacla/src/pybinding/cacla.cpp | matthieu637/ddrl | a454d09a3ac9be5db960ff180b3d075c2f9e4a70 | [
"MIT"
] | 3 | 2019-05-16T09:14:15.000Z | 2019-08-15T14:35:40.000Z | #include "arch/Simulator.hpp"
#include "BaseCaclaAg.hpp"
extern "C" {
//NFAC
BaseCaclaAg* BaseCaclaAg_new(uint a, uint b) {
FLAGS_minloglevel = 2;
google::InitGoogleLogging("");
google::InstallFailureSignalHandler();
return new BaseCaclaAg(a,b);
}
void BaseCaclaAg_unique_invoke(BaseCaclaAg* ag... | 37.6 | 109 | 0.663955 | matthieu637 |
6955d1915628874359f1f8f2a24da84badaaab04 | 2,559 | cpp | C++ | March Challenge 2020 Division 2/Ada Bishop 2.cpp | geekcodershivam/CodeChef-Solution | 7b92a18c3dfbb76c58f4e4b974a0b93b3a43e16d | [
"MIT"
] | 1 | 2020-03-12T14:30:37.000Z | 2020-03-12T14:30:37.000Z | March Challenge 2020 Division 2/Ada Bishop 2.cpp | geekcodershivam/CodeChef-Solution | 7b92a18c3dfbb76c58f4e4b974a0b93b3a43e16d | [
"MIT"
] | null | null | null | March Challenge 2020 Division 2/Ada Bishop 2.cpp | geekcodershivam/CodeChef-Solution | 7b92a18c3dfbb76c58f4e4b974a0b93b3a43e16d | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define mod 1000000007
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define endl "\n"
typedef long long int ll;
void printBoard(ll r, ll c){
ll row = 2, col = 2;
ll count = 0;
while(row != 2 || col != 8){
... | 26.65625 | 79 | 0.309887 | geekcodershivam |
695a1808469b0a3ec21c8b35c1a495357d2f34e8 | 5,319 | cpp | C++ | Engine/Src/SFEngineDLL/Java/JniConnection.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | 1 | 2020-06-20T07:35:25.000Z | 2020-06-20T07:35:25.000Z | Engine/Src/SFEngineDLL/Java/JniConnection.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | Engine/Src/SFEngineDLL/Java/JniConnection.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// CopyRight (c) 2016 StormForge
//
// Author : KyungKun Ko
//
// Description : Connection
//
//
////////////////////////////////////////////////////////////////////////////////
#include "SFEngineDLLPCH.h"
#if SF_PLA... | 30.745665 | 168 | 0.690167 | blue3k |
695fd35921fd6c3f13fa42f39e9a96fe239e1214 | 979 | hpp | C++ | test/test_utils/read_orlib_sc.hpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | null | null | null | test/test_utils/read_orlib_sc.hpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | null | null | null | test/test_utils/read_orlib_sc.hpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | 1 | 2021-02-24T06:23:56.000Z | 2021-02-24T06:23:56.000Z | /**
* @file read_orlib_sc.hpp
* @brief
* @author Piotr Smulewicz
* @version 1.0
* @date 2013-08-01
*/
#ifndef PAAL_READ_ORLIB_SC_HPP
#define PAAL_READ_ORLIB_SC_HPP
#include <boost/range/irange.hpp>
#include <cassert>
#include <vector>
#include <utility>
#include <istream>
namespace paal {
inline
std::pair<st... | 21.282609 | 58 | 0.629213 | Kommeren |
69608d372051022abd4a6f04b4893c4da5b81328 | 2,346 | cpp | C++ | VisualStudio/LoaderXML/Source/LoaderXML.cpp | L0mion/Makes-a-Click | c7f53a53ea3a58da027ea5f00176352edb914718 | [
"MIT"
] | 1 | 2016-04-28T06:24:15.000Z | 2016-04-28T06:24:15.000Z | VisualStudio/LoaderXML/Source/LoaderXML.cpp | L0mion/Makes-a-Click | c7f53a53ea3a58da027ea5f00176352edb914718 | [
"MIT"
] | null | null | null | VisualStudio/LoaderXML/Source/LoaderXML.cpp | L0mion/Makes-a-Click | c7f53a53ea3a58da027ea5f00176352edb914718 | [
"MIT"
] | null | null | null | #include <rapidxml.hpp>
//Parser_XML
#include <ParserXML.h>
#include <DocXML.h>
//Util
#include <Util.h>
#include "WinDetective.h"
#include "InterpreterXML.h"
#include "LoaderXML.h"
namespace Loader_XML {
LoaderXML::LoaderXML(
std::wstring p_filePathToSearch,
std::wstring p_fileEnding,
bool p_recursiveSea... | 23.69697 | 104 | 0.702472 | L0mion |
69651d5deaa13d9e7c750a2286cdf94ef8c831fe | 815 | cpp | C++ | Pointers/addressofArrayPointer.cpp | anjali9811/Programming-in-Cpp | 02e80e045a7fb20f8970fcdae68c08bdf27f95b8 | [
"Apache-2.0"
] | null | null | null | Pointers/addressofArrayPointer.cpp | anjali9811/Programming-in-Cpp | 02e80e045a7fb20f8970fcdae68c08bdf27f95b8 | [
"Apache-2.0"
] | null | null | null | Pointers/addressofArrayPointer.cpp | anjali9811/Programming-in-Cpp | 02e80e045a7fb20f8970fcdae68c08bdf27f95b8 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<math.h>
using namespace std;
int main() {
int arr[5],*ptr;
cout<<*&arr<<endl; //address of first element in array
cout<<&arr<<endl;//address of first element in array
cout<<arr<<endl;//address of first element in array
cout<<"&arr + 1 = "<<&arr+1<<endl; // address of complete ... | 23.285714 | 112 | 0.634356 | anjali9811 |
69668add4e24ab96ec47a69d1450765e593304e2 | 458 | cpp | C++ | src/base/types.cpp | alexa-infra/negine | d9060a7c83a41c95c361c470b56c2ddab3ba04de | [
"MIT"
] | 4 | 2016-11-11T20:35:34.000Z | 2018-12-24T18:30:16.000Z | src/base/types.cpp | alexa-infra/negine | d9060a7c83a41c95c361c470b56c2ddab3ba04de | [
"MIT"
] | null | null | null | src/base/types.cpp | alexa-infra/negine | d9060a7c83a41c95c361c470b56c2ddab3ba04de | [
"MIT"
] | null | null | null | /**
* \file
* \author Alexey Vasilyev <alexa.infra@gmail.com>
* \copyright MIT License
**/
#include "base/types.h"
namespace base {
//size_t hash_string::operator()( const std::string& x ) const
//{
// const char* str = x.c_str();
// u32 hash = *str;
//
// if( hash ) {
// for( str += 1; *st... | 18.32 | 62 | 0.4869 | alexa-infra |
696d9a2dd9f2039f5b480f24bc6645c4080c25a1 | 2,211 | cxx | C++ | src/medVtkInria/HWShading/vtkShaderBase.cxx | lcatanes/medInria-public | 5d79ce0085c11f2fb9277a06c8cf56b4258a9d9f | [
"BSD-4-Clause"
] | 1 | 2020-11-16T13:55:45.000Z | 2020-11-16T13:55:45.000Z | src/medVtkInria/HWShading/vtkShaderBase.cxx | lcatanes/medInria-public | 5d79ce0085c11f2fb9277a06c8cf56b4258a9d9f | [
"BSD-4-Clause"
] | null | null | null | src/medVtkInria/HWShading/vtkShaderBase.cxx | lcatanes/medInria-public | 5d79ce0085c11f2fb9277a06c8cf56b4258a9d9f | [
"BSD-4-Clause"
] | null | null | null | /*============================================================================
The Hardware Shading (HWShading) module is protected by the
following copyright:
Copyright (c) 2007 Biomedical Image Analysis (BMIA) - Department of
Biomedical Engineering - Eindhoven University of Technology.
All rights reserved. See Copyr... | 31.585714 | 79 | 0.688829 | lcatanes |
696ed7ad189132c831d377c6f430971f393f683c | 2,853 | hpp | C++ | tests/test1/myWorld.hpp | EEnginE/engine | 9d8fe2c8a3051b8d25a15debdf058ac900f6a7fc | [
"Apache-2.0"
] | 28 | 2015-01-02T19:06:37.000Z | 2018-11-23T11:34:17.000Z | tests/test1/myWorld.hpp | EEnginE/engine | 9d8fe2c8a3051b8d25a15debdf058ac900f6a7fc | [
"Apache-2.0"
] | null | null | null | tests/test1/myWorld.hpp | EEnginE/engine | 9d8fe2c8a3051b8d25a15debdf058ac900f6a7fc | [
"Apache-2.0"
] | 6 | 2015-01-10T16:48:14.000Z | 2019-10-08T13:43:44.000Z | /*!
* \file myWorld.hpp
* \brief Class myWorld
*/
/*
* Copyright (C) 2015 EEnginE project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-... | 27.171429 | 119 | 0.702419 | EEnginE |
69714ea0ce2ea304626ebf9ec61861a22c1618a6 | 103 | cpp | C++ | Homework (20.05.21)/exercise3.cpp | Sadik326-ctrl/computer_programming | cbae264ffa04fc487008fa6a0a32e0a1a316e01e | [
"MIT"
] | null | null | null | Homework (20.05.21)/exercise3.cpp | Sadik326-ctrl/computer_programming | cbae264ffa04fc487008fa6a0a32e0a1a316e01e | [
"MIT"
] | null | null | null | Homework (20.05.21)/exercise3.cpp | Sadik326-ctrl/computer_programming | cbae264ffa04fc487008fa6a0a32e0a1a316e01e | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
string x("3");
cout<<x;
return 0;
}
| 10.3 | 20 | 0.572816 | Sadik326-ctrl |
69728056a9d58ee7466f5bc0abd2a3e677ba214a | 10,399 | cpp | C++ | hardware_layer/hardware_arduino/firmware/arduino_node.cpp | kaushikiagarwal/Anahita | bb41052d895622a32a0f55cf3a750aec92669661 | [
"BSD-3-Clause"
] | null | null | null | hardware_layer/hardware_arduino/firmware/arduino_node.cpp | kaushikiagarwal/Anahita | bb41052d895622a32a0f55cf3a750aec92669661 | [
"BSD-3-Clause"
] | null | null | null | hardware_layer/hardware_arduino/firmware/arduino_node.cpp | kaushikiagarwal/Anahita | bb41052d895622a32a0f55cf3a750aec92669661 | [
"BSD-3-Clause"
] | null | null | null | #include <Arduino.h>
#include <Wire.h>
#include <Servo.h>
#include <ros.h>
#include <ros/time.h>
#include <std_msgs/Int32.h>
#include <std_msgs/Float32.h>
#include <std_msgs/Bool.h>
// #include <anahita_msgs/Depth.h>
// #include <anahita_msgs/Pressure.h>
#include <anahita_msgs/Thrust.h>
#include <MS5837.h>
#define MD... | 28.105405 | 100 | 0.690836 | kaushikiagarwal |
69746c3eb3ef6a1f14da3cbf1d5cade366cf775d | 360 | hpp | C++ | include/mbgl/util/async_task.hpp | mueschm/mapbox-gl-native | b07db0f8d01f855dcd336aa1baabde94c5c1740d | [
"BSL-1.0",
"Apache-2.0"
] | 4,234 | 2015-01-09T08:10:16.000Z | 2022-03-30T14:13:55.000Z | include/mbgl/util/async_task.hpp | leejing397/GeoMap | d94d3f275234ad4434858e08a6b42e72c44dc6db | [
"BSL-1.0",
"Apache-2.0"
] | 12,771 | 2015-01-01T20:27:42.000Z | 2022-03-24T18:14:44.000Z | include/mbgl/util/async_task.hpp | leejing397/GeoMap | d94d3f275234ad4434858e08a6b42e72c44dc6db | [
"BSL-1.0",
"Apache-2.0"
] | 1,571 | 2015-01-08T08:24:53.000Z | 2022-03-28T06:30:53.000Z | #pragma once
#include <mbgl/util/noncopyable.hpp>
#include <memory>
#include <functional>
namespace mbgl {
namespace util {
class AsyncTask : private util::noncopyable {
public:
AsyncTask(std::function<void()>&&);
~AsyncTask();
void send();
private:
class Impl;
std::unique_ptr<Impl> impl;
};
... | 14.4 | 45 | 0.669444 | mueschm |
69775fccc643b6c4f39d8a5016c9976319496028 | 331 | cc | C++ | lib/ir/ir.cc | suluke/stuff | ada62d75ea0b7adaed735333c60e412495fd4b42 | [
"MIT"
] | null | null | null | lib/ir/ir.cc | suluke/stuff | ada62d75ea0b7adaed735333c60e412495fd4b42 | [
"MIT"
] | 3 | 2017-10-24T19:47:11.000Z | 2017-11-23T13:28:57.000Z | lib/ir/ir.cc | suluke/stuff | ada62d75ea0b7adaed735333c60e412495fd4b42 | [
"MIT"
] | null | null | null | #include "jnsn/ir/ir.h"
using namespace jnsn;
bool basic_block::has_terminator() {
if (instructions.empty())
return false;
auto *lastInst = instructions.back();
if (isa<ret_inst>(lastInst) || isa<br_inst>(lastInst) ||
isa<cbr_inst>(lastInst) || isa<throw_inst>(lastInst)) {
return true;
}
retur... | 22.066667 | 61 | 0.667674 | suluke |
697af816bfaf85b478cfeaad6301d82e6f692968 | 1,355 | cpp | C++ | Tau/src/core/FX/TremoloTask.cpp | cymheart/tau | 1881046c7e362451e8d4f5d4b885e9011dade319 | [
"MIT"
] | 7 | 2021-10-05T07:07:45.000Z | 2022-03-01T07:28:34.000Z | Tau/src/core/FX/TremoloTask.cpp | cymheart/tau | 1881046c7e362451e8d4f5d4b885e9011dade319 | [
"MIT"
] | 1 | 2021-09-21T07:25:53.000Z | 2021-10-02T02:02:10.000Z | Tau/src/core/FX/TremoloTask.cpp | cymheart/ventrue | 57219117a40077ffdde76c7183ea744c0ac2a08f | [
"MIT"
] | 1 | 2022-02-24T21:24:27.000Z | 2022-02-24T21:24:27.000Z | #include"Tremolo.h"
#include"EffectTask.h"
#include"Synth/Synther/Synther.h"
namespace tauFX
{
void Tremolo::SetFreqTask(float freq)
{
if (synther == nullptr)
return;
EffectTask* task = new EffectTask(this);
task->processCallBack = _SetFreqTask;
task->valuef[0] = freq;
synther->PostTask(task);
}
vo... | 21.507937 | 53 | 0.699631 | cymheart |
697b1d75b0cf179ad511ae228aec8a17824011ad | 1,592 | cpp | C++ | Code/Engine/Foundation/Threading/Implementation/ThreadSignal.cpp | Tekh-ops/ezEngine | d6a5887d8709f267bf8f2943ef15054e29f6d3d5 | [
"MIT"
] | 703 | 2015-03-07T15:30:40.000Z | 2022-03-30T00:12:40.000Z | Code/Engine/Foundation/Threading/Implementation/ThreadSignal.cpp | Tekh-ops/ezEngine | d6a5887d8709f267bf8f2943ef15054e29f6d3d5 | [
"MIT"
] | 233 | 2015-01-11T16:54:32.000Z | 2022-03-19T18:00:47.000Z | Code/Engine/Foundation/Threading/Implementation/ThreadSignal.cpp | Tekh-ops/ezEngine | d6a5887d8709f267bf8f2943ef15054e29f6d3d5 | [
"MIT"
] | 101 | 2016-10-28T14:05:10.000Z | 2022-03-30T19:00:59.000Z | #include <Foundation/FoundationPCH.h>
#include <Foundation/Threading/Lock.h>
#include <Foundation/Threading/ThreadSignal.h>
ezThreadSignal::ezThreadSignal(Mode mode /*= Mode::AutoReset*/)
{
m_mode = mode;
}
ezThreadSignal::~ezThreadSignal() = default;
void ezThreadSignal::WaitForSignal() const
{
EZ_LOCK(m_Condi... | 19.414634 | 119 | 0.704774 | Tekh-ops |
69811fb63779a92b39ae7082f005674b16735ec9 | 2,578 | hh | C++ | src/AMOS/Motif_AMOS.hh | sagrudd/amos | 47643a1d238bff83421892cb74daaf6fff8d9548 | [
"Artistic-1.0"
] | 10 | 2015-03-20T18:25:56.000Z | 2020-06-02T22:00:08.000Z | src/AMOS/Motif_AMOS.hh | sagrudd/amos | 47643a1d238bff83421892cb74daaf6fff8d9548 | [
"Artistic-1.0"
] | 5 | 2015-05-14T17:51:20.000Z | 2020-07-19T04:17:47.000Z | src/AMOS/Motif_AMOS.hh | sagrudd/amos | 47643a1d238bff83421892cb74daaf6fff8d9548 | [
"Artistic-1.0"
] | 10 | 2015-05-17T16:01:23.000Z | 2020-05-20T08:13:43.000Z | ////////////////////////////////////////////////////////////////////////////////
//! \file
//! \author Sergey Koren
//! \date 04/11/11
//!
//! \brief Header for Motif_t
//!
////////////////////////////////////////////////////////////////////////////////
#ifndef __Motif_AMOS_HH
#define __Motif_AMOS_HH 1
#include "Uni... | 22.224138 | 80 | 0.399147 | sagrudd |
6984161aed53a2f77249f1924ea703aa73b98847 | 810 | cpp | C++ | Sandbox/src/Geometry/Geometry.cpp | noidawt/AulysEngine | 6e4a6482961fc27e48342d4767f2d075869b1abf | [
"MIT"
] | 1 | 2020-09-28T10:04:02.000Z | 2020-09-28T10:04:02.000Z | Sandbox/src/Geometry/Geometry.cpp | noidawt/AulysEngine | 6e4a6482961fc27e48342d4767f2d075869b1abf | [
"MIT"
] | null | null | null | Sandbox/src/Geometry/Geometry.cpp | noidawt/AulysEngine | 6e4a6482961fc27e48342d4767f2d075869b1abf | [
"MIT"
] | null | null | null | #include "Geometry.h"
namespace App
{
// IMPROVEMENT: Could be constexpr if we make our own sin and cos.
// Note: sadly cmath's sin and cos aren't constexpr because of some legacy things
// that the library does, for example setting errno.
Geometry::V getGeometry(int p, int q, int r) {
auto testOne = sin(piOver... | 26.129032 | 82 | 0.640741 | noidawt |
698416cc8d9502b69e7b414950c7292e151bf678 | 648 | cpp | C++ | nullObject/nullObject.cpp | rededx/designPatterns_modernCpp | 51cfe79ceb05182f69b8a6186013134c2fd2013b | [
"MIT"
] | null | null | null | nullObject/nullObject.cpp | rededx/designPatterns_modernCpp | 51cfe79ceb05182f69b8a6186013134c2fd2013b | [
"MIT"
] | null | null | null | nullObject/nullObject.cpp | rededx/designPatterns_modernCpp | 51cfe79ceb05182f69b8a6186013134c2fd2013b | [
"MIT"
] | null | null | null | #include <iostream>
#include <memory>
#include <string>
class AbstractObject {
public:
virtual std::string operation() const = 0;
};
class RealObject : public AbstractObject {
public:
std::string operation() const override {
return std::string("computed something");
}
};
class NullObject : ... | 20.25 | 70 | 0.669753 | rededx |
69897e4557b6864ff5543fb0cb14f131c0026164 | 7,616 | cpp | C++ | src/apps/M1DemoMachine/libFLNL/server.cpp | shortmr/CANOpenRobotController | 61602c2d19ff1e87408152ca61b4f37df1598bfa | [
"Apache-2.0"
] | null | null | null | src/apps/M1DemoMachine/libFLNL/server.cpp | shortmr/CANOpenRobotController | 61602c2d19ff1e87408152ca61b4f37df1598bfa | [
"Apache-2.0"
] | null | null | null | src/apps/M1DemoMachine/libFLNL/server.cpp | shortmr/CANOpenRobotController | 61602c2d19ff1e87408152ca61b4f37df1598bfa | [
"Apache-2.0"
] | 1 | 2021-05-04T17:19:45.000Z | 2021-05-04T17:19:45.000Z | /**
* \file server.cpp
* \brief Network server class implementation
* \author Vincent Crocher
* \version 0.5
* \date March 2010
*
*
*/
#include "server.h"
/*-----------------------------------------------------------------------------------------------------------------*/
/*###################################... | 32.547009 | 122 | 0.507484 | shortmr |
698cf0d98867eb65670eb77b6a50c468ddbb7f4e | 4,033 | cpp | C++ | Backend/ROS/src/discovery/src/discovery.cpp | Tannz0rz/ASDR | 8799fb5416db3c91551afa1b0cde3db9fc5c581c | [
"MIT"
] | null | null | null | Backend/ROS/src/discovery/src/discovery.cpp | Tannz0rz/ASDR | 8799fb5416db3c91551afa1b0cde3db9fc5c581c | [
"MIT"
] | null | null | null | Backend/ROS/src/discovery/src/discovery.cpp | Tannz0rz/ASDR | 8799fb5416db3c91551afa1b0cde3db9fc5c581c | [
"MIT"
] | null | null | null | #include "discovery.hpp"
void Discovery::setOccupancyGrid(nav_msgs::OccupancyGrid const &occupancy_grid)
{
m_occupancy_grid = occupancy_grid;
}
void Discovery::setCell(std::tuple<uint32_t, uint32_t> const &cell)
{
m_cell = cell;
}
void Discovery::compute(std::optional<std::tuple<uint32_t, uint32_t>> &goal)
{... | 34.470085 | 105 | 0.521696 | Tannz0rz |
698e9055d4217cdcb31bfa85a77a9ff1885a332a | 11,637 | cpp | C++ | Crazy Arcade_GIT/gameTwo.cpp | shinysong/CAU_CrazyArcade | 0e96b28221f5ef12ef8aea02a090c36ad54081d1 | [
"Apache-2.0"
] | null | null | null | Crazy Arcade_GIT/gameTwo.cpp | shinysong/CAU_CrazyArcade | 0e96b28221f5ef12ef8aea02a090c36ad54081d1 | [
"Apache-2.0"
] | null | null | null | Crazy Arcade_GIT/gameTwo.cpp | shinysong/CAU_CrazyArcade | 0e96b28221f5ef12ef8aea02a090c36ad54081d1 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <bangtal>
#include <cstdio>
#include <time.h>
#include <Windows.h>
#include<cstdlib>
#include<ctime>
using namespace bangtal;
using namespace std;
extern void lobby_main();
extern int level;
ObjectPtr board[12][12]; // 게임보드
ScenePtr scene; // 배경
ObjectPtr monsters[7]; // 몬스터 7마리
TimerPt... | 26.447727 | 136 | 0.602475 | shinysong |
7e35e04e7066acddba00032e0e0d836f78a4b3bf | 150 | hpp | C++ | sdk/include/XWordLayerPage.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/XWordLayerPage.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/XWordLayerPage.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | #pragma once
#include "xwordlayerbase.hpp"
class XWordLayerPage :
public XWordLayerBase
{
public:
XWordLayerPage(void);
~XWordLayerPage(void);
};
| 13.636364 | 29 | 0.766667 | qianxj |
7e37da5546a725821a1c9186347a2ea6aaf01fac | 3,094 | cpp | C++ | mlir/lib/Dialect/Linalg/Analysis/ConstraintsSet.cpp | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 61 | 2019-04-12T18:49:57.000Z | 2022-03-19T22:23:16.000Z | mlir/lib/Dialect/Linalg/Analysis/ConstraintsSet.cpp | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 127 | 2019-04-09T00:55:50.000Z | 2022-03-21T15:35:41.000Z | mlir/lib/Dialect/Linalg/Analysis/ConstraintsSet.cpp | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 10 | 2019-04-02T18:25:40.000Z | 2022-02-15T07:11:37.000Z | //===- ConstraintsSet.cpp - Extensions for FlatAffineConstraints ----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 35.159091 | 80 | 0.570459 | acidburn0zzz |
7e3eb1c55aaf1ef9676ec529bcb9284f39af1ef6 | 3,846 | hpp | C++ | src/libArrhenius/Fitting/detail/EffectiveExposuresLinearRegression.hpp | CD3/libArrhenius | 2cf65c9935c1661c6150ddfd86a999cf2fff2691 | [
"MIT"
] | null | null | null | src/libArrhenius/Fitting/detail/EffectiveExposuresLinearRegression.hpp | CD3/libArrhenius | 2cf65c9935c1661c6150ddfd86a999cf2fff2691 | [
"MIT"
] | null | null | null | src/libArrhenius/Fitting/detail/EffectiveExposuresLinearRegression.hpp | CD3/libArrhenius | 2cf65c9935c1661c6150ddfd86a999cf2fff2691 | [
"MIT"
] | null | null | null | #ifndef Fitting_detail_EffectiveExposuresLinearRegression_hpp
#define Fitting_detail_EffectiveExposuresLinearRegression_hpp
/** @file EffectiveExposuresLinearRegression.hpp
* @brief
* @author C.D. Clark III
* @date 07/07/17
*/
#include <Eigen/Dense>
#include "../../Utils/LinearRegression.hpp"
namespace libA... | 30.52381 | 186 | 0.605564 | CD3 |
7e3eb3056e49f2e70b9e611a8112a220d9bc46ac | 1,261 | cpp | C++ | main.cpp | dynamic21/radixSort | 50a5e0a5099ad29b7dc73344c4098b76b4ff504f | [
"MIT"
] | null | null | null | main.cpp | dynamic21/radixSort | 50a5e0a5099ad29b7dc73344c4098b76b4ff504f | [
"MIT"
] | null | null | null | main.cpp | dynamic21/radixSort | 50a5e0a5099ad29b7dc73344c4098b76b4ff504f | [
"MIT"
] | null | null | null | #include <iostream>
#include <chrono>
#include <ratio>
#include <algorithm>
#include "RadixSort256.h"
using std::cout;
using std::endl;
using std::chrono::duration;
using std::chrono::duration_cast;
using std::chrono::steady_clock;
unsigned int state = 90354;
unsigned int xorshift32()
{
state ^= state << 13;
... | 25.22 | 78 | 0.564631 | dynamic21 |
7e3f5e3ee693dd27817e798138dc0cce09dd13c8 | 2,416 | cpp | C++ | Examples/Cpp/source/Outlook/LoadingFromStream.cpp | kashifiqb/Aspose.Email-for-C | 96684cb6ed9f4e321a00c74ca219440baaef8ba8 | [
"MIT"
] | 4 | 2019-12-01T16:19:12.000Z | 2022-03-28T18:51:42.000Z | Examples/Cpp/source/Outlook/LoadingFromStream.cpp | kashifiqb/Aspose.Email-for-C | 96684cb6ed9f4e321a00c74ca219440baaef8ba8 | [
"MIT"
] | 1 | 2022-02-15T01:02:15.000Z | 2022-02-15T01:02:15.000Z | Examples/Cpp/source/Outlook/LoadingFromStream.cpp | kashifiqb/Aspose.Email-for-C | 96684cb6ed9f4e321a00c74ca219440baaef8ba8 | [
"MIT"
] | 5 | 2017-09-27T14:43:20.000Z | 2021-11-16T06:47:11.000Z | /*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Email for .NET API reference
when the project is build. Please check https://Docs.nuget.org/consume/nuget-faq for more information.
If you do not wish to use NuGet, you can manually download Aspose.Email for .NET API from https://www.n... | 36.606061 | 136 | 0.647351 | kashifiqb |
7e4068690de5eb95fb1f00eb5a6840f63fa94d3f | 7,369 | cc | C++ | chrome/browser/android/logo_bridge.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/android/logo_bridge.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/android/logo_bridge.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/android/logo_bridge.h"
#include <jni.h>
#include <stdint.h>
#include "base/android/jni_android.h"
#include "base/android/jni_ar... | 33.958525 | 80 | 0.688153 | metux |
7e40be7555519d2efbba92da8e55cff4dc703a9e | 841 | cpp | C++ | java-wrapper/src/main/native/SteamScreenshotsCallback.cpp | shugen002/steamworks4j | 3ada668e793b1babafde8c517109b1a620f9f3d5 | [
"MIT"
] | 403 | 2015-01-08T06:01:07.000Z | 2022-03-19T14:41:07.000Z | java-wrapper/src/main/native/SteamScreenshotsCallback.cpp | shugen002/steamworks4j | 3ada668e793b1babafde8c517109b1a620f9f3d5 | [
"MIT"
] | 105 | 2015-04-10T01:24:06.000Z | 2022-03-31T15:48:51.000Z | java-wrapper/src/main/native/SteamScreenshotsCallback.cpp | shugen002/steamworks4j | 3ada668e793b1babafde8c517109b1a620f9f3d5 | [
"MIT"
] | 76 | 2015-02-13T07:58:04.000Z | 2022-02-18T04:49:02.000Z | #include "SteamScreenshotsCallback.h"
#include "SteamUtils.h"
SteamScreenshotsCallback::SteamScreenshotsCallback(JNIEnv* env, jobject callback)
: SteamCallbackAdapter(env, callback)
, m_CallbackScreenshotReady(this, &SteamScreenshotsCallback::onScreenshotReady)
, m_CallbackScreenshotRequested(this, &SteamScreens... | 31.148148 | 90 | 0.763377 | shugen002 |
7e47f7c3f9966f0947b78e28062887d5a2ebb988 | 130 | cpp | C++ | code/Helo Woler.cpp | nyamako/hacktoberfest-2018 | bf7939d4b0cfb57a854a1644dbbae7ddf8af3c4f | [
"MIT"
] | 67 | 2018-09-25T21:37:23.000Z | 2020-11-03T02:03:22.000Z | code/Helo Woler.cpp | nyamako/hacktoberfest-2018 | bf7939d4b0cfb57a854a1644dbbae7ddf8af3c4f | [
"MIT"
] | 245 | 2018-09-18T10:07:28.000Z | 2020-09-30T19:00:11.000Z | code/Helo Woler.cpp | nyamako/hacktoberfest-2018 | bf7939d4b0cfb57a854a1644dbbae7ddf8af3c4f | [
"MIT"
] | 1,192 | 2018-09-18T11:27:55.000Z | 2021-10-17T10:24:37.000Z | #include<iostream>
#include<string>
#include<cmath>
using namespace std;
int main(){
cout<<"Hello World"<<endl;
return 0;
}
| 11.818182 | 28 | 0.684615 | nyamako |
7e495eb59fd165d6dd0dbde975d7646571686708 | 529 | hpp | C++ | include/Module/Controller/Controller_static/Controller_static.hpp | FredrikBlomgren/aff3ct | fa616bd923b2dcf03a4cf119cceca51cf810d483 | [
"MIT"
] | 315 | 2016-06-21T13:32:14.000Z | 2022-03-28T09:33:59.000Z | include/Module/Controller/Controller_static/Controller_static.hpp | a-panella/aff3ct | 61509eb756ae3725b8a67c2d26a5af5ba95186fb | [
"MIT"
] | 153 | 2017-01-17T03:51:06.000Z | 2022-03-24T15:39:26.000Z | include/Module/Controller/Controller_static/Controller_static.hpp | a-panella/aff3ct | 61509eb756ae3725b8a67c2d26a5af5ba95186fb | [
"MIT"
] | 119 | 2017-01-04T14:31:58.000Z | 2022-03-21T08:34:16.000Z | /*!
* \file
* \brief Class module::Controller_static.
*/
#ifndef CONTROLLER_STATIC_HPP_
#define CONTROLLER_STATIC_HPP_
#include <cstdint>
#include "Module/Controller/Controller.hpp"
namespace aff3ct
{
namespace module
{
class Controller_static : public Controller
{
public:
Controller_static(const size_t init_pa... | 17.064516 | 59 | 0.761815 | FredrikBlomgren |
7e4c5f877456ed5f0506b145b8adfc7c1d4cbbfb | 1,294 | cpp | C++ | src/cpp/114. Flatten Binary Tree to Linked List.cpp | yjjnls/D.S.A-Leet | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | [
"MIT"
] | 222 | 2018-09-25T08:46:31.000Z | 2022-02-07T12:33:42.000Z | src/cpp/114. Flatten Binary Tree to Linked List.cpp | yjjnls/D.S.A-Leet | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | [
"MIT"
] | 1 | 2017-11-23T04:39:48.000Z | 2017-11-23T04:39:48.000Z | src/cpp/114. Flatten Binary Tree to Linked List.cpp | yjjnls/D.S.A-Leet | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | [
"MIT"
] | 12 | 2018-10-05T03:16:05.000Z | 2020-12-19T04:25:33.000Z | /*
Given a binary tree, flatten it to a linked list in-place.
For example,
Given
1
/ \
2 5
/ \ \
3 4 6
The flattened tree should look like:
1
\
2
\
3
\
4
\
5
\
6
click to show hints.
Hin... | 18.225352 | 71 | 0.493818 | yjjnls |
7e4d15becd001032da7c1c729d7ebf43ebd69e85 | 8,321 | cc | C++ | tensorflow/compiler/tf2tensorrt/convert/ops/variable_ops.cc | piquark6046/tensorflow | 57771c5d008f6d16fd147110213855d145a7e0bc | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/tf2tensorrt/convert/ops/variable_ops.cc | piquark6046/tensorflow | 57771c5d008f6d16fd147110213855d145a7e0bc | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/tf2tensorrt/convert/ops/variable_ops.cc | piquark6046/tensorflow | 57771c5d008f6d16fd147110213855d145a7e0bc | [
"Apache-2.0"
] | null | null | null | /* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 36.982222 | 80 | 0.643312 | piquark6046 |
7e4e1da17dfc987847489327b6aa126d3d251e29 | 973 | hh | C++ | src/elle/reactor/Backoff.hh | wk8/elle | a66d3c0aeca86bcd13ec14d3797edc660b2496fc | [
"Apache-2.0"
] | 521 | 2016-02-14T00:39:01.000Z | 2022-03-01T22:39:25.000Z | src/elle/reactor/Backoff.hh | mefyl/elle | a8154593c42743f45b9df09daf62b44630c24a02 | [
"Apache-2.0"
] | 8 | 2017-02-21T11:47:33.000Z | 2018-11-01T09:37:14.000Z | src/elle/reactor/Backoff.hh | mefyl/elle | a8154593c42743f45b9df09daf62b44630c24a02 | [
"Apache-2.0"
] | 48 | 2017-02-21T10:18:13.000Z | 2022-03-25T02:35:20.000Z | #pragma once
#include <elle/Duration.hh>
namespace elle
{
namespace reactor
{
/// An exponential backoff.
///
/// Sleep for a delay, doubling it every time until it reaches a maximum.
class Backoff
{
/*------.
| Types |
`------*/
public:
using Self = Backoff;
/*-----... | 22.627907 | 77 | 0.56629 | wk8 |
7e4e4acbb8a86dc267baa5d1cd2b938536eee081 | 3,353 | cpp | C++ | src/MemoryUtil.cpp | hdc-arizona/MediatedCubes | bf5d9cdec18eeea9903717a7299cc93ed644af1d | [
"MIT"
] | null | null | null | src/MemoryUtil.cpp | hdc-arizona/MediatedCubes | bf5d9cdec18eeea9903717a7299cc93ed644af1d | [
"MIT"
] | null | null | null | src/MemoryUtil.cpp | hdc-arizona/MediatedCubes | bf5d9cdec18eeea9903717a7299cc93ed644af1d | [
"MIT"
] | null | null | null | #include "MemoryUtil.h"
#include <iostream>
#include <fstream>
#include <cassert>
#include <unistd.h>
#ifdef __linux__
# include <sys/sysinfo.h>
#endif
#ifdef __APPLE__
# include <mach/task.h>
# include <mach/mach_init.h>
#endif
#ifdef _WINDOWS
# include <windows.h>
#else
# include <sys/resource.h>
#endif
namespa... | 26.611111 | 110 | 0.57113 | hdc-arizona |
7e4e7f3199b44d67dde0e5f90cd416869c91fb1c | 2,563 | cc | C++ | rmad/system/tpm_manager_client_impl.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | rmad/system/tpm_manager_client_impl.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | rmad/system/tpm_manager_client_impl.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "rmad/system/tpm_manager_client_impl.h"
#include <memory>
#include <utility>
#include <base/memory/scoped_refptr.h>
#include <base/notreache... | 31.256098 | 79 | 0.751073 | Toromino |
7e52d8f9766d01968291fef201db665334932485 | 1,401 | hpp | C++ | src/bridge/jni/NativeFileItemDetail.hpp | codegitpro/qt-app | d8cdc29156c324d174362ac971d11b7989483395 | [
"Libpng",
"Zlib"
] | null | null | null | src/bridge/jni/NativeFileItemDetail.hpp | codegitpro/qt-app | d8cdc29156c324d174362ac971d11b7989483395 | [
"Libpng",
"Zlib"
] | null | null | null | src/bridge/jni/NativeFileItemDetail.hpp | codegitpro/qt-app | d8cdc29156c324d174362ac971d11b7989483395 | [
"Libpng",
"Zlib"
] | null | null | null | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from portal.djinni
#pragma once
#include "djinni_support.hpp"
#include "file_item_detail.hpp"
namespace djinni_generated {
class NativeFileItemDetail final {
public:
using CppType = ::ai::FileItemDetail;
using JniType = jobject;
us... | 37.864865 | 148 | 0.711635 | codegitpro |
7e5666d30e96b6a44d18c1acf70657373bf9795b | 3,149 | cpp | C++ | aws-cpp-sdk-glue/source/model/StatementOutput.cpp | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-glue/source/model/StatementOutput.cpp | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-glue/source/model/StatementOutput.cpp | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/glue/model/StatementOutput.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespac... | 21.568493 | 102 | 0.724357 | Nexuscompute |
7e56b964f4fe5fa85a240ccbf53626c82de0cdc8 | 7,422 | cpp | C++ | Sources/Engine/External/Bullet/BulletSharpPInvoke/libbulletc/src/btManifoldPoint_wrap.cpp | intensifier/NeoAxisEngine | 5c3d6d853c1d420e332aa31c73840f7cf3fd3eef | [
"IJG"
] | null | null | null | Sources/Engine/External/Bullet/BulletSharpPInvoke/libbulletc/src/btManifoldPoint_wrap.cpp | intensifier/NeoAxisEngine | 5c3d6d853c1d420e332aa31c73840f7cf3fd3eef | [
"IJG"
] | 2 | 2021-10-31T13:35:29.000Z | 2021-11-01T11:44:57.000Z | Sources/Engine/External/Bullet/BulletSharpPInvoke/libbulletc/src/btManifoldPoint_wrap.cpp | intensifier/NeoAxisEngine | 5c3d6d853c1d420e332aa31c73840f7cf3fd3eef | [
"IJG"
] | null | null | null | #include <BulletCollision/CollisionDispatch/btManifoldResult.h>
#include <BulletCollision/NarrowPhaseCollision/btManifoldPoint.h>
#include "conversion.h"
#include "btManifoldPoint_wrap.h"
btManifoldPoint* btManifoldPoint_new()
{
return new btManifoldPoint();
}
btManifoldPoint* btManifoldPoint_new2(const btVector3* ... | 22.697248 | 96 | 0.81474 | intensifier |
7e5859f938508c753bef8d842abad7cf8e31e173 | 1,221 | cpp | C++ | codeforces/G - AI robots/Wrong answer on test 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/G - AI robots/Wrong answer on test 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/G - AI robots/Wrong answer on test 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Dec/04/2019 14:26
* solution_verdict: Wrong answer on test 2 language: GNU C++14
* run... | 37 | 111 | 0.470106 | kzvd4729 |
7e58f3f558918fc4821fc27bd4312424e8b8a2f3 | 1,806 | cpp | C++ | vel_test.cpp | akalberer/robi_plugin | 6e8a2d4b0abc516be67156ab0809a58ad3b829dd | [
"Apache-2.0"
] | null | null | null | vel_test.cpp | akalberer/robi_plugin | 6e8a2d4b0abc516be67156ab0809a58ad3b829dd | [
"Apache-2.0"
] | null | null | null | vel_test.cpp | akalberer/robi_plugin | 6e8a2d4b0abc516be67156ab0809a58ad3b829dd | [
"Apache-2.0"
] | null | null | null | #include <gazebo/gazebo_config.h>
#include <gazebo/transport/transport.hh>
#include <gazebo/msgs/msgs.hh>
// Gazebo's API has changed between major releases. These changes are
// accounted for with #if..#endif blocks in this file.
#if GAZEBO_MAJOR_VERSION < 6
#include <gazebo/gazebo.hh>
#else
#include <gazebo/gazebo_c... | 30.610169 | 116 | 0.708195 | akalberer |
7e5b26742ad275052bd0c05a66455bdb2dad2ee9 | 2,778 | cpp | C++ | tengine/tools/leveleditor/createentitypanel.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | 5 | 2015-07-03T18:42:32.000Z | 2017-08-25T10:28:12.000Z | tengine/tools/leveleditor/createentitypanel.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | tengine/tools/leveleditor/createentitypanel.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | #include "createentitypanel.h"
#include <glgui/movablepanel.h>
#include <glgui/menu.h>
#include <glgui/textfield.h>
#include <game/entities/baseentity.h>
#include "entitypropertiespanel.h"
CCreateEntityPanel::CCreateEntityPanel()
: glgui::CMovablePanel("Create Entity Tool")
{
m_hClass = AddControl(new glgui::CMen... | 25.027027 | 77 | 0.75162 | BSVino |
7e5e163aa4872b048b703a43679b54e23657bc5e | 4,392 | hpp | C++ | inquiries/signal_inquiry.hpp | hmito/hmLib | 0f2515ba9c99c06d02e2fa633eeae73bcd793983 | [
"MIT"
] | null | null | null | inquiries/signal_inquiry.hpp | hmito/hmLib | 0f2515ba9c99c06d02e2fa633eeae73bcd793983 | [
"MIT"
] | null | null | null | inquiries/signal_inquiry.hpp | hmito/hmLib | 0f2515ba9c99c06d02e2fa633eeae73bcd793983 | [
"MIT"
] | 1 | 2015-09-22T03:32:11.000Z | 2015-09-22T03:32:11.000Z | #ifndef HMLIB_INQUIRIES_SIGNALINQUIRY_INC
#define HMLIB_INQUIRIES_SIGNALINQUIRY_INC 102
#
/*===inquiries::signal_inquiry===
operator()(void)で、取得した値を返さずに、Signalを発信するinquiry
inquiries::signal_inquiry v1_02/130421 hmIto
関数型に対応
exceptionsに対応
inquiries::signal_inquiry v1_01/130329 hmIto
inquiryで値取得した結果、前回の値と変わりない場合はsig... | 29.28 | 100 | 0.704918 | hmito |
7e625505690c6f2af92b66cca26db8f2c3b2b189 | 16,701 | hpp | C++ | include/strf/detail/format_functions.hpp | eyalroz/strf | 94cd5aef40530269da0727178017cb4a8992c5dc | [
"BSL-1.0"
] | null | null | null | include/strf/detail/format_functions.hpp | eyalroz/strf | 94cd5aef40530269da0727178017cb4a8992c5dc | [
"BSL-1.0"
] | 18 | 2019-12-13T15:52:26.000Z | 2020-01-17T14:51:33.000Z | include/strf/detail/format_functions.hpp | eyalroz/strf | 94cd5aef40530269da0727178017cb4a8992c5dc | [
"BSL-1.0"
] | 1 | 2021-12-23T05:53:22.000Z | 2021-12-23T05:53:22.000Z | #ifndef STRF_DETAIL_FORMAT_FUNCTIONS_HPP
#define STRF_DETAIL_FORMAT_FUNCTIONS_HPP
// 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 <strf/detail/common.hpp>
#include <cstring>
namespace strf {
name... | 27.514003 | 119 | 0.640081 | eyalroz |
7e62a15f12cd19eb3155c223f549a8e30a98c887 | 288 | cpp | C++ | node_modules/lzz-gyp/lzz-source/gram_CreateLineMacro.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/gram_CreateLineMacro.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/gram_CreateLineMacro.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // gram_CreateLineMacro.cpp
//
#include "gram_CreateLineMacro.h"
// gram
#include "gram_LineMacro.h"
#define LZZ_INLINE inline
namespace gram
{
MacroPtr createLineMacro (util::Loc const & loc, util::Ident const & name)
{
return new LineMacro (loc, name);
}
}
#undef LZZ_INLINE
| 18 | 76 | 0.722222 | SuperDizor |
7e63ba68e85aaae572a32e55dcf1a421889e0d2d | 4,751 | cpp | C++ | QtWebApp/httpserver/httpsessionstore.cpp | cbcalves/crudQtTest | f10c83934abaca6d17f57e2b0aa0e6c8844bfdda | [
"MIT"
] | null | null | null | QtWebApp/httpserver/httpsessionstore.cpp | cbcalves/crudQtTest | f10c83934abaca6d17f57e2b0aa0e6c8844bfdda | [
"MIT"
] | null | null | null | QtWebApp/httpserver/httpsessionstore.cpp | cbcalves/crudQtTest | f10c83934abaca6d17f57e2b0aa0e6c8844bfdda | [
"MIT"
] | null | null | null | /**
@file
@author Stefan Frings
*/
#include "httpsessionstore.h"
#include <QDateTime>
#include <QUuid>
using namespace stefanfrings;
HttpSessionStore::HttpSessionStore( const QSettings* settings, QObject* parent ) :
QObject( parent ),
m_settings( settings ),
m_cookieName( settings->value( "cookieN... | 37.706349 | 114 | 0.651442 | cbcalves |
7e64cc34d8cb5b7d7acf1271f35b67f8b1d8bfa7 | 3,231 | cc | C++ | mindspore/ccsrc/frontend/parallel/ops_info/range_info.cc | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 5 | 2021-06-04T02:23:01.000Z | 2021-12-13T10:41:07.000Z | mindspore/ccsrc/frontend/parallel/ops_info/range_info.cc | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/frontend/parallel/ops_info/range_info.cc | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 1 | 2021-12-14T06:22:31.000Z | 2021-12-14T06:22:31.000Z | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 31.676471 | 117 | 0.732281 | PowerOlive |
7e64f41a83bf9f1a78efb64d36c76bd21a898760 | 6,273 | cpp | C++ | training/src/tests/tests/tools/TestTools.cpp | steelONIONknight/bolt | 9bd3d08f2abb14435ca3ad0179889e48fa7e9b47 | [
"MIT"
] | null | null | null | training/src/tests/tests/tools/TestTools.cpp | steelONIONknight/bolt | 9bd3d08f2abb14435ca3ad0179889e48fa7e9b47 | [
"MIT"
] | null | null | null | training/src/tests/tests/tools/TestTools.cpp | steelONIONknight/bolt | 9bd3d08f2abb14435ca3ad0179889e48fa7e9b47 | [
"MIT"
] | null | null | null | // Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation the rights to use,... | 29.176744 | 176 | 0.655827 | steelONIONknight |
7e681939c242eadabc653354fda18e304ae3216b | 22,586 | cc | C++ | syzygy/kasko/api/api_tests.cc | nzeh/syzygy | 3573e3d458dbb4285753c28a7cb42ced739f9f55 | [
"Apache-2.0"
] | 343 | 2015-01-07T05:58:44.000Z | 2022-03-15T14:55:21.000Z | syzygy/kasko/api/api_tests.cc | nzeh/syzygy-nzeh | 3757e53f850644721284073de318e218224dd411 | [
"Apache-2.0"
] | 61 | 2015-03-19T18:20:21.000Z | 2019-10-23T12:58:23.000Z | syzygy/kasko/api/api_tests.cc | nzeh/syzygy-nzeh | 3757e53f850644721284073de318e218224dd411 | [
"Apache-2.0"
] | 66 | 2015-01-20T15:35:05.000Z | 2021-11-25T16:49:41.000Z | // Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 39.076125 | 80 | 0.708226 | nzeh |
7e68539b774399938d58b8bfe3a5a14ca9165d05 | 831 | cc | C++ | gui/PiiGuiUtil.cc | topiolli/into | f0a47736f5c93dd32e89e7aad34152ae1afc5583 | [
"BSD-3-Clause"
] | 14 | 2015-01-19T22:14:18.000Z | 2020-04-13T23:27:20.000Z | gui/PiiGuiUtil.cc | topiolli/into | f0a47736f5c93dd32e89e7aad34152ae1afc5583 | [
"BSD-3-Clause"
] | null | null | null | gui/PiiGuiUtil.cc | topiolli/into | f0a47736f5c93dd32e89e7aad34152ae1afc5583 | [
"BSD-3-Clause"
] | 14 | 2015-01-16T05:43:15.000Z | 2019-01-29T07:57:11.000Z | /* This file is part of Into.
* Copyright (C) Intopii 2013.
* All rights reserved.
*
* Licensees holding a commercial Into license may use this file in
* accordance with the commercial license agreement. Please see
* LICENSE.commercial for commercial licensing terms.
*
* Alternatively, this file may be used und... | 28.655172 | 69 | 0.736462 | topiolli |
7e6a18bdebd08be0c3e756333d1f8c71687414f7 | 2,887 | cc | C++ | src/TBUI/TBUIWindow.cc | floooh/oryol-turbobadger | dd0afc300629efc6bd1c90e829895e3148916ad6 | [
"MIT"
] | 8 | 2016-12-18T21:42:42.000Z | 2019-01-11T02:36:25.000Z | src/TBUI/TBUIWindow.cc | floooh/oryol-turbobadger | dd0afc300629efc6bd1c90e829895e3148916ad6 | [
"MIT"
] | 1 | 2019-10-09T15:19:31.000Z | 2019-10-10T10:02:48.000Z | src/TBUI/TBUIWindow.cc | floooh/oryol-turbobadger | dd0afc300629efc6bd1c90e829895e3148916ad6 | [
"MIT"
] | 1 | 2019-01-11T02:36:27.000Z | 2019-01-11T02:36:27.000Z | //------------------------------------------------------------------------------
// TBUIWindow.cc
//------------------------------------------------------------------------------
#include "Pre.h"
#include "TBUI/TBUI.h"
#include "TBUIWindow.h"
#include "tb_skin.h"
#include "tb_node_tree.h"
#include "tb_widgets_reader.h... | 38.493333 | 113 | 0.567371 | floooh |
7e72627530f2f17c81b95e249cd7663751040b9e | 2,259 | cpp | C++ | apps/hls_examples/stereo_hls/run_cuda.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 71 | 2016-11-17T19:22:21.000Z | 2022-01-10T10:03:58.000Z | apps/hls_examples/stereo_hls/run_cuda.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 79 | 2019-02-22T03:27:45.000Z | 2022-02-24T23:03:28.000Z | apps/hls_examples/stereo_hls/run_cuda.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 22 | 2017-04-16T11:44:34.000Z | 2022-03-26T13:27:10.000Z | #include <cstdio>
#include <cstdlib>
#include <cassert>
#include <math.h>
#include "pipeline_cuda.h"
#include "pipeline_native.h"
#include "benchmark.h"
#include "halide_image.h"
#include "halide_image_io.h"
#include "opencv2/gpu/gpu.hpp"
#include "opencv2/highgui/highgui.hpp"
using namespace Halide::Tools;
using n... | 31.816901 | 87 | 0.658256 | akifoezkan |
7e75c9af2ad6bdcc21bc7bd69d3e4f4623d4e89c | 9,717 | cpp | C++ | src/graphics/tcDatumEditObject.cpp | dhanin/friendly-bassoon | fafcfd3921805baddc1889dc0ee2fa367ad882f8 | [
"BSD-3-Clause"
] | 2 | 2021-11-17T10:59:38.000Z | 2021-11-17T10:59:45.000Z | src/graphics/tcDatumEditObject.cpp | dhanin/nws | 87a3f24a7887d84b9884635064b48d456b4184e2 | [
"BSD-3-Clause"
] | null | null | null | src/graphics/tcDatumEditObject.cpp | dhanin/nws | 87a3f24a7887d84b9884635064b48d456b4184e2 | [
"BSD-3-Clause"
] | null | null | null | /**
** @file tcDatumEditObject.cpp
*/
/*
** Copyright (c) 2014, GCBLUE PROJECT
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
**
** 1. Redistributions of source code must retain the above... | 26.54918 | 146 | 0.662139 | dhanin |
7e76752411adac29618565008a4453c12db65d30 | 1,109 | hxx | C++ | private/inet/xml/xql/query/absolutequery.hxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/inet/xml/xql/query/absolutequery.hxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/inet/xml/xql/query/absolutequery.hxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | /*
* @(#)AbsoluteQuery.hxx 1.0 7/16/98
*
* Copyright (c) 1997 - 1999 Microsoft Corporation. All rights reserved. *
*/
#ifndef _XQL_QUERY_ABSOLUTEQUERY
#define _XQL_QUERY_ABSOLUTEQUERY
#ifndef _XQL_QUERY_ELEMENTQUERY
#include "xql/query/elementquery.hxx"
#endif
DEFINE_CLASS(AbsoluteQuery);
class... | 24.108696 | 91 | 0.671776 | King0987654 |
7e78894fc5934b19935dcbf538dd14c855edbad9 | 84,567 | cpp | C++ | test/sentence_break_09.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/sentence_break_09.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/sentence_break_09.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 3 | 2019-10-30T18:38:15.000Z | 2021-03-05T12:10:13.000Z | // Warning! This file is autogenerated.
#include <boost/text/sentence_break.hpp>
#include <gtest/gtest.h>
#include <algorithm>
TEST(sentence, breaks_9)
{
// ÷ 0300 × 0085 ÷
// ÷ [0.2] COMBINING GRAVE ACCENT (Extend_FE) × [998.0] <NEXT LINE (NEL)> (Sep) ÷ [0.3]
{
std::array<uint32_t, 2> cps = {{... | 84.567 | 762 | 0.610758 | eightysquirrels |
7e7df4f38d958be87d3b35c8b97785feec722e4a | 1,258 | cpp | C++ | UnrealEngine-4.11.2-release/Engine/Source/Programs/UnrealHeaderTool/Private/UHTMakefile/PropertyDataArchiveProxy.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2016-10-01T21:35:52.000Z | 2016-10-01T21:35:52.000Z | UnrealEngine-4.11.2-release/Engine/Source/Programs/UnrealHeaderTool/Private/UHTMakefile/PropertyDataArchiveProxy.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | null | null | null | UnrealEngine-4.11.2-release/Engine/Source/Programs/UnrealHeaderTool/Private/UHTMakefile/PropertyDataArchiveProxy.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2021-04-27T08:48:33.000Z | 2021-04-27T08:48:33.000Z | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "UnrealHeaderTool.h"
#include "UHTMakefile/UHTMakefile.h"
#include "UHTMakefile/PropertyDataArchiveProxy.h"
#include "UHTMakefile/TokenDataArchiveProxy.h"
FPropertyDataArchiveProxy::FPropertyDataArchiveProxy(const FUHTMakefile& UHTMakefile, const FP... | 30.682927 | 120 | 0.805246 | armroyce |
7e8337f9f1702820e2b884462d0bb5fbc9b649b6 | 8,282 | cpp | C++ | Engine/src/Core/window.cpp | SpectralCascade/ossium | f9d00de8313c0f91942eb311c20de8d74aa41735 | [
"MIT"
] | 1 | 2019-01-02T15:35:05.000Z | 2019-01-02T15:35:05.000Z | Engine/src/Core/window.cpp | SpectralCascade/ossium | f9d00de8313c0f91942eb311c20de8d74aa41735 | [
"MIT"
] | 2 | 2018-11-11T21:29:05.000Z | 2019-01-02T15:34:10.000Z | Engine/src/Core/window.cpp | SpectralCascade/ossium | f9d00de8313c0f91942eb311c20de8d74aa41735 | [
"MIT"
] | null | null | null | /** COPYRIGHT NOTICE
*
* Ossium Engine
* Copyright (c) 2018-2020 Tim Lane
*
* This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
*
* Permission is granted to anyone to use this software... | 24.005797 | 247 | 0.525235 | SpectralCascade |
7e836f58a37b1318575fa8e2d7c483c656066b58 | 113 | hpp | C++ | include/AStar/Edge.hpp | andraantariksa/cit315-a-start-and-n-queen-genetic-algorithm | e85b3dd17a64b64cea18621a026ae3a959d2c8ec | [
"MIT"
] | null | null | null | include/AStar/Edge.hpp | andraantariksa/cit315-a-start-and-n-queen-genetic-algorithm | e85b3dd17a64b64cea18621a026ae3a959d2c8ec | [
"MIT"
] | null | null | null | include/AStar/Edge.hpp | andraantariksa/cit315-a-start-and-n-queen-genetic-algorithm | e85b3dd17a64b64cea18621a026ae3a959d2c8ec | [
"MIT"
] | null | null | null | #pragma once
#include <string>
// One direction edge
struct Edge
{
std::string nodeToName;
float cost;
};
| 10.272727 | 24 | 0.681416 | andraantariksa |
7e89a30c1193d3d680b666d757afb045e093e1f4 | 1,747 | cpp | C++ | test/strassen_multiplication.cpp | ArnabBir/scalable-matrix-computation | c636434643ffe2a8d7ec619793775922a946f18e | [
"MIT"
] | null | null | null | test/strassen_multiplication.cpp | ArnabBir/scalable-matrix-computation | c636434643ffe2a8d7ec619793775922a946f18e | [
"MIT"
] | null | null | null | test/strassen_multiplication.cpp | ArnabBir/scalable-matrix-computation | c636434643ffe2a8d7ec619793775922a946f18e | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <time.h>
#include <limits>
#include <iostream>
#include <stdio.h>
#include <math.h>
#include<unistd.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "../src/matrix/matrix.cpp"
#include "../src/matmul/matmul.cpp"
using namespace std;
int main(){
Matrix m1(2048, 2048, ... | 31.196429 | 124 | 0.656554 | ArnabBir |
7e89ee83e5ae8f7d1c8bc079ecd463b2d2d5f5ed | 1,053 | cpp | C++ | 2303(C and Cpp)/PA4_jpbulman/qSim/Customer.cpp | jpbulman/Small-Projects | 9d89f529fc5a9549ce7b31c7474d774b9b65c5a3 | [
"MIT"
] | 1 | 2017-10-08T21:40:12.000Z | 2017-10-08T21:40:12.000Z | 2303(C and Cpp)/PA4_jpbulman/qSim/Customer.cpp | jpbulman/Small-Projects | 9d89f529fc5a9549ce7b31c7474d774b9b65c5a3 | [
"MIT"
] | 1 | 2017-10-18T03:17:27.000Z | 2017-10-18T14:57:16.000Z | 2303(C and Cpp)/PA4_jpbulman/qSim/Customer.cpp | jpbulman/Small-Projects | 9d89f529fc5a9549ce7b31c7474d774b9b65c5a3 | [
"MIT"
] | null | null | null | /*
* Customer.cpp
*
* Created on: Feb 10, 2018
* Author: jpbulman
*/
#include <iostream>
#include <cstdlib>
using namespace std;
#include "Customer.h"
/**
* The default constructor for customer
* @return Returns nothing
*/
Customer::Customer(){
arrivalTime=0;
}
/**
* A constructor for a customer tak... | 20.647059 | 77 | 0.71415 | jpbulman |
7e8bb395d97682a5f12c55de8e03aa24e60838d4 | 153 | hpp | C++ | src/Global.hpp | skytranlong/AxpFileManager | 3bc1643d528bf61440468e8a0b38791f35cf39c9 | [
"WTFPL"
] | null | null | null | src/Global.hpp | skytranlong/AxpFileManager | 3bc1643d528bf61440468e8a0b38791f35cf39c9 | [
"WTFPL"
] | null | null | null | src/Global.hpp | skytranlong/AxpFileManager | 3bc1643d528bf61440468e8a0b38791f35cf39c9 | [
"WTFPL"
] | 2 | 2021-11-10T07:18:29.000Z | 2022-01-06T07:45:54.000Z | #ifndef GLOBAL_HPP
#define GLOBAL_HPP
#include <QTemporaryDir>
namespace Global
{
QTemporaryDir& getTempDir();
};
#endif // GLOBAL_HPP
| 12.75 | 33 | 0.686275 | skytranlong |