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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c88bc8c976353d1c975bf01b01c4b541ab19a0ff | 1,206 | cpp | C++ | Practice/2017/2017.11.10/Luogu3371-Dij.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2017/2017.11.10/Luogu3371-Dij.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2017/2017.11.10/Luogu3371-Dij.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
#include<queue>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=10010;
const int maxM=500010;
const int inf=2147483647;
class Queue_Data
{
public:
int u,dist;
};
bool... | 17.228571 | 49 | 0.563847 | SYCstudio |
c88ec2f7d1e285bdbaea93d58133cef7a2e597b0 | 358 | cpp | C++ | mc/tmc.cpp | curv3d/tmc | 2afbceeb8f232b2a4771da7fc1d46489e2e7252a | [
"MIT"
] | 14 | 2018-01-23T08:01:45.000Z | 2022-02-13T20:23:39.000Z | mc/tmc.cpp | curv3d/tmc | 2afbceeb8f232b2a4771da7fc1d46489e2e7252a | [
"MIT"
] | 1 | 2020-08-02T07:56:00.000Z | 2020-08-02T07:56:00.000Z | mc/tmc.cpp | curv3d/tmc | 2afbceeb8f232b2a4771da7fc1d46489e2e7252a | [
"MIT"
] | 3 | 2016-06-08T20:34:28.000Z | 2021-11-15T20:47:35.000Z | //
//
// Libs
#include <iostream>
#include <string>
// Project files
#include "MarchingCubes.h"
int main(int argc, char* argv[])
{
// Marcing cubes
tmc::MarchingCubes mc;
// parameters
std::string i_file = "";
std::string objF = "";
std::string offF = "";
const double i0 = 801.3;
mc(i0,i_file,true,... | 14.916667 | 43 | 0.620112 | curv3d |
c88efbda1587fef2bb7135dbd8b03ffd3429f339 | 642 | cpp | C++ | src/v8jsiapp/logger.cpp | mganandraj/v8-jsi | aff826a5567a4fd0fd66b3f3af1187400a666fa9 | [
"MIT"
] | null | null | null | src/v8jsiapp/logger.cpp | mganandraj/v8-jsi | aff826a5567a4fd0fd66b3f3af1187400a666fa9 | [
"MIT"
] | null | null | null | src/v8jsiapp/logger.cpp | mganandraj/v8-jsi | aff826a5567a4fd0fd66b3f3af1187400a666fa9 | [
"MIT"
] | null | null | null | #include "logger.h"
std::mutex Logger::log_m;
void Logger::log(const std::string& s) {
std::unique_lock<std::mutex> lock(log_m);
std::cout << s << std::endl;
}
void Logger::log(const char* ch) {
std::unique_lock<std::mutex> lock(log_m);
std::cout << ch << std::endl;
}
void Logger::log(const ch... | 27.913043 | 66 | 0.596573 | mganandraj |
c88f97f6d56c8a6001659a8efc886de7c32a0fe9 | 9,387 | hh | C++ | TrackerConditions/inc/StrawResponse.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 1 | 2021-06-23T22:09:28.000Z | 2021-06-23T22:09:28.000Z | TrackerConditions/inc/StrawResponse.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | null | null | null | TrackerConditions/inc/StrawResponse.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | null | null | null | #ifndef TrackerConditions_StrawResponse_hh
#define TrackerConditions_StrawResponse_hh
//
// StrawResponse collects the net response features of straws
// used in reconstruction
//
#include <iostream>
#include <vector>
#include <array>
#include "TrackerGeom/inc/Straw.hh"
#include "DataProducts/inc/TrkTypes.hh"
#inclu... | 47.409091 | 141 | 0.735166 | lborrel |
c89248bf62a79ad2f47c29d90aaac243f3ef9eb0 | 1,936 | cpp | C++ | Plugins/LeapMotion/Source/LeapMotion/Private/LeapGesture.cpp | vrmad1/UE4-LeapMotionPlugin | 1cbbd4fe30bb2b0c7b6f1a641eb3afb69cab49ae | [
"MIT"
] | 246 | 2015-01-03T03:29:03.000Z | 2021-11-17T11:22:58.000Z | Plugins/LeapMotion/Source/LeapMotion/Private/LeapGesture.cpp | vrmad1/UE4-LeapMotionPlugin | 1cbbd4fe30bb2b0c7b6f1a641eb3afb69cab49ae | [
"MIT"
] | 27 | 2015-01-07T04:57:47.000Z | 2021-11-23T17:14:10.000Z | Plugins/LeapMotion/Source/LeapMotion/Private/LeapGesture.cpp | vrmad1/UE4-LeapMotionPlugin | 1cbbd4fe30bb2b0c7b6f1a641eb3afb69cab49ae | [
"MIT"
] | 88 | 2015-01-08T15:35:14.000Z | 2021-04-14T02:27:57.000Z | #include "LeapMotionPrivatePCH.h"
class PrivateGesture
{
public:
Leap::Gesture Gesture;
};
ULeapGesture::ULeapGesture(const FObjectInitializer &ObjectInitializer) : UObject(ObjectInitializer), Private(new PrivateGesture())
{
}
ULeapGesture::~ULeapGesture()
{
delete Private;
}
ULeapFrame* ULeapGesture::Frame()
{
... | 21.511111 | 131 | 0.742252 | vrmad1 |
c892f3b7eeaeca94f34c24edad0a012e691658cd | 1,241 | cpp | C++ | src/service.cpp | The-Garlic-Network/old | 412b331c1ef484eef54e7da065fb756e0420aa16 | [
"MIT"
] | null | null | null | src/service.cpp | The-Garlic-Network/old | 412b331c1ef484eef54e7da065fb756e0420aa16 | [
"MIT"
] | null | null | null | src/service.cpp | The-Garlic-Network/old | 412b331c1ef484eef54e7da065fb756e0420aa16 | [
"MIT"
] | null | null | null | /**
* service.cpp - Точка входа в программу.
*
* @mrrva - 2019
*/
#include "include/encryption.hpp"
#include "include/network.hpp"
#include "include/storage.hpp"
#include "include/struct.hpp"
int main()
{
using tgnstruct::secret_key;
using tgnstruct::public_key;
using tgnstorage::db;
std::string pub = db.get_var(... | 20.683333 | 48 | 0.65834 | The-Garlic-Network |
c89855adcd4c33f594f70db3cd5c6d089b808a81 | 5,911 | cpp | C++ | Gem/Code/Source/SkinnedMeshExampleComponent.cpp | Bindless-Chicken/o3de-atom-sampleviewer | 13b11996079675445ce4e321f53c3ac79e01702d | [
"Apache-2.0",
"MIT"
] | null | null | null | Gem/Code/Source/SkinnedMeshExampleComponent.cpp | Bindless-Chicken/o3de-atom-sampleviewer | 13b11996079675445ce4e321f53c3ac79e01702d | [
"Apache-2.0",
"MIT"
] | null | null | null | Gem/Code/Source/SkinnedMeshExampleComponent.cpp | Bindless-Chicken/o3de-atom-sampleviewer | 13b11996079675445ce4e321f53c3ac79e01702d | [
"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 <SkinnedMeshExampleComponent.h>
#include <SampleComponentManager.h>
#include <SampleCompo... | 39.671141 | 167 | 0.705464 | Bindless-Chicken |
c89a30e63b180a83d6fa94a0c3359de41219ed24 | 605 | cpp | C++ | src/Search/InAreaSearchSession.cpp | jmakovicka/OsmAnd-core | d18f57bb123b6c6ad0adbed0c2f4419d0e6a6610 | [
"MIT"
] | null | null | null | src/Search/InAreaSearchSession.cpp | jmakovicka/OsmAnd-core | d18f57bb123b6c6ad0adbed0c2f4419d0e6a6610 | [
"MIT"
] | null | null | null | src/Search/InAreaSearchSession.cpp | jmakovicka/OsmAnd-core | d18f57bb123b6c6ad0adbed0c2f4419d0e6a6610 | [
"MIT"
] | null | null | null | #include "InAreaSearchSession.h"
#include "InAreaSearchSession_P.h"
OsmAnd::InAreaSearchSession::InAreaSearchSession(const QList< std::shared_ptr<const ISearchEngine::IDataSource> >& dataSources)
: BaseSearchSession(new InAreaSearchSession_P(this), dataSources)
, _p(std::static_pointer_cast<InAreaSearchSession... | 26.304348 | 127 | 0.771901 | jmakovicka |
c89af4bba658a9c079a4764f48078d18630417df | 13,491 | cpp | C++ | src/openms/source/CHEMISTRY/NASequence.cpp | avasq011/FinalProject_OpenMS_76ers | 6c9e2c295df6ec0eb296a3badfcdff245a869d59 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2019-07-15T20:50:22.000Z | 2019-07-15T20:50:22.000Z | src/openms/source/CHEMISTRY/NASequence.cpp | avasq011/FinalProject_OpenMS_76ers | 6c9e2c295df6ec0eb296a3badfcdff245a869d59 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 150 | 2017-09-05T09:43:12.000Z | 2020-02-03T10:07:36.000Z | src/openms/source/CHEMISTRY/NASequence.cpp | avasq011/FinalProject_OpenMS_76ers | 6c9e2c295df6ec0eb296a3badfcdff245a869d59 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 2 | 2018-04-02T18:41:20.000Z | 2018-08-11T21:39:24.000Z | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 31.521028 | 148 | 0.632051 | avasq011 |
c89bae18739e1796abedb0132ebdd6f89f5eeea1 | 1,008 | hpp | C++ | include/soralog/impl/fallback_configurator.hpp | GeniusVentures/soralog | 53bc6eeba84ad35e018fe4e94f6a8cc74284aa44 | [
"Apache-2.0"
] | 2 | 2022-03-12T14:30:07.000Z | 2022-03-12T21:16:20.000Z | include/soralog/impl/fallback_configurator.hpp | GeniusVentures/soralog | 53bc6eeba84ad35e018fe4e94f6a8cc74284aa44 | [
"Apache-2.0"
] | 6 | 2021-03-17T13:24:01.000Z | 2022-03-09T12:52:27.000Z | include/soralog/impl/fallback_configurator.hpp | GeniusVentures/soralog | 53bc6eeba84ad35e018fe4e94f6a8cc74284aa44 | [
"Apache-2.0"
] | 4 | 2021-03-15T09:06:43.000Z | 2022-03-12T14:04:42.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef SORALOG_FALLBACKCONFIGURATOR
#define SORALOG_FALLBACKCONFIGURATOR
#include <soralog/configurator.hpp>
#include <soralog/logging_system.hpp>
namespace soralog {
/**
* @class FallbackConfigurator
* @b... | 25.846154 | 79 | 0.703373 | GeniusVentures |
c89f022c36aed709be3b248cba420d23b9e14297 | 1,484 | hpp | C++ | Application/src/vendor/include/glm/ext/vector_uint2_precision.hpp | ankitpaudel20/opengl | 3d32f466c6f7b0d53c17d672a29800bc46a888ef | [
"MIT"
] | 2 | 2021-08-16T16:55:01.000Z | 2021-08-16T16:57:12.000Z | Application/src/vendor/include/glm/ext/vector_uint2_precision.hpp | ankitpaudel20/opengl | 3d32f466c6f7b0d53c17d672a29800bc46a888ef | [
"MIT"
] | 3 | 2021-08-10T16:32:47.000Z | 2021-08-10T16:46:36.000Z | Application/src/vendor/include/glm/ext/vector_uint2_precision.hpp | ankitpaudel20/opengl | 3d32f466c6f7b0d53c17d672a29800bc46a888ef | [
"MIT"
] | 2 | 2021-11-30T11:09:44.000Z | 2021-11-30T11:11:16.000Z | /// @ref core
/// @file glm/ext/vector_uint2_precision.hpp
#pragma once
#include "../detail/type_vec2.hpp"
namespace glm {
/// @addtogroup core_vector_precision
/// @{
/// 2 components vector of high qualifier unsigned integer numbers.
///
/// @see <a href="http://www.opengl.org/reg... | 46.375 | 146 | 0.671159 | ankitpaudel20 |
c8a212109e888485461402adfa353d639624e2af | 10,044 | cpp | C++ | test/rocprim/test_hip_device_merge_sort.cpp | arsenm/rocPRIM | 02d6006a7951c53ecfd245200d58809d3eee0b48 | [
"MIT"
] | null | null | null | test/rocprim/test_hip_device_merge_sort.cpp | arsenm/rocPRIM | 02d6006a7951c53ecfd245200d58809d3eee0b48 | [
"MIT"
] | null | null | null | test/rocprim/test_hip_device_merge_sort.cpp | arsenm/rocPRIM | 02d6006a7951c53ecfd245200d58809d3eee0b48 | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitati... | 32.504854 | 106 | 0.610812 | arsenm |
c8a4d6760a643413706f15df437e8b4ffd378f0f | 4,568 | cpp | C++ | qt_host_installer/downloadprogress.cpp | CoderBotOrg/installer | 21ceda0b77ee36d1ca70182790532c544087f357 | [
"Libpng"
] | 1 | 2018-01-11T15:09:37.000Z | 2018-01-11T15:09:37.000Z | qt_host_installer/downloadprogress.cpp | CoderBotOrg/installer | 21ceda0b77ee36d1ca70182790532c544087f357 | [
"Libpng"
] | null | null | null | qt_host_installer/downloadprogress.cpp | CoderBotOrg/installer | 21ceda0b77ee36d1ca70182790532c544087f357 | [
"Libpng"
] | null | null | null | /*
* (c) 2014-2015 Sam Nazarko
* email@samnazarko.co.uk
*/
#include "downloadprogress.h"
#include "ui_downloadprogress.h"
#include <QFileInfo>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QString>
#include <QStringList>
#include <QUrl>
#include <QFile>
#include <QDir>
#include <QMessageBox>
#include ... | 31.07483 | 112 | 0.624124 | CoderBotOrg |
c8a9c8db8cf4320cbf83579fe874d74865af94a1 | 489 | cpp | C++ | 17.2. Classes II/main.cpp | joaovmalheiros/Exercicios-Para-Revisao-Cplusplus | b9d523f863fd112b2b7fe72142a7128d5d95badc | [
"MIT"
] | null | null | null | 17.2. Classes II/main.cpp | joaovmalheiros/Exercicios-Para-Revisao-Cplusplus | b9d523f863fd112b2b7fe72142a7128d5d95badc | [
"MIT"
] | null | null | null | 17.2. Classes II/main.cpp | joaovmalheiros/Exercicios-Para-Revisao-Cplusplus | b9d523f863fd112b2b7fe72142a7128d5d95badc | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
//The keyword this: represents a pointer to the object whose member function is being executed. It is used within a class's
//member function to refer to the object itself.
class Dummy {
public:
bool isitme (Dummy& param);
};
bool Dummy::isitme (Dummy& param)
{
if(&p... | 18.111111 | 123 | 0.642127 | joaovmalheiros |
c8aa4964293a897fbcd950414fac7436b4e8f971 | 4,189 | cpp | C++ | Libraries/FreeImage-3170/Source/OpenEXR/IlmThread/IlmThreadSemaphoreWin32.cpp | QuaternionMark/COMP371-FinalProject | ac750a5bb4896f4800d8fbc08fac9ef9a002ed44 | [
"Zlib"
] | 1 | 2022-03-27T02:56:21.000Z | 2022-03-27T02:56:21.000Z | Libraries/FreeImage-3170/Source/OpenEXR/IlmThread/IlmThreadSemaphoreWin32.cpp | MergeCommits/COMP371-FinalProject | ac750a5bb4896f4800d8fbc08fac9ef9a002ed44 | [
"Zlib"
] | null | null | null | Libraries/FreeImage-3170/Source/OpenEXR/IlmThread/IlmThreadSemaphoreWin32.cpp | MergeCommits/COMP371-FinalProject | ac750a5bb4896f4800d8fbc08fac9ef9a002ed44 | [
"Zlib"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2005-2012, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provid... | 27.201299 | 81 | 0.606111 | QuaternionMark |
c8acd14f7ec2d740f9aac4cd47f44925b765a972 | 390 | cpp | C++ | 01/ex8.cpp | Sadik326-ctrl/computer_programming | cbae264ffa04fc487008fa6a0a32e0a1a316e01e | [
"MIT"
] | null | null | null | 01/ex8.cpp | Sadik326-ctrl/computer_programming | cbae264ffa04fc487008fa6a0a32e0a1a316e01e | [
"MIT"
] | null | null | null | 01/ex8.cpp | Sadik326-ctrl/computer_programming | cbae264ffa04fc487008fa6a0a32e0a1a316e01e | [
"MIT"
] | null | null | null | // Circumference and area of a circle with radius 2.5
#include <iostream>
using namespace std;
const double pi = 3.141593;
int main()
{
double area, circuit, radius = 1.5;
area = pi * radius * radius;
circuit = 2 * pi * radius;
cout << "\nTo Evaluate a Circle\n" << endl;
cout << "Radius:
" << radius
<< "Circumference: ... | 18.571429 | 53 | 0.638462 | Sadik326-ctrl |
c8ae93097b8d059966fc3ef47ac6c42b64b4bab2 | 6,494 | cpp | C++ | Code/EditorPlugins/ProcGen/EditorPluginProcGen/ProcGenGraphAsset/ProcGenGraphQt.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | 1 | 2021-06-23T14:44:02.000Z | 2021-06-23T14:44:02.000Z | Code/EditorPlugins/ProcGen/EditorPluginProcGen/ProcGenGraphAsset/ProcGenGraphQt.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | Code/EditorPlugins/ProcGen/EditorPluginProcGen/ProcGenGraphAsset/ProcGenGraphQt.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | #include <EditorPluginProcGenPCH.h>
#include <EditorEngineProcessFramework/EngineProcess/EngineProcessMessages.h>
#include <EditorPluginProcGen/ProcGenGraphAsset/ProcGenGraphAsset.h>
#include <EditorPluginProcGen/ProcGenGraphAsset/ProcGenGraphQt.h>
#include <Foundation/Strings/StringBuilder.h>
#include <Foundation/Str... | 25.667984 | 125 | 0.636126 | fereeh |
c8af53bfba0b6fe26b56d9c2cf715aba024f6d22 | 3,002 | cpp | C++ | pin-2.11/source/tools/Probes/exception_in_probed_call_cpp_app.cpp | swchoi1994/Project | e46fa191afe54d6676016d41534c3531eb51ff79 | [
"Intel"
] | 3 | 2020-06-26T09:35:19.000Z | 2021-01-03T16:58:11.000Z | pin-2.11/source/tools/Probes/exception_in_probed_call_cpp_app.cpp | swchoi1994/Project | e46fa191afe54d6676016d41534c3531eb51ff79 | [
"Intel"
] | null | null | null | pin-2.11/source/tools/Probes/exception_in_probed_call_cpp_app.cpp | swchoi1994/Project | e46fa191afe54d6676016d41534c3531eb51ff79 | [
"Intel"
] | 2 | 2020-12-27T03:58:38.000Z | 2020-12-27T03:58:38.000Z | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2012 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright noti... | 25.440678 | 102 | 0.717522 | swchoi1994 |
c8b1a3fde2fbebc557f9dc5d91f7685f204a4aea | 1,819 | cpp | C++ | bench/detail/arp_cache.cpp | andreimaximov/unet | 10b6aa82b1ce74fa40c9050f4593c902f9d0fd61 | [
"MIT"
] | null | null | null | bench/detail/arp_cache.cpp | andreimaximov/unet | 10b6aa82b1ce74fa40c9050f4593c902f9d0fd61 | [
"MIT"
] | null | null | null | bench/detail/arp_cache.cpp | andreimaximov/unet | 10b6aa82b1ce74fa40c9050f4593c902f9d0fd61 | [
"MIT"
] | null | null | null | #include <cstdint>
#include <cstring>
#include <vector>
#include <benchmark/benchmark.h>
#include <unet/detail/arp_cache.hpp>
#include <unet/random.hpp>
namespace unet {
namespace detail {
constexpr auto kNumAddOps = 65'536;
static Ipv4Addr randomIpv4(std::uint32_t maxAddress) {
auto raw = randInt<std::uint32_t>... | 24.917808 | 68 | 0.68884 | andreimaximov |
c8b1ef2a5feeef249c7990679a390318eb0bdfd2 | 40,167 | cpp | C++ | MSVC/14.24.28314/atlmfc/src/mfc/olecli2.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 2 | 2021-01-27T10:19:30.000Z | 2021-02-09T06:24:30.000Z | MSVC/14.24.28314/atlmfc/src/mfc/olecli2.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | null | null | null | MSVC/14.24.28314/atlmfc/src/mfc/olecli2.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 1 | 2021-01-27T10:19:36.000Z | 2021-01-27T10:19:36.000Z | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | 25.073034 | 122 | 0.72694 | 825126369 |
c8b24e8a164f685838c7c6a841320c461a1b60f9 | 6,505 | cpp | C++ | src/message.cpp | smallb/ucxxrt | 6f1fddae4f5eefb4e1ad36b7c9a1cd664caf2f26 | [
"MIT"
] | null | null | null | src/message.cpp | smallb/ucxxrt | 6f1fddae4f5eefb4e1ad36b7c9a1cd664caf2f26 | [
"MIT"
] | null | null | null | src/message.cpp | smallb/ucxxrt | 6f1fddae4f5eefb4e1ad36b7c9a1cd664caf2f26 | [
"MIT"
] | null | null | null | /*
* PROJECT: Universal C++ RunTime (UCXXRT)
* FILE: message.cpp
* DATA: 2022/05/22
*
* PURPOSE: Universal C++ RunTime
*
* LICENSE: Relicensed under The MIT License from The CC BY 4.0 License
*
* DEVELOPER: MiroKaku (miro.kaku AT Outlook.com)
*/
EXTERN_C NTSTATUS NTAPI RtlFindAndFormatMessage... | 29.976959 | 95 | 0.458878 | smallb |
c8b6a31ac6a4a0dfde7165ea3aaf26f2a6b1245d | 50,637 | cpp | C++ | mp/src/game/shared/fortress/tf_gamerules.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | 1 | 2021-03-20T14:27:45.000Z | 2021-03-20T14:27:45.000Z | mp/src/game/shared/fortress/tf_gamerules.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | null | null | null | mp/src/game/shared/fortress/tf_gamerules.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | null | null | null | #include "cbase.h"
#include "tf_gamerules.h"
#include "tf_shareddefs.h"
#include "ammodef.h"
#include "basetfcombatweapon_shared.h"
#ifdef CLIENT_DLL
#include "c_shield.h"
#include "c_te_effect_dispatch.h"
#define CShield C_Shield
#else
#include "tf_shield.h"
#include "te_effect_dispatch.h"
#include "player.h"
... | 30.412613 | 168 | 0.607323 | MaartenS11 |
c8b7adf7fe8de3b8dce15c243dba24cd3ff4a898 | 3,375 | cpp | C++ | tests/base/uri.cpp | kdt3rd/gecko | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | [
"MIT"
] | 15 | 2017-10-18T05:08:16.000Z | 2022-02-02T11:01:46.000Z | tests/base/uri.cpp | kdt3rd/gecko | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | [
"MIT"
] | null | null | null | tests/base/uri.cpp | kdt3rd/gecko | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | [
"MIT"
] | 1 | 2018-11-10T03:12:57.000Z | 2018-11-10T03:12:57.000Z | // SPDX-License-Identifier: MIT
// Copyright contributors to the gecko project.
#include <base/ansi.h>
#include <base/contract.h>
#include <base/string_util.h>
#include <base/unit_test.h>
#include <base/uri.h>
#include <iostream>
#include <sstream>
namespace
{
void check(
base::unit_test & ut,
const std::str... | 27 | 71 | 0.505778 | kdt3rd |
c8b7b774a6c1c7c1bcf7875fdd9e3fc680e8062b | 12,397 | cpp | C++ | src/debug.cpp | mpiatka/UltraGrid | 70a768b9990b9cae5a16e151e0f18ef534fecc9d | [
"BSD-3-Clause"
] | 1 | 2019-04-15T12:26:55.000Z | 2019-04-15T12:26:55.000Z | src/debug.cpp | mpiatka/UltraGrid | 70a768b9990b9cae5a16e151e0f18ef534fecc9d | [
"BSD-3-Clause"
] | null | null | null | src/debug.cpp | mpiatka/UltraGrid | 70a768b9990b9cae5a16e151e0f18ef534fecc9d | [
"BSD-3-Clause"
] | null | null | null | /*
* FILE: debug.cpp
* PROGRAM: RAT
* AUTHORS: Isidor Kouvelas
* Colin Perkins
* Mark Handley
* Orion Hodson
* Jerry Isdale
*
* $Revision: 1.1 $
* $Date: 2007/11/08 09:48:59 $
*
* Copyright (c) 1995-2000 University College London
* Copyright (c) 2005-2021 CESNET, z. s... | 34.057692 | 160 | 0.509397 | mpiatka |
c8b85cd7bf5a90889acd932205e44dac6685d29e | 201 | cpp | C++ | Basic_program_C/Untitled11.cpp | abhinavmaurya5757/Basic_Program | 9b65045ff322e282accb111d435611d3b0de2ad8 | [
"Apache-2.0"
] | null | null | null | Basic_program_C/Untitled11.cpp | abhinavmaurya5757/Basic_Program | 9b65045ff322e282accb111d435611d3b0de2ad8 | [
"Apache-2.0"
] | null | null | null | Basic_program_C/Untitled11.cpp | abhinavmaurya5757/Basic_Program | 9b65045ff322e282accb111d435611d3b0de2ad8 | [
"Apache-2.0"
] | null | null | null | #include<stdio.h>
int main()
{
int a;
printf("enter the number");
scanf("%d",&a);
if(a%2==0)
{printf("The number is even");
}
else
{printf("The number is odd");
}
return 0;
}
| 13.4 | 32 | 0.537313 | abhinavmaurya5757 |
c8b899c10d2e960e516ddc4b1ebfa6ff45c16af7 | 865 | cpp | C++ | Week3/D - Cryptography/D - Cryptography/main.cpp | coolspring1293/Algorithm_2015_Later | 7be91b0711d430245c52f351f339864853896f90 | [
"MIT"
] | 1 | 2015-11-30T12:34:04.000Z | 2015-11-30T12:34:04.000Z | Week3/D - Cryptography/D - Cryptography/main.cpp | coolspring1293/Algorithm_2015_Later | 7be91b0711d430245c52f351f339864853896f90 | [
"MIT"
] | null | null | null | Week3/D - Cryptography/D - Cryptography/main.cpp | coolspring1293/Algorithm_2015_Later | 7be91b0711d430245c52f351f339864853896f90 | [
"MIT"
] | null | null | null | //
// main.cpp
// D - Cryptography
//
// Created by Kieran Will on 10/14/15.
// Copyright © 2015 Kieran Will. All rights reserved.
//
#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
const int MSIZE = 15002;
bool isPrime(int n) {
for(int i = 2; i <= sqrt(n); ++ i) {
if(n %... | 18.020833 | 91 | 0.491329 | coolspring1293 |
c8b947129118a8882738efb25e40ce493bcaf9ed | 9,678 | cpp | C++ | Base/Base.cpp | koronabora/Base | 788e8d1ca480a0b4a3b7fef9d85965d9723069ff | [
"MIT"
] | null | null | null | Base/Base.cpp | koronabora/Base | 788e8d1ca480a0b4a3b7fef9d85965d9723069ff | [
"MIT"
] | null | null | null | Base/Base.cpp | koronabora/Base | 788e8d1ca480a0b4a3b7fef9d85965d9723069ff | [
"MIT"
] | null | null | null | // This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include "Base.h"
Base::Base(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
//=menu_action_edit
QAction* a1 = menu.addAction(trUtf... | 22.879433 | 119 | 0.600331 | koronabora |
c8bba1d893d8b5ada76149a3f7dce4e26721fb67 | 27,665 | hpp | C++ | src/DataStructures/VectorImpl.hpp | desperadoshi/spectre | b61c12dce108a98a875a1e9476e5630bea634119 | [
"MIT"
] | null | null | null | src/DataStructures/VectorImpl.hpp | desperadoshi/spectre | b61c12dce108a98a875a1e9476e5630bea634119 | [
"MIT"
] | null | null | null | src/DataStructures/VectorImpl.hpp | desperadoshi/spectre | b61c12dce108a98a875a1e9476e5630bea634119 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <algorithm> // IWYU pragma: keep // for std::fill
#include <array>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <functional> // IWYU pragma: keep // for std::plus, etc.
#include <initializer_list>
#inc... | 42.825077 | 80 | 0.62223 | desperadoshi |
c8becaa5a87e98639bae009fb56536bcfa5357fc | 16,624 | hh | C++ | dune/xt/functions/base/combined-functions.hh | renefritze/dune-xt-functions | aea4ef43bb0177466be2ec3cb56e3f4f5ced2c25 | [
"BSD-2-Clause"
] | null | null | null | dune/xt/functions/base/combined-functions.hh | renefritze/dune-xt-functions | aea4ef43bb0177466be2ec3cb56e3f4f5ced2c25 | [
"BSD-2-Clause"
] | 1 | 2018-07-09T10:57:27.000Z | 2018-07-09T10:57:27.000Z | dune/xt/functions/base/combined-functions.hh | TiKeil/dune-xt-functions | aea4ef43bb0177466be2ec3cb56e3f4f5ced2c25 | [
"BSD-2-Clause"
] | null | null | null | // This file is part of the dune-xt-functions project:
// https://github.com/dune-community/dune-xt-functions
// Copyright 2009-2018 dune-xt-functions developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ ... | 36.376368 | 118 | 0.661213 | renefritze |
c8bf53fa139c408326a187329affd5c5b4ac1bf1 | 2,088 | cpp | C++ | elenasrc2/engine/win32/win32routines.cpp | drkameleon/elena-lang | 8585e93a3bc0b19f8d60029ffbe01311d0b711a3 | [
"MIT"
] | null | null | null | elenasrc2/engine/win32/win32routines.cpp | drkameleon/elena-lang | 8585e93a3bc0b19f8d60029ffbe01311d0b711a3 | [
"MIT"
] | null | null | null | elenasrc2/engine/win32/win32routines.cpp | drkameleon/elena-lang | 8585e93a3bc0b19f8d60029ffbe01311d0b711a3 | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------
// E L E N A P r o j e c t: Win32 ELENA System Routines
//
// (C)2018-2020, by Alexei Rakov
//---------------------------------------------------------------------------
#include "elena.h"
// ... | 26.43038 | 125 | 0.599138 | drkameleon |
c8c292296b8f291e46f72bec9c122d493a3913d6 | 7,448 | cpp | C++ | Src/Util/DateTime.cpp | draede/cx | f3ce4aec9b99095760481b1507e383975b2827e3 | [
"MIT"
] | 1 | 2016-08-28T18:29:17.000Z | 2016-08-28T18:29:17.000Z | Src/Util/DateTime.cpp | draede/cx | f3ce4aec9b99095760481b1507e383975b2827e3 | [
"MIT"
] | null | null | null | Src/Util/DateTime.cpp | draede/cx | f3ce4aec9b99095760481b1507e383975b2827e3 | [
"MIT"
] | null | null | null | /*
* CX - C++ framework for general purpose development
*
* https://github.com/draede/cx
*
* Copyright (C) 2014 - 2021 draede - draede [at] outlook [dot] com
*
* Released under the MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associate... | 30.153846 | 118 | 0.608351 | draede |
c8c2c20278785a811c02434cc20904bffc1a134f | 46 | cpp | C++ | Unreal/CtaCpp/Runtime/Scripts/Combat/Item.cpp | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | 3 | 2021-06-02T16:44:02.000Z | 2022-01-24T20:20:10.000Z | Unreal/CtaCpp/Runtime/Scripts/Combat/Item.cpp | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | null | null | null | Unreal/CtaCpp/Runtime/Scripts/Combat/Item.cpp | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | null | null | null | #include "Item.h"
namespace Cta::Combat
{
}
| 7.666667 | 21 | 0.652174 | areilly711 |
c8c2cec62e1e591f9f192f519cf16b71d8ed3389 | 189,202 | cpp | C++ | src/test/app/Offer_test.cpp | MUSOChain/MUSO | 6301be50a570e3f49cf941d9e4979110b5a08351 | [
"BSL-1.0"
] | 2 | 2021-03-19T06:33:52.000Z | 2021-03-24T08:16:38.000Z | src/test/app/Offer_test.cpp | MUSOChain/MUSO | 6301be50a570e3f49cf941d9e4979110b5a08351 | [
"BSL-1.0"
] | null | null | null | src/test/app/Offer_test.cpp | MUSOChain/MUSO | 6301be50a570e3f49cf941d9e4979110b5a08351 | [
"BSL-1.0"
] | null | null | null | //------------------------------------------------------------------------------
/*
This file is part of MUSO: https://github.com/MUSO/MUSO
Copyright (c) 2012-2017 MUSO Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided t... | 34.369119 | 82 | 0.526163 | MUSOChain |
c8c5408946a92390a73c6ea0dbce72ac18ab69f5 | 5,706 | cpp | C++ | src/solvers/flattening/boolbv_width.cpp | jeannielynnmoulton/cbmc | 1d4af6d88ec960677170049a8a89a9166b952996 | [
"BSD-4-Clause"
] | null | null | null | src/solvers/flattening/boolbv_width.cpp | jeannielynnmoulton/cbmc | 1d4af6d88ec960677170049a8a89a9166b952996 | [
"BSD-4-Clause"
] | 1 | 2019-02-05T16:18:25.000Z | 2019-02-05T16:18:25.000Z | src/solvers/flattening/boolbv_width.cpp | jeannielynnmoulton/cbmc | 1d4af6d88ec960677170049a8a89a9166b952996 | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module:
Author: Daniel Kroening, kroening@kroening.com
\*******************************************************************/
#include "boolbv_width.h"
#include <algorithm>
#include <util/arith_tools.h>
#include <util/invariant.h>
#include <util... | 25.473214 | 78 | 0.670873 | jeannielynnmoulton |
c8c72b59c99430d575acfc22f8f6f8c54f74faae | 2,245 | cpp | C++ | qrtest/unitTests/pluginsTests/robotsTests/tcpRobotSimulator/src/tcpRobotSimulator.cpp | ladaegorova18/trik-studio | f8d9ce50301fd93c948ac774e85c0e6bfff820bc | [
"Apache-2.0"
] | 17 | 2019-06-04T06:22:47.000Z | 2022-02-11T18:27:25.000Z | qrtest/unitTests/pluginsTests/robotsTests/tcpRobotSimulator/src/tcpRobotSimulator.cpp | ladaegorova18/trik-studio | f8d9ce50301fd93c948ac774e85c0e6bfff820bc | [
"Apache-2.0"
] | 1,248 | 2019-02-21T19:32:09.000Z | 2022-03-29T16:50:04.000Z | qrtest/unitTests/pluginsTests/robotsTests/tcpRobotSimulator/src/tcpRobotSimulator.cpp | khodand/trik-studio | 3d2de6809d38b621433c7ccb1cd98da8868d022d | [
"Apache-2.0"
] | 17 | 2019-02-12T07:58:23.000Z | 2022-03-10T11:39:21.000Z | /* Copyright 2016 CyberTech Labs 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 agree... | 31.180556 | 91 | 0.777283 | ladaegorova18 |
c8cdd02045f1325fc7aac3bd5bf9fd5177f7d191 | 884 | cpp | C++ | src/GameStateMachine.cpp | peddrro/JogoAviaoIndividual | 5711c37cbfcedb6351a5c74650c6ab7ac2856c2b | [
"MIT"
] | null | null | null | src/GameStateMachine.cpp | peddrro/JogoAviaoIndividual | 5711c37cbfcedb6351a5c74650c6ab7ac2856c2b | [
"MIT"
] | null | null | null | src/GameStateMachine.cpp | peddrro/JogoAviaoIndividual | 5711c37cbfcedb6351a5c74650c6ab7ac2856c2b | [
"MIT"
] | null | null | null | #include "GameStateMachine.h"
#include <iostream>
void GameStateMachine::pushState(GameState* pState){
m_gameStates.push_back(pState);
m_gameStates.back()->onEnter();
}
void GameStateMachine::popState(){
if(!m_gameStates.empty()){
if(m_gameStates.back()->onExit()){
delete m_gameStates.back();
m_gameStates... | 19.217391 | 64 | 0.695701 | peddrro |
c8cf1f171d40d63928acbf4d9179652cf3203dc4 | 2,754 | cpp | C++ | src/model/opengl/Shader.cpp | XantNero/Courseproject-Modelling-road-traffic- | f0aae780935d4ac9ed30d8b50b965813b6a60632 | [
"MIT"
] | null | null | null | src/model/opengl/Shader.cpp | XantNero/Courseproject-Modelling-road-traffic- | f0aae780935d4ac9ed30d8b50b965813b6a60632 | [
"MIT"
] | null | null | null | src/model/opengl/Shader.cpp | XantNero/Courseproject-Modelling-road-traffic- | f0aae780935d4ac9ed30d8b50b965813b6a60632 | [
"MIT"
] | null | null | null | #include "../pch.h"
#include "Shader.h"
#include "GL/glew.h"
#include "debug.h"
ShaderProgramSource Shader::ParseShader(const std::string &filePath)
{
std::ifstream stream(filePath);
enum class ShaderType {
NONE = -1, VERTEX = 0, FRAGMENT = 1
};
std::stringstream ss[2];
std::string line;... | 25.738318 | 90 | 0.641612 | XantNero |
c8cfefbfbf09848cce49abb2792728daa3884618 | 20,622 | cpp | C++ | source/Lib/CommonLib/SampleAdaptiveOffset.cpp | lehmann-c/vvenc | c9bc2d015ff944ce029103f0255a62936472bca1 | [
"BSD-3-Clause"
] | null | null | null | source/Lib/CommonLib/SampleAdaptiveOffset.cpp | lehmann-c/vvenc | c9bc2d015ff944ce029103f0255a62936472bca1 | [
"BSD-3-Clause"
] | null | null | null | source/Lib/CommonLib/SampleAdaptiveOffset.cpp | lehmann-c/vvenc | c9bc2d015ff944ce029103f0255a62936472bca1 | [
"BSD-3-Clause"
] | null | null | null | /* -----------------------------------------------------------------------------
The copyright in this software is being made available under the BSD
License, included below. No patent rights, trademark rights and/or
other Intellectual Property Rights other than the copyrights concerning
the Software are granted unde... | 32.322884 | 147 | 0.656289 | lehmann-c |
c8d1b3137b99e51cd9c3720f0f1d864b1433745e | 2,516 | cc | C++ | elements/ctx/flowstrip.cc | regufo/fastclick | d56d31c722266ea5d0cfd31435e81ca10dda5e69 | [
"BSD-3-Clause-Clear"
] | 129 | 2015-10-08T14:38:35.000Z | 2022-03-06T14:54:44.000Z | elements/ctx/flowstrip.cc | nic-bench/fastclick | 2812f0684050cec07e08f30d643ed121871cf25d | [
"BSD-3-Clause-Clear"
] | 241 | 2016-02-17T16:17:58.000Z | 2022-03-15T09:08:33.000Z | elements/ctx/flowstrip.cc | nic-bench/fastclick | 2812f0684050cec07e08f30d643ed121871cf25d | [
"BSD-3-Clause-Clear"
] | 61 | 2015-12-17T01:46:58.000Z | 2022-02-07T22:25:19.000Z | // -*- mode: c++; c-basic-offset: 4 -*-
/*
* FlowStrip.{cc,hh} -- element FlowStrips bytes from front of packet
* Robert Morris, Eddie Kohler
*
* Copyright (c) 1999-2000 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and a... | 29.952381 | 122 | 0.715024 | regufo |
c8d24448b15064740b890a0c96071f15603f8fe0 | 2,868 | hpp | C++ | include/BGNet/Core/ITimeProvider.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/BGNet/Core/ITimeProvider.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/BGNet/Core/ITimeProvider.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include <stdint.h>
#include "beatsaber-hook/shared/utils/byref.hpp"
// Completed includes
// Begin forward declares
// Forward declaring namespace: Syst... | 44.123077 | 221 | 0.728033 | RedBrumbler |
c8d2548b672380ae6edc36b1777cd7cb3077121b | 20,048 | cpp | C++ | amr-wind/incflo_advance.cpp | mchurchf/amr-wind | 4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f | [
"BSD-3-Clause"
] | null | null | null | amr-wind/incflo_advance.cpp | mchurchf/amr-wind | 4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f | [
"BSD-3-Clause"
] | null | null | null | amr-wind/incflo_advance.cpp | mchurchf/amr-wind | 4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f | [
"BSD-3-Clause"
] | 1 | 2021-03-11T22:19:05.000Z | 2021-03-11T22:19:05.000Z | #include <cmath>
#include "amr-wind/incflo.H"
#include "amr-wind/core/Physics.H"
#include "amr-wind/core/field_ops.H"
#include "amr-wind/equation_systems/PDEBase.H"
#include "amr-wind/turbulence/TurbulenceModel.H"
#include "amr-wind/utilities/console_io.H"
#include "amr-wind/utilities/PostProcessing.H"
#include "amr-w... | 37.057301 | 92 | 0.494513 | mchurchf |
c8d29acfd55c8c4616f860838bc5cf4fe2baa5d1 | 3,741 | cc | C++ | src/c4/test/tstglobal_containers.cc | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/c4/test/tstglobal_containers.cc | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/c4/test/tstglobal_containers.cc | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
/*!
* \file c4/test/tstglobal_containers.cc
* \author Kent Budge
* \date Mon Mar 24 09:41:04 2008
* \note Copyright (C) 2008-2019 Triad National Security, LLC.
* All rights reserved. */
//---------------------------------... | 30.169355 | 80 | 0.533547 | rspavel |
c8d2d3acad191be103ac78618c1317332f901608 | 4,311 | cpp | C++ | extras/Build/juce_build_tools/utils/juce_Entitlements.cpp | zakirhossen23/Juice-C- | 232de6654ecefe5ef4fa3f48de15779a5dd0d347 | [
"ISC"
] | null | null | null | extras/Build/juce_build_tools/utils/juce_Entitlements.cpp | zakirhossen23/Juice-C- | 232de6654ecefe5ef4fa3f48de15779a5dd0d347 | [
"ISC"
] | null | null | null | extras/Build/juce_build_tools/utils/juce_Entitlements.cpp | zakirhossen23/Juice-C- | 232de6654ecefe5ef4fa3f48de15779a5dd0d347 | [
"ISC"
] | null | null | null | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the... | 35.925 | 122 | 0.522617 | zakirhossen23 |
c8d3530723a6d88584a11dc00802ce0421e41d0d | 5,990 | cpp | C++ | inst/boostExamples/quick_tour.cpp | HenrikBengtsson/RBGL | 9e34efd0dcab3babe1cea49b060a643bee79931c | [
"BSL-1.0"
] | 1 | 2018-10-29T11:20:31.000Z | 2018-10-29T11:20:31.000Z | inst/boostExamples/quick_tour.cpp | HenrikBengtsson/RBGL | 9e34efd0dcab3babe1cea49b060a643bee79931c | [
"BSL-1.0"
] | 2 | 2019-09-05T02:26:35.000Z | 2019-10-30T20:28:53.000Z | inst/boostExamples/quick_tour.cpp | HenrikBengtsson/RBGL | 9e34efd0dcab3babe1cea49b060a643bee79931c | [
"BSL-1.0"
] | 3 | 2018-12-19T10:17:56.000Z | 2020-07-14T01:22:29.000Z | //=======================================================================
// Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
// Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
//
// This file is part of the Boost Graph Library
//
// You should have received a copy of the License Agreement for the
// ... | 37.911392 | 78 | 0.622371 | HenrikBengtsson |
c8d93651eae7f4f727942511fc5b8266272925f8 | 4,201 | cpp | C++ | _studio/shared/mfx_trace/src/mfx_trace_utils_linux.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | null | null | null | _studio/shared/mfx_trace/src/mfx_trace_utils_linux.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | null | null | null | _studio/shared/mfx_trace/src/mfx_trace_utils_linux.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | 1 | 2018-01-04T06:53:11.000Z | 2018-01-04T06:53:11.000Z | // Copyright (c) 2017 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, pub... | 30.007143 | 86 | 0.545108 | jwang11 |
c8dc69f50f14e3af64c76383c1ff71b00396ad79 | 1,022 | cpp | C++ | .LHP/.Lop11/.Pre_HSG/T.Hung/W5/CHIAQUA/CHIAQUA/CHIAQUA.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .LHP/.Lop11/.Pre_HSG/T.Hung/W5/CHIAQUA/CHIAQUA/CHIAQUA.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .LHP/.Lop11/.Pre_HSG/T.Hung/W5/CHIAQUA/CHIAQUA/CHIAQUA.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <cstdio>
#define maxN 102
#define maxA 20002
typedef int maxn, maxa;
maxn n, lim_n;
bool f[maxA][maxN];
maxa a[maxN], lim_t, sum, res;
void Prepare() {
std::cin >> n;
for (maxn i = 0; i < n; i++) std::cin >> a[i], sum += a[i];
lim_t = sum / 2, lim_n = n / 2 + (n... | 21.291667 | 87 | 0.489237 | sxweetlollipop2912 |
c8e0cfe2dae19529ced0aaeac0b31cf3592faf9c | 163 | cpp | C++ | source/exception/exception_holder.cpp | qualab/data | b5d6dc455186b560e193935df2076963b2b25519 | [
"Apache-2.0"
] | null | null | null | source/exception/exception_holder.cpp | qualab/data | b5d6dc455186b560e193935df2076963b2b25519 | [
"Apache-2.0"
] | null | null | null | source/exception/exception_holder.cpp | qualab/data | b5d6dc455186b560e193935df2076963b2b25519 | [
"Apache-2.0"
] | null | null | null | /// @author Владимир Керимов
#pragma once
#include <exception/exception_holder.hpp>
#include <data/stacktrace>
namespace data
{
}
// sine qua non
| 12.538462 | 42 | 0.674847 | qualab |
c8e505408c2f89035afdc8354f755f8da2d15700 | 1,278 | hh | C++ | code/parser/xml_data_handler.hh | jmpcosta/arta | c9fdfc039e34d9d887c9e4c96bf9d506f1a66bb3 | [
"MIT"
] | 1 | 2019-03-28T20:40:36.000Z | 2019-03-28T20:40:36.000Z | code/parser/xml_data_handler.hh | jmpcosta/arta | c9fdfc039e34d9d887c9e4c96bf9d506f1a66bb3 | [
"MIT"
] | null | null | null | code/parser/xml_data_handler.hh | jmpcosta/arta | c9fdfc039e34d9d887c9e4c96bf9d506f1a66bb3 | [
"MIT"
] | null | null | null | // *****************************************************************************************
//
// File description:
//
// Author: Joao Costa
// Purpose: Defines a DOM user handler to cleanup user added node information
//
// *****************************************************************************************
#if... | 21.661017 | 141 | 0.388889 | jmpcosta |
c8e9e82db3f0562e7f10ac10a0e3211a4bba8c34 | 681 | hpp | C++ | Sources/AGEngine/Render/OcclusionTools/DepthMap.hpp | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 47 | 2015-03-29T09:44:25.000Z | 2020-11-30T10:05:56.000Z | Sources/AGEngine/Render/OcclusionTools/DepthMap.hpp | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 313 | 2015-01-01T18:16:30.000Z | 2015-11-30T07:54:07.000Z | Sources/AGEngine/Render/OcclusionTools/DepthMap.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>
namespace AGE
{
class DepthMapHandle;
class DepthMap
{
public:
void init(std::size_t width, std::size_t height, std::size_t mipmalLevel);
bool testPixel(uint32_t pixelDepth, std::size_t x, std::size_t y) const;
bool testBox(uint32_t pixelDepth, glm::uve... | 23.482759 | 76 | 0.723935 | Another-Game-Engine |
c8ebf4e10d4d7304f8364694ed8e452f7e3d90e8 | 21 | cpp | C++ | src/plugins/cgal/convert.cpp | martin-pr/possumwood | 0ee3e0fe13ef27cf14795a79fb497e4d700bef63 | [
"MIT"
] | 232 | 2017-10-09T11:45:28.000Z | 2022-03-28T11:14:46.000Z | src/plugins/cgal/convert.cpp | martin-pr/possumwood | 0ee3e0fe13ef27cf14795a79fb497e4d700bef63 | [
"MIT"
] | 26 | 2019-01-20T21:38:25.000Z | 2021-10-16T03:57:17.000Z | src/plugins/cgal/convert.cpp | martin-pr/possumwood | 0ee3e0fe13ef27cf14795a79fb497e4d700bef63 | [
"MIT"
] | 33 | 2017-10-26T19:20:38.000Z | 2022-03-16T11:21:43.000Z | #include "convert.h"
| 10.5 | 20 | 0.714286 | martin-pr |
c8ecf1060f3c28aff927a5db43bb5fb2bb5b2fa5 | 24,063 | cpp | C++ | gecode/string/tests/sql.cpp | ramadini/gecode | ff0d261486a67f66895850a771f161bfa8bf9839 | [
"MIT-feh"
] | 1 | 2021-05-26T13:27:00.000Z | 2021-05-26T13:27:00.000Z | gecode/string/tests/sql.cpp | ramadini/gecode | ff0d261486a67f66895850a771f161bfa8bf9839 | [
"MIT-feh"
] | null | null | null | gecode/string/tests/sql.cpp | ramadini/gecode | ff0d261486a67f66895850a771f161bfa8bf9839 | [
"MIT-feh"
] | null | null | null | #include <gecode/string.hh>
#include <gecode/driver.hh>
using namespace Gecode;
using namespace String;
class StringOptions : public Options {
public:
int N;
string SQL;
StringOptions(const char* s, int n): Options(s), N(n) {
this->c_d(1);
switch (n) {
case 11:
SQL = "A=B=C = B=C";
break;
cas... | 144.08982 | 10,013 | 0.654864 | ramadini |
c8ef1e1e583346d815187f20a10921c959a3c6a5 | 4,618 | cpp | C++ | examples/eg05_poisson_multispp.cpp | predictionmachines/Filzbach | f7d32dbaa78b528a5f5f59bfd950bd01ef5b8390 | [
"MIT"
] | 9 | 2015-10-07T08:22:59.000Z | 2020-07-15T15:48:00.000Z | examples/eg05_poisson_multispp.cpp | predictionmachines/Filzbach | f7d32dbaa78b528a5f5f59bfd950bd01ef5b8390 | [
"MIT"
] | 4 | 2016-01-19T14:52:16.000Z | 2017-10-20T03:26:39.000Z | examples/eg05_poisson_multispp.cpp | predictionmachines/Filzbach | f7d32dbaa78b528a5f5f59bfd950bd01ef5b8390 | [
"MIT"
] | 4 | 2016-01-20T11:17:50.000Z | 2021-04-02T19:08:30.000Z | #include "preamble.h"
#if MODEL == 5
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "filzbach.h"
void pause(){PAUSE}
/************************************************************/
/* function headers */
/****************************************************... | 25.94382 | 88 | 0.601126 | predictionmachines |
c8fbd4c9b26a40ee0ffac638a5f89f7b80d9cf28 | 10,628 | cpp | C++ | src/ttauri/widgets/window_traffic_lights_widget.cpp | VulkanWorks/ttauri | 28cc6f9fd891b55bd4eb0e266bc29e2da26594bf | [
"BSL-1.0"
] | null | null | null | src/ttauri/widgets/window_traffic_lights_widget.cpp | VulkanWorks/ttauri | 28cc6f9fd891b55bd4eb0e266bc29e2da26594bf | [
"BSL-1.0"
] | null | null | null | src/ttauri/widgets/window_traffic_lights_widget.cpp | VulkanWorks/ttauri | 28cc6f9fd891b55bd4eb0e266bc29e2da26594bf | [
"BSL-1.0"
] | null | null | null | // Copyright Take Vos 2020-2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#include "window_traffic_lights_widget.hpp"
#include "../GUI/gui_window.hpp"
#include "../GFX/pipeline_SDF_device_shared.hpp"
#inclu... | 42.854839 | 130 | 0.647911 | VulkanWorks |
c8fc602a8b6db650025fbf47db8661529a944719 | 139 | cpp | C++ | tests/type_reg/test_reply.cpp | mujido/moove | 380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b | [
"Apache-2.0"
] | null | null | null | tests/type_reg/test_reply.cpp | mujido/moove | 380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b | [
"Apache-2.0"
] | null | null | null | tests/type_reg/test_reply.cpp | mujido/moove | 380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b | [
"Apache-2.0"
] | null | null | null | #include "reply.hpp"
using namespace Moove;
Reply func()
{
return Reply();
}
int main()
{
Reply reply;
reply = func();
return 0;
}
| 8.176471 | 22 | 0.625899 | mujido |
c8fdf6450600ced716c245d5feee9f3667205b2a | 27,795 | cpp | C++ | wlx_dll/twlx/twlx.cpp | tablacus/TablacusExplorerAddons | 73a2aeda657811f25ce61346392185b9d1478710 | [
"MIT"
] | 64 | 2015-07-30T17:42:16.000Z | 2022-03-23T17:57:14.000Z | wlx_dll/twlx/twlx.cpp | tablacus/TablacusExplorerAddons | 73a2aeda657811f25ce61346392185b9d1478710 | [
"MIT"
] | 324 | 2015-01-25T17:02:36.000Z | 2022-03-15T00:46:30.000Z | wlx_dll/twlx/twlx.cpp | tablacus/TablacusExplorerAddons | 73a2aeda657811f25ce61346392185b9d1478710 | [
"MIT"
] | 16 | 2016-08-21T00:38:04.000Z | 2020-12-27T09:35:59.000Z | // Tablacus Total Commander Listr Plugin Wrapper (C)2018 Gaku
// MIT Lisence
// Visual C++ 2017 Express Edition
// 32-bit Visual Studio 2015 - Windows XP (v140_xp)
// 64-bit Visual Studio 2017 (v141)
// https://tablacus.github.io/
#include "twlx.h"
// Global Variables:
const TCHAR g_szProgid[] = TEXT("Tablacus.TotalC... | 24.728648 | 175 | 0.676597 | tablacus |
7402b2000eaf3f286fd7e058939386ab52ce1f9b | 1,530 | cpp | C++ | queue/circular-queue.cpp | mukul98s/data-structures-and-algorithms-code | 3e06806f16daa127a67abeebf660ebe3044e2e88 | [
"MIT"
] | 1 | 2022-02-09T14:28:28.000Z | 2022-02-09T14:28:28.000Z | queue/circular-queue.cpp | mukul98s/data-structures-and-algorithms-code | 3e06806f16daa127a67abeebf660ebe3044e2e88 | [
"MIT"
] | 1 | 2022-02-02T04:58:10.000Z | 2022-02-02T04:58:10.000Z | queue/circular-queue.cpp | mukul98s/data-structures-and-algorithms-code | 3e06806f16daa127a67abeebf660ebe3044e2e88 | [
"MIT"
] | 1 | 2022-02-02T00:23:59.000Z | 2022-02-02T00:23:59.000Z | #include <bits/stdc++.h>
using namespace std;
#define MAX 5
class Queue {
public:
int items[MAX];
int front;
int rear;
Queue() {
front = -1;
rear = -1;
};
void enQueue(int val) {
if(isFull()) {
cout << "Queue is Full" << endl;
return;
}
if(fron... | 17.790698 | 53 | 0.433333 | mukul98s |
7407d88d972737b63eb928879ec65233c19d12b1 | 4,112 | cpp | C++ | OpenCV/OR_OD_Testing/Object_Detection/objectdetection-contours-video.cpp | pts211/CS4096 | 6156d567ccdac9e422bb5f476093323f32f73ed8 | [
"Apache-2.0"
] | 2 | 2018-07-08T08:36:50.000Z | 2021-03-10T08:38:06.000Z | OpenCV/OR_OD_Testing/Object_Detection/objectdetection-contours-video.cpp | pts211/CS4096 | 6156d567ccdac9e422bb5f476093323f32f73ed8 | [
"Apache-2.0"
] | null | null | null | OpenCV/OR_OD_Testing/Object_Detection/objectdetection-contours-video.cpp | pts211/CS4096 | 6156d567ccdac9e422bb5f476093323f32f73ed8 | [
"Apache-2.0"
] | null | null | null | /***********************************************************/
/* File: objectdetection-contours-video.cpp */
/* Author: Travis Bueter */
/* Desc: This file tests the use of identifying objects */
/* based on their contours of a video feed. */
/* ... | 29.582734 | 103 | 0.531858 | pts211 |
74088c30ccd8b19b9d75384f281c39ff83199a7e | 10,259 | cpp | C++ | ext/include/osgEarthDrivers/engine_droam/AMRGeometry.cpp | energonQuest/dtEarth | 47b04bb272ec8781702dea46f5ee9a03d4a22196 | [
"MIT"
] | 6 | 2015-09-26T15:33:41.000Z | 2021-06-13T13:21:50.000Z | ext/include/osgEarthDrivers/engine_droam/AMRGeometry.cpp | energonQuest/dtEarth | 47b04bb272ec8781702dea46f5ee9a03d4a22196 | [
"MIT"
] | null | null | null | ext/include/osgEarthDrivers/engine_droam/AMRGeometry.cpp | energonQuest/dtEarth | 47b04bb272ec8781702dea46f5ee9a03d4a22196 | [
"MIT"
] | 5 | 2015-05-04T09:02:23.000Z | 2019-06-17T11:34:12.000Z | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2010 Pelican Mapping
* http://osgearth.org
*
* osgEarth 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 Foundat... | 30.262537 | 117 | 0.590798 | energonQuest |
740cb466c0d2a14e0785b4d0406cbea2bb6510af | 1,115 | cpp | C++ | src/blueprints/Unit.cpp | ludlyl/MulleMech | c29f146ecb6ec8a400390a2c4a6d8d69e1152d6a | [
"MIT"
] | 6 | 2019-08-14T23:19:23.000Z | 2021-04-21T18:06:12.000Z | src/blueprints/Unit.cpp | ludlyl/MulleMech | c29f146ecb6ec8a400390a2c4a6d8d69e1152d6a | [
"MIT"
] | null | null | null | src/blueprints/Unit.cpp | ludlyl/MulleMech | c29f146ecb6ec8a400390a2c4a6d8d69e1152d6a | [
"MIT"
] | 1 | 2021-07-08T21:48:28.000Z | 2021-07-08T21:48:28.000Z | // The MIT License (MIT)
//
// Copyright (c) 2017-2018 Alexander Kurbatov
#include "Unit.h"
#include "core/API.h"
#include "core/Helpers.h"
#include "Hub.h"
bp::Unit::Unit(sc2::UNIT_TYPEID who_builds_, sc2::UNIT_TYPEID required_addon_): m_who_builds(who_builds_), m_required_addon(required_addon_) {
}
bool bp::Unit::... | 30.135135 | 142 | 0.712108 | ludlyl |
740cc0e06783e4b68a14b92dd622b1f8cde0d063 | 3,383 | cpp | C++ | jpegout.cpp | oz-acy/polymnia | 90583ed4a78f99ee04e5eb3547d99343ddb7a10b | [
"BSD-2-Clause"
] | null | null | null | jpegout.cpp | oz-acy/polymnia | 90583ed4a78f99ee04e5eb3547d99343ddb7a10b | [
"BSD-2-Clause"
] | null | null | null | jpegout.cpp | oz-acy/polymnia | 90583ed4a78f99ee04e5eb3547d99343ddb7a10b | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2002-2021 oZ/acy (名賀月晃嗣)
* 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 an... | 24.693431 | 80 | 0.675732 | oz-acy |
740fa78558d1f15192a03f6c44215fe82611d812 | 3,081 | cpp | C++ | MonoNative.Tests/mscorlib/System/Security/Permissions/mscorlib_System_Security_Permissions_FileDialogPermission_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative.Tests/mscorlib/System/Security/Permissions/mscorlib_System_Security_Permissions_FileDialogPermission_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative.Tests/mscorlib/System/Security/Permissions/mscorlib_System_Security_Permissions_FileDialogPermission_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | // Mono Native Fixture
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Namespace: System.Security.Permissions
// Name: FileDialogPermission
// C++ Typed Name: mscorlib::System::Security::Permissions::FileDialogPermission
#include <gtest/gtest.h>
#include <mscorlib/System/Se... | 24.452381 | 112 | 0.719247 | brunolauze |
741129b1e0bdaa6ae3103beebe2fcb8b0b6a52df | 4,962 | cpp | C++ | extern/gainput/lib/source/gainput/keyboard/GainputInputDeviceKeyboard.cpp | BredaUniversityGames/LearningDirectX12 | 895166a6ebec3836238e25f651a5718c0c4e2deb | [
"MIT"
] | 366 | 2018-01-23T22:06:50.000Z | 2022-03-27T22:38:57.000Z | lib/source/gainput/keyboard/GainputInputDeviceKeyboard.cpp | jpvanoosten/gainput | 737cbfcc4e0d0f1247e8ac4cd4f8130584ea88dc | [
"MIT"
] | 16 | 2018-09-15T12:33:54.000Z | 2022-03-31T09:51:35.000Z | lib/source/gainput/keyboard/GainputInputDeviceKeyboard.cpp | jpvanoosten/gainput | 737cbfcc4e0d0f1247e8ac4cd4f8130584ea88dc | [
"MIT"
] | 55 | 2018-09-15T13:58:41.000Z | 2022-03-22T07:05:10.000Z |
#include <gainput/gainput.h>
#include <gainput/GainputDebugRenderer.h>
#include "GainputInputDeviceKeyboardImpl.h"
#include "GainputKeyboardKeyNames.h"
#include <gainput/GainputInputDeltaState.h>
#include <gainput/GainputHelpers.h>
#include <gainput/GainputLog.h>
#if defined(GAINPUT_PLATFORM_LINUX)
#include "Gainpu... | 25.84375 | 121 | 0.767836 | BredaUniversityGames |
74184a75838bd2f9f80ed1faf4049b99642775fd | 1,748 | hpp | C++ | source/data_model/cxx/include/lue/object/property/same_shape/constant_shape/properties.hpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 2 | 2021-02-26T22:45:56.000Z | 2021-05-02T10:28:48.000Z | source/data_model/cxx/include/lue/object/property/same_shape/constant_shape/properties.hpp | pcraster/lue | e64c18f78a8b6d8a602b7578a2572e9740969202 | [
"MIT"
] | 262 | 2016-08-11T10:12:02.000Z | 2020-10-13T18:09:16.000Z | source/data_model/cxx/include/lue/object/property/same_shape/constant_shape/properties.hpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 1 | 2020-03-11T09:49:41.000Z | 2020-03-11T09:49:41.000Z | #pragma once
#include "lue/info/property/same_shape/constant_shape/property.hpp"
#include "lue/object/property/properties_traits.hpp"
#include "lue/core/collection.hpp"
namespace lue {
namespace data_model {
namespace same_shape {
namespace constant_shape {
/*!
@brief Collection of same shape x constant sha... | 25.333333 | 75 | 0.568078 | computationalgeography |
741d09f4f2f338d56252c5b2245015769ba9da0a | 392 | cpp | C++ | 0100/90/196a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 0100/90/196a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 0100/90/196a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <iostream>
#include <string>
void answer(const std::string& v)
{
std::cout << v << '\n';
}
void solve(const std::string& s)
{
std::string t;
for (const char c : s) {
while (!t.empty() && t.back() < c)
t.pop_back();
t.push_back(c);
}
answer(t);
}
int main()
{... | 12.25 | 42 | 0.487245 | actium |
742070861a3c11c517422f43df724024014dbc5a | 11,739 | cpp | C++ | gen/dsp/NoiseLFO.cpp | jpcima/string-machine | 188082dd0beb9a3c341035604841c53675fe66c4 | [
"BSL-1.0"
] | 34 | 2019-07-08T15:02:10.000Z | 2022-02-20T01:44:02.000Z | gen/dsp/NoiseLFO.cpp | jpcima/string-machine | 188082dd0beb9a3c341035604841c53675fe66c4 | [
"BSL-1.0"
] | 27 | 2019-07-08T21:46:19.000Z | 2022-03-24T16:01:02.000Z | gen/dsp/NoiseLFO.cpp | jpcima/string-machine | 188082dd0beb9a3c341035604841c53675fe66c4 | [
"BSL-1.0"
] | 3 | 2019-08-03T22:35:08.000Z | 2022-02-20T01:19:52.000Z |
//------------------------------------------------------------------------------
// This file was generated using the Faust compiler (https://faust.grame.fr),
// and the Faust post-processor (https://github.com/jpcima/faustpp).
//
// Source: NoiseLFO.dsp
// Name: NoiseLFO
// Author:
// Copyright:
// License:
// Ver... | 22.618497 | 122 | 0.611381 | jpcima |
7421412fb7e2c1c2ed365899c6b9c5e984f07924 | 4,729 | cpp | C++ | Core/Code/Interactions/mitkEventRecorder.cpp | lsanzdiaz/MITK-BiiG | 470f04e7585a60672f449716a1c595a5ba3fcd24 | [
"BSD-3-Clause"
] | 1 | 2017-03-05T05:29:32.000Z | 2017-03-05T05:29:32.000Z | Core/Code/Interactions/mitkEventRecorder.cpp | lsanzdiaz/MITK-BiiG | 470f04e7585a60672f449716a1c595a5ba3fcd24 | [
"BSD-3-Clause"
] | null | null | null | Core/Code/Interactions/mitkEventRecorder.cpp | lsanzdiaz/MITK-BiiG | 470f04e7585a60672f449716a1c595a5ba3fcd24 | [
"BSD-3-Clause"
] | 2 | 2020-10-27T06:51:00.000Z | 2020-10-27T06:51:01.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warr... | 28.660606 | 365 | 0.681117 | lsanzdiaz |
74252ebc179368be4bc9a253111153ecc2c84384 | 691 | hpp | C++ | inc/rfm69_message_handler.hpp | ecrampton1/PeripheralMessaging | fb643453277c6a08a7950c23ad2fa4834fffb74b | [
"MIT"
] | null | null | null | inc/rfm69_message_handler.hpp | ecrampton1/PeripheralMessaging | fb643453277c6a08a7950c23ad2fa4834fffb74b | [
"MIT"
] | null | null | null | inc/rfm69_message_handler.hpp | ecrampton1/PeripheralMessaging | fb643453277c6a08a7950c23ad2fa4834fffb74b | [
"MIT"
] | null | null | null | #ifndef RFM69_MESSAGING_HANDLER_HPP_
#define RFM69_MESSAGING_HANDLER_HPP_
#include "message.hpp"
#include "message_handler.hpp"
namespace PeripheralMessages
{
class RFM69Handler
{
public:
static void begin(uint8_t node);
static void initializeIncomingMessages();
static bool publishMessage(const MessageBuffer& buffer... | 23.033333 | 80 | 0.817656 | ecrampton1 |
74258b4ffee0478e59d3f0b884b04873836759dc | 3,140 | cpp | C++ | robowflex_dart/src/joints/rnjoint.cpp | aorthey/robowflex | 09eeb3a380344500508f53cf8469e9878e746c39 | [
"BSD-3-Clause"
] | 58 | 2018-08-17T14:26:02.000Z | 2022-03-28T05:42:03.000Z | robowflex_dart/src/joints/rnjoint.cpp | aorthey/robowflex | 09eeb3a380344500508f53cf8469e9878e746c39 | [
"BSD-3-Clause"
] | 52 | 2018-08-23T01:33:04.000Z | 2022-03-28T15:54:13.000Z | robowflex_dart/src/joints/rnjoint.cpp | aorthey/robowflex | 09eeb3a380344500508f53cf8469e9878e746c39 | [
"BSD-3-Clause"
] | 14 | 2021-04-05T23:49:55.000Z | 2022-03-21T00:18:16.000Z | /* Author: Zachary Kingston */
#include <robowflex_dart/joints.h>
#include <robowflex_dart/space.h>
using namespace robowflex::darts;
///
/// RnJoint
///
RnJoint::RnJoint(StateSpace *space, //
dart::dynamics::Joint *joint, //
double low, double high)
: RnJoint(space,... | 27.54386 | 79 | 0.528344 | aorthey |
7426da866ef295ffecc221ebab52f8c9287572f3 | 3,394 | cpp | C++ | miniapps/navier/navier_3dfoc.cpp | fanronghong/mfem | 5bc8d5ea1b7e3a0b377423773e78428bf7160612 | [
"BSD-3-Clause"
] | 1 | 2020-04-28T05:08:24.000Z | 2020-04-28T05:08:24.000Z | miniapps/navier/navier_3dfoc.cpp | fanronghong/mfem | 5bc8d5ea1b7e3a0b377423773e78428bf7160612 | [
"BSD-3-Clause"
] | null | null | null | miniapps/navier/navier_3dfoc.cpp | fanronghong/mfem | 5bc8d5ea1b7e3a0b377423773e78428bf7160612 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 23.406897 | 80 | 0.61373 | fanronghong |
742a188e513794582f75525489b2dec52a4f928e | 20,202 | cpp | C++ | GTE/Graphics/GL45/GLSLShader.cpp | tranthaiphi/GeometricTools | 451e412a0715dbb4fcafbe486ca33d84a404b78d | [
"BSL-1.0"
] | 452 | 2020-09-16T02:23:30.000Z | 2022-03-27T23:11:38.000Z | GTE/Graphics/GL45/GLSLShader.cpp | tranthaiphi/GeometricTools | 451e412a0715dbb4fcafbe486ca33d84a404b78d | [
"BSL-1.0"
] | 34 | 2020-10-11T03:56:17.000Z | 2022-03-04T17:29:34.000Z | GTE/Graphics/GL45/GLSLShader.cpp | tranthaiphi/GeometricTools | 451e412a0715dbb4fcafbe486ca33d84a404b78d | [
"BSL-1.0"
] | 91 | 2020-09-28T16:59:40.000Z | 2022-03-25T16:20:06.000Z | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2021
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#include <Graphics/GL45/GTGraphicsGL45PCH.h>
#i... | 36.730909 | 113 | 0.566429 | tranthaiphi |
742cb08b4eabee8109515d70fa88198f7a1de22d | 1,006 | cpp | C++ | test/thread/futures/futures.promise/set_rvalue_at_thread_exit.pass.cpp | lll-project/libcxx | 8686f462eb90688485e351f3ee569dbe68a5d7ff | [
"MIT"
] | null | null | null | test/thread/futures/futures.promise/set_rvalue_at_thread_exit.pass.cpp | lll-project/libcxx | 8686f462eb90688485e351f3ee569dbe68a5d7ff | [
"MIT"
] | null | null | null | test/thread/futures/futures.promise/set_rvalue_at_thread_exit.pass.cpp | lll-project/libcxx | 8686f462eb90688485e351f3ee569dbe68a5d7ff | [
"MIT"
] | 1 | 2019-11-27T10:15:18.000Z | 2019-11-27T10:15:18.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.
//
//===----------------------------------------... | 25.15 | 80 | 0.563618 | lll-project |
742f98f4e8953b8fcd030e5f14a2544449a90a3d | 295 | cpp | C++ | sources/File_not_found.cpp | HamilcarR/Echeyde | c7b177834fcabe6ac31c563edc6d4627ebb24b98 | [
"MIT"
] | 2 | 2021-08-25T08:03:07.000Z | 2021-11-20T17:00:03.000Z | sources/File_not_found.cpp | HamilcarR/Echeyde | c7b177834fcabe6ac31c563edc6d4627ebb24b98 | [
"MIT"
] | 2 | 2017-03-11T02:30:13.000Z | 2017-04-07T09:00:02.000Z | sources/File_not_found.cpp | HamilcarR/Echeyde | c7b177834fcabe6ac31c563edc6d4627ebb24b98 | [
"MIT"
] | 1 | 2018-11-16T17:08:47.000Z | 2018-11-16T17:08:47.000Z | #include "../headers/File_not_found.h"
File_not_found::File_not_found(std::string erro) : std::runtime_error(std::string("File : ")+erro+std::string(" not found!\n"))
{
}
File_not_found::File_not_found() :std::runtime_error("File not found !")
{
}
File_not_found::~File_not_found()
{
}
| 14.75 | 127 | 0.694915 | HamilcarR |
743420a5890f8849a482878f5723fa2b298cd45e | 1,534 | hpp | C++ | libs/boost_1_72_0/boost/proto/detail/local.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/proto/detail/local.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/proto/detail/local.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
/// \file local.hpp
/// Contains macros to ease the generation of repetitious code constructs
//
// Copyright 2008 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or c... | 31.306122 | 80 | 0.709257 | henrywarhurst |
74345d88154195ae13900b38285f184310a2d3f8 | 8,597 | hpp | C++ | src-2007/public/python/boost/thread/pthread/shared_mutex.hpp | KyleGospo/City-17-Episode-One-Source | 2bc0bb56a2e0a63d963755e2831c15f2970c38e7 | [
"Unlicense"
] | 30 | 2016-04-23T04:55:52.000Z | 2021-05-19T10:26:27.000Z | src-2007/public/python/boost/thread/pthread/shared_mutex.hpp | KyleGospo/City-17-Episode-One-Source | 2bc0bb56a2e0a63d963755e2831c15f2970c38e7 | [
"Unlicense"
] | 1 | 2017-12-26T21:49:18.000Z | 2020-06-11T04:03:44.000Z | src-2007/public/python/boost/thread/pthread/shared_mutex.hpp | KyleGospo/City-17-Episode-One-Source | 2bc0bb56a2e0a63d963755e2831c15f2970c38e7 | [
"Unlicense"
] | 15 | 2016-04-26T13:16:38.000Z | 2022-03-08T06:13:14.000Z | #ifndef BOOST_THREAD_PTHREAD_SHARED_MUTEX_HPP
#define BOOST_THREAD_PTHREAD_SHARED_MUTEX_HPP
// (C) Copyright 2006-8 Anthony Williams
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/assert... | 28.279605 | 91 | 0.511574 | KyleGospo |
2935eb1f46921fb479e5d578160389a48f56c601 | 18,790 | cpp | C++ | assets/code/cpp/macro_yield.cpp | FiveEye/FiveEye.github.io | b8ca15a9fc50ce3ecdc0e5decc4c5e005e8096e7 | [
"MIT"
] | 2 | 2019-10-02T05:13:29.000Z | 2019-10-02T05:13:42.000Z | assets/code/cpp/macro_yield.cpp | FiveEye/FiveEye.github.io | b8ca15a9fc50ce3ecdc0e5decc4c5e005e8096e7 | [
"MIT"
] | null | null | null | assets/code/cpp/macro_yield.cpp | FiveEye/FiveEye.github.io | b8ca15a9fc50ce3ecdc0e5decc4c5e005e8096e7 | [
"MIT"
] | 1 | 2020-09-08T23:56:35.000Z | 2020-09-08T23:56:35.000Z | // Title : Implementation of Coroutine in Cpp
// Author : hanzh.xu@gmail.com
// Date : 11-21-2020
// License : MIT License
/*
Implementation of Coroutine in Cpp
Compiler:
// clang version 3.8.1-24+rpi1 (tags/RELEASE_381/final)
// Target: armv6--linux-gnueabihf
// Thread model: posix
// clang -st... | 28.298193 | 135 | 0.504949 | FiveEye |
2939c47453d43c7bf014faf14599f16d2149692e | 8,471 | cpp | C++ | test/structure_tests.cpp | StoneJobs/BigBang | cfb7d8603790d143a50eafc5cfe5612a52426e35 | [
"MIT"
] | null | null | null | test/structure_tests.cpp | StoneJobs/BigBang | cfb7d8603790d143a50eafc5cfe5612a52426e35 | [
"MIT"
] | null | null | null | test/structure_tests.cpp | StoneJobs/BigBang | cfb7d8603790d143a50eafc5cfe5612a52426e35 | [
"MIT"
] | null | null | null | // Copyright (c) 2019-2020 The Bigbang developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/test/unit_test.hpp>
#include <set>
#include <vector>
#include "address.h"
#include "structure/tree.h"
#includ... | 43.441026 | 79 | 0.644788 | StoneJobs |
293e6b86cd26827e6c996ed77764ece856826423 | 1,978 | hpp | C++ | src/Include/Util/Endpoint.hpp | 0KABE/Owl | e9d5981e5d41f6d327ef84cb0c3a66f41d68b91b | [
"MIT"
] | 2 | 2021-09-11T07:35:06.000Z | 2022-03-05T09:52:00.000Z | src/Include/Util/Endpoint.hpp | 0KABE/Owl | e9d5981e5d41f6d327ef84cb0c3a66f41d68b91b | [
"MIT"
] | null | null | null | src/Include/Util/Endpoint.hpp | 0KABE/Owl | e9d5981e5d41f6d327ef84cb0c3a66f41d68b91b | [
"MIT"
] | null | null | null | #pragma once
#include <utility>
#include <spdlog/spdlog.h>
#include "Net.hpp"
#include "Awaitable.hpp"
#include "Event.hpp"
#include "FinalAction.hpp"
#include "TimeoutEvent.hpp"
#include "Delegate.hpp"
namespace Owl {
class Endpoint {
public:
enum ConnectionState {
READY,
CONN... | 26.026316 | 92 | 0.633974 | 0KABE |
293ffed02cf0a9f555743ef9d99f34b438e68ea8 | 254 | hpp | C++ | src/entity/config_entity.hpp | zzzhr1990/qingzhenyun-lite-cf | 5686e6f33bdbafc1a0d39981361bd091ac081b35 | [
"MIT"
] | 1 | 2018-10-13T09:36:08.000Z | 2018-10-13T09:36:08.000Z | src/entity/config_entity.hpp | zzzhr1990/qingzhenyun-lite-cf | 5686e6f33bdbafc1a0d39981361bd091ac081b35 | [
"MIT"
] | null | null | null | src/entity/config_entity.hpp | zzzhr1990/qingzhenyun-lite-cf | 5686e6f33bdbafc1a0d39981361bd091ac081b35 | [
"MIT"
] | null | null | null | //
// Created by zzzhr on 2018/10/27.
//
#ifndef QINGZHENYUN_LITE_CONFIG_ENTITY_H
#define QINGZHENYUN_LITE_CONFIG_ENTITY_H
#include <cpprest/http_client.h>
struct config_entity {
utility::string_t token;
};
#endif //QINGZHENYUN_LITE_CONFIG_ENTITY_H
| 21.166667 | 41 | 0.795276 | zzzhr1990 |
294392534802c75bb809c71f7fe454cd5e384bc5 | 175 | cpp | C++ | tests/simple.cpp | johannes-braun/gum | 7f0cd74f0e4f8b6d9ffaf3312d24d0c720f6340a | [
"MIT"
] | null | null | null | tests/simple.cpp | johannes-braun/gum | 7f0cd74f0e4f8b6d9ffaf3312d24d0c720f6340a | [
"MIT"
] | null | null | null | tests/simple.cpp | johannes-braun/gum | 7f0cd74f0e4f8b6d9ffaf3312d24d0c720f6340a | [
"MIT"
] | null | null | null | #include "catch.hpp"
#include <gum/gum.hpp>
TEST_CASE("Simple Test")
{
SECTION("Section 1")
{
gfx::vec3 v(1, 1, 1);
REQUIRE(true);
}
} | 14.583333 | 30 | 0.497143 | johannes-braun |
29467d6d763722e72e554f9b1a42d68f1f49a897 | 1,044,052 | cpp | C++ | src/Protocol/Palettes/Palette_1_15.cpp | nickc01/cuberite | be818200a6567218ba99bb072e721c4b64b71d67 | [
"Apache-2.0"
] | 4,126 | 2015-06-12T21:56:49.000Z | 2022-03-31T06:33:12.000Z | src/Protocol/Palettes/Palette_1_15.cpp | nickc01/cuberite | be818200a6567218ba99bb072e721c4b64b71d67 | [
"Apache-2.0"
] | 2,931 | 2015-06-11T17:13:15.000Z | 2022-03-31T22:46:31.000Z | src/Protocol/Palettes/Palette_1_15.cpp | nickc01/cuberite | be818200a6567218ba99bb072e721c4b64b71d67 | [
"Apache-2.0"
] | 917 | 2015-06-11T21:47:41.000Z | 2022-03-30T10:32:55.000Z | #include "Globals.h"
#include "Palette_1_15.h"
#include "Registries/BlockStates.h"
namespace Palette_1_15
{
UInt32 From(const BlockState Block)
{
using namespace Block;
switch (Block.ID)
{
case AcaciaButton::AcaciaButton(AcaciaButton::Face::Floor, eBlockFace::BLOCK_FACE_ZM, true).ID: return 5906;
case ... | 98.943518 | 212 | 0.769056 | nickc01 |
29484a32429ce7134dfc053205982f20a8f9d836 | 15,316 | cpp | C++ | tests/tests/thread_tests/thread_pool_tests.cpp | HungMingWu/concurrencpp | eb4ed8fb6cd8510925738868cf57bed882005b4b | [
"MIT"
] | null | null | null | tests/tests/thread_tests/thread_pool_tests.cpp | HungMingWu/concurrencpp | eb4ed8fb6cd8510925738868cf57bed882005b4b | [
"MIT"
] | null | null | null | tests/tests/thread_tests/thread_pool_tests.cpp | HungMingWu/concurrencpp | eb4ed8fb6cd8510925738868cf57bed882005b4b | [
"MIT"
] | null | null | null | #include "concurrencpp.h"
#include "../all_tests.h"
#include "../../tester/tester.h"
#include "../../helpers/assertions.h"
#include "../../helpers/thread_helpers.h"
#include "../../helpers/fast_randomizer.h"
#include "../../helpers/object_observer.h"
#include "../src/executors/constants.h"
#include "../src/threads/th... | 28.154412 | 116 | 0.729499 | HungMingWu |
294a66a7222890b1e1219c0d8e8031f62d46e330 | 1,964 | cpp | C++ | contests/uva/uva-11728.cpp | leomaurodesenv/contest-codes | f7ae7e9d8c67e43dea7ac7dd71afce20d804f518 | [
"MIT"
] | null | null | null | contests/uva/uva-11728.cpp | leomaurodesenv/contest-codes | f7ae7e9d8c67e43dea7ac7dd71afce20d804f518 | [
"MIT"
] | null | null | null | contests/uva/uva-11728.cpp | leomaurodesenv/contest-codes | f7ae7e9d8c67e43dea7ac7dd71afce20d804f518 | [
"MIT"
] | null | null | null | /*
* Problema: 11728 - Alternate Task
* https://uva.onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=2828
*/
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstdlib>
#include <numeric>
#include <string>
#include <sstream>
#include <iomanip>
#include <locale>
#include <bitset>
#i... | 22.067416 | 103 | 0.536151 | leomaurodesenv |
294d8cf4a4e322ce16ad955ca5998eb69e25b524 | 3,425 | cc | C++ | src/js/js.cc | mywebengine/myserv | 1b7e0a1822bd8cb62d0640392d58424633866c97 | [
"MIT"
] | null | null | null | src/js/js.cc | mywebengine/myserv | 1b7e0a1822bd8cb62d0640392d58424633866c97 | [
"MIT"
] | null | null | null | src/js/js.cc | mywebengine/myserv | 1b7e0a1822bd8cb62d0640392d58424633866c97 | [
"MIT"
] | null | null | null | /*
g++ -c js.cc -o ./js.o -std=c++17 -Wall -pedantic -I/home/alex/cc/certify/include -I/home/alex/cc/v8 -I/home/alex/cc/v8/include
gcc -shared -o ./js.so ./js.o -I/home/alex/cc/certify/include -I/home/alex/cc/v8 -I/home/alex/cc/v8/include -lv8_monolith -L/home/alex/cc/v8/out.gn/x64.release.sample/obj/ -DV8_COMPRESS_PO... | 43.35443 | 415 | 0.715328 | mywebengine |
294f44beb38dfd47dcb4b0553fd10373edf28812 | 961 | cpp | C++ | CodeForces/Flipping game.cpp | abdelrahman0123/Problem-Solving | 9d40ed9adb6e6d519dc53f676b6dd44ca15ee70b | [
"MIT"
] | null | null | null | CodeForces/Flipping game.cpp | abdelrahman0123/Problem-Solving | 9d40ed9adb6e6d519dc53f676b6dd44ca15ee70b | [
"MIT"
] | null | null | null | CodeForces/Flipping game.cpp | abdelrahman0123/Problem-Solving | 9d40ed9adb6e6d519dc53f676b6dd44ca15ee70b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define all(v) v.begin(), v.end()
#define sz(v) v.size()
#define cin(v) for (int i = 0; i < v.size(); i++) cin >> v[i];
#define cout(v) for (auto i : v) cout << i << endl;
typedef long long ll;
typedef ve... | 19.22 | 67 | 0.504683 | abdelrahman0123 |
2953669081323ae812de39e5d9d99cc4329622f8 | 3,076 | cpp | C++ | examples/time/main.cpp | rosflight/airbourne_f4 | 1009867d7e6d9b5730b4d58d238a276782769f8c | [
"BSD-3-Clause"
] | 7 | 2017-10-12T17:40:36.000Z | 2021-03-31T03:30:58.000Z | examples/time/main.cpp | rosflight/airbourne_f4 | 1009867d7e6d9b5730b4d58d238a276782769f8c | [
"BSD-3-Clause"
] | 42 | 2017-08-04T19:47:25.000Z | 2020-06-03T00:34:41.000Z | examples/time/main.cpp | rosflight/airbourne_f4 | 1009867d7e6d9b5730b4d58d238a276782769f8c | [
"BSD-3-Clause"
] | 8 | 2018-01-30T02:51:10.000Z | 2021-06-06T04:55:48.000Z | /*
* Copyright (c) 2017, James Jackson
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of cond... | 28.747664 | 83 | 0.663849 | rosflight |
29542b0e31957ff9e314b88effa86d2bf62c859f | 7,892 | cpp | C++ | Engine/Math/Placement.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 1 | 2022-02-14T15:46:44.000Z | 2022-02-14T15:46:44.000Z | Engine/Math/Placement.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | null | null | null | Engine/Math/Placement.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 2 | 2022-01-10T22:17:06.000Z | 2022-01-17T09:34:08.000Z | #include "stdh.h"
#include <Engine/Math/Placement.h>
#include <Engine/Base/Stream.h>
#include <Engine/Math/Geometry.h>
#include <Engine/Math/Projection.h>
// Stream operations
CTStream &operator>>(CTStream &strm, CPlacement3D &p3d)
{
strm.Read_t(&p3d, sizeof(p3d));
return strm;
}
CTStream &operator<<(CTStream &... | 34.920354 | 107 | 0.743031 | openlastchaos |
2955bfc38938dd4d1a2db2c8fb6621d1fcb3e5ca | 11,797 | tpp | C++ | src/hypro/algorithms/reachability/handlers/jumpHandlers/singularJumpHandler.tpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 22 | 2016-10-05T12:19:01.000Z | 2022-01-23T09:14:41.000Z | src/hypro/algorithms/reachability/handlers/jumpHandlers/singularJumpHandler.tpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 23 | 2017-05-08T15:02:39.000Z | 2021-11-03T16:43:39.000Z | src/hypro/algorithms/reachability/handlers/jumpHandlers/singularJumpHandler.tpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 12 | 2017-06-07T23:51:09.000Z | 2022-01-04T13:06:21.000Z | #include "singularJumpHandler.h"
namespace hypro {
template <typename Representation>
auto singularJumpHandler<Representation>::applyJump( const TransitionStateMap& states ) -> TransitionStateMap {
// holds a mapping of transitions to already processed (i.e. aggregated, resetted and reduced) states
TransitionStateM... | 45.373077 | 207 | 0.712554 | hypro |
2956b6dbed34cad750b59d1ef38ccfa90ee10da9 | 2,901 | hpp | C++ | include/memoria/api/common/iobuffer_adapters_col1d_vlen.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2021-07-30T16:54:24.000Z | 2021-09-08T15:48:17.000Z | include/memoria/api/common/iobuffer_adapters_col1d_vlen.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | null | null | null | include/memoria/api/common/iobuffer_adapters_col1d_vlen.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2020-03-14T15:15:25.000Z | 2020-06-15T11:26:56.000Z |
// Copyright 2019 Victor Smirnov
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 27.894231 | 103 | 0.668735 | victor-smirnov |
2958d41172ecbbfdbb94938db9c8701c8e8367c5 | 32,682 | cpp | C++ | src/eepp/core/string.cpp | SpartanJ/eepp | 21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | src/eepp/core/string.cpp | SpartanJ/eepp | 21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac | [
"MIT"
] | null | null | null | src/eepp/core/string.cpp | SpartanJ/eepp | 21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #include <algorithm>
#include <cctype>
#include <climits>
#include <cstdarg>
#include <eepp/core/string.hpp>
#include <eepp/core/utf.hpp>
#include <functional>
#include <iterator>
#include <limits>
namespace EE {
const std::size_t String::InvalidPos = StringType::npos;
/*
* Originally written by Joel Yliluoma <joel... | 27.533277 | 98 | 0.66581 | SpartanJ |
295ceda83f968b9575b83eb91a5be8d97198ebd3 | 781 | hpp | C++ | include/mariadb++/decimal.hpp | mcoffin/mariadbpp | 5e509ed33e1474a5c0b91d4cd8fec0684988dc1f | [
"BSL-1.0"
] | 89 | 2018-03-31T07:29:47.000Z | 2022-03-05T01:33:58.000Z | include/mariadb++/decimal.hpp | mcoffin/mariadbpp | 5e509ed33e1474a5c0b91d4cd8fec0684988dc1f | [
"BSL-1.0"
] | 38 | 2018-06-05T01:14:46.000Z | 2021-11-04T21:44:51.000Z | include/mariadb++/decimal.hpp | mcoffin/mariadbpp | 5e509ed33e1474a5c0b91d4cd8fec0684988dc1f | [
"BSL-1.0"
] | 57 | 2018-05-08T11:05:51.000Z | 2022-01-12T14:14:56.000Z | //
// M A R I A D B + +
//
// Copyright The ViaDuck Project 2016 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef _MARIADB_DECIMAL_HPP_
#define _MARIADB_DECIMAL_HPP_
#include <strin... | 20.025641 | 68 | 0.636364 | mcoffin |
29621e521890b7dcaa05484c21f225012c2c5ac8 | 333,875 | cc | C++ | src/GLC.cc | Rombur/ouranos | 4337455790802b11bd520f48057ffea90d7657bc | [
"BSD-3-Clause"
] | null | null | null | src/GLC.cc | Rombur/ouranos | 4337455790802b11bd520f48057ffea90d7657bc | [
"BSD-3-Clause"
] | null | null | null | src/GLC.cc | Rombur/ouranos | 4337455790802b11bd520f48057ffea90d7657bc | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2013, Bruno Turcksin.
*
* This file is subject to the Modified BSD License and may not be distributed
* without copyright and license information. Please refer to the file
* license.txt for the text and further information on this license.
*/
#include "GLC.hh"
GLC::GLC(unsigned int sn,unsigned i... | 259.421134 | 325 | 0.94421 | Rombur |
2965e402c3f1c9adcc84822c21e5cfb570c5d257 | 4,571 | cpp | C++ | embroidermodder2/object-base.cpp | titusmaxentius/Embroidermodder | eb9fa277310f759946524ea303d68d0a63b21970 | [
"Zlib"
] | 339 | 2015-01-11T11:52:14.000Z | 2022-03-29T10:46:08.000Z | embroidermodder2/object-base.cpp | titusmaxentius/Embroidermodder | eb9fa277310f759946524ea303d68d0a63b21970 | [
"Zlib"
] | 208 | 2015-01-11T13:45:55.000Z | 2022-03-26T16:18:42.000Z | embroidermodder2/object-base.cpp | titusmaxentius/Embroidermodder | eb9fa277310f759946524ea303d68d0a63b21970 | [
"Zlib"
] | 124 | 2015-01-07T17:22:23.000Z | 2022-03-10T05:49:22.000Z | #include "embroidermodder.h"
#include <QDebug>
#include <QGraphicsScene>
#include <QMessageBox>
#include <QDateTime>
#include <QPainter>
BaseObject::BaseObject(QGraphicsItem* parent) : QGraphicsPathItem(parent)
{
qDebug("BaseObject Constructor()");
objPen.setCapStyle(Qt::RoundCap);
objPen.setJoinStyle(Qt... | 28.56875 | 114 | 0.646904 | titusmaxentius |
2967f6a1a91ad3b56f1e058f019c1e93845ede17 | 2,393 | cpp | C++ | GLEngine/BaseCamera.cpp | Darker1300/GLEngine_2017_Alpha | 742cf7a0c9ba5c172b173ecc1a7f2ae384b293c6 | [
"MIT"
] | null | null | null | GLEngine/BaseCamera.cpp | Darker1300/GLEngine_2017_Alpha | 742cf7a0c9ba5c172b173ecc1a7f2ae384b293c6 | [
"MIT"
] | null | null | null | GLEngine/BaseCamera.cpp | Darker1300/GLEngine_2017_Alpha | 742cf7a0c9ba5c172b173ecc1a7f2ae384b293c6 | [
"MIT"
] | null | null | null | #include "DEBUG_NEW_LEAK_DETECT.h"
#include "CameraBase.h"
#ifdef _DEBUG
#include <iostream>
#endif
#include "ApplicationBase.h"
//CameraBase* GLE::MAIN_CAM = nullptr;
CameraBase::CameraBase()
: m_projectionTransform(1)
, m_FOV(0.25f)
, m_near(0.1f)
, m_far(1000.0f)
, m_transform()
{
m_aspectRatio = (float)GLE... | 21.558559 | 115 | 0.646887 | Darker1300 |
29682f83e034219dda8833b0620e746a554df523 | 22,434 | cpp | C++ | src/PerfMixer.cpp | wrongPaul/dBiz | 3b1887f812ca346590c1782f4a9b267688ad08ea | [
"CC0-1.0"
] | 1 | 2019-10-28T20:20:57.000Z | 2019-10-28T20:20:57.000Z | src/PerfMixer.cpp | wrongPaul/dBiz | 3b1887f812ca346590c1782f4a9b267688ad08ea | [
"CC0-1.0"
] | null | null | null | src/PerfMixer.cpp | wrongPaul/dBiz | 3b1887f812ca346590c1782f4a9b267688ad08ea | [
"CC0-1.0"
] | null | null | null |
#include "plugin.hpp"
///////////////////////////////////////////////////
struct PerfMixer : Module {
enum ParamIds
{
MAIN_VOL_PARAM,
AUX_R1_PARAM,
AUX_R2_PARAM,
AUX_S1_PARAM,
AUX_S2_PARAM,
ENUMS(VOL_PARAM, 8),
ENUMS(PAN_PARAM, 8),
ENUMS(AUX_1_PARAM ,8),
ENUMS(AUX_2_PARAM ,8),... | 47.935897 | 191 | 0.65744 | wrongPaul |
2968c7b9cebca93636f5d4de0b328865a9f93a5c | 383 | cpp | C++ | cpp/stringstream.cpp | cozek/code-practice | bf3098dbeb502cab2e22ce7ea73c2aa05a3caf80 | [
"MIT"
] | null | null | null | cpp/stringstream.cpp | cozek/code-practice | bf3098dbeb502cab2e22ce7ea73c2aa05a3caf80 | [
"MIT"
] | null | null | null | cpp/stringstream.cpp | cozek/code-practice | bf3098dbeb502cab2e22ce7ea73c2aa05a3caf80 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <string>
#include <vector>
int main() {
std::string numString = "1,2,3,4,5";
std::stringstream ss(numString);
std::vector<int> intVec;
for (int i; ss>>i;) {
intVec.push_back(i);
if(ss.peek() == ','){
ss.ignore();
}
}
for (int i = 0; i<intV... | 17.409091 | 40 | 0.553525 | cozek |
296a3bd0b6c17a6c14578d3ff5e106ba8e4cfbec | 3,275 | cc | C++ | source/test/http/URLBuilder_test.cc | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 2 | 2018-02-03T06:56:29.000Z | 2021-04-20T10:28:32.000Z | source/test/http/URLBuilder_test.cc | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 8 | 2018-02-18T21:00:07.000Z | 2018-02-20T15:31:24.000Z | source/test/http/URLBuilder_test.cc | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 1 | 2018-02-09T07:09:26.000Z | 2018-02-09T07:09:26.000Z | // MIT License
//
// Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation ... | 34.114583 | 110 | 0.719695 | ciscoruiz |
296b2856e4b35e845293eca485f340d0b2de7bf8 | 1,184 | cpp | C++ | fuzz/Fuzz.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | fuzz/Fuzz.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | fuzz/Fuzz.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "fuzz/Fuzz.h"
#include "fuzz/FuzzCommon.h"
// UBSAN reminds us that bool can only legally hold 0 or 1.
void Fuzz::next(bool* b) {
uint8_t n;
this->next(&n);
*b... | 23.68 | 73 | 0.625 | NearTox |
296b58f8de1e6562f8822dc84be62c3d62ee4ef1 | 1,159 | hpp | C++ | cpp/src/g2p.hpp | oddvoices/oddvoices | 824592478f4b805afff4d6da2728de5aa93d0575 | [
"Apache-2.0"
] | 25 | 2021-03-11T17:31:31.000Z | 2022-03-23T07:24:34.000Z | cpp/src/g2p.hpp | oddvoices/oddvoices | 824592478f4b805afff4d6da2728de5aa93d0575 | [
"Apache-2.0"
] | 60 | 2021-03-04T03:16:05.000Z | 2022-01-21T05:36:46.000Z | cpp/src/g2p.hpp | oddvoices/oddvoices | 824592478f4b805afff4d6da2728de5aa93d0575 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <map>
#include <vector>
#include <set>
#include <string>
#include <sstream>
namespace oddvoices {
namespace g2p {
extern std::set<unsigned char> k_punctuation;
extern std::vector<std::string> k_allPhonemes;
extern std::map<std::string, std::vector<std::string>> k_phonemeAliases;
extern std::map... | 27.595238 | 78 | 0.732528 | oddvoices |
296e49dbf5f668096e0b083c7f5330d7850ee39b | 1,230 | hpp | C++ | Vision/ObjectRecognition/include/object_pipeline.hpp | cxdcxd/sepanta3 | a65a3415f046631ac4d6b91f9342966b0c030226 | [
"MIT"
] | null | null | null | Vision/ObjectRecognition/include/object_pipeline.hpp | cxdcxd/sepanta3 | a65a3415f046631ac4d6b91f9342966b0c030226 | [
"MIT"
] | null | null | null | Vision/ObjectRecognition/include/object_pipeline.hpp | cxdcxd/sepanta3 | a65a3415f046631ac4d6b91f9342966b0c030226 | [
"MIT"
] | null | null | null | #ifndef _OBJECT_PIPELINE
#define _OBJECT_PIPELINE
#include <pcl/point_types.h>
#include <object.hpp>
class ObjectPipeline {
public:
ObjectPipeline();
ObjectPipeline(boost::shared_ptr<std::vector<Object>> trained_objects);
pcl::PointCloud<pcl::PointXYZRGB>::Ptr passthroughPointCloud(pcl::PointCloud<pcl::... | 41 | 164 | 0.760976 | cxdcxd |
2971dd2d4b30f543a6132a1a9559a8878d3c1d83 | 13,191 | cpp | C++ | GraphLayoutLibrary/CircularLayout/CircularLayoutGenerator.cpp | persistentsystems/LayoutLibrary | e299ac0073225c88f488dd9c2615ec786f8e2897 | [
"MIT"
] | 26 | 2016-09-13T08:50:09.000Z | 2022-02-14T15:14:54.000Z | GraphLayoutLibrary/CircularLayout/CircularLayoutGenerator.cpp | hotpeperoncino/GraphLayoutLibrary | 2dec062f6cdbbaa4b791bdd9c7cc54fe90adbc13 | [
"MIT"
] | 3 | 2017-06-21T04:18:58.000Z | 2018-01-17T13:27:42.000Z | GraphLayoutLibrary/CircularLayout/CircularLayoutGenerator.cpp | hotpeperoncino/GraphLayoutLibrary | 2dec062f6cdbbaa4b791bdd9c7cc54fe90adbc13 | [
"MIT"
] | 4 | 2017-12-08T09:08:34.000Z | 2021-07-22T06:42:31.000Z | #include "CircularLayoutGenerator.h"
#include "Common/LayoutEnum.h"
CircularLayoutGenerator::CircularLayoutGenerator()
{
m_iCenterX = 0;
m_iCenterY = 0;
}
void CircularLayoutGenerator::applyCircularLayout(SubGraph& gInputGraph, LayoutEnum::VertexOrderCriteria enVertexOrder)
{
// enVertexOrder =... | 41.481132 | 140 | 0.64453 | persistentsystems |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.