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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
48d213e5a7c3874a240d009fc50b97f41465e1a5 | 1,137 | cpp | C++ | ProblemSolving/UpdateIT/main.cpp | vikaspachisia/DataStructuresAndAlgorithms | 85aef2715ffa489d1c0d190bcd0442fb336957a2 | [
"MIT"
] | null | null | null | ProblemSolving/UpdateIT/main.cpp | vikaspachisia/DataStructuresAndAlgorithms | 85aef2715ffa489d1c0d190bcd0442fb336957a2 | [
"MIT"
] | null | null | null | ProblemSolving/UpdateIT/main.cpp | vikaspachisia/DataStructuresAndAlgorithms | 85aef2715ffa489d1c0d190bcd0442fb336957a2 | [
"MIT"
] | null | null | null | //scanf and printf is faster than cin and cout.
#include <stdio.h>
using namespace std;
#define MAX_N 10002
void solve_main_problem()
{
char testid[10];
int T, ST, VAL, N, U, Q, L, R, D[MAX_N]{};
scanf("%d",&T);
for (int t = 0; t < T; t++)
{
scanf("%s",&testid);
scanf("%d",&ST);
for (int st = 0; st < ST; st... | 21.055556 | 80 | 0.552331 | vikaspachisia |
48d298b12c587228bb36e2c056b37165c308ee3f | 1,920 | cpp | C++ | examples/xtd.forms.examples/others/form_window_state/src/form_window_state.cpp | BaderEddineOuaich/xtd | 6f28634c7949a541d183879d2de18d824ec3c8b1 | [
"MIT"
] | 1 | 2022-02-25T16:53:06.000Z | 2022-02-25T16:53:06.000Z | examples/xtd.forms.examples/others/form_window_state/src/form_window_state.cpp | leanid/xtd | 2e1ea6537218788ca08901faf8915d4100990b53 | [
"MIT"
] | null | null | null | examples/xtd.forms.examples/others/form_window_state/src/form_window_state.cpp | leanid/xtd | 2e1ea6537218788ca08901faf8915d4100990b53 | [
"MIT"
] | null | null | null | #define TRACE
#include <xtd/xtd>
using namespace xtd;
using namespace xtd::forms;
class form1 : public form {
public:
form1() {
*this << button_full_screen << button_maximize << button_minimize << button_normal;
text("Window state example");
resize += [&] {
button_full_screen.enabled(window_state(... | 30.967742 | 132 | 0.68125 | BaderEddineOuaich |
48d31e8fd116ac94a27d0f06258a4bdd64a08437 | 1,054 | cpp | C++ | WonderMake/Logging/ConsoleLogger.cpp | nicolasgustafsson/WonderMake | 9661d5dab17cf98e06daf6ea77c5927db54d62f9 | [
"MIT"
] | 3 | 2020-03-27T15:25:19.000Z | 2022-01-18T14:12:25.000Z | WonderMake/Logging/ConsoleLogger.cpp | nicolasgustafsson/WonderMake | 9661d5dab17cf98e06daf6ea77c5927db54d62f9 | [
"MIT"
] | null | null | null | WonderMake/Logging/ConsoleLogger.cpp | nicolasgustafsson/WonderMake | 9661d5dab17cf98e06daf6ea77c5927db54d62f9 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "ConsoleLogger.h"
#include <iostream>
REGISTER_SYSTEM(ConsoleLogger);
ConsoleLogger::ConsoleLogger() noexcept
: mySubscriber(BindHelper(&ConsoleLogger::OnLogMessage, this))
{}
void ConsoleLogger::OnLogMessage(const SLogMessage& aMessage)
{
if (aMessage.HasTag(TagError))
SetColor(EConsol... | 20.269231 | 65 | 0.740987 | nicolasgustafsson |
48d32b2a5dbfa5a1bcc9a18d46c8b4acbc05e862 | 14,013 | hpp | C++ | include/pressio/rom/impl/rom_lspg_steady_traits.hpp | nittaya1990/pressio | 22fad15ffc00f3e4d880476a5e60b227ac714ef4 | [
"BSD-3-Clause"
] | 1 | 2021-09-24T17:06:51.000Z | 2021-09-24T17:06:51.000Z | include/pressio/rom/impl/rom_lspg_steady_traits.hpp | nittaya1990/pressio | 22fad15ffc00f3e4d880476a5e60b227ac714ef4 | [
"BSD-3-Clause"
] | 2 | 2021-10-03T20:36:28.000Z | 2021-10-17T10:26:06.000Z | include/pressio/rom/impl/rom_lspg_steady_traits.hpp | nittaya1990/pressio | 22fad15ffc00f3e4d880476a5e60b227ac714ef4 | [
"BSD-3-Clause"
] | null | null | null | /*
//@HEADER
// ************************************************************************
//
// rom_lspg_steady_traits.hpp
// Pressio
// Copyright 2019
// National Technology & Engineering Solutions of Sandia, LLC (NTESS)
//
// Under the terms of Contract DE-NA00035... | 38.497253 | 105 | 0.746949 | nittaya1990 |
48d34b74c007c31fab95977cf6d6dd9971f7dc46 | 2,318 | cpp | C++ | project2D/MushRoom.cpp | deadglow/AIE-AI-Assessment | c010dadb55b1c7152f983d11868055e275c42b42 | [
"MIT"
] | null | null | null | project2D/MushRoom.cpp | deadglow/AIE-AI-Assessment | c010dadb55b1c7152f983d11868055e275c42b42 | [
"MIT"
] | null | null | null | project2D/MushRoom.cpp | deadglow/AIE-AI-Assessment | c010dadb55b1c7152f983d11868055e275c42b42 | [
"MIT"
] | null | null | null | #include "MushRoom.h"
#include <iostream>
#include <fstream>
MushRoom::MushRoom(std::string path)
{
LoadMapData(path);
}
MushRoom::~MushRoom()
{
delete[] mapData;
}
int* MushRoom::GetMapData()
{
return mapData;
}
void MushRoom::LoadMapData(std::string path)
{
//-----------------------------------------... | 17.560606 | 63 | 0.612597 | deadglow |
48d3c666ebc87e5682a1c1166e2da7f88405e7c7 | 2,760 | cpp | C++ | yarpl/test/Single_test.cpp | bli7193/rsocket-cpp | c2abc34687f8ba6bab667029a25f1699531951e8 | [
"Apache-2.0"
] | 217 | 2017-04-29T14:44:39.000Z | 2022-03-29T04:06:17.000Z | yarpl/test/Single_test.cpp | bli7193/rsocket-cpp | c2abc34687f8ba6bab667029a25f1699531951e8 | [
"Apache-2.0"
] | 270 | 2017-04-28T04:12:23.000Z | 2022-03-11T20:39:33.000Z | yarpl/test/Single_test.cpp | bli7193/rsocket-cpp | c2abc34687f8ba6bab667029a25f1699531951e8 | [
"Apache-2.0"
] | 83 | 2017-04-28T02:06:16.000Z | 2022-03-11T20:35:16.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 applicabl... | 29.052632 | 77 | 0.692754 | bli7193 |
48d3d37205bddbb6313b8ce311d2f11ef96ff515 | 1,129 | hpp | C++ | src/time/rk3_tvd.hpp | vanreeslab/murphy | 01c9c56171fcee33cb3c1c93c25617ccf7b8ff83 | [
"BSD-3-Clause"
] | 1 | 2021-12-01T22:12:56.000Z | 2021-12-01T22:12:56.000Z | src/time/rk3_tvd.hpp | vanreeslab/murphy | 01c9c56171fcee33cb3c1c93c25617ccf7b8ff83 | [
"BSD-3-Clause"
] | null | null | null | src/time/rk3_tvd.hpp | vanreeslab/murphy | 01c9c56171fcee33cb3c1c93c25617ccf7b8ff83 | [
"BSD-3-Clause"
] | null | null | null | #ifndef SRC_RK3_HPP
#define SRC_RK3_HPP
#include "core/macros.hpp"
#include "core/types.hpp"
#include "grid/field.hpp"
#include "grid/grid.hpp"
#include "tools/prof.hpp"
#include "rkfunctor.hpp"
/**
* @brief provides an implementation of a RK3 -TVD using two registers
*
* For more detail, cfr
* Total Variat... | 29.710526 | 101 | 0.677591 | vanreeslab |
48d5777b93cad0307d4c7a8f158794cc629d5714 | 2,078 | cpp | C++ | UCD/ecs60_40/hw3/appt.cpp | darylnak/ucdavis-work | 4bb41f5fc0e8e95197e22166e99576deefb0565a | [
"MIT"
] | 2 | 2017-03-16T02:06:43.000Z | 2017-03-16T04:48:18.000Z | UCD/ecs60_40/hw3/appt.cpp | darylnak/ucdavis-work | 4bb41f5fc0e8e95197e22166e99576deefb0565a | [
"MIT"
] | null | null | null | UCD/ecs60_40/hw3/appt.cpp | darylnak/ucdavis-work | 4bb41f5fc0e8e95197e22166e99576deefb0565a | [
"MIT"
] | 1 | 2017-03-16T05:14:02.000Z | 2017-03-16T05:14:02.000Z | #include <iostream>
#include <iomanip>
#include <cstring>
#include "appt.h"
#include "time.h"
using namespace std;
int Appointment::count = 0;
Appointment::Appointment() : subject(NULL), location(NULL)
{
} // Appointment default contructor
Appointment::Appointment(const Appointment &appt) :
startTime(appt.startTim... | 22.344086 | 67 | 0.663619 | darylnak |
48d6e4c914593cfc49af70367f11b543508ebc0e | 2,805 | cpp | C++ | WitchEngine3/src/WE3/math/script/WEScriptVector2.cpp | jadnohra/World-Of-Football | fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc | [
"MIT"
] | 3 | 2018-12-02T14:09:22.000Z | 2021-11-22T07:14:05.000Z | WitchEngine3/src/WE3/math/script/WEScriptVector2.cpp | jadnohra/World-Of-Football | fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc | [
"MIT"
] | 1 | 2018-12-03T22:54:38.000Z | 2018-12-03T22:54:38.000Z | WitchEngine3/src/WE3/math/script/WEScriptVector2.cpp | jadnohra/World-Of-Football | fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc | [
"MIT"
] | 2 | 2020-09-22T21:04:14.000Z | 2021-05-24T09:43:28.000Z | #include "WEScriptVector2.h"
DECLARE_INSTANCE_TYPE_NAME(WE::Vector2, Vector2);
DECLARE_INSTANCE_TYPE_NAME(WE::CtVector2, CtVector2);
namespace WE {
const TCHAR* ScriptVector2::ScriptClassName = L"Vector2";
void ScriptVector2::declareInVM(SquirrelVM& target) {
SqPlus::SQClassDef<Vector2>(ScriptClassNa... | 38.424658 | 68 | 0.709447 | jadnohra |
48d82faf071e49eba79bd8ad901d78ae36341065 | 17,201 | cpp | C++ | src/DevicePage.cpp | my-devices/gateway | 6c2036551f2609e9834d3b7cf012db19ebeafafe | [
"BSL-1.0"
] | 4 | 2017-12-22T17:28:34.000Z | 2022-03-09T16:41:44.000Z | src/DevicePage.cpp | my-devices/gateway | 6c2036551f2609e9834d3b7cf012db19ebeafafe | [
"BSL-1.0"
] | null | null | null | src/DevicePage.cpp | my-devices/gateway | 6c2036551f2609e9834d3b7cf012db19ebeafafe | [
"BSL-1.0"
] | 1 | 2021-09-29T06:06:36.000Z | 2021-09-29T06:06:36.000Z | //
// DevicePage.cpp
//
// This file has been generated from DevicePage.cpsp on 2021-11-27 20:17:05.
//
#include "DevicePage.h"
#include "Poco/Net/HTTPServerRequest.h"
#include "Poco/Net/HTTPServerResponse.h"
#include "Poco/Net/HTMLForm.h"
#include "Poco/DeflatingStream.h"
#include "DevicePageController.h"
#include "... | 47.780556 | 124 | 0.565432 | my-devices |
48d9156940f56afa2d91ad0de06853d250f9958c | 587 | cc | C++ | RAVL2/Contrib/Audio/DevAudio/RavlDevAudio.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Contrib/Audio/DevAudio/RavlDevAudio.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Contrib/Audio/DevAudio/RavlDevAudio.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2003, OmniPerception Ltd.
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here
... | 30.894737 | 74 | 0.72402 | isuhao |
48dc418abb2057eb4c3071e1026fdccd3f61e871 | 181 | cc | C++ | src/reddit/source/RedditLabelSelection0_3.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 13 | 2022-01-17T16:14:26.000Z | 2022-03-30T02:06:04.000Z | src/reddit/source/RedditLabelSelection0_3.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 1 | 2022-01-28T23:17:14.000Z | 2022-01-28T23:17:14.000Z | src/reddit/source/RedditLabelSelection0_3.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 3 | 2022-01-18T02:13:53.000Z | 2022-03-06T19:28:19.000Z | #ifndef REDDIT_LABEL_SELECTION_03CC
#define REDDIT_LABEL_SELECTION_03CC
#include "GetVTable.h"
#include "RedditLabelSelection0_3.h"
GET_V_TABLE(reddit::LabelSelection0_3)
#endif
| 18.1 | 38 | 0.845304 | venkate5hgunda |
48dc8ec4b272b234dce70371486b61593228249d | 2,195 | cpp | C++ | Kamek/src/levelnames.cpp | N-I-N-0/NSMBWii-Mod | 56e45eeb3696f7dfa75dca13fdc2a384c8baa5fe | [
"MIT"
] | 5 | 2021-07-02T19:37:47.000Z | 2021-08-21T21:31:55.000Z | Kamek/src/levelnames.cpp | N-I-N-0/NSMBWii-Mod | 56e45eeb3696f7dfa75dca13fdc2a384c8baa5fe | [
"MIT"
] | null | null | null | Kamek/src/levelnames.cpp | N-I-N-0/NSMBWii-Mod | 56e45eeb3696f7dfa75dca13fdc2a384c8baa5fe | [
"MIT"
] | 3 | 2021-03-11T09:42:52.000Z | 2022-01-31T00:12:59.000Z | #include <common.h>
#include <actors.h>
#include <stage.h>
#include "levelinfo_old.h"
#include "fileload.h"
#include "layoutlib.h"
//#define DEBUG_NAMES
#ifndef DEBUG_NAMES
#endif
extern char CurrentLevel;
extern char CurrentWorld;
int DoNames(int state) {
int wnum = (int)CurrentWorld;
int lnum = (int)CurrentLeve... | 27.4375 | 96 | 0.645558 | N-I-N-0 |
48de86ea9cb2d42f4074f28d37c355c09f5bd3fd | 3,249 | cpp | C++ | packages/data_gen/electron_photon/src/DataGen_AdjointIncoherentGridGenerator.cpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/data_gen/electron_photon/src/DataGen_AdjointIncoherentGridGenerator.cpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/data_gen/electron_photon/src/DataGen_AdjointIncoherentGridGenerator.cpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | //---------------------------------------------------------------------------//
//!
//! \file DataGen_AdjointIncoherentGridGenerator.cpp
//! \author Alex Robinson
//! \brief Adjoint incoherent grid generator definition
//!
//---------------------------------------------------------------------------//
// FRENSIE In... | 32.818182 | 79 | 0.709449 | lkersting |
48e26af1d53050950cd807a2b6d8e128e3ff1d8c | 5,420 | hpp | C++ | src/uml/src_gen/uml/impl/ReadVariableActionImpl.hpp | dataliz9r/MDE4CPP | 9c5ce01c800fb754c371f1a67f648366eeabae49 | [
"MIT"
] | null | null | null | src/uml/src_gen/uml/impl/ReadVariableActionImpl.hpp | dataliz9r/MDE4CPP | 9c5ce01c800fb754c371f1a67f648366eeabae49 | [
"MIT"
] | 1 | 2019-03-01T00:54:13.000Z | 2019-03-04T02:15:50.000Z | src/uml/src_gen/uml/impl/ReadVariableActionImpl.hpp | vallesch/MDE4CPP | 7f8a01dd6642820913b2214d255bef2ea76be309 | [
"MIT"
] | null | null | null | //********************************************************************
//*
//* Warning: This file was generated by ecore4CPP Generator
//*
//********************************************************************
#ifndef UML_READVARIABLEACTIONREADVARIABLEACTIONIMPL_HPP
#define UML_READVARIABLEACTIONREADVARIABLEACTION... | 38.169014 | 162 | 0.65 | dataliz9r |
48e7790aa357f7560fbfd873574f7527b14ac45e | 75 | cpp | C++ | multimedia/directx/dxg/d3d8/fw/init.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | multimedia/directx/dxg/dd/ddraw/main/init.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | multimedia/directx/dxg/dd/ddraw/main/init.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #define INITGUID
#define this _this
#include "ddrawpr.h"
#undef this
| 12.5 | 21 | 0.706667 | npocmaka |
48e84a84477b34d5a3bea88f3015bbe33607ba05 | 4,471 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/CBluetoothHealthAppConfiguration.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/CBluetoothHealthAppConfiguration.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/CBluetoothHealthAppConfiguration.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | 26.146199 | 110 | 0.656229 | jingcao80 |
48eb0c326683df21cac8f4746870a48f58ece808 | 5,439 | cpp | C++ | source/ktwgEngine/contact.cpp | JasonWyx/ktwgEngine | 410ba799f7000895995b9f9fc59d738f293f8871 | [
"MIT"
] | null | null | null | source/ktwgEngine/contact.cpp | JasonWyx/ktwgEngine | 410ba799f7000895995b9f9fc59d738f293f8871 | [
"MIT"
] | 12 | 2019-09-15T07:48:18.000Z | 2019-12-08T17:23:22.000Z | source/ktwgEngine/contact.cpp | JasonWyx/ktwgEngine | 410ba799f7000895995b9f9fc59d738f293f8871 | [
"MIT"
] | null | null | null | #include "contact.h"
#include "contactlistener.h"
#include "fcollider.h"
#include "boxcollider.h"
#include "rigidbody.h"
#include "gjk.h"
#include "entity.h"
void Contact::Update(ContactListener* listener)
{
// Get all necessary information from colliders
// transform must be a world transformation
BoxCollider* ... | 31.807018 | 126 | 0.668138 | JasonWyx |
48eb6daa171615dce1bd44281b1aa03b6536eae2 | 450 | cpp | C++ | utils/jsonutil.cpp | InkosiZhong/Space | d38f9595e02700eafbd1b44306bff24c00ef6933 | [
"MIT"
] | 4 | 2021-09-18T02:56:09.000Z | 2022-03-16T12:38:39.000Z | utils/jsonutil.cpp | InkosiZhong/Space | d38f9595e02700eafbd1b44306bff24c00ef6933 | [
"MIT"
] | null | null | null | utils/jsonutil.cpp | InkosiZhong/Space | d38f9595e02700eafbd1b44306bff24c00ef6933 | [
"MIT"
] | 1 | 2022-01-11T16:44:50.000Z | 2022-01-11T16:44:50.000Z | #include "jsonutil.h"
Util::JsonUtil::JsonUtil(std::string str) {
parseJson(str);
}
bool Util::JsonUtil::parseJson(std::string str) {
Json::CharReaderBuilder b;
Json::CharReader* reader(b.newCharReader());
JSONCPP_STRING errs;
bool ret = reader->parse(str.c_str(), str.c_str() + std::strlen(str.c_s... | 23.684211 | 98 | 0.662222 | InkosiZhong |
48edae10b343ddee3e9f0e133d6af4b00ea353fc | 2,240 | cpp | C++ | library/view/controls/focusable_border.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 39 | 2019-06-22T12:25:54.000Z | 2022-03-14T05:42:44.000Z | library/view/controls/focusable_border.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 5 | 2019-06-29T10:58:43.000Z | 2020-09-04T08:44:09.000Z | library/view/controls/focusable_border.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 10 | 2019-08-07T06:08:23.000Z | 2022-03-14T05:42:47.000Z |
#include "focusable_border.h"
#include "ui_gfx/canvas_skia.h"
#include "ui_gfx/insets.h"
namespace
{
// Define the size of the insets
const int kTopInsetSize = 4;
const int kLeftInsetSize = 4;
const int kBottomInsetSize = 4;
const int kRightInsetSize = 4;
// Color settings for border.
/... | 29.866667 | 79 | 0.632143 | topillar |
48ef738189014736312ddf3d2d0eb40222708568 | 2,573 | cpp | C++ | src/saveMap.cpp | softdream/Slam-Project-Of-MyOwn | 6d6db8a5761e8530971b203983ea2215620aa5c2 | [
"Apache-2.0"
] | 21 | 2021-07-19T08:15:53.000Z | 2022-03-31T07:07:55.000Z | src/saveMap.cpp | Forrest-Z/Slam-Project-Of-MyOwn | 6d6db8a5761e8530971b203983ea2215620aa5c2 | [
"Apache-2.0"
] | 3 | 2022-03-02T12:55:37.000Z | 2022-03-07T12:12:57.000Z | src/saveMap.cpp | softdream/Slam-Project-Of-MyOwn | 6d6db8a5761e8530971b203983ea2215620aa5c2 | [
"Apache-2.0"
] | 4 | 2021-08-12T15:11:09.000Z | 2022-01-08T14:20:36.000Z | #include "saveMap.h"
namespace slam{
SaveMap::SaveMap()
{
}
SaveMap::~SaveMap()
{
}
bool SaveMap::openMapFile( const std::string &fileName )
{
outfile.open( fileName, std::ios::binary | std::ios::out );
if( !outfile.is_open() ){
std::cerr<<"Failed to open the map file ..."<<std::endl;
return false;
}
... | 23.18018 | 100 | 0.690634 | softdream |
f701b5eb4571d0dace475292f6ee1b6ce56cbcf2 | 5,408 | cpp | C++ | components/hifi3/rkdsp/drivers/intc/intc.cpp | h-hys/rk2108_202012_SDK | c0880365a8eb208979df0a45ae350c8fe8f565c6 | [
"Apache-2.0"
] | null | null | null | components/hifi3/rkdsp/drivers/intc/intc.cpp | h-hys/rk2108_202012_SDK | c0880365a8eb208979df0a45ae350c8fe8f565c6 | [
"Apache-2.0"
] | 1 | 2021-08-19T10:47:10.000Z | 2021-08-19T10:47:10.000Z | components/hifi3/rkdsp/drivers/intc/intc.cpp | h-hys/rk2108_202012_SDK | c0880365a8eb208979df0a45ae350c8fe8f565c6 | [
"Apache-2.0"
] | 3 | 2021-04-24T23:33:56.000Z | 2022-01-14T07:13:38.000Z | /*
* Copyright (c) 2019 Rockchip Electronics Co. Ltd.
* Author: Huaping Liao <huaping.liao@rock-chips.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 26.252427 | 75 | 0.66716 | h-hys |
f708082fb3f69836363b51a23717eaaffa118604 | 3,751 | cpp | C++ | Visual Mercutio/zModel/PSS_UserEntity.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 1 | 2022-01-31T06:24:24.000Z | 2022-01-31T06:24:24.000Z | Visual Mercutio/zModel/PSS_UserEntity.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-04-11T15:50:42.000Z | 2021-06-05T08:23:04.000Z | Visual Mercutio/zModel/PSS_UserEntity.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-01-08T00:55:18.000Z | 2022-01-31T06:24:18.000Z | /****************************************************************************
* ==> PSS_UserEntity ------------------------------------------------------*
****************************************************************************
* Description : Provides an user entity *
* Devel... | 31.258333 | 85 | 0.384164 | Jeanmilost |
f7082d839adb42570f822c19cd5030ddc1d6d7f9 | 142 | hpp | C++ | engine/include/ECS/EntityID.hpp | Trypio/Aeyon3D | 6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b | [
"MIT"
] | null | null | null | engine/include/ECS/EntityID.hpp | Trypio/Aeyon3D | 6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b | [
"MIT"
] | null | null | null | engine/include/ECS/EntityID.hpp | Trypio/Aeyon3D | 6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b | [
"MIT"
] | null | null | null | //
//
//
#ifndef AEYON3D_ENTITYID_HPP
#define AEYON3D_ENTITYID_HPP
#include "UUID.hpp"
namespace aeyon
{
using EntityID = UUID;
}
#endif
| 8.875 | 28 | 0.71831 | Trypio |
f7088698d5750e03f9b40ba6c9ca7918fd02ae98 | 372 | cpp | C++ | Baekjoon/11399.cpp | r4k0nb4k0n/Programming-Challenges | 3d734902a7503f9dc49c97fe6e69e7541cd73e56 | [
"MIT"
] | 2 | 2019-05-24T08:58:26.000Z | 2022-01-09T00:46:42.000Z | Baekjoon/11399.cpp | r4k0nb4k0n/Programming-Challenges | 3d734902a7503f9dc49c97fe6e69e7541cd73e56 | [
"MIT"
] | null | null | null | Baekjoon/11399.cpp | r4k0nb4k0n/Programming-Challenges | 3d734902a7503f9dc49c97fe6e69e7541cd73e56 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <vector>
#include <functional>
using namespace std;
int main(){
int N; vector<int> v;
cin >> N;
while(N--){
int temp;
cin >> temp;
v.push_back(temp);
}
int sum=0;
sort(v.begin(), v.end(), greater<int>()); // Descending order. 내림차순
for(int i=0;i<v.size();i++... | 16.909091 | 67 | 0.599462 | r4k0nb4k0n |
f709117efc226ae5b24cf8b26079f99a88d45fbd | 8,738 | cpp | C++ | src/cpp/SPL/Runtime/ProcessingElement/PEMetricsImpl.cpp | IBMStreams/OSStreams | c6287bd9ec4323f567d2faf59125baba8604e1db | [
"Apache-2.0"
] | 10 | 2021-02-19T20:19:24.000Z | 2021-09-16T05:11:50.000Z | src/cpp/SPL/Runtime/ProcessingElement/PEMetricsImpl.cpp | xguerin/openstreams | 7000370b81a7f8778db283b2ba9f9ead984b7439 | [
"Apache-2.0"
] | 7 | 2021-02-20T01:17:12.000Z | 2021-06-08T14:56:34.000Z | src/cpp/SPL/Runtime/ProcessingElement/PEMetricsImpl.cpp | IBMStreams/OSStreams | c6287bd9ec4323f567d2faf59125baba8604e1db | [
"Apache-2.0"
] | 4 | 2021-02-19T18:43:10.000Z | 2022-02-23T14:18:16.000Z | /*
* Copyright 2021 IBM Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 42.009615 | 100 | 0.652094 | IBMStreams |
f70a2db5f8ca8998a0bee8002662fe5fa85330ca | 1,254 | cpp | C++ | tests/geometry/PointTest.cpp | cuhkshenzhen/CUHKSZLib | 4ad122d7e736cda3e768c8ae8dcad1f9fb195a1f | [
"MIT"
] | null | null | null | tests/geometry/PointTest.cpp | cuhkshenzhen/CUHKSZLib | 4ad122d7e736cda3e768c8ae8dcad1f9fb195a1f | [
"MIT"
] | 29 | 2017-04-26T09:15:28.000Z | 2017-05-21T15:50:37.000Z | tests/geometry/PointTest.cpp | cuhkshenzhen/CUHKSZLib | 4ad122d7e736cda3e768c8ae8dcad1f9fb195a1f | [
"MIT"
] | 7 | 2017-04-26T09:32:39.000Z | 2021-11-03T02:00:07.000Z | #include "geometry/Point.h"
#include "gtest/gtest.h"
TEST(Point, initialize) {
cuhksz::Point<1> a1, b1(5);
EXPECT_DOUBLE_EQ(b1[0], 5);
cuhksz::Point<2> a2, b2(2, 3);
EXPECT_DOUBLE_EQ(b2[0], 2);
EXPECT_DOUBLE_EQ(b2[1], 3);
cuhksz::Point<3> a3, b3(1, 2, 3);
EXPECT_DOUBLE_EQ(b3[0], 1);
EXPECT_DOUBLE_EQ... | 20.557377 | 41 | 0.600478 | cuhkshenzhen |
f70c491ad4bf66c45b1e31a1c1501654f6e45353 | 1,409 | cpp | C++ | src/py/wrapper/wrapper_473db32424065b56b6f464f44bfd1500.cpp | StatisKit/StatisKit-GLM | c26d21d95ae2da54add6c4542b16df41c201ccc5 | [
"Apache-2.0"
] | 1 | 2019-11-09T03:49:49.000Z | 2019-11-09T03:49:49.000Z | src/py/wrapper/wrapper_473db32424065b56b6f464f44bfd1500.cpp | StatisKit/StatisKit-GLM | c26d21d95ae2da54add6c4542b16df41c201ccc5 | [
"Apache-2.0"
] | 3 | 2017-05-23T12:32:06.000Z | 2019-06-03T10:59:30.000Z | src/py/wrapper/wrapper_473db32424065b56b6f464f44bfd1500.cpp | StatisKit/GLM | c26d21d95ae2da54add6c4542b16df41c201ccc5 | [
"Apache-2.0"
] | 5 | 2018-03-20T10:21:13.000Z | 2021-03-15T18:27:17.000Z | #include "_glm.h"
namespace autowig {
}
void wrapper_473db32424065b56b6f464f44bfd1500(pybind11::module& module)
{
pybind11::class_<class ::statiskit::glm::QuantitativeScalarRegressionFisherEstimation< class ::statiskit::glm::NegativeBinomialRegression, struct ::statiskit::DiscreteUnivariateConditionalDistributi... | 93.933333 | 763 | 0.832505 | StatisKit |
f70ce9b7c2b748abad82cceec2f558e46e4014db | 6,919 | cpp | C++ | gpiq_/gpiq_/gpiq_rjsxx.cpp | Pavel-Innokentevich-Galanin/5-sem_NPO | b707ad206aa214b0d8413639a4d059bae85e1c54 | [
"Unlicense"
] | null | null | null | gpiq_/gpiq_/gpiq_rjsxx.cpp | Pavel-Innokentevich-Galanin/5-sem_NPO | b707ad206aa214b0d8413639a4d059bae85e1c54 | [
"Unlicense"
] | null | null | null | gpiq_/gpiq_/gpiq_rjsxx.cpp | Pavel-Innokentevich-Galanin/5-sem_NPO | b707ad206aa214b0d8413639a4d059bae85e1c54 | [
"Unlicense"
] | null | null | null | #include "gpiq_rjsxx.h"
#include "ui_gpiq_rjsxx.h"
#include <QDebug>
gpiq_rjsxx::gpiq_rjsxx(QWidget *parent) :
QDialog(parent),
ui(new Ui::gpiq_rjsxx)
{
ui->setupUi(this);
connect(ui->gpiq_rjsxx_grid_c, SIGNAL(clicked()), this, SLOT(gpiq_rjsxx_grid_cClick()));
connect(ui->gpiq_rjsxx_back_c, SIGNAL... | 41.184524 | 116 | 0.714121 | Pavel-Innokentevich-Galanin |
f70e36711b3cc099812f883eb1af2d856b5a6cf3 | 2,246 | hpp | C++ | include/codegen/include/UnityEngine/Analytics/DataPrivacy_UserPostData.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/Analytics/DataPrivacy_UserPostData.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/Analytics/DataPrivacy_UserPostData.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:20 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Includin... | 41.592593 | 476 | 0.696794 | Futuremappermydud |
f70f38d9a6c6f07d0088a7d031341a57564ff7a4 | 2,227 | cpp | C++ | engine/scene/AbstractSceneComponent.cpp | zapolnov/game_engine | cd22dc0f49aeadd660eec3ea9b95b1ca2696f97a | [
"MIT",
"Unlicense"
] | null | null | null | engine/scene/AbstractSceneComponent.cpp | zapolnov/game_engine | cd22dc0f49aeadd660eec3ea9b95b1ca2696f97a | [
"MIT",
"Unlicense"
] | null | null | null | engine/scene/AbstractSceneComponent.cpp | zapolnov/game_engine | cd22dc0f49aeadd660eec3ea9b95b1ca2696f97a | [
"MIT",
"Unlicense"
] | null | null | null | /*
* Copyright (c) 2015 Nikolay Zapolnov (zapolnov@gmail.com).
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | 30.094595 | 92 | 0.722946 | zapolnov |
f7103674b2725a30db075d0b9875f92863943a91 | 2,163 | hpp | C++ | src/budget/MoveRuleCommand.hpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | 2 | 2016-07-17T02:12:44.000Z | 2016-11-22T14:04:55.000Z | src/budget/MoveRuleCommand.hpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | src/budget/MoveRuleCommand.hpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013 Kyle Treubig
*
* 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... | 27.730769 | 75 | 0.725381 | vimofthevine |
f71498253a5849507519a721c7e7613c58cdbc29 | 1,628 | cpp | C++ | SurfaceReconstruction/App/Main.cpp | namibj/TSR | df14f4a9fc175b2a6b0c14b3ace924f2364afe7b | [
"BSD-3-Clause"
] | 102 | 2017-10-17T10:10:59.000Z | 2022-01-19T02:10:29.000Z | SurfaceReconstruction/App/Main.cpp | namibj/TSR | df14f4a9fc175b2a6b0c14b3ace924f2364afe7b | [
"BSD-3-Clause"
] | 2 | 2019-12-21T11:59:15.000Z | 2020-09-08T11:38:36.000Z | SurfaceReconstruction/App/Main.cpp | namibj/TSR | df14f4a9fc175b2a6b0c14b3ace924f2364afe7b | [
"BSD-3-Clause"
] | 27 | 2017-10-18T09:37:34.000Z | 2022-03-22T01:30:51.000Z | /*
* Copyright (C) 2018 by Author: Aroudj, Samir
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the License.txt file for details.
*/
#include "App/TSR.h"
#incl... | 29.6 | 129 | 0.7414 | namibj |
f71499882de3091f5db57cbfa8cd5e74a3464b77 | 2,099 | cpp | C++ | bitcode/tagger/tagger.cpp | eluv-io/content-bitcode | d73da79593dcf1d16065096d31ab4f1ca3d2b306 | [
"MIT"
] | 1 | 2020-09-30T18:11:32.000Z | 2020-09-30T18:11:32.000Z | bitcode/tagger/tagger.cpp | eluv-io/content-bitcode | d73da79593dcf1d16065096d31ab4f1ca3d2b306 | [
"MIT"
] | 1 | 2021-01-21T00:48:00.000Z | 2021-01-21T01:07:50.000Z | bitcode/tagger/tagger.cpp | eluv-io/content-bitcode | d73da79593dcf1d16065096d31ab4f1ca3d2b306 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/stat.h>
#include <pthread.h>
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <string>
#include <unordered_map>
#include <vector>
#include <memory>
#include <nlohmann/json.hpp>
#include "eluvio/argutils.h"
#i... | 25.91358 | 109 | 0.61839 | eluv-io |
f71844aa3ae2e1920253e6c6df586e9eaace0c2b | 2,364 | cpp | C++ | dragwidget.cpp | sergiosvieira/mog | f23d2b18851bb58c3e60aae9b10deec023f2c9c8 | [
"MIT"
] | null | null | null | dragwidget.cpp | sergiosvieira/mog | f23d2b18851bb58c3e60aae9b10deec023f2c9c8 | [
"MIT"
] | null | null | null | dragwidget.cpp | sergiosvieira/mog | f23d2b18851bb58c3e60aae9b10deec023f2c9c8 | [
"MIT"
] | null | null | null | #include <QtWidgets>
#include "dragwidget.h"
DragWidget::DragWidget(DragWidgetType dragType, QWidget *parent)
: QLabel(parent)
{
setMinimumSize(32, 32);
setFrameStyle(QFrame::Sunken | QFrame::StyledPanel);
// setAcceptDrops(true);
QString imgPath;
switch (dragType) {
case Drag... | 26.266667 | 89 | 0.604061 | sergiosvieira |
f720eb8592b9d8b0ad66699663f6ddfe84a34d47 | 5,529 | cpp | C++ | oi/self/trees/scapegoat.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | 3 | 2018-08-30T09:43:20.000Z | 2019-12-03T04:53:43.000Z | oi/self/trees/scapegoat.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | oi/self/trees/scapegoat.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | #define USE_FILE_IO
#define NDEBUG
#define ALPHA 0.805
#include <cassert>
#include <cstring>
#include <climits>
#include <vector>
#include <random>
#include <fstream>
#include <sstream>
#include <algorithm>
using namespace std;
#ifndef USE_FILE_IO
#include <iostream>
using std::cin;
using std::cout;
#else
static if... | 20.553903 | 74 | 0.507687 | Riteme |
f728cabf6b5d607ee401447f71862a76c52f2c63 | 2,401 | cpp | C++ | div15.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 264 | 2015-01-08T10:07:01.000Z | 2022-03-26T04:11:51.000Z | div15.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 17 | 2016-04-15T03:38:07.000Z | 2020-10-30T00:33:57.000Z | div15.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 127 | 2015-01-08T04:56:44.000Z | 2022-02-25T18:40:37.000Z | // 2009-04-19
#include <iostream>
#include <stdio.h>
#include <algorithm>
#include <cassert>
#include <string.h>
using namespace std;
int fox(int a,int b)
{
int tot=0,n1=a,n2=b;
while ((n1>2) && (n1>n2+1))
tot+=3,n1-=3;
while ((n2>2) && (n2>n1+1))
tot+=3,n2-=3;
return(tot+min(n1,n2)*2);
}
int main()
{
//... | 17.654412 | 76 | 0.436068 | ohmyjons |
f72d8543b64197c6934345431ce573faf6340eb6 | 2,290 | cpp | C++ | PE/ch13/13.2/classic.cpp | DustOfStars/CppPrimerPlus6 | 391e3ad76eaa99f331981cee72139d83115fc93d | [
"MIT"
] | null | null | null | PE/ch13/13.2/classic.cpp | DustOfStars/CppPrimerPlus6 | 391e3ad76eaa99f331981cee72139d83115fc93d | [
"MIT"
] | null | null | null | PE/ch13/13.2/classic.cpp | DustOfStars/CppPrimerPlus6 | 391e3ad76eaa99f331981cee72139d83115fc93d | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstring>
#include "classic.h"
using namespace std;
// Cd methods
Cd::Cd(const char * s1, const char * s2, int n, double x)
{
performers = new char[strlen(s1)+1];
strcpy(performers, s1);
label = new char[strlen(s2)+1];
strcpy(label, s2);
selections = n;
playtime = x... | 20.446429 | 71 | 0.588646 | DustOfStars |
f72fce116b96a5bf3d94f0639e9f3219bca7b8fa | 505 | cpp | C++ | shared/ADM/Physics/PhysBody_Box.cpp | BlueNightHawk4906/HL-ADM-Custom | 7cd3925de819d4f5a2a808e5c0b34bb03a51c991 | [
"Unlicense"
] | 1 | 2020-12-11T17:52:33.000Z | 2020-12-11T17:52:33.000Z | shared/ADM/Physics/PhysBody_Box.cpp | BlueNightHawk4906/HL-ADM-Custom | 7cd3925de819d4f5a2a808e5c0b34bb03a51c991 | [
"Unlicense"
] | 7 | 2021-07-09T09:19:14.000Z | 2021-07-20T19:35:21.000Z | shared/ADM/Physics/PhysBody_Box.cpp | phoenixprojectsoftware/phoenixADM | 5f170a34739e64111dbe161d9ab9e0baa219512b | [
"Unlicense"
] | null | null | null | #include "Base/ExtDLL.h"
#include "Util.h"
#include "Base/CBase.h"
#include "IPhysBody.h"
#include "PhysBody.h"
#include "PhysBody_Box.h"
/*
========================================================
CPhysBody_Box
========================================================
*/
void CPhysBody_Box::InitShap... | 24.047619 | 87 | 0.540594 | BlueNightHawk4906 |
f731610d79f73bcac7579b85309615dbfc340a2d | 2,759 | cpp | C++ | src/examples/ex-ndpomdp.cpp | SDMStudio/sdms | 43a86973081ffd86c091aed69b332f0087f59361 | [
"MIT"
] | null | null | null | src/examples/ex-ndpomdp.cpp | SDMStudio/sdms | 43a86973081ffd86c091aed69b332f0087f59361 | [
"MIT"
] | null | null | null | src/examples/ex-ndpomdp.cpp | SDMStudio/sdms | 43a86973081ffd86c091aed69b332f0087f59361 | [
"MIT"
] | null | null | null | #include <iostream>
#include <memory>
#include <sdm/exception.hpp>
#include <sdm/config.hpp>
#include <sdm/parser/parser.hpp>
using namespace sdm;
int main(int argc, char **argv)
{
std::string ndpomdp_filename = (argc > 1) ? argv[1] : config::PROBLEM_PATH + "dpomdp/tiger.dpomdp";
// Instanciate a standard M... | 47.568966 | 137 | 0.485321 | SDMStudio |
f73502070122fc25d034257d86eb5cf344fd3b39 | 5,154 | cpp | C++ | Soomla/NativeImpl/CCNativeVirtualCurrencyStorage.cpp | konopka/cocos2dx-store | 9646c4d474e4416d8dde637b54100d2bfd30741d | [
"Apache-2.0"
] | null | null | null | Soomla/NativeImpl/CCNativeVirtualCurrencyStorage.cpp | konopka/cocos2dx-store | 9646c4d474e4416d8dde637b54100d2bfd30741d | [
"Apache-2.0"
] | null | null | null | Soomla/NativeImpl/CCNativeVirtualCurrencyStorage.cpp | konopka/cocos2dx-store | 9646c4d474e4416d8dde637b54100d2bfd30741d | [
"Apache-2.0"
] | 3 | 2020-05-10T08:41:59.000Z | 2021-02-11T15:58:32.000Z | /*
Copyright (C) 2012-2014 Soomla 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 writing... | 39.343511 | 129 | 0.624175 | konopka |
f73780c55a914017b1096d45066629443e9555ca | 1,833 | cc | C++ | alps/src/pegasus/pegasus_options.cc | liujiawinds/sparkle | 23099cead99603a997803af9f66e17e17161faa2 | [
"Apache-2.0"
] | 40 | 2016-03-15T20:55:01.000Z | 2021-12-01T11:45:43.000Z | alps/src/pegasus/pegasus_options.cc | liujiawinds/sparkle | 23099cead99603a997803af9f66e17e17161faa2 | [
"Apache-2.0"
] | 18 | 2016-05-19T11:10:13.000Z | 2020-03-18T01:42:49.000Z | alps/src/pegasus/pegasus_options.cc | liujiawinds/sparkle | 23099cead99603a997803af9f66e17e17161faa2 | [
"Apache-2.0"
] | 19 | 2016-06-03T16:12:25.000Z | 2022-02-18T07:16:54.000Z | /*
* (c) Copyright 2016 Hewlett Packard Enterprise Development LP
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 31.603448 | 91 | 0.747409 | liujiawinds |
f73861850e378e2a14db6b20966fcf67fc24ee10 | 316 | cpp | C++ | LibApophis/src/Training/StoppingConditions.cpp | elpollouk/Apophis | a400a3d689750502137b048eef8e8246f7c04d6b | [
"MIT"
] | null | null | null | LibApophis/src/Training/StoppingConditions.cpp | elpollouk/Apophis | a400a3d689750502137b048eef8e8246f7c04d6b | [
"MIT"
] | null | null | null | LibApophis/src/Training/StoppingConditions.cpp | elpollouk/Apophis | a400a3d689750502137b048eef8e8246f7c04d6b | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "apophis/Training/StoppingConditions.h"
using namespace Apophis;
using namespace Apophis::Training::StoppingCondition;
bool AnyStoppingCondition::Check(Data::Metrics& metrics) const
{
for (auto& condition : m_Conditions)
if ((*condition)(metrics))
return true;
return false;
}
| 21.066667 | 62 | 0.762658 | elpollouk |
f7393daab6e676d3f0b6101e2d1b7c44496f116a | 2,007 | cpp | C++ | sem3_1 OOP Menu/main.cpp | AntonC9018/FP | 9480fab57c262d1647d49eec6f06d3b7be557bb2 | [
"MIT"
] | 1 | 2020-11-02T17:54:27.000Z | 2020-11-02T17:54:27.000Z | sem3_1 OOP Menu/main.cpp | AntonC9018/FP | 9480fab57c262d1647d49eec6f06d3b7be557bb2 | [
"MIT"
] | null | null | null | sem3_1 OOP Menu/main.cpp | AntonC9018/FP | 9480fab57c262d1647d49eec6f06d3b7be557bb2 | [
"MIT"
] | null | null | null | // https://moodle.usm.md/mod/assign/view.php?id=71065
/*
Tested with g++ main.cpp.
# Notes on code style.
I've been programming in c# recently, which is where the convention of calling
methods with capital letters is established. The reason why the `Container` class
has lower-case methods is beca... | 30.876923 | 112 | 0.703039 | AntonC9018 |
f73d8b244afb63aa46b2dc5abf75c3774724b3a4 | 765 | cpp | C++ | Search/a_star/main.cpp | SS47816/CarND-Notes | ac31b2ba4f0e251d022749b0d984e10b2e3bacac | [
"MIT"
] | null | null | null | Search/a_star/main.cpp | SS47816/CarND-Notes | ac31b2ba4f0e251d022749b0d984e10b2e3bacac | [
"MIT"
] | null | null | null | Search/a_star/main.cpp | SS47816/CarND-Notes | ac31b2ba4f0e251d022749b0d984e10b2e3bacac | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include "a_star.h"
const int X = 1;
const int _ = 0;
vector<vector<int> > map = {
{1, 1, 1, 0, 0, 0,},
{1, 1, 1, 0, 1, 0,},
{0, 0, 0, 0, 0, 0,},
{1, 1, 1, 0, 1, 1,},
{1, 1, 1, 0, 1, 1,}
};
vector<int> start = {4, 3, 0}; //{x, y, theta}
/* theta = 0: up
... | 20.675676 | 76 | 0.51634 | SS47816 |
f73dac4d5c6b9d0cecd7064ebf6cf5e63c739d00 | 2,225 | cc | C++ | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/18_support/type_info/hash_code.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/18_support/type_info/hash_code.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/18_support/type_info/hash_code.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | // { dg-do run { target c++11 } }
// 2010-09-21 Paolo Carlini <paolo.carlini@oracle.com>
//
// Copyright (C) 2010-2017 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General P... | 28.164557 | 74 | 0.678652 | best08618 |
f73e40dae92f93bf31a9ffc7c25942b7a6c932f2 | 623 | cc | C++ | src/stb_gl.cc | stbd/stoolbox | 4535e1df2795cb0157420e7d4b1a01f3bda441da | [
"MIT"
] | null | null | null | src/stb_gl.cc | stbd/stoolbox | 4535e1df2795cb0157420e7d4b1a01f3bda441da | [
"MIT"
] | null | null | null | src/stb_gl.cc | stbd/stoolbox | 4535e1df2795cb0157420e7d4b1a01f3bda441da | [
"MIT"
] | null | null | null | #include "stb_gl.hh"
#include "stb_types.hh"
#include "stb_error.hh"
namespace stb {
extern void setError(const char * format, ...);
}
GLenum stb::getGlError(const char * file, const int lineNumber)
{
GLenum glError = glGetError();
if (glError != GL_NO_ERROR) {
stb::setError("GL error: %d at %s:%... | 25.958333 | 76 | 0.651685 | stbd |
f743e3fb5bebbcaa5717dbebd67d3a094b7d61a6 | 1,701 | hpp | C++ | PotreeConverter/include/PointAttributes.hpp | tigerfoot/PotreeConverter | 75cbd0e8b75995b2806e4b7bda03369c6ed2605d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | PotreeConverter/include/PointAttributes.hpp | tigerfoot/PotreeConverter | 75cbd0e8b75995b2806e4b7bda03369c6ed2605d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | PotreeConverter/include/PointAttributes.hpp | tigerfoot/PotreeConverter | 75cbd0e8b75995b2806e4b7bda03369c6ed2605d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null |
#ifndef POINT_ATTRIBUTES_H
#define POINT_ATTRIBUTES_H
#include <string>
#include <vector>
using std::string;
using std::vector;
class PointAttribute{
public:
static const PointAttribute POSITION_CARTESIAN;
static const PointAttribute COLOR_PACKED;
int ordinal;
string name;
int numElements;
int byteSize;
P... | 18.692308 | 88 | 0.724868 | tigerfoot |
f74435cdb659b9b4994bdd01da960fc42686fe3c | 3,733 | cpp | C++ | src/engine/processing/SSAO.cpp | kosua20/Rendu | 6b8e730f16658738572bc2f49e08fc4a2c59df07 | [
"MIT"
] | 399 | 2019-05-25T16:05:59.000Z | 2022-03-31T23:38:04.000Z | src/engine/processing/SSAO.cpp | kosua20/Rendu | 6b8e730f16658738572bc2f49e08fc4a2c59df07 | [
"MIT"
] | 3 | 2019-07-23T21:03:33.000Z | 2020-12-14T12:47:51.000Z | src/engine/processing/SSAO.cpp | kosua20/Rendu | 6b8e730f16658738572bc2f49e08fc4a2c59df07 | [
"MIT"
] | 20 | 2019-06-08T17:15:01.000Z | 2022-03-21T11:20:14.000Z | #include "processing/SSAO.hpp"
#include "generation/Random.hpp"
#include "graphics/GPUTypes.hpp"
#include "graphics/GPU.hpp"
#include "graphics/ScreenQuad.hpp"
#include "resources/ResourcesManager.hpp"
SSAO::SSAO(uint width, uint height, uint downscale, float radius, const std::string & name) : _highBlur(name + " SSAO... | 33.330357 | 155 | 0.713635 | kosua20 |
f747b357512cb81354aa67f3052b96d216086f8c | 3,154 | cpp | C++ | test/event_batch.cpp | chewi/cll-telemetry | 22e43b9736214c950354358b2dc4ea6eb8e817c5 | [
"MIT"
] | null | null | null | test/event_batch.cpp | chewi/cll-telemetry | 22e43b9736214c950354358b2dc4ea6eb8e817c5 | [
"MIT"
] | 1 | 2019-08-20T12:56:50.000Z | 2019-08-21T19:58:36.000Z | test/event_batch.cpp | chewi/cll-telemetry | 22e43b9736214c950354358b2dc4ea6eb8e817c5 | [
"MIT"
] | 4 | 2019-08-11T22:22:55.000Z | 2021-07-29T13:08:09.000Z | #include "event_batch.h"
#include <gtest/gtest.h>
using namespace cll;
void EventBatchTest::BasicTest(EventBatch& batch) {
// Add event
nlohmann::json event = {{"test", "This is a test log entry"}};
ASSERT_FALSE(batch.hasEvents());
auto eventStr = event.dump();
ASSERT_TRUE(batch.addEvent(event));... | 38 | 102 | 0.604629 | chewi |
f748be09efae8224601c0d90ab2cca51fba05c8e | 14,950 | cpp | C++ | src/crypt.cpp | icedac/nativecoin-cpp | cc5ea9c9dfc7e8974f3b580cbb3767354d0b9b78 | [
"BSL-1.0",
"BSD-3-Clause",
"OpenSSL",
"MIT"
] | null | null | null | src/crypt.cpp | icedac/nativecoin-cpp | cc5ea9c9dfc7e8974f3b580cbb3767354d0b9b78 | [
"BSL-1.0",
"BSD-3-Clause",
"OpenSSL",
"MIT"
] | null | null | null | src/crypt.cpp | icedac/nativecoin-cpp | cc5ea9c9dfc7e8974f3b580cbb3767354d0b9b78 | [
"BSL-1.0",
"BSD-3-Clause",
"OpenSSL",
"MIT"
] | null | null | null | /****************************************************************************
*
* crypt.cpp
* ($\nativecoin-cpp\src)
*
* by icedac
*
***/
#include "stdafx.h"
#include "nc.h"
#include "crypt.h"
#include "util.h"
#include <mutex>
#include <openssl/evp.h>
#include <openssl/ecdsa.h>
#include <opens... | 34.288991 | 186 | 0.449632 | icedac |
f748e0c54ec5a9c0acd204c14fee434c7c4b5484 | 110 | cpp | C++ | doc/my_notes/image_manipulation.cpp | felixchenfy/cpp_practice_image_processing | 72724097e3d9d35eb813fc04aac56d79419d6c7d | [
"MIT"
] | 4 | 2019-12-23T09:44:51.000Z | 2021-08-07T05:20:24.000Z | doc/my_notes/image_manipulation.cpp | felixchenfy/cpp_practice_image_processing | 72724097e3d9d35eb813fc04aac56d79419d6c7d | [
"MIT"
] | null | null | null | doc/my_notes/image_manipulation.cpp | felixchenfy/cpp_practice_image_processing | 72724097e3d9d35eb813fc04aac56d79419d6c7d | [
"MIT"
] | 2 | 2020-04-01T02:11:54.000Z | 2020-08-18T12:48:06.000Z |
/**
* Split color image into three channels.
*/
std::vector<cv::Mat> three_channels = cv::split(img);
| 10 | 53 | 0.636364 | felixchenfy |
f74b5306c5f4f955eef553358a6bae0257e9a4b3 | 1,958 | cc | C++ | src/relay/backend/contrib/vitis_ai/config_vitis_ai.cc | zhenlohuang/tvm | fd2e6d17120a79533852c6bb705429d9c7bc286b | [
"Apache-2.0"
] | 40 | 2021-06-14T23:14:46.000Z | 2022-03-21T14:32:23.000Z | src/relay/backend/contrib/vitis_ai/config_vitis_ai.cc | zhenlohuang/tvm | fd2e6d17120a79533852c6bb705429d9c7bc286b | [
"Apache-2.0"
] | 14 | 2021-06-08T03:15:54.000Z | 2022-02-01T23:50:24.000Z | src/relay/backend/contrib/vitis_ai/config_vitis_ai.cc | zhenlohuang/tvm | fd2e6d17120a79533852c6bb705429d9c7bc286b | [
"Apache-2.0"
] | 11 | 2021-06-14T05:56:18.000Z | 2022-02-27T06:52:07.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 41.659574 | 100 | 0.764556 | zhenlohuang |
f74cf9a4bc2fa11b0240ded3c4cfcbcc10a00e91 | 1,485 | cpp | C++ | Esercizi/Classi/Gelato/main.cpp | gabrielegenovese/Esercizi-Programmazione-2020 | bb16aec872ece3f7d88fcbfc88b3778efcb4f16b | [
"MIT"
] | null | null | null | Esercizi/Classi/Gelato/main.cpp | gabrielegenovese/Esercizi-Programmazione-2020 | bb16aec872ece3f7d88fcbfc88b3778efcb4f16b | [
"MIT"
] | null | null | null | Esercizi/Classi/Gelato/main.cpp | gabrielegenovese/Esercizi-Programmazione-2020 | bb16aec872ece3f7d88fcbfc88b3778efcb4f16b | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstring>
using namespace std;
# define cono 2.70
# define cestina 2.50
# define coppetta 2
struct gusto
{
char nome[10];
};
typedef gusto *p_gusto;
class Gelato
{
protected:
p_gusto gusti[3];
int cursor;
double tipo;
public:
void aggiungiGel... | 19.285714 | 63 | 0.484848 | gabrielegenovese |
f74dcfe7d866270b21c4adc73f6dfd51891da18a | 10,982 | cpp | C++ | lammps-master/src/USER-MISC/pair_coul_shield.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | null | null | null | lammps-master/src/USER-MISC/pair_coul_shield.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | null | null | null | lammps-master/src/USER-MISC/pair_coul_shield.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | 29.363636 | 104 | 0.497997 | rajkubp020 |
f7510dee6be68bdc81df0905ae93ee67975cb608 | 915 | cpp | C++ | lib/acceptor.cpp | LunZZZi/net | d6acf21d79ba60112475d2f1dc3a1b8dca34a06b | [
"MIT"
] | null | null | null | lib/acceptor.cpp | LunZZZi/net | d6acf21d79ba60112475d2f1dc3a1b8dca34a06b | [
"MIT"
] | null | null | null | lib/acceptor.cpp | LunZZZi/net | d6acf21d79ba60112475d2f1dc3a1b8dca34a06b | [
"MIT"
] | null | null | null | #include "acceptor.h"
#include <assert.h>
struct acceptor *acceptor_init(int port)
{
struct acceptor *acceptor1 = (struct acceptor *)malloc(sizeof(struct acceptor));
acceptor1->listen_port = port;
acceptor1->listen_fd = socket(AF_INET, SOCK_STREAM, 0);
make_nonblocking(acceptor1->listen_fd);
stru... | 27.727273 | 95 | 0.678689 | LunZZZi |
f752a42d484a2000eea59c71277704e492f35bb8 | 3,269 | cpp | C++ | ceres/PowellFunction/PowellFunction.cpp | JiauZhang/camera | 37e37f9e5f5176c6c06d4a8fdd11d5532ab37eb2 | [
"MIT"
] | 7 | 2019-10-08T01:46:52.000Z | 2021-10-11T08:17:44.000Z | ceres/PowellFunction/PowellFunction.cpp | JiauZhang/Camera | 37e37f9e5f5176c6c06d4a8fdd11d5532ab37eb2 | [
"MIT"
] | null | null | null | ceres/PowellFunction/PowellFunction.cpp | JiauZhang/Camera | 37e37f9e5f5176c6c06d4a8fdd11d5532ab37eb2 | [
"MIT"
] | 4 | 2019-04-11T07:05:06.000Z | 2019-07-16T04:55:01.000Z | #include <iostream>
#include <boost/concept_check.hpp>
#include <ceres/ceres.h>
#include <cmath>
using namespace std;
using namespace ceres;
using ceres::AutoDiffCostFunction;
using ceres::Solver;
using ceres::Problem;
using ceres::CostFunction;
using ceres::Solve;
struct CostFuntorF1 {
template <typename T>
bo... | 30.268519 | 92 | 0.61762 | JiauZhang |
f752a5c5eb518d545f38c0d601f2ffee6058c03f | 3,477 | hpp | C++ | openjdk11/src/hotspot/share/gc/parallel/psMarkSweep.hpp | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | 2 | 2018-06-19T05:43:32.000Z | 2018-06-23T10:04:56.000Z | openjdk11/src/hotspot/share/gc/parallel/psMarkSweep.hpp | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | null | null | null | openjdk11/src/hotspot/share/gc/parallel/psMarkSweep.hpp | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2001, 2015, 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 ... | 38.633333 | 93 | 0.746621 | iootclab |
f753017a1f6fc7b62a1ec374e4f37d53ea01ec73 | 1,815 | cpp | C++ | examples/speed_comparison.cpp | jedbrooke/fractionalBignum | 9eb2b4f83ba361adde2881ed2819aeef03510ddb | [
"MIT"
] | null | null | null | examples/speed_comparison.cpp | jedbrooke/fractionalBignum | 9eb2b4f83ba361adde2881ed2819aeef03510ddb | [
"MIT"
] | null | null | null | examples/speed_comparison.cpp | jedbrooke/fractionalBignum | 9eb2b4f83ba361adde2881ed2819aeef03510ddb | [
"MIT"
] | null | null | null | #include "fractionalBignum.hpp"
#include <iostream>
#include <cmath>
#include <gmp.h>
#include <ctime>
int main(int argc, char const *argv[])
{
// double r = ((double) rand() / (RAND_MAX));
const size_t K = 8;
u_int64_t v[K] = {1,1,1,1};
fractionalBignum<K> f(v);
mpf_set_default_prec(K * 64);
... | 25.208333 | 73 | 0.562534 | jedbrooke |
f755aaf08ef1f64028653e62244e9e6deea5ca47 | 874 | cpp | C++ | modules/camera/test/o3d3xx-import-export-tests.cpp | theseankelly/libo3d3xx | 01cdf9560d69b1ee91ca9b4298df7bb4efb45e52 | [
"Apache-2.0"
] | 36 | 2015-04-04T15:19:50.000Z | 2018-10-11T14:33:05.000Z | modules/camera/test/o3d3xx-import-export-tests.cpp | theseankelly/libo3d3xx | 01cdf9560d69b1ee91ca9b4298df7bb4efb45e52 | [
"Apache-2.0"
] | 111 | 2015-04-22T16:12:55.000Z | 2018-10-16T08:03:40.000Z | modules/camera/test/o3d3xx-import-export-tests.cpp | theseankelly/libo3d3xx | 01cdf9560d69b1ee91ca9b4298df7bb4efb45e52 | [
"Apache-2.0"
] | 40 | 2015-07-13T09:29:31.000Z | 2018-09-14T06:56:24.000Z | #include "o3d3xx_camera.h"
#include <cstdint>
#include <memory>
#include <vector>
#include "gtest/gtest.h"
TEST(ImportExport_Tests, ImportExportApp)
{
o3d3xx::Camera::Ptr cam =
std::make_shared<o3d3xx::Camera>();
cam->RequestSession();
cam->SetOperatingMode(o3d3xx::Camera::operating_mode::EDIT);
std::vec... | 24.971429 | 63 | 0.720824 | theseankelly |
f75bf93f34a60cff4b368809ee2e4a4d9303896d | 16,408 | cpp | C++ | src/Source.cpp | stfnwong/z8t | f1721671886d312f23bc34ba48b313f57b0be75c | [
"MIT"
] | null | null | null | src/Source.cpp | stfnwong/z8t | f1721671886d312f23bc34ba48b313f57b0be75c | [
"MIT"
] | null | null | null | src/Source.cpp | stfnwong/z8t | f1721671886d312f23bc34ba48b313f57b0be75c | [
"MIT"
] | null | null | null | /* SOURCE
* Intermediate representation of line info for Z80
*
* Stefan Wong 2018
*/
#include <iomanip>
#include <iostream>
#include "Source.hpp"
#include "Expression.hpp"
/*
* ======== TOKEN ======== //
*/
/*
* Token
*/
Token::Token() : type(SYM_NULL), val(-1), repr("\0") {}
Token::Token(const TokenType& ... | 23.044944 | 108 | 0.527791 | stfnwong |
f75c42470c2283d0bc6d540bf2dd59ca3b9db645 | 8,231 | hpp | C++ | disc-fe/src/Panzer_BCStrategy_Neumann_DefaultImpl.hpp | hillyuan/Panzer | 13ece3ea4c145c4d7b6339e3ad6332a501932ea8 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T03:49:50.000Z | 2022-03-22T03:49:50.000Z | disc-fe/src/Panzer_BCStrategy_Neumann_DefaultImpl.hpp | hillyuan/Panzer | 13ece3ea4c145c4d7b6339e3ad6332a501932ea8 | [
"BSD-3-Clause"
] | null | null | null | disc-fe/src/Panzer_BCStrategy_Neumann_DefaultImpl.hpp | hillyuan/Panzer | 13ece3ea4c145c4d7b6339e3ad6332a501932ea8 | [
"BSD-3-Clause"
] | null | null | null | // @HEADER
// ***********************************************************************
//
// Panzer: A partial differential equation assembly
// engine for strongly coupled complex multiphysics systems
// Copyright (2011) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85... | 42.427835 | 183 | 0.720933 | hillyuan |
f764a50e3e5ac4ebcf48d20b4531fe9d8c03a938 | 5,530 | cpp | C++ | src/LCDCharConverter.cpp | TechFactoryHU/LCDCharConverter | f0c831aa9dd6d84157978555465882f8c0fb7501 | [
"MIT"
] | 2 | 2021-05-09T11:28:57.000Z | 2021-11-09T18:52:10.000Z | src/LCDCharConverter.cpp | TechFactoryHU/LCDCharConverter | f0c831aa9dd6d84157978555465882f8c0fb7501 | [
"MIT"
] | null | null | null | src/LCDCharConverter.cpp | TechFactoryHU/LCDCharConverter | f0c831aa9dd6d84157978555465882f8c0fb7501 | [
"MIT"
] | null | null | null | /*
* TechFactory.hu
* LCD kijelzőhöz magyar ékezetes karakter támogatás
* (LiquidCrystal_I2C class-hoz készült kiegészítő)
*/
#include "LCDCharConverter.h"
#include "LCDCharmap.h"
LCDCharConverter::LCDCharConverter(LiquidCrystal_I2C* lcd) {
_lcd = lcd;
}
void LCDCharConverter::display(char* message, uint8_t col, ui... | 31.067416 | 121 | 0.567089 | TechFactoryHU |
f7665e96a3d08f7257568d4cdb2a9ab2e885a031 | 5,179 | cpp | C++ | tests/unittests/EasyHttpInternalUnitTest.cpp | madebr/easyhttpcpp | ef7dca78f76877d51b329464c322e87eef54195f | [
"MIT"
] | 147 | 2017-10-05T01:42:02.000Z | 2022-01-21T08:15:05.000Z | tests/unittests/EasyHttpInternalUnitTest.cpp | madebr/easyhttpcpp | ef7dca78f76877d51b329464c322e87eef54195f | [
"MIT"
] | 20 | 2018-05-17T01:55:16.000Z | 2021-04-20T07:27:00.000Z | tests/unittests/EasyHttpInternalUnitTest.cpp | sony/easyhttpcpp | ef7dca78f76877d51b329464c322e87eef54195f | [
"MIT"
] | 32 | 2018-05-05T13:04:34.000Z | 2022-03-25T16:57:11.000Z | /*
* Copyright 2017 Sony Corporation
*/
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "easyhttpcpp/common/Cache.h"
#include "easyhttpcpp/EasyHttp.h"
#include "easyhttpcpp/Interceptor.h"
#include "easyhttpcpp/HttpException.h"
#include "EasyHttpCppAssertions.h"
#include "MockInterceptor.h"
#include "Eas... | 35.965278 | 120 | 0.758834 | madebr |
f766fd542f63d845c580ab611d4c30e9945b2d60 | 782 | cpp | C++ | leetcode/1109.cpp | pravinsrc/AlgorithmTraining_leetcode | 72ae84e0f7f4d64dff8482d3fe7b96e32b19c9bb | [
"MIT"
] | null | null | null | leetcode/1109.cpp | pravinsrc/AlgorithmTraining_leetcode | 72ae84e0f7f4d64dff8482d3fe7b96e32b19c9bb | [
"MIT"
] | null | null | null | leetcode/1109.cpp | pravinsrc/AlgorithmTraining_leetcode | 72ae84e0f7f4d64dff8482d3fe7b96e32b19c9bb | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include <algorithm>
#include <vector>
class Solution {
public:
std::vector<int> corpFlightBookings(const std::vector<std::vector<int>>& bookings, int n)
{
std::vector<int> res(n, 0);
std::for_each(bookings.cbegin(), bookings.cend(), [&res](const auto& booking) {
... | 26.066667 | 104 | 0.570332 | pravinsrc |
f7671d76b6520a7115b011d25a3e299b9fea95e8 | 10,645 | cpp | C++ | src/adapter/adapter.cpp | TiWinDeTea/NinjaClown | fdd48e62466f11036fa0360fad2bcb182d6d3352 | [
"MIT"
] | 2 | 2020-04-10T14:39:00.000Z | 2021-02-11T15:52:16.000Z | src/adapter/adapter.cpp | TiWinDeTea/NinjaClown | fdd48e62466f11036fa0360fad2bcb182d6d3352 | [
"MIT"
] | 2 | 2019-12-17T08:50:20.000Z | 2020-02-03T09:37:56.000Z | src/adapter/adapter.cpp | TiWinDeTea/NinjaClown | fdd48e62466f11036fa0360fad2bcb182d6d3352 | [
"MIT"
] | 1 | 2020-08-19T03:06:52.000Z | 2020-08-19T03:06:52.000Z | #include <cpptoml.h>
#include <imgui.h>
#include <spdlog/spdlog.h>
#include "adapter/adapter.hpp"
#include "bot/bot_api.hpp"
#include "model/cell.hpp"
#include "model/components.hpp"
#include "model/grid_point.hpp"
#include "model/model.hpp"
#include "ninja_clown/api.h"
#include "state_holder.hpp"
#include "utils/logg... | 36.207483 | 136 | 0.687741 | TiWinDeTea |
f76c083cf45e1a2462d5f440e0e33019b2485e0c | 5,067 | cpp | C++ | Private/Vox.cpp | mik14a/VoxFormat | 5b5a75c15e9fa4f7b495f8c7d74ddadef5c3dbd0 | [
"MIT"
] | null | null | null | Private/Vox.cpp | mik14a/VoxFormat | 5b5a75c15e9fa4f7b495f8c7d74ddadef5c3dbd0 | [
"MIT"
] | null | null | null | Private/Vox.cpp | mik14a/VoxFormat | 5b5a75c15e9fa4f7b495f8c7d74ddadef5c3dbd0 | [
"MIT"
] | null | null | null | // Copyright 2018-2020 mik14a / Admix Network. All Rights Reserved.
#include "Vox.h"
#include "Chunk/Layr.h"
#include "Chunk/Main.h"
#include "Chunk/Matl.h"
#include "Chunk/Matt.h"
#include "Chunk/Pack.h"
#include "Chunk/Rgba.h"
#include "Chunk/Size.h"
#include "Chunk/Xyzi.h"
#include "Node/Group.h"
#include "Node/Sha... | 58.241379 | 193 | 0.768305 | mik14a |
f76c4439085408812c8275ba2c2ee78d95deb966 | 652 | cpp | C++ | cpp/aggregate_class.cpp | PhilipDaniels/learn | cbacb52fd472b5c90b6c3890bb912cd3020905fc | [
"MIT"
] | null | null | null | cpp/aggregate_class.cpp | PhilipDaniels/learn | cbacb52fd472b5c90b6c3890bb912cd3020905fc | [
"MIT"
] | null | null | null | cpp/aggregate_class.cpp | PhilipDaniels/learn | cbacb52fd472b5c90b6c3890bb912cd3020905fc | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
struct Point
{
// Lippman, 7.5.5, p298.
// All members must be public.
// No ctors.
// No in-class initializers.
// No base classes or virtual functions.
int x;
int y;
};
int main(int argc, char *argv[])
{
Point p1 = { 20, 40 };
cout << "p... | 22.482759 | 76 | 0.593558 | PhilipDaniels |
f7720e5d2198275130c20c7762760fa91b129d81 | 11,694 | hpp | C++ | src/algorithms/LBP_MRF/MotionDetection.hpp | saulocbarreto/bgslibrary | e1890b6b05cd40757ad00e1c71e8c1db13a74a2a | [
"MIT"
] | 1,899 | 2015-01-04T01:13:30.000Z | 2022-03-29T21:58:28.000Z | src/algorithms/LBP_MRF/MotionDetection.hpp | saulocbarreto/bgslibrary | e1890b6b05cd40757ad00e1c71e8c1db13a74a2a | [
"MIT"
] | 175 | 2015-01-25T16:14:03.000Z | 2022-03-17T17:36:53.000Z | src/algorithms/LBP_MRF/MotionDetection.hpp | saulocbarreto/bgslibrary | e1890b6b05cd40757ad00e1c71e8c1db13a74a2a | [
"MIT"
] | 752 | 2015-01-04T01:34:29.000Z | 2022-03-29T13:53:33.000Z | #pragma once
#include "opencv2/core/version.hpp"
#if CV_MAJOR_VERSION >= 2 && CV_MAJOR_VERSION <= 3
#include <opencv2/imgproc/types_c.h>
#include "MEDefs.hpp"
#include "MEImage.hpp"
namespace bgslibrary
{
namespace algorithms
{
namespace lbp_mrf
{
class CvBGStatModel;
//struct CvPoint2D32f;
... | 30.217054 | 88 | 0.544638 | saulocbarreto |
f7726fd6c507b736213940d6bc86721e6295eb82 | 410,139 | cpp | C++ | chipyard.TestHarness.RocketConfig/chipyard.TestHarness.RocketConfig/VTestHarness__16__Slow.cpp | vargandhi/ime-congs | 963be79b7b319d8e74edae09df7bdf3330371401 | [
"BSD-3-Clause"
] | null | null | null | chipyard.TestHarness.RocketConfig/chipyard.TestHarness.RocketConfig/VTestHarness__16__Slow.cpp | vargandhi/ime-congs | 963be79b7b319d8e74edae09df7bdf3330371401 | [
"BSD-3-Clause"
] | null | null | null | chipyard.TestHarness.RocketConfig/chipyard.TestHarness.RocketConfig/VTestHarness__16__Slow.cpp | vargandhi/ime-congs | 963be79b7b319d8e74edae09df7bdf3330371401 | [
"BSD-3-Clause"
] | null | null | null | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Design implementation internals
// See VTestHarness.h for the primary calling header
#include "VTestHarness.h"
#include "VTestHarness__Syms.h"
#include "verilated_dpi.h"
void VTestHarness::_settle__TOP__1006(VTestHarness__Syms* __restrict vlSymsp) {
VL_D... | 120.842369 | 327 | 0.723823 | vargandhi |
f772ce052d7b44a38f2032aa6125bb5e9184eea2 | 1,748 | cpp | C++ | IL2CPP/Il2CppOutputProject/IL2CPP/libil2cpp/os/OSX/SystemCertificates.cpp | dngoins/AutographTheWorld-MR | 24e567c8030b73a6942e25b36b7370667c649b90 | [
"MIT"
] | 16 | 2018-10-13T12:29:06.000Z | 2022-02-25T14:56:47.000Z | IL2CPP/Il2CppOutputProject/IL2CPP/libil2cpp/os/OSX/SystemCertificates.cpp | dngoins/AutographTheWorld-MR | 24e567c8030b73a6942e25b36b7370667c649b90 | [
"MIT"
] | 8 | 2020-03-10T23:11:09.000Z | 2020-03-14T01:19:32.000Z | IL2CPP/Il2CppOutputProject/IL2CPP/libil2cpp/os/OSX/SystemCertificates.cpp | dngoins/AutographTheWorld-MR | 24e567c8030b73a6942e25b36b7370667c649b90 | [
"MIT"
] | 7 | 2020-06-09T13:16:30.000Z | 2021-11-01T15:28:04.000Z | #include "os/c-api/il2cpp-config-platforms.h"
#if IL2CPP_TARGET_OSX
#include "os/SystemCertificates.h"
#include <Security/SecTrust.h>
#include <Security/SecCertificate.h>
#include <Security/SecImportExport.h>
namespace il2cpp
{
namespace os
{
void* SystemCertificates::OpenSystemRootStore()
{
CFArrayR... | 26.484848 | 117 | 0.621281 | dngoins |
f7745e41a1bf665c0657e8e571b3654fd541ae3b | 2,335 | cpp | C++ | pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/thread_callback.cpp | ArthasZhang007/15418FinalProject | a71f698ea48ebbc446111734c198f16a55633669 | [
"MIT"
] | null | null | null | pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/thread_callback.cpp | ArthasZhang007/15418FinalProject | a71f698ea48ebbc446111734c198f16a55633669 | [
"MIT"
] | null | null | null | pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/thread_callback.cpp | ArthasZhang007/15418FinalProject | a71f698ea48ebbc446111734c198f16a55633669 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2008-2021 Intel Corporation.
* SPDX-License-Identifier: MIT
*/
// Sample usage:
// pin -mt -t thread_callback -- thread_wait
#include <stdio.h>
#include <iostream>
#include "pin.H"
FILE* out;
PIN_LOCK pinLock;
int numThreads;
typedef int (*FUNCPTR_ADD)(int, int);
AFUNPTR pf_Add = 0;
VOID T... | 23.585859 | 129 | 0.605567 | ArthasZhang007 |
f774e4c8b27ad670e8e2b76ba5b8a56a3be0261d | 938 | cpp | C++ | lab26/1 - async.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-01-24T14:04:45.000Z | 2019-01-24T14:04:45.000Z | lab26/1 - async.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-01-24T18:32:45.000Z | 2019-01-28T04:10:28.000Z | lab26/1 - async.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-02-07T00:28:20.000Z | 2019-02-07T00:28:20.000Z | #include <iostream>
#include <vector>
#include <future>
#include <cmath>
#include <chrono>
using namespace std;
using namespace std::chrono;
bool is_prime( long n )
{
auto const sqrt_n = sqrt( n );
for ( long i = 2; i <= sqrt_n; ++i )
if ( ( n % i ) == 0 )
return false;
return true;
}... | 21.318182 | 84 | 0.578891 | uiowa-cs-3210-0001 |
f7757760fd957335ec07322d6c4e2ce75bbb4a0c | 846 | cc | C++ | third_party/blink/renderer/modules/webcodecs/audio_decoder_test.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/webcodecs/audio_decoder_test.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/webcodecs/audio_decoder_test.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2020 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 "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink... | 32.538462 | 81 | 0.781324 | mghgroup |
f7757c023dd41c7fe70cf21a00dd0b31fd19815e | 1,282 | cpp | C++ | core/src/system/CollisionDamage.cpp | Floriantoine/MyHunter_Sfml | 8744e1b03d9d5fb621f9cba7619d9d5dd943e428 | [
"MIT"
] | null | null | null | core/src/system/CollisionDamage.cpp | Floriantoine/MyHunter_Sfml | 8744e1b03d9d5fb621f9cba7619d9d5dd943e428 | [
"MIT"
] | null | null | null | core/src/system/CollisionDamage.cpp | Floriantoine/MyHunter_Sfml | 8744e1b03d9d5fb621f9cba7619d9d5dd943e428 | [
"MIT"
] | null | null | null | #include "system/CollisionDamage.hpp"
#include "components/Damage.hpp"
#include "components/HealthComponent.hpp"
#include "components/SolidBlock.hpp"
#include "components/systemActivator/HaveCollisionDamage.hpp"
namespace systems {
void CollisionDamage::update(long elapsedTime)
{
auto array = this->_componentMana... | 36.628571 | 78 | 0.549142 | Floriantoine |
f775caf6faef2f359066287a55bc67c54e095508 | 1,490 | hpp | C++ | src/Switch.System.Drawing/include/Switch/System/Drawing/StringFormat.hpp | victor-timoshin/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | 4 | 2020-02-11T13:22:58.000Z | 2022-02-24T00:37:43.000Z | src/Switch.System.Drawing/include/Switch/System/Drawing/StringFormat.hpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | null | null | null | src/Switch.System.Drawing/include/Switch/System/Drawing/StringFormat.hpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | 2 | 2020-02-01T02:19:01.000Z | 2021-12-30T06:44:00.000Z | /// @file
/// @brief Contains Switch::System::Drawing::Graphics class.
#pragma once
#include <Switch/System/Object.hpp>
#include "StringAlignment.hpp"
namespace Switch {
/// @brief The System namespace contains fundamental classes and base classes that define commonly-used value and reference data types, events and... | 39.210526 | 237 | 0.695973 | victor-timoshin |
f7774be4776214fed2cdfa2be3bd50c88ae506df | 27,258 | cpp | C++ | com/oleutest/oletest/oletest.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/oleutest/oletest/oletest.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/oleutest/oletest/oletest.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, 1992 - 1993.
//
// File: oletest.cpp
//
// Contents: WinMain and the main message filter for oletest
//
// Classes:
//
// Functions: WinMain
// ... | 32.372922 | 104 | 0.519957 | npocmaka |
f782b10bdb28a5de394736df26a6b42bbe458c4e | 187 | cpp | C++ | src/TimestampedMsgPtrQueue.cpp | r2p/Middleware | 6438bdef16671482ecc1330679fa56439f916c61 | [
"BSD-2-Clause"
] | 1 | 2020-11-26T04:21:41.000Z | 2020-11-26T04:21:41.000Z | src/TimestampedMsgPtrQueue.cpp | r2p/Middleware | 6438bdef16671482ecc1330679fa56439f916c61 | [
"BSD-2-Clause"
] | null | null | null | src/TimestampedMsgPtrQueue.cpp | r2p/Middleware | 6438bdef16671482ecc1330679fa56439f916c61 | [
"BSD-2-Clause"
] | 1 | 2020-11-26T04:21:47.000Z | 2020-11-26T04:21:47.000Z |
#include <r2p/TimestampedMsgPtrQueue.hpp>
namespace r2p {
TimestampedMsgPtrQueue::TimestampedMsgPtrQueue(Entry array[], size_t length)
:
impl(array, length)
{}
} // namespace r2p
| 13.357143 | 76 | 0.748663 | r2p |
f787372ad5765cffb3e2e4a0642946a13034aef8 | 857 | cpp | C++ | codeforces/C - The Phone Number/Wrong answer on pretest 9 (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/C - The Phone Number/Wrong answer on pretest 9 (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/C - The Phone Number/Wrong answer on pretest 9 (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Aug/08/2018 21:46
* solution_verdict: Wrong answer on pretest 9 language: GNU C++14
* run... | 35.708333 | 111 | 0.369895 | kzvd4729 |
f78884318c3326614537c2cfa5b3535097ce3b52 | 2,541 | cc | C++ | blimp/net/tcp_client_transport.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | blimp/net/tcp_client_transport.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | blimp/net/tcp_client_transport.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"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 "blimp/net/tcp_client_transport.h"
#include <memory>
#include "base/callback.h"
#include "base/callback_helpers.h"
#include "base/memory/ptr_ut... | 28.875 | 80 | 0.746163 | maidiHaitai |
f788e70bd033e59dd97bbaf43319dcf99c0fa906 | 4,612 | hh | C++ | contribs/qecode/OptVar.hh | guidotack/gecode | 027c57889d66dd26ad8e1a419c2cda22ab0cf305 | [
"MIT-feh"
] | 216 | 2016-07-11T12:44:44.000Z | 2022-03-24T01:48:06.000Z | contribs/qecode/OptVar.hh | guidotack/gecode | 027c57889d66dd26ad8e1a419c2cda22ab0cf305 | [
"MIT-feh"
] | 105 | 2018-02-01T15:51:15.000Z | 2022-03-05T16:10:36.000Z | contribs/qecode/OptVar.hh | guidotack/gecode | 027c57889d66dd26ad8e1a419c2cda22ab0cf305 | [
"MIT-feh"
] | 73 | 2016-02-15T07:09:36.000Z | 2022-03-22T23:10:26.000Z | /**** , [ OptVar.hh ],
Copyright (c) 2008 Universite d'Orleans - Jeremie Vautard
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 u... | 36.896 | 157 | 0.719861 | guidotack |
f78b6d70bfd35ac8a14dc8c162a96e41dd51acd0 | 1,064 | cpp | C++ | src/rasperi_app/rasperi_about_dialog.cpp | kuumies/rasperi | 5e854a3c15e788a714b61395fd2064a037154610 | [
"MIT"
] | null | null | null | src/rasperi_app/rasperi_about_dialog.cpp | kuumies/rasperi | 5e854a3c15e788a714b61395fd2064a037154610 | [
"MIT"
] | null | null | null | src/rasperi_app/rasperi_about_dialog.cpp | kuumies/rasperi | 5e854a3c15e788a714b61395fd2064a037154610 | [
"MIT"
] | null | null | null | /* ---------------------------------------------------------------- *
Antti Jumpponen <kuumies@gmail.com>
The implementation of kuu::rasperi::AboutDialog class.
* ---------------------------------------------------------------- */
#include "rasperi_about_dialog.h"
#include "ui_rasperi_about_dialog.h"
namespace... | 27.282051 | 70 | 0.333647 | kuumies |
f7900b33b234e0332969eaee941a9a93db34dfcd | 627 | cpp | C++ | ProgrammingDesign/7-String/1.fly.cpp | cyp0633/homework | c4a134aa0c2e38e1a24fab178b42a7a1a0f3cd25 | [
"MIT"
] | null | null | null | ProgrammingDesign/7-String/1.fly.cpp | cyp0633/homework | c4a134aa0c2e38e1a24fab178b42a7a1a0f3cd25 | [
"MIT"
] | null | null | null | ProgrammingDesign/7-String/1.fly.cpp | cyp0633/homework | c4a134aa0c2e38e1a24fab178b42a7a1a0f3cd25 | [
"MIT"
] | 1 | 2020-12-14T08:52:40.000Z | 2020-12-14T08:52:40.000Z | //飞来飞去
#include <cstdio>
#include <iostream>
#include <string>
using namespace std;
void perform();
int main()
{
int a, t;
scanf("%d\n", &t);
for (a = 0; a < t; a++)
{
perform();
}
return 0;
}
void perform()
{
int i, n, s2t = 0, t2s = 0;
string s;
cin >> n >> s;
for (i = ... | 14.928571 | 43 | 0.350877 | cyp0633 |
f79074dc39521a9e99547f493895a7136242a1ce | 6,262 | cpp | C++ | Libraries/RobsJuceModules/jura_framework/gui/panels/jura_ThreadedDrawingComponent.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/jura_framework/gui/panels/jura_ThreadedDrawingComponent.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/jura_framework/gui/panels/jura_ThreadedDrawingComponent.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z |
//-------------------------------------------------------------------------------------------------
// construction/destruction:
ThreadedDrawingComponent::ThreadedDrawingComponent(TimeSliceThread* newThreadToUse)
{
ScopedLock scopedLock(clientAreaImageLock);
clientAreaImage = NULL;
clientAreaImage ... | 27.108225 | 103 | 0.65634 | RobinSchmidt |
f7924030e405fc5eb3e8c2c5321f540a2ca9b896 | 380 | cpp | C++ | 214A.cpp | basuki57/Codeforces | 5227c3deecf13d90e5ea45dab0dfc16b44bd028c | [
"MIT"
] | null | null | null | 214A.cpp | basuki57/Codeforces | 5227c3deecf13d90e5ea45dab0dfc16b44bd028c | [
"MIT"
] | null | null | null | 214A.cpp | basuki57/Codeforces | 5227c3deecf13d90e5ea45dab0dfc16b44bd028c | [
"MIT"
] | 2 | 2020-10-03T04:52:14.000Z | 2020-10-03T05:19:12.000Z | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
void solve(){
ll n, m, cnt = 0;
cin >> n >> m;
for(ll i = 0; i < 1001; i++)
for(ll j = 0; j < 1001; j++) if(i*i + j == n && i + j*j == m) ++cnt;
cout << cnt << endl;
}
int main(){
ios_base::sync_with_stdio(false);
cin.t... | 19 | 76 | 0.507895 | basuki57 |
f792dc3c1a4a5d4cb59bd31a3d3a899731bd1bfb | 316 | cpp | C++ | January Challenges/Day28-Smallest String With A Given Numeric Value.cpp | kaushalk844/leetcode | c9497a1cf36e4d7f84161cf8d12e2cfc4a6b937d | [
"MIT"
] | null | null | null | January Challenges/Day28-Smallest String With A Given Numeric Value.cpp | kaushalk844/leetcode | c9497a1cf36e4d7f84161cf8d12e2cfc4a6b937d | [
"MIT"
] | null | null | null | January Challenges/Day28-Smallest String With A Given Numeric Value.cpp | kaushalk844/leetcode | c9497a1cf36e4d7f84161cf8d12e2cfc4a6b937d | [
"MIT"
] | null | null | null | class Solution {
public:
string getSmallestString(int n, int k) {
string res(n, 'a');
k -= n;
int i = res.size()-1;
while(k > 0){
int t = min(25,k);
res[i] += t;
k -= t;
i--;
}
return res;
}
};
| 17.555556 | 44 | 0.344937 | kaushalk844 |
f79361354a4c8549bb3f50c00d4517ab48e2a220 | 4,483 | cc | C++ | chrome/browser/ui/webui/chromeos/audio/audio_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/ui/webui/chromeos/audio/audio_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/ui/webui/chromeos/audio/audio_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 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 <string>
#include <tuple>
#include <utility>
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/browser_finder.h"
#incl... | 32.485507 | 76 | 0.729199 | zealoussnow |
f79a47959bf7218d42e245e17725206e2d6250c8 | 4,982 | cpp | C++ | PathFinding.cpp | TheNewBob/IMS2 | 572dcfd4c3621458f01278713437c2aca526d2e6 | [
"MIT"
] | 2 | 2018-01-28T20:07:52.000Z | 2018-03-01T22:41:39.000Z | PathFinding.cpp | TheNewBob/IMS2 | 572dcfd4c3621458f01278713437c2aca526d2e6 | [
"MIT"
] | 6 | 2017-08-26T10:24:48.000Z | 2018-01-28T13:45:34.000Z | PathFinding.cpp | TheNewBob/IMS2 | 572dcfd4c3621458f01278713437c2aca526d2e6 | [
"MIT"
] | null | null | null | #include "Common.h"
#include <queue>
#include <deque>
#include <stack>
#include "SimpleTreeNode.h"
#include "SimplePathNode.h"
#include "PathFinding.h"
PathFinding::PathFinding()
{
}
PathFinding::~PathFinding()
{
}
/* algorithm description:
* A breadth-first search in concept (i.e. nodes of the same level are a... | 39.539683 | 136 | 0.73324 | TheNewBob |
f79d89882a4e133036d81cd80eab275c7e030d4c | 373 | cpp | C++ | Competitive Programming/HIAST 2016/A.cpp | NelsonGomesNeto/ProgramC | e743b1b869f58f7f3022d18bac00c5e0b078562e | [
"MIT"
] | 3 | 2018-12-18T13:39:42.000Z | 2021-06-23T18:05:18.000Z | Competitive Programming/HIAST 2016/A.cpp | NelsonGomesNeto/ProgramC | e743b1b869f58f7f3022d18bac00c5e0b078562e | [
"MIT"
] | 1 | 2018-11-02T21:32:40.000Z | 2018-11-02T22:47:12.000Z | Competitive Programming/HIAST 2016/A.cpp | NelsonGomesNeto/ProgramC | e743b1b869f58f7f3022d18bac00c5e0b078562e | [
"MIT"
] | 6 | 2018-10-27T14:07:52.000Z | 2019-11-14T13:49:29.000Z | #include <bits/stdc++.h>
#define lli long long int
int odd(lli n)
{
int divisions = 1;
while (!(n & 1))
{
divisions = 1 - divisions;
n >>= 1;
}
return(divisions);
}
int main()
{
int t; scanf("%d", &t);
while (t --)
{
lli q; scanf("%lld", &q);
if (q & 1 || odd(q)) printf("First Box\n");... | 14.346154 | 47 | 0.506702 | NelsonGomesNeto |
f7a2d59a2adf1ea035d88b7356953b9566647714 | 1,543 | cxx | C++ | src/Cxx/IO/ReadPlainTextTriangles.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 81 | 2020-08-10T01:44:30.000Z | 2022-03-23T06:46:36.000Z | src/Cxx/IO/ReadPlainTextTriangles.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 2 | 2020-09-12T17:33:52.000Z | 2021-04-15T17:33:09.000Z | src/Cxx/IO/ReadPlainTextTriangles.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 27 | 2020-08-17T07:09:30.000Z | 2022-02-15T03:44:58.000Z | #include <vtkCellArray.h>
#include <vtkNew.h>
#include <vtkPoints.h>
#include <vtkPolyData.h>
#include <vtkSmartPointer.h>
#include <vtkXMLPolyDataWriter.h>
#include <iostream>
namespace {
vtkSmartPointer<vtkPolyData> custom_reader(std::ifstream& infile);
}
int main(int argc, char* argv[])
{
// Verify command line... | 23.029851 | 69 | 0.688918 | ajpmaclean |
f7a42a648e47142381fb6ecd7e9cddaeaf3a9802 | 1,870 | cpp | C++ | libcaf_core/src/type_id.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 4 | 2019-05-03T05:38:15.000Z | 2020-08-25T15:23:19.000Z | libcaf_core/src/type_id.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/src/type_id.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 46.75 | 80 | 0.389305 | jsiwek |
f7a7497fbf59967b2c82779151843763f23fc01d | 7,951 | cpp | C++ | Application/WinMain.cpp | clayne/Dx11Base | 497ba82ded6c6beb169446ce03df328b984b6751 | [
"MIT"
] | 84 | 2017-05-07T05:16:54.000Z | 2022-01-31T07:29:53.000Z | Application/WinMain.cpp | clayne/Dx11Base | 497ba82ded6c6beb169446ce03df328b984b6751 | [
"MIT"
] | 1 | 2019-02-02T18:00:20.000Z | 2019-02-02T18:31:41.000Z | Application/WinMain.cpp | clayne/Dx11Base | 497ba82ded6c6beb169446ce03df328b984b6751 | [
"MIT"
] | 14 | 2018-04-16T19:09:28.000Z | 2021-09-26T06:05:27.000Z |
#include "Dx11Base/WindowHelper.h"
#include "Dx11Base/Dx11Device.h"
#include "Game.h"
#include <imgui.h>
#include "imgui\examples\imgui_impl_dx11.h"
#include "imgui\examples\imgui_impl_win32.h"
// Declaration of a Imgui function we need (see imgui_impl_win32.h)
IMGUI_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND... | 31.677291 | 248 | 0.672871 | clayne |
f7ab5ff71871d1c348648ef6484f0bff047b4a38 | 51,722 | cc | C++ | src/xenia/ui/window_win.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | 1 | 2022-03-21T07:35:46.000Z | 2022-03-21T07:35:46.000Z | src/xenia/ui/window_win.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/ui/window_win.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | null | null | null | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2022 Ben Vanik. All rights reserved. ... | 38.569724 | 80 | 0.680059 | amessier |
f7acb0cf43b566c72b3399e639d41bdf13fbf701 | 2,424 | hpp | C++ | allocgc/include/liballocgc/details/utils/math.hpp | eucpp/allocgc | 8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef | [
"Apache-2.0"
] | null | null | null | allocgc/include/liballocgc/details/utils/math.hpp | eucpp/allocgc | 8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef | [
"Apache-2.0"
] | 2 | 2017-01-17T16:24:59.000Z | 2017-06-08T17:39:26.000Z | allocgc/include/liballocgc/details/utils/math.hpp | eucpp/allocgc | 8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef | [
"Apache-2.0"
] | null | null | null | #ifndef ALLOCGC_UTIL_H
#define ALLOCGC_UTIL_H
#include <cassert>
#include <cstddef>
#include <climits>
namespace allocgc { namespace details {
constexpr bool check_pow2(size_t n)
{
return (n != 0) && !(n & (n - 1));
}
constexpr size_t pow2(size_t n)
{
return ((size_t) 1) << n;
}
// returns log2 if argument... | 24.484848 | 78 | 0.496287 | eucpp |
f7ad38e4a70693c0c54640e70a3e5e7954f64d65 | 5,088 | cpp | C++ | src/token.cpp | egor-tensin/privilege-test | 0f89e9b752f294e76900ce4c217a875e39e35cc1 | [
"MIT"
] | null | null | null | src/token.cpp | egor-tensin/privilege-test | 0f89e9b752f294e76900ce4c217a875e39e35cc1 | [
"MIT"
] | null | null | null | src/token.cpp | egor-tensin/privilege-test | 0f89e9b752f294e76900ce4c217a875e39e35cc1 | [
"MIT"
] | null | null | null | // Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
// This file is part of the "Privilege check" project.
// For details, see https://github.com/egor-tensin/privilege-check.
// Distributed under the MIT License.
#include "error.hpp"
#include "handle.hpp"
#include "os.hpp"
#include "sid.hpp"
#include <windows.h... | 30.285714 | 92 | 0.623231 | egor-tensin |
f7af32fb415c591e73b5e9a3ad2b0959f362095e | 2,148 | cpp | C++ | main/main.cpp | h1romas4/m5stack-core2-wasm3-as | 15efb19bd02be8585b9f60999c9122142dadaac3 | [
"MIT"
] | null | null | null | main/main.cpp | h1romas4/m5stack-core2-wasm3-as | 15efb19bd02be8585b9f60999c9122142dadaac3 | [
"MIT"
] | null | null | null | main/main.cpp | h1romas4/m5stack-core2-wasm3-as | 15efb19bd02be8585b9f60999c9122142dadaac3 | [
"MIT"
] | null | null | null | #include "M5Core2.h"
#include "Preferences.h"
#include "WiFi.h"
#include "test_freetype.h"
#include "test_wasm3.h"
static const char *TAG = "main.cpp";
/**
* FreeType member
*/
font_render_t font_render;
/**
* Wasm3 member
*/
boolean enable_wasm = false;
void sync_wifi_ntp(void)
{
Preferences preferences;
... | 24.689655 | 103 | 0.602421 | h1romas4 |
f7af5f27538917636a5d0e6b9212b0dfd9841f4a | 2,157 | hpp | C++ | include/nginxconfig/parse.hpp | tgockel/nginxconfig | 57a4a4c00ee4f47b617ba2d7eaceab14ee20fa44 | [
"Apache-2.0"
] | 10 | 2015-02-12T02:42:06.000Z | 2021-06-03T13:14:29.000Z | include/nginxconfig/parse.hpp | tgockel/nginxconfig | 57a4a4c00ee4f47b617ba2d7eaceab14ee20fa44 | [
"Apache-2.0"
] | null | null | null | include/nginxconfig/parse.hpp | tgockel/nginxconfig | 57a4a4c00ee4f47b617ba2d7eaceab14ee20fa44 | [
"Apache-2.0"
] | 4 | 2015-08-04T21:02:53.000Z | 2021-08-05T07:20:38.000Z | /** \file nginxconfig/parse.hpp
* Include this file if you're trying to parse an nginx configuration file.
*
* Copyright (c) 2014 by Travis Gockel. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the Apache License
* as published by the Apa... | 30.814286 | 119 | 0.707464 | tgockel |
f7af7ac10937c7d9822e5dd51200612a5859dc05 | 16,498 | cpp | C++ | src/qt/qtwebkit/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | /*
* Copyright (C) 2007 OpenedHand
* Copyright (C) 2007 Alp Toker <alp@atoker.com>
* Copyright (C) 2009, 2010, 2011, 2012 Igalia S.L
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Fou... | 32.864542 | 175 | 0.71445 | viewdy |
f7b0273836636363af823cae001b5197c9f95934 | 849 | cc | C++ | sample_addon/8_passing_wrapped/node_0.12/addon.cc | Cereceres/SVD- | bac3b8cce5b958aaccc1081ec60ecc5c81b3b2f9 | [
"MIT"
] | 24 | 2018-11-20T14:45:57.000Z | 2021-12-30T13:38:42.000Z | sample_addon/8_passing_wrapped/node_0.12/addon.cc | Cereceres/SVD | bac3b8cce5b958aaccc1081ec60ecc5c81b3b2f9 | [
"MIT"
] | null | null | null | sample_addon/8_passing_wrapped/node_0.12/addon.cc | Cereceres/SVD | bac3b8cce5b958aaccc1081ec60ecc5c81b3b2f9 | [
"MIT"
] | 11 | 2018-11-29T00:09:14.000Z | 2021-11-23T08:13:17.000Z | #include <node.h>
#include <node_object_wrap.h>
#include "myobject.h"
using namespace v8;
void CreateObject(const FunctionCallbackInfo<Value>& args) {
Isolate* isolate = Isolate::GetCurrent();
HandleScope scope(isolate);
MyObject::NewInstance(args);
}
void Add(const FunctionCallbackInfo<Value>& args) {
Isola... | 24.970588 | 60 | 0.709069 | Cereceres |
f7b0fe30596b836d7a625d39c369f4b44948b83d | 1,953 | cpp | C++ | DisplayProperties.cpp | Jacob-Barhak/BIM | 47696894a77585536103129c689c27372dcb3e42 | [
"BSD-2-Clause"
] | 9 | 2017-12-22T08:51:51.000Z | 2021-09-02T08:12:31.000Z | DisplayProperties.cpp | Jacob-Barhak/BIM | 47696894a77585536103129c689c27372dcb3e42 | [
"BSD-2-Clause"
] | null | null | null | DisplayProperties.cpp | Jacob-Barhak/BIM | 47696894a77585536103129c689c27372dcb3e42 | [
"BSD-2-Clause"
] | 3 | 2017-12-22T08:51:53.000Z | 2021-01-25T15:30:37.000Z | /************************************************
This file contains the implementation for the
DisplayProperties class.
In this class, we have the following functions:
default constructor
constructor with an argument
destructor
read display properties from a file
write display properties to a file
*********... | 18.961165 | 64 | 0.491039 | Jacob-Barhak |