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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a25d99f70bf7c830b96111b7a99dc8d6a8dae76d | 15,177 | cc | C++ | src/tcpinfo_lib.cc | m-lab/tcpinfo_lib | a0c9d53a87ad276d65417f9d1155e15a42afcf82 | [
"Apache-2.0"
] | 1 | 2016-12-08T09:22:31.000Z | 2016-12-08T09:22:31.000Z | src/tcpinfo_lib.cc | m-lab/tcpinfo_lib | a0c9d53a87ad276d65417f9d1155e15a42afcf82 | [
"Apache-2.0"
] | 15 | 2016-10-13T00:14:37.000Z | 2019-04-26T18:07:38.000Z | src/tcpinfo_lib.cc | m-lab/tcpinfo_lib | a0c9d53a87ad276d65417f9d1155e15a42afcf82 | [
"Apache-2.0"
] | 2 | 2016-10-13T13:36:58.000Z | 2018-03-23T20:46:43.000Z | // Copyright 2016 measurement-lab
//
// 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... | 33.801782 | 80 | 0.679976 | m-lab |
a2629389f99588607a1f252cee5dd3fd23985d69 | 401 | cpp | C++ | class09/simpleRecursion.cpp | jeremypedersen/cppZero | 69fc8119fdcc8186fee50896ff378a3c55076fa7 | [
"Unlicense"
] | null | null | null | class09/simpleRecursion.cpp | jeremypedersen/cppZero | 69fc8119fdcc8186fee50896ff378a3c55076fa7 | [
"Unlicense"
] | null | null | null | class09/simpleRecursion.cpp | jeremypedersen/cppZero | 69fc8119fdcc8186fee50896ff378a3c55076fa7 | [
"Unlicense"
] | null | null | null | //
// Code by: Jeremy Pedersen
//
// Licensed under the BSD 2-clause license (FreeBSD license)
//
// A simple demonstration of recursion
#include <iostream>
using namespace std;
void countDown(int start) {
if (start > 1) {
cout << start << endl;
countDown(start - 1);
}
else {
... | 14.321429 | 61 | 0.561097 | jeremypedersen |
a2646d9ce725dcb0421ae40cf4d1dd4c74d39183 | 2,833 | cpp | C++ | src/UlltraProto.cpp | rtaudio/ulltra | 3007088c7960e52bf7f5e75c4a10a638b27a3f09 | [
"MIT"
] | null | null | null | src/UlltraProto.cpp | rtaudio/ulltra | 3007088c7960e52bf7f5e75c4a10a638b27a3f09 | [
"MIT"
] | null | null | null | src/UlltraProto.cpp | rtaudio/ulltra | 3007088c7960e52bf7f5e75c4a10a638b27a3f09 | [
"MIT"
] | null | null | null |
#include "UlltraProto.h"
#include<iostream>
#include "net/networking.h"
#ifdef _WIN32
LARGE_INTEGER UlltraProto::timerFreq;
VOID(WINAPI*UlltraProto::myGetSystemTime)(_Out_ LPFILETIME);
static UINT gPeriod = 0;
#endif
std::atomic<uint64_t> UlltraProto::tickSeconds;
bool UlltraProto::init() {
t... | 20.830882 | 108 | 0.652665 | rtaudio |
a266dc55e97e35a2e4361f7cbc8f656099520670 | 2,581 | cpp | C++ | source/field/tilemap-parallax.cpp | synaodev/LeviathanRacket | c70dfddf0097c7f4e902ec5de46a6eabed5a4691 | [
"MIT"
] | 5 | 2020-03-25T14:46:23.000Z | 2022-02-23T01:46:26.000Z | source/field/tilemap-parallax.cpp | synaodev/LeviathanRacket | c70dfddf0097c7f4e902ec5de46a6eabed5a4691 | [
"MIT"
] | 1 | 2022-01-14T00:01:48.000Z | 2022-01-14T00:01:48.000Z | source/field/tilemap-parallax.cpp | synaodev/LeviathanRacket | c70dfddf0097c7f4e902ec5de46a6eabed5a4691 | [
"MIT"
] | 2 | 2020-03-25T14:46:24.000Z | 2020-08-21T04:33:23.000Z | #include "./tilemap-parallax.hpp"
#include "./properties.hpp"
#include "../system/renderer.hpp"
#include "../video/texture.hpp"
#include <glm/common.hpp>
#include <glm/gtc/constants.hpp>
namespace {
constexpr byte_t kBoundsXProp[] = "rect.x";
constexpr byte_t kBoundsYProp[] = "rect.y";
constexpr byte_t kBoundsWPr... | 31.096386 | 111 | 0.67067 | synaodev |
a267613a68ddd307473453fadbdf08e3002c9e0a | 14,221 | cpp | C++ | dbsidec/IdecMPerson.cpp | mpsitech/idec_public | a74cf1c7095e08ee61b237fddc1642f83dbb852d | [
"BSD-2-Clause"
] | null | null | null | dbsidec/IdecMPerson.cpp | mpsitech/idec_public | a74cf1c7095e08ee61b237fddc1642f83dbb852d | [
"BSD-2-Clause"
] | null | null | null | dbsidec/IdecMPerson.cpp | mpsitech/idec_public | a74cf1c7095e08ee61b237fddc1642f83dbb852d | [
"BSD-2-Clause"
] | null | null | null | /**
* \file IdecMPerson.cpp
* database access for table TblIdecMPerson (implementation)
* \author Alexander Wirthmueller
* \date created: 30 Dec 2017
* \date modified: 30 Dec 2017
*/
#include "IdecMPerson.h"
#include "IdecMPerson_vecs.cpp"
/****************************************************************... | 27.400771 | 277 | 0.678926 | mpsitech |
a269534217e66d594445e2e684fe8747ca249279 | 987 | cpp | C++ | Framework/Util/animation.cpp | TranQuocTuan1711/Crossy-Road-Game-Application-SFML | 0210513f0e0e56814c8be9bfeac3e49780455ccb | [
"Unlicense"
] | 2 | 2022-01-28T16:51:58.000Z | 2022-01-28T16:52:17.000Z | Framework/Util/animation.cpp | TranQuocTuan1711/Crossy-Road-Game-Application-SFML | 0210513f0e0e56814c8be9bfeac3e49780455ccb | [
"Unlicense"
] | null | null | null | Framework/Util/animation.cpp | TranQuocTuan1711/Crossy-Road-Game-Application-SFML | 0210513f0e0e56814c8be9bfeac3e49780455ccb | [
"Unlicense"
] | null | null | null | #include "animation.h"
animation::frame::frame(const sf::Vector2i pos, sf::Time delay)
: pos(pos)
, delay(delay)
{}
animation::frame::frame(int x, int y, sf::Time delay)
: pos(x,y)
, delay(delay)
{}
animation::animation(size_t frame_width, size_t frame_height)
: m_frame_size(frame_width, frame_height)
{}
void ... | 21 | 74 | 0.714286 | TranQuocTuan1711 |
a26b10d2721b8e611b8cc9482767db4403c56a1c | 6,840 | cpp | C++ | src/condor_utils/cron_job_list.cpp | neurodebian/htcondor | 113a5c9921a4fce8a21e3ab96b2c1ba47441bf39 | [
"Apache-2.0"
] | 217 | 2015-01-08T04:49:42.000Z | 2022-03-27T10:11:58.000Z | src/condor_utils/cron_job_list.cpp | neurodebian/htcondor | 113a5c9921a4fce8a21e3ab96b2c1ba47441bf39 | [
"Apache-2.0"
] | 185 | 2015-05-03T13:26:31.000Z | 2022-03-28T03:08:59.000Z | src/condor_utils/cron_job_list.cpp | neurodebian/htcondor | 113a5c9921a4fce8a21e3ab96b2c1ba47441bf39 | [
"Apache-2.0"
] | 133 | 2015-02-11T09:17:45.000Z | 2022-03-31T07:28:54.000Z | /***************************************************************
*
* Copyright (C) 1990-2010, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... | 23.186441 | 75 | 0.651608 | neurodebian |
a26d9da1dbb16177cd83d13877af11d26f5c9b47 | 2,003 | cpp | C++ | LightOJ/LightOJ - 1212/Wrong Answer.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | LightOJ/LightOJ - 1212/Wrong Answer.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | LightOJ/LightOJ - 1212/Wrong Answer.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: 2017-05-18 20:01:29
* solution_verdict: Wrong Answer language: C++
* run... | 30.348485 | 111 | 0.288567 | kzvd4729 |
a26f2c2ba2231465a167a26707e4e8cea5d5a512 | 1,393 | cpp | C++ | structures/enum.cpp | pat-laugh/websson-libraries | c5c99a98270dee45fcd9ec4e7f03e2e74e3b1ce2 | [
"MIT"
] | null | null | null | structures/enum.cpp | pat-laugh/websson-libraries | c5c99a98270dee45fcd9ec4e7f03e2e74e3b1ce2 | [
"MIT"
] | 33 | 2017-04-25T21:53:59.000Z | 2017-07-14T13:30:29.000Z | structures/enum.cpp | pat-laugh/websson-libraries | c5c99a98270dee45fcd9ec4e7f03e2e74e3b1ce2 | [
"MIT"
] | null | null | null | //MIT License
//Copyright 2017 Patrick Laughrea
#include "webss.hpp"
using namespace std;
using namespace webss;
Enum::Enum(std::string name) : nspace(std::move(name)) {}
bool Enum::empty() const { return nspace.empty(); }
Enum::size_type Enum::size() const { return nspace.size(); }
void Enum::add(std::string key) ... | 43.53125 | 94 | 0.690596 | pat-laugh |
a2760a1d4d6aced1e23855f32cdd4918931304ed | 830 | cpp | C++ | SimpleEngine/SimpleEngine/Vector2.cpp | Akara4ok/-__- | b6f76ae2d0e180429eb2c64911327056aa1c8357 | [
"MIT"
] | null | null | null | SimpleEngine/SimpleEngine/Vector2.cpp | Akara4ok/-__- | b6f76ae2d0e180429eb2c64911327056aa1c8357 | [
"MIT"
] | null | null | null | SimpleEngine/SimpleEngine/Vector2.cpp | Akara4ok/-__- | b6f76ae2d0e180429eb2c64911327056aa1c8357 | [
"MIT"
] | null | null | null | #include "Vector2.h"
#include <math.h>
Vector2::Vector2()
{
}
Vector2::Vector2(float x, float y) : x(x), y(y)
{
}
Vector2::Vector2(Vector2 startPoint, Vector2 endPoint)
{
Vector2 res = endPoint - startPoint;
x = res.x;
y = res.y;
}
Vector2 Vector2::getOrt()
{
float absVec = this->absValue();
return Vector2(x /... | 15.37037 | 54 | 0.651807 | Akara4ok |
a2798ca60acd85be17a41006ae3c20fadbdcde04 | 87 | cpp | C++ | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zqslogmessagereporter.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zqslogmessagereporter.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2016-12-03T05:33:13.000Z | 2016-12-03T05:33:13.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zqslogmessagereporter.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | #include "zqslogmessagereporter.h"
ZQsLogMessageReporter::ZQsLogMessageReporter()
{
}
| 14.5 | 46 | 0.816092 | zzhmark |
a279ce8a5609e8cebdd8713b85080c1fa013a281 | 1,252 | cpp | C++ | ace/tao/tao_idl/be/be_visitor_operation/interceptors_sh.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | ace/tao/tao_idl/be/be_visitor_operation/interceptors_sh.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | ace/tao/tao_idl/be/be_visitor_operation/interceptors_sh.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | //
// interceptors_sh.cpp,v 1.12 2001/04/03 18:05:55 coryan Exp
//
// ============================================================================
//
// = LIBRARY
// TAO IDL
//
// = FILENAME
// operation_interceptors_sh.cpp
//
// = DESCRIPTION
// Visitor generating code for Operation node in the ... | 26.083333 | 120 | 0.538339 | tharindusathis |
a27dd84b223bec55ce9ddd61f90f9ba6f944f482 | 855 | cpp | C++ | ManagedSpyLib/MessageFilters.cpp | ForNeVeR/ManagedSpy | a0cac94d5f00e5c1a4c132d453ea331d8ae78f24 | [
"DOC"
] | 69 | 2015-02-05T02:23:09.000Z | 2022-03-27T09:44:14.000Z | ManagedSpyLib/MessageFilters.cpp | ForNeVeR/ManagedSpy | a0cac94d5f00e5c1a4c132d453ea331d8ae78f24 | [
"DOC"
] | 17 | 2015-01-04T07:52:38.000Z | 2022-02-03T06:53:50.000Z | ManagedSpyLib/MessageFilters.cpp | ForNeVeR/ManagedSpy | a0cac94d5f00e5c1a4c132d453ea331d8ae78f24 | [
"DOC"
] | 20 | 2015-04-22T20:41:47.000Z | 2020-12-16T09:32:34.000Z | #include "Stdafx.h"
#include "Messages.h"
#include "MessageFilters.hpp"
void ManagedSpyLib::MessageFilters::Initialize()
{
ChangeWindowMessageFilter(WM_GETPROXY, MSGFLT_ADD);
ChangeWindowMessageFilter(WM_ISMANAGED, MSGFLT_ADD);
ChangeWindowMessageFilter(WM_RELEASEMEM, MSGFLT_ADD);
ChangeWindowMessageFi... | 42.75 | 63 | 0.823392 | ForNeVeR |
a2807a734b221b8beba7650019595fc63299a992 | 12,683 | cpp | C++ | src/clos/datacenter/main_ndp.cpp | Flasew/opera-sim | 1f64017883689c115b8442acab7ef52846ab2c18 | [
"BSD-3-Clause"
] | null | null | null | src/clos/datacenter/main_ndp.cpp | Flasew/opera-sim | 1f64017883689c115b8442acab7ef52846ab2c18 | [
"BSD-3-Clause"
] | null | null | null | src/clos/datacenter/main_ndp.cpp | Flasew/opera-sim | 1f64017883689c115b8442acab7ef52846ab2c18 | [
"BSD-3-Clause"
] | null | null | null | // -*- c-basic-offset: 4; tab-width: 8; indent-tabs-mode: t -*-
#include "config.h"
#include <sstream>
#include <strstream>
#include <iostream>
#include <string.h>
#include <math.h>
#include "network.h"
#include "randomqueue.h"
#include "subflow_control.h"
//#include "shortflows.h"
#include "pipe.h"
#include "e... | 27.042644 | 138 | 0.617046 | Flasew |
a2817ca1576245ab8567164ff9ecb334720a638e | 7,838 | cpp | C++ | src/app/clusters/bindings/BindingManager.cpp | sandcatone/connectedhomeip | 098e45578cc34c687feb4b3ecc92b79be8c72716 | [
"Apache-2.0"
] | 1 | 2022-02-21T08:33:37.000Z | 2022-02-21T08:33:37.000Z | src/app/clusters/bindings/BindingManager.cpp | sandcatone/connectedhomeip | 098e45578cc34c687feb4b3ecc92b79be8c72716 | [
"Apache-2.0"
] | null | null | null | src/app/clusters/bindings/BindingManager.cpp | sandcatone/connectedhomeip | 098e45578cc34c687feb4b3ecc92b79be8c72716 | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2022 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 38.610837 | 128 | 0.698648 | sandcatone |
a289b97bc3f4a3bbf96e28e9c84cd6c2cba9fa6c | 1,228 | cpp | C++ | src/coremods/core_maps/cmd_hsearch.cpp | BerilBBJ/beryldb | 6569b568796e4cea64fe7f42785b0319541a0284 | [
"BSD-3-Clause"
] | 206 | 2021-04-27T21:44:24.000Z | 2022-02-23T12:01:20.000Z | src/coremods/core_maps/cmd_hsearch.cpp | BerilBBJ/beryldb | 6569b568796e4cea64fe7f42785b0319541a0284 | [
"BSD-3-Clause"
] | 10 | 2021-05-04T19:46:59.000Z | 2021-10-01T23:43:07.000Z | src/coremods/core_maps/cmd_hsearch.cpp | berylcorp/beryl | 6569b568796e4cea64fe7f42785b0319541a0284 | [
"BSD-3-Clause"
] | 7 | 2021-04-28T16:17:56.000Z | 2021-12-10T01:14:42.000Z | /*
* BerylDB - A lightweight database.
* http://www.beryldb.com
*
* Copyright (C) 2021 - Carlos F. Ferry <cferry@beryldb.com>
*
* This file is part of BerylDB. BerylDB is free software: you can
* redistribute it and/or modify it under the terms of the BSD License
* version 3.
*
* More information about our l... | 29.238095 | 117 | 0.653094 | BerilBBJ |
a28a480d9778d00f5ce0e68a335ae73c36c6160c | 3,092 | cpp | C++ | AdaptiveHistogramEqualization.cpp | javierjuan/ONTs | d27168ceafac70f729df7a9138285e2352a49e99 | [
"Apache-2.0"
] | null | null | null | AdaptiveHistogramEqualization.cpp | javierjuan/ONTs | d27168ceafac70f729df7a9138285e2352a49e99 | [
"Apache-2.0"
] | null | null | null | AdaptiveHistogramEqualization.cpp | javierjuan/ONTs | d27168ceafac70f729df7a9138285e2352a49e99 | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
/* Javier Juan Albarracin - jajuaal1@ibime.upv.es */
/* Universidad Politecnica de Valencia, Spain */
/* */
/* Copyr... | 39.641026 | 183 | 0.538486 | javierjuan |
a28aed4c23005743f37594ee9807cecfb6013dd0 | 85,343 | cpp | C++ | src/prod/src/Reliability/Replication/ReplicateCopyOperations.Test.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Reliability/Replication/ReplicateCopyOperations.Test.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Reliability/Replication/ReplicateCopyOperations.Test.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// 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"
#include ... | 39.022862 | 186 | 0.635588 | vishnuk007 |
a28b7993b004b40e3a15ecbe1992cbe30c3fa9f7 | 357 | hpp | C++ | math/camera/3d/orthographic_camera.hpp | aconstlink/natus | d2123c6e1798bd0771b8a1a05721c68392afc92f | [
"MIT"
] | null | null | null | math/camera/3d/orthographic_camera.hpp | aconstlink/natus | d2123c6e1798bd0771b8a1a05721c68392afc92f | [
"MIT"
] | 292 | 2020-03-19T22:38:52.000Z | 2022-03-05T22:49:34.000Z | math/camera/3d/orthographic_camera.hpp | aconstlink/natus | d2123c6e1798bd0771b8a1a05721c68392afc92f | [
"MIT"
] | null | null | null | #pragma once
#include <natus/math/vector/vector3.hpp>
#include <natus/math/vector/vector4.hpp>
#include <natus/math/matrix/matrix3.hpp>
#include <natus/math/matrix/matrix4.hpp>
#include <natus/math/primitive/3d/ray.hpp>
namespace natus
{
namespace math
{
template< typename type_t >
class ort... | 18.789474 | 42 | 0.683473 | aconstlink |
a28c47c8cad7a6c176b2dc88b1753ae98e8a6d71 | 1,329 | hpp | C++ | include/algorithms/MST.hpp | BPsoda/CS2602 | 94388afa6616625d357cfaf9637018d9609aaeb4 | [
"BSD-3-Clause"
] | 3 | 2021-12-16T09:07:07.000Z | 2021-12-31T16:19:51.000Z | include/algorithms/MST.hpp | BPsoda/CS2602 | 94388afa6616625d357cfaf9637018d9609aaeb4 | [
"BSD-3-Clause"
] | null | null | null | include/algorithms/MST.hpp | BPsoda/CS2602 | 94388afa6616625d357cfaf9637018d9609aaeb4 | [
"BSD-3-Clause"
] | 1 | 2022-01-29T07:06:19.000Z | 2022-01-29T07:06:19.000Z | #include "set/DisjointSet.h"
#include "priority/BinaryHeap.h"
#include "graph/SparseGraph.h"
#include <cstdio>
namespace impl {
template <typename T>
struct Edge {
int from;
int to;
T weight;
};
template <typename T>
struct EdgeLess {
bool operator()(const Edge<T>& ... | 27.122449 | 105 | 0.531226 | BPsoda |
a28d18e54c9c2c582d261a9fd6b73630dc3e63b8 | 12,788 | cc | C++ | ftr/util/util.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 86 | 2017-11-21T01:05:30.000Z | 2020-05-21T12:30:31.000Z | ftr/util/util.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 14 | 2020-10-16T11:30:57.000Z | 2021-04-16T06:10:06.000Z | ftr/util/util.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 13 | 2017-11-21T10:18:53.000Z | 2019-10-18T09:15:55.000Z | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2015, xuewen.chu
* 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 sourc... | 22.435088 | 93 | 0.658586 | louis-tru |
a28e45a00bd2ed30489ee6b6e7a137ebe96777c1 | 710 | hpp | C++ | include/llvm-abi/x86/CPUFeatures.hpp | scrossuk/llvm-abi | bad12c7cb1cdd271cd8804d1ace1b5d1799a2908 | [
"MIT"
] | 29 | 2016-11-14T15:58:23.000Z | 2022-01-07T13:05:39.000Z | include/llvm-abi/x86/CPUFeatures.hpp | scrossuk/llvm-abi | bad12c7cb1cdd271cd8804d1ace1b5d1799a2908 | [
"MIT"
] | null | null | null | include/llvm-abi/x86/CPUFeatures.hpp | scrossuk/llvm-abi | bad12c7cb1cdd271cd8804d1ace1b5d1799a2908 | [
"MIT"
] | 4 | 2017-12-03T15:51:24.000Z | 2020-07-31T23:32:27.000Z | #ifndef LLVMABI_X86_CPUFEATURES_HPP
#define LLVMABI_X86_CPUFEATURES_HPP
#include <set>
#include <string>
#include <llvm/ADT/Triple.h>
#include <llvm-abi/x86/CPUKind.hpp>
namespace llvm_abi {
namespace x86 {
enum SSELevel {
NoSSE,
SSE1,
SSE2,
SSE3,
SSSE3,
SSE41,
SSE42,
AVX,
AVX2,
... | 13.921569 | 62 | 0.621127 | scrossuk |
a2926c230c2d04a893c45e6bceae9978232354e6 | 9,271 | cpp | C++ | sea/sea/seaage/ComLib/NetGE_Ship.cpp | Heersin/SeaMelody | 602df3f61fcbb728f386dcddffe4f9466bec551d | [
"Apache-2.0"
] | null | null | null | sea/sea/seaage/ComLib/NetGE_Ship.cpp | Heersin/SeaMelody | 602df3f61fcbb728f386dcddffe4f9466bec551d | [
"Apache-2.0"
] | null | null | null | sea/sea/seaage/ComLib/NetGE_Ship.cpp | Heersin/SeaMelody | 602df3f61fcbb728f386dcddffe4f9466bec551d | [
"Apache-2.0"
] | null | null | null | /*
** NetGE_Ship.cpp
** ship functions header.
**
** Jack, 2002.12.9
*/
#include "NetGE_Mainfunc.h"
/************************************************************************************************************/
/* GLOBALS ... | 26.488571 | 111 | 0.559379 | Heersin |
a29c4c332ded91f7dbb43bd554f5b5ee44c697f2 | 9,638 | cpp | C++ | ocpl_planning/test/test_oriolo.cpp | JeroenDM/ocpl | 51c19f2670327e17fabf5920ddad2c681f2bef4d | [
"MIT"
] | null | null | null | ocpl_planning/test/test_oriolo.cpp | JeroenDM/ocpl | 51c19f2670327e17fabf5920ddad2c681f2bef4d | [
"MIT"
] | 1 | 2021-01-17T09:12:51.000Z | 2021-01-17T09:12:51.000Z | ocpl_planning/test/test_oriolo.cpp | JeroenDM/ocpl | 51c19f2670327e17fabf5920ddad2c681f2bef4d | [
"MIT"
] | null | null | null | #include <ocpl_planning/oriolo.h>
#include <iostream>
#include <string>
#include <memory>
#include <gtest/gtest.h>
using namespace ocpl;
using namespace ocpl::oriolo;
const double TOLERANCE = 1e-8;
void compareVectors(const std::vector<double>& v1, const std::vector<double>& v2, const std::string& info);
std::ostr... | 29.384146 | 107 | 0.578128 | JeroenDM |
a29ca3cac3ed08e936b3beb36f54b6e69975eee3 | 2,196 | cpp | C++ | euphony/src/main/cpp/tests/waveTest.cpp | aiclaudev/euphony | a1ad79a8c3d89aaa7e33b41623a65d1e0830f88b | [
"Apache-2.0"
] | 18 | 2019-07-08T16:44:15.000Z | 2021-08-03T04:28:55.000Z | euphony/src/main/cpp/tests/waveTest.cpp | aiclaudev/euphony | a1ad79a8c3d89aaa7e33b41623a65d1e0830f88b | [
"Apache-2.0"
] | 39 | 2021-08-09T14:09:51.000Z | 2021-10-19T15:18:44.000Z | euphony/src/main/cpp/tests/waveTest.cpp | aiclaudev/euphony | a1ad79a8c3d89aaa7e33b41623a65d1e0830f88b | [
"Apache-2.0"
] | 20 | 2019-11-25T13:08:09.000Z | 2021-08-03T09:28:17.000Z | #include <gtest/gtest.h>
#include <Definitions.h>
#include <Wave.h>
#include <string>
#include <tuple>
#include <regex>
using std::string;
using namespace Euphony;
typedef std::tuple<int, int> TestParamType;
class WaveTestFixture : public ::testing::TestWithParam<TestParamType> {
public:
void makeFrequency() {
... | 24.674157 | 72 | 0.614754 | aiclaudev |
a29d4f48a61a7ca8d749ec06b5c2a8cd13e3e98d | 485 | cpp | C++ | Leetcode/majority-element.cpp | omonimus1/angorithm_AND_dataStructure | 2a6a0cda29cb618a787654b5c66ed6f43fe618e2 | [
"Apache-2.0"
] | 580 | 2020-04-08T16:47:36.000Z | 2022-03-31T15:09:13.000Z | Leetcode/majority-element.cpp | omonimus1/angorithm_AND_dataStructure | 2a6a0cda29cb618a787654b5c66ed6f43fe618e2 | [
"Apache-2.0"
] | 3 | 2020-10-01T08:46:42.000Z | 2020-11-23T17:12:35.000Z | Leetcode/majority-element.cpp | omonimus1/angorithm_AND_dataStructure | 2a6a0cda29cb618a787654b5c66ed6f43fe618e2 | [
"Apache-2.0"
] | 87 | 2020-06-07T16:30:08.000Z | 2022-03-29T19:30:47.000Z | // https://leetcode.com/problems/majority-element/submissions/
class Solution {
public:
int majorityElement(vector<int>& nums) {
int len = nums.size();
int frequency = len/2;
unordered_map<int, int>mp;
for(int i =0; i < len; i++)
{
mp[nums[i]... | 22.045455 | 62 | 0.449485 | omonimus1 |
a2a012d7c41659eb5581a12c709782bda6c0c8aa | 1,924 | cpp | C++ | OrderParameters/SimulationBox.cpp | Yusheng-cai/mdanalysis | db7386bfc6dc14af94df34feee5db2d7f2649cf4 | [
"MIT"
] | null | null | null | OrderParameters/SimulationBox.cpp | Yusheng-cai/mdanalysis | db7386bfc6dc14af94df34feee5db2d7f2649cf4 | [
"MIT"
] | null | null | null | OrderParameters/SimulationBox.cpp | Yusheng-cai/mdanalysis | db7386bfc6dc14af94df34feee5db2d7f2649cf4 | [
"MIT"
] | null | null | null | #include "SimulationBox.h"
SimulationBox::SimulationBox(Matrix& box)
{
for (int i=0;i<3;i++)
{
length_[i] = box[i][i];
hlength_[i] = 0.5*length_[i];
mhlength_[i] = -hlength_[i];
}
}
SimulationBox::SimulationBox(Real lx, Real ly, Real lz)
{
length_[0] = lx;
length_[1] = ly;
... | 21.142857 | 109 | 0.516632 | Yusheng-cai |
94730ebde2d1fadfd6cbe8137f61119b97ac2c55 | 3,885 | cpp | C++ | datasets/github_cpp_10/3/114.cpp | yijunyu/demo-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | 1 | 2019-05-03T19:27:45.000Z | 2019-05-03T19:27:45.000Z | datasets/github_cpp_10/3/114.cpp | yijunyu/demo-vscode-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | null | null | null | datasets/github_cpp_10/3/114.cpp | yijunyu/demo-vscode-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | null | null | null |
template <class K, class V>
V AVLTree<K, V>::find(const K& key) const
{
return find(root, key);
}
template <class K, class V>
V AVLTree<K, V>::find(Node* subtree, const K& key) const
{
if (subtree == NULL)
return V();
else if (key == subtree->key)
return subtree->value;
else {
... | 23.403614 | 139 | 0.572458 | yijunyu |
94789dbfabcf88adf58a403fb608a3cc80d533e1 | 8,345 | cpp | C++ | src/cep/oms/portfolio.cpp | hvsqg/ft | d721ed881a4222ca8790cbfca489ab7012704f0d | [
"MIT"
] | null | null | null | src/cep/oms/portfolio.cpp | hvsqg/ft | d721ed881a4222ca8790cbfca489ab7012704f0d | [
"MIT"
] | null | null | null | src/cep/oms/portfolio.cpp | hvsqg/ft | d721ed881a4222ca8790cbfca489ab7012704f0d | [
"MIT"
] | null | null | null | // Copyright [2020] <Copyright Kevin, kevin.lau.gd@gmail.com>
#include "cep/oms/portfolio.h"
#include <spdlog/spdlog.h>
#include <algorithm>
#include "cep/data/constants.h"
#include "cep/data/contract_table.h"
namespace ft {
Portfolio::Portfolio() {}
void Portfolio::init(uint32_t max_tid, bool sync_to_redis, uin... | 29.803571 | 80 | 0.650929 | hvsqg |
947b274a140ae0578f5804acce5f2e027e8de63d | 1,972 | hpp | C++ | libs/fnd/tuple/include/bksge/fnd/tuple/detail/tuple_concater.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/tuple/include/bksge/fnd/tuple/detail/tuple_concater.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/tuple/include/bksge/fnd/tuple/detail/tuple_concater.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file tuple_concater.hpp
*
* @brief tuple_concater の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_TUPLE_DETAIL_TUPLE_CONCATER_HPP
#define BKSGE_FND_TUPLE_DETAIL_TUPLE_CONCATER_HPP
#include <bksge/fnd/tuple/tuple_size.hpp>
#include <bksge/fnd/tuple/get.hpp>
#include <bksge/fnd/type_traits/remo... | 24.345679 | 89 | 0.684077 | myoukaku |
947b5b8df77745ac1114654c3ae26162ec08f44e | 1,542 | cpp | C++ | ACW Project Framework/Collider.cpp | Lentono/PhysicsSimulationACW | a73d22571a0742fd960740f04689f6ee095c3986 | [
"MIT"
] | 1 | 2021-06-06T10:29:12.000Z | 2021-06-06T10:29:12.000Z | ACW Project Framework/Collider.cpp | Lentono/PhysicsSimulationACW | a73d22571a0742fd960740f04689f6ee095c3986 | [
"MIT"
] | null | null | null | ACW Project Framework/Collider.cpp | Lentono/PhysicsSimulationACW | a73d22571a0742fd960740f04689f6ee095c3986 | [
"MIT"
] | null | null | null | #include "Collider.h"
Collider::Collider() = default;
Collider::~Collider() = default;
SphereCollider::SphereCollider() = default;
SphereCollider::~SphereCollider() = default;
Collider::ColliderType SphereCollider::GetCollider() const
{
return Sphere;
}
AABBCubeCollider::AABBCubeCollider() = default;
AABBCubeCo... | 20.289474 | 105 | 0.770428 | Lentono |
947d68ea71ebeca3803d124aacbe4f81406f7c53 | 25,093 | cc | C++ | o3d/core/cross/bitmap.cc | zachlatta/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | 1 | 2021-09-24T22:49:10.000Z | 2021-09-24T22:49:10.000Z | o3d/core/cross/bitmap.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | o3d/core/cross/bitmap.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2009, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 36.578717 | 79 | 0.617304 | zachlatta |
947db6935b38ee1666973e36f88740c50019b61e | 1,017 | cpp | C++ | plugins/wininput/src/cursor/grab.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/wininput/src/cursor/grab.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/wininput/src/cursor/grab.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <sge/wininput/cursor/clip.hpp>
#include <sge/wininput/cursor/grab.hpp>
#include <sge/winin... | 29.911765 | 81 | 0.706981 | cpreh |
947e67864b3a21c40f066bb4f4ff5eb330e88e88 | 1,227 | cpp | C++ | ReactQt/runtime/src/componentmanagers/activityindicatormanager.cpp | hlolli/react-native-desktop | 3b7d0fd669d49f29698391f2025860593163fc45 | [
"MIT"
] | 5 | 2020-10-22T19:25:01.000Z | 2020-10-22T19:34:52.000Z | ReactQt/runtime/src/componentmanagers/activityindicatormanager.cpp | hlolli/react-native-desktop | 3b7d0fd669d49f29698391f2025860593163fc45 | [
"MIT"
] | 1 | 2018-11-14T17:45:55.000Z | 2018-11-14T17:45:55.000Z | ReactQt/runtime/src/componentmanagers/activityindicatormanager.cpp | hlolli/react-native-desktop | 3b7d0fd669d49f29698391f2025860593163fc45 | [
"MIT"
] | null | null | null |
/**
* Copyright (c) 2017-present, Status Research and Development GmbH.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same di... | 26.673913 | 89 | 0.780766 | hlolli |
9480d3d9a49d0fc0a9088ba1f873249f0917b472 | 732 | cpp | C++ | uri/1049.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 3 | 2018-01-08T02:52:51.000Z | 2021-03-03T01:08:44.000Z | uri/1049.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | null | null | null | uri/1049.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 1 | 2020-08-13T18:07:35.000Z | 2020-08-13T18:07:35.000Z | #include <bits/stdc++.h>
using namespace std;
string re(string s1, string s2, string s3)
{
if(s1 == "vertebrado"){
if(s2 == "ave"){
if(s3 == "carnivoro") return "aguia";
else return "pomba";
}
else if(s3 == "onivoro") return "homem";
else return "vaca";
... | 20.333333 | 57 | 0.493169 | cosmicray001 |
94825d344a83cc171c1f234bc1ac25203f206811 | 4,380 | hpp | C++ | sprig/utility/container.hpp | bolero-MURAKAMI/Sprig | 51ce4db4f4d093dee659a136f47249e4fe91fc7a | [
"BSL-1.0"
] | 2 | 2017-10-24T13:56:24.000Z | 2018-09-28T13:21:22.000Z | sprig/utility/container.hpp | bolero-MURAKAMI/Sprig | 51ce4db4f4d093dee659a136f47249e4fe91fc7a | [
"BSL-1.0"
] | null | null | null | sprig/utility/container.hpp | bolero-MURAKAMI/Sprig | 51ce4db4f4d093dee659a136f47249e4fe91fc7a | [
"BSL-1.0"
] | 2 | 2016-04-12T03:26:06.000Z | 2018-09-28T13:21:22.000Z | /*=============================================================================
Copyright (c) 2010-2016 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprig
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)
===... | 34.761905 | 93 | 0.739498 | bolero-MURAKAMI |
9483f228e2cd1add9758a1a8013d82839a61849f | 45,498 | cc | C++ | test/datablock_test.cc | cakebytheoceanLuo/Data_Blocks | 72ba7e352118ca25f4d0cb5d07853e4e0976e07e | [
"MIT"
] | 4 | 2021-01-12T07:39:49.000Z | 2021-07-29T05:55:36.000Z | test/datablock_test.cc | cakebytheoceanLuo/Data_Blocks | 72ba7e352118ca25f4d0cb5d07853e4e0976e07e | [
"MIT"
] | null | null | null | test/datablock_test.cc | cakebytheoceanLuo/Data_Blocks | 72ba7e352118ca25f4d0cb5d07853e4e0976e07e | [
"MIT"
] | 1 | 2021-04-12T00:17:41.000Z | 2021-04-12T00:17:41.000Z | // ---------------------------------------------------------------------------
// IMLAB
// ---------------------------------------------------------------------------
#include <math.h>
#include <gtest/gtest.h>
#include <vector>
#include <cstdlib>
#include <iostream>
#include <ctime>
#include <tuple>
#include <map>
#inc... | 39.805774 | 178 | 0.62383 | cakebytheoceanLuo |
948b4ab8c3e7ad281677d8f1993c3ffd957caece | 409 | cpp | C++ | src/modules/LogicGate.cpp | pigatron-industries/xen_algorhythm | 3b4cd0fcbffeb36c52e9f1b7530bb1be52811101 | [
"Unlicense"
] | 2 | 2021-04-06T21:23:06.000Z | 2021-11-07T09:52:00.000Z | src/modules/LogicGate.cpp | pigatron-industries/xen_algorhythm | 3b4cd0fcbffeb36c52e9f1b7530bb1be52811101 | [
"Unlicense"
] | null | null | null | src/modules/LogicGate.cpp | pigatron-industries/xen_algorhythm | 3b4cd0fcbffeb36c52e9f1b7530bb1be52811101 | [
"Unlicense"
] | null | null | null | #include "LogicGate.h"
LogicGate::LogicGate(GateType type, Rhythm& rhythm1, Rhythm& rhythm2) :
rhythm1(rhythm1),
rhythm2(rhythm2) {
this->type = type;
}
bool LogicGate::getOutput() {
switch(type) {
case AND:
return rhythm1.getOutput() && rhythm2.getOutput();
case AND_NOT:
... | 22.722222 | 71 | 0.611247 | pigatron-industries |
948e08d5bde17f769127b63597d833ceb45b5815 | 7,828 | cpp | C++ | xarm_api/src/xarm_driver.cpp | stevewen/xarm_ros | 93770d50faf83be627ad16c268c7477ba72187c5 | [
"BSD-3-Clause"
] | null | null | null | xarm_api/src/xarm_driver.cpp | stevewen/xarm_ros | 93770d50faf83be627ad16c268c7477ba72187c5 | [
"BSD-3-Clause"
] | null | null | null | xarm_api/src/xarm_driver.cpp | stevewen/xarm_ros | 93770d50faf83be627ad16c268c7477ba72187c5 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright 2018 UFACTORY Inc. All Rights Reserved.
*
* Software License Agreement (BSD License)
*
* Author: waylon <weile.wang@ufactory.cc>
============================================================================*/
#include <xarm_driver.h>
#include "xarm/instruction/uxbus_cmd_config.h"
namespace xarm_api
{ ... | 31.821138 | 108 | 0.547011 | stevewen |
949443afec3db63f744090109d21f2b3a8d325ab | 5,733 | cpp | C++ | test/test_utils.cpp | Nico-Curti/easyDAG | 16d996c5348c2dfb099d6a16f75bdedd878a7ed3 | [
"MIT"
] | 2 | 2020-06-21T12:52:17.000Z | 2020-07-28T07:55:54.000Z | test/test_utils.cpp | Nico-Curti/easyDAG | 16d996c5348c2dfb099d6a16f75bdedd878a7ed3 | [
"MIT"
] | null | null | null | test/test_utils.cpp | Nico-Curti/easyDAG | 16d996c5348c2dfb099d6a16f75bdedd878a7ed3 | [
"MIT"
] | 2 | 2020-07-28T12:02:04.000Z | 2022-01-08T15:03:11.000Z | #define CATCH_CONFIG_MAIN
#include <catch.hpp>
#include <sstream>
#include <easyDAG.hpp>
TEST_CASE ( "Test is_type", "[is_type]" )
{
float x = 2.f;
int y = 2;
auto a = InputVariable(x);
auto b = InputVariable < decltype(y) > ();
auto sum = a + b;
REQUIRE ( utils :: is_variable_v < decltype(x) > == tr... | 22.570866 | 128 | 0.572998 | Nico-Curti |
9496e0ad3c5dc9ae8bbfb74ddc1eeffd500a2ebb | 3,095 | cpp | C++ | First Set/Second Exercise/Flight.cpp | ManosL/Object-Oriented-Programming-2017-18 | bc48941e58ae1dcbc4c7c51557e9a00c49f7800d | [
"MIT"
] | null | null | null | First Set/Second Exercise/Flight.cpp | ManosL/Object-Oriented-Programming-2017-18 | bc48941e58ae1dcbc4c7c51557e9a00c49f7800d | [
"MIT"
] | null | null | null | First Set/Second Exercise/Flight.cpp | ManosL/Object-Oriented-Programming-2017-18 | bc48941e58ae1dcbc4c7c51557e9a00c49f7800d | [
"MIT"
] | null | null | null | #include <iostream>
#include "Application.h"
#include "Flight.h"
using namespace std;
Flight::Flight(const string dest,time_t depart,time_t dur,int max_A,int max_B,int terminal_number):
destination(dest),departure_time(depart),duration(dur),max_seats_A(max_A),
max_seats_B(max_B),remaining_seats_A(max_A),remaining_se... | 28.657407 | 111 | 0.706947 | ManosL |
94983d1e5f27621a8c5faefa5550beb1e3ed465b | 3,401 | cpp | C++ | Practice/2019.5.22/LOJ2979.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2019.5.22/LOJ2979.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2019.5.22/LOJ2979.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define ls (x<<1)
#define rs (ls|1)
const int maxN=310;
const int maxM=11;
const int maxNN=maxN*maxM*9;
const int maxMM=maxNN*8;
const int inf=1000000000;
class Edge
{
public:
int v,flow,w;
};
int n,m;
int ecnt=-1,Hd[maxNN],Nt[maxMM],idcnt=2,S=1,T=2;
Edge E[maxMM];
int I... | 22.97973 | 118 | 0.52955 | SYCstudio |
949975156f532b3589f283aeeb28746eac0cd013 | 2,221 | hpp | C++ | include/src/Core/BlockSolvers/Coloring.impl.hpp | sjokic/WallDestruction | 2e1c000096df4aa027a91ff1732ce50a205b221a | [
"MIT"
] | 1 | 2021-11-03T11:30:05.000Z | 2021-11-03T11:30:05.000Z | include/src/Core/BlockSolvers/Coloring.impl.hpp | sjokic/WallDestruction | 2e1c000096df4aa027a91ff1732ce50a205b221a | [
"MIT"
] | null | null | null | include/src/Core/BlockSolvers/Coloring.impl.hpp | sjokic/WallDestruction | 2e1c000096df4aa027a91ff1732ce50a205b221a | [
"MIT"
] | null | null | null | /*
* This file is part of bogus, a C++ sparse block matrix library.
*
* Copyright 2013 Gilles Daviet <gdaviet@gmail.com>
*
* 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/M... | 23.378947 | 87 | 0.642053 | sjokic |
949af51165013096dae010e9350c3e710ff3a5a9 | 4,859 | hpp | C++ | include/actionspace/GenericActionSpace.hpp | JHLee0513/libcozmo | f3a90a39ec1b1c4ead691328fd43459d67a3a44a | [
"BSD-3-Clause"
] | 8 | 2017-01-11T15:49:34.000Z | 2019-04-24T21:49:05.000Z | include/actionspace/GenericActionSpace.hpp | JHLee0513/libcozmo | f3a90a39ec1b1c4ead691328fd43459d67a3a44a | [
"BSD-3-Clause"
] | 6 | 2019-07-19T01:43:45.000Z | 2020-03-10T07:28:30.000Z | include/actionspace/GenericActionSpace.hpp | JHLee0513/libcozmo | f3a90a39ec1b1c4ead691328fd43459d67a3a44a | [
"BSD-3-Clause"
] | 4 | 2019-07-01T20:04:44.000Z | 2020-02-14T10:12:35.000Z | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2019, Brian Lee, Vinitha Ranganeni
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// ... | 38.259843 | 80 | 0.667627 | JHLee0513 |
949e80287d10edfae7f97ba708cb98c80174dae8 | 3,996 | cpp | C++ | packages/core/src/Message.cpp | aaronchongth/soss_v2 | b531c2046e24684670a4a2ea2fd3c134fcba0591 | [
"Apache-2.0"
] | null | null | null | packages/core/src/Message.cpp | aaronchongth/soss_v2 | b531c2046e24684670a4a2ea2fd3c134fcba0591 | [
"Apache-2.0"
] | null | null | null | packages/core/src/Message.cpp | aaronchongth/soss_v2 | b531c2046e24684670a4a2ea2fd3c134fcba0591 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 Open Source Robotics Foundation
*
* 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 appl... | 23.368421 | 80 | 0.50025 | aaronchongth |
94a041420c98bc7b43b0cb4e35ed9c71d993a1ea | 3,833 | cpp | C++ | tests/test_core_tpool.cpp | accosmin/zob | 9e840894ffd6ab718fa800aca67e4a25e941e546 | [
"MIT"
] | 6 | 2015-04-14T19:42:38.000Z | 2015-11-12T17:41:35.000Z | tests/test_core_tpool.cpp | cyy1991/nano | 9e840894ffd6ab718fa800aca67e4a25e941e546 | [
"MIT"
] | 93 | 2015-04-10T19:02:38.000Z | 2016-03-09T17:56:16.000Z | tests/test_core_tpool.cpp | accosmin/zob | 9e840894ffd6ab718fa800aca67e4a25e941e546 | [
"MIT"
] | 2 | 2015-05-27T16:42:31.000Z | 2015-08-21T14:39:55.000Z | #include "utest.h"
#include <numeric>
#include "core/tpool.h"
#include "core/random.h"
using namespace nano;
namespace
{
// single-threaded
template <typename tscalar, typename toperator>
tscalar test_st(const size_t size, const toperator op)
{
std::vector<tscalar> resu... | 30.91129 | 122 | 0.474824 | accosmin |
94a1db6e4818d6e6a01f0e19421d6f4601cf5dbe | 1,685 | cpp | C++ | sources/libcpp83gts_callback_and_action/ids_path_extensions.cpp | Savraska2/GTS | 78c8b4d634f1379eb3e33642716717f53bf7e1ad | [
"BSD-3-Clause"
] | 61 | 2016-03-26T03:04:43.000Z | 2021-09-17T02:11:18.000Z | sources/libcpp83gts_callback_and_action/ids_path_extensions.cpp | sahwar/GTS | b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd | [
"BSD-3-Clause"
] | 92 | 2016-04-10T23:40:22.000Z | 2022-03-11T21:49:12.000Z | sources/libcpp83gts_callback_and_action/ids_path_extensions.cpp | sahwar/GTS | b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd | [
"BSD-3-Clause"
] | 18 | 2016-03-26T11:19:14.000Z | 2021-08-07T00:26:02.000Z | #include <algorithm> // std::find(-)
#include "ids_path_extensions.h"
ids::path::extensions::extensions()
{}
const std::string ids::path::extensions::str_from_num( const int num )
{
if (static_cast<int>(this->dotex_.size()) <= num) {
return std::string();
}
return this->dotex_.at(num);
}
const int ids::path::ext... | 23.082192 | 73 | 0.602967 | Savraska2 |
94a2e7f729166488c8b799cdee2fbd51512820c5 | 2,849 | cc | C++ | System V Messages/05 - Readers & Writers/doorman.cc | Floating-Island/Inter-Process-Communication-_2018_ | 23c577ab51bdb91ce8cb29167fdd43ac1180ad42 | [
"Unlicense"
] | null | null | null | System V Messages/05 - Readers & Writers/doorman.cc | Floating-Island/Inter-Process-Communication-_2018_ | 23c577ab51bdb91ce8cb29167fdd43ac1180ad42 | [
"Unlicense"
] | null | null | null | System V Messages/05 - Readers & Writers/doorman.cc | Floating-Island/Inter-Process-Communication-_2018_ | 23c577ab51bdb91ce8cb29167fdd43ac1180ad42 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <string>
#include <cstdlib>
#include "../primitives/sv_mq.h"
#include "Messages.h"
using namespace std;
int main(int argc, char *argv[])
{
string request, requestingProcess;
int readers_waiting = 0, readers_active = 0;
int writers_waiting = 0, writers_active = 0;
sv_mq doorman("d... | 34.743902 | 107 | 0.618463 | Floating-Island |
94a3532b0343573f522ff74c7bf13b534271e908 | 949 | hpp | C++ | src/PseudoOSD.hpp | xtne6f/TVCaption3 | 963e5af4c50f55cc7bfa8770c58ba816e951129c | [
"MIT"
] | 11 | 2022-02-05T09:13:33.000Z | 2022-03-18T19:05:28.000Z | src/PseudoOSD.hpp | xtne6f/TVCaption3 | 963e5af4c50f55cc7bfa8770c58ba816e951129c | [
"MIT"
] | null | null | null | src/PseudoOSD.hpp | xtne6f/TVCaption3 | 963e5af4c50f55cc7bfa8770c58ba816e951129c | [
"MIT"
] | null | null | null | #ifndef INCLUDE_PSEUDO_OSD_HPP
#define INCLUDE_PSEUDO_OSD_HPP
class CPseudoOSD
{
public:
CPseudoOSD();
~CPseudoOSD();
static bool Initialize(HINSTANCE hinst);
bool Create(HWND hwndParent, HINSTANCE hinst);
void Show();
void Hide();
void ClearImage();
// 画像を設定する。受けとったビットマップ... | 26.361111 | 89 | 0.659642 | xtne6f |
94a5b125d8c1751103101755e729c80d0fae9ab2 | 4,154 | cpp | C++ | cachelib/allocator/tests/MarginalHitsStateTest.cpp | GerHobbelt/CacheLib | 580bf6950aad89cf86dbc153f12dada79b71eaf7 | [
"Apache-2.0"
] | 578 | 2021-09-01T14:19:55.000Z | 2022-03-29T12:22:46.000Z | cachelib/allocator/tests/MarginalHitsStateTest.cpp | igchor/Cachelib | 7db2c643d49fd0a4ec6c492d94a400cbe0515a70 | [
"Apache-2.0"
] | 61 | 2021-09-02T18:48:06.000Z | 2022-03-31T01:56:00.000Z | cachelib/allocator/tests/MarginalHitsStateTest.cpp | igchor/Cachelib | 7db2c643d49fd0a4ec6c492d94a400cbe0515a70 | [
"Apache-2.0"
] | 88 | 2021-09-02T21:22:19.000Z | 2022-03-27T07:40:27.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 31.709924 | 80 | 0.682234 | GerHobbelt |
94a8b8a92fcc0e019fa0542a7c72c3d5049cb0ab | 5,761 | hpp | C++ | SDK/ARKSurvivalEvolved_Buff_SpaceWhaleTeleport_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_Buff_SpaceWhaleTeleport_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_Buff_SpaceWhaleTeleport_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Buff_SpaceWhaleTeleport_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//----------------------------------------------... | 46.088 | 173 | 0.614129 | 2bite |
94b0f7d00cde283929807e230a63cf5e7004884c | 750 | cpp | C++ | chrome/browser/chromeos/login/screenshot_testing/SkImageDiffer.cpp | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/chromeos/login/screenshot_testing/SkImageDiffer.cpp | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/chromeos/login/screenshot_testing/SkImageDiffer.cpp | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING! This file is copied from third_party/skia/tools/skpdiff and slightly
// modified to be compilable outside Skia and suit chromium style. Some c... | 32.608696 | 80 | 0.773333 | kjthegod |
94b120717a100a66cda7b81fed4a8f978f5480f0 | 7,431 | cpp | C++ | Birdee/Intrinsics.cpp | chaofanli/Birdee2 | 32671ca7c30662599266a578f4dd5169d0677bf4 | [
"Apache-2.0"
] | 1 | 2019-07-23T07:33:09.000Z | 2019-07-23T07:33:09.000Z | Birdee/Intrinsics.cpp | chaofanli/Birdee2 | 32671ca7c30662599266a578f4dd5169d0677bf4 | [
"Apache-2.0"
] | null | null | null | Birdee/Intrinsics.cpp | chaofanli/Birdee2 | 32671ca7c30662599266a578f4dd5169d0677bf4 | [
"Apache-2.0"
] | null | null | null | #include "BdAST.h"
#include "CompileError.h"
#include "llvm/IR/IRBuilder.h"
extern llvm::IRBuilder<> builder;
#define CompileAssert(a, p ,msg)\
do\
{\
if (!(a))\
{\
throw CompileError(p, msg);\
}\
}while(0)\
namespace Birdee
{
extern llvm::Type* GetLLVMTypeFromResolvedType(const ResolvedType& ty);
extern int... | 40.167568 | 162 | 0.729377 | chaofanli |
94b2493044dacddad37da50d78af77e91200b7a9 | 5,936 | cpp | C++ | src/util.cpp | victorvieirar/Empiric-Analysis | 63c7d3a395bbd4d2c0b870a3d291d021c75ed53b | [
"MIT"
] | null | null | null | src/util.cpp | victorvieirar/Empiric-Analysis | 63c7d3a395bbd4d2c0b870a3d291d021c75ed53b | [
"MIT"
] | null | null | null | src/util.cpp | victorvieirar/Empiric-Analysis | 63c7d3a395bbd4d2c0b870a3d291d021c75ed53b | [
"MIT"
] | null | null | null | #include "../include/util.h"
namespace util {
typedef int IterativeFunction(long int vector[], int last, long int value);
typedef int RecursiveFunction(long int vector[], int first, int last, long int value);
void writeHeader() {
std::ofstream records("data/tempos.txt", std::ios::in | std::ios::ou... | 38.545455 | 151 | 0.511119 | victorvieirar |
94b3960eb157d1d65d5c5cf29bb647f6ae9a5c85 | 1,874 | hpp | C++ | h2g_polygon.stratis/Rsc/Titles.hpp | Spayker/b2g-game-connector | f808fa6a67366952a483201507b955ca34b6580c | [
"MIT"
] | null | null | null | h2g_polygon.stratis/Rsc/Titles.hpp | Spayker/b2g-game-connector | f808fa6a67366952a483201507b955ca34b6580c | [
"MIT"
] | 24 | 2021-12-06T17:41:08.000Z | 2021-12-19T15:21:23.000Z | h2g_polygon.stratis/Rsc/Titles.hpp | Spayker/b2g-game-connector | f808fa6a67366952a483201507b955ca34b6580c | [
"MIT"
] | null | null | null | /* Titles */
#define usflag "\ca\ca_e\data\flag_us_co.paa"
#define ruflag "\ca\data\flag_rus_co.paa"
#ifndef usflag
#define usflag "\ca\ca_e\data\flag_us_co.paa"
#define ruflag "\ca\ca_e\data\flag_tkg_co.paa"
#endif
#define height (safeZoneH * 0.05)
#define width (height * 4)
#define startX (safeZoneX + safeZoneW ... | 18.74 | 140 | 0.613661 | Spayker |
94b40ed411962530fd15ba8f923e39912deac692 | 4,150 | cc | C++ | src/notification/notification_instance_desktop.cc | izaman/tizen-extensions-crosswalk | e1373788f4e4e271e39b0fee66c26210e40dd86f | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2015-01-16T16:14:35.000Z | 2018-12-25T16:01:43.000Z | src/notification/notification_instance_desktop.cc | liyingzh/tizen-extensions-crosswalk | 5957945effafff02a507c35a4b7b4d5ee6ca14c1 | [
"Apache-2.0",
"BSD-3-Clause"
] | 35 | 2015-01-04T02:11:22.000Z | 2015-09-22T08:43:45.000Z | src/notification/notification_instance_desktop.cc | liyingzh/tizen-extensions-crosswalk | 5957945effafff02a507c35a4b7b4d5ee6ca14c1 | [
"Apache-2.0",
"BSD-3-Clause"
] | 14 | 2015-02-03T04:38:19.000Z | 2022-01-20T10:38:01.000Z | // Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "notification/notification_instance_desktop.h"
#include <iostream>
#include "common/picojson.h"
#include "notification/notification_parameters.... | 31.203008 | 76 | 0.711807 | izaman |
94b6c91e786473ef52daaf65701421315743b966 | 3,389 | cpp | C++ | lib/dataset/counts.cpp | mlund/scipp | 26648fdcda49b21a7aacdafd58625fab7ee3403b | [
"BSD-3-Clause"
] | null | null | null | lib/dataset/counts.cpp | mlund/scipp | 26648fdcda49b21a7aacdafd58625fab7ee3403b | [
"BSD-3-Clause"
] | null | null | null | lib/dataset/counts.cpp | mlund/scipp | 26648fdcda49b21a7aacdafd58625fab7ee3403b | [
"BSD-3-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2022 Scipp contributors (https://github.com/scipp)
/// @file
/// @author Simon Heybrock
#include "scipp/variable/operations.h"
#include "scipp/dataset/counts.h"
#include "scipp/dataset/dataset.h"
#include "scipp/dataset/except.h"
namespace scipp::dataset {
na... | 32.902913 | 76 | 0.656241 | mlund |
94b9247190719d92f3edd4231389f8b20f784fb6 | 44 | cc | C++ | demo.cc | r-lyeh-archived/eval | 6094410ba54c565d01487be88d1bf0da3ba380a9 | [
"MIT"
] | 4 | 2018-02-26T01:29:56.000Z | 2021-09-27T02:47:19.000Z | demo.cc | r-lyeh-archived/eval | 6094410ba54c565d01487be88d1bf0da3ba380a9 | [
"MIT"
] | null | null | null | demo.cc | r-lyeh-archived/eval | 6094410ba54c565d01487be88d1bf0da3ba380a9 | [
"MIT"
] | 1 | 2015-09-30T08:13:37.000Z | 2015-09-30T08:13:37.000Z | #define EVAL_BUILD_DEMO
#include "eval.cpp"
| 14.666667 | 23 | 0.795455 | r-lyeh-archived |
94bccf9761d45abd9b37a37a8287da25a81fb73f | 526 | hpp | C++ | include/bluegrass/cturtle/test.hpp | larryk85/cturtle | 93db59b7352995d11b36d53abc3b7c0180f1ed33 | [
"MIT"
] | 1 | 2020-10-16T19:09:55.000Z | 2020-10-16T19:09:55.000Z | include/bluegrass/cturtle/test.hpp | larryk85/cturtle | 93db59b7352995d11b36d53abc3b7c0180f1ed33 | [
"MIT"
] | null | null | null | include/bluegrass/cturtle/test.hpp | larryk85/cturtle | 93db59b7352995d11b36d53abc3b7c0180f1ed33 | [
"MIT"
] | null | null | null | #pragma once
#include "errors.hpp"
#include "log.hpp"
#include <stdexcept>
namespace bluegrass::cturtle {
template <typename... Ts>
inline void test(bool pred, error err, detail::string_view_wrapper err_msg, Ts&&... ts) {
if (!UNLIKELY(pred)) {
error_log(err_msg.info, err_msg.value, std::forward... | 25.047619 | 92 | 0.63308 | larryk85 |
94c8af32110bf8d1516cfcda59fdbd3a8a4dbde1 | 1,572 | cpp | C++ | 63.Search-in-Rotated-Sorted-Array.cpp | DeepDuke/Lintcode-Solution | 7c92d03f1267ed84e26180fdeb8abdfc67708019 | [
"MIT"
] | null | null | null | 63.Search-in-Rotated-Sorted-Array.cpp | DeepDuke/Lintcode-Solution | 7c92d03f1267ed84e26180fdeb8abdfc67708019 | [
"MIT"
] | null | null | null | 63.Search-in-Rotated-Sorted-Array.cpp | DeepDuke/Lintcode-Solution | 7c92d03f1267ed84e26180fdeb8abdfc67708019 | [
"MIT"
] | null | null | null | /*
当数组元素有重复时,修改findPivot函数里>改成>=即可,其余与62题基本一样
*/
class Solution {
public:
/**
* @param A: an integer ratated sorted array and duplicates are allowed
* @param target: An integer
* @return: a boolean
*/
int findPivot(vector<int> A){
int L = 0, R = A.size()-1;
while(L < R-1){
... | 28.581818 | 75 | 0.442748 | DeepDuke |
94d287c82bff7c330ca856577cc0f244f8041636 | 1,411 | cxx | C++ | src/Internal/FontManager.cxx | EXio4/framefun | f055ba82e6c24609dc88b1ea2b03412748809bde | [
"MIT"
] | 1 | 2017-09-30T06:28:57.000Z | 2017-09-30T06:28:57.000Z | src/Internal/FontManager.cxx | EXio4/framefun | f055ba82e6c24609dc88b1ea2b03412748809bde | [
"MIT"
] | null | null | null | src/Internal/FontManager.cxx | EXio4/framefun | f055ba82e6c24609dc88b1ea2b03412748809bde | [
"MIT"
] | null | null | null | #include "Internal/FontManager.h"
namespace Internal {
FontManager::FontManager(Drawer& backend) : backend(backend) {
#include "font.h"
}
bool FontManager::check_bit(int c, int x, int y) {
if (bits[c].size() == 0) return false;
if (x < 0 || x >= FONT_WIDTH) return false;
if (y < 0 || y >= FONT_HEIGHT... | 30.673913 | 106 | 0.464918 | EXio4 |
94d2fed44993131ce2714cef730071ddf5ba1edf | 604 | cpp | C++ | sample02.cpp | tomoaki0705/sampleMsa | b97b4697cb633e290f643bdb368a235afbde6b95 | [
"MIT"
] | 2 | 2017-08-16T07:03:32.000Z | 2018-07-02T08:22:35.000Z | sample02.cpp | tomoaki0705/sampleMsa | b97b4697cb633e290f643bdb368a235afbde6b95 | [
"MIT"
] | null | null | null | sample02.cpp | tomoaki0705/sampleMsa | b97b4697cb633e290f643bdb368a235afbde6b95 | [
"MIT"
] | null | null | null | #include <msa.h>
#include <iostream>
const char src1[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, };
const char src2[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, };
char dst[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, };
int main(int argc, char**argv)
{
v16i8 v_src1, v_src2, v_dst;
v_s... | 25.166667 | 77 | 0.551325 | tomoaki0705 |
94da5c478dd525ce0b642ea62766942e839261ec | 633 | cpp | C++ | acmicpc/12115.cpp | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | acmicpc/12115.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | acmicpc/12115.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | #include <iostream>
#include <cstring>
using namespace std;
#define MAX 1001
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int num[MAX][MAX], query[MAX];
int n, m, q;
cin >> n >> m;
for (int i=0; i<n; ++i)
for (int j=0; j<m; ++j)
cin >> num[i][j];
cin >> q;
while (q--) {
for (i... | 14.72093 | 32 | 0.481833 | juseongkr |
94dbeda51791685f326d833076c7d11f2b415bd9 | 1,164 | hh | C++ | system-test/maxtest/include/maxtest/execute_cmd.hh | sdrik/MaxScale | c6c318b36dde0a25f22ac3fd59c9d33d774fe37a | [
"BSD-3-Clause"
] | null | null | null | system-test/maxtest/include/maxtest/execute_cmd.hh | sdrik/MaxScale | c6c318b36dde0a25f22ac3fd59c9d33d774fe37a | [
"BSD-3-Clause"
] | null | null | null | system-test/maxtest/include/maxtest/execute_cmd.hh | sdrik/MaxScale | c6c318b36dde0a25f22ac3fd59c9d33d774fe37a | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <maxtest/ccdefs.hh>
/**
* @brief execute_cmd Execute shell command
* @param cmd Command line
* @param res Pointer to variable that will contain command console output (stdout)
* @return Process exit code
*/
int execute_cmd(char * cmd, char ** res);
namespace maxtest
{
class VMNode;
}
names... | 24.765957 | 99 | 0.68299 | sdrik |
94e32da4e7dcb55dd209aa18b620c521dbab2b7d | 31,963 | cpp | C++ | tau/TauEngine/src/model/SimpleOBJLoader.cpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | 1 | 2020-04-22T04:07:01.000Z | 2020-04-22T04:07:01.000Z | tau/TauEngine/src/model/SimpleOBJLoader.cpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | tau/TauEngine/src/model/SimpleOBJLoader.cpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | #pragma warning(push, 0)
#include <cstdio>
#include <cstring>
#pragma warning(pop)
#include <maths/Maths.hpp>
#include <model/OBJLoader.hpp>
#include <memory>
#include "VFS.hpp"
#include "Timings.hpp"
namespace objl
{
float Vector3::magnitude() const noexcept
{
return sqrtf(this->magnitud... | 36.6969 | 259 | 0.439633 | hyfloac |
94e37555e2dd181b7333f6f325ab1776c7c7f15c | 774 | cpp | C++ | CSES/Number_Spiral.cpp | manav13/Competitive-Coding | 292eba31c8c794ebe7f0643eb4976057142a5754 | [
"MIT"
] | 1 | 2022-02-05T20:15:22.000Z | 2022-02-05T20:15:22.000Z | CSES/Number_Spiral.cpp | manav13/Competitive-Coding | 292eba31c8c794ebe7f0643eb4976057142a5754 | [
"MIT"
] | null | null | null | CSES/Number_Spiral.cpp | manav13/Competitive-Coding | 292eba31c8c794ebe7f0643eb4976057142a5754 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main(){
long long int t;
cin >> t;
while (t!=0) {
long long int row, col, ans;
cin >> row >> col;
long long int n = (row > col) ? row : col;
long long int cornerValue = n*n - n + 1;
if (row==col) {
ans = co... | 24.1875 | 50 | 0.387597 | manav13 |
94e6b825a689255aad87f7906de452f9ac29aae3 | 1,070 | cpp | C++ | Online Judges/LightOJ/1025 - The Specials Menu.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/LightOJ/1025 - The Specials Menu.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/LightOJ/1025 - The Specials Menu.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
#define rep(i,p,n) for( i = p; i<n;i++)
#define lld long long int
#define Clear(a,b) memset(a,b,sizeof(a))
template<class T>inline bool read(T &x) {
int c=getchar();
int sgn=1;
while(~c&&c<'0'||c>'9') {
if(c=='-')sgn=-1;
c=ge... | 16.461538 | 58 | 0.461682 | akazad13 |
94e7b9fa7f1886713e2364dd7780f6b612101828 | 6,481 | cpp | C++ | src/textGUI.cpp | gbl08ma/imageviewer | 8c7d24af0a5bc6bfa90d00fe58aca3b24df90d71 | [
"BSD-2-Clause"
] | 9 | 2016-01-17T21:24:17.000Z | 2021-11-23T17:39:38.000Z | src/textGUI.cpp | gbl08ma/imageviewer | 8c7d24af0a5bc6bfa90d00fe58aca3b24df90d71 | [
"BSD-2-Clause"
] | null | null | null | src/textGUI.cpp | gbl08ma/imageviewer | 8c7d24af0a5bc6bfa90d00fe58aca3b24df90d71 | [
"BSD-2-Clause"
] | null | null | null | /*----------------------------------------------------------------------------/
/ JPEG and PNG Image Viewer for the Casio Prizm
/ Copyright 2014 tny. internet media
/ http://i.tny.im / admin@tny.im
/-----------------------------------------------------------------------------/
/ Copyright (c) 2014, Gabriel Maia and t... | 38.577381 | 144 | 0.61472 | gbl08ma |
94eb7a3b5cb2704b3d5b4d70826fe7d92604050b | 2,154 | hpp | C++ | Spades Game/Game/Dialog/LobbyChangeDialog.hpp | jmasterx/StemwaterSpades | 05e5d7c6d380d2f5986bd91269887f16c3e71962 | [
"Unlicense"
] | 6 | 2017-01-04T22:40:50.000Z | 2019-11-24T15:37:46.000Z | Spades Game/Game/Dialog/LobbyChangeDialog.hpp | jmasterx/StemwaterSpades | 05e5d7c6d380d2f5986bd91269887f16c3e71962 | [
"Unlicense"
] | 1 | 2016-09-18T19:10:01.000Z | 2017-08-04T23:53:38.000Z | Spades Game/Game/Dialog/LobbyChangeDialog.hpp | jmasterx/StemwaterSpades | 05e5d7c6d380d2f5986bd91269887f16c3e71962 | [
"Unlicense"
] | 2 | 2015-11-21T16:42:18.000Z | 2019-04-21T20:41:39.000Z | #ifndef CGE_LOBBY_CHANGE_DIALOG_HPP
#define CGE_LOBBY_CHANGE_DIALOG_HPP
#include "Game/UI/GeneralDialogBox.hpp"
#include "Game/Handler/LobbyEventProvider.hpp"
#include <vector>
namespace cge
{
struct LobbyChangeCell
{
Label* lblLobbyName;
Label* lblFriendCount;
Label* lblNumUsers;
Button* btnGo;
agui::Widge... | 29.916667 | 108 | 0.74234 | jmasterx |
94ec18963741edd2f2b908aa71c7ce514cef5e85 | 125 | cpp | C++ | System/RocketState.cpp | MatthewGotte/214_project_Derived | 48a74a10bc4fd5b01d11d1f89a7203a5b070b9bd | [
"MIT"
] | null | null | null | System/RocketState.cpp | MatthewGotte/214_project_Derived | 48a74a10bc4fd5b01d11d1f89a7203a5b070b9bd | [
"MIT"
] | null | null | null | System/RocketState.cpp | MatthewGotte/214_project_Derived | 48a74a10bc4fd5b01d11d1f89a7203a5b070b9bd | [
"MIT"
] | null | null | null | #include "RocketState.h"
RocketState::RocketState() {
}
RocketState::~RocketState() {
}
//this was updated | 11.363636 | 30 | 0.616 | MatthewGotte |
94f5e64b0648aafd49c7519604d55e84425de2a4 | 3,957 | cc | C++ | src/signals_handler.cc | probonopd/lilyplayer | 2bee5620fed4442fc289b29d3a3f9e56f4dfafe6 | [
"MIT"
] | 1 | 2020-04-08T13:56:17.000Z | 2020-04-08T13:56:17.000Z | src/signals_handler.cc | probonopd/lilyplayer | 2bee5620fed4442fc289b29d3a3f9e56f4dfafe6 | [
"MIT"
] | null | null | null | src/signals_handler.cc | probonopd/lilyplayer | 2bee5620fed4442fc289b29d3a3f9e56f4dfafe6 | [
"MIT"
] | null | null | null | #include <signal.h>
#include <cstring> // for memset
#include <cerrno>
#include <stdexcept>
#include <string>
#include "signals_handler.hh"
extern volatile sig_atomic_t pause_requested;
extern volatile sig_atomic_t continue_requested;
extern volatile sig_atomic_t exit_requested;
extern volatile sig_atomic_t new_signa... | 29.977273 | 125 | 0.655547 | probonopd |
94f9d68e860115a9cf08753165293d7892d75b80 | 1,661 | cpp | C++ | open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CJoinTypeDoc.cpp | mrehman29/open-vm-tools | 03f35e3209b3a73cf8e43a74ac764f22526723a0 | [
"X11"
] | 2 | 2020-07-23T06:01:37.000Z | 2021-02-25T06:48:42.000Z | open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CJoinTypeDoc.cpp | mrehman29/open-vm-tools | 03f35e3209b3a73cf8e43a74ac764f22526723a0 | [
"X11"
] | null | null | null | open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CJoinTypeDoc.cpp | mrehman29/open-vm-tools | 03f35e3209b3a73cf8e43a74ac764f22526723a0 | [
"X11"
] | 1 | 2020-11-11T12:54:06.000Z | 2020-11-11T12:54:06.000Z | /*
* Author: bwilliams
* Created: April 6, 2012
*
* Copyright (C) 2012-2016 VMware, Inc. All rights reserved. -- VMware Confidential
*
*
*/
#include "stdafx.h"
#include "Doc/SchemaTypesDoc/SchemaTypesDocTypes.h"
#include "Doc/SchemaTypesDoc/CClassFieldDoc.h"
#include "Doc/SchemaTypesDoc/CJoinTypeDoc.h"
us... | 24.791045 | 85 | 0.766406 | mrehman29 |
94fa0ebd9dada2ce4fb789c293903fd3dccab9b1 | 1,997 | cpp | C++ | ios/versioned-react-native/ABI32_0_0/ReactCommon/ABI32_0_0yoga/yoga/ABI32_0_0Utils.cpp | ThakurKarthik/expo | ed78ed4f07c950184a59422ebd95645253f44e3d | [
"Apache-2.0",
"MIT"
] | 2 | 2019-05-23T20:39:18.000Z | 2019-05-24T14:00:32.000Z | ios/versioned-react-native/ABI32_0_0/ReactCommon/ABI32_0_0yoga/yoga/ABI32_0_0Utils.cpp | ThakurKarthik/expo | ed78ed4f07c950184a59422ebd95645253f44e3d | [
"Apache-2.0",
"MIT"
] | 1 | 2019-01-30T19:04:30.000Z | 2019-01-30T19:04:30.000Z | ios/versioned-react-native/ABI32_0_0/ReactCommon/ABI32_0_0yoga/yoga/ABI32_0_0Utils.cpp | ThakurKarthik/expo | ed78ed4f07c950184a59422ebd95645253f44e3d | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#include "ABI32_0_0Utils.h"
using namespace facebook;
ABI32_0_0YGFlexDirection ABI32_0_0YGFlexDirectionCross(
const ABI32_0_0Y... | 28.126761 | 80 | 0.708563 | ThakurKarthik |
94fa2db144ba53ea10218b9e1f20d235fbac0519 | 604 | cpp | C++ | cpp/23716.cpp | jinhan814/BOJ | 47d2a89a2602144eb08459cabac04d036c758577 | [
"MIT"
] | 9 | 2021-01-15T13:36:39.000Z | 2022-02-23T03:44:46.000Z | cpp/23716.cpp | jinhan814/BOJ | 47d2a89a2602144eb08459cabac04d036c758577 | [
"MIT"
] | 1 | 2021-07-31T17:11:26.000Z | 2021-08-02T01:01:03.000Z | cpp/23716.cpp | jinhan814/BOJ | 47d2a89a2602144eb08459cabac04d036c758577 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define fastio cin.tie(0)->sync_with_stdio(0)
using namespace std;
int main() {
fastio;
int N; cin >> N;
for (int c = 1; c <= N; c++) {
string a, b; cin >> a >> b;
auto Sol = [&]() -> int {
int ret = 0;
for (const char& c : a) {
int mn = 1e9;
for (int i = 0; i < 26; i++) ... | 24.16 | 86 | 0.407285 | jinhan814 |
94fb4d58b26707c1534b1f88a17b5aed138c9a1d | 7,430 | cpp | C++ | ds/security/services/ca/certclib/serial.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/services/ca/certclib/serial.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/services/ca/certclib/serial.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+--------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: serial.cpp
//
// Contents: serial number string encode/decode implementation
//
//-----------------------------------------------------... | 20.696379 | 78 | 0.54751 | npocmaka |
94fc43200d02999ede0b5b79a1b7abbea456baff | 171 | cpp | C++ | src/PerTypeStorage.cpp | deadmorous/factory | be42a869739deaa615a45070d0747ce4460c0250 | [
"MIT"
] | null | null | null | src/PerTypeStorage.cpp | deadmorous/factory | be42a869739deaa615a45070d0747ce4460c0250 | [
"MIT"
] | null | null | null | src/PerTypeStorage.cpp | deadmorous/factory | be42a869739deaa615a45070d0747ce4460c0250 | [
"MIT"
] | 1 | 2021-01-23T03:14:19.000Z | 2021-01-23T03:14:19.000Z | // PerTypeStorage.cpp
#include "factory/PerTypeStorage.hpp"
namespace ctm {
FACTORY_API PerTypeStorage::Data *PerTypeStorage::m_data = nullptr;
} // end namespace ctm
| 17.1 | 67 | 0.766082 | deadmorous |
94feb374137d200d9037b7f72eff91565a44c0c2 | 699 | cpp | C++ | Chapter5/Example/L5.11.cpp | flics04/XXXASYBT_CppBase | 0086df68497197f40286889b18f2d8c28eb833bb | [
"MIT"
] | 1 | 2022-02-13T02:22:39.000Z | 2022-02-13T02:22:39.000Z | Chapter5/Example/L5.11.cpp | flics04/XXXASYBT_CppBase | 0086df68497197f40286889b18f2d8c28eb833bb | [
"MIT"
] | null | null | null | Chapter5/Example/L5.11.cpp | flics04/XXXASYBT_CppBase | 0086df68497197f40286889b18f2d8c28eb833bb | [
"MIT"
] | null | null | null | /* 原书例5.11 */
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
int a[11][11];
a[1][1] = 1; // 设定第一行的值
for (int i = 2; i <= 10; ++i) { // 从第二行开始推
a[i][1] = 1;
a[i][i] = 1; // 设定每一行的首尾值为1
for (int j = 2... | 27.96 | 77 | 0.347639 | flics04 |
a206f99c83620519cf0febe925ed158d343b62d3 | 310 | cpp | C++ | 14. Binary Tree/02 Recursive Traversals/02 Tree Traversals.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | 190 | 2021-02-10T17:01:01.000Z | 2022-03-20T00:21:43.000Z | 14. Binary Tree/02 Recursive Traversals/02 Tree Traversals.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | null | null | null | 14. Binary Tree/02 Recursive Traversals/02 Tree Traversals.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | 27 | 2021-03-26T11:35:15.000Z | 2022-03-06T07:34:54.000Z | #include<bits/stdc++.h>
using namespace std;
int main()
{
/*
Tree Traversal :
a. Breadth First Traversal (level order traversal)
b. Depth First Traversal
b.1 Inorder Traversal (Left Root Right)
b.2 Preorder Traversal (Root Left Right)
b.3 Postorder Traversal (Left Right Root)
*/
return 0;
} | 14.761905 | 51 | 0.7 | VivekYadav105 |
a2087fb11d50919ec2044a9fcbca451ae028eb5a | 15,473 | cpp | C++ | SOURCES/acmi/src/acmiview.cpp | IsraelyFlightSimulator/Negev-Storm | 86de63e195577339f6e4a94198bedd31833a8be8 | [
"Unlicense"
] | 1 | 2021-02-19T06:06:31.000Z | 2021-02-19T06:06:31.000Z | src/acmi/src/acmiview.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | null | null | null | src/acmi/src/acmiview.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | 2 | 2019-08-20T13:35:13.000Z | 2021-04-24T07:32:04.000Z | #pragma optimize( "", off )
#include <windows.h>
#include "resource.h"
#include "Graphics/include/renderwire.h"
#include "Graphics/include/terrtex.h"
#include "Graphics/include/rViewPnt.h"
#include "Graphics/include/loader.h"
#include "Graphics/include/drawbsp.h"
#include "Graphics/include/drawpole.h"
#include "Graphi... | 23.443939 | 141 | 0.530925 | IsraelyFlightSimulator |
a2095ce13b8222a929e704828f6060b4d074900a | 1,920 | hpp | C++ | example/content/meta/skeleton.hpp | Seng3694/TXPK | 76a5441dc70b4a5d5d2596525de950a2d2e65aab | [
"MIT"
] | 6 | 2019-01-05T08:14:02.000Z | 2021-12-02T18:29:35.000Z | example/content/meta/skeleton.hpp | lineCode/TXPK | 20d4cd75611a44babf2bf41d5359141020dc6684 | [
"MIT"
] | 1 | 2018-03-28T06:33:08.000Z | 2018-03-29T08:22:43.000Z | example/content/meta/skeleton.hpp | Seng3694/TexturePacker | 76a5441dc70b4a5d5d2596525de950a2d2e65aab | [
"MIT"
] | 2 | 2018-12-11T01:11:20.000Z | 2020-10-30T08:14:04.000Z | #pragma once
#define SKELETON_ATTACK_1 0
#define SKELETON_ATTACK_2 1
#define SKELETON_ATTACK_3 2
#define SKELETON_ATTACK_4 3
#define SKELETON_ATTACK_5 4
#define SKELETON_ATTACK_6 5
#define SKELETON_ATTACK_7 6
#define SKELETON_ATTACK_8 7
#define SKELETON_ATTACK_9 8
#define SKELETON_ATTACK_10 9
#define SKELETON_ATTACK_1... | 26.666667 | 29 | 0.854167 | Seng3694 |
a20f18fc82b4ec99c1757fe78b52c5ae70a7441e | 879 | cpp | C++ | number.cpp | zelzhang/qt-game-project-angry-jump | 9a029baa797c5a033e6e67a7eeef48b0b9bdc223 | [
"Apache-2.0"
] | null | null | null | number.cpp | zelzhang/qt-game-project-angry-jump | 9a029baa797c5a033e6e67a7eeef48b0b9bdc223 | [
"Apache-2.0"
] | null | null | null | number.cpp | zelzhang/qt-game-project-angry-jump | 9a029baa797c5a033e6e67a7eeef48b0b9bdc223 | [
"Apache-2.0"
] | null | null | null | #include "number.h"
NUMBER::NUMBER(QWidget *parent) : QWidget(parent)
{
wid = 10;
hei = 30;
this->setFixedSize(600,600);
data = 0;
numImg[0] = ":/Image/0.png";
numImg[1] = ":/Image/1.png";
numImg[2] = ":/Image/2.png";
numImg[3] = ":/Image/3.png";
numImg[4] = ":/Image/4.png";
num... | 21.439024 | 49 | 0.562002 | zelzhang |
a20f733ceab85e87e666cc6b0b24dc1a0d8aee7a | 3,274 | hpp | C++ | framework/frontend/parser/ll/ll_algorithm.hpp | aamshukov/frontend | 6be5fea43b7776691034f3b4f56d318d7cdf18f8 | [
"MIT"
] | 2 | 2018-12-21T17:08:55.000Z | 2018-12-21T17:08:57.000Z | framework/frontend/parser/ll/ll_algorithm.hpp | aamshukov/frontend | 6be5fea43b7776691034f3b4f56d318d7cdf18f8 | [
"MIT"
] | null | null | null | framework/frontend/parser/ll/ll_algorithm.hpp | aamshukov/frontend | 6be5fea43b7776691034f3b4f56d318d7cdf18f8 | [
"MIT"
] | null | null | null | //..............................
// UI Lab Inc. Arthur Amshukov .
//..............................
#ifndef __LL_ALGORITHM_H__
#define __LL_ALGORITHM_H__
#pragma once
BEGIN_NAMESPACE(frontend)
USINGNAMESPACE(core)
class ll_algorithm : private noncopyable
{
public:
using symbol_type = gramma... | 38.517647 | 122 | 0.580024 | aamshukov |
a20fc9ecd2dd2cd79c6fa3aecd87c583a6da3247 | 6,025 | hpp | C++ | include/pfp/parse.hpp | AaronHong1024/pfp-cst | 0390fce9915e789595f1fd699d7c5fd5ea61fd25 | [
"MIT"
] | 6 | 2020-06-23T11:46:27.000Z | 2021-06-01T09:59:01.000Z | include/pfp/parse.hpp | maxrossi91/pfp-data-structures | 6c5c1b801573d1c5116297e3cca20d1517c41e7b | [
"MIT"
] | null | null | null | include/pfp/parse.hpp | maxrossi91/pfp-data-structures | 6c5c1b801573d1c5116297e3cca20d1517c41e7b | [
"MIT"
] | 1 | 2021-11-25T05:30:53.000Z | 2021-11-25T05:30:53.000Z | /* pfp-parse - prefix free parsing parse
Copyright (C) 2020 Massimiliano Rossi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option)... | 30.897436 | 111 | 0.641494 | AaronHong1024 |
a2120217dc2454cf7dffc794c1f67bfdcdbb8d74 | 302 | hpp | C++ | CoreLib/exception.hpp | NuLL3rr0r/footpal-native-server | f28cad64c9e098cdeb63296c4733e0ad1a912139 | [
"Unlicense",
"MIT"
] | 1 | 2022-01-22T09:49:42.000Z | 2022-01-22T09:49:42.000Z | CoreLib/exception.hpp | NuLL3rr0r/footpal-native-server | f28cad64c9e098cdeb63296c4733e0ad1a912139 | [
"Unlicense",
"MIT"
] | null | null | null | CoreLib/exception.hpp | NuLL3rr0r/footpal-native-server | f28cad64c9e098cdeb63296c4733e0ad1a912139 | [
"Unlicense",
"MIT"
] | null | null | null | #ifndef CORELIB_EXCEPTION_HPP
#define CORELIB_EXCEPTION_HPP
#include <stdexcept>
#include <string>
namespace CoreLib {
class Exception;
}
class CoreLib::Exception : public std::runtime_error
{
public:
explicit Exception(const std::string &message);
};
#endif /* CORELIB_EXCEPTION_HPP */
| 14.380952 | 52 | 0.748344 | NuLL3rr0r |
a214a8b252e5c6c183dc264211c3e6fc8c2dea58 | 947 | cpp | C++ | semester-3/computer-networks/gobackn.cpp | saranshbht/bsc-codes | 7386c09cc986de9c84947f7dea7db3dc42219a35 | [
"MIT"
] | 3 | 2021-03-22T12:07:14.000Z | 2021-08-30T17:28:23.000Z | semester-3/computer-networks/gobackn.cpp | saranshbht/bsc-codes | 7386c09cc986de9c84947f7dea7db3dc42219a35 | [
"MIT"
] | null | null | null | semester-3/computer-networks/gobackn.cpp | saranshbht/bsc-codes | 7386c09cc986de9c84947f7dea7db3dc42219a35 | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdlib>
#include<ctime>
using namespace std;
//void sent(int i){
int main(){
int frames, r, j, ws, total = 0, i = 0;
srand(time(NULL));
cout << "Enter the number of packets to be sent: ";
cin >> frames;
cout << endl;
cout << "Enter window size: ";
cin >> ws;
... | 26.305556 | 79 | 0.441394 | saranshbht |
a21cb3c3dcdd2666ada31de7fd12b5d934b7e8e8 | 3,304 | cpp | C++ | Simul/Animal.cpp | AndrewSpano/OOP-Enviroment_Simulation | ded8c591687d1b6ffe8b190e8e5a7720bbecebf4 | [
"MIT"
] | 3 | 2020-05-15T15:59:12.000Z | 2020-12-12T16:16:08.000Z | Simul/Animal.cpp | AndrewSpano/OOP-Enviroment_Simulation | ded8c591687d1b6ffe8b190e8e5a7720bbecebf4 | [
"MIT"
] | null | null | null | Simul/Animal.cpp | AndrewSpano/OOP-Enviroment_Simulation | ded8c591687d1b6ffe8b190e8e5a7720bbecebf4 | [
"MIT"
] | null | null | null | #include "Animal.h"
#include "Tile.h"
Animal::Animal(const string name_, const uint size_, const Point& coordinates_, const uint speed_, const bool hibernates_, const char token_) :
name(name_),
size(size_),
hungerCount(0), // when animals are created, by default we assume they are not hungry
eatenFood(0)... | 22.174497 | 144 | 0.614407 | AndrewSpano |
a21e2e2ef2cca67d54ec18e89b3b2da642e7a87d | 862 | cpp | C++ | C++/1430-Check-If-a-String-Is-a-Valid-Sequence-from-Root-to-Leaves-Path-in-a-Binary-Tree/soln-1.cpp | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | C++/1430-Check-If-a-String-Is-a-Valid-Sequence-from-Root-to-Leaves-Path-in-a-Binary-Tree/soln-1.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | C++/1430-Check-If-a-String-Is-a-Valid-Sequence-from-Root-to-Leaves-Path-in-a-Binary-Tree/soln-1.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | 33.153846 | 126 | 0.555684 | wyaadarsh |
b8c51b37c1c05d34cf39cf45ab950a8dbdd22bb8 | 3,291 | cpp | C++ | uuid/uuid/mac_address.cpp | Watch-Later/Eureka | 3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35 | [
"MIT"
] | 20 | 2016-05-16T11:09:04.000Z | 2021-12-08T09:30:33.000Z | uuid/uuid/mac_address.cpp | Watch-Later/Eureka | 3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35 | [
"MIT"
] | 1 | 2018-12-30T09:55:31.000Z | 2018-12-30T14:08:30.000Z | uuid/uuid/mac_address.cpp | Watch-Later/Eureka | 3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35 | [
"MIT"
] | 11 | 2016-05-02T09:17:12.000Z | 2021-12-08T09:30:35.000Z | #include "uuid/uuid.h"
#include <cstring>
#include <memory>
#if defined(_WIN32) || defined(_WIN64)
#include <WinSock2.h>
#include <iphlpapi.h>
#pragma comment(lib, "IPHLPAPI.lib")
#elif defined(__linux__)
#include <ifaddrs.h>
#include <linux/if_packet.h>
#include <net/if.h>
#endif
namespace {
#if defined(_WIN32) |... | 23.340426 | 93 | 0.60711 | Watch-Later |
b8c703dfa4b754cdadd071c944984223795bb4dd | 2,787 | hpp | C++ | include/asioext/socks/error.hpp | zweistein-frm2/asio-extensions | bafea77c48d674930405cb7f93bdfe65539abc39 | [
"BSL-1.0"
] | 17 | 2018-04-13T00:38:55.000Z | 2022-01-21T08:38:36.000Z | include/asioext/socks/error.hpp | zweistein-frm2/asio-extensions | bafea77c48d674930405cb7f93bdfe65539abc39 | [
"BSL-1.0"
] | 4 | 2017-03-16T03:34:38.000Z | 2020-05-08T00:05:51.000Z | include/asioext/socks/error.hpp | zweistein-frm2/asio-extensions | bafea77c48d674930405cb7f93bdfe65539abc39 | [
"BSL-1.0"
] | 5 | 2017-09-06T15:56:04.000Z | 2021-09-14T07:38:02.000Z | /// @file
/// Defines SOCKS error codes.
///
/// @copyright Copyright (c) 2018 Tim Niederhausen (tim@rnc-ag.de)
/// Distributed under the Boost Software License, Version 1.0.
/// (See accompanying file LICENSE_1_0.txt or copy at
/// http://www.boost.org/LICENSE_1_0.txt)
#ifndef ASIOEXT_SOCKS_ERROR_HPP
#define ASIOEXT_... | 21.438462 | 80 | 0.736634 | zweistein-frm2 |
b8c7fdc3ba0f3cca8228e8901a589f98dfc5e168 | 7,983 | hxx | C++ | main/dbaccess/source/ui/inc/tabletree.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/dbaccess/source/ui/inc/tabletree.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/dbaccess/source/ui/inc/tabletree.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.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 y... | 38.196172 | 167 | 0.671803 | Grosskopf |
b8cb35dad706ff2045f5839502444072a4f5826a | 253 | cpp | C++ | Console Test Alpha/Node Chap.cpp | StoutGames/Afford | 73f016fa873c228f9aa320552749d39c245fdb15 | [
"MIT"
] | 1 | 2016-05-11T02:01:20.000Z | 2016-05-11T02:01:20.000Z | Console Test Alpha/Node Chap.cpp | StoutGames/Afford | 73f016fa873c228f9aa320552749d39c245fdb15 | [
"MIT"
] | null | null | null | Console Test Alpha/Node Chap.cpp | StoutGames/Afford | 73f016fa873c228f9aa320552749d39c245fdb15 | [
"MIT"
] | null | null | null | #include "Afford\Node.h"
#include "Afford Chap.h"
namespace Stout {
namespace TAlpha {
namespace Node {
class Chap : public Stout::Afford::Base::Node,
public Stout::TAlpha::Afford::Chap {
ST_AF_DECLARE_NODE(Chap)
};
}
}
} | 14.055556 | 48 | 0.636364 | StoutGames |
b8cf4d5dcda348618fe59d0be1faaa247dcbfb2f | 1,399 | cpp | C++ | src/Triangle.cpp | MickAlmighty/StudyOpenGL | aebebc9e89cca5a00569e7c5876045e36eed0c3b | [
"MIT"
] | null | null | null | src/Triangle.cpp | MickAlmighty/StudyOpenGL | aebebc9e89cca5a00569e7c5876045e36eed0c3b | [
"MIT"
] | null | null | null | src/Triangle.cpp | MickAlmighty/StudyOpenGL | aebebc9e89cca5a00569e7c5876045e36eed0c3b | [
"MIT"
] | null | null | null | #include "Triangle.h"
#include <iostream>
Triangle::Triangle(std::vector<Vertex> vector3): vec3(vector3)
{
mids = std::vector<Vertex>();
calculateMids();
}
Triangle::Triangle()
{
}
Triangle::Triangle(float vertices[])
{
this->vec3 = std::vector<Vertex>();
this->mids = std::vector<Vertex>();
for(int i = 0; i <... | 17.4875 | 70 | 0.538956 | MickAlmighty |
b8d935d3e7936805e46a86e385beab8bb423166e | 969 | cpp | C++ | thirdparty/physx/PhysXSDK/Source/SimulationController/src/ScStaticCore.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | thirdparty/physx/PhysXSDK/Source/SimulationController/src/ScStaticCore.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | thirdparty/physx/PhysXSDK/Source/SimulationController/src/ScStaticCore.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | 29.363636 | 77 | 0.758514 | johndpope |
b8dac8478af2e5fb37c3e24809de0c12f45ba671 | 2,395 | cc | C++ | gpu/config/gpu_info_collector_ozone.cc | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | gpu/config/gpu_info_collector_ozone.cc | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | gpu/config/gpu_info_collector_ozone.cc | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:24:13.000Z | 2020-11-04T07:24:13.000Z | // Copyright 2013 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 "gpu/config/gpu_info_collector.h"
#include "base/command_line.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
#include "base/st... | 29.567901 | 73 | 0.741127 | justremotephone |
b8e0aed1db1e71752196e93dd51589ea878dd6d3 | 4,206 | cpp | C++ | Sail/src/API/DX12/resources/DescriptorHeap.cpp | BTH-StoraSpel-DXR/SPLASH | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 12 | 2019-09-11T15:52:31.000Z | 2021-11-14T20:33:35.000Z | Sail/src/API/DX12/resources/DescriptorHeap.cpp | BTH-StoraSpel-DXR/Game | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 227 | 2019-09-11T08:40:24.000Z | 2020-06-26T14:12:07.000Z | Sail/src/API/DX12/resources/DescriptorHeap.cpp | BTH-StoraSpel-DXR/Game | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 2 | 2020-10-26T02:35:18.000Z | 2020-10-26T02:36:01.000Z | #include "pch.h"
#include "DescriptorHeap.h"
#include "Sail/Application.h"
DescriptorHeap::DescriptorHeap(D3D12_DESCRIPTOR_HEAP_TYPE type, unsigned int numDescriptors, bool shaderVisible, bool frameDependant)
: m_numDescriptors(numDescriptors)
, m_index(0)
, m_frameDependant(frameDependant)
{
m_context = Applicat... | 41.643564 | 360 | 0.795768 | BTH-StoraSpel-DXR |
b8e1b4dbfa69461a54aeba01cc4c641953e96d1c | 6,121 | hpp | C++ | src/graphics/effects/FXAA.hpp | Sam-Belliveau/MKS66-Graphics-Library | 4ccf04f977a15007e32bdb5a238704eaaff0c895 | [
"MIT"
] | null | null | null | src/graphics/effects/FXAA.hpp | Sam-Belliveau/MKS66-Graphics-Library | 4ccf04f977a15007e32bdb5a238704eaaff0c895 | [
"MIT"
] | null | null | null | src/graphics/effects/FXAA.hpp | Sam-Belliveau/MKS66-Graphics-Library | 4ccf04f977a15007e32bdb5a238704eaaff0c895 | [
"MIT"
] | null | null | null | #pragma once
/**
* Copyright (c) 2022 Sam Belliveau
*
* 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, modi... | 37.323171 | 113 | 0.556935 | Sam-Belliveau |
b8e2c4e7b0dca55b7cf27f7a9586408253b16435 | 4,234 | cpp | C++ | src/QtControl/GameInfoWidget/GameInfoWidgetApp/GameInfoWidgetApp/GeneratedFiles/Debug/moc_LineEdit.cpp | isuhao/xylsxyls-xueyelingshuang | 7a2c732863aecb7ad2b1af0016b129c5041ad54b | [
"MIT"
] | 1 | 2020-06-03T03:27:26.000Z | 2020-06-03T03:27:26.000Z | src/QtControl/GameInfoWidget/GameInfoWidgetApp/GameInfoWidgetApp/GeneratedFiles/Debug/moc_LineEdit.cpp | isuhao/xylsxyls-xueyelingshuang | 7a2c732863aecb7ad2b1af0016b129c5041ad54b | [
"MIT"
] | null | null | null | src/QtControl/GameInfoWidget/GameInfoWidgetApp/GameInfoWidgetApp/GeneratedFiles/Debug/moc_LineEdit.cpp | isuhao/xylsxyls-xueyelingshuang | 7a2c732863aecb7ad2b1af0016b129c5041ad54b | [
"MIT"
] | 1 | 2020-06-03T03:27:27.000Z | 2020-06-03T03:27:27.000Z | /****************************************************************************
** Meta object code from reading C++ file 'LineEdit.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
******************************************************... | 35.283333 | 112 | 0.621162 | isuhao |
b8e4a79cb84dacdcefc3cbea2649bb85309b4244 | 5,015 | cc | C++ | webkit/plugins/ppapi/ppb_file_chooser_impl.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 2 | 2017-09-02T19:08:28.000Z | 2021-11-15T15:15:14.000Z | webkit/plugins/ppapi/ppb_file_chooser_impl.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | null | null | null | webkit/plugins/ppapi/ppb_file_chooser_impl.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 1 | 2020-04-13T05:45:10.000Z | 2020-04-13T05:45:10.000Z | // Copyright (c) 2010 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 "webkit/plugins/ppapi/ppb_file_chooser_impl.h"
#include <string>
#include <vector>
#include "base/logging.h"
#include "ppapi/c/pp_completio... | 29.5 | 79 | 0.754337 | Gitman1989 |
b8ea187a70b3a4fbc2365e1cba954ae14def70bf | 2,908 | hxx | C++ | main/DelayRebootHelper.hxx | atanisoft/esp32olcbhub | 81dcf84c65fd28fd2ad86c3cf2ade7ef3f4ce0a4 | [
"BSD-2-Clause"
] | 2 | 2020-11-06T18:46:32.000Z | 2021-04-09T18:30:01.000Z | main/DelayRebootHelper.hxx | atanisoft/esp32olcbhub | 81dcf84c65fd28fd2ad86c3cf2ade7ef3f4ce0a4 | [
"BSD-2-Clause"
] | 29 | 2020-11-06T18:46:03.000Z | 2021-05-30T12:53:58.000Z | main/DelayRebootHelper.hxx | atanisoft/esp32olcbhub | 81dcf84c65fd28fd2ad86c3cf2ade7ef3f4ce0a4 | [
"BSD-2-Clause"
] | null | null | null | /** \copyright
* Copyright (c) 2020, Mike Dunston
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this l... | 31.956044 | 79 | 0.709422 | atanisoft |
b8ea85780745b7feb45657a4dc6d929fac6744e7 | 426 | hpp | C++ | cho/inc/cho/generated/riot_api_platform.hpp | Querijn/ChoPlusPlus | 9ff68c7ae6594ca9bdb6928489c7ac01b15d0aee | [
"MIT"
] | 2 | 2017-05-22T10:45:27.000Z | 2020-06-15T13:49:50.000Z | cho/inc/cho/generated/riot_api_platform.hpp | Querijn/ChoPlusPlus | 9ff68c7ae6594ca9bdb6928489c7ac01b15d0aee | [
"MIT"
] | 5 | 2017-05-23T06:35:24.000Z | 2019-02-02T11:47:06.000Z | cho/inc/cho/generated/riot_api_platform.hpp | Querijn/ChoPlusPlus | 9ff68c7ae6594ca9bdb6928489c7ac01b15d0aee | [
"MIT"
] | null | null | null | #pragma once
// This file is automatically generated!
// To edit this, edit template/platform_header.mst and run cho_generator.
namespace cho
{
enum class platform_id
{
br1 = 0,
eun1 = 1,
euw1 = 2,
jp1 = 3,
kr = 4,
la1 = 5,
la2 = 6,
na1 = 7,
oc1 = 8,
tr1 = 9,
ru = 10,
pbe1 = 11,
americas = ... | 15.777778 | 73 | 0.626761 | Querijn |