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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a79ed6d1e35d244ed967fe0902d23a291ffafc7 | 3,909 | hpp | C++ | src/extra/imgui.hpp | fragcolor-xyz/chainblocks | bf83f8dc8f46637bc42713d1fa77e81228ddfccf | [
"BSD-3-Clause"
] | 12 | 2021-07-11T11:14:14.000Z | 2022-03-28T11:37:29.000Z | src/extra/imgui.hpp | fragcolor-xyz/chainblocks | bf83f8dc8f46637bc42713d1fa77e81228ddfccf | [
"BSD-3-Clause"
] | 103 | 2021-06-26T17:09:43.000Z | 2022-03-30T12:05:18.000Z | src/extra/imgui.hpp | fragcolor-xyz/chainblocks | bf83f8dc8f46637bc42713d1fa77e81228ddfccf | [
"BSD-3-Clause"
] | 8 | 2021-07-27T14:45:26.000Z | 2022-03-01T08:07:18.000Z | /* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright © 2019 Fragcolor Pte. Ltd. */
#pragma once
#include "foundation.hpp"
#include "imgui.h"
#include "ImGuizmo.h"
namespace ImGuiExtra {
#include "imgui_memory_editor.h"
};
namespace chainblocks {
namespace ImGui {
constexpr uint32_t ImGuiContextCC = 'gui ';
st... | 34.59292 | 80 | 0.718086 | fragcolor-xyz |
6a7d6dfca39b3dc36cafc780f54a6beca726a6b1 | 1,198 | cpp | C++ | 2446.cpp | gabrielld06/Exercicios-URI | 5a8146a0246cd133fac340b9d11dc60d88b8a94b | [
"MIT"
] | null | null | null | 2446.cpp | gabrielld06/Exercicios-URI | 5a8146a0246cd133fac340b9d11dc60d88b8a94b | [
"MIT"
] | null | null | null | 2446.cpp | gabrielld06/Exercicios-URI | 5a8146a0246cd133fac340b9d11dc60d88b8a94b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define False 'N'
#define True 'S'
using namespace std;
char memo[100002][1002];
void resetar_memo(int n, int m) {
for(int i=0;i<=n;i++) {
for(int j=0;j<=m;j++) {
memo[i][j] = 'F';
}
}
}
char coins(int v, int m, vector<int> moedas) {
int troco;
char ans, add, nadd;
if(memo[v][m]... | 19.015873 | 56 | 0.519199 | gabrielld06 |
6a7f445012ee80a87615dba95ec02813158ac857 | 1,506 | cpp | C++ | src/server/piece/Piece.cpp | LB--/ChessPlusPlus | 70b389f0c3f4a5299ed4a2292bed22383ff95ed0 | [
"Apache-1.1"
] | 1 | 2021-07-11T18:04:34.000Z | 2021-07-11T18:04:34.000Z | src/server/piece/Piece.cpp | LB--/ChessPlusPlus | 70b389f0c3f4a5299ed4a2292bed22383ff95ed0 | [
"Apache-1.1"
] | null | null | null | src/server/piece/Piece.cpp | LB--/ChessPlusPlus | 70b389f0c3f4a5299ed4a2292bed22383ff95ed0 | [
"Apache-1.1"
] | 2 | 2017-10-02T23:25:35.000Z | 2019-09-08T10:03:34.000Z | #include "Piece.hpp"
#include "server/board/Board.hpp"
#include <algorithm>
#include <iostream>
namespace chesspp { namespace server
{
namespace piece
{
Piece::Piece(board::Board &b, Position_t const &pos_, Suit_t const &s_, Class_t const &pc)
: board(b) //can't use {}
, p{pos_}
... | 27.888889 | 161 | 0.527224 | LB-- |
6a803adcce9188677525ac3aca370c64bcdc4a90 | 849 | cpp | C++ | data/dailyCodingProblem189.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | 2 | 2020-09-04T20:56:23.000Z | 2021-06-11T07:42:26.000Z | data/dailyCodingProblem189.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | null | null | null | data/dailyCodingProblem189.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*
Given an array of elements, return the length of the longest
subarray where all its elements are distinct.
For example, given the array [5, 1, 3, 5, 2, 3, 4, 1],
return 5 as the longest subarray of distinct elements is [5, 2, 3, 4, 1].
*/
int longestSubarrayDistinct(i... | 21.769231 | 73 | 0.613663 | vidit1999 |
6a857de1c3a9b0b7e45629a7174adcf690b737ed | 2,056 | cpp | C++ | win9x/np2arg.cpp | Tatsuya79/NP2kai | ef8c450135f95bb71a463fe7284ce35107df38d7 | [
"MIT"
] | null | null | null | win9x/np2arg.cpp | Tatsuya79/NP2kai | ef8c450135f95bb71a463fe7284ce35107df38d7 | [
"MIT"
] | null | null | null | win9x/np2arg.cpp | Tatsuya79/NP2kai | ef8c450135f95bb71a463fe7284ce35107df38d7 | [
"MIT"
] | null | null | null | /**
* @file np2arg.cpp
* @brief 引数情報クラスの動作の定義を行います
*/
#include "compiler.h"
#include "np2arg.h"
#include "dosio.h"
#define MAXARG 32 //!< 最大引数エントリ数
#define ARG_BASE 1 //!< win32 の lpszCmdLine の場合の開始エントリ
//! 唯一のインスタンスです
Np2Arg Np2Arg::sm_instance;
/**
* コンストラクタ
*/
Np2Arg::Np2Arg()
{
... | 20.767677 | 277 | 0.574903 | Tatsuya79 |
6a85da5fb4f57431ce5effe082ea022a6b6b5d64 | 192 | hpp | C++ | TeaGameLib/include/InternalGameLib/InternalGameLib.hpp | Perukii/TeaGameLibrary | ecf04ce3827cc125523774978a574a095d0ae5c5 | [
"MIT"
] | 11 | 2020-03-08T03:12:38.000Z | 2020-10-30T14:35:39.000Z | TeaGameLib/include/InternalGameLib/InternalGameLib.hpp | Perukii/TeaGameLibrary | ecf04ce3827cc125523774978a574a095d0ae5c5 | [
"MIT"
] | 3 | 2020-03-09T06:46:24.000Z | 2020-03-19T11:00:12.000Z | TeaGameLib/include/InternalGameLib/InternalGameLib.hpp | Perukii/TeaGameLibrary | ecf04ce3827cc125523774978a574a095d0ae5c5 | [
"MIT"
] | 1 | 2020-03-19T09:42:45.000Z | 2020-03-19T09:42:45.000Z | #pragma once
#include "../Input/KeyStates.hpp"
#include "../WindowEvent/EventStates.hpp"
namespace teaGameLib {
input::KeyStates GetKeyStates();
windowEvent::EventStates GetEventStates();
} | 24 | 43 | 0.765625 | Perukii |
6a87266706f34dde761fb807eefe35b119d51767 | 4,174 | cpp | C++ | catboost/python-package/ut/medium/canondata/test.test_cpp_export_no_cat_features_CPU_/model.cpp | EkaterinaPogodina/catboost | 4628e86e978da2ec5e4d42f6b8d05e0b5e8aab30 | [
"Apache-2.0"
] | 2 | 2019-07-10T10:49:09.000Z | 2020-06-19T11:40:04.000Z | catboost/python-package/ut/medium/canondata/test.test_cpp_export_no_cat_features_CPU_/model.cpp | EkaterinaPogodina/catboost | 4628e86e978da2ec5e4d42f6b8d05e0b5e8aab30 | [
"Apache-2.0"
] | null | null | null | catboost/python-package/ut/medium/canondata/test.test_cpp_export_no_cat_features_CPU_/model.cpp | EkaterinaPogodina/catboost | 4628e86e978da2ec5e4d42f6b8d05e0b5e8aab30 | [
"Apache-2.0"
] | null | null | null | #include <string>
#include <vector>
/* Model data */
static const struct CatboostModel {
unsigned int FloatFeatureCount = 50;
unsigned int BinaryFeatureCount = 12;
unsigned int TreeCount = 2;
unsigned int TreeDepth[2] = {6, 6};
unsigned int TreeSplits[12] = {7, 5, 0, 4, 9, 3, 11, 6, 1, 10, 2, 8};
... | 69.566667 | 1,100 | 0.720891 | EkaterinaPogodina |
6a893cfa08fecc79f54d50b783454a0ae24f444d | 5,127 | cpp | C++ | a3/map_metadata_f/Altis/config.cpp | tom4897/a3_map_metadata_f | bcb23baa3b1111629077e2d6b56faa5cd9ccd741 | [
"AAL"
] | null | null | null | a3/map_metadata_f/Altis/config.cpp | tom4897/a3_map_metadata_f | bcb23baa3b1111629077e2d6b56faa5cd9ccd741 | [
"AAL"
] | null | null | null | a3/map_metadata_f/Altis/config.cpp | tom4897/a3_map_metadata_f | bcb23baa3b1111629077e2d6b56faa5cd9ccd741 | [
"AAL"
] | null | null | null | #include "CfgPatches.hpp"
#include "..\CfgAreaCategories.inc"
class MAP_METADATA_ROOTCLASS
{
class Altis
{
class Fotia
{
#include "Fotia.hpp"
};
class KavalaPier
{
#include "KavalaPier.hpp"
};
class Kastro
{
#include "Kastro.hpp"
};
class Kavala
{
#include "Kavala.hpp"
};
class A... | 13.179949 | 35 | 0.586113 | tom4897 |
6a89b95f2bc2cb559c90d7f33a033c182a99d24e | 3,430 | cpp | C++ | leetcode/docu/522.cpp | sczzq/symmetrical-spoon | aa0c27bb40a482789c7c6a7088307320a007b49b | [
"Unlicense"
] | null | null | null | leetcode/docu/522.cpp | sczzq/symmetrical-spoon | aa0c27bb40a482789c7c6a7088307320a007b49b | [
"Unlicense"
] | null | null | null | leetcode/docu/522.cpp | sczzq/symmetrical-spoon | aa0c27bb40a482789c7c6a7088307320a007b49b | [
"Unlicense"
] | null | null | null | #include "cpp_header.h"
class Solution
{
struct customGreater1 {
bool operator()(const string & a, const string & b) const
{
return a.length() > b.length();
}
} ;
struct {
bool operator()(const string & a, const string & b) const
{
return a.length() > b.length();
}
} customGreater2;
public:
i... | 18.148148 | 64 | 0.481633 | sczzq |
6a8c962f0b62ca08cdf9a9ad1d16a79ab2939e1d | 2,497 | cpp | C++ | 2. Рекуррентные соотношения/59.2. Репортаж #2962/[OK]233028.cpp | godnoTA/acm.bsu.by | 3e1cf1c545c691de82b5e1d2e0768b41ea581734 | [
"Unlicense"
] | 19 | 2018-05-19T16:37:14.000Z | 2022-03-23T20:13:43.000Z | 2. Рекуррентные соотношения/59.2. Репортаж #2962/[OK]233028.cpp | godnoTA/acm.bsu.by | 3e1cf1c545c691de82b5e1d2e0768b41ea581734 | [
"Unlicense"
] | 6 | 2020-05-07T21:06:48.000Z | 2020-06-05T17:52:57.000Z | 2. Рекуррентные соотношения/59.2. Репортаж #2962/[OK]233028.cpp | godnoTA/acm.bsu.by | 3e1cf1c545c691de82b5e1d2e0768b41ea581734 | [
"Unlicense"
] | 31 | 2019-03-01T21:41:38.000Z | 2022-03-27T17:56:39.000Z | #include <iostream>
#include <fstream>
#include <limits>
#include <algorithm>
#include <vector>
#include <iterator>
#include <ctime>
#include <cstdio>
using namespace std;
int minimum(int a, int b) {
return a > b ? b : a;
}
void findMax(vector<int> v, vector<int> &indexes, vector<int> &prev) {
int ... | 19.81746 | 71 | 0.526231 | godnoTA |
6a90bf634e7d7df76f2056a146085b940571809b | 1,075 | hpp | C++ | include/das.hpp | rosskidson/nestris_x86 | ce5085436ff2c04f8f760c2d88469f77794dd6c3 | [
"MIT"
] | 5 | 2021-01-02T19:06:37.000Z | 2022-03-11T23:56:03.000Z | include/das.hpp | rosskidson/nestris_x86 | ce5085436ff2c04f8f760c2d88469f77794dd6c3 | [
"MIT"
] | null | null | null | include/das.hpp | rosskidson/nestris_x86 | ce5085436ff2c04f8f760c2d88469f77794dd6c3 | [
"MIT"
] | null | null | null | #pragma once
namespace nestris_x86 {
class Das {
public:
constexpr static int NTSC_FULL_CHARGE = 16;
constexpr static int NTSC_MIN_CHARGE = 10;
constexpr static int PAL_FULL_CHARGE = 12;
constexpr static int PAL_MIN_CHARGE = 8;
Das(const int das_full_charge, const int das_min_charge)
: das_full_char... | 32.575758 | 88 | 0.763721 | rosskidson |
6a916445e96ae6271d525d688afe1d842b843903 | 893 | cpp | C++ | Sources/SolarTears/Core/Scene/SceneObjectLocation.cpp | Sixshaman/SolarTears | 97d07730f876508fce8bf93c9dc90f051c230580 | [
"BSD-3-Clause"
] | 4 | 2021-06-30T16:00:20.000Z | 2021-10-13T06:17:56.000Z | Sources/SolarTears/Core/Scene/SceneObjectLocation.cpp | Sixshaman/SolarTears | 97d07730f876508fce8bf93c9dc90f051c230580 | [
"BSD-3-Clause"
] | null | null | null | Sources/SolarTears/Core/Scene/SceneObjectLocation.cpp | Sixshaman/SolarTears | 97d07730f876508fce8bf93c9dc90f051c230580 | [
"BSD-3-Clause"
] | null | null | null | #include "SceneObjectLocation.hpp"
#include "../Math/QuaternionUtils.hpp"
void SceneObjectLocation::SetPrincipalRight(DirectX::XMVECTOR right)
{
DirectX::XMVECTOR defaultRight = DirectX::XMVectorSet(1.0f, 0.0f, 0.0f, 0.0f);
DirectX::XMStoreFloat4(&RotationQuaternion, Utils::QuaternionBetweenTwoVectorsNormalized(defa... | 44.65 | 122 | 0.805151 | Sixshaman |
6a91d8d047e690a02d7a7a727a2b3bf6e57b9a49 | 6,581 | cpp | C++ | src/Win32ThreadSupport.cpp | yoshinoToylogic/bulletsharp | 79558f9e78b68f1d218d64234645848661a54e01 | [
"MIT"
] | null | null | null | src/Win32ThreadSupport.cpp | yoshinoToylogic/bulletsharp | 79558f9e78b68f1d218d64234645848661a54e01 | [
"MIT"
] | null | null | null | src/Win32ThreadSupport.cpp | yoshinoToylogic/bulletsharp | 79558f9e78b68f1d218d64234645848661a54e01 | [
"MIT"
] | null | null | null | #include "StdAfx.h"
#ifndef DISABLE_MULTITHREADED
#include "StringConv.h"
#include "Win32ThreadSupport.h"
MultiThreaded::Win32ThreadConstructionInfo::~Win32ThreadConstructionInfo()
{
this->!Win32ThreadConstructionInfo();
}
MultiThreaded::Win32ThreadConstructionInfo::!Win32ThreadConstructionInfo()
{
... | 35.005319 | 115 | 0.787114 | yoshinoToylogic |
6a93553c23bd705a101085f190f72efa0c6db371 | 7,143 | cpp | C++ | TabGraph/src/Light/SkyLight.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-08-28T09:35:18.000Z | 2020-08-28T09:35:18.000Z | TabGraph/src/Light/SkyLight.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | null | null | null | TabGraph/src/Light/SkyLight.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-10-08T11:21:13.000Z | 2020-10-08T11:21:13.000Z | /*
* @Author: gpinchon
* @Date: 2021-03-12 16:08:58
* @Last Modified by: gpinchon
* @Last Modified time: 2021-05-18 18:26:25
*/
#include <Camera/Camera.hpp>
#include <Light/SkyLight.hpp>
#include <Renderer/Renderer.hpp>
#include <Renderer/Surface/GeometryRenderer.hpp>
#include <Scene/Scene.hpp>
#includ... | 25.974545 | 161 | 0.607168 | Gpinchon |
6a9a00f3cc4bf4af7d1df8d2312eb795f3482e3d | 7,404 | cpp | C++ | search/result.cpp | Dushistov/omim | e366dd2f7508dea305922d7bd91deea076fc4a58 | [
"Apache-2.0"
] | null | null | null | search/result.cpp | Dushistov/omim | e366dd2f7508dea305922d7bd91deea076fc4a58 | [
"Apache-2.0"
] | null | null | null | search/result.cpp | Dushistov/omim | e366dd2f7508dea305922d7bd91deea076fc4a58 | [
"Apache-2.0"
] | null | null | null | #include "search/result.hpp"
#include "search/common.hpp"
#include "search/geometry_utils.hpp"
namespace search
{
Result::Result(FeatureID const & id, m2::PointD const & pt, string const & str,
string const & address, string const & type, uint32_t featureType,
Metadata const & meta)
: ... | 22.504559 | 98 | 0.63101 | Dushistov |
6a9b187a3af75b5366f46adc54f060be5e1e11f9 | 122,528 | cpp | C++ | src/libbrep/boolean.cpp | dservin/brlcad | 34b72d3efd24ac2c84abbccf9452323231751cd1 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/libbrep/boolean.cpp | dservin/brlcad | 34b72d3efd24ac2c84abbccf9452323231751cd1 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/libbrep/boolean.cpp | dservin/brlcad | 34b72d3efd24ac2c84abbccf9452323231751cd1 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | /* B O O L E A N . C P P
* BRL-CAD
*
* Copyright (c) 2013-2022 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as ... | 29.943304 | 238 | 0.657711 | dservin |
6a9f5366992b799f1eecc1b8c94338190ffaa867 | 4,708 | hpp | C++ | deps/cinder/include/boost/spirit/home/qi/nonterminal/debug_handler.hpp | multi-os-engine/cinder-natj-binding | 969b66fdd49e4ca63442baf61ce90ae385ab8178 | [
"Apache-2.0"
] | 1,210 | 2020-08-18T07:57:36.000Z | 2022-03-31T15:06:05.000Z | ios/Pods/boost-for-react-native/boost/spirit/home/qi/nonterminal/debug_handler.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 1,074 | 2015-08-25T15:08:14.000Z | 2019-07-22T20:28:39.000Z | ios/Pods/boost-for-react-native/boost/spirit/home/qi/nonterminal/debug_handler.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 534 | 2016-10-20T21:00:00.000Z | 2022-03-29T10:02:27.000Z | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
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)
=========================================... | 32.246575 | 81 | 0.561172 | multi-os-engine |
6aa296e4271acaefa4e99d245bd535a646560041 | 435 | tpp | C++ | BCC__BCC36B__P[3]__HenriqueMarcuzzo_2046334/impl/semantica-testes/sema-016.tpp | hmarcuzzo/compiler_project | 2463d19c2b81ba28a943974828e8bb5954424cac | [
"Apache-2.0"
] | null | null | null | BCC__BCC36B__P[3]__HenriqueMarcuzzo_2046334/impl/semantica-testes/sema-016.tpp | hmarcuzzo/compiler_project | 2463d19c2b81ba28a943974828e8bb5954424cac | [
"Apache-2.0"
] | null | null | null | BCC__BCC36B__P[3]__HenriqueMarcuzzo_2046334/impl/semantica-testes/sema-016.tpp | hmarcuzzo/compiler_project | 2463d19c2b81ba28a943974828e8bb5954424cac | [
"Apache-2.0"
] | 4 | 2020-12-11T10:12:37.000Z | 2021-11-01T18:34:25.000Z | {Aviso: Coerção implícita do valor atribuído para 'a', variável a flutuante recebendo um inteiro}
{Erro: Função 'func' do tipo inteiro retornando flutuante}
{Aviso: Função 'func' declarada, mas não utilizada}
{Aviso: Chamada recursiva para a função 'principal'}
{Erro: Função 'principal' deveria retornar inteiro, mas re... | 24.166667 | 97 | 0.747126 | hmarcuzzo |
6aa4f512a2df7f5a1d78bc65cba5f0ef68794edc | 3,736 | cpp | C++ | modules/ocl/perf/perf_surf.cpp | emaknyus/OpenCV-2.4.3-custom | a0e0cd505560dcc0f13cb7ea4c5506e0251a21e7 | [
"MIT"
] | null | null | null | modules/ocl/perf/perf_surf.cpp | emaknyus/OpenCV-2.4.3-custom | a0e0cd505560dcc0f13cb7ea4c5506e0251a21e7 | [
"MIT"
] | null | null | null | modules/ocl/perf/perf_surf.cpp | emaknyus/OpenCV-2.4.3-custom | a0e0cd505560dcc0f13cb7ea4c5506e0251a21e7 | [
"MIT"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 36.271845 | 153 | 0.680139 | emaknyus |
6aa999e2ff00bd03bc8497fcf6b10f6459ac8c43 | 2,574 | cpp | C++ | src/prod/src/Management/ClusterManager/StoreDataComposeDeploymentInstanceCounter.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 1 | 2018-03-15T02:09:21.000Z | 2018-03-15T02:09:21.000Z | src/prod/src/Management/ClusterManager/StoreDataComposeDeploymentInstanceCounter.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | null | null | null | src/prod/src/Management/ClusterManager/StoreDataComposeDeploymentInstanceCounter.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | null | null | null | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 29.930233 | 139 | 0.703186 | AnthonyM |
6aaa42ef431f5ec2d9fe5c251b78b3e27f40ee0d | 885 | hpp | C++ | presets/Particle/RectangularParticle.hpp | emirroner/MiniParticle | ece0c4d38f978530aba4a0eb382e0b8f07be4748 | [
"MIT"
] | null | null | null | presets/Particle/RectangularParticle.hpp | emirroner/MiniParticle | ece0c4d38f978530aba4a0eb382e0b8f07be4748 | [
"MIT"
] | null | null | null | presets/Particle/RectangularParticle.hpp | emirroner/MiniParticle | ece0c4d38f978530aba4a0eb382e0b8f07be4748 | [
"MIT"
] | 1 | 2021-01-05T14:02:56.000Z | 2021-01-05T14:02:56.000Z | #ifndef RECTANGULAR_PARTICLE_HPP
#define RECTANGULAR_PARTICLE_HPP
#include <SFML\Graphics.hpp>
#include "..\..\include\MiniParticle.hpp"
class RectangularParticle : public MiniParticle
{
public:
RectangularParticle();
RectangularParticle(sf::Vector2f pos,sf::Vector2f velocity,sf::Color color,sf::Vector2f size,floa... | 25.285714 | 178 | 0.776271 | emirroner |
6aaa4ed24b3a53cc7e35a954c2d5af11a60ca9fb | 308 | cpp | C++ | 03-SDU_Exam_Algorithm_Question/2006/2006-T01_Class_Declaration.cpp | ysl970629/kaoyan_data_structure | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | [
"MIT"
] | 2 | 2021-03-24T03:29:16.000Z | 2022-03-29T16:34:30.000Z | 03-SDU_Exam_Algorithm_Question/2006/2006-T01_Class_Declaration.cpp | ysl2/kaoyan-data-structure | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | [
"MIT"
] | null | null | null | 03-SDU_Exam_Algorithm_Question/2006/2006-T01_Class_Declaration.cpp | ysl2/kaoyan-data-structure | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | [
"MIT"
] | null | null | null | template <class T>
class BinaryTreeNode {
public:
BinaryTreeNode(const T &e, BinaryTreeNode *lchild, BinaryTreeNode *rchild) {
data = e;
BinaryTreeNode::lchild = lchild;
BinaryTreeNode::rchild = rchild;
}
private:
T data;
BinaryTreeNode<T> *lchild, *rchild;
};
| 22 | 80 | 0.636364 | ysl970629 |
6aac537ab0672cb45ed9300d1dd746e8359d241a | 3,100 | hpp | C++ | src/kernel/threads/thread_listing.hpp | brandonbraun653/Valkyrie | 7132907f658c6d56ea43c998d9639d0a8e770ff8 | [
"MIT"
] | null | null | null | src/kernel/threads/thread_listing.hpp | brandonbraun653/Valkyrie | 7132907f658c6d56ea43c998d9639d0a8e770ff8 | [
"MIT"
] | 6 | 2019-06-01T13:31:16.000Z | 2021-04-07T22:03:05.000Z | src/kernel/threads/thread_listing.hpp | brandonbraun653/Valkyrie | 7132907f658c6d56ea43c998d9639d0a8e770ff8 | [
"MIT"
] | null | null | null | /********************************************************************************
* File Name:
* listing.hpp
*
* Description:
* List out all the threads in use with the project
*
* 2021 | Brandon Braun | brandonbraun653@gmail.com
*************************************************************************... | 31 | 83 | 0.444194 | brandonbraun653 |
6aad751f3c13538372f5746641773c62eea3d07e | 19,622 | cpp | C++ | deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgstereomatch/StereoMultipass.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | 3 | 2018-08-20T12:12:43.000Z | 2021-06-06T09:43:27.000Z | deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgstereomatch/StereoMultipass.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | null | null | null | deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgstereomatch/StereoMultipass.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | 1 | 2022-03-31T03:12:23.000Z | 2022-03-31T03:12:23.000Z | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/* OpenSceneGraph example, osgstereomatch.
*
* 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 restrict... | 36.202952 | 118 | 0.71109 | UM-ARM-Lab |
6aaedaf1b0dcea4877952e2e5d791acb3fab3fe5 | 3,488 | hpp | C++ | grasp_generation/graspitmodified_lm/Coin-3.1.3/include/boost/test/unit_test.hpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | 12 | 2019-10-29T01:42:55.000Z | 2021-11-14T18:33:43.000Z | grasp_generation/graspitmodified_lm/Coin-3.1.3/include/boost/test/unit_test.hpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/Coin-3.1.3/include/boost/test/unit_test.hpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | 6 | 2019-10-29T08:02:35.000Z | 2021-07-30T16:57:29.000Z | // (C) Copyright Gennadiy Rozental 2001-2005.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile: unit_test.hpp,v... | 33.864078 | 101 | 0.550459 | KraftOreo |
6aaf607f059a16a24cdd00be10ee871eafc17a7b | 4,135 | cc | C++ | src/operator/contrib/deformable_psroi_pooling.cc | Vikas-kum/incubator-mxnet | ba02bf2fe2da423caa59ddb3fd5e433b90b730bf | [
"Apache-2.0"
] | 64 | 2021-05-02T14:42:34.000Z | 2021-05-06T01:35:03.000Z | src/operator/contrib/deformable_psroi_pooling.cc | Vikas-kum/incubator-mxnet | ba02bf2fe2da423caa59ddb3fd5e433b90b730bf | [
"Apache-2.0"
] | 187 | 2018-03-16T23:44:43.000Z | 2021-12-14T21:19:54.000Z | src/operator/contrib/deformable_psroi_pooling.cc | Vikas-kum/incubator-mxnet | ba02bf2fe2da423caa59ddb3fd5e433b90b730bf | [
"Apache-2.0"
] | 51 | 2019-07-12T05:10:25.000Z | 2021-07-28T16:19:06.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 ... | 35.646552 | 99 | 0.718259 | Vikas-kum |
6ab2c7e1f8b312f12e618cc550e47ffd48921505 | 6,504 | hpp | C++ | src/api/crypto.hpp | zengyuxing007/pipy | c60e08560b08728fa181940a4b9d67807a0ee625 | [
"BSL-1.0"
] | null | null | null | src/api/crypto.hpp | zengyuxing007/pipy | c60e08560b08728fa181940a4b9d67807a0ee625 | [
"BSL-1.0"
] | null | null | null | src/api/crypto.hpp | zengyuxing007/pipy | c60e08560b08728fa181940a4b9d67807a0ee625 | [
"BSL-1.0"
] | null | null | null | /*
* Copyright (c) 2019 by flomesh.io
*
* Unless prior written consent has been obtained from the copyright
* owner, the following shall not be allowed.
*
* 1. The distribution of any source codes, header files, make files,
* or libraries of the software.
*
* 2. Disclosure of any source codes pertaini... | 20.325 | 98 | 0.673739 | zengyuxing007 |
6ab325034ed73897ac162b5fe67b4b3694da4823 | 708 | cpp | C++ | tests/test-main.cpp | tom91136/libfluid | a0d54d06b1fe754db14ddc7d511fb7b57a5cce45 | [
"Apache-2.0"
] | 4 | 2019-03-11T18:12:22.000Z | 2019-07-11T12:39:35.000Z | tests/test-main.cpp | tom91136/libfluid | a0d54d06b1fe754db14ddc7d511fb7b57a5cce45 | [
"Apache-2.0"
] | null | null | null | tests/test-main.cpp | tom91136/libfluid | a0d54d06b1fe754db14ddc7d511fb7b57a5cce45 | [
"Apache-2.0"
] | null | null | null | #define CATCH_CONFIG_MAIN
#define CATCH_CONFIG_NOSTDOUT
#include <catch2/catch.hpp>
class out_buff : public std::stringbuf {
std::FILE *m_stream;
public:
out_buff(std::FILE *stream) : m_stream(stream) {}
~out_buff() { pubsync(); }
int sync() {
int ret = 0;
for (unsigned char c : str()) {
if (putc(c, m_s... | 16.090909 | 57 | 0.628531 | tom91136 |
6ab92eeccb38faaee427fffbdc824977caba9993 | 409 | cpp | C++ | src/xrGame/weaponshotgun_script.cpp | acidicMercury8/xray-1.6 | 52fba7348a93a52ff9694f2c9dd40c0d090e791e | [
"Linux-OpenIB"
] | 10 | 2021-05-04T06:40:27.000Z | 2022-01-20T20:24:28.000Z | src/xrGame/weaponshotgun_script.cpp | acidicMercury8/xray-1.6 | 52fba7348a93a52ff9694f2c9dd40c0d090e791e | [
"Linux-OpenIB"
] | null | null | null | src/xrGame/weaponshotgun_script.cpp | acidicMercury8/xray-1.6 | 52fba7348a93a52ff9694f2c9dd40c0d090e791e | [
"Linux-OpenIB"
] | 2 | 2020-05-17T10:01:14.000Z | 2020-09-11T20:17:27.000Z | #include "pch_script.h"
#include "WeaponShotgun.h"
#include "WeaponAutomaticShotgun.h"
using namespace luabind;
#pragma optimize("s",on)
void CWeaponShotgun::script_register (lua_State *L)
{
module(L)
[
class_<CWeaponShotgun,CGameObject>("CWeaponShotgun")
.def(constructor<>()),
class_<CWeaponAut... | 22.722222 | 73 | 0.716381 | acidicMercury8 |
6abca41ee0eab7b863930330842283c3e87d0a4c | 18,412 | cpp | C++ | Code/GraphMol/Fingerprints/AtomPairs.cpp | chcltchunk/rdkit | af0ccf686779a8efd9db7c77f0bb3cab718ea2ba | [
"BSD-3-Clause"
] | 4 | 2020-12-29T14:52:15.000Z | 2021-08-28T08:12:45.000Z | Code/GraphMol/Fingerprints/AtomPairs.cpp | chcltchunk/rdkit | af0ccf686779a8efd9db7c77f0bb3cab718ea2ba | [
"BSD-3-Clause"
] | 2 | 2020-06-08T08:06:39.000Z | 2020-07-03T07:04:42.000Z | Code/GraphMol/Fingerprints/AtomPairs.cpp | chcltchunk/rdkit | af0ccf686779a8efd9db7c77f0bb3cab718ea2ba | [
"BSD-3-Clause"
] | 1 | 2020-05-15T12:15:35.000Z | 2020-05-15T12:15:35.000Z | //
// Copyright (C) 2007-2013 Greg Landrum
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#include <GraphMol/RDKitBase.h>
#include <Grap... | 36.971888 | 80 | 0.620845 | chcltchunk |
6abe596612463c9e7facca31767b80ada6702075 | 404 | cpp | C++ | source/LoopManager/LoopManager.cpp | mvxxx/MarsCombat | c4d10da7cf9bf8a71e00f64e5e364a358b477b15 | [
"MIT"
] | 1 | 2019-08-25T10:36:16.000Z | 2019-08-25T10:36:16.000Z | source/LoopManager/LoopManager.cpp | mvxxx/MarsCombat | c4d10da7cf9bf8a71e00f64e5e364a358b477b15 | [
"MIT"
] | null | null | null | source/LoopManager/LoopManager.cpp | mvxxx/MarsCombat | c4d10da7cf9bf8a71e00f64e5e364a358b477b15 | [
"MIT"
] | null | null | null | #include "LoopManager.hpp"
LoopManager::LoopManager(const sf::Time & _timePerFrame)
:timePerFrame(_timePerFrame)
{
timeSinceLastUpdate = sf::Time::Zero;
}
void LoopManager::increaseTime()
{
timeSinceLastUpdate += clock.restart();
}
bool LoopManager::canChangeTheFrame()
{
return timeSinceLastUpdate <= timePer... | 17.565217 | 56 | 0.752475 | mvxxx |
6abf7aa1d03ea9e237cd1ad07c4ceb1fb1793f0d | 1,811 | cpp | C++ | src/data/label_utils.cpp | ltriess/voxelizer | f8dcc2296cd75d63081cea0edaaf162bbbfb717f | [
"MIT"
] | null | null | null | src/data/label_utils.cpp | ltriess/voxelizer | f8dcc2296cd75d63081cea0edaaf162bbbfb717f | [
"MIT"
] | null | null | null | src/data/label_utils.cpp | ltriess/voxelizer | f8dcc2296cd75d63081cea0edaaf162bbbfb717f | [
"MIT"
] | 4 | 2021-08-18T14:24:01.000Z | 2021-10-06T11:52:36.000Z | #include "label_utils.h"
#include <QtXml/QDomDocument>
#include <QtCore/QFile>
#include <QtCore/QStringList>
#include <QtCore/QString>
void getLabelNames(const std::string& filename,
std::map<uint32_t, std::string>& label_names)
{
QDomDocument doc("mydocument");
QFile file(QString::fromStdString(filename));
... | 26.246377 | 72 | 0.675318 | ltriess |
6abfbc9e999295fe4813fecf36d075d602aeedbd | 5,027 | cpp | C++ | B2G/gecko/content/html/content/src/nsHTMLDivElement.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/content/html/content/src/nsHTMLDivElement.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/content/html/content/src/nsHTMLDivElement.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/Util.h"
#includ... | 30.652439 | 86 | 0.724687 | wilebeast |
6ac2777870eac3943b7128f02cb8c3590c48100c | 11,109 | cpp | C++ | FileZillaFTP/source/interface/splitex.cpp | JyothsnaMididoddi26/xampp | 8f34d7fa7c2e6cc37fe4ece5e6886dc4e5c0757b | [
"Apache-2.0"
] | 1 | 2017-01-31T08:49:16.000Z | 2017-01-31T08:49:16.000Z | FileZillaFTP/source/interface/splitex.cpp | JyothsnaMididoddi26/xampp | 8f34d7fa7c2e6cc37fe4ece5e6886dc4e5c0757b | [
"Apache-2.0"
] | 2 | 2020-07-17T00:13:41.000Z | 2021-05-08T17:01:54.000Z | FileZillaFTP/source/interface/splitex.cpp | JyothsnaMididoddi26/xampp | 8f34d7fa7c2e6cc37fe4ece5e6886dc4e5c0757b | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////
//
// splitex.cpp
// Based upon code from Oleg G. Galkin
// Modified to handle multiple hidden rows
#include "stdafx.h"
#include "splitex.h"
#if defined(_DEBUG) && !defined(MMGR)
#define new DEBUG_NEW
#undef THIS_FILE
static char... | 23.890323 | 113 | 0.606985 | JyothsnaMididoddi26 |
6ac2dd4a5672e1d1a4cd0dfb9fab41d0c691795e | 13,736 | cpp | C++ | bindings/python/src/Shape.cpp | yoyonel/sflm2-custom | 1ebeabe7cfe6605590b341f7b415b24bed1f50d1 | [
"Zlib"
] | null | null | null | bindings/python/src/Shape.cpp | yoyonel/sflm2-custom | 1ebeabe7cfe6605590b341f7b415b24bed1f50d1 | [
"Zlib"
] | null | null | null | bindings/python/src/Shape.cpp | yoyonel/sflm2-custom | 1ebeabe7cfe6605590b341f7b415b24bed1f50d1 | [
"Zlib"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// PySFML - Python binding for SFML (Simple and Fast Multimedia Library)
// Copyright (C) 2007, 2008 Rémi Koenig (remi.k2620@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors ... | 36.147368 | 188 | 0.689866 | yoyonel |
6ac3b8ec5b976243d82d875267efa94e4481c6b1 | 421 | cpp | C++ | 202009-1.cpp | ZubinGou/CCF-CSP | 6d8b8de66c4ffc6c058efdf021e3a546fccdea44 | [
"MIT"
] | null | null | null | 202009-1.cpp | ZubinGou/CCF-CSP | 6d8b8de66c4ffc6c058efdf021e3a546fccdea44 | [
"MIT"
] | null | null | null | 202009-1.cpp | ZubinGou/CCF-CSP | 6d8b8de66c4ffc6c058efdf021e3a546fccdea44 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <algorithm>
#define MAX_N 250
using namespace std;
pair<int, int> p[MAX_N];
int main()
{
int n, x, y, a, b;
scanf("%d%d%d", &n, &x, &y);
for (int i = 0; i < n; i++)
{
scanf("%d%d", &a, &b);
p[i] = make_pair((x-a) * (x-a) + (y-b) * (y - b), i + 1);
}
... | 18.304348 | 66 | 0.458432 | ZubinGou |
6ac3c7ed0ea2773620a4a6499251243360d79be0 | 394 | cpp | C++ | src/Airline/Ticket.cpp | jlcrodrigues/feup-aed | 9586e984cd725292c7d76645b146ec969f788e19 | [
"MIT"
] | 7 | 2021-12-22T21:57:38.000Z | 2022-01-05T18:08:17.000Z | src/Airline/Ticket.cpp | jlcrodrigues/feup-aed | 9586e984cd725292c7d76645b146ec969f788e19 | [
"MIT"
] | null | null | null | src/Airline/Ticket.cpp | jlcrodrigues/feup-aed | 9586e984cd725292c7d76645b146ec969f788e19 | [
"MIT"
] | 1 | 2021-12-23T00:35:06.000Z | 2021-12-23T00:35:06.000Z | #include "Ticket.h"
using namespace std;
Ticket::Ticket(const Flight& flight, const bool& baggage): flight(flight)
{
this->baggage = baggage;
checked_in = false;
}
Flight Ticket::getFlight() const
{
return flight;
}
bool Ticket::getBaggage() const
{
return baggage;
}
void Ticket::checkIn()
{
checked... | 13.586207 | 73 | 0.687817 | jlcrodrigues |
6acf1f004df6d514d9d82e76649e16b7e6e731b1 | 15,832 | cpp | C++ | examples/SharedMemory/plugins/fileIOPlugin/fileIOPlugin.cpp | aaronfranke/bullet3 | 0c6c7976baeb43204dc8adeb3235d960b2a9b340 | [
"Zlib"
] | 2 | 2021-11-08T02:53:13.000Z | 2021-11-08T09:40:43.000Z | examples/SharedMemory/plugins/fileIOPlugin/fileIOPlugin.cpp | aaronfranke/bullet3 | 0c6c7976baeb43204dc8adeb3235d960b2a9b340 | [
"Zlib"
] | null | null | null | examples/SharedMemory/plugins/fileIOPlugin/fileIOPlugin.cpp | aaronfranke/bullet3 | 0c6c7976baeb43204dc8adeb3235d960b2a9b340 | [
"Zlib"
] | null | null | null | #include "fileIOPlugin.h"
#include "../../SharedMemoryPublic.h"
#include "../b3PluginContext.h"
#include <stdio.h>
#include "../../../CommonInterfaces/CommonFileIOInterface.h"
#include "../../../Utils/b3ResourcePath.h"
#include "Bullet3Common/b3HashMap.h"
#include <string.h> //memcpy/strlen
#ifndef B3_EXCLUDE_DEFAULT_F... | 22.552707 | 141 | 0.669214 | aaronfranke |
6ad19fa15572e3b9d4ea08e8a450cdf5a0a96ed6 | 1,638 | cpp | C++ | exportobjects/exportmaterial.cpp | walbourn/contentexporter | 2559ac92bbb1ce1409f1c63b51957ea088427b24 | [
"MIT"
] | 62 | 2015-04-14T22:28:11.000Z | 2022-03-28T07:02:28.000Z | exportobjects/exportmaterial.cpp | TienAska/contentexporter | 746cf69136b63b0502e9e6e8687ed66b5a268103 | [
"MIT"
] | 18 | 2015-07-01T18:29:14.000Z | 2021-11-13T12:28:08.000Z | exportobjects/exportmaterial.cpp | TienAska/contentexporter | 746cf69136b63b0502e9e6e8687ed66b5a268103 | [
"MIT"
] | 21 | 2015-05-31T07:57:37.000Z | 2021-07-30T10:20:06.000Z | //-------------------------------------------------------------------------------------
// ExportMaterial.cpp
//
// Advanced Technology Group (ATG)
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkId=226208
//-----------------------------------... | 26 | 88 | 0.639805 | walbourn |
6ad1d9211afa891af4726132a404a8fd65ccf94f | 1,012 | cpp | C++ | Client/ui/AddFriendWidget.cpp | LiardeauxQ/Babel | 6cdd475b8947f6a8b0d1c4325a06dfd9bfa65e72 | [
"MIT"
] | 1 | 2020-02-12T12:02:19.000Z | 2020-02-12T12:02:19.000Z | Client/ui/AddFriendWidget.cpp | LiardeauxQ/Babel | 6cdd475b8947f6a8b0d1c4325a06dfd9bfa65e72 | [
"MIT"
] | null | null | null | Client/ui/AddFriendWidget.cpp | LiardeauxQ/Babel | 6cdd475b8947f6a8b0d1c4325a06dfd9bfa65e72 | [
"MIT"
] | 3 | 2020-02-12T12:02:22.000Z | 2021-10-11T11:00:24.000Z | //
// Created by Quentin Liardeaux on 10/5/19.
//
#include "AddFriendWidget.hpp"
ui::AddFriendWidget::AddFriendWidget(boost::shared_ptr<NotificationHandler> notifHandler, QWidget *parent) :
QWidget(parent),
notifHandler_(notifHandler) {
QPointer<QPushButton> closeButton = new QPushButton(tr("Close... | 28.111111 | 108 | 0.667984 | LiardeauxQ |
6ad8199849dd6c3c158dc0e36f431799f55afe25 | 16,809 | cpp | C++ | tests/ProxyTest.cpp | derp-caf/external_skia | b09dc92e00edce8366085aaad7dcce94ceb11b69 | [
"BSD-3-Clause"
] | 1 | 2019-05-29T09:54:38.000Z | 2019-05-29T09:54:38.000Z | tests/ProxyTest.cpp | derp-caf/external_skia | b09dc92e00edce8366085aaad7dcce94ceb11b69 | [
"BSD-3-Clause"
] | null | null | null | tests/ProxyTest.cpp | derp-caf/external_skia | b09dc92e00edce8366085aaad7dcce94ceb11b69 | [
"BSD-3-Clause"
] | 8 | 2019-01-12T23:06:45.000Z | 2021-09-03T00:15:46.000Z | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// This is a GPU-backend specific test.
#include "Test.h"
#if SK_SUPPORT_GPU
#include "GrBackendSurface.h"
#include "GrContextPriv.h"
#include "GrProxyProvider.h"
#include ... | 49.878338 | 100 | 0.500982 | derp-caf |
6adacd1f82fbc5257518e3fdd8e3acf6d3ba7bf5 | 430 | cpp | C++ | mts/write-after-reclaim-stack.cpp | comparch-security/cpu-sec-bench | 34506323a80637fae2a4d2add3bbbdaa4e6d8473 | [
"MIT"
] | 4 | 2021-11-12T03:41:54.000Z | 2022-02-28T12:23:49.000Z | mts/write-after-reclaim-stack.cpp | comparch-security/cpu-sec-bench | 34506323a80637fae2a4d2add3bbbdaa4e6d8473 | [
"MIT"
] | null | null | null | mts/write-after-reclaim-stack.cpp | comparch-security/cpu-sec-bench | 34506323a80637fae2a4d2add3bbbdaa4e6d8473 | [
"MIT"
] | 1 | 2021-11-29T08:38:28.000Z | 2021-11-29T08:38:28.000Z | #include "include/gcc_builtin.hpp"
#include "include/mss.hpp"
charBuffer *pb;
int FORCE_NOINLINE helper(bool option) {
charBuffer buffer;
if(option) {
update_by_pointer(pb->data, 0, 8, 1, 'c');
return check(buffer.data, 7, 1, 'c');
} else {
pb = &buffer;
char_buffer_init(&buffer, 'u', 'd', 'o'... | 18.695652 | 47 | 0.613953 | comparch-security |
6adada53107ff342115844eddbf6e87ec8bc54a7 | 5,844 | cc | C++ | test/av1_fht4x8_test.cc | merryApple/aom | 7b88ade6135ed4fecd6d745166ce74209ff137de | [
"BSD-2-Clause"
] | null | null | null | test/av1_fht4x8_test.cc | merryApple/aom | 7b88ade6135ed4fecd6d745166ce74209ff137de | [
"BSD-2-Clause"
] | 4 | 2018-01-12T14:03:23.000Z | 2018-01-15T11:23:08.000Z | test/av1_fht4x8_test.cc | merryApple/aom | 7b88ade6135ed4fecd6d745166ce74209ff137de | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | 40.583333 | 80 | 0.729295 | merryApple |
6adc5c6f9685980e5ab2bd50c57d40ba678fc667 | 143 | cpp | C++ | mia/medium/msx2.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | mia/medium/msx2.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | mia/medium/msx2.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | struct MSX2 : MSX {
auto name() -> string override { return "MSX2"; }
auto extensions() -> vector<string> override { return {"msx2"}; }
};
| 28.6 | 67 | 0.622378 | CasualPokePlayer |
6add5bf41ddcbf2de097d3c435cf4724053d6fe0 | 1,842 | cpp | C++ | admin/dcpromo/exe/unattendsplashdialog.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/dcpromo/exe/unattendsplashdialog.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/dcpromo/exe/unattendsplashdialog.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // Copyright (C) 1998 Microsoft Corporation
//
// Splash screen for unattended mode
//
// 10-1-98 sburns
#include "headers.hxx"
#include "UnattendSplashDialog.hpp"
#include "resource.h"
#include "state.hpp"
const UINT SELF_DESTRUCT_MESSAGE = WM_USER + 200;
static const DWORD HELP_MAP[] =
{
... | 19.389474 | 79 | 0.666667 | npocmaka |
6addb3c8282a4d539b49e5278c83561633f72aad | 2,405 | cpp | C++ | platform/switch/godot_switch.cpp | ryancheung/godot | 39c52e45d330cf4eb5558d06e005b3d4ab2a08d2 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | platform/switch/godot_switch.cpp | ryancheung/godot | 39c52e45d330cf4eb5558d06e005b3d4ab2a08d2 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | platform/switch/godot_switch.cpp | ryancheung/godot | 39c52e45d330cf4eb5558d06e005b3d4ab2a08d2 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | #include "switch_wrapper.h"
#include <limits.h>
#include <locale.h>
#include <stdlib.h>
#include <unistd.h>
#include <zlib.h>
#include "main/main.h"
#include "os_switch.h"
#define FB_WIDTH 1280
#define FB_HEIGHT 720
int main(int argc, char *argv[])
{
socketInitializeDefault();
nxlinkStdio();
int apptype = applet... | 19.552846 | 81 | 0.661538 | ryancheung |
6ae1cb945726178130cd9bc70b7afde00b8435a1 | 30,382 | cc | C++ | src/cxx/mc/mcmain2d/wk_memfilter.cc | sfarrens/cosmostat | a475315cda06dca346095a1e83cb6ad23979acae | [
"MIT"
] | null | null | null | src/cxx/mc/mcmain2d/wk_memfilter.cc | sfarrens/cosmostat | a475315cda06dca346095a1e83cb6ad23979acae | [
"MIT"
] | null | null | null | src/cxx/mc/mcmain2d/wk_memfilter.cc | sfarrens/cosmostat | a475315cda06dca346095a1e83cb6ad23979acae | [
"MIT"
] | null | null | null | /******************************************************************************
** Copyright (C) 1998 by CEA
*******************************************************************************
**
** UNIT
**
** Version: 1.4
**
** Author: 07/01/99
**
** Date: 99/07/05
**
** File: mc_mwf... | 33.946369 | 185 | 0.567737 | sfarrens |
6ae360a34abc4f5893f82ff330cafa3afa08a271 | 3,073 | cpp | C++ | mlir/lib/Dialect/SCF/Transforms/Utils.cpp | elizabethandrews/llvm | 308498236c1c4778fdcba0bfbb556adf8aa333ea | [
"Apache-2.0"
] | 5 | 2021-02-21T22:35:08.000Z | 2022-02-01T18:22:50.000Z | mlir/lib/Dialect/SCF/Transforms/Utils.cpp | elizabethandrews/llvm | 308498236c1c4778fdcba0bfbb556adf8aa333ea | [
"Apache-2.0"
] | null | null | null | mlir/lib/Dialect/SCF/Transforms/Utils.cpp | elizabethandrews/llvm | 308498236c1c4778fdcba0bfbb556adf8aa333ea | [
"Apache-2.0"
] | 1 | 2021-03-30T11:22:52.000Z | 2021-03-30T11:22:52.000Z | //===- LoopUtils.cpp ---- Misc utilities for loop transformation ----------===//
//
// 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
//
//===---------------------------... | 41.527027 | 80 | 0.639115 | elizabethandrews |
6ae6a7e0e48180369557b67610a597b9a1dc3d7e | 35 | hpp | C++ | src/boost_mpl_erase_key.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_mpl_erase_key.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_mpl_erase_key.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/mpl/erase_key.hpp>
| 17.5 | 34 | 0.771429 | miathedev |
6ae8e74c21d8b4d41a188d60ed3432e257810ccb | 3,094 | cpp | C++ | hotspot/src/share/vm/utilities/accessFlags.cpp | dbac/jdk8 | abfce42ff6d4b8b77d622157519ecd211ba0aa8f | [
"MIT"
] | 1 | 2020-12-26T04:52:15.000Z | 2020-12-26T04:52:15.000Z | hotspot/src/share/vm/utilities/accessFlags.cpp | dbac/jdk8 | abfce42ff6d4b8b77d622157519ecd211ba0aa8f | [
"MIT"
] | 1 | 2020-12-26T04:57:19.000Z | 2020-12-26T04:57:19.000Z | hotspot/src/share/vm/utilities/accessFlags.cpp | dbac/jdk8 | abfce42ff6d4b8b77d622157519ecd211ba0aa8f | [
"MIT"
] | 1 | 2021-12-06T01:13:18.000Z | 2021-12-06T01:13:18.000Z | /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 35.159091 | 79 | 0.672269 | dbac |
6aea0025ac40348e55610fe95499e54f4e368d9a | 10,704 | cc | C++ | src/Basics/IsotopeData.cc | pygamma-mrs/gamma | c83a7c242c481d2ecdfd49ba394fea3d5816bccb | [
"BSD-3-Clause"
] | 4 | 2021-03-15T10:02:13.000Z | 2022-01-16T11:06:28.000Z | src/Basics/IsotopeData.cc | pygamma-mrs/gamma | c83a7c242c481d2ecdfd49ba394fea3d5816bccb | [
"BSD-3-Clause"
] | 1 | 2022-01-27T15:35:03.000Z | 2022-01-27T15:35:03.000Z | src/Basics/IsotopeData.cc | pygamma-mrs/gamma | c83a7c242c481d2ecdfd49ba394fea3d5816bccb | [
"BSD-3-Clause"
] | null | null | null | /* IsotopeData.cc ***********************************************-*-c++-*-
** **
** G A M M A **
** **
** IsotopeData ... | 44.414938 | 93 | 0.484679 | pygamma-mrs |
6aea3a9622f0284b176a7c00991e70f413a9a702 | 21,305 | hpp | C++ | include/UnityEngine/TouchScreenKeyboard.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/UnityEngine/TouchScreenKeyboard.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/UnityEngine/TouchScreenKeyboard.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.IntPtr
... | 64.560606 | 290 | 0.751936 | Fernthedev |
6aeb0a76c41d41c7ea33721bd2927145d84513e9 | 515 | cpp | C++ | TextRPG/src/UIScreen.cpp | UniqueVN/TextRPG | 78c585a61692c8470145d755d2da3f1a3586af88 | [
"MIT",
"Unlicense"
] | 1 | 2021-03-12T09:47:20.000Z | 2021-03-12T09:47:20.000Z | TextRPG/src/UIScreen.cpp | UniqueVN/TextRPG | 78c585a61692c8470145d755d2da3f1a3586af88 | [
"MIT",
"Unlicense"
] | null | null | null | TextRPG/src/UIScreen.cpp | UniqueVN/TextRPG | 78c585a61692c8470145d755d2da3f1a3586af88 | [
"MIT",
"Unlicense"
] | null | null | null | #include "UIComponent.h"
#include "UIManager.h"
#include "UIScreen.h"
UIScreen::UIScreen(UIComponent* parent) : UIComponent(parent)
{
// Register this screen with the UIManager
}
UIScreen::~UIScreen(void)
{
}
void UIScreen::OnInit()
{
UIComponent::OnInit();
UIManager* manager = UIManager::GetInstance();... | 21.458333 | 93 | 0.679612 | UniqueVN |
6aeb21231db00566f58228ffe2b3efc2e1faf4c8 | 4,562 | cpp | C++ | tools/config_handlers/dp_handler.cpp | mcorino/dancex11 | 297cb17066873ad7f30e88b0e8d64cd0e6ed2f68 | [
"MIT"
] | 4 | 2016-04-12T15:09:28.000Z | 2020-01-16T10:42:55.000Z | tools/config_handlers/dp_handler.cpp | mcorino/dancex11 | 297cb17066873ad7f30e88b0e8d64cd0e6ed2f68 | [
"MIT"
] | null | null | null | tools/config_handlers/dp_handler.cpp | mcorino/dancex11 | 297cb17066873ad7f30e88b0e8d64cd0e6ed2f68 | [
"MIT"
] | 4 | 2016-04-12T18:40:25.000Z | 2019-11-16T14:41:45.000Z | /**
* @file dp_handler.cpp
* @author Marijke Hengstmengel
*
* @copyright Copyright (c) Remedy IT Expertise BV
*/
#include "dp_handler.h"
#include "ccd_handler.h"
#include "add_handler.h"
#include "mdd_handler.h"
#include "idd_handler.h"
#include "id_handler.h"
#include "pl_handler.h"
#include "property_handle... | 39.327586 | 137 | 0.563788 | mcorino |
6aec5eb63f5a8bda8283c931d3477b8504a38058 | 1,574 | cpp | C++ | native/Sparky-core/src/sp/app/Input.cpp | Itay2805/Sparky4j-core-3D | 0ac75c217c4d74c2fb8a9c226992ac6c4662718d | [
"Apache-2.0"
] | null | null | null | native/Sparky-core/src/sp/app/Input.cpp | Itay2805/Sparky4j-core-3D | 0ac75c217c4d74c2fb8a9c226992ac6c4662718d | [
"Apache-2.0"
] | null | null | null | native/Sparky-core/src/sp/app/Input.cpp | Itay2805/Sparky4j-core-3D | 0ac75c217c4d74c2fb8a9c226992ac6c4662718d | [
"Apache-2.0"
] | null | null | null | #include "sp/sp.h"
#include "Input.h"
namespace sp {
InputManager* Input::s_InputManager = nullptr;
InputManager::InputManager()
{
ClearKeys();
ClearMouseButtons();
m_MouseGrabbed = true;
Input::s_InputManager = this;
}
void InputManager::Update()
{
for (int i = 0; i < MAX_BUTTONS; i++)
m_Mouse... | 17.685393 | 61 | 0.680432 | Itay2805 |
6aef6a491cb032857999c179347498c293e0705b | 734 | hpp | C++ | ares/fc/fds/drive.hpp | moon-chilled/Ares | 909fb098c292f8336d0502dc677050312d8b5c81 | [
"0BSD"
] | 7 | 2020-07-25T11:44:39.000Z | 2021-01-29T13:21:31.000Z | ares/fc/fds/drive.hpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | null | null | null | ares/fc/fds/drive.hpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | 1 | 2021-03-22T16:15:30.000Z | 2021-03-22T16:15:30.000Z | struct FDSDrive {
auto clock() -> void;
auto change() -> void;
auto powerup() -> void;
auto rewind() -> void;
auto advance() -> void;
auto crc(uint8 data) -> void;
auto read() -> void;
auto write() -> void;
auto read(uint16 address, uint8 data) -> uint8;
auto write(uint16 address, uint8 data) -> voi... | 20.388889 | 49 | 0.640327 | moon-chilled |
6af4d646d3dd17f02a38d84f06fba84c3a9550ee | 12,441 | cpp | C++ | lib/test/AMRElliptic/testBiCGStab.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 10 | 2018-02-01T20:57:36.000Z | 2022-03-17T02:57:49.000Z | lib/test/AMRElliptic/testBiCGStab.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 19 | 2018-10-04T21:37:18.000Z | 2022-02-25T16:20:11.000Z | lib/test/AMRElliptic/testBiCGStab.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 11 | 2019-01-12T23:33:32.000Z | 2021-08-09T15:19:50.000Z | #ifdef CH_LANG_CC
/*
* _______ __
* / ___/ / ___ __ _ / / ___
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
* \___/_//_/\___/_/_/_/_.__/\___/
* Please refer to Copyright.txt, in Chombo's root directory.
*/
#endif
#include <iostream>
using std::endl;
#include "BRMeshRefine.H"
#include "Loa... | 25.441718 | 90 | 0.553332 | rmrsk |
6af57725a93cd086d95cfcecee83c8ba6d5d4478 | 434 | cpp | C++ | 03. Inheritance-Homework/Problem 01. Student System/schoolMember.cpp | Jorka7a13/SoftUni_CppProgramming | 3f7dcd5f5d1ce9bd38542911a476d57d8825aacd | [
"MIT"
] | null | null | null | 03. Inheritance-Homework/Problem 01. Student System/schoolMember.cpp | Jorka7a13/SoftUni_CppProgramming | 3f7dcd5f5d1ce9bd38542911a476d57d8825aacd | [
"MIT"
] | null | null | null | 03. Inheritance-Homework/Problem 01. Student System/schoolMember.cpp | Jorka7a13/SoftUni_CppProgramming | 3f7dcd5f5d1ce9bd38542911a476d57d8825aacd | [
"MIT"
] | null | null | null | #include "schoolMember.h"
SchoolMember::SchoolMember(unsigned short id, std::string name, std::string currentCourse)
: id_(id),
name_(name),
currentCourse_(currentCourse)
{}
SchoolMember::~SchoolMember()
{}
unsigned short SchoolMember::getId() const
{
return this->id_;
}
std::string SchoolMember::getName() co... | 17.36 | 90 | 0.739631 | Jorka7a13 |
6af62b453e66e057e9b1fef81df24a9388d64184 | 1,354 | cpp | C++ | nau/src/nau/render/opengl/glMaterialGroup.cpp | Khirion/nau | 47a2ad8e0355a264cd507da5e7bba1bf7abbff95 | [
"MIT"
] | 29 | 2015-09-16T22:28:30.000Z | 2022-03-11T02:57:36.000Z | nau/src/nau/render/opengl/glMaterialGroup.cpp | Khirion/nau | 47a2ad8e0355a264cd507da5e7bba1bf7abbff95 | [
"MIT"
] | 1 | 2017-03-29T13:32:58.000Z | 2017-03-31T13:56:03.000Z | nau/src/nau/render/opengl/glMaterialGroup.cpp | Khirion/nau | 47a2ad8e0355a264cd507da5e7bba1bf7abbff95 | [
"MIT"
] | 10 | 2015-10-15T14:20:15.000Z | 2022-02-17T10:37:29.000Z | #include "nau/render/opengl/glMaterialGroup.h"
#include "nau/render/opengl/glIndexArray.h"
#include "nau/render/opengl/glVertexArray.h"
#include <glbinding/gl/gl.h>
using namespace gl;
//#include <GL/glew.h>
using namespace nau::render::opengl;
GLMaterialGroup::GLMaterialGroup(IRenderable *parent, std::string mate... | 14.55914 | 81 | 0.711226 | Khirion |
6af7c42167ac543991c97671617ee685a88a0102 | 10,580 | cpp | C++ | src/Game.cpp | R3alCl0ud/CREST-Capstone-Project | 10f90404908e4f947c861adff901088b71d4d310 | [
"BSD-3-Clause"
] | null | null | null | src/Game.cpp | R3alCl0ud/CREST-Capstone-Project | 10f90404908e4f947c861adff901088b71d4d310 | [
"BSD-3-Clause"
] | null | null | null | src/Game.cpp | R3alCl0ud/CREST-Capstone-Project | 10f90404908e4f947c861adff901088b71d4d310 | [
"BSD-3-Clause"
] | null | null | null | #include "headers/Game.hpp"
#include <stdlib.h>
#include <algorithm>
#include <list>
#include <iostream>
#include <string>
#include <sstream>
namespace engine {
Game* Game::gGame = NULL;
engine::Level* Game::gLevel = NULL;
engine::GameObjectList Game::gObjects = engine::GameObjectList();
sf::Clock Game::gFram... | 37.385159 | 155 | 0.568336 | R3alCl0ud |
1390f4a6b8e5901176235d44262abf445294de8a | 466 | cc | C++ | src/strings.cc | maxidea1024/simple-lexer | ba3cd91a6a9cdd77aa52bc0965553aa7858c8827 | [
"MIT"
] | null | null | null | src/strings.cc | maxidea1024/simple-lexer | ba3cd91a6a9cdd77aa52bc0965553aa7858c8827 | [
"MIT"
] | null | null | null | src/strings.cc | maxidea1024/simple-lexer | ba3cd91a6a9cdd77aa52bc0965553aa7858c8827 | [
"MIT"
] | null | null | null | #include "strings.h"
std::vector<std::string> Strings::registry_;
const char* Strings::Add(const char* str) { return Add(str, strlen(str)); }
const char* Strings::Add(const char* str, size_t length) {
for (auto& s : registry_) {
if (s.length() == length) {
if (memcmp(s.c_str(), str, length) == 0) {
... | 22.190476 | 75 | 0.613734 | maxidea1024 |
1391ad0b167b21189b455fa117e579f004a98df5 | 1,939 | cc | C++ | Core/DianYing/Source/Builtin/Shader/RenderPass.cc | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | 4 | 2019-03-17T19:46:54.000Z | 2019-12-09T20:11:01.000Z | Core/DianYing/Source/Builtin/Shader/RenderPass.cc | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | null | null | null | Core/DianYing/Source/Builtin/Shader/RenderPass.cc | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | null | null | null | #include <precompiled.h>
///
/// MIT License
/// Copyright (c) 2018-2019 Jongmin Yun
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL... | 24.858974 | 81 | 0.7246 | liliilli |
1398f14647089bd2313b867b4146e186a072a2b7 | 8,305 | cpp | C++ | windows/pw6e.official/CPlusPlus/Chapter17/PrintableTomKitten/PrintableTomKitten/MainPage.xaml.cpp | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | 1 | 2016-11-23T08:18:08.000Z | 2016-11-23T08:18:08.000Z | windows/pw6e.official/CPlusPlus/Chapter17/PrintableTomKitten/PrintableTomKitten/MainPage.xaml.cpp | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | null | null | null | windows/pw6e.official/CPlusPlus/Chapter17/PrintableTomKitten/PrintableTomKitten/MainPage.xaml.cpp | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | 1 | 2016-11-23T08:17:34.000Z | 2016-11-23T08:17:34.000Z | //
// MainPage.xaml.cpp
// Implementation of the MainPage class.
//
#include "pch.h"
#include "MainPage.xaml.h"
using namespace PrintableTomKitten;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::Graphics::Printing... | 41.944444 | 194 | 0.692354 | nnaabbcc |
13994026e8d8e3067ba572c5770893178c5d84a2 | 3,886 | cpp | C++ | Model/BCorner2DInteraction.cpp | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | Model/BCorner2DInteraction.cpp | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | Model/BCorner2DInteraction.cpp | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | /////////////////////////////////////////////////////////////
// //
// Copyright (c) 2003-2017 by The University of Queensland //
// Centre for Geoscience Computing //
// http://earth.uq.edu.au/centre-geoscience-computing //
// ... | 27.560284 | 155 | 0.602419 | danielfrascarelli |
139a2f4bc394bfb31a2f5d8fe83bfe6872ae445f | 12,124 | cc | C++ | src/theia/io/read_calibration.cc | urbste/pyTheiaSfM | 814034c96b602fef1dc76ae6692278d61179ebcc | [
"BSD-3-Clause"
] | 3 | 2021-11-10T19:50:36.000Z | 2022-03-03T08:16:54.000Z | src/theia/io/read_calibration.cc | urbste/TheiaSfM | a92fa27e90b6182e2a2511a46d24283afad1a995 | [
"BSD-3-Clause"
] | null | null | null | src/theia/io/read_calibration.cc | urbste/TheiaSfM | a92fa27e90b6182e2a2511a46d24283afad1a995 | [
"BSD-3-Clause"
] | 2 | 2020-03-20T03:06:55.000Z | 2021-08-04T08:08:52.000Z | // Copyright (C) 2019 The Regents of the University of California (Regents).
// 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... | 36.299401 | 80 | 0.677664 | urbste |
139acc720aefcfdcb96eacaabf95f02ae9559e2c | 30,183 | cpp | C++ | src/clrefl/Generator.cpp | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | 578 | 2019-05-04T09:09:42.000Z | 2022-03-27T23:02:21.000Z | src/clrefl/Generator.cpp | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | 14 | 2019-05-11T14:34:56.000Z | 2021-02-02T07:06:46.000Z | src/clrefl/Generator.cpp | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | 42 | 2019-05-11T16:04:19.000Z | 2022-01-24T02:21:43.000Z | #include <clrefl/Generator.h>
#include <clrefl/Codegen.h>
#include <infra/ToString.h>
#include <stl/vector.hpp>
#include <stl/unordered_map.hpp>
#include <stl/unordered_set.hpp>
#include <json11.hpp>
#include <cctype>
#define RESOLVE_TEMPLATES 1
#define DEBUG_CLANG_ARGS 0
namespace two
{
using Json = json11::Jso... | 34.028185 | 2,644 | 0.695358 | raptoravis |
139d5eb44977f8cba61672d95216750ad571ced0 | 530 | hpp | C++ | splitter/header/predicates/IBMtimePredicate.hpp | spectreCEP/spectre_v1.0 | 30c4af0681f016880c4a78b51669d989d4539850 | [
"MIT"
] | null | null | null | splitter/header/predicates/IBMtimePredicate.hpp | spectreCEP/spectre_v1.0 | 30c4af0681f016880c4a78b51669d989d4539850 | [
"MIT"
] | null | null | null | splitter/header/predicates/IBMtimePredicate.hpp | spectreCEP/spectre_v1.0 | 30c4af0681f016880c4a78b51669d989d4539850 | [
"MIT"
] | null | null | null | #ifndef IBMTIMEPREDICATE_H
#define IBMTIMEPREDICATE_H
#include "AbstractPredicate.hpp"
#include <set>
namespace splitter
{
class IBMtimePredicate : public AbstractPredicate
{
public:
IBMtimePredicate(unsigned long time);
virtual bool ps(const events::AbstractEvent &event) const;
virtual bool pc(const ev... | 21.2 | 105 | 0.764151 | spectreCEP |
139d83eae53539c796788bae08d8633796d4e4d3 | 397 | hpp | C++ | chaine/src/mesh/mesh/all.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | chaine/src/mesh/mesh/all.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | chaine/src/mesh/mesh/all.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | #pragma once
#include "create_triangle.hpp"
#include "create_vertex.hpp"
#include "geometry.hpp"
#include "inner_triangle_edges.hpp"
#include "insert_vertex.hpp"
#include "lawson_algorithm.hpp"
#include "mesh.hpp"
#include "random_triangle_edge.hpp"
#include "topology.hpp"
#include "triangle.hpp"
#include "triangles.h... | 23.352941 | 35 | 0.778338 | the-last-willy |
139db5e77c40d06224a6ab25bc72bd6626aa885f | 4,348 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR/ConstructorBuilder_SetSymCustomAttribute/CPP/constructorbuilder_setsymcustomattribute.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_CLR/ConstructorBuilder_SetSymCustomAttribute/CPP/constructorbuilder_setsymcustomattribute.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_CLR/ConstructorBuilder_SetSymCustomAttribute/CPP/constructorbuilder_setsymcustomattribute.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | // System.Reflection.Emit.ConstructorBuilder.SetSymCustomAttribute()
/* The following program demonstrates the 'SetSymCustomAttribute' method
of ConstructorBuilder class. It creates an assembly in the current
domain with dynamic module in the assembly. Constructor builder is
used in conjunction with the 'TypeBui... | 40.635514 | 153 | 0.682383 | hamarb123 |
139f18eb59ff836ac2714255978d14d2cf42df13 | 25,382 | cpp | C++ | s2e/source/s2e/libs2eplugins/src/s2e/Plugins/Profile/Kasan.cpp | Albocoder/KOOBE | dd8acade05b0185771e1ea9950de03ab5445a981 | [
"MIT"
] | 55 | 2019-12-20T03:25:14.000Z | 2022-01-16T07:19:47.000Z | s2e/source/s2e/libs2eplugins/src/s2e/Plugins/Profile/Kasan.cpp | Albocoder/KOOBE | dd8acade05b0185771e1ea9950de03ab5445a981 | [
"MIT"
] | 2 | 2020-11-02T08:01:00.000Z | 2022-03-27T02:59:18.000Z | s2e/source/s2e/libs2eplugins/src/s2e/Plugins/Profile/Kasan.cpp | Albocoder/KOOBE | dd8acade05b0185771e1ea9950de03ab5445a981 | [
"MIT"
] | 11 | 2020-08-06T03:59:45.000Z | 2022-02-25T02:31:59.000Z | #include <s2e/S2E.h>
#include "Kasan.h"
#include "util.h"
using namespace klee;
namespace s2e {
namespace plugins {
// #define DEBUG_KASAN
S2E_DEFINE_PLUGIN(KernelAddressSanitizer, "kernel address sanitizer",
"KernelAddressSanitizer", "KernelFunctionModels",
"AllocManager", "Opt... | 36.626263 | 102 | 0.575053 | Albocoder |
139f817addd4aa231447b311dea4c8e60114174c | 96,209 | cxx | C++ | windows/core/ntgdi/gre/brushobj.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/core/ntgdi/gre/brushobj.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/core/ntgdi/gre/brushobj.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /******************************Module*Header*******************************\
* Module Name: brushobj.cxx
*
* Support for brmemobj.hxx and brushobj.hxx.
*
* Created: 06-Dec-1990 12:02:24
* Author: Walt Moore [waltm]
*
* Copyright (c) 1990-1999 Microsoft Corporation
\*********************************************... | 31.135599 | 128 | 0.450207 | npocmaka |
13a06540b3f76de1734cf13b99186543812fea99 | 9,994 | cpp | C++ | windows/richedit/re30/olsole.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/richedit/re30/olsole.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/richedit/re30/olsole.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*
* @doc INTERNAL
*
* @module OLSOLE.CPP -- OlsOle LineServices object class
*
* Author:
* Murray Sargent (with lots of help from RickSa's ols code)
*
* Copyright (c) 1997-1998 Microsoft Corporation. All rights reserved.
*/
#include "_common.h"
#include "_font.h"
#include "_edit.h"
#include "... | 22.258352 | 145 | 0.658295 | npocmaka |
13a6621ab669a6c6ce79469cdba6a9e2d49e17c6 | 5,031 | cpp | C++ | uppsrc/CtrlCore/Frame.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | 2 | 2016-04-07T07:54:26.000Z | 2020-04-14T12:37:34.000Z | uppsrc/CtrlCore/Frame.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | uppsrc/CtrlCore/Frame.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | #include "CtrlCore.h"
NAMESPACE_UPP
#ifdef flagSO
CtrlFrame::CtrlFrame() {}
CtrlFrame::~CtrlFrame() {}
#endif
void CtrlFrame::FramePaint(Draw& draw, const Rect& r) {}
void CtrlFrame::FrameAdd(Ctrl& ctrl) {}
void CtrlFrame::FrameRemove() {}
int CtrlFrame::OverPaint() const { return 0; }
void NullFrameClass::FrameLay... | 30.490909 | 100 | 0.675611 | dreamsxin |
13aabc60c62c64011af9b6c0d731c9297b7fcc27 | 4,483 | hpp | C++ | cpp/include/xtt/group_public_key_context.hpp | xaptum/xtt-cpp | d82f4c33e6c67e343da70f3b73dea67c0a8bf6f1 | [
"Apache-2.0"
] | null | null | null | cpp/include/xtt/group_public_key_context.hpp | xaptum/xtt-cpp | d82f4c33e6c67e343da70f3b73dea67c0a8bf6f1 | [
"Apache-2.0"
] | 7 | 2018-05-14T15:29:57.000Z | 2019-11-19T22:04:40.000Z | cpp/include/xtt/group_public_key_context.hpp | xaptum/xtt-cpp | d82f4c33e6c67e343da70f3b73dea67c0a8bf6f1 | [
"Apache-2.0"
] | 3 | 2018-05-07T14:27:00.000Z | 2018-07-20T18:29:43.000Z | /******************************************************************************
*
* Copyright 2018 Xaptum, 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
*
* htt... | 32.021429 | 97 | 0.612982 | xaptum |
13aaf417fadb0c18e7f25b6d2c877f161850ba14 | 1,032 | cpp | C++ | Dev/asd_cpp/core/Graphics/3D/Resource/Animation/asd.KeyframeAnimation_Imp.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 37 | 2015-07-12T14:21:03.000Z | 2020-10-17T03:08:17.000Z | Dev/asd_cpp/core/Graphics/3D/Resource/Animation/asd.KeyframeAnimation_Imp.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 91 | 2015-06-14T10:47:22.000Z | 2020-06-29T18:05:21.000Z | Dev/asd_cpp/core/Graphics/3D/Resource/Animation/asd.KeyframeAnimation_Imp.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 14 | 2015-07-13T04:15:20.000Z | 2021-09-30T01:34:51.000Z |
#include "asd.KeyframeAnimation_Imp.h"
#include <cmath>
namespace asd
{
KeyframeAnimation_Imp::KeyframeAnimation_Imp()
: m_targetType(AnimationCurveTargetType::NoneTarget)
, m_targetAxis(AnimationCurveTargetAxis::NoneTarget)
{
}
KeyframeAnimation_Imp::~KeyframeAnimation_Imp()
{
}
const achar* Keyfr... | 18.105263 | 81 | 0.766473 | GCLemon |
13ab558e15de8ba4df61d5a5966e5b25d1beace2 | 17,635 | cpp | C++ | lib/SimpleHttpClient/SslClientConnection.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | lib/SimpleHttpClient/SslClientConnection.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | lib/SimpleHttpClient/SslClientConnection.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 28.674797 | 80 | 0.593365 | LLcat1217 |
13ae8f62cb5077fa011fd21193a50167a84754a1 | 18,471 | cc | C++ | chromium/chrome/browser/android/data_usage/data_use_ui_tab_model_unittest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/android/data_usage/data_use_ui_tab_model_unittest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/android/data_usage/data_use_ui_tab_model_unittest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 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/android/data_usage/data_use_ui_tab_model.h"
#include <stddef.h>
#include <stdint.h>
#include "base/macros.h"
#include "base/run... | 41.507865 | 80 | 0.747929 | wedataintelligence |
13afe562cb97b33f540a1e8e585c0a7f50de2a24 | 51 | cpp | C++ | CompileUnits/example/src/bin/cli/src/main.cpp | yyunon/cmake-modules | 141e793b42c0702e7b73570960bf7f6e23501496 | [
"Apache-2.0"
] | 1 | 2019-06-06T06:28:50.000Z | 2019-06-06T06:28:50.000Z | CompileUnits/example/src/bin/cli/src/main.cpp | yyunon/cmake-modules | 141e793b42c0702e7b73570960bf7f6e23501496 | [
"Apache-2.0"
] | 7 | 2019-06-03T12:17:03.000Z | 2022-01-13T15:54:21.000Z | CompileUnits/example/src/bin/cli/src/main.cpp | yyunon/cmake-modules | 141e793b42c0702e7b73570960bf7f6e23501496 | [
"Apache-2.0"
] | 1 | 2021-05-31T06:27:47.000Z | 2021-05-31T06:27:47.000Z | #include <example/lib/c.hpp>
int main() {
c();
}
| 8.5 | 28 | 0.568627 | yyunon |
13b07629f927f12728ba1c9eeda44a572d8aa5da | 356 | hpp | C++ | src/TypeTraits.hpp | jmitchell24/cpp-utility-lib | 76e7bae9f07b741c409a282604a999ab86fc0702 | [
"Apache-2.0"
] | null | null | null | src/TypeTraits.hpp | jmitchell24/cpp-utility-lib | 76e7bae9f07b741c409a282604a999ab86fc0702 | [
"Apache-2.0"
] | null | null | null | src/TypeTraits.hpp | jmitchell24/cpp-utility-lib | 76e7bae9f07b741c409a282604a999ab86fc0702 | [
"Apache-2.0"
] | null | null | null | // Copyright 2013, James Mitchell, All rights reserved.
#pragma once
#include "typetraits/EnableIf.hpp"
#include "typetraits/CallTraits.hpp"
#include "typetraits/HasOstreamOut.hpp"
#include "typetraits/HasMemberFunction.hpp"
#include "typetraits/IsArithmetic.hpp"
#include "typetraits/IsPointer.hpp"
#include "typetrai... | 20.941176 | 55 | 0.789326 | jmitchell24 |
13b0a0104b85e1f4b72acdabf300ee0e2be3023b | 383 | cpp | C++ | chapter_4_computation/exercise/square_rice.cpp | jamie-prog/programming_principles_and_practice | abd4fec2cd02fc0bab69c9b11e13d9fce04039f9 | [
"Apache-2.0"
] | null | null | null | chapter_4_computation/exercise/square_rice.cpp | jamie-prog/programming_principles_and_practice | abd4fec2cd02fc0bab69c9b11e13d9fce04039f9 | [
"Apache-2.0"
] | null | null | null | chapter_4_computation/exercise/square_rice.cpp | jamie-prog/programming_principles_and_practice | abd4fec2cd02fc0bab69c9b11e13d9fce04039f9 | [
"Apache-2.0"
] | null | null | null | #include "../../std_lib_facilities.h"
int square(int x)
{
return x * x;
}
int main(void)
{
//constexpr int first {1000};
//constexpr int second {1000000};
constexpr int third {1000000000};
bool is_overflow{false};
for (int i{0}, temp{0}; is_overflow || temp < third; ++i)
{
temp =... | 18.238095 | 61 | 0.537859 | jamie-prog |
13b5c3fb34fecf57c52a99f9100cfde6b29d2d1c | 2,372 | cpp | C++ | ares/ngp/system/system.cpp | kirwinia/ares-emu-v121 | 722aa227caf943a4a64f1678c1bdd07b38b15caa | [
"0BSD"
] | 2 | 2021-06-28T06:04:56.000Z | 2021-06-28T11:30:20.000Z | ares/ngp/system/system.cpp | kirwinia/ares-emu-v121 | 722aa227caf943a4a64f1678c1bdd07b38b15caa | [
"0BSD"
] | null | null | null | ares/ngp/system/system.cpp | kirwinia/ares-emu-v121 | 722aa227caf943a4a64f1678c1bdd07b38b15caa | [
"0BSD"
] | 1 | 2021-06-28T06:05:04.000Z | 2021-06-28T06:05:04.000Z | #include <ngp/ngp.hpp>
namespace ares::NeoGeoPocket {
auto enumerate() -> vector<string> {
return {
"[SNK] Neo Geo Pocket",
"[SNK] Neo Geo Pocket Color",
};
}
auto load(Node::System& node, string name) -> bool {
if(!enumerate().find(name)) return false;
return system.load(node, name);
}
Scheduler sc... | 21.369369 | 80 | 0.642496 | kirwinia |
13b71c408f3bce3cfa75daab08f07ca2b81945c8 | 1,058 | cpp | C++ | Q12/Q12.cpp | d9vya/Operating-Systems-Practical | 01ff599d94e955035e8d433037e23262abda2a97 | [
"MIT"
] | null | null | null | Q12/Q12.cpp | d9vya/Operating-Systems-Practical | 01ff599d94e955035e8d433037e23262abda2a97 | [
"MIT"
] | null | null | null | Q12/Q12.cpp | d9vya/Operating-Systems-Practical | 01ff599d94e955035e8d433037e23262abda2a97 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
int sum = 0;
void *summer(void *); //function to run inside thread
int main(int argc, char *argv[])
{
pthread_t tid;
pthread_attr_t attr;
if (argc != 2) // if 2 arguments are not pas... | 28.594595 | 111 | 0.528355 | d9vya |
13b7a78535c5570233c5d97bdad43f941eac46d1 | 259 | cpp | C++ | SPOJ/Week 1/next/next.cpp | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | SPOJ/Week 1/next/next.cpp | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | SPOJ/Week 1/next/next.cpp | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | #include<iostream>
using namespace std;
int main(){
unsigned long a,b,c;
cin>>a>>b>>c;
while(a != 0, b != 0, c != 0){
if(c-b == b-a){
cout<<"AP "<< c + c - b<<endl;
}
else{
cout<<"GP "<< c * (c/b) <<endl;
}
cin>>a>>b>>c;
}
return 0;
}
| 14.388889 | 34 | 0.46332 | VastoLorde95 |
13b9b6f361d58a27c59637e7abe9c8078bfeddb9 | 23,451 | cpp | C++ | win32/src/win32profilemodule.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | 3 | 2020-06-18T16:57:44.000Z | 2020-07-21T17:52:06.000Z | win32/src/win32profilemodule.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | null | null | null | win32/src/win32profilemodule.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | null | null | null | // @doc
#include "PyWinTypes.h"
#include "PyWinObjects.h"
#include "malloc.h"
#include "Userenv.h"
#define CHECK_PFN(fname) \
if (pfn##fname == NULL) \
return PyErr_Format(PyExc_NotImplementedError, "%s is not available on this platform", #fname);
typedef BOOL(WINAPI *DeleteProfilefunc)(WCHAR *, WCHAR... | 45.982353 | 120 | 0.695024 | huanyin88 |
13b9ea5b16da3fe9a715186421b1e1bc8706c7ba | 3,657 | cc | C++ | codebook/datastructures/Splay_Implicit.cc | jeffrey-xiao/acm-notebook | b8588429f2cb727f35e346e649e544bb1e67badd | [
"Apache-2.0",
"MIT"
] | 1 | 2020-02-19T14:02:54.000Z | 2020-02-19T14:02:54.000Z | codebook/datastructures/Splay_Implicit.cc | jeffrey-xiao/acm-notebook | b8588429f2cb727f35e346e649e544bb1e67badd | [
"Apache-2.0",
"MIT"
] | null | null | null | codebook/datastructures/Splay_Implicit.cc | jeffrey-xiao/acm-notebook | b8588429f2cb727f35e346e649e544bb1e67badd | [
"Apache-2.0",
"MIT"
] | 3 | 2017-11-28T07:23:27.000Z | 2020-03-01T07:46:23.000Z | /* The key of each element is the array index of the element.
* Time: O(log N)
* Memory: O(N)
*/
#include <bits/stdc++.h>
using namespace std;
struct Splay {
struct Node {
int val, sz;
Node *child[2], *par;
Node() {}
Node(int val, int sz = 1) : val(val), sz(sz) {
child[0] = child[1] = par ... | 22.163636 | 67 | 0.493574 | jeffrey-xiao |
13ba2eb77ab63146ca1404944e10dd3993d8c034 | 694 | cpp | C++ | CodeForces/InsomniaCure.cpp | roshan11160/Competitive-Programming-Solutions | 2d9cfe901c23a2b7344c410b7368eb02f7fa6e7e | [
"MIT"
] | 40 | 2020-07-25T19:35:37.000Z | 2022-01-28T02:57:02.000Z | CodeForces/InsomniaCure.cpp | afrozchakure/Hackerrank-Problem-Solutions | 014155d841e08cb1f7609c23335576dc9b29cef3 | [
"MIT"
] | 160 | 2021-04-26T19:04:15.000Z | 2022-03-26T20:18:37.000Z | CodeForces/InsomniaCure.cpp | afrozchakure/Hackerrank-Problem-Solutions | 014155d841e08cb1f7609c23335576dc9b29cef3 | [
"MIT"
] | 24 | 2020-05-03T08:11:53.000Z | 2021-10-04T03:23:20.000Z | #include <iostream>
using namespace std;
int main()
{
int k, l, m, n, d;
cin >> k >> l >> m >> n >> d;
// kth got punched in the face with frying pan
// lth got shut in the balcony door
// mmeth got his paws trampled
// nth to call her mom
int count = d;
if (l == 1 || k == 1 || m == ... | 22.387097 | 73 | 0.432277 | roshan11160 |
13beb24b3f7fbd391cf301b7ef293b8015f702b5 | 3,140 | cpp | C++ | ad_map_access/impl/tests/access/GeometryStoreTests.cpp | seowwj/map | 2afacd50e1b732395c64b1884ccfaeeca0040ee7 | [
"MIT"
] | null | null | null | ad_map_access/impl/tests/access/GeometryStoreTests.cpp | seowwj/map | 2afacd50e1b732395c64b1884ccfaeeca0040ee7 | [
"MIT"
] | null | null | null | ad_map_access/impl/tests/access/GeometryStoreTests.cpp | seowwj/map | 2afacd50e1b732395c64b1884ccfaeeca0040ee7 | [
"MIT"
] | 1 | 2020-10-27T11:09:30.000Z | 2020-10-27T11:09:30.000Z | // ----------------- BEGIN LICENSE BLOCK ---------------------------------
//
// Copyright (C) 2018-2020 Intel Corporation
//
// SPDX-License-Identifier: MIT
//
// ----------------- END LICENSE BLOCK -----------------------------------
#include <ad/map/access/Factory.hpp>
#include <ad/map/access/Operation.hpp>
#includ... | 33.763441 | 104 | 0.729618 | seowwj |
13bfa37048e98d16dcf3768baccdd5b51d6b3e14 | 54 | cpp | C++ | src/victoryconnect/cpp/logger.cpp | victoryforphil/VictoryConnect-ClientCPP | 6ad06edcd6339df933af337f2fa9d111c83d6e2d | [
"MIT"
] | null | null | null | src/victoryconnect/cpp/logger.cpp | victoryforphil/VictoryConnect-ClientCPP | 6ad06edcd6339df933af337f2fa9d111c83d6e2d | [
"MIT"
] | null | null | null | src/victoryconnect/cpp/logger.cpp | victoryforphil/VictoryConnect-ClientCPP | 6ad06edcd6339df933af337f2fa9d111c83d6e2d | [
"MIT"
] | null | null | null | #include "logger.hpp"
using namespace VictoryConnect;
| 18 | 31 | 0.814815 | victoryforphil |
13c47789b56d27a1375a573dd1e14827fd83f584 | 5,653 | cpp | C++ | src/cgp/minicgp_blindwatchmaker.cpp | dubkois/ReusWorld | 15ccf4dbde20d6b600b6e5dc706435d6dd4eb620 | [
"MIT"
] | null | null | null | src/cgp/minicgp_blindwatchmaker.cpp | dubkois/ReusWorld | 15ccf4dbde20d6b600b6e5dc706435d6dd4eb620 | [
"MIT"
] | null | null | null | src/cgp/minicgp_blindwatchmaker.cpp | dubkois/ReusWorld | 15ccf4dbde20d6b600b6e5dc706435d6dd4eb620 | [
"MIT"
] | null | null | null | #include <QApplication>
#include <QMainWindow>
#include <QGridLayout>
#include <QPushButton>
#include <QMouseEvent>
#include <QPainter>
#include <QTimer>
#include "kgd/external/cxxopts.hpp"
#include "kgd/utils/indentingostream.h"
#include "minicgp.h"
DEFINE_NAMESPACE_PRETTY_ENUMERATION(watchmaker, VideoInputs, X, Y... | 25.931193 | 80 | 0.576685 | dubkois |
13c64d792041bdde2c84df21cdcf831ad42c9002 | 15,723 | cpp | C++ | src/main.cpp | QE-Lab/dqcsim-qx | b9a95663233dbff43c0dd7f14bd964abe5422ffc | [
"Apache-2.0"
] | null | null | null | src/main.cpp | QE-Lab/dqcsim-qx | b9a95663233dbff43c0dd7f14bd964abe5422ffc | [
"Apache-2.0"
] | 1 | 2020-01-20T16:39:54.000Z | 2020-01-20T16:39:54.000Z | src/main.cpp | jvanstraten/dqcsim-qx | b9a95663233dbff43c0dd7f14bd964abe5422ffc | [
"Apache-2.0"
] | 1 | 2020-01-22T10:59:23.000Z | 2020-01-22T10:59:23.000Z | #include <dqcsim>
#include <memory>
#include <vector>
#include <xpu.h>
#include <xpu/runtime>
#include <qx_representation.h>
#include "json.hpp"
#include "bimap.hpp"
// Alias the dqcsim::wrap namespace to something shorter.
namespace dqcs = dqcsim::wrap;
/**
* Function pointer type for constructing/binding QX gates.... | 31.572289 | 123 | 0.664949 | QE-Lab |
13c82c88e3c0ef2adf1066587a763c57d1d1e433 | 34,351 | hxx | C++ | libs/maps/include/mrpt/otherlibs/octomap/OccupancyOcTreeBase.hxx | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | 4 | 2017-08-04T15:44:04.000Z | 2021-02-02T02:00:18.000Z | libs/maps/include/mrpt/otherlibs/octomap/OccupancyOcTreeBase.hxx | tg1716/SLAM | b8583fb98a4241d87ae08ac78b0420c154f5e1a5 | [
"BSD-3-Clause"
] | null | null | null | libs/maps/include/mrpt/otherlibs/octomap/OccupancyOcTreeBase.hxx | tg1716/SLAM | b8583fb98a4241d87ae08ac78b0420c154f5e1a5 | [
"BSD-3-Clause"
] | 2 | 2017-10-03T23:10:09.000Z | 2018-07-29T09:41:33.000Z | // $Id: OccupancyOcTreeBase.hxx 440 2012-11-02 10:41:10Z ahornung $
/**
* OctoMap:
* A probabilistic, flexible, and compact 3D mapping library for robotic systems.
* @author K. M. Wurm, A. Hornung, University of Freiburg, Copyright (C) 2009.
* @see http://octomap.sourceforge.net/
* License: New BSD License
*/
/... | 35.819604 | 170 | 0.623446 | feroze |
13c8c3fc0493f79463cd40a996423a2bb40dd1d7 | 7,943 | cpp | C++ | bcos-crypto/demo/perf_demo.cpp | xueying4402/FISCO-BCOS | 737e08752e8904c7c24e3737f8f46bf5327ef792 | [
"Apache-2.0"
] | 4 | 2022-01-12T11:46:11.000Z | 2022-01-19T04:51:00.000Z | bcos-crypto/demo/perf_demo.cpp | xueying4402/FISCO-BCOS | 737e08752e8904c7c24e3737f8f46bf5327ef792 | [
"Apache-2.0"
] | 22 | 2021-03-12T11:10:56.000Z | 2022-03-31T17:50:21.000Z | bcos-crypto/demo/perf_demo.cpp | xueying4402/FISCO-BCOS | 737e08752e8904c7c24e3737f8f46bf5327ef792 | [
"Apache-2.0"
] | 6 | 2021-02-22T04:13:24.000Z | 2022-01-12T11:46:15.000Z | /**
* Copyright (C) 2021 FISCO BCOS.
* SPDX-License-Identifier: Apache-2.0
* 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
*
* Un... | 34.837719 | 100 | 0.595871 | xueying4402 |
13ca083a152c87220128c173deb0bebd0b70d116 | 683 | cpp | C++ | LightOJ/1202 - Bishops - 1003257.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 5 | 2020-10-03T17:15:26.000Z | 2022-03-29T21:39:22.000Z | LightOJ/1202 - Bishops - 1003257.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | null | null | null | LightOJ/1202 - Bishops - 1003257.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 1 | 2021-03-01T12:56:50.000Z | 2021-03-01T12:56:50.000Z | #include <bits/stdc++.h>
using namespace std;
int main()
{
int T;
cin >> T;
for(int i = 1; i <= T; i++) {
int r1, r2, c1, c2;
cin >> r1 >> c1 >> r2 >> c2;
if((r1 & 1) == (r2 & 1)) {
if((c1 & 1) != (c2 & 1)) {
printf("Case %d: impossible\n", i);
... | 22.032258 | 51 | 0.330893 | Shefin-CSE16 |
13cb4600cd0847afe1d5de708f5be41f1f87540d | 8,583 | cc | C++ | cc/subtle/aes_gcm_hkdf_streaming_test.cc | rohansingh/tink | c2338bef4663870d3855fb0236ab0092d976434d | [
"Apache-2.0"
] | 1 | 2022-03-15T03:21:44.000Z | 2022-03-15T03:21:44.000Z | cc/subtle/aes_gcm_hkdf_streaming_test.cc | frankfanslc/tink | fee9b771017baeaa65f13f82c8a10b3a1119d44d | [
"Apache-2.0"
] | null | null | null | cc/subtle/aes_gcm_hkdf_streaming_test.cc | frankfanslc/tink | fee9b771017baeaa65f13f82c8a10b3a1119d44d | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google 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 in... | 36.368644 | 80 | 0.670628 | rohansingh |
13cfc5cddd87c4fcd50b78d139ef3aca8462d039 | 1,187 | cpp | C++ | src/Engine/Geometry/Quad.cpp | fromasmtodisasm/BlackBox | 36b4fa56e62a81d9483e76f1272b1203981b97fe | [
"MIT"
] | 1 | 2019-12-10T00:37:05.000Z | 2019-12-10T00:37:05.000Z | src/Engine/Geometry/Quad.cpp | fromasmtodisasm/BlackBox | 36b4fa56e62a81d9483e76f1272b1203981b97fe | [
"MIT"
] | 3 | 2020-02-17T21:12:09.000Z | 2022-01-19T10:28:02.000Z | src/Engine/Geometry/Quad.cpp | fromasmtodisasm/BlackBox | 36b4fa56e62a81d9483e76f1272b1203981b97fe | [
"MIT"
] | 3 | 2019-03-14T16:28:47.000Z | 2020-05-17T20:42:55.000Z | #include <BlackBox/Renderer/Quad.hpp>
#include <BlackBox/Renderer/IGeometry.hpp>
#include <BlackBox/Renderer/OpenGL/Debug.hpp>
Quad::Quad()
{
float verts[] = {
// positions // texCoords
-1.0f, 1.0f, 0.0f, 1.0f,
-1.0f, -1.0f, 0.0f, 0.0f,
1.0f, -1.0f, 1.0f, 0.0f,
-1.0f, 1.... | 24.22449 | 101 | 0.644482 | fromasmtodisasm |
13d280044dee59537eb728ef1b4c5b813675f74f | 3,199 | cc | C++ | src/operator/contrib/ctc_loss.cc | axbaretto/mxnet | 5f593885356ff6d14f5519fa18e79b944beb51cd | [
"Apache-2.0"
] | 36 | 2018-02-10T07:14:27.000Z | 2021-09-03T09:11:59.000Z | src/operator/contrib/ctc_loss.cc | axbaretto/mxnet | 5f593885356ff6d14f5519fa18e79b944beb51cd | [
"Apache-2.0"
] | 2 | 2018-05-10T02:17:26.000Z | 2019-12-23T13:49:49.000Z | src/operator/contrib/ctc_loss.cc | axbaretto/mxnet | 5f593885356ff6d14f5519fa18e79b944beb51cd | [
"Apache-2.0"
] | 15 | 2017-09-20T15:24:53.000Z | 2018-01-11T11:14:03.000Z | /*!
* Copyright (c) 2015 by Contributors
* \file ctc_loss.cc
* \brief
* \author Sebastian Bodenstein
*/
#include "./ctc_loss-inl.h"
#include "./ctc_include/detail/cpu_ctc.h"
namespace mshadow {
template <typename DType>
ctcStatus_t compute_ctc_cost(const Tensor<cpu, 3, DType> activations,
... | 35.94382 | 80 | 0.687715 | axbaretto |
13d3cfe9951e3096138afc5c73a2545fe41c3717 | 1,388 | hpp | C++ | include/dca/phys/domains/quantum/particle_number_domain.hpp | PMDee/DCA | a8196ec3c88d07944e0499ff00358ea3c830b329 | [
"BSD-3-Clause"
] | 27 | 2018-08-02T04:28:23.000Z | 2021-07-08T02:14:20.000Z | include/dca/phys/domains/quantum/particle_number_domain.hpp | PMDee/DCA | a8196ec3c88d07944e0499ff00358ea3c830b329 | [
"BSD-3-Clause"
] | 200 | 2018-08-02T18:19:03.000Z | 2022-03-16T21:28:41.000Z | include/dca/phys/domains/quantum/particle_number_domain.hpp | PMDee/DCA | a8196ec3c88d07944e0499ff00358ea3c830b329 | [
"BSD-3-Clause"
] | 22 | 2018-08-15T15:50:00.000Z | 2021-09-30T13:41:46.000Z | // Copyright (C) 2018 ETH Zurich
// Copyright (C) 2018 UT-Battelle, LLC
// All rights reserved.
//
// See LICENSE for terms of usage.
// See CITATION.md for citation guidelines, if DCA++ is used for scientific publications.
//
// Author: Peter Staar (taa@zurich.ibm.com)
//
// This file provides the particle number doma... | 24.785714 | 98 | 0.722622 | PMDee |
13d42f4223dd4e218fda1fdc3b6cca7e6ecf00e0 | 8,763 | cc | C++ | chrome_frame/simple_resource_loader.cc | junmin-zhu/chromium-rivertrail | eb1a57aca71fe68d96e48af8998dcfbe45171ee1 | [
"BSD-3-Clause"
] | 7 | 2015-05-20T22:41:35.000Z | 2021-11-18T19:07:59.000Z | chrome_frame/simple_resource_loader.cc | quisquous/chromium | b25660e05cddc9d0c3053b3514f07037acc69a10 | [
"BSD-3-Clause"
] | 1 | 2015-02-02T06:55:08.000Z | 2016-01-20T06:11:59.000Z | chrome_frame/simple_resource_loader.cc | jianglong0156/chromium.src | d496dfeebb0f282468827654c2b3769b3378c087 | [
"BSD-3-Clause"
] | 6 | 2016-11-14T10:13:35.000Z | 2021-01-23T15:29:53.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_frame/simple_resource_loader.h"
#include <atlbase.h>
#include <algorithm>
#include "base/base_paths.h"
#include "base/file_path.h"... | 32.455556 | 80 | 0.686181 | junmin-zhu |
13d4c9b5bcc4411ea79f00fc38502230ba2f402c | 5,655 | cpp | C++ | OREData/ored/portfolio/builders/cms.cpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 335 | 2016-10-07T16:31:10.000Z | 2022-03-02T07:12:03.000Z | OREData/ored/portfolio/builders/cms.cpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 59 | 2016-10-31T04:20:24.000Z | 2022-01-03T16:39:57.000Z | OREData/ored/portfolio/builders/cms.cpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 180 | 2016-10-08T14:23:50.000Z | 2022-03-28T10:43:05.000Z | /*
Copyright (C) 2016 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 41.888889 | 117 | 0.732449 | mrslezak |
13d525628e0cd5326d11d9868b0bc43343a73ae6 | 1,863 | hpp | C++ | include/voxel/async_structure.hpp | InjectorGames/VoxelLibrary | be8cc4ec179e9d86eb1bd25b1c7f8adfe8ad4198 | [
"BSD-3-Clause"
] | 1 | 2021-09-16T12:30:49.000Z | 2021-09-16T12:30:49.000Z | include/voxel/async_structure.hpp | InjectorGames/VoxelSpaceCPP | be8cc4ec179e9d86eb1bd25b1c7f8adfe8ad4198 | [
"BSD-3-Clause"
] | 1 | 2020-05-08T14:24:41.000Z | 2020-05-08T14:24:41.000Z | include/voxel/async_structure.hpp | InjectorGames/Voxel | be8cc4ec179e9d86eb1bd25b1c7f8adfe8ad4198 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <voxel/structure.hpp>
#include <mutex>
#include <thread>
namespace VOXEL_NAMESPACE
{
template<class T = Sector>
class AsyncStructure : public Structure<T>
{
protected:
bool isRunning;
std::mutex updateMutex;
std::thread updateThread;
inline void update(const Registry& registry)
{
... | 21.170455 | 74 | 0.677939 | InjectorGames |