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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6183d7e0f10638ed0f108e7028832da1b0eb4f3d | 438 | hpp | C++ | src/stan/lang/ast/node/statements_def.hpp | ludkinm/stan | c318114f875266f22c98cf0bebfff928653727cb | [
"CC-BY-3.0",
"BSD-3-Clause"
] | null | null | null | src/stan/lang/ast/node/statements_def.hpp | ludkinm/stan | c318114f875266f22c98cf0bebfff928653727cb | [
"CC-BY-3.0",
"BSD-3-Clause"
] | null | null | null | src/stan/lang/ast/node/statements_def.hpp | ludkinm/stan | c318114f875266f22c98cf0bebfff928653727cb | [
"CC-BY-3.0",
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_LANG_AST_NODE_STATEMENTS_DEF_HPP
#define STAN_LANG_AST_NODE_STATEMENTS_DEF_HPP
#include <stan/lang/ast.hpp>
#include <vector>
namespace stan {
namespace lang {
statements::statements() {}
statements::statements(const std::vector<local_var_decl>& local_decl,
const std::vector<stat... | 23.052632 | 69 | 0.730594 | ludkinm |
6185703358aa674ed503d3dd3f260a2d8c52a524 | 5,736 | cpp | C++ | core/ilwisobjects/operation/symboltable.cpp | ridoo/IlwisCore | 9d9837507d804a4643545a03fd40d9b4d0eaee45 | [
"Apache-2.0"
] | null | null | null | core/ilwisobjects/operation/symboltable.cpp | ridoo/IlwisCore | 9d9837507d804a4643545a03fd40d9b4d0eaee45 | [
"Apache-2.0"
] | null | null | null | core/ilwisobjects/operation/symboltable.cpp | ridoo/IlwisCore | 9d9837507d804a4643545a03fd40d9b4d0eaee45 | [
"Apache-2.0"
] | null | null | null | #include <QString>
#include <QFileInfo>
#include <QVector>
#include <QUrl>
#include <QRegExp>
#include <QStringList>
#include "kernel.h"
#include "raster.h"
#include "catalog.h"
#include "ilwiscontext.h"
#include "mastercatalog.h"
#include "symboltable.h"
using namespace Ilwis;
quint64 SymbolTable::_symbolid = 0;
Sy... | 26.072727 | 92 | 0.577929 | ridoo |
61884d929592e3869d83fb49c3b76a72c1be0e1c | 21,767 | hpp | C++ | windows/include/boost/asio/detail/reactive_descriptor_service.hpp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | 6 | 2015-12-29T07:21:01.000Z | 2020-05-29T10:47:38.000Z | windows/include/boost/asio/detail/reactive_descriptor_service.hpp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | windows/include/boost/asio/detail/reactive_descriptor_service.hpp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | //
// reactive_descriptor_service.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff 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)
/... | 30.571629 | 81 | 0.629255 | jaredhoberock |
6188edef579f180c3aea754f87d73ca67d383c12 | 1,626 | cpp | C++ | modules/usbcamera/HotplugThread.cpp | lighthouse-os/hardware_libhardware | c6fa046a69d9b1adf474cf5de58318b677801e49 | [
"Apache-2.0"
] | null | null | null | modules/usbcamera/HotplugThread.cpp | lighthouse-os/hardware_libhardware | c6fa046a69d9b1adf474cf5de58318b677801e49 | [
"Apache-2.0"
] | null | null | null | modules/usbcamera/HotplugThread.cpp | lighthouse-os/hardware_libhardware | c6fa046a69d9b1adf474cf5de58318b677801e49 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... | 26.225806 | 81 | 0.699877 | lighthouse-os |
618ae31d3060c4c2702b0fd5aaf626eccaedd790 | 1,481 | cpp | C++ | third party/openRTMFP-Cumulus/CumulusLib/sources/Trigger.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | 5 | 2015-04-30T09:08:30.000Z | 2018-08-13T05:00:39.000Z | third party/openRTMFP-Cumulus/CumulusLib/sources/Trigger.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | third party/openRTMFP-Cumulus/CumulusLib/sources/Trigger.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | /*
Copyright 2010 OpenRTMFP
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.
This program is distributed in... | 21.463768 | 140 | 0.704929 | Patrick-Bay |
618af940f1f6b3310b382040a07bae92e6fa94d7 | 3,334 | cpp | C++ | ChainIDE/popwidget/AboutWidgetGit.cpp | AnyChainIO/AnyChainIDE | 283c4743f0f2484fcf6dd5528af8ab15c6e35011 | [
"MIT"
] | 3 | 2019-05-09T13:56:10.000Z | 2019-06-14T08:25:42.000Z | ChainIDE/popwidget/AboutWidgetGit.cpp | AnyChainIO/AnyChainIDE | 283c4743f0f2484fcf6dd5528af8ab15c6e35011 | [
"MIT"
] | null | null | null | ChainIDE/popwidget/AboutWidgetGit.cpp | AnyChainIO/AnyChainIDE | 283c4743f0f2484fcf6dd5528af8ab15c6e35011 | [
"MIT"
] | 2 | 2019-04-27T20:39:24.000Z | 2019-07-11T05:13:27.000Z | #include "AboutWidgetGit.h"
#include "ui_AboutWidgetGit.h"
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QRegExp>
#include <QDesktopServices>
#include "update/UpdateProgressUtil.h"
static const QString IDE_VERSION = "1.0.24";
static const QString UPDATE_SERVER_URL = "https://github.com/AnyChain... | 34.371134 | 137 | 0.670366 | AnyChainIO |
618e0ee23293de678a125f90204935f2362aaef8 | 24,060 | hpp | C++ | pancake.hpp | MattBolitho/Pancake | 34c939abd48619cd53e4c1c8d0df1da12dc3902e | [
"MIT"
] | null | null | null | pancake.hpp | MattBolitho/Pancake | 34c939abd48619cd53e4c1c8d0df1da12dc3902e | [
"MIT"
] | null | null | null | pancake.hpp | MattBolitho/Pancake | 34c939abd48619cd53e4c1c8d0df1da12dc3902e | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Matt Bolitho
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, ... | 36.958525 | 147 | 0.44655 | MattBolitho |
618ed408c257072ce00f0b9db8161a43f2bb82f5 | 14,922 | cpp | C++ | src/voxel_grid_plugin.cpp | kanishkaganguly/UR10VoxelGrid | b57d7b2a064f6a6dc6415c49d30546ad190fb119 | [
"BSD-3-Clause"
] | null | null | null | src/voxel_grid_plugin.cpp | kanishkaganguly/UR10VoxelGrid | b57d7b2a064f6a6dc6415c49d30546ad190fb119 | [
"BSD-3-Clause"
] | null | null | null | src/voxel_grid_plugin.cpp | kanishkaganguly/UR10VoxelGrid | b57d7b2a064f6a6dc6415c49d30546ad190fb119 | [
"BSD-3-Clause"
] | null | null | null | //
// Created by Kanishka Ganguly on 6/4/19.
// Copyright (c) 2019 Amazon Robotics. All rights reserved.
//
#include "../include/voxel_grid_plugin.hpp"
namespace gazebo {
void VoxelGridPlugin::Load(physics::WorldPtr _world, sdf::ElementPtr _sdf) {
spdlog::get("file_logger")->info("[{}]: {}.", __FUNCTION__, "Starti... | 46.341615 | 146 | 0.69689 | kanishkaganguly |
61938a6b137e556efc0e4f6500451c0377c1f496 | 9,871 | cpp | C++ | test/test_softmax.in.cpp | kthur/he-transformer | 5d3294473edba10f2789197043b8d8704409719e | [
"Apache-2.0"
] | null | null | null | test/test_softmax.in.cpp | kthur/he-transformer | 5d3294473edba10f2789197043b8d8704409719e | [
"Apache-2.0"
] | null | null | null | test/test_softmax.in.cpp | kthur/he-transformer | 5d3294473edba10f2789197043b8d8704409719e | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2018-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... | 43.484581 | 79 | 0.541283 | kthur |
6193b98bb028afd79134bbc3da1300e651f7e23c | 13,473 | cpp | C++ | src/core/FlagHandler.cpp | hirre/maptag | 9d855c5773128596a5ffed351518709775fbaca8 | [
"MIT"
] | null | null | null | src/core/FlagHandler.cpp | hirre/maptag | 9d855c5773128596a5ffed351518709775fbaca8 | [
"MIT"
] | 1 | 2020-05-17T17:34:51.000Z | 2020-05-17T17:34:51.000Z | src/core/FlagHandler.cpp | hirre/maptag | 9d855c5773128596a5ffed351518709775fbaca8 | [
"MIT"
] | null | null | null | /*
* FlagHandler.cpp
*
* Handler class that handles input from the command line.
* Handles:
* - write (K,V)
* - delete (K,V)
* - print (K,V)
*
* Created on: 5 maj 2013
* Author: Hirad Asadi
* E-mail: hirad.asadi@gmail.com
*/
#include <stdlib.h>
#include <sstream>
#include <boost/filesy... | 24.540984 | 85 | 0.514362 | hirre |
619bfb5d4c420eb3643dc6511f4e921321432617 | 7,718 | cpp | C++ | src/dlib/threads/threaded_object_extension.cpp | prathyusha12924/eye-gaze | a80ad54b46e9cef4e743b53aaff035de83f27154 | [
"MIT"
] | 2,695 | 2015-01-01T21:13:47.000Z | 2022-03-31T04:45:32.000Z | src/dlib/threads/threaded_object_extension.cpp | prathyusha12924/eye-gaze | a80ad54b46e9cef4e743b53aaff035de83f27154 | [
"MIT"
] | 208 | 2015-01-23T19:29:07.000Z | 2022-02-08T02:55:17.000Z | src/dlib/threads/threaded_object_extension.cpp | prathyusha12924/eye-gaze | a80ad54b46e9cef4e743b53aaff035de83f27154 | [
"MIT"
] | 567 | 2015-01-06T19:22:19.000Z | 2022-03-21T17:01:04.000Z | // Copyright (C) 2007 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_THREADED_OBJECT_EXTENSIOn_CPP
#define DLIB_THREADED_OBJECT_EXTENSIOn_CPP
#include "threaded_object_extension.h"
#include "create_new_thread_extension.h"
namespace dlib
{
// --... | 27.368794 | 109 | 0.438974 | prathyusha12924 |
619ef451f677e592bbe54ddb98f5d5ff7b68faa6 | 14,882 | hpp | C++ | Graphics/GraphicsEngineOpenGL/include/ShaderResourceCacheGL.hpp | Zone-organization/DiligentCore | a9091a1848492ae1aecece3a955badf9367b189f | [
"Apache-2.0"
] | 398 | 2016-04-21T03:38:50.000Z | 2022-03-23T15:27:31.000Z | Graphics/GraphicsEngineOpenGL/include/ShaderResourceCacheGL.hpp | Zone-organization/DiligentCore | a9091a1848492ae1aecece3a955badf9367b189f | [
"Apache-2.0"
] | 275 | 2017-12-27T04:11:55.000Z | 2022-03-30T07:35:11.000Z | Graphics/GraphicsEngineOpenGL/include/ShaderResourceCacheGL.hpp | Zone-organization/DiligentCore | a9091a1848492ae1aecece3a955badf9367b189f | [
"Apache-2.0"
] | 139 | 2017-09-13T06:19:49.000Z | 2022-03-28T15:01:20.000Z | /*
* Copyright 2019-2021 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* 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.... | 37.112219 | 154 | 0.648569 | Zone-organization |
61a0983082a566660b4fbde622ec4353df0a3fcb | 5,109 | hpp | C++ | bahamut/tools/compressor.hpp | higan-emu/bahamut-lagoon-translation-kit | 6f08de5b92b597c0b9ecebd485cc975b99acfc13 | [
"0BSD"
] | 2 | 2021-08-15T04:10:10.000Z | 2021-08-15T20:14:13.000Z | bahamut/tools/compressor.hpp | higan-emu/bahamut-lagoon-translation-kit | 6f08de5b92b597c0b9ecebd485cc975b99acfc13 | [
"0BSD"
] | 1 | 2022-02-16T02:46:39.000Z | 2022-02-16T04:30:29.000Z | bahamut/tools/compressor.hpp | higan-emu/bahamut-lagoon-translation-kit | 6f08de5b92b597c0b9ecebd485cc975b99acfc13 | [
"0BSD"
] | 1 | 2021-12-25T11:34:57.000Z | 2021-12-25T11:34:57.000Z | #pragma once
auto compressBlockLZ77(array_view<u8> input) -> vector<u8> {
vector<u8> output;
output.resize(256 * 1024, 0x00);
u32 source = 0;
u32 target = 0;
while(source < input.size()) {
u32 longestOffset = 0;
u32 longestLength = 0;
for(u32 window = 1; window < 2048; window++) {
u32 len... | 28.702247 | 102 | 0.575259 | higan-emu |
61a1ad087c09ffa125219230189328595b843150 | 20,045 | hpp | C++ | include/lbann/layers/layer.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | include/lbann/layers/layer.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | include/lbann/layers/layer.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... | 39.227006 | 95 | 0.648192 | andy-yoo |
61a2bd169d6cf4bb7313eeb2798bb599a998693f | 6,401 | cpp | C++ | ToolKit/ReportControl/XTPReportRecord.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 2 | 2018-03-30T06:40:08.000Z | 2022-02-23T12:40:13.000Z | ToolKit/ReportControl/XTPReportRecord.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | null | null | null | ToolKit/ReportControl/XTPReportRecord.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 1 | 2020-08-11T05:48:02.000Z | 2020-08-11T05:48:02.000Z | // XTPReportRecord.cpp : implementation of the CXTPReportRecord class.
//
// This file is a part of the XTREME REPORTCONTROL MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER W... | 21.408027 | 89 | 0.706452 | 11Zero |
61a7a6c6221e8a210af071f49de32a12791be2d0 | 2,182 | cpp | C++ | src/widgets/settingspages/AccountsPage.cpp | CommName/chatterino2 | 05469d1bbadbef9269705057830680745bf64c1d | [
"MIT"
] | null | null | null | src/widgets/settingspages/AccountsPage.cpp | CommName/chatterino2 | 05469d1bbadbef9269705057830680745bf64c1d | [
"MIT"
] | null | null | null | src/widgets/settingspages/AccountsPage.cpp | CommName/chatterino2 | 05469d1bbadbef9269705057830680745bf64c1d | [
"MIT"
] | null | null | null | #include "AccountsPage.hpp"
#include "Application.hpp"
#include "controllers/accounts/AccountController.hpp"
#include "controllers/accounts/AccountModel.hpp"
#include "providers/twitch/TwitchCommon.hpp"
#include "util/LayoutCreator.hpp"
#include "widgets/dialogs/LoginDialog.hpp"
#include "widgets/helper/EditableModelV... | 30.732394 | 83 | 0.629698 | CommName |
61a7aa4447803ff2140f5cc5c9a40ea943f211af | 10,795 | cc | C++ | lite/kernels/opencl/elementwise_sub_image_compute_test.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 1,799 | 2019-08-19T03:29:38.000Z | 2022-03-31T14:30:50.000Z | lite/kernels/opencl/elementwise_sub_image_compute_test.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 3,767 | 2019-08-19T03:36:04.000Z | 2022-03-31T14:37:26.000Z | lite/kernels/opencl/elementwise_sub_image_compute_test.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 798 | 2019-08-19T02:28:23.000Z | 2022-03-31T08:31:54.000Z | // Copyright (c) 2019 PsublePsuble 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... | 36.843003 | 80 | 0.562205 | wanglei91 |
61ab6d7f866021d66ed1c43f1cbb698721bd894a | 4,386 | hpp | C++ | include/stringConversion.hpp | SavAct/TokenSale | abef25c70ccc62edc9ef019ee16a5f8b4e3b4fdf | [
"MIT"
] | null | null | null | include/stringConversion.hpp | SavAct/TokenSale | abef25c70ccc62edc9ef019ee16a5f8b4e3b4fdf | [
"MIT"
] | null | null | null | include/stringConversion.hpp | SavAct/TokenSale | abef25c70ccc62edc9ef019ee16a5f8b4e3b4fdf | [
"MIT"
] | null | null | null | #pragma once
#include "base58.hpp"
#include <vector>
using namespace eosio;
using namespace std;
class MemoParams
{
public:
std::vector<std::variant<name, ecc_public_key>> user;
std::variant<name, ecc_public_key> affiliate;
int donationAccNumber = 0;
bool hasAffiliate = false;
/** Holds the parameters: user and... | 28.855263 | 127 | 0.688098 | SavAct |
61b07784b3e7efdb6c84e4ab7a9516e22ac470e8 | 1,119 | cpp | C++ | dataStructure/SqQueue/main.cpp | Duan-You/C-C- | c64e477889178efdb9b4e32a0f20cd76d39e937c | [
"Apache-2.0"
] | null | null | null | dataStructure/SqQueue/main.cpp | Duan-You/C-C- | c64e477889178efdb9b4e32a0f20cd76d39e937c | [
"Apache-2.0"
] | null | null | null | dataStructure/SqQueue/main.cpp | Duan-You/C-C- | c64e477889178efdb9b4e32a0f20cd76d39e937c | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#define MAXSIZE 10
typedef int ElemType;
typedef struct
{
ElemType *base;
int front,rear;
} SqQueue;
void InitQueue(SqQueue &Q)
{
Q.base=(ElemType*)malloc(MAXSIZE*sizeof(ElemType));
if(!Q.base)
exit(0);
Q.rear=0;
Q.front=Q.rear;
}
int QueueLeng... | 15.328767 | 55 | 0.588919 | Duan-You |
61b0d6ddad2895b642ead9b0a8ce7134023de248 | 35,616 | cpp | C++ | src/monster_lichfire.cpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | 373 | 2016-06-28T06:56:46.000Z | 2022-03-23T02:32:54.000Z | src/monster_lichfire.cpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | 361 | 2016-07-06T19:09:25.000Z | 2022-03-26T14:14:19.000Z | src/monster_lichfire.cpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | 129 | 2016-06-29T09:02:49.000Z | 2022-01-23T09:56:06.000Z | /*-------------------------------------------------------------------------------
BARONY
File: monster_lich.cpp
Desc: implements all of the lich monster's code
Copyright 2013-2016 (c) Turning Wheel LLC, all rights reserved.
See LICENSE for details.
---------------------------------------------------------------... | 27.146341 | 132 | 0.594789 | PegasusEpsilon |
61b1d64c5eb0868d6632193924e2bf5af52bc0f7 | 2,236 | cpp | C++ | practica1/main.cpp | Martincho07/IG-mini-PT | 673a039e1ae352a42cf745ff661343355d924e41 | [
"BSD-3-Clause"
] | 3 | 2021-05-12T21:54:48.000Z | 2021-12-20T02:59:00.000Z | practica1/main.cpp | Martincho07/IG-mini-PT | 673a039e1ae352a42cf745ff661343355d924e41 | [
"BSD-3-Clause"
] | null | null | null | practica1/main.cpp | Martincho07/IG-mini-PT | 673a039e1ae352a42cf745ff661343355d924e41 | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************************
* Main
*
* File: main.cpp
* Author: Fernando Peña (NIA: 756012)
* Author: Jose Daniel Subias Sarrato (NIA: 759533)
* Date: 22/10/2020
* Coms: Informática Gráfica, curso 2020-2021
**************************************************... | 28.303797 | 86 | 0.518336 | Martincho07 |
ba0d31e39ef4f85c0e2dfa6afda08a143e037513 | 1,252 | cpp | C++ | tests/SES_Variable_Mult_Div_Constructor_Tests.cpp | dolovnyak/simple-equation-solver | a10b44cb6f6de86441c3216c07c7ec8b761d97ae | [
"Unlicense"
] | null | null | null | tests/SES_Variable_Mult_Div_Constructor_Tests.cpp | dolovnyak/simple-equation-solver | a10b44cb6f6de86441c3216c07c7ec8b761d97ae | [
"Unlicense"
] | null | null | null | tests/SES_Variable_Mult_Div_Constructor_Tests.cpp | dolovnyak/simple-equation-solver | a10b44cb6f6de86441c3216c07c7ec8b761d97ae | [
"Unlicense"
] | null | null | null | #include "utilities.hpp"
#include <gtest/gtest.h>
#include "SES_Variable.hpp"
class SES_Variable_Mult_Div_Constructor_Tests : public ::testing::Test {
};
TEST_F(SES_Variable_Mult_Div_Constructor_Tests, SES_Var_Constructor_Test) {
try {
SES_Variable var0(2, 0);
ASSERT_TRUE(var0.GetDegree() == 0);
ASSERT_TRUE(va... | 27.822222 | 75 | 0.699681 | dolovnyak |
ba0d36a910a9713b8e48b75253d87a9fbcf54538 | 8,896 | cpp | C++ | src/test/cstdint.cpp | danitzarqp106/Prueba | 06635ca46a68306073e542b7cb4b519858e44dc2 | [
"BSL-1.0"
] | null | null | null | src/test/cstdint.cpp | danitzarqp106/Prueba | 06635ca46a68306073e542b7cb4b519858e44dc2 | [
"BSL-1.0"
] | null | null | null | src/test/cstdint.cpp | danitzarqp106/Prueba | 06635ca46a68306073e542b7cb4b519858e44dc2 | [
"BSL-1.0"
] | null | null | null |
// Copyright John McFarlane 2015 - 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file ../../LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//#include <limits>
#include <sg14/cstdint>
#include <sg14/limits>
#include <sg14/type_traits>
... | 46.333333 | 131 | 0.712005 | danitzarqp106 |
ba0fd13a575d76dea574f1dab4f55ebc2ee0478d | 1,879 | cpp | C++ | vnext/Shared/Logging.cpp | Thristhart/react-native-windows | 0fed997227c8702c089e64f3276bcab073e80c0c | [
"MIT"
] | null | null | null | vnext/Shared/Logging.cpp | Thristhart/react-native-windows | 0fed997227c8702c089e64f3276bcab073e80c0c | [
"MIT"
] | null | null | null | vnext/Shared/Logging.cpp | Thristhart/react-native-windows | 0fed997227c8702c089e64f3276bcab073e80c0c | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
#include "Logging.h"
#include "../Chakra/ChakraPlatform.h"
#include <chrono>
#if !defined(OSS_RN)
#include <cxxreact/Platform.h>
#endif
#if !defined(NOJSC)
#include <jschelpers/Value.h>
#e... | 22.914634 | 79 | 0.70942 | Thristhart |
ba11641eb569cee126f8af43f5ad1c3a79db3611 | 2,003 | hpp | C++ | lib/src/Delphi/Syntax/DelphiCompilationUnitSyntax.hpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | lib/src/Delphi/Syntax/DelphiCompilationUnitSyntax.hpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | 50 | 2021-06-30T20:01:50.000Z | 2021-11-28T16:21:26.000Z | lib/src/Delphi/Syntax/DelphiCompilationUnitSyntax.hpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | #ifndef INTERLINCK_DELPHI_SYNTAX_DELPHICOMPILATIONUNITSYNTAX_H
#define INTERLINCK_DELPHI_SYNTAX_DELPHICOMPILATIONUNITSYNTAX_H
#include "interlinck/Core/Syntax/SyntaxKinds.hpp"
#include "interlinck/Core/Types.hpp"
#include "Core/Basic/Macros.hpp"
#include "Delphi/Syntax/DelphiSyntaxNode.hpp"
namespace interlinck::Core... | 37.792453 | 129 | 0.731902 | henrikfroehling |
ba138cc0cd52f2ab06e57c59c26c9671f93abf6e | 1,760 | hpp | C++ | srcs/common/syncsamplebox.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | srcs/common/syncsamplebox.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | srcs/common/syncsamplebox.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | /* This file is part of Nokia HEIF library
*
* Copyright (c) 2015-2020 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
*
* Contact: heif@nokia.com
*
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
* subsidiaries. All rights are r... | 34.509804 | 115 | 0.731818 | Reflectioner |
ba150ce15d40f32b9d8f1d879118afbb252cffe4 | 1,218 | cpp | C++ | windows/RNSVG/LinearGradientViewManager.cpp | kathigeiger42/react-native-svg | a652d0eca8a97821c56c02550ecb89d06c40d2c6 | [
"MIT"
] | null | null | null | windows/RNSVG/LinearGradientViewManager.cpp | kathigeiger42/react-native-svg | a652d0eca8a97821c56c02550ecb89d06c40d2c6 | [
"MIT"
] | null | null | null | windows/RNSVG/LinearGradientViewManager.cpp | kathigeiger42/react-native-svg | a652d0eca8a97821c56c02550ecb89d06c40d2c6 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "LinearGradientViewManager.h"
#include "LinearGradientViewManager.g.cpp"
using namespace winrt;
using namespace Microsoft::ReactNative;
namespace winrt::RNSVG::implementation {
LinearGradientViewManager::LinearGradientViewManager() {
m_class = RNSVG::SVGClass::RNSVGLinearGradient;
m_name... | 36.909091 | 90 | 0.785714 | kathigeiger42 |
ba16aed512c12bf834dbb6e41ef8351c6efa73e6 | 9,649 | cpp | C++ | src/gluon/widgets/widget.cpp | cmourglia/gluon-old | 9c9a55e86cd8878c0e90917882965c87c84969eb | [
"MIT"
] | null | null | null | src/gluon/widgets/widget.cpp | cmourglia/gluon-old | 9c9a55e86cd8878c0e90917882965c87c84969eb | [
"MIT"
] | null | null | null | src/gluon/widgets/widget.cpp | cmourglia/gluon-old | 9c9a55e86cd8878c0e90917882965c87c84969eb | [
"MIT"
] | 2 | 2022-02-21T19:09:02.000Z | 2022-02-21T19:09:51.000Z | #include "gluon/widgets/widget.h"
#include <beard/containers/hash_map.h>
#include <beard/misc/hash.h>
#include <filesystem>
#include <loguru.hpp>
#include "gluon/widgets/hashes.h"
namespace utils {
glm::vec4 ExtractColor(const beard::array<Token>& tokens) {
glm::vec4 color = {};
if (!tokens.is_empty()) {
T... | 28.717262 | 80 | 0.555809 | cmourglia |
ba1e0761241ad122b7c59b6720fab5b18b557639 | 4,714 | hpp | C++ | include/callisto/framework/templates/handlers/shared_handler.hpp | Anton-Vasyaev/callisto.framework | 4013fcfdae4adbee4c3b368fd3a43468dc287918 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | include/callisto/framework/templates/handlers/shared_handler.hpp | Anton-Vasyaev/callisto.framework | 4013fcfdae4adbee4c3b368fd3a43468dc287918 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | include/callisto/framework/templates/handlers/shared_handler.hpp | Anton-Vasyaev/callisto.framework | 4013fcfdae4adbee4c3b368fd3a43468dc287918 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #ifndef SHARED_SCOPE_HANDLER_HPP
#define SHARED_SCOPE_HANDLER_HPP
// std
#include <utility>
#include <mutex>
// project
#include "default_disposer.hpp"
namespace callisto::framework
{
template<
typename _data_type,
typename _disposer_type=default_disposer<_data_type>
>
class shared_handle... | 21.723502 | 75 | 0.485363 | Anton-Vasyaev |
ba1e9698d1d5c042d7347687b25253f501dfc7e5 | 6,171 | cpp | C++ | Backends/System/Windows/Sources/kinc/backend/video.cpp | IbrahimHindawi/Kinc | 4dd1b313d0b6ebfeb5b21df75563d3e6bf0b9b8b | [
"Zlib"
] | null | null | null | Backends/System/Windows/Sources/kinc/backend/video.cpp | IbrahimHindawi/Kinc | 4dd1b313d0b6ebfeb5b21df75563d3e6bf0b9b8b | [
"Zlib"
] | null | null | null | Backends/System/Windows/Sources/kinc/backend/video.cpp | IbrahimHindawi/Kinc | 4dd1b313d0b6ebfeb5b21df75563d3e6bf0b9b8b | [
"Zlib"
] | null | null | null | #include "pch.h"
#include <kinc/video.h>
#include <streams.h>
namespace {
IGraphBuilder *graphBuilder;
IMediaControl *mediaControl;
IMediaPosition *mediaPosition;
IMediaEvent *mediaEvent;
struct __declspec(uuid("{71771540-2017-11cf-ae24-0020afd79767}")) CLSID_TextureRenderer;
}
class CTextureRenderer : public... | 30.25 | 157 | 0.71674 | IbrahimHindawi |
ba1e9bcb61d2d3cbb5440645d5278160e0a2e66a | 1,895 | cpp | C++ | tests/Packets/Tag60.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 99 | 2015-01-06T01:53:26.000Z | 2022-01-31T18:18:27.000Z | tests/Packets/Tag60.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 27 | 2015-03-09T05:46:53.000Z | 2020-05-06T02:52:18.000Z | tests/Packets/Tag60.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 42 | 2015-03-18T03:44:43.000Z | 2022-03-31T21:34:06.000Z | #include <gtest/gtest.h>
#include "Packets/Tag60.h"
static const std::string stream("\x00\x01\x02\x03\x04\x05\x06\x07", 8);
static void TAG60_FILL(OpenPGP::Packet::Tag60 & tag60) {
tag60.set_stream(stream);
}
#define TAG60_EQ(tag60) \
EXPECT_EQ((tag60).get_stream(), s... | 22.034884 | 71 | 0.604749 | httese |
ba22a032f9a8fcb7fc224b77a9f54ad8bd431b89 | 66 | cpp | C++ | unit_test/serial/Test_Serial_Batched_VectorView.cpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 156 | 2017-03-01T23:38:10.000Z | 2022-03-27T21:28:03.000Z | unit_test/serial/Test_Serial_Batched_VectorView.cpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 1,257 | 2017-03-03T15:25:16.000Z | 2022-03-31T19:46:09.000Z | unit_test/serial/Test_Serial_Batched_VectorView.cpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 76 | 2017-03-01T17:03:59.000Z | 2022-03-03T21:04:41.000Z | #include "Test_Serial.hpp"
#include "Test_Batched_VectorView.hpp"
| 22 | 38 | 0.818182 | dialecticDolt |
ba2451fefd4833b4c09790781fdf0cdc73b67599 | 235 | hpp | C++ | py-bindings/bindings/app/QuadrotorPlanning.pypp.hpp | SZanlongo/omplapp | c56679337e2a71d266359450afbe63d700c0a666 | [
"BSD-3-Clause"
] | null | null | null | py-bindings/bindings/app/QuadrotorPlanning.pypp.hpp | SZanlongo/omplapp | c56679337e2a71d266359450afbe63d700c0a666 | [
"BSD-3-Clause"
] | null | null | null | py-bindings/bindings/app/QuadrotorPlanning.pypp.hpp | SZanlongo/omplapp | c56679337e2a71d266359450afbe63d700c0a666 | [
"BSD-3-Clause"
] | null | null | null | // This file has been generated by Py++.
#ifndef QuadrotorPlanning_hpp__pyplusplus_wrapper
#define QuadrotorPlanning_hpp__pyplusplus_wrapper
void register_QuadrotorPlanning_class();
#endif//QuadrotorPlanning_hpp__pyplusplus_wrapper
| 26.111111 | 49 | 0.868085 | SZanlongo |
ba29a95570c4487efb91832c0c46d94504ef3a27 | 8,578 | cpp | C++ | isis/src/base/objs/PlaneShape/PlaneShape.cpp | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 134 | 2018-01-18T00:16:24.000Z | 2022-03-24T03:53:33.000Z | isis/src/base/objs/PlaneShape/PlaneShape.cpp | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 3,825 | 2017-12-11T21:27:34.000Z | 2022-03-31T21:45:20.000Z | isis/src/base/objs/PlaneShape/PlaneShape.cpp | jlaura/isis3 | 2c40e08caed09968ea01d5a767a676172ad20080 | [
"CC0-1.0"
] | 164 | 2017-11-30T21:15:44.000Z | 2022-03-23T10:22:29.000Z | /** This is free and unencumbered software released into the public domain.
The authors of ISIS do not claim copyright on the contents of this file.
For more details about the LICENSE terms and the AUTHORS, you will
find files of those names at the top level of this repository. **/
/* SPDX-License-Identifier: CC0-1.0 ... | 28.688963 | 81 | 0.657846 | kdl222 |
ba2f0a853cce49c6556889e00228d415b67e6732 | 23,964 | cpp | C++ | Example_CPP/Screen_Capture_Example.cpp | Intro-Ventors/screen_capture_lite | 5a39deda85d6f444d9c99c72da711be73ce68055 | [
"MIT"
] | null | null | null | Example_CPP/Screen_Capture_Example.cpp | Intro-Ventors/screen_capture_lite | 5a39deda85d6f444d9c99c72da711be73ce68055 | [
"MIT"
] | null | null | null | Example_CPP/Screen_Capture_Example.cpp | Intro-Ventors/screen_capture_lite | 5a39deda85d6f444d9c99c72da711be73ce68055 | [
"MIT"
] | null | null | null | #include "ScreenCapture.h"
#include "ScreenCapture_C_API.h"
#include "internal/SCCommon.h" //DONT USE THIS HEADER IN PRODUCTION CODE!!!! ITS INTERNAL FOR A REASON IT WILL CHANGE!!! ITS HERE FOR TESTS ONLY!!!
#include <algorithm>
#include <atomic>
#include <chrono>
#include <climits>
#include <iostream>
#include <locale... | 46.532039 | 166 | 0.580454 | Intro-Ventors |
ba33731e7e6c072d1bbfc4638939077f363d4dff | 3,490 | hpp | C++ | src/beast/include/beast/core/buffer_cat.hpp | Py9595/Backpack-Travel-Underlying-Code | c5758792eba7cdd62cb6ff46e642e8e4e4e5417e | [
"BSL-1.0"
] | 5 | 2018-02-02T04:50:43.000Z | 2020-10-14T08:15:01.000Z | src/beast/include/beast/core/buffer_cat.hpp | Py9595/Backpack-Travel-Underlying-Code | c5758792eba7cdd62cb6ff46e642e8e4e4e5417e | [
"BSL-1.0"
] | 10 | 2019-01-07T05:33:34.000Z | 2020-07-15T00:09:26.000Z | src/beast/include/beast/core/buffer_cat.hpp | Py9595/Backpack-Travel-Underlying-Code | c5758792eba7cdd62cb6ff46e642e8e4e4e5417e | [
"BSL-1.0"
] | 3 | 2017-07-19T11:39:47.000Z | 2019-08-06T07:52:21.000Z | //
// Copyright (c) 2013-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)
//
#ifndef BEAST_BUFFER_CAT_HPP
#define BEAST_BUFFER_CAT_HPP
#include <beast/config... | 29.083333 | 79 | 0.711461 | Py9595 |
ba3523a390724f4ff7a0a2856fac71cd5669994a | 6,642 | hpp | C++ | cppcache/src/statistics/HostStatSampler.hpp | onichols-pivotal/geode-native | 4513e9771918ceb7e222bfd7ac614d54dc3114cb | [
"Apache-2.0"
] | 48 | 2017-02-08T22:24:07.000Z | 2022-02-06T02:47:56.000Z | cppcache/src/statistics/HostStatSampler.hpp | onichols-pivotal/geode-native | 4513e9771918ceb7e222bfd7ac614d54dc3114cb | [
"Apache-2.0"
] | 388 | 2017-02-13T17:09:45.000Z | 2022-03-29T22:18:39.000Z | cppcache/src/statistics/HostStatSampler.hpp | onichols-pivotal/geode-native | 4513e9771918ceb7e222bfd7ac614d54dc3114cb | [
"Apache-2.0"
] | 68 | 2017-02-09T18:43:15.000Z | 2022-03-14T22:59:13.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 28.144068 | 78 | 0.715598 | onichols-pivotal |
ba37a9cebd0d3805034e6b678fe965b1cdd7b5be | 8,835 | cpp | C++ | source/ualgobase.cpp | fincs/uSTL-FeOS | 6493f68b5c22df1dcbd2b07652fdffaf76e878e4 | [
"MIT"
] | 1 | 2019-04-27T20:16:18.000Z | 2019-04-27T20:16:18.000Z | source/ualgobase.cpp | fincs/uSTL-FeOS | 6493f68b5c22df1dcbd2b07652fdffaf76e878e4 | [
"MIT"
] | null | null | null | source/ualgobase.cpp | fincs/uSTL-FeOS | 6493f68b5c22df1dcbd2b07652fdffaf76e878e4 | [
"MIT"
] | null | null | null | // This file is part of the uSTL library, an STL implementation.
//
// Copyright (c) 2005 by Mike Sharov <msharov@users.sourceforge.net>
// This file is free software, distributed under the MIT License.
#ifndef NDEBUG // Optimized code here. asserts slow it down, and are checked elsewhere.
#define NDEBUG
#endif
#prag... | 30.783972 | 97 | 0.584493 | fincs |
ba3b53bb750f240122a4e459cf808f7b965d0e88 | 3,546 | cpp | C++ | C++/RPNC.cpp | Jamboii/misc-projects | 3f7201212a0aab00fe5021343e296d3c47957f1e | [
"MIT"
] | 1 | 2020-03-07T19:41:14.000Z | 2020-03-07T19:41:14.000Z | C++/RPNC.cpp | Jamboii/misc-projects | 3f7201212a0aab00fe5021343e296d3c47957f1e | [
"MIT"
] | null | null | null | C++/RPNC.cpp | Jamboii/misc-projects | 3f7201212a0aab00fe5021343e296d3c47957f1e | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <vector>
#include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <cmath>
#include <algorithm>
#include <iterator>
#include <cstdlib>
#include <stdint.h>
#include <stdlib.h>
#include "stack.hpp"
using namespace std;
int rpn(const string &expr)
{
Stack value... | 30.307692 | 143 | 0.511844 | Jamboii |
ba428a58e66d17b0b335a8f52ba6fc5459e29039 | 28,546 | cpp | C++ | cocos2dx/base_nodes/CCNode.cpp | nickflink/cocos2d-x | 2a2730bf842567c2b8d460006abf06035243602d | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | cocos2dx/base_nodes/CCNode.cpp | nickflink/cocos2d-x | 2a2730bf842567c2b8d460006abf06035243602d | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | cocos2dx/base_nodes/CCNode.cpp | nickflink/cocos2d-x | 2a2730bf842567c2b8d460006abf06035243602d | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2009 Valentin Milea
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obt... | 23.076799 | 171 | 0.667519 | nickflink |
ba45aa35ad891de7f37766013ed7d0667ec66a28 | 2,808 | cpp | C++ | src/Externals/cleaver/test/backup/volumeMesh.cpp | benjaminlarson/SCIRunGUIPrototype | ed34ee11cda114e3761bd222a71a9f397517914d | [
"Unlicense"
] | 1 | 2019-05-30T06:00:15.000Z | 2019-05-30T06:00:15.000Z | src/Externals/cleaver/test/backup/volumeMesh.cpp | manual123/SCIRun | 3816b1dc4ebd0c5bd4539b7e50e08592acdac903 | [
"MIT"
] | null | null | null | src/Externals/cleaver/test/backup/volumeMesh.cpp | manual123/SCIRun | 3816b1dc4ebd0c5bd4539b7e50e08592acdac903 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
#include <string>
#include <Cleaver/Cleaver.h>
#include <Cleaver/InverseField.h>
#include <Cleaver/FloatField.h>
//#include "nrrd2cleaver.h"
using namespace std;
//using namespace Cleaver;
const std::string scirun = "scirun";
const std::string tetgen = "tetgen";
const std::st... | 23.79661 | 90 | 0.573362 | benjaminlarson |
ba4927f2adf024b91af61bd4e846ebf82820fda0 | 3,643 | cpp | C++ | UTL/tokenbuf.cpp | yingtaohu/ogs5 | 3ebcbbc209e2306e0721d408a699ecaea52b89d1 | [
"BSD-4-Clause"
] | 1 | 2018-07-28T01:46:45.000Z | 2018-07-28T01:46:45.000Z | UTL/tokenbuf.cpp | yingtaohu/ogs5 | 3ebcbbc209e2306e0721d408a699ecaea52b89d1 | [
"BSD-4-Clause"
] | 1 | 2016-08-03T14:13:54.000Z | 2016-08-03T14:13:54.000Z | UTL/tokenbuf.cpp | yingtaohu/ogs5 | 3ebcbbc209e2306e0721d408a699ecaea52b89d1 | [
"BSD-4-Clause"
] | 2 | 2016-06-27T15:30:02.000Z | 2021-06-15T08:30:31.000Z | /**
* \copyright
* Copyright (c) 2015, 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 <iostream>
#include <string>
#include "tokenb... | 16.484163 | 119 | 0.582212 | yingtaohu |
ba4b2ca0da77241e930f6524dd8cc66a92faa3b6 | 765 | cpp | C++ | Short Notes/dataTypes.cpp | Darklaneanjana/Cpp-programming | bd00e402f51877c7b62b508f9125fb2436a04806 | [
"MIT"
] | 19 | 2021-04-28T13:32:15.000Z | 2022-03-08T11:52:59.000Z | Short Notes/dataTypes.cpp | Darklaneanjana/Cpp-programming | bd00e402f51877c7b62b508f9125fb2436a04806 | [
"MIT"
] | 5 | 2021-03-03T08:06:15.000Z | 2021-12-26T18:14:45.000Z | Short Notes/dataTypes.cpp | Darklaneanjana/Cpp-programming | bd00e402f51877c7b62b508f9125fb2436a04806 | [
"MIT"
] | 27 | 2021-01-18T22:35:01.000Z | 2022-02-22T19:52:19.000Z | #include <iostream>
int main ()
{
// std::cout << "LuciferX" << std::endl;
// Numerical Data Types
// int i = 10; // Size = 4
// short int j = 20; // Size = 2
// long int k = 300;
// std::cout << "Integer (int) : " << sizeof(int) << std::endl;
//
// unsigned short s = 65535; // +0 to +65535
// signed short t = ... | 18.658537 | 63 | 0.509804 | Darklaneanjana |
ba54bf372e58b0c7b39e1752323331fd7bab8a9e | 3,184 | cc | C++ | modules/prediction/submodules/predictor_submodule.cc | Inertial-Labs/apollo | 1c101673a85ab69981b85952fb1dd52acde1ccbd | [
"Apache-2.0"
] | 1 | 2018-09-13T03:37:20.000Z | 2018-09-13T03:37:20.000Z | modules/prediction/submodules/predictor_submodule.cc | Inertial-Labs/apollo | 1c101673a85ab69981b85952fb1dd52acde1ccbd | [
"Apache-2.0"
] | 1 | 2018-10-30T05:53:11.000Z | 2018-10-30T05:53:11.000Z | modules/prediction/submodules/predictor_submodule.cc | Inertial-Labs/apollo | 1c101673a85ab69981b85952fb1dd52acde1ccbd | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* Copyright 2019 The Apollo 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
... | 38.829268 | 79 | 0.735867 | Inertial-Labs |
ba59c30d0d0a2af9ced28e264d53e6ab5ba15a1f | 14,004 | cpp | C++ | src/lunar-master/eart2000.cpp | TehSnappy/lib_lunar_ex | a4cd4a3cdec44c2adaefbf1791b8863db568cbbd | [
"MIT"
] | 1 | 2019-03-11T14:46:04.000Z | 2019-03-11T14:46:04.000Z | lib/net/src/nrun/astro/eart2000.cpp | lcityd/paragon | 47a43872a5656a8c431c774d353ed214f9d0ed1d | [
"MIT"
] | null | null | null | lib/net/src/nrun/astro/eart2000.cpp | lcityd/paragon | 47a43872a5656a8c431c774d353ed214f9d0ed1d | [
"MIT"
] | 1 | 2019-10-12T03:23:41.000Z | 2019-10-12T03:23:41.000Z | /* eart2000.cpp: functions for computing Earth coordinates
Copyright (C) 2010, Project Pluto
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 ... | 50.193548 | 70 | 0.479506 | TehSnappy |
ba5a5bd0ffd3d2c69cd341fd78272f02cd76f043 | 21,406 | cpp | C++ | test/crypto/test_webauthn.cpp | celes-dev/fc | 0732c19245fad322b8785f9d43efda2117066490 | [
"MIT"
] | 37 | 2018-06-14T07:17:36.000Z | 2022-02-18T18:03:42.000Z | test/crypto/test_webauthn.cpp | celes-dev/fc | 0732c19245fad322b8785f9d43efda2117066490 | [
"MIT"
] | 36 | 2018-07-14T16:18:20.000Z | 2021-12-24T01:45:26.000Z | test/crypto/test_webauthn.cpp | celes-dev/fc | 0732c19245fad322b8785f9d43efda2117066490 | [
"MIT"
] | 131 | 2017-05-31T02:15:02.000Z | 2022-03-23T12:19:35.000Z | #define BOOST_TEST_MODULE webauthn_test_mod
#include <boost/test/included/unit_test.hpp>
#include <boost/algorithm/string.hpp>
#include <fc/crypto/public_key.hpp>
#include <fc/crypto/private_key.hpp>
#include <fc/crypto/signature.hpp>
#include <fc/utility.hpp>
using namespace fc::crypto;
using namespace fc;
using nam... | 50.845606 | 187 | 0.710408 | celes-dev |
ba60f7154d7273af690b7770c8521ec96c6cf1fb | 2,358 | cpp | C++ | solved/i-k/jogging-trails/uva/jogging.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/i-k/jogging-trails/uva/jogging.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/i-k/jogging-trails/uva/jogging.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | #include <cstdio>
#include <cstring>
#define MAXN 15
#define INF (1 << 30)
#define Neg(v) memset((v), -1, sizeof(v))
#define GetFS(b) ((b) & -(b))
#define ClrFS(b) (b &= ~GetFS(b))
static const int m37pos[] = {
32, 0, 1, 26, 2, 23, 27, 0, 3,
16, 24, 30, 28, 11, 0, 13, 4, 7,
17, 0, 25, 22, 31, ... | 19.170732 | 63 | 0.39313 | abuasifkhan |
ba62178787cfae7bd6cf381337288b92faf94f45 | 840 | cpp | C++ | src/PathTracing/Materials/Metal.cpp | agordeevw/pathtracer | 85340f398d34b79e757a6341af9a448f033884db | [
"MIT"
] | null | null | null | src/PathTracing/Materials/Metal.cpp | agordeevw/pathtracer | 85340f398d34b79e757a6341af9a448f033884db | [
"MIT"
] | 1 | 2019-01-08T15:11:47.000Z | 2019-01-08T15:11:47.000Z | src/PathTracing/Materials/Metal.cpp | agordeevw/pathtracer | 85340f398d34b79e757a6341af9a448f033884db | [
"MIT"
] | null | null | null | #include <glm/geometric.hpp>
#include "PathTracing/Hitable.h"
#include "PathTracing/Materials/Metal.h"
#include "PathTracing/Ray.h"
#include "Util/Random.h"
namespace PathTracing {
namespace Materials {
Metal::Metal(const Texture& albedo, float fuzziness)
: albedo(albedo), fuzziness(std::min(std::max(fuzziness, 0... | 35 | 78 | 0.694048 | agordeevw |
ba698c2da270c7a494ce4045928a3280e4e611c0 | 8,371 | cpp | C++ | tests/Unit/DataStructures/DataBox/Test_TagName.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | null | null | null | tests/Unit/DataStructures/DataBox/Test_TagName.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | null | null | null | tests/Unit/DataStructures/DataBox/Test_TagName.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | 1 | 2019-01-03T21:47:04.000Z | 2019-01-03T21:47:04.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <string>
#include "DataStructures/DataBox/Tag.hpp"
#include "DataStructures/DataBox/TagName.hpp"
#include "Helpers/DataStructures/DataBox/TestTags.hpp"
namespace {
struct NamedSimple : db::Simple... | 39.300469 | 80 | 0.691315 | tomwlodarczyk |
ba6d1798bcfa767be300d256ad0526cbcaf2e85e | 167,969 | cpp | C++ | src/AssemblyGraph2.cpp | chanzuckerberg/shasta | a8933d5aade5c8cc8b92852bf3092fb32bf30b22 | [
"BSD-3-Clause-Open-MPI"
] | 267 | 2018-07-31T16:12:24.000Z | 2022-03-29T13:57:53.000Z | src/AssemblyGraph2.cpp | chanzuckerberg/shasta | a8933d5aade5c8cc8b92852bf3092fb32bf30b22 | [
"BSD-3-Clause-Open-MPI"
] | 140 | 2018-08-10T14:14:19.000Z | 2022-02-18T22:05:05.000Z | src/AssemblyGraph2.cpp | chanzuckerberg/shasta | a8933d5aade5c8cc8b92852bf3092fb32bf30b22 | [
"BSD-3-Clause-Open-MPI"
] | 47 | 2018-09-28T18:29:37.000Z | 2022-02-21T02:45:40.000Z | // Shasta.
#include "AssemblyGraph2.hpp"
#include "AssembledSegment.hpp"
#include "assembleMarkerGraphPath.hpp"
#include "computeLayout.hpp"
#include "copyNumber.hpp"
#include "deduplicate.hpp"
#include "dominatorTree.hpp"
#include "enumeratePaths.hpp"
#include "findLinearChains.hpp"
#include "findMarkerId.hpp"
#includ... | 33.287554 | 131 | 0.602069 | chanzuckerberg |
ba707d265066148b6a3f557cbb2b7c5a3adddfe2 | 873 | hpp | C++ | include/paddyutils/functions/additiveMerge.hpp | paddy74/paddyutils | e2be1cbee56fffbb225588b391d4efac2a287a1c | [
"MIT"
] | null | null | null | include/paddyutils/functions/additiveMerge.hpp | paddy74/paddyutils | e2be1cbee56fffbb225588b391d4efac2a287a1c | [
"MIT"
] | null | null | null | include/paddyutils/functions/additiveMerge.hpp | paddy74/paddyutils | e2be1cbee56fffbb225588b391d4efac2a287a1c | [
"MIT"
] | null | null | null | #pragma once
namespace paddyutils
{
/**
* @brief Merge b into a (inplace). The values of matching keys are summed.
*
* @tparam KEY_T
* @tparam VALUE_T
* @param a
* @param b
*/
template <typename KEY_T, typename VALUE_T>
void additiveMergeInplace(
std::unordered_map<KEY_T, VALUE_T> & a,
std::unordered_ma... | 21.292683 | 79 | 0.674685 | paddy74 |
ba73f6f983e7e46de5f0c98120b919f6002d14b7 | 2,807 | hpp | C++ | 10-riscv/_more/mini_riscv/02/riscv.hpp | al2698/sp | fceabadef49ffe6ed25dfef38e3dc418f309e128 | [
"MIT"
] | null | null | null | 10-riscv/_more/mini_riscv/02/riscv.hpp | al2698/sp | fceabadef49ffe6ed25dfef38e3dc418f309e128 | [
"MIT"
] | null | null | null | 10-riscv/_more/mini_riscv/02/riscv.hpp | al2698/sp | fceabadef49ffe6ed25dfef38e3dc418f309e128 | [
"MIT"
] | null | null | null | #ifndef __RISCV_H__
#define __RISCV_H__
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stddef.h>
#include <assert.h>
#include <iostream>
#include <map>
using namespace std;
#define SMAX 100
#define LMAX 256
#define TMAX 10000
#define MMAX 32768
typedef struct _Op {
strin... | 37.932432 | 123 | 0.599572 | al2698 |
ba77177dbb28c549f71f4369a29bfedac9bcf97f | 11,728 | hpp | C++ | libraries/chain/include/graphene/chain/content_object.hpp | VIZ-World/viz-core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 7 | 2018-03-21T12:56:32.000Z | 2018-04-02T16:06:24.000Z | libraries/chain/include/graphene/chain/content_object.hpp | VIZ-World/viz-core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 18 | 2018-03-21T13:29:46.000Z | 2018-05-18T10:56:43.000Z | libraries/chain/include/graphene/chain/content_object.hpp | VIZ-World/VIZ.Core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 9 | 2018-10-17T19:02:40.000Z | 2019-02-14T10:35:00.000Z | #pragma once
#include <graphene/protocol/authority.hpp>
#include <graphene/protocol/chain_operations.hpp>
#include <graphene/chain/chain_object_types.hpp>
#include <graphene/chain/witness_objects.hpp>
#include <boost/multi_index/composite_key.hpp>
namespace graphene {
namespace chain {
namespace bip =... | 43.437037 | 156 | 0.617667 | VIZ-World |
ba7f9691d1d64b71f076c993b28ffcf730e901e5 | 1,167 | hpp | C++ | Abzynt/Abzynt/sdk/memory/memory.hpp | patrykkolodziej/Abzynt-Cheat | 862c72514f868fe24728ae83278647bcc3092180 | [
"MIT"
] | 14 | 2019-04-11T19:09:26.000Z | 2021-03-27T06:18:02.000Z | Abzynt/Abzynt/sdk/memory/memory.hpp | patrykkolodziej/Abzynt-Cheat | 862c72514f868fe24728ae83278647bcc3092180 | [
"MIT"
] | 2 | 2019-05-01T09:19:31.000Z | 2019-08-23T01:20:20.000Z | Abzynt/Abzynt/sdk/memory/memory.hpp | patrykkolodziej/Abzynt-Cheat | 862c72514f868fe24728ae83278647bcc3092180 | [
"MIT"
] | 7 | 2019-04-16T12:49:30.000Z | 2020-09-27T01:53:49.000Z | #pragma once
#include "../sdk.hpp"
class c_memory {
private:
uint32_t process_id;
HANDLE process_handle;
public:
~c_memory();
bool get_process_id(const std::string process_name);
bool get_handle(const std::string process_name);
uint32_t get_module(const std::string module_name);
bool free_memory(con... | 28.463415 | 113 | 0.736075 | patrykkolodziej |
ba811925ae9946aefdcc396a64614f0952d96149 | 6,669 | cpp | C++ | ft32/ConfigHandler.cpp | josephpal/ft32 | 9e7e87254687c25dd6aa0ace8623601019d9467c | [
"Apache-2.0"
] | 3 | 2017-12-11T15:51:25.000Z | 2021-11-11T13:08:41.000Z | ft32/ConfigHandler.cpp | josephpal/ft32 | 9e7e87254687c25dd6aa0ace8623601019d9467c | [
"Apache-2.0"
] | 4 | 2018-02-26T11:30:26.000Z | 2021-02-20T14:17:44.000Z | ft32/ConfigHandler.cpp | josephpal/ft32 | 9e7e87254687c25dd6aa0ace8623601019d9467c | [
"Apache-2.0"
] | 4 | 2017-12-11T13:46:22.000Z | 2020-11-21T15:55:41.000Z | /*
* ConfigHandler.cpp
*
* Created on: Feb 28, 2019
* Author: joseph
*/
#include "ConfigHandler.h"
ConfigHandler::ConfigHandler(SHM *ptr) {
mPtr = ptr;
}
ConfigHandler::~ConfigHandler() {
}
void ConfigHandler::checkup() {
// check (and correct if needed) for "/spiffs-cody-storage.txt" (cody program ... | 28.74569 | 109 | 0.683461 | josephpal |
ba816a2fd5284a2f31fac8abd767bb2fb21316f2 | 1,975 | cpp | C++ | source/threads/thread_worker.cpp | zeplaz/s_liz_rz | 612ebd97be4d0624b967b1968c45f092ea1c8ddb | [
"MIT"
] | null | null | null | source/threads/thread_worker.cpp | zeplaz/s_liz_rz | 612ebd97be4d0624b967b1968c45f092ea1c8ddb | [
"MIT"
] | null | null | null | source/threads/thread_worker.cpp | zeplaz/s_liz_rz | 612ebd97be4d0624b967b1968c45f092ea1c8ddb | [
"MIT"
] | null | null | null | ///thread_worker.cpp
#include "thread_worker.hpp"
thread_worker::thread_worker()
{
work_que.store(new std::queue<work_request>);
}
thread_worker::~thread_worker()
{
delete work_que.load();
}
void thread_worker::process_next()
{
unsigned int size = work_que.load(... | 27.430556 | 138 | 0.559494 | zeplaz |
ba81edbb5e9c8ef57afb2428f9387c6aefeda48f | 2,928 | cpp | C++ | uebungen/0x02/harkshire.cpp | pblan/fha-cpp | 5008f54133cf4913f0ca558a3817b01b10d04494 | [
"CECILL-B"
] | null | null | null | uebungen/0x02/harkshire.cpp | pblan/fha-cpp | 5008f54133cf4913f0ca558a3817b01b10d04494 | [
"CECILL-B"
] | null | null | null | uebungen/0x02/harkshire.cpp | pblan/fha-cpp | 5008f54133cf4913f0ca558a3817b01b10d04494 | [
"CECILL-B"
] | null | null | null | #include <iostream>
const size_t stack_dim{3};
// Beispielstruktur 'stack':
// Informieren Sie sich, wie ein 'Stack' funkt.
// https://de.wikipedia.org/wiki/Stapelspeicher
// Definieren Sie eine Struktur 'stack', die ein Feld fester Länge (z.B. 3) von
// 'int' enthält, sowie eine Variable 'next' für die nächs... | 25.684211 | 83 | 0.554986 | pblan |
ba84f2773de782f37cbd01ec2112889b21ca28e7 | 1,690 | cpp | C++ | networkit/cpp/graph/test/SpanningGTest.cpp | kmc-kk/networkit | 28c1208104acae8ef70911340bf88b3e3dd08db7 | [
"MIT"
] | null | null | null | networkit/cpp/graph/test/SpanningGTest.cpp | kmc-kk/networkit | 28c1208104acae8ef70911340bf88b3e3dd08db7 | [
"MIT"
] | 1 | 2019-11-29T08:57:52.000Z | 2019-11-29T08:57:52.000Z | networkit/cpp/graph/test/SpanningGTest.cpp | kmc-kk/networkit | 28c1208104acae8ef70911340bf88b3e3dd08db7 | [
"MIT"
] | 1 | 2020-02-05T17:39:47.000Z | 2020-02-05T17:39:47.000Z | /*
* SpanningGTest.cpp
*
* Created on: 03.09.2015
* Author: Henning
*/
#include <gtest/gtest.h>
#include <networkit/auxiliary/Log.hpp>
#include <networkit/graph/KruskalMSF.hpp>
#include <networkit/graph/SpanningForest.hpp>
#include <networkit/io/METISGraphReader.hpp>
namespace NetworKit {
class SpanningG... | 29.137931 | 87 | 0.611243 | kmc-kk |
ba883986a6e743edd41d05845b9216cdca1cf0f5 | 11,262 | cpp | C++ | src/utils/QCImporter.cpp | avasq011/FinalProject_OpenMS_76ers | 6c9e2c295df6ec0eb296a3badfcdff245a869d59 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2019-06-11T13:03:08.000Z | 2019-06-11T13:03:08.000Z | src/utils/QCImporter.cpp | avasq011/FinalProject_OpenMS_76ers | 6c9e2c295df6ec0eb296a3badfcdff245a869d59 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2017-05-05T21:20:12.000Z | 2017-05-05T21:20:12.000Z | src/utils/QCImporter.cpp | avasq011/FinalProject_OpenMS_76ers | 6c9e2c295df6ec0eb296a3badfcdff245a869d59 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 41.404412 | 358 | 0.580448 | avasq011 |
ba8846bc029a3762e8fe6a2177d813a26897f75e | 41,993 | cpp | C++ | src/engine/components/vgui2/dme_controls/particlesystempropertiespanel.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/engine/components/vgui2/dme_controls/particlesystempropertiespanel.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/engine/components/vgui2/dme_controls/particlesystempropertiespanel.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Dialog used to edit properties of a particle system definition
//
//===========================================================================//
#include "dme_controls/ParticleSystemPropertiesPanel.h"
#include "tier1/KeyValue... | 39.136067 | 123 | 0.586145 | cstom4994 |
ba9029fc3d027c284d5ff8f48df412f56becc9f3 | 2,697 | cpp | C++ | src/software/ai/primitive/chip_primitive_test.cpp | scveloso/Software | ac882d3df0aa0d108e5157c076c82c030d023e12 | [
"MIT"
] | null | null | null | src/software/ai/primitive/chip_primitive_test.cpp | scveloso/Software | ac882d3df0aa0d108e5157c076c82c030d023e12 | [
"MIT"
] | null | null | null | src/software/ai/primitive/chip_primitive_test.cpp | scveloso/Software | ac882d3df0aa0d108e5157c076c82c030d023e12 | [
"MIT"
] | null | null | null | /**
* This file contains the unit tests for the ChipPrimitive class
*/
#include "software/ai/primitive/chip_primitive.h"
#include <gtest/gtest.h>
#include <string.h>
TEST(ChipPrimTest, primitive_name_test)
{
ChipPrimitive chip_prim = ChipPrimitive(0, Point(), Angle(), 0.0);
EXPECT_EQ("Chip Primitive", chi... | 29.315217 | 87 | 0.737486 | scveloso |
ba9295ce2e0d37f48f486fd07175b7e7e912fe00 | 7,716 | cpp | C++ | src/io/bin.cpp | arnocandel/LightGBM | 19e085c9925ac039cf2ce17649013b1ef69385ee | [
"MIT"
] | 1 | 2016-12-27T07:50:44.000Z | 2016-12-27T07:50:44.000Z | src/io/bin.cpp | arnocandel/LightGBM | 19e085c9925ac039cf2ce17649013b1ef69385ee | [
"MIT"
] | null | null | null | src/io/bin.cpp | arnocandel/LightGBM | 19e085c9925ac039cf2ce17649013b1ef69385ee | [
"MIT"
] | 1 | 2020-02-12T16:47:06.000Z | 2020-02-12T16:47:06.000Z | #include <LightGBM/utils/common.h>
#include <LightGBM/bin.h>
#include "dense_bin.hpp"
#include "sparse_bin.hpp"
#include "ordered_sparse_bin.hpp"
#include <cmath>
#include <cstring>
#include <cstdint>
#include <limits>
#include <vector>
#include <algorithm>
namespace LightGBM {
BinMapper::BinMapper() {
}
// deep ... | 31.365854 | 133 | 0.670555 | arnocandel |
ba949495d5bb239bd15d802a48dc9df345793881 | 2,866 | cc | C++ | crawl/tests/httpget.cc | chanchann/WfCrawl | 9c1d4f91a107e90099eaf62bdc8da1091b9dd793 | [
"MIT"
] | null | null | null | crawl/tests/httpget.cc | chanchann/WfCrawl | 9c1d4f91a107e90099eaf62bdc8da1091b9dd793 | [
"MIT"
] | null | null | null | crawl/tests/httpget.cc | chanchann/WfCrawl | 9c1d4f91a107e90099eaf62bdc8da1091b9dd793 | [
"MIT"
] | null | null | null |
#include <netdb.h>
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <string>
#include "workflow/HttpMessage.h"
#include "workflow/HttpUtil.h"
#include "workflow/WFTaskFactory.h"
#include "workflow/WFFacilities.h"
#define REDIRECT_MAX 5
#define RETRY_MAX 2
void wget_cal... | 25.362832 | 68 | 0.613747 | chanchann |
baa465d8c5d414d461248dac6219c099a9f70dd8 | 305 | hpp | C++ | Chap_7/7.5/Point.hpp | DrC0okie/Exercices | 40bb8040ff3bda218850fa348ceb9a7079eaaef0 | [
"MIT"
] | 1 | 2022-02-21T18:54:28.000Z | 2022-02-21T18:54:28.000Z | Chap_7/7.5/Point.hpp | DrC0okie/HEIG_PRG1_Exercices | 40bb8040ff3bda218850fa348ceb9a7079eaaef0 | [
"MIT"
] | null | null | null | Chap_7/7.5/Point.hpp | DrC0okie/HEIG_PRG1_Exercices | 40bb8040ff3bda218850fa348ceb9a7079eaaef0 | [
"MIT"
] | null | null | null | #ifndef POINT_HPP
#define POINT_HPP
class Point
{
private:
float x, y;
public:
Point(float x, float y);
void deplacer(float translation_x, float translation_y);
float abscisse() const;
float ordonnee() const;
Point operator+(const Point &droite) const;
};
#endif | 17.941176 | 61 | 0.655738 | DrC0okie |
baa488e25854c5926c5ce5ee5aa12e42a423db5c | 6,226 | hpp | C++ | include/Zenject/KeyedFactory_6.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/Zenject/KeyedFactory_6.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/Zenject/KeyedFactory_6.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: Zenject.KeyedFactoryBase`2
... | 64.854167 | 339 | 0.732734 | RedBrumbler |
baa60292e3dfa79d325d6c40162c3f5200f70fe1 | 5,627 | cpp | C++ | unittests/clangd/TweakTests.cpp | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | null | null | null | unittests/clangd/TweakTests.cpp | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | 2 | 2019-01-24T00:38:27.000Z | 2019-02-28T00:23:56.000Z | unittests/clangd/TweakTests.cpp | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | null | null | null | //===-- TweakTests.cpp ------------------------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... | 29.460733 | 80 | 0.612582 | Szelethus |
bab1e315ea6dec0a9de3860a1c1d647c71ebee39 | 2,453 | hpp | C++ | src/boost/system/detail/system_category_impl.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | null | null | null | src/boost/system/detail/system_category_impl.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | 1 | 2021-08-30T18:02:49.000Z | 2021-08-30T18:02:49.000Z | src/boost/system/detail/system_category_impl.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | null | null | null | #ifndef BOOST_SYSTEM_DETAIL_SYSTEM_CATEGORY_IMPL_HPP_INCLUDED
#define BOOST_SYSTEM_DETAIL_SYSTEM_CATEGORY_IMPL_HPP_INCLUDED
// Copyright Beman Dawes 2006, 2007
// Copyright Christoper Kohlhoff 2007
// Copyright Peter Dimov 2017, 2018, 2020
//
// Distributed under the Boost Software License, Version 1.0. (See accom... | 33.148649 | 138 | 0.767631 | 107-systems |
bab474e2935e1e8e5e2d0a216e9a728bc260df59 | 1,910 | cpp | C++ | 6. Linked List/8_Merge_sort_over_ll.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | 3 | 2021-02-01T07:56:21.000Z | 2021-02-01T11:56:50.000Z | 6. Linked List/8_Merge_sort_over_ll.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | null | null | null | 6. Linked List/8_Merge_sort_over_ll.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | null | null | null | // Code By - Manish Hedau
#include<bits/stdc++.h>
using namespace std;
class node
{
public:
int data;
node *next;
// constructor
node(int d) {
data = d;
next = NULL;
}
};
void insertHead(node *&head, int data) {
// check if ll is empty
if (head == NULL) {
head = new node(data);
return;
}
node *new_b... | 15.785124 | 46 | 0.587958 | manishhedau |
3bf8c29c924c4808f7388ca5748905a761d121d3 | 22,324 | cpp | C++ | Fuji/Source/MFPrimitive.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 35 | 2015-01-19T22:07:48.000Z | 2022-02-21T22:17:53.000Z | Fuji/Source/MFPrimitive.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 1 | 2022-02-23T09:34:15.000Z | 2022-02-23T09:34:15.000Z | Fuji/Source/MFPrimitive.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 4 | 2015-05-11T03:31:35.000Z | 2018-09-27T04:55:57.000Z | /**** Defines ****/
/**** Includes ****/
#include "Fuji_Internal.h"
#include "MFDisplay.h"
#include "MFView.h"
#include "MFPrimitive.h"
/**** Globals ****/
/**** Functions ****/
MF_API void MFPrimitive_BlitRect(int x, int y, const MFRect &uvs)
{
MFPrimitive_Blit(x, y, (int)uvs.x, (int)uvs.y, (int)u... | 25.897912 | 192 | 0.660276 | TurkeyMan |
3bfc8e639185323a3809ca82c09428b3b1b8afe5 | 5,137 | cpp | C++ | 3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp | tillt/mesos | 3031114c7bb93853b526fa62e4735a96bc8a9150 | [
"Apache-2.0"
] | 1 | 2015-11-06T09:33:10.000Z | 2015-11-06T09:33:10.000Z | 3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp | yuzhu/mesos-akaros | 6a905943542cd93e1f71069ea6c228b7085533b7 | [
"Apache-2.0"
] | 1 | 2015-12-21T23:47:34.000Z | 2015-12-21T23:47:47.000Z | 3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp | tillt/mesos | 3031114c7bb93853b526fa62e4735a96bc8a9150 | [
"Apache-2.0"
] | null | null | null | #include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <stdint.h>
#include <sys/stat.h>
#include <string>
#include <stout/gtest.hpp>
#include <stout/json.hpp>
#include <stout/stringify.hpp>
#include <stout/strings.hpp>
using std::string;
using boost::get;
TEST(JsonTest, DefaultValueIsNull)
{
JSON::Value ... | 21.952991 | 78 | 0.64707 | tillt |
3bfced874a27779e4b731e074247da3dd036426c | 30,993 | hpp | C++ | Headers/InteractionEntities.hpp | RealTimeChris/DiscordCoreAPI | 8286783c8fa220c72ec9c9bb2d5f35076233d1ee | [
"Apache-2.0"
] | 107 | 2021-06-12T07:07:33.000Z | 2022-03-29T05:53:17.000Z | Headers/InteractionEntities.hpp | RealTimeChris/DiscordCoreAPI | 8286783c8fa220c72ec9c9bb2d5f35076233d1ee | [
"Apache-2.0"
] | 4 | 2022-01-21T23:32:46.000Z | 2022-02-25T17:53:05.000Z | Headers/InteractionEntities.hpp | RealTimeChris/DiscordCoreAPI | 8286783c8fa220c72ec9c9bb2d5f35076233d1ee | [
"Apache-2.0"
] | 21 | 2021-06-11T02:01:39.000Z | 2022-03-29T06:08:56.000Z | // InteractionEntities.hpp - Header for the interaction related classes and structs.
// May 28, 2021
// Chris M.
// https://github.com/RealTimeChris
#pragma once
#include "IndexInitial.hpp"
#include "FoundationEntities.hpp"
#include "JSONIFier.hpp"
#include "MessageEntities.hpp"
namespace DiscordCoreAPI {
/**
... | 47.755008 | 198 | 0.675669 | RealTimeChris |
3bff378fa2a78c0f7e4d42f136c915168b7d0954 | 1,095 | cpp | C++ | categories/BEGINNER/1061/event-time.cpp | JonathaCLima/uri-online-judge | 3bfe7e0512daf1dbba608c94fc1e5b64e13b2a79 | [
"MIT"
] | 4 | 2022-01-23T07:55:52.000Z | 2022-02-19T15:26:20.000Z | categories/BEGINNER/1061/event-time.cpp | JonathaCLima/Beecrowd | f7208ec4bd73ac2804a9f2427c00b2baad96d13d | [
"MIT"
] | null | null | null | categories/BEGINNER/1061/event-time.cpp | JonathaCLima/Beecrowd | f7208ec4bd73ac2804a9f2427c00b2baad96d13d | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
string colon, day;
int start_day, start_hour, start_minute, start_second;
int end_day, end_hour, end_minute, end_second;
cin >> day >> start_day;
cin >> start_hour >> colon >> start_minute >> colon >> start_second;
cin >> day >> end_day;
... | 24.333333 | 72 | 0.6 | JonathaCLima |
ce0052b34cc5da4814b3f1e7828a258de0bbf560 | 2,926 | cpp | C++ | 3. Red/1 Week/4. Update Field Macros/update_field.cpp | freeraisor/yandexcplusplus | 9708fdb6cd7e039672ebc2e77f131fbc7a765750 | [
"MIT"
] | 14 | 2019-08-29T12:34:07.000Z | 2022-03-09T13:31:18.000Z | 3. Red/1 Week/4. Update Field Macros/update_field.cpp | freeraisor/yandexcplusplus | 9708fdb6cd7e039672ebc2e77f131fbc7a765750 | [
"MIT"
] | null | null | null | 3. Red/1 Week/4. Update Field Macros/update_field.cpp | freeraisor/yandexcplusplus | 9708fdb6cd7e039672ebc2e77f131fbc7a765750 | [
"MIT"
] | 8 | 2020-09-10T11:40:03.000Z | 2022-03-24T00:34:38.000Z | #include "airline_ticket.h"
//#include "../../../Utils/MyTestFramework/TestFramework.h"
#include <map>
#include <sstream>
#include <iostream>
bool operator<(const Date& lhs, const Date& rhs) {
return std::tie(lhs.year, lhs.month, lhs.day)
< std::tie(rhs.year, rhs.month, rhs.day);
}
bool operator<(const Time&... | 26.844037 | 77 | 0.586466 | freeraisor |
ce05970bb26171b733f8dd710be4df45ae5c0d5d | 5,004 | cpp | C++ | Sandbox/src/Application.cpp | Ckyre/brio | 77a41a2a9d16c20542b60b2425e44525d3f4eef8 | [
"Apache-2.0"
] | null | null | null | Sandbox/src/Application.cpp | Ckyre/brio | 77a41a2a9d16c20542b60b2425e44525d3f4eef8 | [
"Apache-2.0"
] | null | null | null | Sandbox/src/Application.cpp | Ckyre/brio | 77a41a2a9d16c20542b60b2425e44525d3f4eef8 | [
"Apache-2.0"
] | null | null | null | #include <Brio.h>
#include <Brio/Core/EntryPoint.h>
#include "Platform/OpenGL/OpenGLShader.h"
#include "imgui/imgui.h"
#include "glm/gtc/type_ptr.hpp"
#include <GLFW/include/GLFW/glfw3.h>
class ExampleLayer : public Brio::Layer
{
public:
ExampleLayer()
: Layer("Example"), m_CameraController(55.0f, 1280.0f / 720.0... | 32.076923 | 147 | 0.684053 | Ckyre |
ce0b77aea957fe218fa00581de2f6bd6bf0dde8e | 3,886 | cpp | C++ | tests/Unit/DataStructures/Test_SliceTensorToVariables.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | tests/Unit/DataStructures/Test_SliceTensorToVariables.cpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | tests/Unit/DataStructures/Test_SliceTensorToVariables.cpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <algorithm>
#include <array>
#include <cstddef>
#include <string>
#include "DataStructures/ComplexDataVector.hpp"
#include "DataStructures/ComplexModalVector.hpp"
#include "DataStructures/DataVect... | 38.098039 | 79 | 0.681163 | nilsvu |
ce0fc12011a8abe155b51ff36f6b6a2fea948ce7 | 5,467 | hpp | C++ | oss_src/fault/sockets/async_reply_socket.hpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | oss_src/fault/sockets/async_reply_socket.hpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | oss_src/fault/sockets/async_reply_socket.hpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (C) 2015 Dato, Inc.
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#ifndef FAULT_SOCKETS_ASYNC_REPLY_SOCKET_HPP
#define FAULT_SOCKETS_ASYNC_REPLY_SOCKET_HPP
#include <string>
#include <vector>
#inc... | 31.601156 | 88 | 0.706603 | parquette |
ce166383e1c89655de44926c35f688ac7cc7e293 | 3,901 | cpp | C++ | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetDriverAuthorityDebugger.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetDriverAuthorityDebugger.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetDriverAuthorityDebugger.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "EngineClasses/SpatialNetDriverAuthorityDebugger.h"
#include "EngineClasses/SpatialNetDriver.h"
#include "EngineClasses/SpatialPackageMapClient.h"
#include "EngineClasses/SpatialShadowActor.h"
DEFINE_LOG_CATEGORY(LogSpatialNetDriverAuthorityDebugge... | 36.457944 | 122 | 0.791336 | cyberbibby |
ce1a15173a687edda0f5b453a829a4a73a26c0f2 | 428 | cpp | C++ | c++/containers/array.cpp | DevNaga/c_cpp_book | c08ac6c62a98c701d512ac432df77385b51af97b | [
"Apache-2.0"
] | 1 | 2020-11-25T02:06:23.000Z | 2020-11-25T02:06:23.000Z | c++/containers/array.cpp | madmax440/c_cpp_book | c08ac6c62a98c701d512ac432df77385b51af97b | [
"Apache-2.0"
] | null | null | null | c++/containers/array.cpp | madmax440/c_cpp_book | c08ac6c62a98c701d512ac432df77385b51af97b | [
"Apache-2.0"
] | null | null | null | /**
* Author Devendra Naga (devendra.aaru@gmail.com)
*
* License Apache
*/
#include <iostream>
#include <array>
int main()
{
std::array <int, 4> a;
int i;
for (i = 0; i < 4; i ++) {
a[i] = i;
}
std::array <int, 4> :: const_iterator it;
i = 0;
for (it = a.begin(); it != a.end(... | 15.285714 | 71 | 0.446262 | DevNaga |
ce1a17c9fdc8c602f409dbca93c81d8a9681109f | 2,856 | cpp | C++ | Final/Dataset/B2016_Z3_Z1/student3756.cpp | Team-PyRated/PyRated | 1df171c8a5a98977b7a96ee298a288314d1b1b96 | [
"MIT"
] | null | null | null | Final/Dataset/B2016_Z3_Z1/student3756.cpp | Team-PyRated/PyRated | 1df171c8a5a98977b7a96ee298a288314d1b1b96 | [
"MIT"
] | null | null | null | Final/Dataset/B2016_Z3_Z1/student3756.cpp | Team-PyRated/PyRated | 1df171c8a5a98977b7a96ee298a288314d1b1b96 | [
"MIT"
] | null | null | null | /B2016/2017: Zadaća 3, Zadatak 1
//Autotestovi by Enil Pajic (epajic1@etf.unsa.ba)
#include <iostream>
#include <vector>
#include <utility>
#include <cmath>
#include <functional>
double f(double x){
return (x*x)+std::sin(x);
}
double w(std::vector<std::pair<double,double>>v,const int d,int i){
... | 26.691589 | 134 | 0.518557 | Team-PyRated |
ce1bf0f7250af4b7e6bf59e946ee5d9892f34e80 | 4,452 | ipp | C++ | Siv3D/include/Siv3D/detail/Math.ipp | Siv3D/siv6 | 090e82b2f6398640638dfa43da3f829ba977d0e2 | [
"MIT"
] | 2 | 2020-07-26T05:14:33.000Z | 2020-08-11T08:00:54.000Z | Siv3D/include/Siv3D/detail/Math.ipp | Siv3D/siv6 | 090e82b2f6398640638dfa43da3f829ba977d0e2 | [
"MIT"
] | 6 | 2020-03-03T04:01:10.000Z | 2020-09-27T14:33:19.000Z | Siv3D/include/Siv3D/detail/Math.ipp | Siv3D/siv6 | 090e82b2f6398640638dfa43da3f829ba977d0e2 | [
"MIT"
] | 5 | 2020-03-03T03:34:27.000Z | 2020-09-05T18:42:55.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2020 Ryo Suzuki
// Copyright (c) 2016-2020 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# define SIV3D_MATH_FUNCTION_XY... | 27.146341 | 84 | 0.504942 | Siv3D |
ce1d0372ff953d6de49db5fcc4289fed1d20e667 | 7,005 | cpp | C++ | tests/src/deviceLib/hipSimpleAtomicsTest.cpp | pzins/HIP | ab7e727fa241d998b9f2bca23b0d82dfb64c9a05 | [
"MIT"
] | 1 | 2021-12-15T15:09:07.000Z | 2021-12-15T15:09:07.000Z | tests/src/deviceLib/hipSimpleAtomicsTest.cpp | rahulmula/Gladiator_Hip | fcede25343a79f5005f5a4d88a8c0e41205dc08f | [
"MIT"
] | null | null | null | tests/src/deviceLib/hipSimpleAtomicsTest.cpp | rahulmula/Gladiator_Hip | fcede25343a79f5005f5a4d88a8c0e41205dc08f | [
"MIT"
] | 1 | 2019-07-04T00:48:48.000Z | 2019-07-04T00:48:48.000Z | /*
Copyright (c) 2015-2016 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, cop... | 23.585859 | 84 | 0.574732 | pzins |
ce1d54a40ddd0e8cc546a9f2ecc8fa162264d806 | 5,201 | cpp | C++ | aws-cpp-sdk-securityhub/source/model/ThreatIntelIndicatorType.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-securityhub/source/model/ThreatIntelIndicatorType.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-securityhub/source/model/ThreatIntelIndicatorType.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-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.amazon.com/apache2.0
*
* or in the "license" fil... | 36.118056 | 92 | 0.636032 | curiousjgeorge |
ce1f2cc4786ee904811e2ebfb3bbad3b03e85c33 | 1,245 | hpp | C++ | include/boost/simd/function/cosd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/function/cosd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/function/cosd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
@copyright 2016 J.T. Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
... | 21.465517 | 100 | 0.578313 | yaeldarmon |
ce2158f93c4cbf503350cd1316b4b09ce66e2cfb | 2,827 | cc | C++ | lib/src/facts/linux/disk_resolver.cc | whopper/cfacter | f489f62e19a161e2d909199aebd896e323dac0e8 | [
"Apache-2.0"
] | null | null | null | lib/src/facts/linux/disk_resolver.cc | whopper/cfacter | f489f62e19a161e2d909199aebd896e323dac0e8 | [
"Apache-2.0"
] | null | null | null | lib/src/facts/linux/disk_resolver.cc | whopper/cfacter | f489f62e19a161e2d909199aebd896e323dac0e8 | [
"Apache-2.0"
] | null | null | null | #include <facter/facts/linux/disk_resolver.hpp>
#include <facter/logging/logging.hpp>
#include <facter/util/file.hpp>
#include <facter/util/directory.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
using namespace std;
using namespace facter::util;
using nam... | 33.258824 | 103 | 0.591793 | whopper |
ce24fce1b43c0a2a12db333d20be28e760da996f | 2,340 | cc | C++ | libtransport/src/protocols/reassembly.cc | srene/hicn | 354f916b5ec7a2b7d63d29d9019fc3e7fa2d1b89 | [
"Apache-2.0"
] | 47 | 2019-02-18T13:54:34.000Z | 2022-03-03T04:46:50.000Z | libtransport/src/protocols/reassembly.cc | srene/hicn | 354f916b5ec7a2b7d63d29d9019fc3e7fa2d1b89 | [
"Apache-2.0"
] | 1 | 2019-09-09T09:14:43.000Z | 2019-09-09T09:14:43.000Z | libtransport/src/protocols/reassembly.cc | srene/hicn | 354f916b5ec7a2b7d63d29d9019fc3e7fa2d1b89 | [
"Apache-2.0"
] | 28 | 2019-02-22T17:40:03.000Z | 2021-08-18T02:39:40.000Z | /*
* Copyright (c) 2017-2019 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 32.5 | 75 | 0.714103 | srene |
ce265d5b157d721ebc003a1905e55cfbaa3b5886 | 7,289 | cpp | C++ | tests/eig17.cpp | tweber-ill/ill_mirror-takin2-tlibs2 | 669fd34c306625fd306da278a5b29fb6aae16a87 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | tests/eig17.cpp | tweber-ill/ill_mirror-takin2-tlibs2 | 669fd34c306625fd306da278a5b29fb6aae16a87 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | tests/eig17.cpp | tweber-ill/ill_mirror-takin2-tlibs2 | 669fd34c306625fd306da278a5b29fb6aae16a87 | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2021-09-20T19:30:13.000Z | 2021-09-20T19:30:13.000Z | /**
* test eigensystem calculation
* @author Tobias Weber <tweber@ill.fr>
* @date 11-aug-20
* @license GPLv3, see 'LICENSE' file
*
* g++ -std=c++17 -DUSE_LAPACK -I.. -I/usr/include/lapacke -Iext/lapacke/include -Lext/lapacke/lib -o eig17 eig17.cpp ../libs/log.cpp -llapacke
*
* ----------------------------------... | 28.142857 | 143 | 0.619289 | tweber-ill |
ce283973201ba5108e758cca0aa51a144fdc600c | 265 | cpp | C++ | src/CellularAutomaton.cpp | MaxMutantMayer/wolfram_r184 | 3ba55e4c10f071384dc174d348d0556c4f462688 | [
"MIT"
] | null | null | null | src/CellularAutomaton.cpp | MaxMutantMayer/wolfram_r184 | 3ba55e4c10f071384dc174d348d0556c4f462688 | [
"MIT"
] | null | null | null | src/CellularAutomaton.cpp | MaxMutantMayer/wolfram_r184 | 3ba55e4c10f071384dc174d348d0556c4f462688 | [
"MIT"
] | null | null | null | #include "CellularAutomaton.hpp"
namespace wolfram_r184
{
void CellularAutomaton::Run(size_t numberOfTransitions)
{
m_grid.Print();
for (size_t i = 0; i < numberOfTransitions; ++i)
{
m_grid.DoTransition();
m_grid.Print();
}
}
} // namespace wolfram_r184
| 15.588235 | 55 | 0.716981 | MaxMutantMayer |
ce2c7ea712fd98560f0c8e134724ce51a127449b | 83 | hh | C++ | build/ARM/mem/protocol/RubyRequest.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/ARM/mem/protocol/RubyRequest.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | build/ARM/mem/protocol/RubyRequest.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | #include "/home/zhoushuxin/gem5/build/ARM/mem/ruby/slicc_interface/RubyRequest.hh"
| 41.5 | 82 | 0.819277 | zhoushuxin |
ce2fc881c4d515e083889d7e9da3efd08a10a089 | 644 | hh | C++ | include/syslog_interface.hh | Quicr/qmedia | 96408d740bf35e6a845f61c40cc9f9ff859a9955 | [
"BSD-2-Clause"
] | null | null | null | include/syslog_interface.hh | Quicr/qmedia | 96408d740bf35e6a845f61c40cc9f9ff859a9955 | [
"BSD-2-Clause"
] | 1 | 2021-12-29T03:37:51.000Z | 2022-03-16T05:59:11.000Z | include/syslog_interface.hh | Quicr/qmedia | 96408d740bf35e6a845f61c40cc9f9ff859a9955 | [
"BSD-2-Clause"
] | null | null | null |
#pragma once
#ifndef _WIN32
#include <syslog.h>
#endif
// Syslog interface declaration
class SyslogInterface
{
public:
virtual ~SyslogInterface() {}
virtual void openlog(const char *ident, int option, int facility)
{
#ifndef _WIN32
::openlog(ident, option, facility);
#endif
}
virtual vo... | 17.405405 | 70 | 0.639752 | Quicr |
ce38e66ec453c1b9b786c930fe9d41526d651ec4 | 477 | cpp | C++ | test/stdio/input.cpp | UnknownBugs/UEFIWrapper | 113d24ac414fe5ab6c782b908779508d279b7a6d | [
"MIT"
] | 1 | 2022-01-23T19:08:21.000Z | 2022-01-23T19:08:21.000Z | test/stdio/input.cpp | UnknownBugs/UEFIWrapper | 113d24ac414fe5ab6c782b908779508d279b7a6d | [
"MIT"
] | 6 | 2021-12-15T10:36:48.000Z | 2022-03-14T12:56:16.000Z | test/stdio/input.cpp | UnknownBugs/UEFIWrapper | 113d24ac414fe5ab6c782b908779508d279b7a6d | [
"MIT"
] | null | null | null | #include <UEFIWrapper.hpp>
using namespace UEFIWrapper;
extern "C" void
efi_main(void *ImageHandle __attribute__((unused)), SystemTable::ESystemTable *systemTable) {
SystemTable::init(systemTable);
SystemTable::clearScreen();
IO::Output cout; cout.init();
IO::Input cin; cin.init();
cout << " Te... | 22.714286 | 93 | 0.584906 | UnknownBugs |
ce3caa949ff81bfad09a00f052c4ea0f4449a4bd | 1,677 | cpp | C++ | cpp/struct_lua.cpp | zsuzuki/structbuilder | d39508f39413e3ffecc2a22ef0b7a8ba142a915c | [
"MIT"
] | null | null | null | cpp/struct_lua.cpp | zsuzuki/structbuilder | d39508f39413e3ffecc2a22ef0b7a8ba142a915c | [
"MIT"
] | null | null | null | cpp/struct_lua.cpp | zsuzuki/structbuilder | d39508f39413e3ffecc2a22ef0b7a8ba142a915c | [
"MIT"
] | null | null | null | //
// this file is auto generated
// by structbuilder<https://github.com/zsuzuki/structbuilder>
//
#include <sol/sol.hpp>
#include "struct.hpp"
namespace Sample {
void Test::setLUA(sol::state& lua)
{
lua.new_usertype<Note>(
"TestNote",
"page", &Note::page,
"line", &Note::line,
"copyFrom", &Note::co... | 29.946429 | 76 | 0.633274 | zsuzuki |
ce46d6a16f3f7d626fe10599769888eff7990fda | 10,235 | cpp | C++ | python/geometry/geometry.cpp | AKreutz/bark | 46c01339172b978fabc37aedebb7a67b7fa04449 | [
"MIT"
] | null | null | null | python/geometry/geometry.cpp | AKreutz/bark | 46c01339172b978fabc37aedebb7a67b7fa04449 | [
"MIT"
] | null | null | null | python/geometry/geometry.cpp | AKreutz/bark | 46c01339172b978fabc37aedebb7a67b7fa04449 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 fortiss GmbH, Julian Bernhard, Klemens Esterle, Patrick Hart, Tobias Kessler
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include <vector>
#include "geometry.hpp"
#include "modules/geometry/geometry.hpp"
namespace py ... | 52.219388 | 140 | 0.628334 | AKreutz |
ce4809a1702f0a39840c7ef71068dbc90c66a199 | 30,379 | cpp | C++ | src/Shape.cpp | Felipeasg/heekscad | 0b70cbeb998e864b1ea0af0685863f5a90da1504 | [
"BSD-3-Clause"
] | 2 | 2019-09-15T15:22:32.000Z | 2021-01-22T10:20:42.000Z | src/Shape.cpp | Felipeasg/HeeksCAD | 0b70cbeb998e864b1ea0af0685863f5a90da1504 | [
"BSD-3-Clause"
] | null | null | null | src/Shape.cpp | Felipeasg/HeeksCAD | 0b70cbeb998e864b1ea0af0685863f5a90da1504 | [
"BSD-3-Clause"
] | null | null | null | // Shape.cpp
// Copyright (c) 2009, Dan Heeks
// This program is released under the BSD license. See the file COPYING for details.
#include "stdafx.h"
#include "Shape.h"
#include "Solid.h"
#include "Wire.h"
#include "Group.h"
#include "Face.h"
#include "Edge.h"
#include "Vertex.h"
#include "Loop.h"
#include "Cylinder.h... | 27.124107 | 247 | 0.681359 | Felipeasg |
ce483a3d9b411c3e6db008c2ed48ee40d75ce085 | 7,947 | cpp | C++ | cpp/source/endpoint/device/actions/RadioCalibAction.cpp | skydiveuas/skydive | 6a3ddb20210c7feec93c2124c99a764e91f13701 | [
"MIT"
] | 2 | 2017-12-09T22:44:35.000Z | 2018-04-08T11:51:53.000Z | cpp/source/endpoint/device/actions/RadioCalibAction.cpp | skydiveuas/skydive | 6a3ddb20210c7feec93c2124c99a764e91f13701 | [
"MIT"
] | 1 | 2018-04-08T12:15:23.000Z | 2018-04-08T12:15:23.000Z | cpp/source/endpoint/device/actions/RadioCalibAction.cpp | skydiveuas/skydive | 6a3ddb20210c7feec93c2124c99a764e91f13701 | [
"MIT"
] | 1 | 2018-04-08T11:50:43.000Z | 2018-04-08T11:50:43.000Z | #include "endpoint/device/actions/RadioCalibAction.hpp"
#include "endpoint/device/actions/AppAction.hpp"
#include "endpoint/device/PilotEvent.hpp"
RadioCalibAction::RadioCalibAction(Listener* const _listener):
ISkyDeviceAction(_listener)
{
state = IDLE;
}
void RadioCalibAction::start(void)
{
current = 0... | 31.287402 | 107 | 0.611929 | skydiveuas |
ce4d75add058bf131018217162ac1086de6b73e0 | 5,953 | cpp | C++ | NorthstarDedicatedTest/hooks.cpp | connieprice/NorthstarLauncher | 9ede30f65e0c0a43fec711c7476c8e91c5ebbbb0 | [
"MIT"
] | null | null | null | NorthstarDedicatedTest/hooks.cpp | connieprice/NorthstarLauncher | 9ede30f65e0c0a43fec711c7476c8e91c5ebbbb0 | [
"MIT"
] | null | null | null | NorthstarDedicatedTest/hooks.cpp | connieprice/NorthstarLauncher | 9ede30f65e0c0a43fec711c7476c8e91c5ebbbb0 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "hooks.h"
#include "hookutils.h"
#include "sigscanning.h"
#include <wchar.h>
#include <iostream>
#include <vector>
#include <fstream>
#include <sstream>
#include <filesystem>
#include <Psapi.h>
typedef LPSTR(*GetCommandLineAType)();
LPSTR GetCommandLineAHook();
typedef HMODULE(*LoadLibraryE... | 28.347619 | 152 | 0.767848 | connieprice |
ce554d43ad550908b31398c8b3f8fdad0d5ef726 | 7,942 | cpp | C++ | src/engine/audio/private/VBRHeader.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/engine/audio/private/VBRHeader.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/engine/audio/private/VBRHeader.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "audio_pch.h"
#include "tier0/platform.h"
#include "MPAFile.h" // also includes vbrheader.h
#include "tier0/dbg.h"
#ifndef MAKEFOURCC... | 26.039344 | 117 | 0.675648 | DeadZoneLuna |
ce557156af0303d9baa1ae176ec3eb0821f090e6 | 2,281 | cpp | C++ | src/pub_main.cpp | shivaang12/beginner_tutorials | e0a5fded4efdd639eae0019e3aa84765d6fa0b8a | [
"MIT"
] | null | null | null | src/pub_main.cpp | shivaang12/beginner_tutorials | e0a5fded4efdd639eae0019e3aa84765d6fa0b8a | [
"MIT"
] | null | null | null | src/pub_main.cpp | shivaang12/beginner_tutorials | e0a5fded4efdd639eae0019e3aa84765d6fa0b8a | [
"MIT"
] | null | null | null | // MIT License
// Copyright (c) 2018 Shivang Patel
// 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, m... | 35.640625 | 81 | 0.732573 | shivaang12 |
ce5847dd0f6bdc3ef31495591af5330c413ce013 | 2,062 | cpp | C++ | 10.02_group_anagrams/group_anagrams.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 10.02_group_anagrams/group_anagrams.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 10.02_group_anagrams/group_anagrams.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | /*
* @Date: 2021-07-18 16:52:34
* @Author: Mengsen Wang
* @LastEditors: Mengsen Wang
* @LastEditTime: 2021-07-18 19:12:49
*/
#include <cassert>
#include <iostream>
#include <numeric>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
class Solution {
public:
vector<vector<strin... | 25.45679 | 78 | 0.547527 | Mengsen-W |
ce5a600d3680044118357647e9bcc0f448b20700 | 6,545 | cpp | C++ | Trace_yourself_for_fun_and_profit/secret_application.cpp | dermojo/presentations | 4f4da0e60c144e735c98bb4c77ce7ccb055bd20b | [
"MIT"
] | 3 | 2017-07-07T13:32:28.000Z | 2020-01-09T20:33:02.000Z | Trace_yourself_for_fun_and_profit/secret_application.cpp | dermojo/presentations | 4f4da0e60c144e735c98bb4c77ce7ccb055bd20b | [
"MIT"
] | null | null | null | Trace_yourself_for_fun_and_profit/secret_application.cpp | dermojo/presentations | 4f4da0e60c144e735c98bb4c77ce7ccb055bd20b | [
"MIT"
] | null | null | null | /**
* @file secret_application.cpp
* @brief a program that unveils its real functionality only to those who the secret passphrase...
*/
#include <fstream>
#include <iostream>
#include <cerrno>
#include <cstring>
#include <termios.h>
#include <unistd.h>
#include <sys/prctl.h>
#include <sys/ptrace.h>
#include ... | 27.733051 | 100 | 0.613293 | dermojo |
ce5b7c66bb343ac7aedabf73b77076b8a3d900fb | 7,709 | hpp | C++ | include/UnityEngine/ProBuilder/WingedEdgeEnumerator.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/ProBuilder/WingedEdgeEnumerator.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/ProBuilder/WingedEdgeEnumerator.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Collect... | 59.75969 | 234 | 0.750292 | marksteward |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.