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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33d7a0bdc6fa364dbda6bbde191b68032f6b6315 | 9,778 | cpp | C++ | src/core/type/dynobject.cpp | eXl-Nic/eXl | a5a0f77f47db3179365c107a184bb38b80280279 | [
"MIT"
] | null | null | null | src/core/type/dynobject.cpp | eXl-Nic/eXl | a5a0f77f47db3179365c107a184bb38b80280279 | [
"MIT"
] | null | null | null | src/core/type/dynobject.cpp | eXl-Nic/eXl | a5a0f77f47db3179365c107a184bb38b80280279 | [
"MIT"
] | null | null | null | /*
Copyright 2009-2021 Nicolas Colombe
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, distribute... | 24.14321 | 460 | 0.629679 | eXl-Nic |
33d93ec2322125fa02ebf73b04c1ea4047fd8883 | 32,515 | cpp | C++ | src/biomolecules/spexpert/waittasklist.cpp | biomolecules/spexpert | 929786ff9a1fb021b306bc705739405563cad46d | [
"BSD-3-Clause"
] | 2 | 2022-01-14T17:58:41.000Z | 2022-01-14T17:58:56.000Z | src/biomolecules/spexpert/waittasklist.cpp | biomolecules/spexpert | 929786ff9a1fb021b306bc705739405563cad46d | [
"BSD-3-Clause"
] | 10 | 2018-11-15T12:50:44.000Z | 2018-11-21T11:32:57.000Z | src/biomolecules/spexpert/waittasklist.cpp | biomolecules/spexpert | 929786ff9a1fb021b306bc705739405563cad46d | [
"BSD-3-Clause"
] | null | null | null | #include "waittasklist.h"
#include "waittask.h"
#include "waittasks.h"
#include <QMutex>
#include <QThread>
#include <QTimer>
/*!
\namespace WaitTaskListTraits
\brief Namespace containing WaitTaskList's enums and helper structures
*/
/*!
\enum WaitTaskListTraits::WaitFor
\brief This scoped enum contains... | 34.516985 | 139 | 0.696356 | biomolecules |
33daa3cdcdca36dced4b13d096c62a6ce2c5bdf9 | 138 | hxx | C++ | src/Providers/UNIXProviders/RejectConnectionAction/UNIX_RejectConnectionAction_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/RejectConnectionAction/UNIX_RejectConnectionAction_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/RejectConnectionAction/UNIX_RejectConnectionAction_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_AIX
#ifndef __UNIX_REJECTCONNECTIONACTION_PRIVATE_H
#define __UNIX_REJECTCONNECTIONACTION_PRIVATE_H
#endif
#endif
| 11.5 | 47 | 0.862319 | brunolauze |
33de4f928a465857743eb803c7a16ef3586cda78 | 34,062 | cpp | C++ | flinter/zookeeper/zookeeper.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 29 | 2016-01-29T09:31:09.000Z | 2021-07-11T12:00:31.000Z | flinter/zookeeper/zookeeper.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 2 | 2015-03-30T09:59:51.000Z | 2017-03-13T09:35:18.000Z | flinter/zookeeper/zookeeper.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 17 | 2015-03-28T09:24:53.000Z | 2021-08-07T10:09:10.000Z | /* Copyright 2015 yiyuanzhong@gmail.com (Yiyuan Zhong)
*
* 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... | 27.381029 | 100 | 0.539487 | yiyuanzhong |
33e087df119e35543991f7d7f2fa36127dda491e | 15,014 | hpp | C++ | include/libtorrent/peer_info.hpp | naftaly/libtorrent | dc030c9b9c5ad742bd6ba4b775d01a263f807730 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | include/libtorrent/peer_info.hpp | naftaly/libtorrent | dc030c9b9c5ad742bd6ba4b775d01a263f807730 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | include/libtorrent/peer_info.hpp | naftaly/libtorrent | dc030c9b9c5ad742bd6ba4b775d01a263f807730 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2003-2016, Arvid Norberg
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 and ... | 33.663677 | 85 | 0.722792 | naftaly |
33e60a5c2b62794381a9ff913be93edf563b3831 | 10,939 | hpp | C++ | include/UnityEngine/ResourceManagement/Util/ResourceManagerConfig.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/UnityEngine/ResourceManagement/Util/ResourceManagerConfig.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/UnityEngine/ResourceManagement/Util/ResourceManagerConfig.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/il2cpp-utils-met... | 71.032468 | 359 | 0.767438 | RedBrumbler |
33e7af76f8979940b9b763a5b99b417725373c6a | 3,123 | hpp | C++ | api/python/enums_wrapper.hpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | api/python/enums_wrapper.hpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | api/python/enums_wrapper.hpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 - 2022 R. Thomas
* Copyright 2017 - 2022 Quarkslab
*
* 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 req... | 33.580645 | 76 | 0.621198 | ahawad |
33e7d7e1a5e2e9d387a045cc5b5f8419ad582443 | 2,071 | hpp | C++ | include/qemu-link.hpp | redcathedral/qemulib | e88ad47c9563094a20c059d59466a34732f4d452 | [
"Apache-2.0"
] | null | null | null | include/qemu-link.hpp | redcathedral/qemulib | e88ad47c9563094a20c059d59466a34732f4d452 | [
"Apache-2.0"
] | null | null | null | include/qemu-link.hpp | redcathedral/qemulib | e88ad47c9563094a20c059d59466a34732f4d452 | [
"Apache-2.0"
] | null | null | null | #ifndef __QEMU_LINK_HPP__
#define __QEMU_LINK_HPP__
#include <netinet/ether.h>
#include <netlink/netlink.h>
#include <netlink/route/link.h>
#include <netlink/route/link/macvtap.h>
#include <linux/if_tun.h> // for tun-devices.
#include <linux/netlink.h>
#include <net/if.h>
#include <string>
#include <iostream>
#includ... | 26.896104 | 109 | 0.765331 | redcathedral |
33e925400e621582ecd7a823f10c1887dc2dd163 | 234 | hpp | C++ | internal/include/dknn/__detail__/local_jobs.hpp | didrod/dknn | 196092772bf7e8b602878b83983fb96f28665dae | [
"BSD-2-Clause"
] | null | null | null | internal/include/dknn/__detail__/local_jobs.hpp | didrod/dknn | 196092772bf7e8b602878b83983fb96f28665dae | [
"BSD-2-Clause"
] | null | null | null | internal/include/dknn/__detail__/local_jobs.hpp | didrod/dknn | 196092772bf7e8b602878b83983fb96f28665dae | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include "dknn/typedefs.hpp"
namespace dknn {
knn_query_result_t nearest_k(size_t k, feature_t const& query_feature);
knn_set_query_result_t nearest_k(size_t k, feature_set_t const& query_set);
} // namespace dknn
| 26 | 77 | 0.786325 | didrod |
33ea2f511db83e311694cd2c091f243d8e28ff67 | 2,006 | cpp | C++ | testing_environmen/testing_environmen/src/camera.cpp | llGuy/gamedev | 16aa203934fd767926c58558e021630288556399 | [
"MIT"
] | null | null | null | testing_environmen/testing_environmen/src/camera.cpp | llGuy/gamedev | 16aa203934fd767926c58558e021630288556399 | [
"MIT"
] | 4 | 2018-12-24T11:16:53.000Z | 2018-12-24T11:20:29.000Z | testing_environmen/testing_environmen/src/camera.cpp | llGuy/gamedev | 16aa203934fd767926c58558e021630288556399 | [
"MIT"
] | null | null | null | #include "camera.h"
#include "detail.h"
#include <utility>
#include "ecs/basic_components.h"
#include <glm/gtx/transform.hpp>
#define SENSITIVITY 0.02f
auto look_fps(glm::vec2 const & cursor_dif,
glm::vec3 const & direction,
f32 elapsed) -> glm::vec3
{
using detail::up;
glm::vec3 res = direction;
f32 x_angle... | 26.394737 | 117 | 0.700897 | llGuy |
33ec05b76ab96ef6d5002f86515c99588c89fb41 | 28,100 | cpp | C++ | src/pdf/SkPDFFont.cpp | kizerkizer/skia | 87b57d083321a21b64979e0e3c92d34c8678e273 | [
"BSD-3-Clause"
] | 8 | 2019-04-20T09:12:17.000Z | 2019-09-06T20:04:22.000Z | src/pdf/SkPDFFont.cpp | AzureMentor/skia | 63b4d5880a5bb3553ce9283400152fa5ed9821f6 | [
"BSD-3-Clause"
] | 3 | 2019-04-29T06:34:00.000Z | 2019-08-18T11:56:32.000Z | src/pdf/SkPDFFont.cpp | AzureMentor/skia | 63b4d5880a5bb3553ce9283400152fa5ed9821f6 | [
"BSD-3-Clause"
] | 4 | 2019-04-19T04:17:34.000Z | 2019-05-01T11:19:38.000Z | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkBitmap.h"
#include "include/core/SkData.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontMetrics.h"
#include "include/core/SkFontTypes... | 42.383107 | 99 | 0.595907 | kizerkizer |
33ee331e7b48d315fe6826a4c2fd61e6f5b7e61f | 730 | cpp | C++ | testing/test_loader.cpp | sanarea/pdfium | 632a6cb844457a97dd48b97ad69ab365aeb17491 | [
"Apache-2.0"
] | 142 | 2019-11-12T02:20:39.000Z | 2022-03-30T05:45:26.000Z | testing/test_loader.cpp | sanarea/pdfium | 632a6cb844457a97dd48b97ad69ab365aeb17491 | [
"Apache-2.0"
] | 3 | 2020-10-22T10:40:55.000Z | 2022-02-19T10:00:51.000Z | testing/test_loader.cpp | sanarea/pdfium | 632a6cb844457a97dd48b97ad69ab365aeb17491 | [
"Apache-2.0"
] | 28 | 2019-12-24T09:30:32.000Z | 2022-03-30T05:46:29.000Z | // Copyright 2019 PDFium 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 "testing/test_loader.h"
#include <string.h>
#include "third_party/base/logging.h"
TestLoader::TestLoader(pdfium::span<const char> span) : m_Span(spa... | 27.037037 | 73 | 0.628767 | sanarea |
33ef3b43cad609fc0d1e70da3970a20fc38e7420 | 4,559 | cxx | C++ | vtk/8.1.0/src/ThirdParty/vtkm/vtk-m/vtkm/cont/RuntimeDeviceTracker.cxx | Fresher-Chen/tarsim | 9d2ec1001ee82ca11325e4b1edb8f2843e36518b | [
"Apache-2.0"
] | 1 | 2020-03-02T17:31:48.000Z | 2020-03-02T17:31:48.000Z | vtk/8.1.0/src/ThirdParty/vtkm/vtk-m/vtkm/cont/RuntimeDeviceTracker.cxx | Fresher-Chen/tarsim | 9d2ec1001ee82ca11325e4b1edb8f2843e36518b | [
"Apache-2.0"
] | 1 | 2019-06-03T17:04:59.000Z | 2019-06-05T15:13:28.000Z | ThirdParty/vtkm/vtk-m/vtkm/cont/RuntimeDeviceTracker.cxx | metux/vtk8 | 77f907913f20295e1eacdb3aba9ed72e2b3ae917 | [
"BSD-3-Clause"
] | 1 | 2020-07-20T06:43:49.000Z | 2020-07-20T06:43:49.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
// PURPOSE... | 27.969325 | 98 | 0.694451 | Fresher-Chen |
33f2e8f075c22670de7b4841f76ad41f171d074a | 836 | hpp | C++ | sprout/bit/count.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/bit/count.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/bit/count.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | 36.347826 | 80 | 0.604067 | kariya-mitsuru |
33f404d29a6bc121eb1a2ad6a2461107efc1e111 | 2,052 | cpp | C++ | libbitcoin/test/oldtests/protst.cpp | mousewu/bcclient | 64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c | [
"MIT"
] | 8 | 2019-05-31T01:37:08.000Z | 2021-10-19T05:52:45.000Z | libbitcoin/test/oldtests/protst.cpp | mousewu/bcclient | 64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c | [
"MIT"
] | 3 | 2017-12-18T17:27:09.000Z | 2018-01-15T16:50:05.000Z | libbitcoin/test/oldtests/protst.cpp | mousewu/bcclient | 64ee1f6f8337103d40a4a0c3dfb73cabcd09a04c | [
"MIT"
] | 5 | 2018-01-09T15:05:55.000Z | 2020-12-17T13:27:25.000Z | /*
* Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
* Fou... | 25.65 | 75 | 0.663255 | mousewu |
33fd7113acf8a2f1d8eb3fc2e724cf06457325ad | 5,292 | cpp | C++ | src/bolson/cli.cpp | johanpel/bolson | 2855cf7e371a968a7add4da0b4c2e6abe8bc0f4c | [
"Apache-2.0"
] | 2 | 2021-12-08T22:18:53.000Z | 2022-01-24T21:51:38.000Z | src/bolson/cli.cpp | johanpel/bolson | 2855cf7e371a968a7add4da0b4c2e6abe8bc0f4c | [
"Apache-2.0"
] | 7 | 2021-03-03T13:31:16.000Z | 2021-06-10T17:23:58.000Z | src/bolson/cli.cpp | johanpel/bolson | 2855cf7e371a968a7add4da0b4c2e6abe8bc0f4c | [
"Apache-2.0"
] | 3 | 2021-03-09T13:32:38.000Z | 2021-12-08T22:18:40.000Z | // Copyright 2020 Teratide B.V.
//
// 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... | 38.347826 | 90 | 0.673658 | johanpel |
33fda50af6c50754715fde7469bff8345751f727 | 2,886 | cpp | C++ | Foundation/testsuite/src/ActivityTest.cpp | apollovideo/poco_src | 12d4908dab166983448f5e7972dd17fd584e3e03 | [
"BSL-1.0"
] | 1 | 2021-01-22T07:50:53.000Z | 2021-01-22T07:50:53.000Z | Foundation/testsuite/src/ActivityTest.cpp | apollovideo/poco_src | 12d4908dab166983448f5e7972dd17fd584e3e03 | [
"BSL-1.0"
] | null | null | null | Foundation/testsuite/src/ActivityTest.cpp | apollovideo/poco_src | 12d4908dab166983448f5e7972dd17fd584e3e03 | [
"BSL-1.0"
] | 1 | 2017-03-24T07:58:13.000Z | 2017-03-24T07:58:13.000Z | //
// ActivityTest.cpp
//
// $Id: //poco/1.4/Foundation/testsuite/src/ActivityTest.cpp#1 $
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompan... | 23.088 | 78 | 0.718642 | apollovideo |
33fdb4e914baa01ea5f9dcde4faeedc59540bd0c | 10,152 | cc | C++ | iree/samples/custom_modules/custom_modules_test.cc | xinan-jiang/iree | 334aa4a5ac033399255fbd836d4fbe807c741230 | [
"Apache-2.0"
] | 2 | 2021-10-03T15:58:09.000Z | 2021-11-17T10:34:35.000Z | iree/samples/custom_modules/custom_modules_test.cc | 3alireza32109/iree | fd32e47b1695f105d20c06b8b20a29ef65c5e54c | [
"Apache-2.0"
] | null | null | null | iree/samples/custom_modules/custom_modules_test.cc | 3alireza32109/iree | fd32e47b1695f105d20c06b8b20a29ef65c5e54c | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 44.920354 | 80 | 0.698779 | xinan-jiang |
d502067252666be125c2934892e508c1853fa56a | 9,973 | cpp | C++ | cegui/src/RendererModules/OpenGLES/GeometryBuffer.cpp | aimoonchen/cegui | 4720dd8e5f57bb213a9b462c9dfc87c591381fc3 | [
"MIT"
] | null | null | null | cegui/src/RendererModules/OpenGLES/GeometryBuffer.cpp | aimoonchen/cegui | 4720dd8e5f57bb213a9b462c9dfc87c591381fc3 | [
"MIT"
] | null | null | null | cegui/src/RendererModules/OpenGLES/GeometryBuffer.cpp | aimoonchen/cegui | 4720dd8e5f57bb213a9b462c9dfc87c591381fc3 | [
"MIT"
] | null | null | null | /***********************************************************************
created: Thu Jan 8 2009
author: Paul D Turner
*************************************************************************/
/***************************************************************************
* Copyright (C) 2004 - 2009 Pau... | 35.874101 | 108 | 0.542866 | aimoonchen |
d502f83dd726f767bbe138ee4c42a6ad0279039b | 6,279 | hpp | C++ | boost/math/special_functions/detail/airy_ai_bi_zero.hpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 159 | 2017-03-24T21:07:06.000Z | 2022-03-20T13:44:40.000Z | boost/math/special_functions/detail/airy_ai_bi_zero.hpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 1,667 | 2017-03-27T14:41:22.000Z | 2022-03-31T19:50:06.000Z | boost/math/special_functions/detail/airy_ai_bi_zero.hpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 95 | 2017-03-24T21:05:03.000Z | 2022-03-08T17:30:22.000Z | // Copyright (c) 2013 Christopher Kormanyos
// 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)
//
// This work is based on an earlier work:
// "Algorithm 910: A Portable C++ Multi... | 39 | 108 | 0.556458 | ballisticwhisper |
d505e0a834f859bebd392f3e36edd7e77c883353 | 4,319 | cpp | C++ | torch/csrc/deploy/test_deploy.cpp | Gamrix/pytorch | b5b158a6c6de94dfb983b447fa33fea062358844 | [
"Intel"
] | null | null | null | torch/csrc/deploy/test_deploy.cpp | Gamrix/pytorch | b5b158a6c6de94dfb983b447fa33fea062358844 | [
"Intel"
] | null | null | null | torch/csrc/deploy/test_deploy.cpp | Gamrix/pytorch | b5b158a6c6de94dfb983b447fa33fea062358844 | [
"Intel"
] | null | null | null | #include <gtest/gtest.h>
#include <torch/csrc/deploy/deploy.h>
#include <torch/script.h>
#include <torch/torch.h>
#include <future>
#include <iostream>
#include <string>
int main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
int rc = RUN_ALL_TESTS();
return rc;
}
void compare_torchpy_jit(con... | 30.631206 | 80 | 0.680019 | Gamrix |
d5070520a70b4f500001615a8aaad3a696ae8046 | 77,613 | cpp | C++ | RSDKv4/Debug.cpp | 0xR00KIE/Decomp-for-S1F | c8ffedd211f25bb46803f9d637baf1b1fc635db0 | [
"Unlicense"
] | 2 | 2022-01-15T05:05:39.000Z | 2022-03-19T07:36:31.000Z | RSDKv4/Debug.cpp | LittlePlanetCD/Decomp-for-S1F | c8ffedd211f25bb46803f9d637baf1b1fc635db0 | [
"Unlicense"
] | null | null | null | RSDKv4/Debug.cpp | LittlePlanetCD/Decomp-for-S1F | c8ffedd211f25bb46803f9d637baf1b1fc635db0 | [
"Unlicense"
] | null | null | null | #include "RetroEngine.hpp"
bool endLine = true;
int touchTimer = 0;
int drawtemp = 0;
int taListStore = 0;
int modbgscroll = 0;
int modbgtick = 0;
void initDevMenu()
{
// DrawStageGFXHQ = 0;
xScrollOffset = 0;
yScrollOffset = 0;
StopMusic();
StopAllSfx();
ReleaseStageSfx();
fadeMode ... | 42.856433 | 142 | 0.477755 | 0xR00KIE |
d50809e6bcf52f8c53d2fd99967721e2c360c391 | 1,701 | cpp | C++ | src/Packets/Tag2/Sub31.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 99 | 2015-01-06T01:53:26.000Z | 2022-01-31T18:18:27.000Z | src/Packets/Tag2/Sub31.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 27 | 2015-03-09T05:46:53.000Z | 2020-05-06T02:52:18.000Z | src/Packets/Tag2/Sub31.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 42 | 2015-03-18T03:44:43.000Z | 2022-03-31T21:34:06.000Z | #include "Packets/Tag2/Sub31.h"
namespace OpenPGP {
namespace Subpacket {
namespace Tag2 {
void Sub31::actual_read(const std::string & data) {
if (data.size() > 2) {
set_pka(data[0]);
set_hash_alg(data[1]);
set_hash(data.substr(2, data.size() - 2));
}
}
void Sub31::show_contents(Human... | 20.25 | 108 | 0.602587 | httese |
d5084eaba58ac4442ce9ac4e99489c8759287278 | 1,399 | cpp | C++ | src/snail/backends/sdl/window.cpp | Vorlent/ElonaFoobar | 8e544af1f82377c9add6961589ddc99e22c5ed4c | [
"MIT"
] | 84 | 2018-03-03T02:44:32.000Z | 2019-07-14T16:16:24.000Z | src/snail/backends/sdl/window.cpp | Vorlent/ElonaFoobar | 8e544af1f82377c9add6961589ddc99e22c5ed4c | [
"MIT"
] | 685 | 2018-02-27T04:31:17.000Z | 2019-07-12T13:43:00.000Z | src/snail/backends/sdl/window.cpp | nanbansenji/ElonaFoobar | ddbd6639db8698e89f09b2512526e855d8016e46 | [
"MIT"
] | 23 | 2019-07-26T08:52:38.000Z | 2021-11-09T09:21:58.000Z | #include "../../window.hpp"
namespace elona
{
namespace snail
{
void Window::move_to_center()
{
::SDL_SetWindowPosition(
ptr(),
static_cast<int>(InitialPosition::centered),
static_cast<int>(InitialPosition::centered));
}
std::pair<int, int> Window::get_size()
{
int width, height;
... | 17.271605 | 80 | 0.626162 | Vorlent |
d508a9c5409c43b6064e84aa6792458e01eb50b9 | 12,532 | cpp | C++ | share/game/game_object.cpp | Ananfa/wukong | 60abff35192d5182bb6ab560a5efc9d884549c6a | [
"Apache-2.0"
] | 4 | 2022-02-22T07:58:40.000Z | 2022-02-22T09:25:12.000Z | share/game/game_object.cpp | Ananfa/wukong | 60abff35192d5182bb6ab560a5efc9d884549c6a | [
"Apache-2.0"
] | null | null | null | share/game/game_object.cpp | Ananfa/wukong | 60abff35192d5182bb6ab560a5efc9d884549c6a | [
"Apache-2.0"
] | null | null | null | /*
* Created by Xianke Liu on 2021/1/19.
*
* 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 ag... | 30.19759 | 181 | 0.610517 | Ananfa |
d509cb541b1cd9ae5a633dbd2fcdf515949aaa7f | 3,833 | cpp | C++ | exampleMultipleGraphicCards/src/testApp.cpp | gameoverhack/ofxFenster | 4ba27757d2b1ded68813a06374de55a0332f003e | [
"MIT"
] | 1 | 2020-12-18T00:31:38.000Z | 2020-12-18T00:31:38.000Z | exampleMultipleGraphicCards/src/testApp.cpp | gameoverhack/ofxFenster | 4ba27757d2b1ded68813a06374de55a0332f003e | [
"MIT"
] | null | null | null | exampleMultipleGraphicCards/src/testApp.cpp | gameoverhack/ofxFenster | 4ba27757d2b1ded68813a06374de55a0332f003e | [
"MIT"
] | null | null | null | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup() {
ofSetFrameRate(60);
ofBackground(0,0,0);
//currently this only works on linux
ofxDisplayList displays = ofxDisplayManager::get()->getDisplays();
cout << "NUMBER OF DISPLAYS FOUND " << displays.size()<< ... | 27.978102 | 163 | 0.554396 | gameoverhack |
d509cde779606e95cd270eac567405a819025d04 | 26,007 | cxx | C++ | test/test_integration_crud.cxx | brett19/couchbase-cxx-client | 0992b6f693366bb0481d3ebaed4f57bc8ef11882 | [
"Apache-2.0"
] | null | null | null | test/test_integration_crud.cxx | brett19/couchbase-cxx-client | 0992b6f693366bb0481d3ebaed4f57bc8ef11882 | [
"Apache-2.0"
] | null | null | null | test/test_integration_crud.cxx | brett19/couchbase-cxx-client | 0992b6f693366bb0481d3ebaed4f57bc8ef11882 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2020-2021 Couchbase, 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
*
* ... | 35.77304 | 126 | 0.635906 | brett19 |
d50acca6f2cae36177964a83112baa00571d7fb7 | 6,209 | cpp | C++ | bam_ordered_reader.cpp | Yichen-Si/vt-topmed | e22e964a68e236b190b3038318ca9799f1922e0e | [
"MIT"
] | null | null | null | bam_ordered_reader.cpp | Yichen-Si/vt-topmed | e22e964a68e236b190b3038318ca9799f1922e0e | [
"MIT"
] | 1 | 2019-12-26T09:34:03.000Z | 2019-12-26T09:34:03.000Z | bam_ordered_reader.cpp | Yichen-Si/vt-topmed | e22e964a68e236b190b3038318ca9799f1922e0e | [
"MIT"
] | 1 | 2021-09-18T18:23:00.000Z | 2021-09-18T18:23:00.000Z | /* The MIT License
Copyright (c) 2013 Adrian Tan <atks@umich.edu>
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 us... | 26.995652 | 125 | 0.600741 | Yichen-Si |
d50df6912b8979383a0f046175cb9f9576a9d25c | 2,436 | cpp | C++ | src/hssh/local_topological/events/area_transition.cpp | h2ssh/Vulcan | cc46ec79fea43227d578bee39cb4129ad9bb1603 | [
"MIT"
] | 6 | 2020-03-29T09:37:01.000Z | 2022-01-20T08:56:31.000Z | src/hssh/local_topological/events/area_transition.cpp | h2ssh/Vulcan | cc46ec79fea43227d578bee39cb4129ad9bb1603 | [
"MIT"
] | 1 | 2021-03-05T08:00:50.000Z | 2021-03-05T08:00:50.000Z | src/hssh/local_topological/events/area_transition.cpp | h2ssh/Vulcan | cc46ec79fea43227d578bee39cb4129ad9bb1603 | [
"MIT"
] | 11 | 2019-05-13T00:04:38.000Z | 2022-01-20T08:56:38.000Z | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | 26.193548 | 95 | 0.634236 | h2ssh |
d50f8e1acb66185f49e911328ed76efb60558645 | 3,722 | cpp | C++ | simulatingMooreAndMealyMachine.cpp | antarixX/C-plus-plus-Finite-Automata | 777f7c4bfe91414c81abd86b0851d0608f0116d0 | [
"MIT"
] | null | null | null | simulatingMooreAndMealyMachine.cpp | antarixX/C-plus-plus-Finite-Automata | 777f7c4bfe91414c81abd86b0851d0608f0116d0 | [
"MIT"
] | null | null | null | simulatingMooreAndMealyMachine.cpp | antarixX/C-plus-plus-Finite-Automata | 777f7c4bfe91414c81abd86b0851d0608f0116d0 | [
"MIT"
] | null | null | null | // Static program to implement a Moore and an equivalent Mealy Machine for Parity Checker
#include<iostream>
#include<conio.h>
#include<string>
using namespace std;
void main()
{
char mealy[5][4];
char moore[5][3];
int i, j;
char curr_state, out;
string a;
cout << "\n\t\t\tMealy Machine for Odd Parity Checker"... | 24.649007 | 119 | 0.497313 | antarixX |
d50fe3c0040a99c4c6d1223ad1ac98ea00230e45 | 3,329 | cpp | C++ | detector_core/detectors/uninit/uninitrule_helper.cpp | zhlongfj/cppdetector | 0907720cdb82661ae137e4883346fc33cb115794 | [
"MIT"
] | 2 | 2022-03-22T05:50:40.000Z | 2022-03-22T06:00:42.000Z | detector_core/detectors/uninit/uninitrule_helper.cpp | zhlongfj/cppdetector | 0907720cdb82661ae137e4883346fc33cb115794 | [
"MIT"
] | null | null | null | detector_core/detectors/uninit/uninitrule_helper.cpp | zhlongfj/cppdetector | 0907720cdb82661ae137e4883346fc33cb115794 | [
"MIT"
] | null | null | null | #include "uninitrule_helper.h"
bool UninitRuleVariableDefinitionHelper::detectCore(const ErrorFile& errorFile, const string& variableName)
{
//check "int32_t s;"
//storeRuleError(errorFile);
if (m_className.empty())
{
return true;
}
m_definedVariables.insert({ m_className, { variableNa... | 25.030075 | 107 | 0.550616 | zhlongfj |
d5153fc681d50e5649714ee4c082eee0dcb68820 | 8,717 | cpp | C++ | src/nonedit.cpp | adhithyaarun/Plane-Game-3D | aa9c2ec75baa662f3d75d27bd5a5301a4fb99f21 | [
"MIT"
] | null | null | null | src/nonedit.cpp | adhithyaarun/Plane-Game-3D | aa9c2ec75baa662f3d75d27bd5a5301a4fb99f21 | [
"MIT"
] | null | null | null | src/nonedit.cpp | adhithyaarun/Plane-Game-3D | aa9c2ec75baa662f3d75d27bd5a5301a4fb99f21 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
#include <fstream>
#include <vector>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#define GLM_FORCE_RADIANS
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "main.h"
using namespace std;
/* Initialise glfw window, I/O call... | 38.570796 | 181 | 0.676494 | adhithyaarun |
d51678a2a3fe4f0b437b99d485c88b5df0499b39 | 25,340 | hpp | C++ | craam/Samples.hpp | marekpetrik/CRAAM | 62cc392e876b5383faa5cb15ab1f6b70b26ff395 | [
"MIT"
] | 22 | 2015-09-28T14:41:00.000Z | 2020-07-03T00:16:19.000Z | craam/Samples.hpp | marekpetrik/CRAAM | 62cc392e876b5383faa5cb15ab1f6b70b26ff395 | [
"MIT"
] | 6 | 2017-08-10T18:35:40.000Z | 2018-10-13T01:38:04.000Z | craam/Samples.hpp | marekpetrik/CRAAM | 62cc392e876b5383faa5cb15ab1f6b70b26ff395 | [
"MIT"
] | 10 | 2016-09-19T18:31:07.000Z | 2018-07-05T08:59:45.000Z | // This file is part of CRAAM, a C++ library for solving plain
// and robust Markov decision processes.
//
// MIT License
//
// 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 restric... | 35 | 127 | 0.607064 | marekpetrik |
d5171ddc652a02062d5d0010c345143a91f4425a | 7,846 | cc | C++ | src/error.cc | jiri/toggldesktop | 38830a3bd19318b9684b2a6cdf4c15470a220442 | [
"BSD-3-Clause"
] | null | null | null | src/error.cc | jiri/toggldesktop | 38830a3bd19318b9684b2a6cdf4c15470a220442 | [
"BSD-3-Clause"
] | null | null | null | src/error.cc | jiri/toggldesktop | 38830a3bd19318b9684b2a6cdf4c15470a220442 | [
"BSD-3-Clause"
] | null | null | null |
// Copyright 2014 Toggl Desktop developers.
#include "error.h"
#include <string>
#include "const.h"
namespace toggl {
bool IsNetworkingError(const error &err) {
if (noError == err) {
return false;
}
if (err.find(kCannotConnectError) != std::string::npos) {
return true;
}
if (er... | 30.061303 | 96 | 0.583737 | jiri |
d517ae5cef38c055d56e799fd01cdaee86c9951d | 897 | cpp | C++ | Kernel/Random.cpp | JamiKettunen/serenity | 232da5cc188496f570ef55276a897f1095509c87 | [
"BSD-2-Clause"
] | 1 | 2020-01-07T06:21:11.000Z | 2020-01-07T06:21:11.000Z | Kernel/Random.cpp | JamiKettunen/serenity | 232da5cc188496f570ef55276a897f1095509c87 | [
"BSD-2-Clause"
] | null | null | null | Kernel/Random.cpp | JamiKettunen/serenity | 232da5cc188496f570ef55276a897f1095509c87 | [
"BSD-2-Clause"
] | null | null | null | #include <Kernel/Arch/i386/CPU.h>
#include <Kernel/Random.h>
#include <Kernel/Devices/RandomDevice.h>
static u32 random32()
{
if (g_cpu_supports_rdrand) {
u32 value = 0;
asm volatile(
"1%=:\n"
"rdrand %0\n"
"jnc 1%=\n"
: "=r"(value));
return v... | 21.357143 | 58 | 0.541806 | JamiKettunen |
d5196dddb00015bee4c17d4771e5a771efd09bff | 5,064 | cpp | C++ | src/ComputerscareKnolyPobs.cpp | freddyz/computerscare-vcv-modules | f8e7b10e8b37a7f329f355d454e7aebed4b5cb5b | [
"BSD-3-Clause"
] | 36 | 2018-07-31T08:38:58.000Z | 2022-03-18T22:58:46.000Z | src/ComputerscareKnolyPobs.cpp | freddyz/computerscare-vcv-modules | f8e7b10e8b37a7f329f355d454e7aebed4b5cb5b | [
"BSD-3-Clause"
] | 73 | 2018-08-20T10:12:25.000Z | 2021-12-29T16:14:18.000Z | src/ComputerscareKnolyPobs.cpp | freddyz/computerscare-vcv-modules | f8e7b10e8b37a7f329f355d454e7aebed4b5cb5b | [
"BSD-3-Clause"
] | 6 | 2019-07-08T02:09:57.000Z | 2022-03-03T23:38:27.000Z | #include "Computerscare.hpp"
#include "ComputerscarePolyModule.hpp"
struct ComputerscareKnolyPobs;
const int numKnobs = 16;
const int numToggles = 16;
struct ComputerscareKnolyPobs : ComputerscarePolyModule {
ComputerscareSVGPanel* panelRef;
enum ParamIds {
KNOB,
TOGGLES = KNOB + numKnobs,
POLY_CHANNELS = T... | 28.449438 | 140 | 0.713863 | freddyz |
d51b24933749096659d55b0c829e2e8d7f77e053 | 660 | hxx | C++ | generated/include/vnx/addons/HttpComponent.hxx | MMX-World/vnx-addons | 93dbf8d8cece4e127131fcaf2f15f92e74ed81e6 | [
"MIT"
] | 1 | 2021-09-11T04:05:14.000Z | 2021-09-11T04:05:14.000Z | generated/include/vnx/addons/HttpComponent.hxx | MMX-World/vnx-addons | 93dbf8d8cece4e127131fcaf2f15f92e74ed81e6 | [
"MIT"
] | 1 | 2022-02-18T12:27:09.000Z | 2022-02-18T12:30:40.000Z | generated/include/vnx/addons/HttpComponent.hxx | MMX-World/vnx-addons | 93dbf8d8cece4e127131fcaf2f15f92e74ed81e6 | [
"MIT"
] | 2 | 2020-09-25T05:11:28.000Z | 2022-01-22T20:57:06.000Z |
// AUTO GENERATED by vnxcppcodegen
#ifndef INCLUDE_vnx_addons_HttpComponent_HXX_
#define INCLUDE_vnx_addons_HttpComponent_HXX_
#include <vnx/Type.h>
#include <vnx/addons/package.hxx>
#include <vnx/addons/HttpData.hxx>
#include <vnx/addons/HttpRequest.hxx>
#include <vnx/addons/HttpResponse.hxx>
namespace vnx {
name... | 16.5 | 63 | 0.768182 | MMX-World |
d5227f498e695a8a911b4396d0a4591609bc6724 | 356 | hpp | C++ | enginebase/enginecommon.hpp | krexspace/Vulkan | ad7ad71d224dc2e6edeb02ad84a6bd647fd4bf3a | [
"MIT"
] | 1 | 2020-10-24T21:14:06.000Z | 2020-10-24T21:14:06.000Z | enginebase/enginecommon.hpp | krexspace/Vulkan | ad7ad71d224dc2e6edeb02ad84a6bd647fd4bf3a | [
"MIT"
] | null | null | null | enginebase/enginecommon.hpp | krexspace/Vulkan | ad7ad71d224dc2e6edeb02ad84a6bd647fd4bf3a | [
"MIT"
] | null | null | null | #pragma once
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <vector>
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <vulkan/vulkan.h>
#include "vulkanexampleb... | 20.941176 | 39 | 0.769663 | krexspace |
d5245341aeb1e6134b1d061de8a75a7c3b891e0a | 9,625 | cpp | C++ | quantitative_finance/L2/tests/MCEuropeanHestonEngine/src/test.cpp | KitAway/Vitis_Libraries | 208ada169cd8ddeac0d26b2568343fab6f968331 | [
"Apache-2.0"
] | 1 | 2021-06-14T17:02:06.000Z | 2021-06-14T17:02:06.000Z | quantitative_finance/L2/tests/MCEuropeanHestonEngine/src/test.cpp | KitAway/Vitis_Libraries | 208ada169cd8ddeac0d26b2568343fab6f968331 | [
"Apache-2.0"
] | null | null | null | quantitative_finance/L2/tests/MCEuropeanHestonEngine/src/test.cpp | KitAway/Vitis_Libraries | 208ada169cd8ddeac0d26b2568343fab6f968331 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 33.189655 | 118 | 0.601247 | KitAway |
d524f356eed26aa374d23d86ea2106b36c77c829 | 4,084 | cc | C++ | runtime/onert/core/src/interp/operations/MaxPool2D.cc | wateret/ONE_private | 9789c52633e665d2e10273d88d6f7970faa8aee9 | [
"Apache-2.0"
] | null | null | null | runtime/onert/core/src/interp/operations/MaxPool2D.cc | wateret/ONE_private | 9789c52633e665d2e10273d88d6f7970faa8aee9 | [
"Apache-2.0"
] | null | null | null | runtime/onert/core/src/interp/operations/MaxPool2D.cc | wateret/ONE_private | 9789c52633e665d2e10273d88d6f7970faa8aee9 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 Samsung Electronics Co., Ltd. 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
*
* Unle... | 32.672 | 98 | 0.724045 | wateret |
d5251f2b5357508d40fdcde5553292815c868768 | 3,120 | cpp | C++ | jni/src/gui/layout.cpp | soulthreads/asteroid-racing | 85dfe18c3d6adf0e40c6b843e23c78ca7b7ee793 | [
"BSD-2-Clause"
] | null | null | null | jni/src/gui/layout.cpp | soulthreads/asteroid-racing | 85dfe18c3d6adf0e40c6b843e23c78ca7b7ee793 | [
"BSD-2-Clause"
] | null | null | null | jni/src/gui/layout.cpp | soulthreads/asteroid-racing | 85dfe18c3d6adf0e40c6b843e23c78ca7b7ee793 | [
"BSD-2-Clause"
] | 1 | 2019-10-19T04:27:38.000Z | 2019-10-19T04:27:38.000Z | #include "layout.h"
#include "element.h"
#include "button.h"
#include "list.h"
Layout::Layout()
{
}
void Layout::draw ()
{
if (token != engine.token) init ();
glUseProgram (program);
glUniformMatrix4fv (u_MvpMatrixHandle, 1, GL_FALSE, value_ptr (engine.orthoMatrix));
vertices.clear ();
for (auto ... | 29.158879 | 105 | 0.593269 | soulthreads |
d525ab58ee9f269753a40b884dcf7dcc26dc82ef | 563 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/quest/Int32FactDBProvider.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | include/RED4ext/Scripting/Natives/Generated/quest/Int32FactDBProvider.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | include/RED4ext/Scripting/Natives/Generated/quest/Int32FactDBProvider.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/CName.hpp>
#include <RED4ext/Scripting/Natives/Generated/quest/IInt32ValueProvider.hpp>
namespace RED4ext
{
namespace quest {
struct Int32FactDBProvider : quest::IInt32ValueProvi... | 24.478261 | 76 | 0.765542 | jackhumbert |
d527719f40831b53b8bdfea0e8103dab12e34367 | 20,321 | cpp | C++ | AlloReceiver/RTSPCubemapSourceClient.cpp | tiborgo/AlloStreamer | bf91586a88c3aec8e5603e5606caf3c3d0d53139 | [
"BSD-3-Clause"
] | 5 | 2016-04-01T09:43:00.000Z | 2019-06-09T19:04:18.000Z | AlloReceiver/RTSPCubemapSourceClient.cpp | tiborgo/AlloStreamer | bf91586a88c3aec8e5603e5606caf3c3d0d53139 | [
"BSD-3-Clause"
] | null | null | null | AlloReceiver/RTSPCubemapSourceClient.cpp | tiborgo/AlloStreamer | bf91586a88c3aec8e5603e5606caf3c3d0d53139 | [
"BSD-3-Clause"
] | 3 | 2016-04-08T00:34:43.000Z | 2019-11-15T19:21:13.000Z | #include <boost/algorithm/string.hpp>
#include <boost/algorithm/string_regex.hpp>
#include "H264NALUSink.hpp"
#include "H264CubemapSource.h"
#include "RTSPCubemapSourceClient.hpp"
void RTSPCubemapSourceClient::setOnDidConnect(const std::function<void (RTSPCubemapSourceClient*, CubemapSource*)>& onDidConnect)
{
... | 36.222816 | 169 | 0.62246 | tiborgo |
d527e9abe27059dedd59ec3865f0a655764b6330 | 8,405 | cpp | C++ | src/shogun/lib/SGNDArray.cpp | Arpit2601/shogun | e509f8c57f47dc74b3f791d450a70b770d11582a | [
"BSD-3-Clause"
] | 1 | 2019-10-02T11:10:08.000Z | 2019-10-02T11:10:08.000Z | src/shogun/lib/SGNDArray.cpp | Arpit2601/shogun | e509f8c57f47dc74b3f791d450a70b770d11582a | [
"BSD-3-Clause"
] | null | null | null | src/shogun/lib/SGNDArray.cpp | Arpit2601/shogun | e509f8c57f47dc74b3f791d450a70b770d11582a | [
"BSD-3-Clause"
] | 1 | 2020-06-02T09:15:40.000Z | 2020-06-02T09:15:40.000Z | /*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Soeren Sonnenburg, Bjoern Esser, Weijie Lin, Sergey Lisitsyn,
* Koen van de Sande, Jiaolong Xu
*/
#include <shogun/lib/common.h>
#include <shogun/lib/SGNDArray.h>
#include <shogun/lib/SGReferencedData.h>
names... | 24.014286 | 129 | 0.681023 | Arpit2601 |
d5284a97d8d06271ab129a5edd7e16b12beb3a75 | 3,182 | cpp | C++ | sbg/src/libpdb/SMol.cpp | chaconlab/korpm | 5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3 | [
"MIT"
] | 1 | 2022-01-02T01:48:05.000Z | 2022-01-02T01:48:05.000Z | sbg/src/libpdb/SMol.cpp | chaconlab/korpm | 5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3 | [
"MIT"
] | 1 | 2021-11-10T10:50:08.000Z | 2021-11-10T10:50:08.000Z | sbg/src/libpdb/SMol.cpp | chaconlab/korpm | 5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3 | [
"MIT"
] | 1 | 2021-12-03T03:29:39.000Z | 2021-12-03T03:29:39.000Z | /*
* SMol.cpp
*
* Created on: Feb 4, 2010
* Author: nacho
*/
#include <stdio.h>
#include "SMol.h"
///Auxiliar function to find the position of an atom in a Smol
int return_pos_aux_smol(SMol *smol,Atom *at);
SMol::SMol(Tname name,int i_nid,int i_pos):Molecule(name,i_nid)
{
strcpy(id,name);
npos=i_pos;
b... | 17.977401 | 186 | 0.642678 | chaconlab |
d52a5160e589f5e4b4b08a46136efe38e0255f48 | 9,953 | cpp | C++ | Kits/DirectXTK12/Src/Model.cpp | JSungMin/RenderEngine | e4a7475c6940a007a2318d13a523361441ff1dae | [
"MIT"
] | null | null | null | Kits/DirectXTK12/Src/Model.cpp | JSungMin/RenderEngine | e4a7475c6940a007a2318d13a523361441ff1dae | [
"MIT"
] | null | null | null | Kits/DirectXTK12/Src/Model.cpp | JSungMin/RenderEngine | e4a7475c6940a007a2318d13a523361441ff1dae | [
"MIT"
] | null | null | null | //--------------------------------------------------------------------------------------
// File: Model.cpp
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// ... | 29.799401 | 177 | 0.663418 | JSungMin |
d52a9880900e9e92ce7aeeef3700551bbf25f6ef | 2,734 | cpp | C++ | mp/src/old/cl_dll/c_te_beamring.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | 1 | 2021-03-20T14:27:45.000Z | 2021-03-20T14:27:45.000Z | mp/src/old/cl_dll/c_te_beamring.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | null | null | null | mp/src/old/cl_dll/c_te_beamring.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | null | null | null | //======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ========
//
// The copyright to the contents herein is the property of Valve, L.L.C.
// The contents may be used and/or copied only with the written permission of
// Valve, L.L.C., or in accordance with the terms and conditions stipulated in
// the ... | 33.753086 | 94 | 0.502195 | MaartenS11 |
d52ada3d8ff4ea41c98496ad3c8f90f54767f4bd | 2,251 | hpp | C++ | include/crypto/CTR.hpp | Jonas4420/Crypto | 4fda1854c838407e6cbfb0ffaf862609eaac203a | [
"MIT"
] | null | null | null | include/crypto/CTR.hpp | Jonas4420/Crypto | 4fda1854c838407e6cbfb0ffaf862609eaac203a | [
"MIT"
] | null | null | null | include/crypto/CTR.hpp | Jonas4420/Crypto | 4fda1854c838407e6cbfb0ffaf862609eaac203a | [
"MIT"
] | null | null | null | #ifndef CRYPTO_CTR_H
#define CRYPTO_CTR_H
#include "crypto/CipherMode.hpp"
#include "crypto/SymmetricCipher.hpp"
#include <type_traits>
#include <cstring>
namespace Crypto
{
template <class SC>
class CTR : public CipherMode
{
static_assert(std::is_base_of<SymmetricCipher, SC>::value,
"Template argument should ... | 21.438095 | 97 | 0.653043 | Jonas4420 |
d52cc36c23fb4b7c0c4da9c5cbff9d01bb4fa2bb | 1,775 | cpp | C++ | OrbitClientServices/TracepointServiceClient.cpp | jaydipoo7/orbit | 824ad7f8e1edab2d188426386c906148972c648c | [
"BSD-2-Clause"
] | 1 | 2021-10-18T03:20:42.000Z | 2021-10-18T03:20:42.000Z | OrbitClientServices/TracepointServiceClient.cpp | jaydipoo7/orbit | 824ad7f8e1edab2d188426386c906148972c648c | [
"BSD-2-Clause"
] | 3 | 2022-02-13T22:28:55.000Z | 2022-02-27T11:05:02.000Z | OrbitClientServices/TracepointServiceClient.cpp | jaydipoo7/orbit | 824ad7f8e1edab2d188426386c906148972c648c | [
"BSD-2-Clause"
] | 1 | 2021-01-15T22:58:10.000Z | 2021-01-15T22:58:10.000Z | // Copyright (c) 2020 The Orbit 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 "OrbitClientServices/TracepointServiceClient.h"
#include "OrbitBase/Logging.h"
using orbit_grpc_protos::GetTracepointListRequest;
using orbit_... | 39.444444 | 98 | 0.764507 | jaydipoo7 |
d52d5b15bfe6f1eea9162a34000af892037a9ade | 1,451 | cpp | C++ | Libraries/ZilchShaders/ZilchSpirVDisassemblerBackend.cpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | 1 | 2019-07-13T03:36:11.000Z | 2019-07-13T03:36:11.000Z | Libraries/ZilchShaders/ZilchSpirVDisassemblerBackend.cpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | Libraries/ZilchShaders/ZilchSpirVDisassemblerBackend.cpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | // MIT Licensed (see LICENSE.md).
#include "Precompiled.hpp"
namespace Zero
{
ZilchSpirVDisassemblerBackend::ZilchSpirVDisassemblerBackend()
{
mTargetEnv = SPV_ENV_UNIVERSAL_1_3;
}
String ZilchSpirVDisassemblerBackend::GetExtension()
{
return "spvtxt";
}
bool ZilchSpirVDisassemblerBackend::RunTranslationPass(Sh... | 25.910714 | 115 | 0.745003 | RyanTylerRae |
d531b66fe8fd2cc806e01e9ae06b97a99d5acd92 | 9,838 | cpp | C++ | gm/convexpolyclip.cpp | Rusino/skia | b3929a01f476c63e5358e97128ba7eb9f14e806e | [
"BSD-3-Clause"
] | 1 | 2019-03-25T15:37:48.000Z | 2019-03-25T15:37:48.000Z | gm/convexpolyclip.cpp | bryphe/esy-skia | 9810a02f28270535de10b584bffc536182224c83 | [
"BSD-3-Clause"
] | null | null | null | gm/convexpolyclip.cpp | bryphe/esy-skia | 9810a02f28270535de10b584bffc536182224c83 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "ToolUtils.h"
#include "gm.h"
#include "SkBitmap.h"
#include "SkFont.h"
#include "SkGradientShader.h"
#include "SkPath.h"
#include "SkTLList.h"
static SkBitmap make... | 32.576159 | 94 | 0.498577 | Rusino |
d535c229d9b2d67a1597a85c13b9e110cc3e1250 | 736 | cpp | C++ | LeetCode/cpp/657.cpp | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 279 | 2019-02-19T16:00:32.000Z | 2022-03-23T12:16:30.000Z | LeetCode/cpp/657.cpp | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 2 | 2019-03-31T08:03:06.000Z | 2021-03-07T04:54:32.000Z | LeetCode/cpp/657.cpp | ZintrulCre/LeetCode_Crawler | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 12 | 2019-01-29T11:45:32.000Z | 2019-02-04T16:31:46.000Z | class Solution {
public:
bool judgeCircle(string moves) {
int n = moves.size();
vector<int> hori, vert;
for (int i = 0; i < n; ++i) {
if (moves[i] == 'L' || moves[i] == 'R') {
hori.push_back(moves[i]);
if (hori.size() > 1 && hori[hori.size() - 1] !... | 35.047619 | 86 | 0.414402 | ZintrulCre |
d53654f2e90a82cfdf0e7576464edb42cd4e6101 | 2,467 | hpp | C++ | include/ensmallen_bits/log.hpp | rcurtin/ensmallen | 65c9b7c7861ec0d888d5cef39546ef70c7c5351d | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2020-06-28T10:05:58.000Z | 2020-06-28T10:05:58.000Z | include/ensmallen_bits/log.hpp | rcurtin/ensmallen | 65c9b7c7861ec0d888d5cef39546ef70c7c5351d | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | include/ensmallen_bits/log.hpp | rcurtin/ensmallen | 65c9b7c7861ec0d888d5cef39546ef70c7c5351d | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2019-01-16T16:21:59.000Z | 2019-01-16T16:21:59.000Z | /**
* @file log.hpp
* @author Marcus Edel
*
* Definition of the Info and Warn log functions.
*
* ensmallen is free software; you may redistribute it and/or modify it under
* the terms of the 3-clause BSD license. You should have received a copy of
* the 3-clause BSD license along with ensmallen. If not, see
... | 28.034091 | 80 | 0.66437 | rcurtin |
d536bc61a035d1c0497873d9a3afb300f615c994 | 197,904 | cc | C++ | src/vnsw/agent/oper/vm_interface.cc | chnyda/contrail-controller | 398f13bb5bad831550389be6ac3eb3e259642664 | [
"Apache-2.0"
] | 1 | 2019-01-11T06:16:30.000Z | 2019-01-11T06:16:30.000Z | src/vnsw/agent/oper/vm_interface.cc | chnyda/contrail-controller | 398f13bb5bad831550389be6ac3eb3e259642664 | [
"Apache-2.0"
] | null | null | null | src/vnsw/agent/oper/vm_interface.cc | chnyda/contrail-controller | 398f13bb5bad831550389be6ac3eb3e259642664 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <sys/types.h>
#include <net/ethernet.h>
#include <boost/uuid/uuid_io.hpp>
#include "base/logging.h"
#include "db/db.h"
#include "db/db_entry.h"
#include "db/db_table.h"
#include "ifmap/ifmap_node.h"
#include "net/address_util.h"
#inclu... | 35.664804 | 93 | 0.586875 | chnyda |
d5374e6a7e7681a1ecae767a26ce3e6de4b28794 | 4,104 | hpp | C++ | src/common/reorder_pd.hpp | BAEsquivel/mkl-dnn | a090094a8ab90e7bebd2c7227177d737529c9bd5 | [
"Apache-2.0"
] | 1 | 2020-02-21T07:00:06.000Z | 2020-02-21T07:00:06.000Z | src/common/reorder_pd.hpp | BAEsquivel/mkl-dnn | a090094a8ab90e7bebd2c7227177d737529c9bd5 | [
"Apache-2.0"
] | null | null | null | src/common/reorder_pd.hpp | BAEsquivel/mkl-dnn | a090094a8ab90e7bebd2c7227177d737529c9bd5 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2016-2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | 32.832 | 80 | 0.635721 | BAEsquivel |
d539a7c8ee0c1437f18e4ca8c4809c3014ab9aa2 | 9,512 | hpp | C++ | src/OpenLoco/Interop/Interop.hpp | aw20368/OpenLoco | ce37179813b0036b38061c604581e70f8d41873f | [
"MIT"
] | null | null | null | src/OpenLoco/Interop/Interop.hpp | aw20368/OpenLoco | ce37179813b0036b38061c604581e70f8d41873f | [
"MIT"
] | null | null | null | src/OpenLoco/Interop/Interop.hpp | aw20368/OpenLoco | ce37179813b0036b38061c604581e70f8d41873f | [
"MIT"
] | null | null | null | #pragma once
#include "../Utility/String.hpp"
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <stdexcept>
#include <vector>
#define assert_struct_size(x, y) static_assert(sizeof(x) == (y), "Improper struct size")
#if defined(__clang__)
#define FORCE_ALIGN_ARG_POINTER __attribute__((force_align_arg_p... | 23.544554 | 124 | 0.527754 | aw20368 |
d53cd281f8899da06b1fa256f27b36cd7e13851b | 38,185 | cpp | C++ | eqgame_dll/MQ2Windows.cpp | Natedog2012/dll | 5fb9414a5ebddf9c37809517eaf378a26b422d61 | [
"MIT"
] | 3 | 2021-06-25T00:03:25.000Z | 2021-11-30T19:45:27.000Z | eqgame_dll/MQ2Windows.cpp | Natedog2012/dll | 5fb9414a5ebddf9c37809517eaf378a26b422d61 | [
"MIT"
] | null | null | null | eqgame_dll/MQ2Windows.cpp | Natedog2012/dll | 5fb9414a5ebddf9c37809517eaf378a26b422d61 | [
"MIT"
] | 3 | 2021-09-21T23:33:31.000Z | 2022-02-18T08:13:20.000Z | /*****************************************************************************
MQ2Main.dll: MacroQuest2's extension DLL for EverQuest
Copyright (C) 2002-2003 Plazmic, 2003-2005 Lax
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as p... | 29.126621 | 145 | 0.524918 | Natedog2012 |
d53db508990fe48081e9c3a826dec8f2e2a57e76 | 5,850 | cpp | C++ | src/fields/SoMFVec4ub.cpp | montylab3d/coin | 46dec7c01e553815dc6903475116444a1a6e78f5 | [
"BSD-3-Clause"
] | 158 | 2019-12-27T16:39:35.000Z | 2022-03-28T19:04:39.000Z | src/fields/SoMFVec4ub.cpp | montylab3d/coin | 46dec7c01e553815dc6903475116444a1a6e78f5 | [
"BSD-3-Clause"
] | 261 | 2019-12-23T19:23:28.000Z | 2022-03-23T10:11:01.000Z | src/fields/SoMFVec4ub.cpp | montylab3d/coin | 46dec7c01e553815dc6903475116444a1a6e78f5 | [
"BSD-3-Clause"
] | 63 | 2019-12-27T21:18:29.000Z | 2022-03-16T02:11:16.000Z | /**************************************************************************\
* Copyright (c) Kongsberg Oil & Gas Technologies AS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* Red... | 29.545455 | 76 | 0.650256 | montylab3d |
d53e4279dcb9c89f039ef4a9ef62bf957019cefa | 11,722 | hpp | C++ | libs/core/schedulers/include/hpx/schedulers/queue_holder_numa.hpp | sudo-panda/hpx | 1527f3ba8055f795f701ddf89368f4a24199f79e | [
"BSL-1.0"
] | 1 | 2021-02-03T09:17:55.000Z | 2021-02-03T09:17:55.000Z | libs/core/schedulers/include/hpx/schedulers/queue_holder_numa.hpp | sudo-panda/hpx | 1527f3ba8055f795f701ddf89368f4a24199f79e | [
"BSL-1.0"
] | null | null | null | libs/core/schedulers/include/hpx/schedulers/queue_holder_numa.hpp | sudo-panda/hpx | 1527f3ba8055f795f701ddf89368f4a24199f79e | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2019 John Biddiscombe
//
// SPDX-License-Identifier: BSL-1.0
// 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)
#pragma once
#include <hpx/config.hpp>
#include <hpx/schedulers/lockfree_queue_back... | 38.18241 | 81 | 0.424672 | sudo-panda |
d540d1800f09d16a635826522473f00e73a2597c | 2,497 | cpp | C++ | opencl/test/unit_test/os_interface/linux/mock_performance_counters_linux.cpp | scott-snyder/compute-runtime | 9b3dd97f8190167482116f36a7f2458ba4705fbf | [
"MIT"
] | 1 | 2020-09-03T17:10:38.000Z | 2020-09-03T17:10:38.000Z | opencl/test/unit_test/os_interface/linux/mock_performance_counters_linux.cpp | scott-snyder/compute-runtime | 9b3dd97f8190167482116f36a7f2458ba4705fbf | [
"MIT"
] | null | null | null | opencl/test/unit_test/os_interface/linux/mock_performance_counters_linux.cpp | scott-snyder/compute-runtime | 9b3dd97f8190167482116f36a7f2458ba4705fbf | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "mock_performance_counters_linux.h"
#include "opencl/test/unit_test/os_interface/linux/drm_mock.h"
#include "opencl/test/unit_test/os_interface/linux/mock_os_time_linux.h"
#include "opencl/test/unit_test/os_interface/mo... | 40.274194 | 110 | 0.611133 | scott-snyder |
d543e97a9a106beaef4bb35cea189b8731791435 | 3,224 | cpp | C++ | muse_mcl_2d_gridmaps/src/models/likelihood_field_model_amcl_normalized.cpp | doge-of-the-day/muse_mcl_2d | 4cb53120e78780ccc7a7a62d40278fd075d2a54d | [
"BSD-3-Clause"
] | 4 | 2019-06-01T14:08:29.000Z | 2019-11-07T02:01:53.000Z | muse_mcl_2d_gridmaps/src/models/likelihood_field_model_amcl_normalized.cpp | cogsys-tuebingen/muse_mcl_2d | dc053c61208a6ec740b70cea81aaf3c466c1c3b4 | [
"BSD-3-Clause"
] | null | null | null | muse_mcl_2d_gridmaps/src/models/likelihood_field_model_amcl_normalized.cpp | cogsys-tuebingen/muse_mcl_2d | dc053c61208a6ec740b70cea81aaf3c466c1c3b4 | [
"BSD-3-Clause"
] | 6 | 2019-03-04T01:46:02.000Z | 2020-09-30T01:58:22.000Z | #include "likelihood_field_model_amcl_normalized.h"
#include <muse_mcl_2d_gridmaps/maps/distance_gridmap.h>
#include <class_loader/register_macro.hpp>
#include <cslibs_plugins_data/types/laserscan.hpp>
CLASS_LOADER_REGISTER_CLASS(
muse_mcl_2d_gridmaps::LikelihoodFieldModelAMCLNormalized,
muse_mcl_2d::UpdateMo... | 35.043478 | 79 | 0.658189 | doge-of-the-day |
d54443f3c9f64f237e8a49074abdd0f2e9594d0c | 5,396 | cc | C++ | src/operator/numpy/np_polynomial_op.cc | wms2537/incubator-mxnet | b7d7e02705deb1dc4942bf39efc19f133e2181f7 | [
"Apache-2.0",
"MIT"
] | 1 | 2019-12-20T11:25:06.000Z | 2019-12-20T11:25:06.000Z | src/operator/numpy/np_polynomial_op.cc | wms2537/incubator-mxnet | b7d7e02705deb1dc4942bf39efc19f133e2181f7 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/operator/numpy/np_polynomial_op.cc | wms2537/incubator-mxnet | b7d7e02705deb1dc4942bf39efc19f133e2181f7 | [
"Apache-2.0",
"MIT"
] | 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 ... | 39.386861 | 97 | 0.519274 | wms2537 |
d5455d2ab3963de900d3b66d83e89248e050923d | 8,279 | hpp | C++ | ares/component/processor/z80/z80.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/component/processor/z80/z80.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | ares/component/processor/z80/z80.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | #pragma once
//Zilog Z80
namespace ares {
struct Z80 {
struct Bus {
virtual auto read(n16 address) -> n8 = 0;
virtual auto write(n16 address, n8 data) -> void = 0;
virtual auto in(n16 address) -> n8 = 0;
virtual auto out(n16 address, n8 data) -> void = 0;
};
virtual auto step(u32 clocks) -> v... | 32.853175 | 95 | 0.662157 | CasualPokePlayer |
d54c20ec9dc935223a5f327662bd1c784436feac | 1,635 | cpp | C++ | postfix.cpp | Madhuraaaaa/cpp-stl_assignments | 9f59a5611251f4f0cf607fe0059e4ef29f025b99 | [
"BSD-2-Clause"
] | null | null | null | postfix.cpp | Madhuraaaaa/cpp-stl_assignments | 9f59a5611251f4f0cf607fe0059e4ef29f025b99 | [
"BSD-2-Clause"
] | null | null | null | postfix.cpp | Madhuraaaaa/cpp-stl_assignments | 9f59a5611251f4f0cf607fe0059e4ef29f025b99 | [
"BSD-2-Clause"
] | null | null | null | #include <string>
#include <list>
#include <iterator>
#include <iostream>
#include <utility>
#include <algorithm>
#include <bits/stdc++.h>
using namespace std;
float getNum(char ch)
{
int value;
value = ch;
return float(value - '0');
}
int isOperator(char ch)
{
if (ch == '+' || ch == '-'... | 22.708333 | 71 | 0.463609 | Madhuraaaaa |
d54c6c51db4162a649317d301150a6d43de97997 | 6,792 | cpp | C++ | Source/Urho3D/Graphics/OpenGL/OGLIndexBuffer.cpp | jayrulez/alimer-1 | 3b40798cbf21650ba37e9750dd24d8aa7efadf22 | [
"MIT"
] | null | null | null | Source/Urho3D/Graphics/OpenGL/OGLIndexBuffer.cpp | jayrulez/alimer-1 | 3b40798cbf21650ba37e9750dd24d8aa7efadf22 | [
"MIT"
] | null | null | null | Source/Urho3D/Graphics/OpenGL/OGLIndexBuffer.cpp | jayrulez/alimer-1 | 3b40798cbf21650ba37e9750dd24d8aa7efadf22 | [
"MIT"
] | null | null | null | //
// Copyright (c) 2008-2022 the Urho3D project.
// Copyright (c) 2022 Amer Koleci and Contributors.
//
// 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... | 25.727273 | 135 | 0.621614 | jayrulez |
d54e440cad08caecca7304e137df4779b98b0b64 | 10,030 | hpp | C++ | DiligentCore/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.hpp | Romanovich1311/DEngine-pcsx4 | 65d28b15e9428d77963de95412aaceeb5930d29d | [
"Apache-2.0"
] | 15 | 2021-07-03T17:20:50.000Z | 2022-03-20T23:39:09.000Z | DiligentCore/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.hpp | Romanovich1311/DEngine-pcsx4 | 65d28b15e9428d77963de95412aaceeb5930d29d | [
"Apache-2.0"
] | 1 | 2021-08-09T15:10:17.000Z | 2021-09-30T06:47:04.000Z | DiligentCore/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.hpp | Romanovich1311/DEngine-pcsx4 | 65d28b15e9428d77963de95412aaceeb5930d29d | [
"Apache-2.0"
] | 9 | 2021-07-21T10:53:59.000Z | 2022-03-03T10:27:33.000Z | /*
* Copyright 2019-2020 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | 46.651163 | 153 | 0.599103 | Romanovich1311 |
d55032be19d49e5bb97540a93d2e4e0fdd88f005 | 20,399 | cpp | C++ | gpu/kinfu/src/kinfu.cpp | zhangxaochen/CuFusion | e8bab7a366b1f2c85a80b95093d195d9f0774c11 | [
"MIT"
] | 52 | 2017-09-05T13:31:44.000Z | 2022-03-14T08:48:29.000Z | gpu/kinfu/src/kinfu.cpp | GucciPrada/CuFusion | 522920bcf316d1ddf9732fc71fa457174168d2fb | [
"MIT"
] | 4 | 2018-05-17T22:45:35.000Z | 2020-02-01T21:46:42.000Z | gpu/kinfu/src/kinfu.cpp | GucciPrada/CuFusion | 522920bcf316d1ddf9732fc71fa457174168d2fb | [
"MIT"
] | 21 | 2015-07-27T13:00:36.000Z | 2022-01-17T08:18:41.000Z | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2011, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | 35.353553 | 173 | 0.544831 | zhangxaochen |
d5530d9a9c22dbf92bb732ee867c2a22be3809cd | 2,656 | cpp | C++ | libsrc/gmsg/GMsg_AgentLogin.cpp | christywear/UlServer | 44d090ab266f7de0096b8f55c0906f21522243ff | [
"BSD-3-Clause"
] | 5 | 2018-08-17T17:16:50.000Z | 2019-07-01T12:54:01.000Z | libsrc/gmsg/GMsg_AgentLogin.cpp | christywear/UlServer | 44d090ab266f7de0096b8f55c0906f21522243ff | [
"BSD-3-Clause"
] | 2 | 2019-01-06T15:32:09.000Z | 2019-01-18T06:03:26.000Z | libsrc/gmsg/GMsg_AgentLogin.cpp | christywear/UlServer | 44d090ab266f7de0096b8f55c0906f21522243ff | [
"BSD-3-Clause"
] | 4 | 2018-08-16T15:41:15.000Z | 2020-06-22T06:09:10.000Z | // GMsg_AgentLogin.cpp -*- C++ -*-
// $Id: GMsg_AgentLogin.cpp,v 1.1 1997-10-15 16:22:40-07 jason Exp $
// Copyright 1996-1997 Lyra LLC, All rights reserved.
//
// message implementation
#ifdef __GNUC__
#pragma implementation "GMsg_AgentLogin.h"
#endif
#ifdef WIN32
#define STRICT
#include "unix.h"
#include <winsock2... | 19.529412 | 117 | 0.685617 | christywear |
d5588e303c843a470e2b922deb092e0defc42bae | 1,933 | hpp | C++ | worker/include/RTC/RemoteBitrateEstimator/OveruseDetector.hpp | maytrue/mediasoup | 11c0ae83d8cb0e238c91bc43132825a7bafcba80 | [
"ISC"
] | 13 | 2018-04-04T18:53:19.000Z | 2021-07-16T00:18:27.000Z | worker/include/RTC/RemoteBitrateEstimator/OveruseDetector.hpp | maytrue/mediasoup | 11c0ae83d8cb0e238c91bc43132825a7bafcba80 | [
"ISC"
] | 3 | 2019-04-23T18:30:03.000Z | 2020-09-18T23:41:03.000Z | worker/include/RTC/RemoteBitrateEstimator/OveruseDetector.hpp | maytrue/mediasoup | 11c0ae83d8cb0e238c91bc43132825a7bafcba80 | [
"ISC"
] | 3 | 2018-06-19T23:01:40.000Z | 2020-04-01T13:30:58.000Z | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 32.216667 | 87 | 0.758924 | maytrue |
d55a44b0d526da6c3e63d14a9936592c6c799dcb | 322 | cpp | C++ | HHKBPC2020/TaskA.cpp | zhouyium/AtCoder | af66b02dc1faa317879d9a85d2458a009bef6dbd | [
"MIT"
] | null | null | null | HHKBPC2020/TaskA.cpp | zhouyium/AtCoder | af66b02dc1faa317879d9a85d2458a009bef6dbd | [
"MIT"
] | null | null | null | HHKBPC2020/TaskA.cpp | zhouyium/AtCoder | af66b02dc1faa317879d9a85d2458a009bef6dbd | [
"MIT"
] | null | null | null | //https://atcoder.jp/contests/hhkb2020/tasks/hhkb2020_a
//HHKB Programming Contest 2020
//A - Keyboard
#include <iostream>
using namespace std;
int main() {
char s;
char ch;
cin>>s>>ch;
if ('Y'==s) {
cout<<(char)(ch-32);
} else {
cout<<ch;
}
cout<<"\n";
return 0;... | 14.636364 | 55 | 0.540373 | zhouyium |
d55c222fd9d0f1a1615e2fb88b5111b14ef6951d | 20,077 | cpp | C++ | SpecularAA 2/SampleFramework11/GraphicsTypes.cpp | TheRealMJP/SpecularAA | d8e8e3ce2ec2208f6d1eeee8c2f4f06e8a7b1b68 | [
"MIT"
] | 71 | 2018-05-13T00:40:42.000Z | 2022-03-23T21:16:07.000Z | SpecularAA 2/SampleFramework11/GraphicsTypes.cpp | TheRealMJP/SpecularAA | d8e8e3ce2ec2208f6d1eeee8c2f4f06e8a7b1b68 | [
"MIT"
] | null | null | null | SpecularAA 2/SampleFramework11/GraphicsTypes.cpp | TheRealMJP/SpecularAA | d8e8e3ce2ec2208f6d1eeee8c2f4f06e8a7b1b68 | [
"MIT"
] | 19 | 2018-05-14T01:16:16.000Z | 2022-03-23T21:16:10.000Z | //=================================================================================================
//
// MJP's DX11 Sample Framework
// http://mynameismjp.wordpress.com/
//
// All code and content licensed under Microsoft Public License (Ms-PL)
//
//==================================================================... | 33.971235 | 129 | 0.599841 | TheRealMJP |
f65c2dbc6041eacfb4391cfa93c7da0b5f2dfbac | 12,042 | cpp | C++ | Components/8530/z8530.cpp | ivanizag/CLK | e5d364c4ce20aaf6dbdf19ddce1879e91f4ddbc8 | [
"MIT"
] | 2 | 2018-09-11T14:59:09.000Z | 2018-09-12T09:39:46.000Z | Components/8530/z8530.cpp | MaddTheSane/CLK | 6252859ef5631c7ccbc33e95cf4d888727ff3856 | [
"MIT"
] | null | null | null | Components/8530/z8530.cpp | MaddTheSane/CLK | 6252859ef5631c7ccbc33e95cf4d888727ff3856 | [
"MIT"
] | null | null | null | //
// 8530.cpp
// Clock Signal
//
// Created by Thomas Harte on 07/06/2019.
// Copyright © 2019 Thomas Harte. All rights reserved.
//
#include "z8530.hpp"
#define LOG_PREFIX "[SCC] "
#include "../../Outputs/Log.hpp"
using namespace Zilog::SCC;
void z8530::reset() {
// TODO.
}
bool z8530::get_interrupt_line() ... | 28.135514 | 111 | 0.622156 | ivanizag |
f65d0d7164d56ad7eeb7552cc973392652703046 | 4,455 | cpp | C++ | Audio/src/Sample.cpp | guusw/unnamed-sdvx-clone | 76e85fe219c9e87c8d9d06d6db32d40701e0a47f | [
"MIT"
] | 65 | 2016-06-04T18:04:46.000Z | 2022-03-06T21:53:12.000Z | Audio/src/Sample.cpp | HEY-WhoTookMyUsername/hello-world | 76e85fe219c9e87c8d9d06d6db32d40701e0a47f | [
"MIT"
] | 24 | 2016-06-17T09:23:11.000Z | 2021-10-13T10:27:16.000Z | Audio/src/Sample.cpp | HEY-WhoTookMyUsername/unnamed-sdvx-clone | 76e85fe219c9e87c8d9d06d6db32d40701e0a47f | [
"MIT"
] | 16 | 2016-07-22T09:10:41.000Z | 2022-02-13T02:30:19.000Z | #include "stdafx.h"
#include "Sample.hpp"
#include "Audio_Impl.hpp"
#include "Audio.hpp"
// Fixed point format for resampling
static uint64 fp_sampleStep = 1ull << 48;
struct WavHeader
{
char id[4];
uint32 nLength;
bool operator ==(const char* rhs) const
{
return strncmp(id, rhs, 4) == 0;
}
bool operator !=(... | 20.43578 | 91 | 0.647811 | guusw |
f660ea7f203555c42f01e4c24b9fa2111b3742e0 | 15,082 | cpp | C++ | src/LocalHost.cpp | RalfOGit/speedwire-lib | 226be6f2d7ec82c9b7e095d2f1c2cd12644f0fd1 | [
"MIT"
] | 6 | 2021-03-28T11:11:26.000Z | 2022-01-26T11:26:20.000Z | src/LocalHost.cpp | RalfOGit/speedwire-lib | 226be6f2d7ec82c9b7e095d2f1c2cd12644f0fd1 | [
"MIT"
] | 2 | 2021-04-25T10:13:47.000Z | 2021-12-24T11:25:41.000Z | src/LocalHost.cpp | RalfOGit/speedwire-lib | 226be6f2d7ec82c9b7e095d2f1c2cd12644f0fd1 | [
"MIT"
] | 1 | 2021-04-24T06:43:30.000Z | 2021-04-24T06:43:30.000Z | #define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <cstring>
#include <stdio.h>
#include <time.h>
#ifdef _WIN32
#include <Winsock2.h>
#include <Ws2tcpip.h>
#include <iphlpapi.h>
#include <chrono>
#else
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <neti... | 34.671264 | 208 | 0.612717 | RalfOGit |
f6635f4eacffc353f82acd3b6dfca6a505eaffcf | 1,854 | cpp | C++ | folly/test/MemcpyTest.cpp | tedjp/folly | 243fbe8d9331c61ac2b29e80b623c80b8226fe6c | [
"Apache-2.0"
] | 1 | 2021-07-17T07:06:28.000Z | 2021-07-17T07:06:28.000Z | folly/test/MemcpyTest.cpp | tedjp/folly | 243fbe8d9331c61ac2b29e80b623c80b8226fe6c | [
"Apache-2.0"
] | null | null | null | folly/test/MemcpyTest.cpp | tedjp/folly | 243fbe8d9331c61ac2b29e80b623c80b8226fe6c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2016 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 23.468354 | 75 | 0.639159 | tedjp |
f6645b48d78a9bd0fa4b716b3ab55f039175f2e9 | 58,765 | cxx | C++ | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowPlant_ChillerHeater_PerformanceElectricEIR.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowPlant_ChillerHeater_PerformanceElectricEIR.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowPlant_ChillerHeater_PerformanceElectricEIR.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Fre... | 50.140785 | 200 | 0.763141 | EnEff-BIM |
f66731e0b210c8a0f2e4865efde2bc9ff7657e22 | 13,621 | cpp | C++ | tests/convergence/prates.cpp | benzwick/mfem | 4d5fdfd553b24ff37716f736f83df2d238d9a696 | [
"BSD-3-Clause"
] | 1 | 2019-03-24T04:35:42.000Z | 2019-03-24T04:35:42.000Z | tests/convergence/prates.cpp | benzwick/mfem | 4d5fdfd553b24ff37716f736f83df2d238d9a696 | [
"BSD-3-Clause"
] | 1 | 2019-04-24T21:18:24.000Z | 2019-04-25T18:00:45.000Z | tests/convergence/prates.cpp | benzwick/mfem | 4d5fdfd553b24ff37716f736f83df2d238d9a696 | [
"BSD-3-Clause"
] | 1 | 2021-09-26T01:49:50.000Z | 2021-09-26T01:49:50.000Z | // Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 32.664269 | 95 | 0.578078 | benzwick |
f667343f459920e05bca01d4d95a0c43b75a4d75 | 846 | cpp | C++ | src/gCode/split.cpp | jgert/grblController | e5026b1e5d972f3e67b07c3fb80dad276bae2c17 | [
"MIT"
] | 2 | 2021-12-19T19:15:28.000Z | 2022-01-03T10:29:32.000Z | src/gCode/split.cpp | jgert/grblController | e5026b1e5d972f3e67b07c3fb80dad276bae2c17 | [
"MIT"
] | 12 | 2020-06-09T21:10:10.000Z | 2022-02-25T14:11:17.000Z | src/gCode/split.cpp | jgert/grblController | e5026b1e5d972f3e67b07c3fb80dad276bae2c17 | [
"MIT"
] | 1 | 2020-08-13T04:00:55.000Z | 2020-08-13T04:00:55.000Z | //
// Created by Jakub Gert on 03/10/2020.
//
#include <sstream>
#include <vector>
#include <regex>
#include "split.h"
namespace gCode {
size_t countMatchInRegex(const std::string &s, const regex &pattern)
{
auto words_begin = std::sregex_iterator(s.begin(), s.end(), pattern);
auto words_end ... | 25.636364 | 77 | 0.634752 | jgert |
f671249cad341d980dc308ce3a90736f92a0fb33 | 220 | cpp | C++ | Queue.cpp | samplec0de/StringCalculator | 88ca8ff044f43ebdde6a590d5582baea9d336c77 | [
"MIT"
] | 1 | 2022-01-17T21:45:01.000Z | 2022-01-17T21:45:01.000Z | Queue.cpp | samplec0de/StringCalculator | 88ca8ff044f43ebdde6a590d5582baea9d336c77 | [
"MIT"
] | null | null | null | Queue.cpp | samplec0de/StringCalculator | 88ca8ff044f43ebdde6a590d5582baea9d336c77 | [
"MIT"
] | 1 | 2020-04-19T19:04:53.000Z | 2020-04-19T19:04:53.000Z | //
// Queue.cpp
// Алгоритм Дейкстры для перевода из инфиксной в постфиксную формы
//
// Created by Андрей Москалёв on 18/09/2019.
// Copyright © 2019 Андрей Москалёв. All rights reserved.
//
#include "Queue.hpp"
| 22 | 69 | 0.704545 | samplec0de |
f673db5bb8b886a2b0c73995f717b52543f1fb05 | 230 | cpp | C++ | Easy/Interval Intersection.cpp | Safwaan21/Binarysearch.io-Solutions | 024389dc4193f4e2b98369e0bacb714d757f2991 | [
"MIT"
] | null | null | null | Easy/Interval Intersection.cpp | Safwaan21/Binarysearch.io-Solutions | 024389dc4193f4e2b98369e0bacb714d757f2991 | [
"MIT"
] | null | null | null | Easy/Interval Intersection.cpp | Safwaan21/Binarysearch.io-Solutions | 024389dc4193f4e2b98369e0bacb714d757f2991 | [
"MIT"
] | null | null | null | vector<int> solve(vector<vector<int>>& intervals) {
vector<int> ans{intervals[0][0],intervals[0][1]};
for(auto& u : intervals){
ans[0] = max(ans[0],u[0]);
ans[1] = min(ans[1],u[1]);
}
return ans;
}
| 25.555556 | 53 | 0.53913 | Safwaan21 |
f6742751d0b16382160857ab0200e1c28d80130a | 6,438 | cpp | C++ | libgpopt/src/operators/CPhysicalMotionHashDistribute.cpp | davidli2010/gporca | 4c946e5e41051c832736b2fce712c37ca651ddf5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/operators/CPhysicalMotionHashDistribute.cpp | davidli2010/gporca | 4c946e5e41051c832736b2fce712c37ca651ddf5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/operators/CPhysicalMotionHashDistribute.cpp | davidli2010/gporca | 4c946e5e41051c832736b2fce712c37ca651ddf5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 EMC Corp.
//
// @filename:
// CPhysicalMotionHashDistribute.cpp
//
// @doc:
// Implementation of hash distribute motion operator
//-----------------------------------------------------------------... | 23.669118 | 115 | 0.546598 | davidli2010 |
f677f6cf06982a246c8dcae9c446cc3471324778 | 240 | cpp | C++ | src/smtlibsolver.cpp | akgperson/partial-function | 4925c40c88e65e6fe4a21f713e6d997b6154b344 | [
"BSD-3-Clause"
] | 6 | 2020-03-05T01:07:28.000Z | 2021-05-25T19:49:22.000Z | src/smtlibsolver.cpp | akgperson/partial-function | 4925c40c88e65e6fe4a21f713e6d997b6154b344 | [
"BSD-3-Clause"
] | null | null | null | src/smtlibsolver.cpp | akgperson/partial-function | 4925c40c88e65e6fe4a21f713e6d997b6154b344 | [
"BSD-3-Clause"
] | 2 | 2020-07-27T17:13:09.000Z | 2021-04-20T20:45:35.000Z | #include "smtlibsolver.h"
using namespace std;
namespace lbv2i {
SmtLibSolver::SmtLibSolver(smt::SmtSolver & solver) : super(solver) {}
SmtLibSolver::~SmtLibSolver() {}
void SmtLibSolver::run(string filename) {}
} // namespace lbv2i
| 17.142857 | 70 | 0.729167 | akgperson |
f67ac604827f18ca656f8fac58e9235a94d15289 | 1,319 | hpp | C++ | Board.hpp | mor234/cpp_ex2_part2_message_board | 29a117aea79d265c347f6ed04532881088235635 | [
"MIT"
] | null | null | null | Board.hpp | mor234/cpp_ex2_part2_message_board | 29a117aea79d265c347f6ed04532881088235635 | [
"MIT"
] | null | null | null | Board.hpp | mor234/cpp_ex2_part2_message_board | 29a117aea79d265c347f6ed04532881088235635 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <map>
#include "Direction.hpp"
namespace ariel {
class Board{
private:
std::map<unsigned int, std::map< unsigned int,char>> board_map;
bool isFirstTime=true;
unsigned int max_row=0;
unsigned int min_row=0;
u... | 43.966667 | 112 | 0.644428 | mor234 |
f67d46f7c37cc6112f548bf0bad77de1bbbbb005 | 532 | cpp | C++ | acm/hdu/1597.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | 17 | 2016-01-01T12:57:25.000Z | 2022-02-06T09:55:12.000Z | acm/hdu/1597.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | null | null | null | acm/hdu/1597.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | 8 | 2018-12-27T01:31:49.000Z | 2022-02-06T09:55:12.000Z |
#include<iostream>
using namespace std;
typedef long long ll;
int main(){
ll n;
int t;
cin>>t;
while(t--){
cin>>n;
n*=2;
ll l = 0;ll r = 1<<16;
//no_left,ok_right
while(l<r){
ll mid = (l+r-1)/2+1;
if(mid*(mid+1)<=n) l = mid;
else r = m... | 17.733333 | 39 | 0.366541 | xiaohuihuigh |
f68095bf980b666cac4223f6177d238f101547e9 | 4,108 | hpp | C++ | sph/include/sph/data_util.hpp | OsmanSeckinSimsek/SPH-EXA | b617012277e349036e852c67f919c4b96445be93 | [
"MIT"
] | null | null | null | sph/include/sph/data_util.hpp | OsmanSeckinSimsek/SPH-EXA | b617012277e349036e852c67f919c4b96445be93 | [
"MIT"
] | null | null | null | sph/include/sph/data_util.hpp | OsmanSeckinSimsek/SPH-EXA | b617012277e349036e852c67f919c4b96445be93 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2021 CSCS, ETH Zurich
* 2021 University of Basel
*
* 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... | 33.398374 | 103 | 0.685248 | OsmanSeckinSimsek |
f6825726361bb267c6938d6942002c68aa149483 | 4,077 | hpp | C++ | csapex_point_cloud/src/clustering/storage/storage_ops.hpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 2 | 2016-09-02T15:33:22.000Z | 2019-05-06T22:09:33.000Z | csapex_point_cloud/src/clustering/storage/storage_ops.hpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 1 | 2021-02-14T19:53:30.000Z | 2021-02-14T19:53:30.000Z | csapex_point_cloud/src/clustering/storage/storage_ops.hpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 6 | 2016-10-12T00:55:23.000Z | 2021-02-10T17:49:25.000Z | #pragma once
#include "../data/voxel_data.hpp"
#include <cslibs_indexed_storage/backend/array/array_options.hpp>
#include <pcl/PointIndices.h>
#include <pcl/point_cloud.h>
namespace csapex
{
namespace clustering
{
class StorageOperation
{
public:
// dynamic sized case -> simply add every point to the storage
... | 38.462264 | 200 | 0.591857 | AdrianZw |
f682917275d88d20a07e36cf9059144a2f0a93d9 | 5,412 | hpp | C++ | dep/win/include/boost/gil/concepts/image.hpp | Netis/packet-agent | 70da3479051a07e3c235abe7516990f9fd21a18a | [
"BSD-3-Clause"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | dep/win/include/boost/gil/concepts/image.hpp | Netis/packet-agent | 70da3479051a07e3c235abe7516990f9fd21a18a | [
"BSD-3-Clause"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | dep/win/include/boost/gil/concepts/image.hpp | Netis/packet-agent | 70da3479051a07e3c235abe7516990f9fd21a18a | [
"BSD-3-Clause"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z | //
// Copyright 2005-2007 Adobe Systems Incorporated
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
#ifndef BOOST_GIL_CONCEPTS_IMAGE_HPP
#define BOOST_GIL_CONCEPTS_IMAGE_HPP
#include <boost/gil/con... | 32.214286 | 115 | 0.666297 | Netis |
f6829174a438ec0f1c4709a8b26eca6dd2d5bd0d | 14,876 | cc | C++ | src/video/Display.cc | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/video/Display.cc | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/video/Display.cc | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #include "Display.hh"
#include "RendererFactory.hh"
#include "Layer.hh"
#include "VideoSystem.hh"
#include "VideoLayer.hh"
#include "EventDistributor.hh"
#include "FinishFrameEvent.hh"
#include "FileOperations.hh"
#include "FileContext.hh"
#include "InputEvents.hh"
#include "CliComm.hh"
#include "Timer.hh"
#include "Bo... | 28.552783 | 85 | 0.710406 | imulilla |
f682e3037523b1c210b5ba36246556518f261e1b | 4,199 | hpp | C++ | include/mesos/slave/isolator.hpp | em-mcg/cse223b-mesos | e7d0867d5bf67dbc28117f52babc73dd43d0bb4c | [
"Apache-2.0"
] | null | null | null | include/mesos/slave/isolator.hpp | em-mcg/cse223b-mesos | e7d0867d5bf67dbc28117f52babc73dd43d0bb4c | [
"Apache-2.0"
] | null | null | null | include/mesos/slave/isolator.hpp | em-mcg/cse223b-mesos | e7d0867d5bf67dbc28117f52babc73dd43d0bb4c | [
"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... | 30.208633 | 75 | 0.72422 | em-mcg |
f68360ea03cdaf07f9c504c7a9a3ac5423bd4881 | 2,483 | cpp | C++ | samples/blackfin/gcc/bf533/6-round-robin/src/utils/hwinit.cpp | diamondx131/scmrtos-sample-projects | 3b34a485b6ca4b16705c250383ae5d30c81966f1 | [
"MIT"
] | 9 | 2015-10-07T15:27:27.000Z | 2021-04-07T06:13:24.000Z | samples/blackfin/gcc/bf533/6-round-robin/src/utils/hwinit.cpp | diamondx131/scmrtos-sample-projects | 3b34a485b6ca4b16705c250383ae5d30c81966f1 | [
"MIT"
] | 4 | 2017-07-04T10:51:51.000Z | 2019-09-25T11:20:24.000Z | samples/blackfin/gcc/bf533/6-round-robin/src/utils/hwinit.cpp | diamondx131/scmrtos-sample-projects | 3b34a485b6ca4b16705c250383ae5d30c81966f1 | [
"MIT"
] | 9 | 2015-12-04T15:34:32.000Z | 2020-07-01T16:10:59.000Z | //******************************************************************************
//*
//* PURPOSE: Hardware Initialization Code
//*
//* PROCESSOR: ADSP-BF533 (Analog Devices Inc.)
//*
//* TOOLKIT: bfin-elf (GCC)
//*
//* Version: v5.2.0
//*
//* Copyright (c) 2003-2021, Harry E. Zhurov
//*
//******... | 34.971831 | 97 | 0.358035 | diamondx131 |
f685648c370fc5b5ce086174df2c9328a0fba836 | 3,124 | cpp | C++ | test/btunittest/HTNTest/htntravelunittest.cpp | nefeithu/behaviac | 3c8b09b5dc64e0090bf02e273687c6d94f328ad3 | [
"BSD-3-Clause"
] | 2,504 | 2016-11-11T17:12:12.000Z | 2022-03-30T10:39:05.000Z | test/btunittest/HTNTest/htntravelunittest.cpp | mlik5hao/behaviac | a280fe24b3e7c357e607c397287a76a8bec33de3 | [
"BSD-3-Clause"
] | 127 | 2016-12-28T04:54:08.000Z | 2022-03-17T10:26:55.000Z | test/btunittest/HTNTest/htntravelunittest.cpp | mlik5hao/behaviac | a280fe24b3e7c357e607c397287a76a8bec33de3 | [
"BSD-3-Clause"
] | 821 | 2016-11-11T11:15:24.000Z | 2022-03-30T15:06:18.000Z | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3... | 37.190476 | 113 | 0.702305 | nefeithu |
f68564954112f67d675cfee82b396690d13d2517 | 19,236 | cpp | C++ | ThorEngine/Source Code/M_Editor.cpp | markitus18/Thor-Engine | d89c75f803357d6493cd018450bceb384d2dd265 | [
"Unlicense"
] | 12 | 2019-10-07T12:30:12.000Z | 2021-09-25T13:05:26.000Z | ThorEngine/Source Code/M_Editor.cpp | markitus18/Thor-Engine | d89c75f803357d6493cd018450bceb384d2dd265 | [
"Unlicense"
] | 15 | 2017-06-14T13:10:06.000Z | 2020-11-21T11:27:54.000Z | ThorEngine/Source Code/M_Editor.cpp | markitus18/Thor-Engine | d89c75f803357d6493cd018450bceb384d2dd265 | [
"Unlicense"
] | 4 | 2019-12-17T11:48:45.000Z | 2020-11-13T19:09:59.000Z | #include "Engine.h"
#include "Config.h"
#include "M_Editor.h"
#include "M_Window.h"
#include "M_Input.h"
//Windows
#include "WF_SceneEditor.h"
#include "WF_ParticleEditor.h"
#include "W_Console.h"
#include "W_EngineConfig.h"
#include "M_SceneManager.h"
#include "M_FileSystem.h"
#include "M_Resources.h"
#include "M_R... | 25.716578 | 146 | 0.690528 | markitus18 |
f689482858c43f5b675710f979cbbb242096caf8 | 2,826 | hpp | C++ | include/hipSYCL/runtime/inorder_queue.hpp | illuhad/SYCU | 4ff58f347d7bbdcf56704d2d011ecde7fa9dc621 | [
"BSD-2-Clause"
] | null | null | null | include/hipSYCL/runtime/inorder_queue.hpp | illuhad/SYCU | 4ff58f347d7bbdcf56704d2d011ecde7fa9dc621 | [
"BSD-2-Clause"
] | null | null | null | include/hipSYCL/runtime/inorder_queue.hpp | illuhad/SYCU | 4ff58f347d7bbdcf56704d2d011ecde7fa9dc621 | [
"BSD-2-Clause"
] | null | null | null | /*
* This file is part of hipSYCL, a SYCL implementation based on CUDA/HIP
*
* Copyright (c) 2019-2020 Aksel Alpay and contributors
* 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. ... | 37.68 | 82 | 0.765039 | illuhad |
f68c18f9ad4ba5b1d4e894211656bee89711aa1b | 1,886 | cpp | C++ | DeepSkyStacker/CometStacking.cpp | lcsteyn/DSS | 7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9 | [
"BSD-3-Clause"
] | 497 | 2019-06-20T09:52:58.000Z | 2022-03-31T12:56:49.000Z | DeepSkyStacker/CometStacking.cpp | lcsteyn/DSS | 7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9 | [
"BSD-3-Clause"
] | 58 | 2019-06-19T10:53:49.000Z | 2022-02-14T22:43:18.000Z | DeepSkyStacker/CometStacking.cpp | lcsteyn/DSS | 7991c8ddbeb7b2626234cd8ba1e9cb336bbf97c9 | [
"BSD-3-Clause"
] | 57 | 2019-07-08T16:08:01.000Z | 2022-03-12T15:00:04.000Z | #include <algorithm>
using std::min;
using std::max;
#include <atomic>
#define _WIN32_WINNT _WIN32_WINNT_WIN7
#include <afx.h>
#include "CometStacking.h"
#include "ui/ui_CometStacking.h"
#include "DSSCommon.h"
#include "Workspace.h"
CometStacking::CometStacking(QWidget *parent) :
QWidget(parent),
ui(new Ui:... | 19.050505 | 80 | 0.718452 | lcsteyn |
f68de332b44ec9eea0aee54c2ee3ef7b74d01e45 | 103,919 | cpp | C++ | mm/mm/lex.mm.cpp | Mirv/MM-Lib | df94e6549baf561e49bb4c3b85934ded5761b27e | [
"Unlicense"
] | 27 | 2015-01-20T17:55:55.000Z | 2021-11-28T16:29:02.000Z | mm/mm/lex.mm.cpp | Mirv/MM-Lib | df94e6549baf561e49bb4c3b85934ded5761b27e | [
"Unlicense"
] | null | null | null | mm/mm/lex.mm.cpp | Mirv/MM-Lib | df94e6549baf561e49bb4c3b85934ded5761b27e | [
"Unlicense"
] | 4 | 2016-04-21T16:05:21.000Z | 2018-03-28T21:31:35.000Z | #line 2 "lex.mm.cpp"
#line 4 "lex.mm.cpp"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#define YY_FLEX_SUBMINOR_VERSION 35
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
/* First, we deal ... | 32.454403 | 116 | 0.56341 | Mirv |
f696f446810c5cf7ab7369b5355ee31acdc07ef4 | 199 | cpp | C++ | codeforces/630C.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 3 | 2018-01-08T02:52:51.000Z | 2021-03-03T01:08:44.000Z | codeforces/630C.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | null | null | null | codeforces/630C.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 1 | 2020-08-13T18:07:35.000Z | 2020-08-13T18:07:35.000Z | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main(){
ll a, sum = 0;
cin >> a;
for(ll i = 1; i < a + 1; i++) sum += pow(2, i);
cout << sum << endl;
return 0;
}
| 18.090909 | 49 | 0.537688 | cosmicray001 |
f69c916bb43a2ae390f02d12a15a246165c5a53e | 5,753 | cpp | C++ | src/packettable.cpp | marcusbirkin/ETCDmxTool | 33f9aafcb7f0f78f59fc8ad3441878762202330a | [
"Apache-2.0"
] | 12 | 2019-03-26T22:19:06.000Z | 2022-03-14T07:59:37.000Z | src/packettable.cpp | marcusbirkin/ETCDmxTool | 33f9aafcb7f0f78f59fc8ad3441878762202330a | [
"Apache-2.0"
] | 5 | 2019-05-18T16:45:45.000Z | 2020-05-12T23:46:10.000Z | src/packettable.cpp | marcusbirkin/ETCDmxTool | 33f9aafcb7f0f78f59fc8ad3441878762202330a | [
"Apache-2.0"
] | 5 | 2019-02-26T13:23:43.000Z | 2021-10-01T11:24:26.000Z | // Copyright (c) 2017 Electronic Theatre Controls, Inc., http://www.etcconnect.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 ... | 29.963542 | 156 | 0.644881 | marcusbirkin |
f69f2be60d0e72334adfa7084ac432c7ac3190ec | 3,679 | cxx | C++ | Testing/Code/Review/itkImageReadComplexWriteMagnitudeAndPhaseTest.cxx | dtglidden/ITK | ef0c16fee4fac904d6ab706b8f7d438d4062cd96 | [
"BSD-3-Clause"
] | 1 | 2017-07-31T18:41:02.000Z | 2017-07-31T18:41:02.000Z | Testing/Code/Review/itkImageReadComplexWriteMagnitudeAndPhaseTest.cxx | dtglidden/ITK | ef0c16fee4fac904d6ab706b8f7d438d4062cd96 | [
"BSD-3-Clause"
] | null | null | null | Testing/Code/Review/itkImageReadComplexWriteMagnitudeAndPhaseTest.cxx | dtglidden/ITK | ef0c16fee4fac904d6ab706b8f7d438d4062cd96 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkImageReadComplexWriteMagnitudeAndPhaseTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reser... | 31.991304 | 84 | 0.670834 | dtglidden |
f6a0a117b18517bbb1175a8752d6ff531add8bdd | 92,834 | hpp | C++ | externals/boost/boost/math/special_functions/prime.hpp | YuukiTsuchida/v8_embeded | c6e18f4e91fcc50607f8e3edc745a3afa30b2871 | [
"MIT"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | jeff/common/include/boost/math/special_functions/prime.hpp | jeffphi/advent-of-code-2018 | 8e54bd23ebfe42fcbede315f0ab85db903551532 | [
"MIT"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | jeff/common/include/boost/math/special_functions/prime.hpp | jeffphi/advent-of-code-2018 | 8e54bd23ebfe42fcbede315f0ab85db903551532 | [
"MIT"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z | // Copyright 2008 John Maddock
//
// 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)
#ifndef BOOST_MATH_SF_PRIME_HPP
#define BOOST_MATH_SF_PRIME_HPP
#include <boost/cst... | 74.866129 | 92 | 0.637622 | YuukiTsuchida |
f6a3b299d21d40f197ad836a73ff57cdec195c0e | 7,860 | cpp | C++ | tests/Graph/KShortestPathsFinder.cpp | sonali-mishra-22/arangodb | 0fb224af784247252e164f5ab9a83702ac80772c | [
"Apache-2.0"
] | 1 | 2019-10-09T08:58:38.000Z | 2019-10-09T08:58:38.000Z | tests/Graph/KShortestPathsFinder.cpp | sonali-mishra-22/arangodb | 0fb224af784247252e164f5ab9a83702ac80772c | [
"Apache-2.0"
] | null | null | null | tests/Graph/KShortestPathsFinder.cpp | sonali-mishra-22/arangodb | 0fb224af784247252e164f5ab9a83702ac80772c | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2019-2019 ArangoDB GmbH, Cologne, Germany
///
/// 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 co... | 36.055046 | 83 | 0.611705 | sonali-mishra-22 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.