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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9021a17fb1ed777d05770d0c6a095f5ccdf1a48 | 78 | cpp | C++ | repo/HOPE2/Resource.cpp | A12134/OpenGL-Engine-Hope2 | f24f57e0b0e2606db7d8d2df42e4d79cef1554fa | [
"Apache-2.0"
] | null | null | null | repo/HOPE2/Resource.cpp | A12134/OpenGL-Engine-Hope2 | f24f57e0b0e2606db7d8d2df42e4d79cef1554fa | [
"Apache-2.0"
] | null | null | null | repo/HOPE2/Resource.cpp | A12134/OpenGL-Engine-Hope2 | f24f57e0b0e2606db7d8d2df42e4d79cef1554fa | [
"Apache-2.0"
] | null | null | null | #include "Resource.h"
Resource::Resource()
{
}
Resource::~Resource()
{
}
| 6 | 21 | 0.615385 | A12134 |
d90345c0645c0796b5f62f46758c8928a58e6a60 | 43,421 | cc | C++ | src/key.cc | xdissent/node-sdl | 830ab42cbd9d39c70989a86182cb60351d7ef804 | [
"MIT"
] | 90 | 2015-01-12T20:40:49.000Z | 2022-02-12T02:00:42.000Z | src/key.cc | deadbeef84/node-sdl | 830ab42cbd9d39c70989a86182cb60351d7ef804 | [
"MIT"
] | 7 | 2015-11-29T03:17:17.000Z | 2021-03-01T19:14:32.000Z | src/key.cc | deadbeef84/node-sdl | 830ab42cbd9d39c70989a86182cb60351d7ef804 | [
"MIT"
] | 19 | 2015-03-17T13:30:49.000Z | 2021-09-06T05:22:23.000Z | #include "key.h"
#include "window.h"
#include "struct_wrappers.h"
#include "container.h"
using namespace v8;
using namespace node;
void sdl::key::Init(Handle<Object> exports) {
HandleScope scope;
Handle<Object> KEY = Object::New();
exports->Set(String::NewSymbol("KEY"), KEY);
// Keys are set in the order that t... | 58.836043 | 103 | 0.739757 | xdissent |
d903ace1180a7ae27c24273c1aba5978693a53d3 | 1,277 | cpp | C++ | src/package/cppwinrt/vsix/ProjectTemplates/VC/Windows Universal/WindowsRuntimeComponent/module.g.cpp | stephenatwork/xlang | 0747c3b362c02a9736b3a4ca1bd3e005b4f52279 | [
"MIT"
] | 1 | 2020-01-20T07:56:28.000Z | 2020-01-20T07:56:28.000Z | vsix/ProjectTemplates/VC/Windows Universal/WindowsRuntimeComponent/module.g.cpp | shinsetsu/cppwinrt | ae0378373d2318d91448b8697a91d5b65a1fb2e5 | [
"MIT"
] | null | null | null | vsix/ProjectTemplates/VC/Windows Universal/WindowsRuntimeComponent/module.g.cpp | shinsetsu/cppwinrt | ae0378373d2318d91448b8697a91d5b65a1fb2e5 | [
"MIT"
] | null | null | null | // WARNING: Please don't edit this file. It was generated by C++/WinRT v1.0.171228.1
#include "pch.h"
#include "module.g.h"
#ifndef WINRT_SUPPRESS_MODULE_EXPORTS
#include "Class.h"
HRESULT __stdcall WINRT_CanUnloadNow()
{
#ifdef _WRL_MODULE_H_
if (!::Microsoft::WRL::Module<::Microsoft::WRL::InProc>::GetModule(... | 23.648148 | 160 | 0.653876 | stephenatwork |
d9048c58452341dae06f4bfb8ba395ce89cdfe90 | 120 | hpp | C++ | NamedPipes/pch.hpp | TDToolbox/btdapi | b8349ef33d5bc2dacc85e96ced86dc37e972e8ee | [
"MIT"
] | null | null | null | NamedPipes/pch.hpp | TDToolbox/btdapi | b8349ef33d5bc2dacc85e96ced86dc37e972e8ee | [
"MIT"
] | 8 | 2020-03-10T23:11:09.000Z | 2020-03-14T01:19:32.000Z | NamedPipes/pch.hpp | TDToolbox/btdapi | b8349ef33d5bc2dacc85e96ced86dc37e972e8ee | [
"MIT"
] | null | null | null | #pragma once
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <functional>
#include <string>
#include <vector> | 17.142857 | 27 | 0.775 | TDToolbox |
d90d5169b2cb98eeb6f4b3a14adf7786ed86d1d1 | 6,928 | cpp | C++ | common/code/CommandBuilder/CommandBuilder.cpp | SoundMetrics/aris-integration-sdk | ccde2130f4067ea0e38db2e286962d9f7bfcc573 | [
"MIT"
] | 6 | 2017-11-29T20:49:21.000Z | 2021-11-03T01:38:52.000Z | common/code/CommandBuilder/CommandBuilder.cpp | SoundMetrics/aris-integration-sdk | ccde2130f4067ea0e38db2e286962d9f7bfcc573 | [
"MIT"
] | 69 | 2017-04-10T23:48:00.000Z | 2020-08-12T12:53:26.000Z | common/code/CommandBuilder/CommandBuilder.cpp | SoundMetrics/aris-integration-sdk | ccde2130f4067ea0e38db2e286962d9f7bfcc573 | [
"MIT"
] | 2 | 2019-05-01T16:45:39.000Z | 2020-10-08T12:56:27.000Z | // Copyright (c) 2013-2017 Sound Metrics Corporation. All Rights Reserved.
#include "CommandBuilder.h"
#include <sstream>
#include <time.h>
namespace Aris {
namespace Network {
using namespace aris;
aris::Command CommandBuilder::SetFrameStreamReceiver(unsigned int port)
{
Command command;
... | 27.0625 | 124 | 0.673499 | SoundMetrics |
d90ed53b8f6489321717bc9e1449e20e82e67b34 | 7,691 | cpp | C++ | src/StringList.cpp | jacobussystems/IoTJackAC1 | c1ad8c13d984362c1bbf1232cbfc34e64fc039ac | [
"MIT"
] | null | null | null | src/StringList.cpp | jacobussystems/IoTJackAC1 | c1ad8c13d984362c1bbf1232cbfc34e64fc039ac | [
"MIT"
] | null | null | null | src/StringList.cpp | jacobussystems/IoTJackAC1 | c1ad8c13d984362c1bbf1232cbfc34e64fc039ac | [
"MIT"
] | null | null | null | /*
StringList.cpp
By Jim Davies
Jacobus Systems, Brighton & Hove, UK
http://www.jacobus.co.uk
Provided under the MIT license: https://github.com/jacobussystems/ArdJack/blob/master/LICENSE
Copyright (c) 2019 James Davies, Jacobus Systems, Brighton & Hove, UK
Permission is hereby granted, free of charge, to any... | 21.725989 | 114 | 0.655571 | jacobussystems |
d91191e25f97576f87711117ae5b8d06e6c3a98a | 3,566 | cpp | C++ | MFMediaPropDump/wmain.cpp | amate/MFVideoReader | e766d018b6a738df200f0f7c36b78833b1dcd924 | [
"MIT"
] | 13 | 2020-02-25T10:07:22.000Z | 2021-12-11T18:49:08.000Z | MFMediaPropDump/wmain.cpp | amate/MFVideoReader | e766d018b6a738df200f0f7c36b78833b1dcd924 | [
"MIT"
] | null | null | null | MFMediaPropDump/wmain.cpp | amate/MFVideoReader | e766d018b6a738df200f0f7c36b78833b1dcd924 | [
"MIT"
] | 3 | 2020-02-25T22:02:00.000Z | 2022-03-01T08:07:07.000Z | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "stdafx.h"
#includ... | 23.615894 | 86 | 0.490746 | amate |
d915096f22e998d8f7367ad1480ebe315779565e | 430 | cpp | C++ | Chapter 03(1)/Chapter 03/pr3-17.cpp | chong0810/C_plusplus_training | 98ee4bb985e87c748eda26346a73fe3a93aadfb8 | [
"MIT"
] | null | null | null | Chapter 03(1)/Chapter 03/pr3-17.cpp | chong0810/C_plusplus_training | 98ee4bb985e87c748eda26346a73fe3a93aadfb8 | [
"MIT"
] | null | null | null | Chapter 03(1)/Chapter 03/pr3-17.cpp | chong0810/C_plusplus_training | 98ee4bb985e87c748eda26346a73fe3a93aadfb8 | [
"MIT"
] | null | null | null | // This program illustrates the how the showpoint, setprecision, and
// fixed manipulators operate both individually and when used together.
#include <iostream>
#include <iomanip> // Header file needed to use stream manipulators
using namespace std;
int main()
{
double x = 6.0;
cout << x << endl;
cout <... | 23.888889 | 73 | 0.662791 | chong0810 |
d916f5cd79c4cccda4f1cda182383e199d441de3 | 419 | hpp | C++ | src/ananke/snappy.hpp | AgileCloudLab/ananke | 955856fd1ee32f5de1772d3234f910a6e4dafb69 | [
"BSD-3-Clause"
] | null | null | null | src/ananke/snappy.hpp | AgileCloudLab/ananke | 955856fd1ee32f5de1772d3234f910a6e4dafb69 | [
"BSD-3-Clause"
] | null | null | null | src/ananke/snappy.hpp | AgileCloudLab/ananke | 955856fd1ee32f5de1772d3234f910a6e4dafb69 | [
"BSD-3-Clause"
] | null | null | null | #ifndef ANANKE_SNAPPY_HPP
#define ANANKE_SNAPPY_HPP
#include <cstddef>
#include <cstdint>
#include <vector>
#include <utility>
namespace ananke
{
class snappy
{
public:
snappy() = default;
std::pair<bool, std::vector<uint8_t>> compress(const std::vector<uint8_t>& data);
std::vector<uint8_t> decomp... | 16.76 | 90 | 0.701671 | AgileCloudLab |
d9185e5351f25a2b3273cfd9e58e55fdaca216e8 | 168 | cpp | C++ | old/AtCoder/abc074/B.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | old/AtCoder/abc074/B.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | old/AtCoder/abc074/B.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #include "vector.hpp"
int main() {
int n(in), k(in);
Vector<int> x(n, in);
for (int &i : x) {
i = min(i, k - i);
}
cout << 2 * x.accumulate() << endl;
}
| 15.272727 | 37 | 0.47619 | not522 |
d9196eeffa78aab5f57a5fe64a733c87b80dd935 | 21,594 | cxx | C++ | osprey/be/lno/cross_parallel.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/lno/cross_parallel.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/lno/cross_parallel.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2009 Advanced Micro Devices, Inc. All Rights Reserved.
*/
/*
* Copyright 2004, 2005, 2006 PathScale, Inc. All Rights Reserved.
*/
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the ... | 36.72449 | 89 | 0.69561 | sharugupta |
d919b07cda5984157a70d1b6ae164661a14c1270 | 64,485 | cpp | C++ | test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Graphs/blue_dots_button_inactive.cpp | hwiwonl/ACES | 9b9a6766a177c531384b863854459a7e016dbdcc | [
"NCSA"
] | null | null | null | test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Graphs/blue_dots_button_inactive.cpp | hwiwonl/ACES | 9b9a6766a177c531384b863854459a7e016dbdcc | [
"NCSA"
] | null | null | null | test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Graphs/blue_dots_button_inactive.cpp | hwiwonl/ACES | 9b9a6766a177c531384b863854459a7e016dbdcc | [
"NCSA"
] | null | null | null | // Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_EXTFLASH_PRAGMA
KEEP extern const unsigned char _blue_dots_button_inactive[] LOCATION_EXTFLASH_ATTRIBUTE = { // 110x58 RGB565 pixels.
0x39,0xc6,0x15,0xa5,0x35,0xa5,0x35,0xa5,0x35,0xa5,0x35,0xa5,0x35,0xa5,0x35,0xa5,0x35,0x... | 140.796943 | 160 | 0.794433 | hwiwonl |
d91aa8252c3645119f09f1109d2c658859bf1cfc | 1,293 | cpp | C++ | Editor/Source/Filesystem/Watchdog.cpp | allogic/Redshift | 4606267b53e3d094ba588acb9ceaa97e3289632b | [
"MIT"
] | null | null | null | Editor/Source/Filesystem/Watchdog.cpp | allogic/Redshift | 4606267b53e3d094ba588acb9ceaa97e3289632b | [
"MIT"
] | null | null | null | Editor/Source/Filesystem/Watchdog.cpp | allogic/Redshift | 4606267b53e3d094ba588acb9ceaa97e3289632b | [
"MIT"
] | null | null | null | #include <Filesystem/Watchdog.h>
Watchdog::Watchdog(std::filesystem::path const& filePath, std::string const& fileExtension)
: mFolder{ filePath }
, mExtension{ fileExtension }
{
std::filesystem::create_directory(mFolder);
}
void Watchdog::Update()
{
CheckDeletedFiles();
CheckChangedFiles();
CheckInserted... | 25.352941 | 91 | 0.686002 | allogic |
0ba673b23e2104a7a9f8aad04aa1bf4e30a9161e | 1,388 | hpp | C++ | Axis.Echinopsis/application/output/workbooks/TextReportWorkbook.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | Axis.Echinopsis/application/output/workbooks/TextReportWorkbook.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | Axis.Echinopsis/application/output/workbooks/TextReportWorkbook.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | #pragma once
#include "application/output/workbooks/ResultWorkbook.hpp"
#include "application/output/recordsets/TextReportRecordset.hpp"
namespace axis { namespace application { namespace output { namespace workbooks {
/**
* A workbook capable to write data in a plain-text report file.
*
* @sa ResultWorkbook
*/
c... | 29.531915 | 95 | 0.768732 | renato-yuzup |
0bb497384eeaac14071cec7e60f89b1de51745e4 | 3,440 | hpp | C++ | extlibs/dynamicLinker/include/dynamicLinker/dynamicLinker.hpp | lukefelsberg/ObEngine | a0385df4944adde7c1c8073ead15419286c70019 | [
"MIT"
] | 187 | 2021-05-22T07:56:34.000Z | 2022-03-30T20:23:16.000Z | extlibs/dynamicLinker/include/dynamicLinker/dynamicLinker.hpp | lukefelsberg/ObEngine | a0385df4944adde7c1c8073ead15419286c70019 | [
"MIT"
] | 48 | 2021-05-25T01:46:49.000Z | 2022-03-23T21:32:54.000Z | extlibs/dynamicLinker/include/dynamicLinker/dynamicLinker.hpp | Mizugola/ObEngine | e39437935516113852a08e2d8122075bddb442b9 | [
"MIT"
] | 11 | 2021-05-24T07:01:33.000Z | 2022-03-07T12:08:48.000Z | #pragma once
#include <memory>
#include <iostream>
#include <functional>
#include <stdexcept>
#include <string>
extern "C"
{
#if defined(_WIN32) || defined(_WIN64)
#define NOMINNMAX
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#else
#include <dlfcn.h>
#endif
}
namespace dynamicLinker {
class dynamicLinkerExce... | 25.864662 | 113 | 0.606395 | lukefelsberg |
0bbdb0d81b2766bee65549750e9798f1e2b68b39 | 1,667 | cpp | C++ | Vault/Source/Vault/Private/ContentBrowserMenuExtension.cpp | nsynkde/Vault-Dev | e5809c94994b606899cd5a7bacb88e2bcb484f67 | [
"MIT"
] | null | null | null | Vault/Source/Vault/Private/ContentBrowserMenuExtension.cpp | nsynkde/Vault-Dev | e5809c94994b606899cd5a7bacb88e2bcb484f67 | [
"MIT"
] | null | null | null | Vault/Source/Vault/Private/ContentBrowserMenuExtension.cpp | nsynkde/Vault-Dev | e5809c94994b606899cd5a7bacb88e2bcb484f67 | [
"MIT"
] | null | null | null | // Copyright NSYNK 2022
#include "ContentBrowserMenuExtension.h"
#include "ContentBrowserModule.h"
#include "Vault.h"
FContentBrowserMenuExtension::FContentBrowserMenuExtension()
{
}
FContentBrowserMenuExtension::FContentBrowserMenuExtension(const TArray<FAssetData>& inSelectedAssets)
{
this->SelectedAssets = inS... | 27.327869 | 106 | 0.769646 | nsynkde |
0bbfdd5e7346047df63303a4f6991ad3a5b693bf | 4,477 | cpp | C++ | oadrtest/oadrtest/tests/helper/ISO8601DurationTest.cpp | beroset/OpenADR-VEN-Library | 16546464fe1dc714a126474aaadf75483ec9cbc6 | [
"Apache-2.0"
] | 12 | 2016-09-21T19:07:13.000Z | 2021-12-13T06:17:36.000Z | oadrtest/oadrtest/tests/helper/ISO8601DurationTest.cpp | beroset/OpenADR-VEN-Library | 16546464fe1dc714a126474aaadf75483ec9cbc6 | [
"Apache-2.0"
] | 3 | 2020-11-09T08:25:40.000Z | 2021-04-12T10:49:39.000Z | oadrtest/oadrtest/tests/helper/ISO8601DurationTest.cpp | beroset/OpenADR-VEN-Library | 16546464fe1dc714a126474aaadf75483ec9cbc6 | [
"Apache-2.0"
] | 12 | 2018-06-10T10:52:56.000Z | 2020-12-08T15:47:13.000Z | //*********************************************************************************************************************
// ISO8601DurationTest.cpp
//
// Copyright (c) 2013 ELECTRIC POWER RESEARCH INSTITUTE, INC. All rights reserved.
//
// OpenADR ("this software") is licensed under BSD 3-Clause license.
//
// Redistrib... | 32.208633 | 122 | 0.673442 | beroset |
0bc022a201bdd75985108587c03e3de1b5e43da3 | 13,944 | tpp | C++ | include/compress.tpp | kmorel/MGARD | a7c44d57fda76a5c3e6fa38702ca8c8c12150b83 | [
"Apache-2.0"
] | null | null | null | include/compress.tpp | kmorel/MGARD | a7c44d57fda76a5c3e6fa38702ca8c8c12150b83 | [
"Apache-2.0"
] | null | null | null | include/compress.tpp | kmorel/MGARD | a7c44d57fda76a5c3e6fa38702ca8c8c12150b83 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017, Brown University, Providence, RI.
// MGARD: MultiGrid Adaptive Reduction of Data
// Authors: Mark Ainsworth, Ozan Tugluk, Ben Whitney
// Corresponding Author: Ben Whitney, Qing Liu
//
// See LICENSE for details.
#ifndef COMPRESS_TPP
#define COMPRESS_TPP
#include <cstddef>
#include <algorithm>
#incl... | 31.194631 | 112 | 0.644076 | kmorel |
0bc1065fa270078e12bbdde3f98760209d9d58ba | 1,446 | cpp | C++ | src/RosDisplay.cpp | AllMySlam1/Kimera-VIO-ROS | d41428701cea247a2f95674ac5515eed35dadbd9 | [
"BSD-2-Clause"
] | null | null | null | src/RosDisplay.cpp | AllMySlam1/Kimera-VIO-ROS | d41428701cea247a2f95674ac5515eed35dadbd9 | [
"BSD-2-Clause"
] | null | null | null | src/RosDisplay.cpp | AllMySlam1/Kimera-VIO-ROS | d41428701cea247a2f95674ac5515eed35dadbd9 | [
"BSD-2-Clause"
] | null | null | null | /**
* @file RosDisplay.cpp
* @brief Publishes 2D data sent in the display_queue in Kimera. This publishes
* images at any rate (frame rate, keyframe rate,...).
* @author Antoni Rosinol
*/
#include "kimera_vio_ros/RosDisplay.h"
#include <string>
#include <glog/logging.h>
#include <cv_bridge/cv_bridge.h>
#incl... | 26.777778 | 80 | 0.69917 | AllMySlam1 |
0bc5b3ed7ff42a0eae9f952a397c0786b60f2cc7 | 8,315 | cpp | C++ | OOInteraction/src/string_offset_providers/GridConstructors.cpp | patrick-luethi/Envision | b93e6f9bbb2a534b5534a5e48ed40a2c43baba8a | [
"BSD-3-Clause"
] | null | null | null | OOInteraction/src/string_offset_providers/GridConstructors.cpp | patrick-luethi/Envision | b93e6f9bbb2a534b5534a5e48ed40a2c43baba8a | [
"BSD-3-Clause"
] | null | null | null | OOInteraction/src/string_offset_providers/GridConstructors.cpp | patrick-luethi/Envision | b93e6f9bbb2a534b5534a5e48ed40a2c43baba8a | [
"BSD-3-Clause"
] | null | null | null | /***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** follo... | 41.368159 | 120 | 0.684787 | patrick-luethi |
0bc667aaa7dd77443e2d2c3e71e39dfccc6f45be | 700 | cpp | C++ | bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandPopInArr.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 3 | 2019-04-08T17:34:19.000Z | 2020-01-03T04:47:06.000Z | bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandPopInArr.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 4 | 2020-04-19T22:09:06.000Z | 2020-11-06T15:47:08.000Z | bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandPopInArr.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | null | null | null | #include "Config/LoggerConfigLang.h"
#include "InterpreterCommandPopInArr.h"
using InterpreterCommand = ska::bytecode::InterpreterCommand<ska::bytecode::Command::POP_IN_ARR>;
SKA_LOGC_CONFIG(ska::LogLevel::Disabled, InterpreterCommand);
#define LOG_DEBUG SLOG_STATIC(ska::LogLevel::Debug, InterpreterCommand)
SKALANG_... | 43.75 | 128 | 0.775714 | Scorbutics |
0bc70ab765c4cfad2fbf610dd8ad6500eb7f87bc | 11,712 | cpp | C++ | tests/homeworks.cpp | pdm-pcb/pdmath | 6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab | [
"MIT"
] | null | null | null | tests/homeworks.cpp | pdm-pcb/pdmath | 6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab | [
"MIT"
] | null | null | null | tests/homeworks.cpp | pdm-pcb/pdmath | 6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab | [
"MIT"
] | null | null | null | #include "pdmath/Point3.hpp"
#include "pdmath/Vector3.hpp"
#include "pdmath/Matrix3.hpp"
#include "pdmath/Point4.hpp"
#include "pdmath/Vector4.hpp"
#include "pdmath/Matrix4.hpp"
#include "catch2/catch_test_macros.hpp"
#include "catch2/catch_approx.hpp"
#include <numbers>
#include <cmath>
using namespace pdm;
using ... | 41.094737 | 82 | 0.593408 | pdm-pcb |
0bcbe473e4cfde589df3bab6e6a1f05160e8e187 | 12,009 | hpp | C++ | source/Base/Shared.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | source/Base/Shared.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | source/Base/Shared.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | #ifndef _BASE_SHARED_HPP_
#define _BASE_SHARED_HPP_
// ------------------------------------------------------------------------------------------------
#include "Base/Utility.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
/* ----------------... | 46.188462 | 112 | 0.562162 | dracc |
0bcd0eb4d673b345f1927fd0ceb1d8b1bd3eb14b | 455 | cpp | C++ | Difficulty 2/tour_de_france.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | Difficulty 2/tour_de_france.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | Difficulty 2/tour_de_france.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <algorithm>
using namespace std;
int main() {
int f, r;
while(cin >> f && f != 0) {
cin >> r;
double front[f], rear[r];
for(int i = 0; i < f; i++) {
cin >> front[i];
}
for(int i = 0; i < r; i++) {
... | 17.5 | 36 | 0.373626 | BrynjarGeir |
0bcd6d15a2a1723b127f0a31f89a2c8da0bc2623 | 411 | cpp | C++ | 101/templates/example_generic.cpp | hariharanragothaman/Learning-STL | 7e5f58083212d04b93159d44e1812069171aa349 | [
"MIT"
] | 2 | 2021-04-21T07:59:45.000Z | 2021-05-13T05:53:00.000Z | 101/templates/example_generic.cpp | hariharanragothaman/Learning-STL | 7e5f58083212d04b93159d44e1812069171aa349 | [
"MIT"
] | null | null | null | 101/templates/example_generic.cpp | hariharanragothaman/Learning-STL | 7e5f58083212d04b93159d44e1812069171aa349 | [
"MIT"
] | 1 | 2021-04-17T15:32:18.000Z | 2021-04-17T15:32:18.000Z | #include <iostream>
using namespace std;
// multiply 2 int's
int multiply( int x, int y)
{
return (x * y);
}
// multiply 2 double's
double multiply( double x, double y)
{
return (x * y);
}
int main()
{
int temp1;
double temp2;
temp1 = multiply(4, 5);
temp2 = multiply(4.5, 5.5);
cout << "... | 16.44 | 51 | 0.574209 | hariharanragothaman |
0bd8045f2dbcf54caf11bd55a7c98fc6696f4f23 | 8,958 | cpp | C++ | TestRequirements/src/TestRequirements.cpp | parakhnr/TestHarness | d74c3e4b7f47f73dcc0e2dbfc152c05a7d8a22c7 | [
"MIT"
] | null | null | null | TestRequirements/src/TestRequirements.cpp | parakhnr/TestHarness | d74c3e4b7f47f73dcc0e2dbfc152c05a7d8a22c7 | [
"MIT"
] | null | null | null | TestRequirements/src/TestRequirements.cpp | parakhnr/TestHarness | d74c3e4b7f47f73dcc0e2dbfc152c05a7d8a22c7 | [
"MIT"
] | null | null | null |
/////////////////////////////////////////////////////////////////////////////
// TestRequirements.cpp - Tests for the all the requirements in project 3 //
// ----------------------------------------------------------------------- //
// Language: Visual C++, Visual Studio 2017 ... | 26.581602 | 133 | 0.598683 | parakhnr |
0bda5cc902edad372e49886c8dde23302d52a0c0 | 12,884 | cpp | C++ | ocr/src/v20181119/model/RecognizeContainerOCRResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | ocr/src/v20181119/model/RecognizeContainerOCRResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | ocr/src/v20181119/model/RecognizeContainerOCRResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 31.120773 | 131 | 0.667417 | suluner |
0bddb74aab6b3b2465e47ff7fb2b6aadb8817285 | 48,248 | cc | C++ | src/mavsdk_server/src/generated/shell/shell.pb.cc | rworrall/MAVSDK | 634f171bb5b492e2d5bd6453f54e7e88c603899e | [
"BSD-3-Clause"
] | 275 | 2019-06-13T17:50:40.000Z | 2022-03-28T01:03:01.000Z | src/mavsdk_server/src/generated/shell/shell.pb.cc | rworrall/MAVSDK | 634f171bb5b492e2d5bd6453f54e7e88c603899e | [
"BSD-3-Clause"
] | 655 | 2019-06-07T13:08:12.000Z | 2022-03-23T04:51:21.000Z | src/mavsdk_server/src/generated/shell/shell.pb.cc | rworrall/MAVSDK | 634f171bb5b492e2d5bd6453f54e7e88c603899e | [
"BSD-3-Clause"
] | 299 | 2019-06-10T06:58:58.000Z | 2022-03-25T04:14:34.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: shell/shell.proto
#include "shell/shell.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#incl... | 39.808581 | 178 | 0.748674 | rworrall |
0be10ed0e3999d5124b62f74f2d8f0ffa46ed652 | 1,666 | hpp | C++ | src/Engine/Audio/SoundBuffer.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 3 | 2017-09-08T06:05:10.000Z | 2017-10-28T04:22:20.000Z | src/Engine/Audio/SoundBuffer.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 894 | 2017-08-30T09:57:28.000Z | 2018-01-30T12:35:38.000Z | src/Engine/Audio/SoundBuffer.hpp | Chainsawkitten/LargeGameProjectEngine | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 1 | 2020-11-06T23:59:58.000Z | 2020-11-06T23:59:58.000Z | #pragma once
#include <string>
#include <json/json.h>
#include <cstdint>
#include "../linking.hpp"
#include "SoundStreamer.hpp"
#include "../Manager/SoundManager.hpp"
#include <Utility/Queue.hpp>
namespace Audio {
class SoundFile;
/// Wrapper for sound file.
class SoundBuffer {
public:
... | 26.03125 | 72 | 0.528211 | Chainsawkitten |
0be1331e672f2eb7d9c091ebb092e91022c4db81 | 861 | hh | C++ | src/app/vertex.hh | gugurao/pastel | 62df892d21dbbd1db8c637d0e9f84809f95d1cef | [
"Apache-2.0"
] | null | null | null | src/app/vertex.hh | gugurao/pastel | 62df892d21dbbd1db8c637d0e9f84809f95d1cef | [
"Apache-2.0"
] | null | null | null | src/app/vertex.hh | gugurao/pastel | 62df892d21dbbd1db8c637d0e9f84809f95d1cef | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "../math/vector.hh"
#include "color.hh"
class Vertex
{
public:
Vector position;
Vector normal;
float u;
float v;
Color color;
Vertex(const Vector &position, const Vector normal, float u, float v, const Color &color = Color())
{
this->position = ... | 26.090909 | 104 | 0.562137 | gugurao |
0be8f386a755784b4381ce30a09dfb74a5d491ed | 206 | hpp | C++ | src/neural_network/optimizer/NeuralNetworkOptimizerModel.hpp | MatthieuHernandez/StraightforwardNeuralNetwork | e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7 | [
"Apache-2.0"
] | 14 | 2019-08-29T07:20:19.000Z | 2022-03-22T12:51:02.000Z | src/neural_network/optimizer/NeuralNetworkOptimizerModel.hpp | sehe/StraightforwardNeuralNetwork | 9758a808cdb87ffa5f1606fde9d673ef922fe6bc | [
"Apache-2.0"
] | 7 | 2020-08-07T11:08:45.000Z | 2021-05-08T17:11:12.000Z | src/neural_network/optimizer/NeuralNetworkOptimizerModel.hpp | sehe/StraightforwardNeuralNetwork | 9758a808cdb87ffa5f1606fde9d673ef922fe6bc | [
"Apache-2.0"
] | 3 | 2020-08-07T10:53:52.000Z | 2021-02-16T22:13:22.000Z | #pragma once
#include "OptimizerType.hpp"
namespace snn
{
struct NeuralNetworkOptimizerModel
{
neuralNetworkOptimizerType type;
float learningRate;
float momentum;
};
}
| 15.846154 | 40 | 0.669903 | MatthieuHernandez |
0bea39ec5a7ee2de9fefbbf10b9a0a75c4c708ed | 2,781 | cpp | C++ | 3/c3.cpp | gorbunov-dmitry/rucode-spring-2021-d | 6930895b62458f48fda3a9c99f00dd13b1a6b75c | [
"MIT"
] | null | null | null | 3/c3.cpp | gorbunov-dmitry/rucode-spring-2021-d | 6930895b62458f48fda3a9c99f00dd13b1a6b75c | [
"MIT"
] | null | null | null | 3/c3.cpp | gorbunov-dmitry/rucode-spring-2021-d | 6930895b62458f48fda3a9c99f00dd13b1a6b75c | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
long long dot
(
const std::pair<long long, long long>& a,
const std::pair<long long, long long>& b
)
{
return a.first * b.first + a.second * b.second;
}
long double distance
(
const std::pair<long long, long long>& a,
const std::pair<lo... | 22.071429 | 98 | 0.608055 | gorbunov-dmitry |
0bed76e181a39d58ccac4db19cfc02e7a33a5e23 | 5,147 | cpp | C++ | src/representer/ast/expr/tuple_expression.cpp | avalon-lang/avaloni | 28534da0cb9dbb35481e4b5841e5821472da84f0 | [
"MIT"
] | 14 | 2018-08-16T03:03:05.000Z | 2022-02-01T23:27:34.000Z | src/representer/ast/expr/tuple_expression.cpp | avalon-lang/avaloniq | 28534da0cb9dbb35481e4b5841e5821472da84f0 | [
"MIT"
] | 1 | 2020-05-18T09:41:25.000Z | 2021-02-04T23:55:13.000Z | src/representer/ast/expr/tuple_expression.cpp | avalon-lang/avaloniq | 28534da0cb9dbb35481e4b5841e5821472da84f0 | [
"MIT"
] | 2 | 2020-05-10T04:17:10.000Z | 2022-02-01T23:27:47.000Z | /*
* This file is part of the Avalon programming language
*
* Copyright (c) 2018 Ntwali Bashige Toussaint
*
* 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, i... | 35.253425 | 239 | 0.669322 | avalon-lang |
0bed8c5d97bf1a62c6a9c48a9195890f59692444 | 10,405 | cc | C++ | fbstab/components/mpc_data.cc | tcunis/fbstab | 25d5259f683427867f140567d739a55ed7359aca | [
"BSD-3-Clause"
] | 16 | 2019-08-09T18:43:17.000Z | 2022-01-07T12:38:27.000Z | fbstab/components/mpc_data.cc | tcunis/fbstab | 25d5259f683427867f140567d739a55ed7359aca | [
"BSD-3-Clause"
] | 12 | 2019-08-14T17:33:29.000Z | 2021-02-01T12:03:36.000Z | fbstab/components/mpc_data.cc | tcunis/fbstab | 25d5259f683427867f140567d739a55ed7359aca | [
"BSD-3-Clause"
] | 3 | 2019-08-09T19:03:23.000Z | 2020-05-07T23:03:33.000Z | #include "fbstab/components/mpc_data.h"
#include <Eigen/Dense>
#include <cmath>
#include <iostream>
#include <stdexcept>
#include "tools/matrix_sequence.h"
namespace fbstab {
using MatrixXd = Eigen::MatrixXd;
using VectorXd = Eigen::VectorXd;
using Map = Eigen::Map<Eigen::MatrixXd>;
using ConstMap = Eigen::Map<cons... | 28.428962 | 75 | 0.52715 | tcunis |
0bef907fcc997f6c9c2fc504e660e5d20e28d47a | 567 | cpp | C++ | main.cpp | shanimergui/mat-b-c- | cd281a9981267d64724c24cb55d794c372768d8f | [
"MIT"
] | null | null | null | main.cpp | shanimergui/mat-b-c- | cd281a9981267d64724c24cb55d794c372768d8f | [
"MIT"
] | null | null | null | main.cpp | shanimergui/mat-b-c- | cd281a9981267d64724c24cb55d794c372768d8f | [
"MIT"
] | null | null | null | #include <iostream>
#include "mat.hpp"
using namespace std;
int main() {
cout << ariel::mat(3, 3, '@', '-') << endl;
/* Should print:
@@@@@@@@@
@-------@
@-@@@@@-@
@-@---@-@
@-@@@@@-@
@-------@
@@@@@@@@@
*/
cout << ariel::mat(13, 5, '@', '-') << endl;
/* Should print:
@@@@@@@@@@@@@
@-----------@
@-@@@@@@@@@-@
@-... | 17.71875 | 98 | 0.40388 | shanimergui |
0bf1be61e7567142716f5eca1f38b2814eeb29fb | 3,779 | cpp | C++ | src/core/hooks/events.cpp | Metaphysical1/gamesneeze | 59d31ee232bbcc80d29329e0f64ebdde599c37df | [
"MIT"
] | 1,056 | 2020-11-17T11:49:12.000Z | 2022-03-23T12:32:42.000Z | src/core/hooks/events.cpp | dweee/gamesneeze | 99f574db2617263470280125ec78afa813f27099 | [
"MIT"
] | 102 | 2021-01-15T12:05:18.000Z | 2022-02-26T00:19:58.000Z | src/core/hooks/events.cpp | dweee/gamesneeze | 99f574db2617263470280125ec78afa813f27099 | [
"MIT"
] | 121 | 2020-11-18T12:08:21.000Z | 2022-03-31T07:14:32.000Z | #include "../../includes.hpp"
#include "hooks.hpp"
Hooks::Events::EventListener::EventListener() {
Interfaces::eventManager->AddListener(this, "player_hurt", false);
Interfaces::eventManager->AddListener(this, "player_death", false);
Interfaces::eventManager->AddListener(this, "bullet_impact", false);
}
H... | 52.486111 | 206 | 0.629267 | Metaphysical1 |
0bf28d06a68a8927d754419c1bdafd809b695fa0 | 539,616 | cpp | C++ | GodsEyeCollab/GodsEyeMain/App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_43Table.cpp | sarsiz/GodsEye | 68fc0abf6af534af87008ffa4c256f2fb0a28c58 | [
"MIT"
] | null | null | null | GodsEyeCollab/GodsEyeMain/App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_43Table.cpp | sarsiz/GodsEye | 68fc0abf6af534af87008ffa4c256f2fb0a28c58 | [
"MIT"
] | null | null | null | GodsEyeCollab/GodsEyeMain/App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_43Table.cpp | sarsiz/GodsEye | 68fc0abf6af534af87008ffa4c256f2fb0a28c58 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | 56.551666 | 288 | 0.864756 | sarsiz |
0bf4d453f6af24cdf34061988a9818e13e65ca37 | 4,780 | cpp | C++ | test/unittest/jsoncheckertest.cpp | lktrgl/rapidjson | f09bafdd7e5eac006ea1d926a16a5b941ea71d9a | [
"BSD-3-Clause"
] | null | null | null | test/unittest/jsoncheckertest.cpp | lktrgl/rapidjson | f09bafdd7e5eac006ea1d926a16a5b941ea71d9a | [
"BSD-3-Clause"
] | null | null | null | test/unittest/jsoncheckertest.cpp | lktrgl/rapidjson | f09bafdd7e5eac006ea1d926a16a5b941ea71d9a | [
"BSD-3-Clause"
] | null | null | null | // Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obta... | 21.926606 | 115 | 0.607531 | lktrgl |
0bf85c9a8a725b02415a0cebff1d6667331ea0d1 | 9,655 | cpp | C++ | src/PointwiseFunctions/AnalyticData/GrMhd/KhInstability.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 1 | 2022-01-11T00:17:33.000Z | 2022-01-11T00:17:33.000Z | src/PointwiseFunctions/AnalyticData/GrMhd/KhInstability.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | src/PointwiseFunctions/AnalyticData/GrMhd/KhInstability.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "PointwiseFunctions/AnalyticData/GrMhd/KhInstability.hpp"
#include <cmath>
#include <cstddef>
#include <pup.h>
#include "DataStructures/DataVector.hpp"
#include "DataStructures/Tensor/EagerMath/DotProduct.hpp"
#include "DataStructures/Ten... | 40.738397 | 80 | 0.700052 | nilsvu |
0bfb8e150fc2eaeb005a03824ac62ac2d6165c68 | 8,625 | cc | C++ | packager/file/udp_file.cc | MoinPansare/shaka-packager | dc55adda87eb54112d8bda4401c966fb5fc5aa17 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | packager/file/udp_file.cc | MoinPansare/shaka-packager | dc55adda87eb54112d8bda4401c966fb5fc5aa17 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | packager/file/udp_file.cc | MoinPansare/shaka-packager | dc55adda87eb54112d8bda4401c966fb5fc5aa17 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/udp_file.h"
#if defined(OS_WIN)
#include <windows.h>
#include <ws2tcpip.... | 28.094463 | 96 | 0.634203 | MoinPansare |
0bfbcd9573ec1849071523bc671c3786e7900d6b | 5,788 | cpp | C++ | OGDF/src/ogdf/packing/TileToRowsCCPacker.cpp | shahnidhi/MetaCarvel | f3bea5fdbbecec4c9becc6bbdc9585a939eb5481 | [
"MIT"
] | 13 | 2017-12-21T03:35:41.000Z | 2022-01-31T13:45:25.000Z | OGDF/src/ogdf/packing/TileToRowsCCPacker.cpp | shahnidhi/MetaCarvel | f3bea5fdbbecec4c9becc6bbdc9585a939eb5481 | [
"MIT"
] | 7 | 2017-09-13T01:31:24.000Z | 2021-12-14T00:31:50.000Z | OGDF/src/ogdf/packing/TileToRowsCCPacker.cpp | shahnidhi/MetaCarvel | f3bea5fdbbecec4c9becc6bbdc9585a939eb5481 | [
"MIT"
] | 15 | 2017-09-07T18:28:55.000Z | 2022-01-18T14:17:43.000Z | /** \file
* \brief implementation of class TileToRowsCCPacker
*
* \author Carsten Gutwenger
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.txt in the root directory of the OGDF installation for details.
*
* \par
* This program is ... | 25.955157 | 93 | 0.68763 | shahnidhi |
0400b7a7f8b6e2d378f08280f89ebb4d16570582 | 3,821 | cpp | C++ | components/parser/parser.cpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 7 | 2019-06-02T12:04:22.000Z | 2019-10-15T18:01:21.000Z | components/parser/parser.cpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 26 | 2019-10-27T12:58:42.000Z | 2020-05-30T16:43:48.000Z | components/parser/parser.cpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 1 | 2019-05-02T10:23:52.000Z | 2019-05-02T10:23:52.000Z | #include "parser.hpp"
#include "find_condition.hpp"
#include "document/core/dict.hpp"
using ::document::impl::value_t;
using ::document::impl::dict_t;
namespace components::parser {
condition_type get_condition_(const std::string &key) {
if (key == "$eq") return condition_type::eq;
if (key == "$ne... | 43.420455 | 149 | 0.675216 | jinntechio |
04026513ee8109164d359987b3eefbfcd81dd086 | 2,376 | cc | C++ | mdm/parser.cc | psyomn/sprawl | c330e51efdaec3f4e73d3fb8d44fe88533b04f3b | [
"Apache-2.0"
] | null | null | null | mdm/parser.cc | psyomn/sprawl | c330e51efdaec3f4e73d3fb8d44fe88533b04f3b | [
"Apache-2.0"
] | null | null | null | mdm/parser.cc | psyomn/sprawl | c330e51efdaec3f4e73d3fb8d44fe88533b04f3b | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2019-2021 Simon (psyomn) Symeonidis
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 26.10989 | 80 | 0.614057 | psyomn |
0403519384a76566d6399ab700135c6d82d7f548 | 24,806 | cpp | C++ | Phasma/Code/Renderer/Vulkan/ImageVK.cpp | christoskaramou/VulkanMonkey3D | 303bcdea9e1650a5bf0d2f937d90316ab46aabbd | [
"MIT"
] | 30 | 2018-12-21T00:55:17.000Z | 2020-09-17T16:35:04.000Z | Phasma/Code/Renderer/Vulkan/ImageVK.cpp | christoskaramou/PhasmaEngine | 303bcdea9e1650a5bf0d2f937d90316ab46aabbd | [
"MIT"
] | 2 | 2019-06-06T17:09:24.000Z | 2019-07-14T21:41:34.000Z | Phasma/Code/Renderer/Vulkan/ImageVK.cpp | christoskaramou/VulkanMonkey3D | 303bcdea9e1650a5bf0d2f937d90316ab46aabbd | [
"MIT"
] | 6 | 2020-02-26T12:16:48.000Z | 2020-08-26T08:55:35.000Z | /*
Copyright (c) 2018-2021 Christos Karamoustos
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... | 40.269481 | 129 | 0.662259 | christoskaramou |
0409f92ff1911f88fefa0b20280f68822b44cf85 | 31,905 | cpp | C++ | thirdparty/LAStools/src/laszip.cpp | Wkkkkk/protype | 3b0d77d545c177b86b8812be1a6e5392a6f7e367 | [
"BSL-1.0"
] | 9 | 2018-12-26T08:35:46.000Z | 2021-11-08T08:51:10.000Z | thirdparty/LAStools/src/laszip.cpp | Wkkkkk/protype | 3b0d77d545c177b86b8812be1a6e5392a6f7e367 | [
"BSL-1.0"
] | null | null | null | thirdparty/LAStools/src/laszip.cpp | Wkkkkk/protype | 3b0d77d545c177b86b8812be1a6e5392a6f7e367 | [
"BSL-1.0"
] | 7 | 2018-12-27T13:55:47.000Z | 2021-04-23T08:45:04.000Z | /*
===============================================================================
FILE: laszip.cpp
CONTENTS:
This tool compresses and uncompresses LiDAR data in the LAS format to our
losslessly compressed LAZ format.
PROGRAMMERS:
martin.isenburg@rapidlasso.com - http://rapidlasso.com
COPY... | 32.65609 | 476 | 0.593261 | Wkkkkk |
040d556baf6a9b77bf67001e2ffc48d48b6a9eaa | 344 | hpp | C++ | DoremiEngine/Graphic/Include/Interface/State/DepthStencilState.hpp | meraz/doremi | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:05.000Z | 2020-03-23T15:42:05.000Z | DoremiEngine/Graphic/Include/Interface/State/DepthStencilState.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | null | null | null | DoremiEngine/Graphic/Include/Interface/State/DepthStencilState.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:06.000Z | 2020-03-23T15:42:06.000Z | #pragma once
struct ID3D11DepthStencilState;
namespace DoremiEngine
{
namespace Graphic
{
class DepthStencilState
{
public:
virtual void SetDepthStencilState(ID3D11DepthStencilState* p_depthStencilState) = 0;
virtual ID3D11DepthStencilState* GetDepthStencilState()... | 24.571429 | 96 | 0.665698 | meraz |
040e340ab8e89698b38f868c205f7c4aad540094 | 1,335 | cpp | C++ | modcc/astmanip.cpp | phoenixdong/arbor | 84284df75d7509b4d0d3ae07307cc9c674894d1c | [
"BSD-3-Clause"
] | null | null | null | modcc/astmanip.cpp | phoenixdong/arbor | 84284df75d7509b4d0d3ae07307cc9c674894d1c | [
"BSD-3-Clause"
] | null | null | null | modcc/astmanip.cpp | phoenixdong/arbor | 84284df75d7509b4d0d3ae07307cc9c674894d1c | [
"BSD-3-Clause"
] | null | null | null | #include <string>
#include "astmanip.hpp"
#include "expression.hpp"
#include "location.hpp"
#include "scope.hpp"
static std::string unique_local_name(scope_ptr scope, std::string const& prefix) {
for (int i = 0; ; ++i) {
std::string name = prefix + std::to_string(i) + "_";
if (!scope->find(name)) ... | 31.785714 | 119 | 0.686891 | phoenixdong |
040fc9e73a7a5a70f6beccaa7ec8d6b708a80066 | 2,771 | cpp | C++ | projects/biogears/libBiogears/src/pybwrappers/cdm/patient/actions/pybSESubstanceBolus.cpp | vybhavramachandran/mophy | 7271c12b85a324a4f1494e0ce15942dc25bc4931 | [
"Apache-2.0"
] | null | null | null | projects/biogears/libBiogears/src/pybwrappers/cdm/patient/actions/pybSESubstanceBolus.cpp | vybhavramachandran/mophy | 7271c12b85a324a4f1494e0ce15942dc25bc4931 | [
"Apache-2.0"
] | 5 | 2020-12-23T00:19:32.000Z | 2020-12-29T20:53:58.000Z | projects/biogears/libBiogears/src/pybwrappers/cdm/patient/actions/pybSESubstanceBolus.cpp | vybhavramachandran/biogears-vybhav | 7271c12b85a324a4f1494e0ce15942dc25bc4931 | [
"Apache-2.0"
] | null | null | null | // #include <biogears/cdm/utils/Logger.h>
// #include <biogears/cdm/substance/SESubstanceManager.h>
// #include <biogears/cdm/utils/DataTrack.h>
// #include <biogears/cdm/scenario/requests/SEDataRequest.h>
#include <biogears/exports.h>
#include <string>
#include <pybind11/pybind11.h>
#include <biogears/cdm/patient/acti... | 46.966102 | 104 | 0.757488 | vybhavramachandran |
0410f19d081e8fb4a0dd14486e9362c5b4af635d | 7,308 | cpp | C++ | ui/src/virtualconsole/vcxypadpreset.cpp | bgnt44/qlcplus2020 | f0906ca725e0bae5b012a30188658e4f406355e1 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2017-05-11T06:20:08.000Z | 2017-05-11T06:20:08.000Z | ui/src/virtualconsole/vcxypadpreset.cpp | bgnt44/qlcplus2020 | f0906ca725e0bae5b012a30188658e4f406355e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | ui/src/virtualconsole/vcxypadpreset.cpp | bgnt44/qlcplus2020 | f0906ca725e0bae5b012a30188658e4f406355e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
Q Light Controller Plus
vcxypadpreset.cpp
Copyright (c) Massimo Callegari
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.txt
Unl... | 27.167286 | 105 | 0.621784 | bgnt44 |
04151127634b12cc6537022dd2e047265c9d832a | 9,131 | cpp | C++ | HybridRenderer/HybridRenderer/AccelerationStructure.cpp | lbondi7/HybridRenderer | 592ff5c4ea9039bc79a99e20c848f11e2669f885 | [
"MIT"
] | null | null | null | HybridRenderer/HybridRenderer/AccelerationStructure.cpp | lbondi7/HybridRenderer | 592ff5c4ea9039bc79a99e20c848f11e2669f885 | [
"MIT"
] | null | null | null | HybridRenderer/HybridRenderer/AccelerationStructure.cpp | lbondi7/HybridRenderer | 592ff5c4ea9039bc79a99e20c848f11e2669f885 | [
"MIT"
] | null | null | null | #include "AccelerationStructure.h"
#include "Utility.h"
#include "Initilizers.h"
#include "DebugLogger.h"
AccelerationStructure::~AccelerationStructure()
{
}
void AccelerationStructure::Initialise(DeviceContext* _deviceContext)
{
deviceContext = _deviceContext;
vkGetBufferDeviceAddressKHR = reinterpret_cast<PFN_v... | 46.350254 | 208 | 0.851276 | lbondi7 |
0416ba679fb9dc58581df5eef67b63c75ffcd988 | 771 | cpp | C++ | firmware/BSP/BSP_TIM2.cpp | JordanAceto/whooshy_sound | 29056707c27413bac8fc56eed32da390e117dc4f | [
"CC-BY-4.0",
"MIT"
] | null | null | null | firmware/BSP/BSP_TIM2.cpp | JordanAceto/whooshy_sound | 29056707c27413bac8fc56eed32da390e117dc4f | [
"CC-BY-4.0",
"MIT"
] | 6 | 2021-07-13T22:25:55.000Z | 2022-01-16T15:16:09.000Z | firmware/BSP/BSP_TIM2.cpp | JordanAceto/whooshy_sound | 29056707c27413bac8fc56eed32da390e117dc4f | [
"CC-BY-4.0",
"MIT"
] | null | null | null | #include "BSP_RCC.hpp"
#include "BSP_TIM2.hpp"
#include "stm32l031xx.h"
namespace BSP::tim2
{
void init(void)
{
// enable clock control
RCC->APB1ENR |= RCC_APB1ENR_TIM2EN;
// set master mode selection to update TRGO
TIM2->CR2 |= TIM_CR2_MMS_1;
// set the frequency to t... | 22.028571 | 80 | 0.540856 | JordanAceto |
041b6658329c2d1caaa88c681eaf823f59bc5c16 | 976 | cpp | C++ | include/hydro/vm/services/FireService.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/vm/services/FireService.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/vm/services/FireService.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 18.074074 | 97 | 0.517418 | hydraate |
041e96cc9f848eac64bd254f99bbcc4a926949b0 | 453 | cxx | C++ | odb-tests-2.4.0/common/pragma/driver.cxx | edidada/odb | 78ed750a9dde65a627fc33078225410306c2e78b | [
"MIT"
] | null | null | null | odb-tests-2.4.0/common/pragma/driver.cxx | edidada/odb | 78ed750a9dde65a627fc33078225410306c2e78b | [
"MIT"
] | null | null | null | odb-tests-2.4.0/common/pragma/driver.cxx | edidada/odb | 78ed750a9dde65a627fc33078225410306c2e78b | [
"MIT"
] | null | null | null | // file : common/pragma/driver.cxx
// copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
// Test #pragma db parsing.
//
#include <memory>
#include <cassert>
#include <iostream>
#include <odb/exceptions.hxx>
#include <odb/transaction.hxx>
#includ... | 16.777778 | 62 | 0.704194 | edidada |
041fa57ec84f6ca5e191966f1e0605afdc22a79f | 483 | cpp | C++ | src/main/main.cpp | samdup123/Connected_Harness | f2c66da5aba2505a2bb31f3c50d8e76b994bbe65 | [
"MIT"
] | null | null | null | src/main/main.cpp | samdup123/Connected_Harness | f2c66da5aba2505a2bb31f3c50d8e76b994bbe65 | [
"MIT"
] | null | null | null | src/main/main.cpp | samdup123/Connected_Harness | f2c66da5aba2505a2bb31f3c50d8e76b994bbe65 | [
"MIT"
] | null | null | null | #include "Accelerometer_ADXL345.h"
#include "Arduino.h"
#include <Wire.h>
static ty_Accelerometer_ADXL345 adxl;
static ty_i_Accelerometer *accel;
void setup() {
Serial.begin(9600);
init_Accelerometer_ADXL345(&adxl);
accel = &adxl.interface;
}
void loop() {
bool state = CheckHasFallen_Accelerometer(accel);
i... | 15.580645 | 50 | 0.699793 | samdup123 |
04247f362adad84b3f4dbd1f37cdd04a77bc6878 | 2,949 | cpp | C++ | Examples/CPP/WorkingWithResources/RenderResourceUsageView.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2022-03-16T14:31:36.000Z | 2022-03-16T14:31:36.000Z | Examples/CPP/WorkingWithResources/RenderResourceUsageView.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | null | null | null | Examples/CPP/WorkingWithResources/RenderResourceUsageView.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2020-07-01T01:26:17.000Z | 2020-07-01T01:26:17.000Z | /*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference
when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq for more information.
If you do not wish to use NuGet, you can manually download Aspose.Tasks for .NET API from https://www.n... | 39.32 | 164 | 0.766361 | aspose-tasks |
0425e2152b24d2f03470d5f8684449924d42e05f | 1,349 | cpp | C++ | DP/uva/Ingenuous Cubrency.cpp | em3ly/abyssinian | 7ef10fbd96b23c5bfdba207d97cc41b2c9372eff | [
"MIT"
] | null | null | null | DP/uva/Ingenuous Cubrency.cpp | em3ly/abyssinian | 7ef10fbd96b23c5bfdba207d97cc41b2c9372eff | [
"MIT"
] | null | null | null | DP/uva/Ingenuous Cubrency.cpp | em3ly/abyssinian | 7ef10fbd96b23c5bfdba207d97cc41b2c9372eff | [
"MIT"
] | null | null | null | /*
Date 05/12/2019
Brenda E Ramirez.
*/
/*
Statement:
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=114&page=show_problem&problem=2078
*/
#include <bits/stdc++.h>
#include <limits.h>
#include <algorithm>
#include <numeric>
#include <ext/pb_ds/assoc_container.hpp>
us... | 19.838235 | 117 | 0.5404 | em3ly |
54bb4f450bdbc80400dc663c36d005151ed01571 | 2,589 | cpp | C++ | aws-cpp-sdk-sagemaker/source/model/ArtifactSourceIdType.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-sagemaker/source/model/ArtifactSourceIdType.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-sagemaker/source/model/ArtifactSourceIdType.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sagemaker/model/ArtifactSourceIdType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws... | 30.458824 | 92 | 0.618385 | perfectrecall |
54bc54daa60785b19a8caa3e633f2b68dbae804a | 2,266 | hpp | C++ | bftengine/src/bftengine/ControllerBase.hpp | beerriot/concord-bft | e1282c148bcf9eb28534e571cf7f6ff9a53808db | [
"Apache-2.0"
] | null | null | null | bftengine/src/bftengine/ControllerBase.hpp | beerriot/concord-bft | e1282c148bcf9eb28534e571cf7f6ff9a53808db | [
"Apache-2.0"
] | null | null | null | bftengine/src/bftengine/ControllerBase.hpp | beerriot/concord-bft | e1282c148bcf9eb28534e571cf7f6ff9a53808db | [
"Apache-2.0"
] | null | null | null | //Concord
//
//Copyright (c) 2018 VMware, Inc. All Rights Reserved.
//
//This product is licensed to you under the Apache 2.0 license (the "License"). You may not use this product except in compliance with the Apache 2.0 License.
//
//This product may include a number of subcomponents with separate copyright notices ... | 27.975309 | 235 | 0.636364 | beerriot |
54c41afc340a43749de35ea7cace88ebdf20c8dc | 25,137 | cc | C++ | src/vw/Plate/detail/AmqpChannel.cc | tkeemon/visionworkbench | df59fcb31191e1fc4fecfe1901963da1614a52b1 | [
"NASA-1.3"
] | 1 | 2020-06-02T04:06:43.000Z | 2020-06-02T04:06:43.000Z | src/vw/Plate/detail/AmqpChannel.cc | tkeemon/visionworkbench | df59fcb31191e1fc4fecfe1901963da1614a52b1 | [
"NASA-1.3"
] | null | null | null | src/vw/Plate/detail/AmqpChannel.cc | tkeemon/visionworkbench | df59fcb31191e1fc4fecfe1901963da1614a52b1 | [
"NASA-1.3"
] | null | null | null | // __BEGIN_LICENSE__
// Copyright (C) 2006-2010 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
#include <vw/Plate/detail/AmqpChannel.h>
#include <vw/Plate/HTTPUtils.h>
#include <vw/Core/Debugging.h>
#incl... | 33.877358 | 142 | 0.67156 | tkeemon |
54c51bddc443e02603163d1f22ebc270cc1e94d0 | 3,459 | cpp | C++ | src/function/inclined_plane.cpp | alexander-dietsch/HiPPSO | fbb330ba20d1e100074dcfc4c933ebf05e0af2a8 | [
"MIT"
] | 4 | 2017-03-22T11:52:22.000Z | 2021-01-16T04:07:45.000Z | src/function/inclined_plane.cpp | alexander-dietsch/HiPPSO | fbb330ba20d1e100074dcfc4c933ebf05e0af2a8 | [
"MIT"
] | 5 | 2017-03-21T13:02:49.000Z | 2018-12-11T15:44:01.000Z | src/function/inclined_plane.cpp | alexander-dietsch/HiPPSO | fbb330ba20d1e100074dcfc4c933ebf05e0af2a8 | [
"MIT"
] | 2 | 2020-09-11T17:59:10.000Z | 2020-09-11T18:54:03.000Z | /**
* @file function/inclined_plane.cpp
* @author Manuel Schmitt
* @date July, 2014
* @brief This file contains the description of the inclined plane functions.
*
* @copyright
* This project is released under the MIT License (MIT).
*
* @copyright
* The MIT License (MIT)
*
* @copyright
* Copyright (c) 2016 by Fried... | 35.295918 | 117 | 0.775658 | alexander-dietsch |
54c89e09db86359427496ae16970583166b16414 | 8,309 | cpp | C++ | test/image/main.cpp | RockyRocks/glbase | 0b03e5216e5efd3060a5ddd8cf61fb733319af17 | [
"IJG"
] | null | null | null | test/image/main.cpp | RockyRocks/glbase | 0b03e5216e5efd3060a5ddd8cf61fb733319af17 | [
"IJG"
] | null | null | null | test/image/main.cpp | RockyRocks/glbase | 0b03e5216e5efd3060a5ddd8cf61fb733319af17 | [
"IJG"
] | null | null | null | #include "GXBase.h"
using namespace gxbase;
// This program tests some of the image class functionality
// JWW 16/10/03 - added file browser to select image file
// JWW 19/11/03 - added checker background for TGA alpha test
enum TextureIDs {
TEX_CHECK,
TEX_IMAGE,
TEX_COUNT // must appear last, used to count textur... | 24.802985 | 83 | 0.639547 | RockyRocks |
54d034acaf7c9152e61161b14975e8ba61fa2512 | 25,736 | cpp | C++ | gistmainwindow.cpp | cp-profiler/cp-profiler-deprecated- | ec163bde5c3a5bd9cc428b8fa8fd6ef713e0247a | [
"MIT-feh"
] | 1 | 2021-05-06T04:41:37.000Z | 2021-05-06T04:41:37.000Z | gistmainwindow.cpp | cp-profiler/cp-profiler-deprecated- | ec163bde5c3a5bd9cc428b8fa8fd6ef713e0247a | [
"MIT-feh"
] | null | null | null | gistmainwindow.cpp | cp-profiler/cp-profiler-deprecated- | ec163bde5c3a5bd9cc428b8fa8fd6ef713e0247a | [
"MIT-feh"
] | 1 | 2021-05-06T04:41:39.000Z | 2021-05-06T04:41:39.000Z | /* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or... | 32.494949 | 106 | 0.724005 | cp-profiler |
54d2a783657aa833ea2cc67057bd413d82ec3098 | 651 | cpp | C++ | 04_Week_For_Loops/Salary/Salary.cpp | kostadinmarkov99/SoftUni_Exercises_PB_Jan_2022 | 70e619d7c19b6676f509f2509fe102ecbc7669bc | [
"MIT"
] | null | null | null | 04_Week_For_Loops/Salary/Salary.cpp | kostadinmarkov99/SoftUni_Exercises_PB_Jan_2022 | 70e619d7c19b6676f509f2509fe102ecbc7669bc | [
"MIT"
] | null | null | null | 04_Week_For_Loops/Salary/Salary.cpp | kostadinmarkov99/SoftUni_Exercises_PB_Jan_2022 | 70e619d7c19b6676f509f2509fe102ecbc7669bc | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
int main()
{
int tabCount;
int salary;
cin >> tabCount >> salary;
string tabName;
for (int i = 1; i <= tabCount; i++)
{
cin >> tabName;
if (tabName == "Facebook")
{
salary -= 150;
}
... | 15.5 | 57 | 0.419355 | kostadinmarkov99 |
54d2d5a5a8070b2f43c043ed91949811e8157740 | 2,271 | cpp | C++ | test/algorithm/TestStableSortInplace.cpp | zahirtezcan/sticks | 89e645e5347d923ab14a0c4e82739ab6080ead14 | [
"MIT"
] | null | null | null | test/algorithm/TestStableSortInplace.cpp | zahirtezcan/sticks | 89e645e5347d923ab14a0c4e82739ab6080ead14 | [
"MIT"
] | null | null | null | test/algorithm/TestStableSortInplace.cpp | zahirtezcan/sticks | 89e645e5347d923ab14a0c4e82739ab6080ead14 | [
"MIT"
] | null | null | null | #include <stx/algorithm/StableSortInplace.h>
#include <gtest/gtest.h>
#include <vector>
#include <stx/algorithm/Sort.h>
TEST(StableSortInplace, Empty)
{
std::vector<int> v;
stx::StableSortInplace(v.begin(), v.end());
EXPECT_TRUE(stx::IsSorted(v.begin(), v.end()));
}
TEST(StableSortInplace, One)
{
std::vector<int... | 24.956044 | 76 | 0.611185 | zahirtezcan |
54d855017db6b76022e7e71fdd5891a891c3432e | 4,242 | cpp | C++ | Tools/PL3dsMaxSceneExport_2008/src/PLSceneCell.cpp | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 83 | 2015-01-08T15:06:14.000Z | 2021-07-20T17:07:00.000Z | Tools/PL3dsMaxSceneExport_2008/src/PLSceneCell.cpp | PixelLightFoundation/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 27 | 2019-06-18T06:46:07.000Z | 2020-02-02T11:11:28.000Z | Tools/PL3dsMaxSceneExport_2008/src/PLSceneCell.cpp | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 40 | 2015-02-25T18:24:34.000Z | 2021-03-06T09:01:48.000Z | /*********************************************************\
* File: PLSceneCell.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 42.848485 | 290 | 0.578265 | ktotheoz |
54d85ec4821295a8ee188d8503285a371f50f880 | 1,502 | cpp | C++ | src/Engine.cpp | LucasDblt/QBDL | fc873087740f10ac56c023cad8b1c8ca42aa8d28 | [
"Apache-2.0"
] | 52 | 2021-05-21T20:17:13.000Z | 2022-03-26T11:08:44.000Z | src/Engine.cpp | LucasDblt/QBDL | fc873087740f10ac56c023cad8b1c8ca42aa8d28 | [
"Apache-2.0"
] | 2 | 2021-06-06T09:32:09.000Z | 2021-09-03T10:25:19.000Z | src/Engine.cpp | LucasDblt/QBDL | fc873087740f10ac56c023cad8b1c8ca42aa8d28 | [
"Apache-2.0"
] | 7 | 2021-05-22T02:17:20.000Z | 2022-01-25T16:21:07.000Z | #include "intmem.hpp"
#include <QBDL/Engine.hpp>
#include <QBDL/arch.hpp>
namespace QBDL {
namespace {
template <class T> struct Tag { using type = T; };
template <class Func>
static constexpr auto archPtrType(Arch const &arch, Func F) {
// TODO: more precise tests
if (arch.is64) {
return F(Tag<uint64_t>{});... | 25.457627 | 77 | 0.657124 | LucasDblt |
54db9f7f20f9b48d51df153b5c0329a9313cbdbd | 1,113 | cpp | C++ | Plugins/OVRPlatformBP/Source/OVRPlatformBP/Private/OBPAchievementProgressArray.cpp | Brain-Vision/Unreal-SharedSpaces | 262153c5c52c4e15fed5ece901e0e1c8502bb030 | [
"MIT"
] | null | null | null | Plugins/OVRPlatformBP/Source/OVRPlatformBP/Private/OBPAchievementProgressArray.cpp | Brain-Vision/Unreal-SharedSpaces | 262153c5c52c4e15fed5ece901e0e1c8502bb030 | [
"MIT"
] | null | null | null | Plugins/OVRPlatformBP/Source/OVRPlatformBP/Private/OBPAchievementProgressArray.cpp | Brain-Vision/Unreal-SharedSpaces | 262153c5c52c4e15fed5ece901e0e1c8502bb030 | [
"MIT"
] | null | null | null | // OVRPlatformBP plugin by InnerLoop LLC 2021
#include "OBPAchievementProgressArray.h"
// --------------------
// Initializers
// --------------------
UOBPAchievementProgressArray::UOBPAchievementProgressArray(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
// --------------------
// OV... | 29.289474 | 140 | 0.791554 | Brain-Vision |
54df6e14f8ddec4b215e468e7c0ad3acc28d3247 | 8,162 | cpp | C++ | LiDAR documentation/Delta-2A/Delta-2A_Windows_Demo/sdk/app/frame_grabber/MainFrm.cpp | NikodemBartnik/LIDAR-Robot | f2007ae4c54b92676f4a585b8455f8f27d830099 | [
"MIT"
] | 14 | 2022-01-29T22:58:58.000Z | 2022-02-28T11:20:42.000Z | LiDAR documentation/Delta-2A/Delta-2A_Windows_Demo/sdk/app/frame_grabber/MainFrm.cpp | tranthanh1699/LIDAR-Robot | adebea8c794f189e3cb468805ecfb7f4884b462e | [
"MIT"
] | null | null | null | LiDAR documentation/Delta-2A/Delta-2A_Windows_Demo/sdk/app/frame_grabber/MainFrm.cpp | tranthanh1699/LIDAR-Robot | adebea8c794f189e3cb468805ecfb7f4884b462e | [
"MIT"
] | 5 | 2022-02-01T22:48:43.000Z | 2022-03-30T16:11:35.000Z | /*
* RSLIDAR System
* Driver Interface
*
* Copyright 2015 RS Team
* All rights reserved.
*
* Author: ruishi, Data:2015-12-25
*
*/
// MainFrm.cpp : implmentation of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#incl... | 25.911111 | 139 | 0.654374 | NikodemBartnik |
54e58ef21cf9e9a6d5302c5a01687c3baf40a67f | 579 | cpp | C++ | N0101-Symmetric-Tree/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N0101-Symmetric-Tree/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N0101-Symmetric-Tree/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | 2 | 2022-01-25T05:31:31.000Z | 2022-02-26T07:22:23.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:
bool isSymmetric(TreeNode* root) {
return root == nullptr ? true : dfs(root->left, root... | 27.571429 | 74 | 0.547496 | loyio |
54ebd34e71054628c997ca15817d912668d5fb3b | 2,823 | cpp | C++ | src/BLECharacteristic.cpp | bsiever/DuoBLE | 52368a974c2ada95bcc075f97dcd98c6f8a98c62 | [
"MIT"
] | null | null | null | src/BLECharacteristic.cpp | bsiever/DuoBLE | 52368a974c2ada95bcc075f97dcd98c6f8a98c62 | [
"MIT"
] | null | null | null | src/BLECharacteristic.cpp | bsiever/DuoBLE | 52368a974c2ada95bcc075f97dcd98c6f8a98c62 | [
"MIT"
] | null | null | null | /**
* This is a library to simplify Bluetooth Low Energy for the RedBear Duo (and btstack).
*
* Copyright (c) 2017 Bill Siever. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*
*/
#include"BLECharacteristic.h"
#include"dble_assert.h"
#inc... | 31.021978 | 154 | 0.765498 | bsiever |
54ef41ef04feca05e87b02ec6e45bd6ec73307cd | 2,171 | cpp | C++ | examples/with_threads/consumer/consumer.cpp | AmrFaissal/amqp11 | 0914af834050a6b8d21e5f4083ec96ff65b30a4e | [
"MIT"
] | 1 | 2015-11-06T14:46:01.000Z | 2015-11-06T14:46:01.000Z | examples/with_threads/consumer/consumer.cpp | AmrFaissal/amqp11 | 0914af834050a6b8d21e5f4083ec96ff65b30a4e | [
"MIT"
] | null | null | null | examples/with_threads/consumer/consumer.cpp | AmrFaissal/amqp11 | 0914af834050a6b8d21e5f4083ec96ff65b30a4e | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <ctime>
#include <iostream>
#include <sstream>
#include <array>
#include "amqp11.hpp"
#include "SynchronizedQueue.h"
std::array<int, 3> ports {
{5672, 5673, 5674}
};
typedef std::string protocol_t;
SynchronizedQueue<protocol_t> m_q[1];
int onCancel(AMQPMessage * message ) {
st... | 21.71 | 83 | 0.591433 | AmrFaissal |
54f1d4d2d2c5038868d8b43713aac24389d38b9b | 16,215 | cpp | C++ | libs/ledger/tests/chaincode/smart_contract_tests.cpp | fetchai/ledger-archive | 69f4371541d9428780d4ed89fad5197ba7f69b6f | [
"Apache-2.0"
] | 3 | 2019-07-11T08:49:27.000Z | 2021-09-07T16:49:15.000Z | libs/ledger/tests/chaincode/smart_contract_tests.cpp | pbukva/ledger | 0afeb1582da6ddae07155878b6a0c109c7ab2680 | [
"Apache-2.0"
] | null | null | null | libs/ledger/tests/chaincode/smart_contract_tests.cpp | pbukva/ledger | 0afeb1582da6ddae07155878b6a0c109c7ab2680 | [
"Apache-2.0"
] | 2 | 2019-07-13T12:45:22.000Z | 2021-03-12T08:48:57.000Z | //------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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
//
// ... | 29.697802 | 99 | 0.681221 | fetchai |
54f5e410b3837885a37b637dee627e741ecba303 | 22,255 | cpp | C++ | HostSupport/src/ofxhImageEffectAPI.cpp | LWKS-Software/openfx | 8a0fba76a5d0b881387b3015113b98eaeaeb13f1 | [
"BSD-3-Clause"
] | null | null | null | HostSupport/src/ofxhImageEffectAPI.cpp | LWKS-Software/openfx | 8a0fba76a5d0b881387b3015113b98eaeaeb13f1 | [
"BSD-3-Clause"
] | null | null | null | HostSupport/src/ofxhImageEffectAPI.cpp | LWKS-Software/openfx | 8a0fba76a5d0b881387b3015113b98eaeaeb13f1 | [
"BSD-3-Clause"
] | null | null | null | /*
Software License :
Copyright (c) 2007-2009, The Open Effects Association Ltd. 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 not... | 35.779743 | 153 | 0.577623 | LWKS-Software |
54f777e17480815c4911720c5f98f231248f9bc0 | 1,913 | hpp | C++ | include/wheel/timer.hpp | Yinpinghua/Wheel | 9c3ed1b39a3881be26c4ba58e5f10dc7241ec08d | [
"MIT"
] | 7 | 2020-04-29T10:56:49.000Z | 2020-11-23T06:04:11.000Z | include/wheel/timer.hpp | Yinpinghua/Wheel | 9c3ed1b39a3881be26c4ba58e5f10dc7241ec08d | [
"MIT"
] | 1 | 2020-05-29T04:02:24.000Z | 2020-05-29T04:04:49.000Z | include/wheel/timer.hpp | Yinpinghua/Wheel | 9c3ed1b39a3881be26c4ba58e5f10dc7241ec08d | [
"MIT"
] | 2 | 2020-05-18T08:05:31.000Z | 2020-11-23T06:04:16.000Z | #ifndef timer_h__
#define timer_h__
#include <memory>
#include <thread>
#include <atomic>
#include <boost/asio.hpp>
#include <boost/asio/steady_timer.hpp>
#include "traits.hpp"
namespace wheel {
namespace unit {
typedef std::function<void()> Trigger_type;
class timer {
public:
timer(Trigger_type trigger)
... | 20.793478 | 76 | 0.606377 | Yinpinghua |
07021d3e5d618699223494f4dfcc1129fb5111f2 | 2,953 | hpp | C++ | sdk/packages/ros_bridge/components/GoalToRosAction.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | sdk/packages/ros_bridge/components/GoalToRosAction.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | sdk/packages/ros_bridge/components/GoalToRosAction.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2022-01-28T16:37:51.000Z | 2022-01-28T16:37:51.000Z | /*
Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 36.012195 | 96 | 0.768371 | ddr95070 |
070301ce043d46046a9d30ad380b888c777d4aed | 4,878 | cc | C++ | cpp/data/ops/broadcast.cc | propaganda-gold/deeprev | 0c6ccf83131a879ed858acdb0675e75ebf2f2d3d | [
"BSD-3-Clause"
] | null | null | null | cpp/data/ops/broadcast.cc | propaganda-gold/deeprev | 0c6ccf83131a879ed858acdb0675e75ebf2f2d3d | [
"BSD-3-Clause"
] | 2 | 2021-05-11T16:29:38.000Z | 2022-01-22T12:28:49.000Z | cpp/data/ops/broadcast.cc | propaganda-gold/deeprev | 0c6ccf83131a879ed858acdb0675e75ebf2f2d3d | [
"BSD-3-Clause"
] | null | null | null | #include "data/ops/broadcast.h"
#include "data/globals.h"
#include "data/ops/resource.h"
#include "data/ops/time.h"
#include "util/cassandra_logging.h"
#include "util/includes.h"
#include "util/mongo_adapter.h"
#include "util/protos.h"
#include "util/re.h"
#include "util/uuid.h"
namespace vectorbook {
using Broadcas... | 29.563636 | 131 | 0.698852 | propaganda-gold |
070497c11d24db5f204cac208f08b804549674b8 | 3,287 | cpp | C++ | Drain/VariableReplacement/VariableReplacement.cpp | maxrchung/Drain | 291162fe8256e84551cfb094178e22734c8892b6 | [
"MIT"
] | 1 | 2018-06-05T05:30:16.000Z | 2018-06-05T05:30:16.000Z | Drain/VariableReplacement/VariableReplacement.cpp | maxrchung/Drain | 291162fe8256e84551cfb094178e22734c8892b6 | [
"MIT"
] | null | null | null | Drain/VariableReplacement/VariableReplacement.cpp | maxrchung/Drain | 291162fe8256e84551cfb094178e22734c8892b6 | [
"MIT"
] | null | null | null | #include <fstream>
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
// https://stackoverflow.com/questions/3418231/replace-part-of-a-string-with-another-string
void replaceAll(std::string& str, const std::string& from, const std::string& to) {
size_t start_pos = 0;
while ((start_pos = str.f... | 31.912621 | 91 | 0.641923 | maxrchung |
07079a26e462a0789f459fe466bd7bcc3bcfc5b2 | 2,436 | cpp | C++ | src/Backtracking/GenerateAllParenthesis.cpp | satyam289/Data-structure-and-Algorithm | 75a0267958549991a1ca4a19b794faabe5997cb6 | [
"MIT"
] | null | null | null | src/Backtracking/GenerateAllParenthesis.cpp | satyam289/Data-structure-and-Algorithm | 75a0267958549991a1ca4a19b794faabe5997cb6 | [
"MIT"
] | null | null | null | src/Backtracking/GenerateAllParenthesis.cpp | satyam289/Data-structure-and-Algorithm | 75a0267958549991a1ca4a19b794faabe5997cb6 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
// https://www.interviewbit.com/problems/generate-all-parentheses-ii/
class GenerateParenthesis {
void utilsgenparen(vector<string> sol, string sub,int open,int close,int n){
if(sub.size() == 2*n){
sol.push_back(sub);
... | 27.066667 | 116 | 0.486864 | satyam289 |
070b3684462166d4b4dc9aa8118ef0e0db9d8bbf | 4,211 | cpp | C++ | JetByteTools/Win32Tools/ThreadLocalStorage.cpp | LenHolgate/PracticalTesting | 006a30634a3a12f90de1be255cabe4e471fe44b8 | [
"Unlicense"
] | 1 | 2018-04-25T23:07:45.000Z | 2018-04-25T23:07:45.000Z | JetByteTools/Win32Tools/ThreadLocalStorage.cpp | LenHolgate/PracticalTesting | 006a30634a3a12f90de1be255cabe4e471fe44b8 | [
"Unlicense"
] | null | null | null | JetByteTools/Win32Tools/ThreadLocalStorage.cpp | LenHolgate/PracticalTesting | 006a30634a3a12f90de1be255cabe4e471fe44b8 | [
"Unlicense"
] | 2 | 2018-03-09T04:23:53.000Z | 2020-09-05T11:36:49.000Z | ///////////////////////////////////////////////////////////////////////////////
// File: ThreadLocalStorage.cpp
///////////////////////////////////////////////////////////////////////////////
//
// Copyright 2002 JetByte Limited.
//
// This software is provided "as is" without a warranty of any kind. All
// express or ... | 28.073333 | 110 | 0.547613 | LenHolgate |
070b3f96a3b676a161d0f1a67f2c7ab574baca80 | 371 | cpp | C++ | c++/src/Stack.cpp | wtfleming/data-structures-and-algorithms | f3d55b6642ee0219606c65ac6f1f8c5b402bdf70 | [
"MIT"
] | null | null | null | c++/src/Stack.cpp | wtfleming/data-structures-and-algorithms | f3d55b6642ee0219606c65ac6f1f8c5b402bdf70 | [
"MIT"
] | null | null | null | c++/src/Stack.cpp | wtfleming/data-structures-and-algorithms | f3d55b6642ee0219606c65ac6f1f8c5b402bdf70 | [
"MIT"
] | null | null | null | #include "Stack.h"
namespace wtf {
Stack::Stack() {
}
size_t Stack::size() const {
return mList.size();
}
bool Stack::isEmpty() const {
return mList.isEmpty();
}
void Stack::push(const int& val) {
mList.pushFront(val);
}
int Stack::pop() {
return mList.popFront();
}
int St... | 12.793103 | 36 | 0.571429 | wtfleming |
070f9fd360d54b724970a7cfd3ae0b1d9324a0e7 | 73 | cpp | C++ | tests/worker/tst_workertest.cpp | sjinks/repwatch_proxy | bb24777dbde14a37ae48f686090942ed6a4dba31 | [
"MIT"
] | null | null | null | tests/worker/tst_workertest.cpp | sjinks/repwatch_proxy | bb24777dbde14a37ae48f686090942ed6a4dba31 | [
"MIT"
] | null | null | null | tests/worker/tst_workertest.cpp | sjinks/repwatch_proxy | bb24777dbde14a37ae48f686090942ed6a4dba31 | [
"MIT"
] | null | null | null | #include <QtTest/QtTest>
#include "workertest.h"
QTEST_MAIN(WorkerTest)
| 14.6 | 24 | 0.780822 | sjinks |
0715037d32de7e393e8dfbd5b41919b50cea5ea5 | 779 | cpp | C++ | src/aruco_unity_lib/vec4i.cpp | martinarroyo/aruco-unity | d00309b6ed67f00d8af612f4aa692c020a3976db | [
"BSD-3-Clause"
] | null | null | null | src/aruco_unity_lib/vec4i.cpp | martinarroyo/aruco-unity | d00309b6ed67f00d8af612f4aa692c020a3976db | [
"BSD-3-Clause"
] | null | null | null | src/aruco_unity_lib/vec4i.cpp | martinarroyo/aruco-unity | d00309b6ed67f00d8af612f4aa692c020a3976db | [
"BSD-3-Clause"
] | 1 | 2020-12-16T15:13:34.000Z | 2020-12-16T15:13:34.000Z | #include "aruco_unity/utility/cv/vec4i.hpp"
#include "aruco_unity/utility/cv/exception.hpp"
extern "C" {
// Constructors & Destructors
cv::Vec4i* au_cv_Vec4i_new() {
return new cv::Vec4i();
}
void au_cv_Vec4i_delete(cv::Vec4i* vec4i) {
delete vec4i;
}
// Variables
int au_cv_Vec4i_get(cv::Vec4... | 23.606061 | 86 | 0.626444 | martinarroyo |
072cad5a2fce8ece34fa5867d7f338fff22d75fb | 597 | cpp | C++ | 0100/30/139a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 0100/30/139a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 0100/30/139a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <array>
#include <iostream>
template <typename T, size_t N>
std::istream& operator >>(std::istream& input, std::array<T, N>& v)
{
for (T& a : v)
input >> a;
return input;
}
void answer(size_t v)
{
std::cout << v << '\n';
}
void solve(size_t n, const std::array<size_t, 7>& a)
{
size_... | 14.214286 | 67 | 0.499162 | actium |
072ff8ee741be8f19a51628374390ab3d62a6828 | 956 | cpp | C++ | sqlite/src/ossimGpkgDatabaseRecordBase.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 12 | 2016-09-09T01:24:12.000Z | 2022-01-09T21:45:58.000Z | sqlite/src/ossimGpkgDatabaseRecordBase.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 5 | 2016-02-04T16:10:40.000Z | 2021-06-29T05:00:29.000Z | sqlite/src/ossimGpkgDatabaseRecordBase.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 20 | 2015-11-17T11:46:22.000Z | 2021-11-12T19:23:54.000Z | //----------------------------------------------------------------------------
// File: ossimGpkgDatabaseRecordInferface.h
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Description: Base class definition for GeoPackage database record.
//
//-----------------------... | 23.317073 | 78 | 0.588912 | dardok |
07329f854d62a503a32a7b17ab88e82d5bea5467 | 6,818 | hpp | C++ | include/GlobalNamespace/X509CertificateUtility_--c.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/X509CertificateUtility_--c.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/X509CertificateUtility_--c.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: X509CertificateUtility
#inc... | 66.843137 | 290 | 0.751247 | RedBrumbler |
0733b81d6331d1acc45930272f53de11d7846b21 | 1,372 | hpp | C++ | asyncimpl.hpp | skdmno4/wavevizdumps | 7bfb17a2474d879a3216b928db93e7384fc45806 | [
"MIT"
] | null | null | null | asyncimpl.hpp | skdmno4/wavevizdumps | 7bfb17a2474d879a3216b928db93e7384fc45806 | [
"MIT"
] | null | null | null | asyncimpl.hpp | skdmno4/wavevizdumps | 7bfb17a2474d879a3216b928db93e7384fc45806 | [
"MIT"
] | null | null | null | #pragma once
#include <future>
#include <cmath>
#include <fstream>
#include <vector>
#include "localtypes.h"
using namespace std;
const double PI = 3.14159265358979;
void ConvertFormats()
{
cout << "To be implemented\n";
}
double eval(int x, int y, float xDel, float yDel, int t)
{
double phaseangle = xDel * x ... | 22.129032 | 73 | 0.515306 | skdmno4 |
0735edf915acc3fd8e9bc4364b2659176afde9e1 | 10,896 | cpp | C++ | src/QtTasks/Tasks/nExecutionLists.cpp | Vladimir-Lin/QtTasks | 2150f149509678f012afa05cd7fb7d4acbfdbc9d | [
"MIT"
] | null | null | null | src/QtTasks/Tasks/nExecutionLists.cpp | Vladimir-Lin/QtTasks | 2150f149509678f012afa05cd7fb7d4acbfdbc9d | [
"MIT"
] | null | null | null | src/QtTasks/Tasks/nExecutionLists.cpp | Vladimir-Lin/QtTasks | 2150f149509678f012afa05cd7fb7d4acbfdbc9d | [
"MIT"
] | null | null | null | #include <qttasks.h>
#define TABLES(ID) plan->Tables[Tables::ID]
N::ExecutionLists:: ExecutionLists (QWidget * parent,Plan * p)
: TreeDock ( parent, p)
{
Configure ( ) ;
}
N::ExecutionLists::~ExecutionLists(void)
{
}
QMimeData * N::ExecutionLists::dragMime (void)
{
QTreeWi... | 40.206642 | 72 | 0.366373 | Vladimir-Lin |
0736e30e1d165155d3543c70c0145edbd35f652e | 177 | cxx | C++ | cdcl/Templates/vbl_smart_ptr+cdcl_trans_affine+3--.cxx | msofka/LRR | 8c04ab9d27980c98a201943c1fe46e7e451df367 | [
"Apache-2.0"
] | 2 | 2018-01-09T00:33:42.000Z | 2018-01-09T00:33:53.000Z | cdcl/Templates/vbl_smart_ptr+cdcl_trans_affine+3--.cxx | msofka/LRR | 8c04ab9d27980c98a201943c1fe46e7e451df367 | [
"Apache-2.0"
] | null | null | null | cdcl/Templates/vbl_smart_ptr+cdcl_trans_affine+3--.cxx | msofka/LRR | 8c04ab9d27980c98a201943c1fe46e7e451df367 | [
"Apache-2.0"
] | null | null | null | #include <vbl/vbl_smart_ptr.txx>
#include <cdcl/cdcl_trans_affine.h>
typedef cdcl_trans_affine< 3, 12 > trans_affine_type;
VBL_SMART_PTR_INSTANTIATE( trans_affine_type );
| 29.5 | 54 | 0.79661 | msofka |
073a3871b0262f8f52af46182d39b8faff8638d0 | 822 | hpp | C++ | WarbandServerQuery/WarbandServerQuery/Client.hpp | RaJiska/WarbandServerQuery | 713a96de139961357731a72aeb7737d922228a87 | [
"BSD-3-Clause"
] | null | null | null | WarbandServerQuery/WarbandServerQuery/Client.hpp | RaJiska/WarbandServerQuery | 713a96de139961357731a72aeb7737d922228a87 | [
"BSD-3-Clause"
] | null | null | null | WarbandServerQuery/WarbandServerQuery/Client.hpp | RaJiska/WarbandServerQuery | 713a96de139961357731a72aeb7737d922228a87 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <boost/asio.hpp>
#include <memory>
class Client
{
public:
const static unsigned MSG_MAX_SZ = 512;
Client(unsigned long long int id, boost::asio::io_service& ios);
virtual ~Client() = default;
virtual boost::asio::ip::tcp::socket &getSocket() noexcept;
virtual void send(const BYTE *msg, un... | 26.516129 | 65 | 0.744526 | RaJiska |
0741a161212c0c4c8b2c53d5dd3ca79233a9051f | 11,193 | cpp | C++ | test/reverse/stat/normal_unittest.cpp | kilasuelika/FastAD | dd070c608c18f5391f2ac68dca4f9db223a33eca | [
"MIT"
] | 50 | 2019-11-28T22:25:01.000Z | 2022-02-20T03:55:19.000Z | test/reverse/stat/normal_unittest.cpp | kilasuelika/FastAD | dd070c608c18f5391f2ac68dca4f9db223a33eca | [
"MIT"
] | 25 | 2019-11-28T20:44:12.000Z | 2021-10-30T00:14:39.000Z | test/reverse/stat/normal_unittest.cpp | kilasuelika/FastAD | dd070c608c18f5391f2ac68dca4f9db223a33eca | [
"MIT"
] | 2 | 2021-02-26T11:14:56.000Z | 2021-07-07T06:40:18.000Z | #include <testutil/base_fixture.hpp>
#include <fastad_bits/reverse/stat/normal.hpp>
namespace ad {
namespace stat {
struct normal_fixture : base_fixture
{
protected:
using sss_normal_t = NormalAdjLogPDFNode<
scl_expr_view_t,
scl_expr_view_t,
scl_expr_view_t>;
using vss_normal_t = Nor... | 28.052632 | 72 | 0.623783 | kilasuelika |
07422e9cef61d7e1f6490173d063b600bce6bfc8 | 5,327 | cpp | C++ | libs/graph_parallel/test/distributed_page_rank_test.cpp | thejkane/AGM | 4d5cfe9522461d207ceaef7d90c1cd10ce9b469c | [
"BSL-1.0"
] | 1 | 2021-09-03T10:22:04.000Z | 2021-09-03T10:22:04.000Z | libs/graph_parallel/test/distributed_page_rank_test.cpp | thejkane/AGM | 4d5cfe9522461d207ceaef7d90c1cd10ce9b469c | [
"BSL-1.0"
] | null | null | null | libs/graph_parallel/test/distributed_page_rank_test.cpp | thejkane/AGM | 4d5cfe9522461d207ceaef7d90c1cd10ce9b469c | [
"BSL-1.0"
] | null | null | null | // Copyright 2004 The Trustees of Indiana University.
// Use, modification and distribution is subject to 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)
// Authors: Douglas Gregor
// Andrew Lumsdaine
#include <am++/am+... | 33.503145 | 239 | 0.649521 | thejkane |
0742edbf60c178dd1c1d3d7b4ab6f17980fc34f7 | 4,735 | hpp | C++ | vif/vifIndex.hpp | thorfdbg/ssim | 7d9d1b3c2b8e4338d8cec34088d948025c23e559 | [
"Zlib"
] | 9 | 2017-04-13T19:18:03.000Z | 2021-01-21T15:29:48.000Z | vif/vifIndex.hpp | thorfdbg/ssim | 7d9d1b3c2b8e4338d8cec34088d948025c23e559 | [
"Zlib"
] | 1 | 2019-11-25T12:58:01.000Z | 2019-12-05T18:15:55.000Z | vif/vifIndex.hpp | thorfdbg/ssim | 7d9d1b3c2b8e4338d8cec34088d948025c23e559 | [
"Zlib"
] | 1 | 2017-12-31T06:57:00.000Z | 2017-12-31T06:57:00.000Z | /************************************************************************************
** Copyright (C) 2005-2007 TU Berlin, Felix Oum, Thomas Richter **
** **
** This software is provided 'as-is', without any express or... | 39.132231 | 106 | 0.56114 | thorfdbg |
0743962fc7e5a65514a0ade568d7c4a104d6ea15 | 3,312 | cpp | C++ | src/pacman/Board.cpp | 197708156EQUJ5/pac-man | 30501ac43b9bcdd94b3cbb848c597882fc268492 | [
"MIT"
] | null | null | null | src/pacman/Board.cpp | 197708156EQUJ5/pac-man | 30501ac43b9bcdd94b3cbb848c597882fc268492 | [
"MIT"
] | null | null | null | src/pacman/Board.cpp | 197708156EQUJ5/pac-man | 30501ac43b9bcdd94b3cbb848c597882fc268492 | [
"MIT"
] | null | null | null | #include "pacman/Board.hpp"
#include <iostream>
#include <sstream>
namespace pacman
{
Board::Board() :
spriteManager(nullptr),
window(nullptr),
renderer(nullptr)
{
}
bool Board::init()
{
std::cout << "Board Init" << std::endl;;
//Initialization flag
bool success = true;
//Initialize SDL... | 23.827338 | 117 | 0.557065 | 197708156EQUJ5 |
07453d94be8c218ffff134b4bf40bf379e1612ea | 520 | cpp | C++ | src/codechef/contests/LP1TO202/AVGFLEX.cpp | tllaw/cp | 91c131792cd00ebd12f7a2dddb26a863970b00ce | [
"MIT"
] | null | null | null | src/codechef/contests/LP1TO202/AVGFLEX.cpp | tllaw/cp | 91c131792cd00ebd12f7a2dddb26a863970b00ce | [
"MIT"
] | null | null | null | src/codechef/contests/LP1TO202/AVGFLEX.cpp | tllaw/cp | 91c131792cd00ebd12f7a2dddb26a863970b00ce | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
long long t, n, a;
cin >> t;
while(t--) {
cin >> n;
vector<long long> v;
for(long long i = 0; i < (n); i++) {
cin >> a;
v.push_back(a);
}
sort(v.begin(), v.end(), greater<long l... | 15.294118 | 52 | 0.440385 | tllaw |
074667a03b41f45a3427e301e7514e9662e03c88 | 2,768 | cpp | C++ | 2016/day02/p2/main.cpp | jbaldwin/adventofcode2019 | bdc333330dd5e36458a49f0b7cd64d462c9988c7 | [
"MIT"
] | null | null | null | 2016/day02/p2/main.cpp | jbaldwin/adventofcode2019 | bdc333330dd5e36458a49f0b7cd64d462c9988c7 | [
"MIT"
] | null | null | null | 2016/day02/p2/main.cpp | jbaldwin/adventofcode2019 | bdc333330dd5e36458a49f0b7cd64d462c9988c7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <array>
#include <lib/containers.hpp>
#include <lib/file_util.hpp>
#include <chain/chain.hpp>
using vec2 = containers::vec2<int64_t>;
using DialPad = std::array<std::array<char, 5>, 5>;
auto in_bounds(
const DialPad& dial_pad,
const vec2& pos,
const vec2& dir
) -> bool
{
... | 24.714286 | 67 | 0.351517 | jbaldwin |
074784f90377d7318fc48b74eff744e9cb7d1d81 | 3,684 | cpp | C++ | src/PR_methods/gmmreg-master/C++/gmmreg_transform.cpp | wangfudong/ZAC_GM | b5dddbb36f25d7210de4e14c2a9e189474353c61 | [
"MIT"
] | 12 | 2020-06-13T09:07:17.000Z | 2022-03-27T08:56:39.000Z | src/PR_methods/gmmreg-master/C++/gmmreg_transform.cpp | wangfudong/ZAC_GM | b5dddbb36f25d7210de4e14c2a9e189474353c61 | [
"MIT"
] | 6 | 2020-06-22T08:06:02.000Z | 2022-01-22T11:26:19.000Z | src/PR_methods/gmmreg-master/C++/gmmreg_transform.cpp | wangfudong/ZAC_GM | b5dddbb36f25d7210de4e14c2a9e189474353c61 | [
"MIT"
] | 4 | 2021-06-22T15:20:26.000Z | 2022-03-23T07:10:51.000Z | #include <iostream>
#include <fstream>
#include <vnl/algo/vnl_qr.h>
#ifdef WIN32
#include <windows.h>
#else
#include "port_ini.h"
#endif
#include "gmmreg_utils.h"
#include "utils/io_utils.h"
namespace gmmreg {
int ThinPlateSplineTransform(const char* f_config) {
vnl_matrix<double> model, scene, ctrl_pts, source,... | 27.492537 | 82 | 0.676439 | wangfudong |
0748b2de5b531b6f9ab3d67697aa572c868f9538 | 524 | hpp | C++ | Managers/GUI/Commands.hpp | MadLadSquad/UntitledLinuxGameManager | f4f003e2b929055f3a00afb63cc1118f1765cb99 | [
"MIT"
] | 1 | 2022-02-01T12:45:19.000Z | 2022-02-01T12:45:19.000Z | Managers/GUI/Commands.hpp | MadLadSquad/UntitledLinuxGameManager | f4f003e2b929055f3a00afb63cc1118f1765cb99 | [
"MIT"
] | null | null | null | Managers/GUI/Commands.hpp | MadLadSquad/UntitledLinuxGameManager | f4f003e2b929055f3a00afb63cc1118f1765cb99 | [
"MIT"
] | null | null | null | #pragma once
namespace UGM::Managers::GUI
{
void restart(bool bAll = false, char* name = (char*)"none");
void poweroff(bool bAll = false, char* name = (char*)"none");
void poweron(bool bAll = false, char* name = (char*)"none");
void newContainer();
void deleteContainer(char* name);
void execP... | 30.823529 | 65 | 0.673664 | MadLadSquad |
074923b2e5a8c42739e9e3020a33d7d6004f33cf | 490 | cpp | C++ | lib/api/reconstruction.cpp | eigendude/trajectory-recovery | ab775378a6adf83ab59147fd21d8ccc8357ee5b0 | [
"Apache-2.0"
] | 1 | 2022-01-22T08:59:41.000Z | 2022-01-22T08:59:41.000Z | lib/api/reconstruction.cpp | eigendude/trajectory-reconstruction | ab775378a6adf83ab59147fd21d8ccc8357ee5b0 | [
"Apache-2.0"
] | null | null | null | lib/api/reconstruction.cpp | eigendude/trajectory-reconstruction | ab775378a6adf83ab59147fd21d8ccc8357ee5b0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2020 Garrett Brown
* This file is part of trajectory-reconstruction - https://github.com/eigendude/trajectory-reconstruction
*
* SPDX-License-Identifier: Apache-2.0
* See LICENSE.txt for more information.
*/
#include "reconstruction.hpp"
reconstruction::TplTrajectory reconstruction::Reconstru... | 32.666667 | 155 | 0.773469 | eigendude |
074b1cf0a01b5bfe3eb0292b941058718c384e61 | 1,905 | hpp | C++ | include/varlink/server.hpp | WolleTD/varlink-cpp | 819dc34552c123c68a538a5e5df640b1c5d78fe8 | [
"MIT"
] | null | null | null | include/varlink/server.hpp | WolleTD/varlink-cpp | 819dc34552c123c68a538a5e5df640b1c5d78fe8 | [
"MIT"
] | 2 | 2021-03-26T21:11:59.000Z | 2021-03-27T17:32:10.000Z | include/varlink/server.hpp | WolleTD/varlink-cpp | 819dc34552c123c68a538a5e5df640b1c5d78fe8 | [
"MIT"
] | null | null | null | /* Varlink C++ implementation using nlohmann/json as data format */
#ifndef LIBVARLINK_VARLINK_SERVER_HPP
#define LIBVARLINK_VARLINK_SERVER_HPP
#include <varlink/async_server.hpp>
#include <varlink/service.hpp>
#include <varlink/uri.hpp>
namespace varlink {
class varlink_server {
private:
varlink_service servic... | 29.765625 | 113 | 0.675591 | WolleTD |
074c84a23b7e242b4837784a323cf4485392f435 | 2,798 | cpp | C++ | functable.cpp | SingingRivulet/meshlang | 53ccb8885292ef84d97140de942a5045f799078c | [
"Apache-2.0"
] | 2 | 2020-05-19T11:31:01.000Z | 2020-07-29T02:19:46.000Z | functable.cpp | SingingRivulet/meshlang | 53ccb8885292ef84d97140de942a5045f799078c | [
"Apache-2.0"
] | null | null | null | functable.cpp | SingingRivulet/meshlang | 53ccb8885292ef84d97140de942a5045f799078c | [
"Apache-2.0"
] | 1 | 2020-07-07T05:23:24.000Z | 2020-07-07T05:23:24.000Z | #include "functable.h"
#include "ui_functable.h"
funcTable::funcTable(QWidget *parent) :
QDialog(parent),
ui(new Ui::funcTable)
{
ui->setupUi(this);
setWindowTitle("添加函数");
ui->nName->setValidator(new QRegExpValidator(QRegExp("[A-Za-z0-9]{0,20}")));
ui->nInput->setValidator(new QRegExpValidato... | 29.765957 | 92 | 0.62366 | SingingRivulet |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.