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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a3b77947bb6d27142baf68bf8d1acb9c35582dfb | 921 | cpp | C++ | 0600/00/604a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 0600/00/604a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 0600/00/604a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <array>
#include <iostream>
template <typename T, size_t N>
std::istream& operator >>(std::istream& input, std::array<T, N>& v)
{
for (T& a : v)
input >> a;
return input;
}
void answer(unsigned v)
{
std::cout << v << '\n';
}
void solve(const std::array<unsigned, 5>& m, const std::array<... | 18.42 | 104 | 0.511401 | actium |
a3ba8646d5be6e36548de446ccf3b6a9b0dd658a | 2,207 | cpp | C++ | 2017-08-03/F.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 3 | 2018-04-02T06:00:51.000Z | 2018-05-29T04:46:29.000Z | 2017-08-03/F.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-03-31T17:54:30.000Z | 2018-05-02T11:31:06.000Z | 2017-08-03/F.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-10-07T00:08:06.000Z | 2021-06-28T11:02:59.000Z | #include <cstdio>
typedef unsigned long long ULL;
const int maxn = 251, maxs = 1 << 16 | 1;
int t, n, m, lbt[maxs], tot, seq[maxn], ans;
inline int lowbit(unsigned msk) {
return msk & 65535 ? lbt[msk & 65535] : 16 + lbt[msk >> 16];
}
inline int lowbit(ULL msk) {
return msk & 4294967295ULL ? lowbit((unsigned)msk) : 32... | 23.98913 | 150 | 0.481196 | tangjz |
a3bf2ebc2fedfd268796cf08b2446dd094df5a8b | 4,832 | cpp | C++ | zebus/src/network/zebus-wifi.cpp | guidoschreuder/zebus | 62ddf7acee79bcc3b4899cae1d971efab55f9047 | [
"MIT"
] | 1 | 2022-01-23T12:03:25.000Z | 2022-01-23T12:03:25.000Z | zebus/src/network/zebus-wifi.cpp | guidoschreuder/zebus | 62ddf7acee79bcc3b4899cae1d971efab55f9047 | [
"MIT"
] | null | null | null | zebus/src/network/zebus-wifi.cpp | guidoschreuder/zebus | 62ddf7acee79bcc3b4899cae1d971efab55f9047 | [
"MIT"
] | null | null | null | #include "zebus-wifi.h"
#include <WiFiManager.h>
#include <nvs_flash.h>
#include "zebus-config.h"
#include "zebus-events.h"
#include "zebus-state.h"
#include "zebus-system-info.h"
#include "zebus-telegram-bot.h"
#include "zebus-time.h"
#include "zebus-secrets.h"
#include "zebus-espnow.h"
#include "zebus-mqtt.h"
cons... | 26.696133 | 124 | 0.723924 | guidoschreuder |
a3c0cf7706f93222ead7137931fd157d8390645b | 697 | cpp | C++ | lw/net/tls_router.cpp | LifeWanted/liblw | af8e08c47cb8aa7542eb2bef9fe09b7a0b44fed8 | [
"MIT"
] | 36 | 2015-10-04T15:05:21.000Z | 2022-01-30T07:18:36.000Z | lw/net/tls_router.cpp | LifeWanted/liblw | af8e08c47cb8aa7542eb2bef9fe09b7a0b44fed8 | [
"MIT"
] | 8 | 2017-03-20T12:28:15.000Z | 2021-02-24T20:40:45.000Z | lw/net/tls_router.cpp | LifeWanted/liblw | af8e08c47cb8aa7542eb2bef9fe09b7a0b44fed8 | [
"MIT"
] | 6 | 2017-09-25T13:50:03.000Z | 2021-01-16T00:01:44.000Z | #include "lw/net/tls_router.h"
#include "lw/co/future.h"
#include "lw/co/task.h"
#include "lw/log/log.h"
#include "lw/net/router.h"
#include "lw/net/tls.h"
#include "lw/net/tls_options.h"
namespace lw::net::internal {
co::Future<std::unique_ptr<net::TLSStream>> tls_wrap_connection(
net::TLSStreamFactory& tls_facto... | 24.892857 | 80 | 0.688666 | LifeWanted |
a3c1d03d8c03af38c4e952ab591a977f30553fc4 | 2,061 | cpp | C++ | test_recv.cpp | Steamgjk/Stellar-Bench | 048161b02008463ce35cc3481cfd37913174d069 | [
"Apache-2.0"
] | null | null | null | test_recv.cpp | Steamgjk/Stellar-Bench | 048161b02008463ce35cc3481cfd37913174d069 | [
"Apache-2.0"
] | null | null | null | test_recv.cpp | Steamgjk/Stellar-Bench | 048161b02008463ce35cc3481cfd37913174d069 | [
"Apache-2.0"
] | null | null | null |
#include <iostream>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <string>
#include <cstring>
#include <cmath>
#include <time.h>
#include <vector>
#include <list>
#include <thread>
#incl... | 22.648352 | 91 | 0.702086 | Steamgjk |
a3c64a03870476bd3e65597b0dfa276f3de90038 | 11,931 | cpp | C++ | src/serac/numerics/tests/expr_templates.cpp | btalamini/serac | f7a1628d05393a3f5efce4d1808a0c3fde9bf188 | [
"BSD-3-Clause"
] | null | null | null | src/serac/numerics/tests/expr_templates.cpp | btalamini/serac | f7a1628d05393a3f5efce4d1808a0c3fde9bf188 | [
"BSD-3-Clause"
] | null | null | null | src/serac/numerics/tests/expr_templates.cpp | btalamini/serac | f7a1628d05393a3f5efce4d1808a0c3fde9bf188 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019-2022, Lawrence Livermore National Security, LLC and
// other Serac Project Developers. See the top-level LICENSE file for
// details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
#include "serac/numerics/expr_template_ops.hpp"
#include <gtest/gtest.h>
static std::pair<mfem::Vector, mfem::Vecto... | 26.454545 | 116 | 0.640097 | btalamini |
a3c6c08e62deef0f37c2b741ff04664269344d0b | 438 | cpp | C++ | Source/Life/AI/Considerations/UtilityAiMinConsideration.cpp | PsichiX/Unreal-Systems-Architecture | fb2ccb243c8e79b0890736d611db7ba536937a93 | [
"Apache-2.0"
] | 5 | 2022-02-09T21:19:03.000Z | 2022-03-03T01:53:03.000Z | Source/Life/AI/Considerations/UtilityAiMinConsideration.cpp | PsichiX/Unreal-Systems-Architecture | fb2ccb243c8e79b0890736d611db7ba536937a93 | [
"Apache-2.0"
] | null | null | null | Source/Life/AI/Considerations/UtilityAiMinConsideration.cpp | PsichiX/Unreal-Systems-Architecture | fb2ccb243c8e79b0890736d611db7ba536937a93 | [
"Apache-2.0"
] | null | null | null | #include "Life/AI/Considerations/UtilityAiMinConsideration.h"
#include "Systems/Public/Iterator.h"
float UUtilityAiMinConsideration::Score(AActor* Actor,
USystemsWorld& Systems,
FUtilityAiMemory& Memory)
{
return IterStd(this->Considerations)
.Fold<float>(INFINITY,
[&](const auto Accum, auto& Consideration)
... | 25.764706 | 67 | 0.739726 | PsichiX |
a3d2de25f3a208ee9fa617fb3282779b27e38f55 | 5,050 | cpp | C++ | Project/002-QSql_nmea/sqliteoperator.cpp | liukai-tech/Qt-Learning | 5f7d29f5868b6fa8b9340095af6cd025f94f698f | [
"MIT"
] | null | null | null | Project/002-QSql_nmea/sqliteoperator.cpp | liukai-tech/Qt-Learning | 5f7d29f5868b6fa8b9340095af6cd025f94f698f | [
"MIT"
] | null | null | null | Project/002-QSql_nmea/sqliteoperator.cpp | liukai-tech/Qt-Learning | 5f7d29f5868b6fa8b9340095af6cd025f94f698f | [
"MIT"
] | null | null | null | #include "sqliteoperator.h"
// 构造函数中初始化数据库对象,并建立数据库
SqliteOperator::SqliteOperator()
{
if (QSqlDatabase::contains("qt_sql_default_connection"))
{
m_database = QSqlDatabase::database("qt_sql_default_connection");
}
else
{
// 建立和SQlite数据库的连接
m_database = QSqlDatabase::addData... | 24.754902 | 94 | 0.582574 | liukai-tech |
a3d431e6c6e288660d1609e53c84ac24506ebe07 | 3,534 | cc | C++ | test/server/hot_restart_impl_test.cc | tgalkovskyi/envoy | 9d702c125acde33933fc5d63818b1defe36b5cf3 | [
"Apache-2.0"
] | 1 | 2022-01-22T10:01:08.000Z | 2022-01-22T10:01:08.000Z | test/server/hot_restart_impl_test.cc | tgalkovskyi/envoy | 9d702c125acde33933fc5d63818b1defe36b5cf3 | [
"Apache-2.0"
] | null | null | null | test/server/hot_restart_impl_test.cc | tgalkovskyi/envoy | 9d702c125acde33933fc5d63818b1defe36b5cf3 | [
"Apache-2.0"
] | 1 | 2021-03-13T05:25:47.000Z | 2021-03-13T05:25:47.000Z | #include <memory>
#include "common/api/os_sys_calls_impl.h"
#include "common/api/os_sys_calls_impl_hot_restart.h"
#include "common/common/hex.h"
#include "server/hot_restart_impl.h"
#include "test/mocks/api/hot_restart.h"
#include "test/mocks/api/mocks.h"
#include "test/mocks/server/mocks.h"
#include "test/test_comm... | 33.657143 | 100 | 0.739672 | tgalkovskyi |
a3d463f6bb28527528e8ca37496141e9cc778030 | 984 | cpp | C++ | exercises/03_exercise/shared_value_basic.cpp | jrmejiaa/multithreading-cpp | 462f24bb3c63e5b7b4bba767ed423beb89bc09b0 | [
"MIT"
] | null | null | null | exercises/03_exercise/shared_value_basic.cpp | jrmejiaa/multithreading-cpp | 462f24bb3c63e5b7b4bba767ed423beb89bc09b0 | [
"MIT"
] | null | null | null | exercises/03_exercise/shared_value_basic.cpp | jrmejiaa/multithreading-cpp | 462f24bb3c63e5b7b4bba767ed423beb89bc09b0 | [
"MIT"
] | null | null | null | #include <string>
#include <thread>
int sharedValue = 0;
void IncrementSharedValue10000000Times() {
int count = 0;
while (count < 10000000) {
sharedValue++;
count++;
}
}
/*
* Questions about the code
*
* a) What would be the expected output of this program?
* R/ The expected output... | 31.741935 | 113 | 0.686992 | jrmejiaa |
a3d835c853e2fbcae3cf94d9085d601ccacd49f2 | 7,398 | cc | C++ | src/sys/appmgr/namespace.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/sys/appmgr/namespace.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/sys/appmgr/namespace.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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 "src/sys/appmgr/namespace.h"
#include <fuchsia/process/cpp/fidl.h>
#include <fuchsia/sys/internal/cpp/fidl.h>
#include <lib/async/default.h>
#inc... | 42.763006 | 100 | 0.655447 | zarelaky |
a3d9563dfb39a4c9a1a5eae6020d8bcb1ddff240 | 2,014 | cpp | C++ | src/noncryptographic/saxhash32.cpp | namralkeeg/QHashlib | 5b4fdb33833b6b0a1856c87a6d4696371aecfe59 | [
"MIT"
] | null | null | null | src/noncryptographic/saxhash32.cpp | namralkeeg/QHashlib | 5b4fdb33833b6b0a1856c87a6d4696371aecfe59 | [
"MIT"
] | null | null | null | src/noncryptographic/saxhash32.cpp | namralkeeg/QHashlib | 5b4fdb33833b6b0a1856c87a6d4696371aecfe59 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017 Larry Lopez
*
* 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... | 30.059701 | 96 | 0.722443 | namralkeeg |
a3dabcc99e138135f320eab79e1863896ef03b75 | 36,933 | cc | C++ | test/regression/set_pose_loop.cc | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-07-02T08:23:30.000Z | 2020-11-17T19:00:38.000Z | test/regression/set_pose_loop.cc | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/regression/set_pose_loop.cc | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2015-04-22T18:33:15.000Z | 2021-11-16T10:17:45.000Z | /*
* Copyright 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 44.17823 | 80 | 0.536323 | thomas-moulard |
a3db470873a4820096db369972629f375adac459 | 1,888 | hpp | C++ | include/fdeep/shape3_variable.hpp | chammika/frugally-deep | 6c0b03efcb05cf5ace17e2f74c369ee44f95817a | [
"MIT"
] | 1 | 2018-12-05T22:43:05.000Z | 2018-12-05T22:43:05.000Z | include/fdeep/shape3_variable.hpp | szad670401/frugally-deep | c84d256f49e41b213d740999140dd7099a853491 | [
"MIT"
] | null | null | null | include/fdeep/shape3_variable.hpp | szad670401/frugally-deep | c84d256f49e41b213d740999140dd7099a853491 | [
"MIT"
] | null | null | null | // Copyright 2016, Tobias Hermann.
// https://github.com/Dobiasd/frugally-deep
// Distributed under the MIT License.
// (See accompanying LICENSE file or at
// https://opensource.org/licenses/MIT)
#pragma once
#include "fdeep/common.hpp"
#include "fdeep/shape2_variable.hpp"
#include "fdeep/shape2.hpp"
#include <al... | 23.898734 | 80 | 0.675847 | chammika |
a3de061695c75e2defbd16e3c7cfa7f53c2ea63a | 1,148 | cc | C++ | sentinel-core/transport/command/command_request_test.cc | windrunner123/sentinel-cpp | 7957e692466db0b7b83b7218602757113e9f2d22 | [
"Apache-2.0"
] | 121 | 2019-02-22T06:50:31.000Z | 2022-01-22T23:23:42.000Z | sentinel-core/transport/command/command_request_test.cc | windrunner123/sentinel-cpp | 7957e692466db0b7b83b7218602757113e9f2d22 | [
"Apache-2.0"
] | 24 | 2019-05-07T08:58:38.000Z | 2022-01-26T02:36:06.000Z | sentinel-core/transport/command/command_request_test.cc | windrunner123/sentinel-cpp | 7957e692466db0b7b83b7218602757113e9f2d22 | [
"Apache-2.0"
] | 36 | 2019-03-19T09:46:08.000Z | 2021-11-24T13:20:56.000Z | #include "gmock/gmock.h"
#include "gtest/gtest.h"
#define private public
#include "sentinel-core/transport/command/command_request.h"
namespace Sentinel {
namespace Transport {
TEST(CommandRequestTest, TestBody) {
CommandRequest request;
request.set_body("testbody");
auto ret = request.body();
EXPECT_EQ(r... | 20.5 | 60 | 0.688153 | windrunner123 |
a3de66041da608b9870b79e11425eefc41de396e | 3,562 | hpp | C++ | include/Nazara/OpenGLRenderer/OpenGLDevice.hpp | gogo2464/NazaraEngine | f1a00c36cb27d9f07d1b7db03313e0038d9a7d00 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | include/Nazara/OpenGLRenderer/OpenGLDevice.hpp | gogo2464/NazaraEngine | f1a00c36cb27d9f07d1b7db03313e0038d9a7d00 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | include/Nazara/OpenGLRenderer/OpenGLDevice.hpp | gogo2464/NazaraEngine | f1a00c36cb27d9f07d1b7db03313e0038d9a7d00 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Nazara Engine - OpenGL Renderer"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_OPENGLRENDERER_OPENGLDEVICE_HPP
#define NAZARA_OPENGLRENDERER_OPENGLDEVICE_HPP
#include <Nazara/Prerequisites.h... | 48.794521 | 240 | 0.805446 | gogo2464 |
a3e021f7c73b50d2533ec543691194a19cdcbd16 | 426 | hpp | C++ | Quiz1/quiz1.hpp | deror1869107/yypoop | f3605961787610bf08f8a9ea2afb905d1af3c5c0 | [
"MIT"
] | null | null | null | Quiz1/quiz1.hpp | deror1869107/yypoop | f3605961787610bf08f8a9ea2afb905d1af3c5c0 | [
"MIT"
] | null | null | null | Quiz1/quiz1.hpp | deror1869107/yypoop | f3605961787610bf08f8a9ea2afb905d1af3c5c0 | [
"MIT"
] | null | null | null | #include <vector>
#include <cmath>
namespace quiz1{
template<class T>
T EuclideanDistance(const std::vector<T>& Pa,
const std::vector<T>& Pb){
if( Pa.size() != Pb.size() )
throw ":(";
T Distance = 0;
// Fill your code here
for(size_t i = 0; i < Pa.size(); ++i){
Di... | 17.75 | 47 | 0.518779 | deror1869107 |
9cb174f74ff59788031d23f2001abf3a2edb5b7c | 2,006 | cpp | C++ | src/examples/ex1/ex1.cpp | juzzlin/Argengine | c3f71f32356e966e92459736b1805c7600087bd6 | [
"MIT"
] | 4 | 2020-03-01T19:59:20.000Z | 2022-01-03T07:09:56.000Z | src/examples/ex1/ex1.cpp | juzzlin/Argengine | c3f71f32356e966e92459736b1805c7600087bd6 | [
"MIT"
] | 5 | 2020-03-01T18:28:27.000Z | 2020-03-04T19:50:34.000Z | src/examples/ex1/ex1.cpp | juzzlin/Argengine | c3f71f32356e966e92459736b1805c7600087bd6 | [
"MIT"
] | 2 | 2020-06-12T15:07:46.000Z | 2022-03-30T08:31:37.000Z | // MIT License
//
// Copyright (c) 2020 Jussi Lind <jussi.lind@iki.fi>
//
// https://github.com/juzzlin/Argengine
//
// 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, in... | 33.433333 | 81 | 0.658524 | juzzlin |
9cb1c3b14795b396cd1f421d7e7d6adce6589149 | 19,619 | cpp | C++ | bmp/main.cpp | martinberlin/inkster-jpegdec | 96ac266ac3701126e3fa1cd5acaaac632d885954 | [
"MIT"
] | 1 | 2022-03-19T19:57:56.000Z | 2022-03-19T19:57:56.000Z | bmp/main.cpp | martinberlin/inkster-jpegdec | 96ac266ac3701126e3fa1cd5acaaac632d885954 | [
"MIT"
] | null | null | null | bmp/main.cpp | martinberlin/inkster-jpegdec | 96ac266ac3701126e3fa1cd5acaaac632d885954 | [
"MIT"
] | null | null | null | /* Simple firmware for a ESP32 displaying a static image on an EPaper Screen */
#include <Arduino.h> // Needs to be on the top otherwise there will be errors
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event.h"... | 35.159498 | 157 | 0.546511 | martinberlin |
9cb2ee388a18e726945fb5bf84b25c8081439a19 | 5,852 | cpp | C++ | backends/db2/standard-use-type.cpp | staticlibs/lookaside_soci | b3326cff7d4cf2dc122179eb8b988f2521944550 | [
"BSL-1.0"
] | null | null | null | backends/db2/standard-use-type.cpp | staticlibs/lookaside_soci | b3326cff7d4cf2dc122179eb8b988f2521944550 | [
"BSL-1.0"
] | null | null | null | backends/db2/standard-use-type.cpp | staticlibs/lookaside_soci | b3326cff7d4cf2dc122179eb8b988f2521944550 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (C) 2011-2013 Denis Chapligin
// Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton, David Courtney
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define SOCI_DB2_SOURCE
#include "s... | 28.970297 | 93 | 0.561176 | staticlibs |
9cb64db33461bab41798517484b75e5ef23a1ea8 | 2,494 | cpp | C++ | src/GUI/Text.cpp | szebest/Basic-SFML-Application-Framework | e6b979283a1aba87ea5eefb1785d6f9bf4485d4a | [
"MIT"
] | null | null | null | src/GUI/Text.cpp | szebest/Basic-SFML-Application-Framework | e6b979283a1aba87ea5eefb1785d6f9bf4485d4a | [
"MIT"
] | null | null | null | src/GUI/Text.cpp | szebest/Basic-SFML-Application-Framework | e6b979283a1aba87ea5eefb1785d6f9bf4485d4a | [
"MIT"
] | null | null | null | #include "Text.h"
Text::Text(sf::Vector2f pos, const std::string& text) :
m_pattern(text), m_pos(pos), m_fixedPos(false)
{
setFont(holder::get().fonts.get("arial"));
setText(text);
setColor(sf::Color::White);
setCharSize(32);
setPosition(pos);
m_fPos = getPosition() - sf::Vector2f(m_text.getGlobalBounds().width... | 18.338235 | 143 | 0.680433 | szebest |
9cb7fa499ac58a511a165c80731f7142b0912fc1 | 12,863 | cpp | C++ | src/game/shared/tf/tf_weapon_pda.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/game/shared/tf/tf_weapon_pda.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/game/shared/tf/tf_weapon_pda.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "cbase.h"
#ifdef CLIENT_DLL
#include "iinput.h"
#endif
#include "tf_weapon_pda.h"
#include "in_buttons.h"
#include "tf_gamerules.h"... | 23.864564 | 112 | 0.640286 | cstom4994 |
9cb914f7946f09e7cb641b6cc7223539ebb8d534 | 315 | cpp | C++ | test/doom_test.cpp | Aneurin/devilutionX | b3274325a1a47b917df484ee7b92c8b641e26c13 | [
"Unlicense"
] | 4 | 2021-05-11T06:10:24.000Z | 2021-07-31T22:31:03.000Z | test/doom_test.cpp | Aneurin/devilutionX | b3274325a1a47b917df484ee7b92c8b641e26c13 | [
"Unlicense"
] | 6 | 2020-07-25T22:09:00.000Z | 2020-07-26T04:32:34.000Z | test/doom_test.cpp | Aneurin/devilutionX | b3274325a1a47b917df484ee7b92c8b641e26c13 | [
"Unlicense"
] | 1 | 2021-08-01T11:55:36.000Z | 2021-08-01T11:55:36.000Z | #include <gtest/gtest.h>
#include "doom.h"
using namespace devilution;
TEST(Doom, doom_get_frame_from_time)
{
DoomQuestState = 1200 * 8 + 548;
EXPECT_EQ(doom_get_frame_from_time(), 8);
}
TEST(Doom, doom_get_frame_from_time_max)
{
DoomQuestState = 1200 * 30 + 1;
EXPECT_EQ(doom_get_frame_from_time(), 31);
}
| 17.5 | 43 | 0.742857 | Aneurin |
9cbe87c5cb1260cfa37e51b99b9eba34cd5783df | 1,187 | cpp | C++ | Plugins/CustomVariantManager/Source/4Application/Private/ApplicationModule.cpp | IhnoL/GoogleMockUnreal | 0f52573de99b7f4e94d3af3eff37a64a1b03a8e2 | [
"Apache-2.0"
] | 4 | 2021-06-29T00:06:03.000Z | 2022-03-09T11:29:59.000Z | Plugins/CustomVariantManager/Source/4Application/Private/ApplicationModule.cpp | IhnoL/GoogleMockUnreal | 0f52573de99b7f4e94d3af3eff37a64a1b03a8e2 | [
"Apache-2.0"
] | null | null | null | Plugins/CustomVariantManager/Source/4Application/Private/ApplicationModule.cpp | IhnoL/GoogleMockUnreal | 0f52573de99b7f4e94d3af3eff37a64a1b03a8e2 | [
"Apache-2.0"
] | null | null | null | #define LOCTEXT_NAMESPACE "FApplicationModule"
#include "ApplicationModule.h"
#include "Scenes/GeometryVariantSetDetail/IGeometryVariantSetDataStore.h"
#include "Scenes/GeometryVariantSetDetail/IGeometryVariantSetDetailInteractor.h"
#include "Scenes/GeometryVariantSetDetail/Interactor/GeometryVariantSetDetailInteractor... | 32.972222 | 129 | 0.850042 | IhnoL |
9cc07e6bb048c268523d5879dbe8ae6856e725cd | 5,905 | hpp | C++ | MemStream2.hpp | zswdjh/A_Functional_Database_Application | 79583984aac3b8dfd007633ac0a1f39f7e2cb573 | [
"MIT"
] | null | null | null | MemStream2.hpp | zswdjh/A_Functional_Database_Application | 79583984aac3b8dfd007633ac0a1f39f7e2cb573 | [
"MIT"
] | null | null | null | MemStream2.hpp | zswdjh/A_Functional_Database_Application | 79583984aac3b8dfd007633ac0a1f39f7e2cb573 | [
"MIT"
] | null | null | null | //
// MemStream2.hpp
// ECEDatabase5
//
// Created by rick gessner on 5/8/18.
// Copyright © 2018 rick gessner. All rights reserved.
//
#ifndef MemStream2_h
#define MemStream2_h
#include <fstream>
#include <stdint.h>
#include <cstdio>
#include <string>
#include <cstring>
#include <stdexcept>
#include <iostream>
#... | 23.714859 | 101 | 0.562574 | zswdjh |
9cc0b88f04072069caf207a769965a7eb022d5cd | 14,785 | cpp | C++ | source/backend/cpu/CPUReduction.cpp | xindongzhang/MNN | f4740c78dc8fc67ee4596552d2257f12c48af067 | [
"Apache-2.0"
] | 1 | 2019-08-09T03:16:49.000Z | 2019-08-09T03:16:49.000Z | source/backend/cpu/CPUReduction.cpp | xindongzhang/MNN | f4740c78dc8fc67ee4596552d2257f12c48af067 | [
"Apache-2.0"
] | null | null | null | source/backend/cpu/CPUReduction.cpp | xindongzhang/MNN | f4740c78dc8fc67ee4596552d2257f12c48af067 | [
"Apache-2.0"
] | 1 | 2021-08-23T03:40:09.000Z | 2021-08-23T03:40:09.000Z | //
// CPUReduction.cpp
// MNN
//
// Created by MNN on 2018/07/25.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "CPUReduction.hpp"
#include "CommonOptFunction.h"
#include "Macro.h"
#define UNIT 4
#define UNIT_DUP(value) \
{ (value), (value), (value), (value) }
namespace MNN {
class Reduction... | 37.620865 | 120 | 0.497328 | xindongzhang |
9cc3e2e224a36a3d811a29fab5f252451791d505 | 3,551 | cpp | C++ | src/Writer.cpp | AmayaHena/ClassCreatorGeneric | 0d332d3fd3996f9fc3269878a31ae4fdda00b10e | [
"MIT"
] | null | null | null | src/Writer.cpp | AmayaHena/ClassCreatorGeneric | 0d332d3fd3996f9fc3269878a31ae4fdda00b10e | [
"MIT"
] | null | null | null | src/Writer.cpp | AmayaHena/ClassCreatorGeneric | 0d332d3fd3996f9fc3269878a31ae4fdda00b10e | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2019
** ClassCreator
** File description:
** Writer
*/
/* STD Library */
#include <functional>
/* STD Types Library */
#include <fstream>
#include <string>
#include "Writer.hpp"
Writer::Writer() : _tag_ref("/*#!")
{
_tagMake["ProgramName"] = PROGNAME;
_tagMake["SrcMakefile"] = SRCMAKE;
_ta... | 20.526012 | 119 | 0.608561 | AmayaHena |
9cc4c88453298c67fa3b7f596f3e38c2abf2e0ae | 12,926 | cpp | C++ | hdf5-1.8.20/c++/src/H5FcreatProp.cpp | GWU-CFD/flash-distro | 740f45047bde057365823036158893c19c6d7c72 | [
"MIT"
] | null | null | null | hdf5-1.8.20/c++/src/H5FcreatProp.cpp | GWU-CFD/flash-distro | 740f45047bde057365823036158893c19c6d7c72 | [
"MIT"
] | null | null | null | hdf5-1.8.20/c++/src/H5FcreatProp.cpp | GWU-CFD/flash-distro | 740f45047bde057365823036158893c19c6d7c72 | [
"MIT"
] | null | null | null | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | 42.943522 | 143 | 0.534195 | GWU-CFD |
9cc6475c1b57d20b665fae970c15f99ce2eeef0f | 1,140 | cpp | C++ | examples/ex_spsc.cpp | ankitkk/mahi-util | 0881b43c0d86d0250c9a2c3162e88a95dcbe8a33 | [
"MIT"
] | 10 | 2020-05-08T09:02:17.000Z | 2021-09-17T19:18:10.000Z | examples/ex_spsc.cpp | ankitkk/mahi-util | 0881b43c0d86d0250c9a2c3162e88a95dcbe8a33 | [
"MIT"
] | 6 | 2020-03-29T15:24:25.000Z | 2021-07-08T07:16:51.000Z | examples/ex_spsc.cpp | ankitkk/mahi-util | 0881b43c0d86d0250c9a2c3162e88a95dcbe8a33 | [
"MIT"
] | 11 | 2020-03-29T09:05:29.000Z | 2022-02-11T20:59:19.000Z | #include <Mahi/Util/Templates/SPSCQueue.hpp>
#include <Mahi/Util/System.hpp>
#include <Mahi/Util/Print.hpp>
#include <Mahi/Util/Timing/Clock.hpp>
#include <thread>
#include <string>
#include <iostream>
using namespace mahi::util;
// SPSCQueue is a single-producer-single-consumer, wait free, lock free queue for multit... | 24.782609 | 99 | 0.642982 | ankitkk |
9cc7fd56e81b95750c41c34a3509777469e5a947 | 2,399 | hpp | C++ | dac_contracts/distribution/distribution.hpp | eosdac/eosdac_contracts | f213b0f07c425912692c38e8b7e07ad99da9ddca | [
"MIT"
] | 16 | 2019-06-13T18:07:51.000Z | 2021-12-09T06:43:21.000Z | dac_contracts/distribution/distribution.hpp | eosdac/eosdac_contracts | f213b0f07c425912692c38e8b7e07ad99da9ddca | [
"MIT"
] | 70 | 2019-05-11T15:20:51.000Z | 2021-08-31T17:35:24.000Z | dac_contracts/distribution/distribution.hpp | eosdac/eosdac_contracts | f213b0f07c425912692c38e8b7e07ad99da9ddca | [
"MIT"
] | 11 | 2019-06-13T18:07:56.000Z | 2021-12-19T19:11:53.000Z | #include <eosio/asset.hpp>
#include <eosio/eosio.hpp>
#include <eosio/multi_index.hpp>
#include <eosio/print.hpp>
#include <eosio/symbol.hpp>
using namespace eosio;
using namespace std;
CONTRACT distribution : public contract {
public:
using contract::contract;
distribution(eosio::name receiver, eosio::name... | 36.348485 | 119 | 0.660275 | eosdac |
9ccbe1107a139974ba9ae4cebce851e65872c686 | 2,113 | hpp | C++ | include/gridtools/stencil_composition/backend.hpp | jdahm/gridtools | 5961932cd2ccf336d3d73b4bc967243828e55cc5 | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/stencil_composition/backend.hpp | jdahm/gridtools | 5961932cd2ccf336d3d73b4bc967243828e55cc5 | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/stencil_composition/backend.hpp | jdahm/gridtools | 5961932cd2ccf336d3d73b4bc967243828e55cc5 | [
"BSD-3-Clause"
] | null | null | null | /*
* GridTools
*
* Copyright (c) 2014-2019, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include <functional>
#include <utility>
#include "../common/hymap.hpp"
#include "../common/tuple.hpp"
#include "..... | 35.216667 | 117 | 0.613819 | jdahm |
9ccc3c9484b256c07da2e913d882bd6ca55a7302 | 1,153 | cpp | C++ | src/dmove_eig.cpp | klast/magma | cfb849621be6f697288e995831ec3c9e84530d9d | [
"BSD-3-Clause"
] | 4 | 2020-12-04T13:31:18.000Z | 2021-12-10T11:41:23.000Z | src/dmove_eig.cpp | klast/magma | cfb849621be6f697288e995831ec3c9e84530d9d | [
"BSD-3-Clause"
] | 1 | 2021-03-27T20:00:25.000Z | 2021-03-28T06:19:59.000Z | src/dmove_eig.cpp | klast/magma | cfb849621be6f697288e995831ec3c9e84530d9d | [
"BSD-3-Clause"
] | 2 | 2020-12-04T13:23:36.000Z | 2021-03-27T00:50:27.000Z | /*
-- MAGMA (version 2.5.4) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date October 2020
@author Raffaele Solca
@author Azzam Haidar
@precisions normal d -> s
*/
#include "magma_internal.h"
extern "C" void
magma_dmov... | 20.963636 | 67 | 0.433651 | klast |
9ccee7753c800ea05ddcfb88715862cf451a0e7d | 4,913 | cpp | C++ | thirdparty/ULib/examples/rsign/rsignclient.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | thirdparty/ULib/examples/rsign/rsignclient.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | thirdparty/ULib/examples/rsign/rsignclient.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | // rsignclient.cpp
#include <ulib/file_config.h>
#include <ulib/utility/base64.h>
#include <ulib/utility/services.h>
#include <ulib/ssl/net/sslsocket.h>
#include <ulib/xml/soap/soap_client.h>
#undef PACKAGE
#define PACKAGE "rsignclient"
#undef ARGS
#define ARGS ""
#define U_OPTIONS \
"purpose \"client for interfac... | 26.994505 | 125 | 0.561571 | liftchampion |
9cd41651defe5ebc0ac43823c08c3b39643ce730 | 15,131 | cc | C++ | test/gurka/test_oneways.cc | sidilabs/valhalla | d2914a4527f2aeb7495dfdbacea60fdc0b92c6a0 | [
"MIT"
] | null | null | null | test/gurka/test_oneways.cc | sidilabs/valhalla | d2914a4527f2aeb7495dfdbacea60fdc0b92c6a0 | [
"MIT"
] | null | null | null | test/gurka/test_oneways.cc | sidilabs/valhalla | d2914a4527f2aeb7495dfdbacea60fdc0b92c6a0 | [
"MIT"
] | null | null | null | #include "gurka.h"
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/register/point.hpp>
#include <boost/geometry/multi/geometries/register/multi_polygon.hpp>
#include <gtest/gtest.h>
#include <valhalla/proto/options.pb.h>
#include "baldr/graphconstants.h"
#include "baldr/graphreader.h"
#include "loki/... | 43.731214 | 102 | 0.526667 | sidilabs |
9cd45c257fc7f0a43fee25df1556895064fd3ae0 | 12,141 | cpp | C++ | Foobar2000_SDK/foobar2000/SDK/metadb_handle_list.cpp | pfqwsqqq/lyrics-extend-source-for-lyrics3 | 0337bae961952cfbedeac377d60743c5c6ec16b8 | [
"Zlib"
] | null | null | null | Foobar2000_SDK/foobar2000/SDK/metadb_handle_list.cpp | pfqwsqqq/lyrics-extend-source-for-lyrics3 | 0337bae961952cfbedeac377d60743c5c6ec16b8 | [
"Zlib"
] | null | null | null | Foobar2000_SDK/foobar2000/SDK/metadb_handle_list.cpp | pfqwsqqq/lyrics-extend-source-for-lyrics3 | 0337bae961952cfbedeac377d60743c5c6ec16b8 | [
"Zlib"
] | 1 | 2019-04-20T06:32:58.000Z | 2019-04-20T06:32:58.000Z | #include "foobar2000.h"
#include <shlwapi.h>
namespace {
wchar_t * makeSortString(const char * in) {
wchar_t * out = new wchar_t[pfc::stringcvt::estimate_utf8_to_wide(in) + 1];
out[0] = ' ';//StrCmpLogicalW bug workaround.
pfc::stringcvt::convert_utf8_to_wide_unchecked(out + 1, in);
return out;
}
struct c... | 30.581864 | 219 | 0.715015 | pfqwsqqq |
9cde04d1464313946847fffe47b366d4e9465aeb | 1,352 | cpp | C++ | Challenges/codcad_contagem_de_algarismos.cpp | oJordany/CodCad | d3c76d8631583428f5e32caf79a421f2487dbd4c | [
"MIT"
] | null | null | null | Challenges/codcad_contagem_de_algarismos.cpp | oJordany/CodCad | d3c76d8631583428f5e32caf79a421f2487dbd4c | [
"MIT"
] | 8 | 2021-12-23T13:55:40.000Z | 2022-01-03T18:55:52.000Z | Challenges/codcad_contagem_de_algarismos.cpp | oJordany/CodCad | d3c76d8631583428f5e32caf79a421f2487dbd4c | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int n, a0 = 0, a1 = 0, a2 = 0, a3 = 0, a4 = 0, a5 = 0, a6 = 0, a7 = 0, a8 = 0, a9 = 0;
string nums;
cin >> n;
for (int c = 0; c < n; c++){
cin >> nums;
for (int i = 0; i < nums.size(); i++){
if (nums[i] == '0'){
... | 22.915254 | 90 | 0.251479 | oJordany |
9ce4490f66e6ada7c6f8ad1deb5478e3f9bcae9a | 292,272 | cpp | C++ | GCG_Source.build/module.pyperclip.clipboards.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.pyperclip.clipboards.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.pyperclip.clipboards.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | /* Generated code for Python source for module 'pyperclip.clipboards'
* created by Nuitka version 0.5.28.2
*
* This code is in part copyright 2017 Kay Hayen.
*
* 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 c... | 34.682805 | 257 | 0.733077 | Pckool |
9ce5de86e6ac6e095f4687d82f7786086937ebbf | 458 | cpp | C++ | RecursiveFibonacciSeries/main.cpp | ATomar2150/DataStructuresAndAlgorithm | b1cbea4ea4b27e396ebbada464417818d2862283 | [
"Apache-2.0"
] | null | null | null | RecursiveFibonacciSeries/main.cpp | ATomar2150/DataStructuresAndAlgorithm | b1cbea4ea4b27e396ebbada464417818d2862283 | [
"Apache-2.0"
] | null | null | null | RecursiveFibonacciSeries/main.cpp | ATomar2150/DataStructuresAndAlgorithm | b1cbea4ea4b27e396ebbada464417818d2862283 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
//prototype
int fib(int);
int main()
{
cout<<"The first 10 Fibonaci numbers are: \n";
for(int i = 0; i < 10 ; i++)
{
cout<<fib(i)<<" ";
cout<<endl;
}
return 0;
}
int fib(int n)
{
if(n <= 0)
{
return 0; //Base case
}
... | 13.470588 | 52 | 0.458515 | ATomar2150 |
9ce7d3251a089d238a5ce9d56f1194e273d6b2c2 | 10,907 | cpp | C++ | src/xml/SkDOM.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | src/xml/SkDOM.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | src/xml/SkDOM.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2006 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/xml/SkDOM.h"
#include <memory>
#include "include/core/SkStream.h"
#include "include/private/SkTo.h"
#include "src/xml/SkXMLParser.h"
#inclu... | 25.969048 | 97 | 0.620886 | NearTox |
9cea0b11c1367fa698aedbdf3afc9c9efa138669 | 10,714 | cpp | C++ | Source/General/Misc/DynamicObject.cpp | paintdream/paintsnow | 3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781 | [
"MIT"
] | null | null | null | Source/General/Misc/DynamicObject.cpp | paintdream/paintsnow | 3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781 | [
"MIT"
] | null | null | null | Source/General/Misc/DynamicObject.cpp | paintdream/paintsnow | 3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781 | [
"MIT"
] | null | null | null | #include "DynamicObject.h"
#include <sstream>
using namespace PaintsNow;
DynamicUniqueAllocator::DynamicUniqueAllocator() {}
DynamicInfo::Field::Field() : controller(nullptr) {
reflectable = 0;
offset = 0;
}
IReflectObject* DynamicInfo::Create() const {
assert(Math::Alignment(sizeof(DynamicObject)) >= sizeof(size... | 28.801075 | 193 | 0.688445 | paintdream |
9ceb662e99ac75757164261fd45ad9a95c30f435 | 10,930 | cpp | C++ | src/python/gameboycore_module.cpp | nnarain/gameboycore-python | f6dde95a5e51f38bd1037abcc2f569cf254bf9de | [
"MIT"
] | 5 | 2016-12-29T01:48:05.000Z | 2020-04-06T18:19:39.000Z | src/python/gameboycore_module.cpp | nnarain/gameboycore-python | f6dde95a5e51f38bd1037abcc2f569cf254bf9de | [
"MIT"
] | 48 | 2016-12-02T03:49:56.000Z | 2019-08-23T04:30:55.000Z | src/python/gameboycore_module.cpp | nnarain/gameboycore-python | f6dde95a5e51f38bd1037abcc2f569cf254bf9de | [
"MIT"
] | 2 | 2017-01-03T22:25:43.000Z | 2021-02-05T08:30:45.000Z |
/**
\file gameboycore_python.cpp
\brief Gameboy Core Python Wrapper
\author Natesh Narain <nnaraindev@gmail.com>
\date Dec 1 2016
*/
#include "gameboycore_python.h"
#include <gameboycore/memorymap.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl_bind.h>
PYBIND11_MAKE_OPAQUE(GameboyCorePython... | 60.054945 | 143 | 0.551235 | nnarain |
9cebea0dee0885f116a248e3e323c7bd873cd6ee | 2,476 | hh | C++ | dune/gdt/local/functionals/interfaces.hh | TiKeil/dune-gdt | 25c8b987cc07a4b8b966c1a07ea21b78dba7852f | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/local/functionals/interfaces.hh | TiKeil/dune-gdt | 25c8b987cc07a4b8b966c1a07ea21b78dba7852f | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/local/functionals/interfaces.hh | TiKeil/dune-gdt | 25c8b987cc07a4b8b966c1a07ea21b78dba7852f | [
"BSD-2-Clause"
] | null | null | null | // This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/lice... | 30.195122 | 119 | 0.755654 | TiKeil |
9cee2d465a71ce5ac04a0361fddf5c12d4592b0c | 5,053 | cc | C++ | wrspice/src/analysis/dctsetp.cc | wrcad/xictools | f46ba6d42801426739cc8b2940a809b74f1641e2 | [
"Apache-2.0"
] | 73 | 2017-10-26T12:40:24.000Z | 2022-03-02T16:59:43.000Z | wrspice/src/analysis/dctsetp.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 12 | 2017-11-01T10:18:22.000Z | 2022-03-20T19:35:36.000Z | wrspice/src/analysis/dctsetp.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 34 | 2017-10-06T17:04:21.000Z | 2022-02-18T16:22:03.000Z |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | 41.418033 | 77 | 0.476746 | wrcad |
9cefc0dd45daa44fb70ed925b351c4301cc358c0 | 2,193 | cpp | C++ | runtime/src/cloe/utility/evaluate.cpp | Sidharth-S-S/cloe | 974ef649e7dc6ec4e6869e4cf690c5b021e5091e | [
"Apache-2.0"
] | 20 | 2020-07-07T18:28:35.000Z | 2022-03-21T04:35:28.000Z | runtime/src/cloe/utility/evaluate.cpp | Sidharth-S-S/cloe | 974ef649e7dc6ec4e6869e4cf690c5b021e5091e | [
"Apache-2.0"
] | 46 | 2021-01-20T10:13:09.000Z | 2022-03-29T12:27:19.000Z | runtime/src/cloe/utility/evaluate.cpp | Sidharth-S-S/cloe | 974ef649e7dc6ec4e6869e4cf690c5b021e5091e | [
"Apache-2.0"
] | 12 | 2021-01-25T08:01:24.000Z | 2021-07-27T10:09:53.000Z | /*
* Copyright 2020 Robert Bosch GmbH
*
* 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 agre... | 30.887324 | 83 | 0.636571 | Sidharth-S-S |
9cf3c12c70245d145de40d2dd1ce0c5396b9f060 | 18,994 | cc | C++ | src/geometry/strings/split.cc | odvratnozgodan/s2 | e5293d0944e5053e0300d61823914728032c16c9 | [
"Apache-2.0"
] | 33 | 2016-08-10T09:13:43.000Z | 2021-06-22T22:52:04.000Z | src/geometry/strings/split.cc | odvratnozgodan/s2 | e5293d0944e5053e0300d61823914728032c16c9 | [
"Apache-2.0"
] | 9 | 2016-12-12T17:28:20.000Z | 2020-08-11T14:41:19.000Z | src/geometry/strings/split.cc | odvratnozgodan/s2 | e5293d0944e5053e0300d61823914728032c16c9 | [
"Apache-2.0"
] | 10 | 2016-12-12T17:19:40.000Z | 2021-12-03T17:44:29.000Z | // Copyright 2008 and onwards Google Inc. All rights reserved.
#include <limits>
using std::numeric_limits;
#include <stdint.h>
#include "base/commandlineflags.h"
#include "base/integral_types.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/strtoint.h"
#include "split.h"
#include "strutil.h"
#i... | 39.736402 | 80 | 0.612772 | odvratnozgodan |
9cf5cba739c26a8845eaa9d2e0e252ab77f7eea2 | 422 | cpp | C++ | LibFoundation/Wm4FoundationPCH.cpp | wjezxujian/WildMagic4 | 249a17f8c447cf57c6283408e01009039810206a | [
"BSL-1.0"
] | 3 | 2021-08-02T04:03:03.000Z | 2022-01-04T07:31:20.000Z | LibFoundation/Wm4FoundationPCH.cpp | wjezxujian/WildMagic4 | 249a17f8c447cf57c6283408e01009039810206a | [
"BSL-1.0"
] | null | null | null | LibFoundation/Wm4FoundationPCH.cpp | wjezxujian/WildMagic4 | 249a17f8c447cf57c6283408e01009039810206a | [
"BSL-1.0"
] | 5 | 2019-10-13T02:44:19.000Z | 2021-08-02T04:03:10.000Z | // Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006. All Rights Reserved
//
// The Wild Magic Version 4 Foundation Library source code is supplied
// under the terms of the license agreement
// http://www.geometrictools.com/License/Wm4FoundationLicense.pdf
// and may not be copied ... | 35.166667 | 73 | 0.753555 | wjezxujian |
9cf709fb2fdb8038b98aefdfa1b703425b6f4e79 | 1,425 | cpp | C++ | src/ButtonManager.cpp | klaus-liebler/smopla-dps | ab92c73d16769a09d70b5519792c29a4276543c5 | [
"MIT"
] | null | null | null | src/ButtonManager.cpp | klaus-liebler/smopla-dps | ab92c73d16769a09d70b5519792c29a4276543c5 | [
"MIT"
] | null | null | null | src/ButtonManager.cpp | klaus-liebler/smopla-dps | ab92c73d16769a09d70b5519792c29a4276543c5 | [
"MIT"
] | null | null | null | #include "ButtonManager.hh"
#include "pindefs.hh"
constexpr uint32_t LONG_PRESS_LIMIT=600;
ButtonManager::ButtonManager() {
// TODO Auto-generated constructor stub
}
ButtonManager::~ButtonManager() {
// TODO Auto-generated destructor stub
}
void ButtonManager::Update()
{
bool v=Gpio::Get(SW_ONOFF);
if(prevSW_O... | 15.833333 | 48 | 0.677895 | klaus-liebler |
9cf85d58477c1e121667fbd8e426230ef941b59d | 5,196 | cpp | C++ | src/ToolTip/RDesktopTip2.cpp | gongjianbo/RectangleComponent | 2b4b0f4d3c8ac6949d70934b52b390e6c3a05881 | [
"MIT"
] | 4 | 2020-06-17T14:28:53.000Z | 2021-08-19T01:04:58.000Z | src/ToolTip/RDesktopTip2.cpp | gongjianbo/RectangleComponent | 2b4b0f4d3c8ac6949d70934b52b390e6c3a05881 | [
"MIT"
] | null | null | null | src/ToolTip/RDesktopTip2.cpp | gongjianbo/RectangleComponent | 2b4b0f4d3c8ac6949d70934b52b390e6c3a05881 | [
"MIT"
] | 10 | 2020-06-07T13:25:19.000Z | 2022-03-03T05:15:12.000Z | #include "RDesktopTip2.h"
#include "ui_RDesktopTip2.h"
#include <QApplication>
#include <QScreen>
#include <QDebug>
RDesktopTip2* RDesktopTip2::instance=nullptr;
RDesktopTip2::AnimationMode RDesktopTip2::mode=RDesktopTip2::AllAnimation;
RDesktopTip2::RDesktopTip2()
: QWidget(nullptr),
ui(new Ui::RDesktopTi... | 24.280374 | 76 | 0.635681 | gongjianbo |
9cf92e3031a285d19d3b35fa2d254518989fd211 | 1,664 | hpp | C++ | Libraries/Sound/SoundStandard.hpp | DaveTheGameDev/PlasmaEngine | bb5013e7ba1731b2269f4e4aea1109870ab82092 | [
"MIT"
] | null | null | null | Libraries/Sound/SoundStandard.hpp | DaveTheGameDev/PlasmaEngine | bb5013e7ba1731b2269f4e4aea1109870ab82092 | [
"MIT"
] | null | null | null | Libraries/Sound/SoundStandard.hpp | DaveTheGameDev/PlasmaEngine | bb5013e7ba1731b2269f4e4aea1109870ab82092 | [
"MIT"
] | null | null | null | // MIT Licensed (see LICENSE.md).
#pragma once
#include "Common/CommonStandard.hpp"
#include "PlatformStandard.hpp"
#include "Serialization/SerializationStandard.hpp"
#include "Meta/MetaStandard.hpp"
#include "Support/SupportStandard.hpp"
#include "Engine/EngineStandard.hpp"
#include "Geometry/DebugDraw.hpp"
namespace... | 24.115942 | 73 | 0.786659 | DaveTheGameDev |
9cf964676049f526422a17056c3df5f672410a1b | 994 | cc | C++ | test/main.cc | pvhoffman/heapsort | b5a44b3207060a997937c5e4bd7af06427b7cb48 | [
"MIT"
] | null | null | null | test/main.cc | pvhoffman/heapsort | b5a44b3207060a997937c5e4bd7af06427b7cb48 | [
"MIT"
] | null | null | null | test/main.cc | pvhoffman/heapsort | b5a44b3207060a997937c5e4bd7af06427b7cb48 | [
"MIT"
] | null | null | null | #include <config.h>
#include <iostream>
#include <random>
#include <algorithm>
#include <iterator>
#include <functional>
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "../src/heapsort.h"
SCENARIO( "vectors can be sorted", "[vector]" )
{
GIVEN( "A vector of 10000000 random integers" )
{
us... | 23.116279 | 77 | 0.594567 | pvhoffman |
9cfbb8f5edcf3e0c2ce5914d381df3e047ce4837 | 9,531 | cpp | C++ | src/mapnik_color.cpp | naturalatlas/node-mapnik | 02e5d8eb0488128e1c51ad7d9ea9e5becb57dbb9 | [
"BSD-3-Clause"
] | null | null | null | src/mapnik_color.cpp | naturalatlas/node-mapnik | 02e5d8eb0488128e1c51ad7d9ea9e5becb57dbb9 | [
"BSD-3-Clause"
] | null | null | null | src/mapnik_color.cpp | naturalatlas/node-mapnik | 02e5d8eb0488128e1c51ad7d9ea9e5becb57dbb9 | [
"BSD-3-Clause"
] | null | null | null | #include "mapnik_color.hpp"
Napi::FunctionReference Color::constructor;
Napi::Object Color::Initialize(Napi::Env env, Napi::Object exports, napi_property_attributes prop_attr)
{
Napi::Function func = DefineClass(env, "Color", {
InstanceMethod<&Color::hex>("hex", prop_attr),
InstanceMethod<... | 31.876254 | 140 | 0.585878 | naturalatlas |
9cfe9641b39b1896bcf6e3e8f9f1db6c838c1aeb | 2,654 | cpp | C++ | local_planner/src/nodes/local_planner_node_main.cpp | jengakim/avoidance | 978bb05f3fd6b060de4c417809e73318a3e121a4 | [
"BSD-3-Clause"
] | null | null | null | local_planner/src/nodes/local_planner_node_main.cpp | jengakim/avoidance | 978bb05f3fd6b060de4c417809e73318a3e121a4 | [
"BSD-3-Clause"
] | null | null | null | local_planner/src/nodes/local_planner_node_main.cpp | jengakim/avoidance | 978bb05f3fd6b060de4c417809e73318a3e121a4 | [
"BSD-3-Clause"
] | null | null | null | #include "local_planner/local_planner.h"
#include "local_planner/common.h"
#include "local_planner/local_planner_node.h"
#include "local_planner/waypoint_generator.h"
#include <boost/algorithm/string.hpp>
int main(int argc, char** argv) {
using namespace avoidance;
ros::init(argc, argv, "local_planner_node");
r... | 29.488889 | 76 | 0.680106 | jengakim |
140088da6d1eec58da5d44239c50c28777e65ed0 | 484 | cpp | C++ | Data Structures/k-d tree.cpp | utkarsh-1997/Code-Repo | 47786ae93a7b8cea100b7b7e6478f10403c33baa | [
"MIT"
] | null | null | null | Data Structures/k-d tree.cpp | utkarsh-1997/Code-Repo | 47786ae93a7b8cea100b7b7e6478f10403c33baa | [
"MIT"
] | null | null | null | Data Structures/k-d tree.cpp | utkarsh-1997/Code-Repo | 47786ae93a7b8cea100b7b7e6478f10403c33baa | [
"MIT"
] | null | null | null | // Refer to:
// https://github.com/utkarsh1097/DBMS-Assignments/blob/master/Assignment%203/bestfirstsearch.cpp
// for the implementation of the k-d tree. Please modify the main() function according to your needs.
// The code is pretty neat and it will not be difficult to understand. Still, will add comments in future i... | 32.266667 | 116 | 0.735537 | utkarsh-1997 |
140140fc93d5f6cbf73ff6b692659eda565627bc | 32,032 | cpp | C++ | libi2pd_client/SAM.cpp | KenanSulayman/i2pd | 50e4fb138a48ce07a89c19d1f5c8888cec3dae78 | [
"BSD-3-Clause"
] | 1 | 2021-09-05T04:25:24.000Z | 2021-09-05T04:25:24.000Z | libi2pd_client/SAM.cpp | KenanSulayman/i2pd | 50e4fb138a48ce07a89c19d1f5c8888cec3dae78 | [
"BSD-3-Clause"
] | null | null | null | libi2pd_client/SAM.cpp | KenanSulayman/i2pd | 50e4fb138a48ce07a89c19d1f5c8888cec3dae78 | [
"BSD-3-Clause"
] | null | null | null | #include <string.h>
#include <stdio.h>
#ifdef _MSC_VER
#include <stdlib.h>
#endif
#include "Base.h"
#include "Identity.h"
#include "Log.h"
#include "Destination.h"
#include "ClientContext.h"
#include "util.h"
#include "SAM.h"
namespace i2p
{
namespace client
{
SAMSocket::SAMSocket (SAMBridge& owner):
m_Owner (owner... | 31.129252 | 146 | 0.676761 | KenanSulayman |
14015331ee63314407f3da4cc1f599ded0369e93 | 2,846 | hpp | C++ | include/pxx/core/iter_range/iter_range.hpp | GarrickLin/pxx11 | f7519b678678c60540a68d26aa04fe95d4c0873f | [
"MIT"
] | 1 | 2019-06-11T08:30:24.000Z | 2019-06-11T08:30:24.000Z | include/pxx/core/iter_range/iter_range.hpp | GarrickLin/pxx11 | f7519b678678c60540a68d26aa04fe95d4c0873f | [
"MIT"
] | null | null | null | include/pxx/core/iter_range/iter_range.hpp | GarrickLin/pxx11 | f7519b678678c60540a68d26aa04fe95d4c0873f | [
"MIT"
] | null | null | null | #pragma once
namespace detail_range {
template <typename T>
class iterator {
public:
using value_type = T;
using size_type = size_t;
private:
size_type cursor_;
const value_type step_;
value_type value_;
public:
iterator(size_type cur_start, value_t... | 27.901961 | 86 | 0.572734 | GarrickLin |
1402922a68d3106dc2384ff06fb9ff40710e1031 | 85 | cpp | C++ | cplusplus/Complex2.cpp | chtld/Programming-and-Algorithm-Course | 669f266fc97db9050013ffbb388517667de33433 | [
"MIT"
] | 2 | 2019-06-10T11:50:06.000Z | 2019-10-14T08:00:41.000Z | cplusplus/Complex2.cpp | chtld/Programming-and-Algorithm-Course | 669f266fc97db9050013ffbb388517667de33433 | [
"MIT"
] | null | null | null | cplusplus/Complex2.cpp | chtld/Programming-and-Algorithm-Course | 669f266fc97db9050013ffbb388517667de33433 | [
"MIT"
] | null | null | null | #include <isotream>
#include <cstring>
using namespace std;
class Complex{
} | 12.142857 | 21 | 0.682353 | chtld |
1403fd7c3e49565760a0788e3a1c44d816f43b5c | 7,257 | cpp | C++ | Desktop/CCore/src/video/lib/Shape.LineEdit.cpp | SergeyStrukov/CCore-2-99 | 1eca5b9b2de067bbab43326718b877465ae664fe | [
"BSL-1.0"
] | 1 | 2016-05-22T07:51:02.000Z | 2016-05-22T07:51:02.000Z | Desktop/CCore/src/video/lib/Shape.LineEdit.cpp | SergeyStrukov/CCore-2-99 | 1eca5b9b2de067bbab43326718b877465ae664fe | [
"BSL-1.0"
] | null | null | null | Desktop/CCore/src/video/lib/Shape.LineEdit.cpp | SergeyStrukov/CCore-2-99 | 1eca5b9b2de067bbab43326718b877465ae664fe | [
"BSL-1.0"
] | null | null | null | /* Shape.LineEdit.cpp */
//----------------------------------------------------------------------------------------
//
// Project: CCore 3.00
//
// Tag: Desktop
//
// License: Boost Software License - Version 1.0 - August 17th, 2003
//
// see http://www.boost.org/LICENSE_1_0.txt or the local copy
//
// C... | 19.508065 | 117 | 0.609756 | SergeyStrukov |
1405ebd2cdf088008a915fb7b83334f0e6e0c776 | 6,223 | cpp | C++ | Server/src/modules/SD3/scripts/eastern_kingdoms/ghostlands.cpp | ZON3DEV/wow-vanilla | 7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f | [
"OpenSSL"
] | null | null | null | Server/src/modules/SD3/scripts/eastern_kingdoms/ghostlands.cpp | ZON3DEV/wow-vanilla | 7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f | [
"OpenSSL"
] | null | null | null | Server/src/modules/SD3/scripts/eastern_kingdoms/ghostlands.cpp | ZON3DEV/wow-vanilla | 7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f | [
"OpenSSL"
] | null | null | null | /**
* ScriptDev3 is an extension for mangos providing enhanced features for
* area triggers, creatures, game objects, instances, items, and spells beyond
* the default database scripting in mangos.
*
* Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/>
* Copyright (C) 2014-2022 MaNGOS <https://getma... | 31.429293 | 152 | 0.571911 | ZON3DEV |
14072d437d496136cab9dfbecb630944343c56d4 | 1,319 | cpp | C++ | Queues/reverse-queue.cpp | divyanshu013/algorithm-journey | 8dc32daa732f16099da148bb8669778d4ef3172a | [
"MIT"
] | null | null | null | Queues/reverse-queue.cpp | divyanshu013/algorithm-journey | 8dc32daa732f16099da148bb8669778d4ef3172a | [
"MIT"
] | null | null | null | Queues/reverse-queue.cpp | divyanshu013/algorithm-journey | 8dc32daa732f16099da148bb8669778d4ef3172a | [
"MIT"
] | null | null | null | /*******************************************************************************
Reverse queue
=============
Ref - http://stackoverflow.com/questions/818443/a-way-to-reverse-queue-using-only-two-temporary-queues-and-nothing-more
--------------------------------------------------------------------------------
Proble... | 19.115942 | 119 | 0.357089 | divyanshu013 |
140c141c0356cdf7f84a11e08a4509f0fc73c34a | 455 | cpp | C++ | examples/app-libs-depends/src/main.cpp | str2num/buildmake | 6320bb9e86cb1bc20c51f4f980a83cdd5ac49e8d | [
"BSD-3-Clause"
] | 11 | 2017-11-10T12:24:18.000Z | 2021-05-08T03:37:32.000Z | examples/app-libs-depends/src/main.cpp | str2num/buildmake | 6320bb9e86cb1bc20c51f4f980a83cdd5ac49e8d | [
"BSD-3-Clause"
] | null | null | null | examples/app-libs-depends/src/main.cpp | str2num/buildmake | 6320bb9e86cb1bc20c51f4f980a83cdd5ac49e8d | [
"BSD-3-Clause"
] | 1 | 2019-01-26T19:32:34.000Z | 2019-01-26T19:32:34.000Z | /***************************************************************************
*
* Copyright (c) 2017 str2num.com, Inc. All Rights Reserved
* $Id$
*
**************************************************************************/
/**
* @file main.cpp
* @author str2num
* @version $Revision$
* @brief
*
*... | 16.25 | 76 | 0.342857 | str2num |
140df2b1c3eac69c11cd8bea488181b59931018e | 937 | cpp | C++ | source/Ch08/swap.cpp | gorzsaszarvak/UDProg-Introduction | 591d1d05c950da2ab4d59d78cbf5a1408caa78e6 | [
"CC0-1.0"
] | null | null | null | source/Ch08/swap.cpp | gorzsaszarvak/UDProg-Introduction | 591d1d05c950da2ab4d59d78cbf5a1408caa78e6 | [
"CC0-1.0"
] | null | null | null | source/Ch08/swap.cpp | gorzsaszarvak/UDProg-Introduction | 591d1d05c950da2ab4d59d78cbf5a1408caa78e6 | [
"CC0-1.0"
] | null | null | null | #include "../../std_lib_facilities.h"
void swap_v(int a, int b)
{
int temp;
temp=a;
a=b;
b=temp;
}
void swap_r(int& a, int& b)
{
int temp;
temp=a;
a=b;
b=temp;
}
/*void swap_cr(const int& a, const int& b)
{
int temp;
temp=a;
a=b;
b=temp;
}
*/
int main()
{
int x = 7;
int y = 9;
cout << "x: " << x << ",... | 15.360656 | 64 | 0.459979 | gorzsaszarvak |
140e9fa23e5777fae72eb128a8ac762c0b5cad5d | 426,132 | hpp | C++ | zeccup/zeccup/military/woodland/fort.hpp | LISTINGS09/ZECCUP | e0ad1fae580dde6e5d90903b1295fecc41684f63 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 3 | 2016-08-29T09:23:49.000Z | 2019-06-13T20:29:28.000Z | zeccup/zeccup/military/woodland/fort.hpp | LISTINGS09/ZECCUP | e0ad1fae580dde6e5d90903b1295fecc41684f63 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | zeccup/zeccup/military/woodland/fort.hpp | LISTINGS09/ZECCUP | e0ad1fae580dde6e5d90903b1295fecc41684f63 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | class FortLarge
{
name = $STR_ZECCUP_FortLarge;
class MortarPit_CUP_O_RU {
name = $STR_ZECCUP_MilitaryWoodland_FortLarge_MortarPit_CUP_O_RU; // Credit: 2600K
icon = "\ca\data\flag_rus_co.paa";
side = 8;
class Object1 {side = 8; vehicle = "Land_fort_rampart"; rank = ""; position[] = {-2.458... | 102.288046 | 142 | 0.617586 | LISTINGS09 |
14102c4a0ed80618ca80ccacb8b2d709bc8380c9 | 7,820 | cpp | C++ | externals/browser/externals/browser/externals/libgeometry/geometry/estimate-point-normals.cpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | 1 | 2021-09-02T08:42:59.000Z | 2021-09-02T08:42:59.000Z | externals/browser/externals/browser/externals/libgeometry/geometry/estimate-point-normals.cpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | null | null | null | externals/browser/externals/browser/externals/libgeometry/geometry/estimate-point-normals.cpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | null | null | null | /**
* Copyright (c) 2020 Melown Technologies SE
*
* 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 the f... | 37.416268 | 97 | 0.602046 | HanochZhu |
1410beb61ab5c3b500d4c939dcf5c1dbd52be287 | 5,528 | cpp | C++ | source/Process/Blend/Blend.cpp | Fabrice-Praxinos/ULIS | 232ad5c0804da1202d8231fda67ff4aea70f57ef | [
"RSA-MD"
] | 30 | 2020-09-16T17:39:36.000Z | 2022-02-17T08:32:53.000Z | source/Process/Blend/Blend.cpp | Fabrice-Praxinos/ULIS | 232ad5c0804da1202d8231fda67ff4aea70f57ef | [
"RSA-MD"
] | 7 | 2020-11-23T14:37:15.000Z | 2022-01-17T11:35:32.000Z | source/Process/Blend/Blend.cpp | Fabrice-Praxinos/ULIS | 232ad5c0804da1202d8231fda67ff4aea70f57ef | [
"RSA-MD"
] | 5 | 2020-09-17T00:39:14.000Z | 2021-08-30T16:14:07.000Z | // IDDN FR.001.250001.004.S.X.2019.000.00000
// ULIS is subject to copyright laws and is the legal and intellectual property of Praxinos,Inc
/*
* ULIS
*__________________
* @file Blend.cpp
* @author Clement Berthaud
* @brief This file provides the definitions for the Blend API.
* @copyright Co... | 53.153846 | 116 | 0.833575 | Fabrice-Praxinos |
1412ddbcbc628a60b8c2c08545deaf1fcfd105bf | 1,895 | cpp | C++ | sdf.cpp | temple-reconstruction/mview | 1440b5716d595c5c4d568fc45dd5afbb6f54dfc7 | [
"MIT"
] | 3 | 2018-09-17T07:39:35.000Z | 2020-02-24T21:09:27.000Z | sdf.cpp | temple-reconstruction/mview | 1440b5716d595c5c4d568fc45dd5afbb6f54dfc7 | [
"MIT"
] | 1 | 2018-06-11T19:25:03.000Z | 2018-06-11T21:51:32.000Z | sdf.cpp | temple-reconstruction/mview | 1440b5716d595c5c4d568fc45dd5afbb6f54dfc7 | [
"MIT"
] | null | null | null | #include "sdf.h"
#include "MarchingCubes.h"
#include <iostream>
SdfIntegrator::SdfIntegrator(int x, int y, int z, coordinate min, coordinate max) :
min(min), size(max - min),
count_x(x), count_y(y), count_z(z),
cubes(new Cube[x*y*z])
{ }
auto SdfIntegrator::coordinate_of(int x, int y, int z) const -> coordinate {
... | 25.266667 | 83 | 0.671768 | temple-reconstruction |
1414ea81c54b9fb70de43d45206bf4b0c446824a | 1,455 | cpp | C++ | Game/fmodapi/tools/example.cpp | hackerlank/SourceCode | b702c9e0a9ca5d86933f3c827abb02a18ffc9a59 | [
"MIT"
] | 4 | 2021-07-31T13:56:01.000Z | 2021-11-13T02:55:10.000Z | Game/fmodapi/tools/example.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | null | null | null | Game/fmodapi/tools/example.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | 7 | 2021-08-31T14:34:23.000Z | 2022-01-19T08:25:58.000Z | #include "fsbanklib.h"
#include <stdio.h>
#define NUMFILES 2
char *files[NUMFILES] =
{
"jbtennis.wav",
"drumloop.wav"
};
void __stdcall Update(int index, int memused, void *userdata)
{
printf("UPDATE : File %s, memory used %d kb\n", files[index], memused / 1024);
}
void __stdcall Debug(const char *debu... | 20.492958 | 144 | 0.59244 | hackerlank |
141841843e8b17d6d4b2c4eac2143a40d6543c9e | 6,149 | hpp | C++ | include/boost/json/except.hpp | AeroStun/json | 14bc67b63f5ce6ae5a119e2957e1f44f15277f5b | [
"BSL-1.0"
] | null | null | null | include/boost/json/except.hpp | AeroStun/json | 14bc67b63f5ce6ae5a119e2957e1f44f15277f5b | [
"BSL-1.0"
] | null | null | null | include/boost/json/except.hpp | AeroStun/json | 14bc67b63f5ce6ae5a119e2957e1f44f15277f5b | [
"BSL-1.0"
] | 1 | 2017-04-20T20:17:06.000Z | 2017-04-20T20:17:06.000Z | //
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
//
// 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)
//
// Official repository: https://github.com/vinniefalco/json
//
#ifndef BOOST_JSON_EXCEPT_HPP
#def... | 20.029316 | 79 | 0.715238 | AeroStun |
141abd68d2f847866d82ff8eb4e2a709256861aa | 1,025 | cpp | C++ | UpdateSystemTest/src/Utils.cpp | ProtocolONE/cord.update-system | ec14aa3210f41f788d2ea3229d36bff7f0b327d0 | [
"Apache-2.0"
] | 1 | 2019-08-07T06:13:57.000Z | 2019-08-07T06:13:57.000Z | UpdateSystemTest/src/Utils.cpp | ProtocolONE/cord.update-system | ec14aa3210f41f788d2ea3229d36bff7f0b327d0 | [
"Apache-2.0"
] | null | null | null | UpdateSystemTest/src/Utils.cpp | ProtocolONE/cord.update-system | ec14aa3210f41f788d2ea3229d36bff7f0b327d0 | [
"Apache-2.0"
] | null | null | null | #include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QFileInfoList>
#include "Utils.h"
/*!
Delete a directory along with all of its contents.
\param dirName Path of directory to remove.
\return true on success; false on error.
*/
bool Utils::removeDir(const QString &dirName){
... | 25 | 155 | 0.564878 | ProtocolONE |
1421a165f7ee36e62ecade9c843075ed6146f5c6 | 719 | cpp | C++ | C++/LeetCode/0784.cpp | spycedcoffee/DSA | 1e559ed5251a2005cc2815438d865f0293f4cd44 | [
"MIT"
] | 4 | 2021-08-28T19:16:50.000Z | 2022-03-04T19:46:31.000Z | C++/LeetCode/0784.cpp | spycedcoffee/DSA | 1e559ed5251a2005cc2815438d865f0293f4cd44 | [
"MIT"
] | 8 | 2021-10-29T19:10:51.000Z | 2021-11-03T12:38:00.000Z | C++/LeetCode/0784.cpp | spycedcoffee/DSA | 1e559ed5251a2005cc2815438d865f0293f4cd44 | [
"MIT"
] | 4 | 2021-09-06T05:53:07.000Z | 2021-12-24T10:31:40.000Z | class Solution {
vector<string> casePerms;
public:
void backtrack(string& s, int pos, string ans){
if(pos == s.length()){
casePerms.push_back(ans);
return;
}
char ch = s[pos];
if(isdigit(ch))
backtrack(s, po... | 21.147059 | 64 | 0.447844 | spycedcoffee |
142384fba7072142c189881bd7c0d680cca3d49b | 388 | cpp | C++ | SYCL/DeviceLib/assert-aot.cpp | Fznamznon/llvm-test-suite | e813726bf0c5c6af67a188ee86daea55fa871a5d | [
"Apache-2.0"
] | null | null | null | SYCL/DeviceLib/assert-aot.cpp | Fznamznon/llvm-test-suite | e813726bf0c5c6af67a188ee86daea55fa871a5d | [
"Apache-2.0"
] | null | null | null | SYCL/DeviceLib/assert-aot.cpp | Fznamznon/llvm-test-suite | e813726bf0c5c6af67a188ee86daea55fa871a5d | [
"Apache-2.0"
] | null | null | null | // REQUIRES: opencl-aot, cpu, linux, UNSUPPORTED
// FIXME re-enable after intel/llvm#3767 is merged
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/assert.cpp -o %t.aot.out
// RUN: %CPU_RUN_PLACEHOLDER EXPECTED_SIGNAL=SIGABRT SHOULD_CRASH=1 %t.aot.out 2>%t.aot.msg
// RUN: FileCheck %... | 55.428571 | 107 | 0.752577 | Fznamznon |
14246c6fa4f58d9da36f1b1f5d1f2e15f9555025 | 37,061 | cpp | C++ | Code/Engine/Math/MathUtils.cpp | yixuan-wei/PersonalEngine | 6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20 | [
"MIT"
] | 1 | 2021-06-11T06:41:29.000Z | 2021-06-11T06:41:29.000Z | Code/Engine/Math/MathUtils.cpp | yixuan-wei/PersonalEngine | 6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20 | [
"MIT"
] | 1 | 2022-02-25T07:46:54.000Z | 2022-02-25T07:46:54.000Z | Code/Engine/Math/MathUtils.cpp | yixuan-wei/PersonalEngine | 6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20 | [
"MIT"
] | null | null | null | #include "Engine/Math/MathUtils.hpp"
#include "Engine/Math/Vec3.hpp"
#include "Engine/Math/Vec2.hpp"
#include "Engine/Math/Vec4.hpp"
#include "Engine/Math/OBB2.hpp"
#include "Engine/Math/Disc2.hpp"
#include "Engine/Math/FloatRange.hpp"
#include "Engine/Math/IntVec2.hpp"
#include "Engine/Math/AABB2.hpp"
#include "Engine... | 31.434266 | 161 | 0.574323 | yixuan-wei |
1427aa5826b3287720e85bc8104ef422c9a60b21 | 6,505 | cc | C++ | src/storage/volume_image/utils/lz4_compressor.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 2 | 2020-08-16T15:32:35.000Z | 2021-11-07T20:09:46.000Z | src/storage/volume_image/utils/lz4_compressor.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | null | null | null | src/storage/volume_image/utils/lz4_compressor.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 1 | 2021-08-15T04:29:11.000Z | 2021-08-15T04:29:11.000Z | // Copyright 2020 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 "src/storage/volume_image/utils/lz4_compressor.h"
#include "src/storage/volume_image/options.h"
namespace storage::volume_image {
namespace {
/... | 34.417989 | 100 | 0.708686 | oshunter |
1428f0a86b442b4b67e4cea7685687b2a796bf5c | 4,058 | cpp | C++ | main.cpp | kobli/GPU-fluid_simulation | 99a4f3964a48f8e76be3a545a1358cc92a512ff4 | [
"MIT"
] | null | null | null | main.cpp | kobli/GPU-fluid_simulation | 99a4f3964a48f8e76be3a545a1358cc92a512ff4 | [
"MIT"
] | null | null | null | main.cpp | kobli/GPU-fluid_simulation | 99a4f3964a48f8e76be3a545a1358cc92a512ff4 | [
"MIT"
] | null | null | null | #define _USE_MATH_DEFINES
#include <memory>
#include <sstream>
#include <iomanip>
#include <GL/glew.h>
#include <GL/gl.h>
#include <GL/glext.h>
#include <GL/freeglut.h>
#include "utils.hpp"
#include "application.hpp"
#include "sphGpu.hpp"
#include "sphCpu.hpp"
///////////////////////////// BEGINNING OF CONFIGURATION /... | 22.926554 | 116 | 0.608428 | kobli |
289f713aef0c7ec09bdca2676d6242c798567c2b | 2,112 | cpp | C++ | cpp/godot-cpp/src/gen/NavigationPolygonInstance.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | 1 | 2021-03-16T09:51:00.000Z | 2021-03-16T09:51:00.000Z | cpp/godot-cpp/src/gen/NavigationPolygonInstance.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/src/gen/NavigationPolygonInstance.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #include "NavigationPolygonInstance.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
#include "NavigationPolygon.hpp"
namespace godot {
NavigationPolygonInstance::___method_bindings NavigationPolygonInstance::___mb = {}... | 40.615385 | 231 | 0.822443 | GDNative-Gradle |
28a27b9b294e8154099ac2d58758e895acec5ee3 | 31,116 | cxx | C++ | Plugins/VisItDatabaseBridge/vtkVisItDatabaseBridge.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 1 | 2021-07-31T19:38:03.000Z | 2021-07-31T19:38:03.000Z | Plugins/VisItDatabaseBridge/vtkVisItDatabaseBridge.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | null | null | null | Plugins/VisItDatabaseBridge/vtkVisItDatabaseBridge.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 2 | 2019-01-22T19:51:40.000Z | 2021-07-31T19:38:05.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile$
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distrib... | 29.89049 | 112 | 0.567714 | matthb2 |
28a4742217ef89800b681b239d2610c5dcb4acad | 4,068 | hpp | C++ | lib/inc/facter/facts/resolver.hpp | Dorin-Pleava/facter | 74769988e1b132edc401eb7e420901495092c74c | [
"Apache-2.0"
] | null | null | null | lib/inc/facter/facts/resolver.hpp | Dorin-Pleava/facter | 74769988e1b132edc401eb7e420901495092c74c | [
"Apache-2.0"
] | null | null | null | lib/inc/facter/facts/resolver.hpp | Dorin-Pleava/facter | 74769988e1b132edc401eb7e420901495092c74c | [
"Apache-2.0"
] | null | null | null | /**
* @file
* Declares the base class for fact resolvers.
*/
#pragma once
#include "../export.h"
#include <vector>
#include <memory>
#include <stdexcept>
#include <string>
#include <boost/regex.hpp>
namespace facter { namespace facts {
/**
* Thrown when a resolver is constructed with an invalid fact name... | 32.031496 | 152 | 0.605211 | Dorin-Pleava |
28a4e98997a368ff6663aa958e26718b65a8c5f5 | 259,262 | cpp | C++ | src/peds/Ped.cpp | gameblabla/reeee3 | 1b6d0f742b1b6fb681756de702ed618e90361139 | [
"Unlicense"
] | 2 | 2021-03-24T22:11:27.000Z | 2021-05-07T06:51:04.000Z | src/peds/Ped.cpp | gameblabla/reeee3 | 1b6d0f742b1b6fb681756de702ed618e90361139 | [
"Unlicense"
] | null | null | null | src/peds/Ped.cpp | gameblabla/reeee3 | 1b6d0f742b1b6fb681756de702ed618e90361139 | [
"Unlicense"
] | null | null | null | #include "common.h"
#include "main.h"
#include "Pools.h"
#include "Particle.h"
#include "RpAnimBlend.h"
#include "Bones.h"
#include "Ped.h"
#include "AnimBlendAssociation.h"
#include "Fire.h"
#include "DMAudio.h"
#include "General.h"
#include "VisibilityPlugins.h"
#include "HandlingMgr.h"
#include "Replay.h"
#include ... | 30.50859 | 232 | 0.688751 | gameblabla |
28a693938444d64da4b549eac332a99c2412ede5 | 1,868 | hpp | C++ | include/util/dist_table_wrapper.hpp | mortada/osrm-backend | aae02cd1be7e99eb75117c7d8c9f39b858ad9019 | [
"BSD-2-Clause"
] | null | null | null | include/util/dist_table_wrapper.hpp | mortada/osrm-backend | aae02cd1be7e99eb75117c7d8c9f39b858ad9019 | [
"BSD-2-Clause"
] | null | null | null | include/util/dist_table_wrapper.hpp | mortada/osrm-backend | aae02cd1be7e99eb75117c7d8c9f39b858ad9019 | [
"BSD-2-Clause"
] | 1 | 2019-09-20T00:55:14.000Z | 2019-09-20T00:55:14.000Z | #ifndef DIST_TABLE_WRAPPER_H
#define DIST_TABLE_WRAPPER_H
#include <vector>
#include <utility>
#include <boost/assert.hpp>
#include <cstddef>
namespace osrm
{
namespace util
{
// This Wrapper provides an easier access to a distance table that is given as an linear vector
template <typename T> class DistTableWrapper... | 27.072464 | 95 | 0.671306 | mortada |
28a7ad946ebfbf2df68e52204044ea982d133cc6 | 1,553 | cpp | C++ | test/20171018/source/std/test20171018/source/sxy/sequence/sequence.cpp | DesZou/Eros | f49c9ce1dfe193de8199163286afc28ff8c52eef | [
"MIT"
] | 1 | 2017-10-12T13:49:10.000Z | 2017-10-12T13:49:10.000Z | test/20171018/source/std/test20171018/source/sxy/sequence/sequence.cpp | DesZou/Eros | f49c9ce1dfe193de8199163286afc28ff8c52eef | [
"MIT"
] | null | null | null | test/20171018/source/std/test20171018/source/sxy/sequence/sequence.cpp | DesZou/Eros | f49c9ce1dfe193de8199163286afc28ff8c52eef | [
"MIT"
] | 1 | 2017-10-12T13:49:38.000Z | 2017-10-12T13:49:38.000Z | //Serene
#include<algorithm>
#include<iostream>
#include<cstring>
#include<cstdlib>
#include<cstdio>
#include<cmath>
using namespace std;
#define ll long long
const int maxn=2e5+10;
ll n,m,k,t,ans[maxn],a[maxn],lx[maxn],tot,tot2;
ll aa;char cc;
ll read() {
aa=0;cc=getchar();
while(cc<'0'||cc>'9') cc=getchar();
whil... | 17.255556 | 54 | 0.555055 | DesZou |
28a9a07b9550f1a3019cee5cf4763bbc45cc6b93 | 8,828 | cpp | C++ | Source/Samples/40_Localization/L10n.cpp | daokoder/Craft | 13dd4219e30f71b48f368c01b6e33e8ce5a515e0 | [
"MIT"
] | 15 | 2019-06-25T14:06:57.000Z | 2021-03-05T00:33:54.000Z | Source/Samples/40_Localization/L10n.cpp | daokoder/Craft3D | 13dd4219e30f71b48f368c01b6e33e8ce5a515e0 | [
"MIT"
] | null | null | null | Source/Samples/40_Localization/L10n.cpp | daokoder/Craft3D | 13dd4219e30f71b48f368c01b6e33e8ce5a515e0 | [
"MIT"
] | null | null | null | //
// Copyright (c) 2008-2019 the Urho3D project.
//
// 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, m... | 36.032653 | 121 | 0.702651 | daokoder |
28abfd6272252b3a1daaafd4540a8518f8969cc0 | 11,418 | cpp | C++ | parser/pe/ResourceDirWrapper.cpp | yjd/bearparser | 7ec04943a7b7f478d8b924aebe1fc0e831cb27da | [
"BSD-2-Clause"
] | 516 | 2015-01-04T14:04:21.000Z | 2022-03-13T05:07:27.000Z | parser/pe/ResourceDirWrapper.cpp | yjd/bearparser | 7ec04943a7b7f478d8b924aebe1fc0e831cb27da | [
"BSD-2-Clause"
] | 12 | 2018-08-04T22:37:46.000Z | 2021-02-17T00:37:56.000Z | parser/pe/ResourceDirWrapper.cpp | yjd/bearparser | 7ec04943a7b7f478d8b924aebe1fc0e831cb27da | [
"BSD-2-Clause"
] | 99 | 2015-04-23T01:59:24.000Z | 2022-03-03T04:38:28.000Z | #include "pe/ResourceDirWrapper.h"
#include "pe/PEFile.h"
#define MAX_ENTRIES 50
#define MAX_DEPTH 5
/*
typedef struct _IMAGE_RESOURCE_DIRECTORY {
DWORD Characteristics;
DWORD TimeDateStamp;
WORD MajorVersion;
WORD MinorVersion;
WORD NumberOfNamedEntries;
WORD NumberOfIdEntries... | 32.345609 | 159 | 0.667192 | yjd |
28ae594c588d8980e30799ccebfab704dacbb3d1 | 10,394 | hpp | C++ | inc/msp430/msp_timer.hpp | ecrampton1/MspPeripheralmm | ae1f64cc785b9a3b994074e851e68c170aef613f | [
"MIT"
] | null | null | null | inc/msp430/msp_timer.hpp | ecrampton1/MspPeripheralmm | ae1f64cc785b9a3b994074e851e68c170aef613f | [
"MIT"
] | 1 | 2021-03-07T14:18:31.000Z | 2021-03-07T14:18:31.000Z | inc/msp430/msp_timer.hpp | ecrampton1/MspPeripheralmm | ae1f64cc785b9a3b994074e851e68c170aef613f | [
"MIT"
] | null | null | null | #ifndef _MSP_TIMER_HPP
#define _MSP_TIMER_HPP
#include <stdint.h>
#include "mcu_timer.hpp"
#include "msp_periph.hpp"
#include "msp430/msp_gpio.hpp"//TODO debug
#include <msp430.h>
namespace McuPeripheral {
enum class TimerSource : uint16_t
{
SMCLK = TASSEL_2,
ACLK = TASSEL_1
};
enum class TimerMode : uint16_t
{
U... | 24.747619 | 200 | 0.724649 | ecrampton1 |
28b1a3096dd8b67434d93f54d61cffac988f556d | 589 | cpp | C++ | hal/STM32F4/systick/systick.cpp | yhsb2k/omef | 7425b62dd4b5d0af4e320816293f69d16d39f57a | [
"MIT"
] | null | null | null | hal/STM32F4/systick/systick.cpp | yhsb2k/omef | 7425b62dd4b5d0af4e320816293f69d16d39f57a | [
"MIT"
] | null | null | null | hal/STM32F4/systick/systick.cpp | yhsb2k/omef | 7425b62dd4b5d0af4e320816293f69d16d39f57a | [
"MIT"
] | null | null | null | #include "systick.hpp"
#include "rcc/rcc.hpp"
#include "CMSIS/Device/STM32F4xx/Include/stm32f4xx.h"
#include "CMSIS/Include/core_cm4.h"
#include "FreeRTOS.h"
#include "task.h"
using namespace hal;
void systick::init(void)
{
uint32_t systick_freq = rcc_get_freq(RCC_SRC_AHB);
SysTick_Config(systick_freq / configTICK_... | 19 | 53 | 0.757216 | yhsb2k |
28b2d2bbf16e2821601d88d1ad2cdc07d9dd9ef2 | 2,133 | cpp | C++ | Samples/OpenGL/Demo/proj.win.cmake/src/LAppDefine.cpp | adrianiainlam/CubismNativeSamples | b48ca90d39bdef27007b1a191049959d79949a58 | [
"RSA-MD"
] | 3 | 2021-01-12T02:38:38.000Z | 2021-12-27T20:54:11.000Z | Samples/OpenGL/Demo/proj.win.cmake/src/LAppDefine.cpp | adrianiainlam/CubismNativeSamples | b48ca90d39bdef27007b1a191049959d79949a58 | [
"RSA-MD"
] | 2 | 2020-12-22T17:04:53.000Z | 2021-02-24T00:58:07.000Z | Samples/OpenGL/Demo/proj.win.cmake/src/LAppDefine.cpp | adrianiainlam/CubismNativeSamples | b48ca90d39bdef27007b1a191049959d79949a58 | [
"RSA-MD"
] | null | null | null | /**
* Copyright(c) Live2D Inc. All rights reserved.
*
* Use of this source code is governed by the Live2D Open Software license
* that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
*/
#include "LAppDefine.hpp"
#include <CubismFramework.hpp>
namespace LAppDefine {
... | 28.824324 | 107 | 0.675105 | adrianiainlam |
28b80b75d8885d467e412197d27f5a6a99f36b29 | 7,708 | hxx | C++ | Modules/Filtering/DisplacementField/include/itkBSplineExponentialDiffeomorphicTransform.hxx | arnaudgelas/ITK | b5251da65f37d7e7e5e94d17072d275f89fb26ea | [
"Apache-2.0"
] | null | null | null | Modules/Filtering/DisplacementField/include/itkBSplineExponentialDiffeomorphicTransform.hxx | arnaudgelas/ITK | b5251da65f37d7e7e5e94d17072d275f89fb26ea | [
"Apache-2.0"
] | null | null | null | Modules/Filtering/DisplacementField/include/itkBSplineExponentialDiffeomorphicTransform.hxx | arnaudgelas/ITK | b5251da65f37d7e7e5e94d17072d275f89fb26ea | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | 34.106195 | 145 | 0.750519 | arnaudgelas |
28baa29df830ec62b41b750d21e1e7616250b0be | 87 | cpp | C++ | disc0ver-Engine/disc0ver-Engine/Render/scene.cpp | Kpure1000/disc0ver-Engine | e2aeec3984aa6cd8ecbaa0da539bf53e37846602 | [
"MIT"
] | 5 | 2020-09-19T03:34:09.000Z | 2021-04-10T07:39:53.000Z | disc0ver-Engine/disc0ver-Engine/Render/scene.cpp | Kpure1000/disc0ver-Engine | e2aeec3984aa6cd8ecbaa0da539bf53e37846602 | [
"MIT"
] | null | null | null | disc0ver-Engine/disc0ver-Engine/Render/scene.cpp | Kpure1000/disc0ver-Engine | e2aeec3984aa6cd8ecbaa0da539bf53e37846602 | [
"MIT"
] | 3 | 2020-10-25T10:58:18.000Z | 2021-03-26T01:08:54.000Z | /*
* @Description:
* @Author: 妄想
* @Email: long452a@163.com
* @Date: 2021-2-16
*/
| 12.428571 | 27 | 0.563218 | Kpure1000 |
28bcfdb47b9262bbd8322b037494800e7c91164c | 15,263 | cpp | C++ | source/exhumed/src/lavadude.cpp | madame-rachelle/Raze | 67c8187d620e6cf9e99543cab5c5746dd31007af | [
"RSA-MD"
] | null | null | null | source/exhumed/src/lavadude.cpp | madame-rachelle/Raze | 67c8187d620e6cf9e99543cab5c5746dd31007af | [
"RSA-MD"
] | null | null | null | source/exhumed/src/lavadude.cpp | madame-rachelle/Raze | 67c8187d620e6cf9e99543cab5c5746dd31007af | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 2010-2019 EDuke32 developers and contributors
Copyright (C) 2019 sirlemonhead, Nuke.YKT
This file is part of PCExhumed.
PCExhumed is free software; you can redistribute it and/or
modify it under the terms of the GNU General Pub... | 29.636893 | 156 | 0.443687 | madame-rachelle |
28bd019847f48cd53f96e919d2826749bf88c7cf | 2,958 | cpp | C++ | test/scratch/test.scratch.fe.WindowsRegistry.controller/test.scratch.fe.WindowsRegistry.controller.cpp | stlsoft/Pantheios | a35eaa4c070f88d0642bd78c223f1c0399374c3b | [
"BSD-3-Clause"
] | 44 | 2015-09-27T09:17:38.000Z | 2022-02-10T12:58:40.000Z | test/scratch/test.scratch.fe.WindowsRegistry.controller/test.scratch.fe.WindowsRegistry.controller.cpp | stlsoft/Pantheios | a35eaa4c070f88d0642bd78c223f1c0399374c3b | [
"BSD-3-Clause"
] | 3 | 2017-03-08T06:54:59.000Z | 2020-07-05T05:31:50.000Z | test/scratch/test.scratch.fe.WindowsRegistry.controller/test.scratch.fe.WindowsRegistry.controller.cpp | stlsoft/Pantheios | a35eaa4c070f88d0642bd78c223f1c0399374c3b | [
"BSD-3-Clause"
] | 16 | 2015-10-22T07:39:47.000Z | 2022-01-08T23:46:07.000Z | /* /////////////////////////////////////////////////////////////////////////
* File: test/scratch/test.scratch.fe.WindowsRegistry.controller/test.scratch.fe.WindowsRegistry.controller.cpp
*
* Purpose: Implementation file for the test.scratch.fe.WindowsRegistry.controller project.
*
* Created: 2nd De... | 20.830986 | 118 | 0.514537 | stlsoft |
28bf6f39d3c3ccaa58ce5ef4b4f795d0407e96a8 | 2,208 | cpp | C++ | LearningCpp/Smthing.cpp | mertess/learningCpp | 001a5322d2a895ce1feadc78a5ddabaae0c34d4a | [
"MIT"
] | null | null | null | LearningCpp/Smthing.cpp | mertess/learningCpp | 001a5322d2a895ce1feadc78a5ddabaae0c34d4a | [
"MIT"
] | null | null | null | LearningCpp/Smthing.cpp | mertess/learningCpp | 001a5322d2a895ce1feadc78a5ddabaae0c34d4a | [
"MIT"
] | null | null | null | #include <iostream>
#include "Smthing.h"
using namespace std;
int& getA(my_struct& st)
{
/*
*структура никак не записывается в объектный файл, она представляет собой способ управления последоавательностями байт
*фактически структура my_struct представляет собой последовательность из 8 байт - 4 байта на in... | 21.647059 | 144 | 0.518569 | mertess |
28c058f8a7f545930e4e8ac334cba42bb8dd2568 | 1,616 | cpp | C++ | src/clReflectTest/TestArrays.cpp | chip5441/clReflect | d366cced2fff9aefcfc5ec6a0c97ed6c827263eb | [
"MIT"
] | null | null | null | src/clReflectTest/TestArrays.cpp | chip5441/clReflect | d366cced2fff9aefcfc5ec6a0c97ed6c827263eb | [
"MIT"
] | 1 | 2020-02-22T09:59:21.000Z | 2020-02-22T09:59:21.000Z | src/clReflectTest/TestArrays.cpp | chip5441/clReflect | d366cced2fff9aefcfc5ec6a0c97ed6c827263eb | [
"MIT"
] | null | null | null |
//
// ===============================================================================
// clReflect
// -------------------------------------------------------------------------------
// Copyright (c) 2011-2012 Don Williamson & clReflect Authors (see AUTHORS file)
// Released under MIT License (see LICENSE file)
... | 26.491803 | 83 | 0.519802 | chip5441 |
28c160d0e87ff265bbf609370c2f562ea22d80c8 | 1,243 | hpp | C++ | sprout/container/traits_fwd.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/container/traits_fwd.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/container/traits_fwd.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... | 23.903846 | 80 | 0.648431 | kariya-mitsuru |
28c1f54bab3341138acb607ca48d3c007936995e | 6,310 | cpp | C++ | src/xalanc/XPath/XNodeSetBase.cpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 24 | 2015-07-29T22:49:17.000Z | 2022-03-25T10:14:17.000Z | src/xalanc/XPath/XNodeSetBase.cpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 14 | 2019-05-10T16:25:50.000Z | 2021-11-24T18:04:47.000Z | src/xalanc/XPath/XNodeSetBase.cpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 28 | 2015-04-20T15:50:51.000Z | 2022-01-26T14:56:55.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License");
* you m... | 20.420712 | 88 | 0.647861 | ulisesten |
28c3bb370bc935e96fe41d0929b8eb0d65e9f23d | 66,324 | cpp | C++ | docs/round-lcd/LCD_1inch28/font20.cpp | JeremyProffitt/PlatformIO-TTGO-ESP-One-Ring | 58a94e5d20fa6dc23dd9d9d275c29e14749aa841 | [
"MIT"
] | null | null | null | docs/round-lcd/LCD_1inch28/font20.cpp | JeremyProffitt/PlatformIO-TTGO-ESP-One-Ring | 58a94e5d20fa6dc23dd9d9d275c29e14749aa841 | [
"MIT"
] | null | null | null | docs/round-lcd/LCD_1inch28/font20.cpp | JeremyProffitt/PlatformIO-TTGO-ESP-One-Ring | 58a94e5d20fa6dc23dd9d9d275c29e14749aa841 | [
"MIT"
] | null | null | null | /**
******************************************************************************
* @file font20.c
* @author MCD Application Team
* @version V1.0.0
* @date 18-February-2014
* @brief This file provides text font20 for STM32xx-EVAL's LCD driver.
***************************************************... | 30.934701 | 84 | 0.275375 | JeremyProffitt |
28c42c9c848d3453afdf9cf8faab0da1b5354d9e | 9,043 | cpp | C++ | simulator/infra/cache/cache_tag_array.cpp | VasiliyMatr/mipt-mips | 6331f0f07a061d5fbd849b24d996d363f343fef9 | [
"MIT"
] | 351 | 2015-09-23T08:30:41.000Z | 2022-03-19T09:25:05.000Z | simulator/infra/cache/cache_tag_array.cpp | VasiliyMatr/mipt-mips | 6331f0f07a061d5fbd849b24d996d363f343fef9 | [
"MIT"
] | 1,098 | 2016-04-14T18:24:01.000Z | 2022-03-28T09:15:05.000Z | simulator/infra/cache/cache_tag_array.cpp | VasiliyMatr/mipt-mips | 6331f0f07a061d5fbd849b24d996d363f343fef9 | [
"MIT"
] | 243 | 2016-01-03T02:46:01.000Z | 2021-11-23T14:49:09.000Z | /**
* cache_tag_array.cpp
* Implementation of the cache tag array model.
* @author Oleg Ladin, Denis Los, Andrey Agrachev, Pavel Kryukov
* Copyright 2014-2019 MIPT-MIPS
*/
#include "infra/cache/cache_tag_array.h"
#include "infra/macro.h"
#include "infra/replacement/cache_replacement.h"
#include <sparsehash/dense... | 31.841549 | 132 | 0.658852 | VasiliyMatr |
28c511520214ca23147826350fe56703352ebb2a | 7,221 | cpp | C++ | src/jlcxx.cpp | RelationalAI-oss/libcxxwrap-julia | b01c70c6c30b6d1aa2b7b78b082ee07f5e90ac28 | [
"MIT"
] | null | null | null | src/jlcxx.cpp | RelationalAI-oss/libcxxwrap-julia | b01c70c6c30b6d1aa2b7b78b082ee07f5e90ac28 | [
"MIT"
] | null | null | null | src/jlcxx.cpp | RelationalAI-oss/libcxxwrap-julia | b01c70c6c30b6d1aa2b7b78b082ee07f5e90ac28 | [
"MIT"
] | null | null | null | #include "jlcxx/array.hpp"
#include "jlcxx/jlcxx.hpp"
#include "jlcxx/functions.hpp"
#include "jlcxx/jlcxx_config.hpp"
#include <julia.h>
#if JULIA_VERSION_MAJOR == 0 && JULIA_VERSION_MINOR > 4 || JULIA_VERSION_MAJOR > 0
#include <julia_threads.h>
#endif
namespace jlcxx
{
jl_module_t* g_cxxwrap_module;
jl_datatype_... | 26.258182 | 141 | 0.680931 | RelationalAI-oss |
28c894cb2d1a634d021485ba140cca64c65fe929 | 1,213 | hpp | C++ | src/algorithms/other/fizzbuzz.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2020-07-31T14:13:56.000Z | 2021-02-03T09:51:43.000Z | src/algorithms/other/fizzbuzz.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 28 | 2015-09-22T07:38:21.000Z | 2018-10-02T11:00:58.000Z | src/algorithms/other/fizzbuzz.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2018-10-11T14:10:50.000Z | 2021-02-27T08:53:50.000Z | #ifndef FIZZBUZZ_HPP
#define FIZZBUZZ_HPP
#include <string>
#include <vector>
/*
https://leetcode.com/problems/fizz-buzz/
Write a program that outputs the string representation of numbers from 1 to n.
But for multiples of three it should output “Fizz” instead of the number and
for the multiples of five output “Buzz”... | 18.953125 | 78 | 0.511129 | iamantony |
28c9a34e7d623f88dc740dffdd6e86954f605bbf | 15,535 | cpp | C++ | android-28/android/media/tv/TvContract_PreviewPrograms.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/media/tv/TvContract_PreviewPrograms.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-28/android/media/tv/TvContract_PreviewPrograms.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../net/Uri.hpp"
#include "../../../JString.hpp"
#include "./TvContract_PreviewPrograms.hpp"
namespace android::media::tv
{
// Fields
jint TvContract_PreviewPrograms::ASPECT_RATIO_16_9()
{
return getStaticField<jint>(
"android.media.tv.TvContract$PreviewPrograms",
"ASPECT_RATIO_16_9"
);
}
ji... | 25.096931 | 89 | 0.754554 | YJBeetle |
28c9d95a7c044e1d625c4013a8fefc03ef9bc8bd | 32,436 | cpp | C++ | libs/ddengine/src/pack.cpp | FaultyRAM/MuckyFoot-UrbanChaos | 45c9553189f80785a4ea0ec34b960d864782155b | [
"MIT"
] | 5 | 2017-10-02T00:20:06.000Z | 2021-07-09T10:00:18.000Z | libs/ddengine/src/pack.cpp | FaultyRAM/MuckyFoot-UrbanChaos | 45c9553189f80785a4ea0ec34b960d864782155b | [
"MIT"
] | null | null | null | libs/ddengine/src/pack.cpp | FaultyRAM/MuckyFoot-UrbanChaos | 45c9553189f80785a4ea0ec34b960d864782155b | [
"MIT"
] | null | null | null | //
// Looks at all the textures loaded and packs similar ones
// onto 256x256s...
//
#include <ddlibrary/dd_lib.h>
#include <fallen/game.h>
#include <ddlibrary/tga.h>
#include <ddengine/texture.h>
#ifndef TARGET_DC
//
// From elev.cpp...
//
extern CBYTE ELEV_fname_level[];
//
// From texture.cpp
//
extern D3DT... | 22.095368 | 239 | 0.563602 | FaultyRAM |
28cd60d0bcc4a7d141a03fd324d50b9126afcb27 | 11,931 | cpp | C++ | libraries/fc/src/crypto/pke.cpp | titans-world/titan-core | f358f48290f3501b26b26eff6a1e57bf6c077d79 | [
"MIT"
] | 8 | 2020-11-29T20:19:52.000Z | 2021-11-02T21:01:41.000Z | libraries/fc/src/crypto/pke.cpp | titans-world/titan-core | f358f48290f3501b26b26eff6a1e57bf6c077d79 | [
"MIT"
] | 5 | 2021-03-06T10:58:34.000Z | 2021-08-07T09:51:09.000Z | libraries/fc/src/crypto/pke.cpp | titans-world/titan-core | f358f48290f3501b26b26eff6a1e57bf6c077d79 | [
"MIT"
] | 5 | 2020-10-22T17:01:27.000Z | 2022-02-02T12:53:47.000Z | #include <fc/crypto/pke.hpp>
#include <openssl/rsa.h>
#include <openssl/rand.h>
#include <openssl/sha.h>
#include <openssl/pem.h>
#include <openssl/err.h>
#include <assert.h>
#include <fc/crypto/base64.hpp>
#include <fc/io/sstream.hpp>
#include <fc/io/stdio.hpp>
#include <fc/exception/exception.hpp>
#include <fc/varian... | 32.598361 | 149 | 0.52351 | titans-world |
28d34d2985e98911742b847a963f4308d6712a0e | 52,938 | hpp | C++ | sdk/structs.hpp | xsoma/drugs.club | a1dace54a8425a2a52d3af0d1c8053bf7fb0e895 | [
"Unlicense"
] | 3 | 2021-08-02T16:59:36.000Z | 2022-01-07T20:54:57.000Z | sdk/structs.hpp | xsoma/drugs.club | a1dace54a8425a2a52d3af0d1c8053bf7fb0e895 | [
"Unlicense"
] | null | null | null | sdk/structs.hpp | xsoma/drugs.club | a1dace54a8425a2a52d3af0d1c8053bf7fb0e895 | [
"Unlicense"
] | 2 | 2021-12-14T04:29:32.000Z | 2022-01-07T20:54:56.000Z | #pragma once
#include "..\includes.hpp"
#include "interfaces\IClientEntity.hpp"
#include "misc\EHandle.hpp"
#include "misc\UtlVector.hpp"
#include "math\QAngle.hpp"
#include "..\utils\netmanager.hpp"
#include "misc\CBoneAccessor.hpp"
#include "..\cheats\misc\fakelag.h"
#include "..\sdk\misc\Recv.hpp"
#define min(a, ... | 32.83995 | 169 | 0.750009 | xsoma |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.