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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c405057780019e49def40b98a83be8de1c9b05b | 275 | cpp | C++ | quizzes/questions/r.cf.1/code/question.cpp | 2016-spring-csuf-benblazak-cpsc-121/course-materials | e448d43f562b8be06ed1d408b677d578a4e54796 | [
"CC-BY-4.0"
] | 13 | 2016-01-26T22:07:47.000Z | 2021-01-13T06:42:48.000Z | quizzes/questions/r.cf.1/code/question.cpp | 2016-spring-csuf-benblazak-cpsc-121/course-materials | e448d43f562b8be06ed1d408b677d578a4e54796 | [
"CC-BY-4.0"
] | 1 | 2016-02-10T05:52:31.000Z | 2016-02-28T01:08:47.000Z | quizzes/questions/r.cf.1/code/question.cpp | 2016-spring-csuf-benblazak-cpsc-121/course-materials | e448d43f562b8be06ed1d408b677d578a4e54796 | [
"CC-BY-4.0"
] | 32 | 2016-01-25T23:37:48.000Z | 2016-05-17T04:04:30.000Z | #include <iostream>
using std::cout;
using std::endl;
int main() {
// SECTION BEGIN all
for (int a = 1; a <= 5; a++) {
for (int b = 1; b <= a; b++) {
cout << a << " ";
}
cout << endl;
}
// SECTION END all
return 0;
}
| 16.176471 | 38 | 0.421818 | 2016-spring-csuf-benblazak-cpsc-121 |
9c432db6a08684e4760dbe847137f29c6f396883 | 666 | cpp | C++ | base/timestamp.cpp | hxgned/reactor | d6f0596f166a5358a82a98f9b92c1abe368dc85e | [
"MIT"
] | 1 | 2021-08-29T02:50:55.000Z | 2021-08-29T02:50:55.000Z | base/timestamp.cpp | hxgned/reactor | d6f0596f166a5358a82a98f9b92c1abe368dc85e | [
"MIT"
] | null | null | null | base/timestamp.cpp | hxgned/reactor | d6f0596f166a5358a82a98f9b92c1abe368dc85e | [
"MIT"
] | 1 | 2021-08-29T02:51:08.000Z | 2021-08-29T02:51:08.000Z | #include "base/timestamp.hpp"
namespace reactor
{
std::string fmt_timestamp(time_t t)
{
t += 8 * 60 * 60;
struct tm *p;
p = gmtime(&t);
char s[80];
strftime(s, 80, "%Y-%m-%d %H:%M:%S", p);
std::string st(s);
return st;
}
time_t reverse_fmt_timestamp(const char *tstring)
{
if (!tstring ... | 22.965517 | 76 | 0.599099 | hxgned |
9c44eac6f41a986effdd9bd29980a1df8dc69853 | 2,640 | cpp | C++ | Modules/CppMicroServices/core/test/modules/libSL1/usActivatorSL1.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Modules/CppMicroServices/core/test/modules/libSL1/usActivatorSL1.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Modules/CppMicroServices/core/test/modules/libSL1/usActivatorSL1.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*=============================================================================
Library: CppMicroServices
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in... | 24.672897 | 100 | 0.660227 | liu3xing3long |
9c45cbf441298542d263ca37f0ca9df6b5503020 | 15,596 | cc | C++ | src/scene/object.cc | RichardRanft/Torque6 | db6cd08f18f4917e0c6557b2766fb40d8e2bee39 | [
"MIT"
] | 312 | 2015-02-17T15:07:28.000Z | 2022-03-12T07:09:56.000Z | src/scene/object.cc | lukaspj/Torque6 | db6cd08f18f4917e0c6557b2766fb40d8e2bee39 | [
"MIT"
] | 23 | 2015-03-30T14:47:37.000Z | 2020-11-02T00:00:24.000Z | src/scene/object.cc | lukaspj/Torque6 | db6cd08f18f4917e0c6557b2766fb40d8e2bee39 | [
"MIT"
] | 73 | 2015-02-17T15:07:30.000Z | 2021-10-02T03:11:59.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2015 Andrew Mac
//
// 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, inc... | 30.580392 | 182 | 0.599513 | RichardRanft |
9c48875db5906142a4ce29cf9b45f5d929492de4 | 2,584 | hpp | C++ | rclpy/src/rclpy/guard_condition.hpp | RoboStack/rclpy | c67e43a69a1580eeac4a90767e24ceeea31a298e | [
"Apache-2.0"
] | null | null | null | rclpy/src/rclpy/guard_condition.hpp | RoboStack/rclpy | c67e43a69a1580eeac4a90767e24ceeea31a298e | [
"Apache-2.0"
] | null | null | null | rclpy/src/rclpy/guard_condition.hpp | RoboStack/rclpy | c67e43a69a1580eeac4a90767e24ceeea31a298e | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 27.784946 | 94 | 0.740712 | RoboStack |
9c49c64dc561ac6bb5d6d6f4f313105699edbc9e | 321 | cpp | C++ | test/atcoder/atc001-c.cpp | sash2104/library | ecb52543e4f8a66300ffd8794ea9c13bc74bdb19 | [
"Unlicense"
] | null | null | null | test/atcoder/atc001-c.cpp | sash2104/library | ecb52543e4f8a66300ffd8794ea9c13bc74bdb19 | [
"Unlicense"
] | 10 | 2020-01-27T15:57:45.000Z | 2021-12-20T03:26:26.000Z | test/atcoder/atc001-c.cpp | sash2104/library | ecb52543e4f8a66300ffd8794ea9c13bc74bdb19 | [
"Unlicense"
] | null | null | null | #include <vector>
#include "../../external/fft.hpp"
using namespace std;
int main() {
int n; cin >> n;
vector<double> a(n+1), b(n+1);
for (int i = 0; i < n; ++i) {
cin >> a[i+1] >> b[i+1];
}
vector<double> c = convolve(a, b);
for (int i = 1; i <= 2*n; ++i) {
cout << (int)(c[i]+0.5) << endl;
}
}... | 18.882353 | 36 | 0.479751 | sash2104 |
9c4cdaee81963357e0ad062d02143d067d5d8bd3 | 17,254 | cpp | C++ | Engine/Graphics/Direct3D12/D3D12Core.cpp | ZackShrout/HavanaEngine | b8869acfff27e41bd37079716d152c2df9674fe2 | [
"Apache-2.0"
] | null | null | null | Engine/Graphics/Direct3D12/D3D12Core.cpp | ZackShrout/HavanaEngine | b8869acfff27e41bd37079716d152c2df9674fe2 | [
"Apache-2.0"
] | null | null | null | Engine/Graphics/Direct3D12/D3D12Core.cpp | ZackShrout/HavanaEngine | b8869acfff27e41bd37079716d152c2df9674fe2 | [
"Apache-2.0"
] | null | null | null | #include "D3D12Core.h"
#include "D3D12Surface.h"
#include "D3D12Shaders.h"
#include "D3D12GPass.h"
#include "D3D12PostProcess.h"
using namespace Microsoft::WRL;
namespace Havana::Graphics::D3D12::Core
{
namespace
{
class D3D12Command
{
public:
D3D12Command() = default;
DISABLE_COPY_AND_MOVE(D3D12Command... | 31.032374 | 154 | 0.720065 | ZackShrout |
9c4ce259bf8622707fa83fcca6be5179d1a55785 | 8,843 | cc | C++ | tensorflow/core/common_runtime/partitioning_utils_test.cc | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 3 | 2019-04-01T09:22:17.000Z | 2020-01-20T16:33:22.000Z | tensorflow/core/common_runtime/partitioning_utils_test.cc | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 3 | 2019-03-21T17:56:51.000Z | 2019-11-13T21:02:35.000Z | tensorflow/core/common_runtime/partitioning_utils_test.cc | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 3 | 2019-04-01T09:22:18.000Z | 2019-06-21T06:47:12.000Z | /* Copyright 2015 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... | 37.470339 | 80 | 0.687889 | joshz123 |
9c4ce9d38e67f747ad745f068b9c666f1982d440 | 12,460 | cpp | C++ | source/rendering/simple_bitmap_font.cpp | xeek-pro/isometric | 6f7d05ce597683552d5dc3078a1634fddd41092b | [
"MIT"
] | 1 | 2021-08-02T04:49:44.000Z | 2021-08-02T04:49:44.000Z | source/rendering/simple_bitmap_font.cpp | xeek-pro/isometric | 6f7d05ce597683552d5dc3078a1634fddd41092b | [
"MIT"
] | null | null | null | source/rendering/simple_bitmap_font.cpp | xeek-pro/isometric | 6f7d05ce597683552d5dc3078a1634fddd41092b | [
"MIT"
] | 1 | 2021-09-09T16:49:53.000Z | 2021-09-09T16:49:53.000Z | #include "simple_bitmap_font.h"
#include <SDL_ttf.h>
#include <vector>
#include <tuple>
using namespace isometric::rendering;
static void generate_glyph_surfaces(TTF_Font* font, const std::vector<char>& glyphs, bitmap_font_info& font_info);
static void generate_glyph_srcrects(bitmap_font_info& font_info);
static void... | 29.808612 | 130 | 0.620305 | xeek-pro |
9c4ec648c2fe579b50c28a09ec4744a0eaa441df | 1,748 | hpp | C++ | include/boost/simd/arch/common/generic/function/acotd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/arch/common/generic/function/acotd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/arch/common/generic/function/acotd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | //==================================================================================================
/*!
@file
@copyright 2015 NumScale SAS
@copyright 2015 J.T. Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
... | 32.981132 | 100 | 0.6127 | yaeldarmon |
9c4f1bff0639e13a8c6617b6fd5539af1a5a94f4 | 7,409 | cpp | C++ | code/engine.vc2008/xrGame/ai/monsters/chimera/chimera.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/engine.vc2008/xrGame/ai/monsters/chimera/chimera.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/engine.vc2008/xrGame/ai/monsters/chimera/chimera.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | #include "stdafx.h"
#include "chimera.h"
#include "chimera_state_manager.h"
//#include "../../../../Include/xrRender/KinematicsAnimated.h"
#include "../../../detail_path_manager.h"
#include "../monster_velocity_space.h"
#include "../../../level.h"
//#include "../../../PhysicsShell.h"
#include "../../../sound_player.h"
... | 42.096591 | 114 | 0.719935 | Rikoshet-234 |
9c54e92fb7810670979ffd11764a525e64f9f322 | 3,281 | hpp | C++ | src/catch2/internal/catch_unique_ptr.hpp | shanep/Catch2 | 2db1cf34047f76cb2679a3804b476881536ad27b | [
"BSL-1.0"
] | 9,861 | 2017-11-03T13:11:42.000Z | 2022-03-31T23:50:03.000Z | src/catch2/internal/catch_unique_ptr.hpp | shanep/Catch2 | 2db1cf34047f76cb2679a3804b476881536ad27b | [
"BSL-1.0"
] | 1,409 | 2017-11-03T13:42:48.000Z | 2022-03-31T14:46:42.000Z | src/catch2/internal/catch_unique_ptr.hpp | shanep/Catch2 | 2db1cf34047f76cb2679a3804b476881536ad27b | [
"BSL-1.0"
] | 2,442 | 2017-11-03T14:48:53.000Z | 2022-03-31T23:07:09.000Z |
// Copyright Catch2 Authors
// 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)
// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_UNIQUE_PTR_HPP_INCLUDED
#define CATCH_UNIQUE_PTR_HPP_INCLUDED... | 25.434109 | 88 | 0.565681 | shanep |
9c56af0b2bed3f2a2a700e81cc2c817ee8d85915 | 14,168 | cpp | C++ | uberlogger.cpp | wolfviking0/uberlog | acd6a576d1ef1511828a661725951d349903b694 | [
"MIT"
] | null | null | null | uberlogger.cpp | wolfviking0/uberlog | acd6a576d1ef1511828a661725951d349903b694 | [
"MIT"
] | null | null | null | uberlogger.cpp | wolfviking0/uberlog | acd6a576d1ef1511828a661725951d349903b694 | [
"MIT"
] | null | null | null | /*
This is the child process that is spawned by a log writer.
Here we consume log messages from the ring buffer, and write them
into the log file.
*/
#ifdef _WIN32
#define _CRT_SECURE_NO_WARNINGS
#ifndef NOMINMAX
#define NOMINMAX
#endif
//#define UNICODE
#include <windows.h>
#include <io.h>
#include <fcntl.h>
#include ... | 24.899824 | 134 | 0.635305 | wolfviking0 |
9c57f7182793e7d2d6602640bb615d92c65f7526 | 11,521 | cpp | C++ | arch/cpu/arm/CMSIS/CMSIS/DSP/Testing/Source/Tests/ComplexTestsQ31.cpp | Lkiraa/Contiki-ng | 87b55a9233d5588b454f6f5ec580ee9af1ae88f8 | [
"BSD-3-Clause"
] | 41 | 2019-08-22T00:30:54.000Z | 2022-03-20T18:47:34.000Z | arch/cpu/arm/CMSIS/CMSIS/DSP/Testing/Source/Tests/ComplexTestsQ31.cpp | Lkiraa/Contiki-ng | 87b55a9233d5588b454f6f5ec580ee9af1ae88f8 | [
"BSD-3-Clause"
] | 13 | 2021-01-18T13:27:27.000Z | 2021-12-20T09:31:51.000Z | arch/cpu/arm/CMSIS/CMSIS/DSP/Testing/Source/Tests/ComplexTestsQ31.cpp | Lkiraa/Contiki-ng | 87b55a9233d5588b454f6f5ec580ee9af1ae88f8 | [
"BSD-3-Clause"
] | 18 | 2019-10-15T17:53:49.000Z | 2022-03-10T11:53:15.000Z | #include "ComplexTestsQ31.h"
#include <stdio.h>
#include "Error.h"
#define SNR_THRESHOLD 100
/*
Reference patterns are generated with
a double precision computation.
*/
#define ABS_ERROR_Q31 ((q31_t)100)
#define ABS_ERROR_Q63 ((q63_t)(1<<18))
void ComplexTestsQ31::test_cmplx_conj_q31()
{
const q3... | 34.494012 | 115 | 0.6476 | Lkiraa |
9c58087d525a543e228a2eec3ab9599f71d45814 | 910 | cpp | C++ | C++/222. Count Complete Tree Nodes.cpp | WangYang-wy/LeetCode | c92fcb83f86c277de6785d5a950f16bc007ccd31 | [
"MIT"
] | 3 | 2018-07-28T15:36:18.000Z | 2020-03-17T01:26:22.000Z | C++/222. Count Complete Tree Nodes.cpp | WangYang-wy/LeetCode | c92fcb83f86c277de6785d5a950f16bc007ccd31 | [
"MIT"
] | null | null | null | C++/222. Count Complete Tree Nodes.cpp | WangYang-wy/LeetCode | c92fcb83f86c277de6785d5a950f16bc007ccd31 | [
"MIT"
] | null | null | null | //
// Created by 王阳 on 2018/8/12.
//
#include "header.h"
class Solution {
public:
int countNodes(TreeNode *root) {
if (nullptr == root) {
return 0;
} else {
int left = this->get_left_height(root);
int right = this->get_right_height(root);
if (left =... | 20.222222 | 88 | 0.459341 | WangYang-wy |
9c5bb9e394606f0485402ba57e04f8fbf4284097 | 2,353 | cpp | C++ | Luogu/P5490_withoutPTR.cpp | Thomitics/MyOI | 72f75b61b79230835a65ca313896031ba9d4665f | [
"MIT"
] | 140 | 2021-02-14T02:41:48.000Z | 2021-07-08T02:59:13.000Z | Luogu/P5490_withoutPTR.cpp | LikiBlaze/MyOI | 72f75b61b79230835a65ca313896031ba9d4665f | [
"MIT"
] | 1 | 2021-02-16T02:46:45.000Z | 2021-02-16T02:46:45.000Z | Luogu/P5490_withoutPTR.cpp | Thomitics/MyOI | 72f75b61b79230835a65ca313896031ba9d4665f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define INF 999999999
#define lch (nowX << 1)
#define rch (nowX << 1 | 1)
using namespace std;
inline long long read()
{
long long x = 0;
int f = 1;
char ch = getchar();
while (ch < '0' || ch > '9')
{
if (ch == '-')
f = -1;
ch = getchar();
}
while (ch >= '0' && ch <= '9')
{
x... | 16.227586 | 66 | 0.517212 | Thomitics |
9c5d6d101fb732a02431fa8338d851742fd43f6b | 1,702 | cpp | C++ | vpc/src/v2/model/NeutronUpdateFirewallGroupResponse.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | 5 | 2021-03-03T08:23:43.000Z | 2022-02-16T02:16:39.000Z | vpc/src/v2/model/NeutronUpdateFirewallGroupResponse.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | null | null | null | vpc/src/v2/model/NeutronUpdateFirewallGroupResponse.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | 7 | 2021-02-26T13:53:35.000Z | 2022-03-18T02:36:43.000Z |
#include "huaweicloud/vpc/v2/model/NeutronUpdateFirewallGroupResponse.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Vpc {
namespace V2 {
namespace Model {
NeutronUpdateFirewallGroupResponse::NeutronUpdateFirewallGroupResponse()
{
firewallGroupIsSet_ = false;
}
NeutronUpdateFirewallGroupResponse::~Neu... | 21.012346 | 105 | 0.731492 | yangzhaofeng |
9c610f9066faa56fa1ffaef317e0e93336359470 | 3,234 | cpp | C++ | Raven.CppClient/ToggleDatabasesStateOperation.cpp | mlawsonca/ravendb-cpp-client | c3a3d4960c8b810156547f62fa7aeb14a121bf74 | [
"MIT"
] | 3 | 2019-04-24T02:34:53.000Z | 2019-08-01T08:22:26.000Z | Raven.CppClient/ToggleDatabasesStateOperation.cpp | mlawsonca/ravendb-cpp-client | c3a3d4960c8b810156547f62fa7aeb14a121bf74 | [
"MIT"
] | 2 | 2019-03-21T09:00:02.000Z | 2021-02-28T23:49:26.000Z | Raven.CppClient/ToggleDatabasesStateOperation.cpp | mlawsonca/ravendb-cpp-client | c3a3d4960c8b810156547f62fa7aeb14a121bf74 | [
"MIT"
] | 3 | 2019-03-04T11:58:54.000Z | 2021-03-01T00:25:49.000Z | #include "stdafx.h"
#include "ToggleDatabasesStateOperation.h"
#include "json_utils.h"
namespace ravendb::client::documents::operations
{
void toggle_databases_state_operation::to_json(nlohmann::json& j, const Parameters& p)
{
using ravendb::client::impl::utils::json_utils::set_val_to_json;
set_val_to_json(j, ... | 33.6875 | 118 | 0.780148 | mlawsonca |
9c629c458b0f2d5fe689c5ab36439252f5cdd281 | 892 | hpp | C++ | source/research/network/routes.hpp | vbloodv/blood | 1c6f6c54e937e8d7064f72f32cbbcc8fdaa2677d | [
"MIT"
] | 2 | 2015-08-27T20:02:04.000Z | 2015-08-31T12:33:13.000Z | source/research/network/routes.hpp | vbloodv/blood | 1c6f6c54e937e8d7064f72f32cbbcc8fdaa2677d | [
"MIT"
] | null | null | null | source/research/network/routes.hpp | vbloodv/blood | 1c6f6c54e937e8d7064f72f32cbbcc8fdaa2677d | [
"MIT"
] | null | null | null | #pragma once
#ifndef network_h__
#define network_h__
#include <map>
#include "common.hpp"
#include "module/internet_protocol.hpp"
class Routes
{
typedef String NetworkWithMask;
typedef VectorOfStrings Stations;
typedef String StationNumber;
public:
void addStationToNetwork(const Ne... | 27.875 | 88 | 0.736547 | vbloodv |
9c644dd53e16d386c54c7191a29a41a6d0a1ed2a | 17,980 | hpp | C++ | ioutils/find.hpp | hungptit/ioutils | b314b66009507f7c447a67fe8b3039c65bfa8b6b | [
"MIT"
] | 3 | 2019-01-05T04:55:44.000Z | 2021-01-01T05:41:20.000Z | ioutils/find.hpp | hungptit/ioutils | b314b66009507f7c447a67fe8b3039c65bfa8b6b | [
"MIT"
] | 4 | 2019-04-12T18:26:16.000Z | 2019-05-15T12:43:51.000Z | ioutils/find.hpp | hungptit/ioutils | b314b66009507f7c447a67fe8b3039c65bfa8b6b | [
"MIT"
] | 1 | 2020-08-16T12:12:18.000Z | 2020-08-16T12:12:18.000Z | #pragma once
#include "fdwriter.hpp"
#include "filesystem.hpp"
namespace ioutils {
namespace find {
// Reference: https://misc.flogisoft.com/bash/tip_colors_and_formatting
static const std::string FIFO_COLOR = "\033[1;32m"; // Normal, Green
static const std::string DIR_COLOR = "\033[1;9... | 39.002169 | 118 | 0.478365 | hungptit |
9c66c550a684052ab098d82ce6d8edb79b7d90e5 | 3,554 | cpp | C++ | lib/models/guild_member.cpp | FiniteReality/disccord | 1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff | [
"MIT"
] | 44 | 2016-09-19T15:28:25.000Z | 2018-08-09T13:17:40.000Z | lib/models/guild_member.cpp | FiniteReality/disccord | 1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff | [
"MIT"
] | 44 | 2016-11-03T17:27:30.000Z | 2017-12-10T16:17:31.000Z | lib/models/guild_member.cpp | FiniteReality/disccord | 1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff | [
"MIT"
] | 13 | 2016-11-01T00:17:20.000Z | 2018-08-03T19:51:16.000Z | #include <disccord/models/guild_member.hpp>
namespace disccord
{
namespace models
{
guild_member::guild_member()
: member(), nick(), roles(),
joined_at(""), deaf(false), mute(false)
{ }
guild_member::~guild_member()
{ }
void guild_member::decode(web::js... | 33.214953 | 73 | 0.433877 | FiniteReality |
9c6766113058abefb8881daad153bc72d8a29f8e | 4,011 | cpp | C++ | platformio/src/display/lvgl_adapter.cpp | th0mpy/simple_stepper_motor_analyzer | a8e6377aac78fe9a346e57819f1963a0ae52e446 | [
"CC0-1.0"
] | 218 | 2021-01-30T07:36:53.000Z | 2022-03-28T23:34:35.000Z | platformio/src/display/lvgl_adapter.cpp | th0mpy/simple_stepper_motor_analyzer | a8e6377aac78fe9a346e57819f1963a0ae52e446 | [
"CC0-1.0"
] | 19 | 2021-04-17T12:45:07.000Z | 2022-03-03T22:38:48.000Z | platformio/src/display/lvgl_adapter.cpp | th0mpy/simple_stepper_motor_analyzer | a8e6377aac78fe9a346e57819f1963a0ae52e446 | [
"CC0-1.0"
] | 38 | 2021-03-23T21:13:12.000Z | 2022-03-19T20:34:13.000Z | // See display porting here:
// https://docs.lvgl.io/v7/en/html/porting/display.html
#include "lvgl_adapter.h"
#include <stdio.h>
#include "io.h"
#include "lvgl.h"
#include "misc/hardware_config.h"
#include "pico/stdlib.h"
#include "tft_driver.h"
#include "touch_driver.h"
#if LV_COLOR_DEPTH != 16
#error "Expecting ... | 28.65 | 79 | 0.71653 | th0mpy |
9c67cdeeb75828bed82cf2147172a6c1dd2d6e9d | 12,209 | cpp | C++ | libclamav/c++/llvm/lib/Target/SubtargetFeature.cpp | watchdogdevel/wsdk-scanner-core | 7a2451bbee9ed9a7246eb5fbb21d09d7e0442240 | [
"BSL-1.0"
] | 1 | 2022-01-22T12:16:33.000Z | 2022-01-22T12:16:33.000Z | libclamav/c++/llvm/lib/Target/SubtargetFeature.cpp | watchdogdevel/wsdk-scanner-core | 7a2451bbee9ed9a7246eb5fbb21d09d7e0442240 | [
"BSL-1.0"
] | null | null | null | libclamav/c++/llvm/lib/Target/SubtargetFeature.cpp | watchdogdevel/wsdk-scanner-core | 7a2451bbee9ed9a7246eb5fbb21d09d7e0442240 | [
"BSL-1.0"
] | null | null | null | //===- SubtargetFeature.cpp - CPU characteristics Implementation ----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 31.711688 | 80 | 0.595053 | watchdogdevel |
9c6bef073a4ae6954415cbc0a28227b140d74451 | 5,125 | hpp | C++ | http_parser/utils/pos_string_view.hpp | zerhud/std_http_utils | 0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293 | [
"MIT"
] | null | null | null | http_parser/utils/pos_string_view.hpp | zerhud/std_http_utils | 0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293 | [
"MIT"
] | null | null | null | http_parser/utils/pos_string_view.hpp | zerhud/std_http_utils | 0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293 | [
"MIT"
] | null | null | null | #pragma once
/*************************************************************************
* Copyright © 2022 Hudyaev Alexy <hudyaev.alexy@gmail.com>
* This file is part of http_parser.
* Distributed under the MIT License.
* See accompanying file LICENSE (at the root of this repository)
*****************************... | 25.371287 | 97 | 0.646439 | zerhud |
9c707f8d3db858d96d7a33f9129650344b07023e | 5,169 | cc | C++ | src/sst/elements/firefly/nicTester.cc | zhangyjBU/sst-elements | d2c6725ea5fbb4dd493bf7d1a8c321aea4ff556c | [
"BSD-3-Clause"
] | 2 | 2021-12-24T03:24:33.000Z | 2022-01-11T23:03:39.000Z | src/sst/elements/firefly/nicTester.cc | zhangyjBU/sst-elements | d2c6725ea5fbb4dd493bf7d1a8c321aea4ff556c | [
"BSD-3-Clause"
] | null | null | null | src/sst/elements/firefly/nicTester.cc | zhangyjBU/sst-elements | d2c6725ea5fbb4dd493bf7d1a8c321aea4ff556c | [
"BSD-3-Clause"
] | 2 | 2021-05-23T02:28:02.000Z | 2021-09-08T13:38:46.000Z | // Copyright 2009-2018 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2018, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level directo... | 24.154206 | 83 | 0.629329 | zhangyjBU |
9c72475763184d6d4fabc2033608648387a8fff5 | 16,267 | hpp | C++ | fossilize.hpp | ishitatsuyuki/Fossilize | 85035d9c57b0d25c89cfa58856d93fe3eb6b5b03 | [
"MIT"
] | null | null | null | fossilize.hpp | ishitatsuyuki/Fossilize | 85035d9c57b0d25c89cfa58856d93fe3eb6b5b03 | [
"MIT"
] | null | null | null | fossilize.hpp | ishitatsuyuki/Fossilize | 85035d9c57b0d25c89cfa58856d93fe3eb6b5b03 | [
"MIT"
] | null | null | null | /* Copyright (c) 2018 Hans-Kristian Arntzen
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, ... | 50.834375 | 171 | 0.772054 | ishitatsuyuki |
9c741d25523a59083d7e5beeb79e28381a239457 | 14,346 | cxx | C++ | lonestar/experimental/meshsingularities/Productions/Point2DQuad/MatrixGenerator.cxx | rohankadekodi/compilers_project | 2f9455a5d0c516b9f1766afd1cdac1b86c930ec0 | [
"BSD-3-Clause"
] | null | null | null | lonestar/experimental/meshsingularities/Productions/Point2DQuad/MatrixGenerator.cxx | rohankadekodi/compilers_project | 2f9455a5d0c516b9f1766afd1cdac1b86c930ec0 | [
"BSD-3-Clause"
] | 7 | 2020-02-27T19:24:51.000Z | 2020-04-10T21:04:28.000Z | lonestar/experimental/meshsingularities/Productions/Point2DQuad/MatrixGenerator.cxx | rohankadekodi/compilers_project | 2f9455a5d0c516b9f1766afd1cdac1b86c930ec0 | [
"BSD-3-Clause"
] | 2 | 2020-02-17T22:00:40.000Z | 2020-03-24T10:18:02.000Z | /*
* This file belongs to the Galois project, a C++ library for exploiting parallelism.
* The code is being released under the terms of the 3-Clause BSD License (a
* copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... | 36.045226 | 85 | 0.692109 | rohankadekodi |
9c743e42b45f0d5cb56a2403c1fa6bdb214eddb3 | 1,086 | inl | C++ | Library/Sources/Stroika/Foundation/IO/FileSystem/Directory.inl | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Library/Sources/Stroika/Foundation/IO/FileSystem/Directory.inl | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Library/Sources/Stroika/Foundation/IO/FileSystem/Directory.inl | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /*
* Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved
*/
#ifndef _Stroika_Foundation_IO_FileSystem_Directory_inl_
#define _Stroika_Foundation_IO_FileSystem_Directory_inl_ 1
/*
********************************************************************************
***************************** Implemen... | 30.166667 | 96 | 0.572744 | SophistSolutions |
9c7663b12324c0bd317f5556dd6bb0116a923d50 | 6,536 | hpp | C++ | ql/experimental/credit/syntheticcdo.hpp | quantosaurosProject/quantLib | 84b49913d3940cf80d6de8f70185867373f45e8d | [
"BSD-3-Clause"
] | null | null | null | ql/experimental/credit/syntheticcdo.hpp | quantosaurosProject/quantLib | 84b49913d3940cf80d6de8f70185867373f45e8d | [
"BSD-3-Clause"
] | null | null | null | ql/experimental/credit/syntheticcdo.hpp | quantosaurosProject/quantLib | 84b49913d3940cf80d6de8f70185867373f45e8d | [
"BSD-3-Clause"
] | 1 | 2022-03-29T05:44:27.000Z | 2022-03-29T05:44:27.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 Roland Lichters
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and... | 34.4 | 83 | 0.642289 | quantosaurosProject |
9c76667354ac64801a24f99037aacd7de40e0152 | 7,193 | cpp | C++ | extra/news/src/apk/gtagml/gtagml/gtagml/output/gtagml-output-event-handler.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/news/src/apk/gtagml/gtagml/gtagml/output/gtagml-output-event-handler.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/news/src/apk/gtagml/gtagml/gtagml/output/gtagml-output-event-handler.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null |
// Copyright Nathaniel Christen 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)
#include "gtagml-output-event-handler.h"
#include "kernel/document/gtagml-document.h"
#include "k... | 26.347985 | 130 | 0.791464 | scignscape |
9c77257802e295cbe57ac105298e8d2fcc96d897 | 1,344 | cc | C++ | modules/map/tools/map_datachecker/server/main.cc | seeclong/apollo | 99c8afb5ebcae2a3c9359a156a957ff03944b27b | [
"Apache-2.0"
] | 22,688 | 2017-07-04T23:17:19.000Z | 2022-03-31T18:56:48.000Z | modules/map/tools/map_datachecker/server/main.cc | Songjiarui3313/apollo | df9113ae656e28e5374db32529d68e59455058a0 | [
"Apache-2.0"
] | 4,804 | 2017-07-04T22:30:12.000Z | 2022-03-31T12:58:21.000Z | modules/map/tools/map_datachecker/server/main.cc | Songjiarui3313/apollo | df9113ae656e28e5374db32529d68e59455058a0 | [
"Apache-2.0"
] | 9,985 | 2017-07-04T22:01:17.000Z | 2022-03-31T14:18:16.000Z | /******************************************************************************
* Copyright 2019 The Apollo 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
... | 32.780488 | 79 | 0.622024 | seeclong |
9c773dca787edd1cfd75e19ea8df58f0e778fe09 | 19,070 | cpp | C++ | tier0/dbg.cpp | DannyParker0001/Kisak-Strike | 99ed85927336fe3aff2efd9b9382b2b32eb1d05d | [
"Unlicense"
] | 252 | 2020-12-16T15:34:43.000Z | 2022-03-31T23:21:37.000Z | cstrike15_src/tier0/dbg.cpp | bahadiraraz/Counter-Strike-Global-Offensive | 9a0534100cb98ffa1cf0c32e138f0e7971e910d3 | [
"MIT"
] | 23 | 2020-12-20T18:02:54.000Z | 2022-03-28T16:58:32.000Z | cstrike15_src/tier0/dbg.cpp | bahadiraraz/Counter-Strike-Global-Offensive | 9a0534100cb98ffa1cf0c32e138f0e7971e910d3 | [
"MIT"
] | 42 | 2020-12-19T04:32:33.000Z | 2022-03-30T06:00:28.000Z | //===== Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//
//===========================================================================//
#include "tier0/platform.h"
#if defined( PLATFORM_WINDOWS_PC )
#define WIN_32_LEAN_AND_MEAN
#include <windows.h> ... | 27.75837 | 220 | 0.675564 | DannyParker0001 |
9c77c88c11eb11eb7449eb90d4ac750271f12ed7 | 1,398 | cc | C++ | chrome/browser/android/preferences/privacy_preferences_manager_impl.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/android/preferences/privacy_preferences_manager_impl.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/android/preferences/privacy_preferences_manager_impl.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2019 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 <jni.h>
#include "chrome/android/chrome_jni_headers/PrivacyPreferencesManagerImpl_jni.h"
#include "chrome/browser/browser_process.h"
#include "c... | 38.833333 | 80 | 0.798999 | chromium |
9c77f8abec4ec198d70b8f60d9b8688aa16528bc | 12,290 | cc | C++ | content/browser/gpu/browser_gpu_channel_host_factory.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/gpu/browser_gpu_channel_host_factory.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/gpu/browser_gpu_channel_host_factory.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 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 "content/browser/gpu/browser_gpu_channel_host_factory.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/location.h"
#i... | 35.623188 | 99 | 0.746054 | metux |
9c78bd8d14dbe2591198501573c86303cded5b80 | 522 | hpp | C++ | clove/components/systems/ai/include/Clove/AI/Selector.hpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | null | null | null | clove/components/systems/ai/include/Clove/AI/Selector.hpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | null | null | null | clove/components/systems/ai/include/Clove/AI/Selector.hpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | null | null | null | #pragma once
#include "Clove/AI/Composite.hpp"
#include <Clove/DeltaTime.hpp>
namespace clove {
class Selector : public Composite {
//FUNCTIONS
public:
Selector();
Selector(Selector const &other) = delete;
Selector(Selector &&other) noexcept;
Selector &operator=( Sel... | 22.695652 | 84 | 0.643678 | mondoo |
9c79f4915ffb3c45110427ac487ebf9044face56 | 6,641 | hpp | C++ | recipes-coinutils/coinutils/coinutils/src/CoinPresolvePsdebug.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-coinutils/coinutils/coinutils/src/CoinPresolvePsdebug.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-coinutils/coinutils/coinutils/src/CoinPresolvePsdebug.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | // Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef CoinPresolvePsdebug_H
#define CoinPresolvePsdebug_H
/*
The current idea of the relation between PRESOLVE_DEBUG and
PRESOLVE_... | 39.295858 | 79 | 0.764644 | Justin790126 |
9c7adc4c02a84daea674d31050975ef4d4497336 | 526 | cpp | C++ | tests/core/gui/widgets/MarginsTests.cpp | Kubaaa96/IdleRomanEmpire | c41365babaccd309dd78e953a333b39d8045913a | [
"MIT"
] | null | null | null | tests/core/gui/widgets/MarginsTests.cpp | Kubaaa96/IdleRomanEmpire | c41365babaccd309dd78e953a333b39d8045913a | [
"MIT"
] | 29 | 2020-10-21T07:34:55.000Z | 2021-01-12T15:15:53.000Z | tests/core/gui/widgets/MarginsTests.cpp | Kubaaa96/IdleRomanEmpire | c41365babaccd309dd78e953a333b39d8045913a | [
"MIT"
] | 1 | 2020-10-19T19:30:40.000Z | 2020-10-19T19:30:40.000Z | #include <catch2/catch.hpp>
#include "core/gui/widgets/Margins.h"
TEST_CASE("[Margins]")
{
auto margins = std::make_unique< ire::core::gui::Margins>();
SECTION("Values")
{
REQUIRE(*margins.get() == ire::core::gui::Margins({ 0, 0, 0, 0 }));
margins->m_left = 10;
margins->m_top = 15;
REQUIRE(*margins.get()... | 23.909091 | 76 | 0.608365 | Kubaaa96 |
9c7d255d3c4aeeaa13cfb69977543d596294483a | 5,769 | hpp | C++ | src/3rd party/boost/boost/mpl/aux_/preprocessed/msvc60/list.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/mpl/aux_/preprocessed/msvc60/list.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/mpl/aux_/preprocessed/msvc60/list.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | // preprocessed version of 'boost/mpl/list.hpp' header
// see the original for copyright information
namespace boost {
namespace mpl {
namespace aux {
template< nttp_int N > struct list_impl_chooser;
}
namespace aux {
template<>
struct list_impl_chooser<0>
{
template<
typename T0, typename T1, typenam... | 20.603571 | 75 | 0.585717 | OLR-xray |
9c7dc522f69ecf21cfa1c45629a943d572fd143a | 4,469 | cpp | C++ | src/CQDataFrameImage.cpp | colinw7/CQDataFrame | bc82952dbe9f9a3fc79cc274f4c0ee97abcf0d5e | [
"MIT"
] | 1 | 2021-12-23T02:25:36.000Z | 2021-12-23T02:25:36.000Z | src/CQDataFrameImage.cpp | colinw7/CQDataFrame | bc82952dbe9f9a3fc79cc274f4c0ee97abcf0d5e | [
"MIT"
] | null | null | null | src/CQDataFrameImage.cpp | colinw7/CQDataFrame | bc82952dbe9f9a3fc79cc274f4c0ee97abcf0d5e | [
"MIT"
] | null | null | null | #include <CQDataFrameImage.h>
#include <QPainter>
#include <QMenu>
namespace CQDataFrame {
ImageWidget::
ImageWidget(Area *area, const QString &file) :
Widget(area)
{
setObjectName("image");
setFile(file);
}
QString
ImageWidget::
id() const
{
return QString("image.%1").arg(pos());
}
void
ImageWidget::
setF... | 15.047138 | 73 | 0.641083 | colinw7 |
9c7e1ef90a8ec0f15ee218c55331ddf8b327742a | 4,361 | hpp | C++ | src/framework/types.hpp | awcross1/qiskit-aer | 72863e804ec3d07c0da2ebeb665a31db7a7e3010 | [
"Apache-2.0"
] | null | null | null | src/framework/types.hpp | awcross1/qiskit-aer | 72863e804ec3d07c0da2ebeb665a31db7a7e3010 | [
"Apache-2.0"
] | null | null | null | src/framework/types.hpp | awcross1/qiskit-aer | 72863e804ec3d07c0da2ebeb665a31db7a7e3010 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018, IBM.
*
* This source code is licensed under the Apache License, Version 2.0 found in
* the LICENSE.txt file in the root directory of this source tree.
*/
#ifndef _aer_framework_types_hpp_
#define _aer_framework_types_hpp_
#include <cstdint>
#include <complex>
#include <iostream>
#include <m... | 27.086957 | 86 | 0.557441 | awcross1 |
9c7f02afe44ff8c42f2c05f923ac6fb8bb0cdfdd | 3,541 | cpp | C++ | test/compiler/asl_mcu/asl_model.cpp | AyishaR/deepC | 1dc9707ef5ca9000fc13c3da7f1129685a83b494 | [
"Apache-2.0"
] | 223 | 2020-04-15T20:34:33.000Z | 2022-03-28T05:41:49.000Z | test/compiler/asl_mcu/asl_model.cpp | AyishaR/deepC | 1dc9707ef5ca9000fc13c3da7f1129685a83b494 | [
"Apache-2.0"
] | 42 | 2019-07-29T15:57:12.000Z | 2020-04-08T15:12:48.000Z | test/compiler/asl_mcu/asl_model.cpp | AyishaR/deepC | 1dc9707ef5ca9000fc13c3da7f1129685a83b494 | [
"Apache-2.0"
] | 58 | 2019-07-22T11:46:19.000Z | 2020-04-09T22:56:41.000Z | #include "operators/Constant.h"
#include "operators/Reshape.h"
#include "operators/Gemm.h"
#include "operators/Relu.h"
using namespace dnnc;
void usage(char** args) {
std::cout << "\nUsage: " << args[0] <<
" <datafile for input \"0\">" <<
"\n\n";
std::cout << "This model has " << 1 << " input(s):\n";
... | 33.40566 | 112 | 0.707427 | AyishaR |
9c7fc413e99ff5d562b8e24818372c33ed501fe5 | 21,547 | cpp | C++ | stl/src/vector_algorithms.cpp | tetex7/x46_STL | 5a28cb89d58c05c41ea1704e59a74ee57005e428 | [
"Apache-2.0"
] | 1 | 2021-02-07T07:05:49.000Z | 2021-02-07T07:05:49.000Z | stl/src/vector_algorithms.cpp | tetex7/x46_STL | 5a28cb89d58c05c41ea1704e59a74ee57005e428 | [
"Apache-2.0"
] | null | null | null | stl/src/vector_algorithms.cpp | tetex7/x46_STL | 5a28cb89d58c05c41ea1704e59a74ee57005e428 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// This must be as small as possible, because its contents are
// injected into the msvcprt.lib and msvcprtd.lib import libraries.
// Do not include or define anything else here.
// In particular, basic_string must... | 51.059242 | 121 | 0.635587 | tetex7 |
9c813eaec6bd5b9db67e99391aa855f09f428692 | 11,281 | cpp | C++ | src/ListView.cpp | ok/FontBoy | dc3079d6099e97382ae536a08a858ccab86ed491 | [
"Artistic-1.0"
] | 2 | 2018-01-27T20:00:21.000Z | 2022-03-27T10:11:43.000Z | src/ListView.cpp | ok/FontBoy | dc3079d6099e97382ae536a08a858ccab86ed491 | [
"Artistic-1.0"
] | 39 | 2015-01-07T07:17:18.000Z | 2022-03-13T14:12:37.000Z | src/ListView.cpp | ok/FontBoy | dc3079d6099e97382ae536a08a858ccab86ed491 | [
"Artistic-1.0"
] | 13 | 2015-01-06T17:50:12.000Z | 2021-02-07T19:16:53.000Z | /* ListView for displaing Fonts */
#include "Fontboy.h"
#include "Prefs.h"
#include "ListView.h"
#include "ListWindow.h"
#include "FontList.h"
#include "MsgVals.h"
#ifdef FFont_Support
#include "FFont.h"
#endif
#include "Debug.h"
ListView::ListView(BRect frame)
:MultiBoxView(frame)
{
fontboy = dynamic_cast<Font... | 27.31477 | 99 | 0.659871 | ok |
9c8149e92101115417d84299912955c62b156aec | 1,069 | cpp | C++ | CodeForces/Solutions/939D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 5 | 2020-10-03T17:15:26.000Z | 2022-03-29T21:39:22.000Z | CodeForces/Solutions/939D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | null | null | null | CodeForces/Solutions/939D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 1 | 2021-03-01T12:56:50.000Z | 2021-03-01T12:56:50.000Z | #include <bits/stdc++.h>
using namespace std;
struct ab {
char a;
char b;
};
int main()
{
int n;
string s1, s2;
cin >> n >> s1 >> s2;
vector <ab> v;
unordered_map <string, bool> mark;
unordered_map <char, char> mark2;
for(int i = 0; i < n; i++) {
if(s1[i] != s2[i]) {
... | 19.089286 | 74 | 0.335828 | Shefin-CSE16 |
9c81b4a0e77b666e6930b71b396c5d7a6efe232e | 15,205 | cpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/python/src/object/inheritance.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | thirdparty/boost-python/libs/python/src/object/inheritance.cpp | alexa-infra/negine | d9060a7c83a41c95c361c470b56c2ddab3ba04de | [
"MIT"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | thirdparty/boost-python/libs/python/src/object/inheritance.cpp | alexa-infra/negine | d9060a7c83a41c95c361c470b56c2ddab3ba04de | [
"MIT"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | // Copyright David Abrahams 2002.
// 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 <boost/python/object/inheritance.hpp>
#include <boost/python/type_id.hpp>
#include <boost/graph/breadth_first_searc... | 30.655242 | 93 | 0.572706 | Wultyc |
9c831de9c14c79f1e3f00009ab0a2aca120b7623 | 741 | cpp | C++ | Cpp_Primer_5E_Learning/Chapter3/E3.18.cpp | feiwofeifeixiaowo/CppPrimer5thAnswer | c22fb5f9369d05cafb7f3d8d75b4f499de4c2105 | [
"MIT"
] | null | null | null | Cpp_Primer_5E_Learning/Chapter3/E3.18.cpp | feiwofeifeixiaowo/CppPrimer5thAnswer | c22fb5f9369d05cafb7f3d8d75b4f499de4c2105 | [
"MIT"
] | null | null | null | Cpp_Primer_5E_Learning/Chapter3/E3.18.cpp | feiwofeifeixiaowo/CppPrimer5thAnswer | c22fb5f9369d05cafb7f3d8d75b4f499de4c2105 | [
"MIT"
] | null | null | null | //
// Created by Xi on 2016/3/11.
//
#include <iostream>
#include <vector>
using namespace std;
int main()
{ char ch ='y';
int num;
vector<int> ivec;
cout << "input num:" << endl;
while(cin >> num)
{
ivec.push_back(num);
cout << "are u go on? (y/n)" << endl;
... | 20.027027 | 64 | 0.414305 | feiwofeifeixiaowo |
9c835c14925a857847ef4ce03475a3a58f006ddc | 283 | cpp | C++ | DroneClient/Image.cpp | poli0048/Recon-DJI-IOS-Interface | 65ec4858baab57a8acb5521102b972f5fe738bf5 | [
"BSD-3-Clause"
] | 1 | 2021-12-26T13:33:05.000Z | 2021-12-26T13:33:05.000Z | DroneClient/Image.cpp | poli0048/Recon-DJI-IOS-Interface | 65ec4858baab57a8acb5521102b972f5fe738bf5 | [
"BSD-3-Clause"
] | null | null | null | DroneClient/Image.cpp | poli0048/Recon-DJI-IOS-Interface | 65ec4858baab57a8acb5521102b972f5fe738bf5 | [
"BSD-3-Clause"
] | 2 | 2021-04-27T06:33:19.000Z | 2021-12-26T13:33:13.000Z | //
// Image.m
// DroneClient
//
// Created by Ben Choi on 4/11/21.
//
#include "Image.hpp"
Image::Image(unsigned char * bitmap, int rows, int cols, int size_pixel) {
this->bitmap = bitmap;
this->rows = rows;
this->cols = cols;
this->size_pixel = size_pixel;
}
| 15.722222 | 74 | 0.614841 | poli0048 |
9c837a60b7a5b0702f319429ae440d4b8af75cfd | 4,541 | cpp | C++ | src/fileManager.cpp | ChrisChV/Telegram-Data-Clustering | 650e716983e96df51ceb0a73c1206e5ff321021f | [
"MIT"
] | null | null | null | src/fileManager.cpp | ChrisChV/Telegram-Data-Clustering | 650e716983e96df51ceb0a73c1206e5ff321021f | [
"MIT"
] | null | null | null | src/fileManager.cpp | ChrisChV/Telegram-Data-Clustering | 650e716983e96df51ceb0a73c1206e5ff321021f | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <dirent.h>
#include <sys/types.h>
#include <math.h>
#include "fileManager.h"
#include "constants.h"
using namespace std;
FileManager::FileManager(){}
FileManager::FileManager(string& dirPath){
this->batch_size = Constants::defaultBatchSize;
this->actual_batch = ... | 28.740506 | 105 | 0.574323 | ChrisChV |
9c848017ae21da68611558e87e5e1ce8f028e1ca | 2,667 | cpp | C++ | lib/quasimo/impls/workflow/time_dependent.cpp | ausbin/qcor | e9e0624a0e14b1b980ce9265b71c9b394abc60a8 | [
"BSD-3-Clause"
] | null | null | null | lib/quasimo/impls/workflow/time_dependent.cpp | ausbin/qcor | e9e0624a0e14b1b980ce9265b71c9b394abc60a8 | [
"BSD-3-Clause"
] | null | null | null | lib/quasimo/impls/workflow/time_dependent.cpp | ausbin/qcor | e9e0624a0e14b1b980ce9265b71c9b394abc60a8 | [
"BSD-3-Clause"
] | null | null | null | #include "time_dependent.hpp"
#include "qsim_utils.hpp"
#include "xacc_service.hpp"
#include "xacc.hpp"
namespace qcor {
namespace QuaSiMo {
bool TimeDependentWorkflow::initialize(const HeterogeneousMap ¶ms) {
// Get workflow parameters (specific to TD workflow):
t_0 = 0.0;
dt = 0.1;
if (params.keyExists<d... | 34.192308 | 83 | 0.686539 | ausbin |
9c8785d2fb133558cba8b7f2181081a1217a5890 | 701 | cpp | C++ | Array/At least two greater elements.cpp | DY-2001/DSA | 0f1f7a19304a2e5cfef690bf51a22bbc73eef4bc | [
"MIT"
] | null | null | null | Array/At least two greater elements.cpp | DY-2001/DSA | 0f1f7a19304a2e5cfef690bf51a22bbc73eef4bc | [
"MIT"
] | null | null | null | Array/At least two greater elements.cpp | DY-2001/DSA | 0f1f7a19304a2e5cfef690bf51a22bbc73eef4bc | [
"MIT"
] | null | null | null | // { Driver Code Starts
#include<bits/stdc++.h>
using namespace std;
// } Driver Code Ends
class Solution{
public:
vector<int> findElements(int a[], int n)
{
vector<int> v;
sort(a, a + n);
for(int i = 0; i < n - 2; i++) {
v.push_back(a[i]);
}
return v;
... | 17.097561 | 48 | 0.442225 | DY-2001 |
9c8792fa01d52b431dc851bb2a7f3f45fa82c123 | 3,218 | cpp | C++ | Based_Engine/Based_Engine/PlayerController.cpp | Sanmopre/Based_Engine | 2a408dc501f6357bde9872e2eef70f67295e0a3a | [
"MIT"
] | null | null | null | Based_Engine/Based_Engine/PlayerController.cpp | Sanmopre/Based_Engine | 2a408dc501f6357bde9872e2eef70f67295e0a3a | [
"MIT"
] | null | null | null | Based_Engine/Based_Engine/PlayerController.cpp | Sanmopre/Based_Engine | 2a408dc501f6357bde9872e2eef70f67295e0a3a | [
"MIT"
] | null | null | null | #include "Application.h"
#include "Input.h"
#include "ObjectManager.h"
#include "PlayerController.h"
#include "GameObject.h"
#include "RigidBodyComponent.h"
#include "imgui_impl_sdl.h"
#include "imgui_impl_opengl3.h"
#include "misc/cpp/imgui_stdlib.h"
#include "PxPhysicsAPI.h"
PlayerController::PlayerController(ch... | 26.162602 | 97 | 0.668428 | Sanmopre |
9c8a049dbf64464ff7f49239eb93319075ef031c | 6,857 | cpp | C++ | platform/gucefCORE/src/gucefCORE_CBusyWaitPulseGeneratorDriver.cpp | amvb/GUCEF | 08fd423bbb5cdebbe4b70df24c0ae51716b65825 | [
"Apache-2.0"
] | 5 | 2016-04-18T23:12:51.000Z | 2022-03-06T05:12:07.000Z | platform/gucefCORE/src/gucefCORE_CBusyWaitPulseGeneratorDriver.cpp | amvb/GUCEF | 08fd423bbb5cdebbe4b70df24c0ae51716b65825 | [
"Apache-2.0"
] | 2 | 2015-10-09T19:13:25.000Z | 2018-12-25T17:16:54.000Z | platform/gucefCORE/src/gucefCORE_CBusyWaitPulseGeneratorDriver.cpp | amvb/GUCEF | 08fd423bbb5cdebbe4b70df24c0ae51716b65825 | [
"Apache-2.0"
] | 15 | 2015-02-23T16:35:28.000Z | 2022-03-25T13:40:33.000Z | /*
* gucefCORE: GUCEF module providing O/S abstraction and generic solutions
* Copyright (C) 2002 - 2008. Dinand Vanvelzen
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundati... | 37.883978 | 124 | 0.448884 | amvb |
9c8e6b4be4547538839bf97ae51106216b604cad | 1,411 | cpp | C++ | Gems/CustomAssetExample/Code/Source/CustomAssetExample/CustomAssetExampleEditorModule.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T12:39:24.000Z | 2021-07-20T12:39:24.000Z | Gems/CustomAssetExample/Code/Source/CustomAssetExample/CustomAssetExampleEditorModule.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/CustomAssetExample/Code/Source/CustomAssetExample/CustomAssetExampleEditorModule.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/RTTI/RTTI.h>
#include <AzCore/Module/Module.h>
#include <CustomAssetExample/Builde... | 32.068182 | 158 | 0.686038 | aaarsene |
9c8fb782fe8976e50b6a830c33d521b6bcfc7006 | 4,231 | hpp | C++ | include/Convolver.hpp | Buerner/laproque | c44ebf7705770d269bf5df14b4be0a76869e66d5 | [
"MIT"
] | null | null | null | include/Convolver.hpp | Buerner/laproque | c44ebf7705770d269bf5df14b4be0a76869e66d5 | [
"MIT"
] | null | null | null | include/Convolver.hpp | Buerner/laproque | c44ebf7705770d269bf5df14b4be0a76869e66d5 | [
"MIT"
] | null | null | null | //
// Convolver.hpp
// laproque - https://github.com/Buerner/laproque
//
// Copyright © 2017 Martin Bürner. All rights reserved.
// Licensed under the MIT License. See LICENSE.md file in the project root for full license information.
//
#ifndef Convolver_hpp
#define Convolver_hpp
#include <stdio.h>
#include <ff... | 30.221429 | 236 | 0.684235 | Buerner |
9c8fda6067ee26ee33f42a94c47ea70a9d9effba | 1,170 | cpp | C++ | CurveSim/Edge.cpp | suvojit-0x55aa/CurveSim | 57b49eddb038330919f365635628be619d4120cc | [
"MIT"
] | 1 | 2019-11-23T06:15:57.000Z | 2019-11-23T06:15:57.000Z | CurveSim/Edge.cpp | suvojit-0x55aa/CurveSim | 57b49eddb038330919f365635628be619d4120cc | [
"MIT"
] | null | null | null | CurveSim/Edge.cpp | suvojit-0x55aa/CurveSim | 57b49eddb038330919f365635628be619d4120cc | [
"MIT"
] | null | null | null | #include "Edge.h"
//Author : Suvojit Manna
//Application : CurveSim
Edge::Edge( const std::bitset<STATES> &fromState,
const size_t fromID,
const std::bitset<STATES> &toState,
const size_t toID,
const size_t latency )
{
this->toState = toState;
this->fromStat... | 24.893617 | 72 | 0.651282 | suvojit-0x55aa |
9c919470a7ad64d8e8639d3a557a8210cb5307a7 | 6,284 | cpp | C++ | src/gm2d3_manual_controller.cpp | zmeadows/gm2d3 | 9812807f561be655c7b79c87d32081c579500457 | [
"MIT"
] | 1 | 2015-12-20T20:45:49.000Z | 2015-12-20T20:45:49.000Z | src/gm2d3_manual_controller.cpp | zmeadows/gm2d3 | 9812807f561be655c7b79c87d32081c579500457 | [
"MIT"
] | null | null | null | src/gm2d3_manual_controller.cpp | zmeadows/gm2d3 | 9812807f561be655c7b79c87d32081c579500457 | [
"MIT"
] | null | null | null | #include "gm2d3_manual_controller.h"
#include "gm2d3_util.h"
GM2D3ManualControlButton::GM2D3ManualControlButton(int x, int y, int w, int h,
Axis _axis, MotorState _motor_state)
: Fl_Button(x,y,w,h), axis(_axis), motor_state(_motor_state)
{
type(FL_RADIO_BUTTON);
down_color(YELLOW());
switch (m... | 35.704545 | 120 | 0.609484 | zmeadows |
9c94756193805c751b12866c2fdcba1390389984 | 2,064 | cpp | C++ | Source/GameBaseFramework/Private/GameFramework/GBFSaveGame.cpp | TheEmidee/UEGameBaseFramework | 10ab0e7a508a155844c12421c2713e459b8c68ad | [
"MIT"
] | null | null | null | Source/GameBaseFramework/Private/GameFramework/GBFSaveGame.cpp | TheEmidee/UEGameBaseFramework | 10ab0e7a508a155844c12421c2713e459b8c68ad | [
"MIT"
] | null | null | null | Source/GameBaseFramework/Private/GameFramework/GBFSaveGame.cpp | TheEmidee/UEGameBaseFramework | 10ab0e7a508a155844c12421c2713e459b8c68ad | [
"MIT"
] | null | null | null | #include "GameFramework/GBFSaveGame.h"
#include <Kismet/GameplayStatics.h>
UGBFSaveGame::UGBFSaveGame() :
EnableForceFeedback( true ),
EnableSubtitles( true )
{
}
int UGBFSaveGame::GetAchievementCurrentCount( const FName & achievement_id ) const
{
if ( const auto current_count = AchievementsC... | 21.5 | 104 | 0.636143 | TheEmidee |
9c948d8da63f539fb871d4dbf714cfa7d4d518bd | 652 | cpp | C++ | src/common/HostStencilFactory.cpp | ashwinma/mpiacc-contention-tests | 6246ad9b177095220aa9cea5c85def7effd78222 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 23 | 2015-04-07T20:36:11.000Z | 2021-12-12T23:22:30.000Z | spectral-methods/fft/opencl/common/HostStencilFactory.cpp | rusiqe/AssemblyScript-vs-Javascript-bench | 75a6590f1952b3c4f2c8c47fbd23ab84d9aa7087 | [
"MIT"
] | 38 | 2015-06-06T07:43:35.000Z | 2021-07-22T15:39:19.000Z | spectral-methods/fft/opencl/common/HostStencilFactory.cpp | rusiqe/AssemblyScript-vs-Javascript-bench | 75a6590f1952b3c4f2c8c47fbd23ab84d9aa7087 | [
"MIT"
] | 12 | 2015-04-07T20:35:55.000Z | 2020-03-24T09:12:24.000Z | #include <iostream>
#include "HostStencilFactory.h"
#include "HostStencil.h"
template<class T>
Stencil<T>*
HostStencilFactory<T>::BuildStencil( const OptionParser& options )
{
// get options for base class
T wCenter;
T wCardinal;
T wDiagonal;
StencilFactory<T>::ExtractOptions( options, wCenter, wCa... | 21.733333 | 80 | 0.708589 | ashwinma |
9c98a51f1d73ae9d13f351a86502d635ae181681 | 4,423 | hpp | C++ | api/net/tcp/common.hpp | jaeh/IncludeOS | 1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02 | [
"Apache-2.0"
] | 3,673 | 2015-12-01T22:14:02.000Z | 2019-03-22T03:07:20.000Z | api/net/tcp/common.hpp | jaeh/IncludeOS | 1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02 | [
"Apache-2.0"
] | 960 | 2015-12-01T20:40:36.000Z | 2019-03-22T13:21:21.000Z | api/net/tcp/common.hpp | jaeh/IncludeOS | 1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02 | [
"Apache-2.0"
] | 357 | 2015-12-02T09:32:50.000Z | 2019-03-22T09:32:34.000Z |
#pragma once
#ifndef NET_TCP_COMMON_HPP
#define NET_TCP_COMMON_HPP
#include <net/addr.hpp>
#include <net/checksum.hpp>
#include <chrono>
#include <util/units.hpp>
#include <vector>
#include <pmr>
namespace net {
namespace tcp {
// Constants
// default size of TCP window - how much data can be "in flight"... | 32.284672 | 86 | 0.639837 | jaeh |
9c990b6a35fb90d0d0ca93ce6f9a8246afe887b9 | 739 | cpp | C++ | InternalLib/src/SDL/SDLDrawResource.cpp | NoixChou/CreamyGameLib | f3268d8f6d468e2cce93efc70206d4d19e8c3716 | [
"MIT"
] | null | null | null | InternalLib/src/SDL/SDLDrawResource.cpp | NoixChou/CreamyGameLib | f3268d8f6d468e2cce93efc70206d4d19e8c3716 | [
"MIT"
] | 2 | 2021-01-04T23:27:20.000Z | 2021-01-04T23:31:46.000Z | InternalLib/src/SDL/SDLDrawResource.cpp | NoixChou/CreamyGameLib | f3268d8f6d468e2cce93efc70206d4d19e8c3716 | [
"MIT"
] | null | null | null | #ifdef CREAMY_USE_SDL
#include "DrawResource.hpp"
#include "Resource/TextureResource.hpp"
#include "../../../CreamyGameLib/include/Util/Color.hpp"
#include "../../../CreamyGameLib/include/Math/Vector2.hpp"
#include "SDL.h"
namespace creamyLib::impl
{
void DrawTexture2D(const LibHandlePointer& libHandle, const ... | 28.423077 | 158 | 0.699594 | NoixChou |
9c99621bd6bfd9a0ba6de8af1bc3f4158e73650a | 3,338 | cc | C++ | maistra/vendor/com_google_cel_cpp/eval/eval/ident_step.cc | knm3000/proxy | f2bb57b7294aea2cb344824785be42849d7d63c9 | [
"Apache-2.0"
] | 3 | 2020-11-30T15:35:37.000Z | 2022-01-06T14:17:18.000Z | maistra/vendor/com_google_cel_cpp/eval/eval/ident_step.cc | knm3000/proxy | f2bb57b7294aea2cb344824785be42849d7d63c9 | [
"Apache-2.0"
] | 54 | 2020-06-23T17:34:04.000Z | 2022-03-31T02:04:06.000Z | maistra/vendor/com_google_cel_cpp/eval/eval/ident_step.cc | knm3000/proxy | f2bb57b7294aea2cb344824785be42849d7d63c9 | [
"Apache-2.0"
] | 12 | 2020-07-14T23:59:57.000Z | 2022-03-22T09:59:18.000Z | #include "eval/eval/ident_step.h"
#include "google/protobuf/arena.h"
#include "absl/status/statusor.h"
#include "absl/strings/substitute.h"
#include "eval/eval/attribute_trail.h"
#include "eval/eval/evaluator_core.h"
#include "eval/eval/expression_step_base.h"
#include "eval/public/unknown_attribute_set.h"
namespace ... | 29.280702 | 82 | 0.684242 | knm3000 |
9c9ba2fd9964c22bd4d15769fd4b0129e50b7777 | 364 | hpp | C++ | RIT_Library/src/include/structures/VertexInclude.hpp | PWrGitHub194238/RIT | 74ae41ce8cfdca3f14fc1e9a36840c68dff42b23 | [
"Apache-2.0"
] | null | null | null | RIT_Library/src/include/structures/VertexInclude.hpp | PWrGitHub194238/RIT | 74ae41ce8cfdca3f14fc1e9a36840c68dff42b23 | [
"Apache-2.0"
] | 1 | 2016-02-14T18:27:05.000Z | 2016-03-15T17:32:11.000Z | BinaryIMST_Library/src/include/structures/VertexInclude.hpp | PWrGitHub194238/BinaryIMST | 53490c10580fd4ad61c9234b82b3140c5cce5de0 | [
"Apache-2.0"
] | null | null | null | /*
* VertexInclude.hpp
*
* Created on: 6 sty 2016
* Author: tomasz
*/
#ifndef INCLUDE_STRUCTURES_VERTEXINCLUDE_HPP_
#define INCLUDE_STRUCTURES_VERTEXINCLUDE_HPP_
#define VertexIF_Vertex
#include "VertexIF.hpp"
#ifdef VertexIF_Vertex
#include "Vertex/Vertex.hpp"
#endif
typedef Vertex VertexImpl;
#endif ... | 16.545455 | 50 | 0.774725 | PWrGitHub194238 |
9c9bede4e367708731ea2a9775758794232cc0ae | 4,541 | cpp | C++ | vcgapps/OGF/cells/map_algos/map_partition_smoother.cpp | mattjr/structured | 0cb4635af7602f2a243a9b739e5ed757424ab2a7 | [
"Apache-2.0"
] | 14 | 2015-01-11T02:53:04.000Z | 2021-11-25T17:31:22.000Z | vcgapps/OGF/cells/map_algos/map_partition_smoother.cpp | skair39/structured | 0cb4635af7602f2a243a9b739e5ed757424ab2a7 | [
"Apache-2.0"
] | null | null | null | vcgapps/OGF/cells/map_algos/map_partition_smoother.cpp | skair39/structured | 0cb4635af7602f2a243a9b739e5ed757424ab2a7 | [
"Apache-2.0"
] | 14 | 2015-07-21T04:47:52.000Z | 2020-03-12T12:31:25.000Z | /*
* OGF/Graphite: Geometry and Graphics Programming Library + Utilities
* Copyright (C) 2000 Bruno Levy
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Lice... | 30.072848 | 79 | 0.517067 | mattjr |
9c9c53ad6ff50734b89dcadb516fc989934bba43 | 5,572 | cpp | C++ | src/frame.cpp | plnegre/stereo_odometry | 0abd84d51478c40d101bde959a158c1b81ad620f | [
"BSD-4-Clause"
] | null | null | null | src/frame.cpp | plnegre/stereo_odometry | 0abd84d51478c40d101bde959a158c1b81ad620f | [
"BSD-4-Clause"
] | null | null | null | src/frame.cpp | plnegre/stereo_odometry | 0abd84d51478c40d101bde959a158c1b81ad620f | [
"BSD-4-Clause"
] | null | null | null | #include "frame.h"
namespace odom
{
Frame::Frame() {}
Frame::Frame(Featools* feat, const cv::Mat l_img, const cv::Mat r_img, const uint frame_uid, uint& feat_uid) : featools_(feat)
{
// Copy
l_img.copyTo(l_img_);
r_img.copyTo(r_img_);
// Extract keypoints
vector<cv::KeyPoint> l_kp, r_kp;
... | 33.166667 | 128 | 0.615578 | plnegre |
9c9c8091a390244b6b6268248f0c38b0c4a17881 | 2,024 | cpp | C++ | src/Programs/Desktop/Desktop.cpp | Kaj9296/Electric_OS | 31e1d9318943e50e2bc095dc2ba32d4ce26e7e8b | [
"MIT"
] | 7 | 2022-02-20T16:34:48.000Z | 2022-02-26T06:14:51.000Z | src/Programs/Desktop/Desktop.cpp | fantomphreaker/Electric_OS | 138c00cb19497ec8592f3c155339fd02beb44259 | [
"MIT"
] | null | null | null | src/Programs/Desktop/Desktop.cpp | fantomphreaker/Electric_OS | 138c00cb19497ec8592f3c155339fd02beb44259 | [
"MIT"
] | 4 | 2022-02-20T16:25:44.000Z | 2022-03-20T07:49:25.000Z | #include "Desktop.h"
#include "STL/System/System.h"
#include "STL/Graphics/Framebuffer.h"
#include "STL/String/cstr.h"
#include "Programs/Topbar/Topbar.h"
namespace Desktop
{
void(*CurrentAnimation)(STL::Framebuffer*);
uint64_t AnimationCounter = 0;
inline void StartAnimation(void(*Animation)(STL::Frame... | 23 | 86 | 0.494071 | Kaj9296 |
9c9d14c2c1eba2c6bb803a8cace040f692d9be49 | 1,704 | hpp | C++ | common/Dependencies/amy/amy/detail/mysql_option.hpp | avennstrom/NovusCore-Common | f0687f0df75c0651137d11bb14aba6fede918d93 | [
"MIT"
] | 181 | 2016-11-07T17:50:25.000Z | 2022-02-09T14:09:07.000Z | common/Dependencies/amy/amy/detail/mysql_option.hpp | avennstrom/NovusCore-Common | f0687f0df75c0651137d11bb14aba6fede918d93 | [
"MIT"
] | 19 | 2016-11-10T21:36:19.000Z | 2021-03-30T23:15:00.000Z | common/Dependencies/amy/amy/detail/mysql_option.hpp | avennstrom/NovusCore-Common | f0687f0df75c0651137d11bb14aba6fede918d93 | [
"MIT"
] | 43 | 2016-11-08T04:49:39.000Z | 2021-05-18T03:33:15.000Z | #ifndef __AMY_DETAIL_MYSQL_OPTION_HPP__
#define __AMY_DETAIL_MYSQL_OPTION_HPP__
#include <amy/detail/mysql_types.hpp>
#include <string>
namespace amy {
namespace detail {
namespace mysql_option {
template<int Option, typename Uint = unsigned int>
class unsigned_integer {
public:
unsigned_integer() :
val... | 16.075472 | 54 | 0.618545 | avennstrom |
9c9f9340db44ea8e933d2f11446f93fdbc5857a0 | 704,933 | cpp | C++ | test/bidi_character_test_039.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/bidi_character_test_039.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/bidi_character_test_039.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/bidirectional.hpp>
#include "bidi_tests.hpp"
#include <gtest/gtest.h>
#include <algorithm>
TEST(bidi_character, bidi_character_039_000)
{
{
// line 27301
std::vector<uint32_t> const cps = { 0x0028, 0x05D0, 0x005B, 0x0061, 0x2680, 0x0... | 33.589031 | 109 | 0.438669 | eightysquirrels |
9c9fa0f655c1a187506993368188743c6d312596 | 4,601 | cpp | C++ | Plugins/org.mitk.gui.qt.segmentation/src/internal/QmitkCreatePolygonModelAction.cpp | samsmu/MITK | c93dce6dc38d8f4c961de4440e4dd113b9841c8c | [
"BSD-3-Clause"
] | 5 | 2015-02-05T10:58:41.000Z | 2019-04-17T15:04:07.000Z | Plugins/org.mitk.gui.qt.segmentation/src/internal/QmitkCreatePolygonModelAction.cpp | kometa-dev/MITK | 984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d | [
"BSD-3-Clause"
] | 141 | 2015-03-03T06:52:01.000Z | 2020-12-10T07:28:14.000Z | Plugins/org.mitk.gui.qt.segmentation/src/internal/QmitkCreatePolygonModelAction.cpp | kometa-dev/MITK | 984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d | [
"BSD-3-Clause"
] | 4 | 2015-02-19T06:48:13.000Z | 2020-06-19T16:20:25.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 32.631206 | 149 | 0.73484 | samsmu |
9ca0d60be7d0a9fb0ae267a6e7e2e153066e9c8a | 509 | hpp | C++ | include/nwgraph/csc.hpp | pnnl/NWGraph | bd9e091d2eed4e655c109347c3ec734bf399ff70 | [
"BSD-4-Clause-UC"
] | null | null | null | include/nwgraph/csc.hpp | pnnl/NWGraph | bd9e091d2eed4e655c109347c3ec734bf399ff70 | [
"BSD-4-Clause-UC"
] | null | null | null | include/nwgraph/csc.hpp | pnnl/NWGraph | bd9e091d2eed4e655c109347c3ec734bf399ff70 | [
"BSD-4-Clause-UC"
] | null | null | null | /**
* @file csc.hpp
*
* @copyright SPDX-FileCopyrightText: 2022 Battelle Memorial Institute
* @copyright SPDX-FileCopyrightText: 2022 University of Washington
*
* SPDX-License-Identifier: BSD-3-Clause
*
* @authors
* Andrew Lumsdaine
*
*/
#ifndef NW_GRAPH_CSC_HPP
#define NW_GRAPH_CSC_HPP
#include "nwgraph... | 15.90625 | 70 | 0.721022 | pnnl |
9ca599873c268f3cc94419322a76c6da07455552 | 1,421 | cc | C++ | service/common/bluetooth/adapter_state.cc | digi-embedded/android_platform_system_bt | 635ddc5671274697ecfc9d4d44881f23d73a4cd0 | [
"Apache-2.0"
] | null | null | null | service/common/bluetooth/adapter_state.cc | digi-embedded/android_platform_system_bt | 635ddc5671274697ecfc9d4d44881f23d73a4cd0 | [
"Apache-2.0"
] | null | null | null | service/common/bluetooth/adapter_state.cc | digi-embedded/android_platform_system_bt | 635ddc5671274697ecfc9d4d44881f23d73a4cd0 | [
"Apache-2.0"
] | 2 | 2019-05-30T08:37:28.000Z | 2019-10-01T16:39:33.000Z | //
// Copyright (C) 2015 Google, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at:
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 31.577778 | 76 | 0.734694 | digi-embedded |
9ca60467403b6343e0804d62e85f5014b31231ed | 8,870 | hpp | C++ | beScene/source/bePointLight.hpp | gcodebackups/breeze-2 | 1692b97f455c4bc856ec2f0eb8c0b86e708a398a | [
"MIT"
] | null | null | null | beScene/source/bePointLight.hpp | gcodebackups/breeze-2 | 1692b97f455c4bc856ec2f0eb8c0b86e708a398a | [
"MIT"
] | null | null | null | beScene/source/bePointLight.hpp | gcodebackups/breeze-2 | 1692b97f455c4bc856ec2f0eb8c0b86e708a398a | [
"MIT"
] | null | null | null | /****************************************************/
/* breeze Engine Scene Module (c) Tobias Zirr 2011 */
/****************************************************/
#include "beScene/beLightControllers.h"
#include <beCore/beReflectionProperties.h>
#include <beCore/beIdentifiers.h>
#include "beScene/beLight.... | 38.232759 | 152 | 0.744758 | gcodebackups |
9ca6da7d7d2d0c677621b7e1a81c8aa64ee2964c | 574 | cpp | C++ | C++/Data_Structures/Symmetric_Trees.cpp | snehnakrani14/HactoberFest21 | 1d387ff4efec1f17fe20d42f46490564c5a87b52 | [
"Unlicense"
] | 1 | 2021-10-04T14:39:02.000Z | 2021-10-04T14:39:02.000Z | C++/Data_Structures/Symmetric_Trees.cpp | snehnakrani14/HactoberFest21 | 1d387ff4efec1f17fe20d42f46490564c5a87b52 | [
"Unlicense"
] | 1 | 2021-10-06T04:41:55.000Z | 2021-10-06T04:41:55.000Z | C++/Data_Structures/Symmetric_Trees.cpp | snehnakrani14/HactoberFest21 | 1d387ff4efec1f17fe20d42f46490564c5a87b52 | [
"Unlicense"
] | 1 | 2021-10-08T12:31:04.000Z | 2021-10-08T12:31:04.000Z | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
int isSymmetricTree(TreeNode* A,TreeNode* B){
if(A==NULL&&B==NULL) return 1;
else if(A==NULL||B==NULL) return 0;
//if(A... | 24.956522 | 89 | 0.599303 | snehnakrani14 |
9ca8729f481431f59417e1ac121701f539db34c5 | 170 | cpp | C++ | Data Types/sizeofoperator2.cpp | dealbisac/cprograms | 89af58a30295099b45406cf192f4c4eb4a06f9fe | [
"Unlicense"
] | 4 | 2019-01-27T01:00:44.000Z | 2019-01-29T02:09:55.000Z | Data Types/sizeofoperator2.cpp | dealbisac/cprograms | 89af58a30295099b45406cf192f4c4eb4a06f9fe | [
"Unlicense"
] | null | null | null | Data Types/sizeofoperator2.cpp | dealbisac/cprograms | 89af58a30295099b45406cf192f4c4eb4a06f9fe | [
"Unlicense"
] | 1 | 2019-02-04T11:34:40.000Z | 2019-02-04T11:34:40.000Z | //Example of sizeof() operator in expression
#include<stdio.h>
int main()
{
int a = 0;
double d = 10.21;
printf("%d", sizeof(a+d));
return 0;
}
| 15.454545 | 44 | 0.547059 | dealbisac |
9caa4c2a2681a99be9df2ea0ab7a1379d759ab52 | 10,776 | hpp | C++ | extended_variant.hpp | MarioSieg/ExtendedVariant | bc523443ae7087b69344dcbf235dbefae159f138 | [
"MIT"
] | 3 | 2021-06-06T07:17:06.000Z | 2021-06-13T19:30:50.000Z | extended_variant.hpp | MarioSieg/ExtendedVariant | bc523443ae7087b69344dcbf235dbefae159f138 | [
"MIT"
] | null | null | null | extended_variant.hpp | MarioSieg/ExtendedVariant | bc523443ae7087b69344dcbf235dbefae159f138 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright 2021 Mario Sieg "pinsrq" <mt3000@gmx.de>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 32.853659 | 179 | 0.678545 | MarioSieg |
9caba8484eee0de05833a2aff1d4edcadc777435 | 8,620 | cc | C++ | test/unittests/base/bits-unittest.cc | sarvex/v8 | 4f53c5b7f6e1bedf4bf6dc42d86c070edee3122f | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 144 | 2015-05-01T19:38:55.000Z | 2015-05-15T21:48:50.000Z | test/unittests/base/bits-unittest.cc | guden/v8 | f9e456991e9fb6b20402b64070ad76851f5fe8b1 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 479 | 2016-02-10T00:21:41.000Z | 2020-11-26T09:40:03.000Z | test/unittests/base/bits-unittest.cc | guden/v8 | f9e456991e9fb6b20402b64070ad76851f5fe8b1 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 40 | 2015-10-22T09:55:16.000Z | 2021-03-04T17:16:42.000Z | // Copyright 2014 the V8 project 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 <limits>
#include "src/base/bits.h"
#include "src/base/macros.h"
#include "testing/gtest-support.h"
#ifdef DEBUG
#define DISABLE_IN_RELEASE(N... | 30.567376 | 79 | 0.689907 | sarvex |
66d572d2cfce962bbde16e99740ec73a213c794e | 15,333 | cpp | C++ | lldb/source/Host/macosx/cfcpp/CFCMutableDictionary.cpp | dan-zheng/llvm-project | 6b792850da0345274758c9260fda5df5e57ab486 | [
"Apache-2.0"
] | 765 | 2015-12-03T16:44:59.000Z | 2022-03-07T12:41:10.000Z | lldb/source/Host/macosx/cfcpp/CFCMutableDictionary.cpp | dan-zheng/llvm-project | 6b792850da0345274758c9260fda5df5e57ab486 | [
"Apache-2.0"
] | 1,815 | 2015-12-11T23:56:05.000Z | 2020-01-10T19:28:43.000Z | lldb/source/Host/macosx/cfcpp/CFCMutableDictionary.cpp | dan-zheng/llvm-project | 6b792850da0345274758c9260fda5df5e57ab486 | [
"Apache-2.0"
] | 284 | 2015-12-03T16:47:25.000Z | 2022-03-12T05:39:48.000Z | //===-- CFCMutableDictionary.cpp --------------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... | 33.551422 | 80 | 0.650884 | dan-zheng |
66d72e0eb1c645d0218163722ccf58099ecbaa4d | 65,719 | cc | C++ | gui/minimap.cc | lindleyw/simutrans-extended | d7d1230ca431e5c12fc9daa26c0629b6dc2c0fba | [
"Artistic-1.0"
] | null | null | null | gui/minimap.cc | lindleyw/simutrans-extended | d7d1230ca431e5c12fc9daa26c0629b6dc2c0fba | [
"Artistic-1.0"
] | null | null | null | gui/minimap.cc | lindleyw/simutrans-extended | d7d1230ca431e5c12fc9daa26c0629b6dc2c0fba | [
"Artistic-1.0"
] | null | null | null | /*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#include "../simevent.h"
#include "../simcolor.h"
#include "../simconvoi.h"
#include "../vehicle/vehicle.h"
#include "../simdepot.h"
#include "../simhalt.h"
#include "../simfab.h"
#include "../simcity.h"
#inc... | 31.504794 | 296 | 0.644547 | lindleyw |
66d7680d6ca7f8f73f3886b6bd8de4a913f653f1 | 4,628 | cpp | C++ | Current_Designs/Residential_Datalogger/Firmware/RTC_PCF8523.cpp | UCHIC/CIWS-Loggers | 4ee89610d6d2c7b310288b34e09a9739c83a2b24 | [
"BSD-3-Clause"
] | 6 | 2017-12-22T00:29:02.000Z | 2022-03-03T17:09:53.000Z | Current_Designs/Residential_Datalogger/Firmware/RTC_PCF8523.cpp | UCHIC/CIWS-Loggers | 4ee89610d6d2c7b310288b34e09a9739c83a2b24 | [
"BSD-3-Clause"
] | 3 | 2018-07-03T14:35:31.000Z | 2019-07-26T17:00:44.000Z | Current_Designs/Residential_Datalogger/Firmware/RTC_PCF8523.cpp | UCHIC/CIWS-Loggers | 4ee89610d6d2c7b310288b34e09a9739c83a2b24 | [
"BSD-3-Clause"
] | 2 | 2018-12-26T09:38:28.000Z | 2019-01-10T09:34:43.000Z | /*********************************************************************\
* File: RTC_PCF8523.cpp
* Date: 04/17/2019
* Authors: Joshua Tracy and Daniel Henshaw
* Hardware: Pololu LIS3MDL 3-Axis magnetometer
*********************************************************************/
#include "RTC_P... | 27.064327 | 72 | 0.533492 | UCHIC |
66d8684a79ea110860a9745d452ab57204861d40 | 16,517 | cpp | C++ | src/graph/visitor/VidExtractVisitor.cpp | blacklovebear/nebula | f500d478ac53b7c7977da305ca1ed07f8e44376a | [
"Apache-2.0"
] | 1 | 2020-04-11T12:12:39.000Z | 2020-04-11T12:12:39.000Z | src/graph/visitor/VidExtractVisitor.cpp | blacklovebear/nebula | f500d478ac53b7c7977da305ca1ed07f8e44376a | [
"Apache-2.0"
] | 24 | 2021-09-15T12:42:03.000Z | 2021-09-16T04:59:19.000Z | src/graph/visitor/VidExtractVisitor.cpp | blacklovebear/nebula | f500d478ac53b7c7977da305ca1ed07f8e44376a | [
"Apache-2.0"
] | 1 | 2020-08-03T10:19:39.000Z | 2020-08-03T10:19:39.000Z | /* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "graph/visitor/VidExtractVisitor.h"
namespace nebula {
namespace graph {
/*static*/ VidExtractVisitor::VidPat... | 33.915811 | 98 | 0.625779 | blacklovebear |
66d886e7a1cf1bb3fa78dc1941c025f650a6dba9 | 13,762 | cxx | C++ | thirdparty/ConsoleDemoMod/ConsoleDemoMod.cxx | ph4m/DepthSenseGrabber | 4a54ef0322a9221b8b89dc396cd980f496fe7563 | [
"MIT"
] | 27 | 2015-03-25T19:02:28.000Z | 2021-11-23T03:57:31.000Z | thirdparty/ConsoleDemoMod/ConsoleDemoMod.cxx | ph4m/DepthSenseGrabber | 4a54ef0322a9221b8b89dc396cd980f496fe7563 | [
"MIT"
] | 2 | 2015-01-04T13:07:17.000Z | 2021-05-16T22:50:04.000Z | thirdparty/ConsoleDemoMod/ConsoleDemoMod.cxx | ph4m/DepthSenseGrabber | 4a54ef0322a9221b8b89dc396cd980f496fe7563 | [
"MIT"
] | 18 | 2015-03-31T11:30:38.000Z | 2020-01-29T21:28:35.000Z | ////////////////////////////////////////////////////////////////////////////////
// SoftKinetic DepthSense SDK
//
// COPYRIGHT AND CONFIDENTIALITY NOTICE - SOFTKINETIC CONFIDENTIAL
// INFORMATION
//
// All rights reserved to SOFTKINETIC SENSORS NV (a
// company incorporated and existing under the laws of Belgium, with
... | 28.670833 | 107 | 0.59519 | ph4m |
66d8c90e0b7c4107814b87356c117caff234d421 | 3,306 | cpp | C++ | test/unit/math/mix/scal/fun/bessel_second_kind_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | test/unit/math/mix/scal/fun/bessel_second_kind_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | test/unit/math/mix/scal/fun/bessel_second_kind_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/math/mix/scal.hpp>
#include <gtest/gtest.h>
#include <test/unit/math/rev/scal/fun/util.hpp>
#include <test/unit/math/mix/scal/fun/nan_util.hpp>
TEST(AgradFwdBesselSecondKind, FvarVar_1stDeriv) {
using stan::math::bessel_second_kind;
using stan::math::fvar;
using stan::math::var;
fvar<var> z(3.0... | 25.627907 | 77 | 0.676346 | jrmie |
66dac345d1dd1ccc6f5d7f0d56b1a90b3ba58b81 | 7,821 | hpp | C++ | external/timemory/components/cpu_roofline.hpp | NERSC/gpu-for-science-day-july-2019 | 40342b28d42ea1c65a5d1cd75ff95aba9191d30f | [
"MIT"
] | 6 | 2019-07-03T18:54:06.000Z | 2022-01-03T10:21:52.000Z | external/timemory/components/cpu_roofline.hpp | NERSC/gpu-for-science-day-july-2019 | 40342b28d42ea1c65a5d1cd75ff95aba9191d30f | [
"MIT"
] | 1 | 2019-07-02T20:30:23.000Z | 2019-07-02T20:30:23.000Z | external/timemory/components/cpu_roofline.hpp | NERSC/gpu-for-science-day-july-2019 | 40342b28d42ea1c65a5d1cd75ff95aba9191d30f | [
"MIT"
] | 7 | 2019-07-02T04:57:34.000Z | 2020-09-09T04:58:31.000Z | // MIT License
//
// Copyright (c) 2019, The Regents of the University of California,
// through Lawrence Berkeley National Laboratory (subject to receipt of any
// required approvals from the U.S. Dept. of Energy). All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a... | 35.22973 | 90 | 0.598645 | NERSC |
66dd2acc37aff7b61297334204ac1c67bbfb8397 | 3,933 | cpp | C++ | source/netadr.cpp | vindemiator/gm_sourcenet | 5c0e48899d3be833fdb5cd03b2545a685d01d749 | [
"BSD-3-Clause"
] | 62 | 2016-02-02T01:38:31.000Z | 2022-02-08T05:36:40.000Z | source/netadr.cpp | vindemiator/gm_sourcenet | 5c0e48899d3be833fdb5cd03b2545a685d01d749 | [
"BSD-3-Clause"
] | 39 | 2016-09-16T13:01:48.000Z | 2022-01-16T16:53:28.000Z | source/netadr.cpp | vindemiator/gm_sourcenet | 5c0e48899d3be833fdb5cd03b2545a685d01d749 | [
"BSD-3-Clause"
] | 23 | 2016-05-14T11:20:06.000Z | 2022-03-27T01:33:42.000Z | #include "netadr.hpp"
#include "netadr.h"
namespace netadr
{
static int32_t metatype = 0;
static const char *metaname = "netadr_t";
void Push( GarrysMod::Lua::ILuaBase *LUA, const netadr_t &netadr )
{
netadr_t *adr = LUA->NewUserType<netadr_t>( metatype );
*adr = netadr;
LUA->PushMetaTable( metatype );
L... | 19.763819 | 77 | 0.636664 | vindemiator |
66de48090a2474608d68eb179e0a85406656f1a1 | 5,993 | cc | C++ | tensorflow/compiler/mlir/xla/transforms/materialize_broadcasts.cc | faustomorales/tensorflow | 63b84e3b732f050e53902481fa8cb02791a5d789 | [
"Apache-2.0"
] | 2 | 2020-01-13T11:41:38.000Z | 2020-01-14T16:43:23.000Z | tensorflow/compiler/mlir/xla/transforms/materialize_broadcasts.cc | faustomorales/tensorflow | 63b84e3b732f050e53902481fa8cb02791a5d789 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/mlir/xla/transforms/materialize_broadcasts.cc | faustomorales/tensorflow | 63b84e3b732f050e53902481fa8cb02791a5d789 | [
"Apache-2.0"
] | 1 | 2020-04-05T02:28:12.000Z | 2020-04-05T02:28:12.000Z | /* Copyright 2019 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... | 42.204225 | 80 | 0.701652 | faustomorales |
66df77d11dc300ae7b0ffbab6d6704c8db606ddc | 101,210 | cpp | C++ | Engine/source/assets/assetManager.cpp | John3/t3d_benchmarking | 27a5780ad704aa91b45ff1bb0d69ed07668d03be | [
"MIT"
] | 10 | 2015-03-12T20:20:34.000Z | 2021-02-03T08:07:31.000Z | Engine/source/assets/assetManager.cpp | John3/t3d_benchmarking | 27a5780ad704aa91b45ff1bb0d69ed07668d03be | [
"MIT"
] | 3 | 2015-07-04T23:50:43.000Z | 2016-08-01T09:19:52.000Z | Engine/source/assets/assetManager.cpp | John3/t3d_benchmarking | 27a5780ad704aa91b45ff1bb0d69ed07668d03be | [
"MIT"
] | 6 | 2015-11-28T16:18:26.000Z | 2020-03-29T17:14:56.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restrictio... | 33.535454 | 196 | 0.599298 | John3 |
66df91f27ffa8e7e219347a5a9d8a84dfd52eb37 | 1,109 | cpp | C++ | LeetCode/1161. Maximum Level Sum of a Binary Tree.cpp | shamiul94/Problem-Solving-Online-Judges | 0387ccd02cc692c70429b4683311070dc9d69b28 | [
"MIT"
] | 2 | 2019-11-10T18:42:11.000Z | 2020-07-04T07:05:22.000Z | LeetCode/1161. Maximum Level Sum of a Binary Tree.cpp | shamiul94/Problem-Solving-Online-Judges | 0387ccd02cc692c70429b4683311070dc9d69b28 | [
"MIT"
] | null | null | null | LeetCode/1161. Maximum Level Sum of a Binary Tree.cpp | shamiul94/Problem-Solving-Online-Judges | 0387ccd02cc692c70429b4683311070dc9d69b28 | [
"MIT"
] | 1 | 2019-11-04T11:05:17.000Z | 2019-11-04T11:05:17.000Z | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
void solve(TreeNode *root, vector<int> &levelArr, int level) {
if (root == 0) return;
... | 25.204545 | 75 | 0.512173 | shamiul94 |
66dff57b67b1b5981e5d3a45cee4b4f61e6df27e | 5,910 | cpp | C++ | Dependencies/Source/FreeImage/OpenEXR/Imath/ImathRandom.cpp | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 241 | 2015-01-04T00:36:58.000Z | 2022-01-06T19:19:23.000Z | Dependencies/Source/FreeImage/OpenEXR/Imath/ImathRandom.cpp | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 10 | 2015-07-10T18:27:17.000Z | 2019-06-26T20:59:59.000Z | Dependencies/Source/FreeImage/OpenEXR/Imath/ImathRandom.cpp | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 82 | 2015-01-25T18:02:35.000Z | 2022-03-05T12:28:17.000Z |
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2002, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided ... | 30.153061 | 80 | 0.603892 | gamekit-developers |
66e0639cbb39fd2a34d4f24186d7ce2a203c5759 | 3,225 | cxx | C++ | code/pkg_Core/Modules/LogWriter/log4cplus/src/consoleappender.cxx | rhcad/x3c | cca3f750f50521faae24ee22fb53c7e15636e9d0 | [
"Apache-1.1"
] | 101 | 2015-02-28T03:14:07.000Z | 2022-02-17T06:27:01.000Z | code/pkg_Core/Modules/LogWriter/log4cplus/src/consoleappender.cxx | liuliang521/x3c | cca3f750f50521faae24ee22fb53c7e15636e9d0 | [
"Apache-1.1"
] | 2 | 2015-01-29T23:16:54.000Z | 2015-05-04T00:58:51.000Z | code/pkg_Core/Modules/LogWriter/log4cplus/src/consoleappender.cxx | liuliang521/x3c | cca3f750f50521faae24ee22fb53c7e15636e9d0 | [
"Apache-1.1"
] | 58 | 2015-01-21T12:04:25.000Z | 2022-03-16T06:53:42.000Z | // Module: Log4CPLUS
// File: consoleappender.cxx
// Created: 6/2001
// Author: Tad E. Smith
//
//
// Copyright 2001-2009 Tad E. Smith
//
// 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 ... | 31.617647 | 93 | 0.59876 | rhcad |
66e0a7f9623d7050f46af468399dd077ecd4c7d8 | 3,319 | hpp | C++ | include/landscapes/svo_formatters.hpp | realazthat/landscapes | 0d56d67beb5641b913100d86601fce8a5a63fb1c | [
"MIT",
"WTFPL",
"Unlicense",
"0BSD"
] | 32 | 2015-12-29T04:33:08.000Z | 2021-04-08T01:46:44.000Z | include/landscapes/svo_formatters.hpp | realazthat/landscapes | 0d56d67beb5641b913100d86601fce8a5a63fb1c | [
"MIT",
"WTFPL",
"Unlicense",
"0BSD"
] | null | null | null | include/landscapes/svo_formatters.hpp | realazthat/landscapes | 0d56d67beb5641b913100d86601fce8a5a63fb1c | [
"MIT",
"WTFPL",
"Unlicense",
"0BSD"
] | 2 | 2019-04-05T02:28:02.000Z | 2019-06-11T07:59:53.000Z | #ifndef SVO_FORMATTERS_HPP
#define SVO_FORMATTERS_HPP 1
#include "glm/glm.hpp"
#include <iostream>
#include <sstream>
#include <vector>
#include "svo_tree.fwd.hpp"
#include "svo_buffer.fwd.hpp"
#include "cubelib/formatters.hpp"
struct direction_t;
struct corner_t;
struct child_descriptor_t;
//struct svo_block_t;
st... | 22.275168 | 110 | 0.697499 | realazthat |
66e0c4e7f326ea2990592d8fe14f78a0e7d93b33 | 911 | cpp | C++ | src/Tools/Interleaver/NO/Interleaver_core_NO.cpp | bonben/aff3ct | 8e78123bfc0a377947ecb690ce1e0d70c0dc0a68 | [
"MIT"
] | null | null | null | src/Tools/Interleaver/NO/Interleaver_core_NO.cpp | bonben/aff3ct | 8e78123bfc0a377947ecb690ce1e0d70c0dc0a68 | [
"MIT"
] | 4 | 2018-09-27T16:46:31.000Z | 2018-11-22T11:10:41.000Z | src/Tools/Interleaver/NO/Interleaver_core_NO.cpp | bonben/aff3ct | 8e78123bfc0a377947ecb690ce1e0d70c0dc0a68 | [
"MIT"
] | null | null | null | #include <numeric>
#include "Interleaver_core_NO.hpp"
using namespace aff3ct;
using namespace aff3ct::tools;
template <typename T>
Interleaver_core_NO<T>
::Interleaver_core_NO(const int size, const int n_frames)
: Interleaver_core<T>(size, "NO", false, n_frames)
{
}
template <typename T>
void Interleaver_core_NO<T>... | 31.413793 | 119 | 0.63337 | bonben |
66e12c4b5d2090acfef7ef19a2a95856106c0f10 | 46,394 | cc | C++ | chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 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 "base/command_line.h"
#include "base/files/scoped_temp_dir.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h... | 39.585324 | 100 | 0.757706 | metux |
66e34d1dd12652b655b96f1e5bb9f8caf30a4101 | 1,451 | cpp | C++ | C++/354.russian-doll-envelopes.cpp | WilliamZhaoz/github | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | [
"MIT"
] | 1 | 2018-03-06T05:07:22.000Z | 2018-03-06T05:07:22.000Z | C++/354.russian-doll-envelopes.cpp | WilliamZhaoz/github | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | [
"MIT"
] | 1 | 2021-12-24T16:41:02.000Z | 2021-12-24T16:41:02.000Z | C++/354.russian-doll-envelopes.cpp | WilliamZhaoz/github | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | [
"MIT"
] | null | null | null | class Solution {
public:
int maxEnvelopes(vector<pair<int, int>>& envelopes) {
// version 1: BS & DP
// after sorting increasing by the w and decreasing by the h, this problem is equle to "Longest Increasing Subsequence"
// dp[i] means the min value of the last value of the size(dp) increas... | 41.457143 | 128 | 0.516885 | WilliamZhaoz |
66e4dbe357beef8bc07f3e102ae55275cf1fa874 | 550 | cpp | C++ | toki/src/Document.cpp | frankencode/fluxkit | 0436454f0791d8fddf8e0adc383ef7c54080245d | [
"BSD-3-Clause"
] | 3 | 2016-02-10T04:58:32.000Z | 2020-09-15T06:39:43.000Z | toki/src/Document.cpp | frankencode/fluxkit | 0436454f0791d8fddf8e0adc383ef7c54080245d | [
"BSD-3-Clause"
] | null | null | null | toki/src/Document.cpp | frankencode/fluxkit | 0436454f0791d8fddf8e0adc383ef7c54080245d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2007-2015 Frank Mertens.
*
* Use of this source is governed by a BSD-style license that can be
* found in the LICENSE file.
*
*/
#include <flux/File>
#include <flux/toki/Document>
namespace flux {
namespace toki {
Ref<Document> Document::load(String path)
{
return Document::create(File::... | 17.1875 | 68 | 0.656364 | frankencode |
66e4fbe64730e265caa10e05ef06110eed84543f | 20,187 | cc | C++ | cartographer/mapping/internal/3d/scan_matching/fast_correlative_scan_matcher_3d.cc | sotnik-github/cartographer | 73d18e5fc54bfa4e4e61fd7feb615b46834aa584 | [
"Apache-2.0"
] | 35 | 2018-08-02T02:38:20.000Z | 2022-03-21T07:48:06.000Z | cartographer/mapping/internal/3d/scan_matching/fast_correlative_scan_matcher_3d.cc | sotnik-github/cartographer | 73d18e5fc54bfa4e4e61fd7feb615b46834aa584 | [
"Apache-2.0"
] | 17 | 2017-06-02T01:55:21.000Z | 2022-03-02T01:52:58.000Z | cartographer/mapping/internal/3d/scan_matching/fast_correlative_scan_matcher_3d.cc | sotnik-github/cartographer | 73d18e5fc54bfa4e4e61fd7feb615b46834aa584 | [
"Apache-2.0"
] | 37 | 2018-07-26T00:07:40.000Z | 2021-12-31T07:57:50.000Z | /*
* Copyright 2016 The Cartographer Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 43.694805 | 98 | 0.735077 | sotnik-github |
66e5d8620424f80956f84ee74f6bf7afcf31d6df | 4,135 | cpp | C++ | dotnet/bindings/CLRAdapter/src/SOEHandlerAdapter.cpp | Kisensum/dnp3 | 0b525927562eb052e9406075811b283d80975bf8 | [
"Apache-2.0"
] | 1 | 2021-06-25T07:22:24.000Z | 2021-06-25T07:22:24.000Z | deps/dnp3/dotnet/bindings/CLRAdapter/src/SOEHandlerAdapter.cpp | danilob2/pyopendnp3_mac | c6b8297f6817555ebff28293bef82e9bffddc1fd | [
"Apache-2.0"
] | null | null | null | deps/dnp3/dotnet/bindings/CLRAdapter/src/SOEHandlerAdapter.cpp | danilob2/pyopendnp3_mac | c6b8297f6817555ebff28293bef82e9bffddc1fd | [
"Apache-2.0"
] | 1 | 2021-07-21T03:15:18.000Z | 2021-07-21T03:15:18.000Z |
#include "SOEHandlerAdapter.h"
#include "Conversions.h"
namespace Automatak
{
namespace DNP3
{
namespace Adapter
{
SOEHandlerAdapter::SOEHandlerAdapter(Automatak::DNP3::Interface::ISOEHandler^ aProxy) : proxy(aProxy)
{}
void SOEHandlerAdapter::Start()
{
proxy->Start();
}
void SOEHandler... | 36.59292 | 154 | 0.737364 | Kisensum |
66e5e586be6f384bf06857a800b9d6927ffb16be | 3,814 | cpp | C++ | vendor/android-tools/demangle/demangle.cpp | dylanh333/android-unmkbootimg | 7c30a58b5bc3d208fbbbbc713717e2aae98df699 | [
"MIT"
] | 3 | 2018-04-01T18:35:29.000Z | 2020-12-18T21:09:53.000Z | vendor/android-tools/demangle/demangle.cpp | dylanh333/android-unmkbootimg | 7c30a58b5bc3d208fbbbbc713717e2aae98df699 | [
"MIT"
] | 2 | 2017-04-24T12:29:05.000Z | 2017-05-09T12:27:10.000Z | vendor/android-tools/demangle/demangle.cpp | dylanh333/android-unmkbootimg | 7c30a58b5bc3d208fbbbbc713717e2aae98df699 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 28.462687 | 84 | 0.641059 | dylanh333 |
66e825840af9cd01e6c9aba7f69e3f3055096acf | 9,292 | cpp | C++ | cpp/perfevents/Event.cpp | tjzhou23/profilo | baeea045a00d2403cc3f45778bf9cb69d33801da | [
"Apache-2.0"
] | 1,466 | 2018-03-13T17:13:49.000Z | 2022-03-31T07:08:51.000Z | cpp/perfevents/Event.cpp | tjzhou23/profilo | baeea045a00d2403cc3f45778bf9cb69d33801da | [
"Apache-2.0"
] | 101 | 2018-03-13T18:43:34.000Z | 2022-03-15T00:44:52.000Z | cpp/perfevents/Event.cpp | tjzhou23/profilo | baeea045a00d2403cc3f45778bf9cb69d33801da | [
"Apache-2.0"
] | 160 | 2018-03-13T18:08:21.000Z | 2022-03-14T00:46:34.000Z | /**
* Copyright 2004-present, Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 26.472934 | 79 | 0.650882 | tjzhou23 |
66e8301ebdd578d6a0c203ed3642bdc9fbc94587 | 516 | cpp | C++ | variadic_templates/03.4.1.forwarding_simple.cpp | vnikolai/cpp_examples | a4686b0a0e0ed3da513621e309e8a511d9e44632 | [
"MIT"
] | 4 | 2021-09-21T16:23:00.000Z | 2021-11-14T16:59:59.000Z | variadic_templates/03.4.1.forwarding_simple.cpp | vnikolai/cpp_examples | a4686b0a0e0ed3da513621e309e8a511d9e44632 | [
"MIT"
] | null | null | null | variadic_templates/03.4.1.forwarding_simple.cpp | vnikolai/cpp_examples | a4686b0a0e0ed3da513621e309e8a511d9e44632 | [
"MIT"
] | 1 | 2021-09-21T17:06:17.000Z | 2021-09-21T17:06:17.000Z | #include <iostream>
#include <map>
#include <tuple>
#define PRINT_FUNCTION std::cout << __PRETTY_FUNCTION__ << std::endl
struct A
{
A() { PRINT_FUNCTION; }
A(const A&) { PRINT_FUNCTION; }
A(A&&) { PRINT_FUNCTION; }
};
template<typename... Args>
void func(Args... args)
{
PRINT_FUNCTION;
}
template<ty... | 15.636364 | 68 | 0.631783 | vnikolai |
66e8c71ecbded88fa8638caa33c2f33e7c4a85d5 | 1,462 | cpp | C++ | snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-03-12T19:26:36.000Z | 2022-01-10T21:45:33.000Z | snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z |
//<snippet1>
// This example demonstrates Math.Atan()
// Math.Atan2()
// Math.Tan()
using namespace System;
int main()
{
double x = 1.0;
double y = 2.0;
double angle;
double radians;
double result;
// Calculate the tangent of 30 degrees.
angl... | 30.458333 | 85 | 0.638167 | BohdanMosiyuk |
66e933ccfb90cdb9c2eea191569f2a23f2e94d15 | 1,001 | cpp | C++ | binary_tree/binary_tree/mid_num_heap/main.cpp | hcnhcn012/algorithms | 856d3889dcaac65dd7ad7be1b50076393aa66088 | [
"MIT"
] | 1 | 2021-01-11T12:36:46.000Z | 2021-01-11T12:36:46.000Z | binary_tree/binary_tree/mid_num_heap/main.cpp | hcnhcn012/algorithms | 856d3889dcaac65dd7ad7be1b50076393aa66088 | [
"MIT"
] | null | null | null | binary_tree/binary_tree/mid_num_heap/main.cpp | hcnhcn012/algorithms | 856d3889dcaac65dd7ad7be1b50076393aa66088 | [
"MIT"
] | null | null | null | //
// main.cpp
// mid_num_heap
//
// Created by ChengnanHu on 2/1/21.
//
#include <iostream>
#include <queue>
using namespace std;
void Insert(int num);
double GetMiddle();
priority_queue<int> max_heap;
priority_queue<int, vector<int >, greater<int >> min_heap;
int n = 0;
int main(int argc, const char * argv[]... | 16.683333 | 69 | 0.531469 | hcnhcn012 |