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 108 | 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 67k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
160a7f436f48196e0f52be2b039c0621543903b3 | 16,168 | cpp | C++ | source/process/log-server/StorageManager.cpp | izenecloud/sf1r-logserver | d46fb3484792dac5c2e722878232ed42ccea1050 | [
"BSD-3-Clause"
] | 1 | 2015-05-02T11:12:53.000Z | 2015-05-02T11:12:53.000Z | source/process/log-server/StorageManager.cpp | izenecloud/sf1r-logserver | d46fb3484792dac5c2e722878232ed42ccea1050 | [
"BSD-3-Clause"
] | null | null | null | source/process/log-server/StorageManager.cpp | izenecloud/sf1r-logserver | d46fb3484792dac5c2e722878232ed42ccea1050 | [
"BSD-3-Clause"
] | 2 | 2015-12-07T08:46:12.000Z | 2020-08-18T00:09:11.000Z | #include "StorageManager.h"
#include <dirent.h>
namespace sf1r{ namespace logserver{
/*
* @class DVStorageManager
*/
bool DVStorageManager::insert(const std::string& s, const std::string& c,
const std::string& key,
const std::map<std::string, std::string>& value)
{
... | 30.737643 | 116 | 0.47025 | izenecloud |
160b52fdee3ec7528c05fcc28699e68bdcb9b449 | 1,569 | cpp | C++ | src/examples/echoer.cpp | Bormachine-Learning/embedded | 165daf847fe9c2a7bcc17c7aee4c5e28b3cf4055 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/examples/echoer.cpp | Bormachine-Learning/embedded | 165daf847fe9c2a7bcc17c7aee4c5e28b3cf4055 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/examples/echoer.cpp | Bormachine-Learning/embedded | 165daf847fe9c2a7bcc17c7aee4c5e28b3cf4055 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /**
Copyright 2019 Bosch Engineering Center Cluj and BFMC organizers
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 l... | 32.020408 | 88 | 0.615041 | Bormachine-Learning |
160c1fe370c324b569fb164b83aa96cf6381c560 | 1,743 | hpp | C++ | src/models/BorderEntity.hpp | sergiofenoll/Gradius | 5d904f87e6791c5c8ac8f4738f525c7ef3e04b7c | [
"CC-BY-4.0"
] | null | null | null | src/models/BorderEntity.hpp | sergiofenoll/Gradius | 5d904f87e6791c5c8ac8f4738f525c7ef3e04b7c | [
"CC-BY-4.0"
] | null | null | null | src/models/BorderEntity.hpp | sergiofenoll/Gradius | 5d904f87e6791c5c8ac8f4738f525c7ef3e04b7c | [
"CC-BY-4.0"
] | null | null | null | #ifndef BORDER_ENTITY_HPP
#define BORDER_ENTITY_HPP
#include "Entity.hpp"
#include "../utils/Stopwatch.hpp"
namespace sff {
namespace game {
/**
* @brief Entity that represents the deadly borders of the game window
*/
class BorderEntity : public Entity {
public:
using shared = std::shared_ptr<BorderE... | 27.666667 | 88 | 0.689616 | sergiofenoll |
160c7b5063344dae7e25c1d0e36f2d1e38b06655 | 3,041 | cpp | C++ | core/tests/core.container.graph.test.cpp | toeb/cpp.core | 84c782b1e0919dd598c3c19c8e5c71f27453ebf2 | [
"MIT"
] | 2 | 2016-10-25T19:42:49.000Z | 2017-03-25T22:26:03.000Z | core/tests/core.container.graph.test.cpp | toeb/cpp.core | 84c782b1e0919dd598c3c19c8e5c71f27453ebf2 | [
"MIT"
] | null | null | null | core/tests/core.container.graph.test.cpp | toeb/cpp.core | 84c782b1e0919dd598c3c19c8e5c71f27453ebf2 | [
"MIT"
] | null | null | null | #include <core.testing.h>
#include <core.graph.h>
NS_BEGIN(CORE_NAMESPACE)
namespace graph{
namespace test{
TEST(CreateNode, DataNode){
DataNode<int> uut(2);
CHECK(uut.data() == 2);
}
TEST(CreateNode2, DataNode){
DataNode<int> uut(2);
uut = 9;
CHECK(uut... | 22.864662 | 80 | 0.494574 | toeb |
160d8786f78a685ba58b45edd14aa082817aab8f | 3,371 | cxx | C++ | vtkm/cont/MultiBlock.cxx | cjy7117/VTK-m-FP16 | 3afaaaececf53f32db1afb8f069a5446271dfdf4 | [
"BSD-3-Clause"
] | null | null | null | vtkm/cont/MultiBlock.cxx | cjy7117/VTK-m-FP16 | 3afaaaececf53f32db1afb8f069a5446271dfdf4 | [
"BSD-3-Clause"
] | null | null | null | vtkm/cont/MultiBlock.cxx | cjy7117/VTK-m-FP16 | 3afaaaececf53f32db1afb8f069a5446271dfdf4 | [
"BSD-3-Clause"
] | 2 | 2020-07-06T06:32:00.000Z | 2020-08-24T14:08:15.000Z | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... | 23.409722 | 93 | 0.675467 | cjy7117 |
160e12a93e9d042992bda5c2c0e9ef6c4d98b75a | 29,992 | cpp | C++ | Test/StokesFMMWall2D/main.cpp | blackwer/PeriodicFMM | 343130eef6bbba5d7d4101bdec961858ea084b4a | [
"Apache-2.0"
] | null | null | null | Test/StokesFMMWall2D/main.cpp | blackwer/PeriodicFMM | 343130eef6bbba5d7d4101bdec961858ea084b4a | [
"Apache-2.0"
] | null | null | null | Test/StokesFMMWall2D/main.cpp | blackwer/PeriodicFMM | 343130eef6bbba5d7d4101bdec961858ea084b4a | [
"Apache-2.0"
] | null | null | null | /*
* main.cpp
*
* Created on: Oct 14, 2016
* Author: wyan
*/
#include <FMM/FMMWrapperWall2D.hpp>
#include "ChebNodal.h"
#include <chrono>
#include <iostream>
#include <random>
#include <vector>
#include <mpi.h>
#include <FMM/EigenDef.hpp>
#include <FMM/cmdparser.hpp>
#define EPS (1e-12) // make sure EP... | 38.060914 | 80 | 0.518172 | blackwer |
161032992d8d0127b400a01fc25f69e4152b3b5c | 2,204 | cpp | C++ | reto1.cpp | Ignacio-Moral-22/TC1031_Reto | 5a7fe2400e8235d0868bd33c80359f43dfc4b23f | [
"MIT"
] | null | null | null | reto1.cpp | Ignacio-Moral-22/TC1031_Reto | 5a7fe2400e8235d0868bd33c80359f43dfc4b23f | [
"MIT"
] | null | null | null | reto1.cpp | Ignacio-Moral-22/TC1031_Reto | 5a7fe2400e8235d0868bd33c80359f43dfc4b23f | [
"MIT"
] | null | null | null | #include "read_csv.hpp"
#include "clase_archivo.hpp"
#include "sorter.hpp"
#include <vector>
#include <iostream>
#include <string>
/*
Para esta actividad, se nos encargó de generar un programa que leyera una carga de archivos,
y que pudiera responder ciertas preguntas, además de que implementamos métodos de búsqueda ... | 34.4375 | 102 | 0.75 | Ignacio-Moral-22 |
161486f8214ca94b8dff8441dbc585fbf2dfc8b4 | 232 | hpp | C++ | include/tolua/LuaUtils.hpp | TerensTare/tnt | 916067a9bf697101afb1d0785112aa34014e8126 | [
"MIT"
] | 29 | 2020-04-22T01:31:30.000Z | 2022-02-03T12:21:29.000Z | include/tolua/LuaUtils.hpp | TerensTare/tnt | 916067a9bf697101afb1d0785112aa34014e8126 | [
"MIT"
] | 6 | 2020-04-17T10:31:56.000Z | 2021-09-10T12:07:22.000Z | include/tolua/LuaUtils.hpp | TerensTare/tnt | 916067a9bf697101afb1d0785112aa34014e8126 | [
"MIT"
] | 7 | 2020-03-13T01:50:41.000Z | 2022-03-06T23:44:29.000Z | #ifndef TNT_EXPORT_UTILS_TO_LUA
#define TNT_EXPORT_UTILS_TO_LUA
#include <sol/forward.hpp>
#include "core/Config.hpp"
namespace tnt::lua
{
TNT_API void loadSparseSet(sol::state_view lua_);
}
#endif // !TNT_EXPORT_UTILS_TO_LUA | 19.333333 | 53 | 0.784483 | TerensTare |
1617900d52330f5f0a7a807eac7b535b6890d280 | 1,921 | cpp | C++ | AfxHookGoldSrc/hooks/hw/Mod_LeafPvs.cpp | hobokenn/advancedfx | 4c695f94b9b1bbf1e326ebaf5434467ba087a97a | [
"MIT"
] | 339 | 2018-01-09T13:12:38.000Z | 2022-03-22T21:25:59.000Z | AfxHookGoldSrc/hooks/hw/Mod_LeafPvs.cpp | hobokenn/advancedfx | 4c695f94b9b1bbf1e326ebaf5434467ba087a97a | [
"MIT"
] | 474 | 2018-01-01T18:58:41.000Z | 2022-03-27T11:09:44.000Z | AfxHookGoldSrc/hooks/hw/Mod_LeafPvs.cpp | hobokenn/advancedfx | 4c695f94b9b1bbf1e326ebaf5434467ba087a97a | [
"MIT"
] | 77 | 2018-01-24T11:47:04.000Z | 2022-03-30T12:25:59.000Z | #include "stdafx.h"
#include "Mod_LeafPvs.h"
#include <hl_addresses.h>
#include <hlsdk.h>
#include <Windows.h>
#include <deps/release/Detours/src/detours.h>
//
// Mod_LeafPVS WH related stuff:
//
// Hints:
// 01d51d90 R_RenderView (found by searching for "%3ifps %3i ms %4i wpoly %4i epoly\n")
... | 24.0125 | 98 | 0.698594 | hobokenn |
161a69f4fd41e18b1f64f12d069402e46464e50b | 24,276 | cxx | C++ | src/EnergyCorrections/CalEnergyClassificationTool.cxx | fermi-lat/CalRecon | 69e123b523770baa1fc9e8f3b78e211b1064b0c0 | [
"BSD-3-Clause"
] | null | null | null | src/EnergyCorrections/CalEnergyClassificationTool.cxx | fermi-lat/CalRecon | 69e123b523770baa1fc9e8f3b78e211b1064b0c0 | [
"BSD-3-Clause"
] | null | null | null | src/EnergyCorrections/CalEnergyClassificationTool.cxx | fermi-lat/CalRecon | 69e123b523770baa1fc9e8f3b78e211b1064b0c0 | [
"BSD-3-Clause"
] | null | null | null | /**
* @class CalEnergyClassificationTool
*
* @brief Implements a Gaudi Tool for selecting the best energy reconstruction method
* from the choices available. This is driven off of a particular Tree/CalCluster
* association.
*
* @author The Tracking Software Group
*
* $Header: /nfs/slac/g/glast/... | 43.661871 | 161 | 0.579956 | fermi-lat |
161b30eb1b1f81681132cd7b50448d0f313d0b63 | 50,559 | cpp | C++ | src/C++/Mozilla/old_snapshots/manager/ssl/src/nsNSSCertificate.cpp | GaloisInc/hacrypto | 5c99d7ac73360e9b05452ac9380c1c7dc6784849 | [
"BSD-3-Clause"
] | 34 | 2015-02-04T18:03:14.000Z | 2020-11-10T06:45:28.000Z | src/C++/Mozilla/old_snapshots/manager/ssl/src/nsNSSCertificate.cpp | GaloisInc/hacrypto | 5c99d7ac73360e9b05452ac9380c1c7dc6784849 | [
"BSD-3-Clause"
] | 5 | 2015-06-30T21:17:00.000Z | 2016-06-14T22:31:51.000Z | src/C++/Mozilla/old_snapshots/manager/ssl/src/nsNSSCertificate.cpp | GaloisInc/hacrypto | 5c99d7ac73360e9b05452ac9380c1c7dc6784849 | [
"BSD-3-Clause"
] | 15 | 2015-10-29T14:21:58.000Z | 2022-01-19T07:33:14.000Z | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsNSSCertificate.h"
#in... | 26.61 | 86 | 0.69139 | GaloisInc |
161c4ea59290d08089b4d66b1a9b7b0251facc6f | 1,339 | cpp | C++ | t2s/tests/correctness/isolation/isolate-consumer-2.cpp | vmiheer/t2sp | c9401668f85589e3d7263a4c7e024dca698adb8d | [
"BSD-2-Clause-Patent"
] | 24 | 2021-09-02T22:54:51.000Z | 2022-01-27T19:28:04.000Z | t2s/tests/correctness/isolation/isolate-consumer-2.cpp | vmiheer/t2sp | c9401668f85589e3d7263a4c7e024dca698adb8d | [
"BSD-2-Clause-Patent"
] | 5 | 2021-11-08T20:10:11.000Z | 2022-03-08T01:12:57.000Z | t2s/tests/correctness/isolation/isolate-consumer-2.cpp | vmiheer/t2sp | c9401668f85589e3d7263a4c7e024dca698adb8d | [
"BSD-2-Clause-Patent"
] | 8 | 2021-09-06T21:07:02.000Z | 2022-03-10T01:54:48.000Z | /*******************************************************************************
* Copyright 2021 Intel Corporation
*
* Licensed under the BSD-2-Clause Plus Patent License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource... | 31.880952 | 80 | 0.610904 | vmiheer |
161e91679977fa95a362ec56458bd2eaa142df02 | 5,063 | hpp | C++ | include/gapi/framebuffer.hpp | RamblingMadMan/gapi | 29c2e70990c9097ee470159bfaad64f24bc90021 | [
"BSD-3-Clause"
] | 1 | 2017-03-02T14:21:51.000Z | 2017-03-02T14:21:51.000Z | include/gapi/framebuffer.hpp | RamblingMadMan/gapi | 29c2e70990c9097ee470159bfaad64f24bc90021 | [
"BSD-3-Clause"
] | null | null | null | include/gapi/framebuffer.hpp | RamblingMadMan/gapi | 29c2e70990c9097ee470159bfaad64f24bc90021 | [
"BSD-3-Clause"
] | null | null | null | #ifndef GAPI_FRAMEBUFFER_HPP
#define GAPI_FRAMEBUFFER_HPP 1
#include <cstddef>
#include <system_error>
#include "types.hpp"
#include "constants.hpp"
#include "functions.hpp"
#include "texture.hpp"
#include "utility.hpp"
namespace gapi{
//! framebuffer draw buffers category for std::system_error
class framebuffer_d... | 29.95858 | 102 | 0.694252 | RamblingMadMan |
161f39de0ffee44baf35d4c835140290c983fd27 | 2,677 | cpp | C++ | dbms/src/IO/tests/hashing_write_buffer.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 85 | 2022-03-25T09:03:16.000Z | 2022-03-25T09:45:03.000Z | dbms/src/IO/tests/hashing_write_buffer.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 7 | 2022-03-25T08:59:10.000Z | 2022-03-25T09:40:13.000Z | dbms/src/IO/tests/hashing_write_buffer.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 11 | 2022-03-25T09:15:36.000Z | 2022-03-25T09:45:07.000Z | // Copyright 2022 PingCAP, Ltd.
//
// 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... | 27.316327 | 103 | 0.571909 | solotzg |
16216046b42c238715e5a0c803155d49b2d269cc | 1,441 | cpp | C++ | src/share/aio/signal/handler/AltStack.cpp | kkysen/SiliconScratchCpp | 0e3248403c4198fd4ba55ce72a259f5530454577 | [
"MIT"
] | 1 | 2019-06-19T06:03:03.000Z | 2019-06-19T06:03:03.000Z | src/share/aio/signal/handler/AltStack.cpp | kkysen/SiliconScratchCpp | 0e3248403c4198fd4ba55ce72a259f5530454577 | [
"MIT"
] | null | null | null | src/share/aio/signal/handler/AltStack.cpp | kkysen/SiliconScratchCpp | 0e3248403c4198fd4ba55ce72a259f5530454577 | [
"MIT"
] | null | null | null | //
// Created by Khyber on 5/26/2019.
//
#include "src/share/aio/signal/handler/AltStack.h"
#include "src/share/common/hardAssert.h"
namespace aio::signal::handler {
bool AltStack::register_(int flags) const noexcept {
const stack_t ss = {
.ss_sp = stack.data(),
.ss_s... | 27.711538 | 86 | 0.559334 | kkysen |
162292d41d7a05aeb487eba34e9f4d411a956fce | 133 | cpp | C++ | Society2.0/Society2.0/HiveTest.cpp | simsim314/Society2.0 | a95e42122e2541b7544dd641247681996f1e625a | [
"Unlicense"
] | 1 | 2019-07-11T13:10:43.000Z | 2019-07-11T13:10:43.000Z | Society2.0/Society2.0/HiveTest.cpp | mdheller/Society2.0 | a95e42122e2541b7544dd641247681996f1e625a | [
"Unlicense"
] | 1 | 2019-02-19T12:32:52.000Z | 2019-03-07T20:49:50.000Z | Society2.0/Society2.0/HiveTest.cpp | mdheller/Society2.0 | a95e42122e2541b7544dd641247681996f1e625a | [
"Unlicense"
] | 1 | 2020-01-10T12:37:30.000Z | 2020-01-10T12:37:30.000Z | #include "HiveTest.h"
void HiveTest::EstimatesResults()
{
}
HiveTest::HiveTest()
{
}
HiveTest::~HiveTest()
{
}
| 7.823529 | 34 | 0.571429 | simsim314 |
1623b195d9c82ef7d4c393502282699ef25d8da0 | 78 | cpp | C++ | test/testSerialization.cpp | martinmozi/jsonVariant | 9c8fdf2f15b0c9b424bce4e87ffb6508979ac567 | [
"MIT"
] | 3 | 2018-11-23T22:42:44.000Z | 2021-02-11T11:00:22.000Z | test/testSerialization.cpp | martinmozi/jsonVariant | 9c8fdf2f15b0c9b424bce4e87ffb6508979ac567 | [
"MIT"
] | null | null | null | test/testSerialization.cpp | martinmozi/jsonVariant | 9c8fdf2f15b0c9b424bce4e87ffb6508979ac567 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
TEST(exampleTest, test1) {
EXPECT_EQ (0, 0);
}
| 13 | 26 | 0.628205 | martinmozi |
1625ae21ce33d359a7e33eab2367575d5b220dd8 | 1,864 | cpp | C++ | vkconfig/widget_setting_int_range.cpp | Puschel2020/VulkanTools | 6698657af2291c8cba809069a77e8fc90ff70406 | [
"Apache-2.0"
] | null | null | null | vkconfig/widget_setting_int_range.cpp | Puschel2020/VulkanTools | 6698657af2291c8cba809069a77e8fc90ff70406 | [
"Apache-2.0"
] | null | null | null | vkconfig/widget_setting_int_range.cpp | Puschel2020/VulkanTools | 6698657af2291c8cba809069a77e8fc90ff70406 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 Valve Corporation
* Copyright (c) 2020 LunarG, 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
*
* Unl... | 38.040816 | 120 | 0.707082 | Puschel2020 |
1625c11a0cd1d53711da0d2a2b80396d832e968d | 654 | cc | C++ | src/message/MessageCommon.cc | FeelyChau/yoda-monitor | f5d59fb13eb8589ff1d425420a880ed2cf885b13 | [
"Apache-2.0"
] | 4 | 2019-04-10T03:28:53.000Z | 2022-03-06T15:03:58.000Z | src/message/MessageCommon.cc | FeelyChau/yoda-monitor | f5d59fb13eb8589ff1d425420a880ed2cf885b13 | [
"Apache-2.0"
] | 9 | 2019-04-10T01:33:53.000Z | 2019-08-07T15:22:41.000Z | src/message/MessageCommon.cc | FeelyChau/yoda-monitor | f5d59fb13eb8589ff1d425420a880ed2cf885b13 | [
"Apache-2.0"
] | 1 | 2018-12-04T02:19:01.000Z | 2018-12-04T02:19:01.000Z | #include "MessageCommon.h"
namespace rokid {
MessageType get_msg_type(const unsigned char * buff, int32_t buff_len, std::shared_ptr<Caps> &caps) {
if (Caps::parse(buff, buff_len, caps) != CAPS_SUCCESS)
goto ERROR;
int32_t msg_type;
if (caps->read(msg_type) != CAPS_SUCCESS)
goto ERROR;
retu... | 29.727273 | 103 | 0.695719 | FeelyChau |
1626c2ff47974452a048dfe4ebf9b44b70351298 | 6,631 | cpp | C++ | src/http/routing.cpp | windoze/fibio-http | 3c220a9467eda84b37aafa97364d47b28f1fc407 | [
"BSD-2-Clause"
] | 1 | 2021-05-12T14:46:58.000Z | 2021-05-12T14:46:58.000Z | src/http/routing.cpp | windoze/fibio-http | 3c220a9467eda84b37aafa97364d47b28f1fc407 | [
"BSD-2-Clause"
] | null | null | null | src/http/routing.cpp | windoze/fibio-http | 3c220a9467eda84b37aafa97364d47b28f1fc407 | [
"BSD-2-Clause"
] | 2 | 2017-12-16T11:22:24.000Z | 2021-05-13T01:06:01.000Z | //
// routing.cpp
// fibio-http
//
// Created by Chen Xu on 14/10/12.
// Copyright (c) 2014 0d0a.com. All rights reserved.
//
#include <fibio/http/server/routing.hpp>
#include "url_parser.hpp"
namespace fibio { namespace http {
match_type operator&&(const match_type &lhs, const match_type &rhs) {
stru... | 33.659898 | 95 | 0.457397 | windoze |
162b1a7546e3f005825d9fa8678ceb0a1b8aca3e | 826 | cpp | C++ | Console-Spinner/Spinners/SpinnerFactory.cpp | bargoldi/console-spinner | 9809f55683d3fe9c517c77e2825f75ce4956014c | [
"MIT"
] | 5 | 2017-08-17T06:46:06.000Z | 2020-05-29T13:27:40.000Z | Console-Spinner/Spinners/SpinnerFactory.cpp | bargoldi/console-spinner | 9809f55683d3fe9c517c77e2825f75ce4956014c | [
"MIT"
] | null | null | null | Console-Spinner/Spinners/SpinnerFactory.cpp | bargoldi/console-spinner | 9809f55683d3fe9c517c77e2825f75ce4956014c | [
"MIT"
] | 3 | 2019-04-30T13:57:13.000Z | 2020-02-25T19:45:08.000Z | #include <iostream>
#include <map>
#include <vector>
#include "SpinnerFactory.h"
#include "OneLineSpinner.h"
#include "TwoLinesSpinner.h"
#include "ThreeLinesSpinner.h"
SpinnerFactory::SpinnerFactory() {
this->spinnersMap["1 Lines Spinner"] = new OneLineSpinner();
this->spinnersMap["2 Lines Spinner"] = new TwoLine... | 22.944444 | 64 | 0.730024 | bargoldi |
162bb166ed5c15e51ab8ece68b43cf42f646d2f6 | 8,201 | cpp | C++ | Asap-3.8.4/Basics/ImageAtoms.cpp | auag92/n2dm | 03403ef8da303b79478580ae76466e374ec9da60 | [
"MIT"
] | 1 | 2021-10-19T11:35:34.000Z | 2021-10-19T11:35:34.000Z | Asap-3.8.4/Basics/ImageAtoms.cpp | auag92/n2dm | 03403ef8da303b79478580ae76466e374ec9da60 | [
"MIT"
] | null | null | null | Asap-3.8.4/Basics/ImageAtoms.cpp | auag92/n2dm | 03403ef8da303b79478580ae76466e374ec9da60 | [
"MIT"
] | 3 | 2016-07-18T19:22:48.000Z | 2021-07-06T03:06:42.000Z | // -*- C++ -*-
// ImageAtoms.cpp: Beyond the Minimum Image Convention
//
// Copyright (C) 2014 Jakob Schiotz and Center for Individual
// Nanoparticle Functionality, Department of Physics, Technical
// University of Denmark. Email: schiotz@fysik.dtu.dk
//
// This file is part of Asap version 3.
//
// This program is ... | 32.287402 | 112 | 0.605902 | auag92 |
162bf2fe14fe00258bbbac66d2e6cdbb38551fd8 | 968 | hpp | C++ | src/core/actions/change_categories_name_action.hpp | svendcsvendsen/judoassistant | 453211bff86d940c2b2de6f9eea2aabcdab830fa | [
"MIT"
] | 3 | 2019-04-26T17:48:24.000Z | 2021-11-08T20:21:51.000Z | src/core/actions/change_categories_name_action.hpp | svendcsvendsen/judoassistant | 453211bff86d940c2b2de6f9eea2aabcdab830fa | [
"MIT"
] | 90 | 2019-04-25T17:23:10.000Z | 2022-02-12T19:49:55.000Z | src/core/actions/change_categories_name_action.hpp | judoassistant/judoassistant | 3b200d3e35d9aff16ba224e6071ee9d888a5a03c | [
"MIT"
] | null | null | null | #pragma once
#include "core/actions/action.hpp"
class TournamentStore;
class CategoryId;
class ChangeCategoriesNameAction : public Action {
public:
ChangeCategoriesNameAction() = default;
ChangeCategoriesNameAction(std::vector<CategoryId> categoryIds, const std::string &value);
void redoImpl(TournamentSt... | 26.888889 | 94 | 0.751033 | svendcsvendsen |
162def1847af69ce1a0d08ff242028b7b8901802 | 1,864 | cpp | C++ | Motor2D/j1Item.cpp | NontendoSL/Zelda-a-Link-to-the-Past-TRIBUTE | 8676c7fc70b6dea54cd173b42c5006f34ab82404 | [
"Apache-2.0"
] | 11 | 2017-02-16T18:30:43.000Z | 2021-08-07T11:40:49.000Z | Motor2D/j1Item.cpp | NontendoSL/Zelda-a-Link-to-the-Past-TRIBUTE | 8676c7fc70b6dea54cd173b42c5006f34ab82404 | [
"Apache-2.0"
] | 81 | 2017-02-16T18:27:02.000Z | 2017-06-07T20:23:40.000Z | Motor2D/j1Item.cpp | NontendoSL/Zelda-a-Link-to-the-Past-TRIBUTE | 8676c7fc70b6dea54cd173b42c5006f34ab82404 | [
"Apache-2.0"
] | 5 | 2017-03-01T14:49:24.000Z | 2021-08-07T11:40:51.000Z | #include "j1Item.h"
#include "j1Textures.h"
#include "j1Render.h"
#include "j1App.h"
#include "j1Collision.h"
Item::Item() : SceneElement()
{
name = "items";
type = ITEM;
}
Item::~Item()
{
App->tex->UnLoad(texture);
}
bool Item::Awake(pugi::xml_node &conf, uint item_id, iPoint pos)
{
bool stop_search = false;
... | 15.533333 | 105 | 0.590129 | NontendoSL |
162e2a78bc0c912f4935e00e0c4fd148927bc860 | 3,147 | cpp | C++ | core/src/events/profileEvents.cpp | Zefiros-Software/CoreLib | 646d544ac0877ab48aa375bd06141dfda83c37d5 | [
"MIT"
] | 1 | 2016-09-27T08:18:10.000Z | 2016-09-27T08:18:10.000Z | core/src/events/profileEvents.cpp | Zefiros-Software/CoreLib | 646d544ac0877ab48aa375bd06141dfda83c37d5 | [
"MIT"
] | null | null | null | core/src/events/profileEvents.cpp | Zefiros-Software/CoreLib | 646d544ac0877ab48aa375bd06141dfda83c37d5 | [
"MIT"
] | null | null | null | /**
* @cond ___LICENSE___
*
* Copyright (c) 2016-2018 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... | 31.787879 | 113 | 0.68891 | Zefiros-Software |
162f7bdc8d1fa4b6a37b08410c1d75905a52f2ad | 1,599 | cc | C++ | pagespeed/filters/url_regex_filter_test.cc | gtmetrix/pagespeed-library | 4aac4ab995bc99c6a40f0c820cfefc88db6fcf33 | [
"Apache-2.0"
] | 11 | 2016-08-23T12:31:32.000Z | 2021-05-12T09:47:01.000Z | pagespeed/filters/url_regex_filter_test.cc | gtmetrix/page-speed-library | 4aac4ab995bc99c6a40f0c820cfefc88db6fcf33 | [
"Apache-2.0"
] | null | null | null | pagespeed/filters/url_regex_filter_test.cc | gtmetrix/page-speed-library | 4aac4ab995bc99c6a40f0c820cfefc88db6fcf33 | [
"Apache-2.0"
] | 1 | 2019-03-13T00:51:45.000Z | 2019-03-13T00:51:45.000Z | // Copyright 2010 Google Inc. 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 applicabl... | 32.632653 | 75 | 0.746091 | gtmetrix |
163130d0986dad429368a31f614a7ca443639e7b | 7,058 | cpp | C++ | server/api/src/rsFileSyncToArch.cpp | tempoz/irods | a64c5e9cfb86af725f8f20ae940591adef8e02f0 | [
"BSD-3-Clause"
] | 1 | 2020-05-31T17:00:37.000Z | 2020-05-31T17:00:37.000Z | server/api/src/rsFileSyncToArch.cpp | tempoz/irods | a64c5e9cfb86af725f8f20ae940591adef8e02f0 | [
"BSD-3-Clause"
] | null | null | null | server/api/src/rsFileSyncToArch.cpp | tempoz/irods | a64c5e9cfb86af725f8f20ae940591adef8e02f0 | [
"BSD-3-Clause"
] | 2 | 2015-10-29T03:37:30.000Z | 2015-12-16T15:09:14.000Z | /*** Copyright (c), The Regents of the University of California ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/* rsFileSyncToArch.c - server routine that handles the fileSyncToArch
* API
*/
/* script generated code */
#include "fileSyncToArch.h"
#include "fileOpr.hpp"... | 32.081818 | 143 | 0.565033 | tempoz |
163552b8e0247a3717f95c4239fbfdb86536fe09 | 8,011 | cpp | C++ | Actor/Characters/Enemy/GBoxEnemy_Long/GBoxEnemy_Long.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/GBoxEnemy_Long/GBoxEnemy_Long.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/GBoxEnemy_Long/GBoxEnemy_Long.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "GBoxEnemy_Long.h"
#include "GBoxEnemyLong_Bullet.h"
#include "AIC_GBoxEnemy_Long.h"
#include "AnimInst_GBoxEnemy_Long.h"
#include "State/StateMng_GBELong.h"
#include "Libraries/Components/AnimationMng/Cpt_AnimationMng.h"
#include... | 31.415686 | 208 | 0.785545 | Bornsoul |
163570725dd08077632aced90d3df16555532115 | 285 | cpp | C++ | audio_editor_core/audio_editor_core/ui/ae_ui_button_utils.cpp | objective-audio/audio_editor | 649f74cdca3d7db3d618922a345ea158a0c03a1d | [
"MIT"
] | null | null | null | audio_editor_core/audio_editor_core/ui/ae_ui_button_utils.cpp | objective-audio/audio_editor | 649f74cdca3d7db3d618922a345ea158a0c03a1d | [
"MIT"
] | null | null | null | audio_editor_core/audio_editor_core/ui/ae_ui_button_utils.cpp | objective-audio/audio_editor | 649f74cdca3d7db3d618922a345ea158a0c03a1d | [
"MIT"
] | null | null | null | //
// ae_ui_button_utils.cpp
//
#include "ae_ui_button_utils.h"
#include <type_traits>
using namespace yas;
using namespace yas::ae;
std::size_t ui_button_utils::to_state_idx(ui_button_state const state) {
return static_cast<std::underlying_type_t<ui_button_state>>(state);
}
| 19 | 72 | 0.768421 | objective-audio |
1638d5b01abe01de31f418703d6918cb50600cb3 | 6,812 | cpp | C++ | src/conversion_helpers/lexer.cpp | thecodedproject/json | 989cbcd1a56fa043280e632a6ad14414de0ad429 | [
"BSD-3-Clause"
] | null | null | null | src/conversion_helpers/lexer.cpp | thecodedproject/json | 989cbcd1a56fa043280e632a6ad14414de0ad429 | [
"BSD-3-Clause"
] | null | null | null | src/conversion_helpers/lexer.cpp | thecodedproject/json | 989cbcd1a56fa043280e632a6ad14414de0ad429 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2018, Coded Project
* 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 above copyright notice, this
* list of conditions an... | 27.467742 | 81 | 0.670288 | thecodedproject |
163901f6e9214d86e265e0702c311b477fa6f8f5 | 1,421 | hpp | C++ | src/io.hpp | StanislavKlenin/httptth | 370faea7b8c7614293402b9dfe8e6d3910068067 | [
"BSD-2-Clause"
] | null | null | null | src/io.hpp | StanislavKlenin/httptth | 370faea7b8c7614293402b9dfe8e6d3910068067 | [
"BSD-2-Clause"
] | null | null | null | src/io.hpp | StanislavKlenin/httptth | 370faea7b8c7614293402b9dfe8e6d3910068067 | [
"BSD-2-Clause"
] | null | null | null | #ifndef __IO_H__
#define __IO_H__
#include <stddef.h>
#include <functional>
#include <string>
namespace httptth
{
// some core concepts
class readable // abstract / interface
{
public:
enum class status
{
again = -1,
eof = 0,
ok = 1
};
public:
virtual ~readable()... | 22.555556 | 79 | 0.638987 | StanislavKlenin |
163976d3c3d6240cecac379882913a3f82efefc9 | 3,704 | cpp | C++ | texmap/tmapflat_d2.cpp | Kreeblah/ChocolateDescent | ce575a8193c4fa560731203d9aea66355c41cc0d | [
"MIT"
] | 22 | 2019-08-19T21:09:29.000Z | 2022-03-25T23:19:15.000Z | texmap/tmapflat_d2.cpp | Kreeblah/ChocolateDescent | ce575a8193c4fa560731203d9aea66355c41cc0d | [
"MIT"
] | 6 | 2019-11-08T22:17:03.000Z | 2022-03-10T05:02:59.000Z | texmap/tmapflat_d2.cpp | Kreeblah/ChocolateDescent | ce575a8193c4fa560731203d9aea66355c41cc0d | [
"MIT"
] | 6 | 2019-08-24T08:03:14.000Z | 2022-02-04T15:04:52.000Z | /*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
IN USING, DISPLAYING, A... | 26.269504 | 97 | 0.705454 | Kreeblah |
163aa1d1115c309029f8634f8ec96a72b8526b38 | 1,537 | cpp | C++ | nnforge/plain/dropout_layer_tester_plain.cpp | anshumang/nnForgeINST | 1e9ea1b539cadbb03daa39f5d81025c1b17c21d8 | [
"Apache-2.0"
] | 2 | 2015-08-19T08:02:59.000Z | 2017-06-18T21:10:36.000Z | nnforge/plain/dropout_layer_tester_plain.cpp | anshumang/nnForgeINST | 1e9ea1b539cadbb03daa39f5d81025c1b17c21d8 | [
"Apache-2.0"
] | null | null | null | nnforge/plain/dropout_layer_tester_plain.cpp | anshumang/nnForgeINST | 1e9ea1b539cadbb03daa39f5d81025c1b17c21d8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2011-2014 Maxim Milakov
*
* 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 applic... | 29.557692 | 77 | 0.744958 | anshumang |
163b29e424da1fae99fc454cb9f06e0bb99647f6 | 27,660 | hpp | C++ | xercesc/xerces-c1_7_0-SolForCC/include/xercesc/sax2/DefaultHandler.hpp | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | 2 | 2020-01-06T07:43:30.000Z | 2020-07-11T20:53:53.000Z | xercesc/xerces-c1_7_0-SolForCC/include/xercesc/sax2/DefaultHandler.hpp | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | null | null | null | xercesc/xerces-c1_7_0-SolForCC/include/xercesc/sax2/DefaultHandler.hpp | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | null | null | null | /*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2000 The Apache Software Foundation. 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 sou... | 31.976879 | 142 | 0.657122 | anjingbin |
163bb8559126d8e488eee77faef1fe3b6e13880a | 4,955 | hpp | C++ | SDK/ARKSurvivalEvolved_Buff_TekBowHelper_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_Buff_TekBowHelper_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_Buff_TekBowHelper_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Buff_TekBowHelper_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------------------------... | 78.650794 | 208 | 0.583451 | 2bite |
163d6d0dcd6f8a6a40c2f569022fa549d602a058 | 14,163 | cpp | C++ | B2G/gecko/gfx/layers/d3d10/ContainerLayerD3D10.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/gfx/layers/d3d10/ContainerLayerD3D10.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/gfx/layers/d3d10/ContainerLayerD3D10.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ContainerLayerD3D10.h"
#in... | 29.022541 | 116 | 0.683824 | wilebeast |
1642aac5ccded508f943d06aa7c0ef31b9f9c95f | 1,382 | cpp | C++ | src/mapleall/maple_be/src/cg/cg_dce.cpp | venshine/OpenArkCompiler | 264cd4463834356658154f0d254672ef559f245f | [
"MulanPSL-1.0"
] | 2 | 2019-09-06T07:02:41.000Z | 2019-09-09T12:24:46.000Z | src/mapleall/maple_be/src/cg/cg_dce.cpp | venshine/OpenArkCompiler | 264cd4463834356658154f0d254672ef559f245f | [
"MulanPSL-1.0"
] | null | null | null | src/mapleall/maple_be/src/cg/cg_dce.cpp | venshine/OpenArkCompiler | 264cd4463834356658154f0d254672ef559f245f | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (c) [2021] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWAR... | 30.043478 | 91 | 0.700434 | venshine |
1643f647120e5cb51603feef3ddc1ce7f7a78532 | 3,916 | cpp | C++ | python/src/cpp/_pcap.cpp | superchd/ouster_example | 813485eeff10a99deb37cf8c42531b6c2d914e7f | [
"BSD-3-Clause"
] | null | null | null | python/src/cpp/_pcap.cpp | superchd/ouster_example | 813485eeff10a99deb37cf8c42531b6c2d914e7f | [
"BSD-3-Clause"
] | null | null | null | python/src/cpp/_pcap.cpp | superchd/ouster_example | 813485eeff10a99deb37cf8c42531b6c2d914e7f | [
"BSD-3-Clause"
] | null | null | null | /**
* @file
* @brief ouster_pyclient_pcap python module
*/
#include <pybind11/pybind11.h>
#include <cmath>
#include <sstream>
#include <string>
#include "ouster/os_pcap.h"
using namespace ouster::sensor_utils;
namespace py = pybind11;
PYBIND11_MAKE_OPAQUE(std::shared_ptr<playback_handle>);
PYBIND11_MAKE_OPAQUE(s... | 36.598131 | 80 | 0.599591 | superchd |
f37ddeb5014c71beff8b86c15f12ca608717be1f | 1,454 | hpp | C++ | utility/implicit-value.hpp | ExploreWilder/libutility | b3600d5bc77211c567674032ad1a7c65ff56cc1b | [
"BSD-2-Clause"
] | 2 | 2018-08-26T07:34:38.000Z | 2019-02-25T07:27:57.000Z | utility/implicit-value.hpp | ExploreWilder/libutility | b3600d5bc77211c567674032ad1a7c65ff56cc1b | [
"BSD-2-Clause"
] | 1 | 2021-02-22T17:23:02.000Z | 2021-04-08T15:18:57.000Z | utility/implicit-value.hpp | ExploreWilder/libutility | b3600d5bc77211c567674032ad1a7c65ff56cc1b | [
"BSD-2-Clause"
] | 3 | 2019-09-25T05:22:06.000Z | 2022-03-29T09:18:42.000Z | #ifndef utility_implicit_value_hpp_included_
#define utility_implicit_value_hpp_included_
#include <boost/program_options.hpp>
/** Misbehaving implicit value workaround for Boost 1.59-1.64
*/
namespace utility {
#if (BOOST_VERSION >= 105900) && (BOOST_VERSION < 106500)
/** Special typed-value to overcome problem ... | 26.925926 | 78 | 0.737964 | ExploreWilder |
f37e07a8977c069167f2ebb6e2804b17029e73ab | 9,406 | cc | C++ | passes/sat/clk2fflogic.cc | antonblanchard/yosys | a41c1df76f724476136e2668405ccae05494ebb8 | [
"ISC"
] | 1 | 2022-03-30T20:38:13.000Z | 2022-03-30T20:38:13.000Z | passes/sat/clk2fflogic.cc | antonblanchard/yosys | a41c1df76f724476136e2668405ccae05494ebb8 | [
"ISC"
] | null | null | null | passes/sat/clk2fflogic.cc | antonblanchard/yosys | a41c1df76f724476136e2668405ccae05494ebb8 | [
"ISC"
] | null | null | null | /*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Claire Xenia Wolf <claire@yosyshq.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear i... | 34.708487 | 127 | 0.6431 | antonblanchard |
f37f09e96529ab0043079c6a5994a5d8ba25e43a | 1,231 | cpp | C++ | sdk/src/settings/FairComboBox.cpp | zSelimReborn/fairwindplusplus | aa0f754dc81414c21e5b3a8fc1f4a7b9b6bb6c20 | [
"Apache-2.0"
] | null | null | null | sdk/src/settings/FairComboBox.cpp | zSelimReborn/fairwindplusplus | aa0f754dc81414c21e5b3a8fc1f4a7b9b6bb6c20 | [
"Apache-2.0"
] | null | null | null | sdk/src/settings/FairComboBox.cpp | zSelimReborn/fairwindplusplus | aa0f754dc81414c21e5b3a8fc1f4a7b9b6bb6c20 | [
"Apache-2.0"
] | null | null | null | #include <QComboBox>
#include <QJsonObject>
#include <QString>
#include <QJsonArray>
#include <QGridLayout>
#include <FairWindSdk/FairWind.hpp>
#include <FairWindSdk/IFairWindApp.hpp>
#include <FairWindSdk/settings/FairComboBox.hpp>
#include <FairWindApp.hpp>
void fairwind::ui::settings::FairComboBox::setDetails(std:... | 32.394737 | 146 | 0.693745 | zSelimReborn |
f3801d9259efd31e5fabda51edce6b892e8e9293 | 2,999 | cpp | C++ | src/appleseed/renderer/utility/oiiomaketexture.cpp | Chargnn/appleseed | 81ee2da5cec47f8fb85bd3c2470256de9c9ad146 | [
"MIT"
] | null | null | null | src/appleseed/renderer/utility/oiiomaketexture.cpp | Chargnn/appleseed | 81ee2da5cec47f8fb85bd3c2470256de9c9ad146 | [
"MIT"
] | null | null | null | src/appleseed/renderer/utility/oiiomaketexture.cpp | Chargnn/appleseed | 81ee2da5cec47f8fb85bd3c2470256de9c9ad146 | [
"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) 2019 Jonathan Dent, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person obtainin... | 33.322222 | 95 | 0.731911 | Chargnn |
f3828154aa8b7ac018e15623becc0e163a63fe74 | 508 | cpp | C++ | HackerRank/Challenges/time-conversion.cpp | Diggzinc/solutions-spoj | eb552311011e466039e059cce07894fea0817613 | [
"MIT"
] | null | null | null | HackerRank/Challenges/time-conversion.cpp | Diggzinc/solutions-spoj | eb552311011e466039e059cce07894fea0817613 | [
"MIT"
] | null | null | null | HackerRank/Challenges/time-conversion.cpp | Diggzinc/solutions-spoj | eb552311011e466039e059cce07894fea0817613 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
string str;
int v;
cin >> str;
v = (str[0]-48) * 10 + str[1] - 48;
if(str[8] == 'P') {
if(v != 12) {
v+=12;
}
}else{
if... | 15.875 | 39 | 0.403543 | Diggzinc |
f3869e50b417a3ffe152d629ea681cb3905aadc4 | 1,316 | cpp | C++ | snobot_sim/src/main/native/cpp/SnobotSim/HalCallbacks/SpiCallbacks.cpp | pjreiniger/WpiHalRefactor | 41b182fabe9cb6650f0c7aaa7be310c9e246d33d | [
"MIT"
] | 49 | 2018-01-05T14:10:31.000Z | 2019-05-15T05:09:19.000Z | snobot_sim/src/main/native/cpp/SnobotSim/HalCallbacks/SpiCallbacks.cpp | pjreiniger/WpiHalRefactor | 41b182fabe9cb6650f0c7aaa7be310c9e246d33d | [
"MIT"
] | 82 | 2019-06-14T01:44:35.000Z | 2020-12-01T07:12:13.000Z | snobot_sim/src/main/native/cpp/SnobotSim/HalCallbacks/SpiCallbacks.cpp | pjreiniger/WpiHalRefactor | 41b182fabe9cb6650f0c7aaa7be310c9e246d33d | [
"MIT"
] | 8 | 2018-02-02T07:31:30.000Z | 2019-05-03T00:14:48.000Z | /*
* SpiCallbacks.cpp
*
* Created on: Sep 11, 2017
* Author: preiniger
*/
#include "SnobotSim/HalCallbacks/SpiCallbacks.h"
#include "SnobotSim/GetSensorActuatorHelper.h"
#include "SnobotSim/Logging/SnobotLogger.h"
#include "SnobotSim/ModuleWrapper/Factories/FactoryContainer.h"
#include "SnobotSim/ModuleWra... | 25.307692 | 118 | 0.68769 | pjreiniger |
f386aff4291f7fdbf49864bea1f5b0fd39f6a836 | 513 | cpp | C++ | 14 display full name in c++.cpp | pujanmahat/c-oop-programme | 8f48bf409e27dbf9c03c8b3cb0a7a7dcdbc0ee46 | [
"Apache-2.0"
] | null | null | null | 14 display full name in c++.cpp | pujanmahat/c-oop-programme | 8f48bf409e27dbf9c03c8b3cb0a7a7dcdbc0ee46 | [
"Apache-2.0"
] | null | null | null | 14 display full name in c++.cpp | pujanmahat/c-oop-programme | 8f48bf409e27dbf9c03c8b3cb0a7a7dcdbc0ee46 | [
"Apache-2.0"
] | null | null | null | // wap to input your name and roll no. display your name if entered roll no is even using c++.
#include <iostream>
using namespace std;
int main()
{
string fullname;
cout<<"what is your full name "<<endl;
getline(cin,fullname);
cout<<"name :"<<fullname<<endl;
/* int roll;
string name;
cout<<"enter ro... | 19.730769 | 95 | 0.608187 | pujanmahat |
f387ad09bad986d2b95bb1299ec63340fb647aee | 5,309 | hpp | C++ | src/cpu/x64/jit_uni_binary_kernel.hpp | aletru01/oneDNN | ca6ca816faa92025a231f3ff1d110b73c5a460c1 | [
"Apache-2.0"
] | null | null | null | src/cpu/x64/jit_uni_binary_kernel.hpp | aletru01/oneDNN | ca6ca816faa92025a231f3ff1d110b73c5a460c1 | [
"Apache-2.0"
] | null | null | null | src/cpu/x64/jit_uni_binary_kernel.hpp | aletru01/oneDNN | ca6ca816faa92025a231f3ff1d110b73c5a460c1 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* 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.699346 | 80 | 0.690526 | aletru01 |
f389da072d809c4cccd407d94ae77434a484f83e | 2,364 | cpp | C++ | ExaHyPE/exahype/plotters/ascii/TimeSeriesReductions.cpp | linusseelinger/ExaHyPE-Tsunami | 92a6e14926862e1584ef1e935874c91d252e8112 | [
"BSD-3-Clause"
] | 2 | 2019-08-14T22:41:26.000Z | 2020-02-04T19:30:24.000Z | ExaHyPE/exahype/plotters/ascii/TimeSeriesReductions.cpp | linusseelinger/ExaHyPE-Tsunami | 92a6e14926862e1584ef1e935874c91d252e8112 | [
"BSD-3-Clause"
] | null | null | null | ExaHyPE/exahype/plotters/ascii/TimeSeriesReductions.cpp | linusseelinger/ExaHyPE-Tsunami | 92a6e14926862e1584ef1e935874c91d252e8112 | [
"BSD-3-Clause"
] | 3 | 2019-07-22T10:27:36.000Z | 2020-05-11T12:25:29.000Z |
#include "exahype/plotters/ascii/TimeSeriesReductions.h"
#include "tarch/logging/Log.h"
#include <limits>
#include <cmath>
/**
* static constexpr need to declared again when following a
* C++ standard before C++17.
*/
constexpr int exahype::plotters::ascii::TimeSeriesReductions::LEN;
exahype::plotters::ascii::T... | 32.833333 | 115 | 0.665821 | linusseelinger |
f38ace99e026d5413a56efb61d5a7e61c6535322 | 13,169 | cc | C++ | src/OpenMesh/Core/IO/reader/STLReader.cc | rzoller/OpenMesh | f84bca0b26c61eab5f9335b2191962ca8545c5f6 | [
"BSD-3-Clause"
] | null | null | null | src/OpenMesh/Core/IO/reader/STLReader.cc | rzoller/OpenMesh | f84bca0b26c61eab5f9335b2191962ca8545c5f6 | [
"BSD-3-Clause"
] | null | null | null | src/OpenMesh/Core/IO/reader/STLReader.cc | rzoller/OpenMesh | f84bca0b26c61eab5f9335b2191962ca8545c5f6 | [
"BSD-3-Clause"
] | null | null | null | /* ========================================================================= *
* *
* OpenMesh *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* ... | 26.60404 | 101 | 0.482573 | rzoller |
f38c410ade3295a654d01a54804e470cdbe2fccc | 924 | hpp | C++ | src/libs/crypto/include/keto/crypto/HashGenerator.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:00.000Z | 2020-03-04T10:38:00.000Z | src/libs/crypto/include/keto/crypto/HashGenerator.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | null | null | null | src/libs/crypto/include/keto/crypto/HashGenerator.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:01.000Z | 2020-03-04T10:38:01.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: HashGenerator.hpp
* Author: ubuntu
*
* Created on February 6, 2018, 2:32 PM
*/
#ifndef HASHGENERATOR_HPP
#define H... | 22 | 85 | 0.721861 | burntjam |
f38eb3d380ad4c94001e66c06c5b77975eedb5b1 | 8,766 | cc | C++ | webkit/database/database_quota_client.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2016-03-10T09:13:57.000Z | 2016-03-10T09:13:57.000Z | webkit/database/database_quota_client.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2022-03-13T08:39:05.000Z | 2022-03-13T08:39:05.000Z | webkit/database/database_quota_client.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "webkit/database/database_quota_client.h"
#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/location.h... | 28.930693 | 79 | 0.699977 | gavinp |
f395411512597720cceef7d6d546f47287667025 | 9,765 | cc | C++ | src/kudu/util/process_memory.cc | xiaokai-wang/kudu | 83629487dac71104e1d4854c49507450f9fa8008 | [
"Apache-2.0"
] | 1 | 2020-01-18T03:52:46.000Z | 2020-01-18T03:52:46.000Z | src/kudu/util/process_memory.cc | xiaokai-wang/kudu | 83629487dac71104e1d4854c49507450f9fa8008 | [
"Apache-2.0"
] | null | null | null | src/kudu/util/process_memory.cc | xiaokai-wang/kudu | 83629487dac71104e1d4854c49507450f9fa8008 | [
"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... | 33.90625 | 99 | 0.717665 | xiaokai-wang |
f39935251ac443b83e277bd7f182d12a8dd88b9f | 870 | cpp | C++ | cpp/metaproggramming/task_dsl_v2/main.cpp | haohua-li/code-snippet | c36f979333a6b7214ac7ef05d4f319bf5323bfc2 | [
"MIT"
] | 66 | 2020-08-24T06:02:25.000Z | 2022-03-09T21:17:09.000Z | cpp/metaproggramming/task_dsl_v2/main.cpp | haohua-li/code-snippet | c36f979333a6b7214ac7ef05d4f319bf5323bfc2 | [
"MIT"
] | 1 | 2020-11-21T01:43:53.000Z | 2020-11-21T01:43:53.000Z | cpp/metaproggramming/task_dsl_v2/main.cpp | haohua-li/code-snippet | c36f979333a6b7214ac7ef05d4f319bf5323bfc2 | [
"MIT"
] | 13 | 2020-10-16T03:23:30.000Z | 2022-03-21T02:27:50.000Z | /*************************************************************************
> File Name: TaskDSLv2.cpp
> Author: Netcan
> Descripton: TaskDSLv2
> Blog: https://netcan.github.io/
> Mail: 1469709759@qq.com
> Created Time: 2020-08-27 22:38
************************************************************... | 30 | 74 | 0.468966 | haohua-li |
f39a507184e1f6a639aeb2dd670d3b15914f5d99 | 12,085 | hpp | C++ | Cpp/unit_change.hpp | PotatoTimeKun/programming | 7a825ae037b4a39752b10563466657d879d17a5c | [
"MIT"
] | 1 | 2022-03-08T04:20:28.000Z | 2022-03-08T04:20:28.000Z | Cpp/unit_change.hpp | PotatoTimeKun/programming | 7a825ae037b4a39752b10563466657d879d17a5c | [
"MIT"
] | null | null | null | Cpp/unit_change.hpp | PotatoTimeKun/programming | 7a825ae037b4a39752b10563466657d879d17a5c | [
"MIT"
] | null | null | null | /**
* @file unit_change.hpp
* @author PotatoTimeKun (https://github.com/PotatoTimeKun)
* @brief 単位を変換するための各クラスのchange関数が入っています。
* クラス一覧
* acc:加速度
* area:面積
* length:長さ
* mass:質量
* prefix:接頭辞
* speed:速度
* temperature:温度
* time_unit:時間
* volume:体積
*
*/
#ifndef INCLUDE_TANNI
#define INCLUD... | 31.38961 | 527 | 0.49127 | PotatoTimeKun |
f39dddc66980b9cfc70cabfb3422b0c5ae1e937b | 9,021 | cpp | C++ | Source/IO/Checkpoint.cpp | asalmgren/ERF | b3112b709dbc1febde0b224ea26d2ce10ff73d25 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/IO/Checkpoint.cpp | asalmgren/ERF | b3112b709dbc1febde0b224ea26d2ce10ff73d25 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/IO/Checkpoint.cpp | asalmgren/ERF | b3112b709dbc1febde0b224ea26d2ce10ff73d25 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <ERF.H>
// utility to skip to next line in Header
void
ERF::GotoNextLine (std::istream& is)
{
constexpr std::streamsize bl_ignore_max { 100000 };
is.ignore(bl_ignore_max, '\n');
}
void
ERF::WriteCheckpointFile () const
{
// chk00010 write a checkpoint file with this root directory
... | 34.30038 | 112 | 0.602816 | asalmgren |
f39fa07a2ad563ffc0dd159e3da9cc8a96ddeff9 | 8,183 | cc | C++ | src/box/lua/slab.cc | artembo/tarantool | 5f0c04820b2429c004fbd28a838e291ca2833ca3 | [
"BSD-2-Clause"
] | 1 | 2022-02-17T06:03:48.000Z | 2022-02-17T06:03:48.000Z | src/box/lua/slab.cc | artembo/tarantool | 5f0c04820b2429c004fbd28a838e291ca2833ca3 | [
"BSD-2-Clause"
] | null | null | null | src/box/lua/slab.cc | artembo/tarantool | 5f0c04820b2429c004fbd28a838e291ca2833ca3 | [
"BSD-2-Clause"
] | 1 | 2022-03-19T14:26:07.000Z | 2022-03-19T14:26:07.000Z | /*
* Copyright 2010-2016, Tarantool AUTHORS, please see AUTHORS file.
*
* 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 lis... | 27.186047 | 69 | 0.712086 | artembo |
f3a10c2af5ec838042c1d09918cfde9464690074 | 1,707 | cpp | C++ | test/Datadog.Trace.ClrProfiler.Native.Tests/version_struct_test.cpp | anuragvajpayee/opentelemetry-dotnet-instrumentation | a7f8482df233e2b3c6fc43566de174ed30864cf6 | [
"Apache-2.0"
] | null | null | null | test/Datadog.Trace.ClrProfiler.Native.Tests/version_struct_test.cpp | anuragvajpayee/opentelemetry-dotnet-instrumentation | a7f8482df233e2b3c6fc43566de174ed30864cf6 | [
"Apache-2.0"
] | null | null | null | test/Datadog.Trace.ClrProfiler.Native.Tests/version_struct_test.cpp | anuragvajpayee/opentelemetry-dotnet-instrumentation | a7f8482df233e2b3c6fc43566de174ed30864cf6 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "../../src/OpenTelemetry.AutoInstrumentation.ClrProfiler.Native/integration.h"
using namespace trace;
TEST(VersionStructTest, Major2GreaterThanMajor1) {
const auto v1 = Version(1, 0, 0, 0);
const auto v2 = Version(2, 0, 0, 0);
ASSERT_TRUE(v2 > v1) << "Expected v2 to be greater than v1... | 33.470588 | 87 | 0.691271 | anuragvajpayee |
f3a1b0b0e57575a9cd889f068d034e9451d10767 | 509 | cpp | C++ | uppdev/ForlanoVega/main.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | 2 | 2016-04-07T07:54:26.000Z | 2020-04-14T12:37:34.000Z | uppdev/ForlanoVega/main.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | uppdev/ForlanoVega/main.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | #include "VegaMain.h"
#define IMAGECLASS VegaImg
#define IMAGEFILE <ForlanoVega/Vega.iml>
#include <Draw/iml_source.h>
//you can have it as standard.... and even do not change
VegaMain::VegaMain()
{
CtrlLayout(*this, "Forlano Vega Main");
spls.Vert();
spls.SetPos(8000);
// spls.Vert(tabs, consoleF... | 17.551724 | 57 | 0.644401 | dreamsxin |
f3a2a3bd8680910d3bb3e9a53899583c993e1af0 | 5,908 | hpp | C++ | bench/bfs/bench_driver.hpp | dice-group/metall | 1b899e7d28264ecf937cf848e934eccadc581783 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 37 | 2019-07-03T05:48:42.000Z | 2022-03-10T20:41:53.000Z | bench/bfs/bench_driver.hpp | dice-group/metall | 1b899e7d28264ecf937cf848e934eccadc581783 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 19 | 2019-05-29T07:56:45.000Z | 2022-02-02T07:13:46.000Z | bench/bfs/bench_driver.hpp | dice-group/metall | 1b899e7d28264ecf937cf848e934eccadc581783 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 12 | 2019-06-11T21:56:37.000Z | 2022-01-20T15:51:28.000Z | // Copyright 2019 Lawrence Livermore National Security, LLC and other Metall Project Developers.
// See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
#ifndef METALL_BENCH_BFS_DRIVER_HPP
#define METALL_BENCH_BFS_DRIVER_HPP
#include <vector>
#include <string>
#include <uni... | 31.094737 | 117 | 0.620007 | dice-group |
f3a3c099d6112db495becc4aa7a1d75387b2688a | 20,513 | cc | C++ | gpu/config/gpu_control_list_unittest.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | gpu/config/gpu_control_list_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | gpu/config/gpu_control_list_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdint.h>
#include <memory>
#include <vector>
#include "gpu/config/gpu_control_list.h"
#include "gpu/config/gpu_info.h"
#include "testing/... | 29.304286 | 79 | 0.597572 | google-ar |
f3a5aaac84fc446395b3769c66082ca3ccc3a17c | 1,750 | hpp | C++ | shared/ebm_native/compute/loss_functions/MseRegressionLoss.hpp | StanislavParovoy/interpret | e2cdb2690988c953ebed81343d6b99e831d3bdf1 | [
"MIT"
] | 2,674 | 2019-10-03T14:14:35.000Z | 2022-03-31T13:40:49.000Z | shared/ebm_native/compute/loss_functions/MseRegressionLoss.hpp | StanislavParovoy/interpret | e2cdb2690988c953ebed81343d6b99e831d3bdf1 | [
"MIT"
] | 257 | 2019-11-08T19:22:56.000Z | 2022-03-29T20:09:07.000Z | shared/ebm_native/compute/loss_functions/MseRegressionLoss.hpp | StanislavParovoy/interpret | e2cdb2690988c953ebed81343d6b99e831d3bdf1 | [
"MIT"
] | 367 | 2019-10-31T15:33:21.000Z | 2022-03-31T13:40:50.000Z | // Copyright (c) 2018 Microsoft Corporation
// Licensed under the MIT license.
// Author: Paul Koch <code@koch.ninja>
// !! To add a new loss/objective function in C++ follow the steps at the top of the "loss_registrations.hpp" file !!
// MseRegressionLoss is a VERY VERY special Loss function.
// Anyone writing a c... | 38.888889 | 117 | 0.716571 | StanislavParovoy |
f3a8ba829efb610504d4580408ac795b5ec2220b | 1,754 | cpp | C++ | src/Prevalence.cpp | gstonge/schon | 3c02a9780ef3e1136dd61921c0cdb8124b80b01a | [
"MIT"
] | null | null | null | src/Prevalence.cpp | gstonge/schon | 3c02a9780ef3e1136dd61921c0cdb8124b80b01a | [
"MIT"
] | null | null | null | src/Prevalence.cpp | gstonge/schon | 3c02a9780ef3e1136dd61921c0cdb8124b80b01a | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2020 Guillaume St-Onge
*
* 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... | 32.481481 | 81 | 0.754846 | gstonge |
f3aabb5f4185831e199f7cce1f1d1e8efec8bc21 | 9,002 | cpp | C++ | math/ntt_1e9.cpp | prince776/CodeBook | 874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b | [
"CC0-1.0"
] | 17 | 2021-01-25T12:07:17.000Z | 2022-02-26T17:20:31.000Z | math/ntt_1e9.cpp | NavneelSinghal/CodeBook | ff60ace9107dd19ef8ba81e175003f567d2a9070 | [
"CC0-1.0"
] | null | null | null | math/ntt_1e9.cpp | NavneelSinghal/CodeBook | ff60ace9107dd19ef8ba81e175003f567d2a9070 | [
"CC0-1.0"
] | 4 | 2021-02-28T11:13:44.000Z | 2021-11-20T12:56:20.000Z | struct modinfo {
uint32_t mod, root;
};
template <modinfo const& ref>
struct modular {
static constexpr uint32_t const& mod = ref.mod;
static modular root() { return modular(ref.root); }
uint32_t v;
modular(int64_t vv = 0) { s(vv % mod + mod); }
modular& s(uint32_t vv) {
v = vv < mod ? ... | 36.15261 | 80 | 0.429349 | prince776 |
f3ad9a23dbf188dff12722736f6addf46beaa072 | 1,255 | cpp | C++ | sources/DOF.cpp | LauraLuvisotto/FemCourseEigenClass2021 | 2237003a1f8e99369e9602259adfd0f446a6a3e4 | [
"MIT"
] | null | null | null | sources/DOF.cpp | LauraLuvisotto/FemCourseEigenClass2021 | 2237003a1f8e99369e9602259adfd0f446a6a3e4 | [
"MIT"
] | null | null | null | sources/DOF.cpp | LauraLuvisotto/FemCourseEigenClass2021 | 2237003a1f8e99369e9602259adfd0f446a6a3e4 | [
"MIT"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
#include "DOF.h"
DOF::DOF() {
}
DOF::DOF(const DOF& copy) {
firstequation = copy.firstequation;
nshape = copy.nshape;
ns... | 19.920635 | 95 | 0.640637 | LauraLuvisotto |
f3af3816ae86d6fc59cca5e0010f673ad07b4016 | 14,607 | cpp | C++ | qrgui/editor/private/squareLine.cpp | anastasia143/qreal | 9bd224b41e569c9c50ab88848a5746a010c65ad7 | [
"Apache-2.0"
] | 1 | 2017-04-17T03:11:55.000Z | 2017-04-17T03:11:55.000Z | qrgui/editor/private/squareLine.cpp | anastasia143/qreal | 9bd224b41e569c9c50ab88848a5746a010c65ad7 | [
"Apache-2.0"
] | null | null | null | qrgui/editor/private/squareLine.cpp | anastasia143/qreal | 9bd224b41e569c9c50ab88848a5746a010c65ad7 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2007-2015 QReal Research Group
*
* 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... | 26.083929 | 110 | 0.664613 | anastasia143 |
f3b1af0ae6efc161dc34792d537c6eb60b2eecec | 9,654 | cpp | C++ | Assignments/File-Server/src/FileServlet.cpp | prince-chrismc/Data-Communication | 04df3591ac726c1f330788b6b24cdb15309b5461 | [
"MIT"
] | null | null | null | Assignments/File-Server/src/FileServlet.cpp | prince-chrismc/Data-Communication | 04df3591ac726c1f330788b6b24cdb15309b5461 | [
"MIT"
] | null | null | null | Assignments/File-Server/src/FileServlet.cpp | prince-chrismc/Data-Communication | 04df3591ac726c1f330788b6b24cdb15309b5461 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2018 Chris McArthur, prince.chrismc(at)gmail(dot)com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to ... | 36.847328 | 125 | 0.679097 | prince-chrismc |
f3b1df4941c024459ee77c74b6c65506e1ed5a60 | 31,700 | cpp | C++ | libethereum/PeerNetwork.cpp | Donaldhan/ethereum | b378f2d3587211e5cd0dd45d0a4bb71da7611869 | [
"MIT"
] | null | null | null | libethereum/PeerNetwork.cpp | Donaldhan/ethereum | b378f2d3587211e5cd0dd45d0a4bb71da7611869 | [
"MIT"
] | null | null | null | libethereum/PeerNetwork.cpp | Donaldhan/ethereum | b378f2d3587211e5cd0dd45d0a4bb71da7611869 | [
"MIT"
] | null | null | null | /*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Foobar is distributed in the hope ... | 28.303571 | 223 | 0.617792 | Donaldhan |
f3b6b92f0b9704e1f35ae18a961dcb733ab2f86d | 618 | hh | C++ | vm/vm/main/cached/GRedToUnstable-implem-decl-after.hh | Ahzed11/mozart2 | 4806504b103e11be723e7813be8f69e4d85875cf | [
"BSD-2-Clause"
] | 379 | 2015-01-02T20:27:33.000Z | 2022-03-26T23:18:17.000Z | vm/vm/main/cached/GRedToUnstable-implem-decl-after.hh | Ahzed11/mozart2 | 4806504b103e11be723e7813be8f69e4d85875cf | [
"BSD-2-Clause"
] | 81 | 2015-01-08T13:18:52.000Z | 2021-12-21T14:02:21.000Z | vm/vm/main/cached/GRedToUnstable-implem-decl-after.hh | Ahzed11/mozart2 | 4806504b103e11be723e7813be8f69e4d85875cf | [
"BSD-2-Clause"
] | 75 | 2015-01-06T09:08:20.000Z | 2021-12-17T09:40:18.000Z | template <>
class TypeInfoOf<GRedToUnstable>: public GRedToUnstableBase {
static constexpr UUID uuid() {
return UUID();
}
public:
TypeInfoOf() : GRedToUnstableBase("GRedToUnstable", uuid(), false, false, false, sbTokenEq, 0) {}
static const TypeInfoOf<GRedToUnstable>* const instance() {
return &RawTyp... | 22.888889 | 99 | 0.713592 | Ahzed11 |
f3b72903a2ab96d28d631299ff0d683bd1b21e8a | 7,038 | cpp | C++ | test/storage/b_plus_tree_insert_test.cpp | tigert1998/bustub | 4b98b06457b85b109eb6267d208d913ab1ae28e0 | [
"MIT"
] | null | null | null | test/storage/b_plus_tree_insert_test.cpp | tigert1998/bustub | 4b98b06457b85b109eb6267d208d913ab1ae28e0 | [
"MIT"
] | null | null | null | test/storage/b_plus_tree_insert_test.cpp | tigert1998/bustub | 4b98b06457b85b109eb6267d208d913ab1ae28e0 | [
"MIT"
] | null | null | null | /**
* b_plus_tree_insert_test.cpp
*/
#include <algorithm>
#include <cstdio>
#include <memory>
#include <random>
#include "b_plus_tree_test_util.h" // NOLINT
#include "buffer/buffer_pool_manager.h"
#include "gtest/gtest.h"
#include "storage/index/b_plus_tree.h"
namespace bustub {
TEST(BPlusTreeTests, InsertTest1)... | 29.082645 | 102 | 0.654447 | tigert1998 |
f3b736eecf664d018ba1c9c0b7930ee23618b9f2 | 760 | cpp | C++ | Paladin/Templates/Sample FileDialog/Main.cpp | humdingerb/Paladin | ef42b060656833f2887241c809690b263ddf2852 | [
"MIT"
] | 45 | 2018-10-05T21:50:17.000Z | 2022-01-31T11:52:59.000Z | Paladin/Templates/Sample FileDialog/Main.cpp | humdingerb/Paladin | ef42b060656833f2887241c809690b263ddf2852 | [
"MIT"
] | 163 | 2018-10-01T23:52:12.000Z | 2022-02-15T18:05:58.000Z | Paladin/Templates/Sample FileDialog/Main.cpp | humdingerb/Paladin | ef42b060656833f2887241c809690b263ddf2852 | [
"MIT"
] | 9 | 2018-10-01T23:48:02.000Z | 2022-01-23T21:28:52.000Z | #include <Application.h>
#include <FilePanel.h>
#include <stdio.h>
class App : public BApplication
{
public:
App(void)
: BApplication("application/x-vnd.OpenFileDemo")
{
/* Empty */
}
void MessageReceived(BMessage *msg)
{
switch (msg->what)
{
case B_REFS_RECEIVED:
/* User selected "Open" */
... | 14.339623 | 67 | 0.606579 | humdingerb |
f3bc8163b378934f9907be0b8edd6a4b3e8bae6b | 965 | cpp | C++ | acmicpc.net/source/1652.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 7 | 2019-06-26T07:03:32.000Z | 2020-11-21T16:12:51.000Z | acmicpc.net/source/1652.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | null | null | null | acmicpc.net/source/1652.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 9 | 2019-02-28T03:34:54.000Z | 2020-12-18T03:02:40.000Z | // 1652. 누울 자리를 찾아라
// 2019.05.18
// 수학
#include<iostream>
#include<string>
using namespace std;
int main()
{
int n;
cin >> n;
string a[101];
for (int i = 0; i < n; i++)
{
cin >> a[i];
}
// 가로 검사
int horizontal = 0;
// 가로로 누울 수 있는 자리
for (int i = 0; i < n; i++)
{
int cnt = 0;
for (int j = 0; j < n;... | 12.371795 | 47 | 0.394819 | tdm1223 |
f3bd5b20ec0446fb8015597cde1648b4658eb18d | 1,428 | hh | C++ | unix/iumlapi/include/iumlapi/Session.hh | skind30/iuml-dumper | 258bf82f3d00f502e52fdee325f06a8637bc9842 | [
"Apache-2.0"
] | null | null | null | unix/iumlapi/include/iumlapi/Session.hh | skind30/iuml-dumper | 258bf82f3d00f502e52fdee325f06a8637bc9842 | [
"Apache-2.0"
] | null | null | null | unix/iumlapi/include/iumlapi/Session.hh | skind30/iuml-dumper | 258bf82f3d00f502e52fdee325f06a8637bc9842 | [
"Apache-2.0"
] | 4 | 2019-03-20T15:13:23.000Z | 2020-09-03T20:46:04.000Z | //
// Filename : Session.hh
//
// UK Crown Copyright (c) 2005. All Rights Reserved
//
#ifndef iUMLAPI_Session_HH
#define iUMLAPI_Session_HH
#include "iumlapi/ORG_Database.hh"
#include <map>
namespace iUMLAPI
{
class Session
{
public:
Session ( const std::string& name, bool writeable = false );
... | 23.032258 | 85 | 0.630952 | skind30 |
f3bd6132629358c967e4bc89a8acddb4b6324f73 | 6,143 | cpp | C++ | apps/resize/resize.cpp | BachiLi/distributed-halide | e625611a6a0b1b82c6735a34bcb9d11fe60a5742 | [
"MIT"
] | 2 | 2020-09-24T17:03:37.000Z | 2022-02-03T10:48:14.000Z | apps/resize/resize.cpp | BachiLi/distributed-halide | e625611a6a0b1b82c6735a34bcb9d11fe60a5742 | [
"MIT"
] | null | null | null | apps/resize/resize.cpp | BachiLi/distributed-halide | e625611a6a0b1b82c6735a34bcb9d11fe60a5742 | [
"MIT"
] | 1 | 2020-10-21T07:42:05.000Z | 2020-10-21T07:42:05.000Z | #include "Halide.h"
using namespace Halide;
#include <iostream>
#include <limits>
#include <halide_image_io.h>
#include <benchmark.h>
enum InterpolationType {
BOX, LINEAR, CUBIC, LANCZOS
};
Expr kernel_box(Expr x) {
Expr xx = abs(x);
return select(xx <= 0.5f, 1.0f, 0.0f);
}
Expr kernel_linear(Expr x) ... | 31.341837 | 108 | 0.560313 | BachiLi |
f3bd691beabd9f220d18f3e23ef7a42eaebcdfd6 | 3,551 | cpp | C++ | src/network/ssl_cert.cpp | skunkforce/kitchensink | 7e453ac65182691af32aa3e8b19f72ceac0e2329 | [
"BSD-2-Clause"
] | null | null | null | src/network/ssl_cert.cpp | skunkforce/kitchensink | 7e453ac65182691af32aa3e8b19f72ceac0e2329 | [
"BSD-2-Clause"
] | null | null | null | src/network/ssl_cert.cpp | skunkforce/kitchensink | 7e453ac65182691af32aa3e8b19f72ceac0e2329 | [
"BSD-2-Clause"
] | null | null | null | /***********************************************************************
*
* Copyright (c) 2012-2022 Barbara Geller
* Copyright (c) 2012-2022 Ansel Sermersheim
* Copyright (c) 2015 The Qt Company Ltd.
*
* This file is part of KitchenSink.
*
* KitchenSink is free software, released under the BSD 2-Clause license.
* For ... | 38.182796 | 123 | 0.630245 | skunkforce |
f3bf6bc7129942759c07e6d1ac18277ca7e95c9c | 2,851 | hpp | C++ | include/musicpp/generators/mix.hpp | lebel-louisjacob/musicpp | 4cfd40afa529025e303fe20bff0ed44fec57acc7 | [
"MIT"
] | 2 | 2022-02-14T13:02:47.000Z | 2022-02-14T13:02:49.000Z | include/musicpp/generators/mix.hpp | lebel-louisjacob/musicpp | 4cfd40afa529025e303fe20bff0ed44fec57acc7 | [
"MIT"
] | 1 | 2022-02-02T22:24:16.000Z | 2022-02-02T22:24:16.000Z | include/musicpp/generators/mix.hpp | lebel-louisjacob/musicpp | 4cfd40afa529025e303fe20bff0ed44fec57acc7 | [
"MIT"
] | null | null | null | #ifndef MPP_GENERATORS_MIX_HPP
#define MPP_GENERATORS_MIX_HPP
#include <musicpp/generator.hpp>
#include <musicpp/mixer.hpp>
#include <musicpp/utils/tuple_foreach.hpp>
#include <vector>
#include <tuple>
namespace mpp
{
template <typename... Inputs>
struct Mix : public std::tuple<Inputs...>
{
const... | 31.32967 | 116 | 0.52087 | lebel-louisjacob |
f3bfa71ad4157d98f53bb0def2a46de9ee3abe48 | 1,276 | cc | C++ | lib/tcp_helpers/tcp_segment.cc | MUCZ/Starfish | 4960b7f6001264731c1aea0b8171d187f5ec8ed8 | [
"Apache-2.0"
] | 8 | 2021-02-22T01:10:06.000Z | 2022-02-28T13:30:26.000Z | lib/tcp_helpers/tcp_segment.cc | MUCZ/Starfish | 4960b7f6001264731c1aea0b8171d187f5ec8ed8 | [
"Apache-2.0"
] | null | null | null | lib/tcp_helpers/tcp_segment.cc | MUCZ/Starfish | 4960b7f6001264731c1aea0b8171d187f5ec8ed8 | [
"Apache-2.0"
] | 7 | 2021-02-22T01:10:16.000Z | 2022-02-18T11:49:15.000Z | #include "tcp_segment.hh"
#include "parser.hh"
#include "util.hh"
#include <variant>
using namespace std;
//! \param[in] buffer string/Buffer to be parsed
//! \param[in] datagram_layer_checksum pseudo-checksum from the lower-layer protocol
ParseResult TCPSegment::parse(const Buffer buffer, const uint32_t datagram_l... | 27.73913 | 92 | 0.710031 | MUCZ |
f3c1c85363d60cf28635e203f7dcde4bd2e30cd7 | 628 | hpp | C++ | src/include/guinsoodb/common/enums/index_type.hpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | 1 | 2021-04-22T05:41:54.000Z | 2021-04-22T05:41:54.000Z | src/include/guinsoodb/common/enums/index_type.hpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | null | null | null | src/include/guinsoodb/common/enums/index_type.hpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | 1 | 2021-12-12T10:24:57.000Z | 2021-12-12T10:24:57.000Z | //===----------------------------------------------------------------------===//
// GuinsooDB
//
// guinsoodb/common/enums/index_type.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "guinsoodb/common/constants.hpp"
namespace gui... | 26.166667 | 80 | 0.31051 | GuinsooLab |
f3c3e632fda892b50534f30c82e10c0f5ac7dc46 | 4,185 | hpp | C++ | Doxa/Algorithm.hpp | paulbauriegel/Doxa | 58abb90173c4ab12b0b4c1ad7a675e116cda615d | [
"CC0-1.0"
] | 109 | 2017-02-24T18:26:35.000Z | 2022-03-23T02:42:45.000Z | Doxa/Algorithm.hpp | paulbauriegel/Doxa | 58abb90173c4ab12b0b4c1ad7a675e116cda615d | [
"CC0-1.0"
] | 14 | 2018-10-02T08:35:09.000Z | 2021-10-10T05:13:11.000Z | Doxa/Algorithm.hpp | paulbauriegel/Doxa | 58abb90173c4ab12b0b4c1ad7a675e116cda615d | [
"CC0-1.0"
] | 28 | 2018-05-08T09:08:57.000Z | 2022-01-21T07:04:29.000Z | // Δoxa Binarization Framework
// License: CC0 2018, "Freely you have received; freely give." - Matt 10:8
#ifndef ALGORITHMS_HPP
#define ALGORITHMS_HPP
#include "Image.hpp"
#include "Parameters.hpp"
#include "Palette.hpp"
namespace Doxa
{
/// <summary>
/// Algorithm Interface - Useful if you want to dynamically ins... | 34.586777 | 111 | 0.726165 | paulbauriegel |
f3c4c728be547dfe953ca06157c248ac543cea25 | 7,844 | cpp | C++ | sources/VS/ThirdParty/wxWidgets/src/qt/filedlg.cpp | Sasha7b9Work/S8-53M2 | fdc9cb5e3feb8055fd3f7885a6f6362f62ff6b6e | [
"MIT"
] | null | null | null | sources/VS/ThirdParty/wxWidgets/src/qt/filedlg.cpp | Sasha7b9Work/S8-53M2 | fdc9cb5e3feb8055fd3f7885a6f6362f62ff6b6e | [
"MIT"
] | 4 | 2022-01-23T02:05:42.000Z | 2022-01-26T18:03:34.000Z | sources/VS/ThirdParty/wxWidgets/src/qt/filedlg.cpp | Sasha7b9Work/S8-53M2 | fdc9cb5e3feb8055fd3f7885a6f6362f62ff6b6e | [
"MIT"
] | 1 | 2020-03-08T18:55:21.000Z | 2020-03-08T18:55:21.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: src/qt/filedlg.cpp
// Author: Sean D'Epagnier
// Copyright: (c) 2014 Sean D'Epagnier
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// For compilers that... | 30.169231 | 117 | 0.598419 | Sasha7b9Work |
f3c67d7fc8252b111063bcce733ff7dc7cab3517 | 3,099 | cc | C++ | net/connection.cc | freddierice/ssync | 57a99888d14b6c683d4816cb954b5d7f0b0aff9a | [
"MIT"
] | null | null | null | net/connection.cc | freddierice/ssync | 57a99888d14b6c683d4816cb954b5d7f0b0aff9a | [
"MIT"
] | null | null | null | net/connection.cc | freddierice/ssync | 57a99888d14b6c683d4816cb954b5d7f0b0aff9a | [
"MIT"
] | null | null | null | #include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include "net/connection.h"
#include "util/exception.h"
#include "util/io.h"
namespace ssync {
namespace net {
Connection::Connection(int fd) : Connection(fd, fd) {}
Connection::Connection(int read_fd, int write_fd) : m_read_fd(read_fd), m_write_fd... | 26.947826 | 140 | 0.689255 | freddierice |
f3c73722ff8b300e4b0909ed6d3d259b1a7ee62e | 4,097 | cpp | C++ | src/kalman_filter.cpp | Hamidreza3252/Kalman-Filter | 4515c39990ff412b624e9be7798b47e9028c31d0 | [
"MIT"
] | null | null | null | src/kalman_filter.cpp | Hamidreza3252/Kalman-Filter | 4515c39990ff412b624e9be7798b47e9028c31d0 | [
"MIT"
] | null | null | null | src/kalman_filter.cpp | Hamidreza3252/Kalman-Filter | 4515c39990ff412b624e9be7798b47e9028c31d0 | [
"MIT"
] | null | null | null | #include "kalman_filter.h"
using Eigen::MatrixXd;
using Eigen::VectorXd;
/*
* Please note that the Eigen library does not initialize
* VectorXd or MatrixXd objects with zeros upon creation.
*/
KalmanFilter::KalmanFilter()
{
}
KalmanFilter::~KalmanFilter()
{
}
// void KalmanFilter::init(const Eigen::MatrixXd... | 29.905109 | 128 | 0.67464 | Hamidreza3252 |
f3cb8db287fb044b73e5979f6c2347b042d81ceb | 1,679 | hpp | C++ | impl/jamtemplate/common/game_base.hpp | runvs/Gemga | 91cd5d6d60ae8369a5a5674efebc6eb84c510a10 | [
"CC0-1.0"
] | null | null | null | impl/jamtemplate/common/game_base.hpp | runvs/Gemga | 91cd5d6d60ae8369a5a5674efebc6eb84c510a10 | [
"CC0-1.0"
] | null | null | null | impl/jamtemplate/common/game_base.hpp | runvs/Gemga | 91cd5d6d60ae8369a5a5674efebc6eb84c510a10 | [
"CC0-1.0"
] | null | null | null | #ifndef GUARD_JAMTEMPLATE_GAMEBASE_HPP_GUARD
#define GUARD_JAMTEMPLATE_GAMEBASE_HPP_GUARD
#include "color.hpp"
#include "game_interface.hpp"
#include "game_loop_interface.hpp"
#include "game_object.hpp"
#include "music_player_interface.hpp"
#include "render_target.hpp"
#include "vector.hpp"
#include <chrono>
#include... | 29.982143 | 93 | 0.732579 | runvs |
f3cc96d0db015b38babf577b42c7dd6d33827e28 | 16,726 | cpp | C++ | Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessDownsample.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessDownsample.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessDownsample.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
PostProcessDownsample.cpp: Post processing down sample implementation.
=============================================================================*/
#include "PostProcess/Pos... | 36.76044 | 204 | 0.782733 | windystrife |
f3cdd23ddff19cf38783a893f9c60a6bc311af9f | 1,378 | cc | C++ | elements/ip6/getip6address.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 129 | 2015-10-08T14:38:35.000Z | 2022-03-06T14:54:44.000Z | elements/ip6/getip6address.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 241 | 2016-02-17T16:17:58.000Z | 2022-03-15T09:08:33.000Z | elements/ip6/getip6address.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 61 | 2015-12-17T01:46:58.000Z | 2022-02-07T22:25:19.000Z | /*
* getip6address.{cc,hh} -- element sets IP6 destination annotation from
* packet header
* Peilei Fan
*
* Copyright (c) 1999-2000 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "S... | 26.5 | 77 | 0.751089 | MacWR |
f3d185e8dfd0eb73ce6bf1575b8799d28004fc9d | 1,654 | cpp | C++ | Practice/2018/2018.8.6/BZOJ1078.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.8.6/BZOJ1078.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.8.6/BZOJ1078.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=100;
const int inf=2147483647;
int n,id;
int Size[maxN],Depth[maxN];
int Ls[maxN],Rs[maxN],Fa[maxN];
int Seq[maxN];
void d... | 20.170732 | 68 | 0.555623 | SYCstudio |
f3d3471508bd076a26e68a38f816e3978ae489e2 | 408 | cpp | C++ | 35.Search_Insert_Position/solution_linearSearch.cpp | bngit/leetcode-practices | 5324aceac708d9b214a7d98d489b8d5dc55c89e9 | [
"MIT"
] | null | null | null | 35.Search_Insert_Position/solution_linearSearch.cpp | bngit/leetcode-practices | 5324aceac708d9b214a7d98d489b8d5dc55c89e9 | [
"MIT"
] | null | null | null | 35.Search_Insert_Position/solution_linearSearch.cpp | bngit/leetcode-practices | 5324aceac708d9b214a7d98d489b8d5dc55c89e9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdlib>
#include <vector>
#include <string>
#include <cassert>
#include <algorithm>
#include <sstream>
using namespace std;
class Solution {
public:
int searchInsert(vector<int> &nums, int target) {
for (auto i = 0; i < nums.size(); ++i) {
if (nums[i] >= target) ... | 19.428571 | 53 | 0.551471 | bngit |
f3d510d36d0567a4e39623b3943964d51a147ae8 | 4,827 | cpp | C++ | src/intel/compiler/brw_fs_dead_code_eliminate.cpp | PWN-Hunter/mesa3d | be12e189989e3476d7c9d40e1c0c3a35143ee51a | [
"MIT"
] | null | null | null | src/intel/compiler/brw_fs_dead_code_eliminate.cpp | PWN-Hunter/mesa3d | be12e189989e3476d7c9d40e1c0c3a35143ee51a | [
"MIT"
] | null | null | null | src/intel/compiler/brw_fs_dead_code_eliminate.cpp | PWN-Hunter/mesa3d | be12e189989e3476d7c9d40e1c0c3a35143ee51a | [
"MIT"
] | null | null | null | /*
* Copyright © 2014 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | 32.395973 | 80 | 0.627305 | PWN-Hunter |
f3d842f65819ab985106ec3b5d281537b2d34590 | 246 | hpp | C++ | tlab/include/tlab/tlab.hpp | gwonhyeong/tlab | f84963f2636fdb830ab300b92ec1d8395ce2da58 | [
"MIT"
] | null | null | null | tlab/include/tlab/tlab.hpp | gwonhyeong/tlab | f84963f2636fdb830ab300b92ec1d8395ce2da58 | [
"MIT"
] | null | null | null | tlab/include/tlab/tlab.hpp | gwonhyeong/tlab | f84963f2636fdb830ab300b92ec1d8395ce2da58 | [
"MIT"
] | null | null | null | /**
* @file tlab.hpp
* @author ghtak (gwonhyeong.tak@gmail.com)
* @brief
* @version 0.1
* @date 2019-07-23
*
* @copyright Copyright (c) 2019
*
*/
#ifndef __tlab_h__
#define __tlab_h__
namespace tlab{
int interest(void);
}
#endif | 13.666667 | 43 | 0.638211 | gwonhyeong |
f3db294d7ebf19a0c0ee6d430ae44ca910983695 | 6,709 | cpp | C++ | ecm/src/v20190719/model/TaskOutput.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | ecm/src/v20190719/model/TaskOutput.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | ecm/src/v20190719/model/TaskOutput.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 26.623016 | 132 | 0.669697 | sinjoywong |
f3dc95d5750808436a83faaf0c4e22ad335b6ae0 | 1,859 | cpp | C++ | tizen/MapsWithMe/src/Constants.cpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 2 | 2019-01-24T15:36:20.000Z | 2019-12-26T10:03:48.000Z | tizen/MapsWithMe/src/Constants.cpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 13 | 2015-09-28T13:59:23.000Z | 2015-10-08T20:12:45.000Z | tizen/MapsWithMe/src/Constants.cpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 1 | 2019-08-09T21:31:29.000Z | 2019-08-09T21:31:29.000Z | #include "Constants.hpp"
using namespace Tizen::Graphics;
namespace consts
{
Color const white = Color(0xFF,0xFF,0xFF);
Color const gray = Color(0xB0,0xB0,0xB0);
Color const green = Color(21, 199, 131);
Color const blue = Color(0, 186, 255);
Color const black = Color(0x00,0x00,0x00);
Color const red = Color(0xFF,0x00... | 34.425926 | 103 | 0.757934 | bowlofstew |
f3dcab407e224e528b67592f3703bc07b2d5e31c | 673 | cpp | C++ | csf_workspace/css/src/core/system/attribute/csf_attribute_exception_critical.cpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | 2 | 2019-12-17T13:16:48.000Z | 2019-12-17T13:16:51.000Z | csf_workspace/css/src/core/system/attribute/csf_attribute_exception_critical.cpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | null | null | null | csf_workspace/css/src/core/system/attribute/csf_attribute_exception_critical.cpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
*
*Copyright: armuxinxian@aliyun.com
*
*File name: csf_attribute_exception_critical.hpp
*
*Author: Administrator
*
*Version: 1.0
*
*Date: 05-7月-2018 20:09:27
*
*Description: Class(csf_attribute_exception_critical)
*
*Others:
*
*History:
*... | 20.393939 | 81 | 0.606241 | Kitty-Kitty |
f3e12bb767c7a7fafa65e3c0f1ef8cd056b6ff76 | 851 | cpp | C++ | src-ux/nosync/os/ux/socket-connections-bytes-io-acceptor.cpp | zbigniew-chyla/libnosync | 28d024047bcb38a90310b81f1e35d7b5c465a83a | [
"BSD-3-Clause"
] | 1 | 2018-05-07T09:09:11.000Z | 2018-05-07T09:09:11.000Z | src-ux/nosync/os/ux/socket-connections-bytes-io-acceptor.cpp | zbigniew-chyla/libnosync | 28d024047bcb38a90310b81f1e35d7b5c465a83a | [
"BSD-3-Clause"
] | null | null | null | src-ux/nosync/os/ux/socket-connections-bytes-io-acceptor.cpp | zbigniew-chyla/libnosync | 28d024047bcb38a90310b81f1e35d7b5c465a83a | [
"BSD-3-Clause"
] | null | null | null | // This file is part of libnosync library. See LICENSE file for license details.
#include <nosync/os/ux/fd-bytes-io.h>
#include <nosync/os/ux/socket-connections-bytes-io-acceptor.h>
#include <nosync/os/ux/socket-connections-fd-acceptor.h>
#include <utility>
using std::function;
using std::move;
using std::shared_ptr;
... | 30.392857 | 81 | 0.745006 | zbigniew-chyla |
f3e16e4ed6254954de8e2ea53fb5432237aa6c92 | 5,539 | cpp | C++ | src/Functions/bitShiftRight.cpp | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 15,577 | 2019-09-23T11:57:53.000Z | 2022-03-31T18:21:48.000Z | src/Functions/bitShiftRight.cpp | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 16,476 | 2019-09-23T11:47:00.000Z | 2022-03-31T23:06:01.000Z | src/Functions/bitShiftRight.cpp | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 3,633 | 2019-09-23T12:18:28.000Z | 2022-03-31T15:55:48.000Z | #include <Functions/FunctionFactory.h>
#include <Functions/FunctionBinaryArithmetic.h>
#include <Common/hex.h>
namespace DB
{
namespace ErrorCodes
{
extern const int NOT_IMPLEMENTED;
extern const int LOGICAL_ERROR;
}
namespace
{
template <typename A, typename B>
struct BitShiftRightImpl
{
using ResultTyp... | 37.680272 | 227 | 0.623578 | pdv-ru |
f3e46e74881cc9b7c8472817a8398373073518b8 | 3,628 | cpp | C++ | Dev/FontGenerator/FontGeneratorCore/PngGenerator.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 37 | 2015-07-12T14:21:03.000Z | 2020-10-17T03:08:17.000Z | Dev/FontGenerator/FontGeneratorCore/PngGenerator.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 91 | 2015-06-14T10:47:22.000Z | 2020-06-29T18:05:21.000Z | Dev/FontGenerator/FontGeneratorCore/PngGenerator.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 14 | 2015-07-13T04:15:20.000Z | 2021-09-30T01:34:51.000Z |
#include <iostream>
#include <sstream>
#include <fstream>
#include "PngGenerator.h"
#include "Rendering/ImageBuffer.h"
#include "Utility.h"
#include <AltseedRHI.h>
#ifdef _WIN64
#if _DEBUG
#pragma comment(lib,"x64/Debug/freetype.lib")
#pragma comment(lib,"x64/Debug/asd_common.lib")
#pragma comment(lib,"x64/Debug/as... | 24.02649 | 91 | 0.715546 | GCLemon |
f3e4e208fe00e58a9635345b85493d366bc74931 | 458 | cpp | C++ | common/src/kdf/kdf1/kdf1.cpp | ane-community/botan-crypto-ane | 71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74 | [
"MIT"
] | 1 | 2018-03-09T20:21:47.000Z | 2018-03-09T20:21:47.000Z | common/src/kdf/kdf1/kdf1.cpp | ane-community/botan-crypto-ane | 71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74 | [
"MIT"
] | null | null | null | common/src/kdf/kdf1/kdf1.cpp | ane-community/botan-crypto-ane | 71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74 | [
"MIT"
] | 1 | 2020-03-05T23:42:00.000Z | 2020-03-05T23:42:00.000Z | /*
* KDF1
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/kdf1.h>
namespace Botan {
/*
* KDF1 Key Derivation Mechanism
*/
SecureVector<byte> KDF1::derive(size_t,
const byte secret[], size_t secret_len,
... | 18.32 | 71 | 0.580786 | ane-community |
f3e602556dc07b7ea437391e6bbd9ef84665130b | 27,519 | cc | C++ | src/kudu/tserver/heartbeater.cc | toddlipcon/kudu | e5ee5e08c68c9c661ce676ad629b4ad3abf57def | [
"Apache-2.0"
] | 6 | 2020-05-12T02:18:48.000Z | 2021-04-15T20:39:21.000Z | src/kudu/tserver/heartbeater.cc | toddlipcon/kudu | e5ee5e08c68c9c661ce676ad629b4ad3abf57def | [
"Apache-2.0"
] | null | null | null | src/kudu/tserver/heartbeater.cc | toddlipcon/kudu | e5ee5e08c68c9c661ce676ad629b4ad3abf57def | [
"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.339213 | 97 | 0.707329 | toddlipcon |
f3e67bcc99af3578c85899010489b651df0ac53b | 2,162 | hpp | C++ | include/networkit/distance/DynSSSP.hpp | clintg6/networkit | b4cba9a82436cd7ebc139c1a612f593fca9892c6 | [
"MIT"
] | null | null | null | include/networkit/distance/DynSSSP.hpp | clintg6/networkit | b4cba9a82436cd7ebc139c1a612f593fca9892c6 | [
"MIT"
] | null | null | null | include/networkit/distance/DynSSSP.hpp | clintg6/networkit | b4cba9a82436cd7ebc139c1a612f593fca9892c6 | [
"MIT"
] | null | null | null | /*
* DynSSSP.h
*
* Created on: 17.07.2014
* Author: cls, ebergamini
*/
#ifndef DYNSSSP_H_
#define DYNSSSP_H_
#include <set>
#include "../graph/Graph.hpp"
#include "../dynamics/GraphEvent.hpp"
#include "../base/DynAlgorithm.hpp"
#include "SSSP.hpp"
namespace NetworKit {
/**
* @ingroup distance
* Interf... | 24.568182 | 92 | 0.659574 | clintg6 |
f3e67c82fb3151c54498b26c631c0785084c8503 | 3,446 | cpp | C++ | Tools/Buffer.cpp | triplewz/MP-SPDZ | a858e5b440902ec25dbb97c555eef35e12fbf69c | [
"BSD-2-Clause"
] | null | null | null | Tools/Buffer.cpp | triplewz/MP-SPDZ | a858e5b440902ec25dbb97c555eef35e12fbf69c | [
"BSD-2-Clause"
] | null | null | null | Tools/Buffer.cpp | triplewz/MP-SPDZ | a858e5b440902ec25dbb97c555eef35e12fbf69c | [
"BSD-2-Clause"
] | null | null | null | /*
* Buffer.cpp
*
*/
#include "Tools/Buffer.h"
#include "Processor/BaseMachine.h"
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
bool BufferBase::rewind = false;
void BufferBase::setup(ifstream* f, int length, const string& filename,
const char* type, const string& field)
{
file = ... | 22.671053 | 71 | 0.557748 | triplewz |
f3e6a97c187fd25be42a3f386eb08088449b2ccc | 3,348 | hpp | C++ | ThirdParty-mod/java2cpp/org/apache/http/UnsupportedHttpVersionException.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | 1 | 2019-04-03T01:53:28.000Z | 2019-04-03T01:53:28.000Z | ThirdParty-mod/java2cpp/org/apache/http/UnsupportedHttpVersionException.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | ThirdParty-mod/java2cpp/org/apache/http/UnsupportedHttpVersionException.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: org.apache.http.UnsupportedHttpVersionException
================================================================================*/
#ifnde... | 31.28972 | 127 | 0.745221 | kakashidinho |
f3e88d6ebc212dd0b9f2d59a2012d18bcc6122ef | 4,034 | hpp | C++ | include/universal/native/nonconstexpr/msvc_long_double.hpp | Afonso-2403/universal | bddd1489de6476ee60bd45e473b918b6c7a4bce6 | [
"MIT"
] | null | null | null | include/universal/native/nonconstexpr/msvc_long_double.hpp | Afonso-2403/universal | bddd1489de6476ee60bd45e473b918b6c7a4bce6 | [
"MIT"
] | null | null | null | include/universal/native/nonconstexpr/msvc_long_double.hpp | Afonso-2403/universal | bddd1489de6476ee60bd45e473b918b6c7a4bce6 | [
"MIT"
] | null | null | null | #pragma once
// msvc_long_double.hpp: nonconstexpr implementation of IEEE-754 long double manipulators
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#if defined(_MSC_VER)
/* Microsoft Visual St... | 39.940594 | 134 | 0.705007 | Afonso-2403 |
f3e97ec15f36d087a6cd0887de847d2fbd78d8c8 | 5,183 | cpp | C++ | test/tst_buffer_io.cpp | demonatic/Rinx | 6e89150ea1ee22a90534c682e32923a30ed044e8 | [
"MIT"
] | 3 | 2020-05-21T09:23:59.000Z | 2021-03-17T09:17:55.000Z | test/tst_buffer_io.cpp | demonatic/Rinx | 6e89150ea1ee22a90534c682e32923a30ed044e8 | [
"MIT"
] | null | null | null | test/tst_buffer_io.cpp | demonatic/Rinx | 6e89150ea1ee22a90534c682e32923a30ed044e8 | [
"MIT"
] | null | null | null | #ifndef TST_BUFFER_TEST_H
#define TST_BUFFER_TEST_H
#include <gtest/gtest.h>
#include <gmock/gmock-matchers.h>
#include <fstream>
#include "Rinx/Network/Buffer.h"
#include <sys/fcntl.h>
using namespace testing;
using namespace Rinx;
TEST(sock_rw_test, testset)
{
std::unique_ptr<ChainBuffer> buf=ChainBuffer::crea... | 33.224359 | 105 | 0.648466 | demonatic |