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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2462042105e2b409c1d976277adff3a67ab5dbd4 | 974 | cpp | C++ | src/init_handler.cpp | nikbsf/foo_tag_sync | 4f4b2b0bad2d6b97f2d645f6a2b823e59e6a7bfc | [
"MIT"
] | 3 | 2017-02-14T16:03:18.000Z | 2021-06-07T16:43:33.000Z | src/init_handler.cpp | nikbsf/foo_tag_sync | 4f4b2b0bad2d6b97f2d645f6a2b823e59e6a7bfc | [
"MIT"
] | null | null | null | src/init_handler.cpp | nikbsf/foo_tag_sync | 4f4b2b0bad2d6b97f2d645f6a2b823e59e6a7bfc | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "service_container.h"
extern service_ptr_t<service_container> g_service_container;
extern advconfig_integer_factory cfg_fetch_interval_seconds;
class updates_check_timer : public system_time_callback_impl {
public:
void on_time_changed(t_filetimestamp newVal) override {
g_service_cont... | 27.055556 | 88 | 0.814168 | nikbsf |
24671aac69f349b6f80cf88d46f612c2f9212738 | 471 | cpp | C++ | model/mosesdecoder/moses/FF/SetSourcePhrase.cpp | saeedesm/UNMT_AH | cc171bf66933b5c0ad8a0ab87e57f7364312a7df | [
"Apache-2.0"
] | 3 | 2019-12-02T14:53:29.000Z | 2020-08-12T18:01:49.000Z | tools/mosesdecoder-master/moses/FF/SetSourcePhrase.cpp | Pangeamt/nectm | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | [
"Apache-2.0"
] | 2 | 2020-11-06T14:40:10.000Z | 2020-12-29T19:03:11.000Z | tools/mosesdecoder-master/moses/FF/SetSourcePhrase.cpp | Pangeamt/nectm | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | [
"Apache-2.0"
] | 2 | 2020-03-26T16:05:11.000Z | 2020-08-06T16:35:39.000Z | #include "SetSourcePhrase.h"
#include "moses/TargetPhrase.h"
namespace Moses
{
SetSourcePhrase::SetSourcePhrase(const std::string &line)
:StatelessFeatureFunction(0, line)
{
m_tuneable = false;
ReadParameters();
}
void SetSourcePhrase::EvaluateInIsolation(const Phrase &source
, const TargetPhrase &targetPhr... | 21.409091 | 62 | 0.774947 | saeedesm |
2471540756dfb3a47a09ce9f51f0235130ff086a | 2,508 | cpp | C++ | examples/planner_scene_1.cpp | a20r/Dodger | 6e2525f4701031d4e946fcd04c508655fa67c8ea | [
"Apache-2.0"
] | 1 | 2021-11-30T11:19:56.000Z | 2021-11-30T11:19:56.000Z | examples/planner_scene_1.cpp | a20r/Dodger | 6e2525f4701031d4e946fcd04c508655fa67c8ea | [
"Apache-2.0"
] | null | null | null | examples/planner_scene_1.cpp | a20r/Dodger | 6e2525f4701031d4e946fcd04c508655fa67c8ea | [
"Apache-2.0"
] | null | null | null |
#include <iostream>
#include <iterator>
#include <list>
#include <stdlib.h>
#include <time.h>
#include "point.hpp"
#include "roadmap.hpp"
#include "rmgenerator.hpp"
#include "model.hpp"
#include "agent.hpp"
#include "path.hpp"
#include "search.hpp"
#include "planner.hpp"
int main() {
srand(time(NULL));
doub... | 29.162791 | 67 | 0.630781 | a20r |
2471d87ebb86d0daff966f7b2b1af0a2468660b3 | 24,465 | cpp | C++ | lib/tlrQWidget/TimelineControls.cpp | darbyjohnston/tlRender | 0bdb8aa3795a0098811a7c3ed6add3023bcfd55a | [
"BSD-3-Clause"
] | 59 | 2021-04-26T23:38:35.000Z | 2022-03-23T15:21:44.000Z | lib/tlrQWidget/TimelineControls.cpp | darbyjohnston/tlRender | 0bdb8aa3795a0098811a7c3ed6add3023bcfd55a | [
"BSD-3-Clause"
] | 17 | 2021-04-30T02:03:08.000Z | 2022-01-11T19:54:47.000Z | lib/tlrQWidget/TimelineControls.cpp | darbyjohnston/tlRender | 0bdb8aa3795a0098811a7c3ed6add3023bcfd55a | [
"BSD-3-Clause"
] | 5 | 2021-06-07T16:11:53.000Z | 2021-12-10T23:29:45.000Z | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2021-2022 Darby Johnston
// All rights reserved.
#include <tlrQWidget/TimelineControls.h>
#include <tlrQWidget/SpeedLabel.h>
#include <tlrQWidget/TimeLabel.h>
#include <tlrQWidget/TimeSpinBox.h>
#include <tlrCore/StringFormat.h>
#include <QButtonGroup>
#incl... | 39.019139 | 109 | 0.545637 | darbyjohnston |
2471e6e5cb99e204fe3c765ea7845e16b30f578f | 4,110 | cpp | C++ | Wind.cpp | tebrown/wxpro | 5c2765f024b1b6c8aae714a2b972366fd4c14878 | [
"BSD-2-Clause"
] | 1 | 2016-06-11T11:22:55.000Z | 2016-06-11T11:22:55.000Z | Wind.cpp | tebrown/wxpro | 5c2765f024b1b6c8aae714a2b972366fd4c14878 | [
"BSD-2-Clause"
] | null | null | null | Wind.cpp | tebrown/wxpro | 5c2765f024b1b6c8aae714a2b972366fd4c14878 | [
"BSD-2-Clause"
] | null | null | null | #include "Wind.h"
#include "units.h"
#include "math.h"
using namespace std;
Wind::Wind( Now *_now, Database &_db ):
now(_now),
dbg("Wind"),
db( _db )
{
restore();
}
Wind::~Wind()
{
dump();
}
void Wind::restore()
{
dbResult result = db.query("select * from windData;");
for ( dbResult::iterator ... | 22.707182 | 130 | 0.544769 | tebrown |
24721130d28ada5b33e3cedf3f2e47f38ec47a10 | 350 | cpp | C++ | test/mocked-tests/concurrency/semaphore_test.cpp | Creeperface01/centurion | e3b674c11849367a18c2d976ce94071108e1590d | [
"MIT"
] | 14 | 2020-05-17T21:38:03.000Z | 2020-11-21T00:16:25.000Z | test/mocked-tests/concurrency/semaphore_test.cpp | Creeperface01/centurion | e3b674c11849367a18c2d976ce94071108e1590d | [
"MIT"
] | 70 | 2020-04-26T17:08:52.000Z | 2020-11-21T17:34:03.000Z | test/mocked-tests/concurrency/semaphore_test.cpp | Creeperface01/centurion | e3b674c11849367a18c2d976ce94071108e1590d | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "centurion/concurrency.hpp"
#include "core_mocks.hpp"
#include "thread_mocks.hpp"
class SemaphoreTest : public testing::Test {
public:
void SetUp() override
{
mocks::reset_core();
mocks::reset_thread();
}
};
TEST_F(SemaphoreTest, Constructor)
{
ASSERT_THROW(cen::sem... | 17.5 | 50 | 0.705714 | Creeperface01 |
2478559a5a9bb1a4c828ae4d2016317eeecc5827 | 2,308 | hpp | C++ | include/CoreUtil.hpp | xiaohongchen1991/clang-xform | bd0cf899760b53b24e10ca4baab3c4e281535b97 | [
"MIT"
] | 2 | 2020-02-18T18:09:45.000Z | 2020-05-10T18:38:38.000Z | include/CoreUtil.hpp | xiaohongchen1991/clang-xform | bd0cf899760b53b24e10ca4baab3c4e281535b97 | [
"MIT"
] | null | null | null | include/CoreUtil.hpp | xiaohongchen1991/clang-xform | bd0cf899760b53b24e10ca4baab3c4e281535b97 | [
"MIT"
] | 1 | 2020-02-18T18:09:48.000Z | 2020-02-18T18:09:48.000Z | /*
MIT License
Copyright (c) 2019 Xiaohong Chen
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, merg... | 34.969697 | 94 | 0.740035 | xiaohongchen1991 |
24790691e24ee803748bb354c87160b77dd5f7a9 | 4,704 | cpp | C++ | src/vm.cpp | LesleyLai/eml | bb73367c0604005b1d7467c004ca13d328a6bcb6 | [
"MIT"
] | 3 | 2020-11-03T19:22:11.000Z | 2021-05-05T13:16:15.000Z | src/vm.cpp | LesleyLai/eml | bb73367c0604005b1d7467c004ca13d328a6bcb6 | [
"MIT"
] | 2 | 2020-04-01T12:57:24.000Z | 2021-02-19T10:17:30.000Z | src/vm.cpp | LesleyLai/eml | bb73367c0604005b1d7467c004ca13d328a6bcb6 | [
"MIT"
] | 2 | 2020-10-15T18:28:18.000Z | 2020-10-25T16:44:17.000Z | #include <iomanip>
#include <iostream>
#include <sstream>
#include <string_view>
#include "common.hpp"
#include "eml.hpp"
#include "parser.hpp"
#include "string.hpp"
#include "vm.hpp"
namespace eml {
namespace {
// Push value to the stack
void push(std::vector<Value>& stack, Value value)
{
stack.push_back(value)... | 25.704918 | 80 | 0.619685 | LesleyLai |
24794ac3440dc966dc176068098a4f30d80794ff | 1,370 | cpp | C++ | Codes/13.cpp | khosravipasha/ProjectEuler | f5509b85365c8d9ef213448d8e37bb1b7cfa2385 | [
"MIT"
] | null | null | null | Codes/13.cpp | khosravipasha/ProjectEuler | f5509b85365c8d9ef213448d8e37bb1b7cfa2385 | [
"MIT"
] | null | null | null | Codes/13.cpp | khosravipasha/ProjectEuler | f5509b85365c8d9ef213448d8e37bb1b7cfa2385 | [
"MIT"
] | null | null | null | // Project Euler9
// Problem 13
// TODO: Find the better and more complete bignum I wrote before and use it
#include<fstream>
#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
const int digits = 100;
struct Bignum{
int a[digits];
int n = 1;
void reset(){
for (int i = 0; i < digits; ... | 15.393258 | 75 | 0.506569 | khosravipasha |
247dda218bacecd2193979147fa360942e545a74 | 1,141 | inl | C++ | src/ECS/systemsQueue.inl | SPC-Some-Polish-Coders/PopHead | 2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81 | [
"MIT"
] | 117 | 2019-03-18T20:09:54.000Z | 2022-03-27T22:40:52.000Z | src/ECS/systemsQueue.inl | SPC-Some-Polish-Coders/PopHead | 2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81 | [
"MIT"
] | 443 | 2019-04-07T19:59:56.000Z | 2020-05-23T12:25:28.000Z | src/ECS/systemsQueue.inl | SPC-Some-Polish-Coders/PopHead | 2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81 | [
"MIT"
] | 19 | 2019-03-20T19:57:34.000Z | 2020-11-21T15:35:02.000Z | #include "systemsQueue.hpp"
namespace ph {
template<typename SystemType, typename... Args>
void SystemsQueue::appendSystem(Args... arguments)
{
if (mSystemsArray.empty())
mSystemsArray.emplace_back(std::unique_ptr<SystemType>(new SystemType(mRegistry, arguments...)), 0);
else
mSystemsArray.emplace_back(s... | 29.25641 | 132 | 0.728309 | SPC-Some-Polish-Coders |
247ddc1ac304f1990f46ad2389605fd85169067c | 6,616 | cc | C++ | chromium/components/rappor/log_uploader.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/components/rappor/log_uploader.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/components/rappor/log_uploader.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // 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 "components/rappor/log_uploader.h"
#include <stddef.h>
#include <stdint.h>
#include <utility>
#include "base/metrics/histogram_macros.h"
#inclu... | 32.591133 | 80 | 0.71977 | wedataintelligence |
247f1bc7b78a101eb6b724dc6e0dd0d0938c91f1 | 5,011 | hpp | C++ | source/rs-tl/uuid.hpp | CaptainCrowbar/rs-tl | fe9e3f072683f638a427d44d132e27435af5bd40 | [
"BSL-1.0"
] | null | null | null | source/rs-tl/uuid.hpp | CaptainCrowbar/rs-tl | fe9e3f072683f638a427d44d132e27435af5bd40 | [
"BSL-1.0"
] | null | null | null | source/rs-tl/uuid.hpp | CaptainCrowbar/rs-tl | fe9e3f072683f638a427d44d132e27435af5bd40 | [
"BSL-1.0"
] | null | null | null | #pragma once
#include "rs-tl/types.hpp"
#include <algorithm>
#include <array>
#include <ostream>
#include <stdexcept>
#include <string>
namespace RS::TL {
namespace Detail {
constexpr uint32_t bernstein_hash(const void* ptr, size_t len) noexcept {
auto bptr = static_cast<const uint8_t*>(ptr)... | 32.967105 | 143 | 0.437238 | CaptainCrowbar |
2480146dcf0c9b67b692609dc86599e6205875ee | 2,391 | cpp | C++ | solved/i-k/internet-bandwidth/uva/bandwidth.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/i-k/internet-bandwidth/uva/bandwidth.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/i-k/internet-bandwidth/uva/bandwidth.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <vector>
using namespace std;
#define MAXN 100
#define Neg(v) memset((v), -1, sizeof(v))
#define Zero(v) memset((v), 0, sizeof(v))
const int INF = 1000 * 5000 + 100;
int n;
int s, t, c;
struct Edge {
int v, c, f;
Edge() {}
Edge(int ... | 21.348214 | 73 | 0.437056 | abuasifkhan |
24829bdba0a8dc629252b05cf5553d43923ee9eb | 1,509 | cpp | C++ | tests/Tezos/AddressTests.cpp | keefertaylor/wallet-core | 0024e5df4f54bd5c602524a8ddae7670b76cb5e4 | [
"MIT"
] | null | null | null | tests/Tezos/AddressTests.cpp | keefertaylor/wallet-core | 0024e5df4f54bd5c602524a8ddae7670b76cb5e4 | [
"MIT"
] | 3 | 2019-03-05T07:09:47.000Z | 2019-03-07T21:16:36.000Z | tests/Tezos/AddressTests.cpp | keefertaylor/wallet-core | 0024e5df4f54bd5c602524a8ddae7670b76cb5e4 | [
"MIT"
] | null | null | null | // Copyright © 2017-2019 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "Tezos/Address.h"
#include "Tezos/BinaryCoding.h"
... | 26.017241 | 77 | 0.760769 | keefertaylor |
24839c94b5b143e0ddba11a953cb5251fa7f8b46 | 1,833 | hpp | C++ | include/GL/Math/Vec4.hpp | CalebHeydon/OOGL | 18a9c0264929737f755ad5a24fff80851e58bbd1 | [
"BSL-1.0"
] | 315 | 2015-01-14T20:49:10.000Z | 2022-03-31T19:39:19.000Z | include/GL/Math/Vec4.hpp | CalebHeydon/OOGL | 18a9c0264929737f755ad5a24fff80851e58bbd1 | [
"BSL-1.0"
] | 11 | 2015-04-24T18:57:18.000Z | 2022-03-29T16:39:04.000Z | include/GL/Math/Vec4.hpp | CalebHeydon/OOGL | 18a9c0264929737f755ad5a24fff80851e58bbd1 | [
"BSL-1.0"
] | 55 | 2015-01-12T06:17:06.000Z | 2022-03-18T00:19:36.000Z | /*
Copyright (C) 2012 Alexander Overvoorde
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, d... | 32.732143 | 108 | 0.709765 | CalebHeydon |
24857daee8eb3b459fea2affc071126fbff064f6 | 1,018 | cc | C++ | 2017.11/P03_PrimaryGenerator/source/src/PrimaryGenerator.cc | koichi-murakami/g4tutorial | 32ab20ef072c07c14d893f52712cf02a3dcc5e83 | [
"BSD-2-Clause"
] | 1 | 2018-02-09T10:32:47.000Z | 2018-02-09T10:32:47.000Z | 2017.11/P03_PrimaryGenerator/source/src/PrimaryGenerator.cc | koichi-murakami/g4tutorial | 32ab20ef072c07c14d893f52712cf02a3dcc5e83 | [
"BSD-2-Clause"
] | null | null | null | 2017.11/P03_PrimaryGenerator/source/src/PrimaryGenerator.cc | koichi-murakami/g4tutorial | 32ab20ef072c07c14d893f52712cf02a3dcc5e83 | [
"BSD-2-Clause"
] | null | null | null | //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// PrimaryGenerator.cc
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#include "PrimaryGenerator.hh"
#include "G4ParticleGun.hh"
//-------------------------------------------------------------------------... | 36.357143 | 80 | 0.277996 | koichi-murakami |
24879c2c4aada1b3bc027b41c1d7b704b9b36486 | 2,528 | hpp | C++ | third_party/gfootball_engine/src/menu/menutask.hpp | seccoboy/football | c5c6a5c1d587a94673597ff6d61da43044a0c9ac | [
"Apache-2.0"
] | 3,091 | 2019-06-03T13:00:48.000Z | 2022-03-31T05:45:56.000Z | third_party/gfootball_engine/src/menu/menutask.hpp | seccoboy/football | c5c6a5c1d587a94673597ff6d61da43044a0c9ac | [
"Apache-2.0"
] | 287 | 2019-06-07T14:35:25.000Z | 2022-03-19T12:36:42.000Z | third_party/gfootball_engine/src/menu/menutask.hpp | seccoboy/football | c5c6a5c1d587a94673597ff6d61da43044a0c9ac | [
"Apache-2.0"
] | 1,418 | 2019-06-03T13:11:19.000Z | 2022-03-31T02:51:30.000Z | // Copyright 2019 Google LLC & Bastiaan Konings
// 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 o... | 31.6 | 161 | 0.740111 | seccoboy |
2487e24bc6959b4b69bff429d92386b1f80e6d82 | 1,276 | cpp | C++ | src/CommonControls/Button/Button.cpp | ericfont/Examples_wxWidgets | 5cd123eff9a5f9971413ec2f8effc15b76622987 | [
"MIT"
] | 70 | 2019-11-18T15:04:23.000Z | 2022-03-28T22:42:16.000Z | src/CommonControls/Button/Button.cpp | gammasoft71/Examples.wxWidgets | c710f31c29d502fee699f044014a5eae4ce6ef22 | [
"MIT"
] | 10 | 2020-11-18T02:37:11.000Z | 2021-09-16T17:05:29.000Z | src/CommonControls/Button/Button.cpp | gammasoft71/Examples.wxWidgets | c710f31c29d502fee699f044014a5eae4ce6ef22 | [
"MIT"
] | 10 | 2021-05-14T11:41:42.000Z | 2022-03-20T00:38:17.000Z | #include <wx/app.h>
#include <wx/button.h>
#include <wx/frame.h>
#include <wx/panel.h>
#include <wx/stattext.h>
namespace Examples {
class Frame : public wxFrame {
public:
Frame() : wxFrame(nullptr, wxID_ANY, wxEmptyString) {
button1->Bind(wxEVT_BUTTON, [&](wxCommandEvent& event) {
staticText1->S... | 32.717949 | 115 | 0.652821 | ericfont |
2489ddac1bf112ba1d534ce23964b6bc9438db5f | 1,013 | hh | C++ | userFiles/ctrl/main/indexes/MotorCtrlIndex.hh | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | userFiles/ctrl/main/indexes/MotorCtrlIndex.hh | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | userFiles/ctrl/main/indexes/MotorCtrlIndex.hh | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | /*!
* \author Nicolas Van der Noot
* \file MotorCtrlIndex.hh
* \brief MotorCtrlIndex class
*/
#ifndef _MOTOR_CTRL_INDEX_HH_
#define _MOTOR_CTRL_INDEX_HH_
#include <vector>
#include <stdio.h>
#include "CtrlOptions.hh"
/*! \brief indexes corresponding to the implemented motors
*
* In comparison, "CtrlIndex.hh" p... | 24.119048 | 87 | 0.716683 | mharding01 |
248a95a365dee85d1f8c5748becbb54113d1f8ae | 892 | cpp | C++ | libs/context/example/ecv1/fibonacci.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | null | null | null | libs/context/example/ecv1/fibonacci.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | null | null | null | libs/context/example/ecv1/fibonacci.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | null | null | null |
// Copyright Oliver Kowalke 2014.
// 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 <cstdlib>
#include <iostream>
#include <memory>
#include <boost/context/execution_conte... | 27.030303 | 92 | 0.522422 | lijgame |
248a97954b987c0a5f5acb9d9fc54611254b1721 | 837 | hpp | C++ | src/_2DIterativePoissonSolver.hpp | luigidisotto/poisson-solver | ba4213e4f098b5bcdaf9b89f39ccd9b1759d2f0d | [
"MIT"
] | null | null | null | src/_2DIterativePoissonSolver.hpp | luigidisotto/poisson-solver | ba4213e4f098b5bcdaf9b89f39ccd9b1759d2f0d | [
"MIT"
] | null | null | null | src/_2DIterativePoissonSolver.hpp | luigidisotto/poisson-solver | ba4213e4f098b5bcdaf9b89f39ccd9b1759d2f0d | [
"MIT"
] | null | null | null | #ifndef _2DITERATIVEPOISSONSOLVER_HPP
#define _2DITERATIVEPOISSONSOLVER_HPP
#include "_2DPoissonSolver.hpp"
class _2DIterativePoissonSolver : public _2DPoissonSolver
{
public:
double tolerance;
int maxNumberOfIterations,
actualNumberOfIterations;
public:
virtual void operator()(_2DPoissonEquation *eq){};
_2... | 16.74 | 68 | 0.74552 | luigidisotto |
2491e60f0ed20b59545ee3693c9e5ca2cea7f0c7 | 5,032 | cpp | C++ | src/robot_event.cpp | cognicept-admin/rosrect-listener-agent-ros2 | 2e98a825ea2043fb01b05b1ef270c5b9744f62a9 | [
"BSD-3-Clause"
] | 1 | 2021-03-04T02:34:17.000Z | 2021-03-04T02:34:17.000Z | src/robot_event.cpp | cognicept-admin/rosrect-listener-agent-ros2 | 2e98a825ea2043fb01b05b1ef270c5b9744f62a9 | [
"BSD-3-Clause"
] | null | null | null | src/robot_event.cpp | cognicept-admin/rosrect-listener-agent-ros2 | 2e98a825ea2043fb01b05b1ef270c5b9744f62a9 | [
"BSD-3-Clause"
] | 1 | 2020-09-23T03:55:17.000Z | 2020-09-23T03:55:17.000Z | #include <error_resolution_diagnoser_ros2/robot_event.h>
using namespace web::json; // JSON features
using namespace web; // Common features like URIs.
RobotEvent::RobotEvent()
{
this->event_id_str = "";
}
void RobotEvent::update_log(const rcl_interfaces::msg::Log::SharedPtr data, json::value msg_info, js... | 31.061728 | 144 | 0.619237 | cognicept-admin |
2492191ff9be1e76d229a0471d31233bc7a0c3ad | 8,191 | cpp | C++ | src/DE405Ephemeris.cpp | aoighost/niek-ephem | e5d53a7674d624af17da587683915a76ba833cac | [
"BSD-3-Clause"
] | 7 | 2016-06-05T23:25:41.000Z | 2020-01-24T07:46:31.000Z | extlibs/src/niek-ephem/DE405Ephemeris.cpp | Jmbryan/OTL | 7ffb7fa77e55a2eb7373e41fa345c90d344a9c44 | [
"Zlib",
"MIT"
] | null | null | null | extlibs/src/niek-ephem/DE405Ephemeris.cpp | Jmbryan/OTL | 7ffb7fa77e55a2eb7373e41fa345c90d344a9c44 | [
"Zlib",
"MIT"
] | null | null | null | /*
* Copyright (c) 2007, Niek Sanders
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this li... | 36.896396 | 80 | 0.633012 | aoighost |
24929df583660b7a001382b85e1ea4aad83d0659 | 2,381 | cpp | C++ | graph.cpp | matanb1238/NumberWithUnits-A | 70b48a5b257aefbc9ee54b0cd1b6351ca2f02693 | [
"MIT"
] | null | null | null | graph.cpp | matanb1238/NumberWithUnits-A | 70b48a5b257aefbc9ee54b0cd1b6351ca2f02693 | [
"MIT"
] | null | null | null | graph.cpp | matanb1238/NumberWithUnits-A | 70b48a5b257aefbc9ee54b0cd1b6351ca2f02693 | [
"MIT"
] | 1 | 2021-05-04T05:03:43.000Z | 2021-05-04T05:03:43.000Z | #include <iostream>
#include <string>
#include <iterator>
#include <map>
#include <queue>
#include <set>
#include <list>
#include <stack>
using namespace std;
class graph{
protected:
map<string, map<string, double>> the_graph;
set<string> nodes;
map<string,set<string>> edges_from;
publ... | 27.686047 | 74 | 0.417892 | matanb1238 |
2493c05d396cecee428e8ef1d8f0597a0287ec6f | 2,319 | cpp | C++ | hw2/pro/process.cpp | Dreamerryao/DIP | 9e07d9344260e420dde6c821c8d3726f23a876dd | [
"MIT"
] | null | null | null | hw2/pro/process.cpp | Dreamerryao/DIP | 9e07d9344260e420dde6c821c8d3726f23a876dd | [
"MIT"
] | null | null | null | hw2/pro/process.cpp | Dreamerryao/DIP | 9e07d9344260e420dde6c821c8d3726f23a876dd | [
"MIT"
] | null | null | null | #include "bmp.h"
BMPDATA* process(const char *filepath){
BMPDATA* bmp = NULL;
BITMAPFILEHEADER bf;
BITMAPINFOHEADER bi;
unsigned char pixVal='\0';
int width = 0;
int height = 0;
int offset = 0;
RGB* quad;
WORD type;
int now=0;
bmp = (BMPDATA*)malloc(sizeof(BMPDATA));
FILE* fp = fopen(filepath,"rb");
if... | 25.766667 | 71 | 0.561449 | Dreamerryao |
24942e389e07cd3fd80f7eb460bbf7838bd29c75 | 182 | cpp | C++ | samples/Windows/PSIM_AppDemo/KHB/Data.cpp | kingsunc/WX_Mars | dfdc4d3ce9833837b91647df2fbbc231661ef400 | [
"Apache-2.0"
] | 2 | 2018-12-15T06:51:33.000Z | 2020-02-20T09:32:52.000Z | samples/Windows/PSIM_AppDemo/KHB/Data.cpp | kingsunc/WX_Mars | dfdc4d3ce9833837b91647df2fbbc231661ef400 | [
"Apache-2.0"
] | null | null | null | samples/Windows/PSIM_AppDemo/KHB/Data.cpp | kingsunc/WX_Mars | dfdc4d3ce9833837b91647df2fbbc231661ef400 | [
"Apache-2.0"
] | 7 | 2018-10-24T11:06:51.000Z | 2022-01-14T09:41:16.000Z | #include "Data.h"
CData::CData()
{
}
CData::~CData()
{
}
void CData::Clear()
{
m_loginInfo.Clear();
}
CUserInfo* CData::GetUserInfo()
{
return &m_loginInfo;
} | 9.578947 | 32 | 0.571429 | kingsunc |
2494fec86f8a2cb2e68fc35d48bd28e566f0a1ae | 250 | cpp | C++ | files/260.cpp | heltonricardo/neps-academy | 5668250bbde77df027cf6798a93f915809278e4a | [
"MIT"
] | 1 | 2021-09-20T16:31:42.000Z | 2021-09-20T16:31:42.000Z | files/260.cpp | heltonricardo/neps-academy | 5668250bbde77df027cf6798a93f915809278e4a | [
"MIT"
] | null | null | null | files/260.cpp | heltonricardo/neps-academy | 5668250bbde77df027cf6798a93f915809278e4a | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(void) {
short p1, c1, p2, c2;
cin >> p1 >> c1 >> p2 >> c2;
if (p1 * c1 > p2 * c2) cout << "-1";
else if (p1 * c1 < p2 * c2) cout << "1";
else cout << "0";
cout << endl;
return 0;
}
| 14.705882 | 42 | 0.5 | heltonricardo |
2496dedf92d2a0ca42f2cc9e7740a0d1163b55b7 | 1,744 | hpp | C++ | include/klc3/Core/StateAllocator.hpp | liuzikai/klc3 | 0c7c1504158f1cce3e6bff32f69b4cb3067cffff | [
"NCSA"
] | null | null | null | include/klc3/Core/StateAllocator.hpp | liuzikai/klc3 | 0c7c1504158f1cce3e6bff32f69b4cb3067cffff | [
"NCSA"
] | null | null | null | include/klc3/Core/StateAllocator.hpp | liuzikai/klc3 | 0c7c1504158f1cce3e6bff32f69b4cb3067cffff | [
"NCSA"
] | null | null | null | //
// Created by liuzikai on 6/15/20.
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
#ifndef KLC3_STATEALLOCATOR_HPP
#define KLC3_STATEALLOCATOR_HPP
#include "State.h"
namespace klc3 {
/**
* This class manage the life cycle of States.
* When... | 23.567568 | 124 | 0.65367 | liuzikai |
2497c6a247579da536a982edd61a13a4b9660c57 | 365,333 | cpp | C++ | src/plugProjectKandoU/naviState.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 33 | 2021-12-08T11:10:59.000Z | 2022-03-26T19:59:37.000Z | src/plugProjectKandoU/naviState.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 6 | 2021-12-22T17:54:31.000Z | 2022-01-07T21:43:18.000Z | src/plugProjectKandoU/naviState.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 2 | 2022-01-04T06:00:49.000Z | 2022-01-26T07:27:28.000Z | #include "types.h"
/*
Generated from dpostproc
.section .ctors, "wa" # 0x80472F00 - 0x804732C0
.4byte __sinit_naviState_cpp
.section .rodata # 0x804732E0 - 0x8049E220
.global lbl_8047EAC8
lbl_8047EAC8:
.4byte 0x00000000
.4byte 0x00000000
.4byte 0x00000000
.4b... | 21.475018 | 105 | 0.59039 | projectPiki |
2499f2ae69de9e20b3e6a9af4bcd84b9638e0021 | 2,860 | cc | C++ | vs/src/model/DescribeVsStorageTrafficUsageDataRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | vs/src/model/DescribeVsStorageTrafficUsageDataRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | vs/src/model/DescribeVsStorageTrafficUsageDataRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 26.728972 | 90 | 0.774126 | aliyun |
249e6982f4d3e15e410e6a0a8122fa2c0e1949de | 378 | cpp | C++ | heavy.cpp | nabetani/sincos | 5ae23188a9d0831fd1682c9e0b7c8a16b64769b2 | [
"MIT"
] | null | null | null | heavy.cpp | nabetani/sincos | 5ae23188a9d0831fd1682c9e0b7c8a16b64769b2 | [
"MIT"
] | null | null | null | heavy.cpp | nabetani/sincos | 5ae23188a9d0831fd1682c9e0b7c8a16b64769b2 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <cmath>
double run(int size){
double sum = 0;
for( int y=0 ; y<size ; ++y ){
for( int x=0 ; x<size ; ++x ){
sum += std::sin(x+y+sum);
sum += std::cos(x-y+sum);
}
}
return sum;
}
int main(){
int size;
std::cin >> size;
std::cout << std::... | 17.181818 | 63 | 0.531746 | nabetani |
249ed2cae6cb0decea397c6809860defc329fec7 | 3,750 | cpp | C++ | VC2010Samples/MFC/controls/cmnctrl/SplitButtonCtrlPage.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2010Samples/MFC/controls/cmnctrl/SplitButtonCtrlPage.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2010Samples/MFC/controls/cmnctrl/SplitButtonCtrlPage.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // SplitButtonCtrlPage.cpp : implementation file
//
#include "stdafx.h"
#include "CmnCtrl3.h"
#include "SplitButtonCtrlPage.h"
static const struct
{
UINT nStyle;
LPCTSTR lpszDisplay;
} styles[] =
{
{BCSS_NOSPLIT, _T("BCSS_NOSPLIT")},
{BCSS_STRETCH, _T("BCSS_STRETCH")},
{BCSS_ALIGNLEFT, _T("BCSS_ALIGNLEFT"... | 24.834437 | 81 | 0.772533 | alonmm |
24a1f5555498e33a7186d2b3f591bec86230a278 | 3,581 | cc | C++ | chrome/browser/chromeos/wilco_dtc_supportd/wilco_dtc_supportd_client.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/wilco_dtc_supportd/wilco_dtc_supportd_client.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/wilco_dtc_supportd/wilco_dtc_supportd_client.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2018 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 "chrome/browser/chromeos/wilco_dtc_supportd/wilco_dtc_supportd_client.h"
#include <utility>
#include "base/bind.h"
#include "base/feature_list.... | 28.879032 | 86 | 0.773527 | Ron423c |
24a3b4a649a4c4ad0a7cfeeb75a2017b101c5b7f | 516 | hpp | C++ | src/l_kampf.hpp | benzap/Kampf | 9cf4fb0d6ec22bc35ade9b476d29df34902c6689 | [
"Zlib"
] | 2 | 2018-05-13T05:27:29.000Z | 2018-05-29T06:35:57.000Z | src/l_kampf.hpp | benzap/Kampf | 9cf4fb0d6ec22bc35ade9b476d29df34902c6689 | [
"Zlib"
] | null | null | null | src/l_kampf.hpp | benzap/Kampf | 9cf4fb0d6ec22bc35ade9b476d29df34902c6689 | [
"Zlib"
] | null | null | null | #ifndef L_KAMPF__HPP
#define L_KAMPF__HPP
//DESCRIPTION
/*
Lua wrapper for the entry to kampf engine
*/
//CLASSES
//INCLUDES
#include "KF_globals.hpp"
#include "KF_utilities.hpp"
#include "LuaScript.hpp"
#include "kampf.hpp"
//DEFINITIONS
#define LUA_REGISTRY_KAMPF "l_kf.kampf"
//MACROS
//TYPEDEFS
//FUNCTIONS
... | 15.636364 | 45 | 0.751938 | benzap |
24a604b7773be8e609eee203102994f80ec87e5e | 6,992 | cpp | C++ | mc_test.cpp | DavyVan/MiniCaffe | 62d026e2510f0cf6202c1846fa6435a6a409133f | [
"MIT"
] | 2 | 2019-08-25T10:16:56.000Z | 2020-02-22T07:13:30.000Z | mc_test.cpp | DavyVan/MiniCaffe | 62d026e2510f0cf6202c1846fa6435a6a409133f | [
"MIT"
] | null | null | null | mc_test.cpp | DavyVan/MiniCaffe | 62d026e2510f0cf6202c1846fa6435a6a409133f | [
"MIT"
] | null | null | null | //
// Created by mingchen on 3/14/19.
//
#include <cstdio>
#include "minicaffe/blob.h"
#include "minicaffe/layers/mnist_generator.h"
#include <assert.h>
#include <string>
#include "minicaffe/layers/conv_layer.h"
#include "minicaffe/util.h"
#include "minicaffe/layers/relu_layer.h"
#include "minicaffe/minicaffe.h"
void... | 28.422764 | 109 | 0.57337 | DavyVan |
24a75e118fedd91fb4b7429ae5ac8344eee39f41 | 2,323 | cpp | C++ | CF Round 674 DIV_3/E_Rock_Paper_Scissors.cpp | satyam720/hello-world | 3c3dc1a80621c1e012524198e0f92ed39fc0d2bb | [
"MIT"
] | 8 | 2020-10-03T15:07:19.000Z | 2021-10-03T07:59:32.000Z | CF Round 674 DIV_3/E_Rock_Paper_Scissors.cpp | satyam720/hello-world | 3c3dc1a80621c1e012524198e0f92ed39fc0d2bb | [
"MIT"
] | 52 | 2020-10-01T19:19:50.000Z | 2021-10-30T16:56:02.000Z | CF Round 674 DIV_3/E_Rock_Paper_Scissors.cpp | satyam720/hello-world | 3c3dc1a80621c1e012524198e0f92ed39fc0d2bb | [
"MIT"
] | 40 | 2020-10-01T19:16:31.000Z | 2021-10-31T14:19:44.000Z | ///Astalavista Code........~sachinait
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define Br cout<<endl
#define int long long
#define pb push_back
#define mp make_pair
#define double long double
#define all(v) v.begin(),v.end()
#define allr(v) v.rbegin(),v.rend()
#define PT(x) cout << (x)... | 33.666667 | 134 | 0.421007 | satyam720 |
24a94ee43b1304c6f8721b9f14b4ffd937814fd8 | 708 | cpp | C++ | Timus Online Judge/Volume 05/1496. Spammer.cpp | sreejonK19/online-judge-solutions | da65d635cc488c8f305e48b49727ad62649f5671 | [
"MIT"
] | null | null | null | Timus Online Judge/Volume 05/1496. Spammer.cpp | sreejonK19/online-judge-solutions | da65d635cc488c8f305e48b49727ad62649f5671 | [
"MIT"
] | null | null | null | Timus Online Judge/Volume 05/1496. Spammer.cpp | sreejonK19/online-judge-solutions | da65d635cc488c8f305e48b49727ad62649f5671 | [
"MIT"
] | 2 | 2018-11-06T19:37:56.000Z | 2018-11-09T19:05:46.000Z | #include <bits/stdc++.h>
using namespace std;
string name;
map< string, int > m;
vector< pair< int, string > > ans;
int main() {
#ifndef ONLINE_JUDGE
freopen("in.txt", "r", stdin);
freopen("out.txt", "w", stdout);
#endif // ONLINE_JUDGE
ios_base::sync_with_stdio(false);
cin.tie(NULL);
co... | 20.823529 | 76 | 0.555085 | sreejonK19 |
24ad9b29ae349d2421155663715ea6605b777607 | 4,645 | cpp | C++ | src/dns_service/dns_service_porkbun.cpp | wzkres/pve-ddns-client | c90ada7da3a3b2a131e4486f14157163ccf299c9 | [
"BSD-2-Clause"
] | 1 | 2021-09-05T08:09:42.000Z | 2021-09-05T08:09:42.000Z | src/dns_service/dns_service_porkbun.cpp | wzkres/pve-ddns-client | c90ada7da3a3b2a131e4486f14157163ccf299c9 | [
"BSD-2-Clause"
] | null | null | null | src/dns_service/dns_service_porkbun.cpp | wzkres/pve-ddns-client | c90ada7da3a3b2a131e4486f14157163ccf299c9 | [
"BSD-2-Clause"
] | null | null | null | #include "dns_service_porkbun.h"
#include "fmt/format.h"
#include "glog/logging.h"
#include "rapidjson/document.h"
#include "rapidjson/error/en.h"
#include "../utils.h"
#include "../config.h"
static const char * API_HOST = "https://porkbun.com/api/json/v3/";
static const char * API_RETRIEVE = "dns/retrieveByNameType... | 31.598639 | 118 | 0.58902 | wzkres |
24b1659d8bd917598b07702f7e13fef2c35753c7 | 10,062 | cpp | C++ | FEBioStudio/PublicationWidget.cpp | chunkeey/FEBioStudio | f342d4ac2bc3581db792373c4265454109af92b3 | [
"MIT"
] | 27 | 2020-06-25T06:34:52.000Z | 2022-03-11T08:58:57.000Z | FEBioStudio/PublicationWidget.cpp | chunkeey/FEBioStudio | f342d4ac2bc3581db792373c4265454109af92b3 | [
"MIT"
] | 42 | 2020-06-15T18:40:57.000Z | 2022-03-24T05:38:54.000Z | FEBioStudio/PublicationWidget.cpp | chunkeey/FEBioStudio | f342d4ac2bc3581db792373c4265454109af92b3 | [
"MIT"
] | 12 | 2020-06-27T13:58:57.000Z | 2022-03-24T05:39:10.000Z | /*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2020 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any per... | 25.866324 | 179 | 0.741105 | chunkeey |
24b9daee4fa0a329a77849a270146612fe345cf7 | 3,825 | cpp | C++ | VectorEngineSite.buildv1.1.15/windows_release_mx/src/VectorEngineSite_Forms_2TextBoxForm.cpp | AntDevUnity/VectorCMS | 4ff7a69b4a92733ea75d9d48a845ea9548cfa34c | [
"MIT"
] | null | null | null | VectorEngineSite.buildv1.1.15/windows_release_mx/src/VectorEngineSite_Forms_2TextBoxForm.cpp | AntDevUnity/VectorCMS | 4ff7a69b4a92733ea75d9d48a845ea9548cfa34c | [
"MIT"
] | null | null | null | VectorEngineSite.buildv1.1.15/windows_release_mx/src/VectorEngineSite_Forms_2TextBoxForm.cpp | AntDevUnity/VectorCMS | 4ff7a69b4a92733ea75d9d48a845ea9548cfa34c | [
"MIT"
] | null | null | null |
#include "VectorEngineSite.buildv1.1.15/windows_release_mx/include/VectorEngineSite_Forms_2TextBoxForm.h"
#include "mojo/mojo.buildv1.1.15/windows_release_mx/include/mojo_graphics_2image.h"
#include "monkey/monkey.buildv1.1.15/windows_release_mx/include/monkey_types.h"
#include "std/std.buildv1.1.15/windows_release_m... | 39.030612 | 683 | 0.706928 | AntDevUnity |
24ba81f53ab3a86a4caccf94714da84a3ac7a7a7 | 2,208 | cpp | C++ | tests/mock_test_digest.cpp | cmanszew/yaca | 36606ee58acabc5236a3de00845ec5345deb094a | [
"Apache-2.0"
] | null | null | null | tests/mock_test_digest.cpp | cmanszew/yaca | 36606ee58acabc5236a3de00845ec5345deb094a | [
"Apache-2.0"
] | 5 | 2020-11-03T15:04:23.000Z | 2021-12-29T19:01:21.000Z | tests/mock_test_digest.cpp | cmanszew/yaca | 36606ee58acabc5236a3de00845ec5345deb094a | [
"Apache-2.0"
] | 1 | 2021-04-19T09:23:47.000Z | 2021-04-19T09:23:47.000Z | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
*
* Contact: Lukasz Pawelczyk <l.pawelczyk@samsung.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
*... | 26.285714 | 76 | 0.713768 | cmanszew |
24baeb67a17808898a482ccacb8eeebd8104e440 | 1,908 | cpp | C++ | src/pancake/SeedHit.cpp | ahehn-nv/pancake | 273a035d3b858256d0847f773f6fa4560c2d37f8 | [
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause",
"MIT"
] | null | null | null | src/pancake/SeedHit.cpp | ahehn-nv/pancake | 273a035d3b858256d0847f773f6fa4560c2d37f8 | [
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause",
"MIT"
] | null | null | null | src/pancake/SeedHit.cpp | ahehn-nv/pancake | 273a035d3b858256d0847f773f6fa4560c2d37f8 | [
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause",
"MIT"
] | null | null | null | // Authors: Ivan Sovic
#include <pacbio/pancake/SeedHit.h>
#include <sstream>
namespace PacBio {
namespace Pancake {
void CalcHitCoverage(const std::vector<SeedHit>& hits, int32_t hitsBegin, int32_t hitsEnd,
int32_t& coveredBasesQuery, int32_t& coveredBasesTarget)
{
/*
Expects the seed... | 38.938776 | 100 | 0.557652 | ahehn-nv |
24be9fa1b8910519325f96970c58a2032c63f600 | 1,021 | cpp | C++ | Deitel/Chapter06/exercises/6.32/ex_632.cpp | SebastianTirado/Cpp-Learning-Archive | fb83379d0cc3f9b2390cef00119464ec946753f4 | [
"MIT"
] | 19 | 2019-09-15T12:23:51.000Z | 2020-06-18T08:31:26.000Z | Deitel/Chapter06/exercises/6.32/ex_632.cpp | eirichan/CppLearingArchive | 07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac | [
"MIT"
] | 15 | 2021-12-07T06:46:03.000Z | 2022-01-31T07:55:32.000Z | Deitel/Chapter06/exercises/6.32/ex_632.cpp | eirichan/CppLearingArchive | 07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac | [
"MIT"
] | 13 | 2019-06-29T02:58:27.000Z | 2020-05-07T08:52:22.000Z | /*
* =====================================================================================
*
* Filename:
*
* Description:
*
* Version: 1.0
* Created: Thanks to github you know it
* Revision: none
* Compiler: g++
*
* Author: Mahmut Erdem ÖZGEN m.erdemozgen... | 22.195652 | 88 | 0.437806 | SebastianTirado |
24c3b3869f13c3271b03a5b63dd3b3114013a9b1 | 1,743 | cpp | C++ | test/io/network_reader.cpp | ElderDelp/fiction | f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8 | [
"MIT"
] | null | null | null | test/io/network_reader.cpp | ElderDelp/fiction | f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8 | [
"MIT"
] | null | null | null | test/io/network_reader.cpp | ElderDelp/fiction | f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8 | [
"MIT"
] | null | null | null | //
// Created by marcel on 27.09.21.
//
#include "catch.hpp"
#include "utils/blueprints/network_blueprints.hpp"
#include "utils/equivalence_checking_utils.hpp"
#include <fiction/io/network_reader.hpp>
#include <fiction/types.hpp>
#include <sstream>
#include <string>
using namespace fiction;
// adapted from https:/... | 26.409091 | 101 | 0.641423 | ElderDelp |
24c66e54c17f65425d200c05ebe487bc9b8dcda3 | 1,688 | cpp | C++ | apps/test_shared_cv.cpp | jonathanherbst/shmbus | b777cefbbccaa35b1980622929548ad78bc7a21c | [
"MIT"
] | 1 | 2017-11-02T05:16:06.000Z | 2017-11-02T05:16:06.000Z | apps/test_shared_cv.cpp | jonathanherbst/shmbus | b777cefbbccaa35b1980622929548ad78bc7a21c | [
"MIT"
] | null | null | null | apps/test_shared_cv.cpp | jonathanherbst/shmbus | b777cefbbccaa35b1980622929548ad78bc7a21c | [
"MIT"
] | 2 | 2018-02-25T11:18:23.000Z | 2022-01-01T10:17:29.000Z | #include <boost/interprocess/sync/named_condition_any.hpp>
#include <boost/interprocess/sync/named_condition.hpp>
#include <boost/interprocess/sync/named_mutex.hpp>
#include <boost/thread/thread_time.hpp>
#include <unistd.h>
#include <chrono>
#include <thread>
#include <iostream>
namespace ip = boost::interprocess;
... | 28.610169 | 73 | 0.60782 | jonathanherbst |
24cbfc1cae7cc11c1947e81b4bf8426089bf32d0 | 6,216 | hxx | C++ | include/moneta/algorithm/for_each_member.hxx | madera/Moneta | 4c0da911bceb511d7d1133699b0d85216bb63d74 | [
"BSL-1.0"
] | 2 | 2015-10-09T12:11:54.000Z | 2016-01-20T15:34:33.000Z | include/moneta/algorithm/for_each_member.hxx | madera/Moneta | 4c0da911bceb511d7d1133699b0d85216bb63d74 | [
"BSL-1.0"
] | 5 | 2015-07-04T20:31:32.000Z | 2015-07-04T20:44:58.000Z | include/moneta/algorithm/for_each_member.hxx | madera/Moneta | 4c0da911bceb511d7d1133699b0d85216bb63d74 | [
"BSL-1.0"
] | null | null | null | // [===========================================================================]
// [ M o n e t a ]
// [---------------------------------------------------------------------------]
// [ ... | 35.118644 | 111 | 0.595399 | madera |
24cccbd4518014eb21364b9b31d14505a15132b7 | 22,251 | cpp | C++ | src/JSystem/JAI/JAIObject.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 33 | 2021-12-08T11:10:59.000Z | 2022-03-26T19:59:37.000Z | src/JSystem/JAI/JAIObject.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 6 | 2021-12-22T17:54:31.000Z | 2022-01-07T21:43:18.000Z | src/JSystem/JAI/JAIObject.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 2 | 2022-01-04T06:00:49.000Z | 2022-01-26T07:27:28.000Z | #include "JSystem/JAI/JAInter.h"
#include "types.h"
/*
Generated from dpostproc
.section .data, "wa" # 0x8049E220 - 0x804EFC20
.global __vt__Q27JAInter6Object
__vt__Q27JAInter6Object:
.4byte 0
.4byte 0
.4byte __dt__Q27JAInter6ObjectFv
.4byte startSound__Q27JAInter6Obje... | 18.85678 | 81 | 0.568694 | projectPiki |
24cd43fea4dedb228cb7d9dffe8bb9254ee18bb8 | 11,351 | cpp | C++ | swizzle/engine_src/gfx/gfxvk/VulkanTexture.cpp | deathcleaver/swizzle | 1a1cc114841ea7de486cf94c6cafd9108963b4da | [
"MIT"
] | 2 | 2020-02-10T07:58:21.000Z | 2022-03-15T19:13:28.000Z | swizzle/engine_src/gfx/gfxvk/VulkanTexture.cpp | deathcleaver/swizzle | 1a1cc114841ea7de486cf94c6cafd9108963b4da | [
"MIT"
] | null | null | null | swizzle/engine_src/gfx/gfxvk/VulkanTexture.cpp | deathcleaver/swizzle | 1a1cc114841ea7de486cf94c6cafd9108963b4da | [
"MIT"
] | null | null | null | #include "VulkanDevice.hpp"
#include "VulkanTexture.hpp"
#include "backend/VulkanMemory.hpp"
#include <cstring>
namespace swizzle::gfx
{
VulkanTexture::VulkanTexture(const VkContainer vkObjects, U32 width, U32 height, U32 channels, const U8* pixelData)
: mVkObjects(vkObjects)
, mImage(VK_NULL_HAND... | 39.276817 | 216 | 0.6906 | deathcleaver |
24cf1057e4b1d5fcced549d7f9a471e4c62ec008 | 6,136 | cpp | C++ | src/graphics/graphics.cpp | demurzasty/rabb | f980fd18332f7846cd22b502f1075d224938379c | [
"MIT"
] | 8 | 2020-11-21T17:59:09.000Z | 2022-02-13T05:14:40.000Z | src/graphics/graphics.cpp | demurzasty/rabb | f980fd18332f7846cd22b502f1075d224938379c | [
"MIT"
] | null | null | null | src/graphics/graphics.cpp | demurzasty/rabb | f980fd18332f7846cd22b502f1075d224938379c | [
"MIT"
] | 1 | 2020-11-23T23:01:14.000Z | 2020-11-23T23:01:14.000Z | #include <rabbit/graphics/graphics.hpp>
#include <rabbit/core/settings.hpp>
#if RB_VULKAN
# include "../drivers/vulkan/graphics_vulkan.hpp"
#endif
using namespace rb;
std::shared_ptr<graphics_impl> graphics::_impl;
void graphics::init() {
#if RB_VULKAN
if (settings::graphics_backend == graphics_backen... | 30.989899 | 199 | 0.741362 | demurzasty |
24db60bff994d96184454149e1ea7c48ab053722 | 13,631 | cpp | C++ | _vscp_common/register.cpp | benys/vscpworks | 755a1733d0c55c8dd22d65e0e1ed1598311ef999 | [
"MIT"
] | 1 | 2022-01-24T20:21:09.000Z | 2022-01-24T20:21:09.000Z | _vscp_common/register.cpp | benys/vscpworks | 755a1733d0c55c8dd22d65e0e1ed1598311ef999 | [
"MIT"
] | 1 | 2020-05-05T18:40:57.000Z | 2020-05-05T18:40:57.000Z | _vscp_common/register.cpp | benys/vscpworks | 755a1733d0c55c8dd22d65e0e1ed1598311ef999 | [
"MIT"
] | 1 | 2020-05-05T08:07:32.000Z | 2020-05-05T08:07:32.000Z | // FILE: register.h
//
// This file is part of the VSCP (http://www.vscp.org)
//
// The MIT License (MIT)
//
// Copyright (c) 2000-2018 Ake Hedman, Grodans Paradis AB <info@grodansparadis.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated docume... | 24.297683 | 93 | 0.472379 | benys |
24dbcfe1d63e31670fcd620e8a0e9d555e1c1318 | 330 | cpp | C++ | leetcode/arrays/sde sheet/169.majority-element.cpp | saurabhraj042/dsaPrep | 0973a03bc565a2850003c7e48d99b97ff83b1d01 | [
"MIT"
] | 23 | 2021-10-30T04:11:52.000Z | 2021-11-27T09:16:18.000Z | leetcode/arrays/sde sheet/169.majority-element.cpp | Pawanupadhyay10/placement-prep | 0449fa7cbc56e7933e6b090936ab7c15ca5f290f | [
"MIT"
] | null | null | null | leetcode/arrays/sde sheet/169.majority-element.cpp | Pawanupadhyay10/placement-prep | 0449fa7cbc56e7933e6b090936ab7c15ca5f290f | [
"MIT"
] | 4 | 2021-10-30T03:26:05.000Z | 2021-11-14T12:15:04.000Z | class Solution {
public:
int majorityElement(vector<int>& nums) {
int count =0;
int candidate;
for(auto x:nums){
if(count==0) candidate=x;
if(x!=candidate) count--;
if(x==candidate) count++;
}
return candidate... | 20.625 | 44 | 0.454545 | saurabhraj042 |
24dd9dbb2783f89ca90c926be0405af8868883d9 | 789 | hpp | C++ | tests/core/util.hpp | errata-c/ez-geo | 9d45a411dd226d016d9475df380de9cf80a130de | [
"MIT"
] | null | null | null | tests/core/util.hpp | errata-c/ez-geo | 9d45a411dd226d016d9475df380de9cf80a130de | [
"MIT"
] | null | null | null | tests/core/util.hpp | errata-c/ez-geo | 9d45a411dd226d016d9475df380de9cf80a130de | [
"MIT"
] | null | null | null | #pragma once
#include <cmath>
#include <fmt/core.h>
static constexpr float epsf = 1e-4f;
static constexpr double eps = 1e-6;
inline bool approxEq(float a, float b) {
return std::abs(a - b) <= epsf;
}
inline bool approxEq(double a, double b) {
return std::abs(a - b) <= eps;
}
inline bool approxEq(const glm::vec2& a... | 29.222222 | 71 | 0.65019 | errata-c |
24dfb4db35e22a7f2033254cdc339bd151d563e4 | 447 | cpp | C++ | src/api/two/node/two_node.cpp | kalgoop/cpp-client | 4c9057c15782c83cfc2fde04cb52e896702e0f05 | [
"MIT"
] | null | null | null | src/api/two/node/two_node.cpp | kalgoop/cpp-client | 4c9057c15782c83cfc2fde04cb52e896702e0f05 | [
"MIT"
] | null | null | null | src/api/two/node/two_node.cpp | kalgoop/cpp-client | 4c9057c15782c83cfc2fde04cb52e896702e0f05 | [
"MIT"
] | null | null | null |
#include "api/two/node/two_node.h"
std::string Ark::Client::API::TWO::Node::configuration()
{
return this->http->get(Ark::Client::API::TWO::Paths::Node::configuration);
}
/***/
std::string Ark::Client::API::TWO::Node::status()
{
return this->http->get(Ark::Client::API::TWO::Paths::Node::status);
}
/***/
s... | 20.318182 | 78 | 0.635347 | kalgoop |
24dffa0ebde0c92aa6424a5c794209dab13e8c9a | 5,352 | cc | C++ | tensor_comprehensions/pybinds/pybind_autotuner.cc | moskomule/TensorComprehensions | c215ae2bbe1cf0424a65b1848dec486aa2d2eafa | [
"Apache-2.0"
] | 16 | 2018-06-06T02:17:13.000Z | 2021-04-13T12:21:56.000Z | tensor_comprehensions/pybinds/pybind_autotuner.cc | moskomule/TensorComprehensions | c215ae2bbe1cf0424a65b1848dec486aa2d2eafa | [
"Apache-2.0"
] | null | null | null | tensor_comprehensions/pybinds/pybind_autotuner.cc | moskomule/TensorComprehensions | c215ae2bbe1cf0424a65b1848dec486aa2d2eafa | [
"Apache-2.0"
] | 3 | 2018-06-06T01:43:56.000Z | 2019-07-02T12:33:54.000Z | /**
* Copyright (c) 2017-present, Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 34.529032 | 80 | 0.588378 | moskomule |
24e0b8c42837f0705b1cc77cdc31f7539d2b4792 | 9,384 | hpp | C++ | compendium/DeclarativeServices/test/TestFixture.hpp | Burgch/CppMicroServices | b1791e333e69a544454b946f71295009a58b772f | [
"Apache-2.0"
] | 588 | 2015-10-07T15:55:08.000Z | 2022-03-29T00:35:44.000Z | compendium/DeclarativeServices/test/TestFixture.hpp | myjeffxie/CppMicroServices | 530fd3be032d468de69fb0a764ef42aed69f2bc0 | [
"Apache-2.0"
] | 459 | 2015-10-05T23:29:59.000Z | 2022-03-29T14:13:37.000Z | compendium/DeclarativeServices/test/TestFixture.hpp | myjeffxie/CppMicroServices | 530fd3be032d468de69fb0a764ef42aed69f2bc0 | [
"Apache-2.0"
] | 218 | 2015-11-04T08:19:48.000Z | 2022-03-24T02:17:08.000Z | /*=============================================================================
Library: CppMicroServices
Copyright (c) The CppMicroServices developers. See the COPYRIGHT
file at the top-level directory of this distribution and at
https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT .
Licensed un... | 33.276596 | 91 | 0.71558 | Burgch |
24e149f11264c7df2bb4d4a14eec1b4f8ef2a0c3 | 6,948 | cpp | C++ | dart/trajectory/IPOptOptimizer.cpp | jyf588/nimblephysics | 6c09228f0abcf7aa3526a8dd65cd2541aff32c4a | [
"BSD-2-Clause"
] | 2 | 2021-09-30T06:23:29.000Z | 2022-03-09T09:59:09.000Z | dart/trajectory/IPOptOptimizer.cpp | jyf588/nimblephysics | 6c09228f0abcf7aa3526a8dd65cd2541aff32c4a | [
"BSD-2-Clause"
] | null | null | null | dart/trajectory/IPOptOptimizer.cpp | jyf588/nimblephysics | 6c09228f0abcf7aa3526a8dd65cd2541aff32c4a | [
"BSD-2-Clause"
] | 1 | 2021-08-20T13:56:14.000Z | 2021-08-20T13:56:14.000Z | #include "dart/trajectory/IPOptOptimizer.hpp"
#include <vector>
#include <coin/IpIpoptApplication.hpp>
#include <coin/IpSolveStatistics.hpp>
#include <coin/IpTNLP.hpp>
#include "dart/performance/PerformanceLog.hpp"
#include "dart/trajectory/IPOptShotWrapper.hpp"
#define LOG_PERFORMANCE_IPOPT
using namespace dart;
... | 30.340611 | 80 | 0.595135 | jyf588 |
24e29cc310f33f5c753002d96faa1b799f466548 | 938 | cpp | C++ | src/libmeasurement_kit/nettests/dash.cpp | elevenfive/measurement-kit | ba8ce691d880fdec4917fa6020f52365c61a9de5 | [
"BSD-2-Clause"
] | null | null | null | src/libmeasurement_kit/nettests/dash.cpp | elevenfive/measurement-kit | ba8ce691d880fdec4917fa6020f52365c61a9de5 | [
"BSD-2-Clause"
] | null | null | null | src/libmeasurement_kit/nettests/dash.cpp | elevenfive/measurement-kit | ba8ce691d880fdec4917fa6020f52365c61a9de5 | [
"BSD-2-Clause"
] | null | null | null | // Part of Measurement Kit <https://measurement-kit.github.io/>.
// Measurement Kit is free software under the BSD license. See AUTHORS
// and LICENSE for more information on the copying conditions.
#include "src/libmeasurement_kit/nettests/runnable.hpp"
#include "src/libmeasurement_kit/neubot/dash.hpp"
namespace mk ... | 29.3125 | 79 | 0.640725 | elevenfive |
24e4854ea5bcddbb78090f9e86651fced361a54c | 2,916 | cc | C++ | src/infero/clustering/Clustering.cc | dvuckovic/infero | 2d3e078d9d99cd36c170cbd230e46fdf3e777a32 | [
"Apache-2.0"
] | 8 | 2021-12-20T06:24:16.000Z | 2022-02-17T15:21:55.000Z | src/infero/clustering/Clustering.cc | ecmwf-projects/infero | 4c229a16ce75a249c83cbf43e0c953a7a42f2f83 | [
"Apache-2.0"
] | null | null | null | src/infero/clustering/Clustering.cc | ecmwf-projects/infero | 4c229a16ce75a249c83cbf43e0c953a7a42f2f83 | [
"Apache-2.0"
] | 1 | 2021-10-04T10:14:23.000Z | 2021-10-04T10:14:23.000Z | /*
* (C) Copyright 1996- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an interg... | 23.901639 | 87 | 0.59225 | dvuckovic |
24e5a32e437b348789cd4a84316c8818c7a3b585 | 1,848 | cpp | C++ | src/ast/macros/quantifier_macro_info.cpp | VaseninaAnna/z3 | 5da71dc8478ef581d38de56a54e9a904bd670d19 | [
"MIT"
] | 3 | 2020-07-15T19:50:12.000Z | 2020-12-13T17:28:16.000Z | src/ast/macros/quantifier_macro_info.cpp | VaseninaAnna/z3 | 5da71dc8478ef581d38de56a54e9a904bd670d19 | [
"MIT"
] | 39 | 2015-09-10T22:33:24.000Z | 2021-03-01T19:30:36.000Z | src/ast/macros/quantifier_macro_info.cpp | VaseninaAnna/z3 | 5da71dc8478ef581d38de56a54e9a904bd670d19 | [
"MIT"
] | 5 | 2016-10-25T14:08:51.000Z | 2021-05-18T00:07:31.000Z | /*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
quantifier_macro_info.cpp
Abstract:
Macro solving utilities
Author:
Leonardo de Moura (leonardo) 2010-12-17.
Revision History:
--*/
#include "ast/ast_pp.h"
#include "ast/macros/quantifier_macro_info.h"
quantifier_macro_info::quantifier_macr... | 27.58209 | 116 | 0.633117 | VaseninaAnna |
0086c7c6b787c89f9634d3e111a7433c122a0c6c | 2,243 | hpp | C++ | APCall.hpp | asrivast28/apsdk-cpp | 38f9db47d5e49f1b2b09f46f8538531fce1df8b1 | [
"Apache-2.0"
] | null | null | null | APCall.hpp | asrivast28/apsdk-cpp | 38f9db47d5e49f1b2b09f46f8538531fce1df8b1 | [
"Apache-2.0"
] | null | null | null | APCall.hpp | asrivast28/apsdk-cpp | 38f9db47d5e49f1b2b09f46f8538531fce1df8b1 | [
"Apache-2.0"
] | null | null | null | /**
* @file APCall.hpp
* @brief Functionality for error checking calls to C API.
* @author Ankit Srivastava <asrivast@gatech.edu>
*
* Copyright 2018 Georgia Institute of Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... | 34.507692 | 113 | 0.705305 | asrivast28 |
00877b11c59c7bb62e4026b389bbaf2b36cd6eb1 | 650 | cc | C++ | shared/gpm_metrics.cc | hoffmannjordan/Crumpling | c5a434f9bb19a061f2372472e7c6fdb5363d38a4 | [
"MIT"
] | 12 | 2018-07-11T17:40:38.000Z | 2021-09-30T15:27:14.000Z | shared/gpm_metrics.cc | nerdsscoremore/Crumpling | c5a434f9bb19a061f2372472e7c6fdb5363d38a4 | [
"MIT"
] | null | null | null | shared/gpm_metrics.cc | nerdsscoremore/Crumpling | c5a434f9bb19a061f2372472e7c6fdb5363d38a4 | [
"MIT"
] | 2 | 2021-08-20T18:41:18.000Z | 2022-01-07T04:41:50.000Z | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <limits>
#include "gp_matrix.hh"
int main(int argc,char **argv) {
// Check for the correct number of command-line arguments
if(argc!=2) {
fputs("Usage: ./gpm_metrics <input_field>\n\n"
"Reads in a gnuplot matrix file and calculates the grid... | 27.083333 | 84 | 0.673846 | hoffmannjordan |
00884d834cd614d1185676915bf3a50fbdeb555e | 1,779 | cpp | C++ | src/main.cpp | trucnguyenlam/rGURA2ARBAC | 69d0e57e99be94f356e15f24a6d9d0cb52203858 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/main.cpp | trucnguyenlam/rGURA2ARBAC | 69d0e57e99be94f356e15f24a6d9d0cb52203858 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/main.cpp | trucnguyenlam/rGURA2ARBAC | 69d0e57e99be94f356e15f24a6d9d0cb52203858 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | // @author: trucnguyenlam@gmail.com
// @description:
// main executable
// TODO:
//
// @changeLog:
// 2017.05.09 Initial version
#include <iostream>
#include "utils/args.hxx"
#include "reduction/reduction.h"
using namespace VAC;
int main(int argc, const char* argv[]) {
// Parse argument
args::Argum... | 27.796875 | 109 | 0.592468 | trucnguyenlam |
00885130e0a24201466e69662d68ca2cb9001021 | 1,473 | cpp | C++ | Offer/Offer-41-shu-ju-liu-zhong-de-zhong-wei-shu-lcof.cpp | wandsX/LeetCodeExperience | 8502e6e8ce911045f45f0075bcf3ee751a4558c7 | [
"MIT"
] | null | null | null | Offer/Offer-41-shu-ju-liu-zhong-de-zhong-wei-shu-lcof.cpp | wandsX/LeetCodeExperience | 8502e6e8ce911045f45f0075bcf3ee751a4558c7 | [
"MIT"
] | null | null | null | Offer/Offer-41-shu-ju-liu-zhong-de-zhong-wei-shu-lcof.cpp | wandsX/LeetCodeExperience | 8502e6e8ce911045f45f0075bcf3ee751a4558c7 | [
"MIT"
] | null | null | null | //如何得到一个数据流中的中位数?如果从数据流中读出奇数个数值,那么中位数就是所有数值排序之后位于中间的数值。如果从数据流中读出偶数个数值,那么中位数就是所有数
//值排序之后中间两个数的平均值。
//
// 例如,
//
// [2,3,4] 的中位数是 3
//
// [2,3] 的中位数是 (2 + 3) / 2 = 2.5
//
// 设计一个支持以下两种操作的数据结构:
//
//
// void addNum(int num) - 从数据流中添加一个整数到数据结构中。
// double findMedian() - 返回目前所有元素的中位数。
//
//
// 示例 1:
//
// 输入:
//[... | 18.4125 | 80 | 0.611677 | wandsX |
00892bcacc028a3bf003075bbdd7b60b21229d90 | 2,007 | hh | C++ | RAVL2/Image/Base/RealDVSYUVValue.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Image/Base/RealDVSYUVValue.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Image/Base/RealDVSYUVValue.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2001, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 27.875 | 142 | 0.680618 | isuhao |
008a3b72d2c28200e31c4aac4772ae0bb7c3c95c | 3,117 | cpp | C++ | estl/containers/playground/sort_map_s_playground.cpp | mlutken/playground | 88b0fc457ae8f028b9a1f8f959b8361a645468be | [
"Unlicense"
] | null | null | null | estl/containers/playground/sort_map_s_playground.cpp | mlutken/playground | 88b0fc457ae8f028b9a1f8f959b8361a645468be | [
"Unlicense"
] | null | null | null | estl/containers/playground/sort_map_s_playground.cpp | mlutken/playground | 88b0fc457ae8f028b9a1f8f959b8361a645468be | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <vector>
#include <array>
#include <string>
#include <containers/sort_map_s.hpp>
struct MyClass {
MyClass () {
std::cout << "MyClass DEFAULT CONSTRUCTOR: " << val_ << " this: " << this << std::endl;
// = default; TODO: We should not need this
}
MyClass (const... | 27.104348 | 112 | 0.517806 | mlutken |
008c4202f0a812d3ba86a6b7b89ffd33f3d1a976 | 3,362 | cpp | C++ | test/unittests/math/vector.cpp | ukoeln-vis/ctpperf | 2d896c4e8f4a46a6aee198ed6492e7571361e00b | [
"MIT"
] | 5 | 2017-08-11T00:11:45.000Z | 2022-01-24T14:47:47.000Z | test/unittests/math/vector.cpp | ukoeln-vis/ctpperf | 2d896c4e8f4a46a6aee198ed6492e7571361e00b | [
"MIT"
] | null | null | null | test/unittests/math/vector.cpp | ukoeln-vis/ctpperf | 2d896c4e8f4a46a6aee198ed6492e7571361e00b | [
"MIT"
] | null | null | null | // This file is distributed under the MIT license.
// See the LICENSE file for details.
#include <visionaray/math/math.h>
#include <gtest/gtest.h>
using namespace visionaray;
TEST(Vector, Ctor)
{
// Test constructability from vectors with different
// sizes to define a higher-dimensional vector
vector... | 27.785124 | 62 | 0.615407 | ukoeln-vis |
008d10b54b5e4291b781cebfa761f5010c71ad9b | 3,410 | cpp | C++ | chapter_06/CurrentDateAndTime.cpp | Kevin-Oudai/my_cpp_solutions | a0f5f533ee4825f5b2d88cacc936d80276062ca4 | [
"MIT"
] | null | null | null | chapter_06/CurrentDateAndTime.cpp | Kevin-Oudai/my_cpp_solutions | a0f5f533ee4825f5b2d88cacc936d80276062ca4 | [
"MIT"
] | 31 | 2021-05-14T03:37:24.000Z | 2022-03-13T17:38:32.000Z | chapter_06/CurrentDateAndTime.cpp | Kevin-Oudai/my_cpp_solutions | a0f5f533ee4825f5b2d88cacc936d80276062ca4 | [
"MIT"
] | null | null | null | // Exercise 6.34 - Current date and time
#include <iostream>
#include <string>
#include <ctime>
int getCurrentSec(int &totalMilliseconds);
int getCurrentMinute(int &totalSeconds);
int getCurrentHour(int &totalMinutes);
int getCurrentYear(int &totalDays);
std::string getCurrentMonth(int &totalDays, int year);
void dis... | 17.668394 | 97 | 0.506745 | Kevin-Oudai |
008ddcb7609cec550386ded08ef05c6d4d575dad | 722 | cpp | C++ | Boost/asio/threads.cpp | Fernal73/LearnCpp | 100aa80e447fe7735d7f8217c2ec72ae32ed1c7f | [
"MIT"
] | null | null | null | Boost/asio/threads.cpp | Fernal73/LearnCpp | 100aa80e447fe7735d7f8217c2ec72ae32ed1c7f | [
"MIT"
] | null | null | null | Boost/asio/threads.cpp | Fernal73/LearnCpp | 100aa80e447fe7735d7f8217c2ec72ae32ed1c7f | [
"MIT"
] | null | null | null | #include <boost/asio/io_service.hpp>
#include <boost/asio/steady_timer.hpp>
#include <chrono>
#include <thread>
#include <iostream>
using namespace std;
using namespace boost::asio;
int main()
{
io_service ioservice;
steady_timer timer1{ioservice, std::chrono::seconds{3}};
timer1.async_wait([](const boost::sys... | 26.740741 | 68 | 0.682825 | Fernal73 |
008e8666830e4347a69c13e8e5498d36445d810d | 228,531 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 2,728 | 2015-01-01T10:06:45.000Z | 2022-03-30T18:12:58.000Z | ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 1,192 | 2015-01-01T06:03:19.000Z | 2022-03-31T09:14:36.000Z | ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 334 | 2015-01-08T20:47:03.000Z | 2022-02-18T07:07:01.000Z | # /* Copyright (C) 2001
# * Housemarque Oy
# * http://www.housemarque.com
# *
# * 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)
# */
#
# /* Revised by Paul Mensonides (2002) */
# /* Revised by Edward Dien... | 146.682285 | 280 | 0.83576 | Harshitha91 |
008ecb52f827463fdb2a6c734f60d692d7cadb89 | 474 | cpp | C++ | tests/request.cpp | alsenz/caf-net | c1b87b5ff6d00488f1558556ee89269fadee30a0 | [
"MIT"
] | null | null | null | tests/request.cpp | alsenz/caf-net | c1b87b5ff6d00488f1558556ee89269fadee30a0 | [
"MIT"
] | null | null | null | tests/request.cpp | alsenz/caf-net | c1b87b5ff6d00488f1558556ee89269fadee30a0 | [
"MIT"
] | null | null | null | #include "dandelion/request.hpp"
#include "gtest/gtest.h"
TEST(RequestTests, TestURLParse) {
as::net::request my_req;
my_req.url("https://martechtoday.com/conductor-ceo-besmertnik-discusses-vision-of-ethical-marketing-225249?utm_source=marketo&utm_medium=email&utm_campaign=newsletter&utm_content=mttoday");
... | 43.090909 | 193 | 0.772152 | alsenz |
0090dcaabbc668df2e90beb3bd9c49b458e0984c | 21,067 | cpp | C++ | tests/Unit/Utilities/Test_PrettyType.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 1 | 2022-01-11T00:17:33.000Z | 2022-01-11T00:17:33.000Z | tests/Unit/Utilities/Test_PrettyType.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | tests/Unit/Utilities/Test_PrettyType.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <array>
#include <deque>
#include <forward_list>
#include <istream>
#include <list>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <typ... | 44.445148 | 80 | 0.683818 | nilsvu |
00940a2d2a02f324c3845e9a512067369e849058 | 570 | cpp | C++ | src/treeitem.cpp | jakobtroidl/Barrio | 55c447325f2e83a21b39c54cdca37b2779d0569c | [
"MIT"
] | null | null | null | src/treeitem.cpp | jakobtroidl/Barrio | 55c447325f2e83a21b39c54cdca37b2779d0569c | [
"MIT"
] | 3 | 2021-11-02T22:24:04.000Z | 2021-11-29T18:01:51.000Z | src/treeitem.cpp | jakobtroidl/Barrio | 55c447325f2e83a21b39c54cdca37b2779d0569c | [
"MIT"
] | null | null | null | #include "treeitem.h"
TreeItem::TreeItem(const QVector<QVariant>& data, TreeItem* parentItem)
:m_itemData(data), m_parentItem(parentItem)
{
}
TreeItem::~TreeItem()
{
}
void TreeItem::appendChild(TreeItem* child)
{
m_childItems.append(child);
}
TreeItem* TreeItem::child(int row)
{
return nullptr;
}
int TreeItem... | 12.12766 | 71 | 0.710526 | jakobtroidl |
0094432904e0339416d13b8f78b74c39f518fe32 | 17,727 | cpp | C++ | qtdeclarative/src/quick/items/qquickview.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qtdeclarative/src/quick/items/qquickview.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qtdeclarative/src/quick/items/qquickview.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtQuick module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid comme... | 28.408654 | 127 | 0.661082 | wgnet |
0099f28213d21ba94b8f4663d000f92f5a22538c | 2,403 | cpp | C++ | PDFImagesExample/src/ofApp.cpp | emodz/DM-GY-9103-Advanced-Creative-Coding | b1298ed6b0f067715437e51ca5e8f99b95ace01a | [
"MIT"
] | 29 | 2018-01-26T00:34:06.000Z | 2022-02-15T18:51:49.000Z | PDFImagesExample/src/ofApp.cpp | emodz/DM-GY-9103-Advanced-Creative-Coding | b1298ed6b0f067715437e51ca5e8f99b95ace01a | [
"MIT"
] | 2 | 2018-02-16T00:50:17.000Z | 2018-02-16T01:15:34.000Z | PDFImagesExample/src/ofApp.cpp | emodz/DM-GY-9103-Advanced-Creative-Coding | b1298ed6b0f067715437e51ca5e8f99b95ace01a | [
"MIT"
] | 11 | 2018-01-26T00:08:46.000Z | 2019-05-30T05:15:15.000Z | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
pdfRendering = false;
ofBackground(225,225,225);
ofSetVerticalSync(true);
grabber.setup(ofGetWidth()/2, ofGetHeight()/2);
}
//--------------------------------------------------------------
void ofApp::update... | 23.330097 | 76 | 0.427382 | emodz |
009ca56dc8103a47290719ab5a9b3b71288c9448 | 59,566 | cpp | C++ | src_main/materialsystem/cmatlightmaps.cpp | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 25 | 2018-02-28T15:04:42.000Z | 2021-08-16T03:49:00.000Z | src_main/materialsystem/cmatlightmaps.cpp | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 1 | 2019-09-20T11:06:03.000Z | 2019-09-20T11:06:03.000Z | src_main/materialsystem/cmatlightmaps.cpp | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 9 | 2019-07-31T11:58:20.000Z | 2021-08-31T11:18:15.000Z | // Copyright © 1996-2018, Valve Corporation, All rights reserved.
#include "pch_materialsystem.h"
#define MATSYS_INTERNAL
#include "cmatlightmaps.h"
#include "IHardwareConfigInternal.h"
#include "colorspace.h"
#include "cmaterialsystem.h"
#include "bitmap/float_bm.h"
// NOTE: This must be the last file included!... | 37.891858 | 111 | 0.600443 | ArcadiusGFN |
009d7e145e2cf11aecf3eeb91baf1623cc474051 | 41,098 | cpp | C++ | tx2-setup/robust_pose_graph_optimization/buzz_slam/src/slam/buzz_slam_closures.cpp | SnowCarter/DOOR-SLAM | cf56d2b4b7a21ed7c6445f01600408c9dd5235c6 | [
"MIT"
] | 3 | 2021-07-05T17:59:01.000Z | 2022-03-31T12:46:25.000Z | tx2-setup/robust_pose_graph_optimization/buzz_slam/src/slam/buzz_slam_closures.cpp | SnowCarter/DOOR-SLAM | cf56d2b4b7a21ed7c6445f01600408c9dd5235c6 | [
"MIT"
] | null | null | null | tx2-setup/robust_pose_graph_optimization/buzz_slam/src/slam/buzz_slam_closures.cpp | SnowCarter/DOOR-SLAM | cf56d2b4b7a21ed7c6445f01600408c9dd5235c6 | [
"MIT"
] | 3 | 2020-03-25T16:21:25.000Z | 2021-07-05T16:37:34.000Z | #include "buzz_slam_singleton.h"
namespace buzz_slam {
/****************************************/
/************ Buzz Closures *************/
/****************************************/
static int BuzzInitOptimizer(buzzvm_t vm){
// Initialize optimizer
buzzvm_pushs(vm, buzzvm_string_register(vm, "controller", 1... | 37.260199 | 147 | 0.648036 | SnowCarter |
009fa11f744967a15ed1705644b01de65a13d70b | 1,418 | cc | C++ | src/attributes/Proj4GoogleWrapper.cc | b8raoult/magics | eb2c86ec6e392e89c90044128dc671f22283d6ad | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-12-07T23:10:50.000Z | 2022-02-19T03:01:49.000Z | src/attributes/Proj4GoogleWrapper.cc | b8raoult/magics | eb2c86ec6e392e89c90044128dc671f22283d6ad | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2019-01-04T15:43:30.000Z | 2022-03-31T09:48:15.000Z | src/attributes/Proj4GoogleWrapper.cc | b8raoult/magics | eb2c86ec6e392e89c90044128dc671f22283d6ad | [
"ECL-2.0",
"Apache-2.0"
] | 13 | 2019-01-07T14:36:33.000Z | 2021-09-06T14:48:36.000Z |
/****************************** LICENSE *******************************
* (C) Copyright 1996-2017 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the pr... | 18.906667 | 91 | 0.680536 | b8raoult |
00a074aa8b0d107cc4e2085231298298f794c260 | 1,808 | hh | C++ | DGComponentModels/TwoMapMaker/smartsoft/src-gen/GrayImage1UpcallManager.hh | Servicerobotics-Ulm/SmartDG-Models | 12a782a103c9846710ad098a6388412dba0e7c32 | [
"BSD-3-Clause"
] | null | null | null | DGComponentModels/TwoMapMaker/smartsoft/src-gen/GrayImage1UpcallManager.hh | Servicerobotics-Ulm/SmartDG-Models | 12a782a103c9846710ad098a6388412dba0e7c32 | [
"BSD-3-Clause"
] | null | null | null | DGComponentModels/TwoMapMaker/smartsoft/src-gen/GrayImage1UpcallManager.hh | Servicerobotics-Ulm/SmartDG-Models | 12a782a103c9846710ad098a6388412dba0e7c32 | [
"BSD-3-Clause"
] | null | null | null | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | 32.872727 | 98 | 0.728429 | Servicerobotics-Ulm |
00a39073167ee47f048a4d633df7158f0a803aad | 2,863 | cpp | C++ | src/image_proc_chain/flexible_chain_executor.cpp | fugashy/image_proc_chain | 176210c4b3b74f58f5a73b5cca07268bcb13c961 | [
"BSD-3-Clause"
] | null | null | null | src/image_proc_chain/flexible_chain_executor.cpp | fugashy/image_proc_chain | 176210c4b3b74f58f5a73b5cca07268bcb13c961 | [
"BSD-3-Clause"
] | null | null | null | src/image_proc_chain/flexible_chain_executor.cpp | fugashy/image_proc_chain | 176210c4b3b74f58f5a73b5cca07268bcb13c961 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 fugashy
#include <string>
#include "image_proc_chain/flexible_chain_executor.hpp"
namespace image_proc_chain {
FlexibleChainExecutor::FlexibleChainExecutor(
rclcpp::Node::SharedPtr& node, const uint32_t default_num)
: node_(node) {
piece_nodes_.resize(default_num);
chain_pieces_.resize(... | 36.705128 | 96 | 0.671324 | fugashy |
00a4f618a9af55e0fa62c0b0aa5e29b58496b295 | 3,935 | cpp | C++ | PhysBody3D.cpp | CITMProject3/Project3 | 5076dbaf4eced4eb69bb43b811684206e62eded4 | [
"MIT"
] | 3 | 2017-04-02T19:37:52.000Z | 2018-11-06T13:37:33.000Z | PhysBody3D.cpp | CITMProject3/Project3 | 5076dbaf4eced4eb69bb43b811684206e62eded4 | [
"MIT"
] | 74 | 2017-04-03T14:32:09.000Z | 2017-06-08T10:12:56.000Z | PhysBody3D.cpp | CITMProject3/Project3 | 5076dbaf4eced4eb69bb43b811684206e62eded4 | [
"MIT"
] | 3 | 2017-06-06T17:10:46.000Z | 2019-10-28T16:25:27.000Z | #include "PhysBody3D.h"
#include "Globals.h"
#include "Bullet\include\btBulletDynamicsCommon.h"
// =================================================
PhysBody3D::PhysBody3D(btRigidBody* body, ComponentCollider* col) : body(body)
{
collider = col;
body->setUserPointer(this);
}
PhysBody3D::PhysBody3D(btRigidBody* bod... | 22.231638 | 78 | 0.561372 | CITMProject3 |
00a788356014c40a4cf86c082ef042798fc7ea47 | 3,314 | cpp | C++ | apps/MCManager/src/MCClientID.cpp | FleX-d/RSM | fa6eb54bd0377ddb63fe023a3b73bc893938f1fa | [
"BSD-3-Clause"
] | null | null | null | apps/MCManager/src/MCClientID.cpp | FleX-d/RSM | fa6eb54bd0377ddb63fe023a3b73bc893938f1fa | [
"BSD-3-Clause"
] | 1 | 2018-05-25T11:05:02.000Z | 2018-05-25T11:05:02.000Z | apps/MCManager/src/MCClientID.cpp | FleX-d/RSM | fa6eb54bd0377ddb63fe023a3b73bc893938f1fa | [
"BSD-3-Clause"
] | 2 | 2018-05-25T11:02:10.000Z | 2018-06-19T09:44:28.000Z | /*
Copyright (c) 2017, Globallogic s.r.o.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | 34.884211 | 91 | 0.605914 | FleX-d |
00a8e8bfac26c1b692e05ae33bed080a8548d2c2 | 7,911 | cpp | C++ | OneCodeTeam/How to pick and manipulate a 3D object using DirectX in universal Windows apps/[C++]-How to pick and manipulate a 3D object using DirectX in universal Windows apps/C++/CppWindowsStoreGameAppManipulate3DObjects/DirectXPage.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 2 | 2022-01-21T01:40:58.000Z | 2022-01-21T01:41:10.000Z | OneCodeTeam/How to pick and manipulate a 3D object using DirectX in universal Windows apps/[C++]-How to pick and manipulate a 3D object using DirectX in universal Windows apps/C++/CppWindowsStoreGameAppManipulate3DObjects/DirectXPage.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 1 | 2022-03-15T04:21:41.000Z | 2022-03-15T04:21:41.000Z | OneCodeTeam/How to pick and manipulate a 3D object using DirectX in universal Windows apps/[C++]-How to pick and manipulate a 3D object using DirectX in universal Windows apps/C++/CppWindowsStoreGameAppManipulate3DObjects/DirectXPage.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | null | null | null | /****************************** Module Header ******************************\
* Module Name: DirectXPage.xaml.cpp
* Project: CppWindowsStoreAppManipulate3DObjects
* Copyright (c) Microsoft Corporation.
*
* This sample shows how to pick and manipulate 3D object in Windows Store DirectX game app.
*
* This source i... | 33.66383 | 143 | 0.766148 | zzgchina888 |
00a91f84c3c4a030231dfe34ccd9920cc2f4fa2e | 1,456 | cpp | C++ | Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_DebugIntf.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_DebugIntf.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_DebugIntf.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDMacroEng_DebugIntf.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 02/17/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://ope... | 26 | 78 | 0.394231 | MarkStega |
00aff3b2a52f5102202db557b8d4647f818c7bc0 | 137 | cpp | C++ | src/polkawin.cpp | touhonoob/polkadot_api_cpp | 65f0bddf3e9d64b773cfb8632d8b2d995bb143d8 | [
"Apache-2.0"
] | null | null | null | src/polkawin.cpp | touhonoob/polkadot_api_cpp | 65f0bddf3e9d64b773cfb8632d8b2d995bb143d8 | [
"Apache-2.0"
] | null | null | null | src/polkawin.cpp | touhonoob/polkadot_api_cpp | 65f0bddf3e9d64b773cfb8632d8b2d995bb143d8 | [
"Apache-2.0"
] | null | null | null | #ifdef _WIN32
#include "polkadot.h"
void usleep(__int64 usec) {
std::this_thread::sleep_for(std::chrono::microseconds(usec));
}
#endif | 17.125 | 62 | 0.737226 | touhonoob |
00b02e610e8d9f42f84aadd1e42fd10505eb4908 | 778 | cpp | C++ | mathProb.cpp | ckronber/CPlusPlusCode | 889e9301031217b37641d94e7ea52200e06e5862 | [
"Unlicense"
] | null | null | null | mathProb.cpp | ckronber/CPlusPlusCode | 889e9301031217b37641d94e7ea52200e06e5862 | [
"Unlicense"
] | null | null | null | mathProb.cpp | ckronber/CPlusPlusCode | 889e9301031217b37641d94e7ea52200e06e5862 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <cmath>
#include <ctime>
#define TIMES 10000000
using namespace std;
int sequence(int n,int* arr)
{
int sum = 0;
if(n == 1)
{
arr[0] = 0;
return arr[0];
}
else if(n == 2)
{
arr[1] = 1;
return arr[1];
}
else
{
sum = (arr[0]+arr[1])%3;
arr[0] = ar... | 14.961538 | 83 | 0.498715 | ckronber |
00b6f44979e07ad5cd603aad9d505830300c0ea9 | 9,289 | cpp | C++ | Source/processcontainers/implementations/RunCImplementation/RunCImplementation.cpp | zrash/Thunder | 12d0021dc4aa49c9e3656178ef6485e2b1c8fecf | [
"Apache-2.0"
] | 1 | 2020-10-29T18:10:27.000Z | 2020-10-29T18:10:27.000Z | Source/processcontainers/implementations/RunCImplementation/RunCImplementation.cpp | zrash/Thunder | 12d0021dc4aa49c9e3656178ef6485e2b1c8fecf | [
"Apache-2.0"
] | null | null | null | Source/processcontainers/implementations/RunCImplementation/RunCImplementation.cpp | zrash/Thunder | 12d0021dc4aa49c9e3656178ef6485e2b1c8fecf | [
"Apache-2.0"
] | 1 | 2020-08-13T06:26:43.000Z | 2020-08-13T06:26:43.000Z | /*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2020 Metrological
*
* 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 ... | 28.320122 | 153 | 0.57229 | zrash |
00b76c1e6e408c40c33875708a76d6e9d7bd3cac | 1,450 | cc | C++ | P9-DataStructures(tuples)/P85696.cc | srmeeseeks/PRO1-jutge-FIB | 3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1 | [
"MIT"
] | null | null | null | P9-DataStructures(tuples)/P85696.cc | srmeeseeks/PRO1-jutge-FIB | 3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1 | [
"MIT"
] | null | null | null | P9-DataStructures(tuples)/P85696.cc | srmeeseeks/PRO1-jutge-FIB | 3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1 | [
"MIT"
] | null | null | null | //Racionals (1)
#include <iostream>
using namespace std;
struct Racional {
int num, den;
};
Racional racional(int n, int d) {
Racional rac_norm;
if (n == 0) {
rac_norm.den = 1;
rac_norm.num = 0;
return rac_norm;
}
else {
... | 26.363636 | 62 | 0.293103 | srmeeseeks |
00b8bbc546fdb79dbc800dc0ff537544705c478c | 717 | cpp | C++ | tests/test_adios2.cpp | hguo/FTT | f1d5387d6353cf2bd165c51fc717eb5d6b2675ef | [
"MIT"
] | 19 | 2018-11-01T02:15:17.000Z | 2022-03-28T16:55:00.000Z | tests/test_adios2.cpp | hguo/FTT | f1d5387d6353cf2bd165c51fc717eb5d6b2675ef | [
"MIT"
] | 12 | 2019-04-14T12:49:41.000Z | 2021-10-20T03:59:21.000Z | tests/test_adios2.cpp | hguo/FTT | f1d5387d6353cf2bd165c51fc717eb5d6b2675ef | [
"MIT"
] | 9 | 2019-02-08T19:40:46.000Z | 2021-06-15T00:31:09.000Z | #include "constants.hh"
#include <ftk/ndarray.hh>
#include <ftk/mesh/simplicial_unstructured_2d_mesh.hh>
using nlohmann::json;
int main(int argc, char **argv)
{
diy::mpi::environment env;
#if FTK_HAVE_ADIOS2
// adios2::ADIOS adios("adios2.xml", MPI_COMM_WORLD);
adios2::ADIOS adios(MPI_COMM_WORLD);
adios2::IO... | 23.9 | 84 | 0.688982 | hguo |
00beb1058089007c94531eceeb5a4f322560b22f | 4,218 | cpp | C++ | Uebung02/Main.cpp | Kaeltis/NAC | 05b12fa4ebe44c41cc873dfa791fd8cbe1ed038f | [
"MIT"
] | null | null | null | Uebung02/Main.cpp | Kaeltis/NAC | 05b12fa4ebe44c41cc873dfa791fd8cbe1ed038f | [
"MIT"
] | null | null | null | Uebung02/Main.cpp | Kaeltis/NAC | 05b12fa4ebe44c41cc873dfa791fd8cbe1ed038f | [
"MIT"
] | null | null | null | #include "Matrix.h"
#include "Vektor.h"
#include "Vektor2D.h"
#include "Gerade2D.h"
#include "Funktion2D.h"
#include <iostream>
#include "NSFunktion2D.h"
using namespace std;
//#define UEBUNG1u2
//#define UEBUNG3
//#define UEBUNG4
//#define UEBUNG5
//#define UEBUNG6
//#define UEBUNG7
//#define UEBUNG8
#define UEBUNG9... | 20.985075 | 73 | 0.511854 | Kaeltis |
00bf4ebd0d5de66d3659cafe89bab97bef778aa3 | 17,390 | cpp | C++ | tools/paint/splinetransferfunction.cpp | stranddw/drishti | 63973422fd0272e55f755aa51378ee1da0f4ef8a | [
"MIT"
] | 118 | 2016-11-01T06:01:44.000Z | 2022-03-30T05:20:19.000Z | tools/paint/splinetransferfunction.cpp | stranddw/drishti | 63973422fd0272e55f755aa51378ee1da0f4ef8a | [
"MIT"
] | 56 | 2016-09-30T09:29:36.000Z | 2022-03-31T17:15:32.000Z | tools/paint/splinetransferfunction.cpp | stranddw/drishti | 63973422fd0272e55f755aa51378ee1da0f4ef8a | [
"MIT"
] | 28 | 2016-07-31T23:48:51.000Z | 2021-05-25T05:32:47.000Z | #include <math.h>
#include "splinetransferfunction.h"
#include "staticfunctions.h"
#include "global.h"
QImage SplineTransferFunction::colorMapImage() { return m_colorMapImage; }
int SplineTransferFunction::size() { return m_points.size(); }
QGradientStops SplineTransferFunction::gradientStops() { return m_gradientSt... | 22.911726 | 84 | 0.621392 | stranddw |
00c7dbd1e57280223ee6562dfb67b3bc4a788034 | 536 | hpp | C++ | src/LibCraft/coreEngine/include/Map.hpp | Kenny38GH/Test | 24c0277de8f98a3b0b3b8a90a300a321a485684c | [
"MIT"
] | null | null | null | src/LibCraft/coreEngine/include/Map.hpp | Kenny38GH/Test | 24c0277de8f98a3b0b3b8a90a300a321a485684c | [
"MIT"
] | null | null | null | src/LibCraft/coreEngine/include/Map.hpp | Kenny38GH/Test | 24c0277de8f98a3b0b3b8a90a300a321a485684c | [
"MIT"
] | null | null | null | //
// Created by leodlplq on 22/11/2021.
//
#pragma once
#include "LibCraft/renderEngine/include/Cube.hpp"
#include "LibCraft/tools/include/filePath.hpp"
#include "LibCraft/tools/include/getFIleContent.hpp"
#include <vector>
#include <fstream>
#include <iostream>
class Map {
private:
std::vector<Cube> _map;
publ... | 20.615385 | 64 | 0.705224 | Kenny38GH |
00ccd2bfcbee92d1b2a2593415c45b99f13ad9dc | 6,712 | cpp | C++ | Userland/Applications/SoundPlayer/main.cpp | andrigamerita/serenity | cf44bbdd0d5f1aaa58fd8c8f40de57addc65e858 | [
"BSD-2-Clause"
] | 1 | 2021-06-11T03:11:11.000Z | 2021-06-11T03:11:11.000Z | Userland/Applications/SoundPlayer/main.cpp | andrigamerita/serenity | cf44bbdd0d5f1aaa58fd8c8f40de57addc65e858 | [
"BSD-2-Clause"
] | null | null | null | Userland/Applications/SoundPlayer/main.cpp | andrigamerita/serenity | cf44bbdd0d5f1aaa58fd8c8f40de57addc65e858 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright noti... | 36.281081 | 131 | 0.684148 | andrigamerita |
00cce04dd60404fee9e05e8f3f6a04dae9e294fd | 12,398 | cpp | C++ | NextEngine/src/physics/btWrapper.cpp | CompilerLuke/NextEngine | aa1a8e9d9370bce004dba00854701597cab74989 | [
"MIT"
] | 1 | 2021-09-10T18:19:16.000Z | 2021-09-10T18:19:16.000Z | NextEngine/src/physics/btWrapper.cpp | CompilerLuke/NextEngine | aa1a8e9d9370bce004dba00854701597cab74989 | [
"MIT"
] | null | null | null | NextEngine/src/physics/btWrapper.cpp | CompilerLuke/NextEngine | aa1a8e9d9370bce004dba00854701597cab74989 | [
"MIT"
] | 2 | 2020-04-02T06:46:56.000Z | 2021-06-17T16:47:57.000Z | /*
#include "stdafx.h"
#include "physics/btWrapper.h"
#include <iostream>
#include <btBulletDynamicsCommon.h>
#include <LinearMath/btVector3.h>
#include <LinearMath/btAlignedObjectArray.h>
#include <BulletCollision\CollisionShapes/btHeightfieldTerrainShape.h>
struct BulletWrapper {
btDefaultCollisionConfiguration* co... | 31.547074 | 141 | 0.767543 | CompilerLuke |
00ce2dcdf5287aaee131abca098a547dfa007202 | 1,688 | cpp | C++ | engine/decision_strategies/deity/source/UncurseDeityDecisionStrategyHandler.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 1 | 2020-05-24T22:44:03.000Z | 2020-05-24T22:44:03.000Z | engine/decision_strategies/deity/source/UncurseDeityDecisionStrategyHandler.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | null | null | null | engine/decision_strategies/deity/source/UncurseDeityDecisionStrategyHandler.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | null | null | null | #include "DeityTextKeys.hpp"
#include "CombatManager.hpp"
#include "Game.hpp"
#include "MapUtils.hpp"
#include "UncurseDeityDecisionStrategyHandler.hpp"
using namespace std;
UncurseDeityDecisionStrategyHandler::UncurseDeityDecisionStrategyHandler(const string& new_deity_id)
: DeityDecisionStrategyHandler(new_deity_id... | 25.19403 | 114 | 0.73282 | sidav |
00d06feb1c54bb9add303a4847d017b1f1a2ffbe | 519 | cpp | C++ | source/VK_Buffer.cpp | ccsdu2004/vulkan-cpp-demo | 72eb10974e40173aad67f307714f7ce919c8217a | [
"Zlib"
] | 6 | 2021-12-04T17:21:29.000Z | 2022-03-03T03:00:26.000Z | source/VK_Buffer.cpp | ccsdu2004/vulkan-cpp-demo | 72eb10974e40173aad67f307714f7ce919c8217a | [
"Zlib"
] | null | null | null | source/VK_Buffer.cpp | ccsdu2004/vulkan-cpp-demo | 72eb10974e40173aad67f307714f7ce919c8217a | [
"Zlib"
] | 1 | 2021-12-05T04:18:51.000Z | 2021-12-05T04:18:51.000Z | #include "VK_Buffer.h"
#include "VK_Context.h"
#include <iostream>
VK_Buffer::VK_Buffer(VK_Context* vkContext):
context(vkContext)
{
}
VK_Buffer::~VK_Buffer()
{
}
VK_Context *VK_Buffer::getContext() const
{
return context;
}
void VK_Buffer::release()
{
if(buffer)
vkDestroyBuffer(context->getDevi... | 17.896552 | 83 | 0.693642 | ccsdu2004 |
00d1b99b73c8913c633b890ccdad471280e1802e | 401 | hxx | C++ | ltnvm/memory/Float.hxx | JeneLitsch/litan | 4eb37378c41226d1299aa695da85056fd548730e | [
"MIT"
] | 14 | 2021-07-27T17:26:20.000Z | 2022-02-23T23:29:55.000Z | ltnvm/memory/Float.hxx | JeneLitsch/litan | 4eb37378c41226d1299aa695da85056fd548730e | [
"MIT"
] | 35 | 2021-11-24T23:36:49.000Z | 2022-03-23T15:45:41.000Z | ltnvm/memory/Float.hxx | JeneLitsch/litan | 4eb37378c41226d1299aa695da85056fd548730e | [
"MIT"
] | 3 | 2022-01-24T07:20:42.000Z | 2022-01-25T00:48:56.000Z | #pragma once
#include <limits>
#include <cstdint>
#include "ltn/Bitcast.hxx"
// 64-bit ieee only
static_assert(std::numeric_limits<double>::is_iec559);
static_assert(sizeof(double) == sizeof(std::uint64_t));
namespace ltn::vm {
inline std::uint64_t toUint(double value) {
return bitcast<std::uint64_t>(value);
}
i... | 23.588235 | 55 | 0.730673 | JeneLitsch |
00d6a3728f9cd4d7dbeac818c5b14b9b1d9ba9cb | 2,055 | hpp | C++ | libs/cegui/include/sge/cegui/load_context.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/cegui/include/sge/cegui/load_context.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/cegui/include/sge/cegui/load_context.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_CEGUI_LOAD_CONTEXT_HPP_INCLUDED
#define SGE_CEGUI_LOAD_CONTEXT_HPP_INCLUDED
#include <... | 30.220588 | 92 | 0.76691 | cpreh |
00de39970badb42e22e81d0af757d06ae6aeaac1 | 12,668 | cc | C++ | university/usc_csci_551_communications/project3/ciniparser.cc | sanjnair/projects | 9d7fce9a9d219b7e63a06bb57d16f23e20eb4dc3 | [
"MIT"
] | null | null | null | university/usc_csci_551_communications/project3/ciniparser.cc | sanjnair/projects | 9d7fce9a9d219b7e63a06bb57d16f23e20eb4dc3 | [
"MIT"
] | 6 | 2017-09-11T03:36:02.000Z | 2017-09-19T06:56:05.000Z | university/usc_csci_551_communications/project3/ciniparser.cc | sanjnair/projects | 9d7fce9a9d219b7e63a06bb57d16f23e20eb4dc3 | [
"MIT"
] | null | null | null | /***************************************************************************
** Sun Aug 27 2006
** (C) 2006 by Sanjay Nair
** sanjaysn <at> usc <dot> edu
****************************************************************************/
#include "ciniparser.h"
#include "cfile.h"
#include "cifstream.h"
#include "ce... | 23.074681 | 85 | 0.63688 | sanjnair |
00de576917ce2d647b8f254ace080eb8e332f6dc | 4,326 | cpp | C++ | multiview/multiview_cpp/src/testcases/movie/movie-output-stuff_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/testcases/movie/movie-output-stuff_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/testcases/movie/movie-output-stuff_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#include <algorithm>
#include <iterator>
#define CATCH_CONFIG_PREFIX_ALL
#include "perceive/contrib/catch.hpp"
#include "perceive/movie/debug-movie.hpp"
#include "perceive/movie/movie-layout.hpp"
#include "perceive/utils/file-system.hpp"
static const bool feedback = false;
namespace perceive
{
using namespace movi... | 32.772727 | 67 | 0.295654 | prcvlabs |
00def896c95587de24395c64fc7d8b2db84b0870 | 3,128 | cpp | C++ | CardReaderLibrary/TransformHelper.cpp | klanderfri/CardReaderLibrary | 71fc4b7fc6052a9ec3fb477fccd9b3fcfa0b9c60 | [
"MIT"
] | 4 | 2019-03-18T14:06:59.000Z | 2021-07-17T18:36:12.000Z | CardReaderLibrary/TransformHelper.cpp | klanderfri/ReadMagicCard | 71fc4b7fc6052a9ec3fb477fccd9b3fcfa0b9c60 | [
"MIT"
] | 17 | 2018-04-12T18:03:16.000Z | 2018-05-09T18:33:07.000Z | CardReaderLibrary/TransformHelper.cpp | klanderfri/ReadMagicCard | 71fc4b7fc6052a9ec3fb477fccd9b3fcfa0b9c60 | [
"MIT"
] | 1 | 2019-03-25T18:31:17.000Z | 2019-03-25T18:31:17.000Z | #include "stdafx.h"
#include "TransformHelper.h"
#include "AlgorithmHelper.h"
#include <opencv2\opencv.hpp>
using namespace cv;
using namespace std;
TransformHelper::TransformHelper()
{
}
TransformHelper::~TransformHelper()
{
}
Mat TransformHelper::TransformToRectangle(const Mat rawImage, vector<Point2d> fourCorner... | 28.962963 | 150 | 0.761189 | klanderfri |