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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
92a092fff07525e601f6c144294ed119d47662c1 | 46,076 | cxx | C++ | main/svx/source/sidebar/possize/PosSizePropertyPanel.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svx/source/sidebar/possize/PosSizePropertyPanel.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 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... | 33.029391 | 150 | 0.604197 | Grosskopf |
92a3e1d4806cae5c3d7ca202b9cf2a8d325e996e | 3,059 | cpp | C++ | UVa 1083 - Fare and Balanced/sample/1083 - Fare and Balanced.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 1083 - Fare and Balanced/sample/1083 - Fare and Balanced.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 1083 - Fare and Balanced/sample/1083 - Fare and Balanced.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <vector>
#include <queue>
#include <algorithm>
#include <assert.h>
using namespace std;
struct Edge {
int from, to;
int64_t c;
Edge(int from=0, int to=0, int64_t c=0):
from(from), to(to), c(c) {}
};
const int MAXN ... | 23 | 69 | 0.430206 | tadvi |
92a57ef5e759d6605d43b995e30da1833c5f2339 | 734 | cpp | C++ | lib/src/Flag.cpp | Kylerchrdsn/OOP-Strategoo | da182252ed37eca4c30d7aefa513434abb4a2ff2 | [
"MIT"
] | null | null | null | lib/src/Flag.cpp | Kylerchrdsn/OOP-Strategoo | da182252ed37eca4c30d7aefa513434abb4a2ff2 | [
"MIT"
] | null | null | null | lib/src/Flag.cpp | Kylerchrdsn/OOP-Strategoo | da182252ed37eca4c30d7aefa513434abb4a2ff2 | [
"MIT"
] | null | null | null | /******************************************************
Flag.cpp
This is the implementation file for the Flag
class.
******************************************************/
#include "headers/Flag.h"
//*****************************************************
Flag::Flag(Player* owner, int xPos, int yPos, int... | 31.913043 | 113 | 0.415531 | Kylerchrdsn |
92a6839c1a7fd14a2799534fec331e167a03b54e | 23,292 | cpp | C++ | src/tools/rest-backend/tests/test_service_storageengine.cpp | 0003088/qt-gui-test | 0ceaa19e5d4b50b110047c0b73eb4f79164f4532 | [
"BSD-3-Clause"
] | null | null | null | src/tools/rest-backend/tests/test_service_storageengine.cpp | 0003088/qt-gui-test | 0ceaa19e5d4b50b110047c0b73eb4f79164f4532 | [
"BSD-3-Clause"
] | null | null | null | src/tools/rest-backend/tests/test_service_storageengine.cpp | 0003088/qt-gui-test | 0ceaa19e5d4b50b110047c0b73eb4f79164f4532 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file
*
* @brief tests for the storage service
*
* @copyright BSD License (see doc/LICENSE.md or http://www.libelektra.org)
*/
#include <gtest/gtest.h>
#include <config.hpp>
#include <kdb_includes.hpp>
#include <model_entry.hpp>
#include <model_user.hpp>
#include <service.hpp>
/**
* TESTS for kdbrest::s... | 31.390836 | 133 | 0.686072 | 0003088 |
92a7dd51e820cf25de011412acb3e38f1faad724 | 37,939 | cpp | C++ | Engine/Source/Developer/Profiler/Private/Widgets/SFiltersAndPresets.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Developer/Profiler/Private/Widgets/SFiltersAndPresets.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Developer/Profiler/Private/Widgets/SFiltersAndPresets.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "ProfilerPrivatePCH.h"
#include "SSearchBox.h"
#define LOCTEXT_NAMESPACE "SFiltersAndPresets"
struct SFiltersAndPresetsHelper
{
static const FSlateBrush* GetIconForGroup()
{
return FEditorStyle::GetBrush( TEXT( "Profiler.Misc.GenericGroup" ) )... | 31.432477 | 221 | 0.699518 | PopCap |
92ac653f1ffe2d4ef4b60de2ad61758cf81572e8 | 1,018 | cpp | C++ | ABC/ABC123/D.cpp | rajyan/AtCoder | 2c1187994016d4c19b95489d2f2d2c0eab43dd8e | [
"MIT"
] | 1 | 2021-06-01T17:13:44.000Z | 2021-06-01T17:13:44.000Z | ABC/ABC123/D.cpp | rajyan/AtCoder | 2c1187994016d4c19b95489d2f2d2c0eab43dd8e | [
"MIT"
] | null | null | null | ABC/ABC123/D.cpp | rajyan/AtCoder | 2c1187994016d4c19b95489d2f2d2c0eab43dd8e | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <string>
#include <algorithm>
#include <map>
#include <set>
#include <queue>
#define FOR(idx, begin, end) for(int idx = (int)(begin); idx < (int)(end); ++idx)
#ifdef _DEBUG
#define DMP(x) cerr << #x << ": " << x << "\... | 19.576923 | 81 | 0.561886 | rajyan |
92ad49abdabd7841d02335f02ead881f4afa5eaf | 2,569 | cc | C++ | src/developer/debug/zxdb/symbols/dwarf_lang.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/developer/debug/zxdb/symbols/dwarf_lang.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/developer/debug/zxdb/symbols/dwarf_lang.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/debug/zxdb/symbols/dwarf_lang.h"
namespace zxdb {
bool DwarfLangIsCFamily(DwarfLang lang) {
// clang-format off
return lang =... | 36.183099 | 73 | 0.661736 | allansrc |
92b1144443ce18ad5f19b27b82200db1b051780f | 7,191 | cpp | C++ | src/BabylonCpp/src/gizmos/plane_drag_gizmo.cpp | samdauwe/BabylonCpp | eea9f761a49bb460ff1324c20e4674ef120e94f1 | [
"Apache-2.0"
] | 277 | 2017-05-18T08:27:10.000Z | 2022-03-26T01:31:37.000Z | src/BabylonCpp/src/gizmos/plane_drag_gizmo.cpp | samdauwe/BabylonCpp | eea9f761a49bb460ff1324c20e4674ef120e94f1 | [
"Apache-2.0"
] | 77 | 2017-09-03T15:35:02.000Z | 2022-03-28T18:47:20.000Z | src/BabylonCpp/src/gizmos/plane_drag_gizmo.cpp | samdauwe/BabylonCpp | eea9f761a49bb460ff1324c20e4674ef120e94f1 | [
"Apache-2.0"
] | 37 | 2017-03-30T03:36:24.000Z | 2022-01-28T08:28:36.000Z | #include <babylon/gizmos/plane_drag_gizmo.h>
#include <babylon/babylon_stl_util.h>
#include <babylon/engines/scene.h>
#include <babylon/gizmos/position_gizmo.h>
#include <babylon/lights/hemispheric_light.h>
#include <babylon/materials/standard_material.h>
#include <babylon/meshes/builders/mesh_builder_options.h>
#incl... | 36.688776 | 100 | 0.681129 | samdauwe |
92b27659ae0fc9884ea551f525dc787337b01179 | 534 | hpp | C++ | table/include/item_set.hpp | TheAspiringHacker/Asparserations | 2962c685f5aa36fde966a1ea2a4549401c39ba37 | [
"MIT"
] | 12 | 2017-08-27T21:12:30.000Z | 2018-09-17T05:42:42.000Z | table/include/item_set.hpp | TheAspiringHacker/Asparserations | 2962c685f5aa36fde966a1ea2a4549401c39ba37 | [
"MIT"
] | 1 | 2021-06-16T20:44:33.000Z | 2021-06-16T20:44:33.000Z | table/include/item_set.hpp | TheAspiringHacker/Asparserations | 2962c685f5aa36fde966a1ea2a4549401c39ba37 | [
"MIT"
] | 1 | 2021-07-27T07:42:26.000Z | 2021-07-27T07:42:26.000Z | #ifndef ASPARSERATIONS_TABLE_ITEM_SET_H_
#define ASPARSERATIONS_TABLE_ITEM_SET_H_
#include "item.hpp"
#include <set>
namespace asparserations {
namespace table {
class Item_Set
{
friend bool operator<(const Item_Set&, const Item_Set&);
public:
Item_Set(const std::set<Item>&);
const std... | 20.538462 | 62 | 0.666667 | TheAspiringHacker |
92b39c56d4725cc5af4999bb319eda82e936e79c | 32,603 | cpp | C++ | src/OpenGL/frontend/gl_formats.cpp | kbiElude/VKGL | fffabf412723a3612ba1c5bfeafe1da38062bd18 | [
"MIT"
] | 114 | 2018-08-05T16:26:53.000Z | 2021-12-30T07:28:35.000Z | src/OpenGL/frontend/gl_formats.cpp | kbiElude/VKGL | fffabf412723a3612ba1c5bfeafe1da38062bd18 | [
"MIT"
] | 5 | 2018-08-18T21:16:58.000Z | 2018-11-22T21:50:48.000Z | src/OpenGL/frontend/gl_formats.cpp | kbiElude/VKGL | fffabf412723a3612ba1c5bfeafe1da38062bd18 | [
"MIT"
] | 6 | 2018-08-05T22:32:28.000Z | 2021-10-04T15:39:53.000Z | /* VKGL (c) 2018 Dominik Witczak
*
* This code is licensed under MIT license (see LICENSE.txt for details)
*/
#include "Common/macros.h"
#include "OpenGL/frontend/gl_formats.h"
typedef struct InternalFormatData
{
OpenGL::FormatDataType data_type;
uint32_t n_components;
/* For base and com... | 83.170918 | 240 | 0.52121 | kbiElude |
92b5fdc2de86dc8bea366b6becd7a3a38690d844 | 175 | cpp | C++ | ChronicleLogger/src/main/com/sowrov/util/thread/ThreadLocker.cpp | sowrov/ChronicleLogger | 50678be7e2987211ab976d105fcd8549e5b8744b | [
"Apache-2.0"
] | 1 | 2020-03-05T10:36:48.000Z | 2020-03-05T10:36:48.000Z | ChronicleLogger/src/main/com/sowrov/util/thread/ThreadLocker.cpp | sowrov/ChronicleLogger | 50678be7e2987211ab976d105fcd8549e5b8744b | [
"Apache-2.0"
] | null | null | null | ChronicleLogger/src/main/com/sowrov/util/thread/ThreadLocker.cpp | sowrov/ChronicleLogger | 50678be7e2987211ab976d105fcd8549e5b8744b | [
"Apache-2.0"
] | null | null | null | #include "ThreadLocker.h"
#ifdef _P_THREAD
pthread_mutex_t Global_Mutex_Lock = PTHREAD_MUTEX_INITIALIZER;
#elif defined(_BOOST_THREAD)
boost::mutex Global_Mutex_Lock;
#endif
| 21.875 | 62 | 0.84 | sowrov |
92b8092a9f85b860b199b56c2b1e305758fa1b0e | 1,812 | cpp | C++ | src/NavRouting/SdkModel/NavRoutingRouteModel.cpp | usamakhan049/assignment | 40eb153e8fd74f73ba52ce29417d8220ab744b5d | [
"BSD-2-Clause"
] | 69 | 2017-06-07T10:47:03.000Z | 2022-03-24T08:33:33.000Z | src/NavRouting/SdkModel/NavRoutingRouteModel.cpp | usamakhan049/assignment | 40eb153e8fd74f73ba52ce29417d8220ab744b5d | [
"BSD-2-Clause"
] | 23 | 2017-06-07T10:47:00.000Z | 2020-07-09T10:31:17.000Z | src/NavRouting/SdkModel/NavRoutingRouteModel.cpp | usamakhan049/assignment | 40eb153e8fd74f73ba52ce29417d8220ab744b5d | [
"BSD-2-Clause"
] | 31 | 2017-08-12T13:19:32.000Z | 2022-01-04T20:33:40.000Z | // Copyright eeGeo Ltd (2012-2015), All Rights Reserved
#include "NavRoutingRouteModel.h"
namespace ExampleApp
{
namespace NavRouting
{
namespace SdkModel
{
NavRoutingRouteModel::NavRoutingRouteModel()
: m_duration(0)
, m_distance(0)
{
... | 30.2 | 115 | 0.505519 | usamakhan049 |
92b83bce1d4838000a01a8ef9ab4735c2ff19055 | 5,525 | hpp | C++ | src/libraries/core/db/functionObjects/functionObjectList/functionObjectList.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/db/functionObjects/functionObjectList/functionObjectList.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/db/functionObjects/functionObjectList/functionObjectList.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 30.524862 | 79 | 0.568326 | MrAwesomeRocks |
92bd45d18ef918903db08b75c6e57deeeace48f6 | 2,913 | cc | C++ | test/soa/benchmarks/codegen_test.cc | prg-titech/ikra-cpp | 5b9dc816fe5c63ad1aa7464d3ce9ca612927423d | [
"MIT"
] | 20 | 2017-12-25T16:38:51.000Z | 2022-02-28T10:41:39.000Z | test/soa/benchmarks/codegen_test.cc | prg-titech/ikra-cpp | 5b9dc816fe5c63ad1aa7464d3ce9ca612927423d | [
"MIT"
] | 1 | 2017-11-25T06:08:35.000Z | 2017-11-25T06:08:35.000Z | test/soa/benchmarks/codegen_test.cc | prg-titech/ikra-cpp | 5b9dc816fe5c63ad1aa7464d3ce9ca612927423d | [
"MIT"
] | null | null | null | // This is a minimal test case whose purpose is to check if the compiler
// generates efficient assembly code. Should be built with -O3 optimization
// and not through Bazel (is not set up to generate such optimized code).
#include <stdio.h>
#define NDEBUG // No asserts.
#include "soa/soa.h"
#include "soa/storage.... | 21.577778 | 75 | 0.709578 | prg-titech |
92bee56ecc80bf9553166f15e34a53e576ba9213 | 3,371 | cpp | C++ | src/baxter_collaboration/baxter_collaboration_lib/src/robot_interface/gripper.cpp | UCRoboticsLab/BaxterTictactoe | 34e4761467af3dc7c9ad65726360e0d1f1923c51 | [
"Apache-2.0"
] | 1 | 2017-12-22T20:32:04.000Z | 2017-12-22T20:32:04.000Z | src/baxter_collaboration/baxter_collaboration_lib/src/robot_interface/gripper.cpp | u3099811/BaxterTictacToe | 967ab0ea8496ca4ce54db41b20c05de68cfe1bb9 | [
"Apache-2.0"
] | 2 | 2017-08-16T00:18:52.000Z | 2017-08-16T04:30:05.000Z | src/baxter_collaboration/baxter_collaboration_lib/src/robot_interface/gripper.cpp | u3099811/BaxterTictacToe | 967ab0ea8496ca4ce54db41b20c05de68cfe1bb9 | [
"Apache-2.0"
] | null | null | null | #include "robot_interface/gripper.h"
#include <iostream>
using namespace baxter_core_msgs;
using namespace std;
Gripper::Gripper(std::string limb, bool no_robot) :
_limb(limb), _no_robot(no_robot), _first_run(true)
{
if (no_robot) return;
_pub_command = _nh.advertise<EndEffectorCommand>(
... | 22.931973 | 123 | 0.661228 | UCRoboticsLab |
92bf7d31bc4c58b0562703293346ffdce4311edb | 8,873 | cpp | C++ | src/output_wasapi.cpp | Energy0124/freepiano | 7ddaaff5a0712b811f24b7bc42f07abeefcb659c | [
"BSD-3-Clause"
] | 54 | 2018-08-09T16:16:13.000Z | 2022-03-29T08:50:26.000Z | src/output_wasapi.cpp | luotuo/freepiano | 7ddaaff5a0712b811f24b7bc42f07abeefcb659c | [
"BSD-3-Clause"
] | null | null | null | src/output_wasapi.cpp | luotuo/freepiano | 7ddaaff5a0712b811f24b7bc42f07abeefcb659c | [
"BSD-3-Clause"
] | 16 | 2018-08-09T16:16:15.000Z | 2022-03-20T09:47:51.000Z | #include "pch.h"
#include <mmreg.h>
#include <mmsystem.h>
#include <mmdeviceapi.h>
#include <audioclient.h>
#include <mbctype.h>
#include "output_wasapi.h"
#include "synthesizer_vst.h"
#include "display.h"
#include "song.h"
#include "config.h"
#include "export.h"
// pkey
static const PROPERTYKEY PKEY_D... | 27.902516 | 150 | 0.627409 | Energy0124 |
92c1746c8d3a8d16fb209eedc62b2e190decd3cf | 1,142 | cpp | C++ | src/Utils/mpcdiUtils.cpp | scaredyfish/MPCDI | 1ddbc9abf99d39d4464afa2005934c325443cf28 | [
"BSD-3-Clause"
] | 3 | 2021-03-09T01:57:37.000Z | 2021-05-07T08:40:41.000Z | src/Utils/mpcdiUtils.cpp | scaredyfish/MPCDI | 1ddbc9abf99d39d4464afa2005934c325443cf28 | [
"BSD-3-Clause"
] | 1 | 2021-06-01T07:52:36.000Z | 2021-06-03T00:54:49.000Z | src/Utils/mpcdiUtils.cpp | scaredyfish/MPCDI | 1ddbc9abf99d39d4464afa2005934c325443cf28 | [
"BSD-3-Clause"
] | 4 | 2020-06-22T14:14:15.000Z | 2021-11-11T14:34:42.000Z | /* =========================================================================
Program: MPCDI Library
Language: C++
Date: $Date: 2012-08-22 20:19:58 -0400 (Wed, 22 Aug 2012) $
Version: $Revision: 19513 $
Copyright (c) 2013 Scalable Display Technologies, Inc.
All Rights Reserved.
The MPCDI Librar... | 27.853659 | 86 | 0.60683 | scaredyfish |
92c2194c831fa6102456e80f868b6c6f385ccb51 | 1,508 | cpp | C++ | ex03/main.cpp | Gundul42/CPP_mod03 | 822c83ebca93e9a519bc8629c58ac39ef02365d6 | [
"MIT"
] | null | null | null | ex03/main.cpp | Gundul42/CPP_mod03 | 822c83ebca93e9a519bc8629c58ac39ef02365d6 | [
"MIT"
] | null | null | null | ex03/main.cpp | Gundul42/CPP_mod03 | 822c83ebca93e9a519bc8629c58ac39ef02365d6 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | 31.416667 | 80 | 0.322944 | Gundul42 |
92c35370d69641889736865a3d06ccea318d9824 | 8,562 | inl | C++ | src/core/containers/internal/hash_map.inl | JakubLukas/NewEngine | 38ea585a37347ec0630673b9d4a7f948e4dc1477 | [
"MIT"
] | 4 | 2017-10-04T11:38:48.000Z | 2021-11-16T20:35:37.000Z | src/core/containers/internal/hash_map.inl | JakubLukas/NewEngine | 38ea585a37347ec0630673b9d4a7f948e4dc1477 | [
"MIT"
] | 4 | 2018-06-07T23:27:02.000Z | 2018-10-18T12:19:57.000Z | src/core/containers/internal/hash_map.inl | JakubLukas/NewEngine | 38ea585a37347ec0630673b9d4a7f948e4dc1477 | [
"MIT"
] | null | null | null |
namespace Veng
{
template<class KeyType, class ValueType, class Hasher>
HashMap<KeyType, ValueType, Hasher>::HashNode::HashNode(const KeyType& key, const ValueType& value)
: key(key)
, value(value)
, next(INVALID_INDEX)
{}
template<class KeyType, class ValueType, class Hasher>
HashMap<KeyType, ValueType, Hasher>... | 26.103659 | 176 | 0.726583 | JakubLukas |
92c3decbf871b019c6694afd8c9bea1858e7186f | 968 | cpp | C++ | PlacementQuestions/OYO/decodingbottomup.cpp | UltraProton/Placement-Prepration | cc70f174c4410c254ce0469737a884fffdc81164 | [
"MIT"
] | null | null | null | PlacementQuestions/OYO/decodingbottomup.cpp | UltraProton/Placement-Prepration | cc70f174c4410c254ce0469737a884fffdc81164 | [
"MIT"
] | 3 | 2020-05-08T18:02:51.000Z | 2020-05-09T08:37:35.000Z | PlacementQuestions/OYO/decodingbottomup.cpp | UltraProton/PlacementPrep | cc70f174c4410c254ce0469737a884fffdc81164 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int decodings(string &str);
int main(){
string str="";
cin>>str;
cout<<decodings(str)<<endl;
return 0;
}
int decodings(string &str){
int n=str.size();
/*
Here just do the reverse process of memoization and get the ans in the bottom ... | 24.2 | 138 | 0.578512 | UltraProton |
92c44819ec2878a97e864ef8ba12077f9b4084e3 | 731 | cpp | C++ | cpp/src/main/data_generators/TimeframeDataGenerator.cpp | fbobee/Alpenglow | 5f956511017c1bee72390aaecd964c04d8ad4b45 | [
"Apache-2.0"
] | 28 | 2017-07-23T22:47:44.000Z | 2022-03-12T15:11:13.000Z | cpp/src/main/data_generators/TimeframeDataGenerator.cpp | fbobee/Alpenglow | 5f956511017c1bee72390aaecd964c04d8ad4b45 | [
"Apache-2.0"
] | 4 | 2017-05-10T10:23:17.000Z | 2019-05-23T14:07:09.000Z | cpp/src/main/data_generators/TimeframeDataGenerator.cpp | fbobee/Alpenglow | 5f956511017c1bee72390aaecd964c04d8ad4b45 | [
"Apache-2.0"
] | 9 | 2017-05-04T09:20:58.000Z | 2021-12-14T08:19:01.000Z | #include "TimeframeDataGenerator.h"
RecommenderData* TimeframeDataGenerator::generate_recommender_data(RecDat*){
local_recommender_data_.clear();
double now = recommender_data_iterator_->get_actual()->time;
double timeframe_begin=now-timeframe_length_;
vector<RecDat>* train_data = local_recommender_data_.get_r... | 45.6875 | 126 | 0.793434 | fbobee |
92c4de0efac80a39026d318d969880de4dc60da2 | 4,966 | cpp | C++ | aws-cpp-sdk-inspector2/source/model/Ec2InstanceAggregation.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-inspector2/source/model/Ec2InstanceAggregation.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-inspector2/source/model/Ec2InstanceAggregation.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/inspector2/model/Ec2InstanceAggregation.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace A... | 29.384615 | 130 | 0.751108 | perfectrecall |
92c53c9df52cadbe122e3624411e3485c05c45f3 | 1,587 | hpp | C++ | include/nifty/meta/tuple.hpp | DerThorsten/nifty_meta | d31d35f54b8bf252518bee18eacaa696fee82e9b | [
"MIT"
] | null | null | null | include/nifty/meta/tuple.hpp | DerThorsten/nifty_meta | d31d35f54b8bf252518bee18eacaa696fee82e9b | [
"MIT"
] | null | null | null | include/nifty/meta/tuple.hpp | DerThorsten/nifty_meta | d31d35f54b8bf252518bee18eacaa696fee82e9b | [
"MIT"
] | null | null | null | #pragma once
#include <utility>
#include <tuple>
#include <type_traits>
#include "nifty/meta/integral_constant.hpp"
namespace nifty{
namespace meta{
// find the position of a type in a tuple
template <class T, class Tuple>
struct TupleTypeIndex;
template <class T, class... Types>
struct TupleTy... | 24.415385 | 90 | 0.626969 | DerThorsten |
92c6ba5a053d1160281fff124d7e8af06a1982bc | 2,579 | cpp | C++ | Gems/SceneLoggingExample/Code/SceneLoggingExampleModule.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-08-08T19:54:51.000Z | 2021-08-08T19:54:51.000Z | Gems/SceneLoggingExample/Code/SceneLoggingExampleModule.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-01-13T04:29:38.000Z | 2022-03-12T01:05:31.000Z | Gems/SceneLoggingExample/Code/SceneLoggingExampleModule.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <IGem.h>
#include <AzCore/Module/DynamicModuleHandle.h>
#include <Behaviors/LoggingGroupB... | 41.596774 | 103 | 0.700271 | cypherdotXd |
92c86eff570db4bfbf5327d180ddc0796b1655e6 | 1,379 | cpp | C++ | tests/channels.cpp | DEGoodmanWilson/plaidapi | ae993f45865811b8480e74466c3de88954f25b69 | [
"MIT"
] | 29 | 2015-12-21T21:46:10.000Z | 2021-05-03T19:09:27.000Z | tests/channels.cpp | DEGoodmanWilson/cpp-slack-client | ae993f45865811b8480e74466c3de88954f25b69 | [
"MIT"
] | 4 | 2016-07-10T04:22:25.000Z | 2018-02-08T18:33:40.000Z | tests/channels.cpp | DEGoodmanWilson/cpp-slack-client | ae993f45865811b8480e74466c3de88954f25b69 | [
"MIT"
] | 7 | 2017-08-16T17:00:11.000Z | 2019-09-20T05:53:31.000Z | //
// engine
//
// Copyright © 2015–2016 D.E. Goodman-Wilson. All rights reserved.
//
#include <gtest/gtest.h>
#include <slack/slack.h>
#include <random>
#include "environment.h"
slack::channel_id id;
TEST(channels, channels_list_basic)
{
auto result = env->slack.channels.list();
ASSERT_TRUE(result);
ASS... | 26.519231 | 102 | 0.68673 | DEGoodmanWilson |
92c886868c9ee688b61549cd38d011f4d4e9cc10 | 4,506 | cpp | C++ | src/mongo/dbtests/counttests.cpp | corefan/mongo | c949cad1fa6e4cb26693748b1751f4fd2e6113b8 | [
"Apache-2.0"
] | null | null | null | src/mongo/dbtests/counttests.cpp | corefan/mongo | c949cad1fa6e4cb26693748b1751f4fd2e6113b8 | [
"Apache-2.0"
] | null | null | null | src/mongo/dbtests/counttests.cpp | corefan/mongo | c949cad1fa6e4cb26693748b1751f4fd2e6113b8 | [
"Apache-2.0"
] | 1 | 2021-02-28T12:03:02.000Z | 2021-02-28T12:03:02.000Z | // counttests.cpp : count.{h,cpp} unit tests.
/**
* Copyright (C) 2008 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is... | 31.51049 | 97 | 0.46893 | corefan |
92c8fb05fa571187ba977c80c16b54df073d7bc5 | 771 | cc | C++ | src/InsetOp.cc | pbrier/Mandoline | bb517e7e5ba531d4e20c2474a53ee521dd1d1642 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2017-01-05T06:40:55.000Z | 2017-01-05T06:40:55.000Z | src/InsetOp.cc | pbrier/Mandoline | bb517e7e5ba531d4e20c2474a53ee521dd1d1642 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/InsetOp.cc | pbrier/Mandoline | bb517e7e5ba531d4e20c2474a53ee521dd1d1642 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | //
// InsetOp.cc
// Mandoline
//
// Created by GM on 11/24/10.
// Copyright 2010 Belfry DevWorks. All rights reserved.
//
#include "InsetOp.h"
#include "BGL/BGL.h"
#include "SlicingContext.h"
#include "CarvedSlice.h"
InsetOp::~InsetOp()
{
}
void InsetOp::main()
{
if ( isCancelled ) return;
if ( NULL ... | 17.930233 | 63 | 0.642023 | pbrier |
92ca45d952b728252016469f97d12fc89da27889 | 1,020 | cpp | C++ | src/test_suites/oclc/oclc_attribute_qualifiers/src/aligned.cpp | intel/cassian | 8e9594f053f9b9464066c8002297346580e4aa2a | [
"MIT"
] | 1 | 2021-10-05T14:15:34.000Z | 2021-10-05T14:15:34.000Z | src/test_suites/oclc/oclc_attribute_qualifiers/src/aligned.cpp | intel/cassian | 8e9594f053f9b9464066c8002297346580e4aa2a | [
"MIT"
] | null | null | null | src/test_suites/oclc/oclc_attribute_qualifiers/src/aligned.cpp | intel/cassian | 8e9594f053f9b9464066c8002297346580e4aa2a | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "common.hpp"
#include "test_config.hpp"
#include <cassian/cli/cli.hpp>
#include <cassian/runtime/runtime.hpp>
#include <cassian/utility/utility.hpp>
#include <catch2/catch.hpp>
#include <cstdint>
#include <numeric>
#include <... | 26.153846 | 79 | 0.716667 | intel |
92cba6c170fecd7e2b901c7d0f2beb71fa644f35 | 8,542 | hpp | C++ | dakota-6.3.0.Windows.x86/include/HOPSPACK_GssPoint.hpp | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | null | null | null | dakota-6.3.0.Windows.x86/include/HOPSPACK_GssPoint.hpp | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | null | null | null | dakota-6.3.0.Windows.x86/include/HOPSPACK_GssPoint.hpp | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | 1 | 2022-03-18T14:13:14.000Z | 2022-03-18T14:13:14.000Z | // $Id: HOPSPACK_GssPoint.hpp 149 2009-11-12 02:40:41Z tplante $
// $URL: https://software.sandia.gov/svn/hopspack/tags/dakota-6.3/src/src-citizens/citizen-gss/HOPSPACK_GssPoint.hpp $
//@HEADER
// ************************************************************************
//
// HOPSPACK: Hybrid Optimization Para... | 40.103286 | 118 | 0.629127 | seakers |
92ce80dee32381fbf4485023ff9bb4205014b7fe | 320 | hpp | C++ | include/Resources.hpp | iElden/GameJam2019 | fc013ac865e62ad9e815734ebca7bc2371febaff | [
"MIT"
] | 5 | 2019-01-25T18:21:55.000Z | 2019-01-29T08:44:54.000Z | include/Resources.hpp | iElden/GameJam2019 | fc013ac865e62ad9e815734ebca7bc2371febaff | [
"MIT"
] | null | null | null | include/Resources.hpp | iElden/GameJam2019 | fc013ac865e62ad9e815734ebca7bc2371febaff | [
"MIT"
] | null | null | null | //
// Created by Andgel on 25/01/2019.
//
#ifndef GRANDMATD_RESOURCES_HPP
#define GRANDMATD_RESOURCES_HPP
#include <vector>
namespace gtd {
struct Food {
enum Type {
Any,
GlutenFree = 0,
Vegan = 0,
Carnivore = 0,
NbOfTypes
};
std::vector<double> stock;
};
}
#endif //GRANDMATD_RESOURCES_HPP
| 12.307692 | 35 | 0.665625 | iElden |
92d2a9768ca8e325449061abc08f2601190a0678 | 1,264 | cpp | C++ | engine/src/Threading/WorkerThread.cpp | Husenap/Wraith | 79bdfdda77a97ee2859ea2455647b59700e22753 | [
"MIT"
] | 1 | 2021-06-27T14:46:46.000Z | 2021-06-27T14:46:46.000Z | engine/src/Threading/WorkerThread.cpp | Husenap/2DGE | 79bdfdda77a97ee2859ea2455647b59700e22753 | [
"MIT"
] | 19 | 2021-10-29T19:20:40.000Z | 2021-12-20T01:18:34.000Z | engine/src/Threading/WorkerThread.cpp | KyaZero/Wraith | 6e084f46c3c6ca1bcbedb7950d33d10b546e6454 | [
"MIT"
] | 1 | 2021-06-27T15:09:52.000Z | 2021-06-27T15:09:52.000Z | #include "WorkerThread.h"
#include "Engine.h"
namespace Wraith
{
WorkerThread::WorkerThread(const std::string& id)
: Thread(id)
{
Clear();
}
WorkerThread::~WorkerThread() { }
void WorkerThread::Clear()
{
m_ProjectedTime = 0;
m_QueuedJobs.clear();
}
vo... | 21.066667 | 80 | 0.522943 | Husenap |
92d4102f3c57548f3009437cd233061ce61c065c | 4,684 | cpp | C++ | src/slg/textures/triplanar.cpp | julescmay/LuxCore | 3a6233f37afaf064300f52854715c0ab9ca2103e | [
"Apache-2.0"
] | 826 | 2017-12-12T15:38:16.000Z | 2022-03-28T07:12:40.000Z | src/slg/textures/triplanar.cpp | julescmay/LuxCore | 3a6233f37afaf064300f52854715c0ab9ca2103e | [
"Apache-2.0"
] | 531 | 2017-12-03T17:21:06.000Z | 2022-03-20T19:22:11.000Z | src/slg/textures/triplanar.cpp | julescmay/LuxCore | 3a6233f37afaf064300f52854715c0ab9ca2103e | [
"Apache-2.0"
] | 133 | 2017-12-13T18:46:10.000Z | 2022-03-27T16:21:00.000Z | /***************************************************************************
* Copyright 1998-2020 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... | 40.034188 | 111 | 0.596926 | julescmay |
92d7471ba22507bd808e06cfc9cc30a49bf903a6 | 8,606 | cpp | C++ | SurgSim/Devices/MultiAxis/UnitTests/RawMultiAxisDeviceTest.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 24 | 2015-01-19T16:18:59.000Z | 2022-03-13T03:29:11.000Z | SurgSim/Devices/MultiAxis/UnitTests/RawMultiAxisDeviceTest.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 3 | 2018-12-21T14:54:08.000Z | 2022-03-14T12:38:07.000Z | SurgSim/Devices/MultiAxis/UnitTests/RawMultiAxisDeviceTest.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 8 | 2015-04-10T19:45:36.000Z | 2022-02-02T17:00:59.000Z | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | 40.214953 | 111 | 0.765629 | dbungert |
92da1c435775bc9520949451a04473e003db78f7 | 1,676 | cpp | C++ | bitbots_throw_engine/src/throws/throw_curves/throw_movement_position_only.cpp | 5reichar/bitbots_kick_engine | 0817f4f0a206de6f0f01a0cedfe201f62e677a11 | [
"BSD-3-Clause"
] | null | null | null | bitbots_throw_engine/src/throws/throw_curves/throw_movement_position_only.cpp | 5reichar/bitbots_kick_engine | 0817f4f0a206de6f0f01a0cedfe201f62e677a11 | [
"BSD-3-Clause"
] | null | null | null | bitbots_throw_engine/src/throws/throw_curves/throw_movement_position_only.cpp | 5reichar/bitbots_kick_engine | 0817f4f0a206de6f0f01a0cedfe201f62e677a11 | [
"BSD-3-Clause"
] | null | null | null | #include "throws/throw_curves/throw_movement_position_only.h"
namespace bitbots_throw{
ThrowMovementPositionOnly::ThrowMovementPositionOnly(std::shared_ptr<ThrowMaterial> material)
: ThrowMovement(material){
}
void ThrowMovementPositionOnly::add_movement_prepare_throw(){
throw_start_t... | 42.974359 | 97 | 0.73389 | 5reichar |
92ddce5f43a5131e26d6b3cb705efcb8c1bfe597 | 82 | cpp | C++ | 1-15/thefunction.cpp | domijin/ComPhy | 0dea6d7b09eb4880b7f2d8f55c321c827e713488 | [
"MIT"
] | null | null | null | 1-15/thefunction.cpp | domijin/ComPhy | 0dea6d7b09eb4880b7f2d8f55c321c827e713488 | [
"MIT"
] | null | null | null | 1-15/thefunction.cpp | domijin/ComPhy | 0dea6d7b09eb4880b7f2d8f55c321c827e713488 | [
"MIT"
] | null | null | null | #include<math.h>
double cubeandmult(double u, double v)
{
return(pow(u,3)*v);
}
| 13.666667 | 38 | 0.670732 | domijin |
92dfb4364f3f1b724689b74edb8cb2b31bac747a | 43,626 | cpp | C++ | 3rdParty/iresearch/tests/search/sort_tests.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 1 | 2020-07-30T23:33:02.000Z | 2020-07-30T23:33:02.000Z | 3rdParty/iresearch/tests/search/sort_tests.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | null | null | null | 3rdParty/iresearch/tests/search/sort_tests.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 1 | 2020-10-01T08:49:12.000Z | 2020-10-01T08:49:12.000Z | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2017 ArangoDB GmbH, Cologne, Germany
///
/// 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 o... | 34.956731 | 138 | 0.650667 | rajeev02101987 |
92e010291c2ea4a5cc83c09327e575f3bde61fe4 | 627 | cpp | C++ | 1128_N_Queens_Puzzle/1128_N_Queens_Puzzle/1128_N_Queens_Puzzle.cpp | Iluvata/PAT-Advanced-Level-Practice | 08a02e82eef30c81ed9ef8e4f327f7b2a9535582 | [
"MIT"
] | 2 | 2020-10-17T12:26:42.000Z | 2021-11-12T08:47:10.000Z | 1128_N_Queens_Puzzle/1128_N_Queens_Puzzle/1128_N_Queens_Puzzle.cpp | Iluvata/PAT-Advanced-Level-Practice | 08a02e82eef30c81ed9ef8e4f327f7b2a9535582 | [
"MIT"
] | 1 | 2020-10-19T11:31:55.000Z | 2020-10-19T11:31:55.000Z | 1128_N_Queens_Puzzle/1128_N_Queens_Puzzle/1128_N_Queens_Puzzle.cpp | Iluvata/PAT-Advanced-Level-Practice | 08a02e82eef30c81ed9ef8e4f327f7b2a9535582 | [
"MIT"
] | 1 | 2020-10-18T01:08:34.000Z | 2020-10-18T01:08:34.000Z | // 1128_N_Queens_Puzzle.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include "pch.h"
#include <iostream>
#include <vector>
#include <cmath>
#include <map>
using namespace std;
int main()
{
int k, n;
cin >> k;
for (int i = 0; i < k; ++i) {
cin >> n;
vector<bool> row(n + 1, false);
map<int, bool> diagsum;
map<... | 16.945946 | 61 | 0.527911 | Iluvata |
2baf016f451c314c8757506b9861d33fd0efd790 | 34,785 | cpp | C++ | aoiduino/esp-esp8266.cpp | gunjouinc/Aoiduino | f2b954010672d60bec69d6019cd1e77a14d21046 | [
"MIT"
] | null | null | null | aoiduino/esp-esp8266.cpp | gunjouinc/Aoiduino | f2b954010672d60bec69d6019cd1e77a14d21046 | [
"MIT"
] | null | null | null | aoiduino/esp-esp8266.cpp | gunjouinc/Aoiduino | f2b954010672d60bec69d6019cd1e77a14d21046 | [
"MIT"
] | null | null | null | /******************************************************************************
**
** Copyright 2009-2020 Gunjou Inc. All rights reserved.
** Contact: Gunjou Inc. (information@gunjou.co.jp)
**
** This software is released under the MIT License.
** https://github.com/gunjouinc/Aoiduino/blob/master/LICENSE
**
***********... | 27.629071 | 120 | 0.43812 | gunjouinc |
2bb0e4b01eb05a6a8ba1ded0a5f2b6258a848804 | 2,487 | cpp | C++ | hw4/src/lib/sema/SymbolTable.cpp | idoleat/P-Language-Compiler-CourseProject | 57db735b349a0a3a30d78b927953e2d44b7c7d53 | [
"MIT"
] | 7 | 2020-09-10T16:54:49.000Z | 2022-03-15T12:39:23.000Z | hw4/src/lib/sema/SymbolTable.cpp | idoleat/simple-P-compiler | 57db735b349a0a3a30d78b927953e2d44b7c7d53 | [
"MIT"
] | null | null | null | hw4/src/lib/sema/SymbolTable.cpp | idoleat/simple-P-compiler | 57db735b349a0a3a30d78b927953e2d44b7c7d53 | [
"MIT"
] | null | null | null | #include "sema/SemanticAnalyzer.hpp"
/*
std::unordered_map<std::string, SemanticAnalyzer::SymbolEntry *>::iterator SemanticAnalyzer::SymbolTable::addSymbol(const char *name, int kind, uint32_t level, const char *type, int attribute){
dumpList.push_back(name);
return insert(name, new SymbolEntry(name, kind, leve... | 42.87931 | 201 | 0.741053 | idoleat |
2bb251b150d7c580d7b5451af22aa93e9d8bb7f1 | 10,234 | cc | C++ | net/disk_cache/v3/block_bitmaps.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/disk_cache/v3/block_bitmaps.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/disk_cache/v3/block_bitmaps.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/disk_cache/block_files.h"
#include "base/atomicops.h"
#include "base/file_util.h"
#include "base/metrics/histogram.h"
#include "base/st... | 30.732733 | 79 | 0.687317 | pozdnyakov |
2bb38f193fc366ae90906435b71efe731f765443 | 7,249 | cpp | C++ | Benchmarks/lud/lud_1_tiling/src/lud.cpp | LemonAndRabbit/rodinia-hls | 097e8cf572a9ab04403c4eb0cfdb042f233f4aea | [
"BSD-2-Clause"
] | 16 | 2020-12-28T15:07:53.000Z | 2022-02-16T08:55:40.000Z | Benchmarks/lud/lud_1_tiling/src/lud.cpp | LemonAndRabbit/rodinia-hls | 097e8cf572a9ab04403c4eb0cfdb042f233f4aea | [
"BSD-2-Clause"
] | null | null | null | Benchmarks/lud/lud_1_tiling/src/lud.cpp | LemonAndRabbit/rodinia-hls | 097e8cf572a9ab04403c4eb0cfdb042f233f4aea | [
"BSD-2-Clause"
] | 6 | 2020-12-28T07:33:08.000Z | 2022-01-13T16:31:22.000Z | #include"lud.h"
#include <iostream>
//Elment with the block BSIZE, diagonal
#define AA(i,j) result[(offset + i) * matrix_dim + j + offset]
//Elment with global index
#define BB(i,j) result[i * matrix_dim + j]
using namespace std;
extern "C"{
void diagonal_load(float* result, float* buffer, int offset){
int i, j;
... | 29.831276 | 130 | 0.473445 | LemonAndRabbit |
2bb70bca0865eccc1abd01bd4004fbefdf209038 | 1,636 | hpp | C++ | menoh/array.hpp | gwtnb/menoh | 7df4100a2e30ea8133a9fd08ead1ea7d46793401 | [
"MIT"
] | null | null | null | menoh/array.hpp | gwtnb/menoh | 7df4100a2e30ea8133a9fd08ead1ea7d46793401 | [
"MIT"
] | null | null | null | menoh/array.hpp | gwtnb/menoh | 7df4100a2e30ea8133a9fd08ead1ea7d46793401 | [
"MIT"
] | null | null | null | #ifndef MENOH_ARRAY_HPP
#define MENOH_ARRAY_HPP
#include <algorithm>
#include <memory>
#include <vector>
#include <menoh/dims.hpp>
#include <menoh/dtype.hpp>
#include <menoh/exception.hpp>
namespace menoh_impl {
class array {
public:
array() = default;
array(dtype_t d, std::vector<int> cons... | 26.819672 | 79 | 0.611247 | gwtnb |
2bb78be9e19739ee70cd0fd08d20d3b9cb48b7e1 | 1,287 | cc | C++ | GeneralUtilities/src/VMInfo.cc | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 1 | 2021-06-23T22:09:28.000Z | 2021-06-23T22:09:28.000Z | GeneralUtilities/src/VMInfo.cc | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 125 | 2020-04-03T13:44:30.000Z | 2021-10-15T21:29:57.000Z | GeneralUtilities/src/VMInfo.cc | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | null | null | null | #include "GeneralUtilities/inc/VMInfo.hh"
#include <array>
#include <fstream>
#include <map>
#include <sstream>
#include <stdexcept>
#include <unistd.h>
namespace {
// Helper function to check the units and return the value.
long parseLine ( std::string const& line,
std::string const& unitExpe... | 23.833333 | 74 | 0.602176 | lborrel |
2bb9375679e453bbb52cceb696885b9fe5125bd0 | 3,125 | ipp | C++ | libember/Headers/ember/glow/impl/GlowParameter.ipp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 78 | 2015-07-31T14:46:38.000Z | 2022-03-28T09:28:28.000Z | libember/Headers/ember/glow/impl/GlowParameter.ipp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 81 | 2015-08-03T07:58:19.000Z | 2022-02-28T16:21:19.000Z | libember/Headers/ember/glow/impl/GlowParameter.ipp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 49 | 2015-08-03T12:53:10.000Z | 2022-03-17T17:25:49.000Z | /*
libember -- C++ 03 implementation of the Ember+ Protocol
Copyright (C) 2012-2016 Lawo GmbH (http://www.lawo.com).
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef __LIBEMBER_GLOW_GLOWPARAMET... | 32.894737 | 142 | 0.64096 | purefunsolutions |
2bbc823dacc872e579598f40345eddda0492ea26 | 1,095 | cpp | C++ | codeforces/A - Edit Distance/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/A - Edit Distance/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/A - Edit Distance/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Nov/29/2019 12:50
* solution_verdict: Accepted language: GNU C++14
* run... | 35.322581 | 111 | 0.389954 | kzvd4729 |
2bbf29d7d690776f16f91246827260af76486411 | 2,333 | hxx | C++ | opencascade/HLRTopoBRep_OutLiner.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/HLRTopoBRep_OutLiner.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/HLRTopoBRep_OutLiner.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | // Created on: 1994-08-03
// Created by: Christophe MARION
// Copyright (c) 1994-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the ... | 25.086022 | 123 | 0.786541 | mgreminger |
2bc03ccbf03b7b3f4f96170fa1423fdfff7cfef1 | 10,301 | cpp | C++ | tests/tensor/test_tensor_io.cpp | lauracanalini/eddl | c5efac642e8e1f99b31dfaaacd0a5a058b09923b | [
"MIT"
] | 30 | 2019-10-11T21:03:43.000Z | 2022-02-17T19:56:15.000Z | tests/tensor/test_tensor_io.cpp | lauracanalini/eddl | c5efac642e8e1f99b31dfaaacd0a5a058b09923b | [
"MIT"
] | 151 | 2019-10-16T06:47:23.000Z | 2022-03-07T15:15:58.000Z | tests/tensor/test_tensor_io.cpp | lauracanalini/eddl | c5efac642e8e1f99b31dfaaacd0a5a058b09923b | [
"MIT"
] | 20 | 2019-10-16T09:37:37.000Z | 2022-02-22T09:47:14.000Z | #include <gtest/gtest.h>
#include <random>
#include <string>
#include "eddl/tensor/tensor.h"
#include "eddl/tensor/nn/tensor_nn.h"
#include "eddl/descriptors/descriptors.h"
using namespace std;
// Demo dataset
static auto *ptr_iris = new float[150*4]{
5.10, 3.50, 1.40, 0.20,
4.90, 3.00, 1.40, 0.20,
... | 29.347578 | 100 | 0.507718 | lauracanalini |
2bc18e603b704b5cd7e08cc5db9102970ac0fcd6 | 1,096 | cpp | C++ | Codeforces/Round-734-Div3/E.cpp | TISparta/competitive-programming-solutions | 31987d4e67bb874bf15653565c6418b5605a20a8 | [
"MIT"
] | 1 | 2018-01-30T13:21:30.000Z | 2018-01-30T13:21:30.000Z | Codeforces/Round-734-Div3/E.cpp | TISparta/competitive-programming-solutions | 31987d4e67bb874bf15653565c6418b5605a20a8 | [
"MIT"
] | null | null | null | Codeforces/Round-734-Div3/E.cpp | TISparta/competitive-programming-solutions | 31987d4e67bb874bf15653565c6418b5605a20a8 | [
"MIT"
] | 1 | 2018-08-29T13:26:50.000Z | 2018-08-29T13:26:50.000Z | // Tags: DP
// Difficulty: 4.5
// Priority: 1
// Date: 23-07-2021
#include <bits/stdc++.h>
#define all(A) begin(A), end(A)
#define rall(A) rbegin(A), rend(A)
#define sz(A) int(A.size())
#define pb push_back
#define mp make_pair
using namespace std;
typedef long long ll;
typedef pair <int, int> pii;
t... | 21.076923 | 87 | 0.494526 | TISparta |
2bc41f310b986fe7940cfe2ab64e3fefd9973fed | 1,017 | hpp | C++ | src/service/MoleculeService.hpp | MichelML/chempp | cba27b910e7cbf626bcd4e1c25e394311e5f74e9 | [
"Apache-2.0"
] | 5 | 2021-05-21T17:15:32.000Z | 2021-07-26T17:38:52.000Z | src/service/MoleculeService.hpp | MichelML/chempp | cba27b910e7cbf626bcd4e1c25e394311e5f74e9 | [
"Apache-2.0"
] | 15 | 2021-05-17T14:24:15.000Z | 2021-08-12T15:30:11.000Z | src/service/MoleculeService.hpp | MichelML/chempp | cba27b910e7cbf626bcd4e1c25e394311e5f74e9 | [
"Apache-2.0"
] | 1 | 2021-06-26T01:07:18.000Z | 2021-06-26T01:07:18.000Z |
#ifndef EXAMPLE_POSTGRESQL_MOLECULESERVICE_HPP
#define EXAMPLE_POSTGRESQL_MOLECULESERVICE_HPP
#include "db/MoleculeDb.hpp"
#include "dto/StatusDto.hpp"
#include "dto/MoleculeDto.hpp"
#include "dto/MoleculesListDto.hpp"
#include "oatpp/web/protocol/http/Http.hpp"
#include "oatpp/core/macro/component.hpp"
class Molec... | 37.666667 | 169 | 0.797443 | MichelML |
2bc42c4bafc9df7ba7729f3a502e5669e9893ba0 | 3,234 | hpp | C++ | qipython/pyguard.hpp | Maelic/libqi-python | d5e250a7ce1b6039bb1f57f750cab51412dfecca | [
"BSD-3-Clause"
] | 7 | 2015-08-12T01:25:11.000Z | 2021-07-15T11:08:34.000Z | qipython/pyguard.hpp | Maelic/libqi-python | d5e250a7ce1b6039bb1f57f750cab51412dfecca | [
"BSD-3-Clause"
] | 10 | 2015-10-01T11:33:53.000Z | 2022-03-23T10:19:33.000Z | qipython/pyguard.hpp | Maelic/libqi-python | d5e250a7ce1b6039bb1f57f750cab51412dfecca | [
"BSD-3-Clause"
] | 7 | 2015-02-24T10:38:52.000Z | 2022-03-14T10:18:26.000Z | /*
** Copyright (C) 2020 SoftBank Robotics Europe
** See COPYING for the license
*/
#pragma once
#ifndef QIPYTHON_GUARD_HPP
#define QIPYTHON_GUARD_HPP
#include <qipython/common.hpp>
#include <ka/typetraits.hpp>
#include <type_traits>
namespace qi
{
namespace py
{
/// DefaultConstructible Guard
/// Procedure<_ (A... | 23.779412 | 90 | 0.653061 | Maelic |
2bc58ddcf7479e5d3006b54cb23426bb1db7b70d | 7,820 | cpp | C++ | src/gui/qt/qt_backend.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | src/gui/qt/qt_backend.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | src/gui/qt/qt_backend.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | /*
* djnn v2
*
* The copyright holders for the contents of this file are:
* Ecole Nationale de l'Aviation Civile, France (2018)
* See file "license.terms" for the rights and conditions
* defined by copyright holders.
*
*
* Contributors:
* Mathieu Magnaudet <mathieu.magnaudet@enac.fr>
*
*/
#i... | 32.995781 | 108 | 0.625575 | alicemona |
2bc7cc8408c2e86201c75f4a22350f032a56f075 | 979 | cpp | C++ | Source/Foundation/bsfCore/Managers/BsMeshManager.cpp | myrgy/bsf | 2c31da99f5763a47c0dee7e2cdb3d4ac3b3c37a6 | [
"MIT"
] | 1 | 2018-04-16T12:14:52.000Z | 2018-04-16T12:14:52.000Z | Source/Foundation/bsfCore/Managers/BsMeshManager.cpp | myrgy/bsf | 2c31da99f5763a47c0dee7e2cdb3d4ac3b3c37a6 | [
"MIT"
] | null | null | null | Source/Foundation/bsfCore/Managers/BsMeshManager.cpp | myrgy/bsf | 2c31da99f5763a47c0dee7e2cdb3d4ac3b3c37a6 | [
"MIT"
] | null | null | null | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "Managers/BsMeshManager.h"
#include "BsCoreApplication.h"
#in... | 28.794118 | 124 | 0.658836 | myrgy |
2bc81063a73e18c00b73fdb550fd89f181f2c024 | 8,210 | cc | C++ | src/Formlsms/rss_expl.cc | asminer/smart | 269747c4578b670e5c3973f93a1e6ec71d95be78 | [
"Apache-2.0"
] | 6 | 2018-05-30T23:02:14.000Z | 2022-01-19T07:30:46.000Z | src/Formlsms/rss_expl.cc | asminer/smart | 269747c4578b670e5c3973f93a1e6ec71d95be78 | [
"Apache-2.0"
] | null | null | null | src/Formlsms/rss_expl.cc | asminer/smart | 269747c4578b670e5c3973f93a1e6ec71d95be78 | [
"Apache-2.0"
] | 2 | 2018-07-13T18:53:27.000Z | 2021-04-12T17:54:02.000Z |
#include <cstdio>
#include "rss_expl.h"
#include "../ExprLib/exprman.h"
#include "../ExprLib/mod_vars.h"
// For ordering states
#include "../include/heap.h"
#include "../Modules/expl_states.h"
// ******************************************************************
// * ... | 29.746377 | 94 | 0.484409 | asminer |
2bc8a6f2fe10326db472411451506169927da2c8 | 357 | cpp | C++ | compiler-rt/test/msan/ftime.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | compiler-rt/test/msan/ftime.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | compiler-rt/test/msan/ftime.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | // RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
// ftime() is deprecated on FreeBSD and NetBSD.
// UNSUPPORTED: freebsd, netbsd
#include <assert.h>
#include <sys/timeb.h>
#include <sanitizer/msan_interface.h>
int main(void) {
struct timeb tb;
int res = ftime(&tb);
assert(!res);
assert(__msan_test_shadow(&t... | 19.833333 | 52 | 0.652661 | medismailben |
2bce03c358b7d9221c58a8ab25166381d8f27de2 | 698 | cc | C++ | cmd/cmd_args.cc | jdb19937/makemore | 61297dd322b3a9bb6cdfdd15e8886383cb490534 | [
"MIT"
] | null | null | null | cmd/cmd_args.cc | jdb19937/makemore | 61297dd322b3a9bb6cdfdd15e8886383cb490534 | [
"MIT"
] | null | null | null | cmd/cmd_args.cc | jdb19937/makemore | 61297dd322b3a9bb6cdfdd15e8886383cb490534 | [
"MIT"
] | null | null | null | #include <system.hh>
#include <urbite.hh>
#include <process.hh>
#include <strutils.hh>
using namespace makemore;
extern "C" void mainmore(Process *);
void mainmore(
Process *process
) {
unsigned int itabn = process->itab.size();
if (itabn < 2)
return;
strvec argext;
if (!process->read(&argext, itabn -... | 19.388889 | 51 | 0.667622 | jdb19937 |
2bcef84f16db5b67460b4be9c6bec13eb5570382 | 122 | cpp | C++ | ACEXML/common/Element_Def_Builder.cpp | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | 16 | 2015-05-11T04:33:44.000Z | 2022-02-15T04:28:39.000Z | ACEXML/common/Element_Def_Builder.cpp | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | null | null | null | ACEXML/common/Element_Def_Builder.cpp | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | 7 | 2015-01-08T16:11:34.000Z | 2021-07-04T16:04:40.000Z | // $Id$
#include "ACEXML/common/Element_Def_Builder.h"
ACEXML_Element_Def_Builder::~ACEXML_Element_Def_Builder ()
{
}
| 12.2 | 58 | 0.762295 | BeiJiaan |
2bd23f8c9b1f6d6f07901780f6f8045644b96d26 | 12,695 | cpp | C++ | ThirdParty/UPnP/Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp | snazy2000/MediaBrowser.Plugins | 8c3a23fc0ce0186dd1ef048bf51a0eb7a1ee42b0 | [
"MIT"
] | 1 | 2021-05-15T16:24:07.000Z | 2021-05-15T16:24:07.000Z | ThirdParty/UPnP/Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp | bllakjakk/MediaBrowser.Plugins | 4b115a832f7f31d752ba0c135c65d570c6220bec | [
"MIT"
] | null | null | null | ThirdParty/UPnP/Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp | bllakjakk/MediaBrowser.Plugins | 4b115a832f7f31d752ba0c135c65d570c6220bec | [
"MIT"
] | null | null | null | /*****************************************************************
|
| Platinum - Synchronous Media Browser
|
| Copyright (c) 2004-2010, Plutinosoft, LLC.
| All rights reserved.
| http://www.plutinosoft.com
|
| This program is free software; you can redistribute it and/or
| modify it under the terms of the GNU Genera... | 38.353474 | 111 | 0.525876 | snazy2000 |
2bd294ab16d7655a50aa5695947407f549e42368 | 4,795 | cpp | C++ | src/pxr/imaging/plugin/hdLava/lavaApiFramebuffer.cpp | cinepost/Falcor | f70bd1d97c064d6f91a017d4409aa2037fd6903a | [
"BSD-3-Clause"
] | null | null | null | src/pxr/imaging/plugin/hdLava/lavaApiFramebuffer.cpp | cinepost/Falcor | f70bd1d97c064d6f91a017d4409aa2037fd6903a | [
"BSD-3-Clause"
] | 2 | 2021-03-02T10:16:06.000Z | 2021-08-13T10:10:21.000Z | src/pxr/imaging/plugin/hdLava/lavaApiFramebuffer.cpp | cinepost/Lava | f70bd1d97c064d6f91a017d4409aa2037fd6903a | [
"BSD-3-Clause"
] | null | null | null | /************************************************************************
Copyright 2020 Advanced Micro Devices, 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... | 29.060606 | 131 | 0.652972 | cinepost |
2bd59c798ec49b645948eba76e89ff8976eb5747 | 2,308 | cpp | C++ | src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | null | null | null | src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | 7 | 2018-03-20T14:23:16.000Z | 2019-04-09T11:57:57.000Z | src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | 7 | 2017-04-28T07:41:01.000Z | 2021-03-15T18:17:20.000Z | #include "_core.h"
namespace autowig
{
typedef ::statiskit::ContinuousUnivariateConditionalDistribution class_type;
class Trampoline : public class_type
{
public:
using ::statiskit::ContinuousUnivariateConditionalDistribution::ContinuousUnivariateConditionalDistribution;
t... | 69.939394 | 355 | 0.811958 | StatisKit |
2bd5f01f06663a342f74b66285a85f87c2949906 | 53,792 | cpp | C++ | src/aes_ni_botan.cpp | GeneralZero/aes-brute-force | 0498afc3e086e3c2ae57a4151e47c1143b944ed6 | [
"Apache-2.0"
] | 4 | 2020-10-18T03:28:56.000Z | 2022-02-22T11:49:29.000Z | src/aes_ni_botan.cpp | GeneralZero/aes-brute-force | 0498afc3e086e3c2ae57a4151e47c1143b944ed6 | [
"Apache-2.0"
] | 4 | 2020-09-23T21:00:51.000Z | 2021-01-15T17:55:21.000Z | src/aes_ni_botan.cpp | GeneralZero/aes-brute-force | 0498afc3e086e3c2ae57a4151e47c1143b944ed6 | [
"Apache-2.0"
] | null | null | null | /*
* AES using AES-NI instructions
* (C) 2009,2012 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <stdint.h>
#include <cstring>
#ifdef __x86_64
#include <wmmintrin.h>
inline void load_le(uint32_t* output, const uint8_t* input, size_t count)
{
//Not dea... | 32.424352 | 115 | 0.667162 | GeneralZero |
2bd79a6efcf241f9c3607775a3638f7dd580c149 | 20,831 | cpp | C++ | src/vulkan/memory.cpp | eundersander/bps3D | be0a725f74df8512204628bde8fcf5ba510f8643 | [
"MIT"
] | 9 | 2021-04-02T17:16:13.000Z | 2022-02-04T19:47:48.000Z | src/vulkan/memory.cpp | eundersander/bps3D | be0a725f74df8512204628bde8fcf5ba510f8643 | [
"MIT"
] | 1 | 2021-06-22T22:27:35.000Z | 2021-06-26T03:42:07.000Z | src/vulkan/memory.cpp | eundersander/bps3D | be0a725f74df8512204628bde8fcf5ba510f8643 | [
"MIT"
] | 1 | 2021-07-26T23:58:53.000Z | 2021-07-26T23:58:53.000Z | #include "memory.hpp"
#include <vulkan/vulkan_core.h>
#include "utils.hpp"
#include "config.hpp"
#include <cstring>
#include <iostream>
using namespace std;
namespace bps3D {
namespace vk {
namespace BufferFlags {
static constexpr VkBufferUsageFlags commonUsage =
VK_BUFFER_USAGE_TRANSFER_DST_BIT;
static const... | 31.998464 | 79 | 0.681052 | eundersander |
2bda52c3a52f8cc9f8c5e5d7d2099af28122dee2 | 20,268 | hh | C++ | graph-tool-2.27/src/graph/inference/blockmodel/graph_blockmodel_partition.hh | Znigneering/CSCI-3154 | bc318efc73d2a80025b98f5b3e4f7e4819e952e4 | [
"MIT"
] | null | null | null | graph-tool-2.27/src/graph/inference/blockmodel/graph_blockmodel_partition.hh | Znigneering/CSCI-3154 | bc318efc73d2a80025b98f5b3e4f7e4819e952e4 | [
"MIT"
] | null | null | null | graph-tool-2.27/src/graph/inference/blockmodel/graph_blockmodel_partition.hh | Znigneering/CSCI-3154 | bc318efc73d2a80025b98f5b3e4f7e4819e952e4 | [
"MIT"
] | null | null | null | // graph-tool -- a general graph modification and manipulation thingy
//
// Copyright (C) 2006-2018 Tiago de Paula Peixoto <tiago@skewed.de>
//
// 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;... | 28.506329 | 87 | 0.433886 | Znigneering |
2bdf37205f44b62d3314760437b00baa263f64ea | 5,437 | cc | C++ | deprected/tests/testUtils.cc | RobertWeber1/cli | 5cb67325610be41014403e9342dddbe942511c2b | [
"MIT"
] | null | null | null | deprected/tests/testUtils.cc | RobertWeber1/cli | 5cb67325610be41014403e9342dddbe942511c2b | [
"MIT"
] | null | null | null | deprected/tests/testUtils.cc | RobertWeber1/cli | 5cb67325610be41014403e9342dddbe942511c2b | [
"MIT"
] | null | null | null | #include "testUtils.h"
namespace CLI
{
std::ostream & operator<<( std::ostream & os, border::Element::Type type )
{
switch(type)
{
case border::Element::NONE:
return os << "NONE";
case border::Element::UNUSED_1:
return os << "UNUSED_1";
case border::Element::UNUSED_2:
r... | 22.654167 | 126 | 0.516093 | RobertWeber1 |
2be0a0591693cedab8027e17ff5eb7b1c8decde3 | 1,090 | cpp | C++ | compiler-rt/test/hwasan/TestCases/hwasan-print-shadow.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 605 | 2019-10-18T01:15:54.000Z | 2022-03-31T14:31:04.000Z | compiler-rt/test/hwasan/TestCases/hwasan-print-shadow.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 3,180 | 2019-10-18T01:21:21.000Z | 2022-03-31T23:25:41.000Z | compiler-rt/test/hwasan/TestCases/hwasan-print-shadow.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 275 | 2019-10-18T05:27:22.000Z | 2022-03-30T09:04:21.000Z | // RUN: %clangxx_hwasan -DSIZE=16 -O0 %s -o %t && %run %t 2>&1 | FileCheck %s
// REQUIRES: stable-runtime
#include <assert.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sanitizer/hwasan_interface.h>
int main() {
char *alloc = (char *)malloc(4096);
// Simulate short granule tags.
alloc[15] = 0x00;
a... | 25.348837 | 77 | 0.588991 | LaudateCorpus1 |
2be19475ad2ab5415710e71a0674f69bf112b811 | 414 | cpp | C++ | string/reverse_str.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | string/reverse_str.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | string/reverse_str.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
char s[] = "nilesh";
int n = sizeof(s) / sizeof(s[0]);
// n i l e s h \0
// | |
// p q
char *p = s;
char *q = s+n-2;
for(int i=0; i<n/2; i++) {
cha... | 12.9375 | 35 | 0.437198 | Nilesh-Das |
2be29870fca8eb3477aa9735f905229a84b70bfc | 1,028 | cpp | C++ | SD/examples/SdDemo_DumpFile.cpp | draperlaboratory/hope-FreeRTOS-RISC-V_Galois_demo | 8607c3d80a8e3e2e0be2570a09eb1623eff7ec31 | [
"Apache-2.0"
] | 3 | 2019-07-29T20:38:15.000Z | 2020-11-23T02:02:43.000Z | SD/examples/SdDemo_DumpFile.cpp | draperlaboratory/hope-FreeRTOS-RISC-V_Galois_demo | 8607c3d80a8e3e2e0be2570a09eb1623eff7ec31 | [
"Apache-2.0"
] | 3 | 2019-02-18T17:38:45.000Z | 2020-12-01T22:42:39.000Z | SD/examples/SdDemo_DumpFile.cpp | draperlaboratory/hope-FreeRTOS-RISC-V_Galois_demo | 8607c3d80a8e3e2e0be2570a09eb1623eff7ec31 | [
"Apache-2.0"
] | 8 | 2019-01-24T01:10:50.000Z | 2020-06-03T10:44:39.000Z | #include "SD.h"
#include <cstdio>
// set up variables using the SD utility library functions:
Sd2Card card;
SdVolume volume;
SdFile root;
extern "C" {
void sd_demo(void);
}
void sd_demo() {
printf("Initializing SD card...\r\n");
// see if the card is present and can be initialized:
if (!SD.begin(0)) {
... | 21.87234 | 66 | 0.600195 | draperlaboratory |
2be38001463a315b44133d37b03d640b82b8033a | 487 | cpp | C++ | c/otros/actividad_3.cpp | joseluis8906/tests | df222f4bbef0ed4a3bfb53ebc2d1fd44179551f4 | [
"MIT"
] | null | null | null | c/otros/actividad_3.cpp | joseluis8906/tests | df222f4bbef0ed4a3bfb53ebc2d1fd44179551f4 | [
"MIT"
] | null | null | null | c/otros/actividad_3.cpp | joseluis8906/tests | df222f4bbef0ed4a3bfb53ebc2d1fd44179551f4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using namespace std;
double celcius_a_fahrenheit (double celcius)
{
double fahrenheit = ((celcius * 9.0)/5.0) + 32.0;
return fahrenheit;
}
//función principal
int main ()
{
double grados_celcius;
cout << "Ingrese los grados celcius para pasarlos a Fahrenh... | 19.48 | 123 | 0.679671 | joseluis8906 |
2be4c5c6a09c112e30d6970ea523b989fcfff30f | 2,164 | cpp | C++ | CppSprtPkg/Library/CppSprtLib.cpp | lvjianmin-loongson/uefi | d6fba2f83e00125ff0362b4583461958d459fb4b | [
"BSD-2-Clause"
] | null | null | null | CppSprtPkg/Library/CppSprtLib.cpp | lvjianmin-loongson/uefi | d6fba2f83e00125ff0362b4583461958d459fb4b | [
"BSD-2-Clause"
] | null | null | null | CppSprtPkg/Library/CppSprtLib.cpp | lvjianmin-loongson/uefi | d6fba2f83e00125ff0362b4583461958d459fb4b | [
"BSD-2-Clause"
] | null | null | null | /*
## @file
#
# Copyright (c) 2018 Loongson Technology Corporation Limited (www.loongson.cn).
# All intellectual property rights(Copyright, Patent and Trademark) reserved.
#
# Any violations of copyright or other intellectual property rights of the Loongson Technology
# Corporation Limited will be held accountable ... | 28.853333 | 127 | 0.738447 | lvjianmin-loongson |
2be9da4048dffd57fe1da32467399d8dd97e9984 | 428 | cc | C++ | CommonTools/RecoAlgos/plugins/CaloMETShallowCloneProducer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 13 | 2015-11-30T15:49:45.000Z | 2022-02-08T16:11:30.000Z | CommonTools/RecoAlgos/plugins/CaloMETShallowCloneProducer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 640 | 2015-02-11T18:55:47.000Z | 2022-03-31T14:12:23.000Z | CommonTools/RecoAlgos/plugins/CaloMETShallowCloneProducer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 51 | 2015-08-11T21:01:40.000Z | 2022-03-30T07:31:34.000Z | #include "DataFormats/EgammaCandidates/interface/ElectronFwd.h"
#include "DataFormats/METReco/interface/CaloMET.h"
#include "DataFormats/METReco/interface/CaloMETCollection.h"
#include "CommonTools/CandAlgos/interface/ShallowCloneProducer.h"
typedef ShallowCloneProducer<reco::CaloMETCollection> CaloMETShallowCloneProd... | 38.909091 | 82 | 0.859813 | ckamtsikis |
2bea4ce280ffbef1824ab318a8ec6f5b5edd4445 | 5,537 | hxx | C++ | Modules/Core/Common/include/itkVector.hxx | khangthk/ITK | f3c12edaf9cef07dbc34107e1a8aec9859204116 | [
"Apache-2.0"
] | null | null | null | Modules/Core/Common/include/itkVector.hxx | khangthk/ITK | f3c12edaf9cef07dbc34107e1a8aec9859204116 | [
"Apache-2.0"
] | null | null | null | Modules/Core/Common/include/itkVector.hxx | khangthk/ITK | f3c12edaf9cef07dbc34107e1a8aec9859204116 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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
*
* https://www.apache.o... | 25.995305 | 112 | 0.669135 | khangthk |
2bed5141d5b0f83313368a1e9bfff1cb8177a4c4 | 1,948 | cpp | C++ | Src/Graph/Geometry.cpp | patrickuhlmann/OpenGL-Scenegraph | 92c8a6fcadc48b185cf27db00474693916bc4802 | [
"MIT"
] | 1 | 2018-12-19T04:34:05.000Z | 2018-12-19T04:34:05.000Z | Src/Graph/Geometry.cpp | patrickuhlmann/OpenGL-Scenegraph | 92c8a6fcadc48b185cf27db00474693916bc4802 | [
"MIT"
] | null | null | null | Src/Graph/Geometry.cpp | patrickuhlmann/OpenGL-Scenegraph | 92c8a6fcadc48b185cf27db00474693916bc4802 | [
"MIT"
] | null | null | null | #include "Geometry.hpp"
/** \brief Initializes a Geometry node visible with a mesh. The node will take the name of the mesh
* \param M Mesh to use in this geometry node. It takes ownership of the mesh and takes care of deleting it at the end
*/
Geometry::Geometry(Mesh* M) : CompositeNode(M->GetName()), Visible(true... | 28.647059 | 141 | 0.698665 | patrickuhlmann |
2bede9ee1af5420271b4f1026fd3a0a900f59688 | 1,911 | hpp | C++ | src/autonomy/compiler/translator_exceptions.hpp | medlefsen/autonomy | ed9da86e9be98dd2505a7f02af9cd4db995e6baf | [
"Artistic-2.0"
] | 2 | 2015-05-31T20:26:51.000Z | 2022-02-19T16:11:14.000Z | src/autonomy/compiler/translator_exceptions.hpp | medlefsen/autonomy | ed9da86e9be98dd2505a7f02af9cd4db995e6baf | [
"Artistic-2.0"
] | null | null | null | src/autonomy/compiler/translator_exceptions.hpp | medlefsen/autonomy | ed9da86e9be98dd2505a7f02af9cd4db995e6baf | [
"Artistic-2.0"
] | null | null | null | //! \file translator_exceptions.hpp
//! \brief Exception classes that may be thrown by the translator.
#ifndef AUTONOMY_COMPILER_TRANSLATOR_EXCEPTIONS_HPP
#define AUTONOMY_COMPILER_TRANSLATOR_EXCEPTIONS_HPP
#include <string>
#include <exception>
#include <autonomy/compiler/parser_ids.hpp>
namespace autonomy
{
na... | 27.3 | 81 | 0.574568 | medlefsen |
2bf728489b29051f8a13d5dd8d4c4903026421c8 | 3,332 | hpp | C++ | Vals.hpp | Galenika/csgo-offsets-finder | 5fd13006bb5fe58bed4f0a35a99142fe5a279c72 | [
"MIT"
] | 2 | 2021-02-26T08:03:30.000Z | 2021-07-14T23:28:41.000Z | Vals.hpp | RequestFX/csgo-offsets-finder | 5fd13006bb5fe58bed4f0a35a99142fe5a279c72 | [
"MIT"
] | null | null | null | Vals.hpp | RequestFX/csgo-offsets-finder | 5fd13006bb5fe58bed4f0a35a99142fe5a279c72 | [
"MIT"
] | 4 | 2021-02-03T20:08:55.000Z | 2021-07-06T17:13:14.000Z | // Made by RequestFX#1541
#pragma once
namespace vals {
namespace signatures {
static long
anim_overlays,
clientstate_choked_commands,
clientstate_delta_ticks,
clientstate_last_outgoing_command,
clientstate_net_channel,
convar_name_hash_table,
dwClientState,
dwClientState_GetL... | 21.088608 | 38 | 0.722689 | Galenika |
9200ede01a9fc2f6478b757bfa5a2122e39b645b | 9,807 | cc | C++ | Code/Components/Synthesis/synthesis/current/measurementequation/ImageDFTEquation.cc | rtobar/askapsoft | 6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | 1 | 2020-06-18T08:37:43.000Z | 2020-06-18T08:37:43.000Z | Code/Components/Synthesis/synthesis/current/measurementequation/ImageDFTEquation.cc | ATNF/askapsoft | d839c052d5c62ad8a511e58cd4b6548491a6006f | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | Code/Components/Synthesis/synthesis/current/measurementequation/ImageDFTEquation.cc | ATNF/askapsoft | d839c052d5c62ad8a511e58cd4b6548491a6006f | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | /// @copyright (c) 2007 CSIRO
/// Australia Telescope National Facility (ATNF)
/// Commonwealth Scientific and Industrial Research Organisation (CSIRO)
/// PO Box 76, Epping NSW 1710, Australia
/// atnf-enquiries@csiro.au
///
/// This file is part of the ASKAP software distribution.
///
/// The ASKAP software distribut... | 32.47351 | 109 | 0.59325 | rtobar |
92029a07389286914c224acb3a5e43ec29bd7f14 | 51,507 | cxx | C++ | src/pn532/pn532.cxx | g-vidal/upm | 8115c3b64468f22fb27053ba9dfc952ae0e32633 | [
"MIT"
] | 2 | 2017-06-19T13:14:30.000Z | 2018-07-12T06:17:49.000Z | src/pn532/pn532.cxx | g-vidal/upm | 8115c3b64468f22fb27053ba9dfc952ae0e32633 | [
"MIT"
] | 1 | 2018-11-13T18:03:56.000Z | 2018-11-14T18:17:57.000Z | src/pn532/pn532.cxx | g-vidal/upm | 8115c3b64468f22fb27053ba9dfc952ae0e32633 | [
"MIT"
] | 4 | 2017-03-06T14:39:59.000Z | 2018-06-28T11:07:41.000Z | /*
* Author: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2015 Intel Corporation.
*
* This code is heavily based on the Adafruit-PN532 library at
* https://github.com/adafruit/Adafruit-PN532, which is licensed under
* the BSD license. See upm/src/pn532/license.txt
*
* Permission is hereby granted, free of cha... | 32.723634 | 138 | 0.537772 | g-vidal |
920480b3726dbde0caf825b1285953e6ea6970b6 | 3,370 | cpp | C++ | EZOJ/1976.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 6 | 2019-09-30T16:11:00.000Z | 2021-11-01T11:42:33.000Z | BZOJ/2286.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-11-21T08:17:42.000Z | 2020-07-28T12:09:52.000Z | EZOJ/1976.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-07-26T05:54:06.000Z | 2020-09-30T13:35:38.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <cctype>
#include <algorithm>
using namespace std;
typedef long long lint;
#define ni (next_num<int>())
#define nl (next_num<lint>())
template<class T>inline T next_num(){
T i=0;char c;
while(!isdigit(c=getchar())&&c!='-');
bool fla... | 18.618785 | 65 | 0.532938 | sshockwave |
92054590491ca2f85f42b5fb39592aef33cdc3aa | 2,018 | cc | C++ | L1Trigger/L1TCalorimeter/src/firmware/Stage1Layer2FlowAlgorithm.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | L1Trigger/L1TCalorimeter/src/firmware/Stage1Layer2FlowAlgorithm.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | L1Trigger/L1TCalorimeter/src/firmware/Stage1Layer2FlowAlgorithm.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | ///
/// \class l1t::Stage1Layer2FlowAlgorithm
///
/// \authors: Maxime Guilbaud
/// R. Alex Barbieri
///
/// Description: Flow Algorithm HI
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "L1Trigger/L1TCalorimeter/interface/Stage1Layer2HFRingSumAlgorithmImp.h"
#include "L1Trigger/L1TCalori... | 33.081967 | 108 | 0.663528 | bisnupriyasahu |
9206c163e41e60d403ea2169a7939ceb6df56bd0 | 1,727 | cpp | C++ | src/prod/src/Common/ExtendedEventMetadata.cpp | leikong/service-fabric | 6b81daab914c8cf02801073fe6b6e5bf97270e9b | [
"MIT"
] | null | null | null | src/prod/src/Common/ExtendedEventMetadata.cpp | leikong/service-fabric | 6b81daab914c8cf02801073fe6b6e5bf97270e9b | [
"MIT"
] | null | null | null | src/prod/src/Common/ExtendedEventMetadata.cpp | leikong/service-fabric | 6b81daab914c8cf02801073fe6b6e5bf97270e9b | [
"MIT"
] | null | null | null | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
namespace... | 35.979167 | 137 | 0.649682 | leikong |
920ebaa82d7448dd16b0f10e1eefa68995698dcc | 11,122 | cc | C++ | third_party/blink/renderer/core/script/script_runner.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/script/script_runner.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/script/script_runner.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 (C) 2010 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions... | 36.706271 | 96 | 0.757957 | mghgroup |
921031d9c560ad272a69d65fc902e40607d9b70e | 617 | cpp | C++ | Engine/src/Core.cpp | njchensl/ASQUI | 285d42a94573457dc7772a6a1d05b06ffb9a6398 | [
"MIT"
] | 1 | 2022-02-11T23:14:31.000Z | 2022-02-11T23:14:31.000Z | Engine/src/Core.cpp | njchensl/ASQUI | 285d42a94573457dc7772a6a1d05b06ffb9a6398 | [
"MIT"
] | null | null | null | Engine/src/Core.cpp | njchensl/ASQUI | 285d42a94573457dc7772a6a1d05b06ffb9a6398 | [
"MIT"
] | null | null | null | #include "Core.h"
namespace AsquiEngine
{
template <>
String GetString<float2>(const float2& vec)
{
return fmt::format("{{x = {}, y = {}}}", vec.x, vec.y);
}
template <>
String GetString<float3>(const float3& vec)
{
return fmt::format("{{x = {}, y = {}, z = {}}}", vec.x, vec.y, vec.z);
}
template <>
String G... | 20.566667 | 93 | 0.554295 | njchensl |
92105c452e6afe0720afa7153119d93b67dffc75 | 9,483 | cpp | C++ | src/engine/logic/entity.cpp | FredTheDino/SpaceCat | e0ac174af72f92994b91480ba20f8d3a6688c29f | [
"MIT"
] | null | null | null | src/engine/logic/entity.cpp | FredTheDino/SpaceCat | e0ac174af72f92994b91480ba20f8d3a6688c29f | [
"MIT"
] | null | null | null | src/engine/logic/entity.cpp | FredTheDino/SpaceCat | e0ac174af72f92994b91480ba20f8d3a6688c29f | [
"MIT"
] | null | null | null | namespace Logic {
bool init_entity() {
// This limits the memory to one arena, just to keep
// tabs on the memory, if you trust this code switch it
// to true to have UNLIMITED entities.
_fog_es.memory = Util::request_arena(false);
_fog_es.next_free = 0;
_fog_es.enti... | 31.61 | 92 | 0.538226 | FredTheDino |
92139c28276bfcdf47c00612ab639d6050b68b9f | 2,906 | cpp | C++ | src/roseExtensions/qtWidgets/QCodeEditWidget/QCodeEdit/widgets/qlinechangepanel.cpp | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | src/roseExtensions/qtWidgets/QCodeEditWidget/QCodeEdit/widgets/qlinechangepanel.cpp | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | src/roseExtensions/qtWidgets/QCodeEditWidget/QCodeEdit/widgets/qlinechangepanel.cpp | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | /****************************************************************************
**
** Copyright (C) 2006-2009 fullmetalcoder <fullmetalcoder@hotmail.fr>
**
** This file is part of the Edyuk project <http://edyuk.org>
**
** This file may be used under the terms of the GNU General Public License
** version 3 as published ... | 24.016529 | 78 | 0.488644 | maurizioabba |
92139d134e49a49f1929ba7f1f6b69a7adba6ded | 3,311 | cpp | C++ | labs/lab_02/src/Lab_02.cpp | panda2ici/Computer-Graphics | c1d65004667dfa448856e62e7bf191b8203d77cd | [
"MIT"
] | null | null | null | labs/lab_02/src/Lab_02.cpp | panda2ici/Computer-Graphics | c1d65004667dfa448856e62e7bf191b8203d77cd | [
"MIT"
] | 1 | 2020-02-28T16:23:47.000Z | 2020-03-02T15:05:12.000Z | labs/lab_02/src/Lab_02.cpp | panda2ici/Computer-Graphics | c1d65004667dfa448856e62e7bf191b8203d77cd | [
"MIT"
] | 1 | 2020-02-28T16:24:02.000Z | 2020-02-28T16:24:02.000Z | //Lab 1
//modified from http://learnopengl.com/
#include "common/stdafx.h"
using namespace std;
GLFWwindow* window;
glm::vec3 c_pos = glm::vec3(0, 0, 2);
glm::vec3 c_dir = glm::normalize(glm::vec3(0, 0, -2));
glm::vec3 c_up = glm::vec3(0, 1, 0);
glm::mat4 vm;
int initWindow();
void update_view();
void keyCallback(G... | 22.834483 | 83 | 0.649653 | panda2ici |
9214dee7c741c7d1c00e28bc79cec4204ad13061 | 12,366 | cpp | C++ | Sources/WindowsEmbeddingDemo/WED_main.cpp | GerHobbelt/VisualScriptEngine | f76564d795b08d413a8625edba87dff21837039f | [
"MIT"
] | null | null | null | Sources/WindowsEmbeddingDemo/WED_main.cpp | GerHobbelt/VisualScriptEngine | f76564d795b08d413a8625edba87dff21837039f | [
"MIT"
] | null | null | null | Sources/WindowsEmbeddingDemo/WED_main.cpp | GerHobbelt/VisualScriptEngine | f76564d795b08d413a8625edba87dff21837039f | [
"MIT"
] | null | null | null | #include "NUIE_NodeEditor.hpp"
#include "NUIE_NodeTree.hpp"
#include "WAS_GdiOffscreenContext.hpp"
#include "WAS_WindowsAppUtils.hpp"
#include "WAS_HwndEventHandler.hpp"
#include "WAS_ParameterDialog.hpp"
#include "WAS_NodeTree.hpp"
#include "BI_BuiltInNodes.hpp"
#include <windows.h>
#include <windowsx.h>
static void... | 28.558891 | 168 | 0.703057 | GerHobbelt |
921a323c58434473c208cf3a837cbb195f53020e | 7,058 | cpp | C++ | system-test/cache_distributed.cpp | ThomasDai/MaxScale | 766afedbada386b4402b8dbb21805e7eaba52323 | [
"BSD-3-Clause"
] | null | null | null | system-test/cache_distributed.cpp | ThomasDai/MaxScale | 766afedbada386b4402b8dbb21805e7eaba52323 | [
"BSD-3-Clause"
] | 1 | 2021-02-12T10:08:58.000Z | 2021-02-18T02:57:57.000Z | system-test/cache_distributed.cpp | ThomasDai/MaxScale | 766afedbada386b4402b8dbb21805e7eaba52323 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2024-11-26
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 30.034043 | 97 | 0.66081 | ThomasDai |
9220ba602ed16f5e80dd6083c04c278af0bf33c5 | 1,087 | hpp | C++ | include/xul/util/gzip.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 2 | 2018-03-16T07:06:48.000Z | 2018-04-02T03:02:14.000Z | include/xul/util/gzip.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | null | null | null | include/xul/util/gzip.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 1 | 2019-08-12T05:15:29.000Z | 2019-08-12T05:15:29.000Z | #pragma once
#include "zlib.h"
namespace xul {
int gzip_uncompress(
Bytef *dest,
uLongf *destLen,
const Bytef *source,
uLong sourceLen)
{
z_stream stream;
int err;
int gzip = 1;
stream.next_in = (Bytef*)source;
stream.avail_in = (uInt)sourceLen;
/* Check for source > 64K on 1... | 20.903846 | 79 | 0.594296 | hindsights |
92225a4239d3b912d52bdb714a4e60ea88887894 | 4,849 | cpp | C++ | z3/src/Macierz.cpp | KolodziejJakub/UkladRownan | 522bec5390ed79c34194cb5b0e18eb2a5f2317c2 | [
"MIT"
] | null | null | null | z3/src/Macierz.cpp | KolodziejJakub/UkladRownan | 522bec5390ed79c34194cb5b0e18eb2a5f2317c2 | [
"MIT"
] | null | null | null | z3/src/Macierz.cpp | KolodziejJakub/UkladRownan | 522bec5390ed79c34194cb5b0e18eb2a5f2317c2 | [
"MIT"
] | null | null | null | #include "Macierz.hh"
Macierz::Macierz(Wektor a1, Wektor a2, Wektor a3)
{
Wektor a1,a2,a3;
}
double & Wektor::operator[](int index)
{
if(index > ROZMIAR || index < 0)
{
exit(1);
}
return tab[index];
}
const double & Wektor::operator[](int index) const
{
if(index > ROZMIAR || index < 0... | 18.026022 | 72 | 0.427717 | KolodziejJakub |
9222aba570462a9eb7727e3e2e65b851a71d1ed8 | 7,859 | cpp | C++ | src/engine/luabind/script-lua-core.cpp | septag/darkhammer | dd7e32737059ce6dba0aa79f1ae4a59137db06a7 | [
"BSD-2-Clause"
] | 68 | 2015-01-06T08:38:32.000Z | 2022-01-20T15:26:17.000Z | src/engine/luabind/script-lua-core.cpp | septag/darkhammer | dd7e32737059ce6dba0aa79f1ae4a59137db06a7 | [
"BSD-2-Clause"
] | null | null | null | src/engine/luabind/script-lua-core.cpp | septag/darkhammer | dd7e32737059ce6dba0aa79f1ae4a59137db06a7 | [
"BSD-2-Clause"
] | 12 | 2015-10-31T11:30:15.000Z | 2020-04-13T18:31:17.000Z | /***********************************************************************************
* Copyright (c) 2012, Sepehr Taghdisian
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistribu... | 17.621076 | 99 | 0.537473 | septag |
92234105f6f8264a51fffbcf71c5a638f309e984 | 6,947 | hpp | C++ | include/pfasst/interfaces.hpp | danielru/PFASST | d74a822f98fc84ae98232a61fed6f47f60341b08 | [
"BSD-2-Clause"
] | null | null | null | include/pfasst/interfaces.hpp | danielru/PFASST | d74a822f98fc84ae98232a61fed6f47f60341b08 | [
"BSD-2-Clause"
] | null | null | null | include/pfasst/interfaces.hpp | danielru/PFASST | d74a822f98fc84ae98232a61fed6f47f60341b08 | [
"BSD-2-Clause"
] | null | null | null | /*
* Interfaces for SDC/MLSDC/PFASST algorithms.
*/
#ifndef _PFASST_INTERFACES_HPP_
#define _PFASST_INTERFACES_HPP_
#include <cassert>
#include <deque>
#include <exception>
#include <iterator>
#include <memory>
#include <string>
#include "globals.hpp"
using namespace std;
namespace pfasst
{
using time_precisi... | 25.921642 | 99 | 0.579531 | danielru |
9227a459875871befbe049779c58d71e0167cca8 | 2,375 | cpp | C++ | src/SchemaLex.cpp | eXtremal-ik7/config4cpp | 087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d | [
"MIT"
] | null | null | null | src/SchemaLex.cpp | eXtremal-ik7/config4cpp | 087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d | [
"MIT"
] | null | null | null | src/SchemaLex.cpp | eXtremal-ik7/config4cpp | 087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------
// Copyright 2011 Ciaran McHale.
//
// 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... | 33.928571 | 73 | 0.633684 | eXtremal-ik7 |
922a63aeb275ce1f99a7af8012a001ed473ee879 | 1,582 | cpp | C++ | graphs/dijkstraPqueue.cpp | tkjenll/algorhythm | 00c20a1676520a8f34a1be74773faa9903049ce5 | [
"MIT"
] | 3 | 2017-10-13T04:08:01.000Z | 2021-03-02T10:04:32.000Z | graphs/dijkstraPqueue.cpp | METHLAB-LTD/algorhythm | 00c20a1676520a8f34a1be74773faa9903049ce5 | [
"MIT"
] | null | null | null | graphs/dijkstraPqueue.cpp | METHLAB-LTD/algorhythm | 00c20a1676520a8f34a1be74773faa9903049ce5 | [
"MIT"
] | 4 | 2019-02-06T01:22:51.000Z | 2020-09-12T16:26:43.000Z | /*
Time Complexity :
1. Shortest path by Dijkstra,
using a Binary Min-heap as priority queue
O(|V| + |E|)*log|V| = O(|E|log|V|)
2. Shortest path by Dijkstra,
using a Fibonacci Min-heap as priority queue
O(|E| + |V|log|V|)
3. Shortest path by Dijkstra,
using an unsorted array as pri... | 16.652632 | 63 | 0.540455 | tkjenll |
922b4b647d30edb95e8786cac0535805dd0ad0d1 | 4,312 | hpp | C++ | src/cpp/ee/cocos/EEDataUtils.hpp | enrevol/ee-x | 60a66ad3dc6e14802a7c5d8d585a8499be13f5b8 | [
"MIT"
] | null | null | null | src/cpp/ee/cocos/EEDataUtils.hpp | enrevol/ee-x | 60a66ad3dc6e14802a7c5d8d585a8499be13f5b8 | [
"MIT"
] | null | null | null | src/cpp/ee/cocos/EEDataUtils.hpp | enrevol/ee-x | 60a66ad3dc6e14802a7c5d8d585a8499be13f5b8 | [
"MIT"
] | null | null | null | //
// EEDataUtils.hpp
// ee-library
//
// Created by Zinge on 7/20/17.
//
//
#ifndef EE_LIBRARY_DATA_UTILS_HPP
#define EE_LIBRARY_DATA_UTILS_HPP
#ifdef __cplusplus
#include <cstddef>
#include <string>
#include "ee/cocos/EEDataMeta.hpp"
namespace ee {
namespace detail {
/// Globally sets a data value.
/// @param... | 31.940741 | 80 | 0.6468 | enrevol |
922ff6beb7920329f72f69393dea8a003173450e | 16,776 | cpp | C++ | test/uitest/test_chart/ui_test_chart_polyline.cpp | openharmony-gitee-mirror/graphic_ui | 68abfc8120242a806dd02c400439af2774e6062e | [
"Apache-2.0"
] | null | null | null | test/uitest/test_chart/ui_test_chart_polyline.cpp | openharmony-gitee-mirror/graphic_ui | 68abfc8120242a806dd02c400439af2774e6062e | [
"Apache-2.0"
] | null | null | null | test/uitest/test_chart/ui_test_chart_polyline.cpp | openharmony-gitee-mirror/graphic_ui | 68abfc8120242a806dd02c400439af2774e6062e | [
"Apache-2.0"
] | 1 | 2021-09-13T12:05:47.000Z | 2021-09-13T12:05:47.000Z | /*
* Copyright (c) 2020-2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 40.424096 | 118 | 0.638829 | openharmony-gitee-mirror |
9230829f87b69123fc99c5a7d494560a42caf3a3 | 1,365 | cc | C++ | src/PluginLoader.cc | indigo-dc/dynafed | 3864f12a82653b34ba9ca4001d968cb27f75c8f5 | [
"Apache-2.0"
] | null | null | null | src/PluginLoader.cc | indigo-dc/dynafed | 3864f12a82653b34ba9ca4001d968cb27f75c8f5 | [
"Apache-2.0"
] | null | null | null | src/PluginLoader.cc | indigo-dc/dynafed | 3864f12a82653b34ba9ca4001d968cb27f75c8f5 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) CERN 2013
*
* Copyright (c) Members of the EMI Collaboration. 2011-2013
* See http://www.eu-emi.eu/partners for details on the copyright
* holders.
*
* Licensed under the Apache License, Version 2.0
* See the LICENSE file for further information
*
*/
/** @file PluginLoader.hh
*... | 23.135593 | 117 | 0.615385 | indigo-dc |
923092eda6175b36a232014efadd28ee45a85db4 | 1,651 | cpp | C++ | miscellaneous/MaximalRectangleInGrid_leetcode.cpp | Cobnagi/Competitive-programming | 4037e0542350e789a31bf3ebd97896c0d75bea17 | [
"MIT"
] | 6 | 2019-10-06T17:39:42.000Z | 2022-03-03T10:57:52.000Z | miscellaneous/MaximalRectangleInGrid_leetcode.cpp | Cobnagi/Competitive-programming | 4037e0542350e789a31bf3ebd97896c0d75bea17 | [
"MIT"
] | null | null | null | miscellaneous/MaximalRectangleInGrid_leetcode.cpp | Cobnagi/Competitive-programming | 4037e0542350e789a31bf3ebd97896c0d75bea17 | [
"MIT"
] | 2 | 2019-10-06T11:09:01.000Z | 2019-10-06T17:40:46.000Z | class Solution {
public:
int hist(vector<int> &h){
int ans=0;
stack<int> s;
int i=0;
for(i=0;i<h.size();i++){
if(s.empty() || h[i]>=h[s.top()]){
s.push(i);
}
else{
while(!s.empty() && h[i]<h[s.top()]){
... | 26.629032 | 67 | 0.289522 | Cobnagi |
9233fff7d85eb23b2f0b88dbe412a8a3c93d22e5 | 163 | cpp | C++ | src/Scripting/Natives/ScriptGameInstance.cpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | src/Scripting/Natives/ScriptGameInstance.cpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | src/Scripting/Natives/ScriptGameInstance.cpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #ifndef RED4EXT_STATIC_LIB
#error Please define 'RED4EXT_STATIC_LIB' to compile this file.
#endif
#include <RED4ext/Scripting/Natives/ScriptGameInstance-inl.hpp>
| 27.166667 | 63 | 0.828221 | jackhumbert |
92342fbcef18cd4e327d9019e0b45ad854661895 | 4,773 | cpp | C++ | windows/feime/kor/ime2k/tip/editssn.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/feime/kor/ime2k/tip/editssn.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/feime/kor/ime2k/tip/editssn.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //
// editssn.cpp
//
// CEditSession2
//
#include "private.h"
#include "korimx.h"
#include "editssn.h"
#include "helpers.h"
#define SafeAddRef(x) { if ((x)) { (x)->AddRef(); } }
/* C E D I T S E S S I O N 2 */
/*------------------------------------------------------------------------------... | 23.984925 | 104 | 0.426776 | npocmaka |
9236c7b57f0a5339bc436fa306c201b662c77c32 | 861 | cpp | C++ | src/return-several-values-and-structured-bindings/main.cpp | tarodnet/cplusplus-snippets | 2866102b53534163c2ebc1aaf6096467dfbdadaf | [
"Apache-2.0"
] | null | null | null | src/return-several-values-and-structured-bindings/main.cpp | tarodnet/cplusplus-snippets | 2866102b53534163c2ebc1aaf6096467dfbdadaf | [
"Apache-2.0"
] | null | null | null | src/return-several-values-and-structured-bindings/main.cpp | tarodnet/cplusplus-snippets | 2866102b53534163c2ebc1aaf6096467dfbdadaf | [
"Apache-2.0"
] | 1 | 2015-06-06T02:23:20.000Z | 2015-06-06T02:23:20.000Z | #include <iostream>
class Foo
{
public:
int foo;
};
class Bar
{
public:
char bar;
};
std::pair<Foo, Bar> f()
{
std::pair<Foo, Bar> result;
auto& foo = result.first;
auto& bar = result.second;
// fill foo and bar...
foo.foo = 0xFF;
bar.bar = 'x';
return result;
}... | 19.568182 | 101 | 0.595819 | tarodnet |
9236fd69c794a24f6e33d42f38a3082bf486b84c | 44,199 | cpp | C++ | admin/activec/samples/displ2/dsplcomp.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/activec/samples/displ2/dsplcomp.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/activec/samples/displ2/dsplcomp.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, 1999 - 1999
//
// File: DsplComp.cpp
//
//--------------------------------------------------------------------------
#include "stdafx.h"
#include "displ2.h... | 35.673123 | 150 | 0.505102 | npocmaka |
923a66a623dc3654b9b018aaba9c5b2b6d597c56 | 1,135 | cpp | C++ | Copy List with Random Pointers.cpp | AMARTYA2020/DSA | 54936ce7a63535704f81784ade9af743a68ba419 | [
"MIT"
] | 3 | 2021-02-03T10:39:17.000Z | 2021-05-28T11:50:01.000Z | Copy List with Random Pointers.cpp | AMARTYA2020/DSA | 54936ce7a63535704f81784ade9af743a68ba419 | [
"MIT"
] | null | null | null | Copy List with Random Pointers.cpp | AMARTYA2020/DSA | 54936ce7a63535704f81784ade9af743a68ba419 | [
"MIT"
] | 1 | 2021-02-07T07:19:25.000Z | 2021-02-07T07:19:25.000Z | #include<bits/stdc++.h>
using namespace std;
// COPY LIST WITH RANDOM POINTER:
class solution{
public:
Node* copyRandomList(Node* head){
// CREATING NORMAL LINKED LIST THAT HAS A DATA FIELD AND ADDRESS FIELD:
Node* curr=head;
while(curr!=NULL){
Node* next=curr->next;
... | 28.375 | 80 | 0.502203 | AMARTYA2020 |