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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28973f7b57fe3492026812979312f08d1b96533c | 3,691 | cpp | C++ | grid-test/export/macos/obj/src/lime/graphics/opengl/ext/AMD_program_binary_Z400.cpp | VehpuS/learning-haxe-and-haxeflixel | cb18c074720656797beed7333eeaced2cf323337 | [
"Apache-2.0"
] | null | null | null | grid-test/export/macos/obj/src/lime/graphics/opengl/ext/AMD_program_binary_Z400.cpp | VehpuS/learning-haxe-and-haxeflixel | cb18c074720656797beed7333eeaced2cf323337 | [
"Apache-2.0"
] | null | null | null | grid-test/export/macos/obj/src/lime/graphics/opengl/ext/AMD_program_binary_Z400.cpp | VehpuS/learning-haxe-and-haxeflixel | cb18c074720656797beed7333eeaced2cf323337 | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.1.4
#include <hxcpp.h>
#ifndef INCLUDED_lime_graphics_opengl_ext_AMD_program_binary_Z400
#include <lime/graphics/opengl/ext/AMD_program_binary_Z400.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_67064d08ae812aee_6_new,"lime.graphics.opengl.ext.AMD_program_binary_Z400","new",0x8e433f46,"lime.graphics.o... | 35.490385 | 243 | 0.778651 | VehpuS |
2898945f291903628832d5ca7b2377e08e94d4a2 | 352 | cpp | C++ | example/14.usb_device/usb_hid/3.usb_keyboard.cpp | eboxmaker/eboxFramework-rtt | 9718678422f56faec1cf21a6a8fd3f72441bea33 | [
"MIT"
] | 115 | 2018-08-12T08:41:17.000Z | 2022-03-08T07:43:48.000Z | example/14.usb_device/usb_hid/3.usb_keyboard.cpp | eboxmaker/eboxFramework-rtt | 9718678422f56faec1cf21a6a8fd3f72441bea33 | [
"MIT"
] | 4 | 2018-08-13T10:14:55.000Z | 2019-07-03T06:54:10.000Z | example/14.usb_device/usb_hid/3.usb_keyboard.cpp | eboxmaker/eboxFramework-rtt | 9718678422f56faec1cf21a6a8fd3f72441bea33 | [
"MIT"
] | 59 | 2018-09-02T21:54:25.000Z | 2022-01-13T02:28:28.000Z | /*
file : *.cpp
author : link
version: V1.0
date : 2016/12/14
Copyright 2016 link. All Rights Reserved.
*/
//STM32 RUN IN eBox
#include "ebox.h"
#include "USBKeyboard.h"
USBKeyboard key;
void setup()
{
ebox_init();
}
int main(void)
{
setup();
while(1)
{
key.printf("Hello World\r\n");
... | 11 | 41 | 0.582386 | eboxmaker |
289d223c0083a85acf5ea0cec41934994e716f0c | 22,705 | cxx | C++ | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowTerminal_AirTerminal_AirTerminal_DualDuct_Vav_OutdoorAir.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowTerminal_AirTerminal_AirTerminal_DualDuct_Vav_OutdoorAir.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowTerminal_AirTerminal_AirTerminal_DualDuct_Vav_OutdoorAir.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Fre... | 40.983755 | 193 | 0.714732 | EnEff-BIM |
80bf554b7b0918a944d58b7eca953a6866a4669f | 38,861 | cpp | C++ | Source/GameObject.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 10 | 2019-02-25T11:36:23.000Z | 2021-11-03T22:51:30.000Z | Source/GameObject.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 146 | 2019-02-05T13:57:33.000Z | 2019-11-07T16:21:31.000Z | Source/GameObject.cpp | FractalPuppy/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 3 | 2019-11-17T20:49:12.000Z | 2020-04-19T17:28:28.000Z | #include "GameObject.h"
#include "Application.h"
#include "ModuleProgram.h"
#include "ModuleEditor.h"
#include "ModuleCamera.h"
#include "ModuleTime.h"
#include "ModuleInput.h"
#include "ModuleScene.h"
#include "ModuleScript.h"
#include "ModuleTextures.h"
#include "ModuleResourceManager.h"
#include "ModuleRender.h"
#i... | 23.609356 | 185 | 0.687038 | solidajenjo |
80c069532eed8aa0092c374563482818c44a5874 | 3,508 | cpp | C++ | src/lib/tools/listitemdelegate.cpp | sys9kdr/QupZilla | 1d7916e455e14fadd03ab430eec7cdf4eef65ece | [
"BSD-3-Clause"
] | 1 | 2015-11-03T03:24:41.000Z | 2015-11-03T03:24:41.000Z | src/lib/tools/listitemdelegate.cpp | sys9kdr/QupZilla | 1d7916e455e14fadd03ab430eec7cdf4eef65ece | [
"BSD-3-Clause"
] | null | null | null | src/lib/tools/listitemdelegate.cpp | sys9kdr/QupZilla | 1d7916e455e14fadd03ab430eec7cdf4eef65ece | [
"BSD-3-Clause"
] | null | null | null | /* ============================================================
* QupZilla - WebKit based browser
* Copyright (C) 2010-2012 David Rosca <nowrep@gmail.com>
*
* 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 ... | 39.41573 | 122 | 0.690422 | sys9kdr |
80c374ce88e313d0e262496895ac3d9977991836 | 703 | cpp | C++ | Vic2ToHoI4/Source/V2World/World/World.cpp | gawquon/Vic2ToHoI4 | 8371cfb1fd57cf81d854077963135d8037e754eb | [
"MIT"
] | 1 | 2022-01-04T04:11:32.000Z | 2022-01-04T04:11:32.000Z | Vic2ToHoI4/Source/V2World/World/World.cpp | gawquon/Vic2ToHoI4 | 8371cfb1fd57cf81d854077963135d8037e754eb | [
"MIT"
] | 28 | 2021-12-22T21:35:00.000Z | 2022-03-13T10:50:17.000Z | Vic2ToHoI4/Source/V2World/World/World.cpp | Osariusz/Vic2ToHoI4 | 9738b52c7602b1fe187c3820660c58a8d010d87e | [
"MIT"
] | null | null | null | #include "World.h"
#include "Configuration.h"
#include "V2World/Provinces/Province.h"
#include <ranges>
std::optional<const std::shared_ptr<Vic2::Province>> Vic2::World::getProvince(const int provNum) const
{
const auto provinceItr = provinces.find(provNum);
if (provinceItr == provinces.end())
{
return std::nul... | 21.96875 | 102 | 0.719772 | gawquon |
80c654270a52c04f300b06df32cf5af7f8f158d3 | 9,253 | cpp | C++ | projects/src/base/AdvertisingController.cpp | adriansaridache/demo_fruity | 8545d15ca6765396547fec23570fc6f80d05d979 | [
"OLDAP-2.4"
] | null | null | null | projects/src/base/AdvertisingController.cpp | adriansaridache/demo_fruity | 8545d15ca6765396547fec23570fc6f80d05d979 | [
"OLDAP-2.4"
] | 2 | 2017-09-19T11:46:02.000Z | 2017-09-19T11:49:14.000Z | projects/fruitymesh/src/base/AdvertisingController.cpp | Bardo91/fruitymesh_grvc | 872d3cb5e92a7fa6d4823b7295d20f459058fb19 | [
"OLDAP-2.4"
] | null | null | null | /**
Copyright (c) 2014-2015 "M-Way Solutions GmbH"
FruityMesh - Bluetooth Low Energy mesh protocol [http://mwaysolutions.com/]
This file is part of FruityMesh
FruityMesh 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 Foun... | 29.944984 | 161 | 0.758457 | adriansaridache |
80cadb21802ef01577fb1ec51f3ee3b1b3579390 | 211 | hpp | C++ | src/model_topology_converter.hpp | 21stcenturyclan/swbf-unmunge | bdeb6b0942f2c2341c2da9a192afd890b51be28a | [
"MIT"
] | 19 | 2017-07-08T05:30:17.000Z | 2022-01-15T11:32:46.000Z | src/model_topology_converter.hpp | WHSnyder/swbf-unmunge | 15f6a340d9f90c2fc54c74dc96db62edb42ec827 | [
"MIT"
] | 27 | 2017-07-07T05:40:19.000Z | 2021-07-31T23:35:15.000Z | src/model_topology_converter.hpp | WHSnyder/swbf-unmunge | 15f6a340d9f90c2fc54c74dc96db62edb42ec827 | [
"MIT"
] | 6 | 2018-08-27T03:02:40.000Z | 2021-03-02T04:59:49.000Z | #pragma once
#include "model_types.hpp"
namespace model {
auto convert_topology(const Indices& indices, const Primitive_topology current,
const Primitive_topology desired) -> Indices;
} | 21.1 | 79 | 0.71564 | 21stcenturyclan |
80cbc8486f97b481c94280f8b7ddc8609a1a7d4c | 2,489 | hpp | C++ | geometry/rp2_point.hpp | tinygrox/Principia | 49a25646c673dcd84cefbc6295df410fc6d927d5 | [
"MIT"
] | 565 | 2015-01-04T21:47:18.000Z | 2022-03-22T12:04:58.000Z | geometry/rp2_point.hpp | tinygrox/Principia | 49a25646c673dcd84cefbc6295df410fc6d927d5 | [
"MIT"
] | 1,019 | 2015-01-03T11:42:27.000Z | 2022-03-29T21:02:15.000Z | geometry/rp2_point.hpp | tinygrox/Principia | 49a25646c673dcd84cefbc6295df410fc6d927d5 | [
"MIT"
] | 92 | 2015-02-11T23:08:58.000Z | 2022-03-21T03:35:37.000Z |
#pragma once
#include <string>
#include <vector>
namespace principia {
namespace geometry {
namespace internal_rp2_point {
// An |RP2Point| is an element of ℝP², the real projective plane. |Scalar|
// must be a 1-dimensional vector space over ℝ, typically represented by
// |Quantity| or |double|.
template<typenam... | 31.506329 | 78 | 0.716352 | tinygrox |
80d002513e5c81085b30ce4e1c2daf33581eb385 | 2,673 | hpp | C++ | iOS/G3MiOSSDK/Commons/Rendererers/MarksRenderer.hpp | AeroGlass/g3m | a21a9e70a6205f1f37046ae85dafc6e3bfaeb917 | [
"BSD-2-Clause"
] | null | null | null | iOS/G3MiOSSDK/Commons/Rendererers/MarksRenderer.hpp | AeroGlass/g3m | a21a9e70a6205f1f37046ae85dafc6e3bfaeb917 | [
"BSD-2-Clause"
] | null | null | null | iOS/G3MiOSSDK/Commons/Rendererers/MarksRenderer.hpp | AeroGlass/g3m | a21a9e70a6205f1f37046ae85dafc6e3bfaeb917 | [
"BSD-2-Clause"
] | null | null | null | //
// MarksRenderer.hpp
// G3MiOSSDK
//
// Created by Diego Gomez Deck on 05/06/12.
// Copyright (c) 2012 IGO Software SL. All rights reserved.
//
#ifndef G3MiOSSDK_MarksRenderer
#define G3MiOSSDK_MarksRenderer
#include <vector>
#include "DefaultRenderer.hpp"
//#include "GPUProgramState.hpp"
#include "GLState.h... | 20.097744 | 73 | 0.704078 | AeroGlass |
80d9bf6c6f8f3850b9d8a2650d4f3ee935f3ef54 | 227 | hpp | C++ | include/Object.hpp | jasonwnorris/QuadTree | 6ddca00e047d05badd3143804a79652b20db599d | [
"MIT"
] | null | null | null | include/Object.hpp | jasonwnorris/QuadTree | 6ddca00e047d05badd3143804a79652b20db599d | [
"MIT"
] | null | null | null | include/Object.hpp | jasonwnorris/QuadTree | 6ddca00e047d05badd3143804a79652b20db599d | [
"MIT"
] | null | null | null | // Object.hpp
#ifndef __OBJECT_HPP__
#define __OBJECT_HPP__
class Object
{
public:
Object();
Object(int p_Value);
~Object();
int GetValue() const;
void SetValue(int p_Value);
private:
int m_Value;
};
#endif
| 10.318182 | 29 | 0.678414 | jasonwnorris |
80d9c6a3ee6a63ceea7b84fd7842ffa27daf8410 | 18,276 | cpp | C++ | core/lib/soci/core/statement.cpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 92 | 2016-11-13T01:28:34.000Z | 2022-03-25T01:11:37.000Z | core/lib/soci/core/statement.cpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 242 | 2016-11-28T11:13:09.000Z | 2022-03-04T13:02:53.000Z | core/lib/soci/core/statement.cpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 91 | 2017-06-20T10:35:28.000Z | 2022-03-09T14:15:40.000Z | //
// Copyright (C) 2004-2008 Maciej Sobczak, Stephen Hutton
// 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)
//
#define SOCI_SOURCE
#include "statement.h"
#include "session.h"
#include "into-type.h"
#... | 26.108571 | 100 | 0.550886 | RomanWlm |
80db1939fef9eeabc32cc8bae91f7a2034973fb3 | 4,627 | cpp | C++ | 9_volume_rendering/wtgeodockwidgettitlebar.cpp | ZYV037/QT_Example | 916e343894346389f796f42a63d4162bb8429555 | [
"WTFPL"
] | 4 | 2018-12-26T11:10:21.000Z | 2021-02-05T10:31:30.000Z | 9_volume_rendering/wtgeodockwidgettitlebar.cpp | ZYV037/QT_Example | 916e343894346389f796f42a63d4162bb8429555 | [
"WTFPL"
] | null | null | null | 9_volume_rendering/wtgeodockwidgettitlebar.cpp | ZYV037/QT_Example | 916e343894346389f796f42a63d4162bb8429555 | [
"WTFPL"
] | 2 | 2021-02-05T10:31:37.000Z | 2021-04-04T17:25:07.000Z | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2012-2019 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... | 32.815603 | 117 | 0.689432 | ZYV037 |
80dc5ee1143b689510fc72ad924d507321779d19 | 11,792 | hpp | C++ | include/cppdevtk/util/libudev_lnx.hpp | CoSoSys/cppdevtk | 99d6c3d328c05a55dae54e82fcbedad93d0cfaa0 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | include/cppdevtk/util/libudev_lnx.hpp | CoSoSys/cppdevtk | 99d6c3d328c05a55dae54e82fcbedad93d0cfaa0 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | include/cppdevtk/util/libudev_lnx.hpp | CoSoSys/cppdevtk | 99d6c3d328c05a55dae54e82fcbedad93d0cfaa0 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// \file
///
/// \copyright Copyright (C) 2015 - 2020 CoSoSys Ltd <info@cososys.com>\n
/// Licensed under the Apache License, Version 2.0 (the "License");\n
/// you may not use this file e... | 44.498113 | 136 | 0.791214 | CoSoSys |
80dc6beb04a868be70dfba086f89f3d852309ac3 | 8,798 | cpp | C++ | src/General/UnitCluster/UnitCluster.cpp | bmnielsen/Stardust | 343e0c123f85e080e5d3a744d1cc47b3adfe9efd | [
"MIT"
] | 15 | 2020-10-01T07:04:33.000Z | 2022-03-20T12:41:25.000Z | src/General/UnitCluster/UnitCluster.cpp | bmnielsen/Stardust | 343e0c123f85e080e5d3a744d1cc47b3adfe9efd | [
"MIT"
] | null | null | null | src/General/UnitCluster/UnitCluster.cpp | bmnielsen/Stardust | 343e0c123f85e080e5d3a744d1cc47b3adfe9efd | [
"MIT"
] | null | null | null | #include "UnitCluster.h"
#include "PathFinding.h"
#include "UnitUtil.h"
#include "Map.h"
#include "DebugFlag_CombatSim.h"
#if INSTRUMENTATION_ENABLED
#define DEBUG_CLUSTER_MEMBERSHIP true // Also in Squad.cpp
#endif
namespace
{
const double pi = 3.14159265358979323846;
std::map<UnitCluster::Activity, std::s... | 32.951311 | 135 | 0.608888 | bmnielsen |
80ddf5f25177017ddddc34c423a67b5d5d2a20a4 | 9,975 | cc | C++ | build/x86/python/m5/internal/param_VirtIOConsole.py.cc | billionshang/gem5 | 18cc4294f32315595f865d07d1f33434e92b06b2 | [
"BSD-3-Clause"
] | null | null | null | build/x86/python/m5/internal/param_VirtIOConsole.py.cc | billionshang/gem5 | 18cc4294f32315595f865d07d1f33434e92b06b2 | [
"BSD-3-Clause"
] | null | null | null | build/x86/python/m5/internal/param_VirtIOConsole.py.cc | billionshang/gem5 | 18cc4294f32315595f865d07d1f33434e92b06b2 | [
"BSD-3-Clause"
] | null | null | null | #include "sim/init.hh"
namespace {
const uint8_t data_m5_internal_param_VirtIOConsole[] = {
120,156,205,89,239,114,219,198,17,223,3,64,74,164,36,139,
250,103,249,143,28,209,118,108,179,158,74,76,156,40,78,39,
174,91,199,73,103,156,153,200,41,232,214,14,147,41,10,17,
39,18,20,9,176,192,73,54,51,82,103,... | 58.676471 | 106 | 0.668672 | billionshang |
80dffe74b2fd5f2ba97e7c950728986a1533a7d2 | 3,492 | hpp | C++ | ct_core/include/ct/external/cppad/local/discrete_op.hpp | vklemm/control-toolbox | f5f8cf9331c0aecd721ff6296154e2a55c72f679 | [
"BSD-2-Clause"
] | 1 | 2019-12-01T14:45:18.000Z | 2019-12-01T14:45:18.000Z | ct_core/include/external/cppad/local/discrete_op.hpp | ADVRHumanoids/ct | 774ad978c032fda0ef3c2eed0dc3f25f829df7f8 | [
"Apache-2.0"
] | null | null | null | ct_core/include/external/cppad/local/discrete_op.hpp | ADVRHumanoids/ct | 774ad978c032fda0ef3c2eed0dc3f25f829df7f8 | [
"Apache-2.0"
] | 1 | 2022-02-03T06:28:39.000Z | 2022-02-03T06:28:39.000Z | // $Id: discrete_op.hpp 3757 2015-11-30 12:03:07Z bradbell $
# ifndef CPPAD_DISCRETE_OP_HPP
# define CPPAD_DISCRETE_OP_HPP
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
CppAD is distributed under multiple lic... | 28.390244 | 77 | 0.661226 | vklemm |
80e05dc78cd557b49c22c2b085660b2ad1a82320 | 14,802 | cpp | C++ | OrionUO/Managers/CreateCharacterManager.cpp | BryanNoller/OrionUO | 5985315969c5f3c7c7552392d9d40d4b24b718e2 | [
"MIT"
] | 169 | 2016-09-16T22:24:34.000Z | 2022-03-27T09:58:20.000Z | OrionUO/Managers/CreateCharacterManager.cpp | BryanNoller/OrionUO | 5985315969c5f3c7c7552392d9d40d4b24b718e2 | [
"MIT"
] | 104 | 2016-10-26T23:02:52.000Z | 2021-10-02T17:36:04.000Z | OrionUO/Managers/CreateCharacterManager.cpp | BryanNoller/OrionUO | 5985315969c5f3c7c7552392d9d40d4b24b718e2 | [
"MIT"
] | 111 | 2016-09-16T22:25:30.000Z | 2022-03-28T07:01:40.000Z | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/***********************************************************************************
**
** CreateCharacterManager.cpp
**
** Copyright (C) August 2016 Hotride
*... | 39.897574 | 100 | 0.511417 | BryanNoller |
80e1793e475ca1df1446a719671334d86893055b | 3,787 | cpp | C++ | code/components/net/src/NetChannel.cpp | antonand03/hello-my-friend | fb4e225a75aea3007a391ccc4dcda3eda65c2142 | [
"MIT"
] | 6 | 2019-01-30T14:33:30.000Z | 2021-07-21T18:06:52.000Z | code/components/net/src/NetChannel.cpp | antonand03/hello-my-friend | fb4e225a75aea3007a391ccc4dcda3eda65c2142 | [
"MIT"
] | null | null | null | code/components/net/src/NetChannel.cpp | antonand03/hello-my-friend | fb4e225a75aea3007a391ccc4dcda3eda65c2142 | [
"MIT"
] | 3 | 2017-06-05T14:34:30.000Z | 2021-05-06T19:41:05.000Z | /*
* This file is part of the CitizenFX project - http://citizen.re/
*
* See LICENSE and MENTIONS in the root of the source tree for information
* regarding licensing.
*/
#include "StdInc.h"
#include "NetLibrary.h"
NetChannel::NetChannel()
{
NetAddress dummyAddress;
Reset(dummyAddress, nullptr);... | 21.156425 | 80 | 0.654344 | antonand03 |
80e2f12f3166af727ebcf73d9313e2fd127f557d | 9,777 | hpp | C++ | include/pisa/opt_vb/partitioned_sequence_enumerator_opt_vb.hpp | ZabalaMariano/PISA | 344063799847e89f2f4bd7d75d606ccb95620d30 | [
"Apache-2.0"
] | null | null | null | include/pisa/opt_vb/partitioned_sequence_enumerator_opt_vb.hpp | ZabalaMariano/PISA | 344063799847e89f2f4bd7d75d606ccb95620d30 | [
"Apache-2.0"
] | null | null | null | include/pisa/opt_vb/partitioned_sequence_enumerator_opt_vb.hpp | ZabalaMariano/PISA | 344063799847e89f2f4bd7d75d606ccb95620d30 | [
"Apache-2.0"
] | 1 | 2021-02-27T11:46:50.000Z | 2021-02-27T11:46:50.000Z | #pragma once
#include "configuration.hpp"//#include "./configuration_opt_vb.hpp"
#include "./global_parameters_opt_vb.hpp"
#include "./compact_elias_fano_opt_vb.hpp"
#include "../codec/integer_codes.hpp"
#include "./util_opt_vb.hpp"
#include "./typedefs.hpp"
namespace pvb {
template<typename Encoder>
struct ... | 36.755639 | 110 | 0.534111 | ZabalaMariano |
80e4978b68016431cd519da1b97f547257cf7fb2 | 2,906 | cc | C++ | src/ppl/nn/engines/cuda/optimizer/ops/onnx/equal_op.cc | fzhsbc/ppl.nn | 370a3ff5296b3c2d8768bb2f5220eaa5e65a94a7 | [
"Apache-2.0"
] | null | null | null | src/ppl/nn/engines/cuda/optimizer/ops/onnx/equal_op.cc | fzhsbc/ppl.nn | 370a3ff5296b3c2d8768bb2f5220eaa5e65a94a7 | [
"Apache-2.0"
] | 1 | 2022-03-07T15:35:35.000Z | 2022-03-07T15:35:35.000Z | src/ppl/nn/engines/cuda/optimizer/ops/onnx/equal_op.cc | fzhsbc/ppl.nn | 370a3ff5296b3c2d8768bb2f5220eaa5e65a94a7 | [
"Apache-2.0"
] | null | null | null | // 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... | 37.74026 | 115 | 0.681005 | fzhsbc |
80e58a31a61d9e514581f4ab7bc561500fa740ae | 87,151 | cpp | C++ | third_party/nuke/plugin/FuserUsd/FuserUsdMesh.cpp | hickb/dwa_usd_plugins | dba7f65c080fc70c55e1cccf70f9fe944ab53b07 | [
"Apache-2.0"
] | 85 | 2019-07-27T04:21:19.000Z | 2021-12-16T04:06:29.000Z | third_party/nuke/plugin/FuserUsd/FuserUsdMesh.cpp | hickb/dwa_usd_plugins | dba7f65c080fc70c55e1cccf70f9fe944ab53b07 | [
"Apache-2.0"
] | 10 | 2019-07-31T14:45:46.000Z | 2020-09-02T18:15:51.000Z | third_party/nuke/plugin/FuserUsd/FuserUsdMesh.cpp | hickb/dwa_usd_plugins | dba7f65c080fc70c55e1cccf70f9fe944ab53b07 | [
"Apache-2.0"
] | 16 | 2019-07-28T06:53:02.000Z | 2021-08-11T23:51:40.000Z | //
// Copyright 2019 DreamWorks Animation
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with... | 39.328069 | 139 | 0.528175 | hickb |
80e62cac5262db6cf2332bb72067483b415caab9 | 10,534 | cpp | C++ | terminalpp/test/terminal_string_test.cpp | CalielOfSeptem/septem | fe7a615eb6c279d3746ee78de8864b5e07bf7e3e | [
"MIT"
] | 1 | 2017-03-30T14:31:33.000Z | 2017-03-30T14:31:33.000Z | terminalpp/test/terminal_string_test.cpp | HoraceWeebler/septem | fe7a615eb6c279d3746ee78de8864b5e07bf7e3e | [
"MIT"
] | null | null | null | terminalpp/test/terminal_string_test.cpp | HoraceWeebler/septem | fe7a615eb6c279d3746ee78de8864b5e07bf7e3e | [
"MIT"
] | null | null | null | #include "terminalpp/terminal.hpp"
#include "expect_sequence.hpp"
#include <gtest/gtest.h>
using namespace terminalpp::literals;
TEST(terminal_string_test, empty_string_outputs_nothing)
{
terminalpp::terminal terminal;
expect_sequence(
std::string(""),
terminal.write(""_ets));
}
TEST(termina... | 26.335 | 117 | 0.700304 | CalielOfSeptem |
80e6ee1e2013c440227077fcff375d4ba5a88ce0 | 1,780 | cpp | C++ | src/game/light.cpp | CoryNull/gold | b990ec6f874434b6e46f838213b5f4936aa86792 | [
"Apache-2.0"
] | null | null | null | src/game/light.cpp | CoryNull/gold | b990ec6f874434b6e46f838213b5f4936aa86792 | [
"Apache-2.0"
] | null | null | null | src/game/light.cpp | CoryNull/gold | b990ec6f874434b6e46f838213b5f4936aa86792 | [
"Apache-2.0"
] | null | null | null | #include "light.hpp"
namespace gold {
obj& light::getPrototype() {
static auto proto = obj({
{"priority", priorityEnum::genericPriority},
{"color", 0xffffffff},
{"intensity", 1.0f},
{"cone", vec2f(1, 1)},
{"type", "point"},
{"setColor", method(&light::setColor)},
{"getColor", method(&light::get... | 24.054054 | 60 | 0.635955 | CoryNull |
80e7ba20f0990ca6dcf6e531fd8e3a7de3d91e11 | 2,241 | cpp | C++ | serveur/Maroua/voyantsmaroua.cpp | de-souza/car-dashboard | ba3a6658887710a91d2d7095c9f2bb8e5f35b314 | [
"Apache-2.0"
] | 1 | 2020-02-23T04:34:05.000Z | 2020-02-23T04:34:05.000Z | serveur/Maroua/voyantsmaroua.cpp | de-souza/car-dashboard | ba3a6658887710a91d2d7095c9f2bb8e5f35b314 | [
"Apache-2.0"
] | 1 | 2019-11-12T14:18:19.000Z | 2019-11-12T14:27:52.000Z | serveur/Maroua/voyantsmaroua.cpp | de-souza/car-dashboard | ba3a6658887710a91d2d7095c9f2bb8e5f35b314 | [
"Apache-2.0"
] | 2 | 2019-11-12T14:15:09.000Z | 2021-04-12T05:10:35.000Z | #include "voyantsmaroua.h"
VoyantsMaroua::VoyantsMaroua()
{
clignotant=0;
value=0;
}
QRectF VoyantsMaroua::boundingRect() const
{
QRectF rectf(-800,-500,1600,1000);
return rectf;
}
void VoyantsMaroua::activate()
{
if (clignotant==1){
clignotant=0;
}
else{
clignotant=1;
}
Q... | 23.589474 | 89 | 0.613119 | de-souza |
80e7c15141cc70d1dd1d75f7a2e11a30a35cdfc5 | 3,618 | hpp | C++ | MessageLevelModel/sobel/experiments/sobel4event.hpp | Blinded4Review/ASPDAC | f1567cff39b4f11fe61cd463fb742b990b927170 | [
"Apache-2.0"
] | null | null | null | MessageLevelModel/sobel/experiments/sobel4event.hpp | Blinded4Review/ASPDAC | f1567cff39b4f11fe61cd463fb742b990b927170 | [
"Apache-2.0"
] | null | null | null | MessageLevelModel/sobel/experiments/sobel4event.hpp | Blinded4Review/ASPDAC | f1567cff39b4f11fe61cd463fb742b990b927170 | [
"Apache-2.0"
] | null | null | null | #ifndef EXPERIMENT_HPP
#define EXPERIMENT_HPP
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <tile.hpp>
#include <channel.hpp>
#include <utils.hpp>
// Event definition
sc_core::sc_event write_gx, write_gy, write_xa, write_ya, write_pos ,read_gx, read_gy, read_xa, read_ya, read_pos;
// Buffer Availa... | 21.664671 | 114 | 0.596186 | Blinded4Review |
80ea8f061f8746f0c17da297c9a36186a525b8ad | 999 | cpp | C++ | Launcher/src/Uninstall.cpp | ProtocolONE/cord.app | 0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7 | [
"Apache-2.0"
] | 8 | 2019-01-16T07:09:39.000Z | 2020-11-06T23:13:46.000Z | Launcher/src/Uninstall.cpp | ProtocolONE/cord.app | 0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7 | [
"Apache-2.0"
] | null | null | null | Launcher/src/Uninstall.cpp | ProtocolONE/cord.app | 0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7 | [
"Apache-2.0"
] | 3 | 2019-09-30T02:45:09.000Z | 2019-09-30T23:17:26.000Z | #include <Uninstall.h>
#include <viewmodel/GameSettingsViewModel.h>
#include <Application/ArgumentParser.h>
#include <Settings/Settings.h>
#include <QtCore/QFile>
#include <QtCore/QCoreApplication>
Uninstall::Uninstall()
{
}
Uninstall::~Uninstall()
{
}
void Uninstall::run(const QStringList& arguments)
{
P1::Appli... | 25.615385 | 116 | 0.754755 | ProtocolONE |
80ec0ad6786bcd9331d0e5c09e4db31c07252cb4 | 8,129 | cpp | C++ | gridworld/src/Model.cpp | LARG/regression-importance-sampling | 8cf2acf9313ab270c192fda29e1d5c1db68c2acc | [
"MIT"
] | 8 | 2019-06-06T17:56:08.000Z | 2021-11-27T05:42:40.000Z | gridworld/src/Model.cpp | LARG/regression-importance-sampling | 8cf2acf9313ab270c192fda29e1d5c1db68c2acc | [
"MIT"
] | 1 | 2020-12-21T16:08:01.000Z | 2021-01-04T13:53:48.000Z | gridworld/src/Model.cpp | LARG/regression-importance-sampling | 8cf2acf9313ab270c192fda29e1d5c1db68c2acc | [
"MIT"
] | 6 | 2019-06-14T00:18:31.000Z | 2022-02-05T21:50:27.000Z | #include "Model.hpp"
Model::Model() {
}
Model::Model(const vector<Trajectory*> & trajs, int numStates, int numActions, int L, bool JiangStyle) {
// Get the number of states and actions that have actually been observed
this->numStates = numStates;
this->numActions = numActions;
this->L = L;
N = (int)trajs.size();... | 32.130435 | 131 | 0.607701 | LARG |
80f78f080e6922da7df1346614281e2c22cf8b21 | 4,391 | hpp | C++ | pinto/src/PintoManager.hpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | 1 | 2016-05-09T03:34:51.000Z | 2016-05-09T03:34:51.000Z | pinto/src/PintoManager.hpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | pinto/src/PintoManager.hpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | /* Sirikata
* PintoManager.hpp
*
* Copyright (c) 2010, Ewen Cheslack-Postava
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the a... | 38.517544 | 140 | 0.75222 | pathorn |
80f7a100f0dc6067f620f09ae51c2da9b1ba03e9 | 418 | cpp | C++ | DSA Crack Sheet/solutions/101. Stickler Thief.cpp | sumanthbolle/DataStructures-Algorithms | d04edbcdd0794f5668e26bd003b46548150eccbc | [
"MIT"
] | 1 | 2021-02-11T15:07:17.000Z | 2021-02-11T15:07:17.000Z | DSA Crack Sheet/solutions/101. Stickler Thief.cpp | sumanthbolle/DataStructures-Algorithms | d04edbcdd0794f5668e26bd003b46548150eccbc | [
"MIT"
] | null | null | null | DSA Crack Sheet/solutions/101. Stickler Thief.cpp | sumanthbolle/DataStructures-Algorithms | d04edbcdd0794f5668e26bd003b46548150eccbc | [
"MIT"
] | null | null | null |
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
int n;
cin >> n;
vector<int> arr(n);
for (auto &i : arr)
cin >> i;
int incl = arr[0], excl = 0, excl_new;
for (int i = 1; i < n; i++)
{
excl_new = max(incl, excl);
incl = ex... | 14.413793 | 42 | 0.464115 | sumanthbolle |
80fd051b2d6065dbe6a5facce630555507d93a31 | 4,375 | cxx | C++ | graphics/nxwidgets/src/cwindoweventhandlerlist.cxx | DS-LK/incubator-nuttx-apps | 5719753399c41529478ced0a3af9a8fae93a50a9 | [
"Apache-2.0"
] | 1 | 2022-01-04T04:04:58.000Z | 2022-01-04T04:04:58.000Z | graphics/nxwidgets/src/cwindoweventhandlerlist.cxx | VanFeo/incubator-nuttx-apps | 009e66874538658c10a26bc076d27e9de48fabc6 | [
"Apache-2.0"
] | null | null | null | graphics/nxwidgets/src/cwindoweventhandlerlist.cxx | VanFeo/incubator-nuttx-apps | 009e66874538658c10a26bc076d27e9de48fabc6 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
* apps/graphics/nxwidgets/src/cwindoweventhandlerlist.cxx
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional informati... | 27.006173 | 99 | 0.597257 | DS-LK |
80fd72a1ea5d0338eab42ea316addeb5431d1e5a | 4,653 | cc | C++ | zircon/system/ulib/zxio/tests/vmofile-test.cc | dahliaOS/fuchsia-pi4 | 5b534fccefd918b5f03205393c1fe5fddf8031d0 | [
"BSD-2-Clause"
] | 3 | 2021-09-02T07:21:06.000Z | 2022-03-12T03:20:10.000Z | zircon/system/ulib/zxio/tests/vmofile-test.cc | dahliaOS/fuchsia-pi4 | 5b534fccefd918b5f03205393c1fe5fddf8031d0 | [
"BSD-2-Clause"
] | null | null | null | zircon/system/ulib/zxio/tests/vmofile-test.cc | dahliaOS/fuchsia-pi4 | 5b534fccefd918b5f03205393c1fe5fddf8031d0 | [
"BSD-2-Clause"
] | 2 | 2022-02-25T12:22:49.000Z | 2022-03-12T03:20:10.000Z | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/zx/channel.h>
#include <lib/zx/vmo.h>
#include <lib/zxio/inception.h>
#include <lib/zxio/zxio.h>
#include <zxtest/zxtest.h>
constexpr const... | 33.963504 | 99 | 0.698904 | dahliaOS |
80fe950222c1984767b9b9b6a9e8f4d8c658ef96 | 1,534 | hpp | C++ | include/mfmg/dealii/dealii_smoother.hpp | Rombur/mfmg | b7c66dfb58bc880b04f52ce22b454047f82d69ea | [
"BSD-3-Clause"
] | 8 | 2017-11-03T15:13:24.000Z | 2021-04-27T19:33:10.000Z | include/mfmg/dealii/dealii_smoother.hpp | Rombur/mfmg | b7c66dfb58bc880b04f52ce22b454047f82d69ea | [
"BSD-3-Clause"
] | 199 | 2017-11-03T13:33:23.000Z | 2019-10-07T22:46:18.000Z | include/mfmg/dealii/dealii_smoother.hpp | Rombur/mfmg | b7c66dfb58bc880b04f52ce22b454047f82d69ea | [
"BSD-3-Clause"
] | 7 | 2017-11-03T12:44:11.000Z | 2020-12-16T05:51:23.000Z | /**************************************************************************
* Copyright (c) 2017-2019 by the mfmg authors *
* All rights reserved. *
* *
* This file is ... | 34.088889 | 76 | 0.522816 | Rombur |
80fef880387fd3395406d7494a82a7f9175c0d78 | 1,779 | hpp | C++ | src/trafficsim/Rando.hpp | lutrarutra/trafsim | 05e87b263b48e39d63f699dcaa456f10ca61e9a4 | [
"Apache-2.0"
] | 12 | 2019-12-28T21:45:23.000Z | 2022-03-28T12:40:44.000Z | src/trafficsim/Rando.hpp | lutrarutra/trafsim | 05e87b263b48e39d63f699dcaa456f10ca61e9a4 | [
"Apache-2.0"
] | null | null | null | src/trafficsim/Rando.hpp | lutrarutra/trafsim | 05e87b263b48e39d63f699dcaa456f10ca61e9a4 | [
"Apache-2.0"
] | 1 | 2021-05-31T10:22:41.000Z | 2021-05-31T10:22:41.000Z | #pragma once
#include <memory>
#include <SFML/Graphics.hpp>
#include <iostream>
#include <random>
#include "time.h"
///////////////////////////////////////////////////////////////////////////////////////
//
// class Rando generates random numbers
//
// function roll:
// input: meanvalue
// output: rando... | 29.163934 | 88 | 0.532884 | lutrarutra |
4400ab2660c9471d493c4ba286899fa26efe699d | 61,447 | cpp | C++ | Source/Runtime/Private/Render/Shader.cpp | ValtoForks/BlueshiftEngine | a6684aa3bf9b4bd22d5cc4d4b6647fea6b074fee | [
"Apache-2.0"
] | 1 | 2019-03-27T14:24:59.000Z | 2019-03-27T14:24:59.000Z | Source/Runtime/Private/Render/Shader.cpp | kbb-uran/BlueshiftEngine | beb690093ca643c38437831c93581e29686ff508 | [
"Apache-2.0"
] | null | null | null | Source/Runtime/Private/Render/Shader.cpp | kbb-uran/BlueshiftEngine | beb690093ca643c38437831c93581e29686ff508 | [
"Apache-2.0"
] | null | null | null | // Copyright(c) 2017 POLYGONTEK
//
// 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 i... | 35.829155 | 206 | 0.640796 | ValtoForks |
4400f9fd40bd3a165cf155a4c215157f4bc8bfd2 | 1,096 | cpp | C++ | ABC/abc118/d.cpp | EnsekiTT/atcoder | 6b40332d1b2493d1b6c00c9f1912895a67a3bbcb | [
"MIT"
] | null | null | null | ABC/abc118/d.cpp | EnsekiTT/atcoder | 6b40332d1b2493d1b6c00c9f1912895a67a3bbcb | [
"MIT"
] | null | null | null | ABC/abc118/d.cpp | EnsekiTT/atcoder | 6b40332d1b2493d1b6c00c9f1912895a67a3bbcb | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <vector>
#include <numeric>
using namespace std;
int main()
{
int N, M;
cin >> N >> M;
vector<int> A(M);
for(int i=0; i < M; i++){
cin >> A[i];
}
vector<int> sev_nums = {0,1,2,3,4,5,6,7,8,9};
vector<int> sev_segs = {0,2,5,5,4,5,6,3,7,6}... | 22.367347 | 134 | 0.528285 | EnsekiTT |
4401f00efbad80deab658137cd1f0fc26140061e | 2,480 | cpp | C++ | src/xalanc/XalanTransformer/XalanTransformerProblemListener.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | src/xalanc/XalanTransformer/XalanTransformerProblemListener.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | src/xalanc/XalanTransformer/XalanTransformerProblemListener.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 1999-2004 The Apache Software Foundation.
*
* 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 requir... | 20.840336 | 77 | 0.706452 | rherardi |
44020c5e9cdd2bf22b0708421f9688de0c7061b1 | 742 | cpp | C++ | clock.cpp | mdaneshjoo/AVR-exampels | 7a5bee1a503033e21095ab0461cbcb54cd3a34e2 | [
"MIT"
] | 14 | 2018-11-05T09:38:12.000Z | 2021-05-21T19:04:37.000Z | clock.cpp | floodlim/AVR_Tutorials | 45354443984c3328382e40f260dd70b83a5f4178 | [
"MIT"
] | null | null | null | clock.cpp | floodlim/AVR_Tutorials | 45354443984c3328382e40f260dd70b83a5f4178 | [
"MIT"
] | 5 | 2019-03-08T22:42:41.000Z | 2019-12-30T12:46:26.000Z | /*
* timerTest.cpp
*
* Created: 12/2/2018 2:29:50 PM
* Author : AmirAslan Haghrah
*/
#include <avr/io.h>
#include <avr/interrupt.h>
int main(void) {
DDRA = 0xFF;
PORTA = 0x00;
DDRB = 0xFF;
PORTB = 0x00;
TCCR0 = 0b00000010;
TCNT0 = 0;
OCR0 = 124;
TIMSK = 0b00000011;
sei();
while (1) {}
}
lon... | 12.366667 | 32 | 0.545822 | mdaneshjoo |
44028de92367c4be50569c1f9c3c0aea14c48b13 | 5,894 | hpp | C++ | include/libbceplus/math/fraction.hpp | bce-toolkit/historical-bce-cpp-1.x-without-shell | a0ccc1445d23ca521c0b3d568116d45286a340a4 | [
"BSD-2-Clause"
] | null | null | null | include/libbceplus/math/fraction.hpp | bce-toolkit/historical-bce-cpp-1.x-without-shell | a0ccc1445d23ca521c0b3d568116d45286a340a4 | [
"BSD-2-Clause"
] | null | null | null | include/libbceplus/math/fraction.hpp | bce-toolkit/historical-bce-cpp-1.x-without-shell | a0ccc1445d23ca521c0b3d568116d45286a340a4 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2012-2013, XiaoJSoft Studio. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this l... | 34.670588 | 78 | 0.663726 | bce-toolkit |
4402dd3a27e0ffbf9d5b04f2e4071423d6f9aa92 | 1,923 | cpp | C++ | src/xray/xr_3da/blenders/Blender.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/blenders/Blender.cpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/xray/xr_3da/blenders/Blender.cpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | // Blender.cpp: implementation of the IBlender class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#pragma hdrstop
#define _USE_32BIT_TIME_T
#include <time.h>
#include "Blender.h"
void CBlender_DESC::Setup (LPCSTR N)
{
// Name
VERIFY(xr_strlen(N)<128);
VERIFY(0==s... | 24.341772 | 78 | 0.632345 | OLR-xray |
4405524ab90778a74aacccd3025f830d353cbc96 | 1,798 | cpp | C++ | src/FrameAccuFilterDialog.cpp | grogorick/FrameAccuFilter-VirtualDub | 8d6d184ba5a6d51eca8f2c1498c56b2d7116b30a | [
"MIT"
] | 1 | 2022-01-08T18:13:28.000Z | 2022-01-08T18:13:28.000Z | src/FrameAccuFilterDialog.cpp | grogorick/FrameAccuFilter-VirtualDub | 8d6d184ba5a6d51eca8f2c1498c56b2d7116b30a | [
"MIT"
] | null | null | null | src/FrameAccuFilterDialog.cpp | grogorick/FrameAccuFilter-VirtualDub | 8d6d184ba5a6d51eca8f2c1498c56b2d7116b30a | [
"MIT"
] | null | null | null | #include <FrameAccuFilterDialog.h>
#include <sstream>
FrameAccuFilterDialog::FrameAccuFilterDialog(FrameAccuFilterConfig& config, IVDXFilterPreview *ifp):mifp(ifp), mConfigNew(config){
}
bool FrameAccuFilterDialog::Show(HWND parent) {
return 0 != VDXVideoFilterDialog::Show(NULL, MAKEINTRESOURCE(IDD_DIALOG_FRAME_ACCU... | 26.441176 | 130 | 0.746941 | grogorick |
44060cd8c1e1634aa64386f7729b9539b3649e12 | 93 | cpp | C++ | source/core/common/Constants.cpp | varunamachi/vq | 17c9d316fa734532b9892110b5b105b6d37f3f27 | [
"MIT"
] | null | null | null | source/core/common/Constants.cpp | varunamachi/vq | 17c9d316fa734532b9892110b5b105b6d37f3f27 | [
"MIT"
] | null | null | null | source/core/common/Constants.cpp | varunamachi/vq | 17c9d316fa734532b9892110b5b105b6d37f3f27 | [
"MIT"
] | null | null | null |
#include "Constants.h"
namespace Vq {
const std::string Constants::EMPTY_STRING( "" );
}
| 10.333333 | 48 | 0.677419 | varunamachi |
44069b85d8c66c02f7fd7b4f1c1e48301eb5e0a1 | 941 | cpp | C++ | Server/dep/g3dlite/G3D/Vector3int16.cpp | ZON3DEV/wow-vanilla | 7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f | [
"OpenSSL"
] | 42 | 2015-01-05T10:00:07.000Z | 2022-02-18T14:51:33.000Z | Server/dep/g3dlite/G3D/Vector3int16.cpp | ZON3DEV/wow-vanilla | 7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f | [
"OpenSSL"
] | 20 | 2017-04-10T18:41:58.000Z | 2017-04-10T19:01:12.000Z | Server/dep/g3dlite/G3D/Vector3int16.cpp | ZON3DEV/wow-vanilla | 7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f | [
"OpenSSL"
] | 31 | 2015-01-09T02:04:29.000Z | 2021-09-01T13:20:20.000Z | /**
@file Vector3int16.cpp
@author Morgan McGuire, http://graphics.cs.williams.edu
@created 2003-04-07
@edited 2006-01-17
*/
#include "G3D/platform.h"
#include "G3D/g3dmath.h"
#include "G3D/Vector3int16.h"
#include "G3D/Vector3.h"
#include "G3D/BinaryInput.h"
#include "G3D/BinaryOutput.h"
#include "G3D/form... | 18.82 | 60 | 0.651435 | ZON3DEV |
4409c868fe837bc467f19dfbd037c5c72e2780c2 | 670 | cpp | C++ | test/network_server.cpp | leezhenghui/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 351 | 2016-10-12T14:06:09.000Z | 2022-03-24T14:53:54.000Z | test/network_server.cpp | leezhenghui/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 7 | 2017-03-07T01:49:16.000Z | 2018-07-27T08:51:54.000Z | test/network_server.cpp | UncP/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 62 | 2016-10-31T12:46:45.000Z | 2021-12-28T11:25:26.000Z | /**
* > Author: UncP
* > Github: www.github.com/UncP/Mushroom
* > License: BSD-3
* > Time: 2017-04-28 14:35:06
**/
#include "../src/network/signal.hpp"
#include "../src/network/eventbase.hpp"
#include "../src/network/connection.hpp"
#include "../src/network/server.hpp"
using namespace Mu... | 22.333333 | 76 | 0.595522 | leezhenghui |
440a7b3327e29678f9a085603a5a9838af55fc2f | 675 | cpp | C++ | 09/uva116.cpp | ericxie/aoapc | 10092cebbc5b47364680ffecb5269d94349330e8 | [
"MIT"
] | 10 | 2019-11-10T10:37:23.000Z | 2021-06-16T14:18:22.000Z | 09/uva116.cpp | ericxie/aoapc | 10092cebbc5b47364680ffecb5269d94349330e8 | [
"MIT"
] | null | null | null | 09/uva116.cpp | ericxie/aoapc | 10092cebbc5b47364680ffecb5269d94349330e8 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <algorithm>
const int inf = 0x3f3f3f3f;
int dp[111][111];
int n,m;
int main(){
int i,j,k,cost;
while(~scanf("%d %d",&n,&m)){
for(i=0;i<n;i++) for(j=0;j<m;j++) scanf("%d",dp[i]+j);
for(i=0;i<n;i++) dp[i][m] = 0;
for(j=m-1;j>=0;j--){
for(i=0;i<n;i++){
dp[i][j] += std::min(s... | 23.275862 | 83 | 0.451852 | ericxie |
440d377f7270227d26e11a1d1d3578318184eb5c | 711 | cpp | C++ | src/semantic/SemanticAnalysis.cpp | jlt3fw/oralreportpractice | fb6ae5366cf5b45bc1d5c08f00f97bee38909fcc | [
"MIT"
] | null | null | null | src/semantic/SemanticAnalysis.cpp | jlt3fw/oralreportpractice | fb6ae5366cf5b45bc1d5c08f00f97bee38909fcc | [
"MIT"
] | null | null | null | src/semantic/SemanticAnalysis.cpp | jlt3fw/oralreportpractice | fb6ae5366cf5b45bc1d5c08f00f97bee38909fcc | [
"MIT"
] | null | null | null | #include "SemanticAnalysis.h"
#include "CheckAssignable.h"
#include "loguru.hpp"
std::unique_ptr<SemanticAnalysis> SemanticAnalysis::analyze(ASTProgram* ast) {
auto symTable = SymbolTable::build(ast);
CheckAssignable::check(ast);
auto callGraph = CallGraph::build(ast, symTable.get());
auto typeResults = TypeIn... | 30.913043 | 111 | 0.746835 | jlt3fw |
440d877ade67d5d6d63fcdc12feb820f58f7a0fe | 8,601 | cpp | C++ | source/projects/weft.rational/weft.rational.cpp | steve-meyer/weft | 0086a522e47f7e9f8eb061839dbce103d52b4be0 | [
"MIT"
] | null | null | null | source/projects/weft.rational/weft.rational.cpp | steve-meyer/weft | 0086a522e47f7e9f8eb061839dbce103d52b4be0 | [
"MIT"
] | null | null | null | source/projects/weft.rational/weft.rational.cpp | steve-meyer/weft | 0086a522e47f7e9f8eb061839dbce103d52b4be0 | [
"MIT"
] | null | null | null | /// @file
/// @ingroup weft
/// @copyright Copyright 2020 Stephen Meyer. All rights reserved.
/// @licence Use of this source code is governed by the MIT License found in the License.md file.
#include "c74_min.h"
#include "../weft.shared/weft.h"
using namespace c74::min;
class rational : public object<ration... | 33.862205 | 114 | 0.539123 | steve-meyer |
440e4747bcd3c3a8a9def90bcc62e5c00a5956ef | 2,195 | hh | C++ | live/BasicUsageEnvironment/include/HandlerSet.hh | watson-yu/RTSPSource | 2392e598cbd0cac32903ed228bf9117711911ab4 | [
"BSD-3-Clause"
] | 8 | 2015-08-05T04:16:16.000Z | 2022-01-07T12:39:01.000Z | live/BasicUsageEnvironment/include/HandlerSet.hh | fyeh/vsm7dsf | 93d6e3074a3261b4dca14195126ecb346598cd2e | [
"BSD-2-Clause"
] | 5 | 2015-02-26T13:55:37.000Z | 2017-08-15T00:22:00.000Z | live/BasicUsageEnvironment/include/HandlerSet.hh | fyeh/vsm7dsf | 93d6e3074a3261b4dca14195126ecb346598cd2e | [
"BSD-2-Clause"
] | 15 | 2015-06-10T13:13:46.000Z | 2022-01-07T12:39:02.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 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | 28.141026 | 123 | 0.762642 | watson-yu |
440e7946ed51e150141318891cbcae04359467c1 | 720 | cpp | C++ | solutions/986.cpp | tdakhran/leetcode | ed680059661faae32857eaa791ca29c1d9c16120 | [
"MIT"
] | null | null | null | solutions/986.cpp | tdakhran/leetcode | ed680059661faae32857eaa791ca29c1d9c16120 | [
"MIT"
] | null | null | null | solutions/986.cpp | tdakhran/leetcode | ed680059661faae32857eaa791ca29c1d9c16120 | [
"MIT"
] | null | null | null | #include <vector>
class Solution {
public:
std::vector<std::vector<int>> intervalIntersection(
std::vector<std::vector<int>>& firstList,
std::vector<std::vector<int>>& secondList) {
std::vector<std::vector<int>> result;
for (auto i1 = begin(firstList), i2 = begin(secondList);
i1 < end(... | 26.666667 | 67 | 0.484722 | tdakhran |
440f14fac3d7f1f04251b94d45d2fb26bfb8011b | 80 | cpp | C++ | pbe/src/pbe/AI/BaseNodes.cpp | pavilbezpravil/pbEngine | 55c051bdb296f0960ad05447d385a554334c4b5c | [
"Apache-2.0"
] | null | null | null | pbe/src/pbe/AI/BaseNodes.cpp | pavilbezpravil/pbEngine | 55c051bdb296f0960ad05447d385a554334c4b5c | [
"Apache-2.0"
] | null | null | null | pbe/src/pbe/AI/BaseNodes.cpp | pavilbezpravil/pbEngine | 55c051bdb296f0960ad05447d385a554334c4b5c | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "BaseNodes.h"
namespace pbe
{
namespace AI
{
}
}
| 7.272727 | 22 | 0.6375 | pavilbezpravil |
44167f20ea6e3717a64c03196306a907aa45577f | 11,078 | cpp | C++ | source/platform/win32/i_specialpaths.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | 2 | 2020-03-26T10:11:17.000Z | 2021-01-19T08:16:48.000Z | source/platform/win32/i_specialpaths.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | null | null | null | source/platform/win32/i_specialpaths.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | null | null | null | /*
** i_specialpaths.cpp
** Gets special system folders where data should be stored. (Windows version)
**
**---------------------------------------------------------------------------
** Copyright 2013-2016 Randy Heit
** Copyright 2016 Christoph Oelckers
** All rights reserved.
**
** Redistribution and use in source an... | 28.699482 | 123 | 0.59072 | bisk89 |
4417d6a01fd3abb16cf86733cece8e93cc4431e9 | 1,827 | cpp | C++ | source/ch08/drill11.cpp | erik47111/UDProg-Introduction | 5e4bc2eb612403b8a5a17338748214c94b523dd8 | [
"CC0-1.0"
] | null | null | null | source/ch08/drill11.cpp | erik47111/UDProg-Introduction | 5e4bc2eb612403b8a5a17338748214c94b523dd8 | [
"CC0-1.0"
] | null | null | null | source/ch08/drill11.cpp | erik47111/UDProg-Introduction | 5e4bc2eb612403b8a5a17338748214c94b523dd8 | [
"CC0-1.0"
] | null | null | null | #include "std_lib_facilities.h"
int main()
{
cout << "..............................................................................................................................." << "\n\n";
int born = 2001;
cout << born << "\t(decimal)\n"
<< hex << born << "\t(hexadecimal)\n"
<< oct << born << "\t(octal)\n"
... | 36.54 | 157 | 0.296661 | erik47111 |
44185aee1cb9bf430e916915006e2e4be9557064 | 3,811 | hpp | C++ | lib/include/async/use_stop_source.hpp | niclasberg/asfw | f836de1c0d6350541e3253863dedab6a3eb81df7 | [
"MIT"
] | null | null | null | lib/include/async/use_stop_source.hpp | niclasberg/asfw | f836de1c0d6350541e3253863dedab6a3eb81df7 | [
"MIT"
] | null | null | null | lib/include/async/use_stop_source.hpp | niclasberg/asfw | f836de1c0d6350541e3253863dedab6a3eb81df7 | [
"MIT"
] | null | null | null | #pragma once
#include "inplace_stop_token.hpp"
namespace async
{
namespace detail
{
template<class R>
struct UseStopSourceReceiver
{
R innerReceiver_;
InplaceStopSource & stopSource_;
template<class ... Values>
requires ReceiverOf<R... | 32.853448 | 136 | 0.553136 | niclasberg |
4418c917151a1daad75f48829d3ef93b8247fb57 | 1,124 | hpp | C++ | src/app/AppInterface.hpp | Lut1n/QuasarBell | c5b5052ac1db94d0a97fd07e512883a9fd244fd5 | [
"MIT"
] | 2 | 2021-01-31T10:06:33.000Z | 2021-03-10T13:20:15.000Z | src/app/AppInterface.hpp | Lut1n/QuasarBell | c5b5052ac1db94d0a97fd07e512883a9fd244fd5 | [
"MIT"
] | null | null | null | src/app/AppInterface.hpp | Lut1n/QuasarBell | c5b5052ac1db94d0a97fd07e512883a9fd244fd5 | [
"MIT"
] | null | null | null | #ifndef QUASAR_BELL_GUI_HPP
#define QUASAR_BELL_GUI_HPP
#include <list>
#include <vector>
#include "Audio/PcmData.hpp"
#include "App/UserFileInput.hpp"
#include "SignalOperation/OperationType.hpp"
#include "ImageOperation/ImageOperationType.hpp"
#include "Ui/UiNodeBoard.h"
enum NodeCategory
{
NodeC... | 21.615385 | 85 | 0.709075 | Lut1n |
441975da528dc15d995824f2bc297da662e67dee | 16,098 | cpp | C++ | player/src/parserUI/verifyerdialog.cpp | onvif/oxfplayer | fa76afebf7549b0b6f408e99de2f66c07dca457a | [
"BSD-3-Clause"
] | 17 | 2020-01-31T03:43:11.000Z | 2022-03-11T03:55:37.000Z | player/src/parserUI/verifyerdialog.cpp | onvif/oxfplayer | fa76afebf7549b0b6f408e99de2f66c07dca457a | [
"BSD-3-Clause"
] | 1 | 2021-11-08T15:29:08.000Z | 2021-12-09T14:26:44.000Z | player/src/parserUI/verifyerdialog.cpp | onvif/oxfplayer | fa76afebf7549b0b6f408e99de2f66c07dca457a | [
"BSD-3-Clause"
] | 4 | 2020-03-09T08:31:47.000Z | 2021-11-04T18:32:41.000Z | /************************************************************************************
* Copyright (c) 2013 ONVIF.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of so... | 36.753425 | 143 | 0.641508 | onvif |
441e31bf8443511a10646b4fc238ea9e2844d430 | 10,318 | cpp | C++ | src/FileDownload.cpp | fpmuniz/stepmania | 984dc8668f1fedacf553f279a828acdebffc5625 | [
"MIT"
] | 1,514 | 2015-01-02T17:00:28.000Z | 2022-03-30T14:11:21.000Z | src/FileDownload.cpp | fpmuniz/stepmania | 984dc8668f1fedacf553f279a828acdebffc5625 | [
"MIT"
] | 1,462 | 2015-01-01T10:53:29.000Z | 2022-03-27T04:35:53.000Z | src/FileDownload.cpp | fpmuniz/stepmania | 984dc8668f1fedacf553f279a828acdebffc5625 | [
"MIT"
] | 552 | 2015-01-02T05:34:41.000Z | 2022-03-26T05:19:19.000Z | #include "global.h"
#if !defined(WITHOUT_NETWORKING)
#include "FileDownload.h"
#include "RageUtil.h"
#include "RageFileManager.h"
#include "SpecialFiles.h"
#include "RageLog.h"
#include "Preference.h"
FileTransfer::FileTransfer()
{
m_iPackagesPos = 0;
m_iLinksPos = 0;
m_bIsDownloading = false;
m_sStatus = "";
m... | 25.859649 | 125 | 0.665536 | fpmuniz |
441ef4a316d31ca64c7623a5009dbc5d89d2e343 | 10,500 | cpp | C++ | src/FSDefineTextField.cpp | pperehozhih/transform-cxx | f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48 | [
"BSD-3-Clause"
] | 4 | 2018-09-16T09:55:22.000Z | 2020-12-19T02:02:40.000Z | src/FSDefineTextField.cpp | pperehozhih/transform-cxx | f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48 | [
"BSD-3-Clause"
] | null | null | null | src/FSDefineTextField.cpp | pperehozhih/transform-cxx | f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48 | [
"BSD-3-Clause"
] | 2 | 2015-11-24T20:27:35.000Z | 2019-06-04T15:23:30.000Z | /*
* FSDefineTextField.cpp
* Transform SWF
*
* Created by smackay on Mon Feb 24 2003.
* Copyright (c) 2001-2003 Flagstone Software Ltd. All rights reserved.
*
* This file contains Original Code and/or Modifications of Original Code as defined in
* and that are subject to the Flagstone Software Sou... | 35.59322 | 133 | 0.588762 | pperehozhih |
442044b99a1e9b00ad7a0efa9798529bac890239 | 11,182 | cxx | C++ | test/itkMultiImageToImageRegistrationMethodTest0.cxx | Besler/ITKBertelstenRegistration | 48cf519e947252eb2ba0cd27d3240f9f5ebbd626 | [
"Apache-2.0"
] | null | null | null | test/itkMultiImageToImageRegistrationMethodTest0.cxx | Besler/ITKBertelstenRegistration | 48cf519e947252eb2ba0cd27d3240f9f5ebbd626 | [
"Apache-2.0"
] | 1 | 2018-02-22T23:26:45.000Z | 2018-02-22T23:48:16.000Z | test/itkMultiImageToImageRegistrationMethodTest0.cxx | Besler/ITKBertelstenRegistration | 48cf519e947252eb2ba0cd27d3240f9f5ebbd626 | [
"Apache-2.0"
] | 1 | 2022-01-12T08:26:00.000Z | 2022-01-12T08:26:00.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 40.514493 | 104 | 0.612949 | Besler |
44212794a31569d1f104c7fe5e75012c9c80fd59 | 2,922 | hpp | C++ | test/common_cells.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 53 | 2018-10-18T12:08:21.000Z | 2022-03-26T22:03:51.000Z | test/common_cells.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 864 | 2018-10-01T08:06:00.000Z | 2022-03-31T08:06:48.000Z | test/common_cells.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 37 | 2019-03-03T16:18:49.000Z | 2022-03-24T10:39:51.000Z | #include <cmath>
#include <arbor/cable_cell.hpp>
#include <arbor/mechinfo.hpp>
#include <arbor/morph/label_dict.hpp>
#include <arbor/recipe.hpp>
namespace arb {
// Generate a segment tree from a sequence of points and parent index.
arb::segment_tree segments_from_points(std::vector<arb::mpoint> points,
... | 25.189655 | 91 | 0.651608 | kanzl |
442741f303f689dcfeca8bb514579aa624d41e22 | 1,090 | cpp | C++ | DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/08_DPCPP_Reduction/lab/sum_reduction_buffers.cpp | yafshar/oneAPI-samples | 592a2036e86e7083a05c0d6a1613fb826adf9a60 | [
"MIT"
] | null | null | null | DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/08_DPCPP_Reduction/lab/sum_reduction_buffers.cpp | yafshar/oneAPI-samples | 592a2036e86e7083a05c0d6a1613fb826adf9a60 | [
"MIT"
] | null | null | null | DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/08_DPCPP_Reduction/lab/sum_reduction_buffers.cpp | yafshar/oneAPI-samples | 592a2036e86e7083a05c0d6a1613fb826adf9a60 | [
"MIT"
] | null | null | null | //==============================================================
// Copyright © Intel Corporation
//
// SPDX-License-Identifier: MIT
// =============================================================
#include <CL/sycl.hpp>
using namespace sycl;
static constexpr size_t N = 1024; // global size
static constexpr size_t B ... | 27.25 | 105 | 0.522018 | yafshar |
4427e4e60d1fd9f66e227dec863b93d02bff4214 | 13,016 | cpp | C++ | dlib/external/libjpeg/jdapimin.cpp | ckproc/dlib-19.7 | 0ca40f5e85de2436e557bee9a805d3987d2d9507 | [
"BSL-1.0"
] | null | null | null | dlib/external/libjpeg/jdapimin.cpp | ckproc/dlib-19.7 | 0ca40f5e85de2436e557bee9a805d3987d2d9507 | [
"BSL-1.0"
] | 4 | 2018-02-27T15:44:25.000Z | 2018-02-28T01:26:03.000Z | dlib/external/libjpeg/jdapimin.cpp | ckproc/dlib-19.7 | 0ca40f5e85de2436e557bee9a805d3987d2d9507 | [
"BSL-1.0"
] | null | null | null | /*
* jdapimin.c
*
* Copyright (C) 1994-1998, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains application interface code for the decompression half
* of the JPEG library. Thes... | 32.868687 | 80 | 0.688537 | ckproc |
442c827a670bbf16e9431b1578ee12dd00a4c9f5 | 8,038 | cc | C++ | modules/desktop_capture/win/wgc_capturer_win.cc | tangm421/webrtc | f715618eee00843441ea723f52165c6fa4ffd6f7 | [
"BSD-3-Clause"
] | 344 | 2016-07-03T11:45:20.000Z | 2022-03-19T16:54:10.000Z | modules/desktop_capture/win/wgc_capturer_win.cc | tangm421/webrtc | f715618eee00843441ea723f52165c6fa4ffd6f7 | [
"BSD-3-Clause"
] | 15 | 2021-08-21T17:20:20.000Z | 2022-03-14T18:47:33.000Z | modules/desktop_capture/win/wgc_capturer_win.cc | tangm421/webrtc | f715618eee00843441ea723f52165c6fa4ffd6f7 | [
"BSD-3-Clause"
] | 278 | 2016-04-26T07:37:12.000Z | 2022-01-24T10:09:44.000Z | /*
* Copyright (c) 2020 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 con... | 36.703196 | 81 | 0.693829 | tangm421 |
442c972b82396b98e90552881cb23a54eeb46eb5 | 63 | cpp | C++ | test/unit-tests/files/test-compiler/simple-test/Lib.cpp | jheruty/hotswap-cpp | 74175b028bf5dd0aa0dc8450f5251e6dfdf0e380 | [
"MIT"
] | 7 | 2021-05-25T11:31:00.000Z | 2022-03-16T08:39:03.000Z | test/unit-tests/files/test-compiler/simple-test/Lib.cpp | jheruty/hotswap-cpp | 74175b028bf5dd0aa0dc8450f5251e6dfdf0e380 | [
"MIT"
] | 1 | 2021-06-07T20:01:41.000Z | 2021-06-16T13:43:23.000Z | test/unit-tests/files/test-compiler/simple-test/Lib.cpp | jheruty/hotswap-cpp | 74175b028bf5dd0aa0dc8450f5251e6dfdf0e380 | [
"MIT"
] | 3 | 2021-07-08T07:33:03.000Z | 2021-08-21T06:50:31.000Z | #include "Lib.h"
void SetValueTo12(int& val)
{
val = 12;
} | 10.5 | 27 | 0.603175 | jheruty |
442ecf5bf0c8249bb36a299e051658ed4085c149 | 4,728 | cpp | C++ | src/constraint/dart/CollisionFree.cpp | usc-csci-545/aikido | afd8b203c17cb0b05d7db436f8bffbbe2111a75a | [
"BSD-3-Clause"
] | null | null | null | src/constraint/dart/CollisionFree.cpp | usc-csci-545/aikido | afd8b203c17cb0b05d7db436f8bffbbe2111a75a | [
"BSD-3-Clause"
] | null | null | null | src/constraint/dart/CollisionFree.cpp | usc-csci-545/aikido | afd8b203c17cb0b05d7db436f8bffbbe2111a75a | [
"BSD-3-Clause"
] | null | null | null | #include "aikido/constraint/dart/CollisionFree.hpp"
namespace aikido {
namespace constraint {
namespace dart {
//==============================================================================
CollisionFree::CollisionFree(
statespace::dart::ConstMetaSkeletonStateSpacePtr _metaSkeletonStateSpace,
::dart::dynami... | 32.606897 | 80 | 0.615905 | usc-csci-545 |
442f66ee861e82d962942a048ae80491a9dbeac1 | 26,687 | hpp | C++ | javaStructures/jdk-master/src/hotspot/share/c1/c1_LIRGenerator.hpp | IThawk/learnCode | 0ac843d28b193eaab33fb33692f18361d71c7331 | [
"MIT"
] | 1 | 2020-12-26T04:52:15.000Z | 2020-12-26T04:52:15.000Z | javaStructures/jdk-master/src/hotspot/share/c1/c1_LIRGenerator.hpp | IThawk/learnCode | 0ac843d28b193eaab33fb33692f18361d71c7331 | [
"MIT"
] | 1 | 2020-12-26T04:57:19.000Z | 2020-12-26T04:57:19.000Z | javaStructures/jdk-master/src/hotspot/share/c1/c1_LIRGenerator.hpp | IThawk/learnCode | 0ac843d28b193eaab33fb33692f18361d71c7331 | [
"MIT"
] | 1 | 2021-12-06T01:13:18.000Z | 2021-12-06T01:13:18.000Z | /*
* Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 38.902332 | 198 | 0.705212 | IThawk |
4431a3d9623a307301fa85895d630ee3b0d56aa5 | 707 | cpp | C++ | libraries/glua/ljsonrpclib.cpp | WillAchain/lvm | 1511459593df943be8a431ac968ff23083481da8 | [
"MIT"
] | 19 | 2017-11-01T02:48:58.000Z | 2018-04-25T23:07:33.000Z | libraries/glua/ljsonrpclib.cpp | WillAchain/lvm | 1511459593df943be8a431ac968ff23083481da8 | [
"MIT"
] | 1 | 2017-11-10T01:28:43.000Z | 2017-11-10T01:28:43.000Z | libraries/glua/ljsonrpclib.cpp | WillAchain/lvm | 1511459593df943be8a431ac968ff23083481da8 | [
"MIT"
] | 24 | 2017-11-01T03:30:09.000Z | 2018-12-28T21:57:33.000Z | #define ljsonrpclib_cpp
#include "glua/lauxlib.h"
#include "glua/lprefix.h"
#include "glua/lua.h"
#include "glua/lua_api.h"
#include "glua/lualib.h"
#include <boost/asio.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <errno.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <me... | 18.605263 | 46 | 0.712871 | WillAchain |
4433f174e781007a9a13489dc02f55c2c8ac2571 | 25,647 | cpp | C++ | be/src/exec/json_scanner.cpp | blueChild/incubator-doris | 44325ae850d0cda8f2675af5b6825acb246fb988 | [
"Apache-2.0"
] | 1 | 2021-09-10T17:25:07.000Z | 2021-09-10T17:25:07.000Z | be/src/exec/json_scanner.cpp | jollykingCN/incubator-doris | 83b7a23d5c0d4165ff370ec36db671cfb05e1295 | [
"Apache-2.0"
] | null | null | null | be/src/exec/json_scanner.cpp | jollykingCN/incubator-doris | 83b7a23d5c0d4165ff370ec36db671cfb05e1295 | [
"Apache-2.0"
] | null | null | null | // 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... | 37.495614 | 124 | 0.578781 | blueChild |
443700f037df5074271483d3dfaec5738362f603 | 9,130 | cpp | C++ | src/mongo/bson/bson_obj_test.cpp | pengliu2/rtree_mongo | 0b90913f75de5281a96d1383c319843ea84a90d2 | [
"Apache-2.0"
] | null | null | null | src/mongo/bson/bson_obj_test.cpp | pengliu2/rtree_mongo | 0b90913f75de5281a96d1383c319843ea84a90d2 | [
"Apache-2.0"
] | null | null | null | src/mongo/bson/bson_obj_test.cpp | pengliu2/rtree_mongo | 0b90913f75de5281a96d1383c319843ea84a90d2 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2013 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | 49.086022 | 100 | 0.550821 | pengliu2 |
443a5c793bd3082c147fe58ef186e250a92777bb | 357 | cpp | C++ | chapter 2/5.cpp | lyhlyhl/cpp_Primer_Plus_tasks | 0b966ec8216ac9bb8baffe462e15317c2d98c5de | [
"MIT"
] | null | null | null | chapter 2/5.cpp | lyhlyhl/cpp_Primer_Plus_tasks | 0b966ec8216ac9bb8baffe462e15317c2d98c5de | [
"MIT"
] | null | null | null | chapter 2/5.cpp | lyhlyhl/cpp_Primer_Plus_tasks | 0b966ec8216ac9bb8baffe462e15317c2d98c5de | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
float tempTransform(float temp);
int main()
{
float temp;
cout << "Please enter a Celsius value:";
cin >> temp;
cout << temp << " degrees Celsius is " << tempTransform(temp) << " degrees Fahrenheit.";
cin.get();
cin.get();
}
float tempTransform(float te... | 19.833333 | 92 | 0.621849 | lyhlyhl |
443c4633e392d6de83b9fb44be78d70e897b1fea | 18,287 | cpp | C++ | libhttpserver/HTTPParser.cpp | harsath/SSL-HTTP-Application-Server-CPP-RFC7231 | 140fb59997e9049bb4ca89806df527556ed890a0 | [
"MIT"
] | 5 | 2020-09-16T02:06:44.000Z | 2020-11-10T01:59:55.000Z | libhttpserver/HTTPParser.cpp | harsathAI/HTTP-Application-Server-CPP-RFC7231 | 140fb59997e9049bb4ca89806df527556ed890a0 | [
"MIT"
] | 9 | 2020-10-23T12:20:08.000Z | 2021-01-22T03:44:38.000Z | libhttpserver/HTTPParser.cpp | harsathAI/HTTP-Application-Server-CPP-RFC7231 | 140fb59997e9049bb4ca89806df527556ed890a0 | [
"MIT"
] | null | null | null | #include "HTTPParser.hpp"
#include "HTTPMessage.hpp"
#include "HTTPHelpers.hpp"
#include "io/IOBuffer.hpp"
#include <cctype>
#include <memory>
#include <optional>
#include <string>
namespace {
#define str3cmp_macro(ptr, c0, c1, c2) *(ptr+0) == c0 && *(ptr+1) == c1 && *(ptr+2) == c2
static inline bool str3cmp(const cha... | 35.786693 | 111 | 0.679554 | harsath |
443ea8c9d3e35b28445d9d74dc8dadfab0307a93 | 15,371 | cpp | C++ | tests/src/functions-test.cpp | HanatakeYurii/imgbrd-grabber | b042288c4235b60fe82686a68fde6447139ab33c | [
"Apache-2.0"
] | 2 | 2018-01-06T07:30:18.000Z | 2018-03-17T07:16:04.000Z | tests/src/functions-test.cpp | HanatakeYurii/imgbrd-grabber | b042288c4235b60fe82686a68fde6447139ab33c | [
"Apache-2.0"
] | null | null | null | tests/src/functions-test.cpp | HanatakeYurii/imgbrd-grabber | b042288c4235b60fe82686a68fde6447139ab33c | [
"Apache-2.0"
] | null | null | null | #include <QFileInfo>
#include <QFont>
#include <QSettings>
#include <QTemporaryFile>
#include "functions.h"
#include "models/profile.h"
#include "catch.h"
#include "source-helpers.h"
QDateTime fileCreationDate(const QString &path)
{
QFileInfo fi(path);
#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0))
return fi.creat... | 39.211735 | 412 | 0.673151 | HanatakeYurii |
444377df00922df12d4b3ed25b4cfe9071cff5c3 | 1,559 | cpp | C++ | 3rdparty/libprocess/3rdparty/stout/tests/numify_tests.cpp | popsuper1982/mesos-0.28.1 | 5f5c2e05a217677677cabc53ee495a6d4f00613c | [
"Apache-2.0"
] | 5 | 2016-04-09T00:39:28.000Z | 2019-10-08T18:10:24.000Z | tests/numify_tests.cpp | euskadi31/stout-cpp | 85850386348c9996a9700421993c71b13bf0c24c | [
"Apache-2.0"
] | null | null | null | tests/numify_tests.cpp | euskadi31/stout-cpp | 85850386348c9996a9700421993c71b13bf0c24c | [
"Apache-2.0"
] | 17 | 2017-01-12T10:00:18.000Z | 2019-04-18T21:05:59.000Z | // 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, software
// distributed und... | 30.568627 | 76 | 0.717126 | popsuper1982 |
44472fa9a67dd85d27b98590de2a304a85fb8b60 | 920 | cpp | C++ | CsTowerDefense/Source/CsTd/Managers/Creep/UnitTest/Game/CsTdGameMode_UnitTest_Manager_Creep.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | 2 | 2019-03-17T10:43:53.000Z | 2021-04-20T21:24:19.000Z | CsTowerDefense/Source/CsTd/Managers/Creep/UnitTest/Game/CsTdGameMode_UnitTest_Manager_Creep.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | CsTowerDefense/Source/CsTd/Managers/Creep/UnitTest/Game/CsTdGameMode_UnitTest_Manager_Creep.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | // Copyright 2017-2019 Closed Sum Games, LLC. All Rights Reserved.
#include "Managers/Creep/UnitTest/Game/CsTdGameMode_UnitTest_Manager_Creep.h"
#include "CsTd.h"
// Game
#include "Managers/Creep/UnitTest/Game/CsTdGameState_UnitTest_Manager_Creep.h"
ACsTdGameMode_UnitTest_Manager_Creep::ACsTdGameMode_UnitTest_Manager... | 46 | 119 | 0.81413 | closedsum |
4448c99bfc873dc3e29cebfd13cbf1d761abca14 | 7,473 | cpp | C++ | src/ListaContigua/ListaContigua.cpp | Derik-T/CPP | adf8ecb11af5bf96d04182b83ae3fa58ca64bc72 | [
"MIT"
] | 1 | 2021-08-28T23:51:52.000Z | 2021-08-28T23:51:52.000Z | src/ListaContigua/ListaContigua.cpp | Derik-T/CPP | adf8ecb11af5bf96d04182b83ae3fa58ca64bc72 | [
"MIT"
] | null | null | null | src/ListaContigua/ListaContigua.cpp | Derik-T/CPP | adf8ecb11af5bf96d04182b83ae3fa58ca64bc72 | [
"MIT"
] | null | null | null | /**
* Implementação dos métodos referentes à classe ListaContigua (ListaContigua.h).
* @Author: Derik
* @Data: Oct, 2019
*/
//================================= Includes globais =======================================
#include "ListaContigua.h"
#include <iostream>
//================================= Métodos auxil... | 46.12963 | 146 | 0.475713 | Derik-T |
4448ddc54796516606dd55f824f4985a7608dbca | 2,500 | hpp | C++ | Engine/Code/Engine/Renderer/ShaderProgram.hpp | tonyatpeking/SmuSpecialTopic | b61d44e4efacb3c504847deb4d00234601bca49c | [
"MIT"
] | null | null | null | Engine/Code/Engine/Renderer/ShaderProgram.hpp | tonyatpeking/SmuSpecialTopic | b61d44e4efacb3c504847deb4d00234601bca49c | [
"MIT"
] | null | null | null | Engine/Code/Engine/Renderer/ShaderProgram.hpp | tonyatpeking/SmuSpecialTopic | b61d44e4efacb3c504847deb4d00234601bca49c | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <map>
#include "Engine/Core/EngineCommon.hpp"
#include "Engine/Math/IRange.hpp"
class ShaderSourceBuilder;
class ShaderProgram
{
public:
static ShaderProgram* GetDefaultProgram();
static ShaderProgram* GetInvalidProgram();
static ShaderProgram* GetDebugProgram();
... | 32.894737 | 88 | 0.6868 | tonyatpeking |
444d3e834b560426da5a15f94636c8ff9340a834 | 51,879 | cpp | C++ | Source/AllProjects/CQCServer/CQCServer_SrvAdminServerBase.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/CQCServer/CQCServer_SrvAdminServerBase.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/CQCServer/CQCServer_SrvAdminServerBase.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | // ----------------------------------------------------------------------------
// FILE: CQCServer_SrvAdminServerBase.cpp
// DATE: Fri, Feb 12 21:14:16 2021 -0500
// ID: 1657103AEC7B0F90-32ED41A37653A3E1
//
// This file was generated by the Charmed Quark CIDIDL compiler. Do not make
// changes by hand, because t... | 31.36578 | 102 | 0.566819 | MarkStega |
4455c0fdc86fc6dc91f1ce6ceb8993567a3c71c7 | 4,285 | cpp | C++ | src/fields/SoSFMatrix.cpp | reavertm/coin | 58a1b4c3e968f96d3a2091fa5cb625f360ce6811 | [
"BSD-3-Clause"
] | 2 | 2017-08-11T10:48:07.000Z | 2018-01-13T15:41:31.000Z | src/fields/SoSFMatrix.cpp | jfb3615/coin | 071069d61fb06e823cad99a65e258221ae50bac9 | [
"BSD-3-Clause"
] | null | null | null | src/fields/SoSFMatrix.cpp | jfb3615/coin | 071069d61fb06e823cad99a65e258221ae50bac9 | [
"BSD-3-Clause"
] | 1 | 2020-02-09T02:31:29.000Z | 2020-02-09T02:31:29.000Z | /**************************************************************************\
* Copyright (c) Kongsberg Oil & Gas Technologies AS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* Red... | 33.476563 | 76 | 0.62007 | reavertm |
445856e832da2963b51449505e1609b7c52a9cc2 | 20,067 | hxx | C++ | OCC/opencascade-7.2.0/x64/debug/inc/AIS_LocalContext.hxx | jiaguobing/FastCAE | 2348ab87e83fe5c704e4c998cf391229c25ac5d5 | [
"BSD-3-Clause"
] | 2 | 2020-02-21T01:04:35.000Z | 2020-02-21T03:35:37.000Z | OCC/opencascade-7.2.0/x64/debug/inc/AIS_LocalContext.hxx | Sunqia/FastCAE | cbc023fe07b6e306ceefae8b8bd7c12bc1562acb | [
"BSD-3-Clause"
] | 1 | 2020-03-06T04:49:42.000Z | 2020-03-06T04:49:42.000Z | OCC/opencascade-7.2.0/x64/debug/inc/AIS_LocalContext.hxx | Sunqia/FastCAE | cbc023fe07b6e306ceefae8b8bd7c12bc1562acb | [
"BSD-3-Clause"
] | 1 | 2021-11-21T13:03:26.000Z | 2021-11-21T13:03:26.000Z | // Created on: 1996-09-04
// Created by: Robert COUBLANC
// Copyright (c) 1996-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GN... | 45.503401 | 334 | 0.788907 | jiaguobing |
4459512cbf18a63f2c7e8d933abd1adce442c163 | 326 | cpp | C++ | src/api/util/errors.cpp | DavidPerezSanchez/GOS | 8621f319f2fa174af89771db861c93fbb6a2a684 | [
"Apache-2.0"
] | 5 | 2020-12-29T07:56:09.000Z | 2022-01-04T03:11:34.000Z | src/api/util/errors.cpp | DavidPerezSanchez/GOS | 8621f319f2fa174af89771db861c93fbb6a2a684 | [
"Apache-2.0"
] | 4 | 2020-04-15T06:41:56.000Z | 2020-04-21T07:34:13.000Z | src/api/util/errors.cpp | roger21gm/CSP2SAT | 8621f319f2fa174af89771db861c93fbb6a2a684 | [
"Apache-2.0"
] | 2 | 2021-01-07T18:15:26.000Z | 2022-03-07T11:54:08.000Z | #include <iostream>
#include <string>
#include "errors.h"
namespace smtapierrors
{
void fatalError(std::string message, int errorCode){
std::cerr << "ERROR: " << message << std::endl;
exit(errorCode);
}
void warning(std::string message){
std::cerr << "WARNING: " << message << std::endl;
}
}... | 14.173913 | 53 | 0.610429 | DavidPerezSanchez |
445a85177357676b76d4aa764fe6d2ebad7eb822 | 3,714 | cpp | C++ | src/trlwe.cpp | watagashi0619/TFHE | 392c06812edd3ccfa56099fbacb8428fbc1fc277 | [
"MIT"
] | 3 | 2021-08-11T05:36:05.000Z | 2021-12-29T06:26:30.000Z | src/trlwe.cpp | watagashi0619/TFHE | 392c06812edd3ccfa56099fbacb8428fbc1fc277 | [
"MIT"
] | 1 | 2021-09-13T12:53:43.000Z | 2021-09-19T04:12:41.000Z | src/trlwe.cpp | watagashi0619/TFHE | 392c06812edd3ccfa56099fbacb8428fbc1fc277 | [
"MIT"
] | null | null | null | #include "trlwe.hpp"
#include <array>
#include "key.hpp"
#include "params.hpp"
#include "tlwe.hpp"
#include "util.hpp"
namespace TFHE {
// encrypt_polynomial_torus: message in T_N[X] -> trlwe
trlwe trlwe::encrypt_polynomial_torus(secret_key& skey, std::array<torus, params::N> m) {
constexpr size_t N = params::N... | 27.716418 | 97 | 0.528002 | watagashi0619 |
4461915523fb6934f82c72ec1de356376f02316a | 11,754 | hpp | C++ | include/hydro/vm/glue.hpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/vm/glue.hpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/vm/glue.hpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 31.095238 | 149 | 0.615961 | hydraate |
4463d3e99de7dbd152f6feb4c9a12fe560d50f36 | 3,569 | cpp | C++ | src/main_reedsolomon.cpp | Slamy/YetAnother2dCodeDecoder | 1a4dd091dad3df6ebfbd8ec9289f76096e957933 | [
"MIT"
] | null | null | null | src/main_reedsolomon.cpp | Slamy/YetAnother2dCodeDecoder | 1a4dd091dad3df6ebfbd8ec9289f76096e957933 | [
"MIT"
] | null | null | null | src/main_reedsolomon.cpp | Slamy/YetAnother2dCodeDecoder | 1a4dd091dad3df6ebfbd8ec9289f76096e957933 | [
"MIT"
] | null | null | null |
#include "ExtFiniteField256.h"
#include "FiniteField.h"
#include "Matrix.h"
#include "Polynom.h"
#include "ReedSolomon.h"
#include <algorithm>
#include <exception>
#include <iostream>
// static constexpr int prime = 19;
static constexpr int prime = 53;
template <class T> std::vector<T> generateData(int i)
{
std::ve... | 18.116751 | 77 | 0.586159 | Slamy |
4463dfe6ba12674636a39a8beb5b3772c11fd426 | 1,458 | cpp | C++ | JammaLib/src/gui/GuiLabel.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | JammaLib/src/gui/GuiLabel.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | JammaLib/src/gui/GuiLabel.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | #include "GuiLabel.h"
#include "glm/glm.hpp"
#include "glm/ext.hpp"
using namespace base;
using namespace gui;
using namespace graphics;
using namespace resources;
GuiLabel::GuiLabel(GuiLabelParams guiParams) :
GuiElement(guiParams),
_str(guiParams.String),
_vertexArray(0),
_texture(std::weak_ptr<TextureResource>... | 21.130435 | 71 | 0.713992 | malisimo |
44649a86c2d1fc560bc5220421a6547bfe38e205 | 1,922 | cpp | C++ | examples/frames/frames.cpp | joshua-henderson/egt | 1b7fbdc4f440fd31ea31c5e65ead7ab66f54a40d | [
"Apache-2.0"
] | null | null | null | examples/frames/frames.cpp | joshua-henderson/egt | 1b7fbdc4f440fd31ea31c5e65ead7ab66f54a40d | [
"Apache-2.0"
] | null | null | null | examples/frames/frames.cpp | joshua-henderson/egt | 1b7fbdc4f440fd31ea31c5e65ead7ab66f54a40d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 Microchip Technology Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <egt/detail/string.h>
#include <egt/ui>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
using WindowType = egt::Window;
static std::shared_ptr<WindowType> create_wi... | 25.972973 | 79 | 0.584287 | joshua-henderson |
446962305316b5b8ad1795e518215ca696dea4e1 | 591 | cc | C++ | src/LaneDetection/3rdParty/src/Quad_CostFunction.cc | LHospitalLKY/SimCar | 725c515f287e8f4bb2db44953d2ebbde4a76c3f4 | [
"MIT"
] | 3 | 2019-12-16T06:11:07.000Z | 2021-11-24T07:49:33.000Z | src/LaneDetection/3rdParty/src/Quad_CostFunction.cc | LHospitalLKY/SimCar | 725c515f287e8f4bb2db44953d2ebbde4a76c3f4 | [
"MIT"
] | null | null | null | src/LaneDetection/3rdParty/src/Quad_CostFunction.cc | LHospitalLKY/SimCar | 725c515f287e8f4bb2db44953d2ebbde4a76c3f4 | [
"MIT"
] | null | null | null | //
// Created by LHospital
//
#include "../include/Quad_CostFunction.h"
// 本问题中求和号中的cost function不同
void Quad_CostFunction::computeCost() {
// constants的顺序为y, x
(residuals_)(0) = (constants_)(0) - ((parameters_)(0)*pow((constants_)(1), 2) + (parameters_)(1)*(constants_)(1) + (parameters_)(2));
// LOG(INF... | 25.695652 | 138 | 0.620981 | LHospitalLKY |
447315d015d73696520f8b137c2f1c036e64b7eb | 31,973 | cpp | C++ | Software/STM32CubeDemo/MenuDemo/TouchGFX/generated/images/src/image_logo-design.cpp | MitkoDyakov/Roendi | 2f6703d63922071fd0dfc8e4d2c9bba95ea04f08 | [
"MIT"
] | 15 | 2021-09-21T13:55:54.000Z | 2022-03-08T14:05:39.000Z | Software/STM32CubeDemo/MenuDemo/TouchGFX/generated/images/src/image_logo-design.cpp | DynamixYANG/Roendi | 2f6703d63922071fd0dfc8e4d2c9bba95ea04f08 | [
"MIT"
] | 7 | 2021-09-22T07:56:52.000Z | 2022-03-21T17:39:34.000Z | Software/STM32CubeDemo/MenuDemo/TouchGFX/generated/images/src/image_logo-design.cpp | DynamixYANG/Roendi | 2f6703d63922071fd0dfc8e4d2c9bba95ea04f08 | [
"MIT"
] | 1 | 2022-03-07T07:51:50.000Z | 2022-03-07T07:51:50.000Z | // 4.18.0 0x4b15c531 D2 R0 FRGB565 U565 N0 SExtFlashSection
// Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_PRAGMA("ExtFlashSection")
KEEP extern const unsigned char image_logo_design[] LOCATION_ATTRIBUTE("ExtFlashSection") = { // 50x50 RGB565 pixels.
0x8c, 0xf3, 0... | 75.053991 | 117 | 0.632972 | MitkoDyakov |
44732521dc68f27385fe30b194bc32da06291e63 | 957 | hh | C++ | RecoDataProducts/inc/RecoCount.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2021-06-25T00:00:12.000Z | 2021-06-25T00:00:12.000Z | RecoDataProducts/inc/RecoCount.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2019-11-22T14:45:51.000Z | 2019-11-22T14:50:03.000Z | RecoDataProducts/inc/RecoCount.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 2 | 2019-10-14T17:46:58.000Z | 2020-03-30T21:05:15.000Z | //
// Simple object to keep track of original object counts before reconstruction compression
// Original author: Dave Brown (LBNL) Feb 2019
//
#ifndef RecoDataProducts_RecoCount_HH
#define RecoDataProducts_RecoCount_HH
#include "DataProducts/inc/AHist.hh"
namespace mu2e {
struct RecoCount {
uint16_t _nstrawdig... | 39.875 | 92 | 0.731452 | bonventre |
44745a9b897004349f950120b376f945fee7a92c | 3,075 | hpp | C++ | src/base/io.hpp | Tearnote/Minote | 35f63fecc01cf9199db1098256277465e1d41d1e | [
"MIT"
] | 8 | 2021-01-18T12:06:21.000Z | 2022-02-13T17:12:56.000Z | src/base/io.hpp | Tearnote/Minote | 35f63fecc01cf9199db1098256277465e1d41d1e | [
"MIT"
] | null | null | null | src/base/io.hpp | Tearnote/Minote | 35f63fecc01cf9199db1098256277465e1d41d1e | [
"MIT"
] | null | null | null | // Minote - base/io.hpp
// Import of file, filesystem and formatting types
#pragma once
#include <system_error>
#include <filesystem>
#include <cstdio>
#include <fmt/format.h>
#include "base/string.hpp"
namespace minote {
// *** File IO ***
using std::filesystem::path;
// An exception thrown on file IO error
usin... | 28.211009 | 95 | 0.709919 | Tearnote |
4476f12256f84ff4651c57a42b8a2c412b180fad | 1,302 | cpp | C++ | pc/univio_test/src/main.cpp | nvitya/univio | 85cff18f651103073262da6d44c795557e4f5e5d | [
"MIT"
] | null | null | null | pc/univio_test/src/main.cpp | nvitya/univio | 85cff18f651103073262da6d44c795557e4f5e5d | [
"MIT"
] | null | null | null | pc/univio_test/src/main.cpp | nvitya/univio | 85cff18f651103073262da6d44c795557e4f5e5d | [
"MIT"
] | null | null | null | /*
* main.cpp
*
* Created on: Nov 21, 2021
* Author: vitya
*/
using namespace std;
#include "stdio.h"
#include "stdlib.h"
#include <string>
#include "univio_conn.h"
TUnivioConn conn;
uint8_t databuf[2048];
void flushstdout()
{
fflush(stdout);
}
int main(int argc, char * const * argv)
{
printf("Univ... | 18.083333 | 72 | 0.634409 | nvitya |
447a8396e755ab8ba0e9d15675bdd585b0f84e19 | 1,160 | cpp | C++ | GatesEngine/Source/Input/InputDevice.cpp | DxBillGates/FrogAdventure2 | f0855a59f90b8095653ecb5406f17729f83f22a7 | [
"MIT"
] | null | null | null | GatesEngine/Source/Input/InputDevice.cpp | DxBillGates/FrogAdventure2 | f0855a59f90b8095653ecb5406f17729f83f22a7 | [
"MIT"
] | null | null | null | GatesEngine/Source/Input/InputDevice.cpp | DxBillGates/FrogAdventure2 | f0855a59f90b8095653ecb5406f17729f83f22a7 | [
"MIT"
] | null | null | null | #include "..\..\Header\Input\InputDevice.h"
#pragma comment(lib,"dinput8.lib")
#pragma comment(lib,"dxguid.lib")
#pragma comment(lib,"Xinput.lib")
GE::InputDevice* GE::InputDevice::GetInstance()
{
static InputDevice instance;
return &instance;
}
void GE::InputDevice::Create(HWND hwnd, HINSTANCE hInstance)
{
this-... | 17.846154 | 106 | 0.706897 | DxBillGates |
447a9f542ce3db4edf4c0bab7800f803d15baf23 | 7,249 | hpp | C++ | test/functional/kernel/warp-thread/tests/warp-thread-ReduceMask-impl.hpp | bmhan12/RAJA | 87a5cac67214e5e96c941bd652b1c0981e9f2123 | [
"BSD-3-Clause"
] | null | null | null | test/functional/kernel/warp-thread/tests/warp-thread-ReduceMask-impl.hpp | bmhan12/RAJA | 87a5cac67214e5e96c941bd652b1c0981e9f2123 | [
"BSD-3-Clause"
] | null | null | null | test/functional/kernel/warp-thread/tests/warp-thread-ReduceMask-impl.hpp | bmhan12/RAJA | 87a5cac67214e5e96c941bd652b1c0981e9f2123 | [
"BSD-3-Clause"
] | null | null | null | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2016-22, Lawrence Livermore National Security, LLC
// and RAJA project contributors. See the RAJA/LICENSE file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | 38.973118 | 157 | 0.610567 | bmhan12 |
447e8cce98371f00a80fec5d18a6b8d9d7bd77fe | 751 | hpp | C++ | src/lwirth.hpp | LU15W1R7H/lwirth-lib | f51cfb56b801790c200cea64d226730449d68f53 | [
"MIT"
] | 2 | 2018-04-04T17:26:32.000Z | 2020-06-26T09:22:49.000Z | src/lwirth.hpp | LU15W1R7H/lwirth-lib | f51cfb56b801790c200cea64d226730449d68f53 | [
"MIT"
] | 1 | 2018-08-27T14:35:45.000Z | 2018-08-27T19:00:12.000Z | src/lwirth.hpp | LU15W1R7H/lwirth-lib | f51cfb56b801790c200cea64d226730449d68f53 | [
"MIT"
] | null | null | null | #pragma once
#include "Standard.hpp"
#include "experimental/experimental.hpp"
#include "memory/List.hpp"
#include "memory/StackAllocator.hpp"
#include "memory/PoolAllocator.hpp"
#include "general/Application.hpp"
#include "general/Exceptions.hpp"
#include "general/FileManager.hpp"
#include "general/Logger.hpp"
#includ... | 30.04 | 45 | 0.782956 | LU15W1R7H |
4480e936725d7c8855105259196ce02fbb7a1b34 | 1,892 | cpp | C++ | c++/10067.cpp | AkashChandrakar/UVA | b90535c998ecdffe0f30e56fec89411f456b16a5 | [
"Apache-2.0"
] | 2 | 2016-10-23T14:35:13.000Z | 2018-09-16T05:38:47.000Z | c++/10067.cpp | AkashChandrakar/UVA | b90535c998ecdffe0f30e56fec89411f456b16a5 | [
"Apache-2.0"
] | null | null | null | c++/10067.cpp | AkashChandrakar/UVA | b90535c998ecdffe0f30e56fec89411f456b16a5 | [
"Apache-2.0"
] | null | null | null | /*
* BFS
* Sample Input
2
8 0 5 6
6 5 0 8
5
8 0 5 7
8 0 4 7
5 5 0 8
7 5 0 8
6 4 0 8
0 0 0 0
5 3 1 7
8
0 0 0 1
0 0 0 9
0 0 1 0
0 0 9 0
0 1 0 0
0 9 0 0
1 0 0 0
9 0 0 0
Sample Output
14
-1
*/
#include <bits/stdc++.h>
using namespace std;
const int sz = 10001;
const int INF = INT_MAX / 2;
typedef ... | 19.111111 | 74 | 0.474101 | AkashChandrakar |
448448a9a2c32170c1ba5930e56b043af05aa14c | 233 | cpp | C++ | skiplist_test.cpp | logikoisto/kit | d3c4598c598bca69f0530f85e2f08584923f2a0f | [
"MIT"
] | 1 | 2020-12-17T09:20:29.000Z | 2020-12-17T09:20:29.000Z | skiplist_test.cpp | logikoisto/kit | d3c4598c598bca69f0530f85e2f08584923f2a0f | [
"MIT"
] | null | null | null | skiplist_test.cpp | logikoisto/kit | d3c4598c598bca69f0530f85e2f08584923f2a0f | [
"MIT"
] | null | null | null | #include "skiplist.h"
#include <iostream>
int main(int argc,char *argv[]){
auto sl = KIT_NAMESPACE::SkipList();
sl.set("b", 1);
sl.set("a",2);
sl.set("d", 1);
std::cout << sl.get("a") << std::endl;
return 0;
} | 23.3 | 42 | 0.549356 | logikoisto |
44871347c2d0ccd027808ac4787eeab6107874e3 | 937 | hpp | C++ | include/CASM/device_manager.hpp | Liastre/CASM | 4f978664ac4812e8cfcd76025ac2429a46543582 | [
"MIT"
] | 1 | 2021-08-06T07:55:21.000Z | 2021-08-06T07:55:21.000Z | include/CASM/device_manager.hpp | Liastre/CASM | 4f978664ac4812e8cfcd76025ac2429a46543582 | [
"MIT"
] | 1 | 2021-08-05T09:33:13.000Z | 2021-08-05T09:33:13.000Z | include/CASM/device_manager.hpp | Liastre/CASM | 4f978664ac4812e8cfcd76025ac2429a46543582 | [
"MIT"
] | null | null | null | /**
* @brief DeviceManager for recieving and storing
* collection of system devices
* @author Liastre
* @copyright MIT
*/
#pragma once
#include "device_api/enumerator_interface.hpp"
namespace CASM {
class DeviceManager final {
public:
template <typename T, std::enable_if_t<!std::is_same_v<DeviceManager, ty... | 26.027778 | 116 | 0.705443 | Liastre |
4487834ca6212e228357737ee30d27d32d530e9f | 654 | hpp | C++ | compiler/core.hpp | robbie-vanderzee/p-computation | 0e849c0857226c0233a80d36bdaacedf60185abf | [
"MIT"
] | null | null | null | compiler/core.hpp | robbie-vanderzee/p-computation | 0e849c0857226c0233a80d36bdaacedf60185abf | [
"MIT"
] | 5 | 2020-10-18T03:52:04.000Z | 2021-03-11T15:56:13.000Z | compiler/core.hpp | robbie-vanderzee/p-computation | 0e849c0857226c0233a80d36bdaacedf60185abf | [
"MIT"
] | null | null | null | #pragma once
#include <functional>
#include <string>
namespace P {
namespace Titles {
const std::string language = "P";
} /* Titles */
namespace Numerics {
constexpr unsigned int Bit(unsigned int x) {
return 1 << x;
}
} /* Numerics */
namespace Structure {
... | 25.153846 | 65 | 0.506116 | robbie-vanderzee |
448e4ca044eef12ef212d84d2886ad98917d7969 | 5,263 | hpp | C++ | global/exceptions.hpp | thorfdbg/ssim | 7d9d1b3c2b8e4338d8cec34088d948025c23e559 | [
"Zlib"
] | 9 | 2017-04-13T19:18:03.000Z | 2021-01-21T15:29:48.000Z | global/exceptions.hpp | thorfdbg/ssim | 7d9d1b3c2b8e4338d8cec34088d948025c23e559 | [
"Zlib"
] | 1 | 2019-11-25T12:58:01.000Z | 2019-12-05T18:15:55.000Z | global/exceptions.hpp | thorfdbg/ssim | 7d9d1b3c2b8e4338d8cec34088d948025c23e559 | [
"Zlib"
] | 1 | 2017-12-31T06:57:00.000Z | 2017-12-31T06:57:00.000Z | /************************************************************************************
** Copyright (C) 2005-2007 TU Berlin, Felix Oum, Thomas Richter **
** **
** This software is provided 'as-is', without any express or... | 38.985185 | 113 | 0.563557 | thorfdbg |
448e661aabf1f235d9ed612645e53668a7daff73 | 6,006 | cpp | C++ | src/FormExt.cpp | ahzaab/iEquipUtil | f9f026287c522395b34141b4a2e98f1d1b8fbb64 | [
"MIT"
] | 1 | 2021-01-22T20:40:25.000Z | 2021-01-22T20:40:25.000Z | src/FormExt.cpp | ahzaab/iEquipUtil | f9f026287c522395b34141b4a2e98f1d1b8fbb64 | [
"MIT"
] | null | null | null | src/FormExt.cpp | ahzaab/iEquipUtil | f9f026287c522395b34141b4a2e98f1d1b8fbb64 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "FormExt.h"
#include "SKSE/API.h"
#include "Registration.h"
#include "Settings.h"
namespace FormExt
{
void RegisterForBoundWeaponEquippedEvent(VM* a_vm, StackID a_stackID, RE::StaticFunctionTag*, const RE::TESForm* a_thisForm)
{
if (!a_thisForm) {
a_vm->TraceStack("a_thisForm is a N... | 31.28125 | 133 | 0.739261 | ahzaab |
448f288f2477af592d96bee2ccaa7ad3f00af22f | 8,251 | hh | C++ | c++/include/orc/Common.hh | ZorTsou/orc | b02fd06c4f6efcf69e4d08401dc98700eb61c33d | [
"Apache-2.0"
] | 1 | 2020-06-09T11:20:16.000Z | 2020-06-09T11:20:16.000Z | c++/include/orc/Common.hh | ZorTsou/orc | b02fd06c4f6efcf69e4d08401dc98700eb61c33d | [
"Apache-2.0"
] | null | null | null | c++/include/orc/Common.hh | ZorTsou/orc | b02fd06c4f6efcf69e4d08401dc98700eb61c33d | [
"Apache-2.0"
] | 1 | 2020-12-27T11:06:09.000Z | 2020-12-27T11:06:09.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... | 27.141447 | 77 | 0.626833 | ZorTsou |
448f71f21667c70272540e34a367059eb54ce803 | 1,760 | hpp | C++ | include/RED4ext/Types/generated/world/TrafficLanePersistent.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/world/TrafficLanePersistent.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/world/TrafficLanePersistent.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/DynArray.hpp>
#include <RED4ext/Types/generated/Vector2.hpp>
#include <RED4ext/Types/generated/Vector3.hpp>
#include <RED4ext/Types/generated/world/R... | 34.509804 | 73 | 0.742045 | Cyberpunk-Extended-Development-Team |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.