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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9cc4f860ef1ddf0221de8f6b434920da9461e773 | 422 | cpp | C++ | src/server/utils/Constants.cpp | HoriaCool/av-app | c625b3b91ead1cddc8fee22edb8269eec5814b7d | [
"MIT"
] | null | null | null | src/server/utils/Constants.cpp | HoriaCool/av-app | c625b3b91ead1cddc8fee22edb8269eec5814b7d | [
"MIT"
] | null | null | null | src/server/utils/Constants.cpp | HoriaCool/av-app | c625b3b91ead1cddc8fee22edb8269eec5814b7d | [
"MIT"
] | null | null | null | #include "Constants.hpp"
std::unique_ptr<Constants> Constants::constants_ = nullptr;
Constants::Constants():
SERVER_ADDRESS("127.0.0.1"),
SERVER_PORT(7000),
BACKLOG_LISTEN(4096),
EPOLL_SIZE_CREATE(255),
EPOLL_TIMEOUT(3000),
EPOLL_MAX_EVENTS(1000)
{
}
Constants::~Constants()
{
}
Constants& Constants::get_inst... | 15.62963 | 59 | 0.722749 | HoriaCool |
9cc5a3b775b43e52a20fb51d47b06d4232077193 | 11,765 | cc | C++ | build/X86_MESI_Two_Level/python/swig/core.py.cc | hoho20000000/gem5-fy | b59f6feed22896d6752331652c4d8a41a4ca4435 | [
"BSD-3-Clause"
] | null | null | null | build/X86_MESI_Two_Level/python/swig/core.py.cc | hoho20000000/gem5-fy | b59f6feed22896d6752331652c4d8a41a4ca4435 | [
"BSD-3-Clause"
] | 1 | 2020-08-20T05:53:30.000Z | 2020-08-20T05:53:30.000Z | build/X86_MESI_Two_Level/python/swig/core.py.cc | hoho20000000/gem5-fy | b59f6feed22896d6752331652c4d8a41a4ca4435 | [
"BSD-3-Clause"
] | null | null | null | #include "sim/init.hh"
namespace {
const uint8_t data_m5_internal_core[] = {
120,156,197,89,221,115,220,72,17,111,105,215,107,175,237,245,
71,236,216,249,112,18,229,195,201,230,203,134,186,58,56,184,
144,34,177,157,96,72,236,32,251,72,178,119,160,146,53,227,
181,98,173,180,72,179,73,246,202,174,2,124,... | 58.532338 | 72 | 0.663578 | hoho20000000 |
9cc64805b08b83f1f535f937ca62af845be4bfbb | 7,778 | cpp | C++ | 2_Foundations/2_A*Search/14_whileLoopA*.cpp | ptiwari0664/UdacityCplusplusNanoDegree | e937990ed310e01783d335688bfde9c377a71051 | [
"MIT"
] | 1 | 2020-05-07T18:13:27.000Z | 2020-05-07T18:13:27.000Z | 2_Foundations/2_A*Search/14_whileLoopA*.cpp | ptiwari0664/UdacityCplusplusNanoDegree | e937990ed310e01783d335688bfde9c377a71051 | [
"MIT"
] | null | null | null | 2_Foundations/2_A*Search/14_whileLoopA*.cpp | ptiwari0664/UdacityCplusplusNanoDegree | e937990ed310e01783d335688bfde9c377a71051 | [
"MIT"
] | null | null | null | #include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <algorithm> // for sort
using std::cout;
using std::ifstream;
using std::istringstream;
using std::string;
using std::vector;
using std::abs;
#ifdef WIN32
#include <direct.h>
#define GetCurrentDir _getcwd
#else
#in... | 30.622047 | 124 | 0.541399 | ptiwari0664 |
9cc915b5421dd5e859b9f1164355948533b6582e | 13,620 | hpp | C++ | LearnMetalCPP/metal-cpp-extensions/MetalKit/MTKView.hpp | cgeffect/CGMetalC | 9ecba0964a963ba8c63dcbb254baeb1b8b6114be | [
"MIT"
] | 1 | 2022-01-17T16:16:24.000Z | 2022-01-17T16:16:24.000Z | LearnMetalCPP/metal-cpp-extensions/MetalKit/MTKView.hpp | cgeffect/CGMetalC | 9ecba0964a963ba8c63dcbb254baeb1b8b6114be | [
"MIT"
] | null | null | null | LearnMetalCPP/metal-cpp-extensions/MetalKit/MTKView.hpp | cgeffect/CGMetalC | 9ecba0964a963ba8c63dcbb254baeb1b8b6114be | [
"MIT"
] | null | null | null | /*
*
* Copyright 2020-2021 Apple 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 agr... | 34.221106 | 159 | 0.700954 | cgeffect |
9ccc1cb8a4d9aa02f32836fe5d7b8ccd388223a4 | 12,278 | hpp | C++ | src/Enzo/enzo_EnzoEquationOfState.hpp | pgrete/enzo-e | 43b1e33db50dbf00ea115ef35b7a4b17aa735342 | [
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoEquationOfState.hpp | pgrete/enzo-e | 43b1e33db50dbf00ea115ef35b7a4b17aa735342 | [
"BSD-3-Clause"
] | 1 | 2019-04-18T15:39:23.000Z | 2019-04-18T15:39:23.000Z | src/Enzo/enzo_EnzoEquationOfState.hpp | aemerick/enzo-e | 5282aa38593c298a894b52f3ab38ae616aaee43c | [
"MIT",
"BSD-3-Clause"
] | null | null | null | // See LICENSE_CELLO file for license and copyright information
/// @file enzo_EnzoEquationOfState.hpp
/// @author Matthew Abruzzo (matthewabruzzo@gmail.com)
/// @date Thurs May 2 2019
/// @brief [\ref Enzo] Implementation of Enzo's Equation Of State
/// abstract base class. It will be subclassed to imple... | 46.157895 | 80 | 0.719254 | pgrete |
9ccff13ede656bdd76019ce4c9eb11978ac10538 | 9,334 | cpp | C++ | src/appleseed/renderer/kernel/texturing/texturestore.cpp | takaiten/appleseed | 653efbc379fd322b717a3002c64510679de80156 | [
"MIT"
] | 1 | 2019-03-18T09:23:10.000Z | 2019-03-18T09:23:10.000Z | src/appleseed/renderer/kernel/texturing/texturestore.cpp | takaiten/appleseed | 653efbc379fd322b717a3002c64510679de80156 | [
"MIT"
] | 2 | 2015-10-26T16:19:06.000Z | 2015-10-26T16:20:22.000Z | src/appleseed/renderer/kernel/texturing/texturestore.cpp | takaiten/appleseed | 653efbc379fd322b717a3002c64510679de80156 | [
"MIT"
] | null | null | null |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... | 30.603279 | 86 | 0.649132 | takaiten |
9cd08ea0e6139712c43169afa1280bd8e34e557c | 2,076 | cpp | C++ | src/dawn_native/RenderBundle.cpp | shaoboyan/DawnSamplesForMesa | 90bfef5475ebad0a599013d6456cc8c3f8293703 | [
"Apache-2.0"
] | 8 | 2020-09-15T18:33:13.000Z | 2022-02-24T20:46:13.000Z | src/dawn_native/RenderBundle.cpp | shaoboyan/DawnSamplesForMesa | 90bfef5475ebad0a599013d6456cc8c3f8293703 | [
"Apache-2.0"
] | null | null | null | src/dawn_native/RenderBundle.cpp | shaoboyan/DawnSamplesForMesa | 90bfef5475ebad0a599013d6456cc8c3f8293703 | [
"Apache-2.0"
] | 4 | 2020-02-28T03:22:10.000Z | 2022-01-12T19:25:23.000Z | // Copyright 2019 The Dawn Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 33.483871 | 80 | 0.679191 | shaoboyan |
9cd31d21fa504db4067e5db4351274e34071f40c | 2,967 | cc | C++ | tests/test_nat_manager.cc | telosprotocol/xkad | f3591d5544bf26ba486cb4a7f141d9500422206e | [
"MIT"
] | 13 | 2019-09-16T13:34:35.000Z | 2020-01-13T08:06:17.000Z | tests/test_nat_manager.cc | telosprotocol/xkad | f3591d5544bf26ba486cb4a7f141d9500422206e | [
"MIT"
] | null | null | null | tests/test_nat_manager.cc | telosprotocol/xkad | f3591d5544bf26ba486cb4a7f141d9500422206e | [
"MIT"
] | null | null | null | // Copyright (c) 2017-2019 Telos Foundation & contributors
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string.h>
#include <string>
#include <gtest/gtest.h>
#include "xpbase/base/top_log.h"
#include "xtransport/u... | 22.823077 | 93 | 0.722952 | telosprotocol |
9cd36d372099aa497b0b43abc866ebbe23ca646e | 2,226 | cc | C++ | rtc_base/memory_usage.cc | na-g/webrtc-upstream-tracking | 41b5296405e2cc37b838c2f7490d02130387b294 | [
"BSD-3-Clause"
] | 1 | 2020-12-23T00:34:11.000Z | 2020-12-23T00:34:11.000Z | rtc_base/memory_usage.cc | na-g/webrtc-upstream-tracking | 41b5296405e2cc37b838c2f7490d02130387b294 | [
"BSD-3-Clause"
] | null | null | null | rtc_base/memory_usage.cc | na-g/webrtc-upstream-tracking | 41b5296405e2cc37b838c2f7490d02130387b294 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2017 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 29.289474 | 79 | 0.698113 | na-g |
9cd3ab918a8bdb44635faacc224abd556b7ac590 | 7,570 | cpp | C++ | source/tapemanager/holotape_wrapper.cpp | skwirl42/robco-processor | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | [
"MIT"
] | null | null | null | source/tapemanager/holotape_wrapper.cpp | skwirl42/robco-processor | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | [
"MIT"
] | 30 | 2020-12-29T13:25:25.000Z | 2021-09-28T12:03:35.000Z | source/tapemanager/holotape_wrapper.cpp | skwirl42/robco-processor | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | [
"MIT"
] | null | null | null | #include "holotape_wrapper.hpp"
#include <stdio.h>
#include <math.h>
#include <filesystem>
holotape_wrapper::holotape_wrapper(const char *filename) : filename(filename), initialized(false)
{
deck = holotape_deck_init();
if (deck)
{
auto result = holotape_insert(deck, filename);
if (result ... | 30.401606 | 141 | 0.605945 | skwirl42 |
9cd402151df380cb442cc40f43bb2814d6821329 | 2,576 | hpp | C++ | src/libv/ctrl/stated_sequence.hpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 2 | 2018-04-11T03:07:03.000Z | 2019-03-29T15:24:12.000Z | src/libv/ctrl/stated_sequence.hpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | null | null | null | src/libv/ctrl/stated_sequence.hpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 1 | 2021-06-13T06:39:06.000Z | 2021-06-13T06:39:06.000Z | // Project: libv.ctrl, File: src/libv/ctrl/stated_sequence.hpp, Author: Császár Mátyás [Vader]
#pragma once
// ext
#include <boost/container/small_vector.hpp>
// pro
#include <libv/ctrl/duration.hpp>
#include <libv/ctrl/sequence.hpp>
#include <libv/ctrl/time_point.hpp>
// TODO P1: cleanup state_sequence file
namesp... | 26.285714 | 100 | 0.677795 | cpplibv |
9cd5384ffebe398ff84c0b67f449184d6f954446 | 843 | cc | C++ | CMC040/cmcfun/time_code.cc | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | 1 | 2018-10-17T08:53:17.000Z | 2018-10-17T08:53:17.000Z | CMC040/cmcfun/time_code.cc | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | CMC040/cmcfun/time_code.cc | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | //! \file
//! \brief Time Aging Function
//!/
#pragma module time_code "V3.6 Calico"
#include <string>
#include "cmcfun.h"
//!
//! \brief Time Aging Function
//!
//! This function will convert a time into a long integer
//! consisting of the number of seconds (since midnight).
//!
//! \returns Returns a long integer ... | 18.326087 | 68 | 0.614472 | khandy21yo |
9cd63f254f4a993f3fd8e5663d205e5e4bf20748 | 443 | hpp | C++ | include/ct/platform/export.hpp | purpurina-engine/purpurina-frwk | 1df6fc2768f346fd47fd5cc3dd05daa59dea3726 | [
"MIT"
] | null | null | null | include/ct/platform/export.hpp | purpurina-engine/purpurina-frwk | 1df6fc2768f346fd47fd5cc3dd05daa59dea3726 | [
"MIT"
] | null | null | null | include/ct/platform/export.hpp | purpurina-engine/purpurina-frwk | 1df6fc2768f346fd47fd5cc3dd05daa59dea3726 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////
/// Chronotrix Framework
///
/// @todo Copyright notice
///
////////////////////////////////////////////////////////////
#ifndef _CHRONOTRIX_FRWK_PLATFORM_EXPORTS_HPP_
#define _CHRONOTRIX_FRWK_PLATFORM_EXPORTS_HPP_
#include <ct/config/api_export.hpp>
#ifde... | 22.15 | 60 | 0.591422 | purpurina-engine |
9cd77ea37ca0f3dbd1448fc2ac3a2a2f92ef1499 | 1,730 | inl | C++ | thrust/system/detail/generic/advance.inl | nunnikri/rocThrust | 069dea0640bb6fb7de887b292c9bca194f393ed6 | [
"Apache-2.0"
] | 915 | 2020-09-23T01:50:50.000Z | 2022-03-31T17:06:13.000Z | thrust/system/detail/generic/advance.inl | nunnikri/rocThrust | 069dea0640bb6fb7de887b292c9bca194f393ed6 | [
"Apache-2.0"
] | 364 | 2020-09-23T02:41:57.000Z | 2022-03-31T21:54:53.000Z | thrust/system/detail/generic/advance.inl | arvindcheru/rocThrust | 5c3d926b7ebdf0f9efaadf32294740e0d51a8bf7 | [
"Apache-2.0"
] | 149 | 2020-09-24T11:27:24.000Z | 2022-03-26T11:29:50.000Z | /*
* Copyright 2008-2013 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 25.820896 | 79 | 0.750867 | nunnikri |
9cd7f1b516e9d24ec6b57203118563ae40d917c0 | 5,954 | cpp | C++ | modules/olynin_a_cross_line_and_plane/src/cross_line_and_plane.cpp | Kirill1210/devtools-course-practice | 8de4a2c327bd77064cdbb318fbbbef072988ccbf | [
"CC-BY-4.0"
] | null | null | null | modules/olynin_a_cross_line_and_plane/src/cross_line_and_plane.cpp | Kirill1210/devtools-course-practice | 8de4a2c327bd77064cdbb318fbbbef072988ccbf | [
"CC-BY-4.0"
] | null | null | null | modules/olynin_a_cross_line_and_plane/src/cross_line_and_plane.cpp | Kirill1210/devtools-course-practice | 8de4a2c327bd77064cdbb318fbbbef072988ccbf | [
"CC-BY-4.0"
] | null | null | null | // Copyright 2022 Olynin Alexander
#include "include/cross_line_and_plane.h"
#include <math.h>
#include <iostream>
#include <string>
Line& Line::operator=(const Line& Tmp) {
this->x_1 = Tmp.x_1;
this->y_1 = Tmp.y_1;
this->z_1 = Tmp.z_1;
this->a_x = Tmp.a_x;
this->a_y = Tmp.a_y;
this->a_z = Tmp.a_z;
re... | 31.172775 | 79 | 0.536782 | Kirill1210 |
9cdd5dda64b7d63b586e9453793c512ccf6feb30 | 5,457 | cpp | C++ | live555/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp | SQZhangOwO/videoMonitoring | d0c5890dc161ad13e84d597faed3ef28ad171645 | [
"MIT"
] | 1 | 2020-05-13T19:04:11.000Z | 2020-05-13T19:04:11.000Z | live555/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp | SQZhangOwO/videoMonitoring | d0c5890dc161ad13e84d597faed3ef28ad171645 | [
"MIT"
] | 1 | 2021-06-11T06:11:22.000Z | 2021-06-11T06:11:22.000Z | live555/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp | SQZhangOwO/videoMonitoring | d0c5890dc161ad13e84d597faed3ef28ad171645 | [
"MIT"
] | 1 | 2018-03-12T14:18:12.000Z | 2018-03-12T14:18:12.000Z | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... | 40.422222 | 116 | 0.743266 | SQZhangOwO |
9ce0c211dcdfb32c6cdeefeaf897a99448b654a1 | 2,895 | cc | C++ | modules/csa/src/csa.cc | dgcl/motis | 6b134f80aa3b6445f710418962f1fed9cffda3a0 | [
"MIT"
] | null | null | null | modules/csa/src/csa.cc | dgcl/motis | 6b134f80aa3b6445f710418962f1fed9cffda3a0 | [
"MIT"
] | null | null | null | modules/csa/src/csa.cc | dgcl/motis | 6b134f80aa3b6445f710418962f1fed9cffda3a0 | [
"MIT"
] | null | null | null | #include "motis/csa/csa.h"
#include "motis/core/access/time_access.h"
#include "motis/core/journey/journeys_to_message.h"
#include "motis/module/context/get_schedule.h"
#include "motis/csa/build_csa_timetable.h"
#include "motis/csa/csa_query.h"
#include "motis/csa/csa_statistics.h"
#include "motis/csa/csa_timetable.h... | 34.058824 | 80 | 0.658031 | dgcl |
9ce402dad80d51f856883a9649414936fe274cc3 | 1,609 | hpp | C++ | src/cpuclassifier/CPULearnColumn.hpp | przestaw/nbc4gpu | 641945ac3974ec9df78a4217ebd133576791c58a | [
"BSD-3-Clause"
] | null | null | null | src/cpuclassifier/CPULearnColumn.hpp | przestaw/nbc4gpu | 641945ac3974ec9df78a4217ebd133576791c58a | [
"BSD-3-Clause"
] | null | null | null | src/cpuclassifier/CPULearnColumn.hpp | przestaw/nbc4gpu | 641945ac3974ec9df78a4217ebd133576791c58a | [
"BSD-3-Clause"
] | null | null | null | //
// Created by mateusz
//
#ifndef NBC4CPU_CPULEARNCOLUMN_HPP
#define NBC4CPU_CPULEARNCOLUMN_HPP
#include <vector>
namespace nbc4cpu {
template <typename ValueType> class CPULearnColumn {
public:
using AvgAndVariance = std::pair<ValueType, ValueType>;
/**
* Constructor
* @param col column of v... | 24.014925 | 72 | 0.658794 | przestaw |
9ce627d9e7fdf46b35e06d64c97141b4fdb25a16 | 1,427 | cpp | C++ | Hashing/Check_Array_Subset.cpp | susantabiswas/placementPrep | 22a7574206ddc63eba89517f7b68a3d2f4d467f5 | [
"MIT"
] | 19 | 2018-12-02T05:59:44.000Z | 2021-07-24T14:11:54.000Z | Hashing/Check_Array_Subset.cpp | susantabiswas/placementPrep | 22a7574206ddc63eba89517f7b68a3d2f4d467f5 | [
"MIT"
] | null | null | null | Hashing/Check_Array_Subset.cpp | susantabiswas/placementPrep | 22a7574206ddc63eba89517f7b68a3d2f4d467f5 | [
"MIT"
] | 13 | 2019-04-25T16:20:00.000Z | 2021-09-06T19:50:04.000Z | //given two arrays ,check whether arr2 is a subset of arr1 or not
/*
1.can be done using binary search also by sorting the arrays and looking for
elements of arr2 in arr1,but it won't handle the case when the arr2 has duplicates
2. using hash
*/
#include<iostream>
#include<vector>
#include<map>
using namespace s... | 26.425926 | 85 | 0.671338 | susantabiswas |
9ce6cb9e955f3ad60906cdbc93fa03049068f883 | 28,565 | cpp | C++ | sources/fplog.cpp | kr0st/fplog2 | 8e660a2a2f9dbd87a336c2af6cb13a44435acafa | [
"BSD-2-Clause"
] | null | null | null | sources/fplog.cpp | kr0st/fplog2 | 8e660a2a2f9dbd87a336c2af6cb13a44435acafa | [
"BSD-2-Clause"
] | null | null | null | sources/fplog.cpp | kr0st/fplog2 | 8e660a2a2f9dbd87a336c2af6cb13a44435acafa | [
"BSD-2-Clause"
] | null | null | null | #include <fplog.h>
#include <utils.h>
#include <map>
#include <thread>
#include <queue>
#include <sprot.h>
#include <udp_transport.h>
#include <mutex>
#include <queue_controller.h>
#include <rapidjson/rapidjson.h>
#include <rapidjson/allocators.h>
#include <rapidjson/writer.h>
#include <stdarg.h>
#include <piped_sequen... | 29.418126 | 167 | 0.605496 | kr0st |
9cecb7651ce9e872fd8bfc6866d52ea763cdbb60 | 3,490 | cc | C++ | src/tests/test_ewaldstatefile.cc | rubengerritsen/xtp | af4db53ca99853280d0e2ddc7f3c41bce8ae6e91 | [
"Apache-2.0"
] | null | null | null | src/tests/test_ewaldstatefile.cc | rubengerritsen/xtp | af4db53ca99853280d0e2ddc7f3c41bce8ae6e91 | [
"Apache-2.0"
] | null | null | null | src/tests/test_ewaldstatefile.cc | rubengerritsen/xtp | af4db53ca99853280d0e2ddc7f3c41bce8ae6e91 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2020 The VOTCA Development Team (http://www.votca.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 26.439394 | 75 | 0.698854 | rubengerritsen |
9ced9cf926b41bafa76ec58895b34753294f1f6a | 2,893 | cpp | C++ | DFNs/PointCloudTransformation/CartesianSystemTransform.cpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 7 | 2019-02-26T15:09:50.000Z | 2021-09-30T07:39:01.000Z | DFNs/PointCloudTransformation/CartesianSystemTransform.cpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | null | null | null | DFNs/PointCloudTransformation/CartesianSystemTransform.cpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 1 | 2020-12-06T12:09:05.000Z | 2020-12-06T12:09:05.000Z | /**
* @author Alessandro Bianco
*/
/**
* @addtogroup DFNs
* @{
*/
#include "CartesianSystemTransform.hpp"
#include <Converters/PointCloudToPclPointCloudConverter.hpp>
#include <Converters/MatToVisualPointFeatureVector3DConverter.hpp>
#include <Macros/YamlcppMacros.hpp>
#include <Errors/Assert.hpp>
#include <st... | 28.087379 | 167 | 0.809886 | H2020-InFuse |
9cf0a1abb81676d79b9818b37977d376ee916340 | 3,705 | cpp | C++ | src/game/client/gameui/BenchmarkDialog.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/game/client/gameui/BenchmarkDialog.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/game/client/gameui/BenchmarkDialog.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 "BenchmarkDialog.h"
#include "EngineInterface.h"
#include "BasePanel.h"
#include "tier1/KeyValues.h"
#include "tier1/convar.h"
#incl... | 28.282443 | 115 | 0.586235 | DeadZoneLuna |
9cf2fd822f3e7dd132c6140f1b35a11583a911ae | 162 | hpp | C++ | modules/rallies/script_macros.hpp | r4vn/a3-lair | 164af19221175e712af26db0d8ff7361ae30ba21 | [
"MIT"
] | null | null | null | modules/rallies/script_macros.hpp | r4vn/a3-lair | 164af19221175e712af26db0d8ff7361ae30ba21 | [
"MIT"
] | 3 | 2016-05-28T13:19:27.000Z | 2016-05-28T13:21:45.000Z | modules/rallies/script_macros.hpp | r4vn/a3-lair | 164af19221175e712af26db0d8ff7361ae30ba21 | [
"MIT"
] | null | null | null | // Define module's name
#define MODULE "rallies"
// Load script macros from the main module as it contains essential macros
#include "..\main\script_macros.hpp"
| 27 | 74 | 0.759259 | r4vn |
9cf309ceeba4995322ec7415ac92703647080138 | 4,912 | cpp | C++ | shared/scene/VtxData.cpp | adoug/3D-Graphics-Rendering-Cookbook | dabffed670b8be5a619f0f62b10e0cc8ccdd5a36 | [
"MIT"
] | 399 | 2021-06-03T02:42:20.000Z | 2022-03-27T23:23:15.000Z | shared/scene/VtxData.cpp | adoug/3D-Graphics-Rendering-Cookbook | dabffed670b8be5a619f0f62b10e0cc8ccdd5a36 | [
"MIT"
] | 7 | 2021-07-13T02:36:01.000Z | 2022-03-26T03:46:37.000Z | shared/scene/VtxData.cpp | adoug/3D-Graphics-Rendering-Cookbook | dabffed670b8be5a619f0f62b10e0cc8ccdd5a36 | [
"MIT"
] | 53 | 2021-06-02T20:02:24.000Z | 2022-03-29T15:36:30.000Z | #include "shared/scene/VtxData.h"
#include <algorithm>
#include <assert.h>
#include <stdio.h>
MeshFileHeader loadMeshData(const char* meshFile, MeshData& out)
{
MeshFileHeader header;
FILE* f = fopen(meshFile, "rb");
assert(f); // Did you forget to run "Ch5_Tool05_MeshConvert"?
if (!f)
{
printf("Cannot open... | 28.068571 | 118 | 0.692386 | adoug |
9cf83a0859a0d0aee31493fb627c39fb6f6c1a4a | 2,154 | hpp | C++ | qflow/wavefunctions/rbmsymmetricwavefunction.hpp | johanere/qflow | 5453cd5c3230ad7f082adf9ec1aea63ab0a4312a | [
"MIT"
] | 5 | 2019-07-24T21:46:24.000Z | 2021-06-11T18:18:24.000Z | qflow/wavefunctions/rbmsymmetricwavefunction.hpp | johanere/qflow | 5453cd5c3230ad7f082adf9ec1aea63ab0a4312a | [
"MIT"
] | 22 | 2019-02-19T10:49:26.000Z | 2019-07-18T09:42:13.000Z | qflow/wavefunctions/rbmsymmetricwavefunction.hpp | bsamseth/FYS4411 | 72b879e7978364498c48fc855b5df676c205f211 | [
"MIT"
] | 2 | 2020-11-04T15:17:24.000Z | 2021-11-03T16:37:38.000Z | #pragma once
#include "rbmwavefunction.hpp"
#include <algorithm>
#include <cassert>
#include <functional>
#include <vector>
/**
* Class for representing a wavefunction with an symmetric RBM.
*/
class RBMSymmetricWavefunction : public RBMWavefunction
{
public:
const int _f; // Number of degrees of freedom per ... | 27.974026 | 84 | 0.614206 | johanere |
9cf917d77e652fac3c07471642b499e89961b9d5 | 9,794 | cpp | C++ | tests/eosio.amend_tests.cpp | CALEOS/eosio.contracts | 07b7401f9518794deaff74d6f9547667575f3fcc | [
"MIT"
] | null | null | null | tests/eosio.amend_tests.cpp | CALEOS/eosio.contracts | 07b7401f9518794deaff74d6f9547667575f3fcc | [
"MIT"
] | null | null | null | tests/eosio.amend_tests.cpp | CALEOS/eosio.contracts | 07b7401f9518794deaff74d6f9547667575f3fcc | [
"MIT"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include <eosio/testing/tester.hpp>
#include <eosio/chain/abi_serializer.hpp>
#include <eosio/chain/wast_to_wasm.hpp>
#include <Runtime/Runtime.h>
#include <iomanip>
#include <fc/variant_object.hpp>
#include "contracts.hpp"
#include "test_symbol.hpp"
#include "eosio.amend_tester.hp... | 37.381679 | 148 | 0.691444 | CALEOS |
9cfc036a8d2eea4cf0f65b13241d56d1afd6a2c8 | 103 | hpp | C++ | missions/Obsolete/16_A2Free_CTI_CDF_vs_INS.chernarus/enemy/modules/modules.hpp | amlr/Multi-Session-Operations | ebfa0520a151fb27ff79fa74b17548f8560ed0a9 | [
"Apache-2.0"
] | null | null | null | missions/Obsolete/16_A2Free_CTI_CDF_vs_INS.chernarus/enemy/modules/modules.hpp | amlr/Multi-Session-Operations | ebfa0520a151fb27ff79fa74b17548f8560ed0a9 | [
"Apache-2.0"
] | null | null | null | missions/Obsolete/16_A2Free_CTI_CDF_vs_INS.chernarus/enemy/modules/modules.hpp | amlr/Multi-Session-Operations | ebfa0520a151fb27ff79fa74b17548f8560ed0a9 | [
"Apache-2.0"
] | null | null | null | // - Tested
#define MSOFACTIONS
#define RMM_ENEMYPOP
#define RMM_ZORA
// - To Test
#define BIS_WARFARE | 14.714286 | 20 | 0.757282 | amlr |
1400209aec98331e29d05974d4ff32f0f3be3d89 | 2,659 | cpp | C++ | src/utility/pkcs11module.cpp | kaidokert/old-esteid-stack | 0391bbf600556dc8527c4f87eed2c95afc878ab4 | [
"BSD-3-Clause"
] | null | null | null | src/utility/pkcs11module.cpp | kaidokert/old-esteid-stack | 0391bbf600556dc8527c4f87eed2c95afc878ab4 | [
"BSD-3-Clause"
] | null | null | null | src/utility/pkcs11module.cpp | kaidokert/old-esteid-stack | 0391bbf600556dc8527c4f87eed2c95afc878ab4 | [
"BSD-3-Clause"
] | null | null | null | /*!
\file pkcs11module.cpp
\copyright (c) Kaido Kert ( kaidokert@gmail.com )
\licence BSD
\author $Author$
\date $Date$
*/
// Revision $Revision$
#include "precompiled.h"
#include "pkcs11module.h"
pkcs11module::pkcs11module(const char *n) : DynamicLibrary(n) {
pGetFunctionList = (ULONG (*)(void * pInitArgs))... | 33.658228 | 107 | 0.622414 | kaidokert |
1404027145aea84ab887516edc05214c551d2cd2 | 1,189 | hpp | C++ | src/unity/djinni/jni/NativeBlockInfoRecord.hpp | afca1988/florin-core | 318f3a4e2186e817b047b3f3924ba70045b6f312 | [
"MIT"
] | 6 | 2021-05-18T09:09:38.000Z | 2022-03-29T14:50:38.000Z | src/unity/djinni/jni/NativeBlockInfoRecord.hpp | afca1988/florin-core | 318f3a4e2186e817b047b3f3924ba70045b6f312 | [
"MIT"
] | 1 | 2021-12-07T12:30:41.000Z | 2021-12-07T12:30:41.000Z | src/unity/djinni/jni/NativeBlockInfoRecord.hpp | afca1988/florin-core | 318f3a4e2186e817b047b3f3924ba70045b6f312 | [
"MIT"
] | 7 | 2020-08-11T18:00:32.000Z | 2021-03-26T08:58:07.000Z | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from libunity.djinni
#pragma once
#include "block_info_record.hpp"
#include "djinni_support.hpp"
namespace djinni_generated {
class NativeBlockInfoRecord final {
public:
using CppType = ::BlockInfoRecord;
using JniType = jobject;
u... | 33.971429 | 119 | 0.721615 | afca1988 |
140617b93cd9b1973782891b68cb92145e932bf7 | 1,980 | cpp | C++ | trainings/2015-08-01-NEERC-Southern-2012/A.cpp | HcPlu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | 9 | 2017-10-07T13:35:45.000Z | 2021-06-07T17:36:55.000Z | trainings/2015-08-01-NEERC-Southern-2012/A.cpp | zhijian-liu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | null | null | null | trainings/2015-08-01-NEERC-Southern-2012/A.cpp | zhijian-liu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | 3 | 2018-04-24T05:27:21.000Z | 2019-04-25T06:06:00.000Z | #include <cstdio>
#include <algorithm>
using namespace std;
const int N = 200005;
long long f[N], a[N], tmp[N];
long long jp0[N], jp1[N], get[N];
int main() {
long long n;
scanf("%I64d", &n);
for (long long i = 1; i <= n; i++) {
scanf("%I64d", &a[i]);
}
sort(a + 1, a + 1 + n);
for (l... | 23.294118 | 48 | 0.314646 | HcPlu |
14088337181e28f71947165389469040676042eb | 246 | cpp | C++ | sample/switch/simple/pregen/main.cpp | yuki-nyaa/pg | 5eb30bfd0609f225181c19e1f67035a2c5eb4461 | [
"Apache-2.0"
] | null | null | null | sample/switch/simple/pregen/main.cpp | yuki-nyaa/pg | 5eb30bfd0609f225181c19e1f67035a2c5eb4461 | [
"Apache-2.0"
] | null | null | null | sample/switch/simple/pregen/main.cpp | yuki-nyaa/pg | 5eb30bfd0609f225181c19e1f67035a2c5eb4461 | [
"Apache-2.0"
] | null | null | null | #include"cconfig"
#include"lexer.h"
#include"parser.h"
#include<cstdio>
typedef xxx::Token_Settings TS;
int main(){
FILE* file=fopen("test.txt","r");
xxx::Lexer lexer(file);
xxx::SParser parser(&lexer);
parser.parse();
} | 22.363636 | 38 | 0.638211 | yuki-nyaa |
140a30ed73689b79655ce02287ed377e3a9797a3 | 967 | cpp | C++ | recursion/implementation_based/inversion_count.cpp | Zim95/cpp_proj | b73781be17e818fc778320a7498dc4d021b92ffa | [
"MIT"
] | 2 | 2019-04-22T11:04:59.000Z | 2021-03-01T18:32:25.000Z | recursion/implementation_based/inversion_count.cpp | Zim95/cpp_proj | b73781be17e818fc778320a7498dc4d021b92ffa | [
"MIT"
] | null | null | null | recursion/implementation_based/inversion_count.cpp | Zim95/cpp_proj | b73781be17e818fc778320a7498dc4d021b92ffa | [
"MIT"
] | 1 | 2019-04-18T14:04:38.000Z | 2019-04-18T14:04:38.000Z | /*
INVERSION COUNT
---------------
Given an array:
int a[] = {1, 5, 2, 6, 3, 0, 2};
Find all pairs such that,
a[i] > a[j], for all i<j.
You see its inverted. As according to sorting, if i<j, a[i]<a[j].
*/
#include <iostream>
using namespace std;
int inversionCountMergeSort(int *a, int s, ... | 21.488889 | 69 | 0.490176 | Zim95 |
140bb32ac23afe1dce642ba8c482876d339c3f6c | 7,624 | hpp | C++ | Blik2D/addon/opencv-3.1.0_for_blik/modules/cudalegacy/src/cuda/fgd.hpp | BonexGu/Blik2D | 8e0592787e5c8e8a28682d0e1826b8223eae5983 | [
"MIT"
] | 13 | 2017-02-22T02:20:06.000Z | 2018-06-06T04:18:03.000Z | Blik2D/addon/opencv-3.1.0_for_blik/modules/cudalegacy/src/cuda/fgd.hpp | BonexGu/Blik2D | 8e0592787e5c8e8a28682d0e1826b8223eae5983 | [
"MIT"
] | null | null | null | Blik2D/addon/opencv-3.1.0_for_blik/modules/cudalegacy/src/cuda/fgd.hpp | BonexGu/Blik2D | 8e0592787e5c8e8a28682d0e1826b8223eae5983 | [
"MIT"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 40.126316 | 167 | 0.663038 | BonexGu |
140d16e26e842de1aa529efdec164f3a531b5563 | 893 | cpp | C++ | src/functions/functionexists.cpp | IngwiePhoenix/IceTea_old | 8a49b7c77bde123da2f4bae830362b0e791f03f4 | [
"BSD-3-Clause"
] | 1 | 2015-01-16T05:00:53.000Z | 2015-01-16T05:00:53.000Z | src/functions/functionexists.cpp | IngwiePhoenix/IceTea_old | 8a49b7c77bde123da2f4bae830362b0e791f03f4 | [
"BSD-3-Clause"
] | null | null | null | src/functions/functionexists.cpp | IngwiePhoenix/IceTea_old | 8a49b7c77bde123da2f4bae830362b0e791f03f4 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2007-2014 Xagasoft, All rights reserved.
*
* This file is part of the Xagasoft Build and is released under the
* terms of the license contained in the file LICENSE.
*/
#include "functionexists.h"
#include <unistd.h>
#include <bu/plugger.h>
PluginInterface3( pluginFunctionExists, exists, Funct... | 19.413043 | 73 | 0.646137 | IngwiePhoenix |
14113723e55c1f9d41356700cc656f32488d9989 | 3,963 | hpp | C++ | addons/medical/configs/actions/Medication.hpp | SOCOMD/SOCOMD-MODS-2021 | 834cd5f99831bd456179a1f55f5a91398c29bf57 | [
"MIT"
] | null | null | null | addons/medical/configs/actions/Medication.hpp | SOCOMD/SOCOMD-MODS-2021 | 834cd5f99831bd456179a1f55f5a91398c29bf57 | [
"MIT"
] | null | null | null | addons/medical/configs/actions/Medication.hpp | SOCOMD/SOCOMD-MODS-2021 | 834cd5f99831bd456179a1f55f5a91398c29bf57 | [
"MIT"
] | null | null | null |
class SOCOMD_Morphine {
allowSelfTreatment = 1;
medicRequired = 0;
treatmentTimeSelfCoef = 1; // todo: this isn't used anywhere, remove?
consumeItem = 1;
allowedSelections[] = {"LeftArm", "RightArm", "LeftLeg", "RightLeg"};
treatmentTime = ace_medical_treatment_treatmentTimeAutoinject... | 28.717391 | 80 | 0.634873 | SOCOMD |
14119432f166f74a3bcd2e57b6780d47f200202a | 750 | inl | C++ | src/vk/instance.inl | fur-id/sample | 8c68498ad14cc5f8869df2b9ea4ff2a91be9b558 | [
"MIT"
] | null | null | null | src/vk/instance.inl | fur-id/sample | 8c68498ad14cc5f8869df2b9ea4ff2a91be9b558 | [
"MIT"
] | null | null | null | src/vk/instance.inl | fur-id/sample | 8c68498ad14cc5f8869df2b9ea4ff2a91be9b558 | [
"MIT"
] | null | null | null | #ifndef VKF_INSTANCE
#define VKF_INSTANCE(...)
#endif
VKF_INSTANCE(vkDestroyInstance)
VKF_INSTANCE(vkDestroySurfaceKHR)
VKF_INSTANCE(vkEnumeratePhysicalDevices)
VKF_INSTANCE(vkEnumerateDeviceExtensionProperties)
VKF_INSTANCE(vkGetPhysicalDeviceProperties)
VKF_INSTANCE(vkGetPhysicalDeviceFeatures)
VKF_INSTANCE(vkGetPhys... | 37.5 | 55 | 0.918667 | fur-id |
1412688021735020765ca7f682aed3aac9500dcd | 810 | cpp | C++ | shared/src/dpe/painter.cpp | amazingidiot/qastools | 6e3b0532ebc353c79d6df0628ed375e3d3c09d12 | [
"MIT"
] | null | null | null | shared/src/dpe/painter.cpp | amazingidiot/qastools | 6e3b0532ebc353c79d6df0628ed375e3d3c09d12 | [
"MIT"
] | null | null | null | shared/src/dpe/painter.cpp | amazingidiot/qastools | 6e3b0532ebc353c79d6df0628ed375e3d3c09d12 | [
"MIT"
] | null | null | null | /// QasTools: Desktop toolset for the Linux sound system ALSA.
/// \copyright See COPYING file.
#include "painter.hpp"
#include "image_set_meta.hpp"
#include "paint_job.hpp"
namespace dpe
{
Painter::Painter ( unsigned int group_type_n, unsigned int group_variant_n )
: _group_type ( group_type_n )
, _group_variant ( ... | 18.409091 | 76 | 0.645679 | amazingidiot |
1414acdc46dc9e9630c99450ffdf656655bf251b | 14,094 | cpp | C++ | Sources/simdlib/SimdVmxBgraToYuv.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | 6 | 2017-10-13T04:29:38.000Z | 2018-05-10T13:52:20.000Z | Sources/simdlib/SimdVmxBgraToYuv.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | Sources/simdlib/SimdVmxBgraToYuv.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2017 Yermalayeu Ihar.
*
* 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 with... | 51.065217 | 161 | 0.552008 | aestesis |
1416e2689f95eccc7178d83270eaa1c99dafde70 | 4,280 | cpp | C++ | src/xray/xr_3da/xrGame/PHCollisionDamageReceiver.cpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/xray/xr_3da/xrGame/PHCollisionDamageReceiver.cpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/xray/xr_3da/xrGame/PHCollisionDamageReceiver.cpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | #include "stdafx.h"
#include "phcollisiondamagereceiver.h"
#include "PhysicsShellHolder.h"
#include "xr_ini.h"
#include "../skeletoncustom.h"
#include "geometry.h"
#include "PhysicsShell.h"
#include "GameMtlLib.h"
#include "Physics.h"
#include "../../xrNetServer/net_utils.h"
#include "xrMessages.h"
#include "CharacterP... | 37.54386 | 130 | 0.716355 | OLR-xray |
1418868ec4b68d94f251135d77501bcb795e3d55 | 992 | hpp | C++ | src/graphics/widgets/charge_props.hpp | svlv/elfield | 612e21dc74a82306cd2a623a54af1412936999e7 | [
"MIT"
] | null | null | null | src/graphics/widgets/charge_props.hpp | svlv/elfield | 612e21dc74a82306cd2a623a54af1412936999e7 | [
"MIT"
] | null | null | null | src/graphics/widgets/charge_props.hpp | svlv/elfield | 612e21dc74a82306cd2a623a54af1412936999e7 | [
"MIT"
] | null | null | null | #pragma once
#include "physics/charge.hpp"
#include <gtkmm/dialog.h>
#include <gtkmm/drawingarea.h>
#include <map>
#include <string>
namespace elfield
{
class charge_props : public Gtk::Dialog
{
public:
explicit charge_props(Gtk::Window& parent, const charge_ptr& charge,
Gtk::Widget& a... | 24.8 | 74 | 0.709677 | svlv |
14198454f9be23e819628f4ee2fb9c2518ef190c | 1,602 | hpp | C++ | src/lib/model/hpp/administrador.hpp | iagoizi/poo-petshop-cpp | 1eb9f6858ed6f55f3c1d07024b18ef67b0533358 | [
"MIT"
] | null | null | null | src/lib/model/hpp/administrador.hpp | iagoizi/poo-petshop-cpp | 1eb9f6858ed6f55f3c1d07024b18ef67b0533358 | [
"MIT"
] | null | null | null | src/lib/model/hpp/administrador.hpp | iagoizi/poo-petshop-cpp | 1eb9f6858ed6f55f3c1d07024b18ef67b0533358 | [
"MIT"
] | null | null | null | #ifndef ADMINISTRADOR_HPP
#define ADMINISTRADOR_HPP
#include "lib.hpp"
#include "vendedor.hpp"
#include "veterinario.hpp"
#include "petshop.hpp"
#include "usuario.hpp"
class Administrador : public Vendedor, public Veterinario
{
public:
Administrador(PetShop *petshop, string nome = "");
~Adminis... | 43.297297 | 90 | 0.734082 | iagoizi |
141b1d569f864079780ac39925325414e453a555 | 5,048 | cpp | C++ | src/gui/XML/XMLCircleAttrs.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | src/gui/XML/XMLCircleAttrs.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | src/gui/XML/XMLCircleAttrs.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | /* C++ code produced by gperf version 3.0.3 */
/* Command-line: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gperf -L C++ -t -N djn_XMLCircleAttrsLookup -Z XMLCircleAttrs_Hash src/gui/XML/XMLCircleAttrs.gperf */
/* Computed positions: -k'2' */
#if !((' ' == 32) && ('!' == 33)... | 34.575342 | 207 | 0.443542 | alicemona |
141be00392174277455397f8428485598dca6580 | 2,901 | cpp | C++ | sdl/6821OT_code_bundle/Alien Attack/src/MainMenuState.cpp | numfo/tryme | 596b48160cc1c2377bee05675570f62df4f37d9d | [
"MIT"
] | null | null | null | sdl/6821OT_code_bundle/Alien Attack/src/MainMenuState.cpp | numfo/tryme | 596b48160cc1c2377bee05675570f62df4f37d9d | [
"MIT"
] | null | null | null | sdl/6821OT_code_bundle/Alien Attack/src/MainMenuState.cpp | numfo/tryme | 596b48160cc1c2377bee05675570f62df4f37d9d | [
"MIT"
] | null | null | null | //
// MenuState.cpp
// SDL Game Programming Book
//
// Created by shaun mitchell on 09/02/2013.
// Copyright (c) 2013 shaun mitchell. All rights reserved.
//
#include <iostream>
#include "MainMenuState.h"
#include "TextureManager.h"
#include "Game.h"
#include "MenuButton.h"
#include "PlayState.h"
#incl... | 23.208 | 109 | 0.602896 | numfo |
1420eaad71a82a254e9665c9af84f7c391a45be4 | 20,607 | cxx | C++ | src/external/marray/test/dpd_marray_view.cxx | devinamatthews/tensor | 7d979b6624071879383377611cb2fa483b6a3104 | [
"BSD-3-Clause"
] | 86 | 2016-05-30T16:08:24.000Z | 2022-03-30T22:57:35.000Z | src/external/marray/test/dpd_marray_view.cxx | devinamatthews/tensor | 7d979b6624071879383377611cb2fa483b6a3104 | [
"BSD-3-Clause"
] | 41 | 2017-02-02T22:28:17.000Z | 2022-02-22T16:51:14.000Z | src/external/marray/test/dpd_marray_view.cxx | devinamatthews/tensor | 7d979b6624071879383377611cb2fa483b6a3104 | [
"BSD-3-Clause"
] | 26 | 2016-05-30T16:08:33.000Z | 2021-12-29T03:02:30.000Z | #include "gtest/gtest.h"
#include "dpd_marray.hpp"
using namespace std;
using namespace MArray;
template <typename T, unsigned... Sizes>
struct arrays_helper;
template <typename T, unsigned Size1, unsigned Size2>
struct arrays_helper<T, Size1, Size2>
{
typedef array<array<T,Size2>,Size1> type;
};
template <type... | 32.400943 | 131 | 0.492211 | devinamatthews |
1421190022f56d2db91673dd915b6b08f0eb4d27 | 1,787 | cpp | C++ | hiro/core/widget/text-edit.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | hiro/core/widget/text-edit.cpp | ameer-bauer/higan-097 | a4a28968173ead8251cfa7cd6b5bf963ee68308f | [
"Info-ZIP"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | hiro/core/widget/text-edit.cpp | ameer-bauer/higan-097 | a4a28968173ead8251cfa7cd6b5bf963ee68308f | [
"Info-ZIP"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | #if defined(Hiro_TextEdit)
auto mTextEdit::allocate() -> pObject* {
return new pTextEdit(*this);
}
//
auto mTextEdit::backgroundColor() const -> Color {
return state.backgroundColor;
}
auto mTextEdit::cursor() const -> Cursor {
return state.cursor;
}
auto mTextEdit::doChange() const -> void {
if(state.onCh... | 20.306818 | 70 | 0.698937 | 13824125580 |
14238e18c63c19e81ec2e9c573d3c724ae2686e8 | 1,088 | cc | C++ | leetcode/203_remove_linked_list_elements.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | leetcode/203_remove_linked_list_elements.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | leetcode/203_remove_linked_list_elements.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | /*
* =====================================================================================
*
* Filename: 203_remove_linked_list_elements.cc
*
* Description:
*
* Version: 1.0
* Created: 09/17/2015 09:48:38 AM
* Revision: none
* Compiler: gcc
*
* Author: (Qi... | 22.666667 | 88 | 0.488051 | norlanliu |
14252f7db5a67bd349e7fb10186b7a225376376c | 7,531 | cc | C++ | tests/mime_test.cc | oktal/restgear | 615281a33eccd9c1d09f274254fd28313b0cd582 | [
"Apache-2.0"
] | 2 | 2015-10-27T11:13:07.000Z | 2016-01-10T02:51:04.000Z | tests/mime_test.cc | oktal/rest | 615281a33eccd9c1d09f274254fd28313b0cd582 | [
"Apache-2.0"
] | null | null | null | tests/mime_test.cc | oktal/rest | 615281a33eccd9c1d09f274254fd28313b0cd582 | [
"Apache-2.0"
] | null | null | null | /*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <gmock/gmock-matchers.h>
#include <gtest/gtest.h>
#include <pistache/http.h>
#include <pistache/mime.h>
#include <locale>
using namespace Pistache::Http;
using namespace Pistache::Http::Mime;
using testing::Thr... | 38.819588 | 122 | 0.641084 | oktal |
14269b3269526a963734d2a29f6ac774f7277557 | 56 | cpp | C++ | examples/test_library/test.cpp | tomjnixon/arduino-scons-alt | 35f3725def8d515bc1b28d856188ec9dd10b063b | [
"MIT"
] | 1 | 2021-08-30T20:02:34.000Z | 2021-08-30T20:02:34.000Z | examples/test_library/test.cpp | tomjnixon/arduino-scons-alt | 35f3725def8d515bc1b28d856188ec9dd10b063b | [
"MIT"
] | null | null | null | examples/test_library/test.cpp | tomjnixon/arduino-scons-alt | 35f3725def8d515bc1b28d856188ec9dd10b063b | [
"MIT"
] | 1 | 2016-09-20T03:31:11.000Z | 2016-09-20T03:31:11.000Z | #include "test.h"
int get_delay() {
return 1000;
}
| 9.333333 | 17 | 0.607143 | tomjnixon |
14296e7d80698fedb84dc4e5be71095b7f422ff7 | 28,006 | cc | C++ | aslam_cv_cameras/test/test-cameras.cc | shuhannod/aslam_cv2 | 4dd48916b9e5b9d5aa56e28894a04d4a25a87348 | [
"Apache-2.0"
] | 3 | 2019-09-16T02:11:58.000Z | 2020-03-20T22:49:32.000Z | aslam_cv_cameras/test/test-cameras.cc | shuhannod/aslam_cv2 | 4dd48916b9e5b9d5aa56e28894a04d4a25a87348 | [
"Apache-2.0"
] | null | null | null | aslam_cv_cameras/test/test-cameras.cc | shuhannod/aslam_cv2 | 4dd48916b9e5b9d5aa56e28894a04d4a25a87348 | [
"Apache-2.0"
] | 3 | 2020-02-28T14:11:54.000Z | 2022-02-25T08:30:50.000Z | #include <Eigen/Core>
#include <eigen-checks/gtest.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <typeinfo>
#include <aslam/cameras/camera.h>
#include <aslam/cameras/camera-factory.h>
#include <aslam/cameras/camera-pinhole.h>
#include <aslam/cameras/camera-unified-projection.h>
#include <aslam/cameras... | 41.24595 | 144 | 0.69278 | shuhannod |
142ccccb72f03cfdda6d0666fcc986a6fee6aaa2 | 12,266 | cpp | C++ | iree/compiler/Dialect/Shape/Plugins/XLA/XlaHloShapeBuilder.cpp | shanshanpt/iree | 89351bba213e391b22c1fa4a80963827c4d82d86 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Dialect/Shape/Plugins/XLA/XlaHloShapeBuilder.cpp | shanshanpt/iree | 89351bba213e391b22c1fa4a80963827c4d82d86 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Dialect/Shape/Plugins/XLA/XlaHloShapeBuilder.cpp | shanshanpt/iree | 89351bba213e391b22c1fa4a80963827c4d82d86 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 38.211838 | 80 | 0.69126 | shanshanpt |
142d323a03dc52282b70141eddd1a3c93d6ff2f6 | 971 | hpp | C++ | Code/include/OE/UI_OLD/Layouts/LayoutElement.hpp | mlomb/OrbitEngine | 41f053626f05782e81c2e48f5c87b04972f9be2c | [
"Apache-2.0"
] | 21 | 2018-06-26T16:37:36.000Z | 2022-01-11T01:19:42.000Z | Code/include/OE/UI_OLD/Layouts/LayoutElement.hpp | mlomb/OrbitEngine | 41f053626f05782e81c2e48f5c87b04972f9be2c | [
"Apache-2.0"
] | null | null | null | Code/include/OE/UI_OLD/Layouts/LayoutElement.hpp | mlomb/OrbitEngine | 41f053626f05782e81c2e48f5c87b04972f9be2c | [
"Apache-2.0"
] | 3 | 2019-10-01T14:10:50.000Z | 2021-11-19T20:30:18.000Z | #ifndef UI_LAYOUT_ELEMENT_HPP
#define UI_LAYOUT_ELEMENT_HPP
#include "OE/Math/Vec2.hpp"
namespace OrbitEngine { namespace UI {
enum LayoutProperty {
MINIMUM_SIZE = 0,
PREFERRED_SIZE,
FLEXIBLE_SIZE
};
enum Axis : int {
HORIZONTAL = 0, VERTICAL = 1
};
typedef Axis Orientation;
class LayoutElement {
pu... | 28.558824 | 175 | 0.762101 | mlomb |
142dee91a299e862a961533dec929be5fdc96bf9 | 1,901 | cpp | C++ | libraries/lib-basic-ui/GenericString.cpp | generic-pers0n/saucedacity | c737a38345c35b6b18900ee5ca0fe714b7957af6 | [
"CC-BY-3.0"
] | 11 | 2021-08-08T18:34:30.000Z | 2022-01-14T11:48:17.000Z | libraries/lib-basic-ui/GenericString.cpp | saucedacity/saucedacity | c737a38345c35b6b18900ee5ca0fe714b7957af6 | [
"CC-BY-3.0"
] | 11 | 2021-08-07T18:20:36.000Z | 2022-01-06T18:40:27.000Z | libraries/lib-basic-ui/GenericString.cpp | generic-pers0n/saucedacity | c737a38345c35b6b18900ee5ca0fe714b7957af6 | [
"CC-BY-3.0"
] | 1 | 2021-12-29T02:10:21.000Z | 2021-12-29T02:10:21.000Z | /*!********************************************************************
Saucedacity: A Digital Audio Editor
@file GenericString.cpp
@brief GenericString implementation.
Avery King
**********************************************************************/
#include "GenericString.h"
namespace GenericUI {
GenericString... | 18.637255 | 79 | 0.637033 | generic-pers0n |
28a0627334f6d5bbd9d094d76ec79466c4a66a6c | 5,222 | cpp | C++ | src/model/test/AirLoopHVACOutdoorAirSystem_GTest.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 354 | 2015-01-10T17:46:11.000Z | 2022-03-29T10:00:00.000Z | src/model/test/AirLoopHVACOutdoorAirSystem_GTest.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 3,243 | 2015-01-02T04:54:45.000Z | 2022-03-31T17:22:22.000Z | src/model/test/AirLoopHVACOutdoorAirSystem_GTest.cpp | jmarrec/OpenStudio | 5276feff0d8dbd6c8ef4e87eed626bc270a19b14 | [
"blessing"
] | 157 | 2015-01-07T15:59:55.000Z | 2022-03-30T07:46:09.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 50.699029 | 126 | 0.748372 | muehleisen |
28a146ff9f543d7952310d003b9ce88a6f1c69cc | 2,177 | cpp | C++ | QueuePP/source/store.cpp | AntonPoturaev/QueuePP | 25ea571abdd62ab6409da6dbad5bfcd20898ffb1 | [
"Unlicense"
] | null | null | null | QueuePP/source/store.cpp | AntonPoturaev/QueuePP | 25ea571abdd62ab6409da6dbad5bfcd20898ffb1 | [
"Unlicense"
] | null | null | null | QueuePP/source/store.cpp | AntonPoturaev/QueuePP | 25ea571abdd62ab6409da6dbad5bfcd20898ffb1 | [
"Unlicense"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
///
/// Project Queue++
/// Copyright (c) 2016
///
////////////////////////////////////////////////////////////////////////////////
/// @file types.hpp
/// @authors Poturaev Anton
/// @date ... | 26.876543 | 98 | 0.523656 | AntonPoturaev |
28a3322f01dc5a1a56ac29fb05cf0bd2ae5ff5f9 | 3,591 | cpp | C++ | CMinus/CMinus/attribute/attribute_collection.cpp | benbraide/CMinusMinus | 6e32b825f192634538b3adde6ca579a548ca3f7e | [
"MIT"
] | null | null | null | CMinus/CMinus/attribute/attribute_collection.cpp | benbraide/CMinusMinus | 6e32b825f192634538b3adde6ca579a548ca3f7e | [
"MIT"
] | null | null | null | CMinus/CMinus/attribute/attribute_collection.cpp | benbraide/CMinusMinus | 6e32b825f192634538b3adde6ca579a548ca3f7e | [
"MIT"
] | null | null | null | #include "../type/type_object.h"
#include "attribute_collection.h"
cminus::attribute::collection::collection(std::shared_ptr<type::object> target_type)
: target_type_(target_type){}
cminus::attribute::collection::collection(const list_type &list, std::shared_ptr<type::object> target_type)
: target_type_(target_typ... | 25.468085 | 176 | 0.69897 | benbraide |
28a38d15e5526afbc21b50ae04438d05e525e353 | 1,046 | hpp | C++ | player/playerlib/NodeReader.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/NodeReader.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/NodeReader.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | /*
* This file is part of FFL project.
*
* The MIT License (MIT)
* Copyright (C) 2017-2018 zhufeifei All rights reserved.
*
* NodeReader.hpp
* Created by zhufeifei(34008081@qq.com) on 2018/03/03
*
* 视频文件读写,解复用的
*
*/
#pragma once
#include "NodeBase.hpp"
#include "IReader.hpp"
namespace player {
class NodeReader... | 13.240506 | 57 | 0.58891 | zhenfei2016 |
28aa115bfb89cf963b0ea22406ae6f8dece58a5b | 2,054 | cc | C++ | asylo/platform/posix/io/io_context_eventfd.cc | kevin405/mosl_vsgx_migration | 76ddd438c8caad1051ea9a7e2040bf6ccee996a2 | [
"Apache-2.0"
] | 890 | 2018-05-03T17:27:37.000Z | 2022-03-30T03:54:35.000Z | asylo/platform/posix/io/io_context_eventfd.cc | kevin405/mosl_vsgx_migration | 76ddd438c8caad1051ea9a7e2040bf6ccee996a2 | [
"Apache-2.0"
] | 71 | 2018-05-03T22:36:07.000Z | 2021-10-04T22:58:59.000Z | asylo/platform/posix/io/io_context_eventfd.cc | kevin405/mosl_vsgx_migration | 76ddd438c8caad1051ea9a7e2040bf6ccee996a2 | [
"Apache-2.0"
] | 127 | 2018-05-03T21:03:47.000Z | 2022-03-28T20:21:43.000Z | /*
*
* Copyright 2018 Asylo authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 26.675325 | 75 | 0.678676 | kevin405 |
28b803182a830c9fc4501fe4754c36c05ffe90d5 | 12,474 | cpp | C++ | SheepShaver/src/MacOSX/sys_darwin.cpp | jvernet/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 940 | 2015-01-04T12:20:10.000Z | 2022-03-29T12:35:27.000Z | SheepShaver/src/MacOSX/sys_darwin.cpp | Seanpm2001-virtual-machines/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 163 | 2015-02-10T09:08:10.000Z | 2022-03-13T05:48:10.000Z | SheepShaver/src/MacOSX/sys_darwin.cpp | Seanpm2001-virtual-machines/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 188 | 2015-01-07T19:46:11.000Z | 2022-03-26T19:06:00.000Z | /*
* $Id$
*
* sys_darwin.cpp - Extra Darwin system dependant routines. Called by:
*
* sys_unix.cpp - System dependent routines, Unix implementation
*
* Based on Apple's CDROMSample.c and Evan Jones' cd-discid.c patches
*
* Basilisk II (C) 1997-2008 Christian Bauer
*
* This program is free software; you ca... | 28.285714 | 104 | 0.719016 | jvernet |
28b92ffb134d8456e86ac6a01fb77949fe96e59b | 10,742 | hpp | C++ | rclcpp/include/rclcpp/subscription_base.hpp | squizz617/rclcpp | 8e5ddb1f81d4ddf8f788b1d67cbb0e7ef477d504 | [
"Apache-2.0"
] | 3 | 2021-07-05T11:20:10.000Z | 2022-02-18T16:13:15.000Z | rclcpp/include/rclcpp/subscription_base.hpp | squizz617/rclcpp | 8e5ddb1f81d4ddf8f788b1d67cbb0e7ef477d504 | [
"Apache-2.0"
] | 16 | 2020-12-16T16:20:21.000Z | 2022-02-28T11:32:48.000Z | rclcpp/include/rclcpp/subscription_base.hpp | irobot-ros/rclcpp | edcae47df2528a9c06cfd98f204ad9b5d2da56b4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Open Source Robotics Foundation, 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 appli... | 33.886435 | 100 | 0.754515 | squizz617 |
28ba3290c1bd771e7dee70f8c740f77677e8fa9b | 9,880 | cpp | C++ | CPU_6502/CPU_6502/vm_class.cpp | JimmyHwang/PC6502 | d93067bd46a5df5c30a50ec79f5dff1c419edfc5 | [
"MIT"
] | null | null | null | CPU_6502/CPU_6502/vm_class.cpp | JimmyHwang/PC6502 | d93067bd46a5df5c30a50ec79f5dff1c419edfc5 | [
"MIT"
] | 4 | 2021-02-09T10:33:44.000Z | 2021-02-09T10:35:59.000Z | CPU_6502/CPU_6502/vm_class.cpp | JimmyHwang/PC6502 | d93067bd46a5df5c30a50ec79f5dff1c419edfc5 | [
"MIT"
] | null | null | null | #include "main.h"
//#define DEBUG_ADDRESSS_DECODER
//-----------------------------------------------------------------------------
// Memory Hook for CPU
//-----------------------------------------------------------------------------
UINT8
MemoryRead8(
MEMORY_CONTROL_PROTOCOL *Protocol,
UINTN Ip
) {
UINT8 Data;... | 21.858407 | 85 | 0.589676 | JimmyHwang |
28badb48492f82e1e867e8b6c966911cd60e76cc | 10,891 | cpp | C++ | triad-sycl/OptionParser.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 162 | 2015-01-25T23:22:48.000Z | 2022-03-19T12:36:05.000Z | triad-sycl/OptionParser.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 20 | 2016-01-08T21:54:33.000Z | 2021-11-05T13:36:30.000Z | triad-sycl/OptionParser.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 85 | 2015-01-06T15:27:13.000Z | 2022-01-24T16:49:09.000Z | #include <string>
#include <vector>
#include <map>
#include "OptionParser.h"
#include "Utility.h"
#include <sstream>
#include <fstream>
#include <iomanip>
using namespace std;
OptionParser::OptionParser()
: helpRequested( false )
{
addOption("configFile", OPT_STRING, "",
"specify configuration fil... | 27.997429 | 88 | 0.524102 | BeauJoh |
28bce1fc6f52371373ec58e7d240f1779bc20602 | 4,328 | cpp | C++ | src/oswindows/TsfClient/TfCandidateList.cpp | millimoji/ribbon | 59e6659848f5edc435d58078f0cdcd805daf9f3f | [
"MIT"
] | null | null | null | src/oswindows/TsfClient/TfCandidateList.cpp | millimoji/ribbon | 59e6659848f5edc435d58078f0cdcd805daf9f3f | [
"MIT"
] | null | null | null | src/oswindows/TsfClient/TfCandidateList.cpp | millimoji/ribbon | 59e6659848f5edc435d58078f0cdcd805daf9f3f | [
"MIT"
] | null | null | null | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h"
#include "... | 23.394595 | 115 | 0.639325 | millimoji |
28bd3b133d3139d6f17fe1121b9bc6f7ee02b370 | 4,768 | cpp | C++ | daemon/worktipsnetctl.cpp | Ghost-ai-cpu/lokinet | 2f2074d1069b39d0e455bcbf12ea53304a6a76a1 | [
"Zlib"
] | null | null | null | daemon/worktipsnetctl.cpp | Ghost-ai-cpu/lokinet | 2f2074d1069b39d0e455bcbf12ea53304a6a76a1 | [
"Zlib"
] | null | null | null | daemon/worktipsnetctl.cpp | Ghost-ai-cpu/lokinet | 2f2074d1069b39d0e455bcbf12ea53304a6a76a1 | [
"Zlib"
] | null | null | null | #include <config/config.hpp>
#include <router_contact.hpp>
#include <util/logging/logger.hpp>
#include <util/logging/ostream_logger.hpp>
#include <cxxopts.hpp>
#include <string>
#include <vector>
#ifdef WITH_CURL
#include <curl/curl.h>
#endif
namespace
{
bool
dumpRc(const std::vector< std::string >& files)
{
... | 26.488889 | 79 | 0.5862 | Ghost-ai-cpu |
28be698df0f1a2f04af20506bc2572ac38c20b1d | 20,356 | cc | C++ | java/src/main/c++/jni_spark_vw.cc | thmavri/vowpal_wabbit | 6a5f1f3b790cd37530fae4ec436f5c76683d5b27 | [
"BSD-3-Clause"
] | null | null | null | java/src/main/c++/jni_spark_vw.cc | thmavri/vowpal_wabbit | 6a5f1f3b790cd37530fae4ec436f5c76683d5b27 | [
"BSD-3-Clause"
] | null | null | null | java/src/main/c++/jni_spark_vw.cc | thmavri/vowpal_wabbit | 6a5f1f3b790cd37530fae4ec436f5c76683d5b27 | [
"BSD-3-Clause"
] | null | null | null | #include "jni_spark_vw.h"
#include "vw_exception.h"
#include "best_constant.h"
#include "util.h"
#include "options_serializer_boost_po.h"
#include "learner.h"
#include "simple_label_parser.h"
#include <algorithm>
#include <exception>
#include "shared_data.h"
jobject getJavaPrediction(JNIEnv* env, vw* all, e... | 27.620081 | 121 | 0.656956 | thmavri |
28bf32ff2ec315fe9b4786a33bfc0e9342656ed5 | 41,161 | cpp | C++ | source/idlib/math/Lcp.cpp | JasonHutton/QWTA | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | [
"MIT"
] | 2 | 2021-05-02T18:37:48.000Z | 2021-07-18T16:18:14.000Z | source/idlib/math/Lcp.cpp | JasonHutton/QWTA | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | [
"MIT"
] | null | null | null | source/idlib/math/Lcp.cpp | JasonHutton/QWTA | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | [
"MIT"
] | null | null | null | // Copyright (C) 2007 Id Software, Inc.
//
#include "../precompiled.h"
#pragma hdrstop
// static idCVar lcp_showFailures( "lcp_showFailures", "0", CVAR_SYSTEM | CVAR_BOOL, "show LCP solver failures" );
const float LCP_BOUND_EPSILON = 1e-5f;
const float LCP_ACCEL_EPSILON = 1e-5f;
const float LCP_DELTA_A... | 25.7901 | 156 | 0.562669 | JasonHutton |
28c0961fda250a1b1e9db6394c475466af3f5533 | 19,072 | cpp | C++ | code/SDK/sources/MagicSoftware/FreeMagic/Source/Containment3D/MgcCont3DMinSphere.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/SDK/sources/MagicSoftware/FreeMagic/Source/Containment3D/MgcCont3DMinSphere.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/SDK/sources/MagicSoftware/FreeMagic/Source/Containment3D/MgcCont3DMinSphere.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | // Magic Software, Inc.
// http://www.magic-software.com
// Copyright (c) 2000-2002. All Rights Reserved
//
// Source code from Magic Software is supplied under the terms of a license
// agreement and may not be copied or disclosed except in accordance with the
// terms of that agreement. The various license agreemen... | 29.52322 | 78 | 0.511063 | Rikoshet-234 |
28c9fb94fdc9b5c76adb70ee665b1238d787ff12 | 1,094 | cc | C++ | effects/src/passthrough.cc | mnyrenius/awesome-fxd | b643cea47a92aa465d24194e23a10e4ff34e0de1 | [
"MIT"
] | null | null | null | effects/src/passthrough.cc | mnyrenius/awesome-fxd | b643cea47a92aa465d24194e23a10e4ff34e0de1 | [
"MIT"
] | null | null | null | effects/src/passthrough.cc | mnyrenius/awesome-fxd | b643cea47a92aa465d24194e23a10e4ff34e0de1 | [
"MIT"
] | null | null | null | #include <audio_processor.h>
#include <fx_plugin.h>
#include <cstring>
#include <memory>
namespace awesomefx
{
class Passthrough : public AudioProcessor
{
public:
Passthrough(const AudioProcessingContext& context)
{
printf("Current sample rate: %u\n", context.getSampleRate());
}
void process(... | 21.45098 | 107 | 0.691956 | mnyrenius |
28cbf30a8076c33e2a78dc2ec1ccb8d287177627 | 6,821 | hpp | C++ | files/connector.hpp | DmitryKorotin/mama | 8ec15c4a1cb70332d6caf8abd30a9229c1875628 | [
"Apache-2.0"
] | null | null | null | files/connector.hpp | DmitryKorotin/mama | 8ec15c4a1cb70332d6caf8abd30a9229c1875628 | [
"Apache-2.0"
] | null | null | null | files/connector.hpp | DmitryKorotin/mama | 8ec15c4a1cb70332d6caf8abd30a9229c1875628 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) DataStax, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | 29.528139 | 95 | 0.743733 | DmitryKorotin |
28cda7cc336ef0443938bde337e3a37d5726a80a | 1,125 | cpp | C++ | vendor/github.com/antlr/antlr4/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp | mikijov/rune | 66f58cc337e3fb919034128bec690fb86e708234 | [
"Apache-2.0"
] | null | null | null | vendor/github.com/antlr/antlr4/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp | mikijov/rune | 66f58cc337e3fb919034128bec690fb86e708234 | [
"Apache-2.0"
] | null | null | null | vendor/github.com/antlr/antlr4/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp | mikijov/rune | 66f58cc337e3fb919034128bec690fb86e708234 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#include "misc/MurmurHash.h"
#include "Lexer.h"
#include "atn/LexerSkipAction.h"
using namespace antlr4;
using namespace... | 23.4375 | 66 | 0.739556 | mikijov |
28d615000acb979439498f09150476da3e942d53 | 2,837 | cpp | C++ | WeaponOffset.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | WeaponOffset.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | WeaponOffset.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
#include "StdAfx.h"
#include "WeaponOffset.h"
#include "Utility/Hermite.h"
#include <Mannequin/Serialization.h>
void SWeaponOffset::Serialize(Serialization::IArchive& ar)
{
ar(m_position, "Position", "Position");
ar(m_rotation, "Rotation", "Ro... | 21.823077 | 120 | 0.752556 | IvarJonsson |
28da71dd189f5e17b3dd89db50bea1d2ed9b7969 | 1,717 | cpp | C++ | src/camera.cpp | Arjentix/Pi-RTSP-Server | 7346030b22d7e7c64f9a8fd0a3f8611a255da9d8 | [
"MIT"
] | null | null | null | src/camera.cpp | Arjentix/Pi-RTSP-Server | 7346030b22d7e7c64f9a8fd0a3f8611a255da9d8 | [
"MIT"
] | null | null | null | src/camera.cpp | Arjentix/Pi-RTSP-Server | 7346030b22d7e7c64f9a8fd0a3f8611a255da9d8 | [
"MIT"
] | 1 | 2021-09-08T09:32:15.000Z | 2021-09-08T09:32:15.000Z | /*
MIT License
Copyright (c) 2021 Polyakov Daniil Alexandrovich
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, ... | 30.122807 | 78 | 0.7682 | Arjentix |
28df063924662d13f1fcd904ac19c519e1287cf7 | 2,075 | cpp | C++ | LRUCache/HashLRUCache.cpp | zhanMingming/DataStruct | 7e0c665f02d49919e3df2f08f7a5945300ebd8f1 | [
"MIT"
] | 1 | 2019-11-23T15:41:58.000Z | 2019-11-23T15:41:58.000Z | LRUCache/HashLRUCache.cpp | zhanMingming/DataStruct | 7e0c665f02d49919e3df2f08f7a5945300ebd8f1 | [
"MIT"
] | null | null | null | LRUCache/HashLRUCache.cpp | zhanMingming/DataStruct | 7e0c665f02d49919e3df2f08f7a5945300ebd8f1 | [
"MIT"
] | null | null | null | #include"HashLRUCache.h"
#include"Hash.h"
namespace zhanmm {
HashLRUCache::HashLRUCache(const std::string& name_, CacheOption option)
:name(name_)
{
db_num = option.db_num;
assert(db_num > 0);
//name = name_;
if (option.maxmemory != -1) {
const size_t per_capacity = (option.maxmemory + ... | 22.311828 | 91 | 0.568193 | zhanMingming |
28e05e61747a6b44d930b74bdd5b0ca8acbb095c | 483 | cpp | C++ | Source/Tests/LinuxSyscalls/x64/Ioctl.cpp | MerryMage/FEX | 55d981fcb01dffd172f48ca83304b2062ccd95b3 | [
"MIT"
] | null | null | null | Source/Tests/LinuxSyscalls/x64/Ioctl.cpp | MerryMage/FEX | 55d981fcb01dffd172f48ca83304b2062ccd95b3 | [
"MIT"
] | null | null | null | Source/Tests/LinuxSyscalls/x64/Ioctl.cpp | MerryMage/FEX | 55d981fcb01dffd172f48ca83304b2062ccd95b3 | [
"MIT"
] | null | null | null | /*
$info$
tags: LinuxSyscalls|syscalls-x86-64
$end_info$
*/
#include "Tests/LinuxSyscalls/Syscalls.h"
#include "Tests/LinuxSyscalls/x64/Syscalls.h"
#include <stddef.h>
#include <stdint.h>
#include <sys/ioctl.h>
namespace FEX::HLE::x64 {
void RegisterIoctl() {
REGISTER_SYSCALL_IMPL_X64(ioctl, [](FEXCore::Core::... | 21.954545 | 128 | 0.687371 | MerryMage |
28e1d1a45f3f34a4c72949f010606c41049e3612 | 213 | cpp | C++ | tst/extraordinary_graphs.cpp | kele/mixed_connectivity | fb038d9ef70a9df3b109fe364df41e98f1775f0e | [
"MIT"
] | null | null | null | tst/extraordinary_graphs.cpp | kele/mixed_connectivity | fb038d9ef70a9df3b109fe364df41e98f1775f0e | [
"MIT"
] | 1 | 2016-01-22T00:25:09.000Z | 2016-01-22T00:25:09.000Z | tst/extraordinary_graphs.cpp | kele/mixed_connectivity | fb038d9ef70a9df3b109fe364df41e98f1775f0e | [
"MIT"
] | null | null | null | #include "extraordinary_graphs.hpp"
std::vector<edge_base_t> petersen_graph_e =
{
{0, 1}, {1, 2}, {2, 3}, {3, 4}, {4, 0}, {1, 8}, {2, 6}, {3, 9}, {7, 4}, {0, 5},
{5, 6}, {6, 7}, {7, 8}, {8, 9}, {9, 5}
};
| 26.625 | 83 | 0.450704 | kele |
28e1e600bd4ad9a43ceec5c822d9303ed1ae8683 | 1,111 | hpp | C++ | src/include/duckdb/parser/parsed_data/create_table_info.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | 2 | 2020-01-07T17:19:02.000Z | 2020-01-09T22:04:04.000Z | src/include/duckdb/parser/parsed_data/create_table_info.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | src/include/duckdb/parser/parsed_data/create_table_info.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// DuckDB
//
// parser/parsed_data/create_table_info.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/common/common.hpp"
#include "duckdb/com... | 29.236842 | 116 | 0.620162 | RelationalAI-oss |
28e56082e85e8c246aeed62c99b3b7589712c39e | 2,418 | hpp | C++ | fon9/auth/AuthBase.hpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | 21 | 2019-01-29T14:41:46.000Z | 2022-03-11T00:22:56.000Z | fon9/auth/AuthBase.hpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | null | null | null | fon9/auth/AuthBase.hpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | 9 | 2019-01-27T14:19:33.000Z | 2022-03-11T06:18:24.000Z | /// \file fon9/auth/AuthBase.hpp
/// \author fonwinz@gmail.com
#ifndef __fon9_auth_AuthBase_hpp__
#define __fon9_auth_AuthBase_hpp__
#include "fon9/auth/AuthBase.h"
#include "fon9/intrusive_ptr.hpp"
#include "fon9/SortedVector.hpp"
#include "fon9/CharVector.hpp"
namespace fon9 { namespace auth {
class fon9_API AuthM... | 29.487805 | 91 | 0.726634 | fonwin |
28e6ff03e2665d11d7f069f9092db30d81485ba6 | 498 | hpp | C++ | libs/gui/include/sge/gui/renderer/base_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/gui/include/sge/gui/renderer/base_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/gui/include/sge/gui/renderer/base_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// 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 SGE_GUI_RENDERER_BASE_REF_HPP_INCLUDED
#define SGE_GUI_RENDERER_BASE_REF_HPP_INCLUDED
#inc... | 24.9 | 61 | 0.74498 | cpreh |
28e97639efa2d85fd3cd8e4128ea7ca434431415 | 587 | hpp | C++ | lab/lab12/cstereoshape.hpp | YZL24/SUSTech-CS205 | c15e4055b3e260e84e94c8db46b4180448c3619f | [
"MIT"
] | null | null | null | lab/lab12/cstereoshape.hpp | YZL24/SUSTech-CS205 | c15e4055b3e260e84e94c8db46b4180448c3619f | [
"MIT"
] | null | null | null | lab/lab12/cstereoshape.hpp | YZL24/SUSTech-CS205 | c15e4055b3e260e84e94c8db46b4180448c3619f | [
"MIT"
] | null | null | null | #pragma once
#include <iomanip>
#include <iostream>
using namespace std;
class CStereoShape {
static int numberOfObject;
public:
virtual double getArea() const {
cout << "CStereoShape::getArea()" << endl;
return 0.0f;
}
virtual double getVolume() const {
cout << "CStereoShape::... | 22.576923 | 73 | 0.632027 | YZL24 |
28ebaf76052c51cf0c158de0fdade462e2ad0745 | 12,536 | cpp | C++ | FGSMTest.cpp | formal-verification-research/ARFramework | 9be2b7170618da8c46cb10ed9c67adf68fcaac2a | [
"MIT"
] | null | null | null | FGSMTest.cpp | formal-verification-research/ARFramework | 9be2b7170618da8c46cb10ed9c67adf68fcaac2a | [
"MIT"
] | null | null | null | FGSMTest.cpp | formal-verification-research/ARFramework | 9be2b7170618da8c46cb10ed9c67adf68fcaac2a | [
"MIT"
] | null | null | null | #include <iostream>
#include <set>
#include "tensorflow_graph_tools.hpp"
#include "GraphManager.hpp"
#include "grid_tools.hpp"
#include "tensorflow/core/lib/io/path.h"
#include "tensorflow/core/lib/strings/str_util.h"
#include "tensorflow/core/lib/strings/stringprintf.h"
#include "tensorflow/core/platform/init_main.h... | 39.05296 | 183 | 0.625718 | formal-verification-research |
28ec806e43af25655d0e07f9fa130d76938f5256 | 17,083 | cpp | C++ | src/main/cpp/smtpappender.cpp | pseiderer/logging-log4cxx | 5fa793b8ae382ec7a3374a190aee2cf81479e6a6 | [
"Apache-2.0"
] | 174 | 2017-04-10T21:29:14.000Z | 2022-03-09T11:38:53.000Z | src/main/cpp/smtpappender.cpp | pseiderer/logging-log4cxx | 5fa793b8ae382ec7a3374a190aee2cf81479e6a6 | [
"Apache-2.0"
] | 58 | 2018-01-11T16:21:24.000Z | 2022-03-21T22:26:09.000Z | src/main/cpp/smtpappender.cpp | pseiderer/logging-log4cxx | 5fa793b8ae382ec7a3374a190aee2cf81479e6a6 | [
"Apache-2.0"
] | 110 | 2017-04-10T21:22:40.000Z | 2022-03-15T13:34:00.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 ... | 21.596713 | 111 | 0.684891 | pseiderer |
28ed5bb5fe4494fe35cc39a2cfad45a8903c559f | 9,256 | cpp | C++ | src/easylib.cpp | orgtechservice/libmaycloud | b6e58e637160d32ecf022ba2e2ae1b243597bc28 | [
"MIT"
] | 4 | 2020-06-27T18:30:17.000Z | 2020-07-23T17:39:15.000Z | src/easylib.cpp | orgtechservice/libmaycloud | b6e58e637160d32ecf022ba2e2ae1b243597bc28 | [
"MIT"
] | null | null | null | src/easylib.cpp | orgtechservice/libmaycloud | b6e58e637160d32ecf022ba2e2ae1b243597bc28 | [
"MIT"
] | null | null | null | #include "maycloud/easylib.h"
#include <unistd.h>
#include <cstring>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <fstream>
EasyVector explode(const std::string &delimiter, const std::string &str) {
EasyVector result;
int length = str.length();
int delimiter_length = delimiter.length();
if(d... | 21.084282 | 115 | 0.60901 | orgtechservice |
28ee566db50cf6329ae9e711cd9a8c026c41acb5 | 2,722 | cpp | C++ | 001BlankGUI/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/canvas/AbstractPainterABGR2222.cpp | fjpolo/STM23F746Disco-Playground | 446e8cd45b6ab3d771a782977e7630cf92a01a88 | [
"MIT"
] | null | null | null | 001BlankGUI/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/canvas/AbstractPainterABGR2222.cpp | fjpolo/STM23F746Disco-Playground | 446e8cd45b6ab3d771a782977e7630cf92a01a88 | [
"MIT"
] | null | null | null | 001BlankGUI/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/canvas/AbstractPainterABGR2222.cpp | fjpolo/STM23F746Disco-Playground | 446e8cd45b6ab3d771a782977e7630cf92a01a88 | [
"MIT"
] | null | null | null | /******************************************************************************
* Copyright (c) 2018(-2021) STMicroelectronics.
* All rights reserved.
*
* This file is part of the TouchGFX 4.17.0 distribution.
*
* This software is licensed under terms that can be found in the LICENSE file in
* the root directory... | 38.885714 | 108 | 0.495224 | fjpolo |
28ef3385331649833bfc4544d0747c9869557dea | 1,628 | cpp | C++ | cpp/oneapi/dal/algo/subgraph_isomorphism/graph_matching_types.cpp | PivovarA/oneDAL | 79bbe88fb3904c4afc60c5ae900f6199e5b44425 | [
"Apache-2.0"
] | null | null | null | cpp/oneapi/dal/algo/subgraph_isomorphism/graph_matching_types.cpp | PivovarA/oneDAL | 79bbe88fb3904c4afc60c5ae900f6199e5b44425 | [
"Apache-2.0"
] | 12 | 2019-04-30T11:57:33.000Z | 2021-01-15T14:06:49.000Z | cpp/oneapi/dal/algo/subgraph_isomorphism/graph_matching_types.cpp | PivovarA/oneDAL | 79bbe88fb3904c4afc60c5ae900f6199e5b44425 | [
"Apache-2.0"
] | 2 | 2019-04-30T09:06:05.000Z | 2019-08-15T06:39:47.000Z | /*******************************************************************************
* Copyright 2021 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 34.638298 | 97 | 0.697174 | PivovarA |
28f1af2a8ecdc8fde3b212c997be7750c3d2a561 | 4,474 | cpp | C++ | src/App.cpp | JadedCtrl/Calendar | 12e1362b7b1261e3d233c11c1096462e4cb8b15a | [
"MIT"
] | 20 | 2017-08-29T09:01:26.000Z | 2021-12-14T13:43:18.000Z | src/App.cpp | JadedCtrl/Calendar | 12e1362b7b1261e3d233c11c1096462e4cb8b15a | [
"MIT"
] | 78 | 2017-08-29T18:08:24.000Z | 2022-01-17T17:45:23.000Z | src/App.cpp | JadedCtrl/Calendar | 12e1362b7b1261e3d233c11c1096462e4cb8b15a | [
"MIT"
] | 25 | 2017-09-03T07:03:18.000Z | 2022-03-11T06:29:32.000Z | /*
* Copyight 2017 Akshay Agarwal, agarwal.akshay.akshay8@gmail.com
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "App.h"
#include <AboutWindow.h>
#include <Catalog.h>
#include <Directory.h>
#include <Entry.h>
#include <File.h>
#include <FindDirectory.h>
#include <LocaleRoster.... | 18.411523 | 73 | 0.706974 | JadedCtrl |
28f4fb502eb130a0f4ce1b0757d889711376a595 | 178 | cc | C++ | src/mob/hostile/Chaos.cc | kallentu/pathos | 1914edbccc98baef79d98fb065119230072ac40d | [
"MIT"
] | 7 | 2019-05-09T15:38:55.000Z | 2021-12-07T03:13:29.000Z | src/mob/hostile/Chaos.cc | kallentu/pathos | 1914edbccc98baef79d98fb065119230072ac40d | [
"MIT"
] | 1 | 2019-06-20T03:01:18.000Z | 2019-06-20T03:01:18.000Z | src/mob/hostile/Chaos.cc | kallentu/pathos | 1914edbccc98baef79d98fb065119230072ac40d | [
"MIT"
] | null | null | null | #include "mob/hostile/Chaos.h"
#include "mob/player/Player.h"
using namespace Pathos;
void Chaos::beKilledBy(Player &p) {
p.addExperience(5000000);
p.addDrachma(250000);
}
| 17.8 | 35 | 0.730337 | kallentu |
28f6f491695166664efa66bcb10d2dc9fc6cb828 | 39,107 | hh | C++ | include/qpdf/QPDFObjectHandle.hh | ams-tschoening/qpdf | 8f06da75343a5e970ff7a6f275c319172e6292d0 | [
"Apache-2.0"
] | null | null | null | include/qpdf/QPDFObjectHandle.hh | ams-tschoening/qpdf | 8f06da75343a5e970ff7a6f275c319172e6292d0 | [
"Apache-2.0"
] | null | null | null | include/qpdf/QPDFObjectHandle.hh | ams-tschoening/qpdf | 8f06da75343a5e970ff7a6f275c319172e6292d0 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2005-2019 Jay Berkenbilt
//
// This file is part of qpdf.
//
// 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 ... | 36.858624 | 78 | 0.681285 | ams-tschoening |
28f81470874a91a6c5d61980bc5e0757988b216d | 8,782 | cpp | C++ | examples/jointHistIOExample.cpp | GRAVITYLab/edda | 2acd00373db1003922db9f5959644e7506de5726 | [
"MIT"
] | 3 | 2016-01-15T20:17:21.000Z | 2021-01-21T02:32:15.000Z | examples/jointHistIOExample.cpp | GRAVITYLab/edda | 2acd00373db1003922db9f5959644e7506de5726 | [
"MIT"
] | 11 | 2016-07-26T01:37:46.000Z | 2018-06-19T16:50:25.000Z | examples/jointHistIOExample.cpp | GRAVITYLab/edda | 2acd00373db1003922db9f5959644e7506de5726 | [
"MIT"
] | 12 | 2016-02-09T04:31:41.000Z | 2021-12-03T01:04:04.000Z | #include <string>
#include <vector>
#include "dataset/distr_array.h"
#include "distributions/distribution_modeler.h"
#include "distributions/joint_GMM.h"
#include "distributions/joint_gaussian.h"
#include "io/edda_reader.h"
#include "io/edda_writer.h"
#include "distributions/joint_histogram.h"
using namespace edda... | 29.972696 | 128 | 0.656001 | GRAVITYLab |
28fab419c1d125cdef791ecf805e7cd13bb470cf | 8,643 | cc | C++ | mace/ops/arm/base/activation.cc | zhangzhimin/mace | c28f093d719fd650a4308895cd045c26d0f198f6 | [
"Apache-2.0"
] | 1 | 2021-08-02T12:17:58.000Z | 2021-08-02T12:17:58.000Z | mace/ops/arm/base/activation.cc | zhangzhimin/mace | c28f093d719fd650a4308895cd045c26d0f198f6 | [
"Apache-2.0"
] | null | null | null | mace/ops/arm/base/activation.cc | zhangzhimin/mace | c28f093d719fd650a4308895cd045c26d0f198f6 | [
"Apache-2.0"
] | 1 | 2021-08-02T12:18:00.000Z | 2021-08-02T12:18:00.000Z | // Copyright 2020 The MACE 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... | 31.315217 | 80 | 0.608006 | zhangzhimin |
28fc5e0ee00f8cafe17e4f2ae0ec58241a43fc4f | 311 | hpp | C++ | libraries/fc/include/fc/io/fstream.hpp | Laighno/evt | 90b94e831aebb62c6ad19ce59c9089e9f51cfd77 | [
"MIT"
] | 1,411 | 2018-04-23T03:57:30.000Z | 2022-02-13T10:34:22.000Z | libraries/fc/include/fc/io/fstream.hpp | Zhang-Zexi/evt | e90fe4dbab4b9512d120c79f33ecc62791e088bd | [
"Apache-2.0"
] | 27 | 2018-06-11T10:34:42.000Z | 2019-07-27T08:50:02.000Z | libraries/fc/include/fc/io/fstream.hpp | Zhang-Zexi/evt | e90fe4dbab4b9512d120c79f33ecc62791e088bd | [
"Apache-2.0"
] | 364 | 2018-06-09T12:11:53.000Z | 2020-12-15T03:26:48.000Z | #include <fc/filesystem.hpp>
#include <string>
namespace fc {
/**
* Grab the full contents of a file into a string object.
* NB reading a full file into memory is a poor choice
* if the file may be very large.
*/
void read_file_contents(const fc::path& filename, std::string& result);
} // namespace fc
| 22.214286 | 71 | 0.707395 | Laighno |
28ffda0111a2631aba49658194e5f1f182e25259 | 15,123 | cpp | C++ | src/byte_compare.cpp | baydroid/Dictionary_Trie | bc58403992ee978b0ed76645f66582222b36a2bd | [
"Apache-2.0"
] | null | null | null | src/byte_compare.cpp | baydroid/Dictionary_Trie | bc58403992ee978b0ed76645f66582222b36a2bd | [
"Apache-2.0"
] | null | null | null | src/byte_compare.cpp | baydroid/Dictionary_Trie | bc58403992ee978b0ed76645f66582222b36a2bd | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 transmission.aquitaine@yahoo.com
*
* 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 applica... | 27.697802 | 167 | 0.544336 | baydroid |
e906176dfa07a8df170a4da4dc34fa7f176baf17 | 4,538 | cpp | C++ | src/maxmatching_test.cpp | chikiulo/yisi | fd07bfc58ab5ce8d5ee41d5e563d3c8d42e992db | [
"MIT"
] | 18 | 2019-01-23T16:06:29.000Z | 2022-02-16T19:26:27.000Z | src/maxmatching_test.cpp | nrc-cnrc/YiSi | fd07bfc58ab5ce8d5ee41d5e563d3c8d42e992db | [
"MIT"
] | 5 | 2019-02-13T13:46:10.000Z | 2022-01-03T14:58:40.000Z | src/maxmatching_test.cpp | nrc-cnrc/YiSi | fd07bfc58ab5ce8d5ee41d5e563d3c8d42e992db | [
"MIT"
] | 1 | 2021-08-13T19:01:18.000Z | 2021-08-13T19:01:18.000Z | /**
* @file maxmatching_test.cpp
* @brief Unit test for maxmatching.
*
* @author Jackie Lo
*
* Multilingual Text Processing / Traitement multilingue de textes
* Digital Technologies Research Centre / Centre de recherche en technologies numériques
* National Research Council Canada / Conseil national de recherch... | 25.784091 | 88 | 0.494271 | chikiulo |
e90e9b77a42ee42082241bec9e9d6806ab76d43f | 2,458 | cpp | C++ | Modules/DiffusionCore/DicomImport/mitkDiffusionHeaderGEDICOMFileReader.cpp | HRS-Navigation/MITK-Diffusion | b1bf62d1c76f0d0cc26dd252561cb5d8769b4f87 | [
"BSD-3-Clause"
] | 37 | 2019-07-05T10:55:06.000Z | 2022-03-21T12:09:35.000Z | Modules/DiffusionImaging/DiffusionCore/src/DicomImport/mitkDiffusionHeaderGEDICOMFileReader.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 6 | 2019-11-04T16:05:47.000Z | 2022-03-22T15:53:31.000Z | Modules/DiffusionImaging/DiffusionCore/src/DicomImport/mitkDiffusionHeaderGEDICOMFileReader.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 10 | 2019-10-15T14:37:26.000Z | 2022-02-18T03:22:01.000Z | #include "mitkDiffusionHeaderGEDICOMFileReader.h"
#include <vnl/vnl_math.h>
mitk::DiffusionHeaderGEDICOMFileReader
::DiffusionHeaderGEDICOMFileReader()
{
}
mitk::DiffusionHeaderGEDICOMFileReader
::~DiffusionHeaderGEDICOMFileReader()
{
}
bool mitk::DiffusionHeaderGEDICOMFileReader
::ReadDiffusionHeader(std::string ... | 23.864078 | 100 | 0.691619 | HRS-Navigation |
e91175226283e9704ced1f0a0c1d2e5f384cc5f9 | 3,547 | hh | C++ | elements/ids/ahocorasickplus.hh | regufo/fastclick | d56d31c722266ea5d0cfd31435e81ca10dda5e69 | [
"BSD-3-Clause-Clear"
] | 129 | 2015-10-08T14:38:35.000Z | 2022-03-06T14:54:44.000Z | elements/ids/ahocorasickplus.hh | nic-bench/fastclick | 2812f0684050cec07e08f30d643ed121871cf25d | [
"BSD-3-Clause-Clear"
] | 241 | 2016-02-17T16:17:58.000Z | 2022-03-15T09:08:33.000Z | elements/ids/ahocorasickplus.hh | nic-bench/fastclick | 2812f0684050cec07e08f30d643ed121871cf25d | [
"BSD-3-Clause-Clear"
] | 61 | 2015-12-17T01:46:58.000Z | 2022-02-07T22:25:19.000Z | /*
*
* This file is part of multifast. Modified to work with click by Pavel Lazar
*
Copyright 2010-2015 Kamiar Kanani <kamiar.kanani@gmail.com>
multifast is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundati... | 26.080882 | 77 | 0.733014 | regufo |
e9130d11252c70bebaad27ae1d481ffad762fd0e | 18,473 | cpp | C++ | Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_USB_HID.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_USB_HID.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_USB_HID.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDMacroEng_USBHIDClass.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 02/11/2005
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://o... | 32.015598 | 117 | 0.525794 | MarkStega |
e91352a4d7747e3a94d178e11517004402fb12ef | 16,265 | cpp | C++ | core/mapi/cache/namedPropCache.cpp | bradhugh/mfcmapi | d5bf8e44132a7b1c2fca6c725c915c4eb83e9557 | [
"MIT"
] | null | null | null | core/mapi/cache/namedPropCache.cpp | bradhugh/mfcmapi | d5bf8e44132a7b1c2fca6c725c915c4eb83e9557 | [
"MIT"
] | null | null | null | core/mapi/cache/namedPropCache.cpp | bradhugh/mfcmapi | d5bf8e44132a7b1c2fca6c725c915c4eb83e9557 | [
"MIT"
] | null | null | null | #include <core/stdafx.h>
#include <core/mapi/cache/namedPropCache.h>
#include <core/mapi/cache/namedProps.h>
#include <core/interpret/guid.h>
#include <core/mapi/mapiMemory.h>
#include <core/mapi/mapiFunctions.h>
#include <core/utility/registry.h>
#include <core/utility/strings.h>
#include <core/utility/output.h>
#incl... | 28.787611 | 121 | 0.683123 | bradhugh |
e9146d2463b01d73381ff0751600ab1c49a7a756 | 1,285 | cpp | C++ | flite/src/audio/streaming.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 7 | 2017-12-10T23:02:22.000Z | 2021-08-05T21:12:11.000Z | flite/src/audio/streaming.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | null | null | null | flite/src/audio/streaming.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 3 | 2018-10-28T03:47:09.000Z | 2020-06-04T08:54:23.000Z | #include "flite/audio/audio.hpp"
#include "flite/synthcommon/wave.hpp"
#include "flite/utils/string.hpp"
CST_VAL_REGISTER_TYPE(audio_streaming_info, cst_audio_streaming_info)
cst_audio_streaming_info* new_audio_streaming_info(void)
{
cst_audio_streaming_info* asi =
cst_alloc(struct cst_audio_streaming_inf... | 26.22449 | 103 | 0.686381 | Barath-Kannan |
e914d16bbbff3e159e1574a99d339fbb11930c2e | 389 | cc | C++ | test/refract/dsd/test-Null.cc | darkcl/drafter | 62dcc54341d76b1dae7bca1777f5eea8815b0c3b | [
"MIT"
] | null | null | null | test/refract/dsd/test-Null.cc | darkcl/drafter | 62dcc54341d76b1dae7bca1777f5eea8815b0c3b | [
"MIT"
] | null | null | null | test/refract/dsd/test-Null.cc | darkcl/drafter | 62dcc54341d76b1dae7bca1777f5eea8815b0c3b | [
"MIT"
] | null | null | null | //
// test/refract/dsd/test-Null.cc
// test-librefract
//
// Created by Thomas Jandecka on 27/08/2017
// Copyright (c) 2017 Apiary Inc. All rights reserved.
//
#include "catch.hpp"
#include "refract/dsd/Null.h"
using namespace refract;
using namespace dsd;
TEST_CASE("`Null`'s default element name is `null`", "[... | 19.45 | 71 | 0.676093 | darkcl |
e91823da496b427dff99305a66d73682176d2a78 | 19,556 | cpp | C++ | examples/dnn_introduction2_ex.cpp | ckproc/dlib-19.7 | 0ca40f5e85de2436e557bee9a805d3987d2d9507 | [
"BSL-1.0"
] | null | null | null | examples/dnn_introduction2_ex.cpp | ckproc/dlib-19.7 | 0ca40f5e85de2436e557bee9a805d3987d2d9507 | [
"BSL-1.0"
] | 4 | 2018-02-27T15:44:25.000Z | 2018-02-28T01:26:03.000Z | examples/dnn_introduction2_ex.cpp | ckproc/dlib-19.7 | 0ca40f5e85de2436e557bee9a805d3987d2d9507 | [
"BSL-1.0"
] | null | null | null | // The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt
/*
This is an example illustrating the use of the deep learning tools from the
dlib C++ Library. I'm assuming you have already read the dnn_introduction_ex.cpp
example. So in this example program I'm going to ... | 50.272494 | 199 | 0.647525 | ckproc |
e91855f7666372a037ceea23552201a7ada33d0c | 749 | cpp | C++ | test/pre_reserch/plag_original_codes/04_039.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | 13 | 2021-01-20T19:53:16.000Z | 2021-11-14T16:30:32.000Z | test/training_data/plag_original_codes/04_039.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | test/training_data/plag_original_codes/04_039.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | // 引用元 : https://atcoder.jp/contests/abc137/submissions/6820151
// 得点 : 300
// コード長 : 642
// 実行時間 : 127
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
using namespace std;
int main()
{
int n;
cin >> n;
vector<string> s(n);
for (int i = 0; i < n; ++i) {
cin >> s[i... | 17.022727 | 63 | 0.456609 | xryuseix |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.