hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b11749b46733621b8a1da6e4fecb58a4fb627fda | 11,629 | cpp | C++ | ACW Project Framework/System.cpp | Lentono/PhysicsSimulationACW | a73d22571a0742fd960740f04689f6ee095c3986 | [
"MIT"
] | 1 | 2021-06-06T10:29:12.000Z | 2021-06-06T10:29:12.000Z | ACW Project Framework/System.cpp | Lentono/PhysicsSimulationACW | a73d22571a0742fd960740f04689f6ee095c3986 | [
"MIT"
] | null | null | null | ACW Project Framework/System.cpp | Lentono/PhysicsSimulationACW | a73d22571a0742fd960740f04689f6ee095c3986 | [
"MIT"
] | null | null | null | #include "System.h"
#include <winuser.h>
#include <iostream>
#include <fstream>
System::System() : m_initializationFailed(false), m_applicationName(nullptr), m_hInstance(nullptr), m_hwnd(nullptr), m_input(nullptr), m_graphics(nullptr) {
auto screenWidth = 0;
auto screenHeight = 0;
//Initialize the Windows API
Ini... | 27.491726 | 228 | 0.736177 | Lentono |
b11bbfb1c3b7aba8c6b64e42fa8a46265c859a34 | 3,353 | cpp | C++ | 2017-05-24-practice/J.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 3 | 2018-04-02T06:00:51.000Z | 2018-05-29T04:46:29.000Z | 2017-05-24-practice/J.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-03-31T17:54:30.000Z | 2018-05-02T11:31:06.000Z | 2017-05-24-practice/J.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-10-07T00:08:06.000Z | 2021-06-28T11:02:59.000Z | #include <cmath>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <algorithm>
using namespace std;
typedef long long LL;
typedef long double DB;
const int maxn = 201, maxm = maxn * maxn, maxs = 13;
const DB eps = 1e-8, INF = 1e4;
inline int sgn(DB x) {
assert(!std::isnan(x));
return (x > eps) - (x < -... | 24.837037 | 112 | 0.454817 | tangjz |
b11e6767c676a711884031bddd27416a1bcc3ee4 | 8,468 | cpp | C++ | gui/qt/toolwidgets/pinwidget.cpp | hein09/vipster | b92302bf2bb8b8941e239ce8cbc7209e1e615b0b | [
"BSD-2-Clause"
] | 6 | 2015-12-02T15:33:27.000Z | 2017-07-28T17:46:51.000Z | gui/qt/toolwidgets/pinwidget.cpp | hein09/vipster | b92302bf2bb8b8941e239ce8cbc7209e1e615b0b | [
"BSD-2-Clause"
] | 3 | 2018-02-04T16:11:19.000Z | 2018-03-16T16:23:29.000Z | gui/qt/toolwidgets/pinwidget.cpp | hein09/vipster | b92302bf2bb8b8941e239ce8cbc7209e1e615b0b | [
"BSD-2-Clause"
] | 1 | 2017-07-05T11:44:55.000Z | 2017-07-05T11:44:55.000Z | #include "../mainwindow.h"
#include "pinwidget.h"
#include "ui_pinwidget.h"
#include <QMessageBox>
using namespace Vipster;
PinWidget::PinWidget(QWidget *parent) :
BaseWidget(parent),
ui(new Ui::PinWidget)
{
ui->setupUi(this);
}
PinWidget::~PinWidget()
{
delete ui;
}
void PinWidget::updateWidget(GUI... | 34.563265 | 93 | 0.604393 | hein09 |
b12134d6db01c00384a15b06f234d4968cc887cb | 312 | cpp | C++ | ClientEngine/game/engine/Stage/UnitPart/UnitEvent/UnitEventOperator.cpp | twesd/editor | 10ea9f535115dadab5694fecdb0c499d0013ac1b | [
"MIT"
] | null | null | null | ClientEngine/game/engine/Stage/UnitPart/UnitEvent/UnitEventOperator.cpp | twesd/editor | 10ea9f535115dadab5694fecdb0c499d0013ac1b | [
"MIT"
] | null | null | null | ClientEngine/game/engine/Stage/UnitPart/UnitEvent/UnitEventOperator.cpp | twesd/editor | 10ea9f535115dadab5694fecdb0c499d0013ac1b | [
"MIT"
] | null | null | null | #include "UnitEventOperator.h"
#include "../UnitBehavior.h"
UnitEventOperator::UnitEventOperator(SharedParams_t params) : UnitEventBase(params)
{
}
UnitEventOperator::~UnitEventOperator(void)
{
}
// Выполняется ли условие
bool UnitEventOperator::IsApprove( core::array<Event_t*>& events )
{
return true;
}
| 17.333333 | 83 | 0.762821 | twesd |
b122c0b8fc656809dc785c8d77afb2530c5e284f | 4,159 | cpp | C++ | src/surrogate/benchmark/dtlz.cpp | lucasmpavelski/elmoead | 35286d7b5407c7b7a72f13cedbdedd9ba27ae22d | [
"MIT"
] | 1 | 2020-09-24T09:36:52.000Z | 2020-09-24T09:36:52.000Z | src/surrogate/benchmark/dtlz.cpp | lucasmpavelski/elmoead | 35286d7b5407c7b7a72f13cedbdedd9ba27ae22d | [
"MIT"
] | null | null | null | src/surrogate/benchmark/dtlz.cpp | lucasmpavelski/elmoead | 35286d7b5407c7b7a72f13cedbdedd9ba27ae22d | [
"MIT"
] | null | null | null | #include "dtlz.h"
namespace dtlz
{
#define PI 3.1415926535897932384626433832795
void DTLZ1(const double *x, double* f, const unsigned no_vars, const unsigned no_objs)
{
int i = 0;
int j = 0;
int n = no_vars;
int k = n - no_objs + 1;
double g = 0;
for (i = n - k + 1; i <= n; i++)
{
g += p... | 17.47479 | 86 | 0.425824 | lucasmpavelski |
b1254b1b4a4235059ad51cd479eb73ceb4aa9240 | 14,579 | cxx | C++ | TRD/TRDsim/AliTRDptrgFEB.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | TRD/TRDsim/AliTRDptrgFEB.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | TRD/TRDsim/AliTRDptrgFEB.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 34.223005 | 93 | 0.576651 | AllaMaevskaya |
b127350b502f277660f655415e9d6b020c14c583 | 3,482 | cpp | C++ | source/MaterialXTest/Document.cpp | lvxejay/MaterialX | d367fe00ad6dca5ba56370e8c97249779a6bcf71 | [
"BSL-1.0"
] | null | null | null | source/MaterialXTest/Document.cpp | lvxejay/MaterialX | d367fe00ad6dca5ba56370e8c97249779a6bcf71 | [
"BSL-1.0"
] | null | null | null | source/MaterialXTest/Document.cpp | lvxejay/MaterialX | d367fe00ad6dca5ba56370e8c97249779a6bcf71 | [
"BSL-1.0"
] | 1 | 2021-09-11T08:01:25.000Z | 2021-09-11T08:01:25.000Z | //
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <MaterialXTest/Catch/catch.hpp>
#include <MaterialXCore/Document.h>
namespace mx = MaterialX;
TEST_CASE("Document", "[document]")
{
// Create a document.
mx::Document... | 36.270833 | 106 | 0.660827 | lvxejay |
b12dc07fbd8023ba7e19db7eddedc097b3076b8d | 149 | hpp | C++ | source/GcLib/directx/DxConstant.hpp | Mugenri/Touhou-Danmakufu-ph3sx-2 | 4ab7e40682341ff41d7467b83bb64c9a669a6064 | [
"MIT"
] | null | null | null | source/GcLib/directx/DxConstant.hpp | Mugenri/Touhou-Danmakufu-ph3sx-2 | 4ab7e40682341ff41d7467b83bb64c9a669a6064 | [
"MIT"
] | null | null | null | source/GcLib/directx/DxConstant.hpp | Mugenri/Touhou-Danmakufu-ph3sx-2 | 4ab7e40682341ff41d7467b83bb64c9a669a6064 | [
"MIT"
] | null | null | null | #pragma once
#include "../pch.h"
#include "../gstd/GstdLib.hpp"
#include "DxTypes.hpp"
#if defined(DNH_PROJ_EXECUTOR)
#include "Vertex.hpp"
#endif | 14.9 | 30 | 0.711409 | Mugenri |
b1325f3e14933c34ac5c16dba6e10221ff2415eb | 18,257 | cpp | C++ | tests/record/test_array_fcall_method.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 86 | 2020-10-23T15:59:47.000Z | 2022-03-28T18:51:19.000Z | tests/record/test_array_fcall_method.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 18 | 2020-12-14T13:11:26.000Z | 2022-03-14T05:34:20.000Z | tests/record/test_array_fcall_method.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 17 | 2020-10-29T16:19:43.000Z | 2022-03-11T09:51:05.000Z | /******************************************************************************
* Copyright (c) 2020, Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception.
*
*****************************************************************************/
#include "sct_assert.h"
#include ... | 31.208547 | 110 | 0.47872 | hachetman |
b136570926f748f7c9fc27a0a1d4efb792bc26ee | 3,191 | hpp | C++ | hpp/Folder.impl.hpp | Ivy233/simple_diff | 970bf8a0a624fc89b9c016fab44a87162feb2465 | [
"MIT"
] | 1 | 2021-11-30T07:47:52.000Z | 2021-11-30T07:47:52.000Z | hpp/Folder.impl.hpp | Ivy233/simple_diff | 970bf8a0a624fc89b9c016fab44a87162feb2465 | [
"MIT"
] | null | null | null | hpp/Folder.impl.hpp | Ivy233/simple_diff | 970bf8a0a624fc89b9c016fab44a87162feb2465 | [
"MIT"
] | null | null | null | /*
* File name: Folder.impl.hpp
* Description: 文件夹类,用于捕捉所有文件夹下的非隐藏文件
* Author: 王锦润
* Version: 2
* Date: 2019.6.11
* History: 此程序被纳入git,可以直接使用git查询。
*/
//防卫式声明,必须要有
//就算没有重复包含也建议有,这是代码习惯
#ifndef _FOLDER_IMPL_HPP_
#define _FOLDER_IMPL_HPP_
#include "Folder.hpp"
#include <algorithm>
#include <iostream>
using std::c... | 30.390476 | 110 | 0.581636 | Ivy233 |
b137e61bee75558bc1d3d25813a51c4b1b82a236 | 667 | cpp | C++ | Projects/PBINFO/Problema 4/main.cpp | Bengo923/Visual-Studio | 863a273644b291c311d299bd5c7c4faf9db2d30e | [
"MIT"
] | 1 | 2019-11-05T17:56:19.000Z | 2019-11-05T17:56:19.000Z | Projects/PBINFO/Problema 4/main.cpp | Bengo923/PBINFO | 863a273644b291c311d299bd5c7c4faf9db2d30e | [
"MIT"
] | null | null | null | Projects/PBINFO/Problema 4/main.cpp | Bengo923/PBINFO | 863a273644b291c311d299bd5c7c4faf9db2d30e | [
"MIT"
] | null | null | null | // Problema 18 - Fisa Gradinariu (TEMA)
#include "pch.h"
#include "fstream"
#include "iostream"
using namespace std;
// ifstream fin("date.in");
// ofstream fout("date.out");
int index = 1, v[101], suma1, suma2, aux1, aux2;
int main()
{
int x;
cin >> x;
while (x != 0) {
v[index] = x;
index++;
cin >> x;
}
... | 15.511628 | 48 | 0.503748 | Bengo923 |
b139cd6dfa8267237cb80df9cc1f4f060750af3e | 8,727 | cpp | C++ | translit_handler.cpp | EzerIT/ETCBC4BibleOL | 06bef9600a42dc17d8f0b2210492c8bce8bed558 | [
"MIT"
] | null | null | null | translit_handler.cpp | EzerIT/ETCBC4BibleOL | 06bef9600a42dc17d8f0b2210492c8bce8bed558 | [
"MIT"
] | null | null | null | translit_handler.cpp | EzerIT/ETCBC4BibleOL | 06bef9600a42dc17d8f0b2210492c8bce8bed558 | [
"MIT"
] | null | null | null | /* Copyright © 2017 Ezer IT Consulting.
* Released under an MIT License.
*/
#include <deque>
#include <map>
#include <string>
#include <iostream>
#include "util.hpp"
#include "translit_handler.hpp"
#include "hebrew_transliterator.hpp"
using namespace std;
struct translit_strings {
string g_word_translit;
... | 41.557143 | 170 | 0.588289 | EzerIT |
b139f85d86021b527fb4f534e28d0217a1fb71f3 | 2,888 | cpp | C++ | aws-cpp-sdk-servicecatalog/source/model/PortfolioShareType.cpp | ploki/aws-sdk-cpp | 17074e3e48c7411f81294e2ee9b1550c4dde842c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-servicecatalog/source/model/PortfolioShareType.cpp | ploki/aws-sdk-cpp | 17074e3e48c7411f81294e2ee9b1550c4dde842c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-servicecatalog/source/model/PortfolioShareType.cpp | ploki/aws-sdk-cpp | 17074e3e48c7411f81294e2ee9b1550c4dde842c | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 32.818182 | 98 | 0.660319 | ploki |
b13a972dfcdd32b01fbcab2c3dcd4bde042ee1a8 | 255 | cpp | C++ | pbdata/saf/AlnGroup.cpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 4 | 2015-07-03T11:59:54.000Z | 2018-05-17T00:03:22.000Z | pbdata/saf/AlnGroup.cpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 79 | 2015-06-29T18:07:21.000Z | 2018-09-19T13:38:39.000Z | pbdata/saf/AlnGroup.cpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 19 | 2015-06-23T08:43:29.000Z | 2021-04-28T18:37:47.000Z | #include <pbdata/saf/AlnGroup.hpp>
int AlnGroup::FindPath(unsigned int idKey, std::string &val)
{
for (size_t i = 0; i < id.size(); i++) {
if (idKey == id[i]) {
val = path[i];
return 1;
}
}
return 0;
}
| 19.615385 | 60 | 0.490196 | ggraham |
b13c791bf3ca14b21d43409fe63b3a10840666f8 | 2,433 | cpp | C++ | mqtt/client.cpp | dkesler-execom/WolkSDK-Cpp | fd353d34affa5c252f5a1022c9fc1b6ae9a285a5 | [
"Apache-2.0"
] | null | null | null | mqtt/client.cpp | dkesler-execom/WolkSDK-Cpp | fd353d34affa5c252f5a1022c9fc1b6ae9a285a5 | [
"Apache-2.0"
] | null | null | null | mqtt/client.cpp | dkesler-execom/WolkSDK-Cpp | fd353d34affa5c252f5a1022c9fc1b6ae9a285a5 | [
"Apache-2.0"
] | null | null | null | // client.cpp
// Implementation of the client class for the mqtt C++ client library.
/*******************************************************************************
* Copyright (c) 2013-2017 Frank Pagliughi <fpagliughi@mindspring.com>
*
* All rights reserved. This program and the accompanying materials
* are made... | 30.037037 | 81 | 0.649404 | dkesler-execom |
b13de41571636040a9341e59272578a3a9d6b082 | 4,484 | cpp | C++ | tests/VkUploadPixelsTests.cpp | avaer/skia | b211ebc328e9df69f95fc58e7363775ec2d0c14d | [
"BSD-3-Clause"
] | 3 | 2018-10-28T09:55:58.000Z | 2018-12-09T05:09:38.000Z | tests/VkUploadPixelsTests.cpp | BensonDu/skia | b211ebc328e9df69f95fc58e7363775ec2d0c14d | [
"BSD-3-Clause"
] | 1 | 2018-10-21T04:53:25.000Z | 2018-10-21T04:53:25.000Z | tests/VkUploadPixelsTests.cpp | BensonDu/skia | b211ebc328e9df69f95fc58e7363775ec2d0c14d | [
"BSD-3-Clause"
] | 4 | 2018-08-10T03:09:14.000Z | 2018-10-21T00:04:47.000Z | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// This is a GPU-backend specific test. It relies on static intializers to work
#include "SkTypes.h"
#if defined(SK_VULKAN)
#include "GrContextFactory.h"
#include "GrContex... | 41.518519 | 99 | 0.564005 | avaer |
b140520194ff200a3a995ad3e1562425ee0b55d1 | 8,952 | cpp | C++ | src/chrono_vehicle/cosim/mbs/ChVehicleCosimVehicleNode.cpp | aluaces/chrono | 675ff6c1105814973dd7f844bd19385d9760f90c | [
"BSD-3-Clause"
] | 1,383 | 2015-02-04T14:17:40.000Z | 2022-03-30T04:58:16.000Z | src/chrono_vehicle/cosim/mbs/ChVehicleCosimVehicleNode.cpp | pchaoWT/chrono | fd68d37d1d4ee75230dc1eea78ceff91cca7ac32 | [
"BSD-3-Clause"
] | 245 | 2015-01-11T15:30:51.000Z | 2022-03-30T21:28:54.000Z | src/chrono_vehicle/cosim/mbs/ChVehicleCosimVehicleNode.cpp | pchaoWT/chrono | fd68d37d1d4ee75230dc1eea78ceff91cca7ac32 | [
"BSD-3-Clause"
] | 351 | 2015-02-04T14:17:47.000Z | 2022-03-30T04:42:52.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2020 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... | 38.093617 | 119 | 0.610813 | aluaces |
b14921bbd501308fc83cac6141b2bdb1cc90a6e0 | 1,431 | inl | C++ | unit_tests/api/cl_retain_release_sampler_tests.inl | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | 3 | 2019-09-20T23:26:36.000Z | 2019-10-03T17:44:12.000Z | unit_tests/api/cl_retain_release_sampler_tests.inl | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | unit_tests/api/cl_retain_release_sampler_tests.inl | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | 3 | 2019-05-16T07:22:51.000Z | 2019-11-11T03:05:32.000Z | /*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/context/context.h"
#include "cl_api_tests.h"
using namespace NEO;
typedef api_tests clRetainReleaseSamplerTests;
namespace ULT {
TEST_F(clRetainReleaseSamplerTests, GivenValidSamplerWhenRetainingThenSamplerR... | 29.8125 | 107 | 0.682041 | FelipeMLopez |
b14bc9a0f231be280762b19cb00aebf2e5c55308 | 5,199 | cpp | C++ | src/Apps/RtcClient/RtcClient.cpp | miseri/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | 1 | 2021-07-14T08:15:05.000Z | 2021-07-14T08:15:05.000Z | src/Apps/RtcClient/RtcClient.cpp | 7956968/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | null | null | null | src/Apps/RtcClient/RtcClient.cpp | 7956968/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | 2 | 2021-07-14T08:15:02.000Z | 2021-07-14T08:56:10.000Z | #include "RtcClientPch.h"
#include "RtcClient.h"
#include <grpc++/channel_interface.h>
#include <grpc++/client_context.h>
#include <grpc++/status.h>
#include <grpc++/stream.h>
using grpc::CompletionQueue;
using grpc::ChannelInterface;
using grpc::ClientContext;
using grpc::ClientReader;
using grpc::ClientReaderWriter;... | 25.737624 | 134 | 0.688017 | miseri |
b14cce1384a48e80692e55e175a6423c5fd03243 | 1,392 | cpp | C++ | Calculator/src/main/View/CalcScreen.cpp | Songtech-0912/InstantCalc | 2b36a3a7c47a7ae358eea36a4e2d7f120456dc86 | [
"MIT"
] | 1 | 2020-09-27T12:55:41.000Z | 2020-09-27T12:55:41.000Z | Calculator/src/main/View/CalcScreen.cpp | Songtech-0912/InstantCalc | 2b36a3a7c47a7ae358eea36a4e2d7f120456dc86 | [
"MIT"
] | 177 | 2020-05-04T09:14:05.000Z | 2022-03-25T00:02:12.000Z | Calculator/src/main/View/CalcScreen.cpp | Songtech-0912/InstantCalc | 2b36a3a7c47a7ae358eea36a4e2d7f120456dc86 | [
"MIT"
] | 1 | 2021-10-31T04:42:41.000Z | 2021-10-31T04:42:41.000Z | #ifndef TEST
#include "CalcScreen.h"
#include "../Any/View.h"
#include <SDL.h>
#include "../Any/Enums.h"
#include "../Struct/Pair.h"
#include "../Struct/Message.h"
#include "../Struct/Rect.h"
#include "../Struct/Point.h"
#include "../Struct/Size.h"
namespace ii887522::Calculator
{
CalcScreen::CalcScreen(SDL_Renderer... | 27.84 | 126 | 0.731322 | Songtech-0912 |
b151a8d6e3b44fa6faebb6e4c111070d0dd085d1 | 1,950 | hpp | C++ | AirLib/include/physics/PhysicsEngineBase.hpp | whatseven/AirSim | fe7e4e7c782cf1077594c1ee6cc1bbfec3f66bd1 | [
"MIT"
] | 7 | 2020-05-22T18:00:19.000Z | 2021-01-07T08:31:19.000Z | AirLib/include/physics/PhysicsEngineBase.hpp | Abdulkadir-Muhendis/AirSim | c6f0729006ecd6d792a750edc7e27021469c5649 | [
"MIT"
] | 4 | 2020-08-21T07:48:06.000Z | 2021-03-14T21:06:41.000Z | AirLib/include/physics/PhysicsEngineBase.hpp | Abdulkadir-Muhendis/AirSim | c6f0729006ecd6d792a750edc7e27021469c5649 | [
"MIT"
] | 7 | 2020-05-22T20:08:22.000Z | 2021-01-22T09:39:17.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef airsim_core_PhysicsEngineBase_hpp
#define airsim_core_PhysicsEngineBase_hpp
#include "common/UpdatableContainer.hpp"
#include "common/Common.hpp"
#include "PhysicsBody.hpp"
namespace msr { namespace airl... | 36.111111 | 94 | 0.692821 | whatseven |
b1524e07f8eaa10642fa8ed49eaac42a1b87935b | 1,526 | cpp | C++ | toolsets/test/clang_test.cpp | lukka/evoke | 793a067e2d70c4c5da77f75c7aadc734d633068d | [
"Apache-2.0"
] | null | null | null | toolsets/test/clang_test.cpp | lukka/evoke | 793a067e2d70c4c5da77f75c7aadc734d633068d | [
"Apache-2.0"
] | null | null | null | toolsets/test/clang_test.cpp | lukka/evoke | 793a067e2d70c4c5da77f75c7aadc734d633068d | [
"Apache-2.0"
] | null | null | null | #include "dotted.h"
#include "Component.h"
#include "File.h"
#include "Toolset.h"
#include "Project.h"
#include <algorithm>
#include <set>
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE(clang_compile)
{
Component c("hello", true);
Project p("./");
File *input = p.CreateFile(c, "hello/src/gretting... | 35.488372 | 134 | 0.669069 | lukka |
b1559583e47919e0a837b5fcd0bb97833b43ecc6 | 1,459 | hpp | C++ | libraries/plugins/witness/include/steem/plugins/witness/witness_plugin_objects.hpp | DunnCreativeSS/ccd | 83531f2c902a7e8bea351c86c4ca0e4b03820d5b | [
"MIT"
] | 1 | 2021-09-02T16:09:26.000Z | 2021-09-02T16:09:26.000Z | libraries/plugins/witness/include/steem/plugins/witness/witness_plugin_objects.hpp | DunnCreativeSS/ccd | 83531f2c902a7e8bea351c86c4ca0e4b03820d5b | [
"MIT"
] | null | null | null | libraries/plugins/witness/include/steem/plugins/witness/witness_plugin_objects.hpp | DunnCreativeSS/ccd | 83531f2c902a7e8bea351c86c4ca0e4b03820d5b | [
"MIT"
] | null | null | null | #pragma once
#include <CreateCoin/chain/CreateCoin_object_types.hpp>
#ifndef CreateCoin_WITNESS_SPACE_ID
#define CreateCoin_WITNESS_SPACE_ID 19
#endif
namespace CreateCoin { namespace chain {
struct by_account;
} }
namespace CreateCoin { namespace plugins { namespace witness {
using namespace CreateCoin::chain;
e... | 28.607843 | 139 | 0.751199 | DunnCreativeSS |
b15717f205bad2b2ea5706d07b6808061cd79de4 | 2,734 | hpp | C++ | cpp/include/raft/linalg/detail/eltwise.hpp | akifcorduk/raft | 5de31e04f03ed457ec1cb1148be54ff1cf9888cd | [
"Apache-2.0"
] | null | null | null | cpp/include/raft/linalg/detail/eltwise.hpp | akifcorduk/raft | 5de31e04f03ed457ec1cb1148be54ff1cf9888cd | [
"Apache-2.0"
] | null | null | null | cpp/include/raft/linalg/detail/eltwise.hpp | akifcorduk/raft | 5de31e04f03ed457ec1cb1148be54ff1cf9888cd | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2022, NVIDIA 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 ... | 35.051282 | 100 | 0.740673 | akifcorduk |
b15ac9a062f21c3f2e67b4623c02db1fdbbf981a | 77 | cxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+double.4-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 3 | 2019-11-19T09:47:25.000Z | 2022-02-24T00:32:31.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+double.4-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2019-03-18T14:19:49.000Z | 2020-01-11T13:54:33.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+double.4-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2022-02-24T00:32:36.000Z | 2022-02-24T00:32:36.000Z | #include <vnl/vnl_vector_fixed.hxx>
VNL_VECTOR_FIXED_INSTANTIATE(double,4);
| 19.25 | 39 | 0.831169 | rdsouza10 |
b15bcd81aeaf9e3b64c09ca41e58b7b830d861fb | 7,790 | cc | C++ | src/Core/Datatypes/Mesh/Tests/LatticeVolumeMeshTests.cc | kimjohn1/SCIRun | 62ae6cb632100371831530c755ef0b133fb5c978 | [
"MIT"
] | 92 | 2015-02-09T22:42:11.000Z | 2022-03-25T09:14:50.000Z | src/Core/Datatypes/Mesh/Tests/LatticeVolumeMeshTests.cc | kimjohn1/SCIRun | 62ae6cb632100371831530c755ef0b133fb5c978 | [
"MIT"
] | 1,618 | 2015-01-05T19:39:13.000Z | 2022-03-27T20:28:45.000Z | src/Core/Datatypes/Mesh/Tests/LatticeVolumeMeshTests.cc | kimjohn1/SCIRun | 62ae6cb632100371831530c755ef0b133fb5c978 | [
"MIT"
] | 64 | 2015-02-20T17:51:23.000Z | 2021-11-19T07:08:08.000Z | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... | 31.92623 | 97 | 0.62362 | kimjohn1 |
b15c0cbad4bfe40d6b175643ae4ef05aadad32a0 | 439 | hpp | C++ | library/ATF/tagNMTOOLBARA.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/tagNMTOOLBARA.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/tagNMTOOLBARA.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 <_TBBUTTON.hpp>
#include <tagNMHDR.hpp>
#include <tagRECT.hpp>
START_ATF_NAMESPACE
struct tagNMTOOLBARA
{
tagNMHDR hdr;
int iItem;
... | 20.904762 | 108 | 0.67426 | lemkova |
b15d0d237ff0e7cce48d10ccabdcdcd397e7ad51 | 3,594 | hxx | C++ | src/tst/reporter.hxx | igagis/testy | a38281336816bec1651d818fa7aad89ecade17b2 | [
"MIT"
] | 8 | 2021-04-16T13:17:20.000Z | 2022-01-05T09:14:03.000Z | src/tst/reporter.hxx | igagis/testy | a38281336816bec1651d818fa7aad89ecade17b2 | [
"MIT"
] | 16 | 2021-04-19T07:59:52.000Z | 2022-02-07T11:14:55.000Z | src/tst/reporter.hxx | igagis/testy | a38281336816bec1651d818fa7aad89ecade17b2 | [
"MIT"
] | 3 | 2021-04-17T02:33:46.000Z | 2022-02-21T15:37:55.000Z | /*
MIT License
Copyright (c) 2021 Ivan Gagis
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, dis... | 25.132867 | 84 | 0.720367 | igagis |
b163203adc5166a3a5947d9ed649f545a90789d3 | 3,625 | cpp | C++ | mcg/src/aux/mex_cands2masks.cpp | mouthwater/rgb | 3fafca24ecc133910923182581a2133b8568bf77 | [
"BSD-2-Clause"
] | 392 | 2015-01-14T13:19:40.000Z | 2022-02-12T08:47:33.000Z | mcg/src/aux/mex_cands2masks.cpp | mouthwater/rgb | 3fafca24ecc133910923182581a2133b8568bf77 | [
"BSD-2-Clause"
] | 45 | 2015-02-03T12:16:10.000Z | 2022-03-07T00:25:09.000Z | mcg/src/aux/mex_cands2masks.cpp | mouthwater/rgb | 3fafca24ecc133910923182581a2133b8568bf77 | [
"BSD-2-Clause"
] | 168 | 2015-01-05T02:29:53.000Z | 2022-02-22T04:32:04.000Z | // ------------------------------------------------------------------------
// Copyright (C)
// Universitat Politecnica de Catalunya BarcelonaTech (UPC) - Spain
// University of California Berkeley (UCB) - USA
//
// Jordi Pont-Tuset <jordi.pont@upc.edu>
// Pablo Arbelaez <arbelaez@berkeley.edu>
// June 2014
// ... | 34.52381 | 94 | 0.516966 | mouthwater |
b163e11e45e58be069f09fea1e0a569225bb8217 | 283 | cpp | C++ | main.cpp | ipeperko/ivo_sandbox | 92054b242c55d58432291b70b7874c253fc3474a | [
"MIT"
] | null | null | null | main.cpp | ipeperko/ivo_sandbox | 92054b242c55d58432291b70b7874c253fc3474a | [
"MIT"
] | null | null | null | main.cpp | ipeperko/ivo_sandbox | 92054b242c55d58432291b70b7874c253fc3474a | [
"MIT"
] | null | null | null | #include <iostream>
#include "mysql/mysql.h"
int main()
{
MYSQL* mysql = mysql_init(nullptr);
mysql_close(mysql);
#ifdef TEST_OPTION
std::cout << "[ok] Test option enabled\n";
return 0;
#else
std::cout << "[error] Test option disabled\n";
return 1;
#endif
} | 17.6875 | 50 | 0.636042 | ipeperko |
b16748b573c6346e09a61f774b1ccd5309d61bfb | 1,051 | cc | C++ | HTTP/src/HttpError.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2019-07-29T04:07:29.000Z | 2019-07-29T04:07:29.000Z | HTTP/src/HttpError.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | null | null | null | HTTP/src/HttpError.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2020-03-04T17:13:04.000Z | 2020-03-04T17:13:04.000Z | /*
* Copyright (C) 2021 Frank Mertens.
*
* Distribution and use is allowed under the terms of the zlib license
* (see cc/LICENSE-zlib).
*
*/
#include <cc/HttpError>
namespace cc {
HttpBadRequest::HttpBadRequest():
HttpError{HttpStatus::BadRequest, "Bad Request"}
{}
HttpForbidden::HttpForbidden():
Http... | 22.847826 | 75 | 0.748811 | frankencode |
b16a73d1932d69161cef21a71f386e6aa9590ffa | 1,691 | cpp | C++ | tree/leetcode_tree/113_path_sum_3.cpp | Hadleyhzy/data_structure_and_algorithm | 0e610ba78dcb216323d9434a0f182756780ce5c0 | [
"MIT"
] | 1 | 2020-10-12T19:18:19.000Z | 2020-10-12T19:18:19.000Z | tree/leetcode_tree/113_path_sum_3.cpp | Hadleyhzy/data_structure_and_algorithm | 0e610ba78dcb216323d9434a0f182756780ce5c0 | [
"MIT"
] | null | null | null | tree/leetcode_tree/113_path_sum_3.cpp | Hadleyhzy/data_structure_and_algorithm | 0e610ba78dcb216323d9434a0f182756780ce5c0 | [
"MIT"
] | null | null | null | //
// 113_path_sum_3.cpp
// leetcode_tree
//
// Created by Hadley on 11.07.20.
// Copyright © 2020 Hadley. All rights reserved.
//
#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <vector>
#include <string>
#include <unordered_map>
#include <stack>
#include <cstring>
#include <queue>
#include <... | 23.816901 | 114 | 0.556475 | Hadleyhzy |
b16b38aec1e015785c877a49a58f439d06f3dbcf | 6,884 | hpp | C++ | VSDataReduction/VSLaserData.hpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | 1 | 2018-04-17T14:03:36.000Z | 2018-04-17T14:03:36.000Z | VSDataReduction/VSLaserData.hpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | VSDataReduction/VSLaserData.hpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | //-*-mode:c++; mode:font-lock;-*-
/*! \file VSLaserData.hpp
Simple pedestal data
\author Stephen Fegan \n
UCLA \n
sfegan@astro.ucla.edu \n
\version 1.0
\date 05/18/2005
$Id: VSLaserData.hpp,v 3.8 2009/11/24 01:11:45 matthe... | 34.767677 | 79 | 0.601249 | sfegan |
b16dfa4c3eda784ca4228a393b0a8fcc1b88b2b3 | 1,405 | cpp | C++ | cf/Div2/B/Little Elephant and Magic Square/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | cf/Div2/B/Little Elephant and Magic Square/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | cf/Div2/B/Little Elephant and Magic Square/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define int long long
#define double long double
using namespace std;
// Easy O(1) solution, who needs general solutions anyways
bool isPrim(int n){
return n == 2 || n == 3 || n == 5 || n == 7 || n == 11 || n == 13 || n == 17 || n == 19 || n == 23;
}
signed main() {
// Turn off synchr... | 31.222222 | 103 | 0.479715 | wdjpng |
b17b6df61d569fbbc8c492038015124942f98545 | 1,368 | cpp | C++ | Codeforces 412E.cpp | Jvillegasd/Codeforces | ffdd2d5db1dabc7ff76f8f92270c79233a77b933 | [
"MIT"
] | null | null | null | Codeforces 412E.cpp | Jvillegasd/Codeforces | ffdd2d5db1dabc7ff76f8f92270c79233a77b933 | [
"MIT"
] | null | null | null | Codeforces 412E.cpp | Jvillegasd/Codeforces | ffdd2d5db1dabc7ff76f8f92270c79233a77b933 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
bool isLetter(char l){
return (l>='a'&&l<='z') || (l>='A'&&l<='Z');
}
int main(){
string input;
cin >> input;
long long ans = 0;
for(int i = 0; i < input.size(); i++){
if(input[i] == '@'){
long long before = 0, after = 0;
... | 29.106383 | 110 | 0.324561 | Jvillegasd |
b17fd74666d6aed009e12f75c955ea10bebe8e65 | 4,161 | cpp | C++ | float4d.cpp | shtty/cppcnn | 8dff95e8bb539b1762e3a25e3eb1f0b0cd30473e | [
"MIT"
] | 6 | 2017-08-31T23:25:06.000Z | 2019-09-30T06:39:33.000Z | float4d.cpp | shtty/cppcnn | 8dff95e8bb539b1762e3a25e3eb1f0b0cd30473e | [
"MIT"
] | null | null | null | float4d.cpp | shtty/cppcnn | 8dff95e8bb539b1762e3a25e3eb1f0b0cd30473e | [
"MIT"
] | 1 | 2018-12-05T07:09:38.000Z | 2018-12-05T07:09:38.000Z | ////////////////////////////////////////////////////////////////////////////////////
//// This code is written by Ho Yub Jung ////
////////////////////////////////////////////////////////////////////////////////////
#include "float4d.h"
std::mt19937 float4d::n_random_seed = std::... | 33.02381 | 198 | 0.495554 | shtty |
b17fd7823ea89d912ffaf350ebd8b7e5092e959e | 6,029 | cpp | C++ | src/Leddar/LdBoolProperty.cpp | deucedrone/LeddarSDK | c1deb6621e8ad845341e0185763c4a7706ecb788 | [
"BSD-3-Clause"
] | null | null | null | src/Leddar/LdBoolProperty.cpp | deucedrone/LeddarSDK | c1deb6621e8ad845341e0185763c4a7706ecb788 | [
"BSD-3-Clause"
] | null | null | null | src/Leddar/LdBoolProperty.cpp | deucedrone/LeddarSDK | c1deb6621e8ad845341e0185763c4a7706ecb788 | [
"BSD-3-Clause"
] | 1 | 2020-06-01T17:40:08.000Z | 2020-06-01T17:40:08.000Z | // *****************************************************************************
// Module..: Leddar
//
/// \file LdBoolProperty.cpp
///
/// \brief Definition of LdBoolProperty class.
///
/// \author Patrick Boulay
///
/// \since January 2016
//
// Copyright (c) 2016 LeddarTech Inc. All rights reserved.
// ****... | 30.296482 | 168 | 0.502405 | deucedrone |
b181efefb66df7109b9f875b56e654ff92a672cd | 4,659 | cpp | C++ | Units.Reflection.Test/DynamicReflectQuantityTests.cpp | dnv-opensource/Reflection | 27effb850e9f0cc6acc2d48630ee6aa5d75fa000 | [
"BSL-1.0"
] | null | null | null | Units.Reflection.Test/DynamicReflectQuantityTests.cpp | dnv-opensource/Reflection | 27effb850e9f0cc6acc2d48630ee6aa5d75fa000 | [
"BSL-1.0"
] | null | null | null | Units.Reflection.Test/DynamicReflectQuantityTests.cpp | dnv-opensource/Reflection | 27effb850e9f0cc6acc2d48630ee6aa5d75fa000 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2021 DNV AS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
#include "gtest/gtest.h"
#include "Units/Runtime/DynamicQuantity.h"
#include "Units/Runtime/Unit.h"
#include "Units/Length.h"
#in... | 38.188525 | 134 | 0.75059 | dnv-opensource |
b1837ebd6ad25f4a9ddd8e856c43d7c54184fd20 | 16,075 | cpp | C++ | Tudat/Astrodynamics/StateDerivativeModels/UnitTests/unitTestOrbitalStateDerivativeModel.cpp | JPelamatti/ThesisTUDAT | b94ce35fb7c8fa44ae83238e296a979dfa3adfe8 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/StateDerivativeModels/UnitTests/unitTestOrbitalStateDerivativeModel.cpp | JPelamatti/ThesisTUDAT | b94ce35fb7c8fa44ae83238e296a979dfa3adfe8 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/StateDerivativeModels/UnitTests/unitTestOrbitalStateDerivativeModel.cpp | JPelamatti/ThesisTUDAT | b94ce35fb7c8fa44ae83238e296a979dfa3adfe8 | [
"BSD-3-Clause"
] | 1 | 2019-05-30T03:42:22.000Z | 2019-05-30T03:42:22.000Z | /* Copyright (c) 2010-2015, Delft University of Technology
* 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 ... | 47.418879 | 99 | 0.71689 | JPelamatti |
b183cc19212e409463dc908e2e931782bbd787ca | 2,702 | cpp | C++ | hphp/runtime/ext/vsdebug/logging.cpp | ActindoForks/hhvm | 670822e2b396f2d411f4e841b4ec9ae8627ba965 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/ext/vsdebug/logging.cpp | ActindoForks/hhvm | 670822e2b396f2d411f4e841b4ec9ae8627ba965 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/ext/vsdebug/logging.cpp | ActindoForks/hhvm | 670822e2b396f2d411f4e841b4ec9ae8627ba965 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2017-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 28.145833 | 76 | 0.53849 | ActindoForks |
b18b765b66829e8bd0911bbaaad839d8a9f02ed6 | 26,273 | hpp | C++ | library/src/blas3/Tensile/gemm.hpp | pruthvistony/rocBLAS | 9463526235e38f505caeaf29cf41bac22c1ab238 | [
"MIT"
] | null | null | null | library/src/blas3/Tensile/gemm.hpp | pruthvistony/rocBLAS | 9463526235e38f505caeaf29cf41bac22c1ab238 | [
"MIT"
] | null | null | null | library/src/blas3/Tensile/gemm.hpp | pruthvistony/rocBLAS | 9463526235e38f505caeaf29cf41bac22c1ab238 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright 2016-2020 Advanced Micro Devices, Inc.
* ************************************************************************ */
#pragma once
#ifndef _GEMM_HOST_HPP_
#define _GEMM_HOST_HPP_
#include "handle.hpp"
#ifdef USE_TENSILE_HOST
#i... | 40.670279 | 101 | 0.421954 | pruthvistony |
b18c662df9a7d74637ad3540d633f3a069954954 | 3,761 | cpp | C++ | plugins/dmetaphone/dmetaphone.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | 286 | 2015-01-03T12:45:17.000Z | 2022-03-25T18:12:57.000Z | plugins/dmetaphone/dmetaphone.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | 9,034 | 2015-01-02T08:49:19.000Z | 2022-03-31T20:34:44.000Z | plugins/dmetaphone/dmetaphone.cpp | cloLN/HPCC-Platform | 42ffb763a1cdcf611d3900831973d0a68e722bbe | [
"Apache-2.0"
] | 208 | 2015-01-02T03:27:28.000Z | 2022-02-11T05:54:52.000Z | #include "platform.h"
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include "dmetaphone.hpp"
#include "metaphone.h"
#define DMETAPHONE_VERSION "DMETAPHONE 1.1.05"
static const char * compatibleVersions[] = {
"DMETAPHONE 1.1.05 [0e64c86ec1d5771d4ce0abe488a98a2a]",
"DMETAPHONE 1.1.05",
NULL };
... | 31.605042 | 132 | 0.708588 | miguelvazq |
b18d55a2d3735b5c31fd9acc502cf9a8bdb3f5ee | 788 | hpp | C++ | tutorial/eos-docker/contracts/asserter/asserter.abi.hpp | alex-public/online-smart-storage | 3d066f8728b645d98cd786c2c2f637399669444b | [
"MIT"
] | null | null | null | tutorial/eos-docker/contracts/asserter/asserter.abi.hpp | alex-public/online-smart-storage | 3d066f8728b645d98cd786c2c2f637399669444b | [
"MIT"
] | null | null | null | tutorial/eos-docker/contracts/asserter/asserter.abi.hpp | alex-public/online-smart-storage | 3d066f8728b645d98cd786c2c2f637399669444b | [
"MIT"
] | 2 | 2018-11-12T21:42:44.000Z | 2019-04-25T07:28:37.000Z | const char* const asserter_abi = R"=====(
{
"version": "eosio::abi/1.0",
"types": [],
"structs": [
{
"name": "assertdef",
"base": "",
"fields": [
{
"name": "condition",
"type": "int8"
},{
"name": "message",
... | 19.7 | 41 | 0.347716 | alex-public |
b18d7cab6b3cb369c34fda45e9bfc0ab8c6eee57 | 1,078 | hpp | C++ | src/ast/ast_var_decl.hpp | Wassasin/splicpp | b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a | [
"Beerware"
] | 2 | 2019-04-09T01:04:36.000Z | 2019-05-12T06:17:03.000Z | src/ast/ast_var_decl.hpp | Wassasin/splicpp | b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a | [
"Beerware"
] | null | null | null | src/ast/ast_var_decl.hpp | Wassasin/splicpp | b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a | [
"Beerware"
] | null | null | null | #ifndef AST_VAR_DECL_H
#define AST_VAR_DECL_H
#include <memory>
#include "ast.hpp"
#include "../common/typedefs.hpp"
#include "../typing/substitution.hpp"
namespace splicpp
{
class ast_type;
class ast_exp;
class ast_id;
class symboltable;
class varcontext;
class typecontext;
class ltypecontext;
class sl_typ... | 19.6 | 86 | 0.714286 | Wassasin |
b18d8212b9015540071f5512237d4d6356dc1bfe | 64,921 | cpp | C++ | test/localPRG_test.cpp | rffrancon/pandora | 5786548a1a1111a4990f0b8a6ec3335e4d1a5319 | [
"MIT"
] | null | null | null | test/localPRG_test.cpp | rffrancon/pandora | 5786548a1a1111a4990f0b8a6ec3335e4d1a5319 | [
"MIT"
] | null | null | null | test/localPRG_test.cpp | rffrancon/pandora | 5786548a1a1111a4990f0b8a6ec3335e4d1a5319 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include "test_macro.cpp"
#include "localPRG.h"
#include "minimizer.h"
#include "minirecord.h"
#include "minihit.h"
#include "interval.h"
#include "prg/path.h"
#include "localgraph.h"
#include "localnode.h"
#include "index.h"
#include "inthash.h"
#include "pangenome/pannode.h"
#include "pangeno... | 42.739302 | 790 | 0.636913 | rffrancon |
b18e06d0512c64b33691bc04dbdbad6eda9196a9 | 2,238 | cpp | C++ | BZOJ/2142/std.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/2142/std.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/2142/std.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#define N 100010
#define mp make_pair
#define pa pair<ll,ll>
#define fi first
#define se second
using namespace std ;
typedef long long ll;
ll p,n,m,w[N];
ll prime[N],mod[N],cnt[N],a[N];
int tot;
ll quick_my(ll a,ll b,ll M)
{
ll ret=1;
... | 19.631579 | 127 | 0.488382 | sjj118 |
b18fcce746bab43b072a0679baa95fdaebf8b77d | 10,606 | cpp | C++ | ProjectEuler+/euler-0237.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | null | null | null | ProjectEuler+/euler-0237.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | null | null | null | ProjectEuler+/euler-0237.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | 1 | 2021-05-28T11:14:34.000Z | 2021-05-28T11:14:34.000Z | // ////////////////////////////////////////////////////////
// # Title
// Tours on a 4 x n playing board
//
// # URL
// https://projecteuler.net/problem=237
// http://euler.stephan-brumme.com/237/
//
// # Problem
// Let `T(n)` be the number of tours over a `4 * n` playing board such that:
// - The tour starts in the to... | 40.326996 | 157 | 0.580898 | sarvekash |
b19372a16d8c3d42e0619dfaa01516cce0bde149 | 74,881 | cc | C++ | src/bin/dhcp6/tests/classify_unittests.cc | kphf1995cm/kea | 2f6940ef5ed697f3f683035ed7a16046253add4d | [
"Apache-2.0"
] | null | null | null | src/bin/dhcp6/tests/classify_unittests.cc | kphf1995cm/kea | 2f6940ef5ed697f3f683035ed7a16046253add4d | [
"Apache-2.0"
] | null | null | null | src/bin/dhcp6/tests/classify_unittests.cc | kphf1995cm/kea | 2f6940ef5ed697f3f683035ed7a16046253add4d | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2016-2019 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <dhcp/dhcp6.h>
#... | 35.287936 | 89 | 0.557071 | kphf1995cm |
b196e57f1237f15db988464f02b0ea45981686b9 | 1,842 | cpp | C++ | src/BufferedInsert.cpp | slate6715/GN_Utilities | 642f8dfadef06073320e38deab614a7807e3d332 | [
"MIT"
] | null | null | null | src/BufferedInsert.cpp | slate6715/GN_Utilities | 642f8dfadef06073320e38deab614a7807e3d332 | [
"MIT"
] | null | null | null | src/BufferedInsert.cpp | slate6715/GN_Utilities | 642f8dfadef06073320e38deab614a7807e3d332 | [
"MIT"
] | null | null | null | /*
* File: BufferedInsert.cpp
* Author: root
*
* Created on October 3, 2012, 2:06 PM
*/
#ifdef _WIN32
#include "stdafx.h"
#endif
#include "BufferedInsert.h"
#include <memory>
namespace util {
BufferedInsert::BufferedInsert(DBase &conn, const char *preface, const char *postface) :
... | 22.463415 | 89 | 0.536374 | slate6715 |
b19d8b5d5db7db1a5fe9772b7b5f697865047fbd | 540 | cpp | C++ | templates/window.cpp | qaqwqaqwq-0/YGP | 928d53aff1c8ca1327b0cf7ad6e6836d44c3447f | [
"MIT"
] | 5 | 2020-12-07T08:58:24.000Z | 2021-03-22T08:21:16.000Z | templates/window.cpp | qaqwqaqwq-0/YGP | 928d53aff1c8ca1327b0cf7ad6e6836d44c3447f | [
"MIT"
] | null | null | null | templates/window.cpp | qaqwqaqwq-0/YGP | 928d53aff1c8ca1327b0cf7ad6e6836d44c3447f | [
"MIT"
] | 2 | 2021-01-26T07:45:52.000Z | 2021-02-14T15:54:54.000Z | #define YGP_DISABLE_BROOM
#define YGP_DISABLE_DEMENTOR
#define YGP_DISABLE_BROWSER
#define YGP_DISABLE_PLAYER
#include"../include/ygp.hpp"
YGP_INIT
YGP_WNDPROC
{
static window win;
YGP_BEGIN_MSG_MAP
case WM_CREATE:
{
win=hwnd;
break;
}
case WM_DESTROY:
{
PostQuitMessa... | 17.419355 | 47 | 0.648148 | qaqwqaqwq-0 |
b19eea6d8ecb650cbabc95346422e7358cabed79 | 138 | cpp | C++ | TextRPG/Source/Random.cpp | DanDanCool/TextRPG | f3404a6f1b4590909b37a4c61211527276462738 | [
"Apache-2.0"
] | 1 | 2021-01-07T14:33:22.000Z | 2021-01-07T14:33:22.000Z | TextRPG/Source/Random.cpp | DanDanCool/TextRPG | f3404a6f1b4590909b37a4c61211527276462738 | [
"Apache-2.0"
] | 2 | 2020-05-15T22:20:54.000Z | 2020-05-24T06:49:52.000Z | TextRPG/Source/Random.cpp | DanDanCool/TextRPG | f3404a6f1b4590909b37a4c61211527276462738 | [
"Apache-2.0"
] | null | null | null | #include "Random.h"
std::mt19937 Random::s_RandomEngine;
std::uniform_int_distribution<std::mt19937::result_type> Random::s_Distribution; | 34.5 | 80 | 0.811594 | DanDanCool |
b1a1ca02efd4919326c503aedc371115c9c08ec4 | 1,675 | cpp | C++ | src/cm/cf/func/SdeFFunction.cpp | ukjhsa/ADEF | ce9e16d6a0f40558860a222b20065297f1a1c8fb | [
"MIT"
] | null | null | null | src/cm/cf/func/SdeFFunction.cpp | ukjhsa/ADEF | ce9e16d6a0f40558860a222b20065297f1a1c8fb | [
"MIT"
] | 8 | 2015-12-03T10:21:21.000Z | 2019-02-20T11:20:57.000Z | src/cm/cf/func/SdeFFunction.cpp | ukjhsa/ADEF | ce9e16d6a0f40558860a222b20065297f1a1c8fb | [
"MIT"
] | null | null | null | #include <memory>
#include <vector>
#include <string>
#include <any>
#include "cm/cf/func/SdeFFunction.h"
#include "cm/ControlledObject.h"
#include "Configuration.h"
#include "PrototypeManager.h"
#include "Individual.h"
namespace adef {
void SdeFFunction::setup(const Configuration & config, const PrototypeManager & p... | 27.016129 | 175 | 0.677612 | ukjhsa |
b1a62eafc01aafb7f991ddbf2d86af8a305701f3 | 1,428 | cpp | C++ | Source/GravityGun/GravityGunCameraShake.cpp | jSplunk/GravityGun | 1157d876a6a6b9843602171781c52b12e7e2dd69 | [
"Apache-2.0"
] | null | null | null | Source/GravityGun/GravityGunCameraShake.cpp | jSplunk/GravityGun | 1157d876a6a6b9843602171781c52b12e7e2dd69 | [
"Apache-2.0"
] | null | null | null | Source/GravityGun/GravityGunCameraShake.cpp | jSplunk/GravityGun | 1157d876a6a6b9843602171781c52b12e7e2dd69 | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "GravityGunCameraShake.h"
void UGravityGunCameraShake::SetRotPitch(float Amplitude, float Frequency)
{
//Setting new values for the roational pitch of the oscillation
RotPitch.Amplitude = Amplitude;
RotPitch.Frequency = Frequen... | 29.142857 | 148 | 0.794118 | jSplunk |
b1a70972281a31d591aede137638cb0761a8f267 | 1,272 | cc | C++ | cc/test-bezier-gradient.cc | acorg/acmacs-base | a1a6e5b346ea3746f3fc1750ed4b7f29c7c0d049 | [
"MIT"
] | null | null | null | cc/test-bezier-gradient.cc | acorg/acmacs-base | a1a6e5b346ea3746f3fc1750ed4b7f29c7c0d049 | [
"MIT"
] | null | null | null | cc/test-bezier-gradient.cc | acorg/acmacs-base | a1a6e5b346ea3746f3fc1750ed4b7f29c7c0d049 | [
"MIT"
] | null | null | null | #include "acmacs-base/argv.hh"
#include "acmacs-base/color-gradient.hh"
// ----------------------------------------------------------------------
using namespace acmacs::argv;
struct Options : public argv
{
Options(int a_argc, const char* const a_argv[], on_error on_err = on_error::exit) : argv() { parse(a_argc, ... | 31.8 | 129 | 0.556604 | acorg |
b1a74ba2798aa83b8e00fb35def02c352a7183dd | 5,756 | cc | C++ | aslam_cv2/aslam_cv_cameras/src/distortion-fisheye.cc | eglrp/maplab-note | 4f4508d5cd36345c79dd38f6621a0a55aa5b0138 | [
"Apache-2.0"
] | 2 | 2020-12-25T07:00:18.000Z | 2022-03-15T14:35:59.000Z | aslam_cv2/aslam_cv_cameras/src/distortion-fisheye.cc | eglrp/maplab-note | 4f4508d5cd36345c79dd38f6621a0a55aa5b0138 | [
"Apache-2.0"
] | null | null | null | aslam_cv2/aslam_cv_cameras/src/distortion-fisheye.cc | eglrp/maplab-note | 4f4508d5cd36345c79dd38f6621a0a55aa5b0138 | [
"Apache-2.0"
] | 1 | 2020-06-09T04:07:33.000Z | 2020-06-09T04:07:33.000Z | #include <aslam/cameras/distortion-fisheye.h>
namespace aslam {
std::ostream& operator<<(std::ostream& out, const FisheyeDistortion& distortion) {
distortion.printParameters(out, std::string(""));
return out;
}
FisheyeDistortion::FisheyeDistortion(const Eigen::VectorXd& dist_coeffs)
: Base(dist_coeffs, Distortion... | 33.271676 | 112 | 0.567582 | eglrp |
b1afc8a8d08db2792989acf9ba24e88993e6c627 | 5,945 | cpp | C++ | src/imgui_glfw.cpp | pperehozhih/imgui_glfw | 726549cbec2b754dbbd0afdfecc23e60c015378f | [
"Apache-2.0"
] | null | null | null | src/imgui_glfw.cpp | pperehozhih/imgui_glfw | 726549cbec2b754dbbd0afdfecc23e60c015378f | [
"Apache-2.0"
] | null | null | null | src/imgui_glfw.cpp | pperehozhih/imgui_glfw | 726549cbec2b754dbbd0afdfecc23e60c015378f | [
"Apache-2.0"
] | null | null | null | #ifdef __EMSCRIPTEN__
#include <emscripten.h>
#define GL_GLEXT_PROTOTYPES
#define EGL_EGLEXT_PROTOTYPES
#else
extern "C" {
#include "examples/libs/gl3w/GL/gl3w.c"
}
#define IMGUI_IMPL_OPENGL_LOADER_CUSTOM "examples/libs/gl3w/GL/gl3w.h"
#endif
#include "backends/imgui_impl_opengl3.cpp"
#include "backends/imgui_impl... | 36.697531 | 129 | 0.600673 | pperehozhih |
b1bd5b16e7ed13b229a7b98dfd0ea1fa98e1c305 | 3,911 | cpp | C++ | Kernel/Heap.cpp | Archlisk/fos2 | f6a6efcaf1d29ccabdef7d9f713cc0b80f1b6565 | [
"MIT"
] | null | null | null | Kernel/Heap.cpp | Archlisk/fos2 | f6a6efcaf1d29ccabdef7d9f713cc0b80f1b6565 | [
"MIT"
] | null | null | null | Kernel/Heap.cpp | Archlisk/fos2 | f6a6efcaf1d29ccabdef7d9f713cc0b80f1b6565 | [
"MIT"
] | null | null | null | #include <Heap.h>
#include <Memory.h>
using namespace Kernel;
Heap::Heap(void* start_addr, u64 size)
: m_start_addr(start_addr), m_size(size)
{
Header* first_header = (Header*)start_addr;
Header* last_header = (Header*)((u64)start_addr + size - sizeof(Header));
first_header->prev = nullptr;
first_header->free... | 23.70303 | 131 | 0.645615 | Archlisk |
04df61e9469c036c18ce1d54b9672164fc18d18b | 2,082 | cpp | C++ | addons/ofxMPMFluid/src/ofxMPMObstacle.cpp | eraly5555/Hub | e890f841f16988c642cf6390fa31c3c5ae82773d | [
"MIT"
] | 20 | 2015-01-13T08:14:46.000Z | 2022-01-09T21:01:41.000Z | addons/ofxMPMFluid/src/ofxMPMObstacle.cpp | eraly5555/Hub | e890f841f16988c642cf6390fa31c3c5ae82773d | [
"MIT"
] | null | null | null | addons/ofxMPMFluid/src/ofxMPMObstacle.cpp | eraly5555/Hub | e890f841f16988c642cf6390fa31c3c5ae82773d | [
"MIT"
] | 3 | 2016-07-13T08:58:33.000Z | 2021-01-29T07:06:34.000Z | /**
* ofxMPMFluid.cpp
* The MIT License (MIT)
* Copyright (c) 2010 respective contributors
*
* 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 l... | 39.283019 | 82 | 0.716138 | eraly5555 |
04e01ab7bc1d1eb226f49ea65bf13fa5ffd56fcb | 700 | hpp | C++ | lib/hmat/hmatrix_dense_compressor.hpp | mdavezac/bempp | bc573062405bda107d1514e40b6153a8350d5ab5 | [
"BSL-1.0"
] | null | null | null | lib/hmat/hmatrix_dense_compressor.hpp | mdavezac/bempp | bc573062405bda107d1514e40b6153a8350d5ab5 | [
"BSL-1.0"
] | null | null | null | lib/hmat/hmatrix_dense_compressor.hpp | mdavezac/bempp | bc573062405bda107d1514e40b6153a8350d5ab5 | [
"BSL-1.0"
] | null | null | null | // vi: set et ts=4 sw=2 sts=2:
#ifndef HMAT_HMATRIX_DENSE_COMPRESSOR_HPP
#define HMAT_HMATRIX_DENSE_COMPRESSOR_HPP
#include "common.hpp"
#include "hmatrix_compressor.hpp"
#include "data_accessor.hpp"
namespace hmat {
template <typename ValueType, int N>
class HMatrixDenseCompressor : public HMatrixCompressor<ValueT... | 24.137931 | 75 | 0.771429 | mdavezac |
04e4ad8aba946a547875ef09ec87454d428cfc12 | 4,139 | cpp | C++ | src/templateargumentprocessor.cpp | strandfield/libscript | 5d413762ad8ce88ff887642f6947032017dd284c | [
"MIT"
] | 3 | 2020-12-28T01:40:45.000Z | 2021-05-18T01:47:07.000Z | src/templateargumentprocessor.cpp | strandfield/libscript | 5d413762ad8ce88ff887642f6947032017dd284c | [
"MIT"
] | 4 | 2019-06-29T12:23:11.000Z | 2020-07-25T15:38:46.000Z | src/templateargumentprocessor.cpp | strandfield/libscript | 5d413762ad8ce88ff887642f6947032017dd284c | [
"MIT"
] | 1 | 2021-11-17T01:49:42.000Z | 2021-11-17T01:49:42.000Z | // Copyright (C) 2018-2020 Vincent Chambrin
// This file is part of the libscript library
// For conditions of distribution and use, see copyright notice in LICENSE
#include "script/templateargumentprocessor.h"
#include "script/class.h"
#include "script/classtemplate.h"
#include "script/classtemplateinstancebuilder.h... | 31.356061 | 143 | 0.712491 | strandfield |
04e63d8b01982081dba6536e567c4f7d691639ac | 6,407 | hh | C++ | maxutils/maxbase/include/maxbase/log.hh | sdrik/MaxScale | c6c318b36dde0a25f22ac3fd59c9d33d774fe37a | [
"BSD-3-Clause"
] | null | null | null | maxutils/maxbase/include/maxbase/log.hh | sdrik/MaxScale | c6c318b36dde0a25f22ac3fd59c9d33d774fe37a | [
"BSD-3-Clause"
] | null | null | null | maxutils/maxbase/include/maxbase/log.hh | sdrik/MaxScale | c6c318b36dde0a25f22ac3fd59c9d33d774fe37a | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2026-01-04
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 29.255708 | 109 | 0.68472 | sdrik |
04eb53258babfb8b10e0b47571fad57dfe9d560f | 6,577 | hpp | C++ | src/core/util/ImageProcessing.hpp | ShamylZakariya/KesslerSyndrome | dce00108304fe2c1b528515dafc29c15011d4679 | [
"MIT"
] | null | null | null | src/core/util/ImageProcessing.hpp | ShamylZakariya/KesslerSyndrome | dce00108304fe2c1b528515dafc29c15011d4679 | [
"MIT"
] | null | null | null | src/core/util/ImageProcessing.hpp | ShamylZakariya/KesslerSyndrome | dce00108304fe2c1b528515dafc29c15011d4679 | [
"MIT"
] | null | null | null | //
// ImageProgressing.hpp
// Kessler Syndrome
//
// Created by Shamyl Zakariya on 11/30/17.
//
#ifndef ImageProcessing_hpp
#define ImageProcessing_hpp
#include <cinder/Channel.h>
#include <cinder/Perlin.h>
#include "core/Common.hpp"
#include "core/MathHelpers.hpp"
namespace core {
namespace util {
n... | 49.825758 | 145 | 0.610005 | ShamylZakariya |
04eb66a4e3bd630eb33cd10064113df68094b628 | 510 | hpp | C++ | wxRecognize/src/cDialogConfigureDetection.hpp | enzo418/Recognice-CCTV-c- | 15da07a559d6de611452df4d404a15d4551c3017 | [
"Apache-2.0"
] | 1 | 2020-09-06T21:44:56.000Z | 2020-09-06T21:44:56.000Z | wxRecognize/src/cDialogConfigureDetection.hpp | enzo418/Recognice-CCTV-c- | 15da07a559d6de611452df4d404a15d4551c3017 | [
"Apache-2.0"
] | null | null | null | wxRecognize/src/cDialogConfigureDetection.hpp | enzo418/Recognice-CCTV-c- | 15da07a559d6de611452df4d404a15d4551c3017 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "wx/dialog.h"
#include "wx/textctrl.h"
#include "wx/button.h"
class cDialogConfigureDetection : public wxDialog {
public:
cDialogConfigureDetection ( wxWindow * parent, wxWindowID id, const wxString & title,
const wxPoint & pos,
const wxSize & size,
wxString& yoloCfg, wxSt... | 23.181818 | 87 | 0.696078 | enzo418 |
04ebc87204d0b084f35987a10fe1f9168a7d3f3a | 2,847 | cpp | C++ | pkcs11-gui/src/importp12dialog.cpp | T-Bonhagen/pkcs11-gui | 95eed0e907235af826d79a58531dca07b77cca5d | [
"Apache-2.0"
] | 7 | 2018-06-06T12:53:46.000Z | 2022-02-28T16:42:09.000Z | pkcs11-gui/src/importp12dialog.cpp | n3wtron/pkcs11-gui | faccbaa79dd58d803d8466ae28af7098c3a8e92a | [
"Apache-2.0"
] | 4 | 2020-07-28T06:46:28.000Z | 2021-01-22T09:55:13.000Z | pkcs11-gui/src/importp12dialog.cpp | n3wtron/pkcs11-gui | faccbaa79dd58d803d8466ae28af7098c3a8e92a | [
"Apache-2.0"
] | 4 | 2018-04-25T16:57:55.000Z | 2021-01-21T19:59:11.000Z | /*
* Copyright 2017 Igor Maculan <n3wtron@gmail.com>
*
* 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 applica... | 35.148148 | 163 | 0.651212 | T-Bonhagen |
04ed2a8339473a505b57b7cdaa6452d583729559 | 4,822 | cpp | C++ | 5. Graph Theory/Connectivity/articulationPointsAndBridges.cpp | eashwaranRaghu/Data-Structures-and-Algorithms | 3aad0f1da3d95b572fbb1950c770198bd042a80f | [
"MIT"
] | 6 | 2020-01-29T14:05:56.000Z | 2021-04-24T04:37:27.000Z | 5. Graph Theory/Connectivity/articulationPointsAndBridges.cpp | eashwaranRaghu/Data-Structures-and-Algorithms | 3aad0f1da3d95b572fbb1950c770198bd042a80f | [
"MIT"
] | null | null | null | 5. Graph Theory/Connectivity/articulationPointsAndBridges.cpp | eashwaranRaghu/Data-Structures-and-Algorithms | 3aad0f1da3d95b572fbb1950c770198bd042a80f | [
"MIT"
] | 1 | 2020-05-22T06:37:20.000Z | 2020-05-22T06:37:20.000Z | // Created on 15-07-2019 18:51:46 by necronomicon
#include <bits/stdc++.h>
using namespace std;
#define MP make_pair
#define PB push_back
#define ARR_MAX (int)1e5 //Max array length
#define INF (int)1e9 //10^9
#define EPS 1e-9 //10^-9
#define MOD 1000000007 //10^9+7
#define PI 3.14159265358979323846264338327... | 32.362416 | 190 | 0.597677 | eashwaranRaghu |
04f4016359f6f2986f2fdf3f368e5a69cd757811 | 11,727 | cpp | C++ | main/PIKern/KextDeviceNotify.cpp | minku1024/endpointdlp | 931ab140eef053498907d1db74a5c055bea8ef93 | [
"Apache-2.0"
] | 33 | 2020-11-18T09:30:13.000Z | 2022-03-03T17:56:24.000Z | main/PIKern/KextDeviceNotify.cpp | s4ngsuk-sms/endpointdlp | 9e87e352e23bff3b5e0701dd278756aadc8a0539 | [
"Apache-2.0"
] | 25 | 2020-07-31T01:43:17.000Z | 2020-11-27T12:32:09.000Z | main/PIKern/KextDeviceNotify.cpp | s4ngsuk-sms/endpointdlp | 9e87e352e23bff3b5e0701dd278756aadc8a0539 | [
"Apache-2.0"
] | 26 | 2020-11-18T09:30:15.000Z | 2022-01-18T08:24:01.000Z | #include <stdio.h>
#include <string.h>
#ifdef LINUX
#include <stdlib.h>
#include <mntent.h>
#include <libudev.h>
#else
#import <Foundation/Foundation.h>
#import <IOKit/IOKitLib.h>
#import <IOKit/usb/IOUSBLib.h>
#import <IOKit/hid/IOHIDKeys.h>
#endif
#ifdef LINUX
#include "../../PISupervisor/apple/include/KernelPr... | 25.660832 | 202 | 0.560672 | minku1024 |
04f4f85c36d483addd2997684f76e5dd9ccf0604 | 16,923 | cpp | C++ | src/tx/dexoperatortx.cpp | xiaoyu1998/wasm.bitcoin | 0fbd7bdc4555382abca64b5df33e8aec7a65ff3b | [
"MIT"
] | 1,313 | 2018-01-09T01:49:01.000Z | 2022-02-26T11:10:40.000Z | src/tx/dexoperatortx.cpp | linnbenton/WaykiChain | 91dc0aa5b28b63f00ea71c57f065e1b4ad4b124a | [
"MIT"
] | 32 | 2018-06-07T10:21:21.000Z | 2021-12-07T06:53:42.000Z | src/tx/dexoperatortx.cpp | linnbenton/WaykiChain | 91dc0aa5b28b63f00ea71c57f065e1b4ad4b124a | [
"MIT"
] | 322 | 2018-02-26T03:41:36.000Z | 2022-02-08T08:12:16.000Z | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2017-2019 The WaykiChain Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "dexoperatortx.h"
#include "config/configuration.h"
#include "main.h"... | 40.778313 | 146 | 0.629085 | xiaoyu1998 |
04f50b1dcb0423c4c6aa123021f3eb27c0d528bc | 650 | hh | C++ | Sources/AGEngine/Render/Pipelining/Pipelines/CustomRenderPass/GaussianBlur.hh | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 47 | 2015-03-29T09:44:25.000Z | 2020-11-30T10:05:56.000Z | Sources/AGEngine/Render/Pipelining/Pipelines/CustomRenderPass/GaussianBlur.hh | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 313 | 2015-01-01T18:16:30.000Z | 2015-11-30T07:54:07.000Z | Sources/AGEngine/Render/Pipelining/Pipelines/CustomRenderPass/GaussianBlur.hh | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 9 | 2015-06-07T13:21:54.000Z | 2020-08-25T09:50:07.000Z | #pragma once
#include <Render/Pipelining/Render/FrameBufferRender.hh>
#include <glm\glm.hpp>
namespace AGE
{
class Texture2D;
class Program;
class GaussianBlur : public FrameBufferRender
{
public:
GaussianBlur(glm::uvec2 const &screenSize, std::shared_ptr<PaintingManager> painterManager,
std::shared_ptr<... | 22.413793 | 93 | 0.763077 | Another-Game-Engine |
04f512e764550c0c54c81fc8cc2c4879d458aae7 | 4,332 | cpp | C++ | benchmarks/Benchmarks/SW_StreamCluster/SW_StreamCluster.cpp | cdsc-github/parade-ara-simulator | 00c977200a8e7aa31b03d560886ec80840a3c416 | [
"BSD-3-Clause"
] | 31 | 2015-12-15T19:14:10.000Z | 2021-12-31T17:40:21.000Z | benchmarks/Benchmarks/SW_StreamCluster/SW_StreamCluster.cpp | cdsc-github/parade-ara-simulator | 00c977200a8e7aa31b03d560886ec80840a3c416 | [
"BSD-3-Clause"
] | 5 | 2015-12-04T08:06:47.000Z | 2020-08-09T21:49:46.000Z | benchmarks/Benchmarks/SW_StreamCluster/SW_StreamCluster.cpp | cdsc-github/parade-ara-simulator | 00c977200a8e7aa31b03d560886ec80840a3c416 | [
"BSD-3-Clause"
] | 21 | 2015-11-05T08:25:45.000Z | 2021-06-19T02:24:50.000Z | #include "../../BenchmarkNode.h"
#include <stdint.h>
#include <iostream>
#include <cmath>
#define ITER_COUNT 2
#define CACHE_LINE 32 // cache line in byte
/* this structure represents a point */
/* these will be passed around to avoid copying coordinates */
typedef struct {
float weight;
float *coord;
long ass... | 24.896552 | 268 | 0.627193 | cdsc-github |
04f907d4b9efd4565b9880c36d4e309cefed618d | 1,551 | hpp | C++ | bulletgba/generator/data/code/kotuanzenx/tsx_proto11.hpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | 5 | 2020-03-24T07:44:49.000Z | 2021-08-30T14:43:31.000Z | bulletgba/generator/data/code/kotuanzenx/tsx_proto11.hpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | bulletgba/generator/data/code/kotuanzenx/tsx_proto11.hpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | #ifndef GENERATED_419896c26be84c4028d040a9d3789448_HPP
#define GENERATED_419896c26be84c4028d040a9d3789448_HPP
#include "bullet.hpp"
void stepfunc_10c3a88a8e44bab5c0812abd588467e2_e9c5251663b26b8b849de773f3f9b7a0(BulletInfo *p);
void stepfunc_6536e4546bdcfcf651852434db03b678_e9c5251663b26b8b849de773f3f9b7a0(Bullet... | 59.653846 | 104 | 0.909736 | pqrs-org |
04f980874480007455014b3cb0fad4ba69baeea2 | 462 | cpp | C++ | tests/math_unit/math/mix/scal/fun/value_of_rec_test.cpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | tests/math_unit/math/mix/scal/fun/value_of_rec_test.cpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | tests/math_unit/math/mix/scal/fun/value_of_rec_test.cpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/math/mix/scal.hpp>
#include <gtest/gtest.h>
#include <math/rev/scal/util.hpp>
TEST(AgradRev, value_of_rec_0) {
using stan::math::fvar;
using stan::math::value_of_rec;
using stan::math::var;
fvar<var> fv_a(5.0);
fvar<fvar<var> > ffv_a(5.0);
fvar<fvar<fvar<fvar<fvar<var> > > > > fffffv_a(5.0)... | 25.666667 | 54 | 0.692641 | alashworth |
04f9cf4712dfa5787abb48dfeba3280f57cae510 | 592 | cxx | C++ | src/Kinematics.cxx | luketpickering/HepMCNuEvtTools | 1ec8590cb81475ae525ed32b70211786c67acaa4 | [
"MIT"
] | 2 | 2021-02-17T15:09:27.000Z | 2021-03-15T16:57:05.000Z | src/Kinematics.cxx | luketpickering/HepMCNuEvtTools | 1ec8590cb81475ae525ed32b70211786c67acaa4 | [
"MIT"
] | null | null | null | src/Kinematics.cxx | luketpickering/HepMCNuEvtTools | 1ec8590cb81475ae525ed32b70211786c67acaa4 | [
"MIT"
] | null | null | null | #include "NuHepMC/Kinematics.hxx"
#include "NuHepMC/ParticleStackReaderHelper.hxx"
#include <iostream>
namespace NuHepMC {
HepMC3::FourVector GetFourMomentumTransfer(HepMC3::GenEvent const &evt) {
auto ISProbe = GetProbe(evt);
if (!ISProbe) {
return HepMC3::FourVector::ZERO_VECTOR();
}
auto FSProbe = Ge... | 21.925926 | 73 | 0.709459 | luketpickering |
04fc2bddc73e7738bb6eaec9b0a5614d14b68792 | 643 | cpp | C++ | solutions/0543.diameter-of-binary-tree/0543.diameter-of-binary-tree.1558320628.cpp | nettee/leetcode | 19aa8d54d64cce3679db5878ee0194fad95d8fa1 | [
"MIT"
] | 1 | 2021-01-14T06:01:02.000Z | 2021-01-14T06:01:02.000Z | solutions/0543.diameter-of-binary-tree/0543.diameter-of-binary-tree.1558320628.cpp | nettee/leetcode | 19aa8d54d64cce3679db5878ee0194fad95d8fa1 | [
"MIT"
] | 8 | 2018-03-27T11:47:19.000Z | 2018-11-12T06:02:12.000Z | solutions/0543.diameter-of-binary-tree/0543.diameter-of-binary-tree.1558320628.cpp | nettee/leetcode | 19aa8d54d64cce3679db5878ee0194fad95d8fa1 | [
"MIT"
] | 2 | 2020-04-30T09:47:01.000Z | 2020-12-03T09:34:08.000Z | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int diameterOfBinaryTree(TreeNode* root) {
int diam = 0;
maxDepth(root, diam);
... | 22.964286 | 59 | 0.527216 | nettee |
04fc48087dbea9865ea7d0c9765dcc951b4eb33e | 329 | cpp | C++ | Chapter4/Practice/1090.cpp | flics04/XXXASYBT_CppBase | 0086df68497197f40286889b18f2d8c28eb833bb | [
"MIT"
] | 1 | 2022-02-13T02:22:39.000Z | 2022-02-13T02:22:39.000Z | Chapter4/Practice/1090.cpp | flics04/XXXASYBT_CppBase | 0086df68497197f40286889b18f2d8c28eb833bb | [
"MIT"
] | null | null | null | Chapter4/Practice/1090.cpp | flics04/XXXASYBT_CppBase | 0086df68497197f40286889b18f2d8c28eb833bb | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
int m, k, n, w, t = 0;
cin >> m >> k;
n = m;
while (n) {
w = n % 10;
if (w == 3)
++t;
n /= 10;
}
if (m % 19 == 0 && t == k)
cout << "YES" << endl;
else
cout << "NO" << endl;
ret... | 13.708333 | 30 | 0.343465 | flics04 |
04fc723f94a4f0ba29db7ca4dd467f73898a457a | 6,364 | cpp | C++ | src/caffe/layers/mvn_layer.cpp | oscmansan/nvcaffe | 22738c97e9c6991e49a12a924c3c773d95795b5c | [
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/mvn_layer.cpp | oscmansan/nvcaffe | 22738c97e9c6991e49a12a924c3c773d95795b5c | [
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/mvn_layer.cpp | oscmansan/nvcaffe | 22738c97e9c6991e49a12a924c3c773d95795b5c | [
"BSD-2-Clause"
] | null | null | null | #include <algorithm>
#include <vector>
#include "caffe/common_layers.hpp"
#include "caffe/layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype, typename Mtype>
void MVNLayer<Dtype,Mtype>::Reshape(const vector<Blob<Dtype,Mtype>*>& bottom,
const vector<Blob<Dtype,Mtype>*... | 41.058065 | 90 | 0.675519 | oscmansan |
04fdfa60440ea7fc5cba70c2ea416036838c44ab | 10,583 | cpp | C++ | Server Lib/Projeto IOCP/PANGYA_DB/pangya_db.cpp | eantoniobr/SuperSS-Dev | f57c094f164cc90c2694df33ba394304cd0e7846 | [
"MIT"
] | null | null | null | Server Lib/Projeto IOCP/PANGYA_DB/pangya_db.cpp | eantoniobr/SuperSS-Dev | f57c094f164cc90c2694df33ba394304cd0e7846 | [
"MIT"
] | null | null | null | Server Lib/Projeto IOCP/PANGYA_DB/pangya_db.cpp | eantoniobr/SuperSS-Dev | f57c094f164cc90c2694df33ba394304cd0e7846 | [
"MIT"
] | 1 | 2021-11-03T00:21:07.000Z | 2021-11-03T00:21:07.000Z | // Arquivo pangya_db.cpp
// Criado em 25/12/2017 por Acrisio
// Implementação da classe pangya_db
#if defined(_WIN32)
#pragma pack(1)
#endif
#if defined(_WIN32)
#include <WinSock2.h>
#elif defined(__linux__)
#include "../UTIL/WinPort.h"
#include <unistd.h>
#endif
#include "pangya_db.h"
#include "../UTIL/exception.h"... | 25.749392 | 230 | 0.681187 | eantoniobr |
ca012ee4ec0f3d0223dcb884c068974dd3eb7988 | 7,717 | cpp | C++ | examples/world_gen/game.cpp | jjbandit/game | c28affd868201d3151ca75a20883e7fb26e09302 | [
"WTFPL"
] | 13 | 2017-04-12T16:26:46.000Z | 2022-03-01T22:04:34.000Z | examples/world_gen/game.cpp | jjbandit/game | c28affd868201d3151ca75a20883e7fb26e09302 | [
"WTFPL"
] | null | null | null | examples/world_gen/game.cpp | jjbandit/game | c28affd868201d3151ca75a20883e7fb26e09302 | [
"WTFPL"
] | null | null | null | #include <bonsai_types.h>
#include <game_constants.h>
#include <game_types.h>
#define RANDOM_HOTKEY_MASHING 0
#if RANDOM_HOTKEY_MASHING
static u32 HotkeyFrameTimeout = 0;
static random_series HotkeyEntropy = {};
static hotkeys StashedHotkeys = {};
#endif
model *
AllocateGameModels(game_state *GameState, memory_are... | 31.116935 | 125 | 0.705067 | jjbandit |
ca01560870d938fafd39fcc70b08ba9abb9f6dca | 145 | cpp | C++ | nmnnmm.cpp | taareek/c-plus-plus | b9d04f710e9b2e65786618f8bbced4a56c149444 | [
"Unlicense"
] | null | null | null | nmnnmm.cpp | taareek/c-plus-plus | b9d04f710e9b2e65786618f8bbced4a56c149444 | [
"Unlicense"
] | null | null | null | nmnnmm.cpp | taareek/c-plus-plus | b9d04f710e9b2e65786618f8bbced4a56c149444 | [
"Unlicense"
] | null | null | null | #include<iostream>
using namespace std;
int hey(int a){
int c= a+3;
return c;
}
int main(){
int i= 29;
cout<<hey(i);
}
| 13.181818 | 21 | 0.524138 | taareek |
ca0d4c6b467942844ddd87d378229d2df7cddc08 | 1,187 | cpp | C++ | 1175/e_fin.cpp | vladshablinsky/algo | 815392708d00dc8d3159b4866599de64fa9d34fa | [
"MIT"
] | 1 | 2021-10-24T00:46:37.000Z | 2021-10-24T00:46:37.000Z | 1175/e_fin.cpp | vladshablinsky/algo | 815392708d00dc8d3159b4866599de64fa9d34fa | [
"MIT"
] | null | null | null | 1175/e_fin.cpp | vladshablinsky/algo | 815392708d00dc8d3159b4866599de64fa9d34fa | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <vector>
using namespace std;
const int INF = 1e9;
const int MAX_N = 5e5 + 5;
const int MAX_P = 21;
int f[MAX_N][MAX_P];
int next_right[MAX_N];
int n, m;
int main() {
cin >> n >> m;
for (int i = 0; i < n; ++i) {
int l, r;... | 19.459016 | 71 | 0.428812 | vladshablinsky |
ca105b6ad8eadb8ebbfced706b616d58a3d2c50e | 87,328 | hpp | C++ | include/GlobalNamespace/MultiplayerSessionManager.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/MultiplayerSessionManager.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/MultiplayerSessionManager.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: StandaloneMono... | 73.077824 | 2,247 | 0.774998 | Fernthedev |
ca10ce59e8add44aa2c13e8d28484a80163462eb | 1,122 | cpp | C++ | imgplane.cpp | dghilardi/Sgherender | 1940dc52034c5e00adc3bd7a2ab6fbcee73007e1 | [
"MIT"
] | null | null | null | imgplane.cpp | dghilardi/Sgherender | 1940dc52034c5e00adc3bd7a2ab6fbcee73007e1 | [
"MIT"
] | null | null | null | imgplane.cpp | dghilardi/Sgherender | 1940dc52034c5e00adc3bd7a2ab6fbcee73007e1 | [
"MIT"
] | null | null | null | #include "imgplane.h"
ImgPlane::ImgPlane(int w, int h) : width(w), height(h)
{
int size = w*h;
for(int i=0; i<size; ++i){
image.push_back(new Color(0,0,0));
raysNumber.push_back(0);
}
}
void ImgPlane::updatePixel(int x, int y, Color &pxl, int rays){
Color *actual = image[x*width+y];
... | 34 | 83 | 0.578431 | dghilardi |
ca11d073f33b173a5993690aa4c7400e6d6024cf | 3,503 | cpp | C++ | Graph/ManucianGoesToDerby_IMP_msp.cpp | Satyabrat35/Programming | 841ead1bf847b567d8e21963673413cbd65277f4 | [
"Apache-2.0"
] | null | null | null | Graph/ManucianGoesToDerby_IMP_msp.cpp | Satyabrat35/Programming | 841ead1bf847b567d8e21963673413cbd65277f4 | [
"Apache-2.0"
] | null | null | null | Graph/ManucianGoesToDerby_IMP_msp.cpp | Satyabrat35/Programming | 841ead1bf847b567d8e21963673413cbd65277f4 | [
"Apache-2.0"
] | null | null | null | /**************erik****************/
#include<bits/stdc++.h>
#include <cstdio>
#include <iostream>
#include <algorithm>
using namespace std;
typedef long long int ll;
typedef unsigned long long int ull;
map<int,int> mp1;
set<int> s1;
//set<int>::iterator it;
#define maxm(a,b,c) max(a,max(c,b))
#define minm(a,b,c) mi... | 26.338346 | 82 | 0.375393 | Satyabrat35 |
ca147e45cea256785a4437433d70cbc6a13c4bd0 | 143,300 | cpp | C++ | src/libbrep/PullbackCurve.cpp | quadmotor/brlcad | 05952aafa27ee9df17cd900f5d8f8217ed2194af | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 35 | 2015-03-11T11:51:48.000Z | 2021-07-25T16:04:49.000Z | src/libbrep/PullbackCurve.cpp | CloudComputer/brlcad | 05952aafa27ee9df17cd900f5d8f8217ed2194af | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/libbrep/PullbackCurve.cpp | CloudComputer/brlcad | 05952aafa27ee9df17cd900f5d8f8217ed2194af | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 19 | 2016-05-04T08:39:37.000Z | 2021-12-07T12:45:54.000Z | /* P U L L B A C K C U R V E . C P P
* BRL-CAD
*
* Copyright (c) 2009-2014 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* versio... | 31.11835 | 204 | 0.603803 | quadmotor |
ca155a3ed1b5de97d9d89de64f6d806f518bcf37 | 1,895 | cpp | C++ | Siv3D/src/Siv3D/TCPServer/SivTCPServer.cpp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 2 | 2021-11-22T00:52:48.000Z | 2021-12-24T09:33:55.000Z | Siv3D/src/Siv3D/TCPServer/SivTCPServer.cpp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D/TCPServer/SivTCPServer.cpp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 1 | 2021-12-31T05:08:00.000Z | 2021-12-31T05:08:00.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2022 Ryo Suzuki
// Copyright (c) 2016-2022 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/TCPServer.hpp>
# include <Siv... | 19.536082 | 96 | 0.661214 | tas9n |
ca15af76b7aa10d521476e7213ca8ee5d49dec14 | 11,799 | cpp | C++ | Core-src/PeakFile.cpp | HaikuArchives/BeAE | b57860a81266dd465655ec98b7524406bfde27aa | [
"BSD-3-Clause"
] | 6 | 2015-03-04T19:41:12.000Z | 2022-03-27T09:44:25.000Z | Core-src/PeakFile.cpp | HaikuArchives/BeAE | b57860a81266dd465655ec98b7524406bfde27aa | [
"BSD-3-Clause"
] | 20 | 2015-03-03T21:02:20.000Z | 2021-08-02T13:26:59.000Z | Core-src/PeakFile.cpp | HaikuArchives/BeAE | b57860a81266dd465655ec98b7524406bfde27aa | [
"BSD-3-Clause"
] | 8 | 2015-02-23T19:10:32.000Z | 2020-10-26T08:03:00.000Z | /*
Copyright (c) 2003, Xentronix
Author: Frans van Nispen (frans@xentronix.com)
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 ... | 25.157783 | 89 | 0.56437 | HaikuArchives |
ca197403de71028efb91aaef9f94f71c9dba68b3 | 6,493 | hpp | C++ | src/slave/containerizer/docker.hpp | HICAS-ChameLeon/Chameleon | cd0666317eb4e92a4f9fe0b2955b46bc224cf862 | [
"Apache-2.0"
] | 4 | 2019-03-06T03:04:40.000Z | 2019-07-20T15:35:00.000Z | src/slave/containerizer/docker.hpp | HICAS-ChameLeon/Chameleon | cd0666317eb4e92a4f9fe0b2955b46bc224cf862 | [
"Apache-2.0"
] | 6 | 2018-11-30T08:04:45.000Z | 2019-05-15T03:04:28.000Z | src/slave/containerizer/docker.hpp | HICAS-ChameLeon/Chameleon | cd0666317eb4e92a4f9fe0b2955b46bc224cf862 | [
"Apache-2.0"
] | 4 | 2019-03-11T11:51:22.000Z | 2020-05-11T07:27:31.000Z | /*
* Copyright :SIAT 异构智能计算体系结构与系统研究中心
* Author : Heldon 764165887@qq.com
* Date :19-03-01
* Description:containerizer(docker) codes
*/
#ifndef CHAMELEON_DOCKER_HPP
#define CHAMELEON_DOCKER_HPP
//C++11 dependencies
#include <list>
#include <map>
#include <set>
#include <string>
//stout dependencies
... | 33.297436 | 91 | 0.551517 | HICAS-ChameLeon |
ca19ce947ee073ce2ea4f581d3a999c5189f0211 | 1,147 | cpp | C++ | src/behaviour/meleeattackbhv.cpp | alexeyden/whack | 2bff3beb0afb8c5aaba996b2838d2f0b9797039c | [
"WTFPL"
] | null | null | null | src/behaviour/meleeattackbhv.cpp | alexeyden/whack | 2bff3beb0afb8c5aaba996b2838d2f0b9797039c | [
"WTFPL"
] | null | null | null | src/behaviour/meleeattackbhv.cpp | alexeyden/whack | 2bff3beb0afb8c5aaba996b2838d2f0b9797039c | [
"WTFPL"
] | null | null | null | #include "meleeattackbhv.h"
#include "util/math.h"
#include "objects//enemy.h"
#include "level/level.h"
MeleeAttackBhv::MeleeAttackBhv(Enemy* owner):
Behaviour(owner),
_attackTime { 0.0f }
{
}
void MeleeAttackBhv::collision(float x, float y, float z)
{
(void) x;
(void) y;
(void) z;
}
void Mele... | 21.641509 | 83 | 0.562337 | alexeyden |
ca19e5870270f147d6b3ea9fc9cb083435fd16b8 | 76,520 | cpp | C++ | gui/qtc-gdbmacros/gdbmacros.cpp | frooms/stira | 60b419f3e478397a8ab43ce9315a259567d94a26 | [
"MIT"
] | 8 | 2016-03-23T08:12:33.000Z | 2022-01-25T14:07:03.000Z | gui/qtc-gdbmacros/gdbmacros.cpp | frooms/stira | 60b419f3e478397a8ab43ce9315a259567d94a26 | [
"MIT"
] | null | null | null | gui/qtc-gdbmacros/gdbmacros.cpp | frooms/stira | 60b419f3e478397a8ab43ce9315a259567d94a26 | [
"MIT"
] | 8 | 2015-06-29T12:00:06.000Z | 2019-09-03T12:40:47.000Z | /***************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Qt Software Information (qt-info@nokia.com)
**
**
** Non-Open Source Usage
**
** Licensees may use this file in accor... | 30.595762 | 103 | 0.511683 | frooms |
ca295e08afd4609bcc6a6effd632ed99c3f59b55 | 20,490 | cpp | C++ | samples/luxcoreui/uimenu.cpp | LuxRender/LuxRays | edb001ddeb744b534f6fe98c7b789d4635196718 | [
"Apache-2.0"
] | null | null | null | samples/luxcoreui/uimenu.cpp | LuxRender/LuxRays | edb001ddeb744b534f6fe98c7b789d4635196718 | [
"Apache-2.0"
] | null | null | null | samples/luxcoreui/uimenu.cpp | LuxRender/LuxRays | edb001ddeb744b534f6fe98c7b789d4635196718 | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
* Copyright 1998-2017 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxRender. *
* ... | 34.436975 | 116 | 0.621523 | LuxRender |
ca2a341497fe45225d9ffdab7a85dc569d2c9fb1 | 26,189 | cpp | C++ | src/Layers/xrRender/ParticleEffect.cpp | Samsuper12/ixray-1.6 | 95b8ad458d4550118c7fbf34c5de872f3d1ca75e | [
"Linux-OpenIB"
] | 2 | 2020-05-17T10:02:18.000Z | 2020-08-08T21:10:36.000Z | src/Layers/xrRender/ParticleEffect.cpp | Samsuper12/ixray-1.6 | 95b8ad458d4550118c7fbf34c5de872f3d1ca75e | [
"Linux-OpenIB"
] | null | null | null | src/Layers/xrRender/ParticleEffect.cpp | Samsuper12/ixray-1.6 | 95b8ad458d4550118c7fbf34c5de872f3d1ca75e | [
"Linux-OpenIB"
] | null | null | null | #include "stdafx.h"
#pragma hdrstop
#include "ParticleEffect.h"
#ifndef _EDITOR
#include <xmmintrin.h>
#include "../../xrCPU_Pipe/ttapi.h"
#pragma comment(lib,"xrCPU_Pipe.lib")
#endif
using namespace PAPI;
using namespace PS;
const u32 PS::uDT_STEP = 33;
const float PS::fDT_STEP = float(uDT_STEP)/1... | 33.277001 | 186 | 0.559013 | Samsuper12 |
ca2edbd855f22ff164a345a4f5558a5ebf336c32 | 375 | cpp | C++ | cpp-eindopdracht/creditsview.cpp | TvanBronswijk/cpp-eindopdracht | 657febe944cd856da44c3cc6cb6d1822c1fbf740 | [
"MIT"
] | null | null | null | cpp-eindopdracht/creditsview.cpp | TvanBronswijk/cpp-eindopdracht | 657febe944cd856da44c3cc6cb6d1822c1fbf740 | [
"MIT"
] | null | null | null | cpp-eindopdracht/creditsview.cpp | TvanBronswijk/cpp-eindopdracht | 657febe944cd856da44c3cc6cb6d1822c1fbf740 | [
"MIT"
] | null | null | null | #include "creditsview.h"
#include "gamecontext.h"
CreditsView::CreditsView(GameContext* context) : View(context)
{
}
std::ostream & CreditsView::display()
{
return std::cout
<< "This game was created by Tobi van Bronswijk and Rick van Berlo."
<< std::endl
<< "Thanks for playing!"
<< std::endl;
}
bool Credit... | 17.045455 | 70 | 0.685333 | TvanBronswijk |
ca33067d758bb649588693b6048e4b820f51f274 | 201 | hpp | C++ | src/ProjectForecast/Systems/EventFeedbackSystem.hpp | yxbh/Project-Forecast | 8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4 | [
"BSD-3-Clause"
] | 4 | 2019-04-09T13:03:11.000Z | 2021-01-27T04:58:29.000Z | src/ProjectForecast/Systems/EventFeedbackSystem.hpp | yxbh/Project-Forecast | 8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4 | [
"BSD-3-Clause"
] | 2 | 2017-02-06T03:48:45.000Z | 2020-08-31T01:30:10.000Z | src/ProjectForecast/Systems/EventFeedbackSystem.hpp | yxbh/Project-Forecast | 8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4 | [
"BSD-3-Clause"
] | 4 | 2020-06-28T08:19:53.000Z | 2020-06-28T16:30:19.000Z | #pragma once
#include "KEngine/Interfaces/ISystem.hpp"
namespace pf
{
/// <summary>
///
/// </summary>
class EventFeedbackSystem : public ke::ISystem
{
public:
};
} | 12.5625 | 50 | 0.567164 | yxbh |
ca360ecf778f3a531c706dd39105f1e5f08c6be8 | 20 | cpp | C++ | lib/threads/event.cpp | ashcharles/openset | 51dc29b9dffdb745a24e01a9e4d86c79d2ff20d6 | [
"MIT"
] | 18 | 2017-09-28T16:46:27.000Z | 2022-03-13T19:32:04.000Z | lib/threads/event.cpp | perple-io/openset | 201ee4a6247b6cce369885e05794e7dd3e8b8508 | [
"MIT"
] | 14 | 2017-10-05T13:40:48.000Z | 2019-10-18T15:44:44.000Z | lib/threads/event.cpp | perple-io/openset | 201ee4a6247b6cce369885e05794e7dd3e8b8508 | [
"MIT"
] | 4 | 2017-12-07T22:34:10.000Z | 2021-07-17T00:19:43.000Z | #include "event.h"
| 10 | 19 | 0.65 | ashcharles |
ca3655bb3d549aaa22baf73498a48a3fa13b99a9 | 2,233 | cpp | C++ | examples/tsp/src/tsp/tsp_instance.cpp | luishpmendes/ns-brkga | 61b3ec35ea4276359b1baa7c0f6c92087c4f8d3b | [
"MIT"
] | 11 | 2019-11-25T17:34:40.000Z | 2021-12-25T16:31:48.000Z | examples/tsp/src/tsp/tsp_instance.cpp | luishpmendes/ns-brkga | 61b3ec35ea4276359b1baa7c0f6c92087c4f8d3b | [
"MIT"
] | 3 | 2020-04-22T15:53:50.000Z | 2021-12-17T21:28:55.000Z | examples/tsp/src/tsp/tsp_instance.cpp | luishpmendes/ns-brkga | 61b3ec35ea4276359b1baa7c0f6c92087c4f8d3b | [
"MIT"
] | 7 | 2020-05-20T17:05:04.000Z | 2021-12-13T17:41:56.000Z | /******************************************************************************
* tsp_instance.cpp: Implementation for TSP_Instance class.
*
* (c) Copyright 2015-2019, Carlos Eduardo de Andrade.
* All Rights Reserved.
*
* Created on : Mar 05, 2019 by andrade
* Last update: Mar 05, 2019 by andrade
*
* This co... | 36.606557 | 80 | 0.596059 | luishpmendes |
ca37ed05ba42645e28e8b89162b3eca996b386f1 | 10,338 | hxx | C++ | Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModel.hxx | heralex/OTB | c52b504b64dc89c8fe9cac8af39b8067ca2c3a57 | [
"Apache-2.0"
] | 317 | 2015-01-19T08:40:58.000Z | 2022-03-17T11:55:48.000Z | Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModel.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 18 | 2015-07-29T14:13:45.000Z | 2021-03-29T12:36:24.000Z | Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModel.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 132 | 2015-02-21T23:57:25.000Z | 2022-03-25T16:03:16.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 32.30625 | 157 | 0.671697 | heralex |
ca3906359b23d981bcf6b446dc1fe368b6b4eada | 3,562 | cpp | C++ | Tools/Base64.cpp | xuyuanwang1993/p2p_work_on_kcp | 9f4081cdeee6550c3295215a123ecffd13128dac | [
"MIT"
] | 13 | 2019-09-19T01:04:00.000Z | 2022-02-24T08:26:25.000Z | Tools/Base64.cpp | xuyuanwang1993/p2p_work_on_kcp | 9f4081cdeee6550c3295215a123ecffd13128dac | [
"MIT"
] | 2 | 2019-10-16T12:57:29.000Z | 2019-11-08T12:07:43.000Z | Tools/Base64.cpp | xuyuanwang1993/p2p_work_on_kcp | 9f4081cdeee6550c3295215a123ecffd13128dac | [
"MIT"
] | 5 | 2019-10-16T12:45:20.000Z | 2022-01-19T15:03:36.000Z | #include "Base64.h"
#include <mutex>
#include <iostream>
using namespace std;
using namespace sensor_tool;
std::string sensor_tool::base64Encode(const std::string & origin_string)
{
static const char base64Char[] ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
std::string ret("");
if(or... | 42.404762 | 294 | 0.603593 | xuyuanwang1993 |
ca3ea5838e7403cb98c2bf2326214e7d9c5990b2 | 666 | hpp | C++ | modules/scene_manager/include/rcl_interfaces/srv/get_parameters__struct.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2020-05-19T14:33:49.000Z | 2020-05-19T14:33:49.000Z | ros2_mod_ws/install/include/rcl_interfaces/srv/get_parameters__struct.hpp | mintforpeople/robobo-ros2-ios-port | 1a5650304bd41060925ebba41d6c861d5062bfae | [
"Apache-2.0"
] | 3 | 2019-11-14T12:20:06.000Z | 2020-08-07T13:51:10.000Z | modules/scene_manager/include/rcl_interfaces/srv/get_parameters__struct.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | // generated from rosidl_generator_cpp/resource/srv__struct.hpp.em
// generated code does not contain a copyright notice
#ifndef RCL_INTERFACES__SRV__GET_PARAMETERS__STRUCT_HPP_
#define RCL_INTERFACES__SRV__GET_PARAMETERS__STRUCT_HPP_
#include "rcl_interfaces/srv/get_parameters__request.hpp"
#include "rcl_interfaces/... | 24.666667 | 66 | 0.83033 | Omnirobotic |
ca4561089a60eae8772f3015894f365b5a63d25f | 3,044 | cpp | C++ | PhotoSynthViewer/src/DynamicLines.cpp | dddExperiments/PhotoSynthToolkit | 4f81577ca347c30c9c142bad2e6edc278e38a4ca | [
"Unlicense",
"MIT"
] | 17 | 2015-02-10T17:44:42.000Z | 2021-07-13T01:07:37.000Z | PhotoSynthViewer/src/DynamicLines.cpp | Acidburn0zzz/PhotoSynthToolkit | 4f81577ca347c30c9c142bad2e6edc278e38a4ca | [
"Unlicense",
"MIT"
] | null | null | null | PhotoSynthViewer/src/DynamicLines.cpp | Acidburn0zzz/PhotoSynthToolkit | 4f81577ca347c30c9c142bad2e6edc278e38a4ca | [
"Unlicense",
"MIT"
] | 11 | 2015-01-15T04:21:40.000Z | 2017-06-12T09:24:47.000Z | ////http://www.ogre3d.org/tikiwiki/DynamicLineDrawing
#include "DynamicLines.h"
#include <Ogre.h>
#include <cassert>
#include <cmath>
using namespace Ogre;
enum {
POSITION_BINDING,
TEXCOORD_BINDING
};
DynamicLines::DynamicLines(OperationType opType)
{
initialize(opType,false);
setMaterial("BaseWhiteNoLig... | 21.138889 | 76 | 0.676084 | dddExperiments |
ca47311ad3f0177055e82ffce67aab26f62f4ec4 | 11,578 | hpp | C++ | simcore/simulation/library/default_params.hpp | lamsoa729/simcore | daf7056cb0c17563ed0f6bdee343fa1f6cd59729 | [
"MIT"
] | null | null | null | simcore/simulation/library/default_params.hpp | lamsoa729/simcore | daf7056cb0c17563ed0f6bdee343fa1f6cd59729 | [
"MIT"
] | null | null | null | simcore/simulation/library/default_params.hpp | lamsoa729/simcore | daf7056cb0c17563ed0f6bdee343fa1f6cd59729 | [
"MIT"
] | null | null | null | YAML::Node default_config;
default_config["species"]["num"] = "0";
default_config["species"]["insertion_type"] = "random";
default_config["species"]["insert_file"] = "none";
default_config["species"]["overlap"] = "0";
default_config["species"]["draw_type"] = "orientation";
default_config["species"]["color... | 50.121212 | 70 | 0.687856 | lamsoa729 |
ca476e6a035c65f65acd00770f2efc24acfec253 | 10,417 | cpp | C++ | fileIO.cpp | CherryPill/tex_edit | 6a0287f892068a44e60bd67d60a4b4272bbc3c60 | [
"MIT"
] | null | null | null | fileIO.cpp | CherryPill/tex_edit | 6a0287f892068a44e60bd67d60a4b4272bbc3c60 | [
"MIT"
] | null | null | null | fileIO.cpp | CherryPill/tex_edit | 6a0287f892068a44e60bd67d60a4b4272bbc3c60 | [
"MIT"
] | null | null | null | #include <windows.h>
#include <tchar.h>
#include <commctrl.h>
#include <richedit.h>
#include <iostream>
#include <string>
#include <atlstr.h>
#include <cassert>
#include "appconst.h"
#include "toolbarControl.h"
#include "statusControl.h"
#include "mainWindowProc.h"
#include "menuids.h"
#include "mainPrefs.h"
#include "... | 25.657635 | 131 | 0.690698 | CherryPill |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.