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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d0d0058950a4176a24de8d223669ec2d476de9d2 | 1,091 | hpp | C++ | include/Nyengine/geometry/Point.hpp | NyantasticUwU/nyengine | b6a47d2bfb101366eeda1b318e66f09d37317688 | [
"MIT"
] | 2 | 2021-12-26T05:10:41.000Z | 2022-01-30T19:51:23.000Z | include/Nyengine/geometry/Point.hpp | NyantasticUwU/Nyengine | b6a47d2bfb101366eeda1b318e66f09d37317688 | [
"MIT"
] | null | null | null | include/Nyengine/geometry/Point.hpp | NyantasticUwU/Nyengine | b6a47d2bfb101366eeda1b318e66f09d37317688 | [
"MIT"
] | null | null | null | #ifndef NYENGINE_GEOMETRY_POINT_HPP_INCLUDED
#define NYENGINE_GEOMETRY_POINT_HPP_INCLUDED
#include "../type/types.hpp"
/// Contains Nyengine geometry helpers.
namespace nyengine::geometry
{
/// Represents a 2D point.
template <typename T>
struct Point2D
{
T x;
T y;
};
/// Point... | 26.609756 | 54 | 0.678277 | NyantasticUwU |
d0d458081e465741613614c4084425fa51ef7a5b | 491 | hpp | C++ | src/Engine/Scene/GeometrySystem.hpp | Yasoo31/Radium-Engine | e22754d0abe192207fd946509cbd63c4f9e52dd4 | [
"Apache-2.0"
] | 78 | 2017-12-01T12:23:22.000Z | 2022-03-31T05:08:09.000Z | src/Engine/Scene/GeometrySystem.hpp | neurodiverseEsoteric/Radium-Engine | ebebc29d889a9d32e0637e425e589e403d8edef8 | [
"Apache-2.0"
] | 527 | 2017-09-25T13:05:32.000Z | 2022-03-31T18:47:44.000Z | src/Engine/Scene/GeometrySystem.hpp | neurodiverseEsoteric/Radium-Engine | ebebc29d889a9d32e0637e425e589e403d8edef8 | [
"Apache-2.0"
] | 48 | 2018-01-04T22:08:08.000Z | 2022-03-03T08:13:41.000Z | #pragma once
#include <Engine/Scene/System.hpp>
namespace Ra {
namespace Engine {
namespace Scene {
class RA_ENGINE_API GeometrySystem : public System
{
public:
GeometrySystem();
~GeometrySystem() override = default;
void handleAssetLoading( Entity* entity, const Ra::Core::Asset::FileData* fileData ) ... | 21.347826 | 98 | 0.725051 | Yasoo31 |
d0d750ac8d8d08fd75030c52baa1dadb284b7aef | 31,939 | cc | C++ | io/reader_test.cc | chronos-tachyon/mojo | 8d268932dd927a24a2b5de167d63869484e1433a | [
"MIT"
] | 3 | 2017-04-24T07:00:59.000Z | 2020-04-13T04:53:06.000Z | io/reader_test.cc | chronos-tachyon/mojo | 8d268932dd927a24a2b5de167d63869484e1433a | [
"MIT"
] | 1 | 2017-01-10T04:23:55.000Z | 2017-01-10T04:23:55.000Z | io/reader_test.cc | chronos-tachyon/mojo | 8d268932dd927a24a2b5de167d63869484e1433a | [
"MIT"
] | 1 | 2020-04-13T04:53:07.000Z | 2020-04-13T04:53:07.000Z | // Copyright © 2016 by Donald King <chronos@chronos-tachyon.net>
// Available under the MIT License. See LICENSE for details.
#include "gtest/gtest.h"
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <condition_variable>
#include <mutex>
#include <thread>
#include "base... | 23.96024 | 99 | 0.616832 | chronos-tachyon |
d0d849b10ed26b212ddc9b843f578b538bed3146 | 5,099 | cpp | C++ | launcher/src/launcher/ExecutableLoader.cpp | norelock/Project-MP-1 | 31dbb5c74b29a47df4cf41280887a66794fdc5ff | [
"MIT"
] | 1 | 2022-02-19T15:52:29.000Z | 2022-02-19T15:52:29.000Z | launcher/src/launcher/ExecutableLoader.cpp | cleoppa/norasa | 6f8d697922dca2fcc42a5830a384e790c687833a | [
"MIT"
] | 2 | 2020-11-08T08:12:41.000Z | 2022-01-08T07:20:45.000Z | launcher/src/launcher/ExecutableLoader.cpp | cleoppa/norasa | 6f8d697922dca2fcc42a5830a384e790c687833a | [
"MIT"
] | 3 | 2020-03-23T06:56:35.000Z | 2021-06-06T02:30:06.000Z | #include "stdafx.h"
/*
#pragma bss_seg(".cdummy")
char dummy_seg[0x2500000];
#pragma data_seg(".zdata")
char zdata[0x50000] = { 1 };
*/
ExecutableLoader::ExecutableLoader(const BYTE* origBinary)
{
m_origBinary = origBinary;
m_loadLimit = UINT_MAX;
SetLibraryLoader([](const char* name)
{
return LoadLibraryA(name... | 28.171271 | 147 | 0.741322 | norelock |
d0dd4f6265b888ac8b8da9558df840ec2de1453f | 2,709 | cpp | C++ | Source/Arnoldi/Select_Shifts.cpp | evstigneevnm/NS3DPeriodic | 094c168f153e36f00ac9103675416ddb9ee6b586 | [
"BSD-3-Clause"
] | null | null | null | Source/Arnoldi/Select_Shifts.cpp | evstigneevnm/NS3DPeriodic | 094c168f153e36f00ac9103675416ddb9ee6b586 | [
"BSD-3-Clause"
] | null | null | null | Source/Arnoldi/Select_Shifts.cpp | evstigneevnm/NS3DPeriodic | 094c168f153e36f00ac9103675416ddb9ee6b586 | [
"BSD-3-Clause"
] | null | null | null | #include "Select_Shifts.h"
#include "Products.h"
#include "LAPACK_routines.h"
void check_nans_H(int N, real *H){
for(int i=0;i<N;i++)
if(H[i]!=H[i]){
printf("\nNANs in H-matrix detected!!!\n");
}
}
int struct_cmp_by_value(const void *a, const void *b)
{
struct sort_struct *ia = (struct sort_struct *... | 20.216418 | 127 | 0.670727 | evstigneevnm |
d0e3f1cfbabbe3e3f5baa0e292ede09e18cea908 | 838 | cpp | C++ | Problems/0096. Unique Binary Search Trees.cpp | KrKush23/LeetCode | 2a87420a65347a34fba333d46e1aa6224c629b7a | [
"MIT"
] | null | null | null | Problems/0096. Unique Binary Search Trees.cpp | KrKush23/LeetCode | 2a87420a65347a34fba333d46e1aa6224c629b7a | [
"MIT"
] | null | null | null | Problems/0096. Unique Binary Search Trees.cpp | KrKush23/LeetCode | 2a87420a65347a34fba333d46e1aa6224c629b7a | [
"MIT"
] | null | null | null | class Solution {
vector<int> dp;
public:
int uniqueBST(int n) {
// BASE CASE
if (n == 0 or n == 1)
return 1;
// MEMOIZATION
if (dp[n] != -1)
return dp[n];
//RECURSIVE
int res{0};
for (int i = 1; i <= n; i++) { // selecting each node one by one
res += uniqueBST(i - 1) * uniqueBST(n - i); // wi... | 22.648649 | 96 | 0.52148 | KrKush23 |
d0e8c437cc7f6fc0049650f97977094f121ea048 | 1,040 | cpp | C++ | CS Academy/Overlapping Matrices/28.57 points.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | CS Academy/Overlapping Matrices/28.57 points.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | CS Academy/Overlapping Matrices/28.57 points.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created:
* solution_verdict: 28.57 points language: C++
* run... | 26.666667 | 111 | 0.35 | kzvd4729 |
d0eb0778f46b42091d041d80c65db5dbed3348ba | 545 | cpp | C++ | src/enclave/ServiceProvider/KeyGen.cpp | brucechin/opaque | 29e1755078412c46706608b17b4932ebd92d34b2 | [
"Apache-2.0"
] | null | null | null | src/enclave/ServiceProvider/KeyGen.cpp | brucechin/opaque | 29e1755078412c46706608b17b4932ebd92d34b2 | [
"Apache-2.0"
] | null | null | null | src/enclave/ServiceProvider/KeyGen.cpp | brucechin/opaque | 29e1755078412c46706608b17b4932ebd92d34b2 | [
"Apache-2.0"
] | 1 | 2021-09-23T03:06:08.000Z | 2021-09-23T03:06:08.000Z | #include "ServiceProvider.h"
int main(int argc, char **argv) {
if (argc < 2) {
printf("Usage: ./keygen <public_key_cpp_file>\n");
return 1;
}
const char *private_key_path = "/home/lqp0562/opaque/private_key.pem";
if (!private_key_path) {
printf("Set $PRIVATE_KEY_PATH to the file generated by opens... | 27.25 | 94 | 0.695413 | brucechin |
d0ecd90e65a39df4df042ee391c3afe1a91f6e45 | 3,546 | hpp | C++ | Rx/v2/src/rxcpp/rx-test.hpp | guhwanbae/RxCpp | 7f97aa901701343593869acad1ee5a02292f39cf | [
"Apache-2.0"
] | 1 | 2022-02-20T18:08:22.000Z | 2022-02-20T18:08:22.000Z | Rx/v2/src/rxcpp/rx-test.hpp | ivan-cukic/wip-fork-rxcpp | 483963939e4a2adf674450dcb829005d84be1d59 | [
"Apache-2.0"
] | null | null | null | Rx/v2/src/rxcpp/rx-test.hpp | ivan-cukic/wip-fork-rxcpp | 483963939e4a2adf674450dcb829005d84be1d59 | [
"Apache-2.0"
] | null | null | null | #pragma once
#if !defined(RXCPP_RX_TEST_HPP)
#define RXCPP_RX_TEST_HPP
#include "rx-includes.hpp"
namespace rxcpp {
namespace test {
namespace detail {
template<class T>
struct test_subject_base
: public std::enable_shared_from_this<test_subject_base<T>>
{
using recorded_type = rxn::recorded<typename rxn:... | 25.695652 | 138 | 0.688099 | guhwanbae |
d0ede1d40781c2931400b92d1159f53961e4f744 | 36,164 | cc | C++ | tests/core/test_core_focus_manager.cc | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | tests/core/test_core_focus_manager.cc | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | tests/core/test_core_focus_manager.cc | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir... | 50.019364 | 209 | 0.808428 | nugulinux |
d0f48c9d8316176fa6633b420486642150f6f79e | 1,009 | hpp | C++ | plugins/d3d9/include/sge/d3d9/state/core/depth_stencil/stencil/enabled_visitor.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/d3d9/include/sge/d3d9/state/core/depth_stencil/stencil/enabled_visitor.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/d3d9/include/sge/d3d9/state/core/depth_stencil/stencil/enabled_visitor.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_D3D9_STATE_CORE_DEPTH_STENCIL_STENCIL_ENABLED_VISITOR_HPP_INCLUDED
#define SGE_D3D9_STA... | 21.934783 | 89 | 0.77106 | cpreh |
d0f957374b6a73dd463c98489d59005bb92124e0 | 890 | cpp | C++ | COS1511/Part3/Lesson21/aii.cpp | GalliWare/UNISA-studies | 32bab94930b176c4dfe943439781ef102896fab5 | [
"Unlicense"
] | null | null | null | COS1511/Part3/Lesson21/aii.cpp | GalliWare/UNISA-studies | 32bab94930b176c4dfe943439781ef102896fab5 | [
"Unlicense"
] | null | null | null | COS1511/Part3/Lesson21/aii.cpp | GalliWare/UNISA-studies | 32bab94930b176c4dfe943439781ef102896fab5 | [
"Unlicense"
] | null | null | null | // compute the average of 3 marks for 2 students and display the better average
// my code with the addition of the reference so input can be turned into a function.
#include <iostream>
using namespace std;
float averageMark(float mark1, float mark2, float mark3)
{
float average = 0, divider = 3;
average = (mark1 ... | 23.421053 | 85 | 0.682022 | GalliWare |
d0fafcfdb8f8a6871c6e2180216b295eb5740119 | 630 | cc | C++ | sdk/src/http/HttpClient.cc | OpenInspur/inspur-oss-cpp-sdk | a0932232aaf46aab7c5a2079f72d80cc5d634ba2 | [
"Apache-2.0"
] | null | null | null | sdk/src/http/HttpClient.cc | OpenInspur/inspur-oss-cpp-sdk | a0932232aaf46aab7c5a2079f72d80cc5d634ba2 | [
"Apache-2.0"
] | null | null | null | sdk/src/http/HttpClient.cc | OpenInspur/inspur-oss-cpp-sdk | a0932232aaf46aab7c5a2079f72d80cc5d634ba2 | [
"Apache-2.0"
] | null | null | null | #include "HttpClient.h"
using namespace InspurCloud::OSS;
HttpClient::HttpClient():
disable_(false)
{
}
HttpClient::~HttpClient()
{
}
bool HttpClient::isEnable()
{
return disable_.load() == false;
}
void HttpClient::disable()
{
disable_ = true;
requestSignal_.notify_all();
}
void HttpClient::enab... | 16.153846 | 128 | 0.669841 | OpenInspur |
cb9c0d8189012fbe41d8ea09293342927a1b3d2e | 1,707 | cpp | C++ | Barometer/src/main.cpp | michprev/drone | 51c659cdd4e1d50446a563bb11e800defda9a298 | [
"MIT"
] | 2 | 2017-06-03T01:07:16.000Z | 2017-07-14T17:49:16.000Z | Barometer/src/main.cpp | michprev/drone | 51c659cdd4e1d50446a563bb11e800defda9a298 | [
"MIT"
] | 5 | 2017-04-24T20:29:04.000Z | 2017-06-26T17:40:53.000Z | Barometer/src/main.cpp | michprev/drone | 51c659cdd4e1d50446a563bb11e800defda9a298 | [
"MIT"
] | null | null | null | /**
******************************************************************************
* @file main.c
* @author Ac6
* @version V1.0
* @date 01-December-2013
* @brief Default main function.
******************************************************************************
*/
#include "stm32f4... | 23.383562 | 81 | 0.620972 | michprev |
cb9e0823aad36f6d2f7eef03549bbaa15a5f3002 | 514 | hpp | C++ | src/LovelaceConfig/FanCardConfig.hpp | RobinSinghNanda/Home-assistant-display | 6f59104012c0956b54d4b55e190aa89941c2c1af | [
"MIT"
] | 2 | 2020-10-23T19:53:56.000Z | 2020-11-06T08:59:48.000Z | src/LovelaceConfig/FanCardConfig.hpp | RobinSinghNanda/Home-assistant-display | 6f59104012c0956b54d4b55e190aa89941c2c1af | [
"MIT"
] | null | null | null | src/LovelaceConfig/FanCardConfig.hpp | RobinSinghNanda/Home-assistant-display | 6f59104012c0956b54d4b55e190aa89941c2c1af | [
"MIT"
] | null | null | null | #ifndef __FANCARDCONFIG_H__
#define __FANCARDCONFIG_H__
#include "BaseEntityCardConfig.hpp"
#include <string.h>
class FanCardConfig : public BaseEntityCardConfig {
public:
FanCardConfig(const char * entity, const char * title, const char * icon, const char * rowIcon, bool state_color);
FanCardConfig(const c... | 32.125 | 118 | 0.745136 | RobinSinghNanda |
cba0569739e874dce90f679b8584d0275a0621ed | 1,482 | cxx | C++ | src/sdp_read/read_input/read_json/JSON_Parser/Key.cxx | ChrisPattison/sdpb | 4668f72c935e7feba705dd8247d9aacb23185f1c | [
"MIT"
] | 45 | 2015-02-10T15:45:22.000Z | 2022-02-24T07:45:01.000Z | src/sdp_read/read_input/read_json/JSON_Parser/Key.cxx | ChrisPattison/sdpb | 4668f72c935e7feba705dd8247d9aacb23185f1c | [
"MIT"
] | 58 | 2015-02-27T10:03:18.000Z | 2021-08-10T04:21:42.000Z | src/sdp_read/read_input/read_json/JSON_Parser/Key.cxx | ChrisPattison/sdpb | 4668f72c935e7feba705dd8247d9aacb23185f1c | [
"MIT"
] | 38 | 2015-02-10T11:11:27.000Z | 2022-02-11T20:59:42.000Z | #include "../JSON_Parser.hxx"
bool JSON_Parser::Key(const Ch *str, rapidjson::SizeType length, bool)
{
std::string key(str, length);
if(inside)
{
if(parsing_objective)
{
throw std::runtime_error("Invalid input file. Found the key '" + key
+ "' inside ... | 30.244898 | 79 | 0.503374 | ChrisPattison |
cba42f85d77a37f23b5b06b555e43d2c6793f139 | 1,068 | hpp | C++ | include/stl2/detail/concepts/urng.hpp | melton1968/cmcstl2 | 15052dda39c93c460b8e0e16fff62d8eb4388627 | [
"MIT"
] | null | null | null | include/stl2/detail/concepts/urng.hpp | melton1968/cmcstl2 | 15052dda39c93c460b8e0e16fff62d8eb4388627 | [
"MIT"
] | null | null | null | include/stl2/detail/concepts/urng.hpp | melton1968/cmcstl2 | 15052dda39c93c460b8e0e16fff62d8eb4388627 | [
"MIT"
] | null | null | null | // cmcstl2 - A concept-enabled C++ standard library
//
// Copyright Casey Carter 2015
// Copyright Eric Niebler 2015
//
// Use, modification and distribution is subject to 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)
//
/... | 29.666667 | 68 | 0.725655 | melton1968 |
cba7aac455f42b3c965db0784984de83aab58298 | 5,002 | cpp | C++ | mcu/timer/LPTimer.cpp | sourcebox/mcu_stm32l4xx | 509433f5fbbd6f3238b1694b681d21241412a400 | [
"MIT"
] | null | null | null | mcu/timer/LPTimer.cpp | sourcebox/mcu_stm32l4xx | 509433f5fbbd6f3238b1694b681d21241412a400 | [
"MIT"
] | null | null | null | mcu/timer/LPTimer.cpp | sourcebox/mcu_stm32l4xx | 509433f5fbbd6f3238b1694b681d21241412a400 | [
"MIT"
] | null | null | null | /**
* @file LPTimer.cpp
*
* Driver for low power timer peripherals on STM32L4xx
*
* @author: Oliver Rockstedt <info@sourcebox.de>
* @license MIT
*/
// Corresponding header
#include "LPTimer.h"
// This component
#include "../core/NVIC.h"
#include "../rcc/RCC.h"
#include "../rcc/RCC_Registers.h"
... | 18.594796 | 82 | 0.570972 | sourcebox |
cba7e87ac1438fe9452d7660e49845d7e8ea457c | 1,253 | cpp | C++ | problems/triangle/src/Solution.cpp | bbackspace/leetcode | bc3f235fcd42c37800e6ef7eefab4c826d70f3d3 | [
"CC0-1.0"
] | null | null | null | problems/triangle/src/Solution.cpp | bbackspace/leetcode | bc3f235fcd42c37800e6ef7eefab4c826d70f3d3 | [
"CC0-1.0"
] | null | null | null | problems/triangle/src/Solution.cpp | bbackspace/leetcode | bc3f235fcd42c37800e6ef7eefab4c826d70f3d3 | [
"CC0-1.0"
] | null | null | null | class Solution {
public:
int minimumTotal(vector<vector<int>>& triangle) {
vector<vector<int>> dp(triangle.size(), vector<int>(triangle.size(), 0));
dp[0][0] = triangle[0][0];
for (int i = 1; i < triangle.size(); i++) {
dp[i][0] = dp[i - 1][0] + triangle[i][0];
for (i... | 29.139535 | 84 | 0.365523 | bbackspace |
cbbb20203048656dfd071519280ec9992fd02140 | 1,678 | cpp | C++ | src/distance_functions.cpp | ChristianDueben/conleyreg | 73d71fa50b02adcd8dae3b8b407db50403d8017b | [
"MIT"
] | 3 | 2021-11-03T12:35:58.000Z | 2022-03-30T11:21:42.000Z | src/distance_functions.cpp | ChristianDueben/conleyreg | 73d71fa50b02adcd8dae3b8b407db50403d8017b | [
"MIT"
] | 2 | 2021-04-19T17:32:47.000Z | 2021-11-29T21:13:14.000Z | src/distance_functions.cpp | ChristianDueben/conleyreg | 73d71fa50b02adcd8dae3b8b407db50403d8017b | [
"MIT"
] | null | null | null | #include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::plugins(cpp11)]]
#ifdef _OPENMP
#include <omp.h>
#else
#define omp_get_num_threads() 1
#define omp_get_thread_num() 0
#define omp_get_max_threads() 1
#define omp_get_thread_limit() 1
#define omp_get_num_procs() 1
#endif
// [[Rc... | 38.136364 | 143 | 0.68534 | ChristianDueben |
cbbb2c1c702f560230f2291b6406139381713261 | 3,327 | cc | C++ | lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/elementwise.cc | PaddleLite-EB/Paddle-Lite | 40cae8672712552de5eb0894d0b5316ae89d3c17 | [
"Apache-2.0"
] | 6 | 2020-07-01T02:52:16.000Z | 2021-06-22T12:15:59.000Z | lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/elementwise.cc | PaddleLite-EB/Paddle-Lite | 40cae8672712552de5eb0894d0b5316ae89d3c17 | [
"Apache-2.0"
] | null | null | null | lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/elementwise.cc | PaddleLite-EB/Paddle-Lite | 40cae8672712552de5eb0894d0b5316ae89d3c17 | [
"Apache-2.0"
] | 1 | 2021-07-24T15:30:46.000Z | 2021-07-24T15:30:46.000Z | // Copyright (c) 2019 PaddlePaddle 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... | 41.5875 | 75 | 0.733093 | PaddleLite-EB |
cbbc838b43269f4e27c7ac866427322f0dd802df | 40,733 | hpp | C++ | SDK/ARKSurvivalEvolved_GiantTurtle_Character_BP_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_GiantTurtle_Character_BP_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_GiantTurtle_Character_BP_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_GiantTurtle_Character_BP_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//------------------------------------------------... | 137.611486 | 270 | 0.558859 | 2bite |
cbc0c05ba53e0d28b2d17504ee3360b3a1f1e423 | 1,455 | cpp | C++ | trees/priority_queue.cpp | triffon/sdp-2015-16 | bb15cea4b4cad7791d82f55d106c3975b287af4e | [
"MIT"
] | 3 | 2015-10-12T14:02:43.000Z | 2021-06-22T13:02:48.000Z | trees/priority_queue.cpp | triffon/sdp-2015-16 | bb15cea4b4cad7791d82f55d106c3975b287af4e | [
"MIT"
] | null | null | null | trees/priority_queue.cpp | triffon/sdp-2015-16 | bb15cea4b4cad7791d82f55d106c3975b287af4e | [
"MIT"
] | null | null | null | /*
* priority_queue.cpp
*
* Created on: 4.12.2015 г.
* Author: trifon
*/
#include "bintree.cpp"
template <typename T>
class PriorityQueue : BinaryTree<T> {
private:
using P = BinaryTreePosition<T>;
void insertAndSiftUp(P pos, T const& x) {
if (pos) {
P newpos = (x % 2) ? -pos : +pos;
insertAndSi... | 17.962963 | 54 | 0.58488 | triffon |
cbc52e1b7326324fe9d676e4322614e29ea60d75 | 1,128 | cpp | C++ | leetcode_solutions/others/leetcode_492.cpp | EatAllBugs/leetcode_cpp | 3f5c58b32f0c3b115a706dd172c3fb72e4cc67ba | [
"MIT"
] | 4 | 2021-12-07T19:39:03.000Z | 2021-12-23T09:15:08.000Z | leetcode_solutions/others/leetcode_492.cpp | EatAllBugs/leetcode_cpp | 3f5c58b32f0c3b115a706dd172c3fb72e4cc67ba | [
"MIT"
] | null | null | null | leetcode_solutions/others/leetcode_492.cpp | EatAllBugs/leetcode_cpp | 3f5c58b32f0c3b115a706dd172c3fb72e4cc67ba | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<limits.h>
#include<algorithm>
#include<numeric>
#include<unordered_set>
#include<cmath>
using namespace std;
/*
作为一位web开发者, 懂得怎样去规划一个页面的尺寸是很重要的。 现给定一个具体的矩形页面面积,你的任务是设计一个长度为 L 和宽度为 W 且满足以下要求的矩形的页面。要求:
1. 你设计的矩形页面必须等于给定的目标面积。
2. 宽度 W 不应大于长度 L,换言之,要求 L >= W 。
3. 长度 L 和宽度 W 之间的差... | 20.888889 | 87 | 0.590426 | EatAllBugs |
cbc810cfeb0de84d45088c9b9ecb861e9f28e79d | 586 | cpp | C++ | zoe/src/zoe/display/Game/Sprite.cpp | NudelErde/zoe | 456e38bba86058f006a7c0fd5168af5039714c6c | [
"MIT"
] | 7 | 2019-12-16T20:23:39.000Z | 2020-10-26T08:46:12.000Z | zoe/src/zoe/display/Game/Sprite.cpp | NudelErde/zoe | 456e38bba86058f006a7c0fd5168af5039714c6c | [
"MIT"
] | 13 | 2020-01-13T20:19:06.000Z | 2021-09-10T21:23:52.000Z | zoe/src/zoe/display/Game/Sprite.cpp | NudelErde/zoe | 456e38bba86058f006a7c0fd5168af5039714c6c | [
"MIT"
] | 7 | 2019-12-29T22:46:23.000Z | 2020-07-15T19:56:32.000Z | //
// Created by Florian on 10.07.2020.
//
#include "Sprite.h"
namespace Zoe{
void Sprite::onDraw(const Camera& camera) {}
void Sprite::onUpdate(double time) {}
void Sprite::onInputEvent(Event &event) {}
void Sprite::fill(const XMLNode &node) {
if(node.attributes.count("x")>0){
position.x = std::stof(n... | 20.206897 | 56 | 0.616041 | NudelErde |
cbce4032e94199fa3e8d2c448f4278774f45f7fa | 2,692 | cpp | C++ | sources/http/response.cpp | deguangchow/NetFlex | 8fbdee6601dcbaa5be12e467bee82f1f648cd63b | [
"MIT"
] | null | null | null | sources/http/response.cpp | deguangchow/NetFlex | 8fbdee6601dcbaa5be12e467bee82f1f648cd63b | [
"MIT"
] | null | null | null | sources/http/response.cpp | deguangchow/NetFlex | 8fbdee6601dcbaa5be12e467bee82f1f648cd63b | [
"MIT"
] | null | null | null | // The MIT License (MIT)
//
// Copyright (c) 2015-2017 Simon Ninon <simon.ninon@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitat... | 22.813559 | 85 | 0.737741 | deguangchow |
cbd0cecbc1a854b0bac056d1739c3577662fc95e | 1,155 | cpp | C++ | C++/problem0594.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem0594.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem0594.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <cmath>
#include <ctime>
#include <cstdlib>
#include <windows.h>
#include <string>
#include <numeric>
using namespace std;
class Solution
{
public:
int findLHS(vector<int>& nums) {
... | 21 | 63 | 0.442424 | 1050669722 |
cbd7b33cdc290bfc98be048f396e031fd1ca7586 | 1,472 | hpp | C++ | include/Jam/Instance.hpp | DrJonki/Kajak-Games-Finlandia-Jam | 7c5e44c11ec5a3edbbf4ae006fab4fd5921141e7 | [
"MIT"
] | null | null | null | include/Jam/Instance.hpp | DrJonki/Kajak-Games-Finlandia-Jam | 7c5e44c11ec5a3edbbf4ae006fab4fd5921141e7 | [
"MIT"
] | null | null | null | include/Jam/Instance.hpp | DrJonki/Kajak-Games-Finlandia-Jam | 7c5e44c11ec5a3edbbf4ae006fab4fd5921141e7 | [
"MIT"
] | null | null | null | #pragma once
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/RenderTexture.hpp>
#include <SFML/System/Clock.hpp>
#include <SFML/Graphics/RectangleShape.hpp>
#include <SFML/Network/TcpSocket.hpp>
#include <SFML/Network/UdpSocket.hpp>
#include <rapidjson/document.h>
#include <memory>
#include <Jam/Reso... | 19.116883 | 82 | 0.696332 | DrJonki |
cbdbda7941c47992cd7ca837bfd8134df0947c23 | 3,439 | cpp | C++ | secure_tunneling/source/IotSecureTunnelingClient.cpp | gregbreen/aws-iot-device-sdk-cpp-v2 | 57ded0046d1cda3b35fbe9298eed308392961435 | [
"Apache-2.0"
] | 88 | 2019-11-29T19:30:29.000Z | 2022-03-28T02:29:51.000Z | secure_tunneling/source/IotSecureTunnelingClient.cpp | gregbreen/aws-iot-device-sdk-cpp-v2 | 57ded0046d1cda3b35fbe9298eed308392961435 | [
"Apache-2.0"
] | 194 | 2019-12-01T15:54:42.000Z | 2022-03-31T22:06:11.000Z | secure_tunneling/source/IotSecureTunnelingClient.cpp | gregbreen/aws-iot-device-sdk-cpp-v2 | 57ded0046d1cda3b35fbe9298eed308392961435 | [
"Apache-2.0"
] | 64 | 2019-12-17T14:13:40.000Z | 2022-03-12T07:43:13.000Z | /* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file a... | 38.640449 | 115 | 0.540855 | gregbreen |
cbf49c5a24e61e4f2b4d97be0848f6efdc9ebb5b | 4,236 | hpp | C++ | Manipulation.hpp | theoden8/rubikscube | 94ffd4a99f03729b28db41f1b05cbb208b4eceba | [
"MIT"
] | 1 | 2021-03-22T22:14:49.000Z | 2021-03-22T22:14:49.000Z | Manipulation.hpp | theoden8/rubikscube | 94ffd4a99f03729b28db41f1b05cbb208b4eceba | [
"MIT"
] | null | null | null | Manipulation.hpp | theoden8/rubikscube | 94ffd4a99f03729b28db41f1b05cbb208b4eceba | [
"MIT"
] | null | null | null | #pragma once
#include <cmath>
#ifndef M_PI
#define M_PI 3.141592653589793238462643383279502884L
#endif
#include <vector>
#include <queue>
#include <Logger.hpp>
#include <Debug.hpp>
#include <Face.hpp>
struct Manipulation {
const Face face;
const Rotation rot;
float progress = 0.;
/* inline Manipulation(... | 24.485549 | 130 | 0.595373 | theoden8 |
cbf69c5dd1c88758b676cdbdba78f8059d3ae2df | 13,160 | hpp | C++ | src/util/lp/square_dense_submatrix.hpp | greatmazinger/z3 | 52e9ddcb64e1d1dc94f280801995f4b30c8fe58b | [
"MIT"
] | 18 | 2018-05-25T03:16:11.000Z | 2022-01-25T01:41:20.000Z | src/util/lp/square_dense_submatrix.hpp | greatmazinger/z3 | 52e9ddcb64e1d1dc94f280801995f4b30c8fe58b | [
"MIT"
] | null | null | null | src/util/lp/square_dense_submatrix.hpp | greatmazinger/z3 | 52e9ddcb64e1d1dc94f280801995f4b30c8fe58b | [
"MIT"
] | 9 | 2019-11-12T05:42:08.000Z | 2022-02-18T01:09:53.000Z | /*++
Copyright (c) 2017 Microsoft Corporation
Module Name:
<name>
Abstract:
<abstract>
Author:
Lev Nachmanson (levnach)
Revision History:
--*/
#include "util/vector.h"
#include "util/lp/square_dense_submatrix.h"
namespace lp {
template <typename T, typename X>
square_dense_submatrix<T, X>::square_d... | 35.663957 | 160 | 0.607979 | greatmazinger |
cbf72f21062fb5d21cb485db47a0c04898cd36de | 7,545 | cpp | C++ | src/liblvr2/io/BoctreeIO.cpp | uos/lvr | 9bb03a30441b027c39db967318877e03725112d5 | [
"BSD-3-Clause"
] | 38 | 2019-06-19T15:10:35.000Z | 2022-02-16T03:08:24.000Z | src/liblvr2/io/BoctreeIO.cpp | uos/lvr | 9bb03a30441b027c39db967318877e03725112d5 | [
"BSD-3-Clause"
] | 9 | 2019-06-19T16:19:51.000Z | 2021-09-17T08:31:25.000Z | src/liblvr2/io/BoctreeIO.cpp | uos/lvr | 9bb03a30441b027c39db967318877e03725112d5 | [
"BSD-3-Clause"
] | 13 | 2019-04-16T11:50:32.000Z | 2020-11-26T07:47:44.000Z | /**
* Copyright (c) 2018, University Osnabrück
* 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 li... | 31.701681 | 103 | 0.533333 | uos |
cbf736ce4a477ce6fe1054fb591394ad3b9fcdf8 | 2,115 | hpp | C++ | src/misc/containers.hpp | kmaninis/COB_public | e4cb02a4c6e9ffa85951bec36846581dc98e68de | [
"BSD-2-Clause-FreeBSD"
] | 205 | 2016-08-10T04:13:40.000Z | 2022-01-28T08:57:37.000Z | src/misc/containers.hpp | kmaninis/COB_public | e4cb02a4c6e9ffa85951bec36846581dc98e68de | [
"BSD-2-Clause-FreeBSD"
] | 19 | 2016-09-19T13:05:59.000Z | 2021-05-13T12:39:33.000Z | src/misc/containers.hpp | kmaninis/COB_public | e4cb02a4c6e9ffa85951bec36846581dc98e68de | [
"BSD-2-Clause-FreeBSD"
] | 70 | 2016-08-03T03:36:53.000Z | 2022-02-03T20:44:43.000Z | // ------------------------------------------------------------------------
// Copyright (C)
// ETH Zurich - Switzerland
//
// Kevis-Kokitsi Maninis <kmaninis@vision.ee.ethz.ch>
// Jordi Pont-Tuset <jponttuset@vision.ee.ethz.ch>
// July 2016
// --------------------------------------------------------------------... | 26.111111 | 98 | 0.533333 | kmaninis |
cbfbb58db9322b4e56c3c01538754afe49203555 | 14,499 | cpp | C++ | src/CDocScriptAmendments.cpp | QtWorks/CDoc | 64b806a39b24bedd8aede6a7134326c248c0c614 | [
"MIT"
] | 1 | 2019-04-24T02:14:34.000Z | 2019-04-24T02:14:34.000Z | src/CDocScriptAmendments.cpp | QtWorks/CDoc | 64b806a39b24bedd8aede6a7134326c248c0c614 | [
"MIT"
] | null | null | null | src/CDocScriptAmendments.cpp | QtWorks/CDoc | 64b806a39b24bedd8aede6a7134326c248c0c614 | [
"MIT"
] | null | null | null | #include "CDocI.h"
/*----------------------------------------------------------------*/
#define DUMMY_AMENDMENT 0
#define AMENDMENT_ISSUED 1
#define AMENDMENT_ADDED 2
struct CDAmendmentData {
int type;
char *issue;
char *amend;
char *detail;
char *author;
char *date;
char *approve;
char *agree;
... | 27.564639 | 93 | 0.63294 | QtWorks |
cbfe304763b786b823615c143eab5a26bb544307 | 2,140 | cpp | C++ | src/WebConf.cpp | VisaJE/DoomsdayTetris-2 | a5f460ca2f8c55a533926c8ec2fe5248df2450e5 | [
"FTL",
"MIT"
] | 1 | 2019-09-20T20:37:35.000Z | 2019-09-20T20:37:35.000Z | src/WebConf.cpp | VisaJE/DoomsdayTetris-2 | a5f460ca2f8c55a533926c8ec2fe5248df2450e5 | [
"FTL",
"MIT"
] | null | null | null | src/WebConf.cpp | VisaJE/DoomsdayTetris-2 | a5f460ca2f8c55a533926c8ec2fe5248df2450e5 | [
"FTL",
"MIT"
] | null | null | null | #include "WebConf.h"
#include <iostream>
#include <vector>
#include <cstdio>
#include <sstream>
#include <fstream>
#include "Paths.h"
#include "rapidjson/document.h"
#include "rapidjson/writer.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/filewritestream.h"
#include "rapidjson/filereadstream.h"
using na... | 22.291667 | 74 | 0.609346 | VisaJE |
02021723a676015654d72928189fa57966f6e418 | 3,065 | hpp | C++ | include/ftl/map_container_const_iterator.hpp | ftlorg/ftl | 75a580043ddf011477f0fbcb0ed1dc01be37814d | [
"BSL-1.0"
] | 47 | 2020-07-17T07:31:42.000Z | 2022-02-18T10:31:45.000Z | include/ftl/map_container_const_iterator.hpp | ftlorg/ftl | 75a580043ddf011477f0fbcb0ed1dc01be37814d | [
"BSL-1.0"
] | 40 | 2020-07-23T09:01:39.000Z | 2020-12-19T15:19:44.000Z | include/ftl/map_container_const_iterator.hpp | ftlorg/ftl | 75a580043ddf011477f0fbcb0ed1dc01be37814d | [
"BSL-1.0"
] | 1 | 2020-07-26T18:21:36.000Z | 2020-07-26T18:21:36.000Z |
// Copyright Grzegorz Litarowicz and Lukasz Gut 2020 - 2020.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <ftl/iterator_interface.hpp>
#include <ftl/iterator_member_provid... | 50.245902 | 122 | 0.804568 | ftlorg |
02024a9538028ed67ae53f0a4acc741c4f8e4b72 | 8,617 | cpp | C++ | tst/OpcUaStackCore/BuildInTypes/OpcUaVariantValue_t.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 108 | 2018-10-08T17:03:32.000Z | 2022-03-21T00:52:26.000Z | tst/OpcUaStackCore/BuildInTypes/OpcUaVariantValue_t.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 287 | 2018-09-18T14:59:12.000Z | 2022-01-13T12:28:23.000Z | tst/OpcUaStackCore/BuildInTypes/OpcUaVariantValue_t.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 32 | 2018-10-19T14:35:03.000Z | 2021-11-12T09:36:46.000Z | #include "unittest.h"
#include "OpcUaStackCore/BuildInTypes/OpcUaVariant.h"
using namespace OpcUaStackCore;
BOOST_AUTO_TEST_SUITE(OpcUaVariantValue_)
BOOST_AUTO_TEST_CASE(OpcUaVariantValue_)
{
std::cout << "OpcUaVariantValue_t" << std::endl;
}
BOOST_AUTO_TEST_CASE(OpcUaVariantValue_uint32_copyTo)
{
OpcUaVariantVa... | 31.797048 | 93 | 0.799698 | gianricardo |
020488f372a97cea57732f61db4c270581acce67 | 1,204 | cpp | C++ | src/scenes/hannahWhitney/hannahWhitney.cpp | yxcde/RTP_MIT_RECODED | 181deb2e3228484fa9d4ed0e6bf3f4a639d99419 | [
"MIT"
] | 12 | 2019-10-28T19:07:59.000Z | 2021-08-21T22:00:52.000Z | src/scenes/hannahWhitney/hannahWhitney.cpp | yxcde/RTP_MIT_RECODED | 181deb2e3228484fa9d4ed0e6bf3f4a639d99419 | [
"MIT"
] | 1 | 2019-10-28T19:20:05.000Z | 2019-10-28T20:14:24.000Z | src/scenes/hannahWhitney/hannahWhitney.cpp | yxcde/RTP_MIT_RECODED | 181deb2e3228484fa9d4ed0e6bf3f4a639d99419 | [
"MIT"
] | 8 | 2019-10-28T19:11:30.000Z | 2020-01-12T05:18:31.000Z |
#include "hannahWhitney.h"
void hannahWhitney::setup(){
// setup pramaters
// if your original code use an ofxPanel instance dont use it here, instead
// add your parameters to the "parameters" instance as follows.
// param was declared in mitScene1.h
//parameters.add(param.set("param", 5, 0, 100));
param... | 28 | 75 | 0.585548 | yxcde |
0208cfad27722f229571d73aba766e592097b786 | 5,636 | cpp | C++ | src/journal_manager/replay/replay_stripe.cpp | hsungyang/poseidonos | 0f523b36ccf0d70726364395ea96ac6ae3b845c3 | [
"BSD-3-Clause"
] | 38 | 2021-04-06T03:20:55.000Z | 2022-03-02T09:33:28.000Z | src/journal_manager/replay/replay_stripe.cpp | gye-ul/poseidonos | bce8fe2cd1f36ede8647446ecc4cf8a9749e6918 | [
"BSD-3-Clause"
] | 19 | 2021-04-08T02:27:44.000Z | 2022-03-23T00:59:04.000Z | src/journal_manager/replay/replay_stripe.cpp | gye-ul/poseidonos | bce8fe2cd1f36ede8647446ecc4cf8a9749e6918 | [
"BSD-3-Clause"
] | 28 | 2021-04-08T04:39:18.000Z | 2022-03-24T05:56:00.000Z | /*
* BSD LICENSE
* Copyright (c) 2021 Samsung Electronics 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 th... | 30.301075 | 137 | 0.709368 | hsungyang |
0209710921734a953f6fe988de49529a58cfd8ba | 58,870 | cc | C++ | third/blackwidow/src/blackwidow.cc | kxtry/pika | 476a7cf1ae5d5518a744e5933ada59b8fd765f6e | [
"MIT"
] | null | null | null | third/blackwidow/src/blackwidow.cc | kxtry/pika | 476a7cf1ae5d5518a744e5933ada59b8fd765f6e | [
"MIT"
] | 2 | 2020-02-26T11:54:45.000Z | 2021-05-20T11:26:21.000Z | third/blackwidow/src/blackwidow.cc | kxtry/pika | 476a7cf1ae5d5518a744e5933ada59b8fd765f6e | [
"MIT"
] | null | null | null | // Copyright (c) 2017-present The blackwidow Authors. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "b... | 30.282922 | 107 | 0.588109 | kxtry |
021d1f0c93284d9dd8db0d3cef62784aec55eebb | 5,827 | cpp | C++ | lang/steve/Syntax.cpp | flowgrammable/steve-legacy | 5e7cbc16280c199732d26a2cb0703422695abe16 | [
"Apache-2.0"
] | 1 | 2017-07-30T04:18:56.000Z | 2017-07-30T04:18:56.000Z | lang/steve/Syntax.cpp | flowgrammable/steve-legacy | 5e7cbc16280c199732d26a2cb0703422695abe16 | [
"Apache-2.0"
] | null | null | null | lang/steve/Syntax.cpp | flowgrammable/steve-legacy | 5e7cbc16280c199732d26a2cb0703422695abe16 | [
"Apache-2.0"
] | null | null | null |
#include <steve/Syntax.hpp>
#include <steve/Print.hpp>
#include <steve/Debug.hpp>
namespace steve {
void
init_trees() {
// Terms
init_node(id_tree, "id-tree");
init_node(lit_tree, "lit-tree");
init_node(brace_tree, "brace-tree");
init_node(call_tree, "call-tree");
init_node(index_tree, "index-tree");
i... | 26.130045 | 66 | 0.665866 | flowgrammable |
0223e335169af73587acf33e192b13720d7cf256 | 4,795 | hpp | C++ | libs/iostreams/test/write_bidir_filter_test.hpp | zyiacas/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | libs/iostreams/test/write_bidir_filter_test.hpp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | libs/iostreams/test/write_bidir_filter_test.hpp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2004-2007 Jonathan Turkanis
// 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.)
// See http://www.boost.org/libs/iostreams for d... | 35.518519 | 85 | 0.572471 | zyiacas |
0227bf12c90e0a56a4e0729185a2f700f4eab792 | 21,446 | cpp | C++ | test/queuemanager.cpp | bogdasar1985/newsboat | 3ccc76b45ea86116d25a3dd7602a95350f878c77 | [
"MIT"
] | null | null | null | test/queuemanager.cpp | bogdasar1985/newsboat | 3ccc76b45ea86116d25a3dd7602a95350f878c77 | [
"MIT"
] | null | null | null | test/queuemanager.cpp | bogdasar1985/newsboat | 3ccc76b45ea86116d25a3dd7602a95350f878c77 | [
"MIT"
] | null | null | null | #include "queuemanager.h"
#include "3rd-party/catch.hpp"
#include "test_helpers/chmod.h"
#include "test_helpers/envvar.h"
#include "test_helpers/misc.h"
#include "test_helpers/tempfile.h"
#include "cache.h"
#include "configcontainer.h"
#include "rssfeed.h"
#include "rssitem.h"
#include "utils.h"
using namespace news... | 32.741985 | 108 | 0.698126 | bogdasar1985 |
022e8cdc7fd979350a932c73f852b0e1b194b98d | 5,516 | cpp | C++ | modules/fraction-calc-by-using-gcd/test/test_fraction-calc.cpp | gurylev-nikita/devtools-course-practice | bab6ba4e39f04940e27c9ac148505eb152c05d17 | [
"CC-BY-4.0"
] | null | null | null | modules/fraction-calc-by-using-gcd/test/test_fraction-calc.cpp | gurylev-nikita/devtools-course-practice | bab6ba4e39f04940e27c9ac148505eb152c05d17 | [
"CC-BY-4.0"
] | 3 | 2021-04-22T17:12:19.000Z | 2021-05-14T12:16:25.000Z | modules/fraction-calc-by-using-gcd/test/test_fraction-calc.cpp | taktaev-artyom/devtools-course-practice | 7cf19defe061c07cfb3ebb71579456e807430a5d | [
"CC-BY-4.0"
] | null | null | null | // Copyright 2021 Yurin Stanislav
#include <gtest/gtest.h>
#include <tuple>
#include "include/fraction.h"
typedef testing::TestWithParam<int>
Can_create_one_parametres_constructor;
TEST_P(Can_create_one_parametres_constructor, can_create_constructor) {
int n = GetParam();
Fraction f(n);
ASSER... | 24.959276 | 72 | 0.624184 | gurylev-nikita |
023db6b22b9a28d346cbb2f1953bc3307b8e2a74 | 624 | hpp | C++ | raisim/win32/mt_release/include/raisim/constraints/StiffLengthConstraint.hpp | simRepoRelease/raisimLib | 00724ac2abb0b4c11aadb4ddd3455fc42c57a34e | [
"Apache-2.0"
] | 142 | 2020-10-21T18:18:13.000Z | 2022-03-29T11:49:25.000Z | raisim/win32/mt_release/include/raisim/constraints/StiffLengthConstraint.hpp | simRepoRelease/raisimLib | 00724ac2abb0b4c11aadb4ddd3455fc42c57a34e | [
"Apache-2.0"
] | 192 | 2020-10-21T15:51:15.000Z | 2022-03-28T12:56:01.000Z | raisim/win32/mt_release/include/raisim/constraints/StiffLengthConstraint.hpp | simRepoRelease/raisimLib | 00724ac2abb0b4c11aadb4ddd3455fc42c57a34e | [
"Apache-2.0"
] | 51 | 2020-10-26T08:29:54.000Z | 2022-03-23T12:00:23.000Z | //----------------------------//
// This file is part of RaiSim//
// Copyright 2020, RaiSim Tech//
//----------------------------//
#ifndef RAISIM_STIFFWIRE_HPP
#define RAISIM_STIFFWIRE_HPP
#include "LengthConstraint.hpp"
namespace raisim {
class StiffLengthConstraint : public LengthConstraint {
public:
StiffLe... | 21.517241 | 133 | 0.689103 | simRepoRelease |
023f04b5d143edd11c52d56b5ab6e1297a7fe7ba | 6,666 | cpp | C++ | src/transaction/transactors/SetREL.cpp | hawx1993/truechain-testnet-core | a75edfe83562b3764fb3140144bc41943ebb995a | [
"MIT"
] | null | null | null | src/transaction/transactors/SetREL.cpp | hawx1993/truechain-testnet-core | a75edfe83562b3764fb3140144bc41943ebb995a | [
"MIT"
] | null | null | null | src/transaction/transactors/SetREL.cpp | hawx1993/truechain-testnet-core | a75edfe83562b3764fb3140144bc41943ebb995a | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
/*
Copyright (c) 2012, 2013 Skywell Labs Inc.
Copyright (c) 2017-2018 TrueChain Foundation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that ... | 33.33 | 100 | 0.581458 | hawx1993 |
02453a9c5f55e1e5df7a191a9c251533ef2e9fb6 | 6,259 | cpp | C++ | KRender/Internal/KConstantDefinition.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 13 | 2019-10-19T17:41:19.000Z | 2021-11-04T18:50:03.000Z | KRender/Internal/KConstantDefinition.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 3 | 2019-12-09T06:22:43.000Z | 2020-05-28T09:33:44.000Z | KRender/Internal/KConstantDefinition.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | null | null | null | #include "KConstantDefinition.h"
namespace KConstantDefinition
{
static ConstantBufferDetail CAMERA_DETAILS;
static ConstantBufferDetail SHADOW_DETAILS;
static ConstantBufferDetail CASCADED_SHADOW_DETAILS;
static ConstantBufferDetail GLOBAL_DETAILS;
static ConstantBufferDetail VOXEL_DETAILS;
static ConstantBuffe... | 37.479042 | 196 | 0.743569 | King19931229 |
02496a9d11e2f2c402f399026afa68502c18c5b9 | 598 | hpp | C++ | irohad/model/query_response.hpp | artyom-yurin/iroha-archive | 1ad3a149d21d30e99c650a9a4bad88b2792d751d | [
"Apache-2.0"
] | 31 | 2019-04-17T19:32:05.000Z | 2022-02-05T01:35:02.000Z | irohad/model/query_response.hpp | artyom-yurin/iroha-archive | 1ad3a149d21d30e99c650a9a4bad88b2792d751d | [
"Apache-2.0"
] | 11 | 2016-10-13T10:09:55.000Z | 2019-06-13T08:49:11.000Z | irohad/model/query_response.hpp | artyom-yurin/iroha-archive | 1ad3a149d21d30e99c650a9a4bad88b2792d751d | [
"Apache-2.0"
] | 12 | 2019-06-03T10:31:31.000Z | 2021-12-13T12:17:15.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_QUERY_RESPONSE_HPP
#define IROHA_QUERY_RESPONSE_HPP
#include <memory>
#include "crypto/hash_types.hpp"
#include "model/client.hpp"
#include "model/query.hpp"
namespace iroha {
namespace model {
/... | 19.290323 | 53 | 0.658863 | artyom-yurin |
024a4d8d95c5a6b2a0db4e4836429606715b30b5 | 3,576 | hpp | C++ | Source/AllProjects/Tests2/TestCIDMData/TestCIDMData_AttrData.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | null | null | null | Source/AllProjects/Tests2/TestCIDMData/TestCIDMData_AttrData.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | null | null | null | Source/AllProjects/Tests2/TestCIDMData/TestCIDMData_AttrData.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | null | null | null | //
// FILE NAME: TestCIDMData_AttrData.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 08/07/2018
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://ope... | 34.384615 | 78 | 0.39877 | MarkStega |
024e57bdb0089575ac829640706113b6c2366713 | 970 | cpp | C++ | source/RegistRTTR.cpp | xzrunner/visiongraph | 476ea49bbf56d6a2caa062d05677e768575d7ea1 | [
"MIT"
] | null | null | null | source/RegistRTTR.cpp | xzrunner/visiongraph | 476ea49bbf56d6a2caa062d05677e768575d7ea1 | [
"MIT"
] | null | null | null | source/RegistRTTR.cpp | xzrunner/visiongraph | 476ea49bbf56d6a2caa062d05677e768575d7ea1 | [
"MIT"
] | null | null | null | #define EXE_FILEPATH "visiongraph/comp_include_gen.h"
#include "visiongraph/comp_regist_cfg.h"
#undef EXE_FILEPATH
#include <rttr/registration>
#define REGIST_COMP_TYPE(type, name) \
rttr::registration::class_<visiongraph::comp::type>("vg::"#name) \
.constructor<>() ... | 23.658537 | 78 | 0.64433 | xzrunner |
0250d212edfdbdd165811d908620272c8b6add10 | 2,149 | hpp | C++ | src/utility/Timer.hpp | jabra98/chip8EMU | b0b4c6d78fc8d30087c06468ef037ffd17bfea46 | [
"MIT"
] | 6 | 2020-06-02T12:03:48.000Z | 2021-07-05T20:52:03.000Z | src/utility/Timer.hpp | jabra98/chip8EMU | b0b4c6d78fc8d30087c06468ef037ffd17bfea46 | [
"MIT"
] | null | null | null | src/utility/Timer.hpp | jabra98/chip8EMU | b0b4c6d78fc8d30087c06468ef037ffd17bfea46 | [
"MIT"
] | 1 | 2020-04-10T15:31:01.000Z | 2020-04-10T15:31:01.000Z | #ifndef TIMER_HPP
#define TIMER_HPP
#include <chrono>
#include <stdexcept>
class Timer
{
public:
enum class Type
{
cpu,
framerate,
seconds,
milliseconds
};
bool is_ready(Type t, long long required_rate)
{
if (required_rate == 0)
return false;... | 27.202532 | 84 | 0.500233 | jabra98 |
0256646db1940ee49d099786ccb4fa7b8ec9d819 | 3,652 | cpp | C++ | src/smt/smt_lookahead.cpp | vmishenev/misynth | 5bd977cb32144a6d61670c874efad49982f75932 | [
"MIT"
] | 55 | 2015-08-15T22:37:02.000Z | 2022-03-27T03:08:02.000Z | src/smt/smt_lookahead.cpp | ekpyron/z3 | 28cb13fb96c15714eb244bf05d1d7f56e84cda5e | [
"MIT"
] | 16 | 2016-04-13T23:48:33.000Z | 2020-02-02T12:38:52.000Z | src/smt/smt_lookahead.cpp | ekpyron/z3 | 28cb13fb96c15714eb244bf05d1d7f56e84cda5e | [
"MIT"
] | 18 | 2015-08-11T08:37:41.000Z | 2021-09-16T14:24:04.000Z | /*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
smt_lookahead.cpp
Abstract:
Lookahead cuber for SMT
Author:
nbjorner 2019-05-27.
Revision History:
--*/
#include <cmath>
#include "ast/ast_smt2_pp.h"
#include "smt/smt_lookahead.h"
#include "smt/smt_context.h"
namespace smt {
lookahea... | 26.852941 | 69 | 0.452903 | vmishenev |
026b4f500cd2619f0f7fc036d74b2cb3c8f5edbc | 6,372 | cpp | C++ | Engine/Threading/QueuedTask.cpp | Higami69/Leviathan | 90f68f9f6e5506d6133bcefcf35c8e84f158483b | [
"BSL-1.0"
] | 16 | 2018-12-22T02:09:05.000Z | 2022-03-09T20:38:59.000Z | Engine/Threading/QueuedTask.cpp | Higami69/Leviathan | 90f68f9f6e5506d6133bcefcf35c8e84f158483b | [
"BSL-1.0"
] | 46 | 2018-04-02T11:06:01.000Z | 2019-12-14T11:16:04.000Z | Engine/Threading/QueuedTask.cpp | Higami69/Leviathan | 90f68f9f6e5506d6133bcefcf35c8e84f158483b | [
"BSL-1.0"
] | 14 | 2018-04-09T02:26:15.000Z | 2021-09-11T03:12:15.000Z | // ------------------------------------ //
#include "QueuedTask.h"
using namespace Leviathan;
// ------------------------------------ //
DLLEXPORT Leviathan::QueuedTask::QueuedTask(std::function<void ()> functorun) :
FunctionToRun(functorun)
{
}
DLLEXPORT Leviathan::QueuedTask::~QueuedTask(){
}
// -------------... | 28.963636 | 95 | 0.724105 | Higami69 |
0275f4fa5198d87b64f0fe69c9de5e91eb58b7ea | 323 | cpp | C++ | src/main/cpp/pistis/logging/Log.cpp | tomault/pistis-logging | 26f1411d161dc08c5684f0df4a95d929e3bbef35 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/pistis/logging/Log.cpp | tomault/pistis-logging | 26f1411d161dc08c5684f0df4a95d929e3bbef35 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/pistis/logging/Log.cpp | tomault/pistis-logging | 26f1411d161dc08c5684f0df4a95d929e3bbef35 | [
"Apache-2.0"
] | null | null | null | #include "Log.hpp"
using namespace pistis::logging;
Log::Log(LogMessageFactory* msgFactory, LogMessageReceiver* msgReceiver,
const std::string& destination, LogLevel logLevel):
msgFactory_(msgFactory), msgReceiver_(msgReceiver),
destination_(destination), logLevel_(logLevel) {
// Intentionally left blank
... | 26.916667 | 72 | 0.770898 | tomault |
027659d075d26f6856fc5298629383779d8ee66f | 1,268 | cpp | C++ | src/chat/test/ElizaTest.cpp | OznOg/xania | 4effa29e1c88c7290400a8cf8a67e03ad71c851a | [
"BSD-2-Clause"
] | null | null | null | src/chat/test/ElizaTest.cpp | OznOg/xania | 4effa29e1c88c7290400a8cf8a67e03ad71c851a | [
"BSD-2-Clause"
] | null | null | null | src/chat/test/ElizaTest.cpp | OznOg/xania | 4effa29e1c88c7290400a8cf8a67e03ad71c851a | [
"BSD-2-Clause"
] | null | null | null | /*************************************************************************/
/* Xania (M)ulti(U)ser(D)ungeon server source code */
/* (C) 1995-2020 Xania Development Team */
/* See the header to file: merc.h for original code copyrights */
/* Chat bot ori... | 45.285714 | 116 | 0.554416 | OznOg |
027a6ebc2ac3a25e7bc902f573cb157e364f0d05 | 1,188 | hpp | C++ | Value/ValueVisitorPrinter.hpp | Sevenrip/value-container | a2c586a134f10c2a1802ee5947e0c4b8a4b046dc | [
"MIT"
] | null | null | null | Value/ValueVisitorPrinter.hpp | Sevenrip/value-container | a2c586a134f10c2a1802ee5947e0c4b8a4b046dc | [
"MIT"
] | null | null | null | Value/ValueVisitorPrinter.hpp | Sevenrip/value-container | a2c586a134f10c2a1802ee5947e0c4b8a4b046dc | [
"MIT"
] | null | null | null | #pragma once
#include <ostream>
#include <memory>
#include <type_traits>
#include <unordered_map>
#include <string>
#include <sstream>
#include "../Utils/Utils.hpp"
class ValueVisitorPrinter
{
public:
explicit ValueVisitorPrinter(std::stringstream & stream)
: _stream(stream) {}
Val... | 19.47541 | 73 | 0.564815 | Sevenrip |
027dbd873a120220b9c64c2d82a5a7f0e8a07408 | 7,996 | cpp | C++ | code/wxWidgets/utils/configtool/src/configitemselector.cpp | Bloodknight/NeuTorsion | a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea | [
"MIT"
] | 38 | 2016-02-20T02:46:28.000Z | 2021-11-17T11:39:57.000Z | code/wxWidgets/utils/configtool/src/configitemselector.cpp | Bloodknight/NeuTorsion | a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea | [
"MIT"
] | 17 | 2016-02-20T02:19:55.000Z | 2021-02-08T15:15:17.000Z | code/wxWidgets/utils/configtool/src/configitemselector.cpp | Bloodknight/NeuTorsion | a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea | [
"MIT"
] | 46 | 2016-02-20T02:47:33.000Z | 2021-01-31T15:46:05.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: configitemselector.cpp
// Purpose: Selector for one or more config items
// Author: Julian Smart
// Modified by:
// Created: 2003-06-04
// RCS-ID: $Id: configitemselector.cpp,v 1.11 2005/02/01 20:44:05 ABX Ex... | 28.866426 | 185 | 0.681591 | Bloodknight |
028104b7714953839a12c04612e6e6e671966089 | 11,207 | cpp | C++ | PS4Engine/PS4Engine/api_gnm/simplet-gs-stream-out/simplet-gs-stream-out.cpp | Enderderder/SonyEngine | ee8b3726d293c667d2e2a849808b993e954b84c7 | [
"MIT"
] | 2 | 2020-02-22T01:27:28.000Z | 2021-12-20T08:41:43.000Z | PS4Engine/PS4Engine/api_gnm/simplet-gs-stream-out/simplet-gs-stream-out.cpp | Enderderder/SonyEngine | ee8b3726d293c667d2e2a849808b993e954b84c7 | [
"MIT"
] | null | null | null | PS4Engine/PS4Engine/api_gnm/simplet-gs-stream-out/simplet-gs-stream-out.cpp | Enderderder/SonyEngine | ee8b3726d293c667d2e2a849808b993e954b84c7 | [
"MIT"
] | 2 | 2019-09-17T19:54:00.000Z | 2020-03-06T15:08:52.000Z | /* SIE CONFIDENTIAL
PlayStation(R)4 Programmer Tool Runtime Library Release 05.008.001
* Copyright (C) 2016 Sony Interactive Entertainment Inc.
* All Rights Reserved.
*/
// Simplet #7
// This simplet shows how to setup es, gs shaders to create geometry
#include "../toolkit/simplet-common.h"
#include "std_cbuffer.h"
... | 35.577778 | 237 | 0.725618 | Enderderder |
0281ccab2da476acf4f88b7b6f45cf1692cf0505 | 320 | cpp | C++ | main.cpp | cfiutak1/AdaptiveCacheAwareBlockQuickselect | e736585e276832d9c6d50ce67ad37e72b87129ef | [
"MIT"
] | 1 | 2020-09-11T19:29:30.000Z | 2020-09-11T19:29:30.000Z | main.cpp | cfiutak1/AdaptiveCacheAwareBlockQuickselect | e736585e276832d9c6d50ce67ad37e72b87129ef | [
"MIT"
] | null | null | null | main.cpp | cfiutak1/AdaptiveCacheAwareBlockQuickselect | e736585e276832d9c6d50ce67ad37e72b87129ef | [
"MIT"
] | null | null | null | #include <iterator>
#include <algorithm>
#include <cmath>
#include <chrono>
#include <vector>
#include <cassert>
#include <random>
#include "adaptive_blockquickselect.hpp"
//#include "BlockQuicksort/quickselect.hpp"
//#include "MedianOfNinthers/src/median_of_ninthers.h"
int main() {
std::srand(42);
}
| 11.428571 | 54 | 0.7125 | cfiutak1 |
0286bd92415463a20b1fec294ade82406f00fe82 | 16,714 | cpp | C++ | msvc/EuhatExpert/Expert/peer/FileMan/FileManSubDlg.cpp | euhat/EuhatExpert | 3932238a0bd72a8f12b4ae6ced1ade6482228fe0 | [
"BSD-2-Clause"
] | null | null | null | msvc/EuhatExpert/Expert/peer/FileMan/FileManSubDlg.cpp | euhat/EuhatExpert | 3932238a0bd72a8f12b4ae6ced1ade6482228fe0 | [
"BSD-2-Clause"
] | null | null | null | msvc/EuhatExpert/Expert/peer/FileMan/FileManSubDlg.cpp | euhat/EuhatExpert | 3932238a0bd72a8f12b4ae6ced1ade6482228fe0 | [
"BSD-2-Clause"
] | null | null | null | #include "stdafx.h"
#include "../../Expert.h"
#include "../../ExpertDlg.h"
#include "FileManDlg.h"
#include "FileManCfgDlg.h"
#include "FileManSubDlg.h"
#include "../EuhatPeerDlg.h"
#include "../../EuhatRightDlg.h"
#include "../../EuhatLeftDlg.h"
#include "FmFileDlg.h"
#include <app/FileMan/client/FileManClient.h>
#inc... | 26.958065 | 136 | 0.698875 | euhat |
0288d98acb7eb8d694d664c6cd7fc5dc8baf8af8 | 1,175 | hpp | C++ | src/JMParser.hpp | iCurlmyster/JMLang | cec9f66dcdcebfc87cdd3538c10c50bb85c2ab8e | [
"MIT"
] | null | null | null | src/JMParser.hpp | iCurlmyster/JMLang | cec9f66dcdcebfc87cdd3538c10c50bb85c2ab8e | [
"MIT"
] | null | null | null | src/JMParser.hpp | iCurlmyster/JMLang | cec9f66dcdcebfc87cdd3538c10c50bb85c2ab8e | [
"MIT"
] | null | null | null | #ifndef JMPARSER_HPP
#define JMPARSER_HPP
#include <string>
#include <vector>
#include "JMTypes.h"
namespace JM {
class Parser
{
/**
* Instance variable to hold the current string being parsed.
* @type std::string
*/
std::string parsedString;
/**
* Instance variable to hold the current Type the par... | 20.258621 | 75 | 0.67234 | iCurlmyster |
0289b5f250b067f6fcf14d97a0f4b9525b403928 | 3,257 | cc | C++ | base-usage/cplusplus/test_thread.cc | sczzq/symmetrical-spoon | aa0c27bb40a482789c7c6a7088307320a007b49b | [
"Unlicense"
] | null | null | null | base-usage/cplusplus/test_thread.cc | sczzq/symmetrical-spoon | aa0c27bb40a482789c7c6a7088307320a007b49b | [
"Unlicense"
] | null | null | null | base-usage/cplusplus/test_thread.cc | sczzq/symmetrical-spoon | aa0c27bb40a482789c7c6a7088307320a007b49b | [
"Unlicense"
] | null | null | null | #include <inttypes.h>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <string>
#include <thread>
#include <vector>
#include <iostream>
#include <atomic>
#define OS_LINUX
#if defined(OS_LINUX)
#include <dirent.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/types.h>
#include ... | 24.30597 | 76 | 0.61529 | sczzq |
028bc7541879411c849c8e67746d3f439745f7a8 | 937 | hpp | C++ | Source/Engine/ClientSubsystem/Renderer/RenderingCommon.hpp | Scapior/KompotEngine | 9de8c7c6a1158198a18aa237e6a2dbe41ffb44cc | [
"MIT"
] | null | null | null | Source/Engine/ClientSubsystem/Renderer/RenderingCommon.hpp | Scapior/KompotEngine | 9de8c7c6a1158198a18aa237e6a2dbe41ffb44cc | [
"MIT"
] | 36 | 2020-10-14T15:17:46.000Z | 2022-02-07T22:10:54.000Z | Source/Engine/ClientSubsystem/Renderer/RenderingCommon.hpp | Scapior/KompotEngine | 9de8c7c6a1158198a18aa237e6a2dbe41ffb44cc | [
"MIT"
] | 1 | 2019-05-12T16:59:50.000Z | 2019-05-12T16:59:50.000Z | /*
* RenderingCommon.hpp
* Copyright (C) 2021 by Maxim Stoianov
* Licensed under the MIT license.
*/
#pragma once
#include <string_view>
namespace Kompot
{
class Window;
}
namespace Kompot::Rendering
{
struct WindowRendererAttributes
{
virtual ~WindowRendererAttributes()
{
}
};
enum class Shade... | 17.351852 | 81 | 0.629669 | Scapior |
028d25724e5d7df7470a92a80d20211526021349 | 3,715 | hpp | C++ | source/utils.hpp | albanbruder/BruderAlban_119902_Assignment5 | 9cfea32263feef896e2780dffb0726c008e899d4 | [
"MIT"
] | null | null | null | source/utils.hpp | albanbruder/BruderAlban_119902_Assignment5 | 9cfea32263feef896e2780dffb0726c008e899d4 | [
"MIT"
] | null | null | null | source/utils.hpp | albanbruder/BruderAlban_119902_Assignment5 | 9cfea32263feef896e2780dffb0726c008e899d4 | [
"MIT"
] | null | null | null | #include <vector>
#include <stdlib.h>
#include <time.h>
#include <algorithm>
#include <math.h>
#include "line.hpp"
#include "segment.hpp"
/**
* Checks if a point p is in the bounding box spanned by points a and b.
*/
bool between(Point const& p, Point const& a, Point const& b) {
// check for x-coordinates
if(p.... | 23.814103 | 115 | 0.607268 | albanbruder |
028d72478ee03fe80f132207cdc39cf07d68c7fa | 2,293 | hpp | C++ | stan/math/prim/meta/is_constant.hpp | kedartal/math | 77248cf73c1110660006c9700f78d9bb7c02be1d | [
"BSD-3-Clause"
] | null | null | null | stan/math/prim/meta/is_constant.hpp | kedartal/math | 77248cf73c1110660006c9700f78d9bb7c02be1d | [
"BSD-3-Clause"
] | null | null | null | stan/math/prim/meta/is_constant.hpp | kedartal/math | 77248cf73c1110660006c9700f78d9bb7c02be1d | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_META_IS_CONSTANT_HPP
#define STAN_MATH_PRIM_META_IS_CONSTANT_HPP
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/meta/is_eigen.hpp>
#include <stan/math/prim/meta/bool_constant.hpp>
#include <stan/math/prim/meta/conjunction.hpp>
#include <stan/math/prim/meta/is_vector.hpp>
#inclu... | 35.276923 | 79 | 0.73877 | kedartal |
028e4a951c4340e2adc3ea867763a7a604804e74 | 9,052 | cpp | C++ | cwinte.cpp | dylancarlson/citplus | 90aedfc7047fe92bdd0d09f1eb1671d7ddcde8a3 | [
"Unlicense"
] | 1 | 2020-08-11T06:12:01.000Z | 2020-08-11T06:12:01.000Z | cwinte.cpp | dylancarlson/citplus | 90aedfc7047fe92bdd0d09f1eb1671d7ddcde8a3 | [
"Unlicense"
] | null | null | null | cwinte.cpp | dylancarlson/citplus | 90aedfc7047fe92bdd0d09f1eb1671d7ddcde8a3 | [
"Unlicense"
] | null | null | null | // --------------------------------------------------------------------------
// Citadel: CWinTE.CPP
//
// Citadel Windows Text Editor
#ifndef WINCIT
#include "ctdl.h"
#pragma hdrstop
#include "cwindows.h"
// --------------------------------------------------------------------------
// Contents
Bool teH... | 19.056842 | 78 | 0.422559 | dylancarlson |
028fc7c23e790ff567d5c756ef09fadbcf3eda44 | 1,324 | cpp | C++ | tests/test_silence_remover.cpp | CyberSinh/chromaprint | 3dbc9adeec86f1bafc7a05969766562b9217deac | [
"MIT"
] | 582 | 2016-06-14T14:49:36.000Z | 2022-03-27T16:17:57.000Z | tests/test_silence_remover.cpp | CyberSinh/chromaprint | 3dbc9adeec86f1bafc7a05969766562b9217deac | [
"MIT"
] | 72 | 2016-07-28T14:27:55.000Z | 2022-03-19T18:32:44.000Z | tests/test_silence_remover.cpp | CyberSinh/chromaprint | 3dbc9adeec86f1bafc7a05969766562b9217deac | [
"MIT"
] | 102 | 2016-08-21T17:36:10.000Z | 2022-02-13T15:35:44.000Z | #include <gtest/gtest.h>
#include <algorithm>
#include <vector>
#include <fstream>
#include "test_utils.h"
#include "silence_remover.h"
#include "audio_buffer.h"
#include "utils.h"
using namespace chromaprint;
TEST(SilenceRemover, PassThrough)
{
short samples[] = { 1000, 2000, 3000, 4000, 5000, 6000 };
std::vector<... | 27.583333 | 75 | 0.679758 | CyberSinh |
02950af9a8771f70640dd8f535517ebb3b106091 | 5,382 | cpp | C++ | EncoderOpus.cpp | dcealopez/VUPlayer | ff8a5032579a0adf01740e03a9067aa2875d7af1 | [
"MIT"
] | 57 | 2017-06-05T00:10:05.000Z | 2022-02-17T10:59:54.000Z | EncoderOpus.cpp | dcealopez/VUPlayer | ff8a5032579a0adf01740e03a9067aa2875d7af1 | [
"MIT"
] | 26 | 2018-07-09T00:05:46.000Z | 2021-12-30T22:50:24.000Z | EncoderOpus.cpp | dcealopez/VUPlayer | ff8a5032579a0adf01740e03a9067aa2875d7af1 | [
"MIT"
] | 4 | 2019-07-31T13:31:51.000Z | 2021-08-16T21:50:32.000Z | #include "EncoderOpus.h"
#include "Handler.h"
#include "Utility.h"
#include <vector>
// Minimum/maximum/default bit rates.
static const int s_MinimumBitrate = 8;
static const int s_MaximumBitrate = 256;
static const int s_DefaultBitrate = 128;
EncoderOpus::EncoderOpus() :
Encoder(),
m_Channels( 0 ),
m_OpusEncode... | 28.17801 | 166 | 0.63861 | dcealopez |
029dcd2075705ce8d975377091a9464af8e6fff7 | 6,343 | cpp | C++ | src/ftxui/component/component_options.cpp | VatamanuBogdan/FTXUI | 62fb6298bef19618a43aff9f09401309c307a156 | [
"MIT"
] | 1 | 2022-01-24T23:53:32.000Z | 2022-01-24T23:53:32.000Z | src/ftxui/component/component_options.cpp | VatamanuBogdan/FTXUI | 62fb6298bef19618a43aff9f09401309c307a156 | [
"MIT"
] | null | null | null | src/ftxui/component/component_options.cpp | VatamanuBogdan/FTXUI | 62fb6298bef19618a43aff9f09401309c307a156 | [
"MIT"
] | null | null | null | #include "ftxui/component/component_options.hpp"
#include <memory> // for allocator, shared_ptr
#include "ftxui/component/animation.hpp" // for Function, Duration
#include "ftxui/dom/elements.hpp" // for Element, operator|, text, bold, dim, inverted, automerge
namespace ftxui {
void AnimatedColorOption::Set(Colo... | 27.69869 | 98 | 0.63976 | VatamanuBogdan |
029e698687a9d36ee1095d0ed42fd2d9c03112ad | 4,960 | cpp | C++ | deprecated_compiler/src/StringReader.cpp | Limvot/kraken | 6e5a372f07a864555c0e6492de4f46ffab75bfe7 | [
"MIT"
] | 14 | 2015-12-28T10:33:33.000Z | 2022-03-29T04:04:52.000Z | deprecated_compiler/src/StringReader.cpp | Limvot/kraken | 6e5a372f07a864555c0e6492de4f46ffab75bfe7 | [
"MIT"
] | 3 | 2016-04-20T23:10:09.000Z | 2022-01-30T21:59:56.000Z | deprecated_compiler/src/StringReader.cpp | Limvot/kraken | 6e5a372f07a864555c0e6492de4f46ffab75bfe7 | [
"MIT"
] | 1 | 2016-04-20T01:02:53.000Z | 2016-04-20T01:02:53.000Z | #include "StringReader.h"
#include <cassert>
StringReader::StringReader()
{
str_pos = 0;
}
StringReader::StringReader(std::string inputString)
{
str_pos = 0;
setString(inputString);
}
StringReader::~StringReader()
{
//dtor
}
void StringReader::setString(std::string inputString)
{
rd_string = inp... | 29.700599 | 217 | 0.509879 | Limvot |
02a21e1be3d55119cb4936b7741881775c7b9f5e | 3,117 | cpp | C++ | tools/relation_finder_client.cpp | fhd/relation-finder | 37dec835be079e6158c1304cffcb33d43cd13393 | [
"MIT"
] | 1 | 2018-09-11T02:37:42.000Z | 2018-09-11T02:37:42.000Z | tools/relation_finder_client.cpp | fhd/relation-finder | 37dec835be079e6158c1304cffcb33d43cd13393 | [
"MIT"
] | null | null | null | tools/relation_finder_client.cpp | fhd/relation-finder | 37dec835be079e6158c1304cffcb33d43cd13393 | [
"MIT"
] | null | null | null | /*
* This is an example client for relation-finder, demonstrating its protocol
* using Boost.Asio for network communication.
*
* The protocol is pretty simple, the only data send is a couple of unsigned
* 32-bit integers. It basically works like this:
* 1. Connect to relation-finder via TCP.
* 2. Send the user I... | 30.558824 | 78 | 0.582291 | fhd |
02a5f62e1280a8f6927bc550e79d8ad56d3f86b0 | 3,072 | cpp | C++ | mr.Sadman/Classes/GameAct/Objects/Physical/Shared/Pivot/Pivot.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | mr.Sadman/Classes/GameAct/Objects/Physical/Shared/Pivot/Pivot.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | 3 | 2020-12-11T10:01:27.000Z | 2022-02-13T22:12:05.000Z | mr.Sadman/Classes/GameAct/Objects/Physical/Shared/Pivot/Pivot.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | #include "Pivot.hpp"
namespace GameAct
{
namespace Physical
{
void
Pivot::initialize()
{
Object::initialize();
getBody()->setDynamic( false );
}
std::string
Pivot::getResourcesName() const
{
return "Pivot";
}
void
Pivot::setAdditionalParam( std::string additionalParam )
{
std::string ... | 27.185841 | 112 | 0.627279 | 1pkg |
02a94f378ed16f784a838b13b832a3baa61b2354 | 5,554 | cpp | C++ | cynosdb/src/v20190107/model/NetAddr.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 1 | 2022-01-27T09:27:34.000Z | 2022-01-27T09:27:34.000Z | cynosdb/src/v20190107/model/NetAddr.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | cynosdb/src/v20190107/model/NetAddr.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 25.59447 | 135 | 0.662405 | suluner |
02aa1c90a68e80c19bcdd0b2a1f9d1f98238024d | 5,709 | cpp | C++ | examples/airhockey/openglwindow.cpp | LJC-DB/abcg | e771d847b17eaf1af9c0d1b383ddbb9d7416ae65 | [
"MIT"
] | null | null | null | examples/airhockey/openglwindow.cpp | LJC-DB/abcg | e771d847b17eaf1af9c0d1b383ddbb9d7416ae65 | [
"MIT"
] | null | null | null | examples/airhockey/openglwindow.cpp | LJC-DB/abcg | e771d847b17eaf1af9c0d1b383ddbb9d7416ae65 | [
"MIT"
] | null | null | null | #include "openglwindow.hpp"
#include <imgui.h>
#include <string>
#include "abcg.hpp"
void OpenGLWindow::handleEvent(SDL_Event &event) {
// Keyboard events
if (event.type == SDL_KEYDOWN) {
if (event.key.keysym.sym == SDLK_UP)
m_gameData.m_input.set(static_cast<size_t>(Input::Up));
if (event.key.key... | 30.529412 | 79 | 0.652128 | LJC-DB |
02ac059c16f068988bd9a138885c13f70391079a | 1,589 | cpp | C++ | source/Ch10/Drill10.cpp | DBalazs22/UDProg-Introduction | b443a831f2e3496928593d4b5d73db141d8be17c | [
"CC0-1.0"
] | null | null | null | source/Ch10/Drill10.cpp | DBalazs22/UDProg-Introduction | b443a831f2e3496928593d4b5d73db141d8be17c | [
"CC0-1.0"
] | null | null | null | source/Ch10/Drill10.cpp | DBalazs22/UDProg-Introduction | b443a831f2e3496928593d4b5d73db141d8be17c | [
"CC0-1.0"
] | null | null | null | #include "std_lib_facilities.h"
struct Point
{
int x,y;
};
vector<Point> original_points;
vector<Point> processed_points;
void get_points()
{
int x,y;
while (cin >> x >> y )
{
original_points.push_back(Point{x,y});
if(original_points.size()==7) break;
}
}
void write_points()
{
string name = "pontok.txt... | 16.050505 | 101 | 0.618628 | DBalazs22 |
02add380db14246448830f81bc6c9ae9dc762dba | 6,669 | hpp | C++ | src/config/config-schema.hpp | bsc-ssrg/NORNS | 4fd2d181019eceadb8b1b04a94e3756476326239 | [
"MIT"
] | 2 | 2019-11-11T11:34:56.000Z | 2020-12-08T02:13:48.000Z | src/config/config-schema.hpp | bsc-ssrg/NORNS | 4fd2d181019eceadb8b1b04a94e3756476326239 | [
"MIT"
] | null | null | null | src/config/config-schema.hpp | bsc-ssrg/NORNS | 4fd2d181019eceadb8b1b04a94e3756476326239 | [
"MIT"
] | null | null | null | /*************************************************************************
* Copyright (C) 2017-2019 Barcelona Supercomputing Center *
* Centro Nacional de Supercomputacion *
* All rights reserved. *
* ... | 42.477707 | 76 | 0.504873 | bsc-ssrg |
02b18662fc96a17a916f6576826a6c7903305d48 | 2,882 | cpp | C++ | dibot _template/DIBotFramework/CAN/can.cpp | Guvernant/DIBot | dfda9924b0fd39eca725a2724bc759e7b62ef671 | [
"Apache-2.0"
] | null | null | null | dibot _template/DIBotFramework/CAN/can.cpp | Guvernant/DIBot | dfda9924b0fd39eca725a2724bc759e7b62ef671 | [
"Apache-2.0"
] | null | null | null | dibot _template/DIBotFramework/CAN/can.cpp | Guvernant/DIBot | dfda9924b0fd39eca725a2724bc759e7b62ef671 | [
"Apache-2.0"
] | null | null | null | #include "can.hpp"
Can::Can()
{
}
bool Can::begin()
{
static PORT_InitTypeDef PortInit;
/* Fill PortInit structure*/
PortInit.PORT_PULL_UP = PORT_PULL_UP_OFF;
PortInit.PORT_PULL_DOWN = PORT_PULL_DOWN_OFF;
PortInit.PORT_PD_SHM = PORT_PD_SHM_OFF;
PortInit.PORT_PD = PORT_PD_DRIVER;
Port... | 23.430894 | 85 | 0.667939 | Guvernant |
02b4a4cd0b1806a0738989533c578016d79446a2 | 1,464 | hpp | C++ | src/types/inc/User32Utils.hpp | hessedoneen/terminal | aa54de1d648f45920996aeba1edecc67237c6642 | [
"MIT"
] | 34,359 | 2019-05-06T21:04:42.000Z | 2019-05-14T22:06:43.000Z | src/types/inc/User32Utils.hpp | Ingridamilsina/terminal | 788d33ce94d28e2903bc49f841ce279211b7f557 | [
"MIT"
] | 356 | 2019-05-06T21:03:35.000Z | 2019-05-14T21:38:47.000Z | src/types/inc/User32Utils.hpp | Ingridamilsina/terminal | 788d33ce94d28e2903bc49f841ce279211b7f557 | [
"MIT"
] | 3,164 | 2019-05-06T21:06:01.000Z | 2019-05-14T20:25:52.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// Routine Description:
// - Retrieves the string resource from the current module with the given ID
// from the resources files. See resource.h and the .rc definitions for valid
// IDs.
// Arguments:
// - id - Resource ID
// Retur... | 45.75 | 81 | 0.661202 | hessedoneen |
02b5e1ad621cc806ee5bd2275752aab00db6b8a8 | 12,117 | hpp | C++ | libraries/belle/Source/Modern/Music/State.hpp | jogawebb/Spaghettis | 78f21ba3065ce316ef0cb84e94aecc9e8787343d | [
"Zlib",
"BSD-2-Clause",
"BSD-3-Clause"
] | 47 | 2017-09-05T02:49:22.000Z | 2022-01-20T08:11:47.000Z | libraries/belle/Source/Modern/Music/State.hpp | jogawebb/Spaghettis | 78f21ba3065ce316ef0cb84e94aecc9e8787343d | [
"Zlib",
"BSD-2-Clause",
"BSD-3-Clause"
] | 106 | 2018-05-16T14:58:52.000Z | 2022-01-12T13:57:24.000Z | libraries/belle/Source/Modern/Music/State.hpp | jogawebb/Spaghettis | 78f21ba3065ce316ef0cb84e94aecc9e8787343d | [
"Zlib",
"BSD-2-Clause",
"BSD-3-Clause"
] | 11 | 2018-05-16T06:44:51.000Z | 2021-11-10T07:04:46.000Z |
/*
Copyright (c) 2007-2013 William Andrew Burnson.
Copyright (c) 2013-2020 Nicolas Danet.
*/
/* < http://opensource.org/licenses/BSD-2-Clause > */
// -----------------------------------------------------------------------------------------------------------
// ------------------------------------------... | 34.132394 | 110 | 0.28885 | jogawebb |
02b5f782dd156093ddf25189a779ef8ad353b5fd | 3,107 | hpp | C++ | src/gui/solarsys/CelestialBodyPropertiesPanel.hpp | ddj116/gmat | 39673be967d856f14616462fb6473b27b21b149f | [
"NASA-1.3"
] | 1 | 2020-05-16T16:58:21.000Z | 2020-05-16T16:58:21.000Z | src/gui/solarsys/CelestialBodyPropertiesPanel.hpp | ddj116/gmat | 39673be967d856f14616462fb6473b27b21b149f | [
"NASA-1.3"
] | null | null | null | src/gui/solarsys/CelestialBodyPropertiesPanel.hpp | ddj116/gmat | 39673be967d856f14616462fb6473b27b21b149f | [
"NASA-1.3"
] | null | null | null | //$Id$
//------------------------------------------------------------------------------
// CelestialBodyPropertiesPanel
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool.
//
// Copyright (c) 2002-2011 United States Go... | 26.109244 | 91 | 0.626006 | ddj116 |
02b8d4f257288fd229dc1d940117855bd9d32eaf | 2,241 | cpp | C++ | klib_renewal/menu_squad.cpp | asm128/gpk_samples | 7875af0c9116d0c9377a2e7ade0a61364358f4b1 | [
"Apache-2.0"
] | null | null | null | klib_renewal/menu_squad.cpp | asm128/gpk_samples | 7875af0c9116d0c9377a2e7ade0a61364358f4b1 | [
"Apache-2.0"
] | null | null | null | klib_renewal/menu_squad.cpp | asm128/gpk_samples | 7875af0c9116d0c9377a2e7ade0a61364358f4b1 | [
"Apache-2.0"
] | null | null | null | #include "Agent_helper.h"
#include "draw.h"
::klib::SGameState drawSquadSetupMenu (::klib::SGame& instanceGame) {
::klib::drawSquadSlots(instanceGame);
::klib::SGamePlayer & player = instanceGame.Players[::klib::PLAYER_INDEX_USER];
::gpk::array_obj<::gpk::array_p... | 43.941176 | 121 | 0.629183 | asm128 |
02bf76daecd4b55313c0e9b8fc047c19960f1f06 | 1,341 | cpp | C++ | src/VKUFrame.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | src/VKUFrame.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | src/VKUFrame.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | #include "VKUFrame.h"
#include "VKUFormFactory.h"
#include "VKUPanelFactory.h"
#include "AppResourceId.h"
#include "ObjectCounter.h"
using namespace Tizen::Base;
using namespace Tizen::Ui;
using namespace Tizen::Ui::Controls;
using namespace Tizen::Ui::Scenes;
VKUFrame::VKUFrame(void) {
CONSTRUCT(L"VKUFrame");
}
VK... | 24.381818 | 97 | 0.747949 | igorglotov |
02bffe093fc3864ecef598ca30f7c1a97c7dfb76 | 19,213 | cpp | C++ | src/lib/Camera.cpp | edisonlee0212/UniEngine | 62278ae811235179e6a1c24eb35acf73e400fe28 | [
"BSD-3-Clause"
] | 22 | 2020-05-18T02:37:09.000Z | 2022-03-13T18:44:30.000Z | src/lib/Camera.cpp | edisonlee0212/UniEngine | 62278ae811235179e6a1c24eb35acf73e400fe28 | [
"BSD-3-Clause"
] | null | null | null | src/lib/Camera.cpp | edisonlee0212/UniEngine | 62278ae811235179e6a1c24eb35acf73e400fe28 | [
"BSD-3-Clause"
] | 3 | 2020-12-21T01:21:03.000Z | 2021-09-06T08:07:41.000Z | #include "AssetManager.hpp"
#include <Utilities.hpp>
#include <Camera.hpp>
#include <Cubemap.hpp>
#include <EditorManager.hpp>
#include <Gui.hpp>
#include <PostProcessing.hpp>
#include <RenderManager.hpp>
#include <SerializationManager.hpp>
#include <Texture2D.hpp>
using namespace UniEngine;
CameraInfoBlock Camera::... | 40.61945 | 127 | 0.687451 | edisonlee0212 |
02c14f97597e4f5c3756cb0597674a3ef166e17a | 1,071 | hpp | C++ | src/modules/module_manager.hpp | ECP-VeloC/veloc | d27224029349b156f6420d764cf23547cf3f2b53 | [
"MIT"
] | null | null | null | src/modules/module_manager.hpp | ECP-VeloC/veloc | d27224029349b156f6420d764cf23547cf3f2b53 | [
"MIT"
] | null | null | null | src/modules/module_manager.hpp | ECP-VeloC/veloc | d27224029349b156f6420d764cf23547cf3f2b53 | [
"MIT"
] | null | null | null | #ifndef __MODULE_MANAGER_HPP
#define __MODULE_MANAGER_HPP
#include "common/command.hpp"
#include "common/status.hpp"
#include "common/config.hpp"
#include "modules/client_watchdog.hpp"
#include "modules/client_aggregator.hpp"
#include "modules/ec_module.hpp"
#include "modules/transfer_module.hpp"
#include "modules/chk... | 26.775 | 73 | 0.745098 | ECP-VeloC |
02c37cd234d326e4236068424db52eb986a1ee7f | 8,678 | cpp | C++ | src/engine/input.cpp | Timurinyo/classic_game_template | 4486e534fa76ccc8b4323515fad1c5fdae6ad8bc | [
"MIT"
] | null | null | null | src/engine/input.cpp | Timurinyo/classic_game_template | 4486e534fa76ccc8b4323515fad1c5fdae6ad8bc | [
"MIT"
] | null | null | null | src/engine/input.cpp | Timurinyo/classic_game_template | 4486e534fa76ccc8b4323515fad1c5fdae6ad8bc | [
"MIT"
] | null | null | null | #include <engine/pch.h>
#include <engine/input.h>
namespace cgt
{
Input::ScancodeMappings GenerateScancodeMappings();
Input::ScancodeMappings Input::s_ScancodeMappings = GenerateScancodeMappings();
Input::Input(Input::InputProcessingMode mode)
: m_Mode(mode)
{
}
WindowEventControlFlow Input::ProcessWindowEven... | 31.787546 | 87 | 0.707536 | Timurinyo |
02ca5391639149cdef1c7023f5df3d4e3e3c158a | 40 | hpp | C++ | engine/src/Engine.hpp | codekrafter/CodekraftEngine | c0965b74dc4926e4612e1ff953be248acceb3198 | [
"MIT"
] | null | null | null | engine/src/Engine.hpp | codekrafter/CodekraftEngine | c0965b74dc4926e4612e1ff953be248acceb3198 | [
"MIT"
] | 1 | 2018-06-26T14:00:35.000Z | 2018-06-26T14:00:57.000Z | engine/src/Engine.hpp | codekrafter/CodekraftEngine | c0965b74dc4926e4612e1ff953be248acceb3198 | [
"MIT"
] | 1 | 2018-03-28T18:19:19.000Z | 2018-03-28T18:19:19.000Z | #pragma once
#include "Core/Engine.hpp" | 13.333333 | 26 | 0.75 | codekrafter |
02ca54d8208161ca2a9bcca46891d4c941d5fcf4 | 2,788 | cpp | C++ | src/opts/SkBlitRow_opts_SSE4.cpp | Perspex/skia | e25fe5a294e9cee8f23207eef63fad6cffa9ced4 | [
"Apache-2.0"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | src/opts/SkBlitRow_opts_SSE4.cpp | AvaloniaUI/skia | e25fe5a294e9cee8f23207eef63fad6cffa9ced4 | [
"Apache-2.0"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | src/opts/SkBlitRow_opts_SSE4.cpp | AvaloniaUI/skia | e25fe5a294e9cee8f23207eef63fad6cffa9ced4 | [
"Apache-2.0"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.000Z | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkBlitRow_opts_SSE4.h"
// Some compilers can't compile SSSE3 or SSE4 intrinsics. We give them stub methods.
// The stubs should never be called, so we make them cr... | 38.722222 | 99 | 0.620875 | Perspex |
c49cd43e742500e91bd39afa0b55d12bcacc9318 | 41,168 | hpp | C++ | include/cascade/detail/cascade_impl.hpp | Thompson-Liu/cascade | 283d99eb70da99ac1d11611037e9750397c5d011 | [
"BSD-3-Clause"
] | null | null | null | include/cascade/detail/cascade_impl.hpp | Thompson-Liu/cascade | 283d99eb70da99ac1d11611037e9750397c5d011 | [
"BSD-3-Clause"
] | null | null | null | include/cascade/detail/cascade_impl.hpp | Thompson-Liu/cascade | 283d99eb70da99ac1d11611037e9750397c5d011 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <memory>
#include <map>
namespace derecho {
namespace cascade {
#define debug_enter_func_with_args(format,...) \
dbg_default_debug("Entering {} with parameter:" #format ".", __func__, __VA_ARGS__)
#define debug_leave_func_with_value(format,...) \
dbg_default_debug("Leaving {} with " #for... | 43.564021 | 215 | 0.665225 | Thompson-Liu |
c49cffb82d3dd3f3c682c5b58a4d44a9bf7a4330 | 1,450 | cpp | C++ | codes/UVA/01001-01999/uva1327.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/UVA/01001-01999/uva1327.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/UVA/01001-01999/uva1327.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <vector>
#include <stack>
#include <algorithm>
using namespace std;
const int maxn = 4005;
int N, pre[maxn], sccno[maxn], dfsclock, cntscc;
vector<int> G[maxn];
stack<int> S;
int dfs (int u) {
int lowu = pre[u] = ++dfsclock;
S.push(u);
for (int i = 0; i < G[u].size()... | 17.682927 | 61 | 0.488966 | JeraKrs |
c49df0ee578b8acf93b362ebb177937ae76b8787 | 2,327 | cpp | C++ | Project6/proj6.cpp | nicky189/cs202 | ecfb9b92e094bfa29102e586ffd615d719b45532 | [
"MIT"
] | null | null | null | Project6/proj6.cpp | nicky189/cs202 | ecfb9b92e094bfa29102e586ffd615d719b45532 | [
"MIT"
] | null | null | null | Project6/proj6.cpp | nicky189/cs202 | ecfb9b92e094bfa29102e586ffd615d719b45532 | [
"MIT"
] | null | null | null | /**
* @brief CS-202 Project 6 Test Driver
* @Author Christos Papachristos (cpapachristos@unr.edu)
* @date March, 2019
*
* This file is a test driver for the Polymorphic classes prescribed in Project 6 of CS-202
*/
#include <iostream>
#include "Car.h"
using namespace std;
int main(){
cout << "\n" <<
... | 28.036145 | 91 | 0.486034 | nicky189 |
c49ee7391c8c55d8f56a4d693d874ecd89a8aec6 | 140 | hpp | C++ | BOB/Source/Library/TableHeaders.hpp | Null-LLC/Echo | 07165b71332fed8e4dd641bd0bdddb38534abdf0 | [
"MIT"
] | 7 | 2021-08-15T01:35:56.000Z | 2022-01-11T10:34:35.000Z | BOB/Source/Library/TableHeaders.hpp | Null-LLC/Echo | 07165b71332fed8e4dd641bd0bdddb38534abdf0 | [
"MIT"
] | 1 | 2021-11-06T07:20:31.000Z | 2021-11-07T10:13:46.000Z | BOB/Source/Library/TableHeaders.hpp | Null-LLC/Echo | 07165b71332fed8e4dd641bd0bdddb38534abdf0 | [
"MIT"
] | 1 | 2021-12-07T07:04:47.000Z | 2021-12-07T07:04:47.000Z | #ifndef TableHeaders
struct TableHeaders {
unsigned long long Signature;
unsigned int Revision, HeaderSize, CRC32, Reserved;
};
#endif | 17.5 | 53 | 0.771429 | Null-LLC |
c4a02034615d3b94732c5150a6f1d534609ec0bb | 637 | cpp | C++ | stlport/test/regression/list2.cpp | masscry/dmc | c7638f7c524a65bc2af0876c76621d8a11da42bb | [
"BSL-1.0"
] | 86 | 2018-05-24T12:03:44.000Z | 2022-03-13T03:01:25.000Z | stlport/test/regression/list2.cpp | masscry/dmc | c7638f7c524a65bc2af0876c76621d8a11da42bb | [
"BSL-1.0"
] | 1 | 2019-05-30T01:38:40.000Z | 2019-10-26T07:15:01.000Z | stlport/test/regression/list2.cpp | masscry/dmc | c7638f7c524a65bc2af0876c76621d8a11da42bb | [
"BSL-1.0"
] | 14 | 2018-07-16T08:29:12.000Z | 2021-08-23T06:21:30.000Z | // STLport regression testsuite component.
// To compile as a separate example, please #define MAIN.
#include <iostream>
#include <list>
#ifdef MAIN
#define list2_test main
#endif
#if !defined (STLPORT) || defined(__STL_USE_NAMESPACES)
using namespace std;
#endif
int list2_test(int, char**)
{
cout<<"Results of li... | 21.233333 | 57 | 0.631083 | masscry |
c4a046f30eec2de42139330bfb9e93a49a5bc728 | 3,102 | hpp | C++ | sources/include/nx/nx/callbacks.hpp | chybz/nx | 62d5a318eeda60ffb1b3ed093bc9df655f3371d2 | [
"MIT"
] | 4 | 2016-11-07T09:50:03.000Z | 2018-09-25T09:10:06.000Z | sources/include/nx/nx/callbacks.hpp | chybz/nx | 62d5a318eeda60ffb1b3ed093bc9df655f3371d2 | [
"MIT"
] | null | null | null | sources/include/nx/nx/callbacks.hpp | chybz/nx | 62d5a318eeda60ffb1b3ed093bc9df655f3371d2 | [
"MIT"
] | 3 | 2016-11-07T09:50:05.000Z | 2022-01-18T16:51:45.000Z | #ifndef __NX_CALLBACKS_H__
#define __NX_CALLBACKS_H__
#include <functional>
#include <tuple>
#include <type_traits>
#include <nx/tuple_utils.hpp>
#include <nx/utils.hpp>
namespace nx {
struct callback_tag {};
template <typename Tag, typename... Args>
class callback
{
public:
static_assert(
std::is_base... | 19.267081 | 66 | 0.579948 | chybz |
c4a809ff43a83ca6ff0cad8a8a181958f1e92633 | 3,332 | hpp | C++ | include/geographic_conversion/fix_converter_component.hpp | OUXT-Polaris/geographic_conversion | 206ceef8bcec86534a88dd42aa47bd5b53f93665 | [
"Apache-2.0"
] | null | null | null | include/geographic_conversion/fix_converter_component.hpp | OUXT-Polaris/geographic_conversion | 206ceef8bcec86534a88dd42aa47bd5b53f93665 | [
"Apache-2.0"
] | 2 | 2019-05-26T23:38:02.000Z | 2019-05-27T00:40:56.000Z | include/geographic_conversion/fix_converter_component.hpp | OUXT-Polaris/geographic_conversion | 206ceef8bcec86534a88dd42aa47bd5b53f93665 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 OUXT Polaris
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 37.438202 | 99 | 0.836735 | OUXT-Polaris |
c4af4c8bb16f2782e83ac46ea60b8ad346c3e93c | 2,427 | cc | C++ | nodes/PBX/main.cc | kgoba/roombreak | 6936d7003d2541fd3fb44bda0a31bf66439f35dc | [
"MIT"
] | 1 | 2021-06-16T07:55:28.000Z | 2021-06-16T07:55:28.000Z | nodes/PBX/main.cc | kgoba/roombreak | 6936d7003d2541fd3fb44bda0a31bf66439f35dc | [
"MIT"
] | 3 | 2016-04-04T14:13:42.000Z | 2016-04-04T15:07:24.000Z | nodes/PBX/main.cc | kgoba/roombreak | 6936d7003d2541fd3fb44bda0a31bf66439f35dc | [
"MIT"
] | 1 | 2021-06-16T07:55:30.000Z | 2021-06-16T07:55:30.000Z | #include <avr/interrupt.h>
#include <avr/io.h>
#include <util/delay.h>
#include <stdio.h>
#include "config.h"
#include <Common/config.h>
#include <Common/task.h>
#include <Common/ws2803s.h>
#include "line.h"
#include "user.h"
using namespace PBXConfig;
#define TICK_FREQ 1000
WS2803S<PIN_SDA, PIN_CLK> ioExpand... | 19.731707 | 97 | 0.634528 | kgoba |
c4b34ef60f4cd615d409af1ee6e93208e9607e3b | 41,346 | cpp | C++ | Tools/MakeDiscoLights/gk.cpp | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | Tools/MakeDiscoLights/gk.cpp | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | Tools/MakeDiscoLights/gk.cpp | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | #include "gk.h"
#include <stdlib.h>
extern ofstream logFile;
gkTransparencyTable gkBitmap::tranTable;
struct BMP_header{
gkLONG fSize; //54 byte header + 4*numColors (1-8bit) + (w*h*bpp)/8
gkWORD zero1, zero2; //0,0
gkLONG offsetBytes; //should be header (54) plus Palette Size
gkL... | 23.653318 | 80 | 0.551541 | AbePralle |
c4b50bedc3bb54bfbb59187ee501a5282bf48997 | 9,085 | cpp | C++ | src/stream/analysis/RtCurrentActivation.cpp | cdla/murfi2 | 45dba5eb90e7f573f01706a50e584265f0f8ffa7 | [
"Apache-2.0"
] | 7 | 2015-02-10T17:00:49.000Z | 2021-07-27T22:09:43.000Z | src/stream/analysis/RtCurrentActivation.cpp | cdla/murfi2 | 45dba5eb90e7f573f01706a50e584265f0f8ffa7 | [
"Apache-2.0"
] | 11 | 2015-02-22T19:15:53.000Z | 2021-08-04T17:26:18.000Z | src/stream/analysis/RtCurrentActivation.cpp | cdla/murfi2 | 45dba5eb90e7f573f01706a50e584265f0f8ffa7 | [
"Apache-2.0"
] | 8 | 2015-07-06T22:31:51.000Z | 2019-04-22T21:22:07.000Z | /*=========================================================================
* RtCurrentActivation.cpp is the implementation of a class
*
* ****************************************************************************/
#include "RtDesignMatrix.h"
#include"RtCurrentActivation.h"
#include"RtMRIImage.h"
#include"RtActi... | 28.126935 | 80 | 0.597248 | cdla |
c4bcd09ca73577998542021179cf2f89915ab43c | 2,579 | hpp | C++ | src/backend/graph_compiler/core/src/compiler/ir/graph/tunable_op.hpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | src/backend/graph_compiler/core/src/compiler/ir/graph/tunable_op.hpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | src/backend/graph_compiler/core/src/compiler/ir/graph/tunable_op.hpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2020-2022 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://... | 36.842857 | 81 | 0.659558 | wuxun-zhang |
c4bff15003d2c1ed21acb480e4e4e50165c28f2d | 5,568 | cpp | C++ | wallet/unittests/util.cpp | akhavr/beam | 99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62 | [
"Apache-2.0"
] | null | null | null | wallet/unittests/util.cpp | akhavr/beam | 99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62 | [
"Apache-2.0"
] | null | null | null | wallet/unittests/util.cpp | akhavr/beam | 99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62 | [
"Apache-2.0"
] | null | null | null | #include "util.h"
#include "wallet/wallet.h"
#include "core/ecc_native.h"
#include "core/serialization_adapters.h"
#include "utility/logger.h"
#include <boost/filesystem.hpp>
#include <iterator>
#include <future>
using namespace std;
using namespace beam;
using namespace ECC;
namespace beam {
struct TreasuryBlockGen... | 22.91358 | 98 | 0.670079 | akhavr |
c4c0b522503bdaa8f32bdc1d1d27962a548fc734 | 1,470 | cc | C++ | grey_level_histogram.cc | jkloe/pageDistanceBasedContourGenerator | 92e8768b596c98ffc09f4b5eeb7db8aafccda01a | [
"MIT"
] | 6 | 2019-03-06T23:54:01.000Z | 2020-08-24T09:18:33.000Z | grey_level_histogram.cc | jkloe/pageDistanceBasedContourGenerator | 92e8768b596c98ffc09f4b5eeb7db8aafccda01a | [
"MIT"
] | 6 | 2019-03-07T00:31:48.000Z | 2021-01-10T13:28:41.000Z | grey_level_histogram.cc | jkloe/pageDistanceBasedContourGenerator | 92e8768b596c98ffc09f4b5eeb7db8aafccda01a | [
"MIT"
] | 8 | 2019-03-07T00:08:43.000Z | 2021-05-13T12:14:08.000Z | #include "grey_level_histogram.hpp"
namespace prhlt{
using namespace log4cxx;
using namespace log4cxx::helpers;
using namespace boost;
Grey_Level_Histogram::Grey_Level_Histogram(){
this->logger = Logger::getLogger("PRHLT.Grey_Level_Histogram");
}
Grey_Level_Histogram::Grey_Level_Histogr... | 31.956522 | 71 | 0.619048 | jkloe |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.