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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6c5f8b0d9e21d735e32da5b6cd7df24a3d8a8c0e | 328 | hpp | C++ | pythran/pythonic/include/math/isinf.hpp | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,647 | 2015-01-13T01:45:38.000Z | 2022-03-28T01:23:41.000Z | pythran/pythonic/include/math/isinf.hpp | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,116 | 2015-01-01T09:52:05.000Z | 2022-03-18T21:06:40.000Z | pythran/pythonic/include/math/isinf.hpp | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 180 | 2015-02-12T02:47:28.000Z | 2022-03-14T10:28:18.000Z | #ifndef PYTHONIC_INCLUDE_MATH_ISINF_HPP
#define PYTHONIC_INCLUDE_MATH_ISINF_HPP
#include "pythonic/include/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
template <class T>
bool isinf(T const &v)
{
return std::isinf(v);
}
DEFINE_FUNCTOR(pythonic::math, isinf);
}
PYTHONIC_NS_END
... | 15.619048 | 45 | 0.759146 | davidbrochart |
6c6209dc6c677a30dee8c46d4f40c671423853df | 7,573 | cpp | C++ | out/src/tink/core/_Callback/CallbackList_Impl_.cpp | sonygod/pb | a1bdc04c74bd91c71e96feb9f673075e780cbc81 | [
"MIT"
] | null | null | null | out/src/tink/core/_Callback/CallbackList_Impl_.cpp | sonygod/pb | a1bdc04c74bd91c71e96feb9f673075e780cbc81 | [
"MIT"
] | 1 | 2020-05-17T04:37:32.000Z | 2020-05-17T04:37:32.000Z | out/src/tink/core/_Callback/CallbackList_Impl_.cpp | sonygod/pb | a1bdc04c74bd91c71e96feb9f673075e780cbc81 | [
"MIT"
] | null | null | null | // Generated by Haxe 4.1.0-rc.1+0545ce110
#include <hxcpp.h>
#ifndef INCLUDED_tink_core_LinkObject
#include <tink/core/LinkObject.h>
#endif
#ifndef INCLUDED_tink_core__Callback_CallbackList_Impl_
#include <tink/core/_Callback/CallbackList_Impl_.h>
#endif
#ifndef INCLUDED_tink_core__Callback_Callback_Impl_
#include <ti... | 40.068783 | 229 | 0.74594 | sonygod |
48417b49da918eff1b1f74ab854371df97d8386b | 12,316 | cpp | C++ | VS/Graphics/VS_TextureInternal.cpp | vectorstorm/vectorstorm | 7306214108b23fa97d4a1a598197bbaa52c17d3a | [
"Zlib"
] | 19 | 2017-04-03T09:06:21.000Z | 2022-03-05T19:06:07.000Z | VS/Graphics/VS_TextureInternal.cpp | vectorstorm/vectorstorm | 7306214108b23fa97d4a1a598197bbaa52c17d3a | [
"Zlib"
] | 2 | 2019-05-24T14:40:07.000Z | 2020-04-15T01:10:23.000Z | VS/Graphics/VS_TextureInternal.cpp | vectorstorm/vectorstorm | 7306214108b23fa97d4a1a598197bbaa52c17d3a | [
"Zlib"
] | 2 | 2020-03-08T07:14:49.000Z | 2020-03-09T10:39:52.000Z | /*
* VS_TextureInternal.cpp
* VectorStorm
*
* Created by Trevor Powell on 3/08/08.
* Copyright 2009 Trevor Powell. All rights reserved.
*
*/
#include "VS_TextureInternal.h"
#include "VS_Color.h"
#include "VS_FloatImage.h"
#include "VS_Image.h"
#include "VS_HalfIntImage.h"
#include "VS_HalfFloatImage.h"
#in... | 22.723247 | 122 | 0.732543 | vectorstorm |
48448f9efd2e96c394fd1a77cd8ecdc53972eebb | 319 | hpp | C++ | examples/publisher_transformer_subscriber/string_publisher.hpp | ManuelMeraz/flow | e9cf18dfc633bd9670e012a48595a1f931fcac79 | [
"BSD-3-Clause"
] | 3 | 2021-01-05T16:12:08.000Z | 2021-01-12T21:44:10.000Z | examples/publisher_transformer_subscriber/string_publisher.hpp | RoboSDK/Flow | e9cf18dfc633bd9670e012a48595a1f931fcac79 | [
"BSD-3-Clause"
] | 9 | 2020-10-06T23:53:39.000Z | 2021-01-23T00:41:39.000Z | examples/publisher_transformer_subscriber/string_publisher.hpp | RoboSDK/Flow | e9cf18dfc633bd9670e012a48595a1f931fcac79 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <flow/publisher.hpp>
#include <spdlog/spdlog.h>
namespace example {
class string_publisher {
public:
std::string operator()()
{
spdlog::info("Producing Hello World string!");
return "Hello World!";
}
std::string publish_to() { return "hello_world"; };
};
}// namespace example
| 16.789474 | 53 | 0.677116 | ManuelMeraz |
4849c90419558b179352f38539f0d65aefd0f686 | 2,670 | cpp | C++ | fmivisbase/TextImageLayer.cpp | fmidev/smartmet-workstation-vtk | ee1b42f63a9bc54dd5217e5c1a1fa8e672870a99 | [
"MIT"
] | null | null | null | fmivisbase/TextImageLayer.cpp | fmidev/smartmet-workstation-vtk | ee1b42f63a9bc54dd5217e5c1a1fa8e672870a99 | [
"MIT"
] | null | null | null | fmivisbase/TextImageLayer.cpp | fmidev/smartmet-workstation-vtk | ee1b42f63a9bc54dd5217e5c1a1fa8e672870a99 | [
"MIT"
] | null | null | null | #include "TextImageLayer.h"
#include <vtkImageData.h>
#include <vtkTextRendererStringToImage.h>
#include <vtkImageBlend.h>
#include <vtkTextProperty.h>
#include <vtkStdString.h>
#include <vtkImageAppendComponents.h>
#include <vtkImageReslice.h>
#include "vtkTransform.h"
TextImageLayer::TextImageLayer(int x, int y) :
... | 19.925373 | 78 | 0.692884 | fmidev |
484dde96e9de72bdd23d2f17e6eb641ee184be83 | 1,223 | hpp | C++ | include/Keybinding.hpp | DangerInteractive/ArcticWolf | 74999f00cb4ef44f358bea1df266967cd1e7ed6c | [
"MIT"
] | null | null | null | include/Keybinding.hpp | DangerInteractive/ArcticWolf | 74999f00cb4ef44f358bea1df266967cd1e7ed6c | [
"MIT"
] | null | null | null | include/Keybinding.hpp | DangerInteractive/ArcticWolf | 74999f00cb4ef44f358bea1df266967cd1e7ed6c | [
"MIT"
] | null | null | null | #ifndef H_AW_KEYBINDING
#define H_AW_KEYBINDING
#include <vector>
#include <functional>
#include <SFML/Window.hpp>
namespace aw {
class Keybinding {
public:
typedef std::function <void()> KeybindingCallback;
Keybinding (const KeybindingCallback&, bool, sf::Keyboard::Key, bool, bool, bool);
~Keybinding ... | 22.648148 | 86 | 0.6713 | DangerInteractive |
48520d2a6ff5106755db288823bef13e0dec8ccf | 2,236 | cpp | C++ | Editor/Code/EntityManager.cpp | Negawisp/GameEnginePractice-2021 | 367768cdf43e15df194fa6691acba3fac6ef12ad | [
"MIT"
] | null | null | null | Editor/Code/EntityManager.cpp | Negawisp/GameEnginePractice-2021 | 367768cdf43e15df194fa6691acba3fac6ef12ad | [
"MIT"
] | null | null | null | Editor/Code/EntityManager.cpp | Negawisp/GameEnginePractice-2021 | 367768cdf43e15df194fa6691acba3fac6ef12ad | [
"MIT"
] | null | null | null | #include "EntityManager.h"
EntityManager::EntityManager(RenderEngine* pRenderEngine, EditorSystem* pEditorSystem, ScriptSystem* pScriptSystem, flecs::world* ecs) :
m_pRenderEngine(pRenderEngine),
m_pEditorSystem(pEditorSystem),
m_pEcs(ecs),
m_pScriptSystem(pScriptSystem)
{
}
EntityManager::~EntityManager()
{
m_e... | 27.268293 | 136 | 0.780859 | Negawisp |
4853b92d7c78c3c093165f6c0a1b2126d16d1a6a | 366 | cpp | C++ | checkalpha.cpp | yami0307/cpp-practice | 1945a6eaad22de487ac9926b2fbe67d50df9c05a | [
"MIT"
] | null | null | null | checkalpha.cpp | yami0307/cpp-practice | 1945a6eaad22de487ac9926b2fbe67d50df9c05a | [
"MIT"
] | null | null | null | checkalpha.cpp | yami0307/cpp-practice | 1945a6eaad22de487ac9926b2fbe67d50df9c05a | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
bool checkAlpha(char c){
if((c>=65 && c<=90)||(c>=97 && c<=122)){
return true;
}
else{
return false;
}
}
int main(){
char c;
cin>>c;
if(checkAlpha(c)){
cout<<"It is an alphabet."<<endl;
}
else{
cout<<"It is ... | 17.428571 | 45 | 0.489071 | yami0307 |
48552f2a2ff3689b70b88b5ae5b11add416e6fd5 | 1,288 | cpp | C++ | src/threadinterrupt.cpp | yinchengtsinghua/BitCoinCppChinese | 76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a | [
"MIT"
] | 13 | 2019-01-23T04:36:05.000Z | 2022-02-21T11:20:25.000Z | src/threadinterrupt.cpp | yinchengtsinghua/BitCoinCppChinese | 76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a | [
"MIT"
] | null | null | null | src/threadinterrupt.cpp | yinchengtsinghua/BitCoinCppChinese | 76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a | [
"MIT"
] | 3 | 2019-01-24T07:48:15.000Z | 2021-06-11T13:34:44.000Z |
//此源码被清华学神尹成大魔王专业翻译分析并修改
//尹成QQ77025077
//尹成微信18510341407
//尹成所在QQ群721929980
//尹成邮箱 yinc13@mails.tsinghua.edu.cn
//尹成毕业于清华大学,微软区块链领域全球最有价值专家
//https://mvp.microsoft.com/zh-cn/PublicProfile/4033620
//版权所有(c)2009-2010 Satoshi Nakamoto
//版权所有(c)2009-2018比特币核心开发者
//根据MIT软件许可证分发,请参见随附的
//文件复制或http://www.opensource.org/lice... | 23.851852 | 101 | 0.737578 | yinchengtsinghua |
4858df62263f0cb9b3b2f3e516f30fc13f39ab3d | 9,595 | cpp | C++ | src/landing-aruco.cpp | alanprodam/Filters-VO | ecb177d7b7cb3149b831d3b62545ec54e3e53f16 | [
"MIT"
] | null | null | null | src/landing-aruco.cpp | alanprodam/Filters-VO | ecb177d7b7cb3149b831d3b62545ec54e3e53f16 | [
"MIT"
] | null | null | null | src/landing-aruco.cpp | alanprodam/Filters-VO | ecb177d7b7cb3149b831d3b62545ec54e3e53f16 | [
"MIT"
] | null | null | null | #include "opencv2/core.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/aruco.hpp"
#include "opencv2/aruco/dictionary.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/video/tracking.hpp"
#include "opencv2/features2d/featur... | 28.47181 | 153 | 0.642001 | alanprodam |
485a83cf0a500058b73ecf8893830d9c71894a58 | 417 | cpp | C++ | modules/image/vendor/stb.cpp | lenamueller/glpp | f7d29e5924537fd405a5bb409d67e65efdde8d9e | [
"MIT"
] | 16 | 2019-12-10T19:44:17.000Z | 2022-01-04T03:16:19.000Z | modules/image/vendor/stb.cpp | lenamueller/glpp | f7d29e5924537fd405a5bb409d67e65efdde8d9e | [
"MIT"
] | null | null | null | modules/image/vendor/stb.cpp | lenamueller/glpp | f7d29e5924537fd405a5bb409d67e65efdde8d9e | [
"MIT"
] | 3 | 2021-06-04T21:56:55.000Z | 2022-03-03T06:47:56.000Z | #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#undef STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTAT... | 37.909091 | 61 | 0.841727 | lenamueller |
485c070bec6f0e63076eb5641143cb729701a07d | 3,351 | hpp | C++ | src/libraries/core/db/CallbackRegistry/CallbackRegistry.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/db/CallbackRegistry/CallbackRegistry.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/db/CallbackRegistry/CallbackRegistry.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 27.925 | 79 | 0.484631 | MrAwesomeRocks |
485c58814be7293221cd4d7d77617cd22764ae9a | 707 | cpp | C++ | linked_list/leetcode_linked_list/160_intersection_of_two_linked_lists.cpp | Hadleyhzy/data_structure_and_algorithm | 0e610ba78dcb216323d9434a0f182756780ce5c0 | [
"MIT"
] | 1 | 2020-10-12T19:18:19.000Z | 2020-10-12T19:18:19.000Z | linked_list/leetcode_linked_list/160_intersection_of_two_linked_lists.cpp | Hadleyhzy/data_structure_and_algorithm | 0e610ba78dcb216323d9434a0f182756780ce5c0 | [
"MIT"
] | null | null | null | linked_list/leetcode_linked_list/160_intersection_of_two_linked_lists.cpp | Hadleyhzy/data_structure_and_algorithm | 0e610ba78dcb216323d9434a0f182756780ce5c0 | [
"MIT"
] | 1 | 2020-10-12T19:18:04.000Z | 2020-10-12T19:18:04.000Z | //
// 160_intersection_of_two_linked_lists.cpp
// leetcode_linked_list
//
// Created by Hadley on 25.09.20.
// Copyright © 2020 Hadley. All rights reserved.
//
#include <stdio.h>
#include <vector>
#include <unordered_set>
#include <unordered_map>
#include "83_Remove_duplicats_from_sorted_list.cpp"
using namespace ... | 22.09375 | 69 | 0.618105 | Hadleyhzy |
485e7897324f471024044742b871a41222a2b572 | 4,234 | cpp | C++ | src/engine/gen/FlowField.cpp | Eothaun/Eyos | adc63fa9051aa5c2e61250307c0cdcefbc9b6c06 | [
"MIT"
] | 8 | 2019-12-08T23:37:13.000Z | 2021-10-04T06:14:00.000Z | src/engine/gen/FlowField.cpp | Eothaun/Eyos | adc63fa9051aa5c2e61250307c0cdcefbc9b6c06 | [
"MIT"
] | null | null | null | src/engine/gen/FlowField.cpp | Eothaun/Eyos | adc63fa9051aa5c2e61250307c0cdcefbc9b6c06 | [
"MIT"
] | 1 | 2019-12-31T02:44:01.000Z | 2019-12-31T02:44:01.000Z | #include "engine/gen/FlowField.h"
FlowField::FlowField()
{
dijkstraGrid = std::vector<std::vector<node>>(gridWidth);
}
FlowField::~FlowField()
{
}
void FlowField::GenerateFlowField()
{
GenerateDijkstraGrid(std::vector<glm::vec2>{ {2, 4}, { 5,6 }});
int x, y;
std::vector<std::vector<glm::vec2>> flowField(gridWi... | 27.493506 | 162 | 0.645253 | Eothaun |
4861bc5e8598ec7ae2279bff66213b13e006ec1b | 836 | cpp | C++ | codeforces/1485A.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1485A.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1485A.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | // A. Add and Divide
#include <iostream>
#include <limits>
using namespace std;
int main() {
int t;
cin >> t;
while(t--) {
int a, b;
cin >> a >> b;
int ans = numeric_limits<int>::max();
bool b_is_one = false;
if (b == 1) {
b += 1;
b_is... | 16.72 | 68 | 0.389952 | sgrade |
486768fc3c4659bb98f60b08d39a319baece52b2 | 8,095 | cpp | C++ | SMHasher/SpeedTest.cpp | Bulat-Ziganshin/FARSH | d74ef3a21cd4cde0a97639ec400f42c6169cca93 | [
"MIT"
] | 44 | 2015-05-29T14:37:31.000Z | 2021-11-17T11:22:04.000Z | SMHasher/SpeedTest.cpp | Bulat-Ziganshin/FARSH | d74ef3a21cd4cde0a97639ec400f42c6169cca93 | [
"MIT"
] | 4 | 2016-06-28T12:34:31.000Z | 2019-12-03T10:54:10.000Z | SMHasher/SpeedTest.cpp | Bulat-Ziganshin/FARSH | d74ef3a21cd4cde0a97639ec400f42c6169cca93 | [
"MIT"
] | 4 | 2016-08-09T08:51:46.000Z | 2018-01-13T15:36:36.000Z | #include "SpeedTest.h"
#include "Random.h"
#include <stdio.h> // for printf
#include <memory.h> // for memset
#include <math.h> // for sqrt
#include <algorithm> // for sort
//-----------------------------------------------------------------------------
// We view our timing values as a series of rand... | 25.455975 | 162 | 0.512786 | Bulat-Ziganshin |
48695be33dc62aab206b61ad431856e152a0fb5c | 634 | cpp | C++ | codes/HDU/hdu2352.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/HDU/hdu2352.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/HDU/hdu2352.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int maxn = 1005;
char s[maxn];
inline int idx(char c) {
if (c == 'I') return 1;
else if (c == 'V') return 5;
else if (c == 'X') return 10;
else if (c == 'L') return 50;
else if (c == 'C') return 100;
else if (c == 'D') return ... | 18.114286 | 47 | 0.520505 | JeraKrs |
486bb4035507edb026439935bdea0925e4483525 | 1,864 | cpp | C++ | runtime/libs/tflite/src/OutputResetter.cpp | chogba6/ONE | 3d35259f89ee3109cfd35ab6f38c231904487f3b | [
"Apache-2.0"
] | 255 | 2020-05-22T07:45:29.000Z | 2022-03-29T23:58:22.000Z | runtime/libs/tflite/src/OutputResetter.cpp | chogba6/ONE | 3d35259f89ee3109cfd35ab6f38c231904487f3b | [
"Apache-2.0"
] | 5,102 | 2020-05-22T07:48:33.000Z | 2022-03-31T23:43:39.000Z | runtime/libs/tflite/src/OutputResetter.cpp | chogba6/ONE | 3d35259f89ee3109cfd35ab6f38c231904487f3b | [
"Apache-2.0"
] | 120 | 2020-05-22T07:51:08.000Z | 2022-02-16T19:08:05.000Z | /*
* Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 28.676923 | 100 | 0.684549 | chogba6 |
486e3ce93dbdc4edc36fc00bb0f7316686a0cca3 | 558 | hpp | C++ | src/RuleBoost.hpp | d3wy/pool-controller | 182d8c67638abf56d8e5126103b5995006c06b42 | [
"MIT"
] | 12 | 2020-03-04T18:43:43.000Z | 2022-01-30T22:59:27.000Z | src/RuleBoost.hpp | d3wy/pool-controller | 182d8c67638abf56d8e5126103b5995006c06b42 | [
"MIT"
] | 17 | 2019-05-20T20:22:09.000Z | 2022-01-11T16:55:26.000Z | src/RuleBoost.hpp | d3wy/pool-controller | 182d8c67638abf56d8e5126103b5995006c06b42 | [
"MIT"
] | 6 | 2020-06-05T18:17:13.000Z | 2022-03-19T20:13:58.000Z |
#pragma once
#include "Rule.hpp"
#include "RelayModuleNode.hpp"
class RuleBoost : public Rule {
public:
RuleBoost(RelayModuleNode* solarRelay, RelayModuleNode* poolRelay);
const char* getMode() { return "boost"; };
void setSolarRelayNode(RelayModuleNode* relay) { _solarRelay = relay; };
void setPoolRelayNo... | 21.461538 | 74 | 0.716846 | d3wy |
486e7d60adaa20f05290b9247e629ef8cc8c8731 | 260 | cpp | C++ | kattis/quadrant.cpp | andraantariksa/code-exercise-answer | 69b7dbdc081cdb094cb110a72bc0c9242d3d344d | [
"MIT"
] | 1 | 2019-11-06T15:17:48.000Z | 2019-11-06T15:17:48.000Z | kattis/quadrant.cpp | andraantariksa/code-exercise-answer | 69b7dbdc081cdb094cb110a72bc0c9242d3d344d | [
"MIT"
] | null | null | null | kattis/quadrant.cpp | andraantariksa/code-exercise-answer | 69b7dbdc081cdb094cb110a72bc0c9242d3d344d | [
"MIT"
] | 1 | 2018-11-13T08:43:26.000Z | 2018-11-13T08:43:26.000Z | /*input
10
-6
*/
#include <iostream>
int x, y, q;
int main(){
std::cin>>x>>y;
if(x > 0 && y > 0){
q = 1;
}else if(x < 0 && y < 0){
q = 3;
}else if(y < 0 && x > 0){
q = 4;
}else if(y > 0 && x < 0){
q = 2;
}
std::cout<<q<<std::endl;
return 0;
} | 11.818182 | 26 | 0.423077 | andraantariksa |
4872cb9656f275d58c9a8bf2c3a83edd2382339f | 4,646 | cpp | C++ | src/qhebot/lib/qheduino_CAR.cpp | zzboss/qhebot-openblock-extension | 2fdadc1303046e231cef4df29594a11893b31e7c | [
"MIT"
] | null | null | null | src/qhebot/lib/qheduino_CAR.cpp | zzboss/qhebot-openblock-extension | 2fdadc1303046e231cef4df29594a11893b31e7c | [
"MIT"
] | null | null | null | src/qhebot/lib/qheduino_CAR.cpp | zzboss/qhebot-openblock-extension | 2fdadc1303046e231cef4df29594a11893b31e7c | [
"MIT"
] | null | null | null | #include "qheduino_CAR.h"
//输入参数为TB6612六个引脚对应的Arduino管脚
CAR::CAR(int left_go, int left_back, int left_pwm, int right_go, int right_back, int right_pwm ) {
Left_motor_go = left_go; //左电机前进 AIN1
Left_motor_back = left_back; //左电机后退 AIN2
Right_motor_go = right_go; //右电机前进 BIN1
R... | 23.114428 | 98 | 0.64378 | zzboss |
4873d633f2dfe552a6768aa2782d82ae5d9b5008 | 4,633 | cxx | C++ | graphics/nxwm/src/cfullscreenwindow.cxx | DS-LK/incubator-nuttx-apps | 5719753399c41529478ced0a3af9a8fae93a50a9 | [
"Apache-2.0"
] | 1 | 2022-01-04T04:04:58.000Z | 2022-01-04T04:04:58.000Z | graphics/nxwm/src/cfullscreenwindow.cxx | VanFeo/incubator-nuttx-apps | 009e66874538658c10a26bc076d27e9de48fabc6 | [
"Apache-2.0"
] | null | null | null | graphics/nxwm/src/cfullscreenwindow.cxx | VanFeo/incubator-nuttx-apps | 009e66874538658c10a26bc076d27e9de48fabc6 | [
"Apache-2.0"
] | null | null | null | /********************************************************************************************
* apps/graphics/nxwm/src/cfullscreenwindow.cxx
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional info... | 26.474286 | 94 | 0.616879 | DS-LK |
4876effedc7f70ccacd951b3eadcfce9fc0e8480 | 11,299 | cpp | C++ | aladdin/core/Scene.cpp | Khuongnb1997/game-aladdin | 74b13ffcd623de0d6f799b0669c7e8917eef3b14 | [
"MIT"
] | 2 | 2017-11-08T16:27:25.000Z | 2018-08-10T09:08:35.000Z | aladdin/core/Scene.cpp | Khuongnb1997/game-aladdin | 74b13ffcd623de0d6f799b0669c7e8917eef3b14 | [
"MIT"
] | null | null | null | aladdin/core/Scene.cpp | Khuongnb1997/game-aladdin | 74b13ffcd623de0d6f799b0669c7e8917eef3b14 | [
"MIT"
] | 4 | 2017-11-08T16:25:30.000Z | 2021-05-23T06:14:59.000Z | /*
* Created by phuctm97 on Sep 30th 2017
*/
#include "Scene.h"
#include "StdHelper.h"
#include "GameResource.h"
#include "GameManager.h"
#include "../2d/2dMacros.h"
#include "../2d/Camera.h"
NAMESPACE_ALA
{
ALA_CLASS_SOURCE_2(ala::Scene, ala::Initializable, ala::Releasable)
// ====================================... | 24.887665 | 101 | 0.638995 | Khuongnb1997 |
487a31b93598cf12ca603abf7f9cf66c04d95618 | 5,826 | hpp | C++ | QuantExt/qle/pricingengines/commodityapoengine.hpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 335 | 2016-10-07T16:31:10.000Z | 2022-03-02T07:12:03.000Z | QuantExt/qle/pricingengines/commodityapoengine.hpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 59 | 2016-10-31T04:20:24.000Z | 2022-01-03T16:39:57.000Z | QuantExt/qle/pricingengines/commodityapoengine.hpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 180 | 2016-10-08T14:23:50.000Z | 2022-03-28T10:43:05.000Z | /*
Copyright (C) 2019 Quaternion Risk Management Ltd
All rights reserved.
*/
/*! \file qle/pricingengines/commodityapoengine.hpp
\brief commodity average price option engine
\ingroup engines
*/
#ifndef quantext_commodity_apo_engine_hpp
#define quantext_commodity_apo_engine_hpp
#include <ql/termstructures/v... | 50.66087 | 117 | 0.700309 | mrslezak |
487a5ced28622cdd7c84c8d638daa1086c5b3e9b | 2,802 | cpp | C++ | cpp/coroutine_noop_coroutine.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | cpp/coroutine_noop_coroutine.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | cpp/coroutine_noop_coroutine.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | /*
g++ --std=c++20 -pthread -o ../_build/cpp/coroutine_noop_coroutine.exe ./cpp/coroutine_noop_coroutine.cpp && (cd ../_build/cpp/;./coroutine_noop_coroutine.exe)
https://en.cppreference.com/w/cpp/coroutine/noop_coroutine
*/
#include <coroutine>
#include <utility>
#include <iostream>
template<class T>
struct task {
... | 36.38961 | 159 | 0.584582 | rpuntaie |
487aa1d1c63091c25dde2241d1062b1d7dd5af96 | 1,195 | cpp | C++ | higan/ms/psg/io.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | higan/ms/psg/io.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | higan/ms/psg/io.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | auto PSG::write(uint8 data) -> void {
bool l = data.bit(7);
if(l) select = data.bits(4,6);
switch(select) {
case 0: {
if(l) tone0.pitch.bits(0,3) = data.bits(0,3);
else tone0.pitch.bits(4,9) = data.bits(0,5);
break;
}
case 1: {
tone0.volume = data.bits(0,3);
break;
}
case 2: {
... | 17.835821 | 49 | 0.553975 | 13824125580 |
487aefa8e6a9b2449309a561ee11d697dc3562ec | 1,403 | cpp | C++ | test/constant/scalar/sqrt_2o_3.cpp | TobiasLudwig/boost.simd | c04d0cc56747188ddb9a128ccb5715dd3608dbc1 | [
"BSL-1.0"
] | 6 | 2018-02-25T22:23:33.000Z | 2021-01-15T15:13:12.000Z | test/constant/scalar/sqrt_2o_3.cpp | remymuller/boost.simd | 3caefb7ee707e5f68dae94f8f31f72f34b7bb5de | [
"BSL-1.0"
] | null | null | null | test/constant/scalar/sqrt_2o_3.cpp | remymuller/boost.simd | 3caefb7ee707e5f68dae94f8f31f72f34b7bb5de | [
"BSL-1.0"
] | 7 | 2017-12-12T12:36:31.000Z | 2020-02-10T14:27:07.000Z | //==================================================================================================
/*!
Copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//====================================... | 29.851064 | 100 | 0.558803 | TobiasLudwig |
488178167970c29b3461a8ddb955a4034ebb91bf | 8,974 | cpp | C++ | src/main.cpp | jk-jeon/dtoa-benchmark | 7bf593b5bfdbc7cfb0c0c583b8f509807e0b1fee | [
"MIT"
] | 1 | 2020-11-05T06:51:16.000Z | 2020-11-05T06:51:16.000Z | src/main.cpp | jk-jeon/dtoa-benchmark | 7bf593b5bfdbc7cfb0c0c583b8f509807e0b1fee | [
"MIT"
] | null | null | null | src/main.cpp | jk-jeon/dtoa-benchmark | 7bf593b5bfdbc7cfb0c0c583b8f509807e0b1fee | [
"MIT"
] | 4 | 2019-06-06T11:35:42.000Z | 2021-11-20T02:40:15.000Z | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <cstring>
#include <exception>
#include <limits>
#if _MSC_VER
#include "msinttypes/stdint.h"
#else
#include <stdint.h>
#endif
#include <cstdlib>
#include <math.h>
#include <random>
#include "resultfilename.h"
#include "timer.h"
#include "test.h"
#includ... | 26.087209 | 106 | 0.634723 | jk-jeon |
4882d3004fbce99beccaf4a94e9ac7b8b46da600 | 1,596 | cpp | C++ | snippets/cpp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/CPP/ctorui.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-02-22T09:30:21.000Z | 2021-08-02T23:44:31.000Z | snippets/cpp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/CPP/ctorui.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/CPP/ctorui.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z |
//<Snippet2>
// Example of the Decimal( unsigned int ) constructor.
using namespace System;
// Create a Decimal object and display its value.
void CreateDecimal( unsigned int value, String^ valToStr )
{
Decimal decimalNum = Decimal(value);
// Format the constructor for display.
String^ ctor = String::For... | 33.25 | 65 | 0.62406 | BohdanMosiyuk |
4885dcc922f24c54522095ca6d4d3c45d062dd0c | 8,247 | cpp | C++ | TAO/tao/AnyTypeCode/AnyTypeCode_Adapter_Impl.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/tao/AnyTypeCode/AnyTypeCode_Adapter_Impl.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/tao/AnyTypeCode/AnyTypeCode_Adapter_Impl.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // -*- C++ -*-
// $Id: AnyTypeCode_Adapter_Impl.cpp 97073 2013-04-24 08:21:15Z sma $
#include "tao/AnyTypeCode/AnyTypeCode_Adapter_Impl.h"
#include "tao/AnyTypeCode/SystemExceptionA.h"
#include "tao/AnyTypeCode/WrongTransactionA.h"
#include "tao/AnyTypeCode/PolicyA.h"
#include "tao/AnyTypeCode/Any.h"
#include "tao/Any... | 26.015773 | 100 | 0.745241 | cflowe |
4885ef7749b1cab8ce2e88c3699c6d00239d6432 | 6,289 | cpp | C++ | src/material.cpp | ECToo/knowledge | ed6a51b9c7a119f453acb8b1151cbf6aa43f3099 | [
"MIT"
] | null | null | null | src/material.cpp | ECToo/knowledge | ed6a51b9c7a119f453acb8b1151cbf6aa43f3099 | [
"MIT"
] | null | null | null | src/material.cpp | ECToo/knowledge | ed6a51b9c7a119f453acb8b1151cbf6aa43f3099 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2008-2009 Rômulo Fernandes Machado <romulo@castorgroup.net>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, co... | 19.5919 | 77 | 0.703927 | ECToo |
4886283cfef1b077fc731acc675521925944c343 | 3,323 | cpp | C++ | code/test_billboard.cpp | aod6060/fps_game | b1d55d02ec124dc22ce877b814b6ff8452915213 | [
"MIT"
] | 1 | 2021-06-22T07:05:51.000Z | 2021-06-22T07:05:51.000Z | code/test_billboard.cpp | aod6060/fps_game | b1d55d02ec124dc22ce877b814b6ff8452915213 | [
"MIT"
] | 14 | 2018-08-29T09:32:17.000Z | 2018-09-15T10:52:22.000Z | code/test_billboard.cpp | aod6060/fps_game | b1d55d02ec124dc22ce877b814b6ff8452915213 | [
"MIT"
] | null | null | null | #include "sys.h"
glm::vec3 randColor()
{
return glm::vec3(
(rand() % 255) / 255.0f,
(rand() % 255) / 255.0f,
(rand() % 255) / 255.0f
);
}
void TestBillboard::init(const glm::vec3& location)
{
this->loadParticles();
this->tex.init(this->getParticles());
this->location = location + glm::vec3(0.0f, 1.0f, ... | 20.512346 | 73 | 0.656636 | aod6060 |
4886e4e3705016ccad778d9ed1e290088926b00e | 9,867 | cpp | C++ | Atum/SceneObjects/Other/Demo/SimpleCharacter2D.cpp | ENgineE777/Atum | 3e9417e2a7deda83bf937612fd070566eb932484 | [
"Zlib"
] | 23 | 2017-11-01T14:47:26.000Z | 2021-12-30T08:04:31.000Z | Atum/SceneObjects/Other/Demo/SimpleCharacter2D.cpp | ENgineE777/Atum | 3e9417e2a7deda83bf937612fd070566eb932484 | [
"Zlib"
] | 1 | 2018-12-06T14:19:55.000Z | 2018-12-07T04:06:35.000Z | Atum/SceneObjects/Other/Demo/SimpleCharacter2D.cpp | ENgineE777/Atum | 3e9417e2a7deda83bf937612fd070566eb932484 | [
"Zlib"
] | 4 | 2017-11-30T10:25:58.000Z | 2019-04-21T14:11:40.000Z |
#include "SimpleCharacter2D.h"
#include "Services/Render/Render.h"
#include "SceneObjects/2D/SpriteAsset.h"
CLASSREG(SceneObject, SimpleCharacter2D, "SimpleCharacter2D")
META_DATA_DESC(SimpleCharacter2D)
BASE_SCENE_OBJ_PROP(SimpleCharacter2D)
FLOAT_PROP(SimpleCharacter2D, trans.pos.x, 100.0f, "Geometry", "x", "X coo... | 20.095723 | 165 | 0.643458 | ENgineE777 |
488734c888c59e686a0da790371c263afdcbcd0d | 2,710 | cpp | C++ | src/configuration/expr/compute_ternary.cpp | Damdoshi/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 38 | 2016-07-30T09:35:19.000Z | 2022-03-04T10:13:48.000Z | src/configuration/expr/compute_ternary.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 15 | 2017-02-12T19:20:52.000Z | 2021-06-09T09:30:52.000Z | src/configuration/expr/compute_ternary.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 12 | 2016-10-06T09:06:59.000Z | 2022-03-04T10:14:00.000Z | // Jason Brillante "Damdoshi"
// Hanged Bunny Studio 2014-2018
//
// Lapin library
#include "lapin_private.h"
bool expr_compute_ternary(Expression &exp,
bool dry,
SmallConf *root,
SmallConf *local,
SmallConf *artif,
SmallConf *param)
{
if (exp.is_const)
... | 26.31068 | 82 | 0.61107 | Damdoshi |
48895b1ac57feb1f34ce894c2616f0f748393102 | 3,701 | hpp | C++ | src/ndnSIM/NFD/daemon/table/cs-entry.hpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2021-09-07T04:12:15.000Z | 2021-09-07T04:12:15.000Z | src/ndnSIM/NFD/daemon/table/cs-entry.hpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | null | null | null | src/ndnSIM/NFD/daemon/table/cs-entry.hpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2020-07-15T06:21:03.000Z | 2020-07-15T06:21:03.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonn... | 25.349315 | 83 | 0.653877 | NDNLink |
488a5f636b595d52badc25017d05d9afeee5bdc5 | 137 | hpp | C++ | baseclass/headers/testPattern.hpp | HxHexa/quang-advCG-raytracer | 605f7dfcc9237f331d456646b7653ad0f26c0cc4 | [
"MIT"
] | null | null | null | baseclass/headers/testPattern.hpp | HxHexa/quang-advCG-raytracer | 605f7dfcc9237f331d456646b7653ad0f26c0cc4 | [
"MIT"
] | null | null | null | baseclass/headers/testPattern.hpp | HxHexa/quang-advCG-raytracer | 605f7dfcc9237f331d456646b7653ad0f26c0cc4 | [
"MIT"
] | null | null | null | /**/
#include "pattern.hpp"
class TestPattern : public Pattern {
public:
TestPattern();
Color patternAt(Tuple);
};
| 13.7 | 36 | 0.59854 | HxHexa |
488eb4ea9eb47e3e7ad94b15d5a0b24006881669 | 438 | cpp | C++ | UVa/10370 - Above Average.cpp | geniustanley/problem-solving | 2b83c5c8197fa8fe2277367027b392a2911d4a28 | [
"Apache-2.0"
] | 1 | 2018-11-21T07:36:16.000Z | 2018-11-21T07:36:16.000Z | UVa/10370 - Above Average.cpp | geniustanley/problem-solving | 2b83c5c8197fa8fe2277367027b392a2911d4a28 | [
"Apache-2.0"
] | null | null | null | UVa/10370 - Above Average.cpp | geniustanley/problem-solving | 2b83c5c8197fa8fe2277367027b392a2911d4a28 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
int main(void)
{
int T, n, sum, ans;
int num[1005];
double average;
scanf("%d", &T);
while(T--) {
scanf("%d", &n);
sum = 0;
ans = 0;
for(int i = 0; i < n; i++) {
scanf("%d", &num[i]);
sum += num[i];
}
average = (double)sum/n;
for(int i = 0; i <... | 14.129032 | 42 | 0.429224 | geniustanley |
4890b57d04bd8cde59c176d6584e2822b2f0ae7c | 1,497 | hpp | C++ | lib/luwra/types/pushable.hpp | jonmortiboy/luwra | 71264e49103f8633ee5225dab1f4567a7f3672a2 | [
"BSD-3-Clause"
] | 186 | 2015-06-20T00:38:04.000Z | 2022-02-19T16:08:33.000Z | lib/luwra/types/pushable.hpp | jonmortiboy/luwra | 71264e49103f8633ee5225dab1f4567a7f3672a2 | [
"BSD-3-Clause"
] | 17 | 2015-07-09T10:23:02.000Z | 2022-01-19T17:34:44.000Z | lib/luwra/types/pushable.hpp | jonmortiboy/luwra | 71264e49103f8633ee5225dab1f4567a7f3672a2 | [
"BSD-3-Clause"
] | 21 | 2015-07-05T12:59:48.000Z | 2020-07-20T18:50:43.000Z | /* Luwra
* Minimal-overhead Lua wrapper for C++
*
* Copyright (C) 2016, Ole Krüger <ole@vprsm.de>
*/
#ifndef LUWRA_TYPES_PUSHABLE_H_
#define LUWRA_TYPES_PUSHABLE_H_
#include "../common.hpp"
#include "../values.hpp"
#include "../stack.hpp"
#include <utility>
#include <memory>
LUWRA_NS_BEGIN
namespace internal {... | 19.697368 | 90 | 0.713427 | jonmortiboy |
48930bdb106b028921a0afe23bcd10f003b6993c | 541 | cpp | C++ | src/glCompact/threadContextGroup_.cpp | PixelOfDeath/glCompact | 68334cc9c3aa20255e8986ad1ee5fa8e23df354d | [
"MIT"
] | null | null | null | src/glCompact/threadContextGroup_.cpp | PixelOfDeath/glCompact | 68334cc9c3aa20255e8986ad1ee5fa8e23df354d | [
"MIT"
] | null | null | null | src/glCompact/threadContextGroup_.cpp | PixelOfDeath/glCompact | 68334cc9c3aa20255e8986ad1ee5fa8e23df354d | [
"MIT"
] | null | null | null | #include "glCompact/threadContextGroup_.hpp"
namespace glCompact {
#ifdef GLCOMPACT_MULTIPLE_CONTEXT_GROUP
thread_local ContextGroup_* __restrict threadContextGroup_;
#else
static char contextGroupMem[sizeof(ContextGroup_)] alignas(ContextGroup_);
... | 45.083333 | 125 | 0.64695 | PixelOfDeath |
48959e689b285106da57c3e8120b39781108404b | 51,345 | cpp | C++ | third_party/WebKit/Source/core/paint/BoxPainter.cpp | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | third_party/WebKit/Source/core/paint/BoxPainter.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | third_party/WebKit/Source/core/paint/BoxPainter.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "core/paint/BoxPainter.h"
#include "core/HTMLNames.h"
#include "core/frame/Settings.h"
#include "core/html/HTMLFrameOwnerEle... | 48.714421 | 305 | 0.694965 | wenfeifei |
4895b449b8a1ea8118e69b15504c731ddae33732 | 16,163 | cpp | C++ | src/types/quamodbusrtuserialclient.cpp | juangburgos/QUaModbusClient | e1ac862e723cfdf9e6127d395fb7c614829e2154 | [
"MIT"
] | 26 | 2019-08-19T18:18:51.000Z | 2022-03-24T12:56:30.000Z | src/types/quamodbusrtuserialclient.cpp | ManfredHerrmann/QUaModbusClient | 38a3ec715db0336d4c26398084bef22ab5ca5072 | [
"MIT"
] | 2 | 2019-08-25T03:45:59.000Z | 2021-01-21T12:06:55.000Z | src/types/quamodbusrtuserialclient.cpp | ManfredHerrmann/QUaModbusClient | 38a3ec715db0336d4c26398084bef22ab5ca5072 | [
"MIT"
] | 9 | 2019-09-10T14:31:40.000Z | 2021-09-28T05:37:54.000Z | #include "quamodbusrtuserialclient.h"
#include <QSerialPortInfo>
#ifdef QUA_ACCESS_CONTROL
#include <QUaPermissions>
#endif // QUA_ACCESS_CONTROL
QUaModbusRtuSerialClient::QUaModbusRtuSerialClient(QUaServer *server)
: QUaModbusClient(server)
{
// set defaults
type ()->setDataTypeEnum(QMetaEnum::fro... | 35.838137 | 145 | 0.7313 | juangburgos |
489b14a3a7c5c911339d34e93467ea20e62d3cd6 | 3,119 | cc | C++ | content/common/input/synthetic_pointer_action_params.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 | content/common/input/synthetic_pointer_action_params.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 | content/common/input/synthetic_pointer_action_params.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 2016 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/common/input/synthetic_pointer_action_params.h"
namespace content {
SyntheticPointerActionParams::SyntheticPointerActionParams() = def... | 38.9875 | 80 | 0.761462 | zealoussnow |
489eea62bd2b9e266f41e6b0e4b9477aa9a1ad0a | 6,023 | cpp | C++ | qt_project/MainWindow.cpp | hejiangda/DaDaXiuXiu | ed2aeba3517065ed552d17acd43c66863143a867 | [
"MIT"
] | 1 | 2020-03-18T02:34:32.000Z | 2020-03-18T02:34:32.000Z | qt_project/MainWindow.cpp | hejiangda/DaDaXiuXiu | ed2aeba3517065ed552d17acd43c66863143a867 | [
"MIT"
] | null | null | null | qt_project/MainWindow.cpp | hejiangda/DaDaXiuXiu | ed2aeba3517065ed552d17acd43c66863143a867 | [
"MIT"
] | null | null | null | #include "MainWindow.h"
#include "ui_MainWindow.h"
#include <QFileInfo>
#include <QDir>
MainWindow::MainWindow(QWidget* parent) :
QMainWindow(parent),
ui(new Ui::MainWindow), addFlg(0), t1ok(false), t2ok(false), t3ok(false)
{
ui->setupUi(this);
connect(&MT1,
SIGNAL(WhiteDisplay(QPixmap)),
... | 27.377273 | 95 | 0.506724 | hejiangda |
48a271564b47fbb9c429f0585ab527e5c81a5a93 | 15,795 | hpp | C++ | include/kip/elements.hpp | kei10in/kip | 23d83ffa4f40431ef8bd6983e928ae889bfc3872 | [
"MIT"
] | null | null | null | include/kip/elements.hpp | kei10in/kip | 23d83ffa4f40431ef8bd6983e928ae889bfc3872 | [
"MIT"
] | null | null | null | include/kip/elements.hpp | kei10in/kip | 23d83ffa4f40431ef8bd6983e928ae889bfc3872 | [
"MIT"
] | null | null | null | #ifndef KIP_ELEMENTS_HPP_
#define KIP_ELEMENTS_HPP_
#include <string>
#include <unordered_map>
#include <vector>
#include "kip/xml-ns.hpp"
namespace kip {
struct static_object {
std::string const empty_string;
xml::qname const empty_qname;
static_object() {}
};
static static_object const& statics() {
sta... | 22.090909 | 92 | 0.686103 | kei10in |
48a5561aa1275dd9a3126832a3e1371e13c8d865 | 247 | hpp | C++ | src/util.hpp | torque-project/rev | 245561f9028d65c88029e4a4bc705f6a0a18da4c | [
"MIT"
] | 1 | 2016-03-01T14:22:31.000Z | 2016-03-01T14:22:31.000Z | src/util.hpp | torque-project/rev | 245561f9028d65c88029e4a4bc705f6a0a18da4c | [
"MIT"
] | null | null | null | src/util.hpp | torque-project/rev | 245561f9028d65c88029e4a4bc705f6a0a18da4c | [
"MIT"
] | null | null | null | #pragma once
namespace rev {
inline std::string replace(const std::string& s, char a, char b) {
std::string out(s);
int pos = 0;
while ((pos = out.find(a)) != std::string::npos) {
out[pos] = b;
}
return out;
}
}
| 14.529412 | 68 | 0.54251 | torque-project |
48a6b33d998c26470ff236c60ab2f19627b5f541 | 1,563 | cpp | C++ | src/c/rfc822/CMessageParser.cpp | readdle/mailcore2 | cf95a1587cebd5b2257e6b6fa0e34149a4d70394 | [
"BSD-3-Clause"
] | 3 | 2019-07-16T13:19:50.000Z | 2020-01-06T10:42:23.000Z | src/c/rfc822/CMessageParser.cpp | readdle/mailcore2 | cf95a1587cebd5b2257e6b6fa0e34149a4d70394 | [
"BSD-3-Clause"
] | 15 | 2018-12-11T14:00:48.000Z | 2021-12-21T17:42:42.000Z | src/c/rfc822/CMessageParser.cpp | readdle/mailcore2 | cf95a1587cebd5b2257e6b6fa0e34149a4d70394 | [
"BSD-3-Clause"
] | 2 | 2015-05-26T18:07:22.000Z | 2017-04-04T10:01:17.000Z | #include "CMessageParser.h"
#include "CBase+Private.h"
#include <MailCore/MCCore.h>
#include <MailCore/MCDefines.h>
#include <MailCore/MCAttachment.h>
#include <MailCore/MCMessageHeader.h>
#include <MailCore/MCHTMLRenderer.h>
#include <MailCore/MCHTMLBodyRendererTemplateCallback.h>
#include "CData.h"
#include "CAbstr... | 36.348837 | 143 | 0.849648 | readdle |
48a8070872b2db78c4ef2c254d17a73283de9be7 | 514 | cpp | C++ | Codeforces/A_448.cpp | ahakouz17/Competitive-Programming-Practice | 5f4daaf491ab03bb86387e491ecc5634b7f99433 | [
"MIT"
] | null | null | null | Codeforces/A_448.cpp | ahakouz17/Competitive-Programming-Practice | 5f4daaf491ab03bb86387e491ecc5634b7f99433 | [
"MIT"
] | null | null | null | Codeforces/A_448.cpp | ahakouz17/Competitive-Programming-Practice | 5f4daaf491ab03bb86387e491ecc5634b7f99433 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main()
{
int n, sum = 0, temp, shelves = 0;
for (int i = 0; i < 3; i++)
{
scanf("%d", &temp);
sum += temp;
}
shelves += sum / 5;
if (sum % 5 != 0)
shelves++;
sum = 0;
for (int i = 0; i < 3; i++)
{
scanf("%d", &temp);
sum... | 17.724138 | 38 | 0.383268 | ahakouz17 |
48a8472b0de1d1e4264a77a96151090f3bc491c7 | 193 | cpp | C++ | kattis/zoo/zoo.cpp | pi-guy-in-the-sky/competitive-programming | e079f6caf07b5de061ea4f56218f9b577e49a965 | [
"MIT"
] | null | null | null | kattis/zoo/zoo.cpp | pi-guy-in-the-sky/competitive-programming | e079f6caf07b5de061ea4f56218f9b577e49a965 | [
"MIT"
] | null | null | null | kattis/zoo/zoo.cpp | pi-guy-in-the-sky/competitive-programming | e079f6caf07b5de061ea4f56218f9b577e49a965 | [
"MIT"
] | 1 | 2020-10-25T05:46:57.000Z | 2020-10-25T05:46:57.000Z | #include <iostream>
#include <string>
using namespace std;
int main() {
int n;
string
cin >> n;
while (n > 0) {
for (int i = 0; i < n; i++)
cin >> n;
}
} | 12.866667 | 35 | 0.455959 | pi-guy-in-the-sky |
48a97b4775396932a785c0deb33655b5fac7b3b7 | 4,856 | cpp | C++ | gsa/wit/COIN/Bcp/TM/BCP_tm_node.cpp | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 1 | 2019-10-25T05:25:23.000Z | 2019-10-25T05:25:23.000Z | gsa/wit/COIN/Bcp/TM/BCP_tm_node.cpp | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 2 | 2019-09-04T17:34:59.000Z | 2020-09-16T08:10:57.000Z | gsa/wit/COIN/Bcp/TM/BCP_tm_node.cpp | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 18 | 2019-07-22T19:01:25.000Z | 2022-03-03T15:36:11.000Z | // Copyright (C) 2000, International Business Machines
// Corporation and others. All Rights Reserved.
#include "BCP_tm.hpp"
#include "BCP_tm_user.hpp"
#include "BCP_tm_node.hpp"
#include "BCP_node_change.hpp"
//#############################################################################
BCP_tm_node::~BCP_tm_node()... | 30.161491 | 79 | 0.55416 | kant |
48aa101eddb97f962211341a51bb8ad0a307b828 | 2,787 | cpp | C++ | test/net/test_address_manager.cpp | EPI-ONE/epic | c314cab526641c00d49e51e08ec0793f1a6c171b | [
"MIT"
] | 24 | 2019-10-14T14:35:32.000Z | 2021-11-28T02:06:26.000Z | test/net/test_address_manager.cpp | EPI-ONE/epic | c314cab526641c00d49e51e08ec0793f1a6c171b | [
"MIT"
] | 3 | 2019-10-14T14:29:07.000Z | 2020-01-21T14:48:49.000Z | test/net/test_address_manager.cpp | EPI-ONE/epic | c314cab526641c00d49e51e08ec0793f1a6c171b | [
"MIT"
] | 4 | 2020-04-09T09:12:50.000Z | 2021-06-15T13:41:42.000Z | // Copyright (c) 2019 EPI-ONE Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <gtest/gtest.h>
#include "address_manager.h"
class TestAddressManager : public testing::Test {
public:
AddressManager a... | 31.314607 | 70 | 0.717976 | EPI-ONE |
48abc277e66474d520ca9e1938c3ea96b918c2eb | 1,484 | cpp | C++ | cpp/segment_trees/segtree2d_min.cpp | petuhovskiy/Templates-CP | 7419d5b5c6a92a98ba4d93525f6db22b7c3afa9e | [
"MIT"
] | 8 | 2016-06-05T19:19:27.000Z | 2019-05-14T10:33:37.000Z | cpp/segment_trees/segtree2d_min.cpp | petuhovskiy/Templates-CP | 7419d5b5c6a92a98ba4d93525f6db22b7c3afa9e | [
"MIT"
] | 2 | 2017-02-21T12:38:27.000Z | 2018-01-28T20:05:00.000Z | cpp/segment_trees/segtree2d_min.cpp | petuhovskiy/Templates-CP | 7419d5b5c6a92a98ba4d93525f6db22b7c3afa9e | [
"MIT"
] | 6 | 2015-12-26T21:12:17.000Z | 2022-03-26T21:40:17.000Z | class segtree{
public:
int n; // array size
vector<int> t;
void build(vector<int> &v) { // build the tree
for (int i = n; i < 2 * n; i++) t[i] = v[i - n];
for (int i = n - 1; i > 0; --i) t[i] = min(t[i<<1], t[i<<1|1]);
}
void build(segtree &t1, segtree &t2) { // build the tree
... | 26.035088 | 71 | 0.402291 | petuhovskiy |
48ac16a9362fecb2a66229ae8ae4449c8816d748 | 1,002 | cpp | C++ | Benchmarks/UnorderedMap/UMapAllocBench.cpp | adamhutchings/HackySTL | 624a0cdc92b297f52588190d3a693d6923b7a4e7 | [
"MIT"
] | 33 | 2020-11-20T14:58:25.000Z | 2022-03-04T10:04:08.000Z | Benchmarks/UnorderedMap/UMapAllocBench.cpp | adamhutchings/HackySTL | 624a0cdc92b297f52588190d3a693d6923b7a4e7 | [
"MIT"
] | 8 | 2021-01-05T23:18:32.000Z | 2022-02-22T18:25:37.000Z | Benchmarks/UnorderedMap/UMapAllocBench.cpp | HackyTeam/HackySTL | 2496c7e110a218d09c73005b5a39d15b380ce354 | [
"MIT"
] | 6 | 2021-01-05T22:02:57.000Z | 2022-02-22T18:34:22.000Z | #include <benchmark/benchmark.h>
#include "../../cpp/UnorderedMap.hpp"
static void MapBufAlloc(benchmark::State& state)
{
hsd::uchar buf[4096]{};
for(auto _ : state)
{
hsd::buffered_allocator<hsd::uchar> alloc{buf, 4096};
hsd::unordered_map<size_t, size_t, hsd::hash<size_t, size_t>, hsd::b... | 24.439024 | 106 | 0.5998 | adamhutchings |
48b1be830bec6aabb243a2c8faf705c2ee737be9 | 3,784 | cpp | C++ | src/reconstruct/weno5.cpp | luminoctum/athena-crm | 525ad5d1c442f9f6d66f2307eed88cd6fb723810 | [
"BSD-3-Clause"
] | null | null | null | src/reconstruct/weno5.cpp | luminoctum/athena-crm | 525ad5d1c442f9f6d66f2307eed88cd6fb723810 | [
"BSD-3-Clause"
] | null | null | null | src/reconstruct/weno5.cpp | luminoctum/athena-crm | 525ad5d1c442f9f6d66f2307eed88cd6fb723810 | [
"BSD-3-Clause"
] | null | null | null | //========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//===============================... | 37.098039 | 102 | 0.512421 | luminoctum |
48b479477ca9590c872460097b8fe6e1d43c6f40 | 34,695 | cc | C++ | src/GaIA/pkgs/nmap/nmap-6.40/portlist.cc | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | null | null | null | src/GaIA/pkgs/nmap/nmap-6.40/portlist.cc | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | null | null | null | src/GaIA/pkgs/nmap/nmap-6.40/portlist.cc | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | 1 | 2021-06-08T15:59:26.000Z | 2021-06-08T15:59:26.000Z | /***************************************************************************
* portlist.cc -- Functions for manipulating various lists of ports *
* maintained internally by Nmap. *
* *
***********... | 36.636748 | 108 | 0.638334 | uninth |
48b5f125075603cff51445c86f4837bcf448372f | 7,321 | cxx | C++ | main/fpicker/source/win32/filepicker/controlcommand.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/fpicker/source/win32/filepicker/controlcommand.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/fpicker/source/win32/filepicker/controlcommand.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.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 y... | 26.240143 | 103 | 0.502117 | Grosskopf |
48b5fbbb2924f7f6f143de57bc188593f3db3097 | 432 | cpp | C++ | linear-list/array/climbing_stairs.cpp | zhangxin23/leetcode | 4c8fc60e59448045a3e880caaedd0486164e68e7 | [
"MIT"
] | 1 | 2015-07-15T07:31:42.000Z | 2015-07-15T07:31:42.000Z | linear-list/array/climbing_stairs.cpp | zhangxin23/leetcode | 4c8fc60e59448045a3e880caaedd0486164e68e7 | [
"MIT"
] | null | null | null | linear-list/array/climbing_stairs.cpp | zhangxin23/leetcode | 4c8fc60e59448045a3e880caaedd0486164e68e7 | [
"MIT"
] | null | null | null | /**
*You are climbing a stair case. It takes n steps to reach to the top.
*Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
* */
class Solution {
public:
int climbStairs(int n) {
int prev = 0;
int cur = 1;
for(int i = 1; i <= n; i++) {
... | 22.736842 | 98 | 0.513889 | zhangxin23 |
48b7d4bd1fafc82dd2fd9a8c0364ea416fb66cda | 164 | cpp | C++ | atcoder/abc86_a.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 3 | 2018-01-08T02:52:51.000Z | 2021-03-03T01:08:44.000Z | atcoder/abc86_a.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | null | null | null | atcoder/abc86_a.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 1 | 2020-08-13T18:07:35.000Z | 2020-08-13T18:07:35.000Z | #include <bits/stdc++.h>
using namespace std;
int main(){
int a, b;
cin >> a >> b;
printf("%s\n", (a % 2 != 0 && b % 2 != 0) ? "Odd" : "Even");
return 0;
}
| 18.222222 | 62 | 0.47561 | cosmicray001 |
48bfd7aa35f34e02e3032c71d380f1497af2dfc3 | 744 | cpp | C++ | src/lib/word_loader.cpp | michielgoethals/word-blaster-solution | 58720caeeda16356b32ade501add2e018a3b755d | [
"MIT"
] | null | null | null | src/lib/word_loader.cpp | michielgoethals/word-blaster-solution | 58720caeeda16356b32ade501add2e018a3b755d | [
"MIT"
] | null | null | null | src/lib/word_loader.cpp | michielgoethals/word-blaster-solution | 58720caeeda16356b32ade501add2e018a3b755d | [
"MIT"
] | 3 | 2020-06-03T10:01:22.000Z | 2020-10-02T11:26:18.000Z | #include "word_loader.h"
#include <fstream>
#include <iostream>
namespace WordBlasterTheGame {
void WordLoader::load(WordList * words, std::string filename) {
// Load from file - see https://oop-cpp.netlify.app/09-file-streams/#reading-from-a-file
// File stream object
std::ifstream file;
file.open... | 24 | 92 | 0.620968 | michielgoethals |
48c02e5e008707e7f7c4f024fab781fa457f54cb | 5,801 | cpp | C++ | src/slib/social/facebook.cpp | emarc99/SLib | 4e492d6c550f845fd1b3f40bf10183097eb0e53c | [
"MIT"
] | 146 | 2017-03-21T07:50:43.000Z | 2022-03-19T03:32:22.000Z | src/slib/social/facebook.cpp | Crasader/SLib | 4e492d6c550f845fd1b3f40bf10183097eb0e53c | [
"MIT"
] | 50 | 2017-03-22T04:08:15.000Z | 2019-10-21T16:55:48.000Z | src/slib/social/facebook.cpp | Crasader/SLib | 4e492d6c550f845fd1b3f40bf10183097eb0e53c | [
"MIT"
] | 55 | 2017-03-21T07:52:58.000Z | 2021-12-27T13:02:08.000Z | /*
* Copyright (c) 2008-2019 SLIBIO <https://github.com/SLIBIO>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* ... | 27.363208 | 141 | 0.726599 | emarc99 |
48c1139d6b2aef6f5c0145f943bc1d3c135b6c10 | 2,751 | cpp | C++ | lib/primesieve/src/PreSieve.cpp | KrishnaPrasath/primecount | 16e6f70643c45aaac8a96aa127f21b1ed1a51063 | [
"BSD-2-Clause"
] | 1 | 2019-11-10T18:45:48.000Z | 2019-11-10T18:45:48.000Z | lib/primesieve/src/PreSieve.cpp | KrishnaPrasath/primecount | 16e6f70643c45aaac8a96aa127f21b1ed1a51063 | [
"BSD-2-Clause"
] | null | null | null | lib/primesieve/src/PreSieve.cpp | KrishnaPrasath/primecount | 16e6f70643c45aaac8a96aa127f21b1ed1a51063 | [
"BSD-2-Clause"
] | null | null | null | ///
/// @file PreSieve.cpp
/// @brief Pre-sieve multiples of small primes to speed up
/// the sieve of Eratosthenes.
///
/// Copyright (C) 2018 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level directory.
///
#include <prim... | 25.95283 | 79 | 0.671029 | KrishnaPrasath |
48c3ff7071457459aaa9ff43e137fcb2f82e27f3 | 517 | hpp | C++ | include/sigma/graphics/cubemap.hpp | siegelaaron94/engine | e09985b37de8d3d671878b9e0385e8d73cd0f441 | [
"MIT"
] | 3 | 2017-03-30T03:08:48.000Z | 2018-07-27T17:48:41.000Z | include/sigma/graphics/cubemap.hpp | siegelaaron94/engine | e09985b37de8d3d671878b9e0385e8d73cd0f441 | [
"MIT"
] | 34 | 2016-12-28T18:04:22.000Z | 2017-06-01T07:32:48.000Z | include/sigma/graphics/cubemap.hpp | siegelaaron94/engine | e09985b37de8d3d671878b9e0385e8d73cd0f441 | [
"MIT"
] | 1 | 2017-05-13T05:45:01.000Z | 2017-05-13T05:45:01.000Z | #ifndef SIGMA_GRAPHICS_CUBEMAP_HPP
#define SIGMA_GRAPHICS_CUBEMAP_HPP
#include <sigma/config.hpp>
#include <sigma/graphics/texture.hpp>
#include <array>
namespace sigma {
namespace graphics {
struct cubemap {
enum class face : unsigned int {
POSITIVE_X,
NEGATIVE_X,
PO... | 18.464286 | 54 | 0.618956 | siegelaaron94 |
48c61af5fac5e146420d2797ea39da58fff100e7 | 5,748 | cpp | C++ | Sources/Core/Surface/ImplicitSurfaceSet3.cpp | utilForever/CubbyFlow-v1 | d85c136d8eaa91ecce456c3356c7e578dda5d5bd | [
"MIT"
] | 3 | 2020-04-15T13:41:16.000Z | 2020-12-29T11:23:59.000Z | Sources/Core/Surface/ImplicitSurfaceSet3.cpp | utilForever/CubbyFlow-v1 | d85c136d8eaa91ecce456c3356c7e578dda5d5bd | [
"MIT"
] | null | null | null | Sources/Core/Surface/ImplicitSurfaceSet3.cpp | utilForever/CubbyFlow-v1 | d85c136d8eaa91ecce456c3356c7e578dda5d5bd | [
"MIT"
] | null | null | null | /*************************************************************************
> File Name: ImplicitSurfaceSet3.cpp
> Project Name: CubbyFlow
> Author: Dongmin Kim
> Purpose: 3-D implicit surface set.
> Created Time: 2017/04/18
> Copyright (c) 2018, Dongmin Kim
**************************************************************... | 24.253165 | 128 | 0.718337 | utilForever |
48c67e2ad26fdc3c2748e7b63e2b0b6d4dc41aa2 | 3,287 | cpp | C++ | src/HumdrumFileContent-timesig.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 19 | 2016-06-18T02:03:56.000Z | 2022-02-23T17:26:32.000Z | src/HumdrumFileContent-timesig.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 43 | 2017-03-09T07:32:12.000Z | 2022-03-23T20:18:35.000Z | src/HumdrumFileContent-timesig.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 5 | 2019-11-14T22:24:02.000Z | 2021-09-07T18:27:21.000Z | //
// Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu>
// Creation Date: Wed Nov 30 22:27:57 PST 2016
// Last Modified: Wed Nov 30 22:28:03 PST 2016
// Filename: HumdrumFileContent-timesig.cpp
// URL: https://github.com/craigsapp/humlib/blob/master/src/HumdrumFileContent-timesig.cpp
// Syntax:... | 26.087302 | 100 | 0.628841 | johnnymac647 |
48c8cc9758779b2a17818786c04154910b6436d0 | 204 | cpp | C++ | CodeForces/StonesontheTable.cpp | mysterio0801/CP | 68983c423a42f98d6e9bf5375bc3f936e980d631 | [
"MIT"
] | null | null | null | CodeForces/StonesontheTable.cpp | mysterio0801/CP | 68983c423a42f98d6e9bf5375bc3f936e980d631 | [
"MIT"
] | null | null | null | CodeForces/StonesontheTable.cpp | mysterio0801/CP | 68983c423a42f98d6e9bf5375bc3f936e980d631 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
string str;
cin>>str;
int count = 0;
for(int i = 1; i < n; i++){
if(str[i] == str[i-1]){
count++;
}
}
cout<<count;
} | 12.75 | 28 | 0.529412 | mysterio0801 |
48c9d6686ef4c99b92b07ded20964e49ad020417 | 2,372 | cpp | C++ | src/maze.cpp | carolinafsilva/Pacman | e7c5c1c448d4888bdf1c6e72e9a542bdebe65720 | [
"MIT"
] | null | null | null | src/maze.cpp | carolinafsilva/Pacman | e7c5c1c448d4888bdf1c6e72e9a542bdebe65720 | [
"MIT"
] | null | null | null | src/maze.cpp | carolinafsilva/Pacman | e7c5c1c448d4888bdf1c6e72e9a542bdebe65720 | [
"MIT"
] | null | null | null | #include "maze.hpp"
glm::vec2 Maze::getCenter(glm::vec3 position) {
return glm::vec2(position.x + position.z / 2, position.y + position.z / 2);
}
int Maze::getDotsRemaining() { return this->dotsRemaining; }
void Maze::decrementDotsRemaining() { this->dotsRemaining -= 1; }
glm::ivec2 Maze::pixelToBlock(glm::vec2 ce... | 23.485149 | 80 | 0.580523 | carolinafsilva |
48c9fe84f315acb92daf5d2c61d6356adc384b98 | 183 | cpp | C++ | decibel-cpp/src/decibel/messaging/IRabbitMQMessageHandler.cpp | kcollinssibley/sysadmin | 81b6c424f7d9d5c25724cd1f544902ff3ff62cc2 | [
"Apache-2.0"
] | 14 | 2017-05-31T19:38:25.000Z | 2022-01-19T20:56:32.000Z | decibel-cpp/src/decibel/messaging/IRabbitMQMessageHandler.cpp | kcollinssibley/sysadmin | 81b6c424f7d9d5c25724cd1f544902ff3ff62cc2 | [
"Apache-2.0"
] | 26 | 2017-06-07T14:05:07.000Z | 2020-01-29T20:06:34.000Z | decibel-cpp/src/decibel/messaging/IRabbitMQMessageHandler.cpp | kcollinssibley/sysadmin | 81b6c424f7d9d5c25724cd1f544902ff3ff62cc2 | [
"Apache-2.0"
] | 9 | 2017-05-31T21:09:59.000Z | 2021-05-14T15:11:18.000Z | #include "decibel/messaging/IRabbitMQMessageHandler.h"
namespace decibel
{
namespace messaging
{
IRabbitMQMessageHandler::~IRabbitMQMessageHandler()
{
}
} // messaging
} // decibel
| 14.076923 | 54 | 0.781421 | kcollinssibley |
48cc911ba80c0bcc04638e7a876264525d073b20 | 10,553 | cc | C++ | media/cast/logging/encoding_event_subscriber.cc | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | media/cast/logging/encoding_event_subscriber.cc | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | media/cast/logging/encoding_event_subscriber.cc | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:24:13.000Z | 2020-11-04T07:24:13.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/cast/logging/encoding_event_subscriber.h"
#include <cstring>
#include <utility>
#include "base/logging.h"
#include "media/cast/logging/p... | 36.770035 | 80 | 0.745191 | justremotephone |
48d249155316e82448c83a262b1e421122d18026 | 3,131 | cpp | C++ | development/core/src/SOSrv/SOSrvXML.cpp | Movares/OPC-Classic-SDK | 65e022dd4ccf20bbdacdfc49cac23bd99d773b98 | [
"MIT"
] | 19 | 2021-05-19T11:03:57.000Z | 2022-03-18T06:53:48.000Z | development/core/src/SOSrv/SOSrvXML.cpp | Movares/OPC-Classic-SDK | 65e022dd4ccf20bbdacdfc49cac23bd99d773b98 | [
"MIT"
] | 8 | 2021-04-26T10:47:20.000Z | 2022-03-15T11:25:07.000Z | development/core/src/SOSrv/SOSrvXML.cpp | Movares/OPC-Classic-SDK | 65e022dd4ccf20bbdacdfc49cac23bd99d773b98 | [
"MIT"
] | 11 | 2021-05-28T06:35:20.000Z | 2022-03-31T14:07:25.000Z | //-----------------------------------------------------------------------------
// |
// Softing Industrial Automation GmbH |
// Richard-Reitzner-Allee 6 |
... | 38.182927 | 129 | 0.377196 | Movares |
48d4c5be790ad7d2bf66586478375f35467d8c9d | 8,525 | cpp | C++ | TESTS/TARGET_RDA/dcs2_sdk/duerapp_alarm.cpp | ghsecuritylab/RDA5981_Develop | bb97e2ae458a5bbb4757c8fe4c7fbc4401356db2 | [
"Apache-2.0"
] | 3 | 2018-03-13T13:42:12.000Z | 2019-05-17T11:48:04.000Z | TESTS/TARGET_RDA/dcs2_sdk/duerapp_alarm.cpp | ghsecuritylab/RDA5981_Develop | bb97e2ae458a5bbb4757c8fe4c7fbc4401356db2 | [
"Apache-2.0"
] | null | null | null | TESTS/TARGET_RDA/dcs2_sdk/duerapp_alarm.cpp | ghsecuritylab/RDA5981_Develop | bb97e2ae458a5bbb4757c8fe4c7fbc4401356db2 | [
"Apache-2.0"
] | 8 | 2018-01-28T02:23:18.000Z | 2021-02-26T01:15:55.000Z | // Copyright (2017) Baidu Inc. All rights reserved.
/**
* File: duerapp_alarm.cpp
* Auth: Gang Chen(chengang12@baidu.com)
* Desc: Duer alarm functions.
*/
#include "duerapp_alarm.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <list.h>
#include "mbed.h"
#include "heap_moni... | 25.833333 | 99 | 0.604692 | ghsecuritylab |
48d8f8775f3a096dcde034aee4c13a4a099db4cd | 115 | cpp | C++ | source/qt_Kviewer/s4KlogicItem.cpp | chinsaiki/s4-gui | c8a11aad28150da71127b89370bea9b7e2530fee | [
"MIT"
] | null | null | null | source/qt_Kviewer/s4KlogicItem.cpp | chinsaiki/s4-gui | c8a11aad28150da71127b89370bea9b7e2530fee | [
"MIT"
] | null | null | null | source/qt_Kviewer/s4KlogicItem.cpp | chinsaiki/s4-gui | c8a11aad28150da71127b89370bea9b7e2530fee | [
"MIT"
] | null | null | null | #include "qt_Kviewer/s4KlogicItem.h"
#include "qt_Kviewer/s4Kinstrument_scene.h"
namespace S4{
namespace QT{
}
} | 12.777778 | 43 | 0.773913 | chinsaiki |
48d9dfad5c420c628d213b122d110468a011f4dc | 5,937 | cpp | C++ | test/psim/core/state_field_test.cpp | kylekrol/psim | a4817117189f0f5597452076e6e138f70f51d4e8 | [
"MIT"
] | 5 | 2020-04-11T06:53:46.000Z | 2022-01-05T05:39:11.000Z | test/psim/core/state_field_test.cpp | kylekrol/psim | a4817117189f0f5597452076e6e138f70f51d4e8 | [
"MIT"
] | 201 | 2019-09-05T03:46:21.000Z | 2022-01-08T04:44:16.000Z | test/psim/core/state_field_test.cpp | kylekrol/psim | a4817117189f0f5597452076e6e138f70f51d4e8 | [
"MIT"
] | 10 | 2019-10-12T17:24:34.000Z | 2022-02-25T01:20:14.000Z | /** @file test/psim/core/state_field_test.cpp
* @author Kyle Krol
*/
#include <gtest/gtest.h>
#include <psim/core/state_field.hpp>
#include <psim/core/state_field_lazy.hpp>
#include <psim/core/state_field_valued.hpp>
#include <psim/core/types.hpp>
#include <stdexcept>
TEST(StateField, TestCast) {
psim::StateFi... | 27.359447 | 80 | 0.644096 | kylekrol |
48ddb84cca2894ad7aecd0a9483cae2a49f8e7c8 | 422 | cpp | C++ | 999_Practice_Set_2/Day_004/041_decimal_to_binary.cpp | Gandham-Srinithya/Data-Structure-and-Algorithms | 177d03105188c83a157947ca9870bf8037e92528 | [
"MIT"
] | 126 | 2019-12-22T17:49:08.000Z | 2021-12-14T18:45:51.000Z | 999_Practice_Set_2/Day_004/041_decimal_to_binary.cpp | Gandham-Srinithya/Data-Structure-and-Algorithms | 177d03105188c83a157947ca9870bf8037e92528 | [
"MIT"
] | 7 | 2019-12-25T18:03:41.000Z | 2021-02-20T06:25:27.000Z | 999_Practice_Set_2/Day_004/041_decimal_to_binary.cpp | Gandham-Srinithya/Data-Structure-and-Algorithms | 177d03105188c83a157947ca9870bf8037e92528 | [
"MIT"
] | 54 | 2019-12-26T06:28:39.000Z | 2022-02-01T05:04:43.000Z | #include <iostream>
using namespace std;
int decimalToBinary(int decimal)
{
int x = 1;
int binary=0;
while(x <= decimal)
{
x*=2;
}
x/=2;
while(x>0)
{
int last = decimal/x;
decimal-=last*x;
x/=2;
binary*=10;
binary+=last;
}
retur... | 12.057143 | 35 | 0.483412 | Gandham-Srinithya |
48de7bf0f1731b7c20c9ecc2a2f190011978cdc6 | 13,463 | cpp | C++ | resource/csdk/security/provisioning/unittest/ocprovisioningmanager.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 301 | 2015-01-20T16:11:32.000Z | 2021-11-25T04:29:36.000Z | resource/csdk/security/provisioning/unittest/ocprovisioningmanager.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 13 | 2015-06-04T09:55:15.000Z | 2020-09-23T00:38:07.000Z | resource/csdk/security/provisioning/unittest/ocprovisioningmanager.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 233 | 2015-01-26T03:41:59.000Z | 2022-03-18T23:54:04.000Z | /* *****************************************************************
*
* Copyright 2015 Samsung Electronics 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
*... | 31.529274 | 103 | 0.721013 | jonghenhan |
48e402a279e54f54ab56e5d057de0f3300f6cece | 9,435 | cpp | C++ | src/project/SEProjectProj.cpp | ysbing/voo | 329d6a72ede6dd5903ca4d824bb3c49a5502f5c3 | [
"Apache-2.0"
] | 56 | 2022-01-29T04:52:27.000Z | 2022-03-31T06:52:15.000Z | src/project/SEProjectProj.cpp | jumpingfrog0/VOO | af191ece986f997cf98f85016aa7288c323210c3 | [
"Apache-2.0"
] | null | null | null | src/project/SEProjectProj.cpp | jumpingfrog0/VOO | af191ece986f997cf98f85016aa7288c323210c3 | [
"Apache-2.0"
] | 16 | 2022-01-29T04:52:39.000Z | 2022-03-31T07:48:53.000Z | #include "SEProjectProj.h"
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QJsonDocument>
#include <QJsonObject>
#include <QTextStream>
#include <QTimer>
#include <QUrl>
#include <QUuid>
#include <QtGlobal>
#include "SEProject.h"
#include "base/http/SEHttpClient.h"
#include "base/ut... | 30.047771 | 108 | 0.630207 | ysbing |
48e7e68b78f7409dcf2aa8a0d06ed1180f1852ab | 3,575 | cc | C++ | inet/src/inet/networklayer/common/L3Tools.cc | ntanetani/quisp | 003f85746266d2eb62c66883e5b965b654672c70 | [
"BSD-3-Clause"
] | null | null | null | inet/src/inet/networklayer/common/L3Tools.cc | ntanetani/quisp | 003f85746266d2eb62c66883e5b965b654672c70 | [
"BSD-3-Clause"
] | null | null | null | inet/src/inet/networklayer/common/L3Tools.cc | ntanetani/quisp | 003f85746266d2eb62c66883e5b965b654672c70 | [
"BSD-3-Clause"
] | 1 | 2021-07-02T13:32:40.000Z | 2021-07-02T13:32:40.000Z | //
// Copyright (C) 2017 OpenSim Ltd.
//
// This program 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 version 2
// of the License, or (at your option) any later version.
//
// This program i... | 33.101852 | 141 | 0.75049 | ntanetani |
48e8674d6d5517f40558d623134166ad6e310637 | 12,945 | cpp | C++ | platform_bionic-android-vts-12.0_r2/libc/bionic/fdsan.cpp | webos21/xbionic | ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a | [
"Apache-2.0"
] | 1 | 2019-05-04T02:30:08.000Z | 2019-05-04T02:30:08.000Z | platform_bionic-android-vts-12.0_r2/libc/bionic/fdsan.cpp | webos21/xbionic | ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a | [
"Apache-2.0"
] | null | null | null | platform_bionic-android-vts-12.0_r2/libc/bionic/fdsan.cpp | webos21/xbionic | ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, t... | 33.363402 | 99 | 0.69803 | webos21 |
48ea917edb1ea6085842e06dcf134ff0055369a5 | 3,951 | cpp | C++ | src/Audio.cpp | noloitering/NoSFX | 0ed636db4c403c7cb8a6ffb1714db2b46d105329 | [
"Zlib"
] | null | null | null | src/Audio.cpp | noloitering/NoSFX | 0ed636db4c403c7cb8a6ffb1714db2b46d105329 | [
"Zlib"
] | null | null | null | src/Audio.cpp | noloitering/NoSFX | 0ed636db4c403c7cb8a6ffb1714db2b46d105329 | [
"Zlib"
] | null | null | null | #include "Audio.h"
using namespace NoSFX;
AudioManager::AudioManager(std::shared_ptr< Music > music, float vol, float pitch, bool play)
{
InitAudioDevice();
if ( vol >= 1 )
{
volume.master = 1;
}
else if ( vol > 0 )
{
volume.master = vol;
}
else
{
volume.master = 0;
}
SetMasterVolume(volume.master);
... | 16.060976 | 108 | 0.660086 | noloitering |
48ec48a27482e7ed71f133ea6d5f0ac818e64a5a | 1,019 | cpp | C++ | DMOPC/dmopc20c3p4.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | DMOPC/dmopc20c3p4.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | DMOPC/dmopc20c3p4.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | #ifndef LOCAL
#pragma GCC optimize("O3")
#pragma GCC target("sse4")
#endif
#include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
using namespace std;
const int MM = 3e4+5;
int n, a[MM], psa[MM], ans;
int dp[MM], pre[MM];
//dp[index][cnt] = max{last length}
int mx1[MM], mx2[MM];
void go(){
... | 17.271186 | 38 | 0.479882 | crackersamdjam |
48f0b52da3268d26c99b9e6a2e3b98518b135c5e | 428 | cpp | C++ | DearPyGui/src/core/PythonUtilities/mvPythonExceptions.cpp | iqxd/DearPyGui | ad6209cb9b7e2a6466a49ce71a438d1d349f0374 | [
"MIT"
] | null | null | null | DearPyGui/src/core/PythonUtilities/mvPythonExceptions.cpp | iqxd/DearPyGui | ad6209cb9b7e2a6466a49ce71a438d1d349f0374 | [
"MIT"
] | null | null | null | DearPyGui/src/core/PythonUtilities/mvPythonExceptions.cpp | iqxd/DearPyGui | ad6209cb9b7e2a6466a49ce71a438d1d349f0374 | [
"MIT"
] | null | null | null | #define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <frameobject.h>
#include <string>
#include "mvPythonTranslator.h"
#include "mvGlobalIntepreterLock.h"
namespace Marvel
{
void ThrowPythonException(const std::string& message)
{
std::string fullMessage = "Line: %d \t" + message;
int line = PyFrame_GetLineNu... | 19.454545 | 59 | 0.742991 | iqxd |
f70a943e238450ef3c4c3c3937d3ac87541e073a | 3,267 | cpp | C++ | src/external_source_ui.cpp | indjev99/Sixty-Six-Bot | 7a09e4fade6671ebf51f8721b860b7f48653d7a9 | [
"MIT"
] | null | null | null | src/external_source_ui.cpp | indjev99/Sixty-Six-Bot | 7a09e4fade6671ebf51f8721b860b7f48653d7a9 | [
"MIT"
] | null | null | null | src/external_source_ui.cpp | indjev99/Sixty-Six-Bot | 7a09e4fade6671ebf51f8721b860b7f48653d7a9 | [
"MIT"
] | null | null | null | #include "external_source_ui.h"
#include "printing.h"
#include "config.h"
#include "util.h"
#include <iostream>
Move stringToMove(const std::string& moveStr)
{
Move move;
move.type = M_CLOSE;
if (stringMatch(moveStr, move.toString())) return move;
move.type = M_EXCHANGE;
if (stringMatch(moveStr, ... | 19.217647 | 65 | 0.563208 | indjev99 |
f70b496324744403c23597e19012e584c08a599b | 667 | cpp | C++ | parser/src/Simp.cpp | AnZhuoKaiFaZhe/ctl2snf | 935574f871e05068c9931d2444cfd50759fae0bc | [
"MIT"
] | null | null | null | parser/src/Simp.cpp | AnZhuoKaiFaZhe/ctl2snf | 935574f871e05068c9931d2444cfd50759fae0bc | [
"MIT"
] | null | null | null | parser/src/Simp.cpp | AnZhuoKaiFaZhe/ctl2snf | 935574f871e05068c9931d2444cfd50759fae0bc | [
"MIT"
] | null | null | null | //
// Created by mzy on 2021-06-03.
//
#include "Simp.hpp"
Tree<ASTNode>* simp(Tree<ASTNode>* n,Tree<ASTNode>* l,Tree<ASTNode>* r){
switch (n->root.type) {
case NodeType_t::LogicAnd:
if(l->root.type==NodeType_t::True || r->root.type==NodeType_t::False)return r;
if(l->root.t... | 33.35 | 91 | 0.574213 | AnZhuoKaiFaZhe |
f70e82ed932ea8fe65fe964d8675f22c2d8386f3 | 2,543 | cpp | C++ | libnd4j/include/execution/cpu/ContextBuffers.cpp | steljord2/deeplearning4j | 4653c97a713cc59e41d4313ddbafc5ff527f8714 | [
"Apache-2.0"
] | 2,206 | 2019-06-12T18:57:14.000Z | 2022-03-29T08:14:27.000Z | libnd4j/include/execution/cpu/ContextBuffers.cpp | steljord2/deeplearning4j | 4653c97a713cc59e41d4313ddbafc5ff527f8714 | [
"Apache-2.0"
] | 1,685 | 2019-06-12T17:41:33.000Z | 2022-03-29T21:45:15.000Z | libnd4j/include/execution/cpu/ContextBuffers.cpp | steljord2/deeplearning4j | 4653c97a713cc59e41d4313ddbafc5ff527f8714 | [
"Apache-2.0"
] | 572 | 2019-06-12T22:13:57.000Z | 2022-03-31T16:46:46.000Z | /* ******************************************************************************
*
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* See the NOTICE file distributed wit... | 32.189873 | 94 | 0.711365 | steljord2 |
f70f523674c5a3c39d45f96b8253a261d75537c6 | 1,891 | cpp | C++ | Engine/WindowInspector.cpp | elliotjb/CulverinEngine-Project3 | cc386713dd786e2a52cc9b219a0d701a9398f202 | [
"MIT"
] | 2 | 2018-01-20T18:17:22.000Z | 2018-01-20T18:17:28.000Z | Engine/WindowInspector.cpp | TempName0/TempMotor3D_P3 | cc386713dd786e2a52cc9b219a0d701a9398f202 | [
"MIT"
] | null | null | null | Engine/WindowInspector.cpp | TempName0/TempMotor3D_P3 | cc386713dd786e2a52cc9b219a0d701a9398f202 | [
"MIT"
] | 1 | 2018-06-16T16:12:11.000Z | 2018-06-16T16:12:11.000Z | #include "Application.h"
#include "WindowInspector.h"
#include "ModuleWindow.h"
#include "GameObject.h"
#include "Component.h"
Inspector::Inspector() : WindowManager()
{
active.push_back(Active());
name = "Inspector";
}
Inspector::~Inspector()
{
active.clear();
selected_object = nullptr;
}
bool Inspector::Start(... | 17.190909 | 69 | 0.707562 | elliotjb |
f71847bfbead41a06b5b9259c735f6bbc0405553 | 575 | cpp | C++ | Codeforces/1038A - Equality.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/1038A - Equality.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/1038A - Equality.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
#ifndef ONLINE_JUDGE
freopen("files/input.txt", "r", stdin);
freopen("files/output.txt", "w", stdout);
#endif
int n, k;
cin >> n >> k;
string s; cin >> s;
map<char, int> freq;
for (int... | 21.296296 | 73 | 0.518261 | naimulcsx |
f71c1bb2d46372b72552be3a8b8d3cfb43d3a2bc | 11,580 | cpp | C++ | src/model/test/Blind_GTest.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 354 | 2015-01-10T17:46:11.000Z | 2022-03-29T10:00:00.000Z | src/model/test/Blind_GTest.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 3,243 | 2015-01-02T04:54:45.000Z | 2022-03-31T17:22:22.000Z | src/model/test/Blind_GTest.cpp | jmarrec/OpenStudio | 5276feff0d8dbd6c8ef4e87eed626bc270a19b14 | [
"blessing"
] | 157 | 2015-01-07T15:59:55.000Z | 2022-03-30T07:46:09.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 45.411765 | 125 | 0.75924 | muehleisen |
f71fbd4c04cf222da4973ed3470714f656cd8a3e | 807 | cpp | C++ | wrapper/Lua/funcs/Interface.cpp | arrayfire/arrayfire-lua | 5cd1e7702cd37d3bae60cfbc819c01cda1d0f6ec | [
"BSD-3-Clause"
] | 10 | 2015-09-21T07:20:20.000Z | 2019-07-29T10:36:50.000Z | wrapper/Lua/funcs/Interface.cpp | arrayfire/arrayfire-lua | 5cd1e7702cd37d3bae60cfbc819c01cda1d0f6ec | [
"BSD-3-Clause"
] | 3 | 2015-09-20T06:15:41.000Z | 2017-02-27T01:38:04.000Z | wrapper/Lua/funcs/Interface.cpp | arrayfire/arrayfire_lua | 5cd1e7702cd37d3bae60cfbc819c01cda1d0f6ec | [
"BSD-3-Clause"
] | 5 | 2015-09-21T10:12:43.000Z | 2021-03-05T02:07:50.000Z | #include <arrayfire.h>
#ifdef WANT_CUDA
#include <../cuda.h>
#endif
#ifdef WANT_OPENCL
#include <../opencl.h>
#endif
// ^^^ TODO: probably not right!
#include "../funcs.h"
static const struct luaL_Reg interface_funcs[] = {
#if AF_API_VERSION >= 32
#if WANT_OPENCL
{
// af_err afcl_get_context (cl_context * ctx... | 15.519231 | 73 | 0.675341 | arrayfire |
f72434e9f0124e599fd2c79d8dc8e033a49265c3 | 10,430 | cxx | C++ | smtk/geometry/testing/cxx/TestGeometry.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 40 | 2015-02-21T19:55:54.000Z | 2022-01-06T13:13:05.000Z | smtk/geometry/testing/cxx/TestGeometry.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 127 | 2015-01-15T20:55:45.000Z | 2021-08-19T17:34:15.000Z | smtk/geometry/testing/cxx/TestGeometry.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 27 | 2015-03-04T14:17:51.000Z | 2021-12-23T01:05:42.000Z | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 29.052925 | 100 | 0.662416 | jcfr |
f72726336c53431cac227d0e2884a824c6cddd5f | 344 | cpp | C++ | libraries/glua/glua_api_types.cpp | tiaotiao00/HSR00qianbao | a88afebeb98e786389f369447bcf9c3a2a352cfa | [
"MIT"
] | 66 | 2017-09-29T07:09:59.000Z | 2020-01-12T06:45:08.000Z | libraries/glua/glua_api_types.cpp | tiaotiao00/HSR00qianbao | a88afebeb98e786389f369447bcf9c3a2a352cfa | [
"MIT"
] | 5 | 2017-12-13T13:12:05.000Z | 2018-01-18T10:34:02.000Z | libraries/glua/glua_api_types.cpp | tiaotiao00/HSR00qianbao | a88afebeb98e786389f369447bcf9c3a2a352cfa | [
"MIT"
] | 11 | 2017-12-05T07:02:05.000Z | 2018-01-28T02:52:50.000Z | #include <glua/glua_api_types.h>
#include <glua/hsrcore_lua_api.h>
GluaModuleByteStream::GluaModuleByteStream()
{
is_bytes = false;
contract_level = CONTRACT_LEVEL_TEMP;
contract_state = CONTRACT_STATE_VALID;
}
GluaModuleByteStream::~GluaModuleByteStream()
{
contract_apis.clear();
offline_apis.clear();
contract... | 20.235294 | 45 | 0.793605 | tiaotiao00 |
f729b82eed46a2762653e8db87479c1ff28d01fe | 30,395 | cpp | C++ | src/MuiTextArea.cpp | kritzikratzi/ofxMightyUI | 63eaa7fcc8739e019f27500f68c4129a18be5434 | [
"MIT"
] | 52 | 2015-02-19T21:22:19.000Z | 2022-01-24T07:59:07.000Z | src/MuiTextArea.cpp | kritzikratzi/ofxMightyUI | 63eaa7fcc8739e019f27500f68c4129a18be5434 | [
"MIT"
] | 5 | 2016-05-22T16:39:57.000Z | 2020-09-19T20:29:20.000Z | src/MuiTextArea.cpp | kritzikratzi/ofxMightyUI | 63eaa7fcc8739e019f27500f68c4129a18be5434 | [
"MIT"
] | 14 | 2015-05-19T10:04:52.000Z | 2021-05-12T09:07:22.000Z | /*
* TextArea.cpp
*
* Text TextArea
* - Supports vertical and horizontal alignments
* - Call commit() after changing text, fontSize, fontName or any of the other variables (except bounds!).
* - fg variable affects text color (no commit needed)
* - Only support multiline
*/
#include "MuiTextArea.h"
#inclu... | 30.857868 | 190 | 0.676921 | kritzikratzi |
f72e91096e08bad14971818b061f7bd92afd36ed | 2,158 | cpp | C++ | core/FluffiTester/testApplications/src/linux/DebuggerTester.cpp | sears-s/fluffi | 5f2f6d019041a6268199b69bf2f34487b18b84fe | [
"MIT"
] | 96 | 2019-09-19T10:28:05.000Z | 2022-02-28T11:53:06.000Z | core/FluffiTester/testApplications/src/linux/DebuggerTester.cpp | sears-s/fluffi | 5f2f6d019041a6268199b69bf2f34487b18b84fe | [
"MIT"
] | 123 | 2019-11-19T09:47:14.000Z | 2021-10-19T03:10:51.000Z | core/FluffiTester/testApplications/src/linux/DebuggerTester.cpp | sears-s/fluffi | 5f2f6d019041a6268199b69bf2f34487b18b84fe | [
"MIT"
] | 23 | 2019-11-11T06:04:56.000Z | 2022-02-11T15:35:26.000Z | /*
Copyright 2017-2020 Siemens AG
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including without
limitation the rights to use, copy, modify, merge, publish, distribute,
sub... | 26.975 | 82 | 0.698332 | sears-s |
f72ea536fbd1ab386b96f493d9c83c123905bc85 | 1,871 | cc | C++ | tensorflow/contrib/factorization/ops/factorization_ops.cc | connectthefuture/tensorflow | 93812423fcd5878aa2c1d0b68dc0496980c8519d | [
"Apache-2.0"
] | 680 | 2016-12-03T14:38:28.000Z | 2022-02-16T04:06:45.000Z | tensorflow/contrib/factorization/ops/factorization_ops.cc | connectthefuture/tensorflow | 93812423fcd5878aa2c1d0b68dc0496980c8519d | [
"Apache-2.0"
] | 38 | 2016-11-17T08:43:51.000Z | 2019-11-12T12:27:04.000Z | tensorflow/contrib/factorization/ops/factorization_ops.cc | connectthefuture/tensorflow | 93812423fcd5878aa2c1d0b68dc0496980c8519d | [
"Apache-2.0"
] | 250 | 2016-12-05T10:37:17.000Z | 2022-03-18T21:26:55.000Z | // Copyright 2016 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 ... | 39.808511 | 81 | 0.721005 | connectthefuture |
f72fbfb118491d9658517a41feba8e1f12c5e7f8 | 529 | cpp | C++ | baekjoon/2156.cpp | 3-24/Competitive-Programming | 8cb3b85bf89db2c173cb0b136de27f2983f335fc | [
"MIT"
] | 1 | 2019-07-15T00:27:37.000Z | 2019-07-15T00:27:37.000Z | baekjoon/2156.cpp | 3-24/Competitive-Programming | 8cb3b85bf89db2c173cb0b136de27f2983f335fc | [
"MIT"
] | null | null | null | baekjoon/2156.cpp | 3-24/Competitive-Programming | 8cb3b85bf89db2c173cb0b136de27f2983f335fc | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
int n;
scanf("%d",&n);
int arr[n+1],D[n+1],i;
for (i=0;i<n;i++){
scanf("%d",&arr[i]);
}
for (i=0;i<n;i++){
if (i==0){D[i] = arr[0];}
else if (i==1){D[i] = arr[0]+arr[1];}
... | 22.041667 | 73 | 0.425331 | 3-24 |
f730000977e3f3c5d38f1cc8f45305e50d49f622 | 10,155 | cpp | C++ | osrMain/DX11RenderMain.cpp | OSRTeam/OpenSoundRefenation | 3118ea723a2ba94af33ab34bc65eafbd52f7169a | [
"Apache-2.0",
"MIT"
] | 9 | 2019-01-17T13:11:06.000Z | 2022-02-22T10:38:16.000Z | osrMain/DX11RenderMain.cpp | OSRTeam/OpenSoundRefenation | 3118ea723a2ba94af33ab34bc65eafbd52f7169a | [
"Apache-2.0",
"MIT"
] | null | null | null | osrMain/DX11RenderMain.cpp | OSRTeam/OpenSoundRefenation | 3118ea723a2ba94af33ab34bc65eafbd52f7169a | [
"Apache-2.0",
"MIT"
] | 3 | 2019-08-09T16:01:37.000Z | 2020-08-08T09:58:02.000Z | /*********************************************************
* Copyright (C) VERTVER, 2018. All rights reserved.
* OpenSoundRefenation - WINAPI open-source DAW
* MIT-License
**********************************************************
* Module Name: OSR User Interface
*******************************************************... | 31.055046 | 144 | 0.742885 | OSRTeam |
f730c11c7760a16388ec888a459f61c0e1f8fb1f | 4,565 | cpp | C++ | markcore/ut/use_markcore.cpp | unihykes/monk | d5ad969fea75912d4aad913adf945f78ec4df60e | [
"Apache-2.0"
] | 2 | 2018-03-27T02:46:03.000Z | 2018-05-24T02:49:17.000Z | markcore/ut/use_markcore.cpp | six-th/monk | d5ad969fea75912d4aad913adf945f78ec4df60e | [
"Apache-2.0"
] | null | null | null | markcore/ut/use_markcore.cpp | six-th/monk | d5ad969fea75912d4aad913adf945f78ec4df60e | [
"Apache-2.0"
] | null | null | null | /***************************************************************************************************
LICENSE:
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... | 24.153439 | 146 | 0.62322 | unihykes |
f73c165749ddd353556967b987f6ac880665b7e8 | 2,887 | cpp | C++ | libStat3rd/Statistical/RegressionFactory.cpp | EnjoMitch/EnjoLib | 321167146657cba1497a9d3b4ffd71430f9b24b3 | [
"BSD-3-Clause"
] | 3 | 2021-06-14T15:36:46.000Z | 2022-02-28T15:16:08.000Z | libStat3rd/Statistical/RegressionFactory.cpp | EnjoMitch/EnjoLib | 321167146657cba1497a9d3b4ffd71430f9b24b3 | [
"BSD-3-Clause"
] | 1 | 2021-07-17T07:52:15.000Z | 2021-07-17T07:52:15.000Z | libStat3rd/Statistical/RegressionFactory.cpp | EnjoMitch/EnjoLib | 321167146657cba1497a9d3b4ffd71430f9b24b3 | [
"BSD-3-Clause"
] | 3 | 2021-07-12T14:52:38.000Z | 2021-11-28T17:10:33.000Z | #include "RegressionFactory.hpp"
using namespace EnjoLib;
RegressionFactory::RegressionFactory()
{
//ctor
}
RegressionFactory::~RegressionFactory()
{
//dtor
}
/*
#include "RegressionRegression3.hpp"
#include "RegressionMKL.hpp"
#include "RegressionNumpy.hpp"
#include "RegressionNewmat10.hpp"
*/
/*
Corrade::C... | 31.725275 | 125 | 0.764808 | EnjoMitch |
f73e335112f0fe4fc726fb6f647602c6cc30e053 | 2,671 | cpp | C++ | MidiNote.cpp | christofmuc/juce-utils | e5d7e0b4ac6f3c0d43d3f3cff779f5f8e72275e4 | [
"MIT"
] | 10 | 2020-02-28T21:00:25.000Z | 2021-11-18T03:24:57.000Z | MidiNote.cpp | christofmuc/juce-utils | e5d7e0b4ac6f3c0d43d3f3cff779f5f8e72275e4 | [
"MIT"
] | null | null | null | MidiNote.cpp | christofmuc/juce-utils | e5d7e0b4ac6f3c0d43d3f3cff779f5f8e72275e4 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2019-2021 Christof Ruch
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | 30.701149 | 121 | 0.70161 | christofmuc |
f73e981b7bc00748e93715b88575d1b799756d94 | 11,357 | cpp | C++ | libscaler/libscaler-v4l2.cpp | Exynos7580/android_hardware_samsung_slsi_exynos5 | 3f00062f02f255c38e217a411f6d1711c287fb54 | [
"Apache-2.0"
] | null | null | null | libscaler/libscaler-v4l2.cpp | Exynos7580/android_hardware_samsung_slsi_exynos5 | 3f00062f02f255c38e217a411f6d1711c287fb54 | [
"Apache-2.0"
] | null | null | null | libscaler/libscaler-v4l2.cpp | Exynos7580/android_hardware_samsung_slsi_exynos5 | 3f00062f02f255c38e217a411f6d1711c287fb54 | [
"Apache-2.0"
] | 1 | 2020-02-02T00:36:55.000Z | 2020-02-02T00:36:55.000Z | /*
* Copyright (C) 2014 The Android Open Source Project
* Copyright@ Samsung Electronics Co. LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... | 26.168203 | 93 | 0.624637 | Exynos7580 |
f7412a4093edfe75070815544a4e3b310ade5fbf | 75 | cpp | C++ | S3DWrapper10/Wrapper.cpp | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 27 | 2020-11-12T19:24:54.000Z | 2022-03-27T23:10:45.000Z | S3DWrapper10/Wrapper.cpp | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 2 | 2020-11-02T06:30:39.000Z | 2022-02-23T18:39:55.000Z | S3DWrapper10/Wrapper.cpp | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 3 | 2021-08-16T00:21:08.000Z | 2022-02-23T19:19:36.000Z | #include "StdAfx.h"
#include "Wrapper.h"
#include "DXGISwapChainWrapper.h"
| 18.75 | 33 | 0.76 | bo3b |
f7451eb7c142df31100dcc499730a8cf2a995ae5 | 6,424 | hpp | C++ | src/math/Quaternion.hpp | jmitchell24/cpp-utility-lib | 76e7bae9f07b741c409a282604a999ab86fc0702 | [
"Apache-2.0"
] | null | null | null | src/math/Quaternion.hpp | jmitchell24/cpp-utility-lib | 76e7bae9f07b741c409a282604a999ab86fc0702 | [
"Apache-2.0"
] | null | null | null | src/math/Quaternion.hpp | jmitchell24/cpp-utility-lib | 76e7bae9f07b741c409a282604a999ab86fc0702 | [
"Apache-2.0"
] | null | null | null | // Copyright 2013, James Mitchell, All rights reserved.
#pragma once
#include "../Types.hpp"
#include "../string/Types.hpp"
#include "../string/Segment.hpp"
#include "../typetraits/CallTraits.hpp"
#include "Matrix4x4.hpp"
#include "Vector4D.hpp"
namespace util
{
template <typename N> struct QuatN
{
... | 29.603687 | 119 | 0.475716 | jmitchell24 |
f74657909e9fe922540ca914440d658265313dca | 12,286 | cpp | C++ | src/ADBDriverDLL/src/DriverNetSyncInternal.cpp | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | 9 | 2019-05-20T12:06:36.000Z | 2022-03-24T19:11:06.000Z | src/ADBDriverDLL/src/DriverNetSyncInternal.cpp | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | null | null | null | src/ADBDriverDLL/src/DriverNetSyncInternal.cpp | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | 3 | 2020-07-06T04:51:33.000Z | 2021-07-26T20:08:02.000Z | /*
MIT License
Android remote Viewer, GUI ADB tools
Android Viewer developed to view and control your android device from a PC.
ADB exchange Android Viewer, support scale view, input tap from mouse,
input swipe from keyboard, save/copy screenshot, etc..
Copyright (c) 2016-2019 PS
GitHub: ... | 34.222841 | 121 | 0.479652 | ClnViewer |