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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0f15557a9db6ed816e38a74ceee775aa107e0cbd | 3,708 | cpp | C++ | src/vulkan-renderer/io/byte_stream.cpp | JoseETeixeira/vulkan-renderer | 982e8004d9269ab1ffb1b7e8da03b351136985c9 | [
"MIT"
] | 443 | 2019-12-26T03:24:17.000Z | 2022-03-29T07:55:01.000Z | src/vulkan-renderer/io/byte_stream.cpp | JoseETeixeira/vulkan-renderer | 982e8004d9269ab1ffb1b7e8da03b351136985c9 | [
"MIT"
] | 384 | 2019-12-12T13:08:02.000Z | 2022-03-28T19:57:11.000Z | src/vulkan-renderer/io/byte_stream.cpp | JoseETeixeira/vulkan-renderer | 982e8004d9269ab1ffb1b7e8da03b351136985c9 | [
"MIT"
] | 36 | 2020-03-31T11:44:28.000Z | 2022-03-12T08:44:25.000Z | #include "inexor/vulkan-renderer/io/byte_stream.hpp"
#include "inexor/vulkan-renderer/world/cube.hpp"
#include <fstream>
namespace inexor::vulkan_renderer::io {
std::vector<std::uint8_t> ByteStream::read_file(const std::filesystem::path &path) {
std::ifstream stream(path, std::ios::in | std::ios::binary);
ret... | 32.814159 | 118 | 0.657497 | JoseETeixeira |
0f16ed5b02cce189a93288242bb5484e17a0150a | 3,614 | cpp | C++ | test/module/irohad/consensus/yac/yac_synchronization_test.cpp | akshatkarani/iroha | 5acef9dd74720c6185360d951e9b11be4ef73260 | [
"Apache-2.0"
] | 1 | 2020-05-15T10:02:38.000Z | 2020-05-15T10:02:38.000Z | test/module/irohad/consensus/yac/yac_synchronization_test.cpp | akshatkarani/iroha | 5acef9dd74720c6185360d951e9b11be4ef73260 | [
"Apache-2.0"
] | 2 | 2020-02-18T11:25:35.000Z | 2020-02-20T04:09:45.000Z | test/module/irohad/consensus/yac/yac_synchronization_test.cpp | akshatkarani/iroha | 5acef9dd74720c6185360d951e9b11be4ef73260 | [
"Apache-2.0"
] | 1 | 2020-07-25T11:15:16.000Z | 2020-07-25T11:15:16.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "module/irohad/consensus/yac/yac_fixture.hpp"
#include "common/hexutils.hpp"
using namespace iroha::consensus::yac;
using ::testing::_;
using ::testing::Return;
/**
* The class helps to create fake networ... | 31.982301 | 80 | 0.697842 | akshatkarani |
0f175b86135b7c86c9c9b68920d17b0884d50c2d | 1,603 | cpp | C++ | BalancedParanthesis.cpp | florayasmin/Hacktoberfest2021-1 | d61db34b1844ae9202af829d9e4632ed0deb3574 | [
"MIT"
] | 1 | 2021-10-16T01:34:12.000Z | 2021-10-16T01:34:12.000Z | BalancedParanthesis.cpp | florayasmin/Hacktoberfest2021-1 | d61db34b1844ae9202af829d9e4632ed0deb3574 | [
"MIT"
] | null | null | null | BalancedParanthesis.cpp | florayasmin/Hacktoberfest2021-1 | d61db34b1844ae9202af829d9e4632ed0deb3574 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
bool isValid(string s)
{
int n = s.size();
stack<char> st;
bool ans = true;
for (int i = 0; i < n; i++)
{
if (st.empty() and (s[i] == ')' or s[i] == '}' or s[i] == ']'))
{
return false; // if start with closed p... | 20.0375 | 73 | 0.257018 | florayasmin |
0f17e58322f6b16326f34df77343baeffbafe7b5 | 8,362 | cc | C++ | PYTHIA8/pythia8210dev/examples/main04.cc | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | PYTHIA8/pythia8210dev/examples/main04.cc | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | PYTHIA8/pythia8210dev/examples/main04.cc | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | // main04.cc is a part of the PYTHIA event generator.
// Copyright (C) 2015 Torbjorn Sjostrand.
// PYTHIA is licenced under the GNU GPL version 2, see COPYING for details.
// Please respect the MCnet Guidelines, see GUIDELINES for details.
// This is a simple test program.
// It illustrates how to generate and study "... | 38.534562 | 76 | 0.562066 | AllaMaevskaya |
0f18af9a65fc2312a438866126f15c1c54fcaa3d | 822 | cpp | C++ | src/c++/schemas/Icon.cpp | TestingTravis/modioSDK | b15c4442a8acdb4bf690a846232399eaf9fe18f6 | [
"MIT"
] | null | null | null | src/c++/schemas/Icon.cpp | TestingTravis/modioSDK | b15c4442a8acdb4bf690a846232399eaf9fe18f6 | [
"MIT"
] | null | null | null | src/c++/schemas/Icon.cpp | TestingTravis/modioSDK | b15c4442a8acdb4bf690a846232399eaf9fe18f6 | [
"MIT"
] | null | null | null | #include "c++/schemas/Icon.h"
namespace modio
{
void Icon::initialize(ModioIcon modio_icon)
{
if (modio_icon.filename)
this->filename = modio_icon.filename;
if (modio_icon.original)
this->original = modio_icon.original;
if (modio_icon.thumb_64x64)
this->thumb_64x64 = modio_icon.thumb_64x64;
if (mod... | 25.6875 | 51 | 0.738443 | TestingTravis |
0f190b1df98f2b587a679dfa30b5edea02b9b9bd | 1,608 | hpp | C++ | Clover-Configs/Dell/Dell Inspiron 7520/CLOVER/kexts/10.12/Lilu.kext/Contents/Resources/Headers/plugin_start.hpp | worldlove521/Hackintosh-Installer-University | f5cff36de17bdef0f437a70fb36d182d3ca3a20f | [
"Intel",
"CC-BY-4.0"
] | 4,033 | 2016-11-06T13:36:19.000Z | 2022-03-28T14:47:26.000Z | Clover-Configs/Dell/Dell Inspiron 7520/CLOVER/kexts/10.12/Lilu.kext/Contents/Resources/Headers/plugin_start.hpp | sakoula/Hackintosh-Installer-University | 03fd71ed3f8ec1e01ee45b71835f561263107edf | [
"Intel",
"CC-BY-4.0"
] | 52 | 2018-04-16T23:28:37.000Z | 2021-07-23T07:17:18.000Z | Clover-Configs/Dell/Dell Inspiron 7520/CLOVER/kexts/10.12/Lilu.kext/Contents/Resources/Headers/plugin_start.hpp | sakoula/Hackintosh-Installer-University | 03fd71ed3f8ec1e01ee45b71835f561263107edf | [
"Intel",
"CC-BY-4.0"
] | 1,200 | 2016-12-17T13:46:50.000Z | 2022-03-23T06:08:11.000Z | //
// kern_start.hpp
// AppleALC
//
// Copyright © 2016 vit9696. All rights reserved.
//
#ifndef kern_start_hpp
#define kern_start_hpp
#include <Headers/kern_util.hpp>
#include <Library/LegacyIOService.h>
#include <sys/types.h>
struct PluginConfiguration {
const char *product; // Product name (e.g. xStri... | 30.923077 | 101 | 0.733831 | worldlove521 |
0f19bde272c98ec1052f100c29945eedfa1a65e2 | 2,130 | cpp | C++ | src/Tools/Arguments/Maps/Argument_map_info.cpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2022-02-17T08:47:47.000Z | 2022-02-17T08:47:47.000Z | src/Tools/Arguments/Maps/Argument_map_info.cpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | null | null | null | src/Tools/Arguments/Maps/Argument_map_info.cpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2022-02-15T23:32:39.000Z | 2022-02-15T23:32:39.000Z | #include <stdexcept>
#include "Tools/Arguments/Maps/Argument_map_info.hpp"
using namespace aff3ct;
using namespace aff3ct::tools;
Argument_map_info
::Argument_map_info()
{ }
Argument_map_info
::Argument_map_info(const Argument_map_info& other)
{
other.clone(*this);
}
Argument_map_info
::~Argument_map_info()
{
cl... | 18.849558 | 106 | 0.687793 | WilliamMajor |
0f19e90462d302b3b58cffd4b6117ca0334b212c | 4,450 | cpp | C++ | chapter26/chapter26_ex05.cpp | TingeOGinge/stroustrup_ppp | bb69533fff8a8f1890c8c866bae2030eaca1cf8b | [
"MIT"
] | 170 | 2018-08-10T19:37:16.000Z | 2022-03-29T02:03:30.000Z | chapter26/chapter26_ex05.cpp | TingeOGinge/stroustrup_ppp | bb69533fff8a8f1890c8c866bae2030eaca1cf8b | [
"MIT"
] | 7 | 2018-08-29T15:43:14.000Z | 2021-09-23T21:56:49.000Z | chapter26/chapter26_ex05.cpp | TingeOGinge/stroustrup_ppp | bb69533fff8a8f1890c8c866bae2030eaca1cf8b | [
"MIT"
] | 105 | 2015-05-28T11:52:19.000Z | 2018-07-17T14:11:25.000Z | // Chapter 26, exercise 5: add test to see if binary_search modifies the
// sequence
#include<iostream>
#include<exception>
#include<fstream>
#include<string>
#include<vector>
using namespace std;
//------------------------------------------------------------------------------
// check if value val is in the ordere... | 25.141243 | 80 | 0.456854 | TingeOGinge |
0f1fbeef72f98f3cf71e39d12810388ebfa643a4 | 262 | hpp | C++ | include/chopper/detail_bin_prefixes.hpp | Felix-Droop/Chopper | 5cc214103b2d088ae400bec0fde8973e03dd3095 | [
"BSD-3-Clause"
] | null | null | null | include/chopper/detail_bin_prefixes.hpp | Felix-Droop/Chopper | 5cc214103b2d088ae400bec0fde8973e03dd3095 | [
"BSD-3-Clause"
] | null | null | null | include/chopper/detail_bin_prefixes.hpp | Felix-Droop/Chopper | 5cc214103b2d088ae400bec0fde8973e03dd3095 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
constexpr std::string_view hibf_prefix{"HIGH_LEVEL_IBF"};
constexpr std::string_view merged_bin_prefix{"MERGED_BIN"};
constexpr std::string_view split_bin_prefix{"SPLIT_BIN"};
constexpr size_t merged_bin_prefix_length{merged_bin_prefix.size()};
| 26.2 | 68 | 0.824427 | Felix-Droop |
0f22b9fbce5bb8e3ee5680c035854cf382b15802 | 1,043 | cpp | C++ | src/main.cpp | kondrak/quake_bsp_viewer_legacyOpenGL | e64a2a74fbda91fdd26a9027098e087bbd5cd8b3 | [
"MIT"
] | 4 | 2015-11-29T15:38:42.000Z | 2021-09-12T00:19:28.000Z | src/main.cpp | kondrak/quake_bsp_viewer_legacyOpenGL | e64a2a74fbda91fdd26a9027098e087bbd5cd8b3 | [
"MIT"
] | null | null | null | src/main.cpp | kondrak/quake_bsp_viewer_legacyOpenGL | e64a2a74fbda91fdd26a9027098e087bbd5cd8b3 | [
"MIT"
] | null | null | null | #include "Application.hpp"
#include "InputHandlers.hpp"
#include "renderer/RenderContext.hpp"
// keep the render context and application object global
RenderContext g_renderContext;
Application g_application;
int main(int argc, char **argv)
{
// initialize SDL
if( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_EVENT... | 20.057692 | 76 | 0.645254 | kondrak |
0f2a9491a7af6a8948061edc4e6b30a0cbe03bb6 | 2,093 | cpp | C++ | src/CppParser/CppParser.cpp | P-i-N/CppSharp | c36145b29dd5e8ae273557c2a31fd4d8a7a044be | [
"MIT"
] | null | null | null | src/CppParser/CppParser.cpp | P-i-N/CppSharp | c36145b29dd5e8ae273557c2a31fd4d8a7a044be | [
"MIT"
] | null | null | null | src/CppParser/CppParser.cpp | P-i-N/CppSharp | c36145b29dd5e8ae273557c2a31fd4d8a7a044be | [
"MIT"
] | null | null | null | /************************************************************************
*
* CppSharp
* Licensed under the MIT license.
*
************************************************************************/
#include "CppParser.h"
#include "Parser.h"
#include <clang/Basic/Version.inc>
namespace CppSharp { namespace CppParser {
... | 25.216867 | 73 | 0.705686 | P-i-N |
0f2e97cbb920c58e4c5b35e8fc5285d493fa007c | 1,477 | cpp | C++ | Starters 14/TUPCOUNT.cpp | Jks08/CodeChef | a8aec8a563c441176a36b8581031764e99f09833 | [
"MIT"
] | 1 | 2021-09-17T13:10:04.000Z | 2021-09-17T13:10:04.000Z | Starters 14/TUPCOUNT.cpp | Jks08/CodeChef | a8aec8a563c441176a36b8581031764e99f09833 | [
"MIT"
] | null | null | null | Starters 14/TUPCOUNT.cpp | Jks08/CodeChef | a8aec8a563c441176a36b8581031764e99f09833 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define PI 3.14159265358979323846
#define ll long long int
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
const int T = 1e6 + 5;
long long phi[T];
gp_hash_table<long long, long long> mp;
int sz, spf[T], prime... | 24.616667 | 82 | 0.411645 | Jks08 |
0f31a22df5f7e480bfeabf09840fb4a0026b9aeb | 1,143 | hpp | C++ | src/mbgl/programs/hillshade_prepare_program.hpp | finnpetersen/mapbox-gl-native3 | 1a7ed9a822db3476ff4f6b5d4d4e3151046c7353 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/programs/hillshade_prepare_program.hpp | finnpetersen/mapbox-gl-native3 | 1a7ed9a822db3476ff4f6b5d4d4e3151046c7353 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/programs/hillshade_prepare_program.hpp | finnpetersen/mapbox-gl-native3 | 1a7ed9a822db3476ff4f6b5d4d4e3151046c7353 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | #pragma once
#include <mbgl/programs/program.hpp>
#include <mbgl/programs/attributes.hpp>
#include <mbgl/programs/uniforms.hpp>
#include <mbgl/shaders/hillshade_prepare.hpp>
#include <mbgl/util/geometry.hpp>
namespace mbgl {
namespace uniforms {
MBGL_DEFINE_UNIFORM_VECTOR(uint16_t, 2, u_dimension);
} // namespace un... | 23.8125 | 75 | 0.634296 | finnpetersen |
0f33eff2849001dbb9c22a2d4a861efede0505f7 | 7,347 | cpp | C++ | examples/Meters/ExampleUIMeters.cpp | noisecode3/DPF | 86a621bfd86922a49ce593fec2a618a1e0cc6ef3 | [
"0BSD"
] | 372 | 2015-02-09T15:05:16.000Z | 2022-03-30T15:35:17.000Z | examples/Meters/ExampleUIMeters.cpp | noisecode3/DPF | 86a621bfd86922a49ce593fec2a618a1e0cc6ef3 | [
"0BSD"
] | 324 | 2015-10-05T14:30:41.000Z | 2022-03-30T07:06:04.000Z | examples/Meters/ExampleUIMeters.cpp | noisecode3/DPF | 86a621bfd86922a49ce593fec2a618a1e0cc6ef3 | [
"0BSD"
] | 89 | 2015-02-20T11:26:50.000Z | 2022-02-11T00:07:27.000Z | /*
* DISTRHO Plugin Framework (DPF)
* Copyright (C) 2012-2019 Filipe Coelho <falktx@falktx.com>
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this
* permission notice appear in all copies.
... | 28.699219 | 117 | 0.531782 | noisecode3 |
0f38f548e204fdbca419c5fe7608d207710a24f6 | 1,110 | cpp | C++ | ijk/source/ijk-math/common/ijk-real/_cpp/ijkQuaternionSwizzle.cpp | dbuckstein/ijk | 959f7292d6465e9d2c888ea94bc724c8ee03597e | [
"Apache-2.0"
] | 1 | 2020-05-31T21:14:49.000Z | 2020-05-31T21:14:49.000Z | ijk/source/ijk-math/common/ijk-real/_cpp/ijkQuaternionSwizzle.cpp | dbuckstein/ijk | 959f7292d6465e9d2c888ea94bc724c8ee03597e | [
"Apache-2.0"
] | null | null | null | ijk/source/ijk-math/common/ijk-real/_cpp/ijkQuaternionSwizzle.cpp | dbuckstein/ijk | 959f7292d6465e9d2c888ea94bc724c8ee03597e | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020-2021 Daniel S. Buckstein
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 t... | 26.428571 | 79 | 0.704505 | dbuckstein |
0f4221ff72c9047c31af1c3ad9015b1e9f075fd5 | 3,178 | cpp | C++ | source/agent/analytics/videoGstPipeline/GstInternalIn.cpp | andreasunterhuber/owt-server | 128b83714361c0b543ec44fc841c9094f4267633 | [
"Apache-2.0"
] | 2 | 2021-02-05T04:57:58.000Z | 2021-04-11T08:36:19.000Z | source/agent/analytics/videoGstPipeline/GstInternalIn.cpp | andreasunterhuber/owt-server | 128b83714361c0b543ec44fc841c9094f4267633 | [
"Apache-2.0"
] | 3 | 2020-07-09T06:48:40.000Z | 2020-09-17T03:04:30.000Z | source/agent/analytics/videoGstPipeline/GstInternalIn.cpp | andreasunterhuber/owt-server | 128b83714361c0b543ec44fc841c9094f4267633 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) <2019> Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
#include "GstInternalIn.h"
#include <gst/gst.h>
#include <stdio.h>
DEFINE_LOGGER(GstInternalIn, "GstInternalIn");
GstInternalIn::GstInternalIn(GstAppSrc *data, unsigned int minPort, unsigned int maxPort)
{
m_transport.reset(new o... | 29.425926 | 125 | 0.58905 | andreasunterhuber |
0f42bc0e33dc6fa79792373d243d26e951ac609e | 3,658 | cc | C++ | Mu2eUtilities/src/TriggerResultsNavigator.cc | AndrewEdmonds11/Offline | 99d525aa55a477fb3f21826ac817224c25cda040 | [
"Apache-2.0"
] | 1 | 2021-06-25T00:00:12.000Z | 2021-06-25T00:00:12.000Z | Mu2eUtilities/src/TriggerResultsNavigator.cc | shadowbehindthebread/Offline | 57b5055641a4c626a695f3d83237c79758956b6a | [
"Apache-2.0"
] | null | null | null | Mu2eUtilities/src/TriggerResultsNavigator.cc | shadowbehindthebread/Offline | 57b5055641a4c626a695f3d83237c79758956b6a | [
"Apache-2.0"
] | 1 | 2020-05-27T22:33:52.000Z | 2020-05-27T22:33:52.000Z | #include "fhiclcpp/ParameterSet.h"
#include "fhiclcpp/ParameterSetRegistry.h"
#include "Mu2eUtilities/inc/TriggerResultsNavigator.hh"
#include <iostream>
#include <iomanip>
namespace mu2e {
TriggerResultsNavigator::TriggerResultsNavigator(const art::TriggerResults* trigResults):
_trigResults(trigResults){
... | 32.087719 | 115 | 0.613997 | AndrewEdmonds11 |
0f4464122c8fb96f11f5246107cf80e97a5b8aec | 24,624 | cpp | C++ | clang-tools-extra/clangd/unittests/SelectionTests.cpp | hborla/llvm-project | 6590b7ca0bb9c01e9a362bcbc5500d41d21bd6e7 | [
"Apache-2.0"
] | null | null | null | clang-tools-extra/clangd/unittests/SelectionTests.cpp | hborla/llvm-project | 6590b7ca0bb9c01e9a362bcbc5500d41d21bd6e7 | [
"Apache-2.0"
] | null | null | null | clang-tools-extra/clangd/unittests/SelectionTests.cpp | hborla/llvm-project | 6590b7ca0bb9c01e9a362bcbc5500d41d21bd6e7 | [
"Apache-2.0"
] | null | null | null | //===-- SelectionTests.cpp - ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 31.731959 | 80 | 0.515513 | hborla |
0f454bfc8ec10cb942fabe7006a52f259e290b27 | 944 | cpp | C++ | coast/modules/Security/Base64WDRenderer.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | coast/modules/Security/Base64WDRenderer.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | coast/modules/Security/Base64WDRenderer.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland
* All rights reserved.
*
* This library/application is free software; you can redistribute and/or modify it under the terms of
* the license that is included with this library/application in the file license.txt.... | 32.551724 | 102 | 0.717161 | zer0infinity |
0f46ef60058b018543fd088fcdedae365ee2ad5c | 1,951 | hpp | C++ | src/PlayerManager.hpp | josephl70/OpenFusion | c1200e94c5f933bffb5885b1a83b9dab5ceb1db1 | [
"MIT"
] | 1 | 2020-08-20T17:43:10.000Z | 2020-08-20T17:43:10.000Z | src/PlayerManager.hpp | josephl70/OpenFusion_VS | c1200e94c5f933bffb5885b1a83b9dab5ceb1db1 | [
"MIT"
] | null | null | null | src/PlayerManager.hpp | josephl70/OpenFusion_VS | c1200e94c5f933bffb5885b1a83b9dab5ceb1db1 | [
"MIT"
] | null | null | null | #pragma once
#include "Player.hpp"
#include "CNProtocol.hpp"
#include "CNStructs.hpp"
#include "CNShardServer.hpp"
#include <map>
#include <list>
struct WarpLocation;
struct PlayerView {
std::list<CNSocket*> viewable;
std::list<int32_t> viewableNPCs;
Player *plr;
uint64_t lastHeartbeat;
};
namespa... | 33.067797 | 68 | 0.732445 | josephl70 |
0f50f1363313589315c0ea5ed4cc9c3899526682 | 3,024 | hpp | C++ | CaffeMex_V28/include/caffe/layers/batch_norm_layer.hpp | yyht/OSM_CAA_WeightedContrastiveLoss | a8911b9fc1c951a2caec26a16473a8f5bfb2005f | [
"BSD-3-Clause"
] | 196 | 2018-07-07T14:22:37.000Z | 2022-03-19T06:21:11.000Z | CaffeMex_V28/include/caffe/layers/batch_norm_layer.hpp | yyht/OSM_CAA_WeightedContrastiveLoss | a8911b9fc1c951a2caec26a16473a8f5bfb2005f | [
"BSD-3-Clause"
] | 2 | 2018-07-09T09:19:09.000Z | 2018-07-17T15:08:49.000Z | lib/caffe-action/include/caffe/layers/batch_norm_layer.hpp | ParrtZhang/Optical-Flow-Guided-Feature | 07d4501a29002ee7821c38c1820e4a64c1acf6e8 | [
"MIT"
] | 48 | 2018-07-10T02:11:20.000Z | 2022-02-04T14:26:30.000Z | #ifndef CAFFE_BATCHNORM_LAYER_HPP_
#define CAFFE_BATCHNORM_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
/**
* @brief Normalizes the input to have 0-mean and/or unit (1) variance across
* the batch.
*
* This layer com... | 38.769231 | 80 | 0.73578 | yyht |
0f546baf0ef75979d68c16736c687bbf207055b7 | 4,819 | cpp | C++ | logos/lib/utility.cpp | LogosNetwork/logos-core | 6b155539a734efefb8f649a761d044b5f267a51a | [
"BSD-2-Clause"
] | 3 | 2020-01-17T18:05:19.000Z | 2021-12-29T04:21:59.000Z | logos/lib/utility.cpp | LogosNetwork/logos-core | 6b155539a734efefb8f649a761d044b5f267a51a | [
"BSD-2-Clause"
] | null | null | null | logos/lib/utility.cpp | LogosNetwork/logos-core | 6b155539a734efefb8f649a761d044b5f267a51a | [
"BSD-2-Clause"
] | 2 | 2020-12-22T05:51:53.000Z | 2021-06-08T00:27:46.000Z | #include <logos/lib/utility.hpp>
#include <sstream>
#include <iomanip>
std::string logos::unicode_to_hex(std::string const & input)
{
static const char* const lut = "0123456789abcdef";
size_t len = input.length();
std::string output;
output.reserve(2 * len);
for (size_t i = 0; i < len; ++i)
{... | 22.624413 | 83 | 0.566715 | LogosNetwork |
0f5a027569fc7b1c7542d632313e827cdccdebae | 1,230 | cpp | C++ | src/BaseApplication.cpp | DavidAzouz29/AIENetworking | 0ea9eb45cc56f5dc0e4f07bc09a75ef677a4563e | [
"MIT"
] | null | null | null | src/BaseApplication.cpp | DavidAzouz29/AIENetworking | 0ea9eb45cc56f5dc0e4f07bc09a75ef677a4563e | [
"MIT"
] | null | null | null | src/BaseApplication.cpp | DavidAzouz29/AIENetworking | 0ea9eb45cc56f5dc0e4f07bc09a75ef677a4563e | [
"MIT"
] | null | null | null | #include "BaseApplication.h"
//#include "gl_core_4_4.h"
#include <iostream>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
bool BaseApplication::createWindow(const char* title, int width, int height) {
if (glfwInit() == GL_FALSE)
return false;
m_window = glfwCreateWindow(width, height, title, nullptr, nullptr);
... | 20.5 | 95 | 0.695935 | DavidAzouz29 |
0f5af1202f29c98b17f23e9bb3ea911767f7f38c | 699 | cpp | C++ | solution/day2/part2.cpp | Desheen/AdventOfCode-2018 | 4d633f51ba5f906c365bb8ef2512465dea941d24 | [
"BSD-3-Clause"
] | 1 | 2018-12-02T20:17:59.000Z | 2018-12-02T20:17:59.000Z | solution/day2/part2.cpp | Desheen/AdventOfCode-2018 | 4d633f51ba5f906c365bb8ef2512465dea941d24 | [
"BSD-3-Clause"
] | null | null | null | solution/day2/part2.cpp | Desheen/AdventOfCode-2018 | 4d633f51ba5f906c365bb8ef2512465dea941d24 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <fstream>
#include <algorithm>
#include <map>
#include <vector>
#include <unordered_map>
std::vector<short> match( std::string& s1 , std::string& s2) {
std::vector<short> v;
for( int i = 0 ; i < s1.size() ; ++i)
{
if( s1[i] != s2[i] )
{
v.push_back(i);
}
}
return v;
}
int... | 15.533333 | 62 | 0.579399 | Desheen |
0f5dd9d7e3504cf34006c04dd41e55bd4660698e | 9,291 | cpp | C++ | game/debug/log.cpp | edwinkepler/chessman | f9ffb902ce91c15726b8716665707d178ac734e1 | [
"MIT"
] | null | null | null | game/debug/log.cpp | edwinkepler/chessman | f9ffb902ce91c15726b8716665707d178ac734e1 | [
"MIT"
] | 14 | 2017-08-28T15:37:20.000Z | 2017-09-20T09:15:43.000Z | game/debug/log.cpp | edwinkepler/chessman | f9ffb902ce91c15726b8716665707d178ac734e1 | [
"MIT"
] | null | null | null | #include "log.hpp"
namespace Debug
{
Log& Log::info(string _s) {
if(f_verbose_stdout) {
cout << _s;
}
if(f_verbose_file) {
ofstream file_log;
file_log.open(
s_file_name,
ios::binary |
ios_base::app |
... | 28.069486 | 84 | 0.380691 | edwinkepler |
0f630b337452435d718cd2626aa782ff86420858 | 2,892 | cpp | C++ | sources/Engine/Modules/Graphics/GUI/GUIProgressBar.cpp | n-paukov/swengine | ca7441f238e8834efff5d2b61b079627824bf3e4 | [
"MIT"
] | 22 | 2017-07-26T17:42:56.000Z | 2022-03-21T22:12:52.000Z | sources/Engine/Modules/Graphics/GUI/GUIProgressBar.cpp | n-paukov/swengine | ca7441f238e8834efff5d2b61b079627824bf3e4 | [
"MIT"
] | 50 | 2017-08-02T19:37:48.000Z | 2020-07-24T21:10:38.000Z | sources/Engine/Modules/Graphics/GUI/GUIProgressBar.cpp | n-paukov/swengine | ca7441f238e8834efff5d2b61b079627824bf3e4 | [
"MIT"
] | 4 | 2018-08-20T08:12:48.000Z | 2020-07-19T14:10:05.000Z | #include "precompiled.h"
#pragma hdrstop
#include "GUIProgressBar.h"
#include "GUISystem.h"
GUIProgressBar::GUIProgressBar()
: GUIWidgetRect("progress_bar"),
m_scaleBox(std::make_unique<GUIWidgetRect>("scale"))
{
}
void GUIProgressBar::applyStylesheetRule(const GUIWidgetStylesheetRule& stylesheetRule)
{
GUI... | 28.07767 | 112 | 0.728562 | n-paukov |
0f638a0f04e30041fd5fe200bbd888be11aa0a43 | 12,219 | cpp | C++ | Main/src/Audio/AudioPlayback.cpp | redline2466/unnamed-sdvx-clone | 8f75329bb07439683fc2ea438e1fdac6831c897f | [
"MIT"
] | null | null | null | Main/src/Audio/AudioPlayback.cpp | redline2466/unnamed-sdvx-clone | 8f75329bb07439683fc2ea438e1fdac6831c897f | [
"MIT"
] | null | null | null | Main/src/Audio/AudioPlayback.cpp | redline2466/unnamed-sdvx-clone | 8f75329bb07439683fc2ea438e1fdac6831c897f | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "AudioPlayback.hpp"
#include <Beatmap/BeatmapPlayback.hpp>
#include <Beatmap/Beatmap.hpp>
#include <Audio/Audio.hpp>
#include <Audio/DSP.hpp>
AudioPlayback::AudioPlayback()
{
}
AudioPlayback::~AudioPlayback()
{
m_CleanupDSP(m_buttonDSPs[0]);
m_CleanupDSP(m_buttonDSPs[1]);
m_CleanupDSP(m... | 25.350622 | 150 | 0.717407 | redline2466 |
0f63b2342d8a2d1d8564a5400d8d931e62e908ae | 1,230 | cc | C++ | bindings/java/src/main/native/worker.cc | RankoM/ucx | d8269f0141f97764c21d03235c0783f04a9864b7 | [
"BSD-3-Clause"
] | 5 | 2019-05-31T01:47:34.000Z | 2022-01-10T11:59:53.000Z | bindings/java/src/main/native/worker.cc | frontwing/ucx | e1eed19d973844198445ba822239f0b8a5be19a7 | [
"BSD-3-Clause"
] | 1 | 2020-01-28T08:42:44.000Z | 2020-01-28T08:42:44.000Z | bindings/java/src/main/native/worker.cc | frontwing/ucx | e1eed19d973844198445ba822239f0b8a5be19a7 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) Mellanox Technologies Ltd. 2001-2017. ALL RIGHTS RESERVED.
* See file LICENSE for terms.
*/
#include "worker.h"
#include <new> // bad_alloc exception
worker::worker(context* ctx, uint32_t cap, ucp_worker_params_t params) :
jucx_context(ctx), ucp_worker(nullptr),
q... | 30.75 | 79 | 0.657724 | RankoM |
0f69f2a44ad7e3a2d8ef555342593f34218ee841 | 804 | cpp | C++ | solutions/218.the-skyline-problem.378841603.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/218.the-skyline-problem.378841603.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/218.the-skyline-problem.378841603.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | class Solution {
public:
vector<vector<int>> getSkyline(vector<vector<int>> &buildings) {
int n = buildings.size();
vector<vector<int>> arr;
vector<vector<int>> ans;
if (!n)
return ans;
for (auto b : buildings) {
arr.push_back({b[0], b[2], 1});
arr.push_back({b[1], b[2], -1});... | 19.142857 | 66 | 0.472637 | satu0king |
0f7206bcf5ca36bc7659f68efd712639a06a541a | 6,336 | cpp | C++ | rocAL/rocAL/source/video_file_source_reader.cpp | Indumathi31/MIVisionX | e58c8b63d51e3f857d5f1c8750433d1ec887d7f0 | [
"MIT"
] | null | null | null | rocAL/rocAL/source/video_file_source_reader.cpp | Indumathi31/MIVisionX | e58c8b63d51e3f857d5f1c8750433d1ec887d7f0 | [
"MIT"
] | 8 | 2021-12-10T14:07:28.000Z | 2022-03-04T02:53:11.000Z | rocAL/rocAL/source/video_file_source_reader.cpp | Indumathi31/MIVisionX | e58c8b63d51e3f857d5f1c8750433d1ec887d7f0 | [
"MIT"
] | 2 | 2021-06-01T09:42:51.000Z | 2021-11-09T14:35:36.000Z | /*
Copyright (c) 2019 - 2022 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 limitation the rights
to use, ... | 35.396648 | 183 | 0.705335 | Indumathi31 |
0f79ba02d5a1e1288510a2e12629e6540e50c1c5 | 137 | hxx | C++ | src/Providers/UNIXProviders/IPsecTransportAction/UNIX_IPsecTransportAction_DARWIN.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/IPsecTransportAction/UNIX_IPsecTransportAction_DARWIN.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/IPsecTransportAction/UNIX_IPsecTransportAction_DARWIN.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_DARWIN
#ifndef __UNIX_IPSECTRANSPORTACTION_PRIVATE_H
#define __UNIX_IPSECTRANSPORTACTION_PRIVATE_H
#endif
#endif
| 11.416667 | 45 | 0.861314 | brunolauze |
0f80b62fa4cef88c932d8280a5697722d5a21b7a | 2,090 | cpp | C++ | chatra_emb/EmbeddedLibraries.cpp | chatra-lang/chatra | fdae457fcbd066ac8c0d44d6b763d4a18bf524f7 | [
"Apache-2.0"
] | 3 | 2019-10-14T12:25:23.000Z | 2021-01-06T17:53:17.000Z | chatra_emb/EmbeddedLibraries.cpp | chatra-lang/chatra | fdae457fcbd066ac8c0d44d6b763d4a18bf524f7 | [
"Apache-2.0"
] | 3 | 2019-10-15T14:40:34.000Z | 2020-08-29T14:25:06.000Z | chatra_emb/EmbeddedLibraries.cpp | chatra-lang/chatra | fdae457fcbd066ac8c0d44d6b763d4a18bf524f7 | [
"Apache-2.0"
] | null | null | null | /*
* Programming language 'Chatra' reference implementation
*
* Copyright(C) 2019-2020 Chatra Project Team
*
* 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... | 29.43662 | 75 | 0.721053 | chatra-lang |
0f82767dba14d864176d6d612e74d02352ebf845 | 969 | cpp | C++ | exercise_part_1/exercise3/white_space_file_reader.cpp | jamesjallorina/cpp_exercises | 0e18511aad163510143dc66523a8111057694bff | [
"MIT"
] | 1 | 2019-07-08T14:35:57.000Z | 2019-07-08T14:35:57.000Z | exercise_part_1/exercise3/white_space_file_reader.cpp | jamesjallorina/cpp_exercises | 0e18511aad163510143dc66523a8111057694bff | [
"MIT"
] | null | null | null | exercise_part_1/exercise3/white_space_file_reader.cpp | jamesjallorina/cpp_exercises | 0e18511aad163510143dc66523a8111057694bff | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <ctype.h>
int white_space_counter(std::ifstream &fs)
{
std::string buffer = "";
std::string::const_iterator itr;
int number_of_white_space = 0;
while( std::getline( fs, buffer ))
{
for(itr = buffer.begin(); itr != buffer.end(); ++itr)
{
if( iswspace( *itr )... | 20.1875 | 105 | 0.619195 | jamesjallorina |
0f82db5b1c766f6b5711e40a438d42a38c62990b | 2,847 | hpp | C++ | src/cpu/cpu_memory_storage.hpp | igor-byel/mkl-dnn | b03ea18e2c3a7576052c52e6c9aca7baa66d44af | [
"Apache-2.0"
] | null | null | null | src/cpu/cpu_memory_storage.hpp | igor-byel/mkl-dnn | b03ea18e2c3a7576052c52e6c9aca7baa66d44af | [
"Apache-2.0"
] | null | null | null | src/cpu/cpu_memory_storage.hpp | igor-byel/mkl-dnn | b03ea18e2c3a7576052c52e6c9aca7baa66d44af | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 33.892857 | 80 | 0.642079 | igor-byel |
abf08a48fb387ff01feb50583eaa24bfc1992168 | 787 | cpp | C++ | src/allegro_flare/circle.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 25 | 2015-03-30T02:02:43.000Z | 2019-03-04T22:29:12.000Z | src/allegro_flare/circle.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 122 | 2015-04-01T08:15:26.000Z | 2019-10-16T20:31:22.000Z | src/allegro_flare/circle.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 4 | 2016-09-02T12:14:09.000Z | 2018-11-23T20:38:49.000Z |
#include <allegro_flare/circle.h>
#include <AllegroFlare/Color.hpp>
#include <AllegroFlare/Useful.hpp> // for distance
namespace allegro_flare
{
UISurfaceAreaCircle::UISurfaceAreaCircle(float x, float y, float r)
: UISurfaceAreaBase(x, y, r*2, r*2)
{}
bool UISurfaceAreaCircle::collides(float ... | 19.675 | 151 | 0.691233 | MarkOates |
abf465685e459616242659562e0044675609eb29 | 7,435 | hxx | C++ | BeastHttp/include/http/base/impl/cb.hxx | Lyoko-Jeremie/BeastHttp | 6121cba601a115a638c7c56cd2eb87e5e4eec14b | [
"BSD-2-Clause"
] | 2 | 2022-03-18T10:02:17.000Z | 2022-03-18T14:05:35.000Z | BeastHttp/include/http/base/impl/cb.hxx | Lyoko-Jeremie/BeastHttp | 6121cba601a115a638c7c56cd2eb87e5e4eec14b | [
"BSD-2-Clause"
] | null | null | null | BeastHttp/include/http/base/impl/cb.hxx | Lyoko-Jeremie/BeastHttp | 6121cba601a115a638c7c56cd2eb87e5e4eec14b | [
"BSD-2-Clause"
] | 2 | 2022-03-18T10:02:22.000Z | 2022-03-27T01:09:44.000Z | #ifndef BEASTHTTP_BASE_IMPL_CB_HXX
#define BEASTHTTP_BASE_IMPL_CB_HXX
#include <http/base/config.hxx>
#include <functional>
namespace _0xdead4ead {
namespace http {
namespace base {
namespace cb {
namespace detail {
#ifndef BEASTHTTP_CXX17_IF_CONSTEXPR
template<std::size_t value>
using size_type = std::integral_cons... | 26.938406 | 80 | 0.609953 | Lyoko-Jeremie |
abf64bc5c06a1773c952e6c7e32a5c44d0c5f2cb | 549 | cpp | C++ | spec/cpp/tests/timing/ClockTests.cpp | NeoResearch/libbft | 6608f7f3cc90d976c06d54d42b72ec9eb5df5a25 | [
"MIT"
] | 21 | 2019-07-24T22:06:33.000Z | 2021-11-29T08:36:58.000Z | spec/cpp/tests/timing/ClockTests.cpp | NeoResearch/libbft | 6608f7f3cc90d976c06d54d42b72ec9eb5df5a25 | [
"MIT"
] | 35 | 2019-09-30T21:18:56.000Z | 2020-03-03T01:50:48.000Z | spec/cpp/tests/timing/ClockTests.cpp | NeoResearch/libbft | 6608f7f3cc90d976c06d54d42b72ec9eb5df5a25 | [
"MIT"
] | 3 | 2019-12-26T02:53:43.000Z | 2021-03-19T03:55:11.000Z | #include <thread>
#include <gtest/gtest.h>
#include "timing/Clock.hpp"
using namespace std;
using namespace libbft;
TEST(TimingClock, ToString) {
unique_ptr<Clock> clock(new Clock("T"));
EXPECT_EQ("Clock {name='T'}", clock->toString());
}
TEST(TimingClock, GetTime) {
unique_ptr<Clock> clock(new Clock("T"))... | 22.875 | 53 | 0.688525 | NeoResearch |
abfa449d8085c5bbc3a2784041e546a194a16308 | 3,207 | hpp | C++ | gecode/iter/ranges-rangelist.hpp | LeslieW/gecode-clone | ab3ab207c98981abfe4c52f01b248ec7bc4e8e8c | [
"MIT-feh"
] | null | null | null | gecode/iter/ranges-rangelist.hpp | LeslieW/gecode-clone | ab3ab207c98981abfe4c52f01b248ec7bc4e8e8c | [
"MIT-feh"
] | null | null | null | gecode/iter/ranges-rangelist.hpp | LeslieW/gecode-clone | ab3ab207c98981abfe4c52f01b248ec7bc4e8e8c | [
"MIT-feh"
] | null | null | null | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Guido Tack, 2011
*
* Last modified:
* $Date$ by $Author$
* $Revision$
*
* This file is part of Gecode, the generic constraint
* development environment:
... | 27.646552 | 74 | 0.664172 | LeslieW |
abfcc2cdffcf23f0d8427cb5d2994f80ff70ef75 | 5,329 | cc | C++ | test/string_view_test.cc | WilliamTambellini/cpu_features | 20fa92a02ae724f4532b7e12691633a43dec7772 | [
"Apache-2.0"
] | 5 | 2020-12-19T06:56:06.000Z | 2022-01-09T01:28:42.000Z | test/string_view_test.cc | WilliamTambellini/cpu_features | 20fa92a02ae724f4532b7e12691633a43dec7772 | [
"Apache-2.0"
] | 1 | 2021-09-27T06:00:40.000Z | 2021-09-27T06:00:40.000Z | test/string_view_test.cc | WilliamTambellini/cpu_features | 20fa92a02ae724f4532b7e12691633a43dec7772 | [
"Apache-2.0"
] | 3 | 2020-12-19T06:56:27.000Z | 2021-09-26T18:50:44.000Z | // Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | 36.751724 | 80 | 0.750422 | WilliamTambellini |
28004a673c9dcf40e10372183a58c071e8dffe64 | 2,625 | cpp | C++ | export/windows/obj/src/resources/__res_27.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/resources/__res_27.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/resources/__res_27.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.4.7
namespace hx {
unsigned char __res_27[] = {
0xff, 0xff, 0xff, 0xff,
137,80,78,71,13,10,26,10,0,0,
0,13,73,72,68,82,0,0,0,24,
0,0,0,32,8,6,0,0,0,8,
94,184,56,0,0,0,25,116,69,88,
116,83,111,102,116,119,97,114,101,0,
65,100,111,98,101,32,73,109,97,103,
101,82,101,97,100,121,113,201,101,60,
0,0,2... | 34.090909 | 39 | 0.690667 | seanbashaw |
28038deb08ecca4ac7c17a4b8fa1206392ac153c | 2,541 | cpp | C++ | src/engineDX7/caption.cpp | FreeAllegiance/Allegiance-AZ | 1d8678ddff9e2efc79ed449de6d47544989bc091 | [
"MIT"
] | 1 | 2017-09-11T22:18:19.000Z | 2017-09-11T22:18:19.000Z | src/engineDX7/caption.cpp | FreeAllegiance/Allegiance-AZ | 1d8678ddff9e2efc79ed449de6d47544989bc091 | [
"MIT"
] | 2 | 2017-09-12T18:28:33.000Z | 2017-09-13T06:15:36.000Z | src/engineDX7/caption.cpp | FreeAllegiance/Allegiance-AZ | 1d8678ddff9e2efc79ed449de6d47544989bc091 | [
"MIT"
] | null | null | null | #include "pch.h"
//////////////////////////////////////////////////////////////////////////////
//
//
//
//////////////////////////////////////////////////////////////////////////////
class CaptionImpl :
public ICaption,
public EventTargetContainer<CaptionImpl>
{
private:
TRef<ButtonPane> m_pbuttonClose... | 28.550562 | 95 | 0.541913 | FreeAllegiance |
2805ad8a83ec54c69cd93b852397396041a7e2ef | 7,637 | cpp | C++ | lib/small_range.cpp | LinerSu/crab | 8f3516f4b4765f4a093bb3c3a94ac2daa174130c | [
"Apache-2.0"
] | null | null | null | lib/small_range.cpp | LinerSu/crab | 8f3516f4b4765f4a093bb3c3a94ac2daa174130c | [
"Apache-2.0"
] | null | null | null | lib/small_range.cpp | LinerSu/crab | 8f3516f4b4765f4a093bb3c3a94ac2daa174130c | [
"Apache-2.0"
] | null | null | null | #include <crab/domains/small_range.hpp>
#include <crab/support/debug.hpp>
#include <assert.h>
namespace crab {
namespace domains {
small_range::small_range(kind_t v) : m_value(v){};
/*
[0,0] | [0,0] = [0,0]
[0,0] | [1,1] = [0,1]
[0,0] | [0,1] = [0,1]
[0,0] | [0,+oo] = [0,+oo]
[0,0] | [1,+oo] = [0,+oo]... | 26.243986 | 90 | 0.603116 | LinerSu |
28071e2199a013b840686fcace33fc8b113b0b63 | 5,531 | cpp | C++ | people_tracking_filter/src/tracker_particle.cpp | jdddog/people | 8a8254a071e966db90d1d077a051f2d2926aa9af | [
"BSD-3-Clause"
] | 2 | 2018-06-10T19:17:41.000Z | 2021-11-09T10:17:23.000Z | people/people_tracking_filter/src/tracker_particle.cpp | procopiostein/leader | c2daa37e1c7071a3536c53c0cc4544f289923170 | [
"BSD-3-Clause"
] | 1 | 2018-05-05T02:48:42.000Z | 2018-05-05T02:48:42.000Z | people_tracking_filter/src/tracker_particle.cpp | jdddog/people | 8a8254a071e966db90d1d077a051f2d2926aa9af | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... | 29.110526 | 121 | 0.690472 | jdddog |
28090551b66ae9420e16ec1ef61fd2e67de9381a | 1,310 | hpp | C++ | module-apps/application-onboarding/windows/EULALicenseWindow.hpp | SP2FET/MuditaOS-1 | 2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd | [
"BSL-1.0"
] | 1 | 2021-11-11T22:56:43.000Z | 2021-11-11T22:56:43.000Z | module-apps/application-onboarding/windows/EULALicenseWindow.hpp | SP2FET/MuditaOS-1 | 2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd | [
"BSL-1.0"
] | null | null | null | module-apps/application-onboarding/windows/EULALicenseWindow.hpp | SP2FET/MuditaOS-1 | 2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include "AppWindow.hpp"
#include <module-apps/application-onboarding/presenter/EULALicenseWindowPresenter.hpp>
#include <module-gui/gui/widgets/Label.hpp>
#include <mo... | 36.388889 | 116 | 0.712977 | SP2FET |
28094a5b58ef4275742f10f06786e19964f3bc12 | 936 | hpp | C++ | world/tiles/include/DigChances.hpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | world/tiles/include/DigChances.hpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | world/tiles/include/DigChances.hpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #pragma once
#include "ISerializable.hpp"
#include <string>
#include <vector>
class DigChances : public ISerializable
{
public:
DigChances();
DigChances(const int new_pct_chance_undead, const int new_pct_chance_item, const std::vector<std::string>& new_item_ids);
bool operator==(const DigChances& dc) con... | 26.742857 | 125 | 0.74359 | sidav |
280a5199d107c4755551501dec08f770a2e05e2d | 6,855 | cpp | C++ | Vendor/assimp/test/unit/utFindDegenerates.cpp | mallonoce/BaseOpenGLProject | 597a2ee2619cfa666856f32ee95f7943c6ae5223 | [
"MIT"
] | 1 | 2021-01-07T14:33:22.000Z | 2021-01-07T14:33:22.000Z | Vendor/assimp/test/unit/utFindDegenerates.cpp | mallonoce/BaseOpenGLProject | 597a2ee2619cfa666856f32ee95f7943c6ae5223 | [
"MIT"
] | 1 | 2022-03-26T07:18:59.000Z | 2022-03-26T07:18:59.000Z | Vendor/assimp/test/unit/utFindDegenerates.cpp | mallonoce/BaseOpenGLProject | 597a2ee2619cfa666856f32ee95f7943c6ae5223 | [
"MIT"
] | null | null | null | /*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2020, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
w... | 32.799043 | 87 | 0.643764 | mallonoce |
28102ee57483a3ce6077ae6b09cc355c93d8b09d | 918 | cpp | C++ | CoreTests/Script/Test_Eval.cpp | azhirnov/GraphicsGenFramework-modular | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | 12 | 2017-12-23T14:24:57.000Z | 2020-10-02T19:52:12.000Z | CoreTests/Script/Test_Eval.cpp | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | CoreTests/Script/Test_Eval.cpp | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt'
#include "CoreTests/Script/Common.h"
class Script
{
public:
static ScriptEngine * engine;
int Run (int value)
{
const char script[] = R"#(
int main (int x) {
return 10 + x;
}
)#";
ScriptModulePtr mod = New<ScriptModule>( eng... | 14.806452 | 72 | 0.618736 | azhirnov |
2815d744bc1be7abdc029823f1e835c90446b7b7 | 15,932 | cpp | C++ | test/beast/http/read.cpp | bebuch/beast | 2454d671653844d8435f4f066946a7751a758db7 | [
"BSL-1.0"
] | null | null | null | test/beast/http/read.cpp | bebuch/beast | 2454d671653844d8435f4f066946a7751a758db7 | [
"BSL-1.0"
] | null | null | null | test/beast/http/read.cpp | bebuch/beast | 2454d671653844d8435f4f066946a7751a758db7 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header ... | 28.298401 | 80 | 0.442631 | bebuch |
28163ca0fc1be168bcf7718b9a08388996a625ca | 5,916 | cpp | C++ | XmlLib/Src/SaxContentElement.cpp | shortydude/DDOBuilder-learning | e71162c10b81bb4afd0365e61088437353cc4607 | [
"MIT"
] | null | null | null | XmlLib/Src/SaxContentElement.cpp | shortydude/DDOBuilder-learning | e71162c10b81bb4afd0365e61088437353cc4607 | [
"MIT"
] | null | null | null | XmlLib/Src/SaxContentElement.cpp | shortydude/DDOBuilder-learning | e71162c10b81bb4afd0365e61088437353cc4607 | [
"MIT"
] | null | null | null | // SaxContentElement.cpp
//
#include "stdafx.h"
#include "XmlLib\SaxContentElement.h"
using XmlLib::SaxString;
using XmlLib::SaxAttributes;
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// SaxConten... | 25.174468 | 105 | 0.677654 | shortydude |
2817ed4ba0a6f3a90a6d283794581e941a2d2a78 | 57,078 | cc | C++ | src/selectParser.cc | nporsche/fastbit | 91d06c68b9f4a0a0cc39da737d1c880ab21fe947 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/selectParser.cc | nporsche/fastbit | 91d06c68b9f4a0a0cc39da737d1c880ab21fe947 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/selectParser.cc | nporsche/fastbit | 91d06c68b9f4a0a0cc39da737d1c880ab21fe947 | [
"BSD-3-Clause-LBNL"
] | null | null | null | /* A Bison parser, made by GNU Bison 2.7.12-4996. */
/* Skeleton implementation for Bison LALR(1) parsers in C++
Copyright (C) 2002-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publi... | 34.425814 | 111 | 0.547987 | nporsche |
281874f0f50215f6ddae0de843f105fd9460a5dc | 906 | hpp | C++ | src/unit/cavalry/knight.hpp | JoiNNewtany/LETI-Game | 51d31a2b0b212f8bbd11c1562af4ef23d34437b6 | [
"Unlicense"
] | 2 | 2021-11-15T19:27:32.000Z | 2021-12-10T20:51:37.000Z | src/unit/cavalry/knight.hpp | JoiNNewtany/LETI-Game | 51d31a2b0b212f8bbd11c1562af4ef23d34437b6 | [
"Unlicense"
] | null | null | null | src/unit/cavalry/knight.hpp | JoiNNewtany/LETI-Game | 51d31a2b0b212f8bbd11c1562af4ef23d34437b6 | [
"Unlicense"
] | null | null | null | #pragma once
#include "unit/unit.hpp"
class Knight : public Unit {
public:
Knight(int hp = 80, int dmg = 15, int df = 5) {
health = hp;
maxHealth = hp;
damage = dmg;
defense = df;
graphics = 'k';
}
~Knight() {}
virtual bo... | 29.225806 | 67 | 0.572848 | JoiNNewtany |
2819887ad608e023490df95aa9871e8f846b53bd | 151 | cpp | C++ | Src/Kranos/Layer.cpp | KDahir247/KranosLoader | 5e55a0f1a697170020c2601c9b0d04b0da27da93 | [
"MIT"
] | null | null | null | Src/Kranos/Layer.cpp | KDahir247/KranosLoader | 5e55a0f1a697170020c2601c9b0d04b0da27da93 | [
"MIT"
] | null | null | null | Src/Kranos/Layer.cpp | KDahir247/KranosLoader | 5e55a0f1a697170020c2601c9b0d04b0da27da93 | [
"MIT"
] | null | null | null | //
// Created by kdahi on 2020-09-29.
//
#include "Layer.h"
Layer::Layer(std::string name) : m_DebugName(std::move(name)) {
}
Layer::~Layer() {
} | 10.785714 | 63 | 0.609272 | KDahir247 |
281a91c72bf7f47480b2a52e92ab2773f3aac8da | 3,011 | cpp | C++ | simple-dx11-renderer/Systems/DataSystem.cpp | ike-0/simple-dx11-renderer | e6597e30d9675a56be84c8c26f78697cc16a7e25 | [
"MIT"
] | null | null | null | simple-dx11-renderer/Systems/DataSystem.cpp | ike-0/simple-dx11-renderer | e6597e30d9675a56be84c8c26f78697cc16a7e25 | [
"MIT"
] | null | null | null | simple-dx11-renderer/Systems/DataSystem.cpp | ike-0/simple-dx11-renderer | e6597e30d9675a56be84c8c26f78697cc16a7e25 | [
"MIT"
] | null | null | null | #include "DataSystem.h"
DataSystem* DataSystem::Instance = nullptr;
DataSystem::DataSystem()
{
Instance = this;
}
DataSystem::~DataSystem()
{
Instance = nullptr;
RemoveShaders();
}
void DataSystem::LoadShaders()
{
try
{
std::filesystem::path shaderpath = Path::Relative("shaders\\");
for (auto& dir : std::... | 20.909722 | 121 | 0.663235 | ike-0 |
281c5f3d12b95787c73b64e42ee2bd5cf0a020d3 | 1,376 | cc | C++ | src/ft_ee_ua_size_op.cc | Incont/n-ftdi | fb9ec653b731c9e55d50a668be539b4774950c8b | [
"MIT"
] | 2 | 2019-09-30T09:22:06.000Z | 2019-09-30T14:40:11.000Z | src/ft_ee_ua_size_op.cc | Incont/n-ftdi | fb9ec653b731c9e55d50a668be539b4774950c8b | [
"MIT"
] | 8 | 2019-09-05T05:18:45.000Z | 2021-07-11T11:45:30.000Z | src/ft_ee_ua_size_op.cc | Incont/n-ftdi | fb9ec653b731c9e55d50a668be539b4774950c8b | [
"MIT"
] | 3 | 2020-05-25T09:49:25.000Z | 2020-06-29T18:34:47.000Z | #include "ft_ee_ua_size_op.h"
Napi::Object FtEeUaSize::Init(Napi::Env env, Napi::Object exports)
{
exports.Set("eeUaSizeSync", Napi::Function::New(env, FtEeUaSize::InvokeSync));
exports.Set("eeUaSize", Napi::Function::New(env, FtEeUaSize::Invoke));
return exports;
}
Napi::Object FtEeUaSize::InvokeSync(con... | 28.081633 | 86 | 0.695494 | Incont |
281cef6cd6f9e35263ab4bd3be968217ab81112d | 5,880 | cpp | C++ | ScriptHookDotNet/ScriptThread.cpp | HazardX/gta4_scripthookdotnet | 927b2830952664b63415234541a6c83592e53679 | [
"MIT"
] | 3 | 2021-11-14T20:59:58.000Z | 2021-12-16T16:41:31.000Z | ScriptHookDotNet/ScriptThread.cpp | HazardX/gta4_scripthookdotnet | 927b2830952664b63415234541a6c83592e53679 | [
"MIT"
] | 2 | 2021-11-29T14:41:23.000Z | 2021-11-30T13:13:51.000Z | ScriptHookDotNet/ScriptThread.cpp | HazardX/gta4_scripthookdotnet | 927b2830952664b63415234541a6c83592e53679 | [
"MIT"
] | 3 | 2021-11-21T12:41:55.000Z | 2021-12-22T16:17:52.000Z | /*
* Copyright (c) 2009-2011 Hazard (hazard_x@gmx.net / twitter.com/HazardX)
*
* 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
* ... | 31.44385 | 129 | 0.680442 | HazardX |
281fc5b4ad418631e464c9fb6bb424d4a7a74785 | 3,589 | cpp | C++ | doc/6.0.1/MPG/example-search-tracer.cpp | zayenz/gecode.github.io | e759c2c1940d9a018373bcc6c316d9cb04efa5a0 | [
"MIT-feh"
] | 1 | 2020-10-28T06:11:30.000Z | 2020-10-28T06:11:30.000Z | doc/6.0.1/MPG/example-search-tracer.cpp | zayenz/gecode.github.io | e759c2c1940d9a018373bcc6c316d9cb04efa5a0 | [
"MIT-feh"
] | 1 | 2019-05-05T11:10:31.000Z | 2019-05-05T11:10:31.000Z | doc/6.0.1/MPG/example-search-tracer.cpp | zayenz/gecode.github.io | e759c2c1940d9a018373bcc6c316d9cb04efa5a0 | [
"MIT-feh"
] | 4 | 2019-05-03T18:43:19.000Z | 2020-12-17T04:06:59.000Z | /*
* Authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2008-2018
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software, to deal in the software without restriction,
* including without limitation the rights to use, cop... | 33.231481 | 77 | 0.574255 | zayenz |
28286fc38f45510bdb7d3e72f057aa401cd1e532 | 8,781 | cpp | C++ | wrap/csllbc/native/src/comm/_Service.cpp | shakeumm/llbc | 5aaf6f83eedafde87d52adf44b7548e85ad4a9d1 | [
"MIT"
] | 5 | 2021-10-31T17:12:45.000Z | 2022-01-10T11:10:27.000Z | wrap/csllbc/native/src/comm/_Service.cpp | shakeumm/llbc | 5aaf6f83eedafde87d52adf44b7548e85ad4a9d1 | [
"MIT"
] | 1 | 2019-09-04T12:23:37.000Z | 2019-09-04T12:23:37.000Z | wrap/csllbc/native/src/comm/_Service.cpp | ericyonng/llbc | a7fd1193db03b8ad34879441b09914adec8a62e6 | [
"MIT"
] | null | null | null | // The MIT License (MIT)
// Copyright (c) 2013 lailongwei<lailongwei@126.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the r... | 32.643123 | 124 | 0.623961 | shakeumm |
282c19a79fdd2e73cbab17a4ac5b4a42ea2f5aaf | 1,511 | cpp | C++ | ABC197/e.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | ABC197/e.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | 3 | 2021-03-31T01:39:25.000Z | 2021-05-04T10:02:35.000Z | ABC197/e.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i <= n; i++)
#define FORR(i, m, n) for (int i = m; i >= n; i--)
#define SORT(v, n) sort(v, v + n)
#define MAX 100000
#define inf 1000000007
using namespace std;... | 26.051724 | 82 | 0.512244 | KoukiNAGATA |
283206c28f3ee30b3afe64271cb1a35d04d539d4 | 1,525 | cpp | C++ | src/read_fasta.cpp | danielsundfeld/cuda_sankoff | dd765a2707b14aef24852a7e1d4d6e5df565d38d | [
"MIT"
] | null | null | null | src/read_fasta.cpp | danielsundfeld/cuda_sankoff | dd765a2707b14aef24852a7e1d4d6e5df565d38d | [
"MIT"
] | null | null | null | src/read_fasta.cpp | danielsundfeld/cuda_sankoff | dd765a2707b14aef24852a7e1d4d6e5df565d38d | [
"MIT"
] | null | null | null | /*!
* \author Daniel Sundfeld
* \copyright MIT License
*/
#include "read_fasta.h"
#include <fstream>
#include <iostream>
#include <string>
#include "Sequences.h"
int read_fasta_file_core(const std::string &name)
{
std::ifstream file(name.c_str());
Sequences *sequences = Sequences::get_instance();
if ... | 22.761194 | 86 | 0.523934 | danielsundfeld |
28331d1fad394a87a4e92012de0e9b6b0598c39f | 26,831 | cpp | C++ | shared/source/device_binary_format/patchtokens_decoder.cpp | maleadt/compute-runtime | 5d90e2ab1defd413dc9633fe237a44c2a1298185 | [
"Intel",
"MIT"
] | null | null | null | shared/source/device_binary_format/patchtokens_decoder.cpp | maleadt/compute-runtime | 5d90e2ab1defd413dc9633fe237a44c2a1298185 | [
"Intel",
"MIT"
] | null | null | null | shared/source/device_binary_format/patchtokens_decoder.cpp | maleadt/compute-runtime | 5d90e2ab1defd413dc9633fe237a44c2a1298185 | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2019-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "patchtokens_decoder.h"
#include "shared/source/debug_settings/debug_settings_manager.h"
#include "shared/source/helpers/debug_helpers.h"
#include "shared/source/helpers/hash.h"
#include "shared/source/helpers/ptr_math.... | 42.120879 | 255 | 0.735232 | maleadt |
283383cbfb967feccae62aef0f0c14b3dd3a6c3b | 2,502 | cc | C++ | libcef/common/service_manifests/builtin_service_manifests.cc | aslistener/cef | d2bfa62d2df23cec85b6fea236aafb8ceb6f2423 | [
"BSD-3-Clause"
] | null | null | null | libcef/common/service_manifests/builtin_service_manifests.cc | aslistener/cef | d2bfa62d2df23cec85b6fea236aafb8ceb6f2423 | [
"BSD-3-Clause"
] | null | null | null | libcef/common/service_manifests/builtin_service_manifests.cc | aslistener/cef | d2bfa62d2df23cec85b6fea236aafb8ceb6f2423 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 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 "libcef/common/service_manifests/builtin_service_manifests.h"
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "chrome/c... | 39.09375 | 81 | 0.698641 | aslistener |
283494667f8cc67ec616bfd5cbb8447c4cc7275e | 4,735 | cpp | C++ | src/ctrl/form/User.cpp | minyor/PocoBlog | 9556c5e70618dd64abd36913cc34c5c373b5673f | [
"BSD-2-Clause"
] | 5 | 2016-01-19T02:12:40.000Z | 2018-01-12T09:20:53.000Z | src/ctrl/form/User.cpp | minyor/PocoBlog | 9556c5e70618dd64abd36913cc34c5c373b5673f | [
"BSD-2-Clause"
] | null | null | null | src/ctrl/form/User.cpp | minyor/PocoBlog | 9556c5e70618dd64abd36913cc34c5c373b5673f | [
"BSD-2-Clause"
] | null | null | null |
#include "Poco/CountingStream.h"
#include "Poco/NullStream.h"
#include "Poco/StreamCopier.h"
#include <ctrl/form/User.h>
using namespace ctrl::form;
static const std::string birthdayFormat = "%Y-%n-%e";
std::string birthdayFromDate(const Poco::DateTime &date)
{
return Poco::DateTimeFormatter::format(date, birthd... | 22.023256 | 98 | 0.646251 | minyor |
28359254006702bcfe15cb754c96fba7efaae5fb | 397 | hpp | C++ | include/mk2/math/sin.hpp | SachiSakurane/libmk2 | e8acf044ee5de160ad8a6f0a3c955beddea8d8c2 | [
"BSL-1.0"
] | null | null | null | include/mk2/math/sin.hpp | SachiSakurane/libmk2 | e8acf044ee5de160ad8a6f0a3c955beddea8d8c2 | [
"BSL-1.0"
] | null | null | null | include/mk2/math/sin.hpp | SachiSakurane/libmk2 | e8acf044ee5de160ad8a6f0a3c955beddea8d8c2 | [
"BSL-1.0"
] | null | null | null | //
// sin.hpp
//
//
// Created by Himatya on 2015/12/18.
// Copyright (c) 2015 Himatya. All rights reserved.
//
#pragma once
#include <type_traits>
#include <mk2/math/cos.hpp>
namespace mk2{
namespace math{
template<class T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
inli... | 17.26087 | 97 | 0.649874 | SachiSakurane |
2837ca8e718fbb7d3c28209ed54b6039e3f1c823 | 17,969 | hxx | C++ | Modules/Segmentation/Conversion/include/otbLabelImageRegionMergingFilter.hxx | heralex/OTB | c52b504b64dc89c8fe9cac8af39b8067ca2c3a57 | [
"Apache-2.0"
] | 317 | 2015-01-19T08:40:58.000Z | 2022-03-17T11:55:48.000Z | Modules/Segmentation/Conversion/include/otbLabelImageRegionMergingFilter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 18 | 2015-07-29T14:13:45.000Z | 2021-03-29T12:36:24.000Z | Modules/Segmentation/Conversion/include/otbLabelImageRegionMergingFilter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 132 | 2015-02-21T23:57:25.000Z | 2022-03-25T16:03:16.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 38.069915 | 159 | 0.718181 | heralex |
28387227adf8dd2d42870d9474af4f96725dc1d4 | 2,120 | cpp | C++ | solved-codeforces/the_redback/contest/749/c/23155481.cpp | Maruf-Tuhin/Online_Judge | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | 1 | 2019-03-31T05:47:30.000Z | 2019-03-31T05:47:30.000Z | solved-codeforces/the_redback/contest/749/c/23155481.cpp | the-redback/competitive-programming | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | null | null | null | solved-codeforces/the_redback/contest/749/c/23155481.cpp | the-redback/competitive-programming | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | null | null | null | /**
* @author : Maruf Tuhin
* @College : CUET CSE 11
* @Topcoder : the_redback
* @CodeForces : the_redback
* @UVA : the_redback
* @link : http://www.fb.com/maruf.2hin
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long lo... | 22.083333 | 102 | 0.49434 | Maruf-Tuhin |
283a71c9583a82d67aa9059ac89118881af9ce63 | 47,507 | cpp | C++ | src/conformance/conformance_test/test_LayerComposition.cpp | JoeLudwig/OpenXR-CTS | 144c94e8982fe76986019abc9bf2b016740536df | [
"Apache-2.0",
"BSD-3-Clause",
"Unlicense",
"MIT"
] | 1 | 2020-12-11T03:28:32.000Z | 2020-12-11T03:28:32.000Z | src/conformance/conformance_test/test_LayerComposition.cpp | JoeLudwig/OpenXR-CTS | 144c94e8982fe76986019abc9bf2b016740536df | [
"Apache-2.0",
"BSD-3-Clause",
"Unlicense",
"MIT"
] | null | null | null | src/conformance/conformance_test/test_LayerComposition.cpp | JoeLudwig/OpenXR-CTS | 144c94e8982fe76986019abc9bf2b016740536df | [
"Apache-2.0",
"BSD-3-Clause",
"Unlicense",
"MIT"
] | null | null | null | // Copyright (c) 2019-2021, The Khronos Group Inc.
//
// SPDX-License-Identifier: Apache-2.0
//
// 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/LICEN... | 56.088548 | 146 | 0.636832 | JoeLudwig |
283a80924b2defc573734b3ff42e7e7384c9cffb | 9,532 | cpp | C++ | modules/base/rendering/renderablecartesianaxes.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | modules/base/rendering/renderablecartesianaxes.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | modules/base/rendering/renderablecartesianaxes.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | /*****************************************************************************************
* *
* OpenSpace *
* ... | 34.536232 | 90 | 0.593999 | nbartzokas |
283afec9ab13eba507692de14055621e68232683 | 3,020 | hpp | C++ | QuantExt/qle/instruments/makecds.hpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | 1 | 2021-03-30T17:24:17.000Z | 2021-03-30T17:24:17.000Z | QuantExt/qle/instruments/makecds.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | null | null | null | QuantExt/qle/instruments/makecds.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:04:10.000Z | 2022-02-07T02:04:10.000Z | /*
Copyright (C) 2017 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 33.555556 | 86 | 0.76755 | PiotrSiejda |
2841971e0bff9a57c920a04ac25df9ef4a1e9c4d | 5,126 | cpp | C++ | GEvent.cpp | abishek-sampath/SDL-GameFramework | 0194540851eeaff6b4563feefb8edae7ca868700 | [
"MIT"
] | null | null | null | GEvent.cpp | abishek-sampath/SDL-GameFramework | 0194540851eeaff6b4563feefb8edae7ca868700 | [
"MIT"
] | null | null | null | GEvent.cpp | abishek-sampath/SDL-GameFramework | 0194540851eeaff6b4563feefb8edae7ca868700 | [
"MIT"
] | null | null | null | #include "GEvent.h"
GEvent::GEvent() {
}
GEvent::~GEvent() {
//Do nothing
}
void GEvent::OnEvent(SDL_Event* event) {
switch(event->type) {
case SDL_KEYDOWN: {
OnKeyDown(event->key.keysym.sym,event->key.keysym.mod);
break;
}
case SDL_KEYUP: {
OnKey... | 23.953271 | 257 | 0.558525 | abishek-sampath |
2842442eca960d8309112fd16fcafecfcf29aab9 | 21,655 | cc | C++ | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/EmilyWindow.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/EmilyWindow.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/EmilyWindow.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */
/*
* $Header: /fuji/lewis/RCS/EmilyWindow.cc,v 1.6 1992/09/08 16:40:43 lewis Exp $
*
* TODO:
*
* Changes:
* $Log: EmilyWindow.cc,v $
* Revision 1.6 1992/09/08 16:40:43 lewis
* Renamed NULL -> Nil.
*
* Revision 1.5 1992/09/01 17... | 27.136591 | 142 | 0.652274 | SophistSolutions |
2845626b754d5b1438c031a49a8a2ce15d1f8187 | 1,098 | cpp | C++ | library/lattice/cpp/src/tetengo.lattice.node_constraint_element.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | library/lattice/cpp/src/tetengo.lattice.node_constraint_element.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | 41 | 2021-06-25T14:20:29.000Z | 2022-01-16T02:50:50.000Z | library/lattice/cpp/src/tetengo.lattice.node_constraint_element.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | /*! \file
\brief A node constraint element.
Copyright (C) 2019-2022 kaoru https://www.tetengo.org/
*/
#include <memory>
#include <utility>
#include <boost/core/noncopyable.hpp>
#include <tetengo/lattice/node.hpp>
#include <tetengo/lattice/node_constraint_element.hpp>
namespace tetengo::lat... | 20.716981 | 120 | 0.618397 | tetengo |
28530a40e5accd8f31daea09b54aff0474526fb5 | 3,707 | hpp | C++ | src/ui/AboutDialog/AboutDialog.hpp | ATiltedTree/APASSTools | 1702e082ae3b95ec10f3c5c084ef9396de5c3833 | [
"MIT"
] | null | null | null | src/ui/AboutDialog/AboutDialog.hpp | ATiltedTree/APASSTools | 1702e082ae3b95ec10f3c5c084ef9396de5c3833 | [
"MIT"
] | 4 | 2020-02-25T00:21:58.000Z | 2020-07-03T11:12:03.000Z | src/ui/AboutDialog/AboutDialog.hpp | ATiltedTree/APASSTools | 1702e082ae3b95ec10f3c5c084ef9396de5c3833 | [
"MIT"
] | null | null | null | #pragma once
#include "common/Icon.hpp"
#include <QApplication>
#include <QDialog>
#include <QDialogButtonBox>
#include <QGridLayout>
#include <QIcon>
#include <QLabel>
#include <QLayout>
#include <config.hpp>
constexpr int ICON_SIZE = 100;
namespace Ui {
class AboutDialog {
public:
QGridLayout *gridLayout;
... | 34.64486 | 80 | 0.626113 | ATiltedTree |
2853a4fae21d10d113c59f1e5e720e1c399ab643 | 3,304 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcActuatorTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 426 | 2015-04-12T10:00:46.000Z | 2022-03-29T11:03:02.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcActuatorTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 124 | 2015-05-15T05:51:00.000Z | 2022-02-09T15:25:12.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcActuatorTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 214 | 2015-05-06T07:30:37.000Z | 2022-03-26T16:14:04.000Z | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/IFC4/include/IfcActu... | 39.807229 | 172 | 0.740315 | AlexVlk |
2853bc1c7cf0246f945c77713f29bb9cdbda037c | 2,067 | cpp | C++ | GOOGLETEST/AccountTest/main.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | GOOGLETEST/AccountTest/main.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | GOOGLETEST/AccountTest/main.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | #include <iostream>
#include <gtest/gtest.h>
#include <stdexcept>
#include "account.h"
///////////////////////////////////////////////////////////////////
//fixture class for Account
class AccountTestFixtures: public testing::Test
{
public:
AccountTestFixtures();
static void SetUpTestCase();
void SetUp() override;
... | 27.197368 | 67 | 0.507499 | Amit-Khobragade |
2854d4ff3ddbc2c5e17ae5989f6087554f272d9f | 2,183 | hpp | C++ | lib/STL+/containers/matrix.hpp | knela96/Game-Engine | 06659d933c4447bd8d6c8536af292825ce4c2ab1 | [
"Unlicense"
] | 65 | 2021-01-06T12:36:22.000Z | 2021-06-21T10:30:09.000Z | deps/stlplus/containers/matrix.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | 4 | 2021-12-06T16:00:00.000Z | 2022-03-18T07:40:33.000Z | deps/stlplus/containers/matrix.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | 11 | 2021-01-07T02:57:02.000Z | 2021-05-31T06:10:56.000Z | #ifndef STLPLUS_MATRIX
#define STLPLUS_MATRIX
////////////////////////////////////////////////////////////////////////////////
// Author: Andy Rushton
// Copyright: (c) Southampton University 1999-2004
// (c) Andy Rushton 2004 onwards
// License: BSD License, see ../docs/license.html
... | 30.319444 | 82 | 0.55016 | knela96 |
2857e6515c8cc11801506a908c7252d93ba529c1 | 62 | hpp | C++ | modules/jip/functions/JIP/script_component.hpp | Bear-Cave-ArmA/Olsen-Framework-ArmA-3 | 1c1715f0e4ed8f2b655a66999754256fa42ca6bf | [
"MIT"
] | 4 | 2020-05-04T18:03:59.000Z | 2020-05-06T19:40:27.000Z | modules/jip/functions/JIP/script_component.hpp | Bear-Cave-ArmA/Olsen-Framework-ArmA-3 | 1c1715f0e4ed8f2b655a66999754256fa42ca6bf | [
"MIT"
] | 13 | 2020-05-06T19:02:06.000Z | 2020-08-24T08:16:43.000Z | modules/jip/functions/JIP/script_component.hpp | Bear-Cave-ArmA/Olsen-Framework-ArmA-3 | 1c1715f0e4ed8f2b655a66999754256fa42ca6bf | [
"MIT"
] | 5 | 2020-05-04T18:04:05.000Z | 2020-05-14T16:53:13.000Z | #define COMPONENT JIP
#include "..\..\script_component.hpp"
| 20.666667 | 38 | 0.709677 | Bear-Cave-ArmA |
285b157bd91e1f11fa4f4c0c4a349bb4c69b3637 | 1,988 | cpp | C++ | prototypes/misc_tests/cv_test4.cpp | andrewjouffray/HyperAugment | cc7a675a1dac65ce31666e59dfd468c15293024f | [
"MIT"
] | null | null | null | prototypes/misc_tests/cv_test4.cpp | andrewjouffray/HyperAugment | cc7a675a1dac65ce31666e59dfd468c15293024f | [
"MIT"
] | null | null | null | prototypes/misc_tests/cv_test4.cpp | andrewjouffray/HyperAugment | cc7a675a1dac65ce31666e59dfd468c15293024f | [
"MIT"
] | null | null | null | #include <opencv2/opencv.hpp>
#include <iostream>
#include <omp.h>
#include <fstream>
#include <string>
#include <filesystem>
#include <chrono>
namespace fs = std::filesystem;
using namespace std;
// goal load a video file and process it with multithearding
vector<string> getFiles(string path){
//cout << "adding ... | 18.238532 | 131 | 0.622233 | andrewjouffray |
285ba9ea9a30d009e31a5906e49bc6cbc8bb45c0 | 2,203 | cpp | C++ | src/base/ProxyAllocator.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 675 | 2019-05-28T19:00:55.000Z | 2022-03-31T16:44:28.000Z | src/base/ProxyAllocator.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 13 | 2020-03-29T06:46:32.000Z | 2022-01-29T03:19:30.000Z | src/base/ProxyAllocator.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 53 | 2019-06-02T03:04:10.000Z | 2022-03-11T06:17:50.000Z | #include <ncine/common_macros.h>
#include <nctl/ProxyAllocator.h>
namespace nctl {
///////////////////////////////////////////////////////////
// CONSTRUCTORS and DESTRUCTOR
///////////////////////////////////////////////////////////
ProxyAllocator::ProxyAllocator(const char *name, IAllocator &allocator)
: IAllo... | 29.77027 | 120 | 0.684521 | bigplayszn |
286048f8b0629f4e1171e3411031b2ca73a38f01 | 1,784 | cc | C++ | experiments/efficiency/runtime_test.cc | Fytch/lehrfempp | c804b3e350aa893180f1a02ce57a93b3d7686e91 | [
"MIT"
] | 16 | 2018-08-30T19:55:43.000Z | 2022-02-16T16:38:06.000Z | experiments/efficiency/runtime_test.cc | Fytch/lehrfempp | c804b3e350aa893180f1a02ce57a93b3d7686e91 | [
"MIT"
] | 151 | 2018-05-27T13:01:50.000Z | 2021-08-04T14:50:50.000Z | experiments/efficiency/runtime_test.cc | Fytch/lehrfempp | c804b3e350aa893180f1a02ce57a93b3d7686e91 | [
"MIT"
] | 20 | 2018-11-13T13:46:38.000Z | 2022-02-18T17:33:52.000Z | /** @file runtime_test.cc
* @brief Some tests for runtime behavior of certain C++ constructs
*/
#include <iostream>
#include "lf/base/base.h"
static const int N = 10;
static double stat_tmp[N]; // NOLINT
std::vector<double> getData_VEC(double offset) {
std::vector<double> tmp(10);
for (int j = 0; j < N; j+... | 22.582278 | 69 | 0.538677 | Fytch |
28617c6019b7bdfdb91bc6e8d63550ad8afaac6a | 4,390 | hpp | C++ | include/xwidgets/xvideo.hpp | SylvainCorlay/xwidgets | f21198f5934c90b034afee9b36c47b0e7b456c6b | [
"BSD-3-Clause"
] | 1 | 2020-01-10T04:13:44.000Z | 2020-01-10T04:13:44.000Z | include/xwidgets/xvideo.hpp | SylvainCorlay/xwidgets | f21198f5934c90b034afee9b36c47b0e7b456c6b | [
"BSD-3-Clause"
] | null | null | null | include/xwidgets/xvideo.hpp | SylvainCorlay/xwidgets | f21198f5934c90b034afee9b36c47b0e7b456c6b | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
* Copyright (c) 2017, Sylvain Corlay and Johan Mabille *
* *
* Distributed under the terms of the BSD 3-Clause License. *
* ... | 32.043796 | 99 | 0.550797 | SylvainCorlay |
286930b7251bfb77d9c4612c785b52db98fecc5d | 506 | cpp | C++ | test/test_runner.cpp | jmalkin/hll-cpp | 0522f03473352fe50afb85e823e395253ea80532 | [
"Apache-2.0"
] | null | null | null | test/test_runner.cpp | jmalkin/hll-cpp | 0522f03473352fe50afb85e823e395253ea80532 | [
"Apache-2.0"
] | null | null | null | test/test_runner.cpp | jmalkin/hll-cpp | 0522f03473352fe50afb85e823e395253ea80532 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018, Oath Inc. Licensed under the terms of the
* Apache License 2.0. See LICENSE file at the project root for terms.
*/
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
int main(int argc, char **argv) {
CppUnit::TextUi::TestRunner runner;
CppUnit::Test... | 31.625 | 87 | 0.741107 | jmalkin |
286c5ecf38d03a1dd8d219ba69cecda5722795ee | 1,415 | cpp | C++ | 1.Top Interview Questions/C++/2.Strings/ReverseString.cpp | HanumantappaBudihal/LeetCode-Solutions | d46ad49f59e14798ff1716f1259a3e04c7aa3d17 | [
"MIT"
] | null | null | null | 1.Top Interview Questions/C++/2.Strings/ReverseString.cpp | HanumantappaBudihal/LeetCode-Solutions | d46ad49f59e14798ff1716f1259a3e04c7aa3d17 | [
"MIT"
] | null | null | null | 1.Top Interview Questions/C++/2.Strings/ReverseString.cpp | HanumantappaBudihal/LeetCode-Solutions | d46ad49f59e14798ff1716f1259a3e04c7aa3d17 | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
#include <cstring>
#include <bits/stdc++.h>
using namespace std;
/************************************************************************************************************
* Problem statement : https://leetcode.com/explore/interview/card/top-interview-questions-easy/... | 26.203704 | 114 | 0.497527 | HanumantappaBudihal |
286cb47acae02dcb7f8fce48320957ed50ad5f44 | 16,597 | cpp | C++ | wwivconfig/wwivconfig.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | wwivconfig/wwivconfig.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | wwivconfig/wwivconfig.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | /**************************************************************************/
/* */
/* WWIV Initialization Utility Version 5 */
/* Copyright (C)1998-2017, WWIV Software Services */
/* ... | 31.433712 | 105 | 0.607519 | k5jat |
287383cba67d98a84142fed9f734d6bae19a47fa | 2,432 | hpp | C++ | android-28/android/os/storage/StorageManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/os/storage/StorageManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-28/android/os/storage/StorageManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../../JObject.hpp"
namespace android::os
{
class Handler;
}
namespace android::os
{
class ParcelFileDescriptor;
}
namespace android::os
{
class ProxyFileDescriptorCallback;
}
namespace android::os::storage
{
class OnObbStateChangeListener;
}
namespace android::os::storage
{
class Storag... | 30.4 | 155 | 0.759457 | YJBeetle |
287a82b966168a85726b83082e51688a7df03935 | 6,669 | cpp | C++ | EpicForceEngine/MagnumEngineLib/MagnumCore/AudioSourceBase.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | 1 | 2021-03-30T06:28:32.000Z | 2021-03-30T06:28:32.000Z | EpicForceEngine/MagnumEngineLib/MagnumCore/AudioSourceBase.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | null | null | null | EpicForceEngine/MagnumEngineLib/MagnumCore/AudioSourceBase.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////////
// Copyright(c) 2016, Lin Koon Wing Macgyver, macgyvercct@yahoo.com.hk //
// //
// Author : Mac Lin //
// Module : Magnum Engine v1.0.0 //
// Date : 14/Jun/2016 ... | 20.027027 | 87 | 0.690508 | MacgyverLin |
287b22e519dd780eb231663c37e9b63ca68a8796 | 753 | cpp | C++ | src/scene/light.cpp | nolmoonen/pbr | c5ed37795c8e67de1716762206fe7c58e9079ac0 | [
"MIT"
] | null | null | null | src/scene/light.cpp | nolmoonen/pbr | c5ed37795c8e67de1716762206fe7c58e9079ac0 | [
"MIT"
] | null | null | null | src/scene/light.cpp | nolmoonen/pbr | c5ed37795c8e67de1716762206fe7c58e9079ac0 | [
"MIT"
] | null | null | null | #include "light.hpp"
#include "../util/nm_math.hpp"
#include "../system/renderer.hpp"
Light::Light(
Scene *scene, Renderer *renderer, glm::vec3 position, glm::vec3 color
) :
SceneObject(scene, renderer, position), color(color)
{}
void Light::render(bool debug_mode)
{
SceneObject::render(debug_mod... | 25.965517 | 77 | 0.564409 | nolmoonen |
287d5513210df00735b4bdf41df40e8f8c8b77b1 | 1,399 | cpp | C++ | algorithm/SSSP-on-unweight-graph.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | algorithm/SSSP-on-unweight-graph.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | algorithm/SSSP-on-unweight-graph.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | #include "iostream"
#include "stdio.h"
#include "string"
#include "string.h"
#include "algorithm"
#include "math.h"
#include "vector"
#include "map"
#include "queue"
#include "stack"
#include "deque"
#include "set"
using namespace std;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
const in... | 20.573529 | 58 | 0.50965 | AREA44 |
287f40965278d62cc02152fb361085318976bba3 | 26,955 | hpp | C++ | include/barry/barray-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | 8 | 2020-07-21T01:30:35.000Z | 2022-03-09T15:51:14.000Z | include/barry/barray-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | 2 | 2022-01-24T20:51:46.000Z | 2022-03-16T23:08:40.000Z | include/barry/barray-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | null | null | null | // #include <stdexcept>
#include "barray-bones.hpp"
#ifndef BARRY_BARRAY_MEAT_HPP
#define BARRY_BARRAY_MEAT_HPP
#define BARRAY_TYPE() BArray<Cell_Type, Data_Type>
#define BARRAY_TEMPLATE_ARGS() <typename Cell_Type, typename Data_Type>
#define BARRAY_TEMPLATE(a,b) \
template BARRAY_TEMPLATE_ARGS() inline a BARR... | 21.968215 | 113 | 0.506733 | USCbiostats |
287f86cc257f7c6803d7226c36014d060a9e76fb | 4,800 | hxx | C++ | src/bp/Config.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | 1 | 2022-03-15T22:54:39.000Z | 2022-03-15T22:54:39.000Z | src/bp/Config.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | null | null | null | src/bp/Config.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2007-2021 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 abo... | 24.742268 | 82 | 0.74375 | nn6n |
288511bf23e83f6efbf7f5bcf6be5bee633d6b90 | 8,823 | cpp | C++ | sources/Platform/Linux/LinuxWindow.cpp | NoFr1ends/LLGL | 837fa70f151e2caeb1bd4122fcd4eb672080efa5 | [
"BSD-3-Clause"
] | null | null | null | sources/Platform/Linux/LinuxWindow.cpp | NoFr1ends/LLGL | 837fa70f151e2caeb1bd4122fcd4eb672080efa5 | [
"BSD-3-Clause"
] | null | null | null | sources/Platform/Linux/LinuxWindow.cpp | NoFr1ends/LLGL | 837fa70f151e2caeb1bd4122fcd4eb672080efa5 | [
"BSD-3-Clause"
] | null | null | null | /*
* LinuxWindow.cpp
*
* This file is part of the "LLGL" project (Copyright (c) 2015 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include <LLGL/Platform/NativeHandle.h>
#include <LLGL/Display.h>
#include "LinuxWindow.h"
#include "MapKey.h"
#include <exception>
namespace LLGL
{
static Of... | 24.714286 | 139 | 0.613737 | NoFr1ends |
28860ae214f32e95d2218a6f6437461182ed6b67 | 872 | cxx | C++ | painty/core/test/src/KubelkaMunkTest.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 15 | 2020-04-22T15:18:28.000Z | 2022-03-24T07:48:28.000Z | painty/core/test/src/KubelkaMunkTest.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 25 | 2020-04-18T18:55:50.000Z | 2021-05-30T21:26:39.000Z | painty/core/test/src/KubelkaMunkTest.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 2 | 2020-09-16T05:55:54.000Z | 2021-01-09T12:09:43.000Z | /**
* @file KubelkaMunkTest.cxx
* @author thomas lindemeier
*
* @brief
*
* @date 2020-05-14
*
*/
#include "gtest/gtest.h"
#include "painty/core/KubelkaMunk.hxx"
TEST(KubelkaMunk, Reflectance) {
constexpr auto Eps = 0.00001;
const auto d = 0.5;
const painty::vec<double, 3U> k = {0.2... | 27.25 | 79 | 0.598624 | lindemeier |
2887edc208ada4e07f89e8459df6bc8b4032330b | 6,198 | cpp | C++ | test/json2sql/enum_record_set.cpp | slotix/json2sql | bed76cad843a11dcee6d96b58ee6b4a84f4f67a3 | [
"BSD-3-Clause"
] | 8 | 2018-03-05T04:14:44.000Z | 2021-12-22T03:18:16.000Z | test/json2sql/enum_record_set.cpp | slotix/json2sql | bed76cad843a11dcee6d96b58ee6b4a84f4f67a3 | [
"BSD-3-Clause"
] | 10 | 2018-02-23T22:09:07.000Z | 2019-06-06T17:29:26.000Z | test/json2sql/enum_record_set.cpp | slotix/json2sql | bed76cad843a11dcee6d96b58ee6b4a84f4f67a3 | [
"BSD-3-Clause"
] | 7 | 2018-04-06T00:16:43.000Z | 2020-06-26T13:32:47.000Z | //
// Created by sn0w1eo on 26.02.18.
//
#include <gtest/gtest.h>
#include <hash_table.hpp>
#include <enum_table.hpp>
#include "enum_record_set.hpp"
namespace {
using rapidjson::Value;
using namespace DBConvert::Structures;
class EnumRecordSetTest : public ::testing::Test {
protected:
void Se... | 38.496894 | 132 | 0.647306 | slotix |
288bc24fb2022d139bf8d20be6b86508c0df0c25 | 12,073 | cc | C++ | src/rm/RequestManagerVirtualRouter.cc | vidister/one | 3baad262f81694eb182f9accb5dd576f5596f3b0 | [
"Apache-2.0"
] | 1 | 2019-11-21T09:33:40.000Z | 2019-11-21T09:33:40.000Z | src/rm/RequestManagerVirtualRouter.cc | vidister/one | 3baad262f81694eb182f9accb5dd576f5596f3b0 | [
"Apache-2.0"
] | null | null | null | src/rm/RequestManagerVirtualRouter.cc | vidister/one | 3baad262f81694eb182f9accb5dd576f5596f3b0 | [
"Apache-2.0"
] | 2 | 2020-03-09T09:11:41.000Z | 2020-04-01T13:38:20.000Z | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2019, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | 28.745238 | 83 | 0.455562 | vidister |
288cfffdcaf3e3d50d5fe581c917ddd589663956 | 2,955 | cpp | C++ | Engine/databaseadmincsvformat.cpp | vadkasevas/BAS | 657f62794451c564c77d6f92b2afa9f5daf2f517 | [
"MIT"
] | 302 | 2016-05-20T12:55:23.000Z | 2022-03-29T02:26:14.000Z | Engine/databaseadmincsvformat.cpp | chulakshana/BAS | 955f5a41bd004bcdd7d19725df6ab229b911c09f | [
"MIT"
] | 9 | 2016-07-21T09:04:50.000Z | 2021-05-16T07:34:42.000Z | Engine/databaseadmincsvformat.cpp | chulakshana/BAS | 955f5a41bd004bcdd7d19725df6ab229b911c09f | [
"MIT"
] | 113 | 2016-05-18T07:48:37.000Z | 2022-02-26T12:59:39.000Z | #include "databaseadmincsvformat.h"
#include "ui_databaseadmincsvformat.h"
#include <QDir>
#include <QFileDialog>
#include <QDebug>
DatabaseAdminCsvFormat::DatabaseAdminCsvFormat(QWidget *parent) :
QDialog(parent),
ui(new Ui::DatabaseAdminCsvFormat)
{
ui->setupUi(this);
connect(ui->DragSectionCombo,SI... | 21.727941 | 120 | 0.643316 | vadkasevas |
288dbd960d6e8f1e0ae0e8e9da6520c15f44affb | 11,530 | cpp | C++ | src/VS/vlib/Hand.cpp | valet-bridge/valet | 8e20da1b496cb6fa42894b9ef420375cb7a5d2cd | [
"Apache-2.0"
] | null | null | null | src/VS/vlib/Hand.cpp | valet-bridge/valet | 8e20da1b496cb6fa42894b9ef420375cb7a5d2cd | [
"Apache-2.0"
] | 1 | 2015-11-15T08:20:33.000Z | 2018-03-04T09:48:23.000Z | src/VS/vlib/Hand.cpp | valet-bridge/valet | 8e20da1b496cb6fa42894b9ef420375cb7a5d2cd | [
"Apache-2.0"
] | null | null | null | /*
Valet, a generalized Butler scorer for bridge.
Copyright (C) 2015 by Soren Hein.
See LICENSE and README.
*/
#include "stdafx.h"
#include <assert.h>
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
#include "valet.h"
#include "Pairs.h"
#include "Hand.h"
#include "scoring... | 23.06 | 71 | 0.590286 | valet-bridge |
2890a085007d30e34ab174ff9d044ef698241adf | 2,340 | hpp | C++ | include/range/v3/algorithm/copy.hpp | morinmorin/range-v3 | d911614f40dcbc05062cd3a398007270c86b2d65 | [
"MIT"
] | null | null | null | include/range/v3/algorithm/copy.hpp | morinmorin/range-v3 | d911614f40dcbc05062cd3a398007270c86b2d65 | [
"MIT"
] | null | null | null | include/range/v3/algorithm/copy.hpp | morinmorin/range-v3 | d911614f40dcbc05062cd3a398007270c86b2d65 | [
"MIT"
] | null | null | null | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-present
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.com/ericniebler... | 28.536585 | 94 | 0.631624 | morinmorin |
2891692a139096ff3c00c7d928507f9dadc410ae | 1,338 | cpp | C++ | obs-studio/plugins/win-dshow/dshow-plugin.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | obs-studio/plugins/win-dshow/dshow-plugin.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | obs-studio/plugins/win-dshow/dshow-plugin.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | #include <obs-module.h>
#include <strsafe.h>
#include <strmif.h>
#include "virtualcam-guid.h"
OBS_DECLARE_MODULE()
OBS_MODULE_USE_DEFAULT_LOCALE("win-dshow", "en-US")
MODULE_EXPORT const char *obs_module_description(void)
{
return "Windows DirectShow source/encoder";
}
extern void RegisterDShowSource();
extern void ... | 22.3 | 73 | 0.775037 | noelemahcz |
28937011bddc59ba74593117e770a2f406a5a089 | 13,827 | cpp | C++ | src/MIP_deamon.cpp | SaivNator/MIPTP_cpp | c830b875c47cad742f0e0ed07649e9322865b02e | [
"MIT"
] | 1 | 2018-07-29T17:53:50.000Z | 2018-07-29T17:53:50.000Z | src/MIP_deamon.cpp | SaivNator/MIPTP_cpp | c830b875c47cad742f0e0ed07649e9322865b02e | [
"MIT"
] | null | null | null | src/MIP_deamon.cpp | SaivNator/MIPTP_cpp | c830b875c47cad742f0e0ed07649e9322865b02e | [
"MIT"
] | null | null | null | //MIP_deamon.cpp
//Author: Sivert Andresen Cubedo
//C++
#include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <algorithm>
#include <cstdlib>
#include <exception>
#include <stdexcept>
#include <queue>
//LINUX
#include <signal.h>
//Local
#include "../include/LinuxException.hpp"
#include ".... | 24.300527 | 150 | 0.697621 | SaivNator |
28944b8ff24d177b9155a38b7480e3264003a45e | 1,571 | hpp | C++ | src/libs/server_common/include/keto/server_common/EventUtils.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:00.000Z | 2020-03-04T10:38:00.000Z | src/libs/server_common/include/keto/server_common/EventUtils.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | null | null | null | src/libs/server_common/include/keto/server_common/EventUtils.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:01.000Z | 2020-03-04T10:38:01.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: EventUtils.hpp
* Author: ubuntu
*
* Created on February 17, 2018, 10:33 AM
*/
#ifndef EVENTUTILS_HPP
#define EVENT... | 25.754098 | 93 | 0.721833 | burntjam |
28978548b1829e7a11224ceb2e8f5153185fe842 | 1,972 | cpp | C++ | Editor/gui/InspectorWidget/widget/impl/Texture2DComponentWidget.cpp | obivan43/pawnengine | ec092fa855d41705f3fb55fcf1aa5e515d093405 | [
"MIT"
] | null | null | null | Editor/gui/InspectorWidget/widget/impl/Texture2DComponentWidget.cpp | obivan43/pawnengine | ec092fa855d41705f3fb55fcf1aa5e515d093405 | [
"MIT"
] | null | null | null | Editor/gui/InspectorWidget/widget/impl/Texture2DComponentWidget.cpp | obivan43/pawnengine | ec092fa855d41705f3fb55fcf1aa5e515d093405 | [
"MIT"
] | null | null | null | #include "Texture2DComponentWidget.h"
#include <QVBoxLayout>
#include <QHBoxLayout>
namespace editor::impl {
Texture2DComponentWidget::Texture2DComponentWidget(QWidget* parent)
: QWidget(parent)
, m_Entity(nullptr)
, m_Texture2D(nullptr)
, m_Color(nullptr)
, m_Texture2DLineEdit(nullptr)
, m... | 24.04878 | 92 | 0.704868 | obivan43 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.