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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
80df7ac14ab2c88b706b8ac64d67c39a28147969 | 4,992 | cpp | C++ | Userland/Applications/SystemMonitor/MemoryStatsWidget.cpp | serenityosrocks/serenity | 75d0f2c7030cc3c14833510e5c25304d1f311f8b | [
"BSD-2-Clause"
] | null | null | null | Userland/Applications/SystemMonitor/MemoryStatsWidget.cpp | serenityosrocks/serenity | 75d0f2c7030cc3c14833510e5c25304d1f311f8b | [
"BSD-2-Clause"
] | null | null | null | Userland/Applications/SystemMonitor/MemoryStatsWidget.cpp | serenityosrocks/serenity | 75d0f2c7030cc3c14833510e5c25304d1f311f8b | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "MemoryStatsWidget.h"
#include "GraphWidget.h"
#include <AK/JsonObject.h>
#include <AK/NumberFormat.h>
#include <LibCore/File.h>
#include <LibGU... | 46.654206 | 206 | 0.765825 | serenityosrocks |
80e28e222c022389b78ee3fbec4ed45a0a7732e7 | 635 | hpp | C++ | include/Scene.hpp | KPO-2020-2021/zad5_1-iliubin7 | 0d3d3829830974863d25b8f5f91e5ace6ccbeaca | [
"Unlicense"
] | null | null | null | include/Scene.hpp | KPO-2020-2021/zad5_1-iliubin7 | 0d3d3829830974863d25b8f5f91e5ace6ccbeaca | [
"Unlicense"
] | null | null | null | include/Scene.hpp | KPO-2020-2021/zad5_1-iliubin7 | 0d3d3829830974863d25b8f5f91e5ace6ccbeaca | [
"Unlicense"
] | null | null | null | #pragma once
#include <iostream>
#include <iomanip>
#include <fstream>
#include "Block.hpp"
#include "lacze_do_gnuplota.hpp"
#include "Dron.hpp"
#include "Surface.hpp"
#define N 2
/*!
* \file Scene.hpp
*
*/
/*! \class Scene
*
*/
class Scene
{
PzG::LaczeDoGNUPlota Lacze;
/*!
* Tablica dronow
*/
Dron *tab[N];
/... | 12.45098 | 42 | 0.637795 | KPO-2020-2021 |
80e43fe8997e8f07dc6a0cb3f95b0cc271451e29 | 15,797 | cpp | C++ | Funambol/source/common/updater/Updater.cpp | wbitos/funambol | 29f76caf9cee51d51ddf5318613411cb1cfb8e4e | [
"MIT"
] | null | null | null | Funambol/source/common/updater/Updater.cpp | wbitos/funambol | 29f76caf9cee51d51ddf5318613411cb1cfb8e4e | [
"MIT"
] | null | null | null | Funambol/source/common/updater/Updater.cpp | wbitos/funambol | 29f76caf9cee51d51ddf5318613411cb1cfb8e4e | [
"MIT"
] | null | null | null | /*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2008 Funambol, 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 with the addition of th... | 32.571134 | 100 | 0.611445 | wbitos |
80e6aaaeb9ab390119359597504ff17e10b1f299 | 2,510 | cpp | C++ | hsp3dish/gameplay/encoder/src/GPBDecoder.cpp | sharkpp/openhsp | 0d412fd8f79a6ccae1d33c13addc06fb623fb1fe | [
"BSD-3-Clause"
] | 1 | 2021-06-17T02:16:22.000Z | 2021-06-17T02:16:22.000Z | hsp3dish/gameplay/encoder/src/GPBDecoder.cpp | sharkpp/openhsp | 0d412fd8f79a6ccae1d33c13addc06fb623fb1fe | [
"BSD-3-Clause"
] | null | null | null | hsp3dish/gameplay/encoder/src/GPBDecoder.cpp | sharkpp/openhsp | 0d412fd8f79a6ccae1d33c13addc06fb623fb1fe | [
"BSD-3-Clause"
] | 1 | 2021-04-06T14:58:08.000Z | 2021-04-06T14:58:08.000Z | #include "Base.h"
#include "GPBDecoder.h"
namespace gameplay
{
GPBDecoder::GPBDecoder(void) : _file(NULL), _outFile(NULL)
{
}
GPBDecoder::~GPBDecoder(void)
{
}
void GPBDecoder::readBinary(const std::string& filepath)
{
// open files
_file = fopen(filepath.c_str(), "rb");
std::string ... | 21.092437 | 64 | 0.558566 | sharkpp |
80e7cc1ac825a96eea2159f5386705283d61584f | 3,217 | hpp | C++ | include/kuafu.hpp | jetd1/kuafu | 819d338682f3e889710731cf7ca16f790b54568f | [
"MIT"
] | 17 | 2021-09-03T03:06:48.000Z | 2022-03-27T04:02:14.000Z | include/kuafu.hpp | jetd1/kuafu | 819d338682f3e889710731cf7ca16f790b54568f | [
"MIT"
] | null | null | null | include/kuafu.hpp | jetd1/kuafu | 819d338682f3e889710731cf7ca16f790b54568f | [
"MIT"
] | null | null | null | //
// Modified by Jet <i@jetd.me> based on Rayex source code.
// Original copyright notice:
//
// Copyright (c) 2021 Christian Hilpert
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the author be held liable for any damages
// arising from the use of this software.... | 33.510417 | 109 | 0.650295 | jetd1 |
80e89101fcc04580ac2ae879e5e937c6b370b8b6 | 2,200 | cpp | C++ | binary-tree/lowest-common-ancestor.cpp | Strider-7/code | e096c0d0633b53a07bf3f295cb3bd685b694d4ce | [
"MIT"
] | null | null | null | binary-tree/lowest-common-ancestor.cpp | Strider-7/code | e096c0d0633b53a07bf3f295cb3bd685b694d4ce | [
"MIT"
] | null | null | null | binary-tree/lowest-common-ancestor.cpp | Strider-7/code | e096c0d0633b53a07bf3f295cb3bd685b694d4ce | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
struct Node
{
int data;
Node *left;
Node *right;
Node(int x)
{
data = x;
left = nullptr;
right = nullptr;
}
};
bool findPath(Node *root, vector<Node *> &path, int k)
{
// base case
if (root == NU... | 23.157895 | 69 | 0.529545 | Strider-7 |
80e895d6a17ec1316226e4ffe42b6f54534f6c4c | 858 | cpp | C++ | solution_3.5.cpp | rodsanta/ccup5 | 059ce48e2b0b12994e8209b5d163141f5dd86639 | [
"MIT"
] | null | null | null | solution_3.5.cpp | rodsanta/ccup5 | 059ce48e2b0b12994e8209b5d163141f5dd86639 | [
"MIT"
] | null | null | null | solution_3.5.cpp | rodsanta/ccup5 | 059ce48e2b0b12994e8209b5d163141f5dd86639 | [
"MIT"
] | null | null | null | #include <stack>
#include <iostream>
using namespace std;
template<typename T>
class my_queue
{
stack<T> queue;
stack<T> helper;
public:
my_queue<T>& push(T);
T pop();
int size() {return queue.size();}
};
template<typename T>
my_queue<T>& my_queue<T>::push(T t)
{
int s = queue.size();
for... | 15.888889 | 46 | 0.517483 | rodsanta |
80f3e62909ad0537d8edfaefba4bb4f51c54e6cb | 4,735 | hpp | C++ | include/MasterServer/MessageHandler_--c__DisplayClass73_0_1.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/MasterServer/MessageHandler_--c__DisplayClass73_0_1.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/MasterServer/MessageHandler_--c__DisplayClass73_0_1.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: MasterServer.MessageH... | 57.743902 | 215 | 0.736431 | marksteward |
80f458d4b27de14166b3be906f4430c4c515a84b | 1,838 | cpp | C++ | src/cscope.cpp | holdforther/pasc | 5652a859bd638132c61d12884d49c6e0f91628f1 | [
"MIT"
] | null | null | null | src/cscope.cpp | holdforther/pasc | 5652a859bd638132c61d12884d49c6e0f91628f1 | [
"MIT"
] | null | null | null | src/cscope.cpp | holdforther/pasc | 5652a859bd638132c61d12884d49c6e0f91628f1 | [
"MIT"
] | null | null | null | #include "cscope.hpp"
#include "cvariant.hpp"
#include "standard_types.hpp"
#include <cctype>
#include <ostream>
#include <string>
#include <iostream>
namespace pasc {
CScope::CScope(scope_ptr &parent_scope) {
this->parent_scope = parent_scope;
if (this->parent_scope) {
depth = parent_... | 27.848485 | 91 | 0.541893 | holdforther |
80f84550677cc641f6ed2d293dd6d48028c266ec | 12,260 | hpp | C++ | external/nvvkpp/pipeline_vkpp.hpp | FelixFifi/rtx-pathtracer | 9bf5616c47880e8fa536a822b39b9661bb666352 | [
"Zlib",
"Apache-2.0",
"MIT"
] | 5 | 2021-04-18T15:49:10.000Z | 2021-09-15T10:23:44.000Z | external/nvvkpp/pipeline_vkpp.hpp | FelixFifi/rtx-pathtracer | 9bf5616c47880e8fa536a822b39b9661bb666352 | [
"Zlib",
"Apache-2.0",
"MIT"
] | 1 | 2021-12-27T12:11:53.000Z | 2021-12-27T12:11:53.000Z | external/nvvkpp/pipeline_vkpp.hpp | FelixFifi/rtx-pathtracer | 9bf5616c47880e8fa536a822b39b9661bb666352 | [
"Zlib",
"Apache-2.0",
"MIT"
] | 2 | 2021-06-18T12:27:36.000Z | 2021-12-26T22:06:44.000Z | /* Copyright (c) 2014-2018, NVIDIA CORPORATION. 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 ... | 42.867133 | 424 | 0.641599 | FelixFifi |
80f942da574a1f836f39636122c7b9cece9da5db | 2,248 | cc | C++ | src/libxtp/molecule.cc | mbarbry/xtp | e79828209d11ec25bf1750ab75499ecf50f584ef | [
"Apache-2.0"
] | null | null | null | src/libxtp/molecule.cc | mbarbry/xtp | e79828209d11ec25bf1750ab75499ecf50f584ef | [
"Apache-2.0"
] | null | null | null | src/libxtp/molecule.cc | mbarbry/xtp | e79828209d11ec25bf1750ab75499ecf50f584ef | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2018 The VOTCA Development Team
* (http://www.votca.org)
*
* Licensed under the Apache License, Version 2.0 (the "License")
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | 24.703297 | 86 | 0.691281 | mbarbry |
80fa87996d67b99d4bf784e323df3416279ca8ca | 3,112 | cpp | C++ | Core/Src/opt_conjgrad.cpp | impressivemachines/ImpressiveAI | 9e7efd242a32b87996b95bb8155ae8acd7b4c498 | [
"Apache-2.0"
] | null | null | null | Core/Src/opt_conjgrad.cpp | impressivemachines/ImpressiveAI | 9e7efd242a32b87996b95bb8155ae8acd7b4c498 | [
"Apache-2.0"
] | 17 | 2015-03-10T05:22:02.000Z | 2015-03-21T22:36:14.000Z | Core/Src/opt_conjgrad.cpp | impressivemachines/Metaphor | 9e7efd242a32b87996b95bb8155ae8acd7b4c498 | [
"Apache-2.0"
] | null | null | null | //
// opt_conjgrad.cpp
// Metaphor
//
// Created by SIMON WINDER on 3/12/15.
// Copyright (c) 2015 Impressive Machines LLC. All rights reserved.
//
#include "meta_core.h"
template <typename TT>
void im::ConjGradientMin<TT>::init(Vec<TT> vstate)
{
IM_CHECK_VALID(vstate);
IM_CHECK_ARGS(vstate.rows()>0);
... | 26.151261 | 137 | 0.549807 | impressivemachines |
80fdb336b401e292b2adeaa729b219089151c0a7 | 32,060 | cpp | C++ | src/validator/MatchValidator.cpp | jude-zhu/nebula-graph | 7cbeafba1031875b57c4f4822788a72f21d7d858 | [
"Apache-2.0"
] | null | null | null | src/validator/MatchValidator.cpp | jude-zhu/nebula-graph | 7cbeafba1031875b57c4f4822788a72f21d7d858 | [
"Apache-2.0"
] | null | null | null | src/validator/MatchValidator.cpp | jude-zhu/nebula-graph | 7cbeafba1031875b57c4f4822788a72f21d7d858 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "validator/MatchValidator.h"
#include "planner/match/MatchSolver.h"
#include "util/ExpressionUtils.h"
#include... | 41.636364 | 99 | 0.582689 | jude-zhu |
80fff3776c8afab7cb9fe4f6052063170c8b9548 | 3,767 | cpp | C++ | src/board/arch/stm32/common/ISR.cpp | js-midi/OpenDeck | 72fc7199e3ba484b87086541f27a1ccb20fbc54f | [
"Apache-2.0"
] | null | null | null | src/board/arch/stm32/common/ISR.cpp | js-midi/OpenDeck | 72fc7199e3ba484b87086541f27a1ccb20fbc54f | [
"Apache-2.0"
] | null | null | null | src/board/arch/stm32/common/ISR.cpp | js-midi/OpenDeck | 72fc7199e3ba484b87086541f27a1ccb20fbc54f | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2015-2021 Igor Petrovic
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, soft... | 19.025253 | 72 | 0.701088 | js-midi |
44077aa82e2405c0eb62d6ce0d357535b1ec10c4 | 2,897 | cc | C++ | test/common/stats/stat_merger_fuzz_test.cc | CS2552F-DOSA/envoy-redis-nonfrontend-proxy-no-profix-router | c82450557a7806bb631d1b219daba0fc6fe3eda0 | [
"Apache-2.0"
] | 40 | 2017-12-20T03:44:17.000Z | 2022-01-28T02:25:24.000Z | test/common/stats/stat_merger_fuzz_test.cc | CS2552F-DOSA/envoy-redis-nonfrontend-proxy-no-profix-router | c82450557a7806bb631d1b219daba0fc6fe3eda0 | [
"Apache-2.0"
] | 271 | 2018-06-20T00:18:31.000Z | 2021-08-25T00:29:26.000Z | test/common/stats/stat_merger_fuzz_test.cc | CS2552F-DOSA/envoy-redis-nonfrontend-proxy-no-profix-router | c82450557a7806bb631d1b219daba0fc6fe3eda0 | [
"Apache-2.0"
] | 66 | 2017-10-24T20:31:38.000Z | 2022-03-28T13:20:36.000Z | #include <algorithm>
#include "common/stats/stat_merger.h"
#include "test/common/stats/stat_test_utility.h"
#include "test/fuzz/fuzz_runner.h"
#include "test/fuzz/utility.h"
#include "absl/strings/str_replace.h"
namespace Envoy {
namespace Stats {
namespace Fuzz {
void testDynamicEncoding(absl::string_view data, S... | 35.765432 | 93 | 0.721781 | CS2552F-DOSA |
440a3c98991b348982431f3c61e296a4f3abec22 | 8,407 | hpp | C++ | RealmTest/Pods/Realm/include/core/realm/array_binary.hpp | Legoless/Sandbox | 2f0efc2a3ce27a4a813756825641d189e1ee66ce | [
"MIT"
] | 15 | 2016-06-06T09:35:13.000Z | 2021-11-26T21:15:07.000Z | RealmTest/Pods/Realm/include/core/realm/array_binary.hpp | Legoless/Sandbox | 2f0efc2a3ce27a4a813756825641d189e1ee66ce | [
"MIT"
] | 16 | 2016-02-25T02:31:04.000Z | 2016-04-19T01:22:16.000Z | RealmTest/Pods/Realm/include/core/realm/array_binary.hpp | Legoless/Sandbox | 2f0efc2a3ce27a4a813756825641d189e1ee66ce | [
"MIT"
] | 3 | 2016-07-08T04:34:34.000Z | 2019-02-05T00:58:36.000Z | /*************************************************************************
*
* REALM CONFIDENTIAL
* __________________
*
* [2011] - [2015] Realm Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Realm Incorporated and its suppliers,
* if any. The int... | 32.712062 | 115 | 0.67539 | Legoless |
440b840faaaf9d42bf6ccea70a918d3404cb8539 | 8,440 | cpp | C++ | unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 938 | 2015-12-03T16:45:43.000Z | 2022-03-17T20:28:02.000Z | unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 127 | 2015-12-03T21:42:53.000Z | 2019-11-21T14:34:20.000Z | unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 280 | 2015-12-03T16:51:35.000Z | 2022-01-24T00:01:54.000Z | //===--- RTDyldObjectLinkingLayerTest.cpp - RTDyld linking layer tests ---===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------... | 36.068376 | 80 | 0.679858 | URSec |
440c4d7c983d22cf81db1680cc1e8a4aafcf51ef | 9,636 | cpp | C++ | player/src/player/engine.cpp | onvif/oxfplayer | fa76afebf7549b0b6f408e99de2f66c07dca457a | [
"BSD-3-Clause"
] | 17 | 2020-01-31T03:43:11.000Z | 2022-03-11T03:55:37.000Z | player/src/player/engine.cpp | onvif/oxfplayer | fa76afebf7549b0b6f408e99de2f66c07dca457a | [
"BSD-3-Clause"
] | 1 | 2021-11-08T15:29:08.000Z | 2021-12-09T14:26:44.000Z | player/src/player/engine.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... | 26.4 | 149 | 0.617061 | onvif |
440d607393d348561dd2a13a3bfa7b15bcd7c6ea | 93 | hpp | C++ | example/system/thread/speca.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | example/system/thread/speca.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | example/system/thread/speca.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | #ifndef TEST_SPEC_A_HPP
#define TEST_SPEC_A_HPP
///\cond 0
void testa();
///\endcond
#endif
| 11.625 | 23 | 0.731183 | joydit |
440e82ca5d15d9c7b8a5ea5e947c513e3bd1560f | 952 | hpp | C++ | library/ATF/_qry_case_unmandtrader_buy_get_info.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/_qry_case_unmandtrader_buy_get_info.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/_qry_case_unmandtrader_buy_get_info.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
struct _qry_case_unmandtrader_buy_get_info
{
struct __list
{
unsigned int dwRegistSerial;
unsigned i... | 25.72973 | 108 | 0.586134 | lemkova |
440f4b717a3895303aaec41403f2601a715f60d9 | 6,475 | cpp | C++ | common/OCLSample.cpp | jholewinski/llvm-ptx-samples | 2064b14fd900caa9546fb861c90ffcb7ab19fa24 | [
"MIT"
] | 15 | 2015-01-30T01:08:08.000Z | 2022-03-16T10:49:08.000Z | common/OCLSample.cpp | jholewinski/llvm-ptx-samples | 2064b14fd900caa9546fb861c90ffcb7ab19fa24 | [
"MIT"
] | null | null | null | common/OCLSample.cpp | jholewinski/llvm-ptx-samples | 2064b14fd900caa9546fb861c90ffcb7ab19fa24 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2011 by Justin Holewinski
*
* 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... | 34.259259 | 83 | 0.656525 | jholewinski |
440ffb44b5d45016aa641011aba8762ecd6bf4fd | 23,438 | cpp | C++ | tb_jun/src/underlag/path_mini (copy).cpp | ligatos/tords-workspace-2020 | 11eba9fec3c85600afaf515468f74274f7cb5a68 | [
"Apache-2.0"
] | null | null | null | tb_jun/src/underlag/path_mini (copy).cpp | ligatos/tords-workspace-2020 | 11eba9fec3c85600afaf515468f74274f7cb5a68 | [
"Apache-2.0"
] | null | null | null | tb_jun/src/underlag/path_mini (copy).cpp | ligatos/tords-workspace-2020 | 11eba9fec3c85600afaf515468f74274f7cb5a68 | [
"Apache-2.0"
] | null | null | null | #include <ros/ros.h>
#include <octomap_msgs/conversions.h>
#include <octomap_msgs/Octomap.h>
#include <octomap/octomap.h>
#include <octomap/OcTree.h>
#include <octomap/OcTreeBase.h>
#include <octomap/octomap_types.h>
#include <tf/transform_datatypes.h>
#include <dynamicEDT3D/dynamicEDTOctomap.h>
#include <nav_msgs/Path... | 40.202401 | 196 | 0.667719 | ligatos |
441362a79702c3cb1f425b69d02515476f633c06 | 11,546 | hpp | C++ | include/System/Runtime/Remoting/Activation/ActivationServices.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Runtime/Remoting/Activation/ActivationServices.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Runtime/Remoting/Activation/ActivationServices.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
#include "beatsaber-hook/shared/utils/typedefs-... | 72.1625 | 310 | 0.761562 | RedBrumbler |
4413cf54cb13328365a6a0de2d6f593361a1b029 | 6,055 | cpp | C++ | src/joystick.cpp | jburks/box16 | b024d7d2c9337f0183a6349637504fdc0b9243fe | [
"MIT"
] | 10 | 2021-09-11T15:49:03.000Z | 2022-03-29T20:54:28.000Z | src/joystick.cpp | jburks/box16 | b024d7d2c9337f0183a6349637504fdc0b9243fe | [
"MIT"
] | 33 | 2021-07-03T18:55:29.000Z | 2022-03-28T17:25:53.000Z | src/joystick.cpp | jburks/box16 | b024d7d2c9337f0183a6349637504fdc0b9243fe | [
"MIT"
] | 4 | 2021-07-04T15:49:28.000Z | 2022-01-26T00:43:30.000Z | #include "joystick.h"
#include <SDL.h>
#include <unordered_map>
#define LOG_JOYSTICK(...) // printf(__VA_ARGS__)
struct joystick_info {
SDL_GameController *controller;
uint16_t button_mask;
uint16_t shift_mask;
int current_slot;
};
static const uint16_t button_map[SDL_CONTR... | 27.03125 | 140 | 0.689843 | jburks |
441607333d8c9a5fb4d56cca36760ddc9e907231 | 1,389 | cc | C++ | tests/elle/TypeInfo.cc | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 521 | 2016-02-14T00:39:01.000Z | 2022-03-01T22:39:25.000Z | tests/elle/TypeInfo.cc | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 8 | 2017-02-21T11:47:33.000Z | 2018-11-01T09:37:14.000Z | tests/elle/TypeInfo.cc | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 48 | 2017-02-21T10:18:13.000Z | 2022-03-25T02:35:20.000Z | #include <elle/TypeInfo.hh>
#include <elle/test.hh>
#include <elle/log.hh>
// Avoid unnamed namespace qualifications.
namespace foo
{
struct Foo
{
struct Bar
{
struct Baz
{
struct Qux {};
};
};
};
}
namespace
{
void
comparison()
{
BOOST_TEST(elle::type_info<int>()... | 19.842857 | 73 | 0.604752 | infinitio |
441968cb8e7a95a0bbd14634400fce2bc02a3eab | 1,936 | cpp | C++ | src/qr_factorization.cpp | indianajohn/basic-matrix | 51f0b8cf712e61010acb39687deb6dc633394563 | [
"MIT"
] | null | null | null | src/qr_factorization.cpp | indianajohn/basic-matrix | 51f0b8cf712e61010acb39687deb6dc633394563 | [
"MIT"
] | null | null | null | src/qr_factorization.cpp | indianajohn/basic-matrix | 51f0b8cf712e61010acb39687deb6dc633394563 | [
"MIT"
] | null | null | null | #include "lup_decomposition.hpp"
#include "qr_factorization.hpp"
#include "scalar.hpp"
namespace basic_matrix {
void qrFactorize(Matrix &Q, Matrix &R) {
Matrix A = R;
Q = identity(R.height());
for (size_t k = 0; k < R.width() && k < R.height(); k++) {
size_t m_k = R.height() - k;
size_t n_k = R.width() -... | 33.964912 | 80 | 0.588326 | indianajohn |
441a5f899f716fd71afb08bf1f92512917c75dcd | 10,129 | cpp | C++ | contracts/test_api/test_action.cpp | TP-Lab/enumivo | 76d81a36d2db8cea93fb54cd95a6ec5f6c407f97 | [
"MIT"
] | null | null | null | contracts/test_api/test_action.cpp | TP-Lab/enumivo | 76d81a36d2db8cea93fb54cd95a6ec5f6c407f97 | [
"MIT"
] | null | null | null | contracts/test_api/test_action.cpp | TP-Lab/enumivo | 76d81a36d2db8cea93fb54cd95a6ec5f6c407f97 | [
"MIT"
] | null | null | null | /**
* @file action_test.cpp
* @copyright defined in enumivo/LICENSE
*/
#include <enulib/action.hpp>
#include <enulib/transaction.hpp>
#include <enulib/chain.h>
#include <enulib/db.h>
#include <enulib/crypto.h>
#include <enulib/privileged.h>
#include <enulib/enu.hpp>
#include <enulib/datastream.hpp>
#include <enulib/... | 38.367424 | 119 | 0.672426 | TP-Lab |
441cad76bff96baca1c2696c5fc40b478a7322cc | 2,196 | hpp | C++ | FootCommander.hpp | SalimanDolev/warGame-partb | 120e7fe7381619b6db455847f5a3690a6cec87f2 | [
"MIT"
] | null | null | null | FootCommander.hpp | SalimanDolev/warGame-partb | 120e7fe7381619b6db455847f5a3690a6cec87f2 | [
"MIT"
] | null | null | null | FootCommander.hpp | SalimanDolev/warGame-partb | 120e7fe7381619b6db455847f5a3690a6cec87f2 | [
"MIT"
] | null | null | null | #include "Soldier.hpp"
#include <math.h>
//FootSoldier: initial health points=100, damage per activity=10
namespace WarGame{
class FootCommander : public Soldier{
private:
public:
FootCommander(uint player):Soldier(150,20,player){}
void Attacking(std::vector<std::vector<Soldier*>>... | 44.816327 | 151 | 0.455829 | SalimanDolev |
441fc099b8d43fb85f0f238450c4eed5818a9048 | 30,184 | cpp | C++ | tests/cpp-tests/Classes/ClippingNodeTest/ClippingNodeTest.cpp | DelinWorks/adxe | 0f1ba3a086d744bb52e157e649fa986ae3c7ab05 | [
"MIT"
] | null | null | null | tests/cpp-tests/Classes/ClippingNodeTest/ClippingNodeTest.cpp | DelinWorks/adxe | 0f1ba3a086d744bb52e157e649fa986ae3c7ab05 | [
"MIT"
] | 4 | 2020-10-22T05:45:37.000Z | 2020-10-23T12:11:44.000Z | tests/cpp-tests/Classes/ClippingNodeTest/ClippingNodeTest.cpp | DelinWorks/adxe | 0f1ba3a086d744bb52e157e649fa986ae3c7ab05 | [
"MIT"
] | 1 | 2020-10-22T03:17:28.000Z | 2020-10-22T03:17:28.000Z | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
https://adxeproject.github.io/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to ... | 30.957949 | 120 | 0.687947 | DelinWorks |
4422a27288c8277a41c87b98c795f65b2f23b102 | 2,316 | cc | C++ | src/quadrature/utility/quadrature_utilities.cc | narang-amit/BART | 22997c4ce6de3e97b39f4da4601edbd4cf73f9e2 | [
"MIT"
] | 1 | 2020-06-29T20:43:25.000Z | 2020-06-29T20:43:25.000Z | src/quadrature/utility/quadrature_utilities.cc | jsrehak/BART | 0460dfffbcf5671a730448de7f45cce39fd4a485 | [
"MIT"
] | null | null | null | src/quadrature/utility/quadrature_utilities.cc | jsrehak/BART | 0460dfffbcf5671a730448de7f45cce39fd4a485 | [
"MIT"
] | null | null | null | #include "quadrature/utility/quadrature_utilities.h"
#include "quadrature/quadrature_set_i.h"
#include <functional>
namespace bart {
namespace quadrature {
namespace utility {
template <int dim>
std::array<double, dim> ReflectAcrossOrigin(const OrdinateI<dim>& ordinate) {
auto position = ordinate.cartesian_posi... | 29.692308 | 80 | 0.640328 | narang-amit |
442349d49c08b7e978546676ce3980918454ba5f | 11,376 | cpp | C++ | src/model/WaterUseEquipment.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 354 | 2015-01-10T17:46:11.000Z | 2022-03-29T10:00:00.000Z | src/model/WaterUseEquipment.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 3,243 | 2015-01-02T04:54:45.000Z | 2022-03-31T17:22:22.000Z | src/model/WaterUseEquipment.cpp | jmarrec/OpenStudio | 5276feff0d8dbd6c8ef4e87eed626bc270a19b14 | [
"blessing"
] | 157 | 2015-01-07T15:59:55.000Z | 2022-03-30T07:46:09.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 44.964427 | 148 | 0.730749 | muehleisen |
4423cb16f755cb095af78a9842b370de16adf1cb | 3,919 | cpp | C++ | td/telegram/ConfigShared.cpp | ERussel/td | 101aa73f132d5124d8da45bae11a29c423420072 | [
"BSL-1.0"
] | 1 | 2019-03-24T01:16:18.000Z | 2019-03-24T01:16:18.000Z | td/telegram/ConfigShared.cpp | ERussel/td | 101aa73f132d5124d8da45bae11a29c423420072 | [
"BSL-1.0"
] | 1 | 2019-01-18T16:03:35.000Z | 2019-01-18T21:13:14.000Z | td/telegram/ConfigShared.cpp | ERussel/td | 101aa73f132d5124d8da45bae11a29c423420072 | [
"BSL-1.0"
] | 2 | 2018-12-21T08:37:59.000Z | 2020-04-28T12:47:46.000Z | //
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2018
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include "td/telegram/ConfigShared.h"
#include "td/telegram/... | 27.794326 | 96 | 0.690737 | ERussel |
4424171a332c18b78e8a7a07fc90f869924fa65f | 712 | hpp | C++ | interrupts/include/interrupts.hpp | Granahir2/Nematod | 795aca41770c4fc1247f5170ca1a3a0ab6439363 | [
"MIT"
] | 3 | 2018-11-05T19:49:48.000Z | 2018-11-10T18:03:22.000Z | interrupts/include/interrupts.hpp | Granahir2/Nematod | 795aca41770c4fc1247f5170ca1a3a0ab6439363 | [
"MIT"
] | 1 | 2018-11-10T19:00:24.000Z | 2018-11-11T18:49:46.000Z | interrupts/include/interrupts.hpp | Granahir2/Nematod | 795aca41770c4fc1247f5170ca1a3a0ab6439363 | [
"MIT"
] | 1 | 2018-11-06T00:09:57.000Z | 2018-11-06T00:09:57.000Z | #pragma once
#include <vector>
#include "interface/interrupts.hpp"
// The default InterruptBus is a Common Emitter bus.
template<interrupt_kind T>
class InterruptBus_CtrlBlock {
public:
void add_slave(InterruptEmitter<T> *to_add);
void remove_slave(InterruptEmitter<T> *to_remove);
protected:
s... | 23.733333 | 94 | 0.75 | Granahir2 |
44256df394f0411da3617c29b1bf15d11e7b598e | 26,685 | cpp | C++ | source/blood/src/dude.cpp | madame-rachelle/Raze | 67c8187d620e6cf9e99543cab5c5746dd31007af | [
"RSA-MD"
] | null | null | null | source/blood/src/dude.cpp | madame-rachelle/Raze | 67c8187d620e6cf9e99543cab5c5746dd31007af | [
"RSA-MD"
] | null | null | null | source/blood/src/dude.cpp | madame-rachelle/Raze | 67c8187d620e6cf9e99543cab5c5746dd31007af | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 2010-2019 EDuke32 developers and contributors
Copyright (C) 2019 Nuke.YKT
This file is part of NBlood.
NBlood is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License versio... | 15.380403 | 79 | 0.26573 | madame-rachelle |
4425c5098e3f907f285331c22e49c416e626078f | 2,680 | cpp | C++ | Practice/2018/2018.4.12/BZOJ4298.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.4.12/BZOJ4298.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.4.12/BZOJ4298.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 ull unsigned long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=5010;
const int maxId=210;
const int maxM=maxN*2*maxId;
const int Mod=100003;
const ull hashb... | 21.269841 | 90 | 0.615672 | SYCstudio |
44273152ef0bbeb5644ad64f23b039447890dc9e | 977 | hpp | C++ | arbor/util/config.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 53 | 2018-10-18T12:08:21.000Z | 2022-03-26T22:03:51.000Z | arbor/util/config.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 864 | 2018-10-01T08:06:00.000Z | 2022-03-31T08:06:48.000Z | arbor/util/config.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 37 | 2019-03-03T16:18:49.000Z | 2022-03-24T10:39:51.000Z | #pragma once
namespace arb {
namespace config {
// has_memory_measurement
// Support for measuring total allocated memory.
// * true: calls to util::allocated_memory() will return valid results
// * false: calls to util::allocated_memory() will return -1
//
// has_power_measurement
// Support for mea... | 24.425 | 75 | 0.732856 | kanzl |
44276f528596e612acb0073f0b8b3b24fd6ef072 | 502 | cpp | C++ | src/queue.cpp | andryblack/pcb-printer-firmware | da562d2da3c21b0d4776f2bbe5ce3e1e68be6755 | [
"MIT"
] | 1 | 2020-07-18T18:34:41.000Z | 2020-07-18T18:34:41.000Z | src/queue.cpp | andryblack/pcb-printer-firmware | da562d2da3c21b0d4776f2bbe5ce3e1e68be6755 | [
"MIT"
] | null | null | null | src/queue.cpp | andryblack/pcb-printer-firmware | da562d2da3c21b0d4776f2bbe5ce3e1e68be6755 | [
"MIT"
] | 1 | 2020-01-29T10:29:08.000Z | 2020-01-29T10:29:08.000Z | #include "queue.h"
uint32_t Queue::w_pos = 0;
uint32_t Queue::r_pos = 0;
uint32_t Queue::size = 0;
print_t* Queue::write() {
print_t* res = &mem_overlay.print_queue[w_pos];
return res;
}
print_t* Queue::read() {
print_t* res = &mem_overlay.print_queue[r_pos];
return res;
}
void Queue::push() {
++size;
w_pos = ... | 15.6875 | 48 | 0.629482 | andryblack |
442941ee745e40a642d088a0fc4b511951ee166b | 4,020 | cpp | C++ | runtime/libpgmath/lib/common/log/fma3/fslog8.cpp | abrahamtovarmob/flang | bcd84b29df046b6d6574f0bfa34ea5059092615a | [
"Apache-2.0"
] | 716 | 2017-05-17T17:58:45.000Z | 2022-03-30T11:20:58.000Z | runtime/libpgmath/lib/common/log/fma3/fslog8.cpp | abrahamtovarmob/flang | bcd84b29df046b6d6574f0bfa34ea5059092615a | [
"Apache-2.0"
] | 794 | 2017-05-18T19:27:40.000Z | 2022-03-31T23:22:11.000Z | runtime/libpgmath/lib/common/log/fma3/fslog8.cpp | abrahamtovarmob/flang | bcd84b29df046b6d6574f0bfa34ea5059092615a | [
"Apache-2.0"
] | 157 | 2017-05-17T18:50:33.000Z | 2022-03-30T07:06:45.000Z |
/*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
*/
#if defined(TARGET_LINUX_POWER)
#error "Source cannot be compiled for POWER architectures"
#include "xmm2a... | 37.924528 | 85 | 0.694776 | abrahamtovarmob |
44303340c02f87760a5e0fc106c87333f04e66c6 | 1,240 | cpp | C++ | 0018_4Sum/0018_4Sum.cpp | princeroshanantony/LeetCode | fd77c137dfcaddcae04d0b2191fdb32cb7ee825b | [
"MIT"
] | null | null | null | 0018_4Sum/0018_4Sum.cpp | princeroshanantony/LeetCode | fd77c137dfcaddcae04d0b2191fdb32cb7ee825b | [
"MIT"
] | 2 | 2020-10-21T06:34:28.000Z | 2020-10-23T12:13:23.000Z | 0018_4Sum/0018_4Sum.cpp | princeroshanantony/LeetCode | fd77c137dfcaddcae04d0b2191fdb32cb7ee825b | [
"MIT"
] | 3 | 2020-10-21T13:03:11.000Z | 2020-10-30T05:42:51.000Z | class Solution {
public:
vector<vector<int>> fourSum(vector<int>& nums, int target) {
sort(begin(nums), end(nums));
return kSum(nums, target, 0, 4);
}
vector<vector<int>> kSum(vector<int>& nums, int target, int start, int k) {
vector<vector<int>> res;
if (start == nums.size() || nums[start] * k > ta... | 35.428571 | 85 | 0.505645 | princeroshanantony |
44353875d7a9f13fcbf1cb4458a789ac95394da4 | 1,351 | cpp | C++ | Codeforces/1000~1999/1481/D.cpp | tiger0132/code-backup | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | [
"MIT"
] | 6 | 2018-12-30T06:16:54.000Z | 2022-03-23T08:03:33.000Z | Codeforces/1000~1999/1481/D.cpp | tiger0132/code-backup | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | [
"MIT"
] | null | null | null | Codeforces/1000~1999/1481/D.cpp | tiger0132/code-backup | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cstdio>
#include <cstring>
const int N = 1e3 + 31;
char g[N][N];
int n, m;
int main() {
for (scanf("%*d"); ~scanf("%d%d", &n, &m);) {
for (int i = 1; i <= n; i++) scanf("%s", g[i] + 1);
if (m % 2) {
puts("YES");
for (int i = 1; i <= m + 1; i++) printf("%d%c", 2 - i % 2, " \n"... | 25.490566 | 81 | 0.366395 | tiger0132 |
443ad8a8cab4aadde9a94c62e5c2c84c4024caa2 | 861 | hpp | C++ | Inc/Core/deferredFunction.hpp | CodogoFreddie/FredLib | 8c7307d039f285e16a1a6979e05a071a2c18717e | [
"Apache-2.0"
] | 2 | 2016-04-28T22:59:58.000Z | 2016-05-04T01:04:27.000Z | Inc/Core/deferredFunction.hpp | CodogoFreddie/FredLib | 8c7307d039f285e16a1a6979e05a071a2c18717e | [
"Apache-2.0"
] | null | null | null | Inc/Core/deferredFunction.hpp | CodogoFreddie/FredLib | 8c7307d039f285e16a1a6979e05a071a2c18717e | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <functional>
#include <vector>
#include <mutex>
namespace core {
template<bool locks = true>
class DeferredFunctionQueue{
private:
std::vector<std::function<void()>> funQueue;
std::mutex mtx;
public:
DeferredFunctionQueue(){}
template<typename Ret, typename ...Args>
void p... | 16.245283 | 70 | 0.622532 | CodogoFreddie |
443ae662bf47af74726ca3ba33d7f9c2b8a22d02 | 81,368 | cc | C++ | libqpdf/QPDF_linearization.cc | freedlp/qpdf | 38d8362c09e1d41c85f808995ad93a3bed238cf7 | [
"Apache-2.0"
] | null | null | null | libqpdf/QPDF_linearization.cc | freedlp/qpdf | 38d8362c09e1d41c85f808995ad93a3bed238cf7 | [
"Apache-2.0"
] | null | null | null | libqpdf/QPDF_linearization.cc | freedlp/qpdf | 38d8362c09e1d41c85f808995ad93a3bed238cf7 | [
"Apache-2.0"
] | null | null | null | // See doc/linearization.
#include <qpdf/QPDF.hh>
#include <qpdf/QPDFExc.hh>
#include <qpdf/QTC.hh>
#include <qpdf/QUtil.hh>
#include <qpdf/Pl_Buffer.hh>
#include <qpdf/Pl_Flate.hh>
#include <qpdf/Pl_Count.hh>
#include <qpdf/BitWriter.hh>
#include <qpdf/BitStream.hh>
#include <iostream>
#include <algorithm>
#include... | 35.578487 | 80 | 0.577807 | freedlp |
443bc49ac48e684e394c19a84c1c441888f3fc2e | 47,739 | cc | C++ | garnet/public/lib/inspect/tests/children_manager_unittest.cc | myself659/fuchsia | 18eb5ad3d995fba458b32d8600b2af97f89a5726 | [
"BSD-3-Clause"
] | null | null | null | garnet/public/lib/inspect/tests/children_manager_unittest.cc | myself659/fuchsia | 18eb5ad3d995fba458b32d8600b2af97f89a5726 | [
"BSD-3-Clause"
] | 4 | 2020-09-06T07:59:32.000Z | 2022-02-12T16:06:47.000Z | garnet/public/lib/inspect/tests/children_manager_unittest.cc | myself659/fuchsia | 18eb5ad3d995fba458b32d8600b2af97f89a5726 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 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 <fuchsia/inspect/cpp/fidl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async/cpp/task.h>
#include <lib/async_promise/executor.h>
#include... | 37.73834 | 80 | 0.69417 | myself659 |
443eb389a5337bb3d6d7036d42919cf46beae2eb | 971 | cp | C++ | libs/cpascal/ASCII.cp | imt-ag/gpcp | 1c3de23993e0979d672f1c8fe7f193d0de22991a | [
"BSD-3-Clause"
] | 32 | 2017-08-15T11:49:34.000Z | 2021-12-24T13:10:29.000Z | libs/cpascal/ASCII.cp | imt-ag/gpcp | 1c3de23993e0979d672f1c8fe7f193d0de22991a | [
"BSD-3-Clause"
] | 14 | 2017-10-14T16:44:02.000Z | 2022-03-09T08:17:56.000Z | libs/cpascal/ASCII.cp | imt-ag/gpcp | 1c3de23993e0979d672f1c8fe7f193d0de22991a | [
"BSD-3-Clause"
] | 7 | 2017-11-10T14:55:30.000Z | 2022-02-07T01:23:22.000Z | (** This is the dummy module that sits in the runtime system,
* or will do if it ever gets a body.
*
* Version: 19 May 2001 (kjg).
*)
SYSTEM MODULE ASCII;
CONST
NUL* = 00X;
SOH* = 01X;
STX* = 02X;
ETX* = 03X;
EOT* = 04X;
ENQ* = 05X;
ACK* = 06X;
BEL* = 07... | 21.108696 | 63 | 0.446962 | imt-ag |
443ec7d8a58afa6d0d96195e1c2feca9f65c28e3 | 10,238 | cpp | C++ | 3rdparty/mygui/src/MyGUI_SkinManager.cpp | Osumi-Akari/energytycoon | 25d18a0ee4a9f8833e678af297734602918a92e9 | [
"Unlicense"
] | null | null | null | 3rdparty/mygui/src/MyGUI_SkinManager.cpp | Osumi-Akari/energytycoon | 25d18a0ee4a9f8833e678af297734602918a92e9 | [
"Unlicense"
] | null | null | null | 3rdparty/mygui/src/MyGUI_SkinManager.cpp | Osumi-Akari/energytycoon | 25d18a0ee4a9f8833e678af297734602918a92e9 | [
"Unlicense"
] | null | null | null | /*!
@file
@author Albert Semenov
@date 11/2007
@module
*//*
This file is part of MyGUI.
MyGUI is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option... | 30.289941 | 129 | 0.66175 | Osumi-Akari |
444223c1ee136fd49ca8cdee73f57cee300a5b83 | 2,343 | cpp | C++ | src/cpp/chromosomes.cpp | srbehera/Nebula | 3dba4c0aef5d0c1660748ee9bd8e1e4e74b933c3 | [
"MIT"
] | 11 | 2021-01-28T12:08:36.000Z | 2022-03-21T01:42:08.000Z | src/cpp/chromosomes.cpp | srbehera/Nebula | 3dba4c0aef5d0c1660748ee9bd8e1e4e74b933c3 | [
"MIT"
] | 6 | 2021-07-19T08:11:23.000Z | 2021-09-17T21:05:35.000Z | src/cpp/chromosomes.cpp | srbehera/Nebula | 3dba4c0aef5d0c1660748ee9bd8e1e4e74b933c3 | [
"MIT"
] | 3 | 2021-08-02T05:10:06.000Z | 2021-11-17T03:20:28.000Z | #include <iomanip>
#include "chromosomes.hpp"
using namespace std ;
std::vector<std::string> chromosomes ;
std::unordered_map<std::string, char*> chromosome_seqs ;
int get_reference_size(ifstream &fasta_file) {
fasta_file.seekg(0, ios_base::end) ;
int l = fasta_file.tellg() ;
fasta_file.seekg(0, ios_bas... | 36.046154 | 143 | 0.423816 | srbehera |
4443c3f55fef52a1f378600e298b0af1044b01e7 | 637 | cpp | C++ | src/editablemesh.cpp | honoriocassiano/skbar | e2a8fca752f5a2f9d9a32f19cbe1f9032a0e1ac4 | [
"MIT"
] | null | null | null | src/editablemesh.cpp | honoriocassiano/skbar | e2a8fca752f5a2f9d9a32f19cbe1f9032a0e1ac4 | [
"MIT"
] | 5 | 2020-09-01T12:16:28.000Z | 2020-09-01T12:21:41.000Z | src/editablemesh.cpp | honoriocassiano/skbar | e2a8fca752f5a2f9d9a32f19cbe1f9032a0e1ac4 | [
"MIT"
] | null | null | null | #include "editablemesh.h"
#include "opquadmesh.h"
#include "optrimesh.h"
#include "utils/debug.h"
#include <set>
skbar::EditableMesh::EditableMesh() : quadMesh(new skbar::OPQuadMesh()), triMesh(new skbar::OPTriMesh()) {
}
skbar::EditableMesh::~EditableMesh() {
delete quadMesh;
delete triMesh;
quadMesh ... | 19.30303 | 106 | 0.686028 | honoriocassiano |
444417d952fe4a0453b2b692de9f372ba854ed6b | 32,591 | hpp | C++ | boost/numeric/ublasx/operation/ql.hpp | comcon1/boost-ublasx | 290b92b643a944825df99bece3468a4f81518056 | [
"BSL-1.0"
] | null | null | null | boost/numeric/ublasx/operation/ql.hpp | comcon1/boost-ublasx | 290b92b643a944825df99bece3468a4f81518056 | [
"BSL-1.0"
] | null | null | null | boost/numeric/ublasx/operation/ql.hpp | comcon1/boost-ublasx | 290b92b643a944825df99bece3468a4f81518056 | [
"BSL-1.0"
] | null | null | null | /**
* \file boost/numeric/ublasx/operation/ql.hpp
*
* \brief The QL matrix decomposition.
*
* Given an \f$m\f$-by-\f$n\f$ matrix \f$A\f$, its QL-decomposition is a matrix
* decomposition of the form:
* \f[
* A=QL
* \f]
* where \f$L\f$ is an m-by-n lower trapezoidal (or, when \f$m \ge n\f$,
* triangular) ma... | 29.334833 | 130 | 0.657973 | comcon1 |
4445f5f6ce2ab179438b1a089ffc9ed7d4c442dd | 490 | cpp | C++ | src/RE/I/ItemsPickpocketed.cpp | colinswrath/CommonLibSSE | 9c693f6a2406fb6128ee0dd0462bfc9ddbd83eee | [
"MIT"
] | 118 | 2019-02-07T22:34:11.000Z | 2022-03-29T10:40:40.000Z | src/RE/I/ItemsPickpocketed.cpp | colinswrath/CommonLibSSE | 9c693f6a2406fb6128ee0dd0462bfc9ddbd83eee | [
"MIT"
] | 63 | 2019-07-30T13:50:11.000Z | 2022-02-19T02:14:33.000Z | src/RE/I/ItemsPickpocketed.cpp | colinswrath/CommonLibSSE | 9c693f6a2406fb6128ee0dd0462bfc9ddbd83eee | [
"MIT"
] | 71 | 2019-05-21T00:15:51.000Z | 2022-03-03T15:14:19.000Z | #include "RE/I/ItemsPickpocketed.h"
namespace RE
{
BSTEventSource<ItemsPickpocketed::Event>* ItemsPickpocketed::GetEventSource()
{
using func_t = decltype(&ItemsPickpocketed::GetEventSource);
REL::Relocation<func_t> func{ Offset::ItemsPickpocketed::GetEventSource };
return func();
}
void ItemsPickpocketed::... | 23.333333 | 78 | 0.720408 | colinswrath |
444925f2e934c3bcb90ced3b1a963f4997910eca | 1,368 | hpp | C++ | cpuemu/common/memory.hpp | deqyra/cpuemu | b30d39e01ef03a165169d53397d117a2550c650e | [
"MIT"
] | 2 | 2021-04-23T13:40:45.000Z | 2022-03-28T13:59:30.000Z | cpuemu/common/memory.hpp | deqyra/cpuemu | b30d39e01ef03a165169d53397d117a2550c650e | [
"MIT"
] | null | null | null | cpuemu/common/memory.hpp | deqyra/cpuemu | b30d39e01ef03a165169d53397d117a2550c650e | [
"MIT"
] | null | null | null | #ifndef CPUEMU__COMMON__MEMORY_HPP
#define CPUEMU__COMMON__MEMORY_HPP
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <type_traits>
#include <vector>
#include <cpptools/type_utils.hpp>
#include "types.hpp"
namespace emu
{
template<uint64_t Size>
struct Memory
{
struct _ce... | 17.766234 | 67 | 0.546053 | deqyra |
444b37653ae8ff8a443381d151460ac7922c2657 | 4,441 | cpp | C++ | Reflection/TypeConversions/FullConversionGraph.cpp | dnv-opensource/Reflection | 27effb850e9f0cc6acc2d48630ee6aa5d75fa000 | [
"BSL-1.0"
] | null | null | null | Reflection/TypeConversions/FullConversionGraph.cpp | dnv-opensource/Reflection | 27effb850e9f0cc6acc2d48630ee6aa5d75fa000 | [
"BSL-1.0"
] | null | null | null | Reflection/TypeConversions/FullConversionGraph.cpp | dnv-opensource/Reflection | 27effb850e9f0cc6acc2d48630ee6aa5d75fa000 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2021 DNV AS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
#include <list>
#include <memory>
#include <boost\foreach.hpp>
#include "Reflection/TypeConversions/ConversionSequence.h"
#includ... | 41.896226 | 191 | 0.680477 | dnv-opensource |
444e0b2bf3a355fb88931869e0b7b127daa41420 | 8,485 | hpp | C++ | include/RAJA/pattern/WorkGroup/WorkRunner.hpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | 1 | 2020-11-19T04:55:20.000Z | 2020-11-19T04:55:20.000Z | include/RAJA/pattern/WorkGroup/WorkRunner.hpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | null | null | null | include/RAJA/pattern/WorkGroup/WorkRunner.hpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | null | null | null | /*!
******************************************************************************
*
* \file
*
* \brief Header file providing RAJA WorkStorage.
*
******************************************************************************
*/
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
/... | 28.569024 | 88 | 0.66812 | ggeorgakoudis |
444f384893782b7fda8e49b939a00aac5a2eba09 | 2,958 | cc | C++ | examples/sframesync_timing_example.cc | jgaeddert/sframe | 9bd4c7234fda49e819447ef9eda21ea1ac059a08 | [
"MIT"
] | 4 | 2020-11-12T15:56:40.000Z | 2021-09-14T16:31:46.000Z | examples/sframesync_timing_example.cc | jgaeddert/sframe | 9bd4c7234fda49e819447ef9eda21ea1ac059a08 | [
"MIT"
] | null | null | null | examples/sframesync_timing_example.cc | jgaeddert/sframe | 9bd4c7234fda49e819447ef9eda21ea1ac059a08 | [
"MIT"
] | 1 | 2019-11-24T01:05:38.000Z | 2019-11-24T01:05:38.000Z | // test timing bias in estimator
#include "sframegen.hh"
#include "sframesync.hh"
struct results {
float tau; // actual time offset
float tau_avg; // average estimate
float tau_rmse; // root mean-squared error
void print() { printf(" %12.8f %12.8f %12.4e\n", tau, tau_avg, tau_rmse); }
};
... | 36.073171 | 81 | 0.590602 | jgaeddert |
4455537bb1f3a7fef31282b04b8065f92d624730 | 24,002 | cpp | C++ | src/game/Object/Vehicle.cpp | Zilvereyes/MaNGOSTwoServer | 2d11181b3701c848d8beb14e4a5676dc25eb2ad0 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | src/game/Object/Vehicle.cpp | Zilvereyes/MaNGOSTwoServer | 2d11181b3701c848d8beb14e4a5676dc25eb2ad0 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | src/game/Object/Vehicle.cpp | Zilvereyes/MaNGOSTwoServer | 2d11181b3701c848d8beb14e4a5676dc25eb2ad0 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | /*
* MaNGOS is a full featured server for World of Warcraft, supporting
* the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8
*
* Copyright (C) 2005-2016 MaNGOS project <https://getmangos.eu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | 37.154799 | 249 | 0.663028 | Zilvereyes |
4456445245c806eb7f3a12bc4bc4f1bdd6c407c9 | 1,757 | cpp | C++ | wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp | Ashray-g/allwpilib | 8d81e085f3af4d7bc2e08a0fe2bc4068d6dfa588 | [
"BSD-3-Clause"
] | null | null | null | wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp | Ashray-g/allwpilib | 8d81e085f3af4d7bc2e08a0fe2bc4068d6dfa588 | [
"BSD-3-Clause"
] | null | null | null | wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp | Ashray-g/allwpilib | 8d81e085f3af4d7bc2e08a0fe2bc4068d6dfa588 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <frc/TimedRobot.h>
#include <frc/Timer.h>
#include <frc/XboxController.h>
#include <frc/drive/DifferentialDrive... | 27.030769 | 78 | 0.686966 | Ashray-g |
4459a492b6c95320fc774e82c65519d4d5282171 | 397 | cpp | C++ | td/telegram/net/NetQueryCounter.cpp | sintyaaaaa/td | 0e930c15d3cd65dc5cc3fa6e8492684038129510 | [
"BSL-1.0"
] | 1 | 2021-01-12T07:18:07.000Z | 2021-01-12T07:18:07.000Z | td/telegram/net/NetQueryCounter.cpp | sintyaaaaa/td | 0e930c15d3cd65dc5cc3fa6e8492684038129510 | [
"BSL-1.0"
] | 2 | 2021-03-09T16:37:27.000Z | 2021-05-10T12:15:58.000Z | td/telegram/net/NetQueryCounter.cpp | sintyaaaaa/td | 0e930c15d3cd65dc5cc3fa6e8492684038129510 | [
"BSL-1.0"
] | 1 | 2020-08-14T12:43:30.000Z | 2020-08-14T12:43:30.000Z | //
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2019
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include "td/telegram/net/NetQueryCounter.h"
namespace td {
... | 28.357143 | 96 | 0.748111 | sintyaaaaa |
445aaea3836fc82fcf7986e003097d69fa583e01 | 1,228 | cpp | C++ | BaekJoon/1963.cpp | falconlee236/Algorithm_Practice | 4e6e380a0e6c840525ca831a05c35253eeaaa25c | [
"MIT"
] | null | null | null | BaekJoon/1963.cpp | falconlee236/Algorithm_Practice | 4e6e380a0e6c840525ca831a05c35253eeaaa25c | [
"MIT"
] | null | null | null | BaekJoon/1963.cpp | falconlee236/Algorithm_Practice | 4e6e380a0e6c840525ca831a05c35253eeaaa25c | [
"MIT"
] | null | null | null | /*1963*/
/*Got it!*/
#include <iostream>
#include <queue>
#include <string>
using namespace std;
int prime[10000];
int main() {
for(int i = 0; i < 10000; i++) prime[i] = 1;
prime[0] = 0; prime[1] = 0;
for(int i = 2; i * i <= 10000; i++){
if(!prime[i]) continue;
for(int j = i + i; j < 10000; j += i)... | 24.56 | 58 | 0.390065 | falconlee236 |
445ced6a7035688b6a64b53292ed41fdc8741abb | 118 | hpp | C++ | src/kernel/arch/x86_64/interrupts.hpp | Abb1x/tisix | f79de11dae657b2b5e082c4a0057192763d6c15a | [
"MIT"
] | 13 | 2021-11-14T00:42:36.000Z | 2022-02-21T14:19:50.000Z | src/kernel/arch/x86_64/interrupts.hpp | Abb1x/tisix | f79de11dae657b2b5e082c4a0057192763d6c15a | [
"MIT"
] | null | null | null | src/kernel/arch/x86_64/interrupts.hpp | Abb1x/tisix | f79de11dae657b2b5e082c4a0057192763d6c15a | [
"MIT"
] | 1 | 2021-11-20T16:15:45.000Z | 2021-11-20T16:15:45.000Z | #pragma once
#include <scheduler.hpp>
#include <tisix/log.hpp>
extern "C" uint64_t interrupts_handler(uint64_t rsp);
| 19.666667 | 53 | 0.771186 | Abb1x |
4462c0b18dc2032b529e09a225eb04efff58c9da | 595 | ipp | C++ | include/data_structures/implementation/component/AdjacencyListCSR.ipp | thorbenlouw/CUP-CFD | d06f7673a1ed12bef24de4f1b828ef864fa45958 | [
"MIT"
] | 3 | 2021-06-24T10:20:12.000Z | 2021-07-18T14:43:19.000Z | include/data_structures/implementation/component/AdjacencyListCSR.ipp | thorbenlouw/CUP-CFD | d06f7673a1ed12bef24de4f1b828ef864fa45958 | [
"MIT"
] | 2 | 2021-07-22T15:31:03.000Z | 2021-07-28T14:27:28.000Z | include/data_structures/implementation/component/AdjacencyListCSR.ipp | thorbenlouw/CUP-CFD | d06f7673a1ed12bef24de4f1b828ef864fa45958 | [
"MIT"
] | 1 | 2021-07-22T15:24:24.000Z | 2021-07-22T15:24:24.000Z | /**
* @file
* @author University of Warwick
* @version 1.0
*
* @section LICENSE
*
* @section DESCRIPTION
*
* Contains header level definitions for the AdjacencyListCSR class
*/
#ifndef CUPCFD_DATA_STRUCTURES_ADJACENCY_LIST_CSR_IPP_H
#define CUPCFD_DATA_STRUCTURES_ADJACENCY_LIST_CSR_IPP_H
namespace cupcfd
{
... | 19.193548 | 69 | 0.734454 | thorbenlouw |
4463a082045cbd73cb3b0f3d25d35475a0de6f7f | 5,992 | hpp | C++ | include/sdsl/construct_lcp_helper.hpp | qPCR4vir/sdsl-lite | 3ae7ac30c3837553cf20243cc3df8ee658b9f00f | [
"BSD-3-Clause"
] | 1 | 2021-02-10T11:26:38.000Z | 2021-02-10T11:26:38.000Z | include/sdsl/construct_lcp_helper.hpp | Irallia/sdsl-lite | 9a0d5676fd09fb8b52af214eca2d5809c9a32dbe | [
"BSD-3-Clause"
] | 1 | 2019-03-10T23:59:27.000Z | 2019-03-10T23:59:27.000Z | include/sdsl/construct_lcp_helper.hpp | Irallia/sdsl-lite | 9a0d5676fd09fb8b52af214eca2d5809c9a32dbe | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016, the SDSL Project Authors. All rights reserved.
// Please see the AUTHORS file for details. Use of this source code is governed
// by a BSD license that can be found in the LICENSE file.
#ifndef INCLUDED_SDSL_CONSTRUCT_LCP_HELPER
#define INCLUDED_SDSL_CONSTRUCT_LCP_HELPER
#include "sdsl/int_vec... | 31.371728 | 103 | 0.609312 | qPCR4vir |
4463be6c978c077fc8e841c49cd76449ff604e24 | 5,871 | cpp | C++ | Core/Contents/Source/PolySceneLabel.cpp | cartman300/Polycode | b6fe41c6123281db3caee3c11f655de79df6fbfb | [
"MIT"
] | null | null | null | Core/Contents/Source/PolySceneLabel.cpp | cartman300/Polycode | b6fe41c6123281db3caee3c11f655de79df6fbfb | [
"MIT"
] | null | null | null | Core/Contents/Source/PolySceneLabel.cpp | cartman300/Polycode | b6fe41c6123281db3caee3c11f655de79df6fbfb | [
"MIT"
] | null | null | null | /*
Copyright (C) 2011 by Ivan Safrin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... | 40.212329 | 311 | 0.762221 | cartman300 |
44661d1a714b5f73c15eea2772f005dd9866097e | 2,345 | cpp | C++ | cpp/src/render/utils/vega/vega.cpp | shengjh/arctern | 6b52bacf29d84ec41d97f9dd67aa7e36da266287 | [
"Apache-2.0"
] | null | null | null | cpp/src/render/utils/vega/vega.cpp | shengjh/arctern | 6b52bacf29d84ec41d97f9dd67aa7e36da266287 | [
"Apache-2.0"
] | null | null | null | cpp/src/render/utils/vega/vega.cpp | shengjh/arctern | 6b52bacf29d84ec41d97f9dd67aa7e36da266287 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2019-2020 Zilliz. 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 ap... | 27.588235 | 90 | 0.613646 | shengjh |
4466fabcef6303be865fef8471bc0191edcd6bcb | 668 | hpp | C++ | module-apps/application-settings/windows/display-keypad/EditQuotesWindow.hpp | SP2FET/MuditaOS-1 | 2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd | [
"BSL-1.0"
] | 1 | 2021-11-11T22:56:43.000Z | 2021-11-11T22:56:43.000Z | module-apps/application-settings/windows/display-keypad/EditQuotesWindow.hpp | SP2FET/MuditaOS-1 | 2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd | [
"BSL-1.0"
] | null | null | null | module-apps/application-settings/windows/display-keypad/EditQuotesWindow.hpp | SP2FET/MuditaOS-1 | 2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <application-settings/windows/BaseSettingsWindow.hpp>
namespace gui
{
class CheckBoxWithLabel;
class EditQuotesWindow : public BaseSettingsWindow
{... | 24.740741 | 67 | 0.679641 | SP2FET |
4468d68e808fb9c481dd44ab93bb817fe7cdd9dc | 812 | cpp | C++ | export/release/windows/obj/src/haxe/IMap.cpp | SamuraiOfSecrets/Goatmeal-Time-v0.2 | 7b89cbaf6895495b90ee1a5679e9cc696a7fbb53 | [
"Apache-2.0"
] | null | null | null | export/release/windows/obj/src/haxe/IMap.cpp | SamuraiOfSecrets/Goatmeal-Time-v0.2 | 7b89cbaf6895495b90ee1a5679e9cc696a7fbb53 | [
"Apache-2.0"
] | null | null | null | export/release/windows/obj/src/haxe/IMap.cpp | SamuraiOfSecrets/Goatmeal-Time-v0.2 | 7b89cbaf6895495b90ee1a5679e9cc696a7fbb53 | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.2.2
#include <hxcpp.h>
#ifndef INCLUDED_haxe_IMap
#include <haxe/IMap.h>
#endif
namespace haxe{
static ::String IMap_obj_sMemberFields[] = {
HX_("get",96,80,4e,00),
HX_("set",a2,9b,57,00),
HX_("exists",dc,1d,e0,bf),
HX_("remove",44,9c,88,04),
HX_("keys",f4,e1,06,47),
HX_("iterator",ee,4... | 23.882353 | 76 | 0.681034 | SamuraiOfSecrets |
44693ec5484eb313e6fc7c17ec4ca254b3bb0338 | 1,440 | cpp | C++ | graph/tarjan_bridge.cpp | KSkun/OI-Templates | a193da03a531700858fe45d455a946074bda5007 | [
"WTFPL"
] | 12 | 2018-03-30T08:44:07.000Z | 2021-09-03T07:43:56.000Z | graph/tarjan_bridge.cpp | KSkun/OI-Templates | a193da03a531700858fe45d455a946074bda5007 | [
"WTFPL"
] | null | null | null | graph/tarjan_bridge.cpp | KSkun/OI-Templates | a193da03a531700858fe45d455a946074bda5007 | [
"WTFPL"
] | 1 | 2018-08-09T01:39:30.000Z | 2018-08-09T01:39:30.000Z | // Code by KSkun, 2018/7
#include <cstdio>
#include <cctype>
#include <cstring>
#include <algorithm>
#include <vector>
typedef long long LL;
inline char fgc() {
static char buf[100000], *p1 = buf, *p2 = buf;
return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, 100000, stdin), p1 == p2)
? EOF : *p1++;
}
inline LL... | 20.571429 | 78 | 0.515972 | KSkun |
446ae101fac943c6833400fb9a92c5c89c5f46dc | 2,880 | cpp | C++ | FCollada/FColladaTest/FCTestXRef/FCTestXRefAcyclic.cpp | matthewlai/fcollada | d02e475d45e01a33c2c588a4a62a3ac0d70ef9e0 | [
"MIT"
] | 9 | 2016-04-22T05:47:37.000Z | 2021-03-02T08:58:56.000Z | FCollada/FColladaTest/FCTestXRef/FCTestXRefAcyclic.cpp | matthewlai/fcollada | d02e475d45e01a33c2c588a4a62a3ac0d70ef9e0 | [
"MIT"
] | 5 | 2018-12-17T13:49:54.000Z | 2021-11-26T17:22:16.000Z | FCollada/FColladaTest/FCTestXRef/FCTestXRefAcyclic.cpp | matthewlai/fcollada | d02e475d45e01a33c2c588a4a62a3ac0d70ef9e0 | [
"MIT"
] | 5 | 2018-06-26T19:42:58.000Z | 2021-10-11T13:03:31.000Z | /*
Copyright (C) 2005-2007 Feeling Software Inc.
Portions of the code are:
Copyright (C) 2005-2007 Sony Computer Entertainment America
MIT License: http://www.opensource.org/licenses/mit-license.php
*/
#include "StdAfx.h"
#include "FCDocument/FCDocument.h"
#include "FCDocument/FCDAsset.h"
#include "FCDocument/FCD... | 36.455696 | 112 | 0.751042 | matthewlai |
447533658405d0b3e50e451a2aea5451740024b8 | 2,316 | cpp | C++ | 310_Minimum_Height_Trees.cpp | AvadheshChamola/LeetCode | b0edabfa798c4e204b015f4c367bfc5acfbd8277 | [
"MIT"
] | null | null | null | 310_Minimum_Height_Trees.cpp | AvadheshChamola/LeetCode | b0edabfa798c4e204b015f4c367bfc5acfbd8277 | [
"MIT"
] | null | null | null | 310_Minimum_Height_Trees.cpp | AvadheshChamola/LeetCode | b0edabfa798c4e204b015f4c367bfc5acfbd8277 | [
"MIT"
] | null | null | null | /*
310. Minimum Height Trees
Medium
A tree is an undirected graph in which any two vertices are connected by exactly one path. In other words, any connected graph without simple cycles is a tree.
Given a tree of n nodes labelled from 0 to n - 1, and an array of n - 1 edges where edges[i] = [ai, bi] indicates that the... | 32.619718 | 422 | 0.567789 | AvadheshChamola |
44795f9d12d6bcde60cf97d03de847a0dfe42ab7 | 1,540 | cpp | C++ | POJ/POJ - 1654/Wrong Answer.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | POJ/POJ - 1654/Wrong Answer.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | POJ/POJ - 1654/Wrong Answer.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: 2019-04-03 01:23:59
* solution_verdict: Wrong Answer language: C++
* run... | 28.518519 | 111 | 0.406494 | kzvd4729 |
447ad53dafabcec380cbffb82c9a076039265ae0 | 836 | hpp | C++ | PA2/src/Light.hpp | dowoncha/COMP575 | 6e48bdd80cb1a3e677c07655640efa941325e59c | [
"MIT"
] | null | null | null | PA2/src/Light.hpp | dowoncha/COMP575 | 6e48bdd80cb1a3e677c07655640efa941325e59c | [
"MIT"
] | null | null | null | PA2/src/Light.hpp | dowoncha/COMP575 | 6e48bdd80cb1a3e677c07655640efa941325e59c | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* filename: Light.hpp
* author: Do Won Cha
* content: Light class to put in scenes
*
******************************************************************************/
#pragma once
#ifndef _RAST_LIGHT_
#define _RAST_LIGHT... | 19.44186 | 80 | 0.494019 | dowoncha |
447b361c0d3f3f76cdd8a41752db6911985e74bf | 4,525 | cpp | C++ | OverEngine/src/Platform/OpenGL/OpenGLTexture.cpp | larrymason01/OverEngine | 4e44fe8385cc1780f2189ee5135f70b1e69104fd | [
"MIT"
] | 159 | 2020-03-16T14:46:46.000Z | 2022-03-31T23:38:14.000Z | OverEngine/src/Platform/OpenGL/OpenGLTexture.cpp | larrymason01/OverEngine | 4e44fe8385cc1780f2189ee5135f70b1e69104fd | [
"MIT"
] | 5 | 2020-11-22T14:40:20.000Z | 2022-01-16T03:45:54.000Z | OverEngine/src/Platform/OpenGL/OpenGLTexture.cpp | larrymason01/OverEngine | 4e44fe8385cc1780f2189ee5135f70b1e69104fd | [
"MIT"
] | 17 | 2020-06-01T05:58:32.000Z | 2022-02-10T17:28:36.000Z | #include "pcheader.h"
#include "OpenGLTexture.h"
#include <glad/gl.h>
#include <stb_image.h>
namespace OverEngine
{
static TextureFormat GetFormatFromChannelCount(int channels)
{
switch (channels)
{
case 3: return TextureFormat::RGB8;
case 4: return TextureFormat::RGBA8;
default: return TextureFormat::No... | 23.567708 | 110 | 0.740773 | larrymason01 |
447c404aacc0b5764eef6ebdd750adf15a5a0bb9 | 10,297 | cpp | C++ | gen/irstate.cpp | bcarneal/ldc | 9651acd24e1ce2be21c34c163ec6beb9dd77018a | [
"Apache-2.0"
] | 3 | 2016-07-14T17:48:47.000Z | 2016-09-20T05:33:41.000Z | gen/irstate.cpp | bcarneal/ldc | 9651acd24e1ce2be21c34c163ec6beb9dd77018a | [
"Apache-2.0"
] | 1 | 2019-08-30T05:05:40.000Z | 2019-08-30T05:05:40.000Z | gen/irstate.cpp | bcarneal/ldc | 9651acd24e1ce2be21c34c163ec6beb9dd77018a | [
"Apache-2.0"
] | 2 | 2019-08-30T03:10:44.000Z | 2019-09-17T02:54:21.000Z | //===-- irstate.cpp -------------------------------------------------------===//
//
// LDC – the LLVM D compiler
//
// This file is distributed under the BSD-style LDC license. See the LICENSE
// file for details.
//
//===----------------------------------------------------------------------===/... | 34.670034 | 80 | 0.608333 | bcarneal |
447ee518b20a820ae2bf91d6a76dfc3badd5fd00 | 1,491 | cpp | C++ | app/src/main/cpp/engine/material.cpp | JsMarq96/Quest-Testing | e2017f20fa2a1ca1bbaa25b36ab4c58fa4cf7761 | [
"Apache-2.0"
] | null | null | null | app/src/main/cpp/engine/material.cpp | JsMarq96/Quest-Testing | e2017f20fa2a1ca1bbaa25b36ab4c58fa4cf7761 | [
"Apache-2.0"
] | null | null | null | app/src/main/cpp/engine/material.cpp | JsMarq96/Quest-Testing | e2017f20fa2a1ca1bbaa25b36ab4c58fa4cf7761 | [
"Apache-2.0"
] | null | null | null | //
// Created by Juan S. Marquerie on 31/05/2021.
//
#include "material.h"
void material_add_shader(sMaterial *mat,
const char *vertex_shader,
const char *fragment_shader) {
mat->shader.load_shaders(vertex_shader,
fragment... | 28.132075 | 72 | 0.551308 | JsMarq96 |
447f5a44ec84f3babb4c709232c661700476b70a | 37,643 | cpp | C++ | src/ompl/geometric/planners/fmt/src/BFMT.cpp | sbgisen/ompl | f814f614b0581f9b9b150bec23ba1446ff1d7e94 | [
"BSD-3-Clause"
] | null | null | null | src/ompl/geometric/planners/fmt/src/BFMT.cpp | sbgisen/ompl | f814f614b0581f9b9b150bec23ba1446ff1d7e94 | [
"BSD-3-Clause"
] | null | null | null | src/ompl/geometric/planners/fmt/src/BFMT.cpp | sbgisen/ompl | f814f614b0581f9b9b150bec23ba1446ff1d7e94 | [
"BSD-3-Clause"
] | null | null | null |
#include <boost/math/constants/constants.hpp>
#include <boost/math/distributions/binomial.hpp>
#include <ompl/datastructures/BinaryHeap.h>
#include <ompl/tools/config/SelfConfig.h>
#include <ompl/datastructures/NearestNeighborsGNAT.h>
#include <ompl/base/objectives/PathLengthOptimizationObjective.h>
#include <ompl/ge... | 42.295506 | 120 | 0.464203 | sbgisen |
4482074a4748630dba7f80fc46e4d0e0c563e4d1 | 975 | cpp | C++ | Questless/Questless/src/animation/particles/black_magic_particle.cpp | jonathansharman/questless | bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d | [
"MIT"
] | 2 | 2020-07-14T12:50:06.000Z | 2020-11-04T02:25:09.000Z | Questless/Questless/src/animation/particles/black_magic_particle.cpp | jonathansharman/questless | bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d | [
"MIT"
] | null | null | null | Questless/Questless/src/animation/particles/black_magic_particle.cpp | jonathansharman/questless | bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d | [
"MIT"
] | null | null | null | //! @file
//! @copyright See <a href="LICENSE.txt">LICENSE.txt</a>.
#include "black_magic_particle.hpp"
#include "rsrc/particle.hpp"
#include "utility/random.hpp"
using namespace vecx::literals;
namespace ql {
using namespace view::literals;
black_magic_particle::black_magic_particle(rsrc::particle const& resour... | 28.676471 | 90 | 0.741538 | jonathansharman |
4483fe138279f7b7cadc20ba6c50e7858908e76c | 706 | hpp | C++ | Library/Source/EnergyManager/Profiling/Profilers/NWProfiler.hpp | NB4444/BachelorProjectEnergyManager | d1fd93dcc83af6d6acd36b7efda364ac2aab90eb | [
"MIT"
] | null | null | null | Library/Source/EnergyManager/Profiling/Profilers/NWProfiler.hpp | NB4444/BachelorProjectEnergyManager | d1fd93dcc83af6d6acd36b7efda364ac2aab90eb | [
"MIT"
] | null | null | null | Library/Source/EnergyManager/Profiling/Profilers/NWProfiler.hpp | NB4444/BachelorProjectEnergyManager | d1fd93dcc83af6d6acd36b7efda364ac2aab90eb | [
"MIT"
] | null | null | null | #pragma once
#include <EnergyManager.hpp>
#include <memory>
class NWProfiler : public EnergyManager::Profiling::Profilers::Profiler {
using EnergyManager::Profiling::Profilers::Profiler::Profiler;
protected:
/**
* Gets called whenever a profiler session is initiated and is provided with the current profile to ru... | 32.090909 | 105 | 0.747875 | NB4444 |
44853c2e7255bbd9598b5ecbee63e0ca7f105e12 | 1,585 | cpp | C++ | kernel/graphics.cpp | three-0-3/my-mikanos | e85f9e15d735babde1650c6fa87ffed210dece6d | [
"Apache-2.0"
] | null | null | null | kernel/graphics.cpp | three-0-3/my-mikanos | e85f9e15d735babde1650c6fa87ffed210dece6d | [
"Apache-2.0"
] | null | null | null | kernel/graphics.cpp | three-0-3/my-mikanos | e85f9e15d735babde1650c6fa87ffed210dece6d | [
"Apache-2.0"
] | null | null | null | #include "graphics.hpp"
void RGBResv8BitPerColorPixelWriter::Write(Vector2D<int> pos, const PixelColor& c) {
auto p = PixelAt(pos);
p[0] = c.r;
p[1] = c.g;
p[2] = c.b;
}
void BGRResv8BitPerColorPixelWriter::Write(Vector2D<int> pos, const PixelColor& c) {
auto p = PixelAt(pos);
p[0] = c.b;
p[1] = c.g;
p[2] = c... | 26.864407 | 115 | 0.594953 | three-0-3 |
44881bde6e8f824960bb78ce40bb76f2e8928e2a | 40 | hpp | C++ | libng/core/src/libng_core/debug/Util.hpp | gapry/libng | 8fbf927e5bb73f105bddbb618430d3e1bf2cf877 | [
"MIT"
] | null | null | null | libng/core/src/libng_core/debug/Util.hpp | gapry/libng | 8fbf927e5bb73f105bddbb618430d3e1bf2cf877 | [
"MIT"
] | null | null | null | libng/core/src/libng_core/debug/Util.hpp | gapry/libng | 8fbf927e5bb73f105bddbb618430d3e1bf2cf877 | [
"MIT"
] | null | null | null | #pragma once
#define LIBNG_DEBUG _DEBUG | 13.333333 | 26 | 0.825 | gapry |
449041cee6c13855b2d81ccdd0928f1427af2d7b | 36,617 | cpp | C++ | lib/SILOptimizer/Utils/CFG.cpp | sysidos/swift-1 | 90aab6a99c173c9a045dce348a88c73e1fc4f1e8 | [
"Apache-2.0"
] | null | null | null | lib/SILOptimizer/Utils/CFG.cpp | sysidos/swift-1 | 90aab6a99c173c9a045dce348a88c73e1fc4f1e8 | [
"Apache-2.0"
] | null | null | null | lib/SILOptimizer/Utils/CFG.cpp | sysidos/swift-1 | 90aab6a99c173c9a045dce348a88c73e1fc4f1e8 | [
"Apache-2.0"
] | null | null | null | //===--- CFG.cpp - Utilities for SIL CFG transformations ------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 36.040354 | 106 | 0.642488 | sysidos |
4490a1959fb2cf7adabe2da0e9844b9f60973284 | 423 | cpp | C++ | codeforce2/236A. Boy or Girl.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce2/236A. Boy or Girl.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce2/236A. Boy or Girl.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
int freq[26] = {0};
for(int i = 0; i < s.size(); i++)
freq[s[i] - 'a']++;
int c = 0;
for(int i = 0; i < 26; i++)
if(freq[i])
c++;
if(c % ... | 17.625 | 45 | 0.404255 | khaled-farouk |
44914cc9672ad8b0b5b61e29802ecd3c2382b43d | 3,879 | cpp | C++ | 3dparty/taglib/examples/framelist.cpp | olanser/uteg | c8c79a8e8e5d185253b415e67f7b6d9e37114da3 | [
"MIT"
] | 3,066 | 2016-06-10T09:23:40.000Z | 2022-03-31T11:01:01.000Z | 3dparty/taglib/examples/framelist.cpp | olanser/uteg | c8c79a8e8e5d185253b415e67f7b6d9e37114da3 | [
"MIT"
] | 414 | 2016-09-20T20:26:05.000Z | 2022-03-29T00:43:13.000Z | 3dparty/taglib/examples/framelist.cpp | olanser/uteg | c8c79a8e8e5d185253b415e67f7b6d9e37114da3 | [
"MIT"
] | 310 | 2016-06-13T21:53:04.000Z | 2022-03-18T14:36:38.000Z | /* Copyright (C) 2003 Scott Wheeler <wheeler@kde.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 32.872881 | 109 | 0.576179 | olanser |
44914daa0eec6c16a3ae8198479558e4adf7f559 | 395 | cpp | C++ | Source/ex1.cpp | allhailthetail/cpp-itp-main | 43a33a3df68feac3a600b3a51af3fbe893225277 | [
"MIT"
] | null | null | null | Source/ex1.cpp | allhailthetail/cpp-itp-main | 43a33a3df68feac3a600b3a51af3fbe893225277 | [
"MIT"
] | null | null | null | Source/ex1.cpp | allhailthetail/cpp-itp-main | 43a33a3df68feac3a600b3a51af3fbe893225277 | [
"MIT"
] | null | null | null | // Sample C++ program
#include <iostream>
using namespace std;
int main()
{
/* You have multiple options for doing new lines.
Either insert an escape character, as shown, or declare an end of line
*/
cout << "Hello, there! \n How about a new line??" << endl;
cout << "Now let's try some tabs!!\ttab\ttab..." << endl;
cou... | 26.333333 | 70 | 0.648101 | allhailthetail |
44918d79bdf02d8e273243b3f8f017a416cbc0c5 | 19,138 | cpp | C++ | tutorial02/main.cpp | taqu/RayTracing | b0727ef16c8252cd7d3d79ef94c0691a2b7a4387 | [
"Unlicense"
] | null | null | null | tutorial02/main.cpp | taqu/RayTracing | b0727ef16c8252cd7d3d79ef94c0691a2b7a4387 | [
"Unlicense"
] | null | null | null | tutorial02/main.cpp | taqu/RayTracing | b0727ef16c8252cd7d3d79ef94c0691a2b7a4387 | [
"Unlicense"
] | null | null | null | #define CPPIMG_IMPLEMENTATION
#include <cppimg/cppimg.h>
#define CPPGLTF_IMPLEMENTATION
#include <cppgltf/cppgltf.h>
#include "lray.h"
#include "Camera.h"
#include "core/LString.h"
#include "core/Array.h"
#include "math/Ray.h"
#include "math/RayTest.h"
#include "math/Matrix44.h"
#include "math/Quaternion.h"
#include "c... | 32.658703 | 134 | 0.601996 | taqu |
44984fb9ac3a27980de5b1d310db831404ca5818 | 1,044 | hpp | C++ | src/ParserError.hpp | rowanG077/InferExamAnswers | aedd537be0dc78ac6cc1face39302b3bd27ab007 | [
"MIT"
] | 2 | 2018-12-22T12:19:31.000Z | 2018-12-24T09:35:25.000Z | src/ParserError.hpp | rowanG077/InferExamAnswers | aedd537be0dc78ac6cc1face39302b3bd27ab007 | [
"MIT"
] | 1 | 2019-10-28T09:38:06.000Z | 2020-05-06T17:43:18.000Z | src/ParserError.hpp | rowanG077/InferExamAnswers | aedd537be0dc78ac6cc1face39302b3bd27ab007 | [
"MIT"
] | null | null | null | #pragma once
#include <exception>
#include <stdexcept>
#include <string>
/**
* @brief Contains code for the InferExamAnswers problem
*/
namespace InferExamAnswers
{
/**
* @brief Exception that is thrown when error occurs during parsing
*/
struct ParserError : public std::runtime_error
{
public:
/**
* @brief Co... | 23.2 | 96 | 0.722222 | rowanG077 |
44990748d1c84a2784d4f0a0f288054230804a96 | 21,151 | cpp | C++ | Sources/simdlib/SimdAvx512bwBackground.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | 6 | 2017-10-13T04:29:38.000Z | 2018-05-10T13:52:20.000Z | Sources/simdlib/SimdAvx512bwBackground.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | Sources/simdlib/SimdAvx512bwBackground.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2017 Yermalayeu Ihar.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including with... | 46.282276 | 171 | 0.678597 | aestesis |
449c7154ca945846417d9f3cd49227380218180d | 18,771 | cpp | C++ | XDKSamples/Audio/SimpleSpatialPlaySoundXDK/SimpleSpatialPlaySoundXDK.cpp | dephora/Xbox-ATG-Samples | 31e482c9e23def36073542ce614a0f0b145d7112 | [
"MIT"
] | null | null | null | XDKSamples/Audio/SimpleSpatialPlaySoundXDK/SimpleSpatialPlaySoundXDK.cpp | dephora/Xbox-ATG-Samples | 31e482c9e23def36073542ce614a0f0b145d7112 | [
"MIT"
] | null | null | null | XDKSamples/Audio/SimpleSpatialPlaySoundXDK/SimpleSpatialPlaySoundXDK.cpp | dephora/Xbox-ATG-Samples | 31e482c9e23def36073542ce614a0f0b145d7112 | [
"MIT"
] | 1 | 2020-07-30T11:13:23.000Z | 2020-07-30T11:13:23.000Z | //--------------------------------------------------------------------------------------
// SimpleSpatialPlaySoundXDK.cpp
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#i... | 32.363793 | 147 | 0.544883 | dephora |
449d53cb90ea98c78591551c0671486171fef3ed | 10,993 | hpp | C++ | glx_parse.hpp | degarashi/resonant | f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a | [
"MIT"
] | null | null | null | glx_parse.hpp | degarashi/resonant | f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a | [
"MIT"
] | null | null | null | glx_parse.hpp | degarashi/resonant | f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a | [
"MIT"
] | null | null | null | #pragma once
#define BOOST_NO_CXX11_DECLTYPE_N3276
#include "glhead.hpp"
#include "glx_macro.hpp"
#include <boost/spirit/home/x3.hpp>
#include <boost/fusion/container.hpp>
#include <boost/fusion/algorithm.hpp>
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
#include <boost/optional.hpp>
#include <iostream>
#inc... | 30.62117 | 95 | 0.67825 | degarashi |
449fed2a69fe430949e7d60839d6d000354b2387 | 1,127 | cpp | C++ | dev/dll/MUXControlsFactory.cpp | micahl/microsoft-ui-xaml | 75ea41ee0847af715aa2ddad5dd2027f393b1e6b | [
"MIT"
] | 2 | 2019-08-26T17:16:26.000Z | 2020-04-30T20:31:20.000Z | dev/dll/MUXControlsFactory.cpp | chingucoding/microsoft-ui-xaml | 9c623fec308f1c081afbff2563e2acdff92729c3 | [
"MIT"
] | null | null | null | dev/dll/MUXControlsFactory.cpp | chingucoding/microsoft-ui-xaml | 9c623fec308f1c081afbff2563e2acdff92729c3 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "pch.h"
#include "common.h"
#include "XamlMetadataProvider.h"
#include "MUXControlsFactory.h"
#ifdef MATERIALS_INCLUDED
#include "RevealBrush.h"
... | 29.657895 | 189 | 0.692103 | micahl |
44a36b42047385d80544a250dec84cbf129c391a | 200 | hpp | C++ | book/cpp_templates/tmplbook/inherit/person.hpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | book/cpp_templates/tmplbook/inherit/person.hpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | book/cpp_templates/tmplbook/inherit/person.hpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | struct Person {
std::string firstName;
std::string lastName;
friend std::ostream& operator<<(std::ostream& strm, Person const& p) {
return strm << p.lastName << ", " << p.firstName;
}
};
| 22.222222 | 72 | 0.63 | houruixiang |
44a69a20b8594d30a187b8835b2249035fcaa1f8 | 558 | hpp | C++ | headers/CameraComponent.hpp | bDiazCentro/AlchemyFramework | 6b55cdef1d0b9ddb4248382e44bbbfdb8320f062 | [
"MIT"
] | null | null | null | headers/CameraComponent.hpp | bDiazCentro/AlchemyFramework | 6b55cdef1d0b9ddb4248382e44bbbfdb8320f062 | [
"MIT"
] | null | null | null | headers/CameraComponent.hpp | bDiazCentro/AlchemyFramework | 6b55cdef1d0b9ddb4248382e44bbbfdb8320f062 | [
"MIT"
] | null | null | null | #ifndef CAMERA_COMPONENT_H
#define CAMERA_COMPONENT_H
enum Projection {ORTHOGRAPHIC, PERSPECTIVE};
class Object;
class TransformComponent;
class CameraComponent
{
private:
Object *father;
TransformComponent *lookTarget;
public:
Projection projection = Projection::ORTHOGRAPHIC;
float fov;
float n... | 18.6 | 51 | 0.731183 | bDiazCentro |
44a881af02f2d62098b57b043f35fa22f4e6bfb1 | 13,167 | cpp | C++ | libs/math/test/test_bessel_j_prime.cpp | Abce/boost | 2d7491a27211aa5defab113f8e2d657c3d85ca93 | [
"BSL-1.0"
] | 85 | 2015-02-08T20:36:17.000Z | 2021-11-14T20:38:31.000Z | libs/boost/libs/math/test/test_bessel_j_prime.cpp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | libs/boost/libs/math/test/test_bessel_j_prime.cpp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 27 | 2015-01-28T16:33:30.000Z | 2021-08-12T05:04:39.000Z | // Copyright (c) 2013 Anton Bikineev
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include "pch_light.hpp"
#include "test_bessel_j_prime.hpp"
//
// DESCRIPTION:... | 42.474194 | 163 | 0.422116 | Abce |
44ac457f50baea79aae03e03037c6a508dbe5c66 | 32,268 | cpp | C++ | bbs/lilo.cpp | dotelpenguin/wwiv | 58d651fea6a5287da3282f9afb05e43ff3012fee | [
"Apache-2.0"
] | null | null | null | bbs/lilo.cpp | dotelpenguin/wwiv | 58d651fea6a5287da3282f9afb05e43ff3012fee | [
"Apache-2.0"
] | null | null | null | bbs/lilo.cpp | dotelpenguin/wwiv | 58d651fea6a5287da3282f9afb05e43ff3012fee | [
"Apache-2.0"
] | null | null | null | /**************************************************************************/
/* */
/* WWIV Version 5.x */
/* Copyright (C)1998-2020, WWIV Software Services */
/* ... | 31.086705 | 117 | 0.556775 | dotelpenguin |
44ae758972bebb36226c9b9f99def329ac8e1949 | 15,661 | cpp | C++ | Source/Ilum/Editor/Panels/Inspector.cpp | LavenSun/IlumEngine | 94841e56af3c5214f04e7a94cb7369f4935c5788 | [
"MIT"
] | 1 | 2021-11-20T15:39:09.000Z | 2021-11-20T15:39:09.000Z | Source/Ilum/Editor/Panels/Inspector.cpp | LavenSun/IlumEngine | 94841e56af3c5214f04e7a94cb7369f4935c5788 | [
"MIT"
] | null | null | null | Source/Ilum/Editor/Panels/Inspector.cpp | LavenSun/IlumEngine | 94841e56af3c5214f04e7a94cb7369f4935c5788 | [
"MIT"
] | null | null | null | #include "Inspector.hpp"
#include "Editor/Editor.hpp"
#include "Scene/Component/DirectionalLight.hpp"
#include "Scene/Component/Hierarchy.hpp"
#include "Scene/Component/Light.hpp"
#include "Scene/Component/MeshRenderer.hpp"
#include "Scene/Component/PointLight.hpp"
#include "Scene/Component/SpotLight.hpp"
#include "S... | 30.889546 | 211 | 0.655961 | LavenSun |
44b2af13c4693fd56ed378502edc9b95c73f56b9 | 1,482 | cc | C++ | bench/SpConvI8Benchmark.cc | wuhuikx/FBGEMM | 672beabd4c315a020adf07a1b8bd2018a18e0dd1 | [
"BSD-3-Clause"
] | null | null | null | bench/SpConvI8Benchmark.cc | wuhuikx/FBGEMM | 672beabd4c315a020adf07a1b8bd2018a18e0dd1 | [
"BSD-3-Clause"
] | null | null | null | bench/SpConvI8Benchmark.cc | wuhuikx/FBGEMM | 672beabd4c315a020adf07a1b8bd2018a18e0dd1 | [
"BSD-3-Clause"
] | null | null | null | #include "bench/BenchUtils.h"
#include "fbgemm/FbgemmSpConv.h"
#include <iostream>
using namespace std;
using namespace fbgemm;
int main(int, char**) {
vector<char> llc(128 * 1024 * 1024);
// clang-format off
vector<vector<unsigned>> shapes = {
{128, 128, 28, 28}
};
// clang-format on
// C is MxN -... | 25.551724 | 77 | 0.566127 | wuhuikx |
44b43fa6dbfdca8589f6eedd3ea24335d6cb48df | 1,749 | cpp | C++ | 10002.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 10002.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 10002.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#include <map>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define pi 2*acos(0.0)
#de... | 16.980583 | 84 | 0.523728 | felikjunvianto |
44b51a507ec5e8bb63bd86383598b502d03c7e43 | 30,138 | cpp | C++ | BE_Supporter/MtnAlgo/MtnAFT/dllsrc/MotDLL_LoadWbDefSpeedServo.cpp | ZHAOZhengyi-tgx/BE-Supporter_2016 | 88bb9c7b1c16afeaff4855aa0dd3b316c394e68a | [
"MIT"
] | null | null | null | BE_Supporter/MtnAlgo/MtnAFT/dllsrc/MotDLL_LoadWbDefSpeedServo.cpp | ZHAOZhengyi-tgx/BE-Supporter_2016 | 88bb9c7b1c16afeaff4855aa0dd3b316c394e68a | [
"MIT"
] | null | null | null | BE_Supporter/MtnAlgo/MtnAFT/dllsrc/MotDLL_LoadWbDefSpeedServo.cpp | ZHAOZhengyi-tgx/BE-Supporter_2016 | 88bb9c7b1c16afeaff4855aa0dd3b316c394e68a | [
"MIT"
] | null | null | null | //The MIT License (MIT)
//
//Copyright (c) 2016 ZHAOZhengyi-tgx
//
//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... | 38.197719 | 182 | 0.769693 | ZHAOZhengyi-tgx |
44b5df20667816f2f1155dcb84c7690555a09f9e | 4,735 | cpp | C++ | samples/hot-triangle/hot_wasm.cpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | 29 | 2021-11-19T11:28:22.000Z | 2022-03-29T00:26:51.000Z | samples/hot-triangle/hot_wasm.cpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | null | null | null | samples/hot-triangle/hot_wasm.cpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | 1 | 2022-03-05T08:14:40.000Z | 2022-03-05T08:14:40.000Z | #include "cgpu/api.h"
#include "utils.h"
#include "platform/thread.h"
#include <filesystem>
#include <fstream>
#include "filewatch.hpp"
// Watch triangle_module32.wasm file automatically
struct WasmWatcher {
WasmWatcher()
{
auto cpath = std::filesystem::absolute("triangle_module32.wasm");
watch... | 32.655172 | 119 | 0.608659 | SakuraEngine |
44b7c175f87157a0c864a2a66653d688f42cfb1d | 10,997 | cpp | C++ | examples/headless/main.cpp | WebKitForWayland/wpe-mesa | 3f9f87d5f42c27a22273d67db072bd7f2cba6135 | [
"BSD-2-Clause"
] | 2 | 2019-09-17T04:49:55.000Z | 2021-01-09T18:24:58.000Z | examples/headless/main.cpp | WebKitForWayland/wpe-mesa | 3f9f87d5f42c27a22273d67db072bd7f2cba6135 | [
"BSD-2-Clause"
] | 3 | 2017-11-02T13:08:03.000Z | 2018-09-27T13:10:56.000Z | examples/headless/main.cpp | WebKitForWayland/wpe-mesa | 3f9f87d5f42c27a22273d67db072bd7f2cba6135 | [
"BSD-2-Clause"
] | 10 | 2017-05-03T21:15:46.000Z | 2020-03-18T13:58:42.000Z |
#include <cairo.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <WebKit/WKContext.h>
#include <WebKit/WKFramePolicyListener.h>
#include <WebKit/WKPage.h>
#include <WebKit/WKPageGroup.h>
#include <WebKit/WKPageConfigurationRef.h>
#include <WebKit/WKRetainPtr.h>... | 33.629969 | 148 | 0.71765 | WebKitForWayland |
44bb335564831dcab945d1d801e2b3ac69da9f8f | 2,763 | cpp | C++ | source/Kai/Kai.cpp | ioquatix/kai | 4f8d00cd05b4123b6389f8dc3187ec1421b4f2da | [
"Unlicense",
"MIT"
] | 4 | 2016-07-19T08:53:09.000Z | 2021-08-03T10:06:41.000Z | source/Kai/Kai.cpp | ioquatix/kai | 4f8d00cd05b4123b6389f8dc3187ec1421b4f2da | [
"Unlicense",
"MIT"
] | null | null | null | source/Kai/Kai.cpp | ioquatix/kai | 4f8d00cd05b4123b6389f8dc3187ec1421b4f2da | [
"Unlicense",
"MIT"
] | null | null | null | //
// Kai.cpp
// This file is part of the "Kai" project, and is released under the MIT license.
//
// Created by Samuel Williams on 24/06/09.
// Copyright 2009 Samuel Williams. All rights reserved.
//
//
#include "Kai.hpp"
#include <ctime>
#include <sys/time.h>
#include <cmath>
#include "Ensure.hpp"
namespace Ka... | 17.487342 | 82 | 0.608035 | ioquatix |
44bbff8144dc025ab63103ad8dee8c2501895795 | 7,938 | cpp | C++ | asio-basic/src/main.cpp | kovdan01/cosec-examples | bf19f2e2db8962d80ee7ce237be1c8af9e901cc9 | [
"MIT"
] | 2 | 2021-03-03T08:40:39.000Z | 2021-06-15T15:32:28.000Z | asio-basic/src/main.cpp | kovdan01/cosec-examples | bf19f2e2db8962d80ee7ce237be1c8af9e901cc9 | [
"MIT"
] | 3 | 2021-01-04T17:47:48.000Z | 2021-03-17T05:54:00.000Z | asio-basic/src/main.cpp | kovdan01/cosec-examples | bf19f2e2db8962d80ee7ce237be1c8af9e901cc9 | [
"MIT"
] | 3 | 2020-12-17T20:10:56.000Z | 2021-04-28T09:03:16.000Z | #include <ce/asio-main.hpp>
#include <ce/charconv.hpp>
#include <ce/format.hpp>
#include <ce/io_context_signal_interrupter.hpp>
#include <ce/socket_session.hpp>
#include <ce/tcp_listener.hpp>
#include <boost/asio/buffer.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/asio/read_until.hpp>
#include <boost/asio... | 48.699387 | 104 | 0.434492 | kovdan01 |
44bf949e3966b4cbcfb69a1b6abaa4be59679694 | 2,390 | hpp | C++ | core/src/utils/MeshUtils.hpp | lonnibesancon/utymap | 6d14a3d1386aade8c2755da4abc00269284c90d4 | [
"Apache-2.0"
] | 1 | 2019-04-04T14:20:37.000Z | 2019-04-04T14:20:37.000Z | core/src/utils/MeshUtils.hpp | lonnibesancon/utymap | 6d14a3d1386aade8c2755da4abc00269284c90d4 | [
"Apache-2.0"
] | null | null | null | core/src/utils/MeshUtils.hpp | lonnibesancon/utymap | 6d14a3d1386aade8c2755da4abc00269284c90d4 | [
"Apache-2.0"
] | null | null | null | #ifndef UTILS_MESHUTILS_HPP_DEFINED
#define UTILS_MESHUTILS_HPP_DEFINED
#include "math/Mesh.hpp"
#include "math/Vector3.hpp"
namespace utymap { namespace utils {
/// Copies mesh into existing one adjusting position.
inline void copyMesh(const utymap::math::Vector3& position, const utymap::math::Mesh& source, utymap:... | 41.929825 | 128 | 0.689121 | lonnibesancon |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.