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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3762b848cdc6c63861b7a21ebd11b47a33f4130 | 8,346 | cpp | C++ | audio/tests/PinResourceHelpers/TestResource.cpp | hassnaaHamdi/Windows-driver-samples | 325b87cf839b1b5c0ff46bb8c201612cfaedc561 | [
"MS-PL"
] | 2 | 2020-11-06T09:35:06.000Z | 2021-12-10T05:14:17.000Z | audio/tests/PinResourceHelpers/TestResource.cpp | hassnaaHamdi/Windows-driver-samples | 325b87cf839b1b5c0ff46bb8c201612cfaedc561 | [
"MS-PL"
] | null | null | null | audio/tests/PinResourceHelpers/TestResource.cpp | hassnaaHamdi/Windows-driver-samples | 325b87cf839b1b5c0ff46bb8c201612cfaedc561 | [
"MS-PL"
] | 1 | 2021-04-20T06:54:42.000Z | 2021-04-20T06:54:42.000Z | // ------------------------------------------------------------------------------
//
// Copyright (C) Microsoft. All rights reserved.
//
// File Name:
//
// TestResource.cpp
//
// Abstract:
//
// TAEF Test Resource implementation
//
// ----------------------------------------------------------------------... | 25.138554 | 95 | 0.620537 | hassnaaHamdi |
f37837f1d5db76c3eafd3f7259eea084804f12eb | 3,340 | cpp | C++ | connection/sender.cpp | ctring/SLOG | 349e480b82c73d509220e3e1e83cb2ce748d199d | [
"MIT"
] | 26 | 2020-01-31T18:12:44.000Z | 2022-02-07T01:46:07.000Z | connection/sender.cpp | ctring/SLOG | 349e480b82c73d509220e3e1e83cb2ce748d199d | [
"MIT"
] | 17 | 2020-01-30T20:40:35.000Z | 2021-12-22T18:43:21.000Z | connection/sender.cpp | ctring/SLOG | 349e480b82c73d509220e3e1e83cb2ce748d199d | [
"MIT"
] | 6 | 2019-12-24T15:30:45.000Z | 2021-07-06T19:47:30.000Z | #include "sender.h"
using std::move;
namespace slog {
Sender::Sender(const ConfigurationPtr& config, const std::shared_ptr<zmq::context_t>& context)
: config_(config), context_(context) {}
void Sender::Send(const internal::Envelope& envelope, MachineId to_machine_id, Channel to_channel) {
auto& socket = GetRe... | 34.791667 | 109 | 0.708383 | ctring |
f37849979daa8238ee34d5fc3862ac0b3906c7dd | 280 | cpp | C++ | leetcode/367. Valid Perfect Square/s1.cpp | zhuohuwu0603/leetcode_cpp_lzl124631x | 6a579328810ef4651de00fde0505934d3028d9c7 | [
"Fair"
] | 787 | 2017-05-12T05:19:57.000Z | 2022-03-30T12:19:52.000Z | leetcode/367. Valid Perfect Square/s1.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 8 | 2020-03-16T05:55:38.000Z | 2022-03-09T17:19:17.000Z | leetcode/367. Valid Perfect Square/s1.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 247 | 2017-04-30T15:07:50.000Z | 2022-03-30T09:58:57.000Z | // OJ: https://leetcode.com/problems/valid-perfect-square/
// Author: github.com/lzl124631x
// Time: O(sqrt(num))
// Space: O(1)
class Solution {
public:
bool isPerfectSquare(int num) {
long i = 0;
while (i * i < num) ++i;
return i * i == num;
}
}; | 23.333333 | 58 | 0.571429 | zhuohuwu0603 |
f37ac839aee385d4f2e3754e137309141560277c | 7,637 | cpp | C++ | SampleFramework12/v1.02/Window.cpp | BalazsJako/DXRPathTracer | 948693d73c7f9474d98482e99e85416750b29286 | [
"MIT"
] | 456 | 2018-10-29T03:51:23.000Z | 2022-03-21T02:26:20.000Z | SampleFramework12/v1.02/Window.cpp | BalazsJako/DXRPathTracer | 948693d73c7f9474d98482e99e85416750b29286 | [
"MIT"
] | 11 | 2016-03-29T17:03:24.000Z | 2021-04-30T03:53:07.000Z | SampleFramework12/v1.02/Window.cpp | BalazsJako/DXRPathTracer | 948693d73c7f9474d98482e99e85416750b29286 | [
"MIT"
] | 48 | 2018-10-29T05:36:41.000Z | 2022-02-10T23:42:25.000Z | //=================================================================================================
//
// MJP's DX11 Sample Framework
// http://mynameismjp.wordpress.com/
//
// All code licensed under the MIT license
//
//================================================================================================... | 22.265306 | 132 | 0.672384 | BalazsJako |
f37caab7579849e64f5a018eca80afe5ff59b9b2 | 4,434 | cpp | C++ | src/core/src/join_point.test.cpp | chen-hwera/rDSN | cbaf0ef284016dd8a6f520fce57f2a53e600255a | [
"MIT"
] | 953 | 2015-05-15T23:06:00.000Z | 2019-05-04T13:12:38.000Z | src/core/src/join_point.test.cpp | huwan/rDSN | a3a566563a36bc620881aa28b692a07798131c79 | [
"MIT"
] | 349 | 2015-10-15T00:13:57.000Z | 2019-04-02T08:44:59.000Z | src/core/src/join_point.test.cpp | huwan/rDSN | a3a566563a36bc620881aa28b692a07798131c79 | [
"MIT"
] | 244 | 2015-05-15T21:15:15.000Z | 2019-04-29T03:20:36.000Z | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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 witho... | 27.7125 | 80 | 0.625846 | chen-hwera |
3ce4d94a542431f5fa4961944b45cca7d81c76a3 | 3,283 | cpp | C++ | libs/iostreams/test/bzip2_test.cpp | zyiacas/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | libs/iostreams/test/bzip2_test.cpp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | libs/iostreams/test/bzip2_test.cpp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2004-2007 Jonathan Turkanis
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
// See http://www.boost.org/libs/iostreams for d... | 33.845361 | 87 | 0.626561 | zyiacas |
3cebe3c8cf04c79812e3594b3e88f5bba4763476 | 1,222 | cpp | C++ | tests/PauseDecodersTest.cpp | ExpandingDev/Buckey | 4ede6483f575424de54457a1e619a55b7fed5d69 | [
"Unlicense"
] | null | null | null | tests/PauseDecodersTest.cpp | ExpandingDev/Buckey | 4ede6483f575424de54457a1e619a55b7fed5d69 | [
"Unlicense"
] | 10 | 2019-07-08T03:38:52.000Z | 2019-11-20T20:57:17.000Z | tests/PauseDecodersTest.cpp | ExpandingDev/Buckey | 4ede6483f575424de54457a1e619a55b7fed5d69 | [
"Unlicense"
] | null | null | null | #include "SphinxDecoderManager.h"
#include "EventSource.h"
#include "EventData.h"
#include "Buckey.h"
#include "SphinxHelper.h"
#include "yaml-cpp/yaml.h"
#include <string>
#include <vector>
#include <atomic>
#include <iostream>
using namespace std;
atomic<bool> done;
atomic<bool> requestPause;
void onHypothesis(E... | 21.438596 | 61 | 0.704583 | ExpandingDev |
3cec06f4f7a8cb1c5f8d6b2aaa9e5a91e34277da | 3,851 | cpp | C++ | test/InverseDynamics/test_invdyn_bullet.cpp | jeffw387/bullet3 | 1382053f00f81ae8830efd2503d5571e660882c5 | [
"Zlib"
] | 1 | 2018-10-24T12:09:29.000Z | 2018-10-24T12:09:29.000Z | test/InverseDynamics/test_invdyn_bullet.cpp | jeffw387/bullet3 | 1382053f00f81ae8830efd2503d5571e660882c5 | [
"Zlib"
] | null | null | null | test/InverseDynamics/test_invdyn_bullet.cpp | jeffw387/bullet3 | 1382053f00f81ae8830efd2503d5571e660882c5 | [
"Zlib"
] | null | null | null | /// create a bullet btMultiBody model of a tree structured multibody system,
/// convert that model to a MultiBodyTree model.
/// Then - run inverse dynamics on random input data (q, u, dot_u) to get forces
/// - run forward dynamics on (q,u, forces) to get accelerations
/// - compare input accelerations to i... | 31.826446 | 96 | 0.747079 | jeffw387 |
3cecc4999501138443597aa8aa1030bf4f001a5e | 1,319 | cpp | C++ | cycle_dir_print.cpp | JanaSabuj/CodingLibrary | 92bc141ae327ce01b480fde7a10ffb0be0ba401d | [
"MIT"
] | 14 | 2020-05-17T18:31:32.000Z | 2021-02-04T03:56:30.000Z | cycle_dir_print.cpp | JanaSabuj/cppdump | 92bc141ae327ce01b480fde7a10ffb0be0ba401d | [
"MIT"
] | null | null | null | cycle_dir_print.cpp | JanaSabuj/cppdump | 92bc141ae327ce01b480fde7a10ffb0be0ba401d | [
"MIT"
] | 2 | 2020-05-27T10:42:36.000Z | 2021-02-02T11:59:04.000Z | void print1d(const vector<int>& vec) {for (auto val : vec) {cout << val << " ";} cout << endl;}
void print2d(const vector<vector<int>>& vec) {for (auto row : vec) {for (auto val : row) {cout << val << " ";} cout << endl;}}
#define N 100
vvi adj;
vi color;
vi parent;
int cycle_start, cycle_end;
bool dfs(int v) {
col... | 18.319444 | 126 | 0.552691 | JanaSabuj |
3cedb927f38746597e488c7362b5bfe0ccf3a0eb | 507 | cpp | C++ | NKZX_NOI_OJ/P1320.cpp | Rose2073/RoseCppSource | bdaf5de04049b07bbe0e1ef976d1fbe72520fa03 | [
"Apache-2.0"
] | 1 | 2021-04-05T16:26:00.000Z | 2021-04-05T16:26:00.000Z | NKZX_NOI_OJ/P1320.cpp | Rose2073/RoseCppSource | bdaf5de04049b07bbe0e1ef976d1fbe72520fa03 | [
"Apache-2.0"
] | null | null | null | NKZX_NOI_OJ/P1320.cpp | Rose2073/RoseCppSource | bdaf5de04049b07bbe0e1ef976d1fbe72520fa03 | [
"Apache-2.0"
] | null | null | null | #include<cstdio>
int main(){
char str[1025];
gets(str);
int i = 0,lower = 0,upper = 0,num = 0,other = 0;
for(;;i++){
char c = str[i];
if(c == '\0'){
break;
}
if(c >= 'a' && c <= 'z'){
lower++;
}else if(c >= 'A' && c <= 'Z'){
upp... | 21.125 | 53 | 0.33925 | Rose2073 |
3cf191436dc8d572cb9b4adb5e1ef08d4e9a363a | 3,442 | cc | C++ | tensorflow/contrib/lite/toco/graph_transformations/propagate_default_min_max.cc | fraudies/tensorflow | a42423e302b71893bbd24aa896869941013c07fb | [
"Apache-2.0"
] | 3 | 2019-04-05T08:54:14.000Z | 2019-04-05T08:54:20.000Z | tensorflow/contrib/lite/toco/graph_transformations/propagate_default_min_max.cc | fraudies/tensorflow | a42423e302b71893bbd24aa896869941013c07fb | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/lite/toco/graph_transformations/propagate_default_min_max.cc | fraudies/tensorflow | a42423e302b71893bbd24aa896869941013c07fb | [
"Apache-2.0"
] | 4 | 2018-02-18T03:39:01.000Z | 2018-10-18T11:49:17.000Z | /* Copyright 2018 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... | 34.079208 | 85 | 0.676351 | fraudies |
3cf4a61497f902ee85ec8ba28db0a5a759ed509b | 320 | hpp | C++ | src/widgets/settingspages/keyboardsettingspage.hpp | alexandera3/chatterino2 | 41fbcc738b34a19f66eef3cca8d5dea0b89e07a3 | [
"MIT"
] | 1 | 2018-03-24T18:40:00.000Z | 2018-03-24T18:40:00.000Z | src/widgets/settingspages/keyboardsettingspage.hpp | alexandera3/chatterino2 | 41fbcc738b34a19f66eef3cca8d5dea0b89e07a3 | [
"MIT"
] | null | null | null | src/widgets/settingspages/keyboardsettingspage.hpp | alexandera3/chatterino2 | 41fbcc738b34a19f66eef3cca8d5dea0b89e07a3 | [
"MIT"
] | null | null | null | #pragma once
#include "widgets/settingspages/settingspage.hpp"
namespace chatterino {
namespace widgets {
namespace settingspages {
class KeyboardSettingsPage : public SettingsPage
{
public:
KeyboardSettingsPage();
};
} // namespace settingspages
} // namespace widgets
} // namespace chatterino
| 20 | 50 | 0.734375 | alexandera3 |
3cf73401216a1b3ff3acbf59ee74ed293b5eb617 | 4,480 | hpp | C++ | library/ATF/GUILD_BATTLE__CGuildBattleSchedulePoolInfo.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/GUILD_BATTLE__CGuildBattleSchedulePoolInfo.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/GUILD_BATTLE__CGuildBattleSchedulePoolInfo.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <GUILD_BATTLE__CGuildBattleSchedulePool.hpp>
START_ATF_NAMESPACE
namespace GUILD_BATTLE
{
namespace Info
{
usi... | 112 | 248 | 0.814063 | lemkova |
3cf83ac1eb945058bbf9d8e508f78b4ae00c6861 | 2,522 | cpp | C++ | Switch.cpp | yiyaowen/QuaintElements | 117dece11b22c050690484f38f72b1c47de91ea0 | [
"MIT"
] | null | null | null | Switch.cpp | yiyaowen/QuaintElements | 117dece11b22c050690484f38f72b1c47de91ea0 | [
"MIT"
] | null | null | null | Switch.cpp | yiyaowen/QuaintElements | 117dece11b22c050690484f38f72b1c47de91ea0 | [
"MIT"
] | null | null | null | /*
* "Q t"
* <Quaint Elements>
*
* Start using fantastic UI elements in your project with one header file.
*
* yiyaowen (c) 2021 All rights reserved
* Supports @ https://github.com/yiyaowen/QuaintElements
*/
#include <QMouseEvent>
#include <QPainter>
#include <QtMath>
#include "Switch.h"
using namespace Qua... | 27.413043 | 93 | 0.622918 | yiyaowen |
3cfb700d7623ff6cb8b7e702fb2d07cf3dd8bba9 | 665 | hpp | C++ | libctrpf/include/CTRPluginFrameworkImpl/Menu/HotkeysModifier.hpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | null | null | null | libctrpf/include/CTRPluginFrameworkImpl/Menu/HotkeysModifier.hpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | null | null | null | libctrpf/include/CTRPluginFrameworkImpl/Menu/HotkeysModifier.hpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | null | null | null | #ifndef CTRPLUGINFRAMEWORKIMPL_PLUGINMENUHOTKEYS_HPP
#define CTRPLUGINFRAMEWORKIMPL_PLUGINMENUHOTKEYS_HPP
#include "CTRPluginFrameworkImpl/Graphics/Button.hpp"
#include <vector>
#include <string>
namespace CTRPluginFramework
{
class HotkeysModifier
{
public:
HotkeysModifier(u32 &keys, const std::s... | 20.78125 | 63 | 0.639098 | MirayXS |
3cfe5d1806fcf46d1861c5c24104854898a28790 | 1,254 | cpp | C++ | src/win/pxSharedContextNative.cpp | johnrobinsn/pxCore2 | ce9f48a281e03a2e6a0fa6fdacd15a59c6aa720f | [
"Apache-2.0"
] | 9 | 2015-04-04T15:45:12.000Z | 2017-05-04T11:23:58.000Z | src/win/pxSharedContextNative.cpp | johnrobinsn/pxCore2 | ce9f48a281e03a2e6a0fa6fdacd15a59c6aa720f | [
"Apache-2.0"
] | 217 | 2015-01-27T09:59:21.000Z | 2017-06-20T14:43:44.000Z | src/win/pxSharedContextNative.cpp | johnrobinsn/pxCore2 | ce9f48a281e03a2e6a0fa6fdacd15a59c6aa720f | [
"Apache-2.0"
] | 216 | 2015-06-02T23:56:26.000Z | 2019-05-22T19:38:13.000Z | /*
pxCore Copyright 2005-2021 John Robinson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... | 26.125 | 72 | 0.778309 | johnrobinsn |
3cfe9279a3a3df5656beb582529f8cb74bfddf42 | 4,544 | cc | C++ | src/net/third_party/quiche/src/quic/test_tools/quic_test_backend.cc | Chilledheart/naiveproxy | 9d28da89b325a90d33add830f4202c8b17c7c3e3 | [
"BSD-3-Clause"
] | 130 | 2021-07-28T00:15:30.000Z | 2022-03-31T06:44:22.000Z | src/net/third_party/quiche/src/quic/test_tools/quic_test_backend.cc | kpzhao/naiveproxy | af9eef6f6eba27c4dadf4b6afe84f0b2fa04e1d9 | [
"BSD-3-Clause"
] | 10 | 2021-08-29T15:37:19.000Z | 2022-03-29T14:20:11.000Z | src/net/third_party/quiche/src/quic/test_tools/quic_test_backend.cc | kpzhao/naiveproxy | af9eef6f6eba27c4dadf4b6afe84f0b2fa04e1d9 | [
"BSD-3-Clause"
] | 34 | 2021-08-07T01:04:23.000Z | 2022-03-15T00:23:23.000Z | // Copyright (c) 2021 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 "quic/test_tools/quic_test_backend.h"
#include <cstring>
#include <memory>
#include "absl/strings/str_cat.h"
#include "absl/strings/str_spl... | 36.645161 | 80 | 0.691901 | Chilledheart |
3cff8a19b9abbb4db0aaa1756bdaf95bc8cad85d | 2,475 | cpp | C++ | Qt6/Books/BlanchetteSummerfield/chap09/drag-user-types-2/mytablewidget.cpp | neon1ks/Study | 5d40171cf3bf5e8d3a95539e91f5afec54d1daf3 | [
"MIT"
] | null | null | null | Qt6/Books/BlanchetteSummerfield/chap09/drag-user-types-2/mytablewidget.cpp | neon1ks/Study | 5d40171cf3bf5e8d3a95539e91f5afec54d1daf3 | [
"MIT"
] | null | null | null | Qt6/Books/BlanchetteSummerfield/chap09/drag-user-types-2/mytablewidget.cpp | neon1ks/Study | 5d40171cf3bf5e8d3a95539e91f5afec54d1daf3 | [
"MIT"
] | null | null | null | #include "mytablewidget.h"
#include "tablemimedata.h"
#include <QtWidgets>
MyTableWidget::MyTableWidget(QWidget *parent) : QTableWidget(parent)
{
setAcceptDrops(true);
setSelectionMode(ContiguousSelection);
clear(); // Для изменения размеров таблицы и задания заголовкой столбцов
}
void MyTableWidget::mo... | 26.329787 | 76 | 0.634343 | neon1ks |
a70703e7f6ebfb7be91068e0b5b3fbb71e4f323f | 10,730 | cpp | C++ | proton-c/bindings/cpp/src/messaging_adapter.cpp | aikchar/qpid-proton | 10df4133e8877ee535e24b494738356369dcd24c | [
"Apache-2.0"
] | null | null | null | proton-c/bindings/cpp/src/messaging_adapter.cpp | aikchar/qpid-proton | 10df4133e8877ee535e24b494738356369dcd24c | [
"Apache-2.0"
] | null | null | null | proton-c/bindings/cpp/src/messaging_adapter.cpp | aikchar/qpid-proton | 10df4133e8877ee535e24b494738356369dcd24c | [
"Apache-2.0"
] | 1 | 2020-12-17T15:47:50.000Z | 2020-12-17T15:47:50.000Z | /*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... | 33.015385 | 105 | 0.637279 | aikchar |
a707ff65ea24a63cf63f601401a0abb0caf5a246 | 12,618 | cc | C++ | crawl-ref/source/stringutil.cc | ludamad/bcrawl-hacks | 0c82f6181d8c2ffcb58f374a58887694cdd407ae | [
"CC0-1.0"
] | 58 | 2018-12-10T05:09:50.000Z | 2022-01-17T02:22:49.000Z | crawl-ref/source/stringutil.cc | ludamad/bcrawl-hacks | 0c82f6181d8c2ffcb58f374a58887694cdd407ae | [
"CC0-1.0"
] | 7 | 2020-04-26T03:18:55.000Z | 2021-05-29T21:19:05.000Z | crawl-ref/source/stringutil.cc | ludamad/bcrawl-hacks | 0c82f6181d8c2ffcb58f374a58887694cdd407ae | [
"CC0-1.0"
] | 11 | 2019-01-05T20:14:48.000Z | 2022-01-06T21:25:53.000Z | /**
* @file
* @brief String manipulation functions that don't fit elsewhere.
**/
#include "AppHdr.h"
#include "stringutil.h"
#include <cwctype>
#include <sstream>
#include "libutil.h"
#include "random.h"
#include "unicode.h"
#ifndef CRAWL_HAVE_STRLCPY
size_t strlcpy(char *dst, const char *src, size_t n)
{
i... | 24.887574 | 103 | 0.548264 | ludamad |
a7098e59e13c4c6755f7f977f598fbd17f47f812 | 7,630 | cpp | C++ | serial_mux/SerialMuxOptions.cpp | dustcloud/serialmux | 4ae93d923a942242a897635105cc4251dbd01528 | [
"MIT"
] | 1 | 2018-02-02T09:04:29.000Z | 2018-02-02T09:04:29.000Z | serial_mux/SerialMuxOptions.cpp | dustcloud/serialmux | 4ae93d923a942242a897635105cc4251dbd01528 | [
"MIT"
] | null | null | null | serial_mux/SerialMuxOptions.cpp | dustcloud/serialmux | 4ae93d923a942242a897635105cc4251dbd01528 | [
"MIT"
] | 4 | 2016-08-25T00:13:52.000Z | 2021-01-14T23:42:08.000Z | /*
* Copyright (c) 2010, Dust Networks, Inc.
*/
#include "SerialMuxOptions.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <boost/program_options.hpp>
using namespace boost::program_options;
#include <boost/filesystem.hpp>
#include "Version.h" // for command line version outpu... | 33.464912 | 97 | 0.549148 | dustcloud |
a70a1809ce0025047d5e27ef2457101f44f8757b | 1,570 | hxx | C++ | src/devices/cpu/v60/op5.hxx | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | emulator/src/devices/cpu/v60/op5.hxx | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/devices/cpu/v60/op5.hxx | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Farfetch'd, R. Belmont
/*
* HALT: must add log
*/
uint32_t v60_device::opBRK()
{
/*
uint32_t oldPSW = v60_update_psw_for_exception(0, 0);
SP -=4;
m_program->write_dword_unaligned(SP, EXCEPTION_CODE_AND_SIZE(0x0d00, 4));
SP -=4;
m_program->write_dword... | 17.840909 | 77 | 0.666879 | Robbbert |
a70b6117b7cfad6c33f578c03445681f85647b6b | 25,992 | cpp | C++ | llarp/handlers/tun.cpp | braveheart12/loki-network | 568977e3a9a6825ed67e31f2ecce55946ebd8bbf | [
"Zlib"
] | 1 | 2021-06-22T08:19:39.000Z | 2021-06-22T08:19:39.000Z | llarp/handlers/tun.cpp | tzf-key/loki-network | 01b3c0363caa746abf0fa52d27ffef1c84141cc3 | [
"Zlib"
] | null | null | null | llarp/handlers/tun.cpp | tzf-key/loki-network | 01b3c0363caa746abf0fa52d27ffef1c84141cc3 | [
"Zlib"
] | 1 | 2019-10-03T10:07:30.000Z | 2019-10-03T10:07:30.000Z | #include <algorithm>
// harmless on other platforms
#define __USE_MINGW_ANSI_STDIO 1
#include <handlers/tun.hpp>
#include <sys/types.h>
#ifndef _WIN32
#include <sys/socket.h>
#include <netdb.h>
#endif
#include <dns/dns.hpp>
#include <ev/ev.hpp>
#include <router/abstractrouter.hpp>
#include <service/context.hpp>
#inclu... | 29.671233 | 80 | 0.527162 | braveheart12 |
a70c92376efe3054a53e3996e768a6e29b533b2d | 10,866 | hpp | C++ | src/thirdparty/stlsoft/STLSoft/include/stlsoft/synch/spin_mutex_base.hpp | nneesshh/servercore | 8aceb7c9d5b26976469645a708b4ab804864c03f | [
"MIT"
] | null | null | null | src/thirdparty/stlsoft/STLSoft/include/stlsoft/synch/spin_mutex_base.hpp | nneesshh/servercore | 8aceb7c9d5b26976469645a708b4ab804864c03f | [
"MIT"
] | null | null | null | src/thirdparty/stlsoft/STLSoft/include/stlsoft/synch/spin_mutex_base.hpp | nneesshh/servercore | 8aceb7c9d5b26976469645a708b4ab804864c03f | [
"MIT"
] | 2 | 2020-11-04T03:07:09.000Z | 2020-11-05T08:14:45.000Z | /* /////////////////////////////////////////////////////////////////////////
* File: stlsoft/synch/spin_mutex_base.hpp (originally MWSpinMx.h, ::SynesisWin)
*
* Purpose: stlsoft::spin_mutex_base class template.
*
* Created: 27th August 1997
* Updated: 19th February 2017
*
* Thanks: To Ru... | 31.958824 | 261 | 0.643935 | nneesshh |
a70cce366844fd0cbe7d860f9368159c69996896 | 6,040 | hpp | C++ | include/obvi/util/affine3.hpp | stephen-sorley/obvi | ead96e23dfd9ffba35590b3a035556eeb093d9a8 | [
"MIT"
] | null | null | null | include/obvi/util/affine3.hpp | stephen-sorley/obvi | ead96e23dfd9ffba35590b3a035556eeb093d9a8 | [
"MIT"
] | null | null | null | include/obvi/util/affine3.hpp | stephen-sorley/obvi | ead96e23dfd9ffba35590b3a035556eeb093d9a8 | [
"MIT"
] | null | null | null | /* Header-only class that implements an affine transformation in 3D space.
*
* This class only supports affine transformations that represent some combination of
* rotations, translations, and uniform scaling (i.e., scaling that's the same on every
* axis). Shear and non-uniform scaling are not supported for tw... | 35.116279 | 97 | 0.623344 | stephen-sorley |
a7104516442f6902a59820f9823b2f03584e5b3b | 1,250 | hpp | C++ | source/code/utilities/types/sets/lib.hpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/code/utilities/types/sets/lib.hpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/code/utilities/types/sets/lib.hpp | UniLang/compiler | c338ee92994600af801033a37dfb2f1a0c9ca897 | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | #pragma once
#include <set>
#include <unordered_set>
#include <iostream>
//forward declerations
template <typename T>
void Add_To_Set(std::set<T> & s, T const& item_to_add);
template <typename T>
void Delete_From_Set(std::set<T> & s, T const& item_to_delete);
template <typename T>
bool Exists_In_Set(std::set<T> cons... | 23.584906 | 88 | 0.7 | luxe |
a7129b7c4694d4fd008f228ea042118e83f39730 | 3,581 | cc | C++ | src/ray/core_worker/transport/raylet_transport.cc | matthewearl/ray | e29f2ef788dc399832240ae17fb9464515374eb7 | [
"Apache-2.0"
] | 1 | 2020-07-21T22:31:11.000Z | 2020-07-21T22:31:11.000Z | src/ray/core_worker/transport/raylet_transport.cc | matthewearl/ray | e29f2ef788dc399832240ae17fb9464515374eb7 | [
"Apache-2.0"
] | 1 | 2019-03-16T07:08:57.000Z | 2019-03-16T07:08:57.000Z | src/ray/core_worker/transport/raylet_transport.cc | gehring/ray | d8eeb9641314740572e81f9836cbce3e5b8f2b73 | [
"Apache-2.0"
] | null | null | null |
#include "ray/core_worker/transport/raylet_transport.h"
#include "ray/common/common_protocol.h"
#include "ray/common/task/task.h"
namespace ray {
CoreWorkerRayletTaskReceiver::CoreWorkerRayletTaskReceiver(
const WorkerID &worker_id, std::shared_ptr<raylet::RayletClient> &raylet_client,
const TaskHandler &tas... | 45.329114 | 90 | 0.732198 | matthewearl |
a712cdf50f149e8abaa2e35121eccb31d3e20099 | 399 | cpp | C++ | test/matrixScalarMult.cpp | mkschreder/px4-matrix | f0684a655ca433436b884575d998430f4a1dac3d | [
"BSD-3-Clause-Clear"
] | null | null | null | test/matrixScalarMult.cpp | mkschreder/px4-matrix | f0684a655ca433436b884575d998430f4a1dac3d | [
"BSD-3-Clause-Clear"
] | null | null | null | test/matrixScalarMult.cpp | mkschreder/px4-matrix | f0684a655ca433436b884575d998430f4a1dac3d | [
"BSD-3-Clause-Clear"
] | null | null | null | #include <stdio.h>
#include "../matrix/math.hpp"
#include "test_macros.hpp"
using namespace matrix;
int main()
{
float data[9] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
Matrix3f A(data);
A = A * 2;
float data_check[9] = {2, 4, 6, 8, 10, 12, 14, 16, 18};
Matrix3f A_check(data_check);
TEST(isEqual(A, A_ch... | 19.95 | 59 | 0.573935 | mkschreder |
a7141048634c3efbae9221deb5ceb1c5d5e58c98 | 1,104 | cc | C++ | cvd_src/cvd_timer.cc | rolandmas/libcvd | 34d8e26dbc7d0923dce084b873aa2f2e9eb600d4 | [
"BSD-2-Clause"
] | 187 | 2015-01-23T16:56:21.000Z | 2022-01-22T19:39:34.000Z | cvd_src/cvd_timer.cc | rolandmas/libcvd | 34d8e26dbc7d0923dce084b873aa2f2e9eb600d4 | [
"BSD-2-Clause"
] | 44 | 2015-06-03T09:54:44.000Z | 2021-10-04T02:41:48.000Z | cvd_src/cvd_timer.cc | rolandmas/libcvd | 34d8e26dbc7d0923dce084b873aa2f2e9eb600d4 | [
"BSD-2-Clause"
] | 76 | 2015-02-19T18:44:38.000Z | 2022-01-05T12:22:13.000Z | ///////////////////////////////////////////////////////
//
// A timer class designed for dealing with timestamps
// CK Nov 2002
//
///////////////////////////////////////////////////////
#include "cvd/timer.h"
#include <chrono>
#include <iostream>
using namespace std;
using namespace std::chrono;
namespace CVD
{
lo... | 18.711864 | 91 | 0.65308 | rolandmas |
a7153a15c6917108487bf116cfc70accc70d922e | 4,263 | cc | C++ | rocksdb-cloud/cloud/manifest_reader.cc | naivewong/YCSB-C | 9a603e95083950278ed0972e2ee889edf77e4148 | [
"Apache-2.0"
] | null | null | null | rocksdb-cloud/cloud/manifest_reader.cc | naivewong/YCSB-C | 9a603e95083950278ed0972e2ee889edf77e4148 | [
"Apache-2.0"
] | null | null | null | rocksdb-cloud/cloud/manifest_reader.cc | naivewong/YCSB-C | 9a603e95083950278ed0972e2ee889edf77e4148 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2017 Rockset.
#ifndef ROCKSDB_LITE
#include "cloud/manifest_reader.h"
#include "cloud/aws/aws_env.h"
#include "cloud/cloud_manifest.h"
#include "cloud/db_cloud_impl.h"
#include "cloud/filename.h"
#include "db/version_set.h"
#include "rocksdb/db.h"
#include "rocksdb/env.h"
#include "rocksdb/options.h"
... | 30.45 | 80 | 0.627023 | naivewong |
a715b4dabcdfbdbed6e0c1aed44f96057ae9891d | 79 | hpp | C++ | vm/segments.hpp | seckar/factor | 9683b081e3d93a996d00c91a139b533139dfb945 | [
"BSD-2-Clause"
] | 1 | 2016-05-08T19:43:03.000Z | 2016-05-08T19:43:03.000Z | vm/segments.hpp | seckar/factor | 9683b081e3d93a996d00c91a139b533139dfb945 | [
"BSD-2-Clause"
] | null | null | null | vm/segments.hpp | seckar/factor | 9683b081e3d93a996d00c91a139b533139dfb945 | [
"BSD-2-Clause"
] | null | null | null | namespace factor
{
struct segment {
cell start;
cell size;
cell end;
};
}
| 7.181818 | 16 | 0.658228 | seckar |
a7168501500555253944387a710e82bb9d7c4b66 | 5,700 | cc | C++ | src/views/reductions.cc | sduvuru/couchstore | 0ddb502b5b32aaa728e3323bd5d447f467f77966 | [
"Apache-2.0"
] | 16 | 2015-04-14T20:46:30.000Z | 2021-07-07T10:51:20.000Z | src/views/reductions.cc | sduvuru/couchstore | 0ddb502b5b32aaa728e3323bd5d447f467f77966 | [
"Apache-2.0"
] | 5 | 2016-03-18T09:25:20.000Z | 2021-09-20T05:21:46.000Z | src/views/reductions.cc | sduvuru/couchstore | 0ddb502b5b32aaa728e3323bd5d447f467f77966 | [
"Apache-2.0"
] | 5 | 2015-10-13T06:33:23.000Z | 2021-06-15T16:42:53.000Z | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "reductions.h"
#include "../bitfield.h"
#include "../couch_btree.h"
#include <platform/cb_malloc.h>
#include <stdlib.h>
#include <string.h>
#include <platform/cbassert.h>
#define BITMASK_BYTE_SIZE (1024 / CHAR_BIT)
#define ... | 22.8 | 93 | 0.571053 | sduvuru |
a71a6c8657fc3b9037c229b236ee1257731e47b8 | 6,159 | hpp | C++ | ros2_mod_ws/build/robobo_msgs_aux/rosidl_generator_cpp/robobo_msgs_aux/msg/i_rs__struct.hpp | mintforpeople/robobo-ros2-ios-port | 1a5650304bd41060925ebba41d6c861d5062bfae | [
"Apache-2.0"
] | 1 | 2020-05-19T14:33:49.000Z | 2020-05-19T14:33:49.000Z | ros2_mod_ws/install/include/robobo_msgs_aux/msg/i_rs__struct.hpp | mintforpeople/robobo-ros2-ios-port | 1a5650304bd41060925ebba41d6c861d5062bfae | [
"Apache-2.0"
] | null | null | null | ros2_mod_ws/install/include/robobo_msgs_aux/msg/i_rs__struct.hpp | mintforpeople/robobo-ros2-ios-port | 1a5650304bd41060925ebba41d6c861d5062bfae | [
"Apache-2.0"
] | null | null | null | // generated from rosidl_generator_cpp/resource/msg__struct.hpp.em
// generated code does not contain a copyright notice
#ifndef ROBOBO_MSGS_AUX__MSG__I_RS__STRUCT_HPP_
#define ROBOBO_MSGS_AUX__MSG__I_RS__STRUCT_HPP_
// Protect against ERROR being predefined on Windows, in case somebody defines a
// constant by that ... | 26.895197 | 152 | 0.711317 | mintforpeople |
a7204d47b019ed806524a1370d518928f855183e | 2,592 | cc | C++ | src/compressed-sensing/model/transform-matrix.cc | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | src/compressed-sensing/model/transform-matrix.cc | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | src/compressed-sensing/model/transform-matrix.cc | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | /**
* \file transform-matrix.cc
*
* \author Tobias Waurick
* \date 23.06.17
*
*/
#include "transform-matrix.h"
#include "ns3/template-registration.h"
/*-------- TransMatrix --------*/
TransMatrix::TransMatrix() : TOperator<double>()
{
}
TransMatrix::TransMatrix(uint32_t n) : TOperator<double>(n)
{
}
void Trans... | 19.2 | 121 | 0.707176 | HerrFroehlich |
a720b330f3413d7caf56ef15e17ab17f73fa9545 | 51,288 | cpp | C++ | ms3d/ms3d.cpp | dream-overflow/o3dsamples | 623403c9e62711eea4fe46ead2c1b446c13b7239 | [
"FSFAP"
] | null | null | null | ms3d/ms3d.cpp | dream-overflow/o3dsamples | 623403c9e62711eea4fe46ead2c1b446c13b7239 | [
"FSFAP"
] | null | null | null | ms3d/ms3d.cpp | dream-overflow/o3dsamples | 623403c9e62711eea4fe46ead2c1b446c13b7239 | [
"FSFAP"
] | null | null | null | /**
* @file ms3d.cpp
* @brief
* @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org)
* @date 2004-01-01
* @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved.
* @details
*/
#include <o3d/core/memorymanager.h>
#include <o3d/core/keyboard.h>
#include <o3d/core/appwindow.h>
#include ... | 39.788984 | 135 | 0.614861 | dream-overflow |
a7223634c11f9e5b46f5e121187550d638a0092a | 420 | cpp | C++ | csf_workspace/css/src/core/module/device/connect/url/csf_url.cpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | 2 | 2019-12-17T13:16:48.000Z | 2019-12-17T13:16:51.000Z | csf_workspace/css/src/core/module/device/connect/url/csf_url.cpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | null | null | null | csf_workspace/css/src/core/module/device/connect/url/csf_url.cpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
*
*Copyright: armuxinxian@aliyun.com
*
*File name: csf_url.hpp
*
*Author: f
*
*Version: 1.0
*
*Date: 11-7月-2018 22:10:25
*
*Description: Class(csf_url) url地址信息的基础类信息
*
*Others:
*
*History:
*************************************************... | 17.5 | 81 | 0.42381 | Kitty-Kitty |
a72498a88255d058050931d0665e3eda17ad368e | 3,772 | cc | C++ | tests/wampcc/test_tcp_socket.cc | vai-hhn/wampcc | ac206f60028406ea8af4c295e11cbc7de67cf2ad | [
"MIT"
] | 70 | 2017-03-09T12:45:30.000Z | 2021-12-31T20:34:40.000Z | tests/wampcc/test_tcp_socket.cc | vai-hhn/wampcc | ac206f60028406ea8af4c295e11cbc7de67cf2ad | [
"MIT"
] | 54 | 2017-04-15T23:02:08.000Z | 2021-04-13T08:44:25.000Z | tests/wampcc/test_tcp_socket.cc | vai-hhn/wampcc | ac206f60028406ea8af4c295e11cbc7de67cf2ad | [
"MIT"
] | 30 | 2017-06-02T14:12:28.000Z | 2021-12-06T07:28:48.000Z | /*
* Copyright (c) 2017 Darren Smith
*
* wampcc is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "test_common.h"
#include "mini_test.h"
using namespace wampcc;
using namespace std;
int global_port;
int global_loops = 50;
void... | 23.428571 | 79 | 0.69088 | vai-hhn |
a7253f4c01eb531796813c04db2b2afbdf85b554 | 4,050 | cpp | C++ | examples/xml2cpp/calculator/calculator_client.cpp | tvladax/dbus-cxx | 396041a2130985acd72bb801b7137ec06e04b161 | [
"BSD-3-Clause"
] | null | null | null | examples/xml2cpp/calculator/calculator_client.cpp | tvladax/dbus-cxx | 396041a2130985acd72bb801b7137ec06e04b161 | [
"BSD-3-Clause"
] | null | null | null | examples/xml2cpp/calculator/calculator_client.cpp | tvladax/dbus-cxx | 396041a2130985acd72bb801b7137ec06e04b161 | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
* Copyright (C) 2009,2010 by Rick L. Vinyard, Jr. *
* rvinyard@cs.nmsu.edu *
* *
* This fi... | 51.923077 | 169 | 0.501975 | tvladax |
a7261e006f9ae54f3e5e5b2b32bbf8cf01784b5d | 3,868 | hxx | C++ | src/ssids/cpu/AppendAlloc.hxx | mjacobse/spral | 9bf003b2cc199928ec18c967ce0e009d98790898 | [
"BSD-3-Clause"
] | 76 | 2016-10-03T13:58:37.000Z | 2022-03-14T00:11:34.000Z | src/ssids/cpu/AppendAlloc.hxx | mjacobse/spral | 9bf003b2cc199928ec18c967ce0e009d98790898 | [
"BSD-3-Clause"
] | 51 | 2016-09-20T19:01:18.000Z | 2022-03-11T12:52:21.000Z | src/ssids/cpu/AppendAlloc.hxx | mjacobse/spral | 9bf003b2cc199928ec18c967ce0e009d98790898 | [
"BSD-3-Clause"
] | 19 | 2016-09-30T20:52:47.000Z | 2022-02-28T14:58:37.000Z | /** \file
* \copyright 2016 The Science and Technology Facilities Council (STFC)
* \licence BSD licence, see LICENCE file for details
* \author Jonathan Hogg
*/
#pragma once
//#define MEM_STATS
#include <memory>
#include "compat.hxx" // for std::align if required
namespace spral { namespace ssids { name... | 27.628571 | 80 | 0.639866 | mjacobse |
a72634b63a6d9c2159c6e08bed72b1bbd975a713 | 18,132 | cpp | C++ | Support/Plugins/MultiBundle/multibundle1.cpp | devernay/openfx | d5db5d0483faab6a85c104b436f7460897a90aa8 | [
"BSD-3-Clause"
] | 20 | 2015-01-25T22:29:49.000Z | 2017-10-05T11:44:11.000Z | Support/Plugins/MultiBundle/multibundle1.cpp | devernay/openfx | d5db5d0483faab6a85c104b436f7460897a90aa8 | [
"BSD-3-Clause"
] | 5 | 2015-07-01T17:10:00.000Z | 2018-01-04T08:55:36.000Z | Support/Plugins/MultiBundle/multibundle1.cpp | devernay/openfx | d5db5d0483faab6a85c104b436f7460897a90aa8 | [
"BSD-3-Clause"
] | 13 | 2015-01-10T15:44:43.000Z | 2018-01-10T10:29:15.000Z | /*
OFX Gamma Example plugin, a plugin that illustrates the use of the OFX Support library.
Copyright (C) 2004-2005 The Open Effects Association Ltd
Author Bruno Nicoletti bruno@thefoundry.co.uk
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following c... | 31.58885 | 130 | 0.688507 | devernay |
a7281adc2c73acd557a4cb72f462c77a8c29d805 | 2,741 | cc | C++ | ios/chrome/browser/history/web_history_service_factory.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ios/chrome/browser/history/web_history_service_factory.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | ios/chrome/browser/history/web_history_service_factory.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"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 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 "ios/chrome/browser/history/web_history_service_factory.h"
#include "base/no_destructor.h"
#include "components/history/core/browser/web_history... | 37.547945 | 80 | 0.78402 | zealoussnow |
a728337ac8b023f804c9b840dc1ee238ddf41568 | 1,408 | cpp | C++ | api/c-plus-plus-dot-net/example/TestAPITab.cpp | konklone/tigerfid | b36a6b1bb81e2f14f9a808d04128650ffa47dfd0 | [
"Apache-2.0"
] | null | null | null | api/c-plus-plus-dot-net/example/TestAPITab.cpp | konklone/tigerfid | b36a6b1bb81e2f14f9a808d04128650ffa47dfd0 | [
"Apache-2.0"
] | null | null | null | api/c-plus-plus-dot-net/example/TestAPITab.cpp | konklone/tigerfid | b36a6b1bb81e2f14f9a808d04128650ffa47dfd0 | [
"Apache-2.0"
] | null | null | null | // TestAPITab.cpp : implementation file
//
#include "stdafx.h"
#include "TestAPI.h"
#include "TestAPITab.h"
#include "CommPage.h"
#include ".\testapitab.h"
// TestAPITab dialog
IMPLEMENT_DYNAMIC(TestAPITab, CTabCtrl)
TestAPITab::TestAPITab(CWnd* pParent /*=NULL*/)
: CTabCtrl(TestAPITab::IDD, pParent)
{
m_DialogID... | 23.081967 | 137 | 0.759943 | konklone |
a729180c02649dd2338b54e1aaed297b34bb0ba8 | 1,901 | cpp | C++ | netsvcs/clients/Naming/Client/main.cpp | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | 16 | 2015-05-11T04:33:44.000Z | 2022-02-15T04:28:39.000Z | netsvcs/clients/Naming/Client/main.cpp | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | null | null | null | netsvcs/clients/Naming/Client/main.cpp | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | 7 | 2015-01-08T16:11:34.000Z | 2021-07-04T16:04:40.000Z | // $Id$
// Test the client-side of the ACE Name Server...
#include "ace/Service_Config.h"
#include "ace/Naming_Context.h"
#include "ace/ARGV.h"
#include "ace/Log_Msg.h"
#include "ace/Reactor.h"
#include "Client_Test.h"
int
ACE_TMAIN (int, ACE_TCHAR *argv[])
{
ACE_Service_Config daemon;
ACE_ARGV new_args;
// ... | 26.041096 | 75 | 0.540242 | BeiJiaan |
a72acf43f526dc506b3fde7e61cda3b35b82ca9f | 3,092 | cc | C++ | CondFormats/SiPixelObjects/test/SiPixelFedCablingMapTestWriter.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 2 | 2020-10-26T18:40:32.000Z | 2021-04-10T16:33:25.000Z | CondFormats/SiPixelObjects/test/SiPixelFedCablingMapTestWriter.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 30 | 2015-11-04T11:42:27.000Z | 2021-12-01T07:56:34.000Z | CondFormats/SiPixelObjects/test/SiPixelFedCablingMapTestWriter.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 8 | 2016-03-25T07:17:43.000Z | 2021-07-08T17:11:21.000Z | // system include files
#include <memory>
#include <sstream>
// user include files
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h"
#include "CondFormats/SiPixelObjects/interface/SiPixe... | 31.55102 | 104 | 0.726067 | PKUfudawei |
a72c43d3547ffa42c103ce6ee51861a2fef7ebb4 | 1,521 | hpp | C++ | src/math/geometry/tetrahedron/barycentric.hpp | dmilos/math | 977cb171d8d582411cfab73a23ce85a8ccf3b132 | [
"Apache-2.0"
] | 3 | 2020-07-02T12:44:32.000Z | 2021-04-07T20:31:41.000Z | src/math/geometry/tetrahedron/barycentric.hpp | dmilos/math | 977cb171d8d582411cfab73a23ce85a8ccf3b132 | [
"Apache-2.0"
] | null | null | null | src/math/geometry/tetrahedron/barycentric.hpp | dmilos/math | 977cb171d8d582411cfab73a23ce85a8ccf3b132 | [
"Apache-2.0"
] | 1 | 2020-09-04T11:01:28.000Z | 2020-09-04T11:01:28.000Z | #ifndef math_geometry_tetrahedron_barycentric_hpp_
#define math_geometry_tetrahedron_barycentric_hpp_
// ::math::geometry::tetrahedron::barycentric( result, point, triangle )
#include "./structure.hpp"
#include "./volume.hpp"
#include "../../linear/vector/subtraction.hpp"
namespace math
{
... | 28.698113 | 110 | 0.56739 | dmilos |
a72d02da1058ef130aee441bc9e6adace35f6030 | 456 | cpp | C++ | 官方代码/CPPV4例题_Windows/Chapter6/6_3/Point.cpp | LearnAndRecord-Ang/cpp-re-learn | 67f28abc9f4dd2b7a53d0138e689778d1d70aeb2 | [
"MIT"
] | 1 | 2021-01-22T14:15:06.000Z | 2021-01-22T14:15:06.000Z | 官方代码/CPPV4例题_Windows/Chapter6/6_3/Point.cpp | LearnAndRecord-Ang/cpp-re-learn | 67f28abc9f4dd2b7a53d0138e689778d1d70aeb2 | [
"MIT"
] | null | null | null | 官方代码/CPPV4例题_Windows/Chapter6/6_3/Point.cpp | LearnAndRecord-Ang/cpp-re-learn | 67f28abc9f4dd2b7a53d0138e689778d1d70aeb2 | [
"MIT"
] | null | null | null | //Point.cpp
#include <iostream>
#include "Point.h"
using namespace std;
Point::Point() {
x = y = 0;
cout << "Default Constructor called." << endl;
}
Point::Point(int x, int y) : x(x), y(y) {
cout << "Constructor called." << endl;
}
Point::~Point() {
cout << "Destructor called." << endl;
}
void... | 19 | 73 | 0.54386 | LearnAndRecord-Ang |
a72dcf3a265ee3e05d6084b7e814a855cb58a316 | 2,048 | cpp | C++ | sources/hooks/engine/enginevgui.cpp | vocweb/cso2-launcher | abc144acaa3dfb5b0c9acd61cd75970cac012617 | [
"MIT"
] | 55 | 2018-09-01T17:52:17.000Z | 2019-09-23T10:30:49.000Z | sources/hooks/engine/enginevgui.cpp | RedheatWei/cso2-launcher | 4cebbb98d51d33bd24c9a86a1d3fc311686d5011 | [
"MIT"
] | 70 | 2018-08-22T05:53:34.000Z | 2019-09-23T15:11:39.000Z | sources/hooks/engine/enginevgui.cpp | RedheatWei/cso2-launcher | 4cebbb98d51d33bd24c9a86a1d3fc311686d5011 | [
"MIT"
] | 39 | 2018-09-01T21:42:50.000Z | 2019-09-23T18:38:07.000Z | #include "hooks.hpp"
#include "platform.hpp"
#include "source/tierlibs.hpp"
#include "utilities.hpp"
#include "utilities/log.hpp"
#include <gameui/igameconsole.hpp>
#include <ienginevgui.hpp>
#include <tier1/convar.hpp>
extern uintptr_t g_dwEngineBase;
void SetStaticGameConsole( void* newConsole )
{
void** addr ... | 22.26087 | 76 | 0.670898 | vocweb |
a72df243ff2a22b522a5d63c8c0bd192dcb57b52 | 26,727 | cc | C++ | RecoHGCal/TICL/plugins/TrackstersMergeProducer.cc | akssikdar/cmssw | 060bed0f27c94e9803b26f2f595fab5db394a6d8 | [
"Apache-2.0"
] | 2 | 2020-01-21T11:23:39.000Z | 2020-01-21T11:23:42.000Z | RecoHGCal/TICL/plugins/TrackstersMergeProducer.cc | akssikdar/cmssw | 060bed0f27c94e9803b26f2f595fab5db394a6d8 | [
"Apache-2.0"
] | null | null | null | RecoHGCal/TICL/plugins/TrackstersMergeProducer.cc | akssikdar/cmssw | 060bed0f27c94e9803b26f2f595fab5db394a6d8 | [
"Apache-2.0"
] | 3 | 2019-03-09T13:06:43.000Z | 2020-07-03T00:47:30.000Z | #include <memory> // unique_ptr
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/CaloRecHit/interface/C... | 47.220848 | 120 | 0.665956 | akssikdar |
a72edfdc0dc0345ea0c48e0e4b6389929fbc7491 | 1,680 | cc | C++ | ThirdParty/webrtc/system_wrappers/source/event.cc | dmikushin/libjingle | b9754327f3e4361cea9d27683a3b5817afb99819 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | ThirdParty/webrtc/system_wrappers/source/event.cc | dmikushin/libjingle | b9754327f3e4361cea9d27683a3b5817afb99819 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | ThirdParty/webrtc/system_wrappers/source/event.cc | dmikushin/libjingle | b9754327f3e4361cea9d27683a3b5817afb99819 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2011 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 26.666667 | 72 | 0.696429 | dmikushin |
a72f28c87a6d927dc31185484d9ac5d02b829a29 | 4,358 | cc | C++ | ddoscoo/src/model/DescribeWebRulesResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | ddoscoo/src/model/DescribeWebRulesResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | ddoscoo/src/model/DescribeWebRulesResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 1 | 2020-11-27T09:13:12.000Z | 2020-11-27T09:13:12.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 40.351852 | 105 | 0.770307 | iamzken |
a72f2b8545a1bc7978f6c070bf53492799acda79 | 8,804 | hpp | C++ | nall/http/response.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | nall/http/response.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | nall/http/response.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | #pragma once
#include <nall/http/message.hpp>
namespace nall { namespace HTTP {
struct Response : Message {
using type = Response;
Response() = default;
Response(const Request& request) { setRequest(request); }
explicit operator bool() const { return responseType() != 0; }
auto operator()(uint responseTy... | 34.124031 | 107 | 0.637097 | 13824125580 |
a73005f7357935f9b836360e2badb7faaa064c84 | 2,261 | cc | C++ | shell/browser/api/electron_api_printing.cc | lingxiao-Zhu/electron | 2d85b1f8f527d55f884904dbfdde50ee66a49830 | [
"MIT"
] | 20 | 2020-07-19T19:26:11.000Z | 2022-03-01T07:20:00.000Z | shell/browser/api/electron_api_printing.cc | lingxiao-Zhu/electron | 2d85b1f8f527d55f884904dbfdde50ee66a49830 | [
"MIT"
] | 41 | 2020-03-27T13:36:50.000Z | 2022-02-10T16:32:08.000Z | shell/browser/api/electron_api_printing.cc | lingxiao-Zhu/electron | 2d85b1f8f527d55f884904dbfdde50ee66a49830 | [
"MIT"
] | 8 | 2019-09-20T09:53:36.000Z | 2021-08-20T07:29:26.000Z | // Copyright (c) 2020 Slack Technologies, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "base/threading/thread_restrictions.h"
#include "chrome/browser/browser_process.h"
#include "gin/converter.h"
#include "printing/buildflags/buildflags.h"
#include ... | 28.2625 | 75 | 0.716939 | lingxiao-Zhu |
a7306721799f55e518e845b5162682e58e654467 | 13,180 | hpp | C++ | include/VROSC/CloudSessionsDataController.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/VROSC/CloudSessionsDataController.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/VROSC/CloudSessionsDataController.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: VROSC.SessionsDataController
#inclu... | 61.302326 | 254 | 0.754932 | RedBrumbler |
a7348e1d64745e41d8124127a9f2e0de39045442 | 2,988 | cpp | C++ | src/bin/units_access/TableScan_test.cpp | EvilMcJerkface/hyrise-v1 | d97fa0df5b9e2b9aaa78865c010e93173404086d | [
"MIT"
] | 7 | 2017-11-13T11:02:59.000Z | 2022-02-05T11:49:35.000Z | src/bin/units_access/TableScan_test.cpp | EvilMcJerkface/hyrise-v1 | d97fa0df5b9e2b9aaa78865c010e93173404086d | [
"MIT"
] | null | null | null | src/bin/units_access/TableScan_test.cpp | EvilMcJerkface/hyrise-v1 | d97fa0df5b9e2b9aaa78865c010e93173404086d | [
"MIT"
] | 6 | 2017-10-19T13:34:08.000Z | 2020-11-30T13:14:47.000Z | // Copyright (c) 2012 Hasso-Plattner-Institut fuer Softwaresystemtechnik GmbH. All rights reserved.
#include "testing/test.h"
#include "access/TableScan.h"
#include "access/expressions/pred_EqualsExpression.h"
#include "access/expressions/pred_CompoundExpression.h"
#include "io/shortcuts.h"
#include "access/Barrier.h"
... | 36 | 115 | 0.731258 | EvilMcJerkface |
a73829fe19446ffe0c45cc9d7fa403fba680855c | 2,760 | cpp | C++ | MemoryShared/ccSharedMemory.cpp | chrishoen/Dev_CCLib | fcf2179bfbe950f2ebf92f9443711660517f4393 | [
"MIT"
] | null | null | null | MemoryShared/ccSharedMemory.cpp | chrishoen/Dev_CCLib | fcf2179bfbe950f2ebf92f9443711660517f4393 | [
"MIT"
] | null | null | null | MemoryShared/ccSharedMemory.cpp | chrishoen/Dev_CCLib | fcf2179bfbe950f2ebf92f9443711660517f4393 | [
"MIT"
] | null | null | null | /*==============================================================================
Description:
==============================================================================*/
//******************************************************************************
//*************************************************************... | 28.163265 | 80 | 0.343841 | chrishoen |
a73fda15f19e9d1263342501b6c2820aab56159f | 3,978 | hpp | C++ | mapproxy/src/mapproxy/support/introspection.hpp | melowntech/vts-mapproxy | 241ba43c1f7dcc226ec0f2089d47e11c699c2587 | [
"BSD-2-Clause"
] | 13 | 2019-05-03T06:09:47.000Z | 2022-01-10T05:05:45.000Z | mapproxy/src/mapproxy/support/introspection.hpp | melowntech/vts-mapproxy | 241ba43c1f7dcc226ec0f2089d47e11c699c2587 | [
"BSD-2-Clause"
] | 10 | 2019-04-16T12:43:30.000Z | 2022-02-08T02:44:09.000Z | mapproxy/src/mapproxy/support/introspection.hpp | melowntech/vts-mapproxy | 241ba43c1f7dcc226ec0f2089d47e11c699c2587 | [
"BSD-2-Clause"
] | 4 | 2019-09-25T04:57:57.000Z | 2022-01-10T05:05:46.000Z | /**
* Copyright (c) 2017 Melown Technologies SE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 34.894737 | 78 | 0.695827 | melowntech |
a74054f4d20870b5b3441bd2d0b9d469af96c89c | 19,298 | cc | C++ | libc/winsup/utils/ldd.cc | The0x539/wasp | 5f83aab7bf0c0915b1d3491034d35b091c7aebdf | [
"MIT"
] | 4 | 2022-02-03T19:01:27.000Z | 2022-03-29T18:59:56.000Z | libc/winsup/utils/ldd.cc | The0x539/wasp | 5f83aab7bf0c0915b1d3491034d35b091c7aebdf | [
"MIT"
] | 1 | 2022-01-28T19:16:53.000Z | 2022-02-02T21:38:17.000Z | libc/winsup/utils/ldd.cc | The0x539/wasp | 5f83aab7bf0c0915b1d3491034d35b091c7aebdf | [
"MIT"
] | 1 | 2022-03-08T03:05:43.000Z | 2022-03-08T03:05:43.000Z | /* Copyright (c) 2009, 2010, 2011, 2013 Chris Faylor
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of... | 26.691563 | 141 | 0.643175 | The0x539 |
a74356c9505bc6e0cedcd98cc6b17720c590b94f | 1,425 | hpp | C++ | include/aikido/distance/detail/RnEuclidean-impl.hpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 181 | 2016-04-22T15:11:23.000Z | 2022-03-26T12:51:08.000Z | include/aikido/distance/detail/RnEuclidean-impl.hpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 514 | 2016-04-20T04:29:51.000Z | 2022-02-10T19:46:21.000Z | include/aikido/distance/detail/RnEuclidean-impl.hpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 31 | 2017-03-17T09:53:02.000Z | 2022-03-23T10:35:05.000Z | #include "aikido/distance/RnEuclidean.hpp"
namespace aikido {
namespace distance {
//==============================================================================
extern template class REuclidean<0>;
extern template class REuclidean<1>;
extern template class REuclidean<2>;
extern template class REuclidean<3>;
ex... | 27.403846 | 80 | 0.561404 | personalrobotics |
a744b78f069c3747025e1127662533fb346dd8b2 | 316 | cpp | C++ | led_controller/src/command/detect_command.cpp | tomoyuki-nakabayashi/EvdevSampleByTDD | 8c70ece56cca1a4fb940b7c321ba306ad25db5d6 | [
"MIT"
] | 1 | 2018-03-01T07:50:41.000Z | 2018-03-01T07:50:41.000Z | led_controller/src/command/detect_command.cpp | tomoyuki-nakabayashi/TDDforEmbeddedSystem | 8c70ece56cca1a4fb940b7c321ba306ad25db5d6 | [
"MIT"
] | null | null | null | led_controller/src/command/detect_command.cpp | tomoyuki-nakabayashi/TDDforEmbeddedSystem | 8c70ece56cca1a4fb940b7c321ba306ad25db5d6 | [
"MIT"
] | null | null | null | // Copyright <2018> <Tomoyuki Nakabayashi>
// This software is released under the MIT License, see LICENSE.
#include <command/command.h>
typedef struct KeyInputDetectCommandStruct {
CommandStruct command_base;
}
Command CreateKeyInputDetectCommand() {
}
void DestroyKeyInputDetectCommand(Command cmd) {
}
| 17.555556 | 64 | 0.775316 | tomoyuki-nakabayashi |
a7481677b23c1ebd8de64c4458abdfadf511d94c | 979 | cpp | C++ | src/abstract_charset_detector.cpp | fougue/cassolette | 0aa8449f5a675f7ce3c897318c4872ed104e2835 | [
"CECILL-B"
] | null | null | null | src/abstract_charset_detector.cpp | fougue/cassolette | 0aa8449f5a675f7ce3c897318c4872ed104e2835 | [
"CECILL-B"
] | null | null | null | src/abstract_charset_detector.cpp | fougue/cassolette | 0aa8449f5a675f7ce3c897318c4872ed104e2835 | [
"CECILL-B"
] | 1 | 2019-04-01T03:56:41.000Z | 2019-04-01T03:56:41.000Z | /****************************************************************************
** Cassolette
** Copyright Fougue Ltd. (15 Apr. 2014)
** contact@fougue.pro
**
** This software is a computer program whose purpose is to analyse and convert
** the encoding of text files.
**
** This software is governed by the CeCILL-B licen... | 30.59375 | 78 | 0.62002 | fougue |
a74bdbd6d7ce9f885b57abe7583c12001437a1ac | 2,942 | cpp | C++ | ThirdParty/poco/XML/src/EntityResolverImpl.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | 1 | 2021-11-29T08:30:19.000Z | 2021-11-29T08:30:19.000Z | ThirdParty/poco/XML/src/EntityResolverImpl.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | ThirdParty/poco/XML/src/EntityResolverImpl.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | 6 | 2016-06-04T08:15:01.000Z | 2022-01-17T07:54:46.000Z | //
// EntityResolverImpl.cpp
//
// $Id: //poco/1.4/XML/src/EntityResolverImpl.cpp#1 $
//
// Library: XML
// Package: SAX
// Module: SAX
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or org... | 29.128713 | 101 | 0.735214 | gregmedlock |
a74f297de30a8fe10ec7dccbc7d96fa9b730d225 | 926 | cpp | C++ | HDUOJ/5724.cpp | LzyRapx/Competitive-Programming | 6b0eea727f9a6444700a6966209397ac7011226f | [
"Apache-2.0"
] | 81 | 2018-06-03T04:27:45.000Z | 2020-09-13T09:04:12.000Z | HDUOJ/5725.cpp | Walkerlzy/Competitive-algorithm | 6b0eea727f9a6444700a6966209397ac7011226f | [
"Apache-2.0"
] | null | null | null | HDUOJ/5725.cpp | Walkerlzy/Competitive-algorithm | 6b0eea727f9a6444700a6966209397ac7011226f | [
"Apache-2.0"
] | 21 | 2018-07-11T04:02:38.000Z | 2020-07-18T20:31:14.000Z | #include<bits/stdc++.h>
#pragma comment(linker, "/STACK:102400000,102400000")
using namespace std;
int d[25],f[1050000];
int get(int x) {
int i,bo=0,w;
for (i=1;i<=20;i++)
if ((1<<i)-1==x) return 0;
memset(d,0,sizeof(d));
for (i=0;i<20;i++)
if ((1<<i)>x) break ;
else if (((1<<i)&x... | 24.368421 | 54 | 0.390929 | LzyRapx |
a7506fec30c0c89941d85e775b8127bd98ca25df | 10,066 | cpp | C++ | src/Frameworks/Gleam/Gleam_ProgramBase.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | 1 | 2020-04-06T17:35:47.000Z | 2020-04-06T17:35:47.000Z | src/Frameworks/Gleam/Gleam_ProgramBase.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | src/Frameworks/Gleam/Gleam_ProgramBase.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | /************************************************************************************
Copyright (C) 2021 by Nicholas LaCroix
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... | 41.941667 | 179 | 0.739519 | Connway |
a750ee35f89fdefba3041485e948fe46ae269a2a | 28,707 | cpp | C++ | c-src/Fl_Menu_C.cpp | ericu/fltkhs | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | [
"MIT"
] | 222 | 2015-01-11T19:01:16.000Z | 2022-03-25T14:47:26.000Z | c-src/Fl_Menu_C.cpp | ericu/fltkhs | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | [
"MIT"
] | 143 | 2015-01-13T19:08:33.000Z | 2021-10-10T20:43:46.000Z | c-src/Fl_Menu_C.cpp | ericu/fltkhs | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | [
"MIT"
] | 36 | 2015-01-14T15:30:18.000Z | 2021-08-11T13:04:28.000Z | #include "Fl_Menu_C.h"
#include "UtilsC.h"
#ifdef __cplusplus
Fl_DerivedMenu_::Fl_DerivedMenu_(int X, int Y, int W, int H, const char *l, fl_Menu__Virtual_Funcs* funcs) : Fl_Menu_(X,Y,W,H,l){
overriddenFuncs = funcs;
other_data = 0;
}
Fl_DerivedMenu_::Fl_DerivedMenu_(int X, int Y, int W, int H, fl_Menu__Virtua... | 44.576087 | 150 | 0.74299 | ericu |
a7513829348d02b5fad46484b1a70469cfd58c70 | 1,384 | cpp | C++ | skse64/skse64/PapyrusFlora.cpp | michaeljdietz/NpcVoiceActivation | df62efc5e6ed9510e4f9423561071d7119a3a44b | [
"MIT"
] | 1 | 2020-02-11T12:25:39.000Z | 2020-02-11T12:25:39.000Z | skse64/skse64/PapyrusFlora.cpp | michaeljdietz/NpcVoiceActivation | df62efc5e6ed9510e4f9423561071d7119a3a44b | [
"MIT"
] | null | null | null | skse64/skse64/PapyrusFlora.cpp | michaeljdietz/NpcVoiceActivation | df62efc5e6ed9510e4f9423561071d7119a3a44b | [
"MIT"
] | null | null | null | #include "PapyrusFlora.h"
#include "GameObjects.h"
namespace papyrusFlora
{
TESForm * GetIngredient(TESFlora* thisFlora)
{
return (thisFlora) ? thisFlora->produce.produce : NULL;
}
void SetIngredient(TESFlora* thisFlora, TESForm* ingredient)
{
if (thisFlora) {
thisFlora->produce.produce = ing... | 28.833333 | 134 | 0.736272 | michaeljdietz |
a751c551e9e6719b12a2be6e8054481ae7353db0 | 4,549 | cpp | C++ | src/mainRegular.cpp | edmBernard/bg-generation-triangle | 2ec7ab1106cbc8a375de7334ac11df2811a5061b | [
"Apache-2.0"
] | null | null | null | src/mainRegular.cpp | edmBernard/bg-generation-triangle | 2ec7ab1106cbc8a375de7334ac11df2811a5061b | [
"Apache-2.0"
] | null | null | null | src/mainRegular.cpp | edmBernard/bg-generation-triangle | 2ec7ab1106cbc8a375de7334ac11df2811a5061b | [
"Apache-2.0"
] | null | null | null | //
// https://github.com/edmBernard/bg-generation-triangle
//
// Created by Erwan BERNARD on 11/09/2021.
//
// Copyright (c) 2021 Erwan BERNARD. All rights reserved.
// Distributed under the Apache License, Version 2.0. (See accompanying
// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
//
#i... | 34.462121 | 114 | 0.619916 | edmBernard |
a751dd9ea440c62fa5c1a0dc5617b6d1085afe63 | 36,044 | cpp | C++ | src/topology/topo_manager.cpp | intel/oneccl | b7d66de16e17f88caffd7c6df4cd5e12b266af84 | [
"Apache-2.0"
] | 26 | 2019-11-18T09:45:28.000Z | 2020-03-02T17:00:24.000Z | src/topology/topo_manager.cpp | intel/oneccl | b7d66de16e17f88caffd7c6df4cd5e12b266af84 | [
"Apache-2.0"
] | 8 | 2020-02-05T20:34:23.000Z | 2020-02-21T22:26:22.000Z | src/topology/topo_manager.cpp | intel/oneccl | b7d66de16e17f88caffd7c6df4cd5e12b266af84 | [
"Apache-2.0"
] | 9 | 2019-11-21T16:58:47.000Z | 2020-02-26T15:40:04.000Z | /*
Copyright 2016-2020 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | 37.467775 | 103 | 0.57538 | intel |
a752e0e386e57861dca915d0cd8b218b905852ce | 5,484 | cc | C++ | code/application/graphicsfeature/animpath/streampathanimationloader.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/application/graphicsfeature/animpath/streampathanimationloader.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/application/graphicsfeature/animpath/streampathanimationloader.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// animpathstreamloader.cc
// (C) 2015-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "streampathanimationloader.h"
#include "i... | 28.5625 | 102 | 0.603027 | gscept |
a75486953f24f09666c664abe821dd12f3f31c10 | 3,689 | cpp | C++ | library/base/win/windows_version.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 39 | 2019-06-22T12:25:54.000Z | 2022-03-14T05:42:44.000Z | library/base/win/windows_version.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 5 | 2019-06-29T10:58:43.000Z | 2020-09-04T08:44:09.000Z | library/base/win/windows_version.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 10 | 2019-08-07T06:08:23.000Z | 2022-03-14T05:42:47.000Z |
#include "windows_version.h"
#include <windows.h>
namespace base
{
namespace win
{
// static
OSInfo* OSInfo::GetInstance()
{
// Note: we don't use the Singleton class because it depends on AtExitManager,
// and it's convenient for other modules t... | 36.524752 | 91 | 0.542423 | topillar |
a756362a94c54762e781f067c9cb8724879a8ccb | 5,798 | cpp | C++ | Lib/v3d/instr/Encode.cpp | Freddan-67/V3DLib | dcefc24a9a399ee1f5d1aa5529f44d9fd2486929 | [
"MIT"
] | 44 | 2021-01-16T14:17:15.000Z | 2022-03-11T19:53:59.000Z | Lib/v3d/instr/Encode.cpp | RcCreeperTech/V3DLib | 38eb8d55b8276de5cf703d8e13fb9b5f220c49f0 | [
"MIT"
] | 8 | 2021-01-16T17:52:02.000Z | 2021-12-18T22:38:00.000Z | Lib/v3d/instr/Encode.cpp | RcCreeperTech/V3DLib | 38eb8d55b8276de5cf703d8e13fb9b5f220c49f0 | [
"MIT"
] | 7 | 2021-01-16T14:25:47.000Z | 2022-02-03T16:34:45.000Z | #include "Encode.h"
#include "Support/Exception.h"
#include "Mnemonics.h"
namespace V3DLib {
namespace v3d {
namespace instr {
namespace {
uint8_t const NOP_ADDR = 39;
uint8_t const REGB_OFFSET = 32;
uint8_t const NUM_REGS_RF = 64; // Number of available registers in the register file
std::unique_ptr<Location> ... | 25.318777 | 129 | 0.608141 | Freddan-67 |
a7566a7308d391a1c87a7b40e08573bcde9d05f8 | 3,673 | cpp | C++ | gazebo/gui/qgv/private/QGVCore.cpp | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 887 | 2020-04-18T08:43:06.000Z | 2022-03-31T11:58:50.000Z | gazebo/gui/qgv/private/QGVCore.cpp | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 462 | 2020-04-21T21:59:19.000Z | 2022-03-31T23:23:21.000Z | gazebo/gui/qgv/private/QGVCore.cpp | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 421 | 2020-04-21T09:13:03.000Z | 2022-03-30T02:22:01.000Z | /***************************************************************
QGVCore
Copyright (c) 2014, Bergont Nicolas, All rights reserved.
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 Foundation; either
versio... | 27.007353 | 78 | 0.648244 | traversaro |
a7578a217caa14249132a86dc2833c61bd29be13 | 2,054 | hpp | C++ | deps/boost-1.47.0/boost/thread/win32/interlocked_read.hpp | basho-labs/riak-cxx-client | 88f7196f8c30f35ec784c6e051e82082927acc77 | [
"Apache-2.0"
] | 8 | 2015-11-05T15:28:34.000Z | 2021-08-03T10:23:07.000Z | deps/boost-1.47.0/boost/thread/win32/interlocked_read.hpp | basho-labs/riak-cxx-client | 88f7196f8c30f35ec784c6e051e82082927acc77 | [
"Apache-2.0"
] | 3 | 2015-03-31T12:26:25.000Z | 2015-04-15T10:50:18.000Z | deps/boost-1.47.0/boost/thread/win32/interlocked_read.hpp | basho-labs/riak-cxx-client | 88f7196f8c30f35ec784c6e051e82082927acc77 | [
"Apache-2.0"
] | 3 | 2017-05-01T01:21:48.000Z | 2020-10-20T13:13:40.000Z | #ifndef BOOST_THREAD_DETAIL_INTERLOCKED_READ_WIN32_HPP
#define BOOST_THREAD_DETAIL_INTERLOCKED_READ_WIN32_HPP
// interlocked_read_win32.hpp
//
// (C) Copyright 2005-8 Anthony Williams
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://w... | 26 | 76 | 0.641675 | basho-labs |
a757f14f341f6fdbfe63b1cec146d71a50260039 | 28,925 | cpp | C++ | Meteor/Source/Graphics/D3D12/D3D12Renderer.cpp | 96aman96/Meteor | 17e7fdc91244cf952b2db40de97f7b05f12f22e0 | [
"MIT"
] | null | null | null | Meteor/Source/Graphics/D3D12/D3D12Renderer.cpp | 96aman96/Meteor | 17e7fdc91244cf952b2db40de97f7b05f12f22e0 | [
"MIT"
] | null | null | null | Meteor/Source/Graphics/D3D12/D3D12Renderer.cpp | 96aman96/Meteor | 17e7fdc91244cf952b2db40de97f7b05f12f22e0 | [
"MIT"
] | null | null | null | #include "acpch.h"
#if defined(AC_D3D12) && defined(PLATFORM_WINDOWS)
#include "D3D12Renderer.h"
#include <Engine/Core/EngineContext.h>
#include <Engine/Object/Entity/Entity.h>
#include <Extern/Graphics/D3D12/D3DX12/d3dx12.h>
#include <Framework/AppContext.h>
#include <Framework/Math/MathHelper.h>
#include <Graphic... | 45.266041 | 325 | 0.699464 | 96aman96 |
a759594cfa7e7ef72ae27434a3b5f81d10d952ec | 7,657 | cpp | C++ | tests/validation/reference/ColorConvert.cpp | alexjung/ComputeLibrary | a9d47c17791ebce45427ea6331bd6e35f7d721f4 | [
"MIT"
] | 2 | 2019-12-16T12:38:01.000Z | 2019-12-16T12:38:03.000Z | tests/validation/reference/ColorConvert.cpp | Sinus1979/ComputeLibrary | 0e205f7e1083bf26e6ffc33d96005999b541b8f9 | [
"MIT"
] | null | null | null | tests/validation/reference/ColorConvert.cpp | Sinus1979/ComputeLibrary | 0e205f7e1083bf26e6ffc33d96005999b541b8f9 | [
"MIT"
] | 2 | 2019-11-12T04:42:15.000Z | 2021-06-16T02:33:36.000Z | /*
* Copyright (c) 2017-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* 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
* ri... | 35.780374 | 179 | 0.577511 | alexjung |
a75aba3a5f911bd9b1f8f7022558086553f74d6f | 4,067 | hpp | C++ | bitlinuxosnetworkclass/lesson35/httpServer.hpp | DanteIoVeYou/Linux_Study | 701a54caad3d65c511716111430ca08ada78f088 | [
"MIT"
] | null | null | null | bitlinuxosnetworkclass/lesson35/httpServer.hpp | DanteIoVeYou/Linux_Study | 701a54caad3d65c511716111430ca08ada78f088 | [
"MIT"
] | null | null | null | bitlinuxosnetworkclass/lesson35/httpServer.hpp | DanteIoVeYou/Linux_Study | 701a54caad3d65c511716111430ca08ada78f088 | [
"MIT"
] | null | null | null | #include <iostream>
#include <pthread.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string>
#include <fstream>
#include <cstring>
#define SRC_PATH "wwwroot/index.html"
#define NOTFOUND "wwwroot/13-404-rolling-box.html"
namespace srv
{
... | 30.578947 | 97 | 0.405704 | DanteIoVeYou |
a75bc89b492a8b52cfbcb288a5846458f4e3c767 | 2,681 | cpp | C++ | test/mptutorial.cpp | ebayboy/mathpresso | 66b21882bcb74a1d37c8010d920b45a1c93b822d | [
"Zlib"
] | null | null | null | test/mptutorial.cpp | ebayboy/mathpresso | 66b21882bcb74a1d37c8010d920b45a1c93b822d | [
"Zlib"
] | null | null | null | test/mptutorial.cpp | ebayboy/mathpresso | 66b21882bcb74a1d37c8010d920b45a1c93b822d | [
"Zlib"
] | null | null | null | // [MathPresso]
// Mathematical Expression Parser and JIT Compiler.
//
// [License]
// Zlib - See LICENSE.md file in the package.
// This is a minimum working example that uses most of MathPresso features. It
// shows how to compile and evaluate expressions and how to handle errors. It
// also shows how to print the g... | 30.465909 | 113 | 0.659455 | ebayboy |
a75e194f8986210cb18fba773c0624c5d0e6922f | 13,685 | cpp | C++ | HiveCore/src/Buffer/BufferSparseVolumeData.cpp | digirea/HIVE | 8896b0cc858c1ad0683888b925f71c0f0d71bf9d | [
"MIT"
] | null | null | null | HiveCore/src/Buffer/BufferSparseVolumeData.cpp | digirea/HIVE | 8896b0cc858c1ad0683888b925f71c0f0d71bf9d | [
"MIT"
] | null | null | null | HiveCore/src/Buffer/BufferSparseVolumeData.cpp | digirea/HIVE | 8896b0cc858c1ad0683888b925f71c0f0d71bf9d | [
"MIT"
] | null | null | null | /**
* @file BufferSparseVolumeData.cpp
* BufferSparseVolumeDataクラス
*/
#include "BufferSparseVolumeData.h"
#include "Buffer.h"
#include "BufferVolumeData.h"
// Use SparseVolume feature from SURFACE to provide Sample() function
#include "render_bvh_tree.h"
#include <limits>
#include <cstring>
/**
* BufferSparseVol... | 26.886051 | 156 | 0.581878 | digirea |
a75e71cb4b93e213d4c344d8fd406878e597e8f0 | 5,438 | cc | C++ | content/renderer/media/crypto/proxy_decryptor.cc | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 4 | 2017-04-05T01:51:34.000Z | 2018-02-15T03:11:54.000Z | content/renderer/media/crypto/proxy_decryptor.cc | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | content/renderer/media/crypto/proxy_decryptor.cc | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 4 | 2017-04-05T01:52:03.000Z | 2022-02-13T17:58:45.000Z | // Copyright 2013 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/renderer/media/crypto/proxy_decryptor.h"
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/logging.h"
#include "... | 33.361963 | 80 | 0.705406 | cvsuser-chromium |
a7653b6352f483747a9ae28ed0ac5b368f4ec9e5 | 1,109 | cc | C++ | src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/test/stub_device.cc | gnoliyil/fuchsia | a98c2d6ae44b7c485c2ee55855d0441da422f4cf | [
"BSD-2-Clause"
] | 4 | 2020-02-23T09:02:06.000Z | 2022-01-08T17:06:28.000Z | src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/test/stub_device.cc | gnoliyil/fuchsia | a98c2d6ae44b7c485c2ee55855d0441da422f4cf | [
"BSD-2-Clause"
] | null | null | null | src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/test/stub_device.cc | gnoliyil/fuchsia | a98c2d6ae44b7c485c2ee55855d0441da422f4cf | [
"BSD-2-Clause"
] | 1 | 2021-08-23T11:33:57.000Z | 2021-08-23T11:33:57.000Z | // Copyright 2020 The Fuchsia 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 "src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/test/stub_device.h"
#include <zircon/types.h>
#include <ddktl/init-txn.h>
namespace w... | 28.435897 | 100 | 0.770965 | gnoliyil |
a767b771c1dfaa7ef81974eddf888d40ad2cfef3 | 24,179 | cc | C++ | src/elf/elf-file.cc | yanz08/rv8-wezh | bdf11993dfaff208bc4b3d451c534231037ac80e | [
"MIT"
] | 463 | 2017-05-11T05:18:51.000Z | 2021-01-29T05:18:41.000Z | src/elf/elf-file.cc | michaeljclark/riscv-mc | 834259098a5c182874aac97d82a164d144244e1a | [
"MIT"
] | 25 | 2017-05-11T07:57:48.000Z | 2020-07-01T04:04:36.000Z | src/elf/elf-file.cc | michaeljclark/riscv-mc | 834259098a5c182874aac97d82a164d144244e1a | [
"MIT"
] | 62 | 2017-06-02T01:07:33.000Z | 2020-11-12T18:58:07.000Z | //
// elf-file.cc
//
#include <cstdio>
#include <cstdint>
#include <cstring>
#include <cerrno>
#include <cassert>
#include <string>
#include <vector>
#include <map>
#include <functional>
#include <sys/stat.h>
#include "elf.h"
#include "elf-file.h"
#include "elf-format.h"
#include "util.h"
elf_file::elf_file() {}
... | 29.740467 | 99 | 0.664502 | yanz08 |
a76950589756e169160819221565bf4946249c67 | 640 | cpp | C++ | gym/102302/F.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | 1 | 2021-07-16T19:59:39.000Z | 2021-07-16T19:59:39.000Z | gym/102302/F.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | gym/102302/F.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#ifdef DGC
#include "debug.h"
#else
#define debug(...)
#endif
typedef long long ll;
typedef long double ld;
typedef complex<ld> point;
#define F first
#define S second
int main()
{
#ifdef DGC
//freopen("a.txt", "r", stdin);
//freopen("b.txt", "w", stdout);
#endif... | 14.883721 | 42 | 0.579688 | albexl |
a76978088c3210a9ac82d152ff020d12f0e9ff87 | 1,484 | cpp | C++ | src/qqrl.cpp | mganger/quantum-multiple-q-learning | 08d6c010cd9082b58f79bdc2da45a1cd6d1f512f | [
"MIT"
] | 1 | 2019-12-27T20:59:00.000Z | 2019-12-27T20:59:00.000Z | src/qqrl.cpp | mganger/quantum-multiple-q-learning | 08d6c010cd9082b58f79bdc2da45a1cd6d1f512f | [
"MIT"
] | null | null | null | src/qqrl.cpp | mganger/quantum-multiple-q-learning | 08d6c010cd9082b58f79bdc2da45a1cd6d1f512f | [
"MIT"
] | null | null | null | #include "algorithm.h"
#include "linalg.h"
#include <ostream>
struct qqrl : public algorithm {
matrix Q, p;
qqrl(Environment env, Parameters par_) :
algorithm{env,par_},
Q{make_matrix(env.Ns,env.Na,0.0)},
p{make_matrix(env.Ns, env.Na, 1.0/sqrt(env.Na))}
{}
void episode() override {
for(state_t s = 0; s <... | 26.035088 | 92 | 0.580189 | mganger |
a769ad09d2c7dd0f39d088e174189c89f8557f12 | 1,163 | hpp | C++ | include/tao/config/internal/array.hpp | Bjoe/config | 3ad1c27d9994ac6910ffc52ac0dc95f91c55e87c | [
"MIT"
] | 122 | 2018-10-29T17:56:12.000Z | 2022-03-30T20:43:30.000Z | include/tao/config/internal/array.hpp | Bjoe/config | 3ad1c27d9994ac6910ffc52ac0dc95f91c55e87c | [
"MIT"
] | 5 | 2020-03-10T13:13:57.000Z | 2022-03-10T11:50:03.000Z | include/tao/config/internal/array.hpp | Bjoe/config | 3ad1c27d9994ac6910ffc52ac0dc95f91c55e87c | [
"MIT"
] | 14 | 2019-02-11T17:18:00.000Z | 2022-02-02T00:47:38.000Z | // Copyright (c) 2019-2021 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/config/
#ifndef TAO_CONFIG_INTERNAL_ARRAY_HPP
#define TAO_CONFIG_INTERNAL_ARRAY_HPP
#include <iterator>
#include <list>
#include "forward.hpp"
#include "pegtl.hpp"
namespace tao::config::... | 22.803922 | 76 | 0.631986 | Bjoe |
a76c9feecdfd5601400fe16ba24ff05be6f1c0cf | 1,097 | cpp | C++ | unit_tests/test_board.cpp | julienlopez/Aronda | 8fb6625bc037736dc2926f97f46a59441d7dc221 | [
"MIT"
] | null | null | null | unit_tests/test_board.cpp | julienlopez/Aronda | 8fb6625bc037736dc2926f97f46a59441d7dc221 | [
"MIT"
] | 4 | 2018-02-21T15:38:56.000Z | 2019-04-03T07:57:22.000Z | unit_tests/test_board.cpp | julienlopez/Aronda | 8fb6625bc037736dc2926f97f46a59441d7dc221 | [
"MIT"
] | null | null | null | #include <catch.hpp>
#include "board.hpp"
#include <numeric_range.hpp>
#include <boost/optional/optional_io.hpp>
using Aronda::Board;
TEST_CASE("Testing basic board properties", "[board]")
{
SECTION("Clean Board Properties")
{
Board g;
for(const auto square_index : range(Aronda::c_number_of... | 28.128205 | 92 | 0.546035 | julienlopez |
a76d55a57944e2871167728373832d16b1615219 | 2,940 | cc | C++ | py_envoy_mobile/wrapper/py_envoy_engine.cc | crockeo/py-envoy-mobile | 38a716e145544269eabb4feded05566f928da973 | [
"Apache-2.0"
] | 2 | 2020-11-10T01:44:08.000Z | 2020-12-10T23:59:47.000Z | py_envoy_mobile/wrapper/py_envoy_engine.cc | crockeo/py-envoy-mobile | 38a716e145544269eabb4feded05566f928da973 | [
"Apache-2.0"
] | null | null | null | py_envoy_mobile/wrapper/py_envoy_engine.cc | crockeo/py-envoy-mobile | 38a716e145544269eabb4feded05566f928da973 | [
"Apache-2.0"
] | null | null | null | #include "py_envoy_engine.h"
#include <chrono>
#include <iostream>
#include <optional>
#include <thread>
#include "library/common/main_interface.h"
static void py_dispatch_on_engine_running(void *context) {
EngineCallbacks *callbacks = static_cast<EngineCallbacks *>(context);
callbacks->executor.execute([=]() {... | 28.543689 | 109 | 0.721429 | crockeo |
a76ecb6588d61d562b53f2b3fcb36cdcdee973e6 | 914 | cpp | C++ | LeetCode Problem-Set/10. Regular Expression Matching (Hard)/Solution2.cpp | ankuralld5999/LeetCode-Problems | 2f9a767a0effbb2a50672e102925fbbb65034083 | [
"FSFAP"
] | 2 | 2021-01-06T20:43:59.000Z | 2021-01-11T15:42:59.000Z | LeetCode Problem-Set/10. Regular Expression Matching (Hard)/Solution2.cpp | ankuralld5999/LeetCode-Problems | 2f9a767a0effbb2a50672e102925fbbb65034083 | [
"FSFAP"
] | null | null | null | LeetCode Problem-Set/10. Regular Expression Matching (Hard)/Solution2.cpp | ankuralld5999/LeetCode-Problems | 2f9a767a0effbb2a50672e102925fbbb65034083 | [
"FSFAP"
] | null | null | null | // Problem: https://leetcode.com/problems/regular-expression-matching/
// Author: github.com/ankuralld5999
// Time: O(MN)
// Space: O(N)
class Solution {
int M, N;
bool dfs(string &s, string &p, int i, int j) {
while (i < M && j < N) {
if (j + 1 < N && p[j + 1] == '*') {
if (... | 28.5625 | 70 | 0.365427 | ankuralld5999 |
a7739168fe0c2c7bdc487edfe689c396f21ec10b | 7,649 | hpp | C++ | src/lib/include/black/logic/lex.hpp | lucageatti/BLACK | 58fe4b99e8f8eda955807760f3515e3ca0478d39 | [
"MIT"
] | null | null | null | src/lib/include/black/logic/lex.hpp | lucageatti/BLACK | 58fe4b99e8f8eda955807760f3515e3ca0478d39 | [
"MIT"
] | 1 | 2019-06-11T16:57:49.000Z | 2019-06-11T17:10:41.000Z | src/lib/include/black/logic/lex.hpp | lucageatti/BLACK | 58fe4b99e8f8eda955807760f3515e3ca0478d39 | [
"MIT"
] | null | null | null | //
// BLACK - Bounded Ltl sAtisfiability ChecKer
//
// (C) 2019 Nicola Gigante
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the righ... | 28.541045 | 80 | 0.581906 | lucageatti |
a774919efb844f9aab87039c734c1e702e1d388b | 13,517 | cpp | C++ | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/USB CDC Control sample/C++/Scenario1_Initialize.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 2 | 2022-01-21T01:40:58.000Z | 2022-01-21T01:41:10.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/USB CDC Control sample/C++/Scenario1_Initialize.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 1 | 2022-03-15T04:21:41.000Z | 2022-03-15T04:21:41.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/USB CDC Control sample/C++/Scenario1_Initialize.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | null | null | null | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
//*********************************************************
//
// Scenario1_Initialize.xaml.cpp
// Implementation of the CdcAcmInitialize class.
//
#include "pch.h"
#include "Scenario1_Initialize.xaml.h... | 39.408163 | 170 | 0.60472 | zzgchina888 |
a775ecdd13b97746e7f49d2facf09ca4773d1524 | 912 | hpp | C++ | vendor/m2sdk/include/classes/CPlayerRadio.hpp | m2ncrp/m2o-reborn | 4af7edfec2e450112943f69926f4a394d5868ea6 | [
"Apache-2.0"
] | 34 | 2018-10-08T08:56:24.000Z | 2021-06-13T14:45:59.000Z | vendor/m2sdk/include/classes/CPlayerRadio.hpp | m2ncrp/m2o-reborn | 4af7edfec2e450112943f69926f4a394d5868ea6 | [
"Apache-2.0"
] | 4 | 2018-10-14T08:03:22.000Z | 2020-12-18T14:03:55.000Z | vendor/m2sdk/include/classes/CPlayerRadio.hpp | m2ncrp/m2o-reborn | 4af7edfec2e450112943f69926f4a394d5868ea6 | [
"Apache-2.0"
] | 15 | 2018-10-08T08:56:28.000Z | 2021-07-30T04:48:27.000Z | /** @file CPlayerRadio.cpp
* @brief Game's radio wrapper
*
*
* @author Tyldar (darreugne@gmail.com)
*/
#pragma once
namespace M2
{
class ICPlayerRadio
{
public:
};
class C_PlayerRadio : public GameClassWrapper<C_PlayerRadio, ICPlayerRadio, 0x1AB5A54>
{
public:
void Activate(const void *unk)
{
Mem::I... | 17.538462 | 87 | 0.677632 | m2ncrp |
a7766335670c14e24e0df17074ab53e53ed6f851 | 620 | cpp | C++ | 5704.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 5704.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 5704.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <memory.h>
using namespace std;
int main() {
while(1) {
string str;
getline(cin, str);
if(str=="*") return 0;
bool alpha[26];
memset(alpha, false, sizeof(alpha));
for(int i=0;i<str.size();i++) { //사용한 알파벳 표시
... | 21.37931 | 52 | 0.424194 | jaemin2682 |
a777929ba0b8e16e13a1528f429b22f9f8fc8970 | 435 | cpp | C++ | estudo de POO com C/Pessoa.cpp | W8jonas/estudos | b8f07bfd1890d94ff74c77adba1e033b4f0edd54 | [
"MIT"
] | 11 | 2021-01-26T03:13:16.000Z | 2021-08-14T01:28:07.000Z | estudo de POO com C/Pessoa.cpp | W8jonas/estudos | b8f07bfd1890d94ff74c77adba1e033b4f0edd54 | [
"MIT"
] | 4 | 2021-01-26T07:27:37.000Z | 2021-01-26T07:31:18.000Z | estudo de POO com C/Pessoa.cpp | W8jonas/estudos | b8f07bfd1890d94ff74c77adba1e033b4f0edd54 | [
"MIT"
] | null | null | null | #include "Pessoa.h"
#include <iostream>
using namespace std;
Pessoa::Pessoa() {
cout << "Pessoa criada\n";
}
Pessoa::Pessoa(int idade, float peso, float altura) {
this->idade = idade;
this->peso = peso;
this->altura = altura;
cout << "Pessoa criada com: \n";
cout << "idade: " << idade << "\n";
cout << "peso:... | 18.125 | 53 | 0.583908 | W8jonas |
a779829ebce735f225d15baf33a2b25369e19297 | 588 | cpp | C++ | apps/3d/euler/lib/SourceTermFunc.cpp | dcseal/finess | 766e583ae9e84480640c7c3b3c157bf40ab87fe4 | [
"BSD-3-Clause"
] | null | null | null | apps/3d/euler/lib/SourceTermFunc.cpp | dcseal/finess | 766e583ae9e84480640c7c3b3c157bf40ab87fe4 | [
"BSD-3-Clause"
] | null | null | null | apps/3d/euler/lib/SourceTermFunc.cpp | dcseal/finess | 766e583ae9e84480640c7c3b3c157bf40ab87fe4 | [
"BSD-3-Clause"
] | null | null | null | #include "dogdefs.h"
// This is a user-supplied routine that sets the
// source term at all the points "xpts"
void SourceTermFunc(const dTensor2& xpts,
const dTensor2& qvals,
const dTensor2& auxvals,
dTensor2& source)
{
const int numpts=xpts.getsize(1);
const int meqn=source.getsize... | 22.615385 | 48 | 0.556122 | dcseal |
a77a4b71fce9fa3ea0e4b1d5ce58413c3ec28f94 | 6,853 | hpp | C++ | perception/mil_vision/include/mil_vision_lib/image_acquisition/camera_frame.hpp | marcgabe15/mil_common | 75fd308365f4b2754874add917e0a0151b39b924 | [
"MIT"
] | 27 | 2020-02-17T21:54:09.000Z | 2022-03-18T17:49:23.000Z | perception/mil_vision/include/mil_vision_lib/image_acquisition/camera_frame.hpp | marcgabe15/mil_common | 75fd308365f4b2754874add917e0a0151b39b924 | [
"MIT"
] | 325 | 2019-09-11T14:13:56.000Z | 2022-03-31T00:38:30.000Z | perception/mil_vision/include/mil_vision_lib/image_acquisition/camera_frame.hpp | marcgabe15/mil_common | 75fd308365f4b2754874add917e0a0151b39b924 | [
"MIT"
] | 24 | 2019-09-16T00:29:45.000Z | 2022-03-06T10:56:38.000Z | #pragma once
// #include <mil_vision_lib/image_acquisition/camera_model.hpp>
#include <cv_bridge/cv_bridge.h>
#include <image_geometry/pinhole_camera_model.h>
#include <ros/ros.h>
#include <opencv2/core/core.hpp>
#include <exception>
#include <memory>
#include <string>
namespace mil_vision
{
enum class PixelType
{
... | 31.292237 | 115 | 0.571283 | marcgabe15 |
a77c4af45fc9ae5c882f3441fbf4dae72123db28 | 280 | cpp | C++ | C++ Programs/StrongNeighbour6.cpp | manish-ai/hacktoberfest-2021 | 07bbcb7890e0a48ef19f04daab466ef47b08a30f | [
"MIT"
] | 21 | 2021-10-01T01:52:56.000Z | 2021-11-08T13:01:26.000Z | C++ Programs/StrongNeighbour6.cpp | manish-ai/hacktoberfest-2021 | 07bbcb7890e0a48ef19f04daab466ef47b08a30f | [
"MIT"
] | 30 | 2021-09-30T18:28:07.000Z | 2021-10-03T05:23:45.000Z | C++ Programs/StrongNeighbour6.cpp | manish-ai/hacktoberfest-2021 | 07bbcb7890e0a48ef19f04daab466ef47b08a30f | [
"MIT"
] | 71 | 2021-09-30T17:32:43.000Z | 2021-10-21T05:26:51.000Z | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main(){
int i,j;
int arr[] ={1,2,2,3,4,5};
int n = sizeof(arr)/sizeof(arr[0]);
for(i = 0 ; i <n-1 ; i++){
cout << max(arr[i], arr[i+1]) << " ";
}
return 0;
} | 20 | 54 | 0.453571 | manish-ai |
a77ea24798a1d24cbb90af836a74e96d45c46c74 | 2,289 | cc | C++ | third_party/webrtc/src/chromium/src/third_party/crashpad/crashpad/snapshot/win/cpu_context_win.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/chromium/src/third_party/crashpad/crashpad/snapshot/win/cpu_context_win.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/chromium/src/third_party/crashpad/crashpad/snapshot/win/cpu_context_win.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | // Copyright 2015 The Crashpad 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 ... | 29.346154 | 77 | 0.699869 | bopopescu |
a7828fceb51ab95bf02fbec19ecb6aa9b8faeff6 | 7,186 | cpp | C++ | ui/MainWindow.cpp | seldon1000/fairwindplusplus | 26cf18e0ecf49c642e24cc504d56722eaddd1399 | [
"Apache-2.0"
] | null | null | null | ui/MainWindow.cpp | seldon1000/fairwindplusplus | 26cf18e0ecf49c642e24cc504d56722eaddd1399 | [
"Apache-2.0"
] | null | null | null | ui/MainWindow.cpp | seldon1000/fairwindplusplus | 26cf18e0ecf49c642e24cc504d56722eaddd1399 | [
"Apache-2.0"
] | null | null | null | //
// Created by Raffaele Montella on 21/03/21.
//
#include <QTimer>
#include <QToolButton>
#include <FairWindSdk/FairWind.hpp>
#include <FairWindSdk/FairWindApp.hpp>
#include <FairWindSdk/IFairWindLauncher.hpp>
#include "MainWindow.hpp"
#include "ui/topbar/TopBar.hpp"
#include "ui/bottombar/BottomBar.hpp"
#include... | 28.975806 | 113 | 0.674506 | seldon1000 |
a782e1f274447aed35cbcbdfa7473def11d5d248 | 7,715 | cpp | C++ | src/holosuite-lib/holocodec/HoloCodecOpus.cpp | itsermo/holosuite | 16659efec910a4050ddd6548b1310e3ed09636e0 | [
"BSD-3-Clause"
] | null | null | null | src/holosuite-lib/holocodec/HoloCodecOpus.cpp | itsermo/holosuite | 16659efec910a4050ddd6548b1310e3ed09636e0 | [
"BSD-3-Clause"
] | null | null | null | src/holosuite-lib/holocodec/HoloCodecOpus.cpp | itsermo/holosuite | 16659efec910a4050ddd6548b1310e3ed09636e0 | [
"BSD-3-Clause"
] | null | null | null | #ifdef ENABLE_HOLO_AUDIO
#include "HoloCodecOpus.hpp"
using namespace holo;
using namespace holo::codec;
HoloCodecOpus::HoloCodecOpus() : IHoloCodec<std::vector<unsigned char>>(),
isInit_(false),
audioFormat_(),
bitRate_(HOLO_AUDIO_DEFAULT_ENCODE_BITRATE),
audioEncoder_(nullptr),
audioDecoder_(nullptr)
{
logger... | 35.552995 | 145 | 0.744135 | itsermo |
a7889adcc741911ff64ab990ad7daa5f48f8484c | 173 | cpp | C++ | Others/WILLITST.cpp | ujjwalgulecha/Coding | d04c19d8f673749a00c85cd5e8935960fb7e8b16 | [
"MIT"
] | null | null | null | Others/WILLITST.cpp | ujjwalgulecha/Coding | d04c19d8f673749a00c85cd5e8935960fb7e8b16 | [
"MIT"
] | 1 | 2018-02-14T16:00:44.000Z | 2021-10-17T16:32:50.000Z | Others/WILLITST.cpp | ujjwalgulecha/Coding | d04c19d8f673749a00c85cd5e8935960fb7e8b16 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long int x;
cin>>x;
if(!(x&(x-1)))
cout<<"TAK\n";
else
cout<<"NIE\n";
return 0;
}
| 13.307692 | 23 | 0.508671 | ujjwalgulecha |
a788ff23f1492ec3d5c25798de4e4945e49c80ac | 3,101 | cpp | C++ | src/modules/ieee1394/dvinfo.cpp | ivanmurashko/kalinka | 58a3f774c414dfc408aa06f560dde455c2271c6b | [
"MIT"
] | null | null | null | src/modules/ieee1394/dvinfo.cpp | ivanmurashko/kalinka | 58a3f774c414dfc408aa06f560dde455c2271c6b | [
"MIT"
] | null | null | null | src/modules/ieee1394/dvinfo.cpp | ivanmurashko/kalinka | 58a3f774c414dfc408aa06f560dde455c2271c6b | [
"MIT"
] | null | null | null | /**
@file dvinfo.cpp
@brief This file is part of Kalinka mediaserver.
@author Ivan Murashko <ivan.murashko@gmail.com>
Copyright (c) 2007-2012 Kalinka Team
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Softwar... | 27.201754 | 74 | 0.712028 | ivanmurashko |
a78b3abce412a01314346100334571834128818b | 1,610 | cpp | C++ | LeetCode/ThousandOne/0446-arithmetic_subseq.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0446-arithmetic_subseq.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0446-arithmetic_subseq.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | #include "leetcode.hpp"
/* 446. 等差数列划分 II - 子序列
如果一个数列至少有三个元素,并且任意两个相邻元素之差相同,则称该数列为等差数列。
例如,以下数列为等差数列:
1, 3, 5, 7, 9
7, 7, 7, 7
3, -1, -5, -9
以下数列不是等差数列。
1, 1, 2, 5, 7
数组 A 包含 N 个数,且索引从 0 开始。该数组子序列将划分为整数序列 (P0, P1, ..., Pk),P 与 Q 是整数且满足 0 ≤ P0 < P1 < ... < Pk < N。
如果序列 A[P0],A[P1],...,A[Pk-1],A[Pk] 是等差的,那么数组 A 的子序... | 26.393443 | 412 | 0.565839 | Ginkgo-Biloba |