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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29ee6d4fa9ecc554257daf6e1755099f03259d47 | 4,950 | cpp | C++ | source/unittest/vmessageunit.cpp | xvela/code-vault | 780dad2d2855e28d802a64baf781927b7edd9ed9 | [
"MIT"
] | 2 | 2019-01-09T19:09:45.000Z | 2019-04-02T17:53:49.000Z | source/unittest/vmessageunit.cpp | xvela/code-vault | 780dad2d2855e28d802a64baf781927b7edd9ed9 | [
"MIT"
] | 17 | 2015-01-07T02:05:04.000Z | 2019-08-30T16:57:42.000Z | source/unittest/vmessageunit.cpp | xvela/code-vault | 780dad2d2855e28d802a64baf781927b7edd9ed9 | [
"MIT"
] | 3 | 2016-04-06T19:01:11.000Z | 2017-09-20T09:28:00.000Z | /*
Copyright c1997-2014 Trygve Isaacson. All rights reserved.
This file is part of the Code Vault version 4.1
http://www.bombaydigital.com/
License: MIT. See LICENSE.md in the Vault top level directory.
*/
/** @file */
#include "vmessageunit.h"
#include "vmessage.h"
#include "vcompactingdeque.h"
class TestMessage;
... | 30.745342 | 153 | 0.701818 | xvela |
29eed85cd85daf1bc84a4d9b1994b968a8d1d6b3 | 1,161 | cc | C++ | source/graphics_reps/pyG4Text.cc | drbenmorgan/geant4_pybind | d9c774a04156b1518795bafbd7819a1b8a03f7ea | [
"Unlicense"
] | null | null | null | source/graphics_reps/pyG4Text.cc | drbenmorgan/geant4_pybind | d9c774a04156b1518795bafbd7819a1b8a03f7ea | [
"Unlicense"
] | null | null | null | source/graphics_reps/pyG4Text.cc | drbenmorgan/geant4_pybind | d9c774a04156b1518795bafbd7819a1b8a03f7ea | [
"Unlicense"
] | null | null | null | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <G4Text.hh>
#include "typecast.hh"
#include "opaques.hh"
namespace py = pybind11;
void export_G4Text(py::module &m)
{
py::class_<G4Text, G4VMarker> g4Text(m, "G4Text");
py::enum_<G4Text::Layout>(g4Text, "Layout")
.value("left", G4Text::l... | 26.386364 | 97 | 0.575366 | drbenmorgan |
29ef393e915a62bbb2a9ff1b232eae700508d2a0 | 2,162 | cpp | C++ | tests/System/ContextTests.cpp | GRIF-IT/Investcoin-CLI | 975be82e79b3b253bbb9aca9179fc63cee9d25c0 | [
"BSD-3-Clause"
] | 2 | 2018-12-18T13:14:21.000Z | 2019-03-11T17:16:40.000Z | tests/System/ContextTests.cpp | GRIF-IT/Investcoin-CLI | 975be82e79b3b253bbb9aca9179fc63cee9d25c0 | [
"BSD-3-Clause"
] | null | null | null | tests/System/ContextTests.cpp | GRIF-IT/Investcoin-CLI | 975be82e79b3b253bbb9aca9179fc63cee9d25c0 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2018-2020, The Investcoin Project, GRIF-IT
#include <System/Context.h>
#include <System/Dispatcher.h>
#include <System/Event.h>
#include <System/InterruptedException.h>
#include <System/Timer.h>
#include <gtest/gtest.h>
using namespace System;
TEST(ContextTests, getReturnsResult) {
Dispatcher disp... | 20.205607 | 59 | 0.661887 | GRIF-IT |
29f0465dc131177609aa728d5361b1e46cc485eb | 35,679 | cpp | C++ | src/hip_texture.cpp | baryluk/HIP | cb1a3bb60f1c89c6967eefb432f4762182a113f2 | [
"MIT"
] | 1 | 2020-04-05T19:43:58.000Z | 2020-04-05T19:43:58.000Z | src/hip_texture.cpp | baryluk/HIP | cb1a3bb60f1c89c6967eefb432f4762182a113f2 | [
"MIT"
] | null | null | null | src/hip_texture.cpp | baryluk/HIP | cb1a3bb60f1c89c6967eefb432f4762182a113f2 | [
"MIT"
] | null | null | null |
#include <map>
#include <string.h>
#include "hsa/hsa.h"
#include "hsa/hsa_ext_amd.h"
#include "hip/hip_runtime.h"
#include "hip_hcc_internal.h"
#include "trace_helper.h"
#include "hip_texture.h"
static std::map<hipTextureObject_t, hipTexture*> textureHash;
void saveTextureInfo(const hipTexture* pTexture, const h... | 41.876761 | 197 | 0.635724 | baryluk |
29f0a2519c7598675d56ee178d8f7949131edfea | 570 | cpp | C++ | Tea Bubble Edition/Tea Bubble Edition Project/CupDispenser.cpp | Skyway666/Tea-Bubble-Edition | 3cffe55fa686ae34135e518bbc030de4040e13f7 | [
"MIT"
] | null | null | null | Tea Bubble Edition/Tea Bubble Edition Project/CupDispenser.cpp | Skyway666/Tea-Bubble-Edition | 3cffe55fa686ae34135e518bbc030de4040e13f7 | [
"MIT"
] | null | null | null | Tea Bubble Edition/Tea Bubble Edition Project/CupDispenser.cpp | Skyway666/Tea-Bubble-Edition | 3cffe55fa686ae34135e518bbc030de4040e13f7 | [
"MIT"
] | null | null | null | #include "CupDispenser.h"
#include "j1Entities.h"
CupDispenser::CupDispenser(iPoint position): StaticEntity(position) {
collider.x = position.x;
collider.y = position.y;
collider.w = 200;
collider.h = 400;
type = CUP_DISPENSER;
// Static entity: Inicialization
idle.PushBack({ 0,0, 200, 400 });
current_an... | 18.387097 | 69 | 0.712281 | Skyway666 |
29f1474526e479ca91f2c6d82ff9006fb7936daa | 1,767 | cc | C++ | benchmark/packet_source_benchmark.cc | epgdatacapbon/mirakc-arib | f50851ac1869599e95dcbefe115624b95e8274de | [
"Apache-2.0",
"MIT"
] | null | null | null | benchmark/packet_source_benchmark.cc | epgdatacapbon/mirakc-arib | f50851ac1869599e95dcbefe115624b95e8274de | [
"Apache-2.0",
"MIT"
] | null | null | null | benchmark/packet_source_benchmark.cc | epgdatacapbon/mirakc-arib | f50851ac1869599e95dcbefe115624b95e8274de | [
"Apache-2.0",
"MIT"
] | null | null | null | #include <algorithm>
#include <memory>
#include <benchmark/benchmark.h>
#include "packet_source.hh"
namespace {
class BenchmarkFile final : public File {
public:
static constexpr size_t kNumPackets = 10000;
BenchmarkFile() {
for (size_t i = 0; i < kBufSize; i += ts::PKT_SIZE) {
ts::NullPacket.copyTo... | 21.54878 | 77 | 0.665535 | epgdatacapbon |
29f2c065c8d24f143156cf9da4a592bf00c6cc27 | 3,083 | cpp | C++ | ares/component/processor/v30mz/instructions-group.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/component/processor/v30mz/instructions-group.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | ares/component/processor/v30mz/instructions-group.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | template<u32 size> auto V30MZ::instructionGroup1MemImm(bool sign) -> void {
wait(1);
modRM();
auto mem = getMemory<size>();
n16 imm = 0;
if(sign) imm = (i8)fetch<Byte>();
else if(size == Byte) imm = fetch<Byte>();
else imm = fetch<Word>();
switch(modrm.reg) {
case 0: setMemory<size>(ADD<size>(mem, imm... | 31.783505 | 117 | 0.606876 | CasualPokePlayer |
29f2c61daa34cae38e496e88d1eab93b6c9a8b10 | 8,619 | cc | C++ | rnacore/interval_map.cc | Shao-Group/meta-scallop | 3c546900060e9544541e865604e235f49366803b | [
"BSD-3-Clause"
] | null | null | null | rnacore/interval_map.cc | Shao-Group/meta-scallop | 3c546900060e9544541e865604e235f49366803b | [
"BSD-3-Clause"
] | 2 | 2021-11-28T17:19:43.000Z | 2022-01-17T09:02:55.000Z | rnacore/interval_map.cc | Shao-Group/meta-scallop | 3c546900060e9544541e865604e235f49366803b | [
"BSD-3-Clause"
] | 1 | 2020-06-22T12:31:00.000Z | 2020-06-22T12:31:00.000Z | /*
Part of Scallop Transcript Assembler
(c) 2017 by Mingfu Shao, Carl Kingsford, and Carnegie Mellon University.
See LICENSE for licensing.
*/
#include "interval_map.h"
int create_split(split_interval_map &imap, int32_t p)
{
SIMI it = imap.find(p);
if(it == imap.end()) return 0;
int32_t l = lower(it->first);
int3... | 22.1 | 109 | 0.576053 | Shao-Group |
29f32cf47cdbccbe32468f05bfb1a9c3bbafd409 | 3,987 | hpp | C++ | include/boost/beast/core/close_socket.hpp | bebuch/beast | 2454d671653844d8435f4f066946a7751a758db7 | [
"BSL-1.0"
] | null | null | null | include/boost/beast/core/close_socket.hpp | bebuch/beast | 2454d671653844d8435f4f066946a7751a758db7 | [
"BSL-1.0"
] | null | null | null | include/boost/beast/core/close_socket.hpp | bebuch/beast | 2454d671653844d8435f4f066946a7751a758db7 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2018 Vinnie Falco (vinnie dot falco at gmail dot 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)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOOST_BEAST_CLOSE... | 29.753731 | 79 | 0.717081 | bebuch |
29f3635c8893e4558c5adf85872d9210a3912b6f | 314 | hpp | C++ | template/for-function/main/hello-greet.hpp | research-note/deep-learning-from-scratch-using-cpp | 5e11be85fa9c4c7672ce9c3ea2c5ffa8f27defd1 | [
"MIT"
] | 2 | 2021-08-15T12:38:41.000Z | 2021-08-15T12:38:51.000Z | template/for-function/main/hello-greet.hpp | research-note/deep-learning-from-scratch-using-modern-cpp | 5e11be85fa9c4c7672ce9c3ea2c5ffa8f27defd1 | [
"MIT"
] | null | null | null | template/for-function/main/hello-greet.hpp | research-note/deep-learning-from-scratch-using-modern-cpp | 5e11be85fa9c4c7672ce9c3ea2c5ffa8f27defd1 | [
"MIT"
] | null | null | null | /*
* Build obj linking with cc_library file example.
*
* Copyright Bazel organization
*
*/
#ifndef CPP_TUTORIAL_STAGE3_MAIN_HELLO_GREET_H_
#define CPP_TUTORIAL_STAGE3_MAIN_HELLO_GREET_H_
#include <string>
std::string get_greet(const std::string &thing);
#endif // CPP_TUTORIAL_STAGE3_MAIN_HELLO_GREET_H_
| 19.625 | 50 | 0.796178 | research-note |
29f56e4cb49d77ea4773b13f0548b0e9cfb8b5e1 | 1,224 | cpp | C++ | lab21/3 - istream.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-01-24T14:04:45.000Z | 2019-01-24T14:04:45.000Z | lab21/3 - istream.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-01-24T18:32:45.000Z | 2019-01-28T04:10:28.000Z | lab21/3 - istream.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-02-07T00:28:20.000Z | 2019-02-07T00:28:20.000Z | #include <iostream>
using namespace std;
template< typename T >
T read( std::istream& in )
{
T x;
in >> x;
return x;
}
int main()
{
// auto c = read<char>( std::cin );
// std::cout << "Read: " << c << endl;
// std::cin.ignore( std::numeric_limits<std::streamsize>::max(), '\n' );
// auto ... | 23.09434 | 76 | 0.46732 | uiowa-cs-3210-0001 |
29f92b44d2d20829231a22dff4e7f6c31aabd4f6 | 4,941 | cpp | C++ | test/trie.cpp | DldFw/ethereum | d45dc929b594add85d527236830037f01da0e8a3 | [
"MIT"
] | null | null | null | test/trie.cpp | DldFw/ethereum | d45dc929b594add85d527236830037f01da0e8a3 | [
"MIT"
] | null | null | null | test/trie.cpp | DldFw/ethereum | d45dc929b594add85d527236830037f01da0e8a3 | [
"MIT"
] | null | null | null | /*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Foobar is distributed in the hope ... | 23.641148 | 76 | 0.534305 | DldFw |
29fa56ced2f6ab2b780b956521857474c78c8999 | 4,207 | cpp | C++ | data/AGNC-Lab_Quad/multithreaded/threads/print_thread.cpp | khairulislam/phys | fc702520fcd3b23022b9253e7d94f878978b4500 | [
"MIT"
] | null | null | null | data/AGNC-Lab_Quad/multithreaded/threads/print_thread.cpp | khairulislam/phys | fc702520fcd3b23022b9253e7d94f878978b4500 | [
"MIT"
] | null | null | null | data/AGNC-Lab_Quad/multithreaded/threads/print_thread.cpp | khairulislam/phys | fc702520fcd3b23022b9253e7d94f878978b4500 | [
"MIT"
] | null | null | null |
#include "threads/print_thread.h"
void *PrintTask(void *threadID){
printf("PrintTask has started!\n");
Matrix<float, 3, 1> localIMU_Data_RPY;
Matrix<float, 4, 1> localIMU_Data_Quat;
Matrix<float, 3, 1> localIMU_Data_Accel;
Matrix<float, 3, 1> localIMU_Data_Vel;
Matrix<float, 3, 1> localattRef;
Matrix<float, 3... | 33.125984 | 142 | 0.708106 | khairulislam |
29fa8d559826a6f60681e0b4b4328ad499bb729f | 4,390 | cpp | C++ | ViroRenderer/VROHDRLoader.cpp | dthian/virocore | c702528e0e3ffd8324c1597d65a73bc6adf0e11d | [
"MIT"
] | 2 | 2019-10-16T14:30:06.000Z | 2019-10-30T23:14:30.000Z | ViroRenderer/VROHDRLoader.cpp | dthian/virocore | c702528e0e3ffd8324c1597d65a73bc6adf0e11d | [
"MIT"
] | 47 | 2021-09-08T13:03:44.000Z | 2022-03-10T23:21:05.000Z | ViroRenderer/VROHDRLoader.cpp | dthian/virocore | c702528e0e3ffd8324c1597d65a73bc6adf0e11d | [
"MIT"
] | 2 | 2020-08-26T14:50:23.000Z | 2021-01-04T02:21:02.000Z | //
// VROHDRLoader.cpp
// ViroKit
//
// Created by Raj Advani on 1/22/18.
// Copyright © 2018 Viro Media. All rights reserved.
//
// 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 wit... | 42.211538 | 119 | 0.630752 | dthian |
29fac8aa4a0c3a20a2793ed67843be19f73c7680 | 3,585 | cpp | C++ | EU4toV2/Source/Mappers/ProvinceMappings/ProvinceMapper.cpp | ParadoxGameConverters/EU4toVic2 | 17a61d5662da02abcb976403cb50da365ef7061d | [
"MIT"
] | 42 | 2018-12-22T03:59:43.000Z | 2022-02-03T10:45:42.000Z | EU4toV2/Source/Mappers/ProvinceMappings/ProvinceMapper.cpp | DrDudelsack/EU4toVic2 | 06da665b3eaa6e14d240f65f02caf9ffb7085b5b | [
"MIT"
] | 336 | 2018-12-22T17:15:27.000Z | 2022-03-02T11:19:32.000Z | EU4toV2/Source/Mappers/ProvinceMappings/ProvinceMapper.cpp | klorpa/EU4toVic2 | e3068eb2aa459f884c1929f162d0047a4cb5f4d4 | [
"MIT"
] | 56 | 2018-12-22T19:13:23.000Z | 2022-01-01T23:08:53.000Z | #include "ProvinceMapper.h"
#include "Configuration.h"
#include "GameVersion.h"
#include "Log.h"
#include "ParserHelpers.h"
#include "ProvinceMappingsVersion.h"
#include <filesystem>
#include <fstream>
#include <stdexcept>
namespace fs = std::filesystem;
#include "CommonRegexes.h"
mappers::ProvinceMapper::ProvinceMapp... | 33.504673 | 136 | 0.772106 | ParadoxGameConverters |
29fc71bd60d823571f19dd77c9dedde17b1d036b | 3,293 | cc | C++ | src/search/merge_and_shrink/merge_linear.cc | nitinkaveriappa/downward | 5c9a1b5111d667bb96f94da61ca2a45b1b70bb83 | [
"MIT"
] | null | null | null | src/search/merge_and_shrink/merge_linear.cc | nitinkaveriappa/downward | 5c9a1b5111d667bb96f94da61ca2a45b1b70bb83 | [
"MIT"
] | null | null | null | src/search/merge_and_shrink/merge_linear.cc | nitinkaveriappa/downward | 5c9a1b5111d667bb96f94da61ca2a45b1b70bb83 | [
"MIT"
] | null | null | null | #include "merge_linear.h"
#include "factored_transition_system.h"
#include "../option_parser.h"
#include "../plugin.h"
#include "../utils/markup.h"
#include "../utils/memory.h"
#include "../utils/system.h"
#include <cassert>
#include <iostream>
using namespace std;
using utils::ExitCode;
namespace merge_and_shrin... | 33.262626 | 85 | 0.679927 | nitinkaveriappa |
29fce6c63605f9f859af2dd59e7abc3b1f47cb7b | 4,340 | cpp | C++ | src/lib/corpus-io.cpp | tetsuok/kytea | 39e0f1cf8c1d485e6bb6cfb414a64bc79a2c169d | [
"Apache-2.0"
] | null | null | null | src/lib/corpus-io.cpp | tetsuok/kytea | 39e0f1cf8c1d485e6bb6cfb414a64bc79a2c169d | [
"Apache-2.0"
] | null | null | null | src/lib/corpus-io.cpp | tetsuok/kytea | 39e0f1cf8c1d485e6bb6cfb414a64bc79a2c169d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2020, KyTea Development Team
*
* 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... | 41.730769 | 125 | 0.579954 | tetsuok |
29fed0d786b692fd70a3b7d2f954f47c5caf7949 | 479 | cpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/tti/test/test_has_member_fail2.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 85 | 2015-02-08T20:36:17.000Z | 2021-11-14T20:38:31.000Z | libs/boost/libs/tti/test/test_has_member_fail2.cpp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | libs/boost/libs/tti/test/test_has_member_fail2.cpp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 27 | 2015-01-28T16:33:30.000Z | 2021-08-12T05:04:39.000Z |
// (C) Copyright Edward Diener 2011
// Use, modification and distribution are 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).
#include "test_has_mem_fun.hpp"
int main()
{
// Function signature has... | 25.210526 | 102 | 0.693111 | Wultyc |
29ffd6be90971a18707ad2d2fc2940dc3bd78f52 | 2,514 | cpp | C++ | samples/Random/src/RandomSample.cpp | Daivuk/onut | b02c5969b36897813de9c574a26d9437b67f189e | [
"MIT"
] | 50 | 2015-06-01T19:23:24.000Z | 2021-12-22T02:14:23.000Z | samples/Random/src/RandomSample.cpp | Daivuk/onut | b02c5969b36897813de9c574a26d9437b67f189e | [
"MIT"
] | 109 | 2015-07-20T07:43:03.000Z | 2021-01-31T21:52:36.000Z | samples/Random/src/RandomSample.cpp | Daivuk/onut | b02c5969b36897813de9c574a26d9437b67f189e | [
"MIT"
] | 9 | 2015-07-02T21:36:20.000Z | 2019-10-19T04:18:02.000Z | // Oak Nut include
#include <onut/PrimitiveBatch.h>
#include <onut/Random.h>
#include <onut/Renderer.h>
#include <onut/Settings.h>
#include <onut/SpriteBatch.h>
void initSettings()
{
oSettings->setGameName("Random Sample");
oSettings->setIsRetroMode(true); // So we can see the points bigger
oSettings->setR... | 29.928571 | 115 | 0.619332 | Daivuk |
4b002a793f6d29e1a1c42b1fa3cbb5c643f5d2f2 | 724 | cpp | C++ | spoj0/contest-116/balanse.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-07-16T01:46:38.000Z | 2020-07-16T01:46:38.000Z | spoj0/contest-116/balanse.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | null | null | null | spoj0/contest-116/balanse.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-05-27T14:30:43.000Z | 2020-05-27T14:30:43.000Z | #include <iostream>
using namespace std;
inline void use_oi_optimizations()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
}
int main()
{
use_oi_optimizations();
unsigned int test_cases;
cin >> test_cases;
for (unsigned int i = 0; i < test_cases; ++i)
{
unsigned long long co... | 16.454545 | 49 | 0.515193 | Rkhoiwal |
4b035d6ed2fcd81fdca32ebdc8f78cb0df942877 | 4,328 | cc | C++ | test/common/stream_info/utility_test.cc | kh-chang/envoy | dde79aea0ee6e069530a85c0fa43dcb977fd1c6f | [
"Apache-2.0"
] | 1 | 2018-12-18T06:58:00.000Z | 2018-12-18T06:58:00.000Z | test/common/stream_info/utility_test.cc | kh-chang/envoy | dde79aea0ee6e069530a85c0fa43dcb977fd1c6f | [
"Apache-2.0"
] | null | null | null | test/common/stream_info/utility_test.cc | kh-chang/envoy | dde79aea0ee6e069530a85c0fa43dcb977fd1c6f | [
"Apache-2.0"
] | 1 | 2018-12-18T07:03:38.000Z | 2018-12-18T07:03:38.000Z | #include "common/network/address_impl.h"
#include "common/stream_info/utility.h"
#include "test/mocks/stream_info/mocks.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
using testing::_;
using testing::NiceMock;
using testing::Return;
namespace Envoy {
namespace StreamInfo {
TEST(ResponseFlagUtilsTest, toShort... | 42.851485 | 100 | 0.731285 | kh-chang |
4b04c2f2eb18e2341618c7a4e4f7101d2c90f8b9 | 1,267 | cpp | C++ | UVA00256.cpp | MaSteve/UVA-problems | 3a240fcca02e24a9c850b7e86062f8581df6f95f | [
"MIT"
] | 17 | 2015-12-08T18:50:03.000Z | 2022-03-16T01:23:20.000Z | UVA00256.cpp | MaSteve/UVA-problems | 3a240fcca02e24a9c850b7e86062f8581df6f95f | [
"MIT"
] | null | null | null | UVA00256.cpp | MaSteve/UVA-problems | 3a240fcca02e24a9c850b7e86062f8581df6f95f | [
"MIT"
] | 6 | 2017-04-04T18:16:23.000Z | 2020-06-28T11:07:22.000Z | #include <cstdio>
using namespace std;
int main() {
/*for (int i = 0; i <= 10000; i++) {
int sqrt = i*i;
if (sqrt < 100) {
int aux = sqrt%10 + sqrt/10;
aux *= aux;
if (aux == sqrt) printf("%d\n", sqrt);
} else if (sqrt < 10000) {
int aux = sqr... | 33.342105 | 108 | 0.47356 | MaSteve |
4b04ee2f1481005175aa444ca4fca96bf92b1d76 | 17,867 | cpp | C++ | android/spatialiteandroidlibrary/src/main/jni/geos-3.2.2/source/operation/polygonize/PolygonizeGraph.cpp | fedort/react-native-spatial | f12fe12c567ecb6c088a2b0cb9468c2f28d4cbba | [
"MIT"
] | null | null | null | android/spatialiteandroidlibrary/src/main/jni/geos-3.2.2/source/operation/polygonize/PolygonizeGraph.cpp | fedort/react-native-spatial | f12fe12c567ecb6c088a2b0cb9468c2f28d4cbba | [
"MIT"
] | null | null | null | android/spatialiteandroidlibrary/src/main/jni/geos-3.2.2/source/operation/polygonize/PolygonizeGraph.cpp | fedort/react-native-spatial | f12fe12c567ecb6c088a2b0cb9468c2f28d4cbba | [
"MIT"
] | 1 | 2021-01-13T17:59:17.000Z | 2021-01-13T17:59:17.000Z | /**********************************************************************
* $Id: PolygonizeGraph.cpp 2733 2009-11-20 19:58:33Z strk $
*
* GEOS - Geometry Engine Open Source
* http://geos.refractions.net
*
* Copyright (C) 2005-2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* This ... | 29.581126 | 124 | 0.698886 | fedort |
4b04ef44c040f20a1f4160fa15b8a28696bdad9d | 2,775 | cpp | C++ | clang/test/SemaSYCL/esimd-sycl-context-switch.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 653 | 2018-12-27T15:00:01.000Z | 2022-03-30T11:52:23.000Z | clang/test/SemaSYCL/esimd-sycl-context-switch.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | clang/test/SemaSYCL/esimd-sycl-context-switch.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | // RUN: %clang_cc1 -fsycl-is-device -fsyntax-only -verify %s
// This test checks that SYCL device functions cannot be called from ESIMD context.
__attribute__((sycl_device)) void sycl_func() {}
__attribute__((sycl_device)) void __spirv_reserved_func() {}
__attribute__((sycl_device)) void __sycl_reserved_func() {}
__a... | 31.534091 | 105 | 0.731892 | mkinsner |
4b04ef90841e3881d6601c0ed22b22de3f638ec8 | 306 | cpp | C++ | src/vjudge/OpenJ_Bailian/2885/24916569_AC_1ms_128kB.cpp | lnkkerst/oj-codes | d778489182d644370b2a690aa92c3df6542cc306 | [
"MIT"
] | null | null | null | src/vjudge/OpenJ_Bailian/2885/24916569_AC_1ms_128kB.cpp | lnkkerst/oj-codes | d778489182d644370b2a690aa92c3df6542cc306 | [
"MIT"
] | null | null | null | src/vjudge/OpenJ_Bailian/2885/24916569_AC_1ms_128kB.cpp | lnkkerst/oj-codes | d778489182d644370b2a690aa92c3df6542cc306 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int solve(int x) {
int fl = 1;
if(x < 0) x = -x, fl = -1;
int ret = 0;
while(x) {
ret *= 10, ret += x % 10;
x /= 10;
}
return ret * fl;
}
int main() {
int x;
while(cin >> x) cout << solve(x) << endl;
return 0;
} | 16.105263 | 45 | 0.45098 | lnkkerst |
4b05c2b9b5fabd42fb4b8a8f354c05b209504907 | 6,787 | cpp | C++ | src/Entities/Pickup.cpp | skpub/cuberite | c2f8ceb554982a33bcd4a1e168f6c4e26d0b85dd | [
"Apache-2.0"
] | 1 | 2021-01-08T05:30:14.000Z | 2021-01-08T05:30:14.000Z | src/Entities/Pickup.cpp | skpub/cuberite | c2f8ceb554982a33bcd4a1e168f6c4e26d0b85dd | [
"Apache-2.0"
] | null | null | null | src/Entities/Pickup.cpp | skpub/cuberite | c2f8ceb554982a33bcd4a1e168f6c4e26d0b85dd | [
"Apache-2.0"
] | null | null | null |
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#ifndef _WIN32
#include <cstdlib>
#endif
#include "Pickup.h"
#include "Player.h"
#include "../ClientHandle.h"
#include "../World.h"
#include "../Server.h"
#include "../Bindings/PluginManager.h"
#include "../Root.h"
#includ... | 25.230483 | 138 | 0.685281 | skpub |
4b064111b96ab93e3cbe1d7147fcaa5a50453929 | 3,162 | cc | C++ | chrome/browser/chromeos/login/user_manager.cc | iplo/Chain | 8bc8943d66285d5258fffc41bed7c840516c4422 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | chrome/browser/chromeos/login/user_manager.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2017-02-14T21:55:58.000Z | 2017-02-14T21:55:58.000Z | chrome/browser/chromeos/login/user_manager.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright (c) 2012 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/login/user_manager.h"
#include "base/command_line.h"
#include "chrome/browser/chromeos/login/user_manager_impl.h"
#... | 25.095238 | 81 | 0.742568 | iplo |
4b06a69d9beeccdb46427de28cba0328dce0e321 | 2,248 | cpp | C++ | runtime/utilities/linux/timer_util.cpp | PTS93/compute-runtime | 0655045c7962d551e29008547a802e398b646c6e | [
"MIT"
] | null | null | null | runtime/utilities/linux/timer_util.cpp | PTS93/compute-runtime | 0655045c7962d551e29008547a802e398b646c6e | [
"MIT"
] | null | null | null | runtime/utilities/linux/timer_util.cpp | PTS93/compute-runtime | 0655045c7962d551e29008547a802e398b646c6e | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017-2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include <chrono>
#include "runtime/utilities/timer_util.h"
namespace OCLRT {
class Timer::TimerImpl {
public:
TimerImpl() {
}
~TimerImpl() {
}
void start() {
*((std::chrono::high_resolution_clo... | 23.175258 | 276 | 0.644573 | PTS93 |
4b0a357f3cdf01b2cf490c32d4a6d045741a82fe | 2,147 | cpp | C++ | argos3/src/plugins/simulator/entities/magnet_entity.cpp | yiftachn/krembot_sim_fork | d3d1b050f9fff4c96bded298eadde5a9ca4dab6b | [
"MIT"
] | 211 | 2015-01-27T20:16:40.000Z | 2022-02-25T03:11:13.000Z | argos3/src/plugins/simulator/entities/magnet_entity.cpp | yiftachn/krembot_sim_fork | d3d1b050f9fff4c96bded298eadde5a9ca4dab6b | [
"MIT"
] | 154 | 2015-02-09T20:32:38.000Z | 2022-03-30T21:35:24.000Z | argos3/src/plugins/simulator/entities/magnet_entity.cpp | yiftachn/krembot_sim_fork | d3d1b050f9fff4c96bded298eadde5a9ca4dab6b | [
"MIT"
] | 128 | 2015-02-09T10:21:49.000Z | 2022-03-31T22:24:51.000Z | /**
* @file <argos3/plugins/simulator/entities/magnet_entity.cpp>
*
* @author Michael Allwright - <allsey87@gmail.com>
*/
#include "magnet_entity.h"
#include <argos3/core/simulator/space/space.h>
namespace argos {
/****************************************/
/****************************************/
CMa... | 32.044776 | 91 | 0.488589 | yiftachn |
4b0cfec8322c54aa2c7c5b47ca674d6a246b1d98 | 6,489 | cpp | C++ | ngraph/test/type_prop/roi_pooling.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 1 | 2022-01-19T15:36:45.000Z | 2022-01-19T15:36:45.000Z | ngraph/test/type_prop/roi_pooling.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 22 | 2021-02-03T12:41:51.000Z | 2022-02-21T13:04:48.000Z | ngraph/test/type_prop/roi_pooling.cpp | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | //*****************************************************************************
// Copyright 2017-2021 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 47.364964 | 99 | 0.685468 | Andruxin52rus |
4b0deaa8c83cca315c67e6c842cb71a34a4e0fc2 | 1,635 | hpp | C++ | include/IBL.hpp | akoylasar/PBR | 17e6197fb5357220e2f1454898a18f8890844d4d | [
"MIT"
] | null | null | null | include/IBL.hpp | akoylasar/PBR | 17e6197fb5357220e2f1454898a18f8890844d4d | [
"MIT"
] | null | null | null | include/IBL.hpp | akoylasar/PBR | 17e6197fb5357220e2f1454898a18f8890844d4d | [
"MIT"
] | null | null | null | /*
* Copyright (c) Fouad Valadbeigi (akoylasar@gmail.com) */
#pragma once
#include <atomic>
#include "ShaderProgram.hpp"
#include "Mesh.hpp"
#include "Camera.hpp"
namespace Akoylasar
{
class IBLScene
{
private:
struct ImageData
{
int width, height;
float* image;
};
p... | 27.25 | 61 | 0.598165 | akoylasar |
4b0fa520e169bb57eabe192ad4ed5047ba25b9de | 13,411 | hpp | C++ | hpx/components/dataflow/server/detail/preprocessed/apply_helper_15.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | hpx/components/dataflow/server/detail/preprocessed/apply_helper_15.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | hpx/components/dataflow/server/detail/preprocessed/apply_helper_15.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2013 Hartmut Kaiser
// Copyright (c) 2012-2013 Thomas Heller
//
// 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)
// This file has been automatically generated using the Boost.Wave tool.
// Do n... | 41.138037 | 663 | 0.513757 | Titzi90 |
4b114167c43fdfb8fc70dc66e81bbed3244fbfe7 | 31,984 | cc | C++ | test/cpp/microbenchmarks/bm_call_create.cc | galihputera/grpc | 36cbed1ef53bbd4374acb646005cefedbb4f180e | [
"Apache-2.0"
] | 3 | 2020-11-30T15:35:37.000Z | 2022-01-06T14:17:18.000Z | test/cpp/microbenchmarks/bm_call_create.cc | galihputera/grpc | 36cbed1ef53bbd4374acb646005cefedbb4f180e | [
"Apache-2.0"
] | 54 | 2020-06-23T17:34:04.000Z | 2022-03-31T02:04:06.000Z | test/cpp/microbenchmarks/bm_call_create.cc | galihputera/grpc | 36cbed1ef53bbd4374acb646005cefedbb4f180e | [
"Apache-2.0"
] | 12 | 2020-07-14T23:59:57.000Z | 2022-03-22T09:59:18.000Z | /*
*
* Copyright 2017 gRPC authors.
*
* 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 agree... | 38.304192 | 80 | 0.701507 | galihputera |
4b11447dea74b4fcc11c0df6a512374e8d9790fc | 294 | cpp | C++ | Dataset/Leetcode/valid/94/341.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/valid/94/341.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/valid/94/341.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> res;
vector<int> XXX(TreeNode* root) {
order(root);
return res;
}
void order(TreeNode* root){
if(root==NULL)return;
order(root->left);
res.push_back(root->val);
order(root->right);
}
};
| 17.294118 | 37 | 0.530612 | kkcookies99 |
4b14fb3862d837d31edfa96e146f6e4fe20b1350 | 5,212 | cpp | C++ | libOTe/NChooseOne/RR17/Rr17NcoOtSender.cpp | WeDPR-Team/libOTe | 9dc5edb16085f70211e196046fd670812ad7aa46 | [
"Unlicense"
] | 241 | 2016-11-06T18:23:48.000Z | 2022-03-28T06:25:05.000Z | libOTe/NChooseOne/RR17/Rr17NcoOtSender.cpp | WeDPR-Team/libOTe | 9dc5edb16085f70211e196046fd670812ad7aa46 | [
"Unlicense"
] | 58 | 2016-11-18T17:21:26.000Z | 2022-03-15T03:31:06.000Z | libOTe/NChooseOne/RR17/Rr17NcoOtSender.cpp | WeDPR-Team/libOTe | 9dc5edb16085f70211e196046fd670812ad7aa46 | [
"Unlicense"
] | 88 | 2016-12-10T02:55:34.000Z | 2022-03-28T07:22:20.000Z | #include "Rr17NcoOtSender.h"
#ifdef ENABLE_RR
#include <cryptoTools/Network/Channel.h>
#include <cryptoTools/Crypto/RandomOracle.h>
namespace osuCrypto
{
bool Rr17NcoOtSender::hasBaseOts() const
{
return mKos.hasBaseOts();
}
void Rr17NcoOtSender::setBaseOts(
span<block... | 30.302326 | 107 | 0.507675 | WeDPR-Team |
4b15ce21d680717ea38a9fd013db35301e26d0dd | 3,889 | cpp | C++ | src/ofxMSATFVizUtils.cpp | marcel303/ofxMSATensorFlow | 512a6e9a929e397c0bddf8bf86ea7521a22dd593 | [
"Apache-2.0"
] | 481 | 2016-01-28T22:05:07.000Z | 2022-03-07T23:29:10.000Z | src/ofxMSATFVizUtils.cpp | marcel303/ofxMSATensorFlow | 512a6e9a929e397c0bddf8bf86ea7521a22dd593 | [
"Apache-2.0"
] | 37 | 2016-01-29T02:18:33.000Z | 2020-03-24T17:36:05.000Z | src/ofxMSATFVizUtils.cpp | marcel303/ofxMSATensorFlow | 512a6e9a929e397c0bddf8bf86ea7521a22dd593 | [
"Apache-2.0"
] | 110 | 2016-01-29T14:00:39.000Z | 2020-11-22T14:20:56.000Z | #include "ofxMSATFVizUtils.h"
namespace msa {
namespace tf {
//--------------------------------------------------------------
void draw_probs(const vector<float>& probs, const ofRectangle& rect, const ofColor& lo_color, const ofColor& hi_color) {
if(probs.size() == 0) return;
ofPushStyle();
ofFill();
... | 33.525862 | 128 | 0.550527 | marcel303 |
4b15d17d657d703df026f546d043f6fb214db561 | 9,891 | cpp | C++ | Siv3D/src/Siv3D/Script/Bind/Script_Quad.cpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 7 | 2020-04-26T11:06:02.000Z | 2021-09-05T16:42:31.000Z | Siv3D/src/Siv3D/Script/Bind/Script_Quad.cpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 10 | 2020-04-26T13:25:36.000Z | 2022-03-01T12:34:44.000Z | Siv3D/src/Siv3D/Script/Bind/Script_Quad.cpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 2 | 2020-05-11T08:23:23.000Z | 2020-08-08T12:33:30.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/Script.hpp>
# include <Siv3D/... | 91.583333 | 291 | 0.728339 | yumetodo |
4b168abca6d6b91b085d33610f1ec0fc1f5adf5f | 789 | cpp | C++ | LeetCode/17_Letter_Combinations_of_a_Phone_Number/main.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 1 | 2020-07-08T23:16:19.000Z | 2020-07-08T23:16:19.000Z | LeetCode/17_Letter_Combinations_of_a_Phone_Number/main.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 1 | 2020-05-16T03:12:24.000Z | 2020-05-16T03:14:42.000Z | LeetCode/17_Letter_Combinations_of_a_Phone_Number/main.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 2 | 2020-05-16T03:25:16.000Z | 2021-02-10T16:51:25.000Z | class Solution {
private:
string arr[10] = {"", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz"};
public:
vector<string> letterCombinations(string digits) {
if (!digits.size()) return {};
vector<string> tmp;
for (int i = 0; i < arr[digits[0]-'0'].size(); i++) {
s... | 32.875 | 88 | 0.422053 | sungmen |
4b175e77903ba8ceaba5b44085d747c6b8ab0d18 | 16,189 | cpp | C++ | core_test/file_test.cpp | granitepenguin/wwiv | 30669b21f45c5f534014a251f55568c86904f87e | [
"Apache-2.0"
] | null | null | null | core_test/file_test.cpp | granitepenguin/wwiv | 30669b21f45c5f534014a251f55568c86904f87e | [
"Apache-2.0"
] | null | null | null | core_test/file_test.cpp | granitepenguin/wwiv | 30669b21f45c5f534014a251f55568c86904f87e | [
"Apache-2.0"
] | null | null | null | /**************************************************************************/
/* */
/* WWIV Version 5.x */
/* Copyright (C)2014-2021, WWIV Software Services */
/* ... | 32.313373 | 96 | 0.67132 | granitepenguin |
4b19207b80c7c3b104d61c04d0349239dc12b74f | 16,732 | cpp | C++ | obs-studio/UI/api-interface.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | obs-studio/UI/api-interface.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | obs-studio/UI/api-interface.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | #include <obs-frontend-internal.hpp>
#include "obs-app.hpp"
#include "qt-wrappers.hpp"
#include "window-basic-main.hpp"
#include "window-basic-main-outputs.hpp"
#include <functional>
using namespace std;
Q_DECLARE_METATYPE(OBSScene);
Q_DECLARE_METATYPE(OBSSource);
template<typename T> static T GetOBSRef(QListWidget... | 25.085457 | 79 | 0.725795 | noelemahcz |
4b1bcd262ffccd0c65e429860aedd84411df8637 | 6,881 | hpp | C++ | hot/lib/hot/rowex/include/hot/rowex/HOTRowexInsertStack.hpp | jyizheng/hydralist | 910dad17eab4815057e3ea3e46b02f6ce45d7e46 | [
"Apache-2.0"
] | 99 | 2018-03-23T11:08:48.000Z | 2022-03-03T10:03:35.000Z | libs/hot/rowex/include/hot/rowex/HOTRowexInsertStack.hpp | SheldonZhong/hot | ec29331ecb4b0d5381b90d5b45ce2319b7cfeff0 | [
"ISC"
] | 3 | 2018-12-18T19:00:04.000Z | 2021-09-07T13:05:36.000Z | libs/hot/rowex/include/hot/rowex/HOTRowexInsertStack.hpp | SheldonZhong/hot | ec29331ecb4b0d5381b90d5b45ce2319b7cfeff0 | [
"ISC"
] | 29 | 2018-06-03T07:56:35.000Z | 2022-03-04T07:31:50.000Z | #ifndef __HOT__ROWEX__INSERT_STACK__
#define __HOT__ROWEX__INSERT_STACK__
#include <stdio.h>
#include <execinfo.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
#include <hot/commons/InsertInformation.hpp>
#include <hot/commons/DiscriminativeBit.hpp>
#include <idx/contenthelpers/OptionalValue.hpp>
#inc... | 44.108974 | 198 | 0.775323 | jyizheng |
4b1c7a50340290b1732b7ba23d42e22aa3bfa412 | 15,323 | cpp | C++ | src/uti_image/ImVis/Vino_Geom.cpp | lusul/micmac | ebcdde13316e1be38bb468acf3f1aca7509d9c0f | [
"CECILL-B"
] | null | null | null | src/uti_image/ImVis/Vino_Geom.cpp | lusul/micmac | ebcdde13316e1be38bb468acf3f1aca7509d9c0f | [
"CECILL-B"
] | null | null | null | src/uti_image/ImVis/Vino_Geom.cpp | lusul/micmac | ebcdde13316e1be38bb468acf3f1aca7509d9c0f | [
"CECILL-B"
] | 2 | 2020-06-13T15:07:21.000Z | 2021-04-09T07:01:45.000Z | /*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : Marc Pierrot Deseilligny
Contributors : Gregoire Maille... | 30.22288 | 117 | 0.555178 | lusul |
4b1cdc9df3a72b0d80475a1ee0c1d86842c1956c | 2,591 | cpp | C++ | src/cpp/lib/QtWidgets/QCheckBox/qcheckbox_wrap.cpp | pepf/nodegui | 9e667c7a86f974dd792370d247e03f7ab9817ae5 | [
"MIT"
] | 1 | 2019-10-31T08:17:44.000Z | 2019-10-31T08:17:44.000Z | src/cpp/lib/QtWidgets/QCheckBox/qcheckbox_wrap.cpp | semonec/nodegui | cd7906710af3e8420bb3b7d275f47fe4fa074e37 | [
"MIT"
] | null | null | null | src/cpp/lib/QtWidgets/QCheckBox/qcheckbox_wrap.cpp | semonec/nodegui | cd7906710af3e8420bb3b7d275f47fe4fa074e37 | [
"MIT"
] | null | null | null | #include "QtWidgets/QCheckBox/qcheckbox_wrap.h"
#include <QWidget>
#include "Extras/Utils/nutils.h"
#include "QtWidgets/QWidget/qwidget_wrap.h"
Napi::FunctionReference QCheckBoxWrap::constructor;
Napi::Object QCheckBoxWrap::init(Napi::Env env, Napi::Object exports) {
Napi::HandleScope scope(env);
char CLASSNAME... | 34.092105 | 79 | 0.689309 | pepf |
4b1ce010c0ea5af29c7a43cf4c939ef4ebef72e7 | 6,503 | cpp | C++ | ngraph/core/src/op/experimental_detectron_detection_output.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | null | null | null | ngraph/core/src/op/experimental_detectron_detection_output.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 21 | 2021-02-16T13:02:05.000Z | 2022-02-21T13:05:06.000Z | ngraph/core/src/op/experimental_detectron_detection_output.cpp | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | //*****************************************************************************
// Copyright 2017-2021 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 42.227273 | 100 | 0.61956 | Andruxin52rus |
4b1e5b0d078941831423c5bcb5ad41c652533fad | 350 | cc | C++ | CondFormats/ESObjects/src/ESADCToGeVConstant.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | CondFormats/ESObjects/src/ESADCToGeVConstant.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | CondFormats/ESObjects/src/ESADCToGeVConstant.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "CondFormats/ESObjects/interface/ESADCToGeVConstant.h"
ESADCToGeVConstant::ESADCToGeVConstant() {
ESvaluelow_ = 0.;
ESvaluehigh_ = 0.;
}
ESADCToGeVConstant::ESADCToGeVConstant(const float& ESvaluelow, const float& ESvaluehigh) {
ESvaluelow_ = ESvaluelow;
ESvaluehigh_ = ESvaluehigh;
}
ESADCToGeVConst... | 25 | 91 | 0.78 | ckamtsikis |
4b2176f5611655802ee21623825f55cf2b60034a | 29,390 | cpp | C++ | test/test_serdes.cpp | DarrenLevine/cppserdes | 5078cc111f1eda67623d5a4e74a7e703ca19f3a2 | [
"MIT"
] | 77 | 2021-07-04T03:00:08.000Z | 2022-03-14T14:41:14.000Z | test/test_serdes.cpp | DarrenLevine/cppserdes | 5078cc111f1eda67623d5a4e74a7e703ca19f3a2 | [
"MIT"
] | null | null | null | test/test_serdes.cpp | DarrenLevine/cppserdes | 5078cc111f1eda67623d5a4e74a7e703ca19f3a2 | [
"MIT"
] | null | null | null | #include "../test/test_utilities.h"
static void test_variable_arrays()
{
using test_array_t = serdes::array<uint8_t, uint8_t>;
{
uint8_t length = 3;
uint8_t array[] = {0xAB, 0xCD, 0xEF, 0x12, 0x23};
uint16_t serial_data[4] = {};
serdes::packet(serial_data) << test_array_t(array,... | 37.535121 | 164 | 0.62477 | DarrenLevine |
4b25a0d307f323ac05a126fdfcf48e144c15bd59 | 1,350 | hpp | C++ | include/Core/CastorUtils/Graphics/PixelDefinitions.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 245 | 2015-10-29T14:31:45.000Z | 2022-03-31T13:04:45.000Z | include/Core/CastorUtils/Graphics/PixelDefinitions.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 64 | 2016-03-11T19:45:05.000Z | 2022-03-31T23:58:33.000Z | include/Core/CastorUtils/Graphics/PixelDefinitions.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 11 | 2018-05-24T09:07:43.000Z | 2022-03-21T21:05:20.000Z | /*
See LICENSE file in root folder
*/
#ifndef ___CU_PixelDefinitions___
#define ___CU_PixelDefinitions___
#include "CastorUtils/Graphics/GraphicsModule.hpp"
#include "CastorUtils/Graphics/Size.hpp"
#include "CastorUtils/Exception/Exception.hpp"
#include <ashes/common/Format.hpp>
#include <vector>
#include <algorith... | 25.961538 | 95 | 0.742963 | Mu-L |
4b2611bac7f2b8baaa14d1ae191c843e6a27c708 | 30,627 | cc | C++ | mindspore/ccsrc/runtime/framework/actor/data_prepare_actor.cc | Greatpanc/mindspore_zhb | c2511f7d6815b9232ac4427e27e2c132ed03e0d9 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/runtime/framework/actor/data_prepare_actor.cc | Greatpanc/mindspore_zhb | c2511f7d6815b9232ac4427e27e2c132ed03e0d9 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/runtime/framework/actor/data_prepare_actor.cc | Greatpanc/mindspore_zhb | c2511f7d6815b9232ac4427e27e2c132ed03e0d9 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 47.191063 | 119 | 0.69282 | Greatpanc |
4b27988a3d9f47591049cde3485374aa9f174ef8 | 582 | cpp | C++ | unit_tests/os_interface/linux/performance_counters_linux_tests.cpp | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | unit_tests/os_interface/linux/performance_counters_linux_tests.cpp | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | unit_tests/os_interface/linux/performance_counters_linux_tests.cpp | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "unit_tests/os_interface/linux/mock_performance_counters_linux.h"
#include "unit_tests/os_interface/mock_performance_counters.h"
#include "gtest/gtest.h"
using namespace NEO;
struct PerformanceCountersLinuxTest : publ... | 23.28 | 74 | 0.685567 | FelipeMLopez |
4b27de98c223c3cdb5253bfe84ac9db2d7fc6c7a | 39,851 | cpp | C++ | src/core/geometry/qgscircularstring.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/core/geometry/qgscircularstring.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/core/geometry/qgscircularstring.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | /***************************************************************************
qgscircularstring.cpp
-----------------------
begin : September 2014
copyright : (C) 2014 by Marco Hugentobler
email : marco at sourcepole d... | 27.635922 | 159 | 0.597651 | dyna-mis |
4b283e8e4baa4c1aebeb34debcde0bc22875d121 | 119,443 | cpp | C++ | module/mpc-be/SRC/src/ExtLib/MediaInfo/MediaInfo/Multiple/File__ReferenceFilesHelper.cpp | 1aq/PBox | 67ced599ee36ceaff097c6584f8100cf96006dfe | [
"MIT"
] | null | null | null | module/mpc-be/SRC/src/ExtLib/MediaInfo/MediaInfo/Multiple/File__ReferenceFilesHelper.cpp | 1aq/PBox | 67ced599ee36ceaff097c6584f8100cf96006dfe | [
"MIT"
] | null | null | null | module/mpc-be/SRC/src/ExtLib/MediaInfo/MediaInfo/Multiple/File__ReferenceFilesHelper.cpp | 1aq/PBox | 67ced599ee36ceaff097c6584f8100cf96006dfe | [
"MIT"
] | null | null | null | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
// Pre-compilation
#include "Medi... | 55.297685 | 428 | 0.55619 | 1aq |
4b294c2ca826712213d40fcdb61ea4098757f26d | 1,513 | cpp | C++ | Codeforces/Little Elephant and Magic Square/file4.cpp | s1nisteR/CPSolutions | b840f1f1c7283b4bb581d1d5d54c27a828f5601d | [
"MIT"
] | 1 | 2022-02-05T10:54:11.000Z | 2022-02-05T10:54:11.000Z | Codeforces/Little Elephant and Magic Square/file4.cpp | s1nisteR/CPSolutions | b840f1f1c7283b4bb581d1d5d54c27a828f5601d | [
"MIT"
] | null | null | null | Codeforces/Little Elephant and Magic Square/file4.cpp | s1nisteR/CPSolutions | b840f1f1c7283b4bb581d1d5d54c27a828f5601d | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <set>
#include <functional>
#include <numeric>
#include <utility>
#include <limits>
#include <t... | 16.626374 | 68 | 0.498348 | s1nisteR |
4b299dd739293cdb1eb1478eed6dade5cdc8a7eb | 115,357 | cpp | C++ | kernel/tr/xqp/lr2por/lr2por.cpp | TonnyRed/sedna | 06ff5a13a16f2d820d3cf0ce579df23f03a59eda | [
"ECL-2.0",
"Apache-2.0"
] | 14 | 2015-09-06T10:17:02.000Z | 2021-12-14T22:39:25.000Z | kernel/tr/xqp/lr2por/lr2por.cpp | TonnyRed/sedna | 06ff5a13a16f2d820d3cf0ce579df23f03a59eda | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-02-15T22:02:14.000Z | 2020-02-17T10:30:14.000Z | kernel/tr/xqp/lr2por/lr2por.cpp | TonnyRed/sedna | 06ff5a13a16f2d820d3cf0ce579df23f03a59eda | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-07-23T05:48:20.000Z | 2021-04-11T05:01:39.000Z | /*
* File: lr2por.cpp
* Copyright (C) 2009 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
*/
#include "tr/xqp/lr2por/lr2por.h"
#include "common/errdbg/exceptions.h"
#include "tr/executor/base/dynamic_context.h"
#include "tr/executor/base/PPOperations.h"
#include "tr/executor/fo/o... | 30.485465 | 200 | 0.522604 | TonnyRed |
4b2ff01393557a498e3c78b7a9cd4368ccbf62c0 | 2,641 | cc | C++ | modules/planning/lattice/behavior/scenario_manager.cc | journey-wang/apollo | 912880015d01442ed8fa414a9481f767cd9ea79e | [
"Apache-2.0"
] | 19 | 2018-07-26T03:17:32.000Z | 2021-01-04T02:17:09.000Z | modules/planning/lattice/behavior/scenario_manager.cc | yangyi5678/apollo-2.5.0 | e95bcca8912854a3acc42ec62813614cc5511784 | [
"Apache-2.0"
] | 2 | 2022-01-27T16:14:38.000Z | 2022-02-11T00:10:28.000Z | modules/planning/lattice/behavior/scenario_manager.cc | yangyi5678/apollo-2.5.0 | e95bcca8912854a3acc42ec62813614cc5511784 | [
"Apache-2.0"
] | 10 | 2018-10-17T03:18:16.000Z | 2020-07-02T06:18:14.000Z | /******************************************************************************
* Copyright 2017 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 31.819277 | 79 | 0.617569 | journey-wang |
4b3027f86d5dab223488f15abb084cf4e246cee1 | 1,209 | cpp | C++ | main.cpp | jeanmira/Simulacao-de-Algoritmos-de-Escalonamento | 96c17082c2fc3b47568a568d772d010627574f7f | [
"MIT"
] | null | null | null | main.cpp | jeanmira/Simulacao-de-Algoritmos-de-Escalonamento | 96c17082c2fc3b47568a568d772d010627574f7f | [
"MIT"
] | null | null | null | main.cpp | jeanmira/Simulacao-de-Algoritmos-de-Escalonamento | 96c17082c2fc3b47568a568d772d010627574f7f | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include "escalonamento.h"
#include "entrada.h"
#include "processo.h"
int main()
{
vector<int> dados;
int cont = 0;
// Coloque o nome do arquivo que deseja rodar aqui embaixo
Entrada arquivo("entrada1.txt");
arquivo.retornaMatriz(dados);
// arquivo.imprimi... | 23.25 | 105 | 0.603805 | jeanmira |
4b323c6d711dd132702a039a3a96c18f981a5e6f | 2,141 | hpp | C++ | tledit/source/ColorDeck.hpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | tledit/source/ColorDeck.hpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | 3 | 2020-12-11T10:01:27.000Z | 2022-02-13T22:12:05.000Z | tledit/source/ColorDeck.hpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | #ifndef __COLOR__DECK__HPP__
#define __COLOR__DECK__HPP__
#include "Color.hpp"
#include <sstream>
#include <unordered_map>
struct Coordinate {
short x, y;
bool operator==(Coordinate const &second) const {
return ((x == second.x) && (y == second.y));
}
Coordinate(short x, short y) : x(x),... | 25.488095 | 81 | 0.668379 | 1pkg |
4b32426e17553d14d1bf8e3bf03e0b263093c1d0 | 19,548 | hpp | C++ | src/ngraph/op/constant.hpp | dkurt/ngraph | b2da4cee06e01daa08d8f0527a1a45b8371ac345 | [
"Apache-2.0"
] | null | null | null | src/ngraph/op/constant.hpp | dkurt/ngraph | b2da4cee06e01daa08d8f0527a1a45b8371ac345 | [
"Apache-2.0"
] | null | null | null | src/ngraph/op/constant.hpp | dkurt/ngraph | b2da4cee06e01daa08d8f0527a1a45b8371ac345 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 45.25 | 100 | 0.462861 | dkurt |
4b32661c809d34e2d2d1bfd201bfc29ce10d9461 | 2,650 | hpp | C++ | libcaf_io/caf/io/accept_handle.hpp | v2nero/actor-framework | c2f811809143d32c598471a20363238b0882a761 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2020-07-16T19:01:52.000Z | 2020-07-16T19:01:52.000Z | libcaf_io/caf/io/accept_handle.hpp | Boubou818/actor-framework | da90ef78b26da5d225f039072e616da415c48494 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_io/caf/io/accept_handle.hpp | Boubou818/actor-framework | da90ef78b26da5d225f039072e616da415c48494 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2021-02-19T11:25:15.000Z | 2021-02-19T11:25:15.000Z | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 31.927711 | 80 | 0.475094 | v2nero |
4b3477de9c54b5151e943f048543aaa4f45f6ddf | 4,935 | cpp | C++ | src/brpc/builtin/get_js_service.cpp | wu-hanqing/incubator-brpc | 7de0d7eaf6fca2b73b9f6018eb1b9128ce0a8f21 | [
"Apache-2.0"
] | 5,379 | 2019-03-02T14:35:09.000Z | 2022-03-31T14:19:19.000Z | src/brpc/builtin/get_js_service.cpp | RichPure/incubator-brpc | 846f7998799dd3c9103ef743fecc3c75d6dcb7ef | [
"BSL-1.0",
"Apache-2.0"
] | 921 | 2019-03-02T00:57:34.000Z | 2022-03-30T08:58:23.000Z | src/brpc/builtin/get_js_service.cpp | RichPure/incubator-brpc | 846f7998799dd3c9103ef743fecc3c75d6dcb7ef | [
"BSL-1.0",
"Apache-2.0"
] | 1,641 | 2019-03-02T06:53:17.000Z | 2022-03-31T11:35:07.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 37.105263 | 72 | 0.682675 | wu-hanqing |
4b34dc1ec698372f6d448ae9c507596a6dd84ed0 | 7,444 | cpp | C++ | third-party/luabind/src/object_rep.cpp | wangfeilong321/vr-jugglua | 5dbefe4c32dd3ddf498dab555373b767c3464df4 | [
"BSL-1.0"
] | 7 | 2015-03-28T04:24:48.000Z | 2021-07-16T06:17:31.000Z | third-party/luabind/src/object_rep.cpp | vancegroup/vr-jugglua | 5dbefe4c32dd3ddf498dab555373b767c3464df4 | [
"BSL-1.0"
] | null | null | null | third-party/luabind/src/object_rep.cpp | vancegroup/vr-jugglua | 5dbefe4c32dd3ddf498dab555373b767c3464df4 | [
"BSL-1.0"
] | 3 | 2015-06-17T14:43:43.000Z | 2021-07-16T06:17:40.000Z | // Copyright (c) 2003 Daniel Wallin and Arvid Norberg
// 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,... | 27.776119 | 87 | 0.545809 | wangfeilong321 |
4b36f23c207111984be90ca8dd812014be861063 | 366,273 | cpp | C++ | Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_18Table.cpp | 18555851781/FurnitureAR_IOS | dc8df0cbeb2e4ca3da04a85056d5ceac1c698311 | [
"MIT"
] | null | null | null | Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_18Table.cpp | 18555851781/FurnitureAR_IOS | dc8df0cbeb2e4ca3da04a85056d5ceac1c698311 | [
"MIT"
] | null | null | null | Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_18Table.cpp | 18555851781/FurnitureAR_IOS | dc8df0cbeb2e4ca3da04a85056d5ceac1c698311 | [
"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 "il... | 42.555246 | 202 | 0.825802 | 18555851781 |
4b37ee505f887ae97696629db6a1ab2dac87ba57 | 6,834 | cpp | C++ | pytorch_blade/src/compiler/mlir/converters/impl/convolution.cpp | JamesTheZ/BladeDISC | e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34 | [
"Apache-2.0"
] | 328 | 2021-12-20T03:29:35.000Z | 2022-03-31T14:27:23.000Z | pytorch_blade/src/compiler/mlir/converters/impl/convolution.cpp | JamesTheZ/BladeDISC | e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34 | [
"Apache-2.0"
] | 82 | 2021-12-20T09:15:16.000Z | 2022-03-31T09:33:48.000Z | pytorch_blade/src/compiler/mlir/converters/impl/convolution.cpp | JamesTheZ/BladeDISC | e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34 | [
"Apache-2.0"
] | 66 | 2021-12-21T17:28:27.000Z | 2022-03-29T12:08:34.000Z | // Copyright 2021 The BladeDISC Authors. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable l... | 40.43787 | 89 | 0.605648 | JamesTheZ |
4b37f729178d470fc43d058591251d854e2683d2 | 5,321 | cpp | C++ | ofSketchApp/src/Compiler.cpp | brannondorsey/ofSketch | 304f4a6eec010a1f479d64c8bf7f78e7ee5f4769 | [
"MIT"
] | 1 | 2015-06-09T12:10:44.000Z | 2015-06-09T12:10:44.000Z | ofSketchApp/src/Compiler.cpp | brannondorsey/ofSketch | 304f4a6eec010a1f479d64c8bf7f78e7ee5f4769 | [
"MIT"
] | null | null | null | ofSketchApp/src/Compiler.cpp | brannondorsey/ofSketch | 304f4a6eec010a1f479d64c8bf7f78e7ee5f4769 | [
"MIT"
] | null | null | null | // =============================================================================
//
// Copyright (c) 2014 Brannon Dorsey <http://brannondorsey.com>
//
// 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 th... | 33.89172 | 141 | 0.644616 | brannondorsey |
4b38c607e1eb68ba92f742921717d8b793c8e482 | 342 | cpp | C++ | test/verify/aoj-0233.test.cpp | neal2018/library | a19f3b29f3355e32f7e5f6768a7943db48fcdff7 | [
"Unlicense"
] | 127 | 2019-07-22T03:52:01.000Z | 2022-03-11T07:20:21.000Z | test/verify/aoj-0233.test.cpp | neal2018/library | a19f3b29f3355e32f7e5f6768a7943db48fcdff7 | [
"Unlicense"
] | 39 | 2019-09-16T12:04:53.000Z | 2022-03-29T15:43:35.000Z | test/verify/aoj-0233.test.cpp | neal2018/library | a19f3b29f3355e32f7e5f6768a7943db48fcdff7 | [
"Unlicense"
] | 29 | 2019-08-10T11:27:06.000Z | 2022-03-11T07:02:43.000Z | #define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0233"
#include "../../template/template.cpp"
#include "../../math/number-theory/convert-base.cpp"
int main() {
for(;;) {
int X;
cin >> X;
if(X == 0) break;
auto ret = convert_base(X, -10);
for(auto &p : ret) cout << p;
... | 20.117647 | 79 | 0.578947 | neal2018 |
4b39dc3211f40ade615df68cb6ec61a2bdc7bad1 | 11,716 | cc | C++ | test/cpp/interop/stress_test.cc | 4con/grpc-win-xp | 26e73cad8721030ada9b5765bea627376ccaef9e | [
"Apache-2.0"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | test/cpp/interop/stress_test.cc | 4con/grpc-win-xp | 26e73cad8721030ada9b5765bea627376ccaef9e | [
"Apache-2.0"
] | 11 | 2019-06-02T23:50:17.000Z | 2022-02-04T23:58:56.000Z | test/cpp/interop/stress_test.cc | 4con/grpc-win-xp | 26e73cad8721030ada9b5765bea627376ccaef9e | [
"Apache-2.0"
] | 18 | 2018-11-24T10:35:29.000Z | 2021-04-22T07:22:10.000Z | /*
*
* Copyright 2015 gRPC authors.
*
* 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 agree... | 36.958991 | 80 | 0.672414 | 4con |
4b3a2c300c58dc3635aaefed3f327a5001970782 | 4,340 | cc | C++ | topcoder/502/TheProgrammingContestDivOne.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | 1 | 2019-05-12T23:41:00.000Z | 2019-05-12T23:41:00.000Z | topcoder/502/TheProgrammingContestDivOne.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | topcoder/502/TheProgrammingContestDivOne.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#if defined(LOCAL)
#include "prettyprint.h"
#endif
using namespace std;
using vi = vector<int>; using vvi = vector<vi>;
using ii = pair<int,int>; using vii = vector<ii>;
using l = long long; using vl = vector<l>; using vvl = vector<vl>;
using ll = pair<l,l>; using vll = vector<ll>; using vvll... | 48.764045 | 392 | 0.584562 | metaflow |
4b3a4a535b57389080c8265e4207fcec50d643a2 | 268 | hpp | C++ | tests/headers/derive-hash-and-blacklist.hpp | j-channings/rust-bindgen | 56e8cf97c9368e0bc9f20f5f66ca2a3773ab97b3 | [
"BSD-3-Clause"
] | 2 | 2021-10-10T14:41:25.000Z | 2021-10-30T20:58:01.000Z | tests/headers/derive-hash-and-blacklist.hpp | j-channings/rust-bindgen | 56e8cf97c9368e0bc9f20f5f66ca2a3773ab97b3 | [
"BSD-3-Clause"
] | 3 | 2016-05-31T14:38:04.000Z | 2016-07-18T21:18:09.000Z | tests/headers/derive-hash-and-blacklist.hpp | j-channings/rust-bindgen | 56e8cf97c9368e0bc9f20f5f66ca2a3773ab97b3 | [
"BSD-3-Clause"
] | 2 | 2016-05-30T18:46:14.000Z | 2016-06-01T08:14:25.000Z | // bindgen-flags: --with-derive-hash --blacklist-type BlacklistMe --raw-line 'pub struct BlacklistMe(u8);'
struct BlacklistMe {};
/**
* Because this type contains a blacklisted type, it should not derive Hash.
*/
struct ShouldNotDeriveHash {
BlacklistMe a;
};
| 24.363636 | 106 | 0.720149 | j-channings |
4b3a5142b8d5247aaed0a1421975e9c8155fddd5 | 7,508 | cpp | C++ | src/lib/support/logging/CHIPLogging.cpp | mykrupp/connectedhomeip-1 | c6ca8bde66f76fa95b0383e2faa6a67c74cef2c3 | [
"Apache-2.0"
] | 1 | 2022-02-21T08:33:37.000Z | 2022-02-21T08:33:37.000Z | src/lib/support/logging/CHIPLogging.cpp | mykrupp/connectedhomeip-1 | c6ca8bde66f76fa95b0383e2faa6a67c74cef2c3 | [
"Apache-2.0"
] | null | null | null | src/lib/support/logging/CHIPLogging.cpp | mykrupp/connectedhomeip-1 | c6ca8bde66f76fa95b0383e2faa6a67c74cef2c3 | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2020 Project CHIP Authors
* Copyright (c) 2013-2017 Nest Labs, 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.o... | 30.644898 | 116 | 0.552078 | mykrupp |
4b3d19e970e47346c0d4e38ad5b6421170d75206 | 97,741 | cpp | C++ | src/SelbaWard/ConsoleScreen.cpp | Stellaris-code/Rayfun | 2c9e5e2b0cd1636f0a046d6dce0efdce60f094cb | [
"WTFPL"
] | null | null | null | src/SelbaWard/ConsoleScreen.cpp | Stellaris-code/Rayfun | 2c9e5e2b0cd1636f0a046d6dce0efdce60f094cb | [
"WTFPL"
] | null | null | null | src/SelbaWard/ConsoleScreen.cpp | Stellaris-code/Rayfun | 2c9e5e2b0cd1636f0a046d6dce0efdce60f094cb | [
"WTFPL"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
//
// Selba Ward (https://github.com/Hapaxia/SelbaWard)
// --
//
// Console Screen v2
//
// Copyright(c) 2014-2016 M.J.Silk
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be ... | 32.536951 | 196 | 0.669085 | Stellaris-code |
4b3f8cea15522bf113b7a6a32c185670c2566529 | 38,304 | cpp | C++ | cflw代码库/cflw图形_d3d12.cpp | cflw/cflw_cpp | 4d623480ae51b78ed8292fe689197f03aba85b75 | [
"MIT"
] | 9 | 2018-10-18T18:13:14.000Z | 2021-07-21T19:55:56.000Z | cflw代码库/cflw图形_d3d12.cpp | cflw/cflw_cpp | 4d623480ae51b78ed8292fe689197f03aba85b75 | [
"MIT"
] | 1 | 2020-08-18T02:07:09.000Z | 2020-08-19T12:50:55.000Z | cflw代码库/cflw图形_d3d12.cpp | cflw/cflw_cpp | 4d623480ae51b78ed8292fe689197f03aba85b75 | [
"MIT"
] | 1 | 2019-04-22T20:35:04.000Z | 2019-04-22T20:35:04.000Z | #include <D3Dcompiler.h>
#include "cflw图形_d3d12.h"
#include "d3dx12.h"
#include "cflw视窗.h"
#include "cflw辅助.h"
namespace cflw::图形::d3d12 {
D3D12_SHADER_BYTECODE ft着色器字节码(const std::span<const std::byte> &a) {
D3D12_SHADER_BYTECODE v;
v.pShaderBytecode = a.data();
v.BytecodeLength = a.size();
return v;
}
//========... | 28.206186 | 188 | 0.655206 | cflw |
4b4116f052b7dd02fee93ca6fcc1a9a2a53c6382 | 2,016 | cpp | C++ | Xlet.Wallet/lib/Xlet.Targets.M5Stack/src/Network/M5StackBluetoothAdapter.cpp | MattPearce/xlet | e0f64f231e627d0cc52f3c032e66f59a63b2942f | [
"MIT"
] | 3 | 2020-11-29T03:14:36.000Z | 2021-04-14T16:45:46.000Z | Xlet.Wallet/lib/Xlet.Targets.M5Stack/src/Network/M5StackBluetoothAdapter.cpp | MattPearce/xlet | e0f64f231e627d0cc52f3c032e66f59a63b2942f | [
"MIT"
] | 2 | 2020-06-18T18:45:00.000Z | 2020-06-26T08:04:43.000Z | Xlet.Wallet/lib/Xlet.Targets.M5Stack/src/Network/M5StackBluetoothAdapter.cpp | MattPearce/xlet | e0f64f231e627d0cc52f3c032e66f59a63b2942f | [
"MIT"
] | 3 | 2020-11-30T21:04:50.000Z | 2021-05-04T18:14:39.000Z | #include "Network/M5StackBluetoothAdapter.h"
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEServer.h>
#include <BLE2902.h>
#include <sstream>
void M5StackBluetoothAdapter::Initialise()
{
BLEDevice::init("Matt's Xlet Wallet");
m_pServer = BLEDevice::createServer();
}
void M5StackBluetoothAdapter::C... | 33.04918 | 148 | 0.779762 | MattPearce |
4b4253276023e50aee7ffba42fd3e68a124ff64d | 12,388 | cpp | C++ | AFML/src/FocusManager.cpp | rysmith0315/avs-device-sdk | f0fa55856af9e33d0889ac14820efbb807341f17 | [
"Apache-2.0"
] | 1 | 2019-10-22T06:08:20.000Z | 2019-10-22T06:08:20.000Z | AFML/src/FocusManager.cpp | yodaos-project/voice-interface-avs | d01136637f92df952be894bb1869d420889689ac | [
"Apache-2.0"
] | null | null | null | AFML/src/FocusManager.cpp | yodaos-project/voice-interface-avs | d01136637f92df952be894bb1869d420889689ac | [
"Apache-2.0"
] | 1 | 2020-09-30T12:34:56.000Z | 2020-09-30T12:34:56.000Z | /*
* Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "... | 38.116923 | 120 | 0.723926 | rysmith0315 |
4b428913c1bf62e0c145168fdc9fa56b39477fe4 | 6,460 | cpp | C++ | src/Base/GLSceneRenderer.cpp | roto5296/choreonoid | ffe12df8db71e32aea18833afb80dffc42c373d0 | [
"MIT"
] | null | null | null | src/Base/GLSceneRenderer.cpp | roto5296/choreonoid | ffe12df8db71e32aea18833afb80dffc42c373d0 | [
"MIT"
] | null | null | null | src/Base/GLSceneRenderer.cpp | roto5296/choreonoid | ffe12df8db71e32aea18833afb80dffc42c373d0 | [
"MIT"
] | null | null | null | /*!
@file
@author Shin'ichiro Nakaoka
*/
#include "GLSceneRenderer.h"
#include "GL1SceneRenderer.h"
#include "GLSLSceneRenderer.h"
#include "MessageView.h"
#include <cnoid/SceneDrawables>
#include <cnoid/SceneCameras>
#include <cnoid/NullOut>
using namespace std;
using namespace cnoid;
namespace {
int rendererT... | 19.575758 | 112 | 0.652477 | roto5296 |
4b43215c81fd710f889991fae5e4a2e4c60962de | 6,493 | cpp | C++ | examples/collect_devices.cpp | bascloud/BASCloudAPI | 6a06d430720e99204f84f5362b4f22d7d4a72b76 | [
"MIT"
] | 3 | 2021-04-30T07:44:11.000Z | 2021-05-03T06:35:01.000Z | examples/collect_devices.cpp | bascloud/BASCloudAPI | 6a06d430720e99204f84f5362b4f22d7d4a72b76 | [
"MIT"
] | 9 | 2021-06-23T04:21:51.000Z | 2022-01-17T04:15:06.000Z | examples/collect_devices.cpp | bascloud/BAScloudAPI | 6a06d430720e99204f84f5362b4f22d7d4a72b76 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fmt/core.h>
#include <fmt/chrono.h>
#include "EntityContext.h"
#include "error/Exceptions.h"
using namespace BAScloud;
int main (int argc, char *argv[]) {
std::cout << "Initialising library..."<< std::endl;
// For accessing the BAScloud API, a API endpoint URL needs to be de... | 43.286667 | 193 | 0.622209 | bascloud |
4b47330ccbf6553f39f96dcd11c9305ffb2e8983 | 670 | cc | C++ | test/util/memory_output_stream.cc | falk-werner/nv | 7bb2b71de4333466b91b960f1eda822a73c3382e | [
"MIT"
] | null | null | null | test/util/memory_output_stream.cc | falk-werner/nv | 7bb2b71de4333466b91b960f1eda822a73c3382e | [
"MIT"
] | null | null | null | test/util/memory_output_stream.cc | falk-werner/nv | 7bb2b71de4333466b91b960f1eda822a73c3382e | [
"MIT"
] | null | null | null | #include "util/memory_output_stream.hpp"
#include <cstdlib>
#include <stdexcept>
namespace nv_test
{
MemoryOutputStream::MemoryOutputStream()
{
file_ = open_memstream(&buffer_, &size_);
if(nullptr == file_)
{
throw std::runtime_error("open_memstream: failed to create");
}
}
MemoryOutputStre... | 14.255319 | 69 | 0.674627 | falk-werner |
4b49893d630cc05fc2c16283455170333dc20fe4 | 6,763 | cpp | C++ | src/src/RzvUtility.cpp | M-Razavi/CGI-WebUI-Base | 78906c927eb3f4bca61c46deeec354e8d51314e6 | [
"Apache-2.0"
] | 2 | 2017-07-09T21:09:30.000Z | 2021-11-01T08:26:40.000Z | src/src/RzvUtility.cpp | M-Razavi/CGI-WebUI-Base | 78906c927eb3f4bca61c46deeec354e8d51314e6 | [
"Apache-2.0"
] | null | null | null | src/src/RzvUtility.cpp | M-Razavi/CGI-WebUI-Base | 78906c927eb3f4bca61c46deeec354e8d51314e6 | [
"Apache-2.0"
] | null | null | null | /*
* File: RzvUtility.cpp
* Author: Mahdi Razavi...................(Mahdi Razavi@mail.com)
*
* Created on: Jun 23, 2013
* Edit Date :
* Jun 23, 2013
*/
#include <string>
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <algorithm>
... | 27.160643 | 212 | 0.614372 | M-Razavi |
4b4a495559239cde51dcc7cdc25efced80314f68 | 629 | hpp | C++ | simulator/include/marlin/simulator/core/Simulator.hpp | WhiteWalker608/ActionsTest | 41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd | [
"MIT"
] | null | null | null | simulator/include/marlin/simulator/core/Simulator.hpp | WhiteWalker608/ActionsTest | 41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd | [
"MIT"
] | null | null | null | simulator/include/marlin/simulator/core/Simulator.hpp | WhiteWalker608/ActionsTest | 41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd | [
"MIT"
] | 1 | 2020-10-28T07:38:49.000Z | 2020-10-28T07:38:49.000Z | #ifndef MARLIN_SIMULATOR_CORE_SIMULATOR_HPP
#define MARLIN_SIMULATOR_CORE_SIMULATOR_HPP
#include "marlin/simulator/core/EventQueue.hpp"
namespace marlin {
namespace simulator {
class Simulator {
public:
// Add a singleton simulator
// Intended to be used similar to uv_default_loop()
static Simulator default_inst... | 20.966667 | 60 | 0.783784 | WhiteWalker608 |
4b4bc240656b4d1f4dd6632b3968b0c481a44128 | 1,507 | cpp | C++ | src/Message.cpp | pawREP/ZHM5A_TraceSink | ce4c16f1b24198c1c8276573c3d2cb3e1cca565c | [
"MIT"
] | 1 | 2020-04-27T00:03:22.000Z | 2020-04-27T00:03:22.000Z | src/Message.cpp | pawREP/ZHM5A_TraceSink | ce4c16f1b24198c1c8276573c3d2cb3e1cca565c | [
"MIT"
] | null | null | null | src/Message.cpp | pawREP/ZHM5A_TraceSink | ce4c16f1b24198c1c8276573c3d2cb3e1cca565c | [
"MIT"
] | null | null | null | #include "Message.h"
#include <algorithm>
void MessageView::tokenizeMessage(const std::string_view& msg, std::vector<std::string_view>& tokens) {
auto beg = 0;
while (true) {
auto end = msg.find_first_of("\n", beg);
if (end == msg.npos)
break;
if (end != beg)
t... | 28.433962 | 103 | 0.621102 | pawREP |
4b5080f46c923f50d0737f4094ada30781c7d15f | 1,524 | cpp | C++ | samples/Batch/wiring/validator/validator.cpp | Grackins/tps | facfc00671845d68736614aece4af7ef49752acf | [
"MIT"
] | 30 | 2018-02-12T10:22:26.000Z | 2022-03-11T11:25:36.000Z | samples/Batch/wiring/validator/validator.cpp | Grackins/tps | facfc00671845d68736614aece4af7ef49752acf | [
"MIT"
] | 10 | 2021-02-02T11:28:58.000Z | 2021-12-23T07:42:16.000Z | samples/Batch/wiring/validator/validator.cpp | ioi-2022/tps | d94db2401f48a4185c2aa7c0723f4e9c803c8267 | [
"MIT"
] | 10 | 2019-01-13T07:01:46.000Z | 2022-03-16T03:26:36.000Z | #include "testlib.h"
#include <iostream>
using namespace std;
const int MAXN = 100000;
const int MAXX = 1000000000;
enum Color {RED, BLUE};
struct Point
{
int x;
Color color;
bool operator <(const Point &p) const { return x < p.x; }
};
static const string input_secret = "071e691ce5776974f655a51... | 27.214286 | 209 | 0.596457 | Grackins |
4b5369692bc70a399c082154709d4c73ea2d9ecc | 1,779 | hpp | C++ | src/yawpitchdist.hpp | degarashi/frea | bb598245c2ab710cc816e98d7361e5863af5fd7e | [
"MIT"
] | null | null | null | src/yawpitchdist.hpp | degarashi/frea | bb598245c2ab710cc816e98d7361e5863af5fd7e | [
"MIT"
] | null | null | null | src/yawpitchdist.hpp | degarashi/frea | bb598245c2ab710cc816e98d7361e5863af5fd7e | [
"MIT"
] | null | null | null | #pragma once
#include "quaternion.hpp"
namespace frea {
template <class T>
struct YawPitchDist : lubee::op::Ne<YawPitchDist<T>> {
using Rad = Radian<T>;
using Vec3 = Vec_t<T,3,true>;
using Quat = QuatT<T,true>;
Rad yaw, pitch;
T distance;
template <class Ar, class T2>
friend void serialize(Ar&, YawP... | 27.369231 | 92 | 0.621698 | degarashi |
4b53a720e4c8b913813f41042bc92d0d9e1b438c | 1,768 | cpp | C++ | libs/local_function/test/same_line.cpp | jmuskaan72/Boost | 047e36c01841a8cd6a5c74d4e3034da46e327bc1 | [
"BSL-1.0"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | libs/local_function/test/same_line.cpp | xiaoliang2121/Boost | fc90c3fde129c62565c023f091eddc4a7ed9902b | [
"BSL-1.0"
] | 4 | 2015-03-19T08:23:23.000Z | 2019-06-24T07:48:47.000Z | libs/local_function/test/same_line.cpp | xiaoliang2121/Boost | fc90c3fde129c62565c023f091eddc4a7ed9902b | [
"BSL-1.0"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z |
// Copyright (C) 2009-2012 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0
// (see accompanying file LICENSE_1_0.txt or a copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Home at http://www.boost.org/libs/local_function
#include <boost/config.hpp>
#ifdef BOOST_NO_VARIADIC_MACR... | 30.482759 | 79 | 0.658937 | jmuskaan72 |
4b541c397fdd621a94e3dee619e00f18b15cfdd4 | 5,933 | cpp | C++ | src/config.cpp | Calinou/vkBasalt | ebaa75f19df5cdb1cf8f6bb0b93a49186a1895e9 | [
"Zlib"
] | null | null | null | src/config.cpp | Calinou/vkBasalt | ebaa75f19df5cdb1cf8f6bb0b93a49186a1895e9 | [
"Zlib"
] | null | null | null | src/config.cpp | Calinou/vkBasalt | ebaa75f19df5cdb1cf8f6bb0b93a49186a1895e9 | [
"Zlib"
] | null | null | null | #include "config.hpp"
#include <sstream>
#include <locale>
namespace vkBasalt
{
Config::Config()
{
// Custom config file path
const char* tmpConfEnv = std::getenv("VKBASALT_CONFIG_FILE");
std::string customConfigFile = tmpConfEnv ? std::string(tmpConfEnv) : "";
// User c... | 30.582474 | 124 | 0.471937 | Calinou |
4b56b294901ff9ebdab099daba4af993584c3f0c | 1,872 | hpp | C++ | Sources/Engine/Framebuffer/Framebuffer.hpp | ValentinCamus/GIR-Engine | 1aa8f6d44f65a00bc19e932ecd5ce98136015ee0 | [
"MIT"
] | 4 | 2020-01-21T14:51:29.000Z | 2020-02-26T17:02:40.000Z | Sources/Engine/Framebuffer/Framebuffer.hpp | ValentinCamus/GIR-Engine | 1aa8f6d44f65a00bc19e932ecd5ce98136015ee0 | [
"MIT"
] | null | null | null | Sources/Engine/Framebuffer/Framebuffer.hpp | ValentinCamus/GIR-Engine | 1aa8f6d44f65a00bc19e932ecd5ce98136015ee0 | [
"MIT"
] | 3 | 2020-02-18T10:55:46.000Z | 2021-11-14T12:02:44.000Z | #pragma once
#include <Core/Core.hpp>
#include <Engine/Component/OpenGLComponent.hpp>
#include <Engine/Texture/Texture.hpp>
namespace gir
{
class Framebuffer : public OpenGLComponent
{
public:
/// Constructor.
explicit Framebuffer(const std::string& name);
/// Destructor.
... | 31.728814 | 106 | 0.653846 | ValentinCamus |
4b56cae18e1ba670303be35b1a01918842e58ef4 | 2,398 | cpp | C++ | 3.7.0/lldb-3.7.0.src/tools/debugserver/source/DNBArch.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 3 | 2016-02-10T14:18:40.000Z | 2018-02-05T03:15:56.000Z | 3.7.0/lldb-3.7.0.src/tools/debugserver/source/DNBArch.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 1 | 2016-02-10T15:40:03.000Z | 2016-02-10T15:40:03.000Z | 3.7.0/lldb-3.7.0.src/tools/debugserver/source/DNBArch.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | null | null | null | //===-- DNBArch.cpp ---------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 24.469388 | 121 | 0.654712 | androm3da |
4b56d8739793007049b42767de9e9ca0074e23aa | 1,048 | cpp | C++ | AmoebotSim/main/main.cpp | pritiahya/Coarse-Models | 7bb60cbb5ae90eda951c91036cd4773284f5fa35 | [
"MIT"
] | null | null | null | AmoebotSim/main/main.cpp | pritiahya/Coarse-Models | 7bb60cbb5ae90eda951c91036cd4773284f5fa35 | [
"MIT"
] | null | null | null | AmoebotSim/main/main.cpp | pritiahya/Coarse-Models | 7bb60cbb5ae90eda951c91036cd4773284f5fa35 | [
"MIT"
] | null | null | null | /* AmoebotSim: a visual simulator for the amoebot model of programmable matter.
* Copyright (C) 2020 Joshua J. Daymude, Robert Gmyr, and Kristian Hinnenthal.
* Please direct all questions and communications to sopslab@asu.edu.
*
* This program is free software: you can redistribute it and/or modify it under
* the ... | 40.307692 | 80 | 0.744275 | pritiahya |
4b58bda4e2bedf42789873af44a3ec8a30cb02e3 | 5,876 | cpp | C++ | vehicle/zmp/autoware_socket/str.cpp | izeki/Autoware | 21dcd18c4166331c290bd573733e0b881ca29ad7 | [
"BSD-3-Clause"
] | 64 | 2018-11-19T02:34:05.000Z | 2021-12-27T06:19:48.000Z | vehicle/zmp/autoware_socket/str.cpp | haicheng12/autoware-1.8.0-test | 39399d550ea058ca215f1f8351048a000ae78f1c | [
"BSD-3-Clause"
] | null | null | null | vehicle/zmp/autoware_socket/str.cpp | haicheng12/autoware-1.8.0-test | 39399d550ea058ca215f1f8351048a000ae78f1c | [
"BSD-3-Clause"
] | 34 | 2018-11-27T08:57:32.000Z | 2022-02-18T08:06:04.000Z | /*
* Copyright (c) 2015, Nagoya University
* 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 ... | 28.945813 | 90 | 0.674268 | izeki |
4b58d66da4bc37fed11ff8077df12d75ec10e47c | 2,347 | cc | C++ | HTTP/src/HttpResponseGenerator.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2019-07-29T04:07:29.000Z | 2019-07-29T04:07:29.000Z | HTTP/src/HttpResponseGenerator.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | null | null | null | HTTP/src/HttpResponseGenerator.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2020-03-04T17:13:04.000Z | 2020-03-04T17:13:04.000Z | /*
* Copyright (C) 2021 Frank Mertens.
*
* Distribution and use is allowed under the terms of the zlib license
* (see cc/LICENSE-zlib).
*
*/
#include <cc/HttpResponseGenerator>
#include <cc/httpDate>
#include <cc/System>
namespace cc {
struct HttpResponseGenerator::State: public HttpMessageGenerator::State
{
... | 23.237624 | 96 | 0.64934 | frankencode |
4b5b3915db889e21ba2281e0a35943263ac0eed9 | 2,635 | cpp | C++ | sky/engine/core/css/CSSShadowValue.cpp | gitFreeByte/sky_engine | 05c9048930f8a0d39c2f6385ba691eccbbdabb20 | [
"BSD-3-Clause"
] | 1 | 2021-06-12T00:47:11.000Z | 2021-06-12T00:47:11.000Z | sky/engine/core/css/CSSShadowValue.cpp | gitFreeByte/sky_engine | 05c9048930f8a0d39c2f6385ba691eccbbdabb20 | [
"BSD-3-Clause"
] | null | null | null | sky/engine/core/css/CSSShadowValue.cpp | gitFreeByte/sky_engine | 05c9048930f8a0d39c2f6385ba691eccbbdabb20 | [
"BSD-3-Clause"
] | null | null | null | /**
* (C) 1999-2003 Lars Knoll (knoll@kde.org)
* Copyright (C) 2004, 2005, 2006, 2009 Apple Computer, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of ... | 28.956044 | 76 | 0.648577 | gitFreeByte |
4b5bf86e9a08190f60bad88de145ef10bb91943c | 816 | cpp | C++ | UVa 362 - 18,000 Seconds Remaining/sample/362 - 18,000 Seconds Remaining.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 362 - 18,000 Seconds Remaining/sample/362 - 18,000 Seconds Remaining.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 362 - 18,000 Seconds Remaining/sample/362 - 18,000 Seconds Remaining.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
int main() {
int n, test = 0;
while(scanf("%d", &n) == 1 && n) {
printf("Output for data set %d, %d bytes:\n", ++test, n);
int sum = 0, cnt = 0;
int total = 0, x;
while(scanf("%d", &x) == 1) {
sum += x;
n -= x;
cnt++;
... | 25.5 | 69 | 0.321078 | tadvi |
4b5d4a01cfceef009ea0cafefc213231ef423e7d | 816 | cpp | C++ | test/barrier.cpp | leezhenghui/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 351 | 2016-10-12T14:06:09.000Z | 2022-03-24T14:53:54.000Z | test/barrier.cpp | leezhenghui/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 7 | 2017-03-07T01:49:16.000Z | 2018-07-27T08:51:54.000Z | test/barrier.cpp | UncP/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 62 | 2016-10-31T12:46:45.000Z | 2021-12-28T11:25:26.000Z | /**
* > Author: UncP
* > Github: www.github.com/UncP/Mushroom
* > License: BSD-3
* > Time: 2018-7-27 17:43:00
**/
#include <pthread.h>
#include "../src/palm/barrier.hpp"
static const int threads = 5;
static Mushroom::Barrier barrier(threads);
void* f1(void *)
{
printf("hello\n");
bar... | 18.545455 | 49 | 0.5625 | leezhenghui |
4b600a421e5ad8c7b14410467515a59e7cbfd89d | 15,964 | hpp | C++ | include/SFML/Audio/SoundStream.hpp | Cobaltergeist/SFML | c2c5c3371898ae848db5c612fe6c208c990dbfd0 | [
"Zlib"
] | null | null | null | include/SFML/Audio/SoundStream.hpp | Cobaltergeist/SFML | c2c5c3371898ae848db5c612fe6c208c990dbfd0 | [
"Zlib"
] | null | null | null | include/SFML/Audio/SoundStream.hpp | Cobaltergeist/SFML | c2c5c3371898ae848db5c612fe6c208c990dbfd0 | [
"Zlib"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2014 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any da... | 38.841849 | 128 | 0.486783 | Cobaltergeist |
4b60a3a14310981eca088079e6922ffabf0056a0 | 4,574 | hh | C++ | vm/vm/main/float-decl.hh | Ahzed11/mozart2 | 4806504b103e11be723e7813be8f69e4d85875cf | [
"BSD-2-Clause"
] | 379 | 2015-01-02T20:27:33.000Z | 2022-03-26T23:18:17.000Z | vm/vm/main/float-decl.hh | Ahzed11/mozart2 | 4806504b103e11be723e7813be8f69e4d85875cf | [
"BSD-2-Clause"
] | 81 | 2015-01-08T13:18:52.000Z | 2021-12-21T14:02:21.000Z | vm/vm/main/float-decl.hh | Ahzed11/mozart2 | 4806504b103e11be723e7813be8f69e4d85875cf | [
"BSD-2-Clause"
] | 75 | 2015-01-06T09:08:20.000Z | 2021-12-17T09:40:18.000Z | // Copyright © 2011, Université catholique de Louvain
// 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... | 20.981651 | 79 | 0.704198 | Ahzed11 |
4b61afe17731254fb0d03f992282a94d35305c08 | 241 | cpp | C++ | atcoder/abc096/A/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | atcoder/abc096/A/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | atcoder/abc096/A/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
int a, b;
cin >> a >> b;
int m = (a - 1) + (a <= b ? 1 : 0);
cout << m << endl;
return 0;
} | 16.066667 | 39 | 0.493776 | xirc |
4b62c98c2139e11d3a06a02fe925dead077e24f3 | 20,593 | cpp | C++ | src/ble/BtpEngine.cpp | SiliconLabs/connectedhomeip-1 | e2b2f30b01d13838481d08f79b343a5aeaca91d9 | [
"Apache-2.0"
] | 2 | 2021-03-30T00:47:43.000Z | 2021-05-14T08:54:59.000Z | src/ble/BtpEngine.cpp | SiliconLabs/connectedhomeip-1 | e2b2f30b01d13838481d08f79b343a5aeaca91d9 | [
"Apache-2.0"
] | 2 | 2022-03-25T10:07:16.000Z | 2022-03-28T07:17:39.000Z | src/ble/BtpEngine.cpp | SiliconLabs/connectedhomeip-1 | e2b2f30b01d13838481d08f79b343a5aeaca91d9 | [
"Apache-2.0"
] | 2 | 2022-03-18T10:37:29.000Z | 2022-03-24T10:35:16.000Z | /*
*
* Copyright (c) 2020-2021 Project CHIP Authors
* Copyright (c) 2014-2017 Nest Labs, 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.apa... | 34.378965 | 122 | 0.672996 | SiliconLabs |
4b67494c98e82516116c0eed5efb06e90acd794b | 338 | cpp | C++ | CodeChef/CookOff/OctCookOff2017/oct_cookoff_2017_median.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | 1 | 2019-04-19T13:06:33.000Z | 2019-04-19T13:06:33.000Z | CodeChef/CookOff/OctCookOff2017/oct_cookoff_2017_median.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | CodeChef/CookOff/OctCookOff2017/oct_cookoff_2017_median.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
int t;
cin>>t;
while(t--)
{
std::vector<int> v;
int ele,n,k;
scanf("%d %d",&n,&k);
for (int i = 0; i < n; ++i)
{
scanf("%d",&ele);
v.push_back(ele);
}
sort(v.begin(),v.end());
printf("%d\n",v[(n+k)/2]... | 11.655172 | 38 | 0.502959 | ysumit99 |
b49be897124f97a421d033ebb6df12cee020a971 | 545 | cpp | C++ | 2021/09. Arrays/20321029/3.sum x^k/3.sum x^k.cpp | GeorgiIT/CS104 | 7efcc069256dfdb5bc18bd76fbb683edf2cde230 | [
"MIT"
] | 7 | 2021-03-24T16:30:45.000Z | 2022-03-27T09:02:15.000Z | 2021/09. Arrays/20321029/3.sum x^k/3.sum x^k.cpp | GeorgiIT/CS104 | 7efcc069256dfdb5bc18bd76fbb683edf2cde230 | [
"MIT"
] | null | null | null | 2021/09. Arrays/20321029/3.sum x^k/3.sum x^k.cpp | GeorgiIT/CS104 | 7efcc069256dfdb5bc18bd76fbb683edf2cde230 | [
"MIT"
] | 17 | 2021-03-22T09:42:22.000Z | 2022-03-28T03:24:07.000Z | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
// Необходими променливи
int x, n, sum = 0;
// Въвеждане на стойности на необходимите променливи
cout << "x=";
cin >> x;
cout << "n=";
cin >> n;
// Мaсив за степените на x
int f[1000];
// Изчисляване на степ... | 18.166667 | 57 | 0.526606 | GeorgiIT |
b49cdd16bac6b20644f3033c018f0f5198694f64 | 829 | cpp | C++ | chap04/Page157_sizeof.cpp | sjbarigye/CPP_Primer | d9d31a73a45ca46909bae104804fc9503ab242f2 | [
"Apache-2.0"
] | 50 | 2016-01-08T14:28:53.000Z | 2022-01-21T12:55:00.000Z | chap04/Page157_sizeof.cpp | sjbarigye/CPP_Primer | d9d31a73a45ca46909bae104804fc9503ab242f2 | [
"Apache-2.0"
] | 2 | 2017-06-05T16:45:20.000Z | 2021-04-17T13:39:24.000Z | chap04/Page157_sizeof.cpp | sjbarigye/CPP_Primer | d9d31a73a45ca46909bae104804fc9503ab242f2 | [
"Apache-2.0"
] | 18 | 2016-08-17T15:23:51.000Z | 2022-03-26T18:08:43.000Z | #include <iostream>
#include <string>
#include <vector>
using std::cout;
using std::endl;
using std::string;
using std::vector;
int main()
{
string s = "This is the string. Ask for my size.";
string s2;
vector<int> v = {2, 3, 5, 7, 9};
vector<int> v2;
vector<double> v3;
cout << "size of a string... | 30.703704 | 77 | 0.603136 | sjbarigye |
b49d88f5824afe6bed1abbb60138d04b51821d38 | 7,571 | cpp | C++ | src/cxx_stubs/SFWindow_stub.cpp | Julow/ocaml-sfml | 51a2d70d0ab7bd4fb8c4279ef55c4058e5ddf6fb | [
"Zlib"
] | null | null | null | src/cxx_stubs/SFWindow_stub.cpp | Julow/ocaml-sfml | 51a2d70d0ab7bd4fb8c4279ef55c4058e5ddf6fb | [
"Zlib"
] | null | null | null | src/cxx_stubs/SFWindow_stub.cpp | Julow/ocaml-sfml | 51a2d70d0ab7bd4fb8c4279ef55c4058e5ddf6fb | [
"Zlib"
] | null | null | null | /*
* OCaml-SFML - OCaml bindings for the SFML library.
* Copyright (C) 2012 Florent Monnier <monnier.florent(_)gmail.com>
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from the
* use of this software.
*
* Per... | 24.344051 | 80 | 0.748514 | Julow |
b49d8e9e68ad768dc0054fb351e3b3d02afa33ee | 10,027 | cpp | C++ | Source/Foundation/bsfUtility/String/BsUnicode.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 1,745 | 2018-03-16T02:10:28.000Z | 2022-03-26T17:34:21.000Z | Source/Foundation/bsfUtility/String/BsUnicode.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 395 | 2018-03-16T10:18:20.000Z | 2021-08-04T16:52:08.000Z | Source/Foundation/bsfUtility/String/BsUnicode.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 267 | 2018-03-17T19:32:54.000Z | 2022-02-17T16:55:50.000Z | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "BsUnicode.h"
namespace bs
{
/** Converts an UTF-8 encoded ... | 22.085903 | 124 | 0.638676 | bsf2dev |
b49d9230d796e1547b4e03370a40e00dac15765d | 1,412 | cpp | C++ | src/vulkan/base/simple_vertex_format.cpp | WeiPhil/qulkan | 1d926515ac73c9ea9604206ba5ee98917ce6d215 | [
"Apache-2.0"
] | null | null | null | src/vulkan/base/simple_vertex_format.cpp | WeiPhil/qulkan | 1d926515ac73c9ea9604206ba5ee98917ce6d215 | [
"Apache-2.0"
] | null | null | null | src/vulkan/base/simple_vertex_format.cpp | WeiPhil/qulkan | 1d926515ac73c9ea9604206ba5ee98917ce6d215 | [
"Apache-2.0"
] | null | null | null | #include "vulkan/base/simple_vertex_format.hpp"
namespace Qulkan::Vulkan {
ColoredVertex::ColoredVertex() {}
ColoredVertex::ColoredVertex(const glm::vec3 &aPos, const glm::vec3 &aColor) : pos(aPos), color(aColor) {}
std::vector<VkVertexInputAttributeDescription> ColoredVertex::createAttributeDescriptions... | 36.205128 | 110 | 0.724504 | WeiPhil |