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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
353ac9d1d17a5367243aac930a018d9b13b8fa09 | 4,886 | cpp | C++ | edbee-lib/edbee/io/baseplistparser.cpp | UniSwarm/edbee-lib | b1f0b440d32f5a770877b11c6b24944af1131b91 | [
"BSD-2-Clause"
] | 445 | 2015-01-04T16:30:56.000Z | 2022-03-30T02:27:05.000Z | edbee-lib/edbee/io/baseplistparser.cpp | UniSwarm/edbee-lib | b1f0b440d32f5a770877b11c6b24944af1131b91 | [
"BSD-2-Clause"
] | 305 | 2015-01-04T09:20:03.000Z | 2020-10-01T08:45:45.000Z | edbee-lib/edbee/io/baseplistparser.cpp | UniSwarm/edbee-lib | b1f0b440d32f5a770877b11c6b24944af1131b91 | [
"BSD-2-Clause"
] | 49 | 2015-02-14T01:43:38.000Z | 2022-02-15T17:03:55.000Z | /**
* Copyright 2011-2013 - Reliable Bits Software by Blommers IT. All Rights Reserved.
* Author Rick Blommers
*/
#include <QXmlStreamReader>
#include "baseplistparser.h"
#include "edbee/debug.h"
namespace edbee {
/// The constructor for the parser
BasePListParser::BasePListParser()
: xml_(0)
{
}
/// the... | 25.989362 | 131 | 0.618707 | UniSwarm |
353c7d55f37ba983aec143863a84dbc06f12c221 | 1,391 | cpp | C++ | src/vulkan/vulkan_shader_module.cpp | zfccxt/calcium | 9cc3a00904c05e675bdb5d35eef0f5356796e564 | [
"MIT"
] | null | null | null | src/vulkan/vulkan_shader_module.cpp | zfccxt/calcium | 9cc3a00904c05e675bdb5d35eef0f5356796e564 | [
"MIT"
] | null | null | null | src/vulkan/vulkan_shader_module.cpp | zfccxt/calcium | 9cc3a00904c05e675bdb5d35eef0f5356796e564 | [
"MIT"
] | null | null | null | #include "vulkan_shader_module.hpp"
#include "instrumentor.hpp"
#include "vulkan_check.hpp"
namespace cl::vulkan {
#pragma warning(push)
#pragma warning(disable : 26812)
VkShaderModule CreateShaderModule(VulkanContextData* context, const SpvCode& code) {
CALCIUM_PROFILE_FUNCTION();
VkShaderModuleCreateInfo cre... | 35.666667 | 100 | 0.774982 | zfccxt |
353d18d45d1acd3e1aa99afe5e78bb2fc842bc3b | 39,662 | cpp | C++ | source/comms/comm_files.cpp | jfbucas/PION | e0a66aa301e4d94d581ba4df078f1a3b82faab99 | [
"BSD-3-Clause"
] | 4 | 2020-08-20T11:31:22.000Z | 2020-12-05T13:30:03.000Z | source/comms/comm_files.cpp | Mapoet/PION | 51559b18f700c372974ac8658a266b6a647ec764 | [
"BSD-3-Clause"
] | null | null | null | source/comms/comm_files.cpp | Mapoet/PION | 51559b18f700c372974ac8658a266b6a647ec764 | [
"BSD-3-Clause"
] | 4 | 2020-08-20T14:33:19.000Z | 2022-03-07T10:29:34.000Z | /// \file comm_files.cc
///
/// \brief Contains comms class for multi-process communication using
/// files (no MPI!).
///
/// \author Jonathan Mackey
/// \date 2009-01-27.
///
/// Modifications:\n
/// - 2010.11.15 JM: replaced endl with c-style newline chars.
/// - 2012.05.15 JM: Added function for global-reduce (m... | 29.099046 | 111 | 0.592507 | jfbucas |
353e68210102c4a06cb5cc04b665d149232f3245 | 3,496 | cpp | C++ | src/ias/technology/factory/feature_database_factory.cpp | JoeriHermans/Intelligent-Automation-System | b09c9f2b0c018ac5d12ab01d25297a0a92724e4c | [
"Apache-2.0"
] | 1 | 2021-08-12T10:07:27.000Z | 2021-08-12T10:07:27.000Z | src/ias/technology/factory/feature_database_factory.cpp | JoeriHermans/Intelligent-Automation-System | b09c9f2b0c018ac5d12ab01d25297a0a92724e4c | [
"Apache-2.0"
] | null | null | null | src/ias/technology/factory/feature_database_factory.cpp | JoeriHermans/Intelligent-Automation-System | b09c9f2b0c018ac5d12ab01d25297a0a92724e4c | [
"Apache-2.0"
] | 2 | 2016-12-06T23:16:18.000Z | 2016-12-07T07:26:56.000Z | /**
* A database factory which is responsible for fetching technology features
* from a database.
*
* @date Jul 5, 2014
* @author Joeri HERMANS
* @version 0.1
*
* Copyright 2013 Joeri HERMANS
*
* Licensed under the Apache License, Version 2.0 (the "Lice... | 31.781818 | 82 | 0.579519 | JoeriHermans |
3540f92c268b11782194b7e691d9a4b2bb35530d | 9,043 | hpp | C++ | excel/sheet.hpp | qingqibing/read-excel | 6f938ca0eb051e14add0e421059edeb94538d2a9 | [
"MIT"
] | null | null | null | excel/sheet.hpp | qingqibing/read-excel | 6f938ca0eb051e14add0e421059edeb94538d2a9 | [
"MIT"
] | null | null | null | excel/sheet.hpp | qingqibing/read-excel | 6f938ca0eb051e14add0e421059edeb94538d2a9 | [
"MIT"
] | 1 | 2021-07-03T00:45:59.000Z | 2021-07-03T00:45:59.000Z |
/*!
\file
\brief Excel WorkSheet.
\author Igor Mironchik (igor.mironchik at gmail dot com).
Copyright (c) 2011-2017 Igor Mironchik
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 Softw... | 20.321348 | 76 | 0.643481 | qingqibing |
3542eef550492727ca54c2222b5051f2f954fdb4 | 1,841 | cpp | C++ | solutions_cpp/implement_a_trie.cpp | aaishikasb/Leetcoding | c6ad25486716d43c780d840cc80aa20ef51a8674 | [
"MIT"
] | null | null | null | solutions_cpp/implement_a_trie.cpp | aaishikasb/Leetcoding | c6ad25486716d43c780d840cc80aa20ef51a8674 | [
"MIT"
] | null | null | null | solutions_cpp/implement_a_trie.cpp | aaishikasb/Leetcoding | c6ad25486716d43c780d840cc80aa20ef51a8674 | [
"MIT"
] | null | null | null | class TrieNode
{
public:
// Initialize your data structure here.
TrieNode()
{
value = 0;
for (int i = 0; i < 26; i++)
{
children[i] = NULL;
}
}
int value;
TrieNode *children[26];
};
class Trie
{
public:
Trie()
{
root = new TrieNode();
... | 19.378947 | 50 | 0.380228 | aaishikasb |
35458d36a7d6d8d181867df91720f28259cb00f7 | 1,504 | hpp | C++ | atom/trader/trader.hpp | liu1009xf/atom | ec8b9fad38d0fb3da7eecf87d30c314d1bf09fef | [
"MIT"
] | null | null | null | atom/trader/trader.hpp | liu1009xf/atom | ec8b9fad38d0fb3da7eecf87d30c314d1bf09fef | [
"MIT"
] | null | null | null | atom/trader/trader.hpp | liu1009xf/atom | ec8b9fad38d0fb3da7eecf87d30c314d1bf09fef | [
"MIT"
] | null | null | null | #ifndef ATOM_AGENT_TRADER_TRADER_HPP
#define ATOM_AGENT_TRADER_TRADER_HPP
#include <optional>
#include "atom/basic/validator/trival.hpp"
#include "atom/basic/authoriser/trival.hpp"
#include "atom/basic/visitor/event_notify.hpp"
#include "atom/basic.hpp"
namespace atom::detail
{
template<typename S>
class Tra... | 23.873016 | 59 | 0.59375 | liu1009xf |
3545fc7fbfb7e7722a9005542a50e4c353ecc2c9 | 9,408 | cpp | C++ | net/tapi/rtc/phoenix/src/core/rtcparticipant.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | net/tapi/rtc/phoenix/src/core/rtcparticipant.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | net/tapi/rtc/phoenix/src/core/rtcparticipant.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
RTCParticipant.cpp
Abstract:
Implementation of the CRTCParticipant class
--*/
#include "stdafx.h"
/////////////////////////////////////////////////////////////////////////////
//
// CRTCParticipant::FinalConstruct
//
///////... | 24.18509 | 82 | 0.439094 | npocmaka |
35472d54e677bc1ac6f6edb0853c907727035317 | 139 | cpp | C++ | Seagull-Core/src/Platform/DirectX/DirectX12Resource.cpp | ILLmew/Seagull-Engine | fb51b66812eca6b70ed0e35ecba091e9874b5bea | [
"MIT"
] | null | null | null | Seagull-Core/src/Platform/DirectX/DirectX12Resource.cpp | ILLmew/Seagull-Engine | fb51b66812eca6b70ed0e35ecba091e9874b5bea | [
"MIT"
] | null | null | null | Seagull-Core/src/Platform/DirectX/DirectX12Resource.cpp | ILLmew/Seagull-Engine | fb51b66812eca6b70ed0e35ecba091e9874b5bea | [
"MIT"
] | null | null | null | #include "sgpch.h"
#include "DirectX12Resource.h"
namespace SG
{
void DirectX12Resource::Reset() noexcept
{
m_Resource.Reset();
}
} | 11.583333 | 41 | 0.705036 | ILLmew |
3547b7068ef2429cd731e5cdceeaf9ab4d8919a1 | 1,283 | cpp | C++ | code/130.solve.cpp | T1mzhou/LeetCode | 574540d30f5696e55799831dc3c8d8b7246b74f1 | [
"MIT"
] | 1 | 2020-10-04T13:39:34.000Z | 2020-10-04T13:39:34.000Z | code/130.solve.cpp | T1mzhou/LeetCode | 574540d30f5696e55799831dc3c8d8b7246b74f1 | [
"MIT"
] | null | null | null | code/130.solve.cpp | T1mzhou/LeetCode | 574540d30f5696e55799831dc3c8d8b7246b74f1 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<bool>> st;
int n, m;
void solve(vector<vector<char>>& board) {
if (board.empty()) return;
n = board.size(), m = board[0].size();
for (int i = 0; i < n; i ++ )
{
vector<bool> temp;
for (int j = 0; j < m; j ++ )
... | 28.511111 | 86 | 0.342167 | T1mzhou |
3549564aef53060f99c1c79219133d07a0e204b3 | 2,267 | cpp | C++ | HW3/hw3-5/hw3-5.cpp | Liuian/1101_DATA-STRUCTURE | 303b8aa903f53abc9d5ec83f19432ebc5a7cfca4 | [
"MIT"
] | 1 | 2022-01-15T08:28:18.000Z | 2022-01-15T08:28:18.000Z | HW3/hw3-5/hw3-5.cpp | Liuian/1101_DATA-STRUCTURE | 303b8aa903f53abc9d5ec83f19432ebc5a7cfca4 | [
"MIT"
] | null | null | null | HW3/hw3-5/hw3-5.cpp | Liuian/1101_DATA-STRUCTURE | 303b8aa903f53abc9d5ec83f19432ebc5a7cfca4 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <iostream>
#include <fstream>
#include <queue>
using namespace std;
//use these variable in the funvtion, so we set these as global variable
queue<int> q;
int numOfVertex;
fstream OutputFile;
void bfs(int startVertex, int *adjMatrix[numOfVertex], int visited[numOfVertex], string output){
... | 27.987654 | 119 | 0.669607 | Liuian |
354a02478e70cfe2c8280f7dc6a835f8c83fb53e | 35,710 | cc | C++ | 3rdparty/poppler-library/poppler/GlobalParams.cc | PDF2CASH/PDF2CASH_Parser | 8cc8255cc4aff92f98e3a089ba50c3eb24c96446 | [
"MIT"
] | null | null | null | 3rdparty/poppler-library/poppler/GlobalParams.cc | PDF2CASH/PDF2CASH_Parser | 8cc8255cc4aff92f98e3a089ba50c3eb24c96446 | [
"MIT"
] | null | null | null | 3rdparty/poppler-library/poppler/GlobalParams.cc | PDF2CASH/PDF2CASH_Parser | 8cc8255cc4aff92f98e3a089ba50c3eb24c96446 | [
"MIT"
] | null | null | null | //========================================================================
//
// GlobalParams.cc
//
// Copyright 2001-2003 Glyph & Cog, LLC
//
//========================================================================
//========================================================================
//
// Modified under the P... | 29.222586 | 148 | 0.655699 | PDF2CASH |
354b906765d5682a15358115eefd1cc000d8b264 | 9,549 | hpp | C++ | src/base/include/vector3.hpp | N4G170/generic | 29c8be184b1420b811e2a3db087f9bd6b76ed8bf | [
"MIT"
] | null | null | null | src/base/include/vector3.hpp | N4G170/generic | 29c8be184b1420b811e2a3db087f9bd6b76ed8bf | [
"MIT"
] | null | null | null | src/base/include/vector3.hpp | N4G170/generic | 29c8be184b1420b811e2a3db087f9bd6b76ed8bf | [
"MIT"
] | null | null | null | #ifndef VECTOR2_HPP
#define VECTOR2_HPP
#include <type_traits>
#include <cmath>
#include <utility>
#include <string>
template<typename T = float>
class Vector3
{
private:
T m_x;
T m_y;
T m_z;
public:
//check if we initialize the vector with the right values
static_asse... | 46.130435 | 149 | 0.549901 | N4G170 |
354c1fa53e88e8298ccecfb890f2dc4be2371dae | 1,308 | cpp | C++ | Pdf/pdfix_sdk_example_cpp-master/src/SetFieldFlags.cpp | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | 1 | 2021-08-23T05:56:09.000Z | 2021-08-23T05:56:09.000Z | Pdf/pdfix_sdk_example_cpp-master/src/SetFieldFlags.cpp | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | null | null | null | Pdf/pdfix_sdk_example_cpp-master/src/SetFieldFlags.cpp | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////
// SetFieldFlags.cpp
// Copyright (c) 2018 Pdfix. All Rights Reserved.
////////////////////////////////////////////////////////////////////////////////////////////////////
#include "pdfixsdksamples/SetFieldFlags.h"
#i... | 28.434783 | 100 | 0.54893 | laoola |
35582b2e8bbcc290d9d2afa28e9e0cc3132a2925 | 634 | cpp | C++ | 01. Easy/01. Array/04. Contains_Duplicate.cpp | premnaaath/leetcode-TIQ | 90f9d7216b596dc42fe0d559f3ecdaa448b258d1 | [
"MIT"
] | null | null | null | 01. Easy/01. Array/04. Contains_Duplicate.cpp | premnaaath/leetcode-TIQ | 90f9d7216b596dc42fe0d559f3ecdaa448b258d1 | [
"MIT"
] | null | null | null | 01. Easy/01. Array/04. Contains_Duplicate.cpp | premnaaath/leetcode-TIQ | 90f9d7216b596dc42fe0d559f3ecdaa448b258d1 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
bool containsDuplicate(vector<int> &nums)
{
vector<int> hash;
for (int i = 0; i < nums.size(); ++i)
{
if (find(hash.begin(), hash.end(), nums[i]) != hash.end())
return true;
hash.push_back(nums[i]);
}
r... | 18.114286 | 66 | 0.525237 | premnaaath |
35587bd723ed42e65f1974b2e909e96c587437d2 | 239 | hpp | C++ | source/sill/pch.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 15 | 2018-02-26T08:20:03.000Z | 2022-03-06T03:25:46.000Z | source/sill/pch.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 32 | 2018-02-26T08:26:38.000Z | 2020-09-12T17:09:38.000Z | source/sill/pch.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | null | null | null | #include "../pch-glm.hpp"
#include "../pch-stl.hpp"
#include <nlohmann/json.hpp>
#include <lava/chamber.hpp>
#include <lava/core.hpp>
#include <lava/crater.hpp>
#include <lava/dike.hpp>
#include <lava/flow.hpp>
#include <lava/magma.hpp>
| 19.916667 | 28 | 0.702929 | Breush |
355b887f43bd38238ead0a4d55a9248f2b8367f0 | 59 | hpp | C++ | src/boost_log_sources_exception_handler_feature.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_log_sources_exception_handler_feature.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_log_sources_exception_handler_feature.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/log/sources/exception_handler_feature.hpp>
| 29.5 | 58 | 0.847458 | miathedev |
355b91ea50f25298a24aa7675e5271290de9c2fb | 5,199 | cpp | C++ | master/core/third/cxxtools/src/atomicity.gcc.arm.cpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:48.000Z | 2019-10-26T21:44:59.000Z | master/core/third/cxxtools/src/atomicity.gcc.arm.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | null | null | null | master/core/third/cxxtools/src/atomicity.gcc.arm.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:49.000Z | 2018-12-27T03:20:31.000Z | /*
* Copyright (C) 2006 by Marc Boris Duerner
* Copyright (C) 2006 by Aloysius Indrayanto
*
* 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 Foundation; either
* version 2.1 of the License, or... | 30.052023 | 85 | 0.43643 | importlib |
355c5704f28eb9b687953ab62c2c64f6939c0d58 | 4,952 | cpp | C++ | benchmark/ordering.cpp | zborffs/AsterionEngine | 029624cba19cd7fbc407bb24b9beb33efd089c5b | [
"MIT"
] | 1 | 2018-12-29T10:39:56.000Z | 2018-12-29T10:39:56.000Z | benchmark/ordering.cpp | zborffs/AsterionEngine | 029624cba19cd7fbc407bb24b9beb33efd089c5b | [
"MIT"
] | 3 | 2021-11-12T06:44:46.000Z | 2021-11-12T06:47:56.000Z | benchmark/ordering.cpp | zborffs/AsterionEngine | 029624cba19cd7fbc407bb24b9beb33efd089c5b | [
"MIT"
] | null | null | null | /// Project Includes
#include "defines.hpp"
#include "globals.hpp"
#include "board.hpp"
#include "chess_clock.hpp"
#include "search.hpp"
#include "book.hpp"
/// Standard Library Includes
#include <iostream>
#include <string>
/// Third-Party Includes
#include <spdlog/spdlog.h>
#include <spdlog/sinks/stdout_color_sinks... | 34.388889 | 157 | 0.651454 | zborffs |
356276796716b69838e68ef804051aacab68b05f | 200 | hpp | C++ | falcon/mpl/size_fwd.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | 2 | 2018-02-02T14:19:59.000Z | 2018-05-13T02:48:24.000Z | falcon/mpl/size_fwd.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | falcon/mpl/size_fwd.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | #ifndef FALCON_MPL_SIZE_FWD_HPP
#define FALCON_MPL_SIZE_FWD_HPP
namespace falcon { namespace mpl {
template< typename Tag > struct size_impl;
template< typename Sequence > struct size;
}}
#endif
| 16.666667 | 42 | 0.79 | jonathanpoelen |
8313a093b9ed8c818f1357f26b3199b86f6e3215 | 1,049 | cpp | C++ | lc7wizard/src/CPageWindowsImportPWDump.cpp | phixion/l0phtcrack | 48ee2f711134e178dbedbd925640f6b3b663fbb5 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-10-18T22:14:22.000Z | 2021-11-08T12:52:42.000Z | lc7wizard/src/CPageWindowsImportPWDump.cpp | Brute-f0rce/l0phtcrack | 25f681c07828e5e68e0dd788d84cc13c154aed3d | [
"Apache-2.0",
"MIT"
] | null | null | null | lc7wizard/src/CPageWindowsImportPWDump.cpp | Brute-f0rce/l0phtcrack | 25f681c07828e5e68e0dd788d84cc13c154aed3d | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-14T06:41:16.000Z | 2022-03-14T06:41:16.000Z | #include"stdafx.h"
#include"../lc7importwin/include/uuids.h"
CPageWindowsImportPWDump::CPageWindowsImportPWDump(QWidget *parent)
: CLC7WizardPage(parent)
{
TR;
setTitle(tr("Windows Import From PWDump File"));
//setPixmap(QWizard::WatermarkPixmap, QPixmap(":/images/watermark.png"));
QLabel *topLabel =... | 27.605263 | 256 | 0.732126 | phixion |
8315810d925abd0c592d5b7836c67f8cc40f3048 | 1,776 | cc | C++ | src/0657_robot_return_to_origin/robot_return_to_origin.cc | youngqqcn/LeetCodeNodes | 62bbd30fbdf1640526d7fc4437cde1b05d67fc8f | [
"MIT"
] | 1 | 2021-05-23T02:15:03.000Z | 2021-05-23T02:15:03.000Z | src/0657_robot_return_to_origin/robot_return_to_origin.cc | youngqqcn/LeetCodeNotes | 62bbd30fbdf1640526d7fc4437cde1b05d67fc8f | [
"MIT"
] | null | null | null | src/0657_robot_return_to_origin/robot_return_to_origin.cc | youngqqcn/LeetCodeNotes | 62bbd30fbdf1640526d7fc4437cde1b05d67fc8f | [
"MIT"
] | null | null | null | // author: yqq
// date: 2021-08-26 18:35:50
// descriptions: https://leetcode-cn.com/problems/robot-return-to-origin/
#include <bits/stdc++.h>
#include <iostream>
#include <numeric>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <algorithm>
#include <memory>
#include <queue>
#include <stack>... | 18.122449 | 73 | 0.557995 | youngqqcn |
8319f1d5bedc12d9ab7aa418fc40c026b81a2057 | 7,356 | cpp | C++ | src/main.cpp | kirillochnev/ecs-benchmark | ea8feea0e0d449982f6f365e641142840c297109 | [
"MIT"
] | null | null | null | src/main.cpp | kirillochnev/ecs-benchmark | ea8feea0e0d449982f6f365e641142840c297109 | [
"MIT"
] | null | null | null | src/main.cpp | kirillochnev/ecs-benchmark | ea8feea0e0d449982f6f365e641142840c297109 | [
"MIT"
] | null | null | null | #include <mustache/ecs/ecs.hpp>
#include <entt/entt.hpp>
#include <entityx/entityx.h>
#include "components.hpp"
#include <numeric>
#include <iostream>
constexpr uint32_t entity_count = 10000000;
constexpr uint32_t create_iterations = 10;
constexpr uint32_t run_iterations = 100;
class BenchMark {
public:
templa... | 31.982609 | 124 | 0.597336 | kirillochnev |
831a02e009348aa6f6c0b73e7f139cfa2d55f2cb | 3,165 | cpp | C++ | src/ui/SystemView.cpp | Software-Knife-and-Tool/gyre-ui | 4d4e8eb6e3f179425c70d957ede220258a0c5c14 | [
"BSD-3-Clause"
] | null | null | null | src/ui/SystemView.cpp | Software-Knife-and-Tool/gyre-ui | 4d4e8eb6e3f179425c70d957ede220258a0c5c14 | [
"BSD-3-Clause"
] | 4 | 2020-12-28T03:13:58.000Z | 2021-01-11T23:12:41.000Z | src/ui/SystemView.cpp | Software-Knife-and-Tool/gyre-ui | 4d4e8eb6e3f179425c70d957ede220258a0c5c14 | [
"BSD-3-Clause"
] | null | null | null | /********
**
** SPDX-License-Identifier: BSD-3-Clause
**
** Copyright (c) 2017-2021 James M. Putnam <putnamjm.design@gmail.com>
**
**/
/********
**
** SystemView.cpp: SystemView implementation
**
**/
#include <QFileDialog>
#include <QLabel>
#include <QSplitter>
#include <QString>
#include <QTextEdit>
#inc... | 24.92126 | 75 | 0.654344 | Software-Knife-and-Tool |
831a13e1d158bb902034c78d8a868e59025c1d1b | 1,581 | cpp | C++ | 001-100/005-Longest_Palindromic_Substring-m.cpp | ysmiles/leetcode-cpp | e7e6ef11224c7383071ed8efbe2feac313824a71 | [
"BSD-3-Clause"
] | 1 | 2018-10-02T22:44:52.000Z | 2018-10-02T22:44:52.000Z | 001-100/005-Longest_Palindromic_Substring-m.cpp | ysmiles/leetcode-cpp | e7e6ef11224c7383071ed8efbe2feac313824a71 | [
"BSD-3-Clause"
] | null | null | null | 001-100/005-Longest_Palindromic_Substring-m.cpp | ysmiles/leetcode-cpp | e7e6ef11224c7383071ed8efbe2feac313824a71 | [
"BSD-3-Clause"
] | null | null | null | // Given a string s, find the longest palindromic substring in s. You may assume
// that the maximum length of s is 1000.
// Example:
// Input: "babad"
// Output: "bab"
// Note: "aba" is also a valid answer.
// Example:
// Input: "cbbd"
// Output: "bb"
// TODO: Manacher's algorithm
// expand from center
class Solutio... | 26.35 | 80 | 0.510436 | ysmiles |
831a2a4d4620a949eaaa8ee2292b85bc9c88f507 | 32,373 | cpp | C++ | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/AnimatingButtonsMenu/animating_buttons_menu_icons_game_2d_tiny.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/AnimatingButtonsMenu/animating_buttons_menu_icons_game_2d_tiny.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/AnimatingButtonsMenu/animating_buttons_menu_icons_game_2d_tiny.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | // Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_EXTFLASH_PRAGMA
KEEP extern const unsigned char _animating_buttons_menu_icons_game_2d_tiny[] LOCATION_EXTFLASH_ATTRIBUTE = { // 40x40 ARGB8888 pixels.
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,... | 250.953488 | 320 | 0.797146 | ramkumarkoppu |
831cdbbdec94c1b39855143515fe2e3bb97ba6ca | 76,056 | cpp | C++ | src/ui95/chandler.cpp | Terebinth/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 117 | 2015-01-13T14:48:49.000Z | 2022-03-16T01:38:19.000Z | src/ui95/chandler.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 4 | 2015-05-01T13:09:53.000Z | 2017-07-22T09:11:06.000Z | src/ui95/chandler.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 78 | 2015-01-13T09:27:47.000Z | 2022-03-18T14:39:09.000Z | #include <cISO646>
#include <windows.h>
#include <process.h>
#include "dispcfg.h"
#include "chandler.h"
#include "sim/include/ascii.h"
// OW needed for restoring textures after task switch
#include "graphics/include/texbank.h"
#include "graphics/include/fartex.h"
#include "graphics/include/terrtex.h"
#define UI_ABS(... | 25.729364 | 245 | 0.497909 | Terebinth |
831d951a84a5e736355b541633f5ec5a0af640ce | 8,579 | cpp | C++ | kernel/tr/mo/text.cpp | TonnyRed/sedna | 06ff5a13a16f2d820d3cf0ce579df23f03a59eda | [
"ECL-2.0",
"Apache-2.0"
] | 14 | 2015-09-06T10:17:02.000Z | 2021-12-14T22:39:25.000Z | kernel/tr/mo/text.cpp | TonnyRed/sedna | 06ff5a13a16f2d820d3cf0ce579df23f03a59eda | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-02-15T22:02:14.000Z | 2020-02-17T10:30:14.000Z | kernel/tr/mo/text.cpp | TonnyRed/sedna | 06ff5a13a16f2d820d3cf0ce579df23f03a59eda | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-07-23T05:48:20.000Z | 2021-04-11T05:01:39.000Z | /*
* File: text.cpp
* Copyright (C) 2009 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
*/
#include "tr/mo/mo.h"
#include "tr/mo/microoperations.h"
#include "tr/mo/microsurgery.h"
#include "tr/mo/indexupdate.h"
#include "tr/pstr/pstr.h"
#include "tr/pstr/pstr_long.h"
#include "... | 31.540441 | 120 | 0.628511 | TonnyRed |
831e7e56b36e0dd9fd1cb10bb3a9a06ac1264b1f | 61 | cc | C++ | src/eic_evgen/main.cc | sjdkay/DEMPgen | 36279b9890e53d9e803e5c2757a220a86ebb605d | [
"MIT"
] | 1 | 2020-03-04T19:48:54.000Z | 2020-03-04T19:48:54.000Z | src/eic_evgen/main.cc | sjdkay/DEMPgen | 36279b9890e53d9e803e5c2757a220a86ebb605d | [
"MIT"
] | 1 | 2022-03-07T21:30:26.000Z | 2022-03-07T21:30:26.000Z | src/eic_evgen/main.cc | sjdkay/DEMPgen | 36279b9890e53d9e803e5c2757a220a86ebb605d | [
"MIT"
] | 3 | 2022-03-07T21:19:40.000Z | 2022-03-10T15:37:25.000Z | #include "eic.h"
int main() {
eic();
return 0;
}
| 5.545455 | 16 | 0.459016 | sjdkay |
8321db9f6a1a01e249c3f0e445aeeb7018c1c8a3 | 2,055 | cpp | C++ | Source/System/Graphics/DX11/Texture/TextureArrayDX11.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | 2 | 2020-01-09T07:48:24.000Z | 2020-01-09T07:48:26.000Z | Source/System/Graphics/DX11/Texture/TextureArrayDX11.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | null | null | null | Source/System/Graphics/DX11/Texture/TextureArrayDX11.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | null | null | null | #include "TextureArrayDX11.hpp"
#include "../../../Core/Utility/CoreDef.hpp"
#include "../../Common/Texture/TextureArrayCommon.hpp"
#include "../../Common/Texture/TextureCommon.hpp"
namespace Engine5
{
TextureArrayDX11::TextureArrayDX11()
{
}
TextureArrayDX11::~TextureArrayDX11()
{
}
ID3... | 22.582418 | 92 | 0.603893 | arian153 |
83253f7e1d8a853c622b61a20c248740ac1535a2 | 11,628 | cpp | C++ | extract_misc/brainvisa_ext/RII_Struct3D-4.1.0/RicSulcalDepth/src/SucalDepthUtil.cpp | binarybottle/mindboggle_sidelined | 1431d4877f4ceae384486fb66798bc22e6471af7 | [
"Apache-2.0"
] | 3 | 2019-07-20T05:36:03.000Z | 2020-12-23T07:47:43.000Z | extract_misc/brainvisa_ext/RII_Struct3D-4.1.0/RicSulcalDepth/src/SucalDepthUtil.cpp | binarybottle/mindboggle_sidelined | 1431d4877f4ceae384486fb66798bc22e6471af7 | [
"Apache-2.0"
] | 2 | 2020-11-30T10:18:42.000Z | 2020-12-24T06:29:47.000Z | extract_misc/brainvisa_ext/RII_Struct3D-4.1.0/RicSulcalDepth/src/SucalDepthUtil.cpp | binarybottle/mindboggle_sidelined | 1431d4877f4ceae384486fb66798bc22e6471af7 | [
"Apache-2.0"
] | null | null | null | // --------------------------- ScalDepthUtil.cpp ----------------------------
/*! \file
This file contains utility routines for ricsulcaldepth.cpp (aka RicSulcalDepth)
Copyright (C) 2007 by Bill Rogers - Research Imaging Center - UTHSCSA
*/
#include <RicMesh.h>
#include <RicCurve.h>
#include <RicUtil.h>
#include "Ric... | 23.490909 | 82 | 0.620657 | binarybottle |
832741fd3d7da97338e75d0ee0e82c0ee76c9c06 | 304 | cpp | C++ | console-tank-game/console-tank-game/tile_wall_crumbly.cpp | Amakazor/console-tank-game | e286aa49966f4a74832847caccc07fcf20db15f4 | [
"MIT"
] | 1 | 2019-10-04T09:28:13.000Z | 2019-10-04T09:28:13.000Z | console-tank-game/console-tank-game/tile_wall_crumbly.cpp | Amakazor/console-tank-game | e286aa49966f4a74832847caccc07fcf20db15f4 | [
"MIT"
] | null | null | null | console-tank-game/console-tank-game/tile_wall_crumbly.cpp | Amakazor/console-tank-game | e286aa49966f4a74832847caccc07fcf20db15f4 | [
"MIT"
] | 1 | 2019-10-10T20:58:26.000Z | 2019-10-10T20:58:26.000Z | #include "tile_wall_crumbly.h"
tile_wall_crumbly::tile_wall_crumbly():tile::tile()
{
tile::type = "Destructible Wall";
tile::symbol = (char)197;
tile::passable = false;
tile::ap_cost = 0;
tile::cover = 100;
tile::destructible = true;
tile::hp = 2;
tile::after_destruct_type = "tile_rubble";
} | 19 | 51 | 0.690789 | Amakazor |
8328023d760996d39d2d37fee8a1613a473ec5a6 | 4,139 | cpp | C++ | med/roads_in_hackerland/main.cpp | exbibyte/hr | 100514dfc2a1c9b5366c12ec0a75e889132a620e | [
"MIT"
] | null | null | null | med/roads_in_hackerland/main.cpp | exbibyte/hr | 100514dfc2a1c9b5366c12ec0a75e889132a620e | [
"MIT"
] | null | null | null | med/roads_in_hackerland/main.cpp | exbibyte/hr | 100514dfc2a1c9b5366c12ec0a75e889132a620e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
string solve(int n, int m, map<int, set<int>> &edges,
map<pair<int, int>, int> &costs);
int main() {
int n, m;
cin >> n >> m;
// cout << n << " " << m << endl;
map<int, set<int>> edges;
map<pair<int, int>, int> costs;
for (int i = 0; ... | 26.196203 | 78 | 0.467746 | exbibyte |
832a5c71b100835572246cc052f74958ccc5647c | 1,622 | cpp | C++ | cpp/LocoThread.cpp | jbitoniau/SensorMonitor | f6d425bc331a0df364a15e654bbc90267cfae5aa | [
"MIT"
] | null | null | null | cpp/LocoThread.cpp | jbitoniau/SensorMonitor | f6d425bc331a0df364a15e654bbc90267cfae5aa | [
"MIT"
] | null | null | null | cpp/LocoThread.cpp | jbitoniau/SensorMonitor | f6d425bc331a0df364a15e654bbc90267cfae5aa | [
"MIT"
] | null | null | null | #include "LocoThread.h"
#ifdef _WIN32
#include <assert.h>
#include <Windows.h>
#else
#include <time.h>
#endif
namespace Loco
{
#ifdef _WIN32
class ThreadInitializer
{
public:
ThreadInitializer()
{
// Sets the minimum timer resolution to the minimum available on this machine
// This is use... | 23.507246 | 85 | 0.709618 | jbitoniau |
832c1b165169753b50de1c8469a2ca25d15ef4a6 | 1,688 | cpp | C++ | src/Input_pattern_class.cpp | fercer/artificial_neural_network | 5425310965f16cee7e84b19783764e6c5e05b3ff | [
"MIT"
] | null | null | null | src/Input_pattern_class.cpp | fercer/artificial_neural_network | 5425310965f16cee7e84b19783764e6c5e05b3ff | [
"MIT"
] | null | null | null | src/Input_pattern_class.cpp | fercer/artificial_neural_network | 5425310965f16cee7e84b19783764e6c5e05b3ff | [
"MIT"
] | null | null | null | #include "Input_pattern_class.h"
Input_pattern::Input_pattern()
{
input_pointer = NULL;
global_node_index = 0;
}
Input_pattern::Input_pattern(const unsigned int src_global_node_index)
{
input_pointer = NULL;
global_node_index = src_global_node_index;
}
Input_pattern::Input_pattern(const Input_pattern & src_... | 19.402299 | 118 | 0.783768 | fercer |
832d6505c9cb7b0909110140c6ceee68d8fd3fa4 | 310 | cpp | C++ | login_form/FormSplash.cpp | gcf89/qt_learn | ebb2a6f3b56779c93a2514bd1ff9596bb347353a | [
"Artistic-2.0"
] | null | null | null | login_form/FormSplash.cpp | gcf89/qt_learn | ebb2a6f3b56779c93a2514bd1ff9596bb347353a | [
"Artistic-2.0"
] | null | null | null | login_form/FormSplash.cpp | gcf89/qt_learn | ebb2a6f3b56779c93a2514bd1ff9596bb347353a | [
"Artistic-2.0"
] | null | null | null | #include "FormSplash.h"
#include "ui_FormSplash.h"
FormSplash::FormSplash(QWidget *parent) :
QWidget(parent),
ui(new Ui::FormSplash)
{
ui->setupUi(this);
setWindowFlags(Qt::FramelessWindowHint);
ui->label->setPixmap(QPixmap(":/icons/icons/Logo.png"));
}
FormSplash::~FormSplash()
{
delete ui;
}
| 17.222222 | 58 | 0.703226 | gcf89 |
832d989c2353efe4e036f1e00d9f120872441476 | 11,335 | cpp | C++ | engine/ui/src/ui.cpp | WNProject/WNFramework | 293d2b550ed8745654cc0a1da391588ed6abb96b | [
"BSD-2-Clause"
] | 6 | 2015-05-04T17:39:37.000Z | 2022-03-04T02:30:28.000Z | engine/ui/src/ui.cpp | WNProject/WNFramework | 293d2b550ed8745654cc0a1da391588ed6abb96b | [
"BSD-2-Clause"
] | 276 | 2015-05-27T21:30:31.000Z | 2022-03-24T01:52:36.000Z | engine/ui/src/ui.cpp | WNProject/WNFramework | 293d2b550ed8745654cc0a1da391588ed6abb96b | [
"BSD-2-Clause"
] | 2 | 2017-11-30T19:06:08.000Z | 2020-09-30T23:56:48.000Z | // Copyright (c) 2021, WNProject 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 "ui/inc/ui.h"
#include "Rocket/Controls/Controls.h"
#include "Rocket/Core.h"
#include "Rocket/Debugger/Debugger.h"
#include "WNGraphics/inc/WN... | 39.77193 | 80 | 0.706749 | WNProject |
8330865ef19ed21b530cdb2768576ab304fc8e8e | 89,414 | cpp | C++ | wos/libwos.cpp | JustinKyleJames/irods_resource_plugin_wos | 7cdece06b86fd42e4fb209101c853787e4067f8c | [
"BSD-3-Clause"
] | 1 | 2016-06-21T17:47:07.000Z | 2016-06-21T17:47:07.000Z | wos/libwos.cpp | JustinKyleJames/irods_resource_plugin_wos | 7cdece06b86fd42e4fb209101c853787e4067f8c | [
"BSD-3-Clause"
] | 21 | 2015-05-22T17:52:58.000Z | 2020-08-26T16:51:36.000Z | wos/libwos.cpp | JustinKyleJames/irods_resource_plugin_wos | 7cdece06b86fd42e4fb209101c853787e4067f8c | [
"BSD-3-Clause"
] | 2 | 2016-05-03T12:26:16.000Z | 2020-02-19T17:30:08.000Z |
// =-=-=-=-=-=-=-
// includes for the curl implementation
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <getopt.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <errno.h>
#include <curl/curl.h>
#include <sys/stat.h>
// =-=-=-=-=-=-=-
// irods includes
#i... | 35.967015 | 140 | 0.590053 | JustinKyleJames |
833125a9588bf7aad41dd6db96a21f96f9ee95b7 | 66 | cpp | C++ | es-core/src/components/base/IComponent.cpp | AdoPi/custom-es-fork | 49d23b57173612531fdf0f1c996592fb161df779 | [
"MIT"
] | null | null | null | es-core/src/components/base/IComponent.cpp | AdoPi/custom-es-fork | 49d23b57173612531fdf0f1c996592fb161df779 | [
"MIT"
] | null | null | null | es-core/src/components/base/IComponent.cpp | AdoPi/custom-es-fork | 49d23b57173612531fdf0f1c996592fb161df779 | [
"MIT"
] | null | null | null | //
// Created by bkg2k on 21/11/2019.
//
#include "IComponent.h"
| 11 | 34 | 0.636364 | AdoPi |
833639fb12f5a29acfce0b37cd3f59808dcbefe5 | 16,374 | cpp | C++ | CS133Assignment1/Date.cpp | qwergram/CSS133Assignment | e93aced43296583e3de63bd6e130c00845a13714 | [
"MIT"
] | null | null | null | CS133Assignment1/Date.cpp | qwergram/CSS133Assignment | e93aced43296583e3de63bd6e130c00845a13714 | [
"MIT"
] | null | null | null | CS133Assignment1/Date.cpp | qwergram/CSS133Assignment | e93aced43296583e3de63bd6e130c00845a13714 | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
// File: Date.cpp
//
// class: Date
// methods:
// Date::Date(short day, short month, short year)
// bool Date::operator==(const Comparable &other)const
// bool Date::operator<(const Comparable &other)const
// void Date::setCurrentDate(... | 26.073248 | 92 | 0.483327 | qwergram |
83394b1e0c965eb2b5dccd7c105539abc03f071a | 708 | cpp | C++ | test/containers/sequences/array/array.tuple/tuple_size.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 1,244 | 2015-01-02T21:08:56.000Z | 2022-03-22T21:34:16.000Z | test/containers/sequences/array/array.tuple/tuple_size.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 125 | 2015-01-22T01:08:00.000Z | 2020-05-25T08:28:17.000Z | test/containers/sequences/array/array.tuple/tuple_size.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 124 | 2015-01-12T15:06:17.000Z | 2022-03-26T07:48:53.000Z | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | 24.413793 | 80 | 0.430791 | caiohamamura |
8339c1ef9c63feb9caacef463356c036e6c56b05 | 469 | cpp | C++ | UVA/vol-116/11608.cpp | arash16/prays | 0fe6bb2fa008b8fc46c80b01729f68308114020d | [
"MIT"
] | 3 | 2017-05-12T14:45:37.000Z | 2020-01-18T16:51:25.000Z | UVA/vol-116/11608.cpp | arash16/prays | 0fe6bb2fa008b8fc46c80b01729f68308114020d | [
"MIT"
] | null | null | null | UVA/vol-116/11608.cpp | arash16/prays | 0fe6bb2fa008b8fc46c80b01729f68308114020d | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <iostream>
using namespace std;
int main(){
int cse=1, x, s, m[12];
while (cin>>s && s>=0) {
for (int i=0; i<12; i++)
cin >> m[i];
printf("Case %d:\n", cse++);
for (int i=0; i<12; i++) {
cin >> x;
if (s >= x) {
... | 20.391304 | 40 | 0.347548 | arash16 |
833d1f6d2944621ce409294e869eeafb5f792b78 | 1,576 | cc | C++ | thrift/compiler/ast/t_named.cc | oblanchet/fbthrift | 603706c91cdabc0576e4dcd63e5f5b086095a33c | [
"Apache-2.0"
] | null | null | null | thrift/compiler/ast/t_named.cc | oblanchet/fbthrift | 603706c91cdabc0576e4dcd63e5f5b086095a33c | [
"Apache-2.0"
] | 1 | 2021-08-21T07:48:46.000Z | 2021-08-21T07:48:46.000Z | thrift/compiler/ast/t_named.cc | LaudateCorpus1/fbthrift | fb70dc4df722931ed12931c9182d88079f00c2b0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 31.52 | 75 | 0.730964 | oblanchet |
834311a88cc9d47a1be2e758bc15aae36d2a25c1 | 44,942 | cc | C++ | src/outlinermath.cc | jariarkko/cave-outliner | 2077a24627881f45a27aec3eb4e5b4855f6b7fec | [
"BSD-3-Clause"
] | 4 | 2021-09-02T16:52:23.000Z | 2022-02-07T16:39:50.000Z | src/outlinermath.cc | jariarkko/cave-outliner | 2077a24627881f45a27aec3eb4e5b4855f6b7fec | [
"BSD-3-Clause"
] | 87 | 2021-09-12T06:09:57.000Z | 2022-02-15T00:05:43.000Z | src/outlinermath.cc | jariarkko/cave-outliner | 2077a24627881f45a27aec3eb4e5b4855f6b7fec | [
"BSD-3-Clause"
] | 1 | 2021-09-28T21:38:30.000Z | 2021-09-28T21:38:30.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
//
// CCC AAA V V ... | 36.657423 | 134 | 0.598349 | jariarkko |
8346580da28577cf886a6b790c76954016dbae04 | 502 | cpp | C++ | src/Game/zAnimList.cpp | stravant/bfbbdecomp | 2126be355a6bb8171b850f829c1f2731c8b5de08 | [
"OLDAP-2.7"
] | 1 | 2021-01-05T11:28:55.000Z | 2021-01-05T11:28:55.000Z | src/Game/zAnimList.cpp | sonich2401/bfbbdecomp | 5f58b62505f8929a72ccf2aa118a1539eb3a5bd6 | [
"OLDAP-2.7"
] | null | null | null | src/Game/zAnimList.cpp | sonich2401/bfbbdecomp | 5f58b62505f8929a72ccf2aa118a1539eb3a5bd6 | [
"OLDAP-2.7"
] | 1 | 2022-03-30T15:15:08.000Z | 2022-03-30T15:15:08.000Z | #include "zAnimList.h"
#include <types.h>
// func_8004E7E0
#pragma GLOBAL_ASM("asm/Game/zAnimList.s", "AlwaysConditional__FP15xAnimTransitionP11xAnimSinglePv")
// func_8004E7E8
#pragma GLOBAL_ASM("asm/Game/zAnimList.s", "zAnimListInit__Fv")
// func_8004EB44
#pragma GLOBAL_ASM("asm/Game/zAnimList.s", "zAnimListExit_... | 26.421053 | 100 | 0.784861 | stravant |
834f5bc52c56b23ab32e5ce48f569ce18e7ab568 | 98 | cpp | C++ | ECS/src/provided/Component/MonoBehaviourComponent.cpp | MichielCuijpers/Starfarm | 560786282e105be043807820eee400db461d18f6 | [
"MIT"
] | null | null | null | ECS/src/provided/Component/MonoBehaviourComponent.cpp | MichielCuijpers/Starfarm | 560786282e105be043807820eee400db461d18f6 | [
"MIT"
] | null | null | null | ECS/src/provided/Component/MonoBehaviourComponent.cpp | MichielCuijpers/Starfarm | 560786282e105be043807820eee400db461d18f6 | [
"MIT"
] | null | null | null | //
// Created by TipLa on 14/04/2019.
//
#include "MonoBehaviourComponent.hpp"
namespace ecs
{}
| 10.888889 | 37 | 0.693878 | MichielCuijpers |
8354e51f173c69843a14551cf2691f141420432c | 2,464 | cpp | C++ | graph-source-code/237-E/2433613.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/237-E/2433613.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/237-E/2433613.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: MS C++
#pragma comment(linker,"/STACK:300000000")
#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:4800)
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cmath>
#include <map>
#include <set>
#include <iomanip>
#include <memory.h>
#include <cstdio>... | 18.666667 | 68 | 0.54789 | AmrARaouf |
835a747f269830c3b3245f29ebb08b70fc80b85b | 117 | cpp | C++ | cpp/backup/Thread/ThreadManager.cpp | cheukw/sample | 602d5d055c3e11e1e0ba385128e64b9c0aa81305 | [
"MIT"
] | null | null | null | cpp/backup/Thread/ThreadManager.cpp | cheukw/sample | 602d5d055c3e11e1e0ba385128e64b9c0aa81305 | [
"MIT"
] | null | null | null | cpp/backup/Thread/ThreadManager.cpp | cheukw/sample | 602d5d055c3e11e1e0ba385128e64b9c0aa81305 | [
"MIT"
] | null | null | null | #include "ThreadManager.h"
ThreadManager::ThreadManager()
{
}
ThreadManager::~ThreadManager()
{
}
| 8.357143 | 32 | 0.623932 | cheukw |
835b124c3b6021f9168b2075b5aab6c9388004f8 | 1,979 | hpp | C++ | include/common/tsqueue.hpp | AlexandruIca/NetworkMessages | 07a822d046d0e593b9310536327ec614ff20601e | [
"Unlicense"
] | null | null | null | include/common/tsqueue.hpp | AlexandruIca/NetworkMessages | 07a822d046d0e593b9310536327ec614ff20601e | [
"Unlicense"
] | null | null | null | include/common/tsqueue.hpp | AlexandruIca/NetworkMessages | 07a822d046d0e593b9310536327ec614ff20601e | [
"Unlicense"
] | null | null | null | #ifndef NET_COMMON_TSQUEUE_HPP
#define NET_COMMON_TSQUEUE_HPP
#pragma once
#include <cstddef>
#include <deque>
#include <mutex>
#include <utility>
namespace net {
template<typename T>
class tsqueue
{
private:
mutable std::mutex m_mutex;
std::deque<T> m_queue;
public:
tsqueue() = default;
tsqueue(tsq... | 21.988889 | 61 | 0.586155 | AlexandruIca |
835d355d2149cbb5898c977afbac54945ca67c57 | 775 | cpp | C++ | 0337-House Robber III/0337-House Robber III.cpp | zhuangli1987/LeetCode-1 | e81788abf9e95e575140f32a58fe983abc97fa4a | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 0301-0400/0337-House Robber III/0337-House Robber III.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 0301-0400/0337-House Robber III/0337-House Robber III.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int rob(TreeNode* root) {
vector<int> result = robHelper(root);
return max(resu... | 24.21875 | 68 | 0.523871 | zhuangli1987 |
83601c01f2b2ad2f336a61e9a1f658cfbb6aa0b5 | 2,932 | cpp | C++ | src/Widgets/MenuLabelLayer.cpp | huntermalm/Layers | 1f2f6eabe3be8dfbc60d682ca47543f7807a0bbf | [
"MIT"
] | null | null | null | src/Widgets/MenuLabelLayer.cpp | huntermalm/Layers | 1f2f6eabe3be8dfbc60d682ca47543f7807a0bbf | [
"MIT"
] | null | null | null | src/Widgets/MenuLabelLayer.cpp | huntermalm/Layers | 1f2f6eabe3be8dfbc60d682ca47543f7807a0bbf | [
"MIT"
] | null | null | null | #include "../../include/AttributeWidgets.h"
#include "../../include/MenuLabelLayer.h"
using Layers::Button;
using Layers::Label;
using Layers::Menu;
using Layers::MenuLabelLayer;
MenuLabelLayer::MenuLabelLayer(Menu* menu, QWidget* parent) :
m_icon_button{ new Button(new Graphic(*menu->icon), false) },
m_text_label{... | 25.059829 | 83 | 0.778308 | huntermalm |
8361d646c42d5cba23f5149221933b967d7fa604 | 765 | hpp | C++ | swizzle/ast/nodes/DefaultStringValue.hpp | SenorAgosto/Swizzle | 52c221de9fa293b0006f07a41b140d2afcc1a9ed | [
"BSD-4-Clause"
] | null | null | null | swizzle/ast/nodes/DefaultStringValue.hpp | SenorAgosto/Swizzle | 52c221de9fa293b0006f07a41b140d2afcc1a9ed | [
"BSD-4-Clause"
] | null | null | null | swizzle/ast/nodes/DefaultStringValue.hpp | SenorAgosto/Swizzle | 52c221de9fa293b0006f07a41b140d2afcc1a9ed | [
"BSD-4-Clause"
] | null | null | null | #pragma once
#include <swizzle/ast/Node.hpp>
#include <swizzle/lexer/TokenInfo.hpp>
#include <cstddef>
#include <string>
namespace swizzle { namespace ast {
class VisitorInterface;
}}
namespace swizzle { namespace ast { namespace nodes {
class DefaultStringValue : public Node
{
public:
Defa... | 23.90625 | 122 | 0.677124 | SenorAgosto |
83691f0e110214ef4a59c0f138f8f775ddaebce0 | 16,464 | cpp | C++ | legacy/gnupg/common/t-stringhelp.cpp | mehrdad-shokri/neopg | 05b370c04ffc019e55d75ab262d17abe6e69cafc | [
"BSD-2-Clause"
] | 224 | 2017-10-29T09:48:00.000Z | 2021-07-21T10:27:14.000Z | legacy/gnupg/common/t-stringhelp.cpp | mehrdad-shokri/neopg | 05b370c04ffc019e55d75ab262d17abe6e69cafc | [
"BSD-2-Clause"
] | 66 | 2017-10-29T16:17:55.000Z | 2020-11-30T18:53:40.000Z | legacy/gnupg/common/t-stringhelp.cpp | mehrdad-shokri/neopg | 05b370c04ffc019e55d75ab262d17abe6e69cafc | [
"BSD-2-Clause"
] | 22 | 2017-10-29T19:55:45.000Z | 2020-01-04T13:25:50.000Z | /* t-stringhelp.c - Regression tests for stringhelp.c
* Copyright (C) 2007 Free Software Foundation, Inc.
* 2015 g10 Code GmbH
*
* This file is part of GnuPG.
*
* GnuPG is free software; you can redistribute and/or modify this
* part of GnuPG under the terms of either
*
* - the GNU Lesser Gene... | 29.295374 | 80 | 0.429057 | mehrdad-shokri |
836cea669f660d9e2cd9553b4da0e0f5715a5af3 | 638 | cpp | C++ | 347-top-k-frequent-elements/347-top-k-frequent-elements.cpp | champmaniac/LeetCode | 65810e0123e0ceaefb76d0a223436d1525dac0d4 | [
"MIT"
] | 1 | 2022-02-27T09:01:07.000Z | 2022-02-27T09:01:07.000Z | 347-top-k-frequent-elements/347-top-k-frequent-elements.cpp | champmaniac/LeetCode | 65810e0123e0ceaefb76d0a223436d1525dac0d4 | [
"MIT"
] | null | null | null | 347-top-k-frequent-elements/347-top-k-frequent-elements.cpp | champmaniac/LeetCode | 65810e0123e0ceaefb76d0a223436d1525dac0d4 | [
"MIT"
] | null | null | null | class Solution { // TC O(n)
public:
vector<int> topKFrequent(vector<int>& nums, int k) {
unordered_map<int,int> mp;
int n = nums.size();
for(int i=0;i<n;i++){
mp[nums[i]]++;
}
vector<vector<int>> buckets(n);
for(auto it = mp.begin();i... | 31.9 | 76 | 0.484326 | champmaniac |
836ec9798f6f8c8f2658f67f1a524c7a17cf03a0 | 33,287 | cc | C++ | src/rocblas_wrappers.cc | G-Ragghianti/blaspp | 7650db32e9fc4c69bd10388c2dee8865cfcfa36f | [
"BSD-3-Clause"
] | null | null | null | src/rocblas_wrappers.cc | G-Ragghianti/blaspp | 7650db32e9fc4c69bd10388c2dee8865cfcfa36f | [
"BSD-3-Clause"
] | null | null | null | src/rocblas_wrappers.cc | G-Ragghianti/blaspp | 7650db32e9fc4c69bd10388c2dee8865cfcfa36f | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2017-2021, University of Tennessee. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
// This program is free software: you can redistribute it and/or modify it under
// the terms of the BSD 3-Clause license. See the accompanying LICENSE file.
#include "blas/device.hh"
#ifdef BLAS_HAVE_RO... | 32.475122 | 108 | 0.513654 | G-Ragghianti |
83757500261ff583fa5227a73296280c4eb83929 | 2,469 | hpp | C++ | Sources/AGEngine/Render/GeometryManagement/DebugDrawManager.hpp | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 47 | 2015-03-29T09:44:25.000Z | 2020-11-30T10:05:56.000Z | Sources/AGEngine/Render/GeometryManagement/DebugDrawManager.hpp | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 313 | 2015-01-01T18:16:30.000Z | 2015-11-30T07:54:07.000Z | Sources/AGEngine/Render/GeometryManagement/DebugDrawManager.hpp | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 9 | 2015-06-07T13:21:54.000Z | 2020-08-25T09:50:07.000Z | #pragma once
#include <vector>
#include <glm/glm.hpp>
#include <Utils/Spinlock.hpp>
#include <Utils/Dependency.hpp>
#include <Utils/Containers/PODVector.hpp>
namespace AGE
{
class PaintingManager;
class Painter;
class DebugDrawManager : public Dependency < DebugDrawManager >
{
public:
struct SimpleVec2
{
... | 35.782609 | 144 | 0.738356 | Another-Game-Engine |
83782b69bfe531b044dd9673434c8eda50bae513 | 717 | cxx | C++ | test/t634.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 10 | 2018-03-26T07:41:44.000Z | 2021-11-06T08:33:24.000Z | test/t634.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | null | null | null | test/t634.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 1 | 2020-11-17T03:17:00.000Z | 2020-11-17T03:17:00.000Z | /* -*- C++ -*- */
/*************************************************************************
* Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch)
*
* For the licensing terms see the file COPYING
*
************************************************************************/
#include <stdio.h>
class TA {
public... | 23.129032 | 74 | 0.440725 | paulwratt |
837a6e6ec3d184dc4b8aa05c80758d6043750930 | 685 | hpp | C++ | src/Cl/ClTools.hpp | Jino42/stf | f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db | [
"Unlicense"
] | null | null | null | src/Cl/ClTools.hpp | Jino42/stf | f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db | [
"Unlicense"
] | null | null | null | src/Cl/ClTools.hpp | Jino42/stf | f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db | [
"Unlicense"
] | null | null | null | #pragma once
#include <NTL.hpp>
#include <iostream>
#include <Cl/ClContext.hpp>
#include <Cl/ClError.hpp>
namespace ClTools {
template <typename T>
void printIntArrayGpu(cl::Buffer &buffer, size_t length,
std::string const &name, void (*print)(T*)) {
ClError err;
cl::CommandQueue queue(ClContext::Get().contex... | 29.782609 | 86 | 0.642336 | Jino42 |
837a852ea239c42c7f4a655106d388572b67417b | 8,486 | cpp | C++ | src/opengl/renderer.cpp | lahoising/MobRend | c804a0cfebd06818a5cbf1747c2337ea134c11d7 | [
"MIT"
] | null | null | null | src/opengl/renderer.cpp | lahoising/MobRend | c804a0cfebd06818a5cbf1747c2337ea134c11d7 | [
"MIT"
] | null | null | null | src/opengl/renderer.cpp | lahoising/MobRend | c804a0cfebd06818a5cbf1747c2337ea134c11d7 | [
"MIT"
] | null | null | null | #ifdef MOBREND_GL_RENDERING
#include <glad/glad.h>
#include <glm/glm.hpp>
#ifdef MOBREND_GLFW_WINDOW
#include <mobrend/glfw/window.h>
#endif
#include "mr_logger.h"
#include <mobrend/opengl/renderer.h>
#include <mobrend/gui.h>
#include <mobrend/application.h>
#include <mobrend/model.h>
#include <mobrend/mesh.h>
#in... | 25.871951 | 90 | 0.699387 | lahoising |
837ac01c040c638ad3aad26de9c78fdf6b41408d | 8,369 | cpp | C++ | src/TactileSwitch.cpp | IGB-Germany/TactileSwitch | 0b7a2be6841daed6027ee6e640fc39411a11e3a3 | [
"Unlicense"
] | null | null | null | src/TactileSwitch.cpp | IGB-Germany/TactileSwitch | 0b7a2be6841daed6027ee6e640fc39411a11e3a3 | [
"Unlicense"
] | null | null | null | src/TactileSwitch.cpp | IGB-Germany/TactileSwitch | 0b7a2be6841daed6027ee6e640fc39411a11e3a3 | [
"Unlicense"
] | null | null | null | //tactile switch class
#include "TactileSwitch.h"
//Constructor
TactileSwitch::TactileSwitch(uint8_t pin, uint8_t number, uint8_t mode, bool enablePullUp):
_number(number),
_pin(pin),
_mode(mode),
_enablePullUp(enablePullUp),
_event (NO_EVENT),
_message (NO_MESSAGE),
_state (START),
_previousState(STAR... | 21.908377 | 98 | 0.623491 | IGB-Germany |
837b253adc810aeced2b1deff350f0f92a3a50ec | 168 | cpp | C++ | tests/map/map_delete_inside_data.cpp | ye-luo/openmp-target | f042e9d255b521e07ca32fe08799e736d4b1c70c | [
"BSD-3-Clause"
] | 5 | 2020-02-14T03:32:58.000Z | 2021-06-21T18:13:02.000Z | tests/map/map_delete_inside_data.cpp | ye-luo/openmp-target | f042e9d255b521e07ca32fe08799e736d4b1c70c | [
"BSD-3-Clause"
] | 1 | 2020-02-24T01:48:06.000Z | 2020-02-24T01:48:57.000Z | tests/map/map_delete_inside_data.cpp | ye-luo/openmp-target | f042e9d255b521e07ca32fe08799e736d4b1c70c | [
"BSD-3-Clause"
] | 4 | 2020-05-20T16:04:10.000Z | 2021-06-22T20:06:39.000Z | int main()
{
int a[100];
#pragma omp target enter data map(alloc:a)
#pragma omp target data map(alloc:a)
{
#pragma omp target exit data map(delete:a)
}
}
| 16.8 | 46 | 0.642857 | ye-luo |
837f1a18ca7836cd3789fc11114589f5f4e04e16 | 15,821 | cxx | C++ | Code/Core/Applications/AOTEstimation/vnsAppDarkestPixelAOT.cxx | spacebel/MAJA | 3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e | [
"Apache-2.0"
] | 57 | 2020-09-30T08:51:22.000Z | 2021-12-19T20:28:30.000Z | Code/Core/Applications/AOTEstimation/vnsAppDarkestPixelAOT.cxx | spacebel/MAJA | 3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e | [
"Apache-2.0"
] | 34 | 2020-09-29T21:27:22.000Z | 2022-02-03T09:56:45.000Z | Code/Core/Applications/AOTEstimation/vnsAppDarkestPixelAOT.cxx | spacebel/MAJA | 3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e | [
"Apache-2.0"
] | 14 | 2020-10-11T13:17:59.000Z | 2022-03-09T15:58:19.000Z | /*
* Copyright (C) 2020 Centre National d'Etudes Spatiales (CNES)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 46.669617 | 140 | 0.585298 | spacebel |
8388bd49bc0e8b718d88f392bed4a1565d602fba | 853 | hpp | C++ | include/LightBulb/LightBulbPrec.hpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 5 | 2016-02-04T06:14:42.000Z | 2017-02-06T02:21:43.000Z | include/LightBulb/LightBulbPrec.hpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 41 | 2015-04-15T21:05:45.000Z | 2015-07-09T12:59:02.000Z | include/LightBulb/LightBulbPrec.hpp | domin1101/LightBulb | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | null | null | null |
#include <map>
#include <vector>
#include <mutex>
#include <stdexcept>
#include <random>
#include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
#include <memory>
#include <cmath>
#include <thread>
#include <Eigen/Dense>
#include <viennacl/vector.hpp>
#include <viennacl/scalar.hpp>
#include <vi... | 24.371429 | 46 | 0.770223 | domin1101 |
8391114feb1b678d231f349cc202cf50a0bba85c | 106 | cc | C++ | src/code_writen_when_learning/if_else_as_macro_para.cc | NobodyXu/snippet | 8f0308e48dab1d166dc9e5ff43b00db2d35b616b | [
"MIT"
] | 1 | 2019-04-02T04:38:15.000Z | 2019-04-02T04:38:15.000Z | src/code_writen_when_learning/if_else_as_macro_para.cc | NobodyXu/snippet | 8f0308e48dab1d166dc9e5ff43b00db2d35b616b | [
"MIT"
] | null | null | null | src/code_writen_when_learning/if_else_as_macro_para.cc | NobodyXu/snippet | 8f0308e48dab1d166dc9e5ff43b00db2d35b616b | [
"MIT"
] | null | null | null | #include <cstdio>
#define A(a) a
int main() { A(if constexpr(1) printf("DSD\n"); else printf("ASD\n");) }
| 26.5 | 72 | 0.622642 | NobodyXu |
8392c2f506a188370733acf12a0f96997cf6a254 | 281 | cpp | C++ | computation/read_ints.cpp | polde-live/cpp-bs | 924541327998a2009a543108220456c0f5c34057 | [
"Unlicense"
] | null | null | null | computation/read_ints.cpp | polde-live/cpp-bs | 924541327998a2009a543108220456c0f5c34057 | [
"Unlicense"
] | null | null | null | computation/read_ints.cpp | polde-live/cpp-bs | 924541327998a2009a543108220456c0f5c34057 | [
"Unlicense"
] | null | null | null | #include "../std_lib_facilities.h"
int main() {
string s1;
string s2;
while (true) {
cout << "Provide two integers" << endl;
cin >> s1 >> s2;
if (s1 == "|" || s2 == "'") break;
cout << s1 << '\t' << s2 << endl;
}
return 0;
}
| 17.5625 | 47 | 0.434164 | polde-live |
8393570ae978241a8d0b0a91dacd3178c803741e | 4,613 | cc | C++ | chrome/browser/ash/file_manager/speedometer_unittest.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/ash/file_manager/speedometer_unittest.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/ash/file_manager/speedometer_unittest.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 (c) 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 "chrome/browser/ash/file_manager/speedometer.h"
#include <cmath>
#include <limits>
#include "base/test/scoped_mock_clock_override.h"
#includ... | 33.18705 | 80 | 0.728376 | zealoussnow |
8393e9f57e79eed22781243ed944b64484ed065b | 4,628 | hpp | C++ | cpp/include/algorithm/string/shunting_yard.hpp | rohithv999/ProAlgos-Cpp | 36dcb1706e464bdbabfb949ac194b4db12aead3d | [
"MIT"
] | 222 | 2020-05-12T23:33:21.000Z | 2022-03-31T16:57:43.000Z | cpp/include/algorithm/string/shunting_yard.hpp | rohithv999/ProAlgos-Cpp | 36dcb1706e464bdbabfb949ac194b4db12aead3d | [
"MIT"
] | 93 | 2020-05-07T21:08:41.000Z | 2022-03-28T00:40:04.000Z | cpp/include/algorithm/string/shunting_yard.hpp | rohithv999/ProAlgos-Cpp | 36dcb1706e464bdbabfb949ac194b4db12aead3d | [
"MIT"
] | 95 | 2020-05-07T22:22:11.000Z | 2022-02-01T08:39:25.000Z | /*
Shunting Yard
----------------------------------------------
Converting an infix arithmetic string to a post-fix one, A.K.A. Reverse Polish Notation.
This implementation does not implement functions and solely focuses on simple arithmetic of consisting of [-,+,*,/,^]
Time complexity
--------... | 43.660377 | 121 | 0.455056 | rohithv999 |
8394858e14e0d11ada9cfb773a2a9bb806372c22 | 2,228 | cpp | C++ | C++/03. Classes/07. Virtual Functions/VirtualFunctions.cpp | AdityaSingh17/HackerRank-Solutions | 65b7fcd6e82be242fcc7e5b1771941206a8b7940 | [
"MIT"
] | null | null | null | C++/03. Classes/07. Virtual Functions/VirtualFunctions.cpp | AdityaSingh17/HackerRank-Solutions | 65b7fcd6e82be242fcc7e5b1771941206a8b7940 | [
"MIT"
] | null | null | null | C++/03. Classes/07. Virtual Functions/VirtualFunctions.cpp | AdityaSingh17/HackerRank-Solutions | 65b7fcd6e82be242fcc7e5b1771941206a8b7940 | [
"MIT"
] | null | null | null | // Virtual Functions
// Problem Link: https://www.hackerrank.com/challenges/virtual-functions/problem
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
// Write the classes Person, Professor and Student here.
class Person
{
public:
string name;
... | 20.072072 | 80 | 0.495512 | AdityaSingh17 |
8b505136a95f188eaf7cfa753f70eb4b5647d720 | 1,530 | cpp | C++ | Projects/WebAthl/RulesSet.cpp | darianbridge/WebAthl | daf916b169983375022a39645419f79c7f3cbfed | [
"Apache-2.0"
] | null | null | null | Projects/WebAthl/RulesSet.cpp | darianbridge/WebAthl | daf916b169983375022a39645419f79c7f3cbfed | [
"Apache-2.0"
] | null | null | null | Projects/WebAthl/RulesSet.cpp | darianbridge/WebAthl | daf916b169983375022a39645419f79c7f3cbfed | [
"Apache-2.0"
] | 1 | 2021-07-05T10:10:21.000Z | 2021-07-05T10:10:21.000Z | // RulesSet.cpp : implementation file
//
#include "stdafx.h"
#include "CSV.h"
#include "StringStream.h"
#include "RecordsetEx.h"
#include "RulesSet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////////////////////////////////////////////////////////////... | 19.87013 | 77 | 0.642484 | darianbridge |
8b50cc1989ffefa5f1f50117c5d1f727a433be43 | 15,691 | cpp | C++ | source/write.cpp | luciebakels/StarPopMaker | 2556d1531af15360f1f72d8539987aec3d6cc906 | [
"BSD-3-Clause"
] | null | null | null | source/write.cpp | luciebakels/StarPopMaker | 2556d1531af15360f1f72d8539987aec3d6cc906 | [
"BSD-3-Clause"
] | null | null | null | source/write.cpp | luciebakels/StarPopMaker | 2556d1531af15360f1f72d8539987aec3d6cc906 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <fstream>
#include <array>
#include <vector>
#include <algorithm>
#include <cstdint>
#include <cmath>
#include <sstream>
#include <random>
#include "proto.h"
#include "allvars.h"
#include "mpi.h"
void writeVector(std::vector<std::vector<double>> outputvector, std::string fileName, char x){... | 35.024554 | 136 | 0.551463 | luciebakels |
8b514529904372469c8cb3e6428ab6efb43371d5 | 1,470 | cpp | C++ | src/loginserver/server/protocal/msgcpp.cpp | mage-game/metagame-xm-server | 193b67389262803fe0eae742800b1e878b5b3087 | [
"MIT"
] | 3 | 2021-12-16T13:57:28.000Z | 2022-03-26T07:50:08.000Z | src/loginserver/server/protocal/msgcpp.cpp | mage-game/metagame-xm-server | 193b67389262803fe0eae742800b1e878b5b3087 | [
"MIT"
] | null | null | null | src/loginserver/server/protocal/msgcpp.cpp | mage-game/metagame-xm-server | 193b67389262803fe0eae742800b1e878b5b3087 | [
"MIT"
] | 1 | 2022-03-26T07:50:11.000Z | 2022-03-26T07:50:11.000Z |
#include "servercommon/userprotocal/msgheader.h"
#include "servercommon/userprotocal/loginmsgcode.h"
#include "msglogin.h"
#include "msgregister.h"
namespace Protocol
{
CSLogin::CSLogin():header(MT_NEW_LOGIN_REQ_CS){}
SCRoleList::SCRoleList():header(MT_ROLE_LIST_SC){}
CSRoleReq::CSRoleReq():header(MT_NEW_ROLE_REQ_... | 43.235294 | 80 | 0.817007 | mage-game |
8b58c243dbee99b83a3fc229d6075c3697765a90 | 2,994 | hpp | C++ | libraries/include/TRG.hpp | JoyM1K1/o3-sigma-model-TRG | 2bbb5db3f5ea523e4dfb8a0b469e303abd9e563b | [
"MIT"
] | null | null | null | libraries/include/TRG.hpp | JoyM1K1/o3-sigma-model-TRG | 2bbb5db3f5ea523e4dfb8a0b469e303abd9e563b | [
"MIT"
] | null | null | null | libraries/include/TRG.hpp | JoyM1K1/o3-sigma-model-TRG | 2bbb5db3f5ea523e4dfb8a0b469e303abd9e563b | [
"MIT"
] | null | null | null | #ifndef O3_SIGMA_MODEL_TRG_HPP
#define O3_SIGMA_MODEL_TRG_HPP
#include "tensor.hpp"
#include "impure_tensor.hpp"
#define MAX_IMT_NUM 6
namespace TRG {
class Unitary_S {
public:
double *array{nullptr};
int D_cut{0};
Unitary_S() = default;
explicit Unitary_S(int D_cut);
... | 35.223529 | 200 | 0.663661 | JoyM1K1 |
8b599406e69a9e3ef7e8e5aa1549aa2b976d5efc | 1,292 | cpp | C++ | lyngvi.cpp | TuliMyrskyTaivas/Lyngvi | c96a4c06b743e64cb83045f3fdb4d9271f184dca | [
"MIT"
] | null | null | null | lyngvi.cpp | TuliMyrskyTaivas/Lyngvi | c96a4c06b743e64cb83045f3fdb4d9271f184dca | [
"MIT"
] | null | null | null | lyngvi.cpp | TuliMyrskyTaivas/Lyngvi | c96a4c06b743e64cb83045f3fdb4d9271f184dca | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////
/// file: lyngvi.cpp
///
/// summary: Declares the interface of Lyngvi library
//////////////////////////////////////////////////////////////////////////
#include <stdexcept>
#include <memory>
#include "lyngvi.h"
#include "engine.h"
namesp... | 23.925926 | 74 | 0.466718 | TuliMyrskyTaivas |
8b5d852093af625ccf7410d51d3b465e1bfef898 | 575 | cpp | C++ | loom/common/platform/platformMemory.cpp | jamesmintram/LoomSDK | 45b9f7123a6e3d671a3356f14cc0164155e4d3d3 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | loom/common/platform/platformMemory.cpp | jamesmintram/LoomSDK | 45b9f7123a6e3d671a3356f14cc0164155e4d3d3 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 1 | 2015-01-01T01:05:37.000Z | 2015-01-01T04:14:38.000Z | loom/common/platform/platformMemory.cpp | jamesmintram/LoomSDK | 45b9f7123a6e3d671a3356f14cc0164155e4d3d3 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null |
#include "loom/common/platform/platform.h"
#if LOOM_PLATFORM == LOOM_PLATFORM_OSX || LOOM_PLATFORM == LOOM_PLATFORM_IOS
#include <mach/mach.h>
unsigned int platform_getProcessMemory()
{
struct task_basic_info info;
mach_msg_type_number_t size = sizeof(info);
kern_return_t kerr = task_info(mach_task... | 17.424242 | 76 | 0.686957 | jamesmintram |
8b5e69a7e7e7179da985ed7b5c4a2586598a04bc | 4,577 | cpp | C++ | Source Files/entity.cpp | nicholaschiasson/d00m3d | ffca509901686bc5eb21baf15570989808f653a9 | [
"MIT"
] | null | null | null | Source Files/entity.cpp | nicholaschiasson/d00m3d | ffca509901686bc5eb21baf15570989808f653a9 | [
"MIT"
] | null | null | null | Source Files/entity.cpp | nicholaschiasson/d00m3d | ffca509901686bc5eb21baf15570989808f653a9 | [
"MIT"
] | null | null | null | #include "entity.h"
#include "defines.h"
unsigned int Entity::entityCount = 0;
Entity::Entity(): sceneNode(NULL)
{
}
Entity::~Entity()
{
}
void Entity::kill()
{
alive = false;
health = 0;
}
void Entity::spaghettify()
{
kill();
spaghettified = true;
}
void Entity::cleanup()
{
if(sceneNode){
sceneNode->getP... | 16.583333 | 130 | 0.689972 | nicholaschiasson |
8b5f0a52d88e5d4b75764f60bf78ff975eb5c06f | 1,916 | cpp | C++ | questions/textedit-wait-21945044/main.cpp | SammyEnigma/stackoverflown | 0f70f2534918b2e65cec1046699573091d9a40b5 | [
"Unlicense"
] | 54 | 2015-09-13T07:29:52.000Z | 2022-03-16T07:43:50.000Z | questions/textedit-wait-21945044/main.cpp | SammyEnigma/stackoverflown | 0f70f2534918b2e65cec1046699573091d9a40b5 | [
"Unlicense"
] | null | null | null | questions/textedit-wait-21945044/main.cpp | SammyEnigma/stackoverflown | 0f70f2534918b2e65cec1046699573091d9a40b5 | [
"Unlicense"
] | 31 | 2016-08-26T13:35:01.000Z | 2022-03-13T16:43:12.000Z | #include <QApplication>
#include <QTextEdit>
#include <QBasicTimer>
#include <QSqlDatabase>
#include <QThread>
class ProductData {
};
Q_DECLARE_METATYPE(ProductData)
class PoS : public QWidget {
Q_OBJECT
enum QueryBehavior { FinalQuery, MultipleQuery };
QBasicTimer m_queryTimer;
QueryBehavior m_queryBehav... | 26.611111 | 96 | 0.66858 | SammyEnigma |
8b62641f47ce505c526c80ae2b011eb28b640a3e | 5,514 | cpp | C++ | Directx11FPS/Help/App/class.InputManager.cpp | sekys/FPS | d582b6b5fb55adc88b6c4aa6a4cd2145488db31f | [
"MIT"
] | null | null | null | Directx11FPS/Help/App/class.InputManager.cpp | sekys/FPS | d582b6b5fb55adc88b6c4aa6a4cd2145488db31f | [
"MIT"
] | null | null | null | Directx11FPS/Help/App/class.InputManager.cpp | sekys/FPS | d582b6b5fb55adc88b6c4aa6a4cd2145488db31f | [
"MIT"
] | 1 | 2018-03-27T16:02:28.000Z | 2018-03-27T16:02:28.000Z | /*
#include "class.InputManager.h"
#include "./Direct.h"
#include "./classes/UI/Base/class.Input.h"
#include "../Help/class.GameConfig.h"
#include "../Help/Base/class.WinDebug.h"
#include "../Help/Algebra/class.Math.h"
#include "../Help/Base/class.Timer.h"
#include "../Entity/Base/class.Ent.h"
#include "../Entity/Base/... | 30.977528 | 156 | 0.664128 | sekys |
8b65c0eb676f25db20525f00c9a024266ebbf283 | 328 | inl | C++ | shared/test/unit_test/helpers/test_debug_variables.inl | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 778 | 2017-09-29T20:02:43.000Z | 2022-03-31T15:35:28.000Z | shared/test/unit_test/helpers/test_debug_variables.inl | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 478 | 2018-01-26T16:06:45.000Z | 2022-03-30T10:19:10.000Z | shared/test/unit_test/helpers/test_debug_variables.inl | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 215 | 2018-01-30T08:39:32.000Z | 2022-03-29T11:08:51.000Z | /*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
DECLARE_DEBUG_VARIABLE(std::string, StringTestKey, "DefaultTestValue", "TestDescription")
DECLARE_DEBUG_VARIABLE(int32_t, IntTestKey, 1234, "TestDescription")
DECLARE_DEBUG_VARIABLE(int32_t, IntTestKeyHex, 0xDEADBEEF, "TestDescri... | 29.818182 | 89 | 0.786585 | troels |
8b69ca51254a459b0995a14ae4eeb4e78552477c | 3,583 | cpp | C++ | assembler/assembly-type.cpp | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-09T03:17:23.000Z | 2021-09-09T03:17:23.000Z | assembler/assembly-type.cpp | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | null | null | null | assembler/assembly-type.cpp | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:21:57.000Z | 2021-09-13T11:21:57.000Z | /*
* Copyright (c) 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 law or a... | 28.664 | 106 | 0.60173 | openharmony-gitee-mirror |
8b69da557790d2e4735301bcc84805eeacc179ca | 343 | hpp | C++ | include/graphics/SkyboxRenderableHandle.hpp | icebreakersentertainment/ice_engine | 52a8313bc266c053366bdf554b5dc27a54ddcb25 | [
"MIT"
] | null | null | null | include/graphics/SkyboxRenderableHandle.hpp | icebreakersentertainment/ice_engine | 52a8313bc266c053366bdf554b5dc27a54ddcb25 | [
"MIT"
] | null | null | null | include/graphics/SkyboxRenderableHandle.hpp | icebreakersentertainment/ice_engine | 52a8313bc266c053366bdf554b5dc27a54ddcb25 | [
"MIT"
] | 1 | 2019-06-11T03:41:48.000Z | 2019-06-11T03:41:48.000Z | #ifndef SKYBOX_RENDERABLE_HANDLE_H_
#define SKYBOX_RENDERABLE_HANDLE_H_
#include "handles/Handle.hpp"
namespace ice_engine
{
namespace graphics
{
class SkyboxRenderableHandle : public handles::Handle<SkyboxRenderableHandle>
{
public:
using handles::Handle<SkyboxRenderableHandle>::Handle;
};
}
}
#endif /* SKYBOX_R... | 16.333333 | 77 | 0.80758 | icebreakersentertainment |
8b703848037ac226361563e2b14a884961f63faa | 20,078 | hpp | C++ | Source/GRChomboCore/ChomboParameters.hpp | Scientistwang/GRChombo_Zipeng | cd7aeb9ce0d67422e769b9c2072afafb0b9a2659 | [
"BSD-3-Clause"
] | null | null | null | Source/GRChomboCore/ChomboParameters.hpp | Scientistwang/GRChombo_Zipeng | cd7aeb9ce0d67422e769b9c2072afafb0b9a2659 | [
"BSD-3-Clause"
] | null | null | null | Source/GRChomboCore/ChomboParameters.hpp | Scientistwang/GRChombo_Zipeng | cd7aeb9ce0d67422e769b9c2072afafb0b9a2659 | [
"BSD-3-Clause"
] | null | null | null | /* GRChombo
* Copyright 2012 The GRChombo collaboration.
* Please refer to LICENSE in GRChombo's root directory.
*/
#ifndef CHOMBOPARAMETERS_HPP_
#define CHOMBOPARAMETERS_HPP_
// General includes
#include "BoundaryConditions.hpp"
#include "GRParmParse.hpp"
#include "UserVariables.hpp"
#include "VariableType.hpp"
#... | 42.269474 | 80 | 0.519275 | Scientistwang |
8b729a8666035d79368fb48b4f40bdbea30151d9 | 1,218 | hpp | C++ | FileFormats/Bif/Bif_Friendly.hpp | xloss/NWNFileFormats | 0b3fd4fba416bcdb79f4d898a40a4107234ceea0 | [
"WTFPL"
] | 9 | 2018-03-02T17:03:43.000Z | 2021-09-02T13:26:04.000Z | FileFormats/Bif/Bif_Friendly.hpp | xloss/NWNFileFormats | 0b3fd4fba416bcdb79f4d898a40a4107234ceea0 | [
"WTFPL"
] | 8 | 2018-03-04T09:20:46.000Z | 2020-12-06T04:28:33.000Z | FileFormats/Bif/Bif_Friendly.hpp | xloss/NWNFileFormats | 0b3fd4fba416bcdb79f4d898a40a4107234ceea0 | [
"WTFPL"
] | 8 | 2018-03-04T09:18:49.000Z | 2020-12-01T01:15:41.000Z | #pragma once
#include "FileFormats/Bif/Bif_Raw.hpp"
#include <memory>
#include <optional>
#include <unordered_map>
namespace FileFormats::Bif::Friendly {
struct BifResource
{
// The actual ID listed in the BIF.
std::uint32_t m_ResId;
// The resource type.
Resource::ResourceType m_ResType;
// T... | 24.857143 | 94 | 0.707718 | xloss |
8b76c86372c3b9cdedba64fe695ade9dccf143a6 | 8,164 | cpp | C++ | src/imr_cases.cpp | joshia5/ayj-omega_h | 8b65215013df29af066fa076261ba897d64a72c2 | [
"BSD-2-Clause-FreeBSD"
] | 44 | 2019-01-23T03:37:18.000Z | 2021-08-24T02:20:29.000Z | src/imr_cases.cpp | joshia5/ayj-omega_h | 8b65215013df29af066fa076261ba897d64a72c2 | [
"BSD-2-Clause-FreeBSD"
] | 67 | 2019-01-29T15:35:42.000Z | 2021-08-17T20:42:40.000Z | src/imr_cases.cpp | joshia5/ayj-omega_h | 8b65215013df29af066fa076261ba897d64a72c2 | [
"BSD-2-Clause-FreeBSD"
] | 29 | 2019-01-14T21:33:32.000Z | 2021-08-10T11:35:24.000Z | #include "Omega_h_adapt.hpp"
#include "Omega_h_file.hpp"
#include "Omega_h_for.hpp"
#include "Omega_h_laplace.hpp"
#include "Omega_h_map.hpp"
#include "Omega_h_mesh.hpp"
#include "Omega_h_metric.hpp"
#include "Omega_h_timer.hpp"
#include "Omega_h_vector.hpp"
#include <iostream>
#include <set>
using namespace Omega_h;... | 30.462687 | 80 | 0.612567 | joshia5 |
8b774c0add9a33601f14e172337d31db83134d88 | 13,525 | hpp | C++ | src/johnson.hpp | kubohiroya/APSP-in-parallel | c1f94d29f85129b6eaf3cbdf0c376939b7af3282 | [
"MIT"
] | null | null | null | src/johnson.hpp | kubohiroya/APSP-in-parallel | c1f94d29f85129b6eaf3cbdf0c376939b7af3282 | [
"MIT"
] | null | null | null | src/johnson.hpp | kubohiroya/APSP-in-parallel | c1f94d29f85129b6eaf3cbdf0c376939b7af3282 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream> // cerr
#include <random> // mt19937_64, uniform_x_distribution
#include <vector>
#include <boost/config.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <iostream>
#include "inf.hpp"
#include "getInf.hpp"
#include "util.hpp"
using namespace boost;
template<typename Number> u... | 33.395062 | 149 | 0.673124 | kubohiroya |
8b779ac421ec7687e81830da41830e8286f7cd7c | 975 | cpp | C++ | .LHP/.Lop11/.T.Minh/DENDUONG/DENDUONG/DENDUONG.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .LHP/.Lop11/.T.Minh/DENDUONG/DENDUONG/DENDUONG.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .LHP/.Lop11/.T.Minh/DENDUONG/DENDUONG/DENDUONG.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <iomanip>
#define maxN 100002
//#define maxA 1000000001
typedef long maxn;
typedef double maxa;
const maxa eps = 1e-9;
maxn n;
maxa L, a[maxN];
void Prepare() {
std::cin >> n >> L;
for (maxn i = 0; i < n; i++) std::cin >> a[i];
std::sort(a, a ... | 17.105263 | 60 | 0.558974 | sxweetlollipop2912 |
8b7aee5a0b29419bae7af46143c562fc6486becf | 902 | cpp | C++ | src/mbgl/programs/gl/debug.cpp | qingqibing/mapbox-gl-native | 6e0c99451e8ec0d292a11c84a88dff8edf4bc6c8 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/programs/gl/debug.cpp | qingqibing/mapbox-gl-native | 6e0c99451e8ec0d292a11c84a88dff8edf4bc6c8 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/programs/gl/debug.cpp | qingqibing/mapbox-gl-native | 6e0c99451e8ec0d292a11c84a88dff8edf4bc6c8 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | // NOTE: DO NOT CHANGE THIS FILE. IT IS AUTOMATICALLY GENERATED.
#include <mbgl/programs/debug_program.hpp>
#include <mbgl/programs/gl/shader_source.hpp>
#include <mbgl/gl/program.hpp>
namespace mbgl {
namespace gfx {
template <>
std::unique_ptr<Program<DebugProgram>>
Context::createProgram<gl::Context>(const Progra... | 20.976744 | 84 | 0.713969 | qingqibing |
8b8077c8d386d1e10fd0b8782c798594e88ba042 | 1,632 | hpp | C++ | include/ctre/actions/asserts.inc.hpp | XRay3D/compile-time-regular-expressions | 57573365db1256de316acb46109674853d967bb4 | [
"Apache-2.0"
] | 2,261 | 2017-10-11T11:30:02.000Z | 2022-03-31T14:19:55.000Z | include/ctre/actions/asserts.inc.hpp | XRay3D/compile-time-regular-expressions | 57573365db1256de316acb46109674853d967bb4 | [
"Apache-2.0"
] | 221 | 2017-10-11T15:42:32.000Z | 2022-03-26T12:18:16.000Z | include/ctre/actions/asserts.inc.hpp | XRay3D/compile-time-regular-expressions | 57573365db1256de316acb46109674853d967bb4 | [
"Apache-2.0"
] | 140 | 2017-10-11T17:25:56.000Z | 2022-03-23T01:06:57.000Z | #ifndef CTRE__ACTIONS__ASSERTS__HPP
#define CTRE__ACTIONS__ASSERTS__HPP
// push_assert_begin
template <auto V, typename... Ts, typename Parameters> static constexpr auto apply(pcre::push_assert_begin, ctll::term<V>, pcre_context<ctll::list<Ts...>, Parameters> subject) {
return pcre_context{ctll::push_front(assert_lin... | 54.4 | 196 | 0.783088 | XRay3D |
8b82e26342eb4e78d47f87531a7671fad01fbf9a | 20,438 | cpp | C++ | georg/merger/merger.cpp | wies/vermeer | b719ad8efd2eef4f21439f0bd9ae283124a86357 | [
"BSD-3-Clause"
] | 5 | 2015-04-02T03:07:48.000Z | 2019-04-22T05:51:09.000Z | georg/merger/merger.cpp | wies/vermeer | b719ad8efd2eef4f21439f0bd9ae283124a86357 | [
"BSD-3-Clause"
] | null | null | null | georg/merger/merger.cpp | wies/vermeer | b719ad8efd2eef4f21439f0bd9ae283124a86357 | [
"BSD-3-Clause"
] | null | null | null | #include <cstdlib>
#include <iostream>
#include <cassert>
#include <map>
#include <set>
#include <vector>
#include "error.h"
#include "execution.h"
#include "xml.h"
#include "alphabet.h"
#include "expr.h"
#include "execution2alphabet.h"
#include "tag.h"
#include "projected_executions.h"
#include "ssa_map.h"
void... | 37.918367 | 223 | 0.65114 | wies |
8b860c32c5c145df12787bf1b3dde86342e929bc | 23,061 | cpp | C++ | src/DataWidgets/Data/nObjectTypeEditor.cpp | Vladimir-Lin/QtDataWidgets | 67372e2a807d47082d3130d16857476d7020facc | [
"MIT"
] | null | null | null | src/DataWidgets/Data/nObjectTypeEditor.cpp | Vladimir-Lin/QtDataWidgets | 67372e2a807d47082d3130d16857476d7020facc | [
"MIT"
] | null | null | null | src/DataWidgets/Data/nObjectTypeEditor.cpp | Vladimir-Lin/QtDataWidgets | 67372e2a807d47082d3130d16857476d7020facc | [
"MIT"
] | null | null | null | #include <datawidgets.h>
N::ObjectTypeEditor:: ObjectTypeEditor ( QWidget * parent , Plan * p )
: TreeWidget ( parent , p )
{
WidgetClass ;
Configure ( ) ;
}
N::ObjectTypeEditor::~ObjectTypeEditor (void)
{
}
QSize N::ObjectTypeEditor::SuitableSize(void)
{
QSize s =... | 47.646694 | 77 | 0.300854 | Vladimir-Lin |
8b88cd4cf4a07d7bc152079aaa5ae9d260eaadfb | 49 | hh | C++ | RAVL2/MSVC/include/Ravl/Threads/Signal3.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/MSVC/include/Ravl/Threads/Signal3.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/MSVC/include/Ravl/Threads/Signal3.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null |
#include "../.././OS/Threads/Tools/Signal3.hh"
| 12.25 | 46 | 0.612245 | isuhao |
8b8a6c123be6c6f5d3cee43461199f2e18752218 | 1,413 | cpp | C++ | aws-cpp-sdk-appstream/source/model/DescribeApplicationsRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-appstream/source/model/DescribeApplicationsRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-appstream/source/model/DescribeApplicationsRequest.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/appstream/model/DescribeApplicationsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::AppStream::Model;
using namespace Aws::Utils::Jso... | 22.078125 | 109 | 0.743808 | perfectrecall |
8b8d630ddfec1691d566a8979b2d9ee995190a8d | 1,906 | cc | C++ | chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_unittest.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-05-03T06:33:56.000Z | 2021-11-14T18:39:42.000Z | chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_unittest.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_unittest.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// CpuInfoProvider unit tests
#include "base/message_loop.h"
#include "base/stl_util.h"
#include "chrome/browser/extensions/api/system_info_cpu/cpu_info_... | 27.228571 | 80 | 0.781217 | pozdnyakov |
8b92d8d406ffd29b8a7087335782d3cc237b5b36 | 1,844 | cpp | C++ | sdk/engine/source/graphics/resources/PointLightManager.cpp | NcStudios/NcEngine | ce04eca00211b50188d80e59604bfa67bb9c15b6 | [
"MIT"
] | null | null | null | sdk/engine/source/graphics/resources/PointLightManager.cpp | NcStudios/NcEngine | ce04eca00211b50188d80e59604bfa67bb9c15b6 | [
"MIT"
] | 3 | 2022-03-26T15:14:43.000Z | 2022-03-27T16:12:53.000Z | sdk/engine/source/graphics/resources/PointLightManager.cpp | NcStudios/NcEngine | ce04eca00211b50188d80e59604bfa67bb9c15b6 | [
"MIT"
] | null | null | null | #include "PointLightManager.h"
#include "graphics/Initializers.h"
namespace nc::graphics
{
PointLightManager::PointLightManager(uint32_t bindingSlot, GpuAllocator* allocator, ShaderDescriptorSets* descriptors, uint32_t maxPointLights)
: m_pointLightsArrayBuffer{nullptr},
m_descriptors{descriptors... | 28.8125 | 147 | 0.624187 | NcStudios |
8b9402336acb2356af5799472200b4bdd55ec4d4 | 327 | cpp | C++ | Problems/AtCoder/Contests/Beginner_Contests/Contest_188/B.Orthogonality.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/AtCoder/Contests/Beginner_Contests/Contest_188/B.Orthogonality.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/AtCoder/Contests/Beginner_Contests/Contest_188/B.Orthogonality.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define maxn 100000
using namespace std;
int n,sum;
int a[maxn];
int main() {
scanf("%d",&n);
for( int i = 0 ; i < n ; i++ )
scanf("%d",&a[i]);
for( int i = 0 , x ; i < n ; i++ ) {
scanf("%d",&x);
sum += x*a[i];
}
string str = (sum == 0) ? "Yes" : "No";
cout << str << endl;
retur... | 16.35 | 40 | 0.48318 | metehkaya |
8b962a13ee9e3c6d63080746d901daee0f0951ea | 3,517 | cc | C++ | unittest/mysqlshdk/libs/db/db_row_float_t.cc | mueller/mysql-shell | 29bafc5692bd536a12c4e41c54cb587375fe52cf | [
"Apache-2.0"
] | 119 | 2016-04-14T14:16:22.000Z | 2022-03-08T20:24:38.000Z | unittest/mysqlshdk/libs/db/db_row_float_t.cc | mueller/mysql-shell | 29bafc5692bd536a12c4e41c54cb587375fe52cf | [
"Apache-2.0"
] | 9 | 2017-04-26T20:48:42.000Z | 2021-09-07T01:52:44.000Z | unittest/mysqlshdk/libs/db/db_row_float_t.cc | mueller/mysql-shell | 29bafc5692bd536a12c4e41c54cb587375fe52cf | [
"Apache-2.0"
] | 51 | 2016-07-20T05:06:48.000Z | 2022-03-09T01:20:53.000Z | /* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (in... | 32.266055 | 78 | 0.673017 | mueller |
8b9b1d52342ba5f7ec6dbc09cd01c5c475a6548b | 11,160 | cpp | C++ | wdbecmbd/CrdWdbeTrg/QryWdbeTrgList.cpp | mpsitech/wdbe-WhizniumDBE | 27360ce6569dc55098a248b8a0a4b7e3913a6ce6 | [
"MIT"
] | 4 | 2020-10-27T14:33:25.000Z | 2021-08-07T20:55:42.000Z | wdbecmbd/CrdWdbeTrg/QryWdbeTrgList.cpp | mpsitech/wdbe-WhizniumDBE | 27360ce6569dc55098a248b8a0a4b7e3913a6ce6 | [
"MIT"
] | null | null | null | wdbecmbd/CrdWdbeTrg/QryWdbeTrgList.cpp | mpsitech/wdbe-WhizniumDBE | 27360ce6569dc55098a248b8a0a4b7e3913a6ce6 | [
"MIT"
] | null | null | null | /**
* \file QryWdbeTrgList.cpp
* job handler for job QryWdbeTrgList (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
#ifdef WDBECMBD
#include <Wdbecmbd.h>
#else
#include <Wdbed.h>
#endif
... | 25.833333 | 152 | 0.669534 | mpsitech |
8ba0be130730a64e363b6f941c0fc57fee9d08ec | 5,521 | cpp | C++ | QTCalcStar/HTL/HtlGlobal/HtlEnums.cpp | j2doll/QtCalcStar.codeproject | b9935c3c032fed90f378ce34ee21cf4dc01d5c8b | [
"BSD-2-Clause"
] | null | null | null | QTCalcStar/HTL/HtlGlobal/HtlEnums.cpp | j2doll/QtCalcStar.codeproject | b9935c3c032fed90f378ce34ee21cf4dc01d5c8b | [
"BSD-2-Clause"
] | null | null | null | QTCalcStar/HTL/HtlGlobal/HtlEnums.cpp | j2doll/QtCalcStar.codeproject | b9935c3c032fed90f378ce34ee21cf4dc01d5c8b | [
"BSD-2-Clause"
] | null | null | null | /*
** This file is part of the Hpc Template Library (Htl or HTL).
** It is based on a merger of QT, STL, and SigSlots along with development of new classes.
** License information is in the HtlLicense.h file
** This software was merged and developed by:
**
** Anthony Daniels
** QT, STL, SigSlots
**
** HTL is free ... | 42.79845 | 91 | 0.693172 | j2doll |
8ba1a3a3455e72d71abf445034918dd521622d67 | 1,612 | cpp | C++ | libgramtools/submods/combine_jvcfs.cpp | bricoletc/gramtools | 1ce06178b7b26f42d72e47d3d7b8a7a606e6f256 | [
"MIT"
] | null | null | null | libgramtools/submods/combine_jvcfs.cpp | bricoletc/gramtools | 1ce06178b7b26f42d72e47d3d7b8a7a606e6f256 | [
"MIT"
] | null | null | null | libgramtools/submods/combine_jvcfs.cpp | bricoletc/gramtools | 1ce06178b7b26f42d72e47d3d7b8a7a606e6f256 | [
"MIT"
] | null | null | null | /**
* @file Combine JSON genotyped files into one
*/
#include <filesystem>
#include <fstream>
#include <iostream>
#include <nlohmann/json.hpp>
#include "genotype/infer/output_specs/json_prg_spec.hpp"
namespace fs = std::filesystem;
using JSON = nlohmann::json;
using namespace gram::json;
void usage(const char* ar... | 24.424242 | 80 | 0.610422 | bricoletc |
8ba3bf99c6c87d755995342893310c7403c47252 | 52,592 | cpp | C++ | src/database.cpp | FunctionLab/sleipnir | 6f74986ef03cb2df8deee1077ae180391557403a | [
"CC-BY-3.0"
] | 1 | 2021-03-21T23:17:12.000Z | 2021-03-21T23:17:12.000Z | src/database.cpp | FunctionLab/sleipnir | 6f74986ef03cb2df8deee1077ae180391557403a | [
"CC-BY-3.0"
] | 4 | 2021-03-26T13:56:59.000Z | 2022-03-30T21:38:06.000Z | src/database.cpp | FunctionLab/sleipnir | 6f74986ef03cb2df8deee1077ae180391557403a | [
"CC-BY-3.0"
] | null | null | null | /*****************************************************************************
* This file is provided under the Creative Commons Attribution 3.0 license.
*
* You are free to share, copy, distribute, transmit, or adapt this work
* PROVIDED THAT you attribute the work to the authors listed below.
* For more information,... | 43.321252 | 123 | 0.497186 | FunctionLab |
8ba8aad3360054857ba0e077576d68a23b8c8514 | 31,765 | cpp | C++ | SHC/SmartHandController/Catalog.cpp | Zarfab/DobsonGoto | 51b7811e105358465e054f6cfdd5b531cf9b5e24 | [
"MIT"
] | 1 | 2021-12-20T09:40:20.000Z | 2021-12-20T09:40:20.000Z | SHC/SmartHandController/Catalog.cpp | Zarfab/DobsonGoto | 51b7811e105358465e054f6cfdd5b531cf9b5e24 | [
"MIT"
] | 1 | 2021-12-20T09:42:15.000Z | 2021-12-21T08:31:51.000Z | SHC/SmartHandController/Catalog.cpp | Zarfab/DobsonGoto | 51b7811e105358465e054f6cfdd5b531cf9b5e24 | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include <math.h>
#include "Constants.h"
#include "Locales.h"
#include "Config.h"
#include "Locale.h"
#include "Pinmap.h"
#include "Catalog.h"
#include "CatalogTypes.h"
#include "CatalogConfig.h"
// --------------------------------------------------------------------------------
// Catalog Manager... | 39.905779 | 167 | 0.67672 | Zarfab |