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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4f1ee99281ef141d42a038f41cd1ddb9cc86f312 | 26,803 | cpp | C++ | src/core/Variant.cpp | WilliamTambellini/godopy | 7b4142ddf7acafa66e1b2b201afa5fa37a4c7f4e | [
"MIT"
] | null | null | null | src/core/Variant.cpp | WilliamTambellini/godopy | 7b4142ddf7acafa66e1b2b201afa5fa37a4c7f4e | [
"MIT"
] | null | null | null | src/core/Variant.cpp | WilliamTambellini/godopy | 7b4142ddf7acafa66e1b2b201afa5fa37a4c7f4e | [
"MIT"
] | null | null | null | #include "Variant.hpp"
#include <gdnative/variant.h>
#include "CoreTypes.hpp"
#include "Defs.hpp"
#include "GodotGlobal.hpp"
#include "Object.hpp"
#include <iostream>
#include <stdexcept>
#ifndef NO_IMPORT_ARRAY
#define NO_IMPORT_ARRAY
#endif
#include "PythonGlobal.hpp"
#include <_lib/godot/core/types.hpp>
namespa... | 32.607056 | 147 | 0.745066 | WilliamTambellini |
4f203c48428c692de98f2b0fdd812268d388a572 | 2,114 | cc | C++ | src/logging/log_stream.cc | xiw2-0/minids | 46510205af0e0a6c14e9d360fc83e13cd45bcf9d | [
"MIT"
] | 3 | 2020-06-09T02:31:43.000Z | 2021-03-30T09:14:33.000Z | src/logging/log_stream.cc | xiw2-0/minids | 46510205af0e0a6c14e9d360fc83e13cd45bcf9d | [
"MIT"
] | null | null | null | src/logging/log_stream.cc | xiw2-0/minids | 46510205af0e0a6c14e9d360fc83e13cd45bcf9d | [
"MIT"
] | null | null | null | /// Copyright (c) 2020 xiw
///
/// MIT License
/// \author Wang Xi
#include "logging/log_stream.h"
#include <thread>
#include <sstream>
namespace logging {
void LogStream::buf(char** p_buf, size_t* size) {
*p_buf = buf_;
*size = buf_pointer_;
}
LogStream &LogStream::operator<<(bool arg) {
if(arg)
app... | 17.048387 | 82 | 0.644276 | xiw2-0 |
4f2070c48921f7111b5e881d6412c44aa0dddea4 | 8,179 | cpp | C++ | LFFD_ncnn.cpp | Qengineering/LFFD-ncnn-Raspberry-Pi-4 | edcb609603325ca97c6f02dcfefb32f937383279 | [
"BSD-3-Clause"
] | 2 | 2021-04-18T06:47:05.000Z | 2021-06-16T09:52:44.000Z | LFFD_ncnn.cpp | Qengineering/LFFD-ncnn-Raspberry-Pi-4 | edcb609603325ca97c6f02dcfefb32f937383279 | [
"BSD-3-Clause"
] | null | null | null | LFFD_ncnn.cpp | Qengineering/LFFD-ncnn-Raspberry-Pi-4 | edcb609603325ca97c6f02dcfefb32f937383279 | [
"BSD-3-Clause"
] | null | null | null | #include "LFFD_ncnn.h"
LFFD::LFFD(int scale_num, int num_thread_)
{
num_output_scales = scale_num;
num_thread = num_thread_;
if (num_output_scales == 5) {
param_file_name = "symbol_10_320_20L_5scales_v2_deploy.param";
bin_file_name = "train_10_320_20L_5scales_v2_iter_1000000.bin";
receptive_field_list = { 20,... | 30.981061 | 182 | 0.627461 | Qengineering |
4f21000a633dbc7b4704b27b1a2782af1fbd7e35 | 3,686 | cpp | C++ | streambox/test/test-join-2.cpp | chenzongxiong/streambox | 76f95780d1bf6c02731e39d8ac73937cea352b95 | [
"Unlicense"
] | 3 | 2019-07-03T14:03:31.000Z | 2021-12-19T10:18:49.000Z | streambox/test/test-join-2.cpp | chenzongxiong/streambox | 76f95780d1bf6c02731e39d8ac73937cea352b95 | [
"Unlicense"
] | 6 | 2020-02-17T12:01:30.000Z | 2021-12-09T22:02:33.000Z | streambox/test/test-join-2.cpp | chenzongxiong/streambox | 76f95780d1bf6c02731e39d8ac73937cea352b95 | [
"Unlicense"
] | 2 | 2020-12-03T04:41:18.000Z | 2021-01-11T21:44:42.000Z | /*
#include<stdio.h>
#include<assert.h>
#include<iostream>
#include<typeinfo>
#include "Create.h" #include "Read.h"
*/
#include "core/Pipeline.h"
//#include "TransformEvaluator.h"
//#include "TransformEvaluate.h"
#include "Source/UnboundedInMemEvaluator_Join.h"
//#include "SimpleMapperEvaluator.h"
#include "Join/JoinEv... | 29.253968 | 80 | 0.663049 | chenzongxiong |
4f23b6cc5bc4a79d61a90b2c317d723d6fb33dfb | 444 | cpp | C++ | lib/poprand/codelets/SetSeedSupervisor.cpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | 1 | 2021-02-23T05:58:24.000Z | 2021-02-23T05:58:24.000Z | lib/poprand/codelets/SetSeedSupervisor.cpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | null | null | null | lib/poprand/codelets/SetSeedSupervisor.cpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Graphcore Ltd. All rights reserved.
#include "RandomUtils.hpp"
using namespace poplar;
namespace poprand {
class SetSeedSupervisor : public SupervisorVertexIf<ASM_CODELETS_ENABLED> {
public:
SetSeedSupervisor();
Input<Vector<unsigned, ONE_PTR, 8>> seed;
const uint32_t seedModifierUser;
... | 20.181818 | 75 | 0.756757 | giantchen2012 |
4f23d25e3dd58ad9ec5517f35b4fd0e826371bd6 | 24,265 | cpp | C++ | Src/FileDialog.cpp | bluescan/tacit-texview | 084e2ee2f8e516b6d4449caf9b6712181db162f5 | [
"ISC"
] | 76 | 2019-07-03T06:43:37.000Z | 2020-05-08T20:23:08.000Z | Src/FileDialog.cpp | bluescan/tacit-texview | 084e2ee2f8e516b6d4449caf9b6712181db162f5 | [
"ISC"
] | 15 | 2020-01-12T23:37:09.000Z | 2020-05-01T04:44:14.000Z | Src/FileDialog.cpp | bluescan/tacit-texview | 084e2ee2f8e516b6d4449caf9b6712181db162f5 | [
"ISC"
] | 2 | 2020-01-18T14:13:14.000Z | 2020-04-05T14:17:07.000Z | // FileDialog.cpp
//
// Dialog that allows selection of a file or directory. May be used for opening a file/directory or saving to a file.
//
// Copyright (c) 2021, 2022 Tristan Grimmer.
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby
// granted, provide... | 30.068154 | 242 | 0.705131 | bluescan |
4f2605188c3c8162aa30dfb72b435008f808b798 | 24,573 | cpp | C++ | Mac_Libraries/FreeImage_3_18/Source/FreeImage/MultiPage.cpp | aws4y/OpenNebulosity | 406162ea39de7e8fb90147ee43f6ee95dd56dfde | [
"BSD-3-Clause"
] | 111 | 2015-01-13T18:14:31.000Z | 2022-02-20T14:26:55.000Z | Mac_Libraries/FreeImage_3_18/Source/FreeImage/MultiPage.cpp | aws4y/OpenNebulosity | 406162ea39de7e8fb90147ee43f6ee95dd56dfde | [
"BSD-3-Clause"
] | 54 | 2015-02-23T16:57:41.000Z | 2021-02-19T08:16:27.000Z | Mac_Libraries/FreeImage_3_18/Source/FreeImage/MultiPage.cpp | aws4y/OpenNebulosity | 406162ea39de7e8fb90147ee43f6ee95dd56dfde | [
"BSD-3-Clause"
] | 26 | 2015-01-17T13:07:56.000Z | 2021-12-02T07:43:29.000Z | // ==========================================================
// Multi-Page functions
//
// Design and implementation by
// - Floris van den Berg (flvdberg@wxs.nl)
// - Laurent Rocher (rocherl@club-internet.fr)
// - Steve Johnson (steve@parisgroup.net)
// - Petr Pytelka (pyta@lightcomp.com)
// - Hervé Drolon (d... | 27.364143 | 168 | 0.613722 | aws4y |
4f261cdeb0b5320194a0a3c3fa545dbdb6fcccbb | 1,582 | hpp | C++ | cli_args.hpp | iszczesniak/ddpp | bc27ad2b7f699d8ef2e11dcb3b56d538d92e4b4e | [
"BSL-1.0"
] | null | null | null | cli_args.hpp | iszczesniak/ddpp | bc27ad2b7f699d8ef2e11dcb3b56d538d92e4b4e | [
"BSL-1.0"
] | null | null | null | cli_args.hpp | iszczesniak/ddpp | bc27ad2b7f699d8ef2e11dcb3b56d538d92e4b4e | [
"BSL-1.0"
] | null | null | null | #ifndef CLI_ARGS_HPP
#define CLI_ARGS_HPP
#include "connection.hpp"
#include "routing.hpp"
#include <optional>
#include <string>
/**
* These are the program arguments. In this single class we store all
* information passed at the command line.
*/
struct cli_args
{
/// ------------------------------------------... | 21.093333 | 71 | 0.484829 | iszczesniak |
4f26672294b4cc622c3bd4f079929719d6af4fc7 | 7,896 | cpp | C++ | src/dgetrs_nopiv_batched.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 21 | 2017-10-06T05:05:05.000Z | 2022-03-13T15:39:20.000Z | src/dgetrs_nopiv_batched.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 1 | 2017-03-23T00:27:24.000Z | 2017-03-23T00:27:24.000Z | src/dgetrs_nopiv_batched.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 4 | 2018-01-09T15:49:58.000Z | 2022-03-13T15:39:27.000Z | /*
-- MAGMA (version 1.6.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
November 2013
@author Azzam Haidar
@generated from zgetrs_nopiv_batched.cpp normal z -> d, Fri Jan 30 19:00:19 2015
*/
#include "common_magma.h"
#in... | 33.457627 | 114 | 0.556864 | shengren |
4f272caf25db73404a223d05b9618e45e9ad4f6c | 983 | cpp | C++ | src/point.cpp | ASjet/GreedySnake | c07a22ede63a8c4f42bc6af2d8c8c95cd46b0311 | [
"MIT"
] | 1 | 2020-05-30T07:15:18.000Z | 2020-05-30T07:15:18.000Z | src/point.cpp | ITFS777/GreedySnake | c07a22ede63a8c4f42bc6af2d8c8c95cd46b0311 | [
"MIT"
] | null | null | null | src/point.cpp | ITFS777/GreedySnake | c07a22ede63a8c4f42bc6af2d8c8c95cd46b0311 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "point.h"
#include "cursor.h"
////////////////////////////////////////////////////////////////////////////////
Point Point::setPos(int px, int py)
{
x = px;
y = py;
return *this;
}
///////////////////////////////////////////////////////////////////////////////... | 25.868421 | 80 | 0.364191 | ASjet |
4f2acf2ee7baf76ba9ec40965975179cc65cc4c0 | 14,878 | cpp | C++ | src/InstructionWalker.cpp | Mookel/VC4C | d72978253820e4175fa591206dedda6c586068b3 | [
"MIT"
] | null | null | null | src/InstructionWalker.cpp | Mookel/VC4C | d72978253820e4175fa591206dedda6c586068b3 | [
"MIT"
] | null | null | null | src/InstructionWalker.cpp | Mookel/VC4C | d72978253820e4175fa591206dedda6c586068b3 | [
"MIT"
] | null | null | null | /*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#include "InstructionWalker.h"
#include "BasicBlock.h"
#include "CompilationError.h"
#include "Method.h"
#include "analysis/ControlFlowGraph.h"
using namespace vc4c;
const InstructionWalker tombstone_traits<InstructionWa... | 31.190776 | 120 | 0.617556 | Mookel |
4f2c7c45a4c6a2a344655c2da31ef6e080d04499 | 2,810 | hpp | C++ | libraries/blockchain/include/bts/blockchain/snapshot_state.hpp | jasonqin/bitshares1-core | b575445f31d9d5955414a178b9128fd1a423c3fa | [
"Unlicense"
] | 82 | 2015-01-04T21:11:35.000Z | 2015-06-08T17:53:49.000Z | libraries/blockchain/include/bts/blockchain/snapshot_state.hpp | jasonqin/bitshares1-core | b575445f31d9d5955414a178b9128fd1a423c3fa | [
"Unlicense"
] | 428 | 2015-01-01T18:42:04.000Z | 2015-06-08T16:08:08.000Z | libraries/blockchain/include/bts/blockchain/snapshot_state.hpp | jasonqin/bitshares1-core | b575445f31d9d5955414a178b9128fd1a423c3fa | [
"Unlicense"
] | 53 | 2015-01-05T02:31:30.000Z | 2015-06-05T18:50:57.000Z | #pragma once
#include <bts/blockchain/graphene.hpp>
#include <bts/blockchain/types.hpp>
#include <fc/time.hpp>
namespace bts { namespace blockchain {
struct snapshot_summary
{
uint64_t num_balance_owners = 0;
uint64_t num_asset_balances = 0;
uint64_t num_vesting_balances = 0;
uint64_t num_canceled_a... | 29.893617 | 122 | 0.690036 | jasonqin |
4f2d49c583b36f4b94fc624a8c5079ed09d03b47 | 1,030 | cpp | C++ | unit2/2_2.cpp | Helio452b/essential_Cpp_coding | 57ac4b28874da099581054ef6db809fade032c37 | [
"MIT"
] | 2 | 2020-05-06T16:27:10.000Z | 2020-05-06T16:27:14.000Z | unit2/2_2.cpp | Helio452b/essential_Cpp_coding | 57ac4b28874da099581054ef6db809fade032c37 | [
"MIT"
] | null | null | null | unit2/2_2.cpp | Helio452b/essential_Cpp_coding | 57ac4b28874da099581054ef6db809fade032c37 | [
"MIT"
] | 2 | 2020-05-06T16:12:41.000Z | 2021-01-20T15:52:52.000Z | #include <iostream>
#include <windows.h>
#include <vector>
#include <string>
using namespace std;
bool pentagonal_get(int num,vector<int> &vect)
{
int fx_i;
if (num<=0 || num>1024)
{
return false;
}
else
{
for (int i = 1; i <= num; i++)
{
fx_i = i*(i*3-1)/2;... | 16.349206 | 65 | 0.484466 | Helio452b |
4f303e8177e6e2c2ab36a9127a8c223d00524ef3 | 1,038 | cpp | C++ | Sources/Overload/OvCore/src/OvCore/ECS/Components/CDirectionalLight.cpp | kmqwerty/Overload | f3b8c751a05815400ed35dd2be20a3900f3454fd | [
"MIT"
] | 755 | 2019-07-10T01:26:39.000Z | 2022-03-31T12:43:19.000Z | Sources/Overload/OvCore/src/OvCore/ECS/Components/CDirectionalLight.cpp | kmqwerty/Overload | f3b8c751a05815400ed35dd2be20a3900f3454fd | [
"MIT"
] | 111 | 2020-02-28T23:30:10.000Z | 2022-01-18T13:57:30.000Z | Sources/Overload/OvCore/src/OvCore/ECS/Components/CDirectionalLight.cpp | kmqwerty/Overload | f3b8c751a05815400ed35dd2be20a3900f3454fd | [
"MIT"
] | 97 | 2019-11-06T15:19:56.000Z | 2022-03-25T08:40:04.000Z | /**
* @project: Overload
* @author: Overload Tech.
* @licence: MIT
*/
#include <OvUI/Widgets/Texts/Text.h>
#include <OvUI/Widgets/Drags/DragFloat.h>
#include <OvUI/Widgets/Selection/ColorEdit.h>
#include "OvCore/ECS/Actor.h"
#include "OvCore/ECS/Components/CDirectionalLight.h"
OvCore::ECS::Components::CDirectionalL... | 25.95 | 121 | 0.757225 | kmqwerty |
4f32cec6c164bf925e351ea56d5c1a7e66213368 | 7,791 | cpp | C++ | clients/common/rocsparse_matrix_factory_laplace3d.cpp | xupinjie/rocSPARSE | 5583492046ece092900f815d76fe98dd32cb8d36 | [
"MIT"
] | null | null | null | clients/common/rocsparse_matrix_factory_laplace3d.cpp | xupinjie/rocSPARSE | 5583492046ece092900f815d76fe98dd32cb8d36 | [
"MIT"
] | null | null | null | clients/common/rocsparse_matrix_factory_laplace3d.cpp | xupinjie/rocSPARSE | 5583492046ece092900f815d76fe98dd32cb8d36 | [
"MIT"
] | null | null | null | /*! \file */
/* ************************************************************************
* Copyright (c) 2021 Advanced Micro Devices, Inc.
*
* 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 Softwa... | 50.590909 | 96 | 0.432294 | xupinjie |
4f3391c9e7767dbe626123133097b4296537b3e0 | 5,335 | cpp | C++ | src/ngraph/runtime/cpu/builder/rnn.cpp | tzerrell/ngraph | b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd | [
"Apache-2.0"
] | null | null | null | src/ngraph/runtime/cpu/builder/rnn.cpp | tzerrell/ngraph | b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd | [
"Apache-2.0"
] | null | null | null | src/ngraph/runtime/cpu/builder/rnn.cpp | tzerrell/ngraph | b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-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://w... | 48.944954 | 100 | 0.519213 | tzerrell |
4f3478b4fdaa44bc561c7d3648dc2ad4f6e3f4e4 | 5,354 | cc | C++ | source/common/http/filter/ratelimit.cc | vanillahsu/envoy | 49dc064843035ff980e1ed1d1a7f1574b66f7305 | [
"Apache-2.0"
] | null | null | null | source/common/http/filter/ratelimit.cc | vanillahsu/envoy | 49dc064843035ff980e1ed1d1a7f1574b66f7305 | [
"Apache-2.0"
] | null | null | null | source/common/http/filter/ratelimit.cc | vanillahsu/envoy | 49dc064843035ff980e1ed1d1a7f1574b66f7305 | [
"Apache-2.0"
] | null | null | null | #include "common/http/filter/ratelimit.h"
#include "envoy/http/codes.h"
#include "common/common/assert.h"
#include "common/common/empty_string.h"
#include "common/common/enum_to_int.h"
#include "common/http/codes.h"
#include "common/router/config_impl.h"
namespace Http {
namespace RateLimit {
namespace {
static co... | 36.671233 | 98 | 0.683227 | vanillahsu |
4f34b190fc49b969608edc1c87f78451d9d24a15 | 319 | cpp | C++ | c++/Booking/bookingTest.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null | c++/Booking/bookingTest.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null | c++/Booking/bookingTest.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
class Test;
class Test
{
public:
static std::vector<const Test*> allData;
Test() : data(3)
{
allData.push_back(this);
}
int data;
};
int main()
{
Test test;
std::cout << Test::allData.at(0)->data << std::endl;
return 0;
}
| 9.114286 | 54 | 0.54232 | taku-xhift |
4f387b63cad2886f2805f3d81d50cd69ff85cde2 | 9,276 | cpp | C++ | src/demos/vehicle/demo_DeformableSoil/demo_VEH_DeformableSoil.cpp | bluescarni/chrono | 5804345dc23733196c6740afbc0c1432553dfb1d | [
"BSD-3-Clause"
] | null | null | null | src/demos/vehicle/demo_DeformableSoil/demo_VEH_DeformableSoil.cpp | bluescarni/chrono | 5804345dc23733196c6740afbc0c1432553dfb1d | [
"BSD-3-Clause"
] | null | null | null | src/demos/vehicle/demo_DeformableSoil/demo_VEH_DeformableSoil.cpp | bluescarni/chrono | 5804345dc23733196c6740afbc0c1432553dfb1d | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 41.596413 | 118 | 0.631738 | bluescarni |
4f3911284077eaa525ae693c116101bee6ac505a | 2,675 | cpp | C++ | ProcessLib/SurfaceFlux/SurfaceFlux.cpp | zhangning737/ogs | 53a892f4ce2f133e4d00534d33ad4329e5c0ccb2 | [
"BSD-4-Clause"
] | 1 | 2021-06-25T13:43:06.000Z | 2021-06-25T13:43:06.000Z | ProcessLib/SurfaceFlux/SurfaceFlux.cpp | boyanmeng/ogs | 8172d20e61ae6dad076b3cc064846db7ef622020 | [
"BSD-4-Clause"
] | 1 | 2019-08-09T12:13:22.000Z | 2019-08-09T12:13:22.000Z | ProcessLib/SurfaceFlux/SurfaceFlux.cpp | zhangning737/ogs | 53a892f4ce2f133e4d00534d33ad4329e5c0ccb2 | [
"BSD-4-Clause"
] | null | null | null | /**
* \file
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "SurfaceFlux.h"
#include <casse... | 36.148649 | 82 | 0.702804 | zhangning737 |
4f396e14fec3b619ea47854dd842c7f67199e950 | 4,346 | cc | C++ | src/libdeltafs/mds_srv_test.cc | chuckcranor/deltafs | 34c6b60e225c19b363aaafa7c755fd9ffea4ffba | [
"Xnet",
"X11"
] | 93 | 2016-09-28T12:32:05.000Z | 2022-03-25T03:29:21.000Z | src/libdeltafs/mds_srv_test.cc | chuckcranor/deltafs | 34c6b60e225c19b363aaafa7c755fd9ffea4ffba | [
"Xnet",
"X11"
] | 3 | 2016-08-30T04:15:23.000Z | 2021-03-26T05:33:24.000Z | src/libdeltafs/mds_srv_test.cc | chuckcranor/deltafs | 34c6b60e225c19b363aaafa7c755fd9ffea4ffba | [
"Xnet",
"X11"
] | 12 | 2016-10-24T20:03:08.000Z | 2022-03-30T14:12:51.000Z | /*
* Copyright (c) 2019 Carnegie Mellon University,
* Copyright (c) 2019 Triad National Security, LLC, as operator of
* Los Alamos National Laboratory.
*
* All rights reserved.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. See the AUTHORS file for na... | 23.748634 | 77 | 0.617809 | chuckcranor |
4f39c862d9220466ed1eefcac00838e198565067 | 6,591 | cpp | C++ | src/collisions/CCollisionAABBTree.cpp | RoboticsDesignLab/chai3d | 66927fb9c81a173b988e1fc81cf6bfd57d69dcd7 | [
"BSD-3-Clause"
] | 75 | 2016-12-22T14:53:01.000Z | 2022-03-31T08:04:19.000Z | src/collisions/CCollisionAABBTree.cpp | RoboticsDesignLab/chai3d | 66927fb9c81a173b988e1fc81cf6bfd57d69dcd7 | [
"BSD-3-Clause"
] | 6 | 2017-04-03T21:27:16.000Z | 2019-08-28T17:05:23.000Z | src/collisions/CCollisionAABBTree.cpp | RoboticsDesignLab/chai3d | 66927fb9c81a173b988e1fc81cf6bfd57d69dcd7 | [
"BSD-3-Clause"
] | 53 | 2017-03-16T16:38:34.000Z | 2022-02-25T14:31:01.000Z | //==============================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2016, CHAI3D.
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are perm... | 33.627551 | 85 | 0.515552 | RoboticsDesignLab |
4f3be9cdfd8841e1b1156a3c1b68731caf68a254 | 9,802 | cpp | C++ | tools/legacy/sample_common/src/v4l2_util.cpp | cyew3/oneVPL | 0a7182acc895d895537bfc08b0e61f71523756c9 | [
"MIT"
] | null | null | null | tools/legacy/sample_common/src/v4l2_util.cpp | cyew3/oneVPL | 0a7182acc895d895537bfc08b0e61f71523756c9 | [
"MIT"
] | null | null | null | tools/legacy/sample_common/src/v4l2_util.cpp | cyew3/oneVPL | 0a7182acc895d895537bfc08b0e61f71523756c9 | [
"MIT"
] | null | null | null | /*############################################################################
# Copyright (C) Intel Corporation
#
# SPDX-License-Identifier: MIT
############################################################################*/
#if defined(ENABLE_V4L2_SUPPORT)
#include "v4l2_util.h"
#include <assert.h>
... | 29 | 98 | 0.574679 | cyew3 |
4f3c5ca1426a95256ec2b17b7f34f1ed0a32587b | 25,355 | cc | C++ | src/main/cpp/startup_options.cc | FengRillian/bazel | c962975f152e30741a3affb1d41dd885543bbea6 | [
"Apache-2.0"
] | 3 | 2019-03-18T23:49:16.000Z | 2021-05-30T09:44:18.000Z | src/main/cpp/startup_options.cc | installation00/bazel | 6f38f345a1bd278a71170c5d80aba3928afdc6ec | [
"Apache-2.0"
] | null | null | null | src/main/cpp/startup_options.cc | installation00/bazel | 6f38f345a1bd278a71170c5d80aba3928afdc6ec | [
"Apache-2.0"
] | 1 | 2020-03-14T09:39:13.000Z | 2020-03-14T09:39:13.000Z | // Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 40.118671 | 80 | 0.688069 | FengRillian |
4f3f451ae508e57f46b41a5bc2e5998a517e9af4 | 14,535 | cpp | C++ | evo-X-Scriptdev2/scripts/eastern_kingdoms/magisters_terrace/boss_selin_fireheart.cpp | Gigelf-evo-X/evo-X | d0e68294d8cacfc7fb3aed5572f51d09a47136b9 | [
"OpenSSL"
] | 1 | 2019-01-19T06:35:40.000Z | 2019-01-19T06:35:40.000Z | evo-X-Scriptdev2/scripts/eastern_kingdoms/magisters_terrace/boss_selin_fireheart.cpp | Gigelf-evo-X/evo-X | d0e68294d8cacfc7fb3aed5572f51d09a47136b9 | [
"OpenSSL"
] | null | null | null | evo-X-Scriptdev2/scripts/eastern_kingdoms/magisters_terrace/boss_selin_fireheart.cpp | Gigelf-evo-X/evo-X | d0e68294d8cacfc7fb3aed5572f51d09a47136b9 | [
"OpenSSL"
] | null | null | null | /* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any l... | 37.753247 | 220 | 0.578535 | Gigelf-evo-X |
4f4043f254089a663a5bb28a481138e3aee6ec0a | 9,804 | cpp | C++ | src/ngraph/pass/concat_fusion.cpp | ilya-lavrenov/ngraph | 2d8b2b4b30dbcabda0c3de2ae458418e63da057a | [
"Apache-2.0"
] | 1 | 2021-10-04T21:55:19.000Z | 2021-10-04T21:55:19.000Z | src/ngraph/pass/concat_fusion.cpp | ilya-lavrenov/ngraph | 2d8b2b4b30dbcabda0c3de2ae458418e63da057a | [
"Apache-2.0"
] | 1 | 2019-02-20T20:56:47.000Z | 2019-02-22T20:10:28.000Z | src/ngraph/pass/concat_fusion.cpp | darchr/ngraph | 7c540e5230f8143ecb6926685c7b49305f0f988a | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-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://w... | 34.64311 | 98 | 0.611179 | ilya-lavrenov |
4f40fb04ace20a1405092d8ec816fa716d6d4dad | 2,267 | hpp | C++ | legacy/include/distconv/tensor/algorithms/common_cuda.hpp | benson31/DiHydrogen | f12d1e0281ae58e40eadf98b3e2209208c82f5e2 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-01-06T17:26:58.000Z | 2021-12-11T01:17:43.000Z | legacy/include/distconv/tensor/algorithms/common_cuda.hpp | benson31/DiHydrogen | f12d1e0281ae58e40eadf98b3e2209208c82f5e2 | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2020-02-26T06:07:42.000Z | 2022-02-15T22:51:36.000Z | legacy/include/distconv/tensor/algorithms/common_cuda.hpp | benson31/DiHydrogen | f12d1e0281ae58e40eadf98b3e2209208c82f5e2 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2020-01-06T18:08:42.000Z | 2021-07-26T14:53:07.000Z | #pragma once
#include "distconv/tensor/tensor.hpp"
#include <type_traits>
namespace distconv {
namespace tensor {
namespace algorithms_cuda {
constexpr int DEFAULT_BLOCK_SIZE = 256;
constexpr int DEFAULT_MAX_THREAD_WORK_SIZE = 8;
template <int BLOCK_SIZE, int MAX_THREAD_WORK_SIZE>
void get_grid_dims(const Shape &... | 26.988095 | 64 | 0.660785 | benson31 |
4f41e682eb49c0dfed37f086bc2498247cab8872 | 1,521 | hpp | C++ | src/gmatutil/util/FileTypes.hpp | saichikine/GMAT | 80bde040e12946a61dae90d9fc3538f16df34190 | [
"Apache-2.0"
] | null | null | null | src/gmatutil/util/FileTypes.hpp | saichikine/GMAT | 80bde040e12946a61dae90d9fc3538f16df34190 | [
"Apache-2.0"
] | null | null | null | src/gmatutil/util/FileTypes.hpp | saichikine/GMAT | 80bde040e12946a61dae90d9fc3538f16df34190 | [
"Apache-2.0"
] | 1 | 2021-12-05T05:40:15.000Z | 2021-12-05T05:40:15.000Z | //$Id$
//------------------------------------------------------------------------------
// FileTypes
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2018 United States Government as represen... | 34.568182 | 80 | 0.605523 | saichikine |
4f42eb9b1307d853bc9238a25990ad05ea937dc1 | 66,540 | cpp | C++ | source/vulkan/vulkan_impl_type_convert.cpp | Meme-sys/reshade | 93380452fc6eb647a4cc5400ac1e81355ab91513 | [
"BSD-3-Clause"
] | null | null | null | source/vulkan/vulkan_impl_type_convert.cpp | Meme-sys/reshade | 93380452fc6eb647a4cc5400ac1e81355ab91513 | [
"BSD-3-Clause"
] | null | null | null | source/vulkan/vulkan_impl_type_convert.cpp | Meme-sys/reshade | 93380452fc6eb647a4cc5400ac1e81355ab91513 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2021 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/reshade#license
*/
#include "vulkan_hooks.hpp"
#include "vulkan_impl_device.hpp"
#include "vulkan_impl_type_convert.hpp"
auto reshade::vulkan::convert_format(api::format format) -> VkFormat
{
switch (format)
{
defa... | 39.963964 | 318 | 0.803817 | Meme-sys |
4f466eef0ecf08c25cce8d23e0725fcae85b11ae | 25,666 | cpp | C++ | src/slg/shapes/strands.cpp | tschw/LuxCore | 111009811c31a74595e25c290bfaa7d715db4192 | [
"Apache-2.0"
] | null | null | null | src/slg/shapes/strands.cpp | tschw/LuxCore | 111009811c31a74595e25c290bfaa7d715db4192 | [
"Apache-2.0"
] | null | null | null | src/slg/shapes/strands.cpp | tschw/LuxCore | 111009811c31a74595e25c290bfaa7d715db4192 | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
* Copyright 1998-2018 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... | 34.497312 | 115 | 0.636328 | tschw |
4f4bba1c4730ddcfad9104e4a9e7a97cf0f765c5 | 13,958 | cpp | C++ | software/arduino/libraries/OLED12864/OLED12864.cpp | ericyangs/5dof_arm | 21eb5db6642a602984b8c04a7d3fd6d0b3b37688 | [
"MIT"
] | null | null | null | software/arduino/libraries/OLED12864/OLED12864.cpp | ericyangs/5dof_arm | 21eb5db6642a602984b8c04a7d3fd6d0b3b37688 | [
"MIT"
] | null | null | null | software/arduino/libraries/OLED12864/OLED12864.cpp | ericyangs/5dof_arm | 21eb5db6642a602984b8c04a7d3fd6d0b3b37688 | [
"MIT"
] | null | null | null | #include <Wire.h>
#if defined( ESP8266 )
#include <pgmspace.h>
#else
#include <avr/pgmspace.h>
#endif
#include "OLED12864.h"
#include "oled12864font.c" // Change font file name to prevent overwrite from previous version
/*
Pending Issues
- Option for directDraw
- Public function for line d... | 23.819113 | 135 | 0.586904 | ericyangs |
4f4d47a102ddbcc0d4c60f8b5c3eaad9469b900b | 7,134 | hpp | C++ | public/inc/audio/smartx/rtprocessingfwx/IasSimpleAudioStream.hpp | juimonen/SmartXbar | 033f521a5dba5bce5e097df9c98af5b2cc2636dd | [
"BSD-3-Clause"
] | 5 | 2018-11-05T07:37:58.000Z | 2022-03-04T06:40:09.000Z | public/inc/audio/smartx/rtprocessingfwx/IasSimpleAudioStream.hpp | juimonen/SmartXbar | 033f521a5dba5bce5e097df9c98af5b2cc2636dd | [
"BSD-3-Clause"
] | null | null | null | public/inc/audio/smartx/rtprocessingfwx/IasSimpleAudioStream.hpp | juimonen/SmartXbar | 033f521a5dba5bce5e097df9c98af5b2cc2636dd | [
"BSD-3-Clause"
] | 7 | 2018-12-04T07:32:19.000Z | 2021-02-17T11:28:28.000Z | /*
* Copyright (C) 2018 Intel Corporation.All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file IasSimpleAudioStream.hpp
* @date 2013
* @brief The definition of the IasSimpleAudioStream class.
*/
#ifndef IASSIMPLEAUDIOSTREAM_HPP_
#define IASSIMPLEAUDIOSTREAM_HPP_
#include "audio/s... | 39.414365 | 127 | 0.679563 | juimonen |
4f4d7ec0cc920886ccf808cfb8d7a52e327eee14 | 41,269 | cpp | C++ | misc/repoconv/svn2git/svn-fast-export/svn.cpp | earl-ducaine/brlcad-mirror | 402bd3542a10618d1f749b264cadf9b0bd723546 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 1 | 2019-10-23T16:17:49.000Z | 2019-10-23T16:17:49.000Z | misc/repoconv/svn2git/svn-fast-export/svn.cpp | pombredanne/sf.net-brlcad | fb56f37c201b51241e8f3aa7b979436856f43b8c | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | misc/repoconv/svn2git/svn-fast-export/svn.cpp | pombredanne/sf.net-brlcad | fb56f37c201b51241e8f3aa7b979436856f43b8c | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2007 Thiago Macieira <thiago@kde.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... | 37.381341 | 192 | 0.608108 | earl-ducaine |
4f502396625432e8879c2f137301e2334a37bea6 | 14,541 | hpp | C++ | AirLib/include/physics/FastPhysicsEngine.hpp | 1508189250/AirSim | edf186f31cf4f5fc2085ecfbccd71041aab908ad | [
"MIT"
] | null | null | null | AirLib/include/physics/FastPhysicsEngine.hpp | 1508189250/AirSim | edf186f31cf4f5fc2085ecfbccd71041aab908ad | [
"MIT"
] | null | null | null | AirLib/include/physics/FastPhysicsEngine.hpp | 1508189250/AirSim | edf186f31cf4f5fc2085ecfbccd71041aab908ad | [
"MIT"
] | 3 | 2018-01-26T17:48:22.000Z | 2021-05-03T23:52:56.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef airsim_core_FastPhysicsEngine_hpp
#define airsim_core_FastPhysicsEngine_hpp
#include "common/Common.hpp"
#include "physics/PhysicsEngineBase.hpp"
#include <iostream>
#include <sstream>
#include <fstream>
... | 48.30897 | 174 | 0.598996 | 1508189250 |
4f506afcffadaf9162659db4ebaee3abce615de7 | 3,178 | cpp | C++ | lib/ofdirent.cpp | timmyw/ofsystem | 6f955d53dc3025148763333bea0a11d0bce28c06 | [
"MIT"
] | null | null | null | lib/ofdirent.cpp | timmyw/ofsystem | 6f955d53dc3025148763333bea0a11d0bce28c06 | [
"MIT"
] | null | null | null | lib/ofdirent.cpp | timmyw/ofsystem | 6f955d53dc3025148763333bea0a11d0bce28c06 | [
"MIT"
] | null | null | null | /*
Copyright (C) 1997-2011 by Suntail.com AS, Tim Whelan
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... | 32.428571 | 111 | 0.690686 | timmyw |
4f5a1e82254a216b948d13df57a75f6d2c6d8613 | 5,515 | cc | C++ | vendor/github.com/cockroachdb/c-rocksdb/internal_db_db_impl_experimental.cc | Matthewbalala/FabricSharp | a3000826dbcf70f9d8dc6a678d8d01e3a4eee3ba | [
"Apache-2.0"
] | 3 | 2021-05-25T03:12:11.000Z | 2021-09-29T01:29:10.000Z | vendor/github.com/cockroachdb/c-rocksdb/internal_db_db_impl_experimental.cc | Matthewbalala/FabricSharp | a3000826dbcf70f9d8dc6a678d8d01e3a4eee3ba | [
"Apache-2.0"
] | null | null | null | vendor/github.com/cockroachdb/c-rocksdb/internal_db_db_impl_experimental.cc | Matthewbalala/FabricSharp | a3000826dbcf70f9d8dc6a678d8d01e3a4eee3ba | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
// Copyright (c) ... | 36.282895 | 80 | 0.648776 | Matthewbalala |
4f5b076939ee5448da1311527d9402230a84e45d | 25,674 | hpp | C++ | src/data/vector.hpp | Harrand/Engine-A | 995fff8a7a07ac496c368a235659e72107b6b6cb | [
"Apache-2.0"
] | null | null | null | src/data/vector.hpp | Harrand/Engine-A | 995fff8a7a07ac496c368a235659e72107b6b6cb | [
"Apache-2.0"
] | null | null | null | src/data/vector.hpp | Harrand/Engine-A | 995fff8a7a07ac496c368a235659e72107b6b6cb | [
"Apache-2.0"
] | null | null | null | #ifndef VECTOR_HPP
#define VECTOR_HPP
#include <array>
#include <functional>
#include <cmath>
/**
* Vector to hold a quantity of some value. It's a glorified array.
* @tparam N - Number of elements
* @tparam T - Type of element
*/
template<unsigned int N, typename T>
class Vector
{
public:
/**
* Construct a Vec... | 33.692913 | 143 | 0.67099 | Harrand |
4f5c3023213f415f908d09fa80964d974b471659 | 7,522 | cpp | C++ | src/size.cpp | nstrayer/lobstr | df3b36eea420d8735c67e1d038c33d9f5bd9cd2d | [
"MIT"
] | null | null | null | src/size.cpp | nstrayer/lobstr | df3b36eea420d8735c67e1d038c33d9f5bd9cd2d | [
"MIT"
] | null | null | null | src/size.cpp | nstrayer/lobstr | df3b36eea420d8735c67e1d038c33d9f5bd9cd2d | [
"MIT"
] | null | null | null | #include <cpp11/environment.hpp>
#include <cpp11/doubles.hpp>
#include <cpp11/list.hpp>
#include <Rversion.h>
#include <set>
[[cpp11::register]]
double v_size(double n, int element_size) {
if (n == 0)
return 0;
double vec_size = std::max(sizeof(SEXP), sizeof(double));
double elements_per_byte = vec_size / e... | 33.431111 | 113 | 0.635469 | nstrayer |
4f5c8ae0c1a1052e426b99bd39e7e7266899ea52 | 97,258 | cpp | C++ | Plugins/org.mitk.lancet.nodeeditor/src/internal/NodeEditor.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | null | null | null | Plugins/org.mitk.lancet.nodeeditor/src/internal/NodeEditor.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T10:19:02.000Z | 2021-12-22T10:19:02.000Z | Plugins/org.mitk.lancet.nodeeditor/src/internal/NodeEditor.cpp | zhaomengxiao/MITK_lancet | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | null | null | null | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
================... | 44.008145 | 120 | 0.714327 | zhaomengxiao |
4f5e170f033b10eac7e869f8859c00580c9777ee | 526 | cpp | C++ | Assignment2/Motorcycle.cpp | JaeSungPak/Pocu_Test | 9f606e88236ef59bba1baea7a0199fd6c49fe478 | [
"MIT"
] | null | null | null | Assignment2/Motorcycle.cpp | JaeSungPak/Pocu_Test | 9f606e88236ef59bba1baea7a0199fd6c49fe478 | [
"MIT"
] | null | null | null | Assignment2/Motorcycle.cpp | JaeSungPak/Pocu_Test | 9f606e88236ef59bba1baea7a0199fd6c49fe478 | [
"MIT"
] | null | null | null | #include "Motorcycle.h"
namespace assignment2
{
Motorcycle::Motorcycle()
: Vehicle(2)
{
SetTravelAndRestTime(eTravelInfo::MOTORCYCLE_TRAVEL, eRestInfo::MOTORCYCLE_REST);
}
Motorcycle::~Motorcycle()
{
}
unsigned int Motorcycle::GetMaxSpeed() const
{
return GetDriveSpeed();
}
unsigned int Motorcycle::G... | 21.04 | 119 | 0.671103 | JaeSungPak |
4f64557c2369e155a3f92bc5f822ad51a39c2461 | 2,112 | cpp | C++ | src/game/sys/combat/comp/health_comp.cpp | lowkey42/MagnumOpus | 87897b16192323b40064119402c74e014a48caf3 | [
"MIT"
] | 5 | 2020-03-13T23:16:33.000Z | 2022-03-20T19:16:46.000Z | src/game/sys/combat/comp/health_comp.cpp | lowkey42/MagnumOpus | 87897b16192323b40064119402c74e014a48caf3 | [
"MIT"
] | 24 | 2015-04-20T20:26:23.000Z | 2015-11-20T22:39:38.000Z | src/game/sys/combat/comp/health_comp.cpp | lowkey42/medienprojekt | 87897b16192323b40064119402c74e014a48caf3 | [
"MIT"
] | 1 | 2022-03-08T03:11:21.000Z | 2022-03-08T03:11:21.000Z | #define MO_BUILD_SERIALIZER
#include "health_comp.hpp"
#include "../../../level/elements.hpp"
namespace mo {
namespace sys {
namespace combat {
void Health_comp::load(sf2::JsonDeserializer& state,
asset::Asset_manager&) {
std::vector<level::Element> resistences;
std::vector<level::Elem... | 25.445783 | 65 | 0.709754 | lowkey42 |
4f682d2c088bf9f8823befdef4ebcf31c214b746 | 2,951 | cpp | C++ | examples/Qt/common/VVGLRenderQThread.cpp | mrRay/VVISF-GL | 96b00da11e4497da304041ea2a5ffc6e3a8c9454 | [
"BSD-3-Clause"
] | 24 | 2019-01-17T17:56:18.000Z | 2022-02-27T19:57:13.000Z | examples/Qt/common/VVGLRenderQThread.cpp | mrRay/VVISF-GL | 96b00da11e4497da304041ea2a5ffc6e3a8c9454 | [
"BSD-3-Clause"
] | 6 | 2019-01-17T17:17:12.000Z | 2020-06-19T11:27:50.000Z | examples/Qt/common/VVGLRenderQThread.cpp | mrRay/VVISF-GL | 96b00da11e4497da304041ea2a5ffc6e3a8c9454 | [
"BSD-3-Clause"
] | 2 | 2020-12-25T04:57:31.000Z | 2021-03-02T22:05:31.000Z | #include "VVGLRenderQThread.h"
#include <QMutexLocker>
#include <QAbstractEventDispatcher>
#include <QDebug>
using namespace std;
using namespace VVGL;
VVGLRenderQThread::VVGLRenderQThread(const VVGL::GLContextRef & ctxToUse, QObject * parent) :
QThread(parent),
_ctx(ctxToUse)
{
//_ctx->moveToThread(this);
... | 23.420635 | 126 | 0.675364 | mrRay |
4f73c2c6265861405facac96a5c6ced99988e079 | 12,762 | cpp | C++ | src/ESocketAcceptor.cpp | cxxjava/CxxConet | 43a617636ab437616c15c20f9826247cb17a66f0 | [
"Apache-2.0"
] | 23 | 2017-05-11T01:42:15.000Z | 2021-11-24T06:50:51.000Z | src/ESocketAcceptor.cpp | cxxjava/CxxConet | 43a617636ab437616c15c20f9826247cb17a66f0 | [
"Apache-2.0"
] | null | null | null | src/ESocketAcceptor.cpp | cxxjava/CxxConet | 43a617636ab437616c15c20f9826247cb17a66f0 | [
"Apache-2.0"
] | 8 | 2017-05-11T07:55:22.000Z | 2022-01-14T09:14:09.000Z | /*
* ESocketAcceptor.cpp
*
* Created on: 2017-3-16
* Author: cxxjava@163.com
*/
#include "../inc/ESocketAcceptor.hh"
#include "./EManagedSession.hh"
namespace efc {
namespace naf {
#define SOCKET_BACKLOG_MIN 512
sp<ELogger> ESocketAcceptor::logger = ELoggerManager::getLogger("ESocketAcceptor");
ESocketA... | 27.563715 | 155 | 0.667294 | cxxjava |
4f78fcbdbcfecf3b88c31ed3ff0fbf9f121bd590 | 1,592 | hpp | C++ | libraries/chain/include/dfcio/chain/reversible_block_object.hpp | DFChainLab/DFChain | cc85da9f3efb0dd56e9bb5ce5f08e1c7a217e0a6 | [
"MIT"
] | null | null | null | libraries/chain/include/dfcio/chain/reversible_block_object.hpp | DFChainLab/DFChain | cc85da9f3efb0dd56e9bb5ce5f08e1c7a217e0a6 | [
"MIT"
] | null | null | null | libraries/chain/include/dfcio/chain/reversible_block_object.hpp | DFChainLab/DFChain | cc85da9f3efb0dd56e9bb5ce5f08e1c7a217e0a6 | [
"MIT"
] | null | null | null |
/**
* @file
* @copyright defined in dfc/LICENSE
*/
#pragma once
#include <dfcio/chain/types.hpp>
#include <dfcio/chain/authority.hpp>
#include <dfcio/chain/block_timestamp.hpp>
#include <dfcio/chain/contract_types.hpp>
#include "multi_index_includes.hpp"
namespace dfcio { namespace chain {
class reversible_... | 32.489796 | 133 | 0.690955 | DFChainLab |
4f7b4d313256e34b165512de6dfba9427285ef06 | 297 | cpp | C++ | XYCodeScan/Classes/Tool/CodeGenerator/OCCodeGen/GPropInfo.cpp | shaktim888/obfTools | 770a1177e0778c46ceab438719dc43594e618e22 | [
"MIT"
] | null | null | null | XYCodeScan/Classes/Tool/CodeGenerator/OCCodeGen/GPropInfo.cpp | shaktim888/obfTools | 770a1177e0778c46ceab438719dc43594e618e22 | [
"MIT"
] | null | null | null | XYCodeScan/Classes/Tool/CodeGenerator/OCCodeGen/GPropInfo.cpp | shaktim888/obfTools | 770a1177e0778c46ceab438719dc43594e618e22 | [
"MIT"
] | null | null | null | //
// GCPropInfo.cpp
// HYCodeScan
//
// Created by admin on 2020/7/28.
//
#include "GPropInfo.hpp"
namespace ocgen {
PropInfo * PropInfo::copy() {
auto p = new PropInfo();
p->name = name;
p->ret = ret;
p->readonly = readonly;
p->writeonly = writeonly;
return p;
}
}
| 14.142857 | 34 | 0.585859 | shaktim888 |
4f7c4a7f2359b0b3ea9048eca441e32c093656b6 | 1,443 | hpp | C++ | sprout/type_traits/is_move_constructible.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 691 | 2015-01-15T18:52:23.000Z | 2022-03-15T23:39:39.000Z | sprout/type_traits/is_move_constructible.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 22 | 2015-03-11T01:22:56.000Z | 2021-03-29T01:51:45.000Z | sprout/type_traits/is_move_constructible.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 57 | 2015-03-11T07:52:29.000Z | 2021-12-16T09:15:33.000Z | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | 34.357143 | 97 | 0.678448 | kevcadieux |
4f7c6b27475d593b448289c46b1ebeb3b35fade2 | 6,185 | cpp | C++ | bbs/valscan.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | bbs/valscan.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | bbs/valscan.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | /**************************************************************************/
/* */
/* WWIV Version 5.x */
/* Copyright (C)1998-2017, WWIV Software Services */
/* ... | 35.342857 | 117 | 0.437025 | k5jat |
4f7c6da74782243aa2b25067279d78cf0e531ab6 | 1,606 | hpp | C++ | llvm/tools/clang/test/CodeGen/tvm/SMVStats.hpp | VasiliyKuznetsov/TON-Compiler | 0573a06d03a2ee5618ff5f9be69738f17103db3d | [
"Apache-2.0"
] | null | null | null | llvm/tools/clang/test/CodeGen/tvm/SMVStats.hpp | VasiliyKuznetsov/TON-Compiler | 0573a06d03a2ee5618ff5f9be69738f17103db3d | [
"Apache-2.0"
] | null | null | null | llvm/tools/clang/test/CodeGen/tvm/SMVStats.hpp | VasiliyKuznetsov/TON-Compiler | 0573a06d03a2ee5618ff5f9be69738f17103db3d | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <tvm/schema/message.hpp>
#include <tvm/dict_array.hpp>
#include <tvm/log_sequence.hpp>
#include <tvm/replay_attack_protection/timestamp.hpp>
#include <tvm/smart_switcher.hpp>
namespace tvm { namespace schema {
// For internal purposes (fixed-size address)
struct TransferRecord {
uint256 propo... | 25.492063 | 93 | 0.737858 | VasiliyKuznetsov |
4f80888d2bd2db3fc8cb7731943e5bb37f289548 | 3,853 | cpp | C++ | liero/replay_to_video.cpp | lauri-kaariainen/emscripten_openliero | ab3268237c7084e00f3bccb4442f0ad7762d8419 | [
"BSD-2-Clause"
] | null | null | null | liero/replay_to_video.cpp | lauri-kaariainen/emscripten_openliero | ab3268237c7084e00f3bccb4442f0ad7762d8419 | [
"BSD-2-Clause"
] | 2 | 2015-02-11T09:43:33.000Z | 2015-02-11T17:57:58.000Z | liero/replay_to_video.cpp | lauri-kaariainen/emscripten_openliero | ab3268237c7084e00f3bccb4442f0ad7762d8419 | [
"BSD-2-Clause"
] | null | null | null | #include "replay_to_video.hpp"
#include <string>
#include "replay.hpp"
#include "filesystem.hpp"
#include "reader.hpp"
#include "mixer/player.hpp"
#include "game.hpp"
#include "gfx/renderer.hpp"
#include "text.hpp"
//#include <gvl/io/fstream.hpp>
#include <gvl/io2/fstream.hpp>
#include <memory>
extern... | 26.390411 | 102 | 0.715806 | lauri-kaariainen |
4f836635c73ec66724b0b1a8cec1c838763acd60 | 9,357 | cpp | C++ | openstudiocore/src/model/test/EnergyManagementSystemSensor_GTest.cpp | hellok-coder/OS-Testing | e9e18ad9e99f709a3f992601ed8d2e0662175af4 | [
"blessing"
] | 1 | 2019-11-12T02:07:03.000Z | 2019-11-12T02:07:03.000Z | openstudiocore/src/model/test/EnergyManagementSystemSensor_GTest.cpp | hellok-coder/OS-Testing | e9e18ad9e99f709a3f992601ed8d2e0662175af4 | [
"blessing"
] | 1 | 2019-02-04T23:30:45.000Z | 2019-02-04T23:30:45.000Z | openstudiocore/src/model/test/EnergyManagementSystemSensor_GTest.cpp | hellok-coder/OS-Testing | e9e18ad9e99f709a3f992601ed8d2e0662175af4 | [
"blessing"
] | null | null | null | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 43.724299 | 125 | 0.747782 | hellok-coder |
4f83a13894406908b50749e7774d201c65e4d3eb | 22,539 | cpp | C++ | cppForSwig/nodeRPC.cpp | BlockSettle/ArmoryDB | 7a63e722969b9cab94f25d569aa425c5c5a3db18 | [
"MIT"
] | null | null | null | cppForSwig/nodeRPC.cpp | BlockSettle/ArmoryDB | 7a63e722969b9cab94f25d569aa425c5c5a3db18 | [
"MIT"
] | 6 | 2019-06-07T15:48:56.000Z | 2020-03-09T10:30:39.000Z | cppForSwig/nodeRPC.cpp | BlockSettle/ArmoryDB | 7a63e722969b9cab94f25d569aa425c5c5a3db18 | [
"MIT"
] | 2 | 2019-05-30T12:15:29.000Z | 2019-10-27T22:46:49.000Z | ////////////////////////////////////////////////////////////////////////////////
// //
// Copyright (C) 2017, goatpig //
// Distributed under the MIT license ... | 27.32 | 89 | 0.56258 | BlockSettle |
4f85c139d06fb186ea38800e14479af8088a1fdd | 19,202 | cpp | C++ | folly/wangle/test/FutureTest.cpp | zunc/folly | 4ecd8cdd6396f2f4cbfc17c1063537884e3cd6b9 | [
"Apache-2.0"
] | 1 | 2018-01-18T07:35:45.000Z | 2018-01-18T07:35:45.000Z | folly/wangle/test/FutureTest.cpp | dario-DI/folly | 6e46d468cf2876dd59c7a4dddcb4e37abf070b7a | [
"Apache-2.0"
] | null | null | null | folly/wangle/test/FutureTest.cpp | dario-DI/folly | 6e46d468cf2876dd59c7a4dddcb4e37abf070b7a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2014 Facebook, 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... | 23.912827 | 77 | 0.621654 | zunc |
4f88e455f8cada13913b591be3f881a811f9a3f1 | 4,772 | cpp | C++ | aws-cpp-sdk-monitoring/source/model/AlarmHistoryItem.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-monitoring/source/model/AlarmHistoryItem.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-monitoring/source/model/AlarmHistoryItem.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 32.243243 | 157 | 0.711023 | ambasta |
4f8e2db5241737342e203840e3429179e1928b76 | 3,319 | cpp | C++ | libs/glm/test/core/core_type_length.cpp | ashishvista/opengl_makeover | 80ceef85c7ba6ac43d1895b5a19c5f287b1b4b00 | [
"Zlib"
] | 89 | 2020-08-31T02:59:08.000Z | 2022-03-17T13:31:22.000Z | test/core/core_type_length.cpp | seraphim0423/glm-deprecated | e1afbc9ceaacbc9aed7bb896d26c0872f8a2bf29 | [
"MIT"
] | 10 | 2015-08-09T21:10:55.000Z | 2015-08-10T02:50:07.000Z | src/external/glm-0.9.4.0/test/core/core_type_length.cpp | ScottTodd/GraphicsPractice | 31691d5fd0b674627e41362772737168c57ec698 | [
"MIT"
] | 58 | 2020-09-27T16:52:45.000Z | 2022-03-29T09:13:33.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2012 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2011-05-25
// Updated : 20... | 30.731481 | 99 | 0.475143 | ashishvista |
4f8ed4998c4eca25a989647b646df463b1ed3b44 | 1,596 | cpp | C++ | Source/ImGui/Private/ImGuiWidget.cpp | cl4nk/UnrealImGui | b0db66ff36974f4a52e07e094b152cd194e154a4 | [
"MIT"
] | null | null | null | Source/ImGui/Private/ImGuiWidget.cpp | cl4nk/UnrealImGui | b0db66ff36974f4a52e07e094b152cd194e154a4 | [
"MIT"
] | null | null | null | Source/ImGui/Private/ImGuiWidget.cpp | cl4nk/UnrealImGui | b0db66ff36974f4a52e07e094b152cd194e154a4 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "ImGuiPrivatePCH.h"
#include "ImGui.h"
#include "ImGuiModuleManager.h"
#include "ImGuiWidget.h"
#define LOCTEXT_NAMESPACE "UMG"
void UImGuiWidget::SetAsCurrent() const
{
if (MyImGuiWidget.IsValid())
{
if (FImGuiContextProxy ... | 23.820896 | 126 | 0.774436 | cl4nk |
4f91f944caf2b5460622afaa978b6b27cf7ce393 | 106,921 | cpp | C++ | VEngine/VEngine/src/Context.cpp | Hukunaa/VEngine | a5fe1e9ed4b43ba5d2c79bbbb7e0eac07d076f2d | [
"MIT"
] | 3 | 2020-03-18T19:45:18.000Z | 2021-05-07T05:23:54.000Z | VEngine/VEngine/src/Context.cpp | Hukunaa/VEngine | a5fe1e9ed4b43ba5d2c79bbbb7e0eac07d076f2d | [
"MIT"
] | null | null | null | VEngine/VEngine/src/Context.cpp | Hukunaa/VEngine | a5fe1e9ed4b43ba5d2c79bbbb7e0eac07d076f2d | [
"MIT"
] | null | null | null | #include <VContext.h>
#include <array>
#include <set>
#include <optix_function_table_definition.h>
#ifdef NDEBUG
const bool enableValidationLayers = false;
#else
const bool enableValidationLayers = true;
#endif
#define WIDTH 1920
#define HEIGHT 1080
#define INDEX_RAYGEN 0
#define INDEX_MISS 1
#define INDEX_SHADOWMI... | 41.929804 | 232 | 0.745307 | Hukunaa |
4f945887a0639bb27e42b1772d539ae84234e06c | 554 | hpp | C++ | legion/engine/physics/data/convex_convex_collision_info.hpp | Rythe-Interactive/Legion-Engine.rythe-legacy | e199689024436c40054942796ce9dcd4d097d7fd | [
"MIT"
] | 258 | 2020-10-22T07:09:57.000Z | 2021-09-09T05:47:09.000Z | legion/engine/physics/data/convex_convex_collision_info.hpp | LeonBrands/Legion-Engine | 40aa1f4a8c59eb0824de1cdda8e17d8dba7bed7c | [
"MIT"
] | 51 | 2020-11-17T13:02:10.000Z | 2021-09-07T18:19:39.000Z | legion/engine/physics/data/convex_convex_collision_info.hpp | LeonBrands/Legion-Engine | 40aa1f4a8c59eb0824de1cdda8e17d8dba7bed7c | [
"MIT"
] | 13 | 2020-12-08T08:06:48.000Z | 2021-09-09T05:47:19.000Z | #pragma once
#include <core/core.hpp>
#include <physics/data/pointer_encapsulator.hpp>
#include <physics/halfedgeedge.hpp>
#include <physics/halfedgeface.hpp>
namespace legion::physics
{
struct ConvexConvexCollisionInfo
{
math::vec3 edgeNormal;
float ARefSeperation, BRefSeperation, aToBEdgeSep... | 23.083333 | 65 | 0.727437 | Rythe-Interactive |
4f94fcca0733ae5cd14685f52dc88c66056c0292 | 8,318 | cpp | C++ | Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp | ry-sev/serenity | 4758dac21881cae6f1c7ff6e2257ef63c7eeb402 | [
"BSD-2-Clause"
] | 19,438 | 2019-05-20T15:11:11.000Z | 2022-03-31T23:31:32.000Z | Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp | ry-sev/serenity | 4758dac21881cae6f1c7ff6e2257ef63c7eeb402 | [
"BSD-2-Clause"
] | 7,882 | 2019-05-20T01:03:52.000Z | 2022-03-31T23:26:31.000Z | Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp | ry-sev/serenity | 4758dac21881cae6f1c7ff6e2257ef63c7eeb402 | [
"BSD-2-Clause"
] | 2,721 | 2019-05-23T00:44:57.000Z | 2022-03-31T22:49:34.000Z | /*
* Copyright (c) 2021, Cesar Torres <shortanemoia@protonmail.com>
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "SoundPlayerWidgetAdvancedView.h"
#include "BarsVisualizationWidget.h"
#include "Common.h"
#include "M3UParser.h"
#include "PlaybackManager.h"
... | 33.95102 | 160 | 0.72289 | ry-sev |
4f97d3ae1644ff5d7640881e58bffdacd8183339 | 8,932 | cpp | C++ | source/Lib/TLibRenderer/TRenImage.cpp | Joeyrr/ECP_EPM | 7e7034f6dbda973b316d17cb0b8d9e0256ad86a3 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | source/Lib/TLibRenderer/TRenImage.cpp | Joeyrr/ECP_EPM | 7e7034f6dbda973b316d17cb0b8d9e0256ad86a3 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | source/Lib/TLibRenderer/TRenImage.cpp | Joeyrr/ECP_EPM | 7e7034f6dbda973b316d17cb0b8d9e0256ad86a3 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2015, ITU/ISO/IEC
* All rights r... | 32.362319 | 264 | 0.705665 | Joeyrr |
4f9875ca05479fc6ef327a0e93fe7037a41bdb9a | 201 | cpp | C++ | demo/simple/simple/src/framesimplemainwindow.cpp | Qters/QrFrame | b5f119435fa8e80ddd02c4727cf60a39ffc153b1 | [
"Apache-2.0"
] | 1 | 2016-10-21T08:14:40.000Z | 2016-10-21T08:14:40.000Z | demo/simple/simple/src/framesimplemainwindow.cpp | Qters/QrFrame | b5f119435fa8e80ddd02c4727cf60a39ffc153b1 | [
"Apache-2.0"
] | null | null | null | demo/simple/simple/src/framesimplemainwindow.cpp | Qters/QrFrame | b5f119435fa8e80ddd02c4727cf60a39ffc153b1 | [
"Apache-2.0"
] | null | null | null | #include "framesimplemainwindow.h"
USING_NS_QRDEMO;
FrameSimpleMainWindow::FrameSimpleMainWindow(QWidget *parent)
: QrMainWindow(parent)
{
}
FrameSimpleMainWindow::~FrameSimpleMainWindow()
{
}
| 14.357143 | 61 | 0.791045 | Qters |
4f9add04f25b88050d4f340878a1bfca21aa857f | 2,833 | cpp | C++ | src/example/pegtl/uri.cpp | ClausKlein/PEGTL | d4278cb59a9b5b74e5e599ba4859c778b3121dc6 | [
"MIT"
] | null | null | null | src/example/pegtl/uri.cpp | ClausKlein/PEGTL | d4278cb59a9b5b74e5e599ba4859c778b3121dc6 | [
"MIT"
] | null | null | null | src/example/pegtl/uri.cpp | ClausKlein/PEGTL | d4278cb59a9b5b74e5e599ba4859c778b3121dc6 | [
"MIT"
] | null | null | null | // Copyright (c) 2017-2021 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#include <tao/pegtl.hpp>
#include <tao/pegtl/contrib/uri.hpp>
#include <iostream>
namespace pegtl = TAO_PEGTL_NAMESPACE;
struct URI
{
std::string scheme;
std::string authorit... | 31.477778 | 82 | 0.588069 | ClausKlein |
4f9ae25d42a405d521059d4e7536da4a580fc445 | 2,025 | cpp | C++ | src/main.cpp | klmr/guesstimate | 330892dad2fac91134e414bb148c855895211a3e | [
"BSD-3-Clause"
] | 1 | 2020-10-15T03:37:51.000Z | 2020-10-15T03:37:51.000Z | src/main.cpp | klmr/guesstimate | 330892dad2fac91134e414bb148c855895211a3e | [
"BSD-3-Clause"
] | null | null | null | src/main.cpp | klmr/guesstimate | 330892dad2fac91134e414bb148c855895211a3e | [
"BSD-3-Clause"
] | null | null | null | // ==========================================================================
// Guesstimate - Technology Constant Estimator
// ==========================================================================
// Copyright (c) 2011, Manuel Holtgrewe
// All rights reserved.
//
// Redistribution and use in source... | 48.214286 | 78 | 0.655802 | klmr |
4f9c2c878baf402030f1a4564098ce515828d2c5 | 633 | cpp | C++ | apps/core_test/main.cpp | max-delta/retrofit-public | 5447fd6399fd74ffbb75494c103940751000db12 | [
"X11"
] | 3 | 2019-10-27T22:32:44.000Z | 2020-05-21T04:00:46.000Z | apps/core_test/main.cpp | max-delta/retrofit-public | 5447fd6399fd74ffbb75494c103940751000db12 | [
"X11"
] | null | null | null | apps/core_test/main.cpp | max-delta/retrofit-public | 5447fd6399fd74ffbb75494c103940751000db12 | [
"X11"
] | null | null | null | #include "stdafx.h"
#include "core/macros.h"
#include "rftl/string"
namespace RF {
///////////////////////////////////////////////////////////////////////////////
TEST( Bootstrap, Pass )
{
RF_ASSERT( true );
ASSERT_TRUE( true );
}
///////////////////////////////////////////////////////////////////////////////
}
... | 17.583333 | 79 | 0.440758 | max-delta |
4f9cd5524214c1de620de02355c7207196458441 | 502 | hpp | C++ | src/main/cpp/platform-wrapper-regdriver/axiregdriver.hpp | DM-PRO-17-A/fpga-tidbits | 017226cb8d56353454e6a84e9c2dfda176ca4865 | [
"BSD-2-Clause"
] | null | null | null | src/main/cpp/platform-wrapper-regdriver/axiregdriver.hpp | DM-PRO-17-A/fpga-tidbits | 017226cb8d56353454e6a84e9c2dfda176ca4865 | [
"BSD-2-Clause"
] | null | null | null | src/main/cpp/platform-wrapper-regdriver/axiregdriver.hpp | DM-PRO-17-A/fpga-tidbits | 017226cb8d56353454e6a84e9c2dfda176ca4865 | [
"BSD-2-Clause"
] | null | null | null | #ifndef AXIREGDRIVER_H
#define AXIREGDRIVER_H
#include <stdint.h>
#include "wrapperregdriver.h"
class AXIRegDriver : public WrapperRegDriver {
public:
AXIRegDriver(void *baseAddr) {
m_baseAddr = (AccelReg *) baseAddr;
}
virtual ~AXIRegDriver() {}
virtual void writeReg(unsigned int regInd, AccelReg regV... | 17.310345 | 65 | 0.719124 | DM-PRO-17-A |
4f9d26eeaf71d33ebc9037a6ae49e3a3115554bb | 8,209 | cpp | C++ | ad_map_access/src/access/GeometryStore.cpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 61 | 2019-12-19T20:57:24.000Z | 2022-03-29T15:20:51.000Z | ad_map_access/src/access/GeometryStore.cpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 54 | 2020-04-05T05:32:47.000Z | 2022-03-15T18:42:33.000Z | ad_map_access/src/access/GeometryStore.cpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 31 | 2019-12-20T07:37:39.000Z | 2022-03-16T13:06:16.000Z | // ----------------- BEGIN LICENSE BLOCK ---------------------------------
//
// Copyright (C) 2018-2021 Intel Corporation
//
// SPDX-License-Identifier: MIT
//
// ----------------- END LICENSE BLOCK -----------------------------------
#include "GeometryStore.hpp"
#include <memory>
#include "ad/map/access/Logging.hpp"... | 24.875758 | 118 | 0.600926 | woojinjjang |
4f9d626d442baaed634e97cdccdec649c287f82f | 1,384 | cpp | C++ | src/input/test/req_type_test.cpp | fh-tech/CFLOP | 6df4bf40cf34b3b109adc18b622635f814b2f4f3 | [
"MIT"
] | 3 | 2018-04-30T21:48:04.000Z | 2019-01-24T05:07:11.000Z | src/input/test/req_type_test.cpp | fh-tech/CFLOP | 6df4bf40cf34b3b109adc18b622635f814b2f4f3 | [
"MIT"
] | null | null | null | src/input/test/req_type_test.cpp | fh-tech/CFLOP | 6df4bf40cf34b3b109adc18b622635f814b2f4f3 | [
"MIT"
] | null | null | null | //
// Created by vik on 25.04.18.
//
#include <gtest/gtest.h>
#include <input.h>
#include "json_requests.h"
using namespace input_lib;
TEST(make_req_type, req_type_nodes) {
std::array<req_type,5> results = {NODES_POST, NODES_DELETE, NODES_GET, NODES_PUT_START, NODES_PUT_END};
for(int i = 0; i < nodes_j_vec.s... | 26.113208 | 107 | 0.599711 | fh-tech |
4f9dc822d36e60a1cda23e23e1831df56bff1380 | 151,617 | cc | C++ | src/deoptimizer/deoptimizer.cc | hamzahamidi/v8 | d9fa5bce27a1680ab2d372f31f2721663044963e | [
"BSD-3-Clause"
] | null | null | null | src/deoptimizer/deoptimizer.cc | hamzahamidi/v8 | d9fa5bce27a1680ab2d372f31f2721663044963e | [
"BSD-3-Clause"
] | null | null | null | src/deoptimizer/deoptimizer.cc | hamzahamidi/v8 | d9fa5bce27a1680ab2d372f31f2721663044963e | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/deoptimizer/deoptimizer.h"
#include <memory>
#include "src/ast/prettyprinter.h"
#include "src/builtins/accessors.h"
#include "src/codege... | 37.809726 | 80 | 0.687509 | hamzahamidi |
4fa25ae6059c19eaf59014eee5b9c58e7cae2cb2 | 547 | hh | C++ | SimpleProxy/dispatcher/ibusiness_event.hh | svcx8/SimpleProxy | d8617ecfa64a12e1613108265f4c6c0b59627422 | [
"MIT"
] | null | null | null | SimpleProxy/dispatcher/ibusiness_event.hh | svcx8/SimpleProxy | d8617ecfa64a12e1613108265f4c6c0b59627422 | [
"MIT"
] | null | null | null | SimpleProxy/dispatcher/ibusiness_event.hh | svcx8/SimpleProxy | d8617ecfa64a12e1613108265f4c6c0b59627422 | [
"MIT"
] | null | null | null | #ifndef IBUSINESS_EVENT_HEADER
#define IBUSINESS_EVENT_HEADER
#include <cstdint>
#include <absl/status/status.h>
class IPoller;
class IBusinessEvent {
public:
virtual ~IBusinessEvent() {}
virtual absl::Status OnAcceptable(int) { return absl::OkStatus(); };
virtual absl::Status OnCloseable(int) { return ... | 27.35 | 72 | 0.71298 | svcx8 |
4fa39bebec315f4c3905e866dfd5dd6f499c793d | 4,428 | cc | C++ | plugins/kyotocabinet/nb_db_kyotocabinet.cc | rtsisyk/mininb | 959aa346f5294ee7fa0afb8e4e8b306a65afb8bd | [
"BSD-2-Clause"
] | 6 | 2015-07-01T13:12:58.000Z | 2016-03-28T05:15:46.000Z | plugins/kyotocabinet/nb_db_kyotocabinet.cc | rtsisyk/mininb | 959aa346f5294ee7fa0afb8e4e8b306a65afb8bd | [
"BSD-2-Clause"
] | 1 | 2015-07-01T13:16:39.000Z | 2015-07-01T13:16:39.000Z | plugins/kyotocabinet/nb_db_kyotocabinet.cc | rtsisyk/mininb | 959aa346f5294ee7fa0afb8e4e8b306a65afb8bd | [
"BSD-2-Clause"
] | null | null | null | /*
* 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 and the
* following disclaimer.
*
* 2. Redistribu... | 25.894737 | 77 | 0.712963 | rtsisyk |
4fa3e2e008182a61975450f3953dca6f99a7ee42 | 30,213 | cpp | C++ | level_zero/api/core/ze_core_loader.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | level_zero/api/core/ze_core_loader.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | level_zero/api/core/ze_core_loader.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/experimental/source/tracing/tracing_imp.h"
#include "level_zero/source/inc/ze_intel_gpu.h"
#include <level_zero/ze_api.h>
#include <level_zero/ze_ddi.h>
#include <level_zero/zet_api.h>
#include <level_zero/ze... | 48.186603 | 117 | 0.787873 | mattcarter2017 |
4fa49dfc22566a12573aaf42fe3b51b02c76c4e9 | 338 | cpp | C++ | COSC1076/week5/question02.cpp | davidkevork/RMIT | 41c17de726f28c06ee1321fd2e7ee699acfdd611 | [
"MIT"
] | null | null | null | COSC1076/week5/question02.cpp | davidkevork/RMIT | 41c17de726f28c06ee1321fd2e7ee699acfdd611 | [
"MIT"
] | null | null | null | COSC1076/week5/question02.cpp | davidkevork/RMIT | 41c17de726f28c06ee1321fd2e7ee699acfdd611 | [
"MIT"
] | null | null | null | #include <iostream>
int stringLength(char* string) {
int length = 0;
char lastChar = string[0];
while (lastChar != '\0') {
length += 1;
lastChar = string[length];
}
return length;
}
int main() {
char string[20] = "hello world";
std::cout << string << std::endl;
std::cout << stringLength(string... | 18.777778 | 49 | 0.600592 | davidkevork |
4fa5e3f37b31c1a52391f2d82cca7cf4c44f1d12 | 2,396 | cpp | C++ | src/common/file_buffer.cpp | shenyunlong/duckdb | ecb90f22b36a50b051fdd8e0d681bade3365c430 | [
"MIT"
] | null | null | null | src/common/file_buffer.cpp | shenyunlong/duckdb | ecb90f22b36a50b051fdd8e0d681bade3365c430 | [
"MIT"
] | 7 | 2020-08-25T22:24:16.000Z | 2020-09-06T00:16:49.000Z | src/common/file_buffer.cpp | shenyunlong/duckdb | ecb90f22b36a50b051fdd8e0d681bade3365c430 | [
"MIT"
] | null | null | null | #include "duckdb/common/file_buffer.hpp"
#include "duckdb/common/file_system.hpp"
#include "duckdb/common/helper.hpp"
#include "duckdb/common/checksum.hpp"
#include "duckdb/common/exception.hpp"
#include <cstring>
namespace duckdb {
using namespace std;
FileBuffer::FileBuffer(FileBufferType type, uint64_t bufsiz) : ... | 34.228571 | 116 | 0.738314 | shenyunlong |
4fa6098a8545c15491b9629bfd8f756c5152f9f9 | 7,546 | hpp | C++ | library/src/auxiliary/rocauxiliary_orm2l_unm2l.hpp | YvanMokwinski/rocSOLVER | 3ff9ad6e60da6dd5f6d3fe5ab02cf0d5bed9aa5f | [
"BSD-2-Clause"
] | null | null | null | library/src/auxiliary/rocauxiliary_orm2l_unm2l.hpp | YvanMokwinski/rocSOLVER | 3ff9ad6e60da6dd5f6d3fe5ab02cf0d5bed9aa5f | [
"BSD-2-Clause"
] | null | null | null | library/src/auxiliary/rocauxiliary_orm2l_unm2l.hpp | YvanMokwinski/rocSOLVER | 3ff9ad6e60da6dd5f6d3fe5ab02cf0d5bed9aa5f | [
"BSD-2-Clause"
] | null | null | null | /************************************************************************
* Derived from the BSD3-licensed
* LAPACK routine (version 3.7.0) --
* Univ. of Tennessee, Univ. of California Berkeley,
* Univ. of Colorado Denver and NAG Ltd..
* December 2016
* Copyright (c) 2019-2021 Advanced Micro Devices, ... | 38.111111 | 100 | 0.45428 | YvanMokwinski |
4fa87be11855da78c6587ab7fcfc031daca74187 | 1,037 | cpp | C++ | tests/in_place.cpp | NathanSWard/optional | 71de89349f982e7a6dd02b87a5f3d083161f8eca | [
"CC0-1.0"
] | 2 | 2019-09-03T13:45:03.000Z | 2019-09-03T13:45:21.000Z | tests/in_place.cpp | e-schumann/optional | e165e3554c888e7969513e1c5cdf3d9ffce642f7 | [
"CC0-1.0"
] | null | null | null | tests/in_place.cpp | e-schumann/optional | e165e3554c888e7969513e1c5cdf3d9ffce642f7 | [
"CC0-1.0"
] | null | null | null | #include "catch.hpp"
#include <tl/optional.hpp>
#include <tuple>
#include <vector>
struct takes_init_and_variadic {
std::vector<int> v;
std::tuple<int, int> t;
template <class... Args>
takes_init_and_variadic(std::initializer_list<int> l, Args &&... args)
: v(l), t(std::forward<Args>(args)...) {}
};
TE... | 24.690476 | 72 | 0.594021 | NathanSWard |
4faea4ab3ce93c24e81efae27f6558f7c174b84b | 47,171 | cpp | C++ | src/bdap/linkmanager.cpp | AmirAbrams/dynamic-swap | a102b9750f023b8617dcb4447025503307812959 | [
"MIT"
] | 76 | 2017-04-06T13:58:15.000Z | 2022-01-04T16:36:58.000Z | src/bdap/linkmanager.cpp | AmirAbrams/dynamic-swap | a102b9750f023b8617dcb4447025503307812959 | [
"MIT"
] | 181 | 2016-11-19T21:09:35.000Z | 2021-08-21T02:57:23.000Z | src/bdap/linkmanager.cpp | duality-solutions/Dynamic-2 | 432c340140307340d1babced012d0de51dbf64ae | [
"MIT"
] | 61 | 2017-01-08T11:30:24.000Z | 2021-08-13T07:06:46.000Z | // Copyright (c) 2019-2021 Duality Blockchain Solutions Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bdap/linkmanager.h"
#include "bdap/domainentry.h"
#include "bdap/domainentrydb.h"
#include "bdap/linki... | 47.265531 | 254 | 0.545271 | AmirAbrams |
4fb200e44ebaa6efdcfc1efaec83b8ffcc78b838 | 2,997 | hpp | C++ | examples/record_printer/client_hello_record.hpp | pioneer19/libcornet | 9eb91629d8f9a6793b28af10a3535bfba0cc24ca | [
"Apache-2.0"
] | 1 | 2020-07-25T06:39:24.000Z | 2020-07-25T06:39:24.000Z | examples/record_printer/client_hello_record.hpp | pioneer19/libcornet | 9eb91629d8f9a6793b28af10a3535bfba0cc24ca | [
"Apache-2.0"
] | 1 | 2020-07-25T05:32:10.000Z | 2020-07-25T05:32:10.000Z | examples/record_printer/client_hello_record.hpp | pioneer19/libcornet | 9eb91629d8f9a6793b28af10a3535bfba0cc24ca | [
"Apache-2.0"
] | 1 | 2020-07-25T05:28:54.000Z | 2020-07-25T05:28:54.000Z | /*
* Copyright 2020 Alex Syrnikov <pioneer19@post.cz>
* SPDX-License-Identifier: Apache-2.0
*
* This file is part of libcornet (https://github.com/pioneer19/libcornet).
*/
const uint8_t tls13_client_hello_record[] = {
0x16, 0x03, 0x01, 0x00, 0xea, // TlsPlaintext handshake, legacy version, length
... | 48.33871 | 91 | 0.54688 | pioneer19 |
4fb215be17b7a517f5c703eef67e7a23eb9a1c2c | 73,408 | cpp | C++ | src/mongo/s/commands_admin.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | null | null | null | src/mongo/s/commands_admin.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | null | null | null | src/mongo/s/commands_admin.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2008 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | 45.538462 | 156 | 0.468314 | nleite |
4fb26419819029cbca5a4561cdcaaa756c6d76f2 | 895 | cpp | C++ | src/playground/oop.cpp | yyqian/cpp-arsenal | 1f3ce5c044d388a7ddc81f326f304c3acfa420fc | [
"MIT"
] | null | null | null | src/playground/oop.cpp | yyqian/cpp-arsenal | 1f3ce5c044d388a7ddc81f326f304c3acfa420fc | [
"MIT"
] | null | null | null | src/playground/oop.cpp | yyqian/cpp-arsenal | 1f3ce5c044d388a7ddc81f326f304c3acfa420fc | [
"MIT"
] | null | null | null | #include <string>
class Quote {
public:
Quote() = default;
Quote(const std::string &book, double sales_price)
: bookNo(book), price(sales_price) {}
std::string isbn() const { return bookNo; }
virtual double net_price(std::size_t n) const { return n * price; }
virtual ~Quote() = default;
p... | 23.552632 | 78 | 0.625698 | yyqian |
4fb59c89f9637b5a55fea3244994655ee8f3d196 | 2,981 | cc | C++ | code/render/coregraphics/base/multiplerendertargetbase.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/render/coregraphics/base/multiplerendertargetbase.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/render/coregraphics/base/multiplerendertargetbase.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// multiplerendertargetbase.cc
// (C) 2007 Radon Labs GmbH
// (C) 2013-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "coregra... | 25.05042 | 84 | 0.482724 | gscept |
4fb7a2f953cc7c8e7943c2a7b5d9c4caf1c4d5a3 | 1,144 | cpp | C++ | cpp/subprojects/common/src/common/data/vector_dok.cpp | Waguy02/Boomer-Scripted | b06bb9213d64dca0c05d41701dea12666931618c | [
"MIT"
] | 8 | 2020-06-30T01:06:43.000Z | 2022-03-14T01:58:29.000Z | cpp/subprojects/common/src/common/data/vector_dok.cpp | Waguy02/Boomer-Scripted | b06bb9213d64dca0c05d41701dea12666931618c | [
"MIT"
] | 3 | 2020-12-14T11:30:18.000Z | 2022-02-07T06:31:51.000Z | cpp/subprojects/common/src/common/data/vector_dok.cpp | Waguy02/Boomer-Scripted | b06bb9213d64dca0c05d41701dea12666931618c | [
"MIT"
] | 4 | 2020-06-24T08:45:00.000Z | 2021-12-23T21:44:51.000Z | #include "common/data/vector_dok.hpp"
template<typename T>
DokVector<T>::DokVector(T sparseValue)
: sparseValue_(sparseValue) {
}
template<typename T>
typename DokVector<T>::iterator DokVector<T>::begin() {
return data_.begin();
}
template<typename T>
typename DokVector<T>::iterator DokVector<T>::end() {
... | 21.584906 | 68 | 0.698427 | Waguy02 |
4fb7e82857d84cd5366a009336fff5bb0ea3b537 | 1,814 | cpp | C++ | tests/src/test_rates_root.cpp | JhaPrajjwal/k40gen | 89cd669d8e7327569705033ea299f32849a0a896 | [
"Apache-2.0"
] | 3 | 2019-03-22T15:03:29.000Z | 2019-07-03T12:08:48.000Z | tests/src/test_rates_root.cpp | JhaPrajjwal/k40gen | 89cd669d8e7327569705033ea299f32849a0a896 | [
"Apache-2.0"
] | 1 | 2019-04-01T08:21:04.000Z | 2019-04-01T08:22:45.000Z | tests/src/test_rates_root.cpp | JhaPrajjwal/k40gen | 89cd669d8e7327569705033ea299f32849a0a896 | [
"Apache-2.0"
] | 5 | 2019-03-22T15:03:33.000Z | 2019-07-16T19:19:40.000Z | #include <numeric>
#include <iostream>
#include <array>
#include <iomanip>
#include <generate.h>
#include <storage.h>
#include <test_functions.h>
#include <TApplication.h>
#include <TH1.h>
#include <TF1.h>
#include <TFitResult.h>
#include <TCanvas.h>
#include <TROOT.h>
#define CATCH_CONFIG_RUNNER
#include "catch2/c... | 26.289855 | 104 | 0.601985 | JhaPrajjwal |
4fb84a3b3aa2b769bcbd0205f640df54c7e9d1fc | 13,607 | cc | C++ | src/atlas/parallel/GatherScatter.cc | wdeconinck/atlas | 8949d2b362b9b5431023a967bcf4ca84f6b8ce05 | [
"Apache-2.0"
] | 3 | 2021-08-17T03:08:45.000Z | 2021-09-09T09:22:54.000Z | src/atlas/parallel/GatherScatter.cc | pmarguinaud/atlas | 7e0a1251685e07a5dcccc84f4d9251d5a066e2ee | [
"Apache-2.0"
] | 62 | 2020-10-21T15:27:38.000Z | 2022-03-28T12:42:43.000Z | src/atlas/parallel/GatherScatter.cc | pmarguinaud/atlas | 7e0a1251685e07a5dcccc84f4d9251d5a066e2ee | [
"Apache-2.0"
] | 1 | 2021-03-10T19:19:08.000Z | 2021-03-10T19:19:08.000Z | /*
* (C) Copyright 2013 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an intergo... | 36.18883 | 120 | 0.582715 | wdeconinck |
4fbd4fd29e2e81fd5b8e65f374e2602f9d35217e | 9,645 | cpp | C++ | AVSCommon/Utils/src/LibcurlUtils/LibCurlHttpContentFetcher.cpp | merdahl/avs-device-sdk | 2cc16d8cc472afc9b7a736a8c1169f12b71dd229 | [
"Apache-2.0"
] | 1 | 2022-01-09T21:26:04.000Z | 2022-01-09T21:26:04.000Z | AVSCommon/Utils/src/LibcurlUtils/LibCurlHttpContentFetcher.cpp | justdoGIT/avs-device-sdk | 2cc16d8cc472afc9b7a736a8c1169f12b71dd229 | [
"Apache-2.0"
] | null | null | null | AVSCommon/Utils/src/LibcurlUtils/LibCurlHttpContentFetcher.cpp | justdoGIT/avs-device-sdk | 2cc16d8cc472afc9b7a736a8c1169f12b71dd229 | [
"Apache-2.0"
] | 1 | 2018-10-12T07:58:44.000Z | 2018-10-12T07:58:44.000Z | /*
* LibCurlHttpContentFetcher.cpp
*
* Copyright 2016-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.ama... | 45.928571 | 120 | 0.655677 | merdahl |
4fbd68a1b78c449f2e424f71ef756e62ead38c8b | 4,317 | cpp | C++ | source/PyMaterialX/PyMaterialXCore/PyDefinition.cpp | nzanepro/MaterialX | 9100ac81231d87f7fbf4dc32f7030867e466bc41 | [
"BSD-3-Clause"
] | null | null | null | source/PyMaterialX/PyMaterialXCore/PyDefinition.cpp | nzanepro/MaterialX | 9100ac81231d87f7fbf4dc32f7030867e466bc41 | [
"BSD-3-Clause"
] | null | null | null | source/PyMaterialX/PyMaterialXCore/PyDefinition.cpp | nzanepro/MaterialX | 9100ac81231d87f7fbf4dc32f7030867e466bc41 | [
"BSD-3-Clause"
] | null | null | null | //
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <PyMaterialX/PyMaterialX.h>
#include <MaterialXCore/Definition.h>
#include <MaterialXCore/Material.h>
namespace py = pybind11;
namespace mx = MaterialX;
void bindPyDefinitio... | 50.197674 | 102 | 0.665508 | nzanepro |
4fbf226090e4518546a97c8a6309253c44196e1c | 1,756 | hpp | C++ | lshkit/trunk/3rd-party/boost/boost/mpl/aux_/msvc_eti_base.hpp | wzj1695224/BinClone | 3b6dedb9a1f08be6dbcdce8f3278351ef5530ed8 | [
"Apache-2.0"
] | 21 | 2015-05-22T09:22:16.000Z | 2021-04-06T18:54:07.000Z | lshkit/trunk/3rd-party/boost/boost/mpl/aux_/msvc_eti_base.hpp | mrfarhadi/BinClone | 035c20ab27ec00935c12ce54fe9c52bba4aaeff2 | [
"Apache-2.0"
] | 1 | 2020-05-21T08:43:19.000Z | 2020-05-21T08:43:19.000Z | lshkit/trunk/3rd-party/boost/boost/mpl/aux_/msvc_eti_base.hpp | mrfarhadi/BinClone | 035c20ab27ec00935c12ce54fe9c52bba4aaeff2 | [
"Apache-2.0"
] | 11 | 2015-09-08T20:56:14.000Z | 2019-12-22T12:52:45.000Z |
#ifndef BOOST_MPL_AUX_MSVC_ETI_BASE_HPP_INCLUDED
#define BOOST_MPL_AUX_MSVC_ETI_BASE_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-2004
//
// 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)
//
// See http://ww... | 22.512821 | 67 | 0.702733 | wzj1695224 |
4fc1fb870b57f09e99aab228be1843909616589a | 5,030 | cpp | C++ | src/Widgets/ThemesSettingsPanel.cpp | huntermalm/Layers | 1f2f6eabe3be8dfbc60d682ca47543f7807a0bbf | [
"MIT"
] | null | null | null | src/Widgets/ThemesSettingsPanel.cpp | huntermalm/Layers | 1f2f6eabe3be8dfbc60d682ca47543f7807a0bbf | [
"MIT"
] | null | null | null | src/Widgets/ThemesSettingsPanel.cpp | huntermalm/Layers | 1f2f6eabe3be8dfbc60d682ca47543f7807a0bbf | [
"MIT"
] | null | null | null | #include "../../include/AttributeWidgets.h"
#include "../../include/Application.h"
#include "../../include/Layouts.h"
#include "../../include/SettingsPanels.h"
using Layers::Button;
using Layers::Combobox;
using Layers::Theme;
using Layers::ThemesSettingsPanel;
ThemesSettingsPanel::ThemesSettingsPanel(QWidget* parent... | 30.11976 | 84 | 0.79841 | huntermalm |
4fc32173d2cdfb2532a258a3d90c2c36ecacdf0f | 1,809 | inl | C++ | dependencies/checkframebufferstatus/checkFramebufferStatus.inl | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | 6 | 2015-12-29T07:21:01.000Z | 2020-05-29T10:47:38.000Z | dependencies/checkframebufferstatus/checkFramebufferStatus.inl | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | dependencies/checkframebufferstatus/checkFramebufferStatus.inl | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | /*! \file checkFramebufferStatus.inl
* \author Jared Hoberock
* \brief Inline file for checkFramebufferStatus.h.
*/
#include "checkFramebufferStatus.h"
#include <iostream>
void checkFramebufferStatus(const char *filename, const unsigned int lineNumber)
{
GLenum status = glCheckFramebufferStatusEXT(GL... | 28.714286 | 86 | 0.627418 | jaredhoberock |
4fc35df192304b723558bbf337928fba775972f7 | 7,310 | cpp | C++ | src/lib/operators/projection.cpp | dey4ss/hyrise | c304b9ced36044e303eb8a4d68a05fc7edc04819 | [
"MIT"
] | null | null | null | src/lib/operators/projection.cpp | dey4ss/hyrise | c304b9ced36044e303eb8a4d68a05fc7edc04819 | [
"MIT"
] | null | null | null | src/lib/operators/projection.cpp | dey4ss/hyrise | c304b9ced36044e303eb8a4d68a05fc7edc04819 | [
"MIT"
] | null | null | null | #include "projection.hpp"
#include <algorithm>
#include <functional>
#include <memory>
#include <numeric>
#include <string>
#include <utility>
#include <vector>
#include "expression/evaluation/expression_evaluator.hpp"
#include "expression/expression_utils.hpp"
#include "expression/pqp_column_expression.hpp"
#include... | 45.123457 | 119 | 0.723119 | dey4ss |
4fc3d34ec7353af5e033a67beba373d497b54d53 | 790 | cpp | C++ | Part3/eleven.cpp | praseedpai/BasicCppCourse | fb6c2300dfb48961a5f647a51eb9c2032bfb45ea | [
"MIT"
] | null | null | null | Part3/eleven.cpp | praseedpai/BasicCppCourse | fb6c2300dfb48961a5f647a51eb9c2032bfb45ea | [
"MIT"
] | null | null | null | Part3/eleven.cpp | praseedpai/BasicCppCourse | fb6c2300dfb48961a5f647a51eb9c2032bfb45ea | [
"MIT"
] | 1 | 2021-05-03T16:09:46.000Z | 2021-05-03T16:09:46.000Z | ///////////////////////////////////
// eleven.cpp
// A C/C++ program to demonstrate pointers
// g++ -oeleven.exe eleven.cpp
// cl /Feeleven.exe eleven.cpp
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main( int argc , char **argv , char **envp ){
int arr[] = { 0,2,4,5,6};
int arr_count = sizeof(... | 29.259259 | 71 | 0.556962 | praseedpai |
4fc70deb3e9d24c0023e94283629a9144144c227 | 15,279 | cpp | C++ | ChipsEninge/02_Script/DirectX/Effects/Effects.cpp | jerrypoiu/DX11_ChipsEngine2021 | a558fb0013259a380d68b66142fc48b575208980 | [
"MIT"
] | 1 | 2021-01-25T11:38:21.000Z | 2021-01-25T11:38:21.000Z | ChipsEninge/02_Script/DirectX/Effects/Effects.cpp | jerrypoiu/ChipsEngine | a558fb0013259a380d68b66142fc48b575208980 | [
"MIT"
] | null | null | null | ChipsEninge/02_Script/DirectX/Effects/Effects.cpp | jerrypoiu/ChipsEngine | a558fb0013259a380d68b66142fc48b575208980 | [
"MIT"
] | null | null | null | #include "DirectX/Effects/Effects.h"
#pragma region Effect
Effect::Effect(ID3D11Device* device, const std::wstring& filename)
: mFX(0)
{
std::ifstream fin(filename, std::ios::binary);
fin.seekg(0, std::ios_base::end);
int size = (int)fin.tellg();
fin.seekg(0, std::ios_base::beg);
std::vector<char> compiledShade... | 48.504762 | 100 | 0.764579 | jerrypoiu |
4fcca642dc4aeab95c4edaad254336a279d46d27 | 5,675 | cpp | C++ | src/render/EnvironmentMapPass.cpp | Kuranes/KickstartRT_demo | 6de7453ca42e46db180f8bead7ba23f9e8936b69 | [
"MIT"
] | 83 | 2021-07-19T13:55:33.000Z | 2022-03-29T16:00:57.000Z | src/render/EnvironmentMapPass.cpp | CompileException/donut | bc400a8c2c9db9c3c5ed16190dc108e75722b503 | [
"MIT"
] | 2 | 2021-11-04T06:41:28.000Z | 2021-11-30T08:25:28.000Z | src/render/EnvironmentMapPass.cpp | CompileException/donut | bc400a8c2c9db9c3c5ed16190dc108e75722b503 | [
"MIT"
] | 10 | 2021-07-19T15:03:58.000Z | 2022-01-10T07:15:35.000Z | /*
* Copyright (c) 2014-2021, NVIDIA CORPORATION. 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,... | 42.350746 | 146 | 0.728458 | Kuranes |
4fd0363b306ceb4c7c6dc060c357e2cec1a701a8 | 6,434 | hh | C++ | GeometryService/inc/G4GeometryOptions.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 9 | 2020-03-28T00:21:41.000Z | 2021-12-09T20:53:26.000Z | GeometryService/inc/G4GeometryOptions.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 684 | 2019-08-28T23:37:43.000Z | 2022-03-31T22:47:45.000Z | GeometryService/inc/G4GeometryOptions.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 61 | 2019-08-16T23:28:08.000Z | 2021-12-20T08:29:48.000Z | #ifndef G4GEOMETRY_OPTIONS
#define G4GEOMETRY_OPTIONS
//
// G4 geometry options look-up facility, to be used in conjunction
// with SimpleConfig.
//
//
// Original author: Kyle Knoepfel
//
// This method is used for setting and overriding various flags that
// are specified when creating volumes in G4. Ideally, it wou... | 36.350282 | 106 | 0.613926 | lborrel |
4fd0fa30ee8922027abd6fd8dc0fa3da87685323 | 291 | cpp | C++ | mitsui/mitsuiA.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | mitsui/mitsuiA.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | 3 | 2021-03-31T01:39:25.000Z | 2021-05-04T10:02:35.000Z | mitsui/mitsuiA.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <cstdio>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
int A, B, C, D;
cin >> A >> B >> C >> D;
if (A != C)
{
cout << 1 << "\n";
return 0;
}
cout << 0 << "\n";
return 0;
}
| 14.55 | 28 | 0.474227 | KoukiNAGATA |
4fd8ce5bb6a5438c2c7c90bf28f7aace7da37961 | 1,791 | hpp | C++ | include/StackImpl.hpp | Slava-100/lab-05-stack | 06a365e8c27870e2b133cc9ee9102b9e41247a49 | [
"MIT"
] | null | null | null | include/StackImpl.hpp | Slava-100/lab-05-stack | 06a365e8c27870e2b133cc9ee9102b9e41247a49 | [
"MIT"
] | null | null | null | include/StackImpl.hpp | Slava-100/lab-05-stack | 06a365e8c27870e2b133cc9ee9102b9e41247a49 | [
"MIT"
] | null | null | null | // Copyright 2021 Slava-100 <svat.strel.2001@gmail.com>
#ifndef INCLUDE_STACKIMPL_HPP_
#define INCLUDE_STACKIMPL_HPP_
#include <utility>
template <typename T>
class StackImpl {
public:
StackImpl() : _tail(nullptr), _size(0) {}
StackImpl(const StackImpl &) = delete;
StackImpl(StackImpl &&) = delete;
StackI... | 22.3875 | 74 | 0.639308 | Slava-100 |
4fd93003389cc1ccc0a29376623c280ab7874358 | 6,055 | cpp | C++ | libgpopt/src/xforms/CXformSimplifyGbAgg.cpp | davidli2010/gporca | 4c946e5e41051c832736b2fce712c37ca651ddf5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/xforms/CXformSimplifyGbAgg.cpp | davidli2010/gporca | 4c946e5e41051c832736b2fce712c37ca651ddf5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/xforms/CXformSimplifyGbAgg.cpp | davidli2010/gporca | 4c946e5e41051c832736b2fce712c37ca651ddf5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CXformSimplifyGbAgg.cpp
//
// @doc:
// Implementation of simplifying an aggregate expression by finding
// the minimal grouping columns based on functional dependenc... | 26.911111 | 121 | 0.623452 | davidli2010 |
4fdc6c1719a2d84e03001c2f4eb4ce38d1fc074b | 4,189 | cc | C++ | src/mem/spm/governor/explicit_local_spm.cc | danned/gem5spm-riscv | 4790fd1ec5972dae40c1871283121041296984e5 | [
"BSD-3-Clause"
] | 3 | 2019-03-26T14:51:39.000Z | 2021-12-23T04:47:09.000Z | src/mem/spm/governor/explicit_local_spm.cc | danned/gem5spm-riscv | 4790fd1ec5972dae40c1871283121041296984e5 | [
"BSD-3-Clause"
] | null | null | null | src/mem/spm/governor/explicit_local_spm.cc | danned/gem5spm-riscv | 4790fd1ec5972dae40c1871283121041296984e5 | [
"BSD-3-Clause"
] | 1 | 2019-04-01T03:22:57.000Z | 2019-04-01T03:22:57.000Z | #include "mem/spm/governor/explicit_local_spm.hh"
#include <iostream>
ExplicitLocalSPM *
ExplicitLocalSPMParams::create()
{
return new ExplicitLocalSPM(this);
}
ExplicitLocalSPM::ExplicitLocalSPM(const Params *p)
: BaseGovernor(p)
{
gov_type = "ExplicitLocal";
}
ExplicitLocalSPM::~ExplicitLocalSPM()
{
... | 34.908333 | 97 | 0.664359 | danned |
4fdc7935166d58b7a66106112a6a2a1f4ae9af45 | 8,768 | cc | C++ | lite/kernels/host/generate_proposals_compute.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 1,799 | 2019-08-19T03:29:38.000Z | 2022-03-31T14:30:50.000Z | lite/kernels/host/generate_proposals_compute.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 3,767 | 2019-08-19T03:36:04.000Z | 2022-03-31T14:37:26.000Z | lite/kernels/host/generate_proposals_compute.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 798 | 2019-08-19T02:28:23.000Z | 2022-03-31T08:31:54.000Z | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// 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... | 38.625551 | 80 | 0.649293 | wanglei91 |
4fdcc9f7ff1c8b0928366d3a70940ed2cf2e80a4 | 30,056 | cpp | C++ | Source/core/svg/SVGUseElement.cpp | scheib/blink | d18c0cc5b4e96ea87c556bfa57955538de498a9f | [
"BSD-3-Clause"
] | 1 | 2017-08-25T05:15:52.000Z | 2017-08-25T05:15:52.000Z | Source/core/svg/SVGUseElement.cpp | scheib/blink | d18c0cc5b4e96ea87c556bfa57955538de498a9f | [
"BSD-3-Clause"
] | null | null | null | Source/core/svg/SVGUseElement.cpp | scheib/blink | d18c0cc5b4e96ea87c556bfa57955538de498a9f | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
* Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
* Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
* Copyright (C)... | 39.288889 | 172 | 0.694504 | scheib |
4fdee9a5c071edd7361349f9787638d4247466b2 | 10,690 | cpp | C++ | source/common/widgets/StackedContainer.cpp | varunamachi/quartz | 29b0cf7fb981ec95db894259e32af233f64fa616 | [
"MIT"
] | 6 | 2018-01-07T18:11:27.000Z | 2022-03-25T03:32:45.000Z | source/common/widgets/StackedContainer.cpp | varunamachi/quartz | 29b0cf7fb981ec95db894259e32af233f64fa616 | [
"MIT"
] | 8 | 2019-02-28T02:25:53.000Z | 2019-02-28T15:47:18.000Z | source/common/widgets/StackedContainer.cpp | varunamachi/quartz | 29b0cf7fb981ec95db894259e32af233f64fa616 | [
"MIT"
] | 4 | 2016-05-28T16:31:06.000Z | 2019-09-25T07:13:45.000Z | #include <QVariant>
#include <QMouseEvent>
#include <QStackedWidget>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QPushButton>
#include <common/iconstore/IconFontStore.h>
#include "QzScroller.h"
#include "IdButton.h"
#include "StackedContainer.h"
namespace Quartz {
struct Item {
using Ptr = std::sha... | 31.075581 | 80 | 0.575304 | varunamachi |
4fe1d403e823872161e865c37354ed666537d721 | 702 | cpp | C++ | test/unit-tests/compiler/compiler_test.cpp | twantonie/centurion | 198b80f9e8a29da2ae7d3c15e48ffa1a046165c3 | [
"MIT"
] | 126 | 2020-12-05T00:05:56.000Z | 2022-03-30T15:15:03.000Z | test/unit-tests/compiler/compiler_test.cpp | twantonie/centurion | 198b80f9e8a29da2ae7d3c15e48ffa1a046165c3 | [
"MIT"
] | 46 | 2020-12-27T14:25:22.000Z | 2022-01-26T13:58:11.000Z | test/unit-tests/compiler/compiler_test.cpp | twantonie/centurion | 198b80f9e8a29da2ae7d3c15e48ffa1a046165c3 | [
"MIT"
] | 13 | 2021-01-20T20:50:18.000Z | 2022-03-25T06:59:03.000Z | #include "compiler/compiler.hpp"
#include <gtest/gtest.h>
TEST(Compiler, IsDebugBuild)
{
#ifdef NDEBUG
ASSERT_FALSE(cen::is_debug_build());
#else
ASSERT_TRUE(cen::is_debug_build());
#endif
}
TEST(Compiler, IsReleaseBuild)
{
#ifdef NDEBUG
ASSERT_TRUE(cen::is_release_build());
#else
ASSERT_FALSE(cen::is_releas... | 14.326531 | 40 | 0.7151 | twantonie |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.