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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a78cf1e9a5cc80c2bf0dfcea28d0f8ae551178f5 | 301 | cpp | C++ | cluster.cpp | Recmo/depgraph | 102eeecb5f875d38dedbd0d777bbb212e143dfa9 | [
"MIT"
] | 1 | 2020-10-06T03:25:40.000Z | 2020-10-06T03:25:40.000Z | cluster.cpp | Recmo/depgraph | 102eeecb5f875d38dedbd0d777bbb212e143dfa9 | [
"MIT"
] | null | null | null | cluster.cpp | Recmo/depgraph | 102eeecb5f875d38dedbd0d777bbb212e143dfa9 | [
"MIT"
] | null | null | null | #include "cluster.h"
#include "varint.h"
Cluster::Cluster()
{
}
Cluster::~Cluster()
{
}
void Cluster::to_bip(char*& cursor)
{
}
void Cluster::from_bip(char*& cursor)
{
set_label(read_string(cursor));
}
ostream& operator<<(ostream& out, const Cluster& in)
{
out << in.label();
return out;
}
| 10.75 | 52 | 0.654485 | Recmo |
a79021c15b4819f81d36b56ff31fc8357738162e | 38,074 | cpp | C++ | src/syntax/compiler.cpp | srijan-paul/snap | 93bd7bed27008910bdce706f4545a06c3445e242 | [
"MIT"
] | 29 | 2021-02-01T15:36:40.000Z | 2022-03-27T08:28:28.000Z | src/syntax/compiler.cpp | srijan-paul/snap | 93bd7bed27008910bdce706f4545a06c3445e242 | [
"MIT"
] | 12 | 2021-01-23T15:21:10.000Z | 2022-03-27T14:13:28.000Z | src/syntax/compiler.cpp | srijan-paul/snap | 93bd7bed27008910bdce706f4545a06c3445e242 | [
"MIT"
] | 3 | 2021-03-02T09:13:25.000Z | 2021-07-26T11:41:10.000Z | #include "common.hpp"
#include "debug.hpp"
#include "../str_format.hpp"
#include <compiler.hpp>
#include <cstring>
#include <string>
#include <vm.hpp>
#define TOK2NUM(t) VYSE_NUM(std::stod(t.raw(*m_source)))
#define THIS_BLOCK (m_codeblock->block())
#define ERROR(...) (error_at_token(kt::format_str(__VA_ARGS__).c_str(... | 29.310239 | 100 | 0.665021 | srijan-paul |
042b4f6c5070297ffc9dc6a9a919e97976d5a3ab | 25,366 | hpp | C++ | include/LightningJSON/LightningJSON.hpp | ShadauxCat/LightningJSON | ba0b53c4b18d3360a761a7ad7e20ddbe6ac630bf | [
"MIT"
] | 1 | 2021-07-21T17:03:38.000Z | 2021-07-21T17:03:38.000Z | include/LightningJSON/LightningJSON.hpp | ShadauxCat/LightningJSON | ba0b53c4b18d3360a761a7ad7e20ddbe6ac630bf | [
"MIT"
] | null | null | null | include/LightningJSON/LightningJSON.hpp | ShadauxCat/LightningJSON | ba0b53c4b18d3360a761a7ad7e20ddbe6ac630bf | [
"MIT"
] | null | null | null | #pragma once
/*
* Copyright (C) 2020 Jaedyn K. Draper
*
* 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, mod... | 27.874725 | 161 | 0.685918 | ShadauxCat |
042df8fb4e525f45ef7c9287b0dac892d3e43807 | 912 | cpp | C++ | Thread/ThreadWorker.cpp | ReliaSolve/acl | a0b305e7bf6a2d86839fb6f00d7d8fbf2bd583b9 | [
"MIT"
] | null | null | null | Thread/ThreadWorker.cpp | ReliaSolve/acl | a0b305e7bf6a2d86839fb6f00d7d8fbf2bd583b9 | [
"MIT"
] | null | null | null | Thread/ThreadWorker.cpp | ReliaSolve/acl | a0b305e7bf6a2d86839fb6f00d7d8fbf2bd583b9 | [
"MIT"
] | null | null | null | /**
* \copyright Copyright 2021 Aqueti, Inc. All rights reserved.
* \license This project is released under the MIT Public License.
**/
/******************************************************************************
*
* \file ThreadWorker.cpp
* \brief
* \author Andrew Ferg
*
* Copyright Aqueti 2019
*
... | 19.826087 | 79 | 0.551535 | ReliaSolve |
042f57116906e71cd70934a76e07f29e306daf67 | 30,948 | cpp | C++ | tests/unit/security/transform/private-key.t.cpp | named-data/ndn-cxx | d1b6f95864d9ca6a60d632e4f0565d665578a048 | [
"OpenSSL"
] | 106 | 2015-01-06T10:08:29.000Z | 2022-02-27T13:40:16.000Z | tests/unit/security/transform/private-key.t.cpp | named-data/ndn-cxx | d1b6f95864d9ca6a60d632e4f0565d665578a048 | [
"OpenSSL"
] | 6 | 2015-10-15T23:21:06.000Z | 2016-12-20T19:03:10.000Z | tests/unit/security/transform/private-key.t.cpp | named-data/ndn-cxx | d1b6f95864d9ca6a60d632e4f0565d665578a048 | [
"OpenSSL"
] | 147 | 2015-01-15T15:07:29.000Z | 2022-02-03T13:08:43.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2021 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | 42.22101 | 112 | 0.804317 | named-data |
04318d6c38883d021c4a33f68ab64ef65ea4cd44 | 30,092 | cpp | C++ | dist/dep/SuperStash/SuperStash/PapyrusSuperStash.cpp | Verteiron/SuperStash | 4592e5f2fe06e02a0b2abc3e289a9f323c12969f | [
"Unlicense"
] | 7 | 2016-02-03T04:50:53.000Z | 2021-06-03T19:36:06.000Z | dist/dep/SuperStash/SuperStash/PapyrusSuperStash.cpp | Verteiron/SuperStash | 4592e5f2fe06e02a0b2abc3e289a9f323c12969f | [
"Unlicense"
] | 8 | 2016-01-22T16:48:15.000Z | 2017-02-27T21:53:29.000Z | dist/dep/SuperStash/SuperStash/PapyrusSuperStash.cpp | Verteiron/SuperStash | 4592e5f2fe06e02a0b2abc3e289a9f323c12969f | [
"Unlicense"
] | 3 | 2018-02-06T04:04:48.000Z | 2021-06-03T19:36:07.000Z | #include <direct.h>
#include <functional>
#include <random>
#include <algorithm>
#include "skse/GameData.h"
#include "skse/GameRTTI.h"
#include "skse/PapyrusWornObject.h"
#include "skse/PapyrusSpell.h"
#include "json/json.h"
#include "fileutils.h"
#include "itemutils.h"
#include "jcutils.h"
#include "PapyrusSuperSt... | 31.910923 | 224 | 0.714675 | Verteiron |
0433461ac63415215708e9918cc6b534c007f6bc | 2,492 | hpp | C++ | sources/RenderSystem/OpenGLES/spOpenGLES2RenderSystem.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 14 | 2015-08-16T21:05:20.000Z | 2019-08-21T17:22:01.000Z | sources/RenderSystem/OpenGLES/spOpenGLES2RenderSystem.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | null | null | null | sources/RenderSystem/OpenGLES/spOpenGLES2RenderSystem.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 3 | 2020-02-15T09:17:41.000Z | 2020-05-21T14:10:40.000Z | /*
* OpenGL|ES 2 render system header
*
* This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns)
* See "SoftPixelEngine.hpp" for license information.
*/
#ifndef __SP_RENDERER_OPENGLES2_H__
#define __SP_RENDERER_OPENGLES2_H__
#include "Base/spStandard.hpp"
#if defined(SP_COMPILE_WIT... | 23.509434 | 92 | 0.564607 | rontrek |
04397f6084bea12cc87ab23ff745981aaef5f98c | 2,523 | cp | C++ | Linux/Sources/Application/Preferences_Dialog/CPrefsAlerts.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | Linux/Sources/Application/Preferences_Dialog/CPrefsAlerts.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | Linux/Sources/Application/Preferences_Dialog/CPrefsAlerts.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. 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 re... | 28.670455 | 129 | 0.660325 | mulberry-mail |
043c111d892737f5bc27f822506430fe64f6c7ca | 632 | cpp | C++ | src/Graphics/Clipping.cpp | llGuy/Ondine | 325c2d3ea5bd5ef5456b0181c53ad227571fada3 | [
"MIT"
] | 1 | 2022-01-24T18:15:56.000Z | 2022-01-24T18:15:56.000Z | src/Graphics/Clipping.cpp | llGuy/Ondine | 325c2d3ea5bd5ef5456b0181c53ad227571fada3 | [
"MIT"
] | null | null | null | src/Graphics/Clipping.cpp | llGuy/Ondine | 325c2d3ea5bd5ef5456b0181c53ad227571fada3 | [
"MIT"
] | null | null | null | #include "Clipping.hpp"
namespace Ondine::Graphics {
void Clipping::init(
VulkanContext &graphicsContext,
float clipFactor, float radius) {
mUBO.init(
graphicsContext.device(), sizeof(mData),
(int)VulkanBufferFlag::UniformBuffer);
uniform.init(
graphicsContext.device(),
graphicsContext.descri... | 23.407407 | 60 | 0.727848 | llGuy |
04432b156c7253de4ae2c0fb220a45a65f60ee92 | 2,091 | cc | C++ | code/foundation/debug/debughandler.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/foundation/debug/debughandler.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/foundation/debug/debughandler.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// debughandler.cc
// (C) 2008 Radon Labs GmbH
// (C) 2013-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "debug/debughandler.... | 24.313953 | 83 | 0.501674 | gscept |
044452cae1d45e0ccdc0e7523fea1f9b8ec5e9b3 | 1,664 | cpp | C++ | unittests/clangd/FSTests.cpp | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | 16 | 2018-11-28T12:05:20.000Z | 2021-11-08T09:47:46.000Z | unittests/clangd/FSTests.cpp | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | 4 | 2018-11-30T19:12:21.000Z | 2019-10-04T17:37:07.000Z | clangd/unittests/FSTests.cpp | dragon-tc-tmp/clang-tools-extra | e16e704b6f7d4185e55942883506c1bb9280cd2d | [
"Apache-2.0"
] | 15 | 2019-02-01T20:10:43.000Z | 2022-03-26T11:52:37.000Z | //===-- FSTests.cpp - File system related tests -----------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 32.627451 | 80 | 0.624399 | Szelethus |
0447fac99f1324e984225268fcd10d12286272ba | 2,529 | cpp | C++ | kernel/system/node/Terminal.cpp | pro-hacker64/pranaOS | 01e5f0ba7fc7b561a08ba60ea6b3890202ac97c7 | [
"BSD-2-Clause"
] | null | null | null | kernel/system/node/Terminal.cpp | pro-hacker64/pranaOS | 01e5f0ba7fc7b561a08ba60ea6b3890202ac97c7 | [
"BSD-2-Clause"
] | null | null | null | kernel/system/node/Terminal.cpp | pro-hacker64/pranaOS | 01e5f0ba7fc7b561a08ba60ea6b3890202ac97c7 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2021, krishpranav
*
* SPDX-License-Identifier: BSD-2-Clause
*/
// includes
#include <assert.h>
#include "system/node/Handle.h"
#include "system/node/Terminal.h"
FsTerminal::FsTerminal() : FsNode(J_FILE_TYPE_TERMINAL) {}
bool FsTerminal::can_read(FsHandle &handle)
{
if (handle.has_flag(J_OPE... | 20.395161 | 85 | 0.573745 | pro-hacker64 |
04483acc24c83c398f3697a904add51650e374d6 | 2,259 | cpp | C++ | test/azuik/algorithm/sequential_test.cpp | abirbasak/tisa | db281d8b9c5e91ce3297abc42e8eb700b305e678 | [
"Apache-2.0"
] | null | null | null | test/azuik/algorithm/sequential_test.cpp | abirbasak/tisa | db281d8b9c5e91ce3297abc42e8eb700b305e678 | [
"Apache-2.0"
] | null | null | null | test/azuik/algorithm/sequential_test.cpp | abirbasak/tisa | db281d8b9c5e91ce3297abc42e8eb700b305e678 | [
"Apache-2.0"
] | null | null | null |
#include <azuik/algorithm/sequential.hpp>
#include <azuik/tool/unit_test.hpp>
#include <vector>
AZUIK_TEST_SUIT(sequential)
{
using namespace azuik;
AZUIK_TEST_CASE(all_of)
{
std::vector<int> v1{1, 2, 3, 4, 5};
std::vector<int> v2{2, 2, 2, 2, 2};
AZUIK_TEST(core::all_of(v1, 3) == fa... | 34.753846 | 87 | 0.518814 | abirbasak |
044bc714aec64dbebc9f319ffd4561e44964ec91 | 1,448 | cpp | C++ | Avni/Engine/GameEngine/Scene/Rectangle.cpp | avinashdamodhare/Avni | 014287c8500ae11a0e6c5141713735556d511414 | [
"MIT"
] | null | null | null | Avni/Engine/GameEngine/Scene/Rectangle.cpp | avinashdamodhare/Avni | 014287c8500ae11a0e6c5141713735556d511414 | [
"MIT"
] | null | null | null | Avni/Engine/GameEngine/Scene/Rectangle.cpp | avinashdamodhare/Avni | 014287c8500ae11a0e6c5141713735556d511414 | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Rectangle
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include "Rectangle.h"
namespace Avni
{
Rectangle::Rectangle(Vector3D firstPoint, ... | 26.327273 | 110 | 0.578039 | avinashdamodhare |
044bd1e314bfef54c26248f7ad05650453e6aa6b | 1,606 | cpp | C++ | toml/src/holder.cpp | Hun1eR/TOML | 7c47b3fd7b9d0321f0614cc8c51da8c7e458c22b | [
"MIT"
] | 5 | 2020-05-12T20:11:00.000Z | 2021-02-26T16:59:05.000Z | toml/src/holder.cpp | Hun1eR/TOML | 7c47b3fd7b9d0321f0614cc8c51da8c7e458c22b | [
"MIT"
] | null | null | null | toml/src/holder.cpp | Hun1eR/TOML | 7c47b3fd7b9d0321f0614cc8c51da8c7e458c22b | [
"MIT"
] | null | null | null | // ***********************************************************************
// Author : the_hunter
// Created : 04-01-2020
//
// Last Modified By : the_hunter
// Last Modified On : 04-01-2020
// ***********************************************************************
#include <toml/pch.h>
/// <summar... | 18.25 | 80 | 0.566002 | Hun1eR |
044cbc8bd701d169c519094723cfdad6bdd54676 | 13,516 | cpp | C++ | BinClone/CloneDetectorGUI/ClonePairsAsmFrame.cpp | wzj1695224/BinClone | 3b6dedb9a1f08be6dbcdce8f3278351ef5530ed8 | [
"Apache-2.0"
] | null | null | null | BinClone/CloneDetectorGUI/ClonePairsAsmFrame.cpp | wzj1695224/BinClone | 3b6dedb9a1f08be6dbcdce8f3278351ef5530ed8 | [
"Apache-2.0"
] | null | null | null | BinClone/CloneDetectorGUI/ClonePairsAsmFrame.cpp | wzj1695224/BinClone | 3b6dedb9a1f08be6dbcdce8f3278351ef5530ed8 | [
"Apache-2.0"
] | null | null | null | //******************************************************************************//
// Copyright 2014 Concordia University //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// you may not use this file except in compliance with the License. //
// You may ... | 27.360324 | 174 | 0.697544 | wzj1695224 |
044e839427ad721528cc97efa6b4592cf84ab092 | 5,301 | cpp | C++ | fawnkv/cache.cpp | abcinje/FAWN-KV | 6c557b3793010eb0b2f08d4bd0d47b5e68801080 | [
"Apache-2.0"
] | 50 | 2015-04-24T23:12:20.000Z | 2022-01-27T06:03:11.000Z | fawnkv/cache.cpp | abcinje/FAWN-KV | 6c557b3793010eb0b2f08d4bd0d47b5e68801080 | [
"Apache-2.0"
] | null | null | null | fawnkv/cache.cpp | abcinje/FAWN-KV | 6c557b3793010eb0b2f08d4bd0d47b5e68801080 | [
"Apache-2.0"
] | 12 | 2015-02-24T01:34:10.000Z | 2021-12-22T04:39:03.000Z | /* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* Cache tester by Jason Franklin (jfrankli@cs.cmu.edu) */
/* Derived from fe_tester.cpp */
using namespace std;
#include <iostream>
#include <sstream>
#include <string>
#include "fe.h"
#include "dbid.h"
#include "hashutil.h"
#include "timing.h"
using ... | 23.25 | 96 | 0.578947 | abcinje |
045185e9a7de6380d4642e9c3f1a14fdf08b35ae | 368 | cpp | C++ | ieee_sep/PriceResponse.cpp | Tylores/ieee_sep | 1928bed8076f4bfe702d34e436c6a85f197b0832 | [
"BSD-2-Clause"
] | null | null | null | ieee_sep/PriceResponse.cpp | Tylores/ieee_sep | 1928bed8076f4bfe702d34e436c6a85f197b0832 | [
"BSD-2-Clause"
] | null | null | null | ieee_sep/PriceResponse.cpp | Tylores/ieee_sep | 1928bed8076f4bfe702d34e436c6a85f197b0832 | [
"BSD-2-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////
// PriceResponse.cpp
// Implementation of the Class PriceResponse
// Created on: 13-Apr-2020 2:51:37 PM
// Original author: svanausdall
///////////////////////////////////////////////////////////
#include "PriceResponse.h"
PriceResponse::PriceRespo... | 19.368421 | 59 | 0.478261 | Tylores |
045574fdcfead4456567e22425f5a6a7f1112fd5 | 960 | cpp | C++ | src/terark/io/todo/inter_thread_pipe.cpp | rockeet/terark-zip | 3235373d04b7cf5d584259111b3a057c45cc1708 | [
"BSD-3-Clause"
] | 44 | 2020-12-21T05:14:38.000Z | 2022-03-15T11:27:32.000Z | src/terark/io/todo/inter_thread_pipe.cpp | rockeet/terark-zip | 3235373d04b7cf5d584259111b3a057c45cc1708 | [
"BSD-3-Clause"
] | 2 | 2020-12-28T10:42:03.000Z | 2021-05-21T07:22:47.000Z | src/terark/io/todo/inter_thread_pipe.cpp | rockeet/terark-zip | 3235373d04b7cf5d584259111b3a057c45cc1708 | [
"BSD-3-Clause"
] | 21 | 2020-12-22T09:40:16.000Z | 2021-12-07T18:16:00.000Z | #include "inter_thread_pipe.cpp"
namespace terark {
class inter_thread_pipe_impl
{
boost::mutex m_mutex;
boost::condition m_cond;
unsigned char *m_bufp, *m_putp, *m_getp;
size_t m_size;
long m_timeout;
public:
bool eof()
{
boost::mutex::scoped_lock lock(m_mutex);
return (m_size+(m_get-m_putp)... | 13.913043 | 59 | 0.669792 | rockeet |
04574bdfa853a46cbd3fce70c2c4afd53c394027 | 35,298 | hpp | C++ | include/RootMotion/FinalIK/Grounding.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/RootMotion/FinalIK/Grounding.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/RootMotion/FinalIK/Grounding.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.La... | 54.472222 | 1,472 | 0.719644 | marksteward |
0458248d635d9eaf290b63bf7eee5df92aa1bcc6 | 8,981 | cpp | C++ | Testcase/RegStream/SRC/device.cpp | markjulmar/tsplib3 | f58a281ce43f4d57ef10e24d306fd46e6febcc41 | [
"MIT"
] | 1 | 2021-02-08T20:31:46.000Z | 2021-02-08T20:31:46.000Z | Testcase/RegStream/SRC/device.cpp | markjulmar/tsplib3 | f58a281ce43f4d57ef10e24d306fd46e6febcc41 | [
"MIT"
] | null | null | null | Testcase/RegStream/SRC/device.cpp | markjulmar/tsplib3 | f58a281ce43f4d57ef10e24d306fd46e6febcc41 | [
"MIT"
] | 4 | 2019-11-14T03:47:33.000Z | 2021-03-08T01:18:05.000Z | /***************************************************************************
//
// DEVICE.CPP
//
// TAPI Service provider for TSP++ version 3.00
// Handles raw device events and the physical connection to the hardware.
//
// Copyright (C) 1999 Test
// All rights reserved
//
// Generated by the TSPWizard (C) JulMar Tech... | 32.075 | 124 | 0.598597 | markjulmar |
0458dd8edcb53ef5e536b8cd245044111b4ed444 | 4,837 | cpp | C++ | tools/vsimporter/src/utils/clangoptparser.cpp | Art52123103/WinObjC | 5672d1c99851b6125514381c39f4243692514b0b | [
"MIT"
] | 1 | 2016-02-08T02:29:19.000Z | 2016-02-08T02:29:19.000Z | tools/vsimporter/src/utils/clangoptparser.cpp | Art52123103/WinObjC | 5672d1c99851b6125514381c39f4243692514b0b | [
"MIT"
] | null | null | null | tools/vsimporter/src/utils/clangoptparser.cpp | Art52123103/WinObjC | 5672d1c99851b6125514381c39f4243692514b0b | [
"MIT"
] | null | null | null | //******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... | 34.798561 | 102 | 0.63097 | Art52123103 |
045f2913515fbfd8aecd92e1ef4129543c36341c | 6,545 | inl | C++ | include/Rexrn/LocCpp/StringBuilder.inl | Rexrn/LocCpp | db97d8caee5b138fc1392edbef48e7b2b4be30ef | [
"MIT"
] | 2 | 2019-02-19T14:51:13.000Z | 2020-12-27T10:05:37.000Z | include/Rexrn/LocCpp/StringBuilder.inl | Rexrn/LocCpp | db97d8caee5b138fc1392edbef48e7b2b4be30ef | [
"MIT"
] | null | null | null | include/Rexrn/LocCpp/StringBuilder.inl | Rexrn/LocCpp | db97d8caee5b138fc1392edbef48e7b2b4be30ef | [
"MIT"
] | null | null | null | #pragma once
#include <Rexrn/LocCpp/StringBuilder.hpp>
namespace rexrn::loc
{
//////////////////////////////////////////////////////////////
template <std::uint16_t NumSupportedLanguages, typename CharType>
typename StringBuilder<NumSupportedLanguages, CharType>::StringType // return type
StringBuilder<NumSupported... | 32.889447 | 193 | 0.676394 | Rexrn |
04615137b3eb762ff5b563dc5b4a1b131ad07f30 | 1,210 | cpp | C++ | benchmark/parallel_benchmark.cpp | shohirose/openmp-examples | ccec9ea6f47d2af2be3cad2bcbb2e064019cfe5d | [
"Unlicense"
] | null | null | null | benchmark/parallel_benchmark.cpp | shohirose/openmp-examples | ccec9ea6f47d2af2be3cad2bcbb2e064019cfe5d | [
"Unlicense"
] | null | null | null | benchmark/parallel_benchmark.cpp | shohirose/openmp-examples | ccec9ea6f47d2af2be3cad2bcbb2e064019cfe5d | [
"Unlicense"
] | null | null | null | #include <benchmark/benchmark.h>
#include "function.hpp"
using namespace shirose;
std::vector<Point>& getPoints() {
static std::vector<Point> points = generatePoints(10'000'000);
return points;
}
template <typename Counter>
void BM_PiCalculation(benchmark::State& state) {
const auto& points = getPoints();
f... | 26.304348 | 68 | 0.701653 | shohirose |
04659c9e2da229a731232cabd88a89ea8275136e | 3,931 | cpp | C++ | src/Storages/MergeTree/MergeTreeBlockOutputStream.cpp | ontkey/daisy | b5c9b7b1cc496c1fd45cb5678c273b089d899c63 | [
"Apache-2.0"
] | 5 | 2021-05-14T02:46:44.000Z | 2021-11-23T04:58:20.000Z | src/Storages/MergeTree/MergeTreeBlockOutputStream.cpp | ontkey/daisy | b5c9b7b1cc496c1fd45cb5678c273b089d899c63 | [
"Apache-2.0"
] | 5 | 2021-05-21T06:26:01.000Z | 2021-08-04T04:57:36.000Z | src/Storages/MergeTree/MergeTreeBlockOutputStream.cpp | ontkey/daisy | b5c9b7b1cc496c1fd45cb5678c273b089d899c63 | [
"Apache-2.0"
] | 8 | 2021-05-12T01:38:18.000Z | 2022-02-10T06:08:41.000Z | #include <Storages/MergeTree/MergeTreeBlockOutputStream.h>
#include <Storages/MergeTree/MergeTreeDataPartInMemory.h>
#include <Storages/MergeTree/SequenceInfo.h>
#include <Storages/StorageMergeTree.h>
#include <Interpreters/PartLog.h>
#include <common/logger_useful.h>
namespace DB
{
Block MergeTreeBlockOutputStream:... | 30.472868 | 132 | 0.642585 | ontkey |
04677afd725f6008b38309523f910adb7a2da0c3 | 1,178 | hh | C++ | build/ARM/params/L2Cache_Controller.hh | nomorecoke/Multimedia_IP_Cache_management | e49052a2a26dd69c5d2c55687072a4a7a0dd1236 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/ARM/params/L2Cache_Controller.hh | nomorecoke/Multimedia_IP_Cache_management | e49052a2a26dd69c5d2c55687072a4a7a0dd1236 | [
"BSD-3-Clause"
] | null | null | null | build/ARM/params/L2Cache_Controller.hh | nomorecoke/Multimedia_IP_Cache_management | e49052a2a26dd69c5d2c55687072a4a7a0dd1236 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __PARAMS__L2Cache_Controller__
#define __PARAMS__L2Cache_Controller__
class L2Cache_Controller;
#include <cstddef>
#include "params/MessageBuffer.hh"
#include <cstddef>
#include "params/MessageBuffer.hh"
#include <cstddef>
#include "params/MessageBuffer.hh"
#include <cstddef>
#include "params/MessageBuffer.hh... | 25.608696 | 45 | 0.780136 | nomorecoke |
046940751ecb2b3f0ff0513e1ec5ba4250939af4 | 5,839 | cpp | C++ | src/tests/rt_base/test_base_meta_data.cpp | wizardst/Rockit | 8c6c5e59b6069735e95e34cca2607b9b6541b520 | [
"Apache-2.0"
] | null | null | null | src/tests/rt_base/test_base_meta_data.cpp | wizardst/Rockit | 8c6c5e59b6069735e95e34cca2607b9b6541b520 | [
"Apache-2.0"
] | null | null | null | src/tests/rt_base/test_base_meta_data.cpp | wizardst/Rockit | 8c6c5e59b6069735e95e34cca2607b9b6541b520 | [
"Apache-2.0"
] | 2 | 2022-01-04T20:29:44.000Z | 2022-01-04T20:39:31.000Z | /*
* Copyright 2018 Rockchip Electronics Co. LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 36.49375 | 76 | 0.609522 | wizardst |
046a17c4df78713e47c16ea2981e5a66642dd18d | 2,357 | cpp | C++ | tests/util.cpp | jnalanko/cobs | 7d1c031c4abec1f46a035c5186ae0aacec0aba55 | [
"MIT"
] | 69 | 2019-04-19T05:51:41.000Z | 2022-01-28T20:38:56.000Z | tests/util.cpp | jnalanko/cobs | 7d1c031c4abec1f46a035c5186ae0aacec0aba55 | [
"MIT"
] | 19 | 2019-05-24T11:05:27.000Z | 2021-11-23T14:55:03.000Z | tests/util.cpp | iqbal-lab-org/cobs | f4e7200d8076929f49c6035062261d90c57e4619 | [
"MIT"
] | 12 | 2019-03-22T11:39:22.000Z | 2021-11-23T20:32:34.000Z | /*******************************************************************************
* tests/util.cpp
*
* Copyright (c) 2018 Florian Gauger
* Copyright (c) 2018 Timo Bingmann
*
* All rights reserved. Published under the MIT License in the LICENSE file.
****************************************************************... | 37.412698 | 80 | 0.630462 | jnalanko |
046b1a0167c7cbc0c617c99be661bd3f11b19834 | 29,623 | cpp | C++ | qt-ticket/src/paywidget.cpp | waitWindComing/QT | c8401679b7265785ec8c7e97eea7e1e37631f37d | [
"Apache-2.0"
] | null | null | null | qt-ticket/src/paywidget.cpp | waitWindComing/QT | c8401679b7265785ec8c7e97eea7e1e37631f37d | [
"Apache-2.0"
] | null | null | null | qt-ticket/src/paywidget.cpp | waitWindComing/QT | c8401679b7265785ec8c7e97eea7e1e37631f37d | [
"Apache-2.0"
] | null | null | null | #include "paywidget.h"
#include "stepindicator.h"
#include "tipswidget.h"
#include "dueeditor.h"
#include "reduceeditor.h"
#include "neteditor.h"
#include "confirmcodewidget.h"
#include "issuedticketdlg.h"
#include "issueeditor.h"
#include "companycustomer.h"
#include "customer.h"
#include "consume.h"
#include "ticket.... | 36.081608 | 194 | 0.625831 | waitWindComing |
046c002867a6b4e94ad016444a1160eb17f3229d | 1,383 | cpp | C++ | merge_sort.cpp | mzmmoazam/OpenCV-using-C-plus-plus | 4c43848ba6aec938eeaeb3c85021c91f4c2e273c | [
"MIT"
] | null | null | null | merge_sort.cpp | mzmmoazam/OpenCV-using-C-plus-plus | 4c43848ba6aec938eeaeb3c85021c91f4c2e273c | [
"MIT"
] | null | null | null | merge_sort.cpp | mzmmoazam/OpenCV-using-C-plus-plus | 4c43848ba6aec938eeaeb3c85021c91f4c2e273c | [
"MIT"
] | null | null | null | #include <iostream>
// divide and conquer
using namespace std;
void printArray(int a[], int n)
{
for (int i = 0; i < n; i++)
{
cout << a[i] << " ";
}
cout << endl;
}
void merge(int a[], int l, int m, int r)
{
int leftn = m - l + 1, rightn = r - m;
int L[leftn], R[rightn], i = 0, j = ... | 16.662651 | 60 | 0.386117 | mzmmoazam |
04783220c2acdb14e951f98c2e8e3299b01cb339 | 2,833 | cpp | C++ | contrib/groff/src/preproc/eqn/mark.cpp | ivadasz/DragonFlyBSD | 460227f342554313be3c7728ff679dd4a556cce9 | [
"BSD-3-Clause"
] | 3 | 2017-03-06T14:12:57.000Z | 2019-11-23T09:35:10.000Z | contrib/groff/src/preproc/eqn/mark.cpp | jorisgio/DragonFlyBSD | d37cc9027d161f3e36bf2667d32f41f87606b2ac | [
"BSD-3-Clause"
] | null | null | null | contrib/groff/src/preproc/eqn/mark.cpp | jorisgio/DragonFlyBSD | d37cc9027d161f3e36bf2667d32f41f87606b2ac | [
"BSD-3-Clause"
] | null | null | null | // -*- C++ -*-
/* Copyright (C) 1989, 1990, 1991, 1992, 2009
Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
groff 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... | 23.221311 | 72 | 0.662902 | ivadasz |
047a0b542d2327d0501f058fe4257e0a4214cd23 | 3,774 | hpp | C++ | external/windows/boost/include/boost/spirit/core/non_terminal/parser_id.hpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | 1 | 2016-05-17T03:36:52.000Z | 2016-05-17T03:36:52.000Z | external/windows/boost/include/boost/spirit/core/non_terminal/parser_id.hpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | null | null | null | external/windows/boost/include/boost/spirit/core/non_terminal/parser_id.hpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | null | null | null | /*=============================================================================
Copyright (c) 2001-2003 Joel de Guzman
Copyright (c) 2001 Daniel Nuffer
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying fi... | 31.714286 | 80 | 0.372284 | foxostro |
047c14c675f9d6841f5786e631c8cbc190fc5b25 | 48,326 | cc | C++ | test/unittests/compiler/int64-lowering-unittest.cc | devcode1981/v8 | 10f26c08b9e6cdddc7d033c5572ae68e2383d2a4 | [
"BSD-3-Clause"
] | 1 | 2022-03-15T16:20:56.000Z | 2022-03-15T16:20:56.000Z | test/unittests/compiler/int64-lowering-unittest.cc | devcode1981/v8 | 10f26c08b9e6cdddc7d033c5572ae68e2383d2a4 | [
"BSD-3-Clause"
] | null | null | null | test/unittests/compiler/int64-lowering-unittest.cc | devcode1981/v8 | 10f26c08b9e6cdddc7d033c5572ae68e2383d2a4 | [
"BSD-3-Clause"
] | 1 | 2021-03-08T00:27:58.000Z | 2021-03-08T00:27:58.000Z | // Copyright 2016 the V8 project 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 "src/compiler/int64-lowering.h"
#include "src/codegen/interface-descriptors.h"
#include "src/codegen/machine-type.h"
#include "src/codegen/sig... | 43.972702 | 80 | 0.574618 | devcode1981 |
0483c71a08c462efdff09b7e55ba0614e1cdfc5d | 19,361 | cpp | C++ | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/tinyclr/test/ssl_test_bf.cpp | PervasiveDigital/netmf-interpreter | 03d84fe76e0b666ebec62d17d69c55c45940bc40 | [
"Apache-2.0"
] | 529 | 2015-03-10T00:17:45.000Z | 2022-03-17T02:21:19.000Z | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/tinyclr/test/ssl_test_bf.cpp | PervasiveDigital/netmf-interpreter | 03d84fe76e0b666ebec62d17d69c55c45940bc40 | [
"Apache-2.0"
] | 495 | 2015-03-10T22:02:46.000Z | 2019-05-16T13:05:00.000Z | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/tinyclr/test/ssl_test_bf.cpp | PervasiveDigital/netmf-interpreter | 03d84fe76e0b666ebec62d17d69c55c45940bc40 | [
"Apache-2.0"
] | 332 | 2015-03-10T08:04:36.000Z | 2022-03-29T04:18:36.000Z | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as l... | 35.655617 | 88 | 0.690564 | PervasiveDigital |
0487efeed9420e29e974d27a03d09e85207a9f99 | 1,833 | cc | C++ | inet/src/inet/common/packet/serializer/ByteCountChunkSerializer.cc | ntanetani/quisp | 003f85746266d2eb62c66883e5b965b654672c70 | [
"BSD-3-Clause"
] | null | null | null | inet/src/inet/common/packet/serializer/ByteCountChunkSerializer.cc | ntanetani/quisp | 003f85746266d2eb62c66883e5b965b654672c70 | [
"BSD-3-Clause"
] | null | null | null | inet/src/inet/common/packet/serializer/ByteCountChunkSerializer.cc | ntanetani/quisp | 003f85746266d2eb62c66883e5b965b654672c70 | [
"BSD-3-Clause"
] | 1 | 2021-07-02T13:32:40.000Z | 2021-07-02T13:32:40.000Z | //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will... | 42.627907 | 125 | 0.768685 | ntanetani |
048b6443cb65226507f2eb3a756a64ed299e984d | 2,973 | cpp | C++ | test/glfw/glfw.cpp | 10110111/GLFFT | 78176d4480bc3675327bf2bcfd80d5dae1820081 | [
"MIT"
] | 176 | 2015-08-17T20:47:10.000Z | 2022-03-30T09:14:33.000Z | test/glfw/glfw.cpp | 10110111/GLFFT | 78176d4480bc3675327bf2bcfd80d5dae1820081 | [
"MIT"
] | 6 | 2017-09-21T15:55:44.000Z | 2020-11-07T03:15:44.000Z | test/glfw/glfw.cpp | 10110111/GLFFT | 78176d4480bc3675327bf2bcfd80d5dae1820081 | [
"MIT"
] | 28 | 2016-02-28T04:37:50.000Z | 2022-02-27T12:35:55.000Z | /* Copyright (C) 2015 Hans-Kristian Arntzen <maister@archlinux.us>
*
* 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... | 33.404494 | 129 | 0.722503 | 10110111 |
048d7411d88c4df2342b348703c0f7329f6360f7 | 7,964 | hpp | C++ | OptFrame/MultiEvaluator.hpp | 216k155/bft-pos | 80c1c84b8ca9a5c1c7462b21b011c89ae97666ae | [
"MIT"
] | 2 | 2018-05-24T11:04:12.000Z | 2020-03-03T13:37:07.000Z | OptFrame/MultiEvaluator.hpp | 216k155/bft-pos | 80c1c84b8ca9a5c1c7462b21b011c89ae97666ae | [
"MIT"
] | null | null | null | OptFrame/MultiEvaluator.hpp | 216k155/bft-pos | 80c1c84b8ca9a5c1c7462b21b011c89ae97666ae | [
"MIT"
] | 1 | 2019-06-06T16:57:49.000Z | 2019-06-06T16:57:49.000Z | // OptFrame - Optimization Framework
// Copyright (C) 2009-2015
// http://optframe.sourceforge.net/
//
// This file is part of the OptFrame optimization framework. This framework
// is free software; you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License v3 as published by... | 22.951009 | 144 | 0.668634 | 216k155 |
0491938f8790fc8811dbe25b09a6aa1741dc3636 | 723 | cpp | C++ | src/BinaryTreeLevelOrderTraversal.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 43 | 2015-10-10T12:59:52.000Z | 2018-07-11T18:07:00.000Z | src/BinaryTreeLevelOrderTraversal.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | null | null | null | src/BinaryTreeLevelOrderTraversal.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 11 | 2015-10-10T14:41:11.000Z | 2018-07-28T06:03:16.000Z | #include "BinaryTreeLevelOrderTraversal.hpp"
#include <queue>
using namespace std;
vector<vector<int>> BinaryTreeLevelOrderTraversal::levelOrder(TreeNode *root) {
vector<vector<int>> ret;
queue<TreeNode *> q;
if (root != nullptr) q.push(root);
while (!q.empty()) {
int n = q.size();
... | 21.264706 | 79 | 0.53112 | yanzhe-chen |
049576575aa6e0efe7a7a429772f51232c01c574 | 2,826 | cpp | C++ | src/UbGraphicsScene.cpp | cadet/UberCode | 19d70134774dfae607b18b5185ad93e5b2cf7cfe | [
"Apache-2.0"
] | 1 | 2016-10-31T13:05:30.000Z | 2016-10-31T13:05:30.000Z | src/UbGraphicsScene.cpp | cadet/UberCode | 19d70134774dfae607b18b5185ad93e5b2cf7cfe | [
"Apache-2.0"
] | null | null | null | src/UbGraphicsScene.cpp | cadet/UberCode | 19d70134774dfae607b18b5185ad93e5b2cf7cfe | [
"Apache-2.0"
] | null | null | null | /*
CADET - Center for Advances in Digital Entertainment Technologies
Copyright 2011 Fachhochschule Salzburg GmbH
http://www.cadet.at
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://... | 23.747899 | 97 | 0.691083 | cadet |
049967f9b38881ce18df1aae86d3ea9d849fed35 | 1,722 | cpp | C++ | src/OpenLoco/Drawing/FPSCounter.cpp | ser-pounce/OpenLoco | f280941bc535c1a681e65420c312c1815a17c1fe | [
"MIT"
] | 1 | 2020-05-23T20:17:13.000Z | 2020-05-23T20:17:13.000Z | src/OpenLoco/Drawing/FPSCounter.cpp | ser-pounce/OpenLoco | f280941bc535c1a681e65420c312c1815a17c1fe | [
"MIT"
] | null | null | null | src/OpenLoco/Drawing/FPSCounter.cpp | ser-pounce/OpenLoco | f280941bc535c1a681e65420c312c1815a17c1fe | [
"MIT"
] | null | null | null | #include "FPSCounter.h"
#include "../Graphics/Colour.h"
#include "../Graphics/Gfx.h"
#include "../Localisation/StringManager.h"
#include "../Ui.h"
#include <chrono>
#include <stdio.h>
namespace OpenLoco::Drawing
{
using Clock_t = std::chrono::high_resolution_clock;
using TimePoint_t = Clock_t::time_point;
... | 27.774194 | 124 | 0.60453 | ser-pounce |
049c74bf08b1b4060c78a7203fb84df6d1b33c85 | 854 | hpp | C++ | src/components/MenuBase.hpp | ryanreno/spacewar | 3b154b3dfbf2cc8b657f89fc7c328d3713ca3be7 | [
"MIT"
] | 1 | 2021-06-24T13:31:37.000Z | 2021-06-24T13:31:37.000Z | src/components/MenuBase.hpp | ryanreno/spacewar | 3b154b3dfbf2cc8b657f89fc7c328d3713ca3be7 | [
"MIT"
] | 1 | 2021-07-02T19:26:36.000Z | 2021-07-02T19:26:36.000Z | src/components/MenuBase.hpp | ryanreno/spacewar | 3b154b3dfbf2cc8b657f89fc7c328d3713ca3be7 | [
"MIT"
] | 1 | 2021-07-02T17:07:41.000Z | 2021-07-02T17:07:41.000Z | /**
* @file
*
* $Id: MenuBase.hpp $
* @author Bill Eggert
*/
#pragma once
#include <entityx/Event.h>
#include <SFML/Graphics.hpp>
/*
* Base class for menus. These are the actual things that do the work.
* The "Menu" class is the component.
*/
class MenuBase
{
public:
virtual ~MenuBase() = default;
... | 26.6875 | 77 | 0.69555 | ryanreno |
049d5ffc794faa0407674e18cb0b89b97dbc2c21 | 240 | cpp | C++ | docs/atl-mfc-shared/codesnippet/CPP/ctime-class_10.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/atl-mfc-shared/codesnippet/CPP/ctime-class_10.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/atl-mfc-shared/codesnippet/CPP/ctime-class_10.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // Example for CTime::GetHour, CTime::GetMinute, and CTime::GetSecond
CTime t(1999, 3, 19, 22, 15, 0); // 10:15 PM March 19, 1999
ATLASSERT(t.GetSecond() == 0);
ATLASSERT(t.GetMinute() == 15);
ATLASSERT(t.GetHour() == 22); | 48 | 72 | 0.616667 | bobbrow |
049f5638256314a9b2650d3bb8727687ca7ad5b3 | 1,797 | cpp | C++ | codechef/SWAPPALI/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codechef/SWAPPALI/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codechef/SWAPPALI/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: 29-02-2020 22:17:56
* solution_verdict: Accepted language: C++14
* run... | 30.457627 | 111 | 0.333333 | kzvd4729 |
04a431d5306d6f19238fd8fa9611830be3dde60b | 451 | cpp | C++ | UnrealPakViewer/UnrealPakViewer/Private/ViewModels/WidgetDelegates.cpp | kakacoding/pkg-doctor | 4d6f860763d1499a15ed6b762d938713bc67a841 | [
"MIT"
] | 128 | 2021-06-25T10:20:19.000Z | 2022-03-30T09:49:14.000Z | UnrealPakViewer/UnrealPakViewer/Private/ViewModels/WidgetDelegates.cpp | kakacoding/pkg-doctor | 4d6f860763d1499a15ed6b762d938713bc67a841 | [
"MIT"
] | 5 | 2021-06-29T09:04:13.000Z | 2022-03-07T03:13:23.000Z | UnrealPakViewer/UnrealPakViewer/Private/ViewModels/WidgetDelegates.cpp | kakacoding/pkg-doctor | 4d6f860763d1499a15ed6b762d938713bc67a841 | [
"MIT"
] | 16 | 2021-06-29T01:28:57.000Z | 2022-03-09T09:53:20.000Z | #include "WidgetDelegates.h"
FOnSwitchToTreeView& FWidgetDelegates::GetOnSwitchToTreeViewDelegate()
{
static FOnSwitchToTreeView Delegate;
return Delegate;
}
FOnSwitchToFileView& FWidgetDelegates::GetOnSwitchToFileViewDelegate()
{
static FOnSwitchToFileView Delegate;
return Delegate;
}
FOnLoadAssetRegistryFinish... | 23.736842 | 88 | 0.849224 | kakacoding |
04a49b4df8bc5e01416e2904824e65e0de3a1772 | 5,200 | cpp | C++ | libs/common/x86/src/sync/ticket.lock.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 32 | 2015-09-02T22:56:22.000Z | 2021-02-24T17:15:50.000Z | libs/common/x86/src/sync/ticket.lock.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 30 | 2015-04-26T18:35:07.000Z | 2021-06-06T09:57:02.000Z | libs/common/x86/src/sync/ticket.lock.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 11 | 2015-09-03T20:47:41.000Z | 2021-06-25T17:00:01.000Z | /*
Copyright (c) 2015 Alexandru-Mihai Maftei. All rights reserved.
Developed by: Alexandru-Mihai Maftei
aka Vercas
http://vercas.com | https://github.com/vercas/Beelzebub
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | 30.409357 | 83 | 0.634615 | vercas |
04a82edb110ca9b912fadcd588a21f50d1d8d2ab | 9,952 | cpp | C++ | src/editor/generate_menu_for_float.cpp | Apodus/gamejam-rynx-tech | 4d67f1fe394dc151c290f86110038907461de6f5 | [
"MIT"
] | null | null | null | src/editor/generate_menu_for_float.cpp | Apodus/gamejam-rynx-tech | 4d67f1fe394dc151c290f86110038907461de6f5 | [
"MIT"
] | null | null | null | src/editor/generate_menu_for_float.cpp | Apodus/gamejam-rynx-tech | 4d67f1fe394dc151c290f86110038907461de6f5 | [
"MIT"
] | null | null | null |
#include <editor/editor.hpp>
#include <sstream>
std::string humanize(std::string s) {
auto replace_all = [&s](std::string what, std::string with) {
while (s.find(what) != s.npos) {
s.replace(s.find(what), what.length(), with);
}
};
replace_all("class", "");
replace_all("struct", "");
replace_all(" ", "... | 33.173333 | 160 | 0.697247 | Apodus |
04a86597a7088ff20d02b8177381ef4358b85aac | 107,837 | cpp | C++ | src/lock/lock.cpp | stbergmann/firebird | bfabbd020f00fc40a3155799ccb3caac2642504f | [
"Condor-1.1"
] | 1 | 2021-05-25T09:15:39.000Z | 2021-05-25T09:15:39.000Z | src/lock/lock.cpp | stbergmann/firebird | bfabbd020f00fc40a3155799ccb3caac2642504f | [
"Condor-1.1"
] | null | null | null | src/lock/lock.cpp | stbergmann/firebird | bfabbd020f00fc40a3155799ccb3caac2642504f | [
"Condor-1.1"
] | null | null | null | /*
* PROGRAM: JRD Lock Manager
* MODULE: lock.cpp
* DESCRIPTION: Generic ISC Lock Manager
*
* The contents of this file are subject to the Interbase Public
* License Version 1.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://... | 26.945777 | 141 | 0.659829 | stbergmann |
04ab74f15c8ddc6da39258a45e8f3134b11829ae | 2,109 | cc | C++ | rslib/encoder.cc | sycy600/rslib | 513dc54414443169b4162e635c17ccf9f898ecd1 | [
"BSD-2-Clause"
] | null | null | null | rslib/encoder.cc | sycy600/rslib | 513dc54414443169b4162e635c17ccf9f898ecd1 | [
"BSD-2-Clause"
] | null | null | null | rslib/encoder.cc | sycy600/rslib | 513dc54414443169b4162e635c17ccf9f898ecd1 | [
"BSD-2-Clause"
] | 1 | 2020-04-25T08:16:10.000Z | 2020-04-25T08:16:10.000Z | // Copyright 2013 sycy600
#include <rslib/encoder.h>
namespace rslib {
Encoder::Encoder(unsigned int errorCorrectionCapability,
const ExtendedField& extendedField)
: codeGenerator_(buildCodeGenerator(errorCorrectionCapability,
extendedField)),
encodingShif... | 34.57377 | 75 | 0.703177 | sycy600 |
04ae5471911dc5f960fe1d0ccd0f66f4210536c2 | 1,023 | hpp | C++ | src/jet/live/AsyncEventQueue.hpp | vejmartin/jet-live | d60dfb90e2a227d61a15fcf89c709855b3aafd86 | [
"MIT"
] | 325 | 2019-01-05T12:40:46.000Z | 2022-03-26T09:06:40.000Z | src/jet/live/AsyncEventQueue.hpp | vejmartin/jet-live | d60dfb90e2a227d61a15fcf89c709855b3aafd86 | [
"MIT"
] | 23 | 2019-01-05T19:43:47.000Z | 2022-01-10T20:11:06.000Z | src/jet/live/AsyncEventQueue.hpp | vejmartin/jet-live | d60dfb90e2a227d61a15fcf89c709855b3aafd86 | [
"MIT"
] | 29 | 2019-01-05T18:49:08.000Z | 2022-03-20T19:14:30.000Z |
#pragma once
#include <memory>
#include <mutex>
#include <queue>
#include "jet/live/IEvent.hpp"
#include "jet/live/ILiveListener.hpp"
#include "jet/live/events/LogEvent.hpp"
namespace jet
{
class AsyncEventQueue
{
public:
void addLog(LogSeverity severity, std::string&& message);
LogEvent*... | 24.357143 | 95 | 0.603128 | vejmartin |
04af9aaa486f5936a7c45cfc1d844f7f3b0ce613 | 12,418 | cpp | C++ | source/clayout/LInterpreter.cpp | chromaScript/chroma.io | c484354df6f3c84a049ffadfe37c677c0ccb6390 | [
"MIT"
] | null | null | null | source/clayout/LInterpreter.cpp | chromaScript/chroma.io | c484354df6f3c84a049ffadfe37c677c0ccb6390 | [
"MIT"
] | null | null | null | source/clayout/LInterpreter.cpp | chromaScript/chroma.io | c484354df6f3c84a049ffadfe37c677c0ccb6390 | [
"MIT"
] | null | null | null | #include "../include/clayout/LInterpreter.h"
#include "../include/cscript/CEnvironment.h"
#include "../include/cscript/ChromaScript.h"
#include "../include/cscript/CObject.h"
#include "../include/clayout/ChromaLayout.h"
#include "../include/clayout/LToken.h"
#include "../include/clayout/LProc.h"
#include "../include/en... | 30.890547 | 139 | 0.68755 | chromaScript |
04b35dac200e870b840953e790230f52b68a0693 | 2,266 | hpp | C++ | src/vendor/cget/cget/pkg/pqrs-org__cpp-osx-json_file_monitor/install/include/pqrs/osx/json_file_monitor.hpp | egelwan/Karabiner-Elements | 896439dd2130904275553282063dd7fe4852e1a8 | [
"Unlicense"
] | 5,422 | 2019-10-27T17:51:04.000Z | 2022-03-31T15:45:41.000Z | src/vendor/cget/cget/pkg/pqrs-org__cpp-osx-json_file_monitor/install/include/pqrs/osx/json_file_monitor.hpp | XXXalice/Karabiner-Elements | 52f579cbf60251cf18915bd938eb4431360b763b | [
"Unlicense"
] | 1,310 | 2019-10-28T04:57:24.000Z | 2022-03-31T04:55:37.000Z | src/vendor/cget/cget/pkg/pqrs-org__cpp-osx-json_file_monitor/install/include/pqrs/osx/json_file_monitor.hpp | XXXalice/Karabiner-Elements | 52f579cbf60251cf18915bd938eb4431360b763b | [
"Unlicense"
] | 282 | 2019-10-28T02:36:04.000Z | 2022-03-19T06:18:54.000Z | #pragma once
// pqrs::osx::json_file_monitor v1.0
// (C) Copyright Takayama Fumihiko 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See http://www.boost.org/LICENSE_1_0.txt)
#include <nlohmann/json.hpp>
#include <pqrs/osx/file_monitor.hpp>
namespace pqrs {
namespace osx {
class json_file_mo... | 30.213333 | 114 | 0.650044 | egelwan |
04ba2b05a9e620c081b1b7eb78f0507bc508d533 | 7,042 | cpp | C++ | tools/shard-seeder/shard-seeder.cpp | vipinsun/opencbdc-tx | 724f307548f92676423e98d7f2c1bfc2c66f79ef | [
"MIT"
] | 1 | 2022-02-09T22:25:02.000Z | 2022-02-09T22:25:02.000Z | tools/shard-seeder/shard-seeder.cpp | vipinsun/opencbdc-tx | 724f307548f92676423e98d7f2c1bfc2c66f79ef | [
"MIT"
] | null | null | null | tools/shard-seeder/shard-seeder.cpp | vipinsun/opencbdc-tx | 724f307548f92676423e98d7f2c1bfc2c66f79ef | [
"MIT"
] | 1 | 2022-02-10T02:31:32.000Z | 2022-02-10T02:31:32.000Z | // Copyright (c) 2021 MIT Digital Currency Initiative,
// Federal Reserve Bank of Boston
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "uhs/transaction/transaction.hpp"
#include "uhs/transaction/wal... | 41.181287 | 79 | 0.472735 | vipinsun |
04bbded7bfda9c66cf28cb5d07828da734ad89a1 | 4,661 | cpp | C++ | demo_app/main.cpp | nvpro-samples/vk_compute_mipmaps | 613b94e4d36e6f357472e9c7a3163046deb55678 | [
"Apache-2.0"
] | 12 | 2021-07-24T18:33:22.000Z | 2022-03-12T16:20:49.000Z | demo_app/main.cpp | nvpro-samples/vk_compute_mipmaps | 613b94e4d36e6f357472e9c7a3163046deb55678 | [
"Apache-2.0"
] | null | null | null | demo_app/main.cpp | nvpro-samples/vk_compute_mipmaps | 613b94e4d36e6f357472e9c7a3163046deb55678 | [
"Apache-2.0"
] | 3 | 2021-08-04T02:27:12.000Z | 2022-03-13T08:43:24.000Z | // Copyright 2021 NVIDIA CORPORATION
// SPDX-License-Identifier: Apache-2.0
// Main function of the sample.
// Mostly just initializing GLFW, instance, device, extensions,
// then parsing arguments and passing control to the App implementation.
#include <cassert>
#include <stdio.h>
#include <string>
#include <vulkan/... | 30.664474 | 86 | 0.721948 | nvpro-samples |
04bcb616c7b897efb490f830e87b1d5544b34162 | 26,909 | cc | C++ | crawl-ref/source/los.cc | ludamad/bcrawl-hacks | 0c82f6181d8c2ffcb58f374a58887694cdd407ae | [
"CC0-1.0"
] | 58 | 2018-12-10T05:09:50.000Z | 2022-01-17T02:22:49.000Z | crawl-ref/source/los.cc | ludamad/bcrawl-hacks | 0c82f6181d8c2ffcb58f374a58887694cdd407ae | [
"CC0-1.0"
] | 501 | 2020-04-06T07:19:01.000Z | 2022-02-23T13:04:40.000Z | crawl-ref/source/los.cc | alexjurkiewicz/crawl-ref | b30f108f014aa9282fecf9cd6d84024ab3608e69 | [
"CC0-1.0"
] | 74 | 2020-04-06T07:40:50.000Z | 2021-05-21T00:13:36.000Z | /**
* @file
* @brief Line-of-sight algorithm.
*
*
*
* == Definition of visibility ==
*
* Two cells are in view of each other if there is any straight
* line that meets both cells and that doesn't meet any opaque
* cell in between, and if the cells are in LOS range of each
* other.
*
* Here, to "meet" a cel... | 28.565817 | 84 | 0.608309 | ludamad |
04becf19b985a7092dc89ea17e5530b33b2f347a | 2,802 | hpp | C++ | Nacro/SDK/FN_Niagara_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_Niagara_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_Niagara_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function Niagara.Niaga... | 60.913043 | 207 | 0.445039 | Milxnor |
04c035d70f5da417000ddff4f4f933657b3a7c1f | 861 | cpp | C++ | Code/Platform/Platform.cpp | WarzesProject/IsekaiWorld | 2abbf0fba0cf7aef884dd93ebada402f14b98359 | [
"MIT"
] | 1 | 2019-10-07T08:59:01.000Z | 2019-10-07T08:59:01.000Z | Code/Platform/Platform.cpp | WarzesProject/IsekaiWorld | 2abbf0fba0cf7aef884dd93ebada402f14b98359 | [
"MIT"
] | null | null | null | Code/Platform/Platform.cpp | WarzesProject/IsekaiWorld | 2abbf0fba0cf7aef884dd93ebada402f14b98359 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Platform.h"
//-----------------------------------------------------------------------------
Platform::Platform()
{
#if SE_PLATFORM_WINDOWS
if (timeBeginPeriod(1) == TIMERR_NOCANDO)
{
TODO("Log");//"Unable to set timer resolution to 1ms.This can cause significant waste in performance fo... | 27.774194 | 125 | 0.463415 | WarzesProject |
04c88acf6d3202be67cf11e2fe02c3ea3ee0d62f | 2,594 | cpp | C++ | keychain_win/secmodlib/src/NamedPipeServer.cpp | jokefor300/array-io-keychain | 1c281b76332af339f0456de51caf65cae9950c91 | [
"MIT"
] | 29 | 2018-03-21T09:21:18.000Z | 2020-09-22T16:31:03.000Z | keychain_win/secmodlib/src/NamedPipeServer.cpp | jokefor300/array-io-keychain | 1c281b76332af339f0456de51caf65cae9950c91 | [
"MIT"
] | 119 | 2018-03-16T14:02:04.000Z | 2019-04-16T21:16:32.000Z | keychain_win/secmodlib/src/NamedPipeServer.cpp | jokefor300/array-io-keychain | 1c281b76332af339f0456de51caf65cae9950c91 | [
"MIT"
] | 3 | 2018-03-21T15:00:16.000Z | 2019-12-25T09:03:58.000Z | #include "NamedPipeServer.h"
#include <keychain_lib/pipeline_parser.hpp>
#include <fcntl.h>
#include <io.h>
#include <iostream>
#include <future>
#include "SecureModuleWrapper.h"
#include <keychain_lib/keychain_logger.hpp>
NamedPipeServer::NamedPipeServer() {
//_secManage = new SecurityManager();
}
NamedPipeSer... | 31.634146 | 102 | 0.661527 | jokefor300 |
04c8a817f73d528d1e13da00c3ecd6aed24a43ac | 608 | hpp | C++ | src/Ast/Block.hpp | JCube001/pl0 | a6ce723ffc7f639ab64d1a06946990fb6ec295d5 | [
"MIT"
] | null | null | null | src/Ast/Block.hpp | JCube001/pl0 | a6ce723ffc7f639ab64d1a06946990fb6ec295d5 | [
"MIT"
] | null | null | null | src/Ast/Block.hpp | JCube001/pl0 | a6ce723ffc7f639ab64d1a06946990fb6ec295d5 | [
"MIT"
] | null | null | null | #ifndef PL0_AST_BLOCK_HPP
#define PL0_AST_BLOCK_HPP
#include "Ast/Node.hpp"
#include <memory>
#include <vector>
namespace PL0 {
namespace Ast {
struct Constant;
struct Identifier;
struct Procedure;
struct Statement;
struct Block final : public Node
{
void accept(Visitor& visitor) override
{ visitor.visit(*t... | 19.612903 | 55 | 0.731908 | JCube001 |
04c8b5681af094cb9ec710f32945e579d39739ff | 3,024 | hpp | C++ | climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/VisualShaderNodeGroupBase.hpp | jerry871002/CSE201-project | c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4 | [
"MIT"
] | 5 | 2021-05-27T21:50:33.000Z | 2022-01-28T11:54:32.000Z | climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/VisualShaderNodeGroupBase.hpp | jerry871002/CSE201-project | c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4 | [
"MIT"
] | null | null | null | climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/VisualShaderNodeGroupBase.hpp | jerry871002/CSE201-project | c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4 | [
"MIT"
] | 1 | 2021-01-04T21:12:05.000Z | 2021-01-04T21:12:05.000Z | #ifndef GODOT_CPP_VISUALSHADERNODEGROUPBASE_HPP
#define GODOT_CPP_VISUALSHADERNODEGROUPBASE_HPP
#include <gdnative_api_struct.gen.h>
#include <stdint.h>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include "VisualShaderNode.hpp"
namespace godot {
class VisualShaderNodeGroupBase : public VisualShaderNode... | 34.758621 | 245 | 0.813823 | jerry871002 |
04cd1733ebf9be34cd2bd02f60a72ceca1b0aee9 | 5,982 | hpp | C++ | core/util/shapes/include/vertexBuffer.hpp | masscry/badbaby | f0b2e793081491ed7598d3170725fe4b48ae1fff | [
"MIT"
] | null | null | null | core/util/shapes/include/vertexBuffer.hpp | masscry/badbaby | f0b2e793081491ed7598d3170725fe4b48ae1fff | [
"MIT"
] | null | null | null | core/util/shapes/include/vertexBuffer.hpp | masscry/badbaby | f0b2e793081491ed7598d3170725fe4b48ae1fff | [
"MIT"
] | null | null | null | /**
* @file vertexBuffer.hpp
*
* Vertex buffer data abstarction
*
*/
#pragma once
#ifndef __BB_CORE_UTIL_VERTEX_BUFFER_HEADER__
#define __BB_CORE_UTIL_VERTEX_BUFFER_HEADER__
#include <deque>
#include <vector>
#include <memory>
#include <cassert>
#include <common.hpp>
#include <camera.hpp>
namespace bb
{
c... | 23.928 | 103 | 0.6777 | masscry |
04d16b8cdeac1782f84f7114760a310930e6cf3a | 4,749 | cpp | C++ | csl/cslbase/dyndemo.cpp | arthurcnorman/general | 5e8fef0cc7999fa8ab75d8fdf79ad5488047282b | [
"BSD-2-Clause"
] | null | null | null | csl/cslbase/dyndemo.cpp | arthurcnorman/general | 5e8fef0cc7999fa8ab75d8fdf79ad5488047282b | [
"BSD-2-Clause"
] | null | null | null | csl/cslbase/dyndemo.cpp | arthurcnorman/general | 5e8fef0cc7999fa8ab75d8fdf79ad5488047282b | [
"BSD-2-Clause"
] | null | null | null | // dyndemo.cpp Copyright (C) 2016-2020, Codemist
//
// This is a test and demonstration of run-time loading of a module
// of code. This is an idea I was pursuing at one stage but am not now!
//
/**************************************************************************
* Copyright (C) 2020... | 38.298387 | 75 | 0.54622 | arthurcnorman |
04d235f350f76303cab24879528777495227a182 | 520 | hpp | C++ | src/engine/systems/ClientNetworkSystem.hpp | arthurchaloin/indie | 84fa7f0864c54e4b35620235ca4e852d7b85fffd | [
"MIT"
] | null | null | null | src/engine/systems/ClientNetworkSystem.hpp | arthurchaloin/indie | 84fa7f0864c54e4b35620235ca4e852d7b85fffd | [
"MIT"
] | null | null | null | src/engine/systems/ClientNetworkSystem.hpp | arthurchaloin/indie | 84fa7f0864c54e4b35620235ca4e852d7b85fffd | [
"MIT"
] | null | null | null | //
// ClientNetworkSystem.hpp
// engine
//
// Created by Arthur Chaloin on 14/05/2018.
//
#pragma once
#include <thread>
#include "engine/core/Scene.hpp"
#include "engine/core/System.hpp"
#include "engine/network/Selector.hpp"
namespace engine {
class ClientNetworkSystem : public System {
public:
explicit Cl... | 17.931034 | 91 | 0.726923 | arthurchaloin |
04d311c2524015bb4ce58eb8b23e4b50f7bfda3d | 1,022 | cpp | C++ | tutorial/minimal/MinimalGraphic.cpp | ljwall/er-301 | d6b5f440f3b558fc1b4135bd2de05a7dc93fd1fb | [
"MIT"
] | 102 | 2021-03-01T10:39:56.000Z | 2022-03-31T00:28:15.000Z | tutorial/minimal/MinimalGraphic.cpp | ljwall/er-301 | d6b5f440f3b558fc1b4135bd2de05a7dc93fd1fb | [
"MIT"
] | 62 | 2021-03-01T19:38:54.000Z | 2022-03-21T00:51:24.000Z | tutorial/minimal/MinimalGraphic.cpp | ljwall/er-301 | d6b5f440f3b558fc1b4135bd2de05a7dc93fd1fb | [
"MIT"
] | 19 | 2021-03-01T19:52:10.000Z | 2021-07-29T03:25:19.000Z | #include <MinimalGraphic.h>
#include <math.h>
MinimalGraphic::MinimalGraphic(int left, int bottom, int width, int height) : od::Graphic(left, bottom, width, height)
{
}
MinimalGraphic::~MinimalGraphic()
{
}
void MinimalGraphic::draw(od::FrameBuffer &fb)
{
const int MARGIN = 2;
// The coordina... | 31.9375 | 119 | 0.690802 | ljwall |
04d3c2e954b8dbb90c7ebd20f36bd773afe629e6 | 3,637 | cpp | C++ | Assignment 4/TreeNodeDisplay.cpp | chendante/Principles-of-Compilers-Assignments | eb2e33c0bf122ab93ee2a576306cf236c544fa44 | [
"Apache-2.0"
] | 11 | 2019-11-19T16:04:51.000Z | 2021-09-27T12:35:24.000Z | Assignment 4/TreeNodeDisplay.cpp | chendante/Principles-of-Compilers-Assignments | eb2e33c0bf122ab93ee2a576306cf236c544fa44 | [
"Apache-2.0"
] | null | null | null | Assignment 4/TreeNodeDisplay.cpp | chendante/Principles-of-Compilers-Assignments | eb2e33c0bf122ab93ee2a576306cf236c544fa44 | [
"Apache-2.0"
] | 8 | 2019-11-18T01:26:52.000Z | 2020-12-31T12:44:03.000Z | #include "TreeNode.h"
// 展示每个节点
void TreeNode::display()
{
for(int i=0;i<MAXCHILDREN;i++)
{
if(this->children[i] != NULL)
this->children[i]->display();
}
this->printNode();
if(this->sibling != NULL)
{
this->sibling->display();
}
}
void TreeNode::printNode()
{
... | 20.432584 | 122 | 0.392081 | chendante |
3e246d100d1b4e8d7cf55610636e73236f693c31 | 2,792 | cpp | C++ | source/QtMultimedia/QMediaGaplessPlaybackControlSlots.cpp | orangesocks/Qt5xHb | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | [
"MIT"
] | 11 | 2017-01-30T14:19:11.000Z | 2020-05-30T13:39:16.000Z | source/QtMultimedia/QMediaGaplessPlaybackControlSlots.cpp | orangesocks/Qt5xHb | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | [
"MIT"
] | 1 | 2017-02-24T20:57:32.000Z | 2018-05-29T13:43:05.000Z | source/QtMultimedia/QMediaGaplessPlaybackControlSlots.cpp | orangesocks/Qt5xHb | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | [
"MIT"
] | 5 | 2017-01-30T14:19:12.000Z | 2020-03-28T08:54:56.000Z | /*
Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#include "QMediaGaplessPlaybackControlSlots.h"
QMediaGaples... | 28.783505 | 124 | 0.704513 | orangesocks |
3e25a2f8c2a5af35e835fd898be81be6385ce98d | 2,278 | cpp | C++ | code/Fork.cpp | JasonCheeeeen/Fork_and_Shell_in_os | 3aeecef9830f475edc04cb93759a838daf6bedea | [
"MIT"
] | null | null | null | code/Fork.cpp | JasonCheeeeen/Fork_and_Shell_in_os | 3aeecef9830f475edc04cb93759a838daf6bedea | [
"MIT"
] | null | null | null | code/Fork.cpp | JasonCheeeeen/Fork_and_Shell_in_os | 3aeecef9830f475edc04cb93759a838daf6bedea | [
"MIT"
] | null | null | null | #include<iostream>
#include<stdlib.h>
#include<sys/types.h>
#include<sys/wait.h>
#include<unistd.h>
#include<ctime>
/*
run in linux to use fork and getpid() to get process ID
pid > 0 -- parent
pid = 0 -- child
pid < 0 -- fail
*/
using namespace std;
void with_control();
void without_control();
int main()
{
sran... | 18.520325 | 84 | 0.37928 | JasonCheeeeen |
3e2872e31e95bc647a5510f013403ebcf8bd3c3e | 480 | cpp | C++ | Numeric Patterns/numericpattern242.cpp | Starkl7/CPlusPlus-PatternHouse | cf53feac9857d0d87981909e0e8daeda26cb02f4 | [
"MIT"
] | 4 | 2021-09-21T03:43:26.000Z | 2022-01-07T03:07:56.000Z | Numeric Patterns/numericpattern242.cpp | Mahak008/CPlusPlus-PatternHouse | cb1af94590acdf8686dcb5a1aec8da646ca180ff | [
"MIT"
] | 916 | 2021-09-01T15:40:24.000Z | 2022-01-10T17:57:59.000Z | Numeric Patterns/numericpattern242.cpp | Mahak008/CPlusPlus-PatternHouse | cb1af94590acdf8686dcb5a1aec8da646ca180ff | [
"MIT"
] | 20 | 2021-09-30T18:13:58.000Z | 2022-01-06T09:55:36.000Z | #include <iostream>
using namespace std;
int main() {
int n;
cin>>n;
for (int i = 1; i <= n; i++) {
for (int j = 1; j <= i; j++) {
if (i==n){
cout<<j<<" ";
}
else if(j==1 || j==i){
cout<<j<<" ";
}
else {... | 15.483871 | 38 | 0.289583 | Starkl7 |
3e2caf4e192a100c65e3348371e1afebad406cf9 | 15,692 | hpp | C++ | include/ginkgo/core/matrix/fbcsr.hpp | lksriemer/ginkgo | 00a4f67054d73689f07276cc50fb4adc302633fa | [
"BSD-3-Clause"
] | 234 | 2018-01-12T10:12:31.000Z | 2022-03-31T16:27:13.000Z | include/ginkgo/core/matrix/fbcsr.hpp | kho19/ginkgo | cb17428bd2381a15d6c01cac42fa1e7016891239 | [
"BSD-3-Clause"
] | 862 | 2018-02-07T15:07:35.000Z | 2022-03-31T13:00:30.000Z | include/ginkgo/core/matrix/fbcsr.hpp | kho19/ginkgo | cb17428bd2381a15d6c01cac42fa1e7016891239 | [
"BSD-3-Clause"
] | 62 | 2018-01-24T07:58:11.000Z | 2022-03-20T11:49:00.000Z | /*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2021, the Ginkgo authors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source co... | 35.826484 | 80 | 0.672572 | lksriemer |
3e2d2aa00597cd96aa6bcf0e1adc54db26a6d4b1 | 2,255 | cpp | C++ | GStreamerStatic.cpp | ashley-b/PothosGStreamer | c29ecb227f67a367a796f6c8918d5818d70ee309 | [
"BSL-1.0"
] | 2 | 2018-03-30T17:45:30.000Z | 2018-08-09T01:57:07.000Z | GStreamerStatic.cpp | ashley-b/PothosGStreamer | c29ecb227f67a367a796f6c8918d5818d70ee309 | [
"BSL-1.0"
] | null | null | null | GStreamerStatic.cpp | ashley-b/PothosGStreamer | c29ecb227f67a367a796f6c8918d5818d70ee309 | [
"BSL-1.0"
] | null | null | null | /// Copyright (c) 2017-2018 Ashley Brighthope
/// SPDX-License-Identifier: BSL-1.0
#include "GStreamerStatic.hpp"
#include "GStreamerTypes.hpp"
#include <gst/gst.h>
namespace {
struct GStreamerStatic
{
GstTypes::GErrorPtr initError;
GStreamerStatic(const GStreamerStatic &) = delete;
... | 30.890411 | 168 | 0.590244 | ashley-b |
3e2f44c85ad3075a1028e1763cf6ecaa8793e5f4 | 23,339 | cpp | C++ | Kits/DirectXTex/DirectXTexXboxDDS.cpp | dephora/Xbox-ATG-Samples | 31e482c9e23def36073542ce614a0f0b145d7112 | [
"MIT"
] | 1 | 2020-12-13T15:58:44.000Z | 2020-12-13T15:58:44.000Z | Kits/DirectXTex/DirectXTexXboxDDS.cpp | dephora/Xbox-ATG-Samples | 31e482c9e23def36073542ce614a0f0b145d7112 | [
"MIT"
] | null | null | null | Kits/DirectXTex/DirectXTexXboxDDS.cpp | dephora/Xbox-ATG-Samples | 31e482c9e23def36073542ce614a0f0b145d7112 | [
"MIT"
] | 1 | 2020-07-30T11:13:23.000Z | 2020-07-30T11:13:23.000Z | //--------------------------------------------------------------------------------------
// File: DirectXTexXboxDDS.cpp
//
// DirectXTex Auxillary functions for saving "XBOX" Xbox One variants of DDS files
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//------... | 32.687675 | 144 | 0.575389 | dephora |
3e2fa44f3488ae27ac4ee5995bdff649c2d02b04 | 1,695 | cpp | C++ | UnsolvedTasks/Tasks/Task6.cpp | JustoSenka/CppAlgorithmsTutorial | 057afe24b5f44e923633a998b6059839942ec333 | [
"MIT"
] | null | null | null | UnsolvedTasks/Tasks/Task6.cpp | JustoSenka/CppAlgorithmsTutorial | 057afe24b5f44e923633a998b6059839942ec333 | [
"MIT"
] | null | null | null | UnsolvedTasks/Tasks/Task6.cpp | JustoSenka/CppAlgorithmsTutorial | 057afe24b5f44e923633a998b6059839942ec333 | [
"MIT"
] | null | null | null | /*
Multiple choice test has several multiple choice questions. Each question can have only one correct answer.
Additionally, timed multiple choice test can specify the time allowed for solving each question in the test.
The code below satisfies this specification, but the customer complained that the memory usage of ... | 18.423913 | 149 | 0.679646 | JustoSenka |
3e31e16309b7ce2dbed57cf264c28432251c957d | 3,452 | cpp | C++ | sensing/pointcloud_preprocessor/src/outlier_filter/radius_search_2d_outlier_filter_nodelet.cpp | goktugyildirim/autoware.universe | b2f90a0952bf37969517f72ccd5a1ea86f253ce5 | [
"Apache-2.0"
] | 12 | 2020-09-25T08:52:59.000Z | 2020-10-05T02:39:31.000Z | sensing/pointcloud_preprocessor/src/outlier_filter/radius_search_2d_outlier_filter_nodelet.cpp | goktugyildirim/autoware.universe | b2f90a0952bf37969517f72ccd5a1ea86f253ce5 | [
"Apache-2.0"
] | 11 | 2022-01-24T10:26:37.000Z | 2022-03-22T08:19:01.000Z | sensing/preprocessor/pointcloud/pointcloud_preprocessor/src/outlier_filter/radius_search_2d_outlier_filter_nodelet.cpp | taikitanaka3/AutowareArchitectureProposal.iv | 0d47ea532118c98458516a8c83fbdab3d27c6231 | [
"Apache-2.0"
] | 9 | 2020-09-27T05:27:09.000Z | 2020-10-08T03:14:25.000Z | // Copyright 2020 Tier IV, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 37.11828 | 94 | 0.745365 | goktugyildirim |
3e3b096a87bd34364779e8a945d7aee260badde7 | 714 | cpp | C++ | example/eagine/sudoku_tiling.cpp | matus-chochlik/eagine-core | 5bc2d6b9b053deb3ce6f44f0956dfccd75db4649 | [
"BSL-1.0"
] | 1 | 2022-01-25T10:31:51.000Z | 2022-01-25T10:31:51.000Z | example/eagine/sudoku_tiling.cpp | matus-chochlik/eagine-core | 5bc2d6b9b053deb3ce6f44f0956dfccd75db4649 | [
"BSL-1.0"
] | null | null | null | example/eagine/sudoku_tiling.cpp | matus-chochlik/eagine-core | 5bc2d6b9b053deb3ce6f44f0956dfccd75db4649 | [
"BSL-1.0"
] | null | null | null | /// @example eagine/sudoku_tiling.cpp
///
/// Copyright Matus Chochlik.
/// Distributed under the Boost Software License, Version 1.0.
/// See accompanying file LICENSE_1_0.txt or copy at
/// http://www.boost.org/LICENSE_1_0.txt
///
#include <eagine/program_args.hpp>
#include <eagine/sudoku.hpp>
#include <iostream>
#i... | 23.032258 | 62 | 0.696078 | matus-chochlik |
3e3cba821843f72028d3ddc0cd99bbef8678e4c9 | 1,095 | cpp | C++ | leetcode/hard/1074. Number of Submatrices That Sum to Target.cpp | fpdjsns/Algorithm | 0128da7c333d0c065f6d266d9e6dce4a91842525 | [
"MIT"
] | 7 | 2019-08-05T14:49:41.000Z | 2022-03-13T07:10:51.000Z | leetcode/hard/1074. Number of Submatrices That Sum to Target.cpp | fpdjsns/Algorithm | 0128da7c333d0c065f6d266d9e6dce4a91842525 | [
"MIT"
] | null | null | null | leetcode/hard/1074. Number of Submatrices That Sum to Target.cpp | fpdjsns/Algorithm | 0128da7c333d0c065f6d266d9e6dce4a91842525 | [
"MIT"
] | 4 | 2021-01-04T03:45:22.000Z | 2021-10-06T06:11:00.000Z | /**
* problem : https://leetcode.com/problems/number-of-submatrices-that-sum-to-target/
* time complexity : O(N^2 * M^2)
* algorithm : subSum, dp
*/
class Solution {
public:
int numSubmatrixSumTarget(vector<vector<int>>& matrix, int target) {
int n = matrix.size();
int m = matrix[0].size();
... | 29.594595 | 103 | 0.404566 | fpdjsns |
3e3f784bb6fb46e0a0bcb2c1311e05e032ad1617 | 1,296 | cpp | C++ | EvtGen1_06_00/src/EvtGenModels/EvtItgFunction.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | EvtGen1_06_00/src/EvtGenModels/EvtItgFunction.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | EvtGen1_06_00/src/EvtGenModels/EvtItgFunction.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | //--------------------------------------------------------------------------
// File and Version Information:
// $Id: EvtItgFunction.cpp,v 1.1 2016/10/28 16:52:54 jwebb Exp $
//
// Description:
// Class EvtItgFunction
// Implementation for the EvtItgFunction class. Defines the bounds
// checked value() func... | 23.563636 | 101 | 0.542438 | klendathu2k |
3e3fd889d2e722c567b39c009b0ff35b2ea5cf90 | 1,060 | cpp | C++ | src/v3/AsyncTxnAction.cpp | siyuan0322/etcd-cpp-apiv3 | 1575c5b43a64f85f77897e9b5aad24e6523ea453 | [
"BSD-3-Clause"
] | 139 | 2016-09-20T00:28:04.000Z | 2020-09-27T15:05:11.000Z | src/v3/AsyncTxnAction.cpp | siyuan0322/etcd-cpp-apiv3 | 1575c5b43a64f85f77897e9b5aad24e6523ea453 | [
"BSD-3-Clause"
] | 85 | 2020-09-29T16:33:00.000Z | 2022-03-30T01:23:23.000Z | src/v3/AsyncTxnAction.cpp | siyuan0322/etcd-cpp-apiv3 | 1575c5b43a64f85f77897e9b5aad24e6523ea453 | [
"BSD-3-Clause"
] | 63 | 2016-12-06T11:42:29.000Z | 2020-09-24T06:15:49.000Z | #include "etcd/v3/action_constants.hpp"
#include "etcd/v3/AsyncTxnAction.hpp"
#include "etcd/v3/Transaction.hpp"
etcdv3::AsyncTxnAction::AsyncTxnAction(
etcdv3::ActionParameters const ¶m, etcdv3::Transaction const &tx)
: etcdv3::Action(param)
{
response_reader = parameters.kv_stub->AsyncTxn(&context, *tx.... | 27.179487 | 82 | 0.718868 | siyuan0322 |
3e42e00ab24d231d1c84074f91b40c0e972d80cf | 1,648 | hpp | C++ | src/traderlib/core/bom/tradesparameters.hpp | AndreaCitrolo/Trader | 5ebaff6d5661471357cb827d3b0c61adafc24b50 | [
"MIT"
] | null | null | null | src/traderlib/core/bom/tradesparameters.hpp | AndreaCitrolo/Trader | 5ebaff6d5661471357cb827d3b0c61adafc24b50 | [
"MIT"
] | 1 | 2019-11-06T23:15:30.000Z | 2019-11-11T10:04:32.000Z | src/traderlib/core/bom/tradesparameters.hpp | AndreaCitrolo/Trader | 5ebaff6d5661471357cb827d3b0c61adafc24b50 | [
"MIT"
] | 1 | 2019-11-10T00:01:07.000Z | 2019-11-10T00:01:07.000Z | #ifndef TRADESREQUESTPARAMETERS_HPP
#define TRADESREQUESTPARAMETERS_HPP
#include <QVariant>
#include <QMetaType>
#include <boost/optional.hpp>
#include "basictypes.h"
namespace bitinvest {
namespace core {
namespace bom {
struct TradesParameters
{
TradesParameters():
mSymbol(boost::none),
mFil... | 25.75 | 114 | 0.697816 | AndreaCitrolo |
3e44d48bffc61e289c391d80aa9d93dd9c86f172 | 5,709 | inl | C++ | src/Core/Asset/deprecated/FileManager.inl | sylvaindeker/Radium-Engine | 64164a258b3f7864c73a07c070e49b7138488d62 | [
"Apache-2.0"
] | 1 | 2018-04-16T13:55:45.000Z | 2018-04-16T13:55:45.000Z | src/Core/Asset/deprecated/FileManager.inl | sylvaindeker/Radium-Engine | 64164a258b3f7864c73a07c070e49b7138488d62 | [
"Apache-2.0"
] | null | null | null | src/Core/Asset/deprecated/FileManager.inl | sylvaindeker/Radium-Engine | 64164a258b3f7864c73a07c070e49b7138488d62 | [
"Apache-2.0"
] | null | null | null | #include <Core/Asset/deprecated/FileManager.hpp>
namespace Ra {
namespace Core {
namespace Asset {
namespace deprecated {
//////////////////////////////////////////////////////////////////////////////
// CONSTRUCTOR
//////////////////////////////////////////////////////////////////////////////
template <typename DATA... | 34.810976 | 100 | 0.51375 | sylvaindeker |
3e46ab2573f1313da6146302fd0b3465ed976a82 | 3,954 | cpp | C++ | cmdstan/stan/lib/stan_math/test/unit/math/rev/scal/fun/fdim_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/rev/scal/fun/fdim_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/rev/scal/fun/fdim_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/math/rev/scal.hpp>
#include <gtest/gtest.h>
#include <test/unit/math/rev/scal/fun/nan_util.hpp>
#include <test/unit/math/rev/scal/util.hpp>
TEST(AgradRev,fdim_vv) {
using stan::math::fdim;
AVAR a = 3.0;
AVAR b = 4.0;
AVAR f = fdim(a,b);
EXPECT_FLOAT_EQ(0.0,f.val());
AVEC x = createAVEC(a,b)... | 28.652174 | 89 | 0.675013 | yizhang-cae |
3e4916d0e1def8d13a1e22a79406090440fb34f4 | 211 | cpp | C++ | Baekjoon/14913.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/14913.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/14913.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(void)
{
int a, d, k, n;
cin >> a >> d >> k;
k -= a;
if (k%d != 0)
cout << 'X';
else
{
if (k / d < 0)
cout << 'X';
else
cout << k / d + 1;
}
}
| 11.722222 | 21 | 0.440758 | Twinparadox |
3e492e5957689a19ab408048178ff1f3e4b42e50 | 325 | hpp | C++ | include/libcam/exception.hpp | luckybet100/libcam | c837e84769a75c83c518fcda9d7f12d6061e0110 | [
"MIT"
] | 4 | 2021-07-01T19:49:23.000Z | 2022-03-14T01:53:17.000Z | include/libcam/exception.hpp | luckybet100/libcam | c837e84769a75c83c518fcda9d7f12d6061e0110 | [
"MIT"
] | null | null | null | include/libcam/exception.hpp | luckybet100/libcam | c837e84769a75c83c518fcda9d7f12d6061e0110 | [
"MIT"
] | 1 | 2020-11-04T10:05:00.000Z | 2020-11-04T10:05:00.000Z | #pragma once
#include <string>
#include <stdexcept>
namespace libcam {
class Exception : public std::exception {
private:
std::string message;
public:
Exception(const std::string &message);
virtual ~Exception() noexcept = default;
const char *what() const noexcept;
}... | 16.25 | 48 | 0.621538 | luckybet100 |
3e49383e501e0a410cd3182c97489671069c6278 | 3,460 | cpp | C++ | CesiumUtility/src/Uri.cpp | zrkcode/cesium-native | 5265a65053542fe02928c272762c6b89fa2b29bb | [
"Apache-2.0"
] | null | null | null | CesiumUtility/src/Uri.cpp | zrkcode/cesium-native | 5265a65053542fe02928c272762c6b89fa2b29bb | [
"Apache-2.0"
] | null | null | null | CesiumUtility/src/Uri.cpp | zrkcode/cesium-native | 5265a65053542fe02928c272762c6b89fa2b29bb | [
"Apache-2.0"
] | null | null | null | #include "CesiumUtility/Uri.h"
#include "uriparser/Uri.h"
#include <stdexcept>
using namespace CesiumUtility;
std::string Uri::resolve(
const std::string& base,
const std::string& relative,
bool useBaseQuery) {
UriUriA baseUri;
if (uriParseSingleUriA(&baseUri, base.c_str(), nullptr) != URI_SUCCESS) {... | 26.212121 | 79 | 0.664451 | zrkcode |
3e4b718a16afc7c86a6ac7771ce692c1e75a888a | 446 | cpp | C++ | core/src/Util.cpp | BlurryRoots/hannelore | 28b54553ed3b7be6e1e9e29efe6d1d0473f19bf6 | [
"BSD-2-Clause"
] | 2 | 2015-03-30T15:17:07.000Z | 2016-07-31T04:57:23.000Z | core/src/Util.cpp | BlurryRoots/hannelore | 28b54553ed3b7be6e1e9e29efe6d1d0473f19bf6 | [
"BSD-2-Clause"
] | 5 | 2016-06-08T20:39:16.000Z | 2016-06-08T20:46:42.000Z | core/src/Util.cpp | BlurryRoots/hannelore | 28b54553ed3b7be6e1e9e29efe6d1d0473f19bf6 | [
"BSD-2-Clause"
] | 1 | 2020-06-08T08:07:53.000Z | 2020-06-08T08:07:53.000Z | #include <Util.h>
namespace blurryroots { namespace util {
DebugLogLevel blurryroots::util::log_level = DebugLogLevel::Error
| DebugLogLevel::Warn
| DebugLogLevel::Log
;
bool
has_only_spaces (const std::string& in) {
for (std::string::const_iterator it = in.begin (); it != in.end (); ++it) {
// ret... | 19.391304 | 77 | 0.630045 | BlurryRoots |
3e4dc6f50891f4452446e3c35fd003e5e13d94ee | 37,154 | cpp | C++ | XUXUCAM/CamDxf/campart.cpp | hananiahhsu/OpenCAD | d4ae08195411057cce182fe5a4c0a3d226279697 | [
"Apache-2.0"
] | 13 | 2018-11-06T12:37:42.000Z | 2021-07-22T11:49:35.000Z | XUXUCAM/CamDxf/campart.cpp | hananiahhsu/OpenCAD | d4ae08195411057cce182fe5a4c0a3d226279697 | [
"Apache-2.0"
] | 1 | 2020-05-15T07:21:06.000Z | 2020-05-28T05:10:35.000Z | XUXUCAM/CamDxf/campart.cpp | hananiahhsu/OpenCAD | d4ae08195411057cce182fe5a4c0a3d226279697 | [
"Apache-2.0"
] | 11 | 2018-11-06T12:37:52.000Z | 2021-09-25T08:02:27.000Z | #include "CamDxf/campart.h"
#include "CamDxf/camswap.h"
///used to manually set the loopNumber
#include <QInputDialog>
///@note:at() can be faster than operator[](), because it never causes a deep copy to occur.
/// The tolerance defines the disstance within it a loop is estimated to be closed
int to... | 37.989775 | 529 | 0.603084 | hananiahhsu |
3e513fe8ed2bec4de465f366ba3cebf794f12d86 | 6,056 | cpp | C++ | src/data/cross_sections/collapsed_one_group_cross_sections.cpp | SlaybaughLab/Transport | 8eb32cb8ae50c92875526a7540350ef9a85bc050 | [
"MIT"
] | 12 | 2018-03-14T12:30:53.000Z | 2022-01-23T14:46:44.000Z | src/data/cross_sections/collapsed_one_group_cross_sections.cpp | SlaybaughLab/Transport | 8eb32cb8ae50c92875526a7540350ef9a85bc050 | [
"MIT"
] | 194 | 2017-07-07T01:38:15.000Z | 2021-05-19T18:21:19.000Z | src/data/cross_sections/collapsed_one_group_cross_sections.cpp | SlaybaughLab/Transport | 8eb32cb8ae50c92875526a7540350ef9a85bc050 | [
"MIT"
] | 10 | 2017-07-06T22:58:59.000Z | 2021-03-15T07:01:21.000Z | #include "data/cross_sections/collapsed_one_group_cross_sections.hpp"
#include <numeric>
namespace bart::data::cross_sections {
namespace {
template <typename MappedType> using MaterialIDMappedTo = std::unordered_map<int, MappedType>;
using FullMatrix = dealii::FullMatrix<double>;
auto ScaleVector = [](MaterialIDM... | 46.229008 | 137 | 0.755614 | SlaybaughLab |
3e531624f296fdd91df69086f4e077ed95c9c4a1 | 62 | cpp | C++ | src/kmer-extern-template.in.cpp | mgawan/mhm2_staging | 0b59be2c2b4d7745d2f89b9b1b342cfe5ef6bd32 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/kmer-extern-template.in.cpp | mgawan/mhm2_staging | 0b59be2c2b4d7745d2f89b9b1b342cfe5ef6bd32 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/kmer-extern-template.in.cpp | mgawan/mhm2_staging | 0b59be2c2b4d7745d2f89b9b1b342cfe5ef6bd32 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "kmer.hpp"
__MACRO_KMER__(@KMER_LENGTH@, template);
| 15.5 | 40 | 0.758065 | mgawan |
3e5e62c2001940be60cf67248c6398755183e760 | 777 | cpp | C++ | Plugins/Tweaks/DisablePause.cpp | summonFox/unified | 47ab7d051fe52c26e2928b569e9fe7aec5aa8705 | [
"MIT"
] | 111 | 2018-01-16T18:49:19.000Z | 2022-03-13T12:33:54.000Z | Plugins/Tweaks/DisablePause.cpp | summonFox/unified | 47ab7d051fe52c26e2928b569e9fe7aec5aa8705 | [
"MIT"
] | 636 | 2018-01-17T10:05:31.000Z | 2022-03-28T20:06:03.000Z | Plugins/Tweaks/DisablePause.cpp | summonFox/unified | 47ab7d051fe52c26e2928b569e9fe7aec5aa8705 | [
"MIT"
] | 110 | 2018-01-16T19:05:54.000Z | 2022-03-28T03:44:16.000Z | #include "nwnx.hpp"
#include "API/CServerExoAppInternal.hpp"
namespace Tweaks {
using namespace NWNXLib;
using namespace NWNXLib::API;
void DisablePause() __attribute__((constructor));
void DisablePause()
{
if (!Config::Get<bool>("DISABLE_PAUSE", false))
return;
LOG_INFO("Disabling pausing of the... | 25.064516 | 122 | 0.661519 | summonFox |
3e63b75ae5ca396efdd052b7976721b0c8b56bce | 1,596 | hpp | C++ | src/seman/analyser.hpp | chirp-language/chirpc | 75657cc99455dd84f01efd3c308e5676dd0c415f | [
"MIT"
] | 10 | 2021-04-04T21:32:32.000Z | 2021-12-11T21:03:35.000Z | src/seman/analyser.hpp | chirp-language/chirpc | 75657cc99455dd84f01efd3c308e5676dd0c415f | [
"MIT"
] | 6 | 2021-04-05T15:19:19.000Z | 2022-02-21T02:15:35.000Z | src/seman/analyser.hpp | chirp-language/chirpc | 75657cc99455dd84f01efd3c308e5676dd0c415f | [
"MIT"
] | 2 | 2021-04-05T17:24:06.000Z | 2021-04-27T21:20:34.000Z | /// \file Semantic analyser and AST walker
#pragma once
#include "../ast/ast.hpp"
#include "tracker.hpp"
class analyser
{
public:
analyser(ast_root& root, diagnostic_manager& diag)
: root(root), sym_tracker(diag), diagnostics(diag)
{
sym_tracker.set_root(&root);
}
void analyse();
protected:
ast_root& ro... | 27.050847 | 70 | 0.780075 | chirp-language |
3e6aa27a36b4bfdd872bc7f8c74226ea4aebf095 | 4,361 | cpp | C++ | ClassicShellSrc/ClassicIE/ClassicIEDLL/dllmain.cpp | coddec/Classic-Shell | e3f6602abbca4b7d7c147171c5c280f1740270d0 | [
"MIT"
] | 664 | 2017-12-04T15:01:44.000Z | 2022-03-27T13:07:37.000Z | ClassicShellSrc/ClassicIE/ClassicIEDLL/dllmain.cpp | Open343/Classic-Shell | e3f6602abbca4b7d7c147171c5c280f1740270d0 | [
"MIT"
] | 36 | 2017-12-05T02:40:34.000Z | 2022-02-09T23:53:16.000Z | ClassicShellSrc/ClassicIE/ClassicIEDLL/dllmain.cpp | Open343/Classic-Shell | e3f6602abbca4b7d7c147171c5c280f1740270d0 | [
"MIT"
] | 217 | 2017-12-04T14:01:07.000Z | 2022-03-26T10:25:39.000Z | // Classic Shell (c) 2009-2016, Ivo Beltchev
// Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author
#include "stdafx.h"
#include "resource.h"
#include "..\..\ClassicShellLib\resource.h"
#include "Settings.h"
#include "SettingsUI.h"
#include "Settin... | 27.086957 | 125 | 0.766797 | coddec |
3e6b529b1e6db4a29ea2fc01a9441545cc368ae5 | 2,717 | cpp | C++ | AEngine/src/Application/Application.cpp | alife1029/AEngine | ecf181948fc90690c7fe2fba7792f29441b445d7 | [
"MIT"
] | 1 | 2022-01-17T19:01:14.000Z | 2022-01-17T19:01:14.000Z | AEngine/src/Application/Application.cpp | alife1029/AEngine | ecf181948fc90690c7fe2fba7792f29441b445d7 | [
"MIT"
] | null | null | null | AEngine/src/Application/Application.cpp | alife1029/AEngine | ecf181948fc90690c7fe2fba7792f29441b445d7 | [
"MIT"
] | null | null | null | #include "AEngine/Application/Application.hpp"
#include "AEngine/Application/FileDialogs.hpp"
#include "AEngine/Input/Input.hpp"
#include "AEngine/Graphics/Renderer2D.hpp"
#include "AEngine/Exception/OpenGLException.hpp"
#include "AEngine/Utils/Time.hpp"
#include "AEngine/Utils/Logger.hpp"
#include <glad/glad.... | 24.926606 | 101 | 0.576739 | alife1029 |
3e7433af3c52925501585f4517369d8b0847664d | 7,622 | cpp | C++ | source/tests/liblocate-test/liblocate_test.cpp | ekilmer/cpplocate | cea23645a43ee3222a34efa2bf972e08638e97bd | [
"MIT"
] | null | null | null | source/tests/liblocate-test/liblocate_test.cpp | ekilmer/cpplocate | cea23645a43ee3222a34efa2bf972e08638e97bd | [
"MIT"
] | null | null | null | source/tests/liblocate-test/liblocate_test.cpp | ekilmer/cpplocate | cea23645a43ee3222a34efa2bf972e08638e97bd | [
"MIT"
] | null | null | null |
#include <gmock/gmock.h>
#include <liblocate/liblocate.h>
class liblocate_test : public testing::Test
{
public:
liblocate_test()
{
}
};
TEST_F(liblocate_test, getExecutablePath_NoReturn)
{
getExecutablePath(nullptr, nullptr);
SUCCEED();
}
TEST_F(liblocate_test, getExecutablePath_Return)
{
... | 23.81875 | 142 | 0.639596 | ekilmer |
3e7481889a22e921314be87377388e0fdbd0d3c6 | 633 | cpp | C++ | app/flite_main/flite_lang_list.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 7 | 2017-12-10T23:02:22.000Z | 2021-08-05T21:12:11.000Z | app/flite_main/flite_lang_list.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | null | null | null | app/flite_main/flite_lang_list.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 3 | 2018-10-28T03:47:09.000Z | 2020-06-04T08:54:23.000Z | /* Generated automatically from make_lang_list */
#include "flite/flite.hpp"
void usenglish_init(cst_voice* v);
cst_lexicon* cmulex_init(void);
void cmu_indic_lang_init(cst_voice* v);
cst_lexicon* cmu_indic_lex_init(void);
void cmu_grapheme_lang_init(cst_voice* v);
cst_lexicon* cmu_grapheme_lex_init(void);
void fl... | 30.142857 | 87 | 0.802528 | Barath-Kannan |
3e76addaf7ec86435435700adc7913da1a86b384 | 1,342 | cpp | C++ | src/PointwiseFunctions/AnalyticData/Burgers/Sinusoid.cpp | kidder/spectre | 97ae95f72320f9f67895d3303824e64de6fd9077 | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | src/PointwiseFunctions/AnalyticData/Burgers/Sinusoid.cpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | src/PointwiseFunctions/AnalyticData/Burgers/Sinusoid.cpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "PointwiseFunctions/AnalyticData/Burgers/Sinusoid.hpp"
#include <array>
#include <cmath>
#include "DataStructures/DataVector.hpp" // IWYU pragma: keep
#include "DataStructures/Tensor/Tensor.hpp"
#include "Utilities/ErrorHandling/Assert.h... | 27.387755 | 74 | 0.694486 | kidder |
3e77c850f0c8469c442df61295e3224ee303e0ac | 5,407 | cpp | C++ | source/typecheck/traits.cpp | requimrar/corescript | 9c46e51d898337df2e7f88250f314c177401d154 | [
"Apache-2.0"
] | 168 | 2015-01-27T15:22:08.000Z | 2021-12-03T15:07:04.000Z | source/typecheck/traits.cpp | requimrar/corescript | 9c46e51d898337df2e7f88250f314c177401d154 | [
"Apache-2.0"
] | 32 | 2015-01-28T14:53:09.000Z | 2020-12-02T10:37:04.000Z | source/typecheck/traits.cpp | requimrar/corescript | 9c46e51d898337df2e7f88250f314c177401d154 | [
"Apache-2.0"
] | 18 | 2015-06-08T20:45:32.000Z | 2021-12-19T14:07:32.000Z | // traits.cpp
// Copyright (c) 2019, zhiayang
// Licensed under the Apache License Version 2.0.
#include "ast.h"
#include "errors.h"
#include "typecheck.h"
#include "polymorph.h"
#include "memorypool.h"
#include "ir/type.h"
TCResult ast::TraitDefn::generateDeclaration(sst::TypecheckState* fs, fir::Type* infer, cons... | 23.206009 | 130 | 0.664509 | requimrar |
3e7c1f90cd6271fbb503b4359b80505d8fe18f93 | 2,875 | cpp | C++ | shared/Packet.cpp | RamseyK/jkchat | 72b7b93655850d9e72d600ef185eda779aa9ba82 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | shared/Packet.cpp | RamseyK/jkchat | 72b7b93655850d9e72d600ef185eda779aa9ba82 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | shared/Packet.cpp | RamseyK/jkchat | 72b7b93655850d9e72d600ef185eda779aa9ba82 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | /**
jkchat
Packet.cpp
Copyright 2011 Ramsey Kant, Keilan Jackson
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 requi... | 29.040404 | 146 | 0.70887 | RamseyK |
3e7e6c0ece5aca64475ada894ec0da9cbecd7238 | 762 | cpp | C++ | src/VoxerEngine/Math/ChunkPosition.cpp | cLazyZombie/wasmgl | 68f7cab5bab01d8f00a73c5d32d2d2f9ba6185a9 | [
"MIT"
] | null | null | null | src/VoxerEngine/Math/ChunkPosition.cpp | cLazyZombie/wasmgl | 68f7cab5bab01d8f00a73c5d32d2d2f9ba6185a9 | [
"MIT"
] | null | null | null | src/VoxerEngine/Math/ChunkPosition.cpp | cLazyZombie/wasmgl | 68f7cab5bab01d8f00a73c5d32d2d2f9ba6185a9 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ChunkPosition.h"
namespace VoxerEngine
{
ChunkPosition::ChunkPosition() : X(0), Y(0), Z(0)
{
}
ChunkPosition::ChunkPosition(int32_t x, int32_t y, int32_t z) : X(x), Y(y), Z(z)
{
}
VoxerEngine::ChunkPosition ChunkPosition::GetNeighborPos(Direction dir) const
{
switch (dir)
{
... | 18.142857 | 81 | 0.635171 | cLazyZombie |
3e83e2fb9e996bb8528a34bd45f084bcaba19dbf | 1,251 | cpp | C++ | Code/Libraries/Rodin/src/Actions/wbactionrodinblackboardwrite.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Libraries/Rodin/src/Actions/wbactionrodinblackboardwrite.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Libraries/Rodin/src/Actions/wbactionrodinblackboardwrite.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | #include "core.h"
#include "wbactionrodinblackboardwrite.h"
#include "configmanager.h"
#include "Components/wbcomprodinblackboard.h"
#include "wbactionstack.h"
WBActionRodinBlackboardWrite::WBActionRodinBlackboardWrite()
: m_BlackboardKey(), m_ValuePE() {}
WBActionRodinBlackboardWrite::~WBActionRodinBlackboardWri... | 30.512195 | 72 | 0.784972 | kas1e |
3e9508c05fed7d576f9de8c44ec0b0f33035e5af | 2,037 | hpp | C++ | raintk/RainTkTransformSystem.hpp | preet/raintk | 9cbd596d9cec9aca7d3bbf3994a2931bac87e98d | [
"Apache-2.0"
] | 4 | 2016-05-03T20:47:51.000Z | 2021-04-15T09:33:34.000Z | raintk/RainTkTransformSystem.hpp | preet/raintk | 9cbd596d9cec9aca7d3bbf3994a2931bac87e98d | [
"Apache-2.0"
] | null | null | null | raintk/RainTkTransformSystem.hpp | preet/raintk | 9cbd596d9cec9aca7d3bbf3994a2931bac87e98d | [
"Apache-2.0"
] | 1 | 2017-07-26T07:31:35.000Z | 2017-07-26T07:31:35.000Z | /*
Copyright (C) 2015-2016 Preet Desai (preet.desai@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by a... | 27.90411 | 75 | 0.679921 | preet |
3e95390f2876475d320b1fde9702cd5bdce52dea | 67,901 | hpp | C++ | src/win_socks/include/unifex_IOCP_sockets.hpp | grishavanika/win_io | 29a7bb5ae5974754662207992627c1d0dfc9e865 | [
"MIT"
] | 1 | 2021-05-04T18:39:17.000Z | 2021-05-04T18:39:17.000Z | src/win_socks/include/unifex_IOCP_sockets.hpp | grishavanika/win_io | 29a7bb5ae5974754662207992627c1d0dfc9e865 | [
"MIT"
] | null | null | null | src/win_socks/include/unifex_IOCP_sockets.hpp | grishavanika/win_io | 29a7bb5ae5974754662207992627c1d0dfc9e865 | [
"MIT"
] | null | null | null | #include <WinSock2.h>
#include <WS2tcpip.h>
#if !defined(WIN32_LEAN_AND_MEAN)
# define WIN32_LEAN_AND_MEAN
#endif
#include <Windows.h>
#if !defined(_WINSOCKAPI_)
# define _WINSOCKAPI_
#endif
#include <MSWSock.h>
#include <win_io/detail/io_completion_port.h>
#include <unifex/sender_concepts.hpp>
#inc... | 32.897771 | 130 | 0.596088 | grishavanika |
3e9977c1a0e7d224e6d4a043c7f150dbab0fce2f | 899 | cpp | C++ | Chapter11/Exercise71/Exercise71.cpp | Archiit19/The-Cpp-Workshop | ae2f8d0c375d6bcdd7fa5ab9e34370ce83d1f501 | [
"MIT"
] | 4 | 2019-08-12T08:59:46.000Z | 2022-03-08T07:49:29.000Z | Chapter11/Exercise71/Exercise71.cpp | Archiit19/The-Cpp-Workshop | ae2f8d0c375d6bcdd7fa5ab9e34370ce83d1f501 | [
"MIT"
] | null | null | null | Chapter11/Exercise71/Exercise71.cpp | Archiit19/The-Cpp-Workshop | ae2f8d0c375d6bcdd7fa5ab9e34370ce83d1f501 | [
"MIT"
] | 5 | 2019-10-09T17:00:56.000Z | 2022-03-08T07:49:41.000Z | #include <iostream>
#include <string>
#include <typeinfo>
using namespace std;
template<typename T>
class Position
{
public:
Position(T x, T y)
{
m_x = x;
m_y = y;
}
T const getX() { return m_x; }
T const getY() { return m_y; }
private:
T m_x... | 27.242424 | 71 | 0.537264 | Archiit19 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.