hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7ca2edc706e3f9101e9f413ff912cd851a79facb | 388 | cc | C++ | net/socket/unix_domain_socket.cc | mayah/base | aec046929938d2aaebaadce5c5abb58b5cf342b4 | [
"MIT"
] | 115 | 2015-02-21T15:08:26.000Z | 2022-02-05T01:38:10.000Z | net/socket/unix_domain_socket.cc | mayah/base | aec046929938d2aaebaadce5c5abb58b5cf342b4 | [
"MIT"
] | 214 | 2015-01-16T04:53:35.000Z | 2019-03-23T11:39:59.000Z | net/socket/unix_domain_socket.cc | mayah/base | aec046929938d2aaebaadce5c5abb58b5cf342b4 | [
"MIT"
] | 56 | 2015-01-16T05:14:13.000Z | 2020-09-22T07:22:49.000Z | #include "net/socket/unix_domain_socket.h"
#include <utility>
namespace net {
UnixDomainSocket::UnixDomainSocket(UnixDomainSocket&& socket) noexcept :
Socket(std::move(socket))
{
}
UnixDomainSocket::~UnixDomainSocket()
{
}
UnixDomainSocket& UnixDomainSocket::operator=(UnixDomainSocket&& socket) noexcept
{
... | 16.869565 | 81 | 0.734536 | mayah |
7ca33ce40e3e4bf32850d92930ca4948c6d60dfa | 501 | cpp | C++ | abc186/abc186b.cpp | kogepanh/atcoder-cpp | cc8d0f54d89ac1a8f20d261a358f736fcf43f9ce | [
"MIT"
] | null | null | null | abc186/abc186b.cpp | kogepanh/atcoder-cpp | cc8d0f54d89ac1a8f20d261a358f736fcf43f9ce | [
"MIT"
] | null | null | null | abc186/abc186b.cpp | kogepanh/atcoder-cpp | cc8d0f54d89ac1a8f20d261a358f736fcf43f9ce | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
// cout << fixed << setprecision(15);
int H, W;
cin >> H >> W;
vector<vector<int>> A(H, vector<int>(W));
int minimum = 100;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
cin >> A[i][j];
minimum = min(minimum, A[i][j])... | 17.275862 | 43 | 0.451098 | kogepanh |
7ca6cf8f8c8509a7cd0a4ec6ee70327bd7865f5a | 2,937 | cpp | C++ | lib/cpptest-lite/src/TextOutput.cpp | Kaayy-J/OHMComm-Light | 08a67e20da3369d199a285071105404daeb33d6c | [
"MIT"
] | null | null | null | lib/cpptest-lite/src/TextOutput.cpp | Kaayy-J/OHMComm-Light | 08a67e20da3369d199a285071105404daeb33d6c | [
"MIT"
] | 1 | 2016-01-31T16:12:10.000Z | 2016-01-31T16:12:10.000Z | lib/cpptest-lite/src/TextOutput.cpp | Kaayy-J/OHMComm | 08a67e20da3369d199a285071105404daeb33d6c | [
"MIT"
] | null | null | null | /*
* File: TextOutput.cpp
* Author: daniel
*
* Created on September 11, 2015, 7:07 PM
*/
#include "TextOutput.h"
#include <iostream>
#include <string.h>
#include <errno.h>
using namespace Test;
TextOutput::TextOutput(const unsigned int mode) : TextOutput(mode, std::cout)
{ }
TextOutput::TextOutput(const u... | 37.177215 | 277 | 0.64113 | Kaayy-J |
7cab9341a9aac0df178a6cd1eb864ef4da61d67a | 5,215 | cxx | C++ | pdfwiz/parsemake/macro_expander.cxx | kit-transue/software-emancipation-discover | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | [
"BSD-2-Clause"
] | 2 | 2015-11-24T03:31:12.000Z | 2015-11-24T16:01:57.000Z | pdfwiz/parsemake/macro_expander.cxx | radtek/software-emancipation-discover | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | [
"BSD-2-Clause"
] | null | null | null | pdfwiz/parsemake/macro_expander.cxx | radtek/software-emancipation-discover | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | [
"BSD-2-Clause"
] | 1 | 2019-05-19T02:26:08.000Z | 2019-05-19T02:26:08.000Z | /*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... | 32.59375 | 96 | 0.601151 | kit-transue |
7cb3c971694646e9bda191fd319f85d87787ed07 | 3,050 | cpp | C++ | app/PluginManager.cpp | ospray/ospray_studio | 1549ac72c7c561b4aafdea976189bbe95bd32ff2 | [
"Apache-2.0"
] | 52 | 2018-10-09T23:56:32.000Z | 2022-03-25T09:27:40.000Z | app/PluginManager.cpp | ospray/ospray_studio | 1549ac72c7c561b4aafdea976189bbe95bd32ff2 | [
"Apache-2.0"
] | 11 | 2018-11-19T18:51:47.000Z | 2022-03-28T14:03:57.000Z | app/PluginManager.cpp | ospray/ospray_studio | 1549ac72c7c561b4aafdea976189bbe95bd32ff2 | [
"Apache-2.0"
] | 8 | 2019-02-10T00:16:24.000Z | 2022-02-17T19:50:15.000Z | // Copyright 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#include "PluginManager.h"
#include <iterator>
void PluginManager::loadPlugin(const std::string &name)
{
std::cout << "...attempting to load plugin '" << name << "'\n";
std::string libName = "ospray_studio_plugin_" + name;
try {
... | 27.981651 | 80 | 0.615738 | ospray |
7cb7021c2d107fcd32e181297eade1899e8b0b5a | 33,314 | cpp | C++ | day24/main.cpp | kjelloh/advent_of_code_2021 | 656c26a418a4b379ef48a45ac6ffd978c17a744f | [
"CC0-1.0"
] | null | null | null | day24/main.cpp | kjelloh/advent_of_code_2021 | 656c26a418a4b379ef48a45ac6ffd978c17a744f | [
"CC0-1.0"
] | null | null | null | day24/main.cpp | kjelloh/advent_of_code_2021 | 656c26a418a4b379ef48a45ac6ffd978c17a744f | [
"CC0-1.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <utility>
#include <sstream>
#include <algorithm>
#include <vector>
#include <map>
#include <variant>
#include <optional>
#include <ranges>
#include <unordered_set>
#include <unordered_map>
extern std::vector<std::string> pData;
using Result = std::stri... | 31.280751 | 195 | 0.557453 | kjelloh |
7cbb1347cce1d40c6aca97055352e6f1381187e9 | 2,465 | cpp | C++ | core/args_parser.cpp | SmallJoker/NyisBotCPP | 48ec353d103ac09f1c538578543d99e9d205f47a | [
"MIT"
] | null | null | null | core/args_parser.cpp | SmallJoker/NyisBotCPP | 48ec353d103ac09f1c538578543d99e9d205f47a | [
"MIT"
] | 1 | 2021-03-28T09:49:33.000Z | 2021-03-28T09:49:33.000Z | core/args_parser.cpp | SmallJoker/NyisBotCPP | 48ec353d103ac09f1c538578543d99e9d205f47a | [
"MIT"
] | null | null | null | #include "args_parser.h"
#include "logger.h"
#include <map>
std::map<std::string, CLIArg *> g_args;
CLIArg::CLIArg(cstr_t &pfx, bool *out) : CLIArg(pfx)
{
m_handler = &CLIArg::parseFlag;
m_dst.b = out;
}
CLIArg::CLIArg(cstr_t &pfx, long *out) : CLIArg(pfx)
{
m_handler = &CLIArg::parseLong;
m_dst.l = out;
}
CLIA... | 20.04065 | 64 | 0.594726 | SmallJoker |
7cbd20eb092cb13f1d9665f3c5d822248b12b2da | 2,426 | cpp | C++ | aws-cpp-sdk-iotanalytics/source/model/Variable.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-iotanalytics/source/model/Variable.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-iotanalytics/source/model/Variable.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iotanalytics/model/Variable.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespa... | 19.885246 | 92 | 0.734542 | Neusoft-Technology-Solutions |
7cbe5492978a198a96c652b2c7b7b5e4b066da5e | 39 | cpp | C++ | src/Events/ButtonClickEvent.cpp | DarthGeek01/TowerDefense | c1421c04c6bc05c73b39084106fd6a17b7fee4e5 | [
"MIT"
] | null | null | null | src/Events/ButtonClickEvent.cpp | DarthGeek01/TowerDefense | c1421c04c6bc05c73b39084106fd6a17b7fee4e5 | [
"MIT"
] | null | null | null | src/Events/ButtonClickEvent.cpp | DarthGeek01/TowerDefense | c1421c04c6bc05c73b39084106fd6a17b7fee4e5 | [
"MIT"
] | null | null | null | //
// Created by ariel on 11/6/16.
//
| 7.8 | 31 | 0.538462 | DarthGeek01 |
7cbf3abc676be906a676d25d721cf95df84cab21 | 11,015 | cpp | C++ | src/opengl/xGSGLutil.cpp | livingcreative/xgs | 2fc51c8b8f04e23740466414092f0ca1e0acb436 | [
"BSD-3-Clause"
] | 6 | 2016-03-17T16:11:39.000Z | 2021-02-08T18:03:23.000Z | src/opengl/xGSGLutil.cpp | livingcreative/xgs | 2fc51c8b8f04e23740466414092f0ca1e0acb436 | [
"BSD-3-Clause"
] | 6 | 2016-07-15T07:02:44.000Z | 2018-05-24T20:39:57.000Z | src/opengl/xGSGLutil.cpp | livingcreative/xgs | 2fc51c8b8f04e23740466414092f0ca1e0acb436 | [
"BSD-3-Clause"
] | 4 | 2016-03-20T11:43:11.000Z | 2022-01-21T21:07:54.000Z | /*
xGS 3D Low-level rendering API
Low-level 3D rendering wrapper API with multiple back-end support
(c) livingcreative, 2015 - 2018
https://github.com/livingcreative/xgs
opengl/xGSGLutil.cpp
OpenGL specific utility functions and classes
*/
#include "xGSGLutil.h"
#include "xGSimpl.h... | 32.68546 | 200 | 0.578484 | livingcreative |
7cc17e094b97871d82c1a87abdfc70a311414c91 | 341 | cpp | C++ | src/op/grid5.cpp | pfuchs/riesling | 2e0f12f5cd1943cb6e96eca40f4e68ef88e12130 | [
"MIT"
] | null | null | null | src/op/grid5.cpp | pfuchs/riesling | 2e0f12f5cd1943cb6e96eca40f4e68ef88e12130 | [
"MIT"
] | null | null | null | src/op/grid5.cpp | pfuchs/riesling | 2e0f12f5cd1943cb6e96eca40f4e68ef88e12130 | [
"MIT"
] | null | null | null | #include "grid.hpp"
std::unique_ptr<GridBase> make_5_e(Kernel const *k, Mapping const &m, bool const fg)
{
if (k->throughPlane() == 1) {
return std::make_unique<Grid<5, 1>>(dynamic_cast<SizedKernel<5, 1> const *>(k), m, fg);
} else {
return std::make_unique<Grid<5, 5>>(dynamic_cast<SizedKernel<5, 5> const ... | 31 | 91 | 0.642229 | pfuchs |
7cc1b0c066fe51564b4db7a66c005b01880a24a8 | 2,851 | cc | C++ | demo/misc/uri_demo.cc | Rokid/mingutils | b0c7865b928c8c46fdf769bfda0f05b1965b5372 | [
"MIT"
] | 1,144 | 2018-12-18T09:46:47.000Z | 2022-03-07T14:51:46.000Z | demo/misc/uri_demo.cc | Rokid/mingutils | b0c7865b928c8c46fdf769bfda0f05b1965b5372 | [
"MIT"
] | 16 | 2019-01-28T06:08:40.000Z | 2019-12-04T10:26:41.000Z | demo/misc/uri_demo.cc | Rokid/mingutils | b0c7865b928c8c46fdf769bfda0f05b1965b5372 | [
"MIT"
] | 129 | 2018-12-18T09:46:50.000Z | 2022-03-30T07:30:13.000Z | #include "uri.h"
using namespace rokid;
using namespace std;
#define URI_COUNT 7
static const char* test_uris[] = {
"https://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top",
"mailto:John.Doe@example.com",
"news:comp.infosystems.www.servers.unix",
"tel:+1-816-555-1212",
"telnet://1... | 27.679612 | 89 | 0.668888 | Rokid |
7cc25f769f8089c602d3de999ea8e8d20d710a88 | 2,189 | cpp | C++ | Tests/unit-tests/Source/opennwa/namespace-query/states-overlap.cpp | jusito/WALi-OpenNWA | 2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99 | [
"MIT"
] | 15 | 2015-03-07T17:25:57.000Z | 2022-02-04T20:17:00.000Z | src/wpds/Tests/unit-tests/Source/opennwa/namespace-query/states-overlap.cpp | ucd-plse/mpi-error-prop | 4367df88bcdc4d82c9a65b181d0e639d04962503 | [
"BSD-3-Clause"
] | 1 | 2018-03-03T05:58:55.000Z | 2018-03-03T12:26:10.000Z | src/wpds/Tests/unit-tests/Source/opennwa/namespace-query/states-overlap.cpp | ucd-plse/mpi-error-prop | 4367df88bcdc4d82c9a65b181d0e639d04962503 | [
"BSD-3-Clause"
] | 15 | 2015-09-25T17:44:35.000Z | 2021-07-18T18:25:38.000Z | #include "gtest/gtest.h"
#include "opennwa/Nwa.hpp"
#include "opennwa/query/automaton.hpp"
#include "Tests/unit-tests/Source/opennwa/fixtures.hpp"
#include "Tests/unit-tests/Source/opennwa/class-NWA/supporting.hpp"
namespace opennwa {
namespace query {
TEST(opennwa$query$$statesOverlap, emptyDo... | 28.428571 | 78 | 0.539516 | jusito |
7cc6f8b65c023da7b5d1209a6c254884081e3697 | 77,980 | cpp | C++ | EBUCoreProcessor/src/EBUCore_1_4/EBUCoreMapping.cpp | Limecraft/ebu-mxfsdk | d2461c778f7980c4e116a53123c2ba744b1362a0 | [
"Apache-2.0"
] | 20 | 2015-02-24T23:54:23.000Z | 2022-03-29T12:42:32.000Z | EBUCoreProcessor/src/EBUCore_1_4/EBUCoreMapping.cpp | ebu/ebu-mxfsdk | d66e4b05354ec2b80365f1956f14678c6f7f6514 | [
"Apache-2.0"
] | 1 | 2018-10-26T00:44:05.000Z | 2018-10-26T00:44:05.000Z | EBUCoreProcessor/src/EBUCore_1_4/EBUCoreMapping.cpp | ebu/ebu-mxfsdk | d66e4b05354ec2b80365f1956f14678c6f7f6514 | [
"Apache-2.0"
] | 6 | 2015-02-05T09:54:14.000Z | 2022-02-26T20:56:32.000Z | /*
* Copyright 2012-2013 European Broadcasting Union and Limecraft, NV.
*
* 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
*
*... | 56.712727 | 192 | 0.812054 | Limecraft |
7cc8140fb18d6f0563cbe2c37353ade3e04c7ede | 3,266 | hpp | C++ | cpp/include/cugraph/visitors/ret_terased.hpp | BradReesWork/cugraph | 9ddea03a724e9b32950ed6282120007c76482cbc | [
"Apache-2.0"
] | 991 | 2018-12-05T22:07:52.000Z | 2022-03-31T10:45:45.000Z | cpp/include/cugraph/visitors/ret_terased.hpp | BradReesWork/cugraph | 9ddea03a724e9b32950ed6282120007c76482cbc | [
"Apache-2.0"
] | 1,929 | 2018-12-06T14:06:18.000Z | 2022-03-31T20:01:00.000Z | cpp/include/cugraph/visitors/ret_terased.hpp | BradReesWork/cugraph | 9ddea03a724e9b32950ed6282120007c76482cbc | [
"Apache-2.0"
] | 227 | 2018-12-06T18:10:15.000Z | 2022-03-28T19:03:15.000Z | /*
* Copyright (c) 2021, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 25.515625 | 95 | 0.6485 | BradReesWork |
7cc881ca9d8eb9c7830f50428c601664cc8ab31e | 945 | cpp | C++ | src/1114/1114-Print-In-Order-UnitTest.cpp | coldnew/leetcode-solutions | 3bc7943f8341397840ecd34aefc5af6e52b09b4e | [
"Unlicense"
] | 2 | 2022-03-10T17:06:18.000Z | 2022-03-11T08:52:00.000Z | src/1114/1114-Print-In-Order-UnitTest.cpp | coldnew/leetcode-solutions | 3bc7943f8341397840ecd34aefc5af6e52b09b4e | [
"Unlicense"
] | null | null | null | src/1114/1114-Print-In-Order-UnitTest.cpp | coldnew/leetcode-solutions | 3bc7943f8341397840ecd34aefc5af6e52b09b4e | [
"Unlicense"
] | null | null | null | #include <gtest/gtest.h>
#include <thread>
#include "1114-Print-In-Order.cpp"
TEST(PrintInOrderTest, Foo) {
{
testing::internal::CaptureStdout();
Foo foo;
std::thread t1([&foo]() { foo.first([]() { std::cout << "first"; }); });
std::thread t2([&foo]() { foo.second([]() { std::cout << "second"; }); ... | 27 | 78 | 0.53545 | coldnew |
7cc999ec9ec8ff3cbd566a4119fc6e0615d39717 | 29,791 | cpp | C++ | artifact/storm/src/storm-pomdp-cli/storm-pomdp.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm-pomdp-cli/storm-pomdp.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm-pomdp-cli/storm-pomdp.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | 1 | 2022-02-05T12:39:53.000Z | 2022-02-05T12:39:53.000Z | #include "storm/utility/initialize.h"
#include "storm/settings/modules/GeneralSettings.h"
#include "storm/settings/modules/DebugSettings.h"
#include "storm-pomdp-cli/settings/modules/POMDPSettings.h"
#include "storm-pomdp-cli/settings/modules/QualitativePOMDPAnalysisSettings.h"
#include "storm-pomdp-cli/settings/modul... | 62.586134 | 312 | 0.59095 | glatteis |
7cca78ed78b804f3fe0a2650607ff302d300686d | 4,150 | cpp | C++ | rest/src/parser/tests/TestBookDirectoryBuilder.cpp | cisocrgroup/pocoweb | 93546d026321744602f6ee90fd82503da56da3b7 | [
"Apache-2.0"
] | 10 | 2018-04-09T20:46:49.000Z | 2021-08-07T17:29:02.000Z | rest/src/parser/tests/TestBookDirectoryBuilder.cpp | cisocrgroup/pocoweb | 93546d026321744602f6ee90fd82503da56da3b7 | [
"Apache-2.0"
] | 61 | 2018-01-03T09:49:16.000Z | 2022-02-18T12:26:11.000Z | rest/src/parser/tests/TestBookDirectoryBuilder.cpp | cisocrgroup/pocoweb | 93546d026321744602f6ee90fd82503da56da3b7 | [
"Apache-2.0"
] | 3 | 2020-01-10T15:44:18.000Z | 2021-05-19T13:39:53.000Z | #define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE BookDirectoryBuilderTest
#include "core/Book.hpp"
#include "core/BookDirectoryBuilder.hpp"
#include "core/Page.hpp"
#include "utils/TmpDir.hpp"
#include <boost/filesystem/operations.hpp>
#include <boost/test/unit_test.hpp>
#include <crow/logging.h>
#include <fstrea... | 30.291971 | 80 | 0.600241 | cisocrgroup |
7ccb4ad509d2aec2592a7b1458ddb2436e6ca652 | 561 | cc | C++ | cpp/leetcode/153.find-minimum-in-rotated-sorted-array.cc | liubang/laboratory | 747f239a123cd0c2e5eeba893b9a4d1536555b1e | [
"MIT"
] | 3 | 2021-03-03T13:18:23.000Z | 2022-02-09T07:49:24.000Z | cpp/leetcode/153.find-minimum-in-rotated-sorted-array.cc | liubang/laboratory | 747f239a123cd0c2e5eeba893b9a4d1536555b1e | [
"MIT"
] | null | null | null | cpp/leetcode/153.find-minimum-in-rotated-sorted-array.cc | liubang/laboratory | 747f239a123cd0c2e5eeba893b9a4d1536555b1e | [
"MIT"
] | 1 | 2021-03-29T15:21:42.000Z | 2021-03-29T15:21:42.000Z | #include <gtest/gtest.h>
#include <vector>
namespace {
class Solution {
public:
int findMin(const std::vector<int>& nums) {
int s = 0, e = nums.size() - 1;
while (s < e) {
int m = (s + e) / 2;
if (nums[m] < nums[e]) {
e = m;
} else {
s = m + 1;
}
}
return num... | 19.344828 | 54 | 0.520499 | liubang |
7cd0fe7d92d1caf1a13914a8428202ce0fce3c65 | 699 | hpp | C++ | Source/WinSandbox/Physics/Collision/Collider.hpp | wradley/Freight | 91eda2ca0af64036202309f6adbf2d80c406e031 | [
"MIT"
] | null | null | null | Source/WinSandbox/Physics/Collision/Collider.hpp | wradley/Freight | 91eda2ca0af64036202309f6adbf2d80c406e031 | [
"MIT"
] | null | null | null | Source/WinSandbox/Physics/Collision/Collider.hpp | wradley/Freight | 91eda2ca0af64036202309f6adbf2d80c406e031 | [
"MIT"
] | null | null | null | #pragma once
#include <Freight/Math.hpp>
class Rigidbody;
struct Collider
{
std::shared_ptr<Rigidbody> body;
enum class Type {
HALF_SPACE,
SPHERE,
BOX,
};
virtual Type getType() const = 0;
};
struct SphereCollider : public Collider
{
fr::Vec3 position;
fr::Real radius... | 17.475 | 68 | 0.648069 | wradley |
7cd21489770eaa88635076b6ff2d7e5bfdad942a | 1,422 | hpp | C++ | include/Client/PlayerMovementSystem.hpp | maximaximal/BomberPi | 365c806e3feda7296fc10d5f9655ec696f0ab491 | [
"Zlib"
] | null | null | null | include/Client/PlayerMovementSystem.hpp | maximaximal/BomberPi | 365c806e3feda7296fc10d5f9655ec696f0ab491 | [
"Zlib"
] | null | null | null | include/Client/PlayerMovementSystem.hpp | maximaximal/BomberPi | 365c806e3feda7296fc10d5f9655ec696f0ab491 | [
"Zlib"
] | null | null | null | #ifndef CLIENT_PLAYERMOVEMENTSYSTEM_HPP_INCLUDED
#define CLIENT_PLAYERMOVEMENTSYSTEM_HPP_INCLUDED
#include <anax/System.hpp>
#include <map>
#include <Client/BombermanMap.hpp>
#include <Client/BodyComponent.hpp>
#include <Client/CollisionSystem.hpp>
#include <Client/PositionComponent.hpp>
#include <Client/PlayerInputC... | 33.069767 | 177 | 0.73699 | maximaximal |
7cd356fd0e27b6a0958aa5f0985faeae1eb4a94e | 23 | cpp | C++ | src/collider.cpp | trevorGalivan/lavaGameEngine | 9a8ce6845a8e1fd728a376d5665c5b57abcfed4c | [
"MIT"
] | 1 | 2021-03-04T23:39:46.000Z | 2021-03-04T23:39:46.000Z | src/collider.cpp | trevorGalivan/lavaGameEngine | 9a8ce6845a8e1fd728a376d5665c5b57abcfed4c | [
"MIT"
] | null | null | null | src/collider.cpp | trevorGalivan/lavaGameEngine | 9a8ce6845a8e1fd728a376d5665c5b57abcfed4c | [
"MIT"
] | null | null | null | #include "collider.h"
| 11.5 | 22 | 0.695652 | trevorGalivan |
7cd5bc778ceaf5a9aa1d1181dafa0d9b48770328 | 3,487 | cpp | C++ | lanchonete-array.cpp | jonasnunes/Cpp | f58c03ee63e37285b4a1455cc55f184672fdaf5c | [
"MIT"
] | null | null | null | lanchonete-array.cpp | jonasnunes/Cpp | f58c03ee63e37285b4a1455cc55f184672fdaf5c | [
"MIT"
] | null | null | null | lanchonete-array.cpp | jonasnunes/Cpp | f58c03ee63e37285b4a1455cc55f184672fdaf5c | [
"MIT"
] | null | null | null | #include <iostream>
#include <locale>
using namespace std;
int main()
{
setlocale(LC_CTYPE, "Portuguese");
// mesmo exemplo da lanchonete, mas usando array ao invés de struct.
string comboNome[] = {"Prata da Casa", "+ Light", "Lanche Pobre"};
int numeroItens[] = {4, 3, 2};
string comboItens[] = ... | 39.625 | 228 | 0.443648 | jonasnunes |
7cd936262513cfad24e74c8d2ef95e84c78d425c | 327 | cpp | C++ | AT-Task3-OpenGL/VoxelTextureAtlas.cpp | gualtyphone/AT-Task3-OpenGL | b14461f71b1766882082cd1481d21bd00f49cdb5 | [
"MIT"
] | 1 | 2018-11-25T10:52:57.000Z | 2018-11-25T10:52:57.000Z | AT-Task3-OpenGL/VoxelTextureAtlas.cpp | gualtyphone/AT-Task3-OpenGL | b14461f71b1766882082cd1481d21bd00f49cdb5 | [
"MIT"
] | null | null | null | AT-Task3-OpenGL/VoxelTextureAtlas.cpp | gualtyphone/AT-Task3-OpenGL | b14461f71b1766882082cd1481d21bd00f49cdb5 | [
"MIT"
] | null | null | null | #include "VoxelTextureData.h"
// UV Structure
// 0--1
// | |
// 3--2
Vector2 VoxelTextureAtlas::UVOffsets[4] =
{
Vector2(0, 0),
Vector2(1.0f / (float)numberOfTexturesWidth, 0),
Vector2(1.0f / (float)numberOfTexturesWidth, (1.0f / (float)numberOfTexturesHeight)),
Vector2(0, (1.0f / (float)numberOfTexturesHeight))... | 20.4375 | 86 | 0.681957 | gualtyphone |
7cdf666b3b837a4683272fd4dbcef1e9ec646b7f | 4,315 | cpp | C++ | thread/task/task_scheduler.cpp | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | 1 | 2017-08-11T19:12:24.000Z | 2017-08-11T19:12:24.000Z | thread/task/task_scheduler.cpp | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | 11 | 2018-07-07T20:09:44.000Z | 2020-02-16T22:45:09.000Z | thread/task/task_scheduler.cpp | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | null | null | null | //------------------------------------------------------------
// snakeoil (c) Alexis Constantin Link
// Distributed under the MIT license
//------------------------------------------------------------
#include "task_graph.h"
#include "task_scheduler.h"
#include "serial_executor.h"
#include "async_executor.h"
using n... | 28.959732 | 103 | 0.451217 | aconstlink |
7ce0cbb964131aceceaac4ea3928030614fc9209 | 157 | cpp | C++ | clang/test/CXX/module/module.unit/p7/t7.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 605 | 2019-10-18T01:15:54.000Z | 2022-03-31T14:31:04.000Z | clang/test/CXX/module/module.unit/p7/t7.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 3,180 | 2019-10-18T01:21:21.000Z | 2022-03-31T23:25:41.000Z | clang/test/CXX/module/module.unit/p7/t7.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 275 | 2019-10-18T05:27:22.000Z | 2022-03-30T09:04:21.000Z | // RUN: rm -fr %t
// RUN: mkdir %t
// RUN: %clang_cc1 -std=c++20 -I%S/Inputs/ %s -verify
// expected-no-diagnostics
module;
#include "h7.h"
export module X;
| 19.625 | 53 | 0.636943 | LaudateCorpus1 |
7ce36e0a29e0abf213c345f6ad29a83274348bc8 | 2,016 | hpp | C++ | libraries/app/include/graphene/app/api_access.hpp | siwelo/bitshares-2 | 03561bfcf97801b44863bd51c400aae3ba51e3b0 | [
"MIT"
] | null | null | null | libraries/app/include/graphene/app/api_access.hpp | siwelo/bitshares-2 | 03561bfcf97801b44863bd51c400aae3ba51e3b0 | [
"MIT"
] | null | null | null | libraries/app/include/graphene/app/api_access.hpp | siwelo/bitshares-2 | 03561bfcf97801b44863bd51c400aae3ba51e3b0 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2015 Cryptonomex, Inc., 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. Any modified source or binaries are used only with the BitShares network.
*... | 37.333333 | 208 | 0.761905 | siwelo |
7ce48eaa8a35c604b4165f73d7b9b328bef2d88f | 4,822 | cpp | C++ | Plugins/org.mitk.gui.qt.application/src/QmitkFileOpenAction.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2022-03-03T12:03:32.000Z | 2022-03-03T12:03:32.000Z | Plugins/org.mitk.gui.qt.application/src/QmitkFileOpenAction.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T10:19:02.000Z | 2021-12-22T10:19:02.000Z | Plugins/org.mitk.gui.qt.application/src/QmitkFileOpenAction.cpp | zhaomengxiao/MITK_lancet | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2020-11-27T09:41:18.000Z | 2020-11-27T09:41:18.000Z | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | 25.114583 | 125 | 0.669432 | zhaomengxiao |
7ce77ec9347b82ef01455f6a7ab6f1304b65f116 | 605 | cpp | C++ | Strings/Words/Reverse the String.cpp | cenation092/InterviewBit-Solutions | ac4510a10d965fb681f7b3c80990407e18bc2668 | [
"MIT"
] | 7 | 2019-06-29T08:57:07.000Z | 2021-02-13T06:43:40.000Z | Strings/Words/Reverse the String.cpp | cenation092/InterviewBit-Solutions | ac4510a10d965fb681f7b3c80990407e18bc2668 | [
"MIT"
] | null | null | null | Strings/Words/Reverse the String.cpp | cenation092/InterviewBit-Solutions | ac4510a10d965fb681f7b3c80990407e18bc2668 | [
"MIT"
] | 3 | 2020-06-17T04:26:26.000Z | 2021-02-12T04:51:40.000Z | void Solution::reverseWords(string &A) {
reverse(A.begin(), A.end());
string s = "";
int i = 0;
while( A[i] == ' ')i++;
string temp = "";
while( i < A.size() && A[i] != ' ' ){
temp += A[i];
i++;
}
reverse(temp.begin(), temp.end());
s += temp;
while( i < A.size() )... | 21.607143 | 46 | 0.33719 | cenation092 |
7ce9280eba22cc0b6b5fa464cec9212ece3cc0f2 | 5,930 | cpp | C++ | Sample18_2/app/src/main/cpp/util/LoadUtil.cpp | luopan007/Vulkan_Develpment_Samples | 1be40631e3b2d44aae7140f0ef17c5643a86545e | [
"Unlicense"
] | 5 | 2020-11-20T00:06:30.000Z | 2021-12-07T11:39:17.000Z | Sample18_2/app/src/main/cpp/util/LoadUtil.cpp | luopan007/Vulkan_Develpment_Samples | 1be40631e3b2d44aae7140f0ef17c5643a86545e | [
"Unlicense"
] | null | null | null | Sample18_2/app/src/main/cpp/util/LoadUtil.cpp | luopan007/Vulkan_Develpment_Samples | 1be40631e3b2d44aae7140f0ef17c5643a86545e | [
"Unlicense"
] | 7 | 2021-01-01T10:54:58.000Z | 2022-01-13T02:21:54.000Z | #include "LoadUtil.h"
#include <iostream>
#include <string>
#include <string.h>
#include <math.h>
#include <vector>
#include <map>
#include <set>
#include <fstream>
#include <sstream>
#include <stdlib.h>
#include <vulkan/vulkan.h>
#include "FileUtil.h"
using namespace std;
size_t splitString(const string& strSrc, cons... | 26.238938 | 125 | 0.616863 | luopan007 |
7cec34c9a68fd99cd10d58595333207bf912a1d2 | 1,659 | hpp | C++ | src/common/interfaces/models/ibrush.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 3 | 2020-03-05T06:36:51.000Z | 2020-06-20T03:25:02.000Z | src/common/interfaces/models/ibrush.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 13 | 2020-03-11T17:43:42.000Z | 2020-12-11T03:36:05.000Z | src/common/interfaces/models/ibrush.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 1 | 2020-09-28T06:53:46.000Z | 2020-09-28T06:53:46.000Z | /**
* Addle source code
* @file
* @copyright Copyright 2020 Eleanor Hawk
* @copyright Modification and distribution permitted under the terms of the
* MIT License. See "LICENSE" for full details.
*/
#ifndef IBRUSH_HPP
#define IBRUSH_HPP
#include <QIcon>
#include <QList>
#include "idtypes/brushid.hpp"
#include ... | 24.043478 | 77 | 0.711272 | squeevee |
7cee371914c24f9202b2793f3b361442889bd441 | 12,268 | cpp | C++ | src/AdmittanceController.cpp | nbfigueroa-rlic/robot_admittance_controller | 1136d0af2584d91f21416a0a5b5997f936fcba4a | [
"MIT"
] | 25 | 2020-05-21T03:17:32.000Z | 2022-03-18T07:16:08.000Z | src/AdmittanceController.cpp | nbfigueroa-rlic/robot_admittance_controller | 1136d0af2584d91f21416a0a5b5997f936fcba4a | [
"MIT"
] | 1 | 2020-08-14T02:49:21.000Z | 2020-08-14T02:49:21.000Z | src/AdmittanceController.cpp | nbfigueroa-rlic/robot_admittance_controller | 1136d0af2584d91f21416a0a5b5997f936fcba4a | [
"MIT"
] | 9 | 2020-06-02T17:27:59.000Z | 2021-12-18T08:56:38.000Z | #include "AdmittanceController.h"
AdmittanceController::AdmittanceController(ros::NodeHandle &n,
double frequency,
std::string topic_arm_pose,
std::string topic_arm_twist,
std::string topic_external_wrench,
std::string topic_control_wrench,
std::string topic_arm_command,
std::vector<dou... | 36.082353 | 157 | 0.621536 | nbfigueroa-rlic |
7cf2a97a5b01882b2de3acf43af4fc9e2525da7d | 2,166 | cc | C++ | IOMultiplexing/poll/poll_srv.cc | HONGYU-LEE/NetWorkProgram | 0ce15d2211c56f635f8fde948632c16009d8d96f | [
"MIT"
] | null | null | null | IOMultiplexing/poll/poll_srv.cc | HONGYU-LEE/NetWorkProgram | 0ce15d2211c56f635f8fde948632c16009d8d96f | [
"MIT"
] | null | null | null | IOMultiplexing/poll/poll_srv.cc | HONGYU-LEE/NetWorkProgram | 0ce15d2211c56f635f8fde948632c16009d8d96f | [
"MIT"
] | null | null | null | #include<poll.h>
#include<vector>
#include <sys/socket.h>
#include"TcpSocket.hpp"
#define MAX_SIZE 10
using namespace std;
int main(int argc, char* argv[])
{
if(argc != 3)
{
cerr << "正确输入方式: ./select_srv.cc ip port\n" << endl;
return -1;
}
string srv_ip = argv[1];
uint16_t srv_port = stoi(argv[2]);
... | 16.661538 | 67 | 0.495845 | HONGYU-LEE |
7cf504084893fb79c4ca0e3a7d8686499d78e081 | 5,719 | hpp | C++ | include/elemental/blas-like/level2/Syr.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/blas-like/level2/Syr.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/blas-like/level2/Syr.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2009-2013, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#pragma once
#ifndef BLAS_SYR_HPP
#define BLAS_SYR_HPP
... | 32.867816 | 80 | 0.503934 | ahmadia |
7cf553e2bf5442978a22d937f8e2cf5584a52da9 | 2,018 | cpp | C++ | libs/base/src/ring_log.cpp | blagodarin/yttrium | 534289c3082355e5537a03c0b5855b60f0c344ad | [
"Apache-2.0"
] | null | null | null | libs/base/src/ring_log.cpp | blagodarin/yttrium | 534289c3082355e5537a03c0b5855b60f0c344ad | [
"Apache-2.0"
] | null | null | null | libs/base/src/ring_log.cpp | blagodarin/yttrium | 534289c3082355e5537a03c0b5855b60f0c344ad | [
"Apache-2.0"
] | null | null | null | // This file is part of the Yttrium toolkit.
// Copyright (C) Sergei Blagodarin.
// SPDX-License-Identifier: Apache-2.0
#include "ring_log.h"
#include <seir_base/int_utils.hpp>
#include <algorithm>
#include <cassert>
#include <cstring>
namespace
{
static_assert(seir::isPowerOf2(Yt::RingLog::BufferSize));
// If B... | 31.046154 | 93 | 0.697721 | blagodarin |
7cf6473f1e8501b080c2e6ec1449e8cb4db9fe60 | 1,478 | hpp | C++ | HN_DateTime/HN_Clock.hpp | Jusdetalent/JT_Utility | 2dec8ff0e8a0263a589f0829d63cf01dcae46d79 | [
"MIT"
] | null | null | null | HN_DateTime/HN_Clock.hpp | Jusdetalent/JT_Utility | 2dec8ff0e8a0263a589f0829d63cf01dcae46d79 | [
"MIT"
] | null | null | null | HN_DateTime/HN_Clock.hpp | Jusdetalent/JT_Utility | 2dec8ff0e8a0263a589f0829d63cf01dcae46d79 | [
"MIT"
] | null | null | null | #ifndef HN_CLOCK_HPP_INCLUDED
#define HN_CLOCK_HPP_INCLUDED
#include <sys/time.h>
#include <string>
#include "HN_TimePoint.hpp"
namespace hnapi
{
namespace datetime
{
// Time category definition
enum HN_ClockMode{
HN_YEARS_MODE = 1,
HN_MOUTHS... | 28.423077 | 74 | 0.504736 | Jusdetalent |
7cf7da24a72b18a9f275569f4b62621b471c2f10 | 6,386 | cpp | C++ | transport_catalogue/json/__tests__/json__tests.cpp | oleg-nazarov/cpp-yandex-praktikum | a09781c198b0aff469c4d1175c91d72800909bf2 | [
"MIT"
] | 1 | 2022-03-15T19:01:03.000Z | 2022-03-15T19:01:03.000Z | transport_catalogue/json/__tests__/json__tests.cpp | oleg-nazarov/cpp-yandex-praktikum | a09781c198b0aff469c4d1175c91d72800909bf2 | [
"MIT"
] | 1 | 2022-03-15T19:11:59.000Z | 2022-03-15T19:11:59.000Z | transport_catalogue/json/__tests__/json__tests.cpp | oleg-nazarov/cpp-yandex-praktikum | a09781c198b0aff469c4d1175c91d72800909bf2 | [
"MIT"
] | null | null | null | #include <cassert>
#include <chrono>
#include <iostream>
#include <sstream>
#include <string_view>
#include "../../../helpers/run_test.h"
#include "../json.h"
using namespace json;
using namespace std::literals;
namespace {
json::Document LoadJSON(const std::string& s) {
std::istringstream strm(s);
return ... | 27.407725 | 130 | 0.596461 | oleg-nazarov |
7cf85529ae0d2819353905e342e817e744fec06c | 4,434 | cxx | C++ | main/basebmp/source/polypolygonrenderer.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/basebmp/source/polypolygonrenderer.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/basebmp/source/polypolygonrenderer.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.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 y... | 35.758065 | 89 | 0.533829 | Grosskopf |
7cf87a8d1cc883576c03473d174f297c4087aaa3 | 81,920 | cpp | C++ | T3000/T3000CO2_NET/CT3000CO2_NET.cpp | DHSERVICE56/T3000_Building_Automation_System | 77bd47a356211b1c8ad09fb8d785e9f880d3cd26 | [
"MIT"
] | 1 | 2019-12-11T05:14:08.000Z | 2019-12-11T05:14:08.000Z | T3000/T3000CO2_NET/CT3000CO2_NET.cpp | DHSERVICE56/T3000_Building_Automation_System | 77bd47a356211b1c8ad09fb8d785e9f880d3cd26 | [
"MIT"
] | null | null | null | T3000/T3000CO2_NET/CT3000CO2_NET.cpp | DHSERVICE56/T3000_Building_Automation_System | 77bd47a356211b1c8ad09fb8d785e9f880d3cd26 | [
"MIT"
] | 1 | 2021-05-31T18:56:31.000Z | 2021-05-31T18:56:31.000Z |
///////////////////////////////// Includes //////////////////////////////////
#include "stdafx.h"
#include "CT3000CO2_NET.h"
//////////////////////////////// Statics / Macros /////////////////////////////
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
////////////////////////////////// Implementation ////////////... | 26.408769 | 121 | 0.758801 | DHSERVICE56 |
7cf90679a996e3f5739e32c797498b44e4d14691 | 1,320 | cpp | C++ | code-forces/Educational 87/DCopy.cpp | ErickJoestar/competitive-programming | 76afb766dbc18e16315559c863fbff19a955a569 | [
"MIT"
] | 1 | 2020-04-23T00:35:38.000Z | 2020-04-23T00:35:38.000Z | code-forces/Educational 87/DCopy.cpp | ErickJoestar/competitive-programming | 76afb766dbc18e16315559c863fbff19a955a569 | [
"MIT"
] | null | null | null | code-forces/Educational 87/DCopy.cpp | ErickJoestar/competitive-programming | 76afb766dbc18e16315559c863fbff19a955a569 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define ENDL '\n'
#define deb(u) cout << #u " : " << (u) << ENDL;
#define deba(alias, u) cout << alias << ": " << (u) << ENDL;
#define debp(u, v) cout << u << " : " << v << ENDL;
#define pb push_back
#define F first
#define S second
#define lli long long
#define pii pair<int, int>
#define pll p... | 19.411765 | 60 | 0.496212 | ErickJoestar |
cfaa4a625fb4a16b09240046624c037b68a315b6 | 1,834 | cpp | C++ | src/data/long_distance_social_distancing_ii.cpp | ACM-UCI/ACM-UCI-Website | 6092db56b50f5c6d26a6e9ad65adb553f44ccb5f | [
"MIT"
] | 3 | 2019-02-02T02:46:23.000Z | 2020-08-14T14:04:04.000Z | src/data/long_distance_social_distancing_ii.cpp | ACM-UCI/ACM-UCI-Website | 6092db56b50f5c6d26a6e9ad65adb553f44ccb5f | [
"MIT"
] | 47 | 2019-02-01T08:50:24.000Z | 2022-03-01T18:35:05.000Z | src/data/long_distance_social_distancing_ii.cpp | ACM-UCI/ACM-UCI-Website | 6092db56b50f5c6d26a6e9ad65adb553f44ccb5f | [
"MIT"
] | 5 | 2018-11-30T03:10:08.000Z | 2020-09-22T06:37:50.000Z | #include <string>
#include <iterator>
#include <iostream>
#include <algorithm>
#include <array>
using namespace std;
#define LL long long
#define UL unsigned long
#define matrix array<array<LL, 5>, 5>
#define vector array<LL, 5>
LL mod = 1000000007;
matrix matmul(matrix a, matrix b)
{
matrix c;
for (unsigned... | 20.840909 | 109 | 0.401309 | ACM-UCI |
cfaead4da4e3c588cab43e9c6f64acff48fbb9dd | 4,198 | hpp | C++ | includes/zab/strong_types.hpp | HungMingWu/zab | 9e9fd78d192b4d037a6edbbd4c1474bd6e01feaf | [
"MIT"
] | null | null | null | includes/zab/strong_types.hpp | HungMingWu/zab | 9e9fd78d192b4d037a6edbbd4c1474bd6e01feaf | [
"MIT"
] | null | null | null | includes/zab/strong_types.hpp | HungMingWu/zab | 9e9fd78d192b4d037a6edbbd4c1474bd6e01feaf | [
"MIT"
] | null | null | null | /*
* MMM"""AMV db `7MM"""Yp,
* M' AMV ;MM: MM Yb
* ' AMV ,V^MM. MM dP
* AMV ,M `MM MM"""bg.
* AMV , AbmmmqMA MM `Y
* AMV ,M A' VML MM ,9
* AMVmmmmMM .AMA. .AMMA..JMMmmmd9
*
*
* MIT License
*
* Copyright (c) 2021... | 27.25974 | 98 | 0.579085 | HungMingWu |
cfb01a5642f0ac3348c7fb8eeea86a80aecac072 | 1,503 | hpp | C++ | server/common/log.hpp | egor-tensin/math-server | 25f810714ea8249da0a5e30fb0297e9055b70d50 | [
"MIT"
] | null | null | null | server/common/log.hpp | egor-tensin/math-server | 25f810714ea8249da0a5e30fb0297e9055b70d50 | [
"MIT"
] | null | null | null | server/common/log.hpp | egor-tensin/math-server | 25f810714ea8249da0a5e30fb0297e9055b70d50 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Egor Tensin <Egor.Tensin@gmail.com>
// This file is part of the "math-server" project.
// For details, see https://github.com/egor-tensin/math-server.
// Distributed under the MIT License.
#pragma once
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/format.hpp>
#include <boo... | 25.913793 | 79 | 0.664005 | egor-tensin |
cfb1b1b6dd2452a008e0f423dac3da12302fee92 | 509 | cc | C++ | stl/list.cc | Becavalier/playground-cpp | 0fce453f769111698f813852238f933e326ed441 | [
"MIT"
] | 1 | 2018-02-23T11:12:17.000Z | 2018-02-23T11:12:17.000Z | stl/list.cc | Becavalier/playground-cpp | 0fce453f769111698f813852238f933e326ed441 | [
"MIT"
] | null | null | null | stl/list.cc | Becavalier/playground-cpp | 0fce453f769111698f813852238f933e326ed441 | [
"MIT"
] | null | null | null | #include <iostream>
#include <list>
#include <iterator>
using namespace std;
int main (int argc, char *argv[]) {
list<int> lint;
// List is a kind of "linked list";
for (int i = 0; i < 5; i++) {
lint.push_back(i * i);
}
list<int>::iterator it;
for (it = lint.begin(); it != lint.end()... | 18.851852 | 83 | 0.516699 | Becavalier |
cfb505f74f6d71b58ea0b4f34dc4e99796049a70 | 574 | cpp | C++ | _site/Competitive Programming/Hackerearth/Bishu and Soldiers.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 1 | 2019-06-10T04:39:49.000Z | 2019-06-10T04:39:49.000Z | _site/Competitive Programming/Hackerearth/Bishu and Soldiers.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 2 | 2021-09-27T23:34:07.000Z | 2022-02-26T05:54:27.000Z | _site/Competitive Programming/Hackerearth/Bishu and Soldiers.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 3 | 2019-06-23T14:15:08.000Z | 2019-07-09T20:40:58.000Z | #include <bits/stdc++.h>
using namespace std;
int main(){
int n, q, a;
cin>>n;
vector<int> arr;
for (int i = 0; i < n; ++i)
{
cin>>a;
arr.push_back(a);
}
cin>>q;
int p[q];
/*for (int i = 0; i < q; ++i)
{
cin>>p[i];
}*/
sort(arr.begin(),arr.end());
for (int i = 0; i < q; ++i)
{
cin>>a;
vector<in... | 15.513514 | 47 | 0.473868 | anujkyadav07 |
cfb59658a0181e11c6c4d87befc61cfff554f507 | 1,697 | cpp | C++ | Level3/Level3/Level 3/Section 2.2/Exercise 2.2.1/TestProgram.cpp | chunyuyuan/My-Solution-for-C-Programming-for-Financial-Engineering | 478b414714edbea1ebdc2f565baad6f04f54bc70 | [
"MIT"
] | 1 | 2021-09-12T08:15:57.000Z | 2021-09-12T08:15:57.000Z | Level3/Level3/Level 3/Section 2.2/Exercise 2.2.1/TestProgram.cpp | chunyuyuan/My-Solution-for-C-Programming-for-Financial-Engineering | 478b414714edbea1ebdc2f565baad6f04f54bc70 | [
"MIT"
] | null | null | null | Level3/Level3/Level 3/Section 2.2/Exercise 2.2.1/TestProgram.cpp | chunyuyuan/My-Solution-for-C-Programming-for-Financial-Engineering | 478b414714edbea1ebdc2f565baad6f04f54bc70 | [
"MIT"
] | null | null | null | /*
* Level_3 Exercise 2.2.1:
* Test program for point class
*
* @file TestProgram.cpp
* @author Chunyu Yuan
* @version 1.0 02/08/2021
*
*/
#include "Point.hpp" // Header file for point class
#include <iostream> // Standard Input / Output Streams Library
/*
* Controls operation of the program
* Return type of main() ex... | 34.632653 | 123 | 0.690631 | chunyuyuan |
cfbbcc6c25f6bde73a20fbe38b313f5b067b00b5 | 1,474 | cpp | C++ | book/basics/names/Puzzle.cpp | luanics/cpp-illustrated | 6049de2119a53d656a63b65d9441e680355ef196 | [
"MIT"
] | null | null | null | book/basics/names/Puzzle.cpp | luanics/cpp-illustrated | 6049de2119a53d656a63b65d9441e680355ef196 | [
"MIT"
] | null | null | null | book/basics/names/Puzzle.cpp | luanics/cpp-illustrated | 6049de2119a53d656a63b65d9441e680355ef196 | [
"MIT"
] | null | null | null | #include <iostream>
int x;
namespace Y {
int a;
void f(float) {}
void h(int) {}
}
namespace Z {
void h(double) {}
}
namespace A {
using namespace Y;
void f(int) {}
void g(int) {}
void g() {}
int i;
}
namespace B {
using namespace Z;
void f(char) {}
int i;
}
namespace AB {
using namespace A;
... | 27.296296 | 102 | 0.565129 | luanics |
cfbc761c900f7fd17d6e2b0b00ef46aaeb0c8117 | 6,161 | hpp | C++ | src/vtu11/vtu11/impl/writer_impl.hpp | gtsc/HPC-divers-license | fa1493e217ff76a407feea9b80623eca4691e044 | [
"BSD-3-Clause"
] | 7 | 2020-01-07T16:38:31.000Z | 2022-01-26T19:23:26.000Z | src/vtu11/vtu11/impl/writer_impl.hpp | gtsc/HPC-divers-license | fa1493e217ff76a407feea9b80623eca4691e044 | [
"BSD-3-Clause"
] | 25 | 2020-01-13T17:38:43.000Z | 2021-12-09T11:58:15.000Z | vtu11/impl/writer_impl.hpp | phmkopp/vtu11 | 7afb9e33d076536af3ac333211a7a78576d582bf | [
"BSD-3-Clause"
] | 3 | 2020-04-08T10:46:23.000Z | 2020-04-15T18:34:41.000Z | // __ ____ ____
// ___ ___/ |_ __ _/_ /_ |
// \ \/ /\ __\ | \ || |
// \ / | | | | / || |
// \_/ |__| |____/|___||___|
//
// License: BSD License ; see LICENSE
//
#ifndef VTU11_WRITER_IMPL_HPP
#define VTU11_WRITER_IMPL_HPP
#include "vtu11/inc/utilities.hpp"
#include <fst... | 26.786957 | 94 | 0.635286 | gtsc |
cfbd1ca55702ca6b33927dc7831b66f08acc1cc9 | 6,009 | cpp | C++ | test/invalid_encoding.cpp | TyRoXx/warpcoil | e0454a7880fa644dfb6e77968a37f8547590c15f | [
"MIT"
] | 2 | 2018-06-04T06:44:00.000Z | 2018-09-14T09:45:12.000Z | test/invalid_encoding.cpp | TyRoXx/warpcoil | e0454a7880fa644dfb6e77968a37f8547590c15f | [
"MIT"
] | 40 | 2016-05-01T12:51:47.000Z | 2016-09-04T14:21:51.000Z | test/invalid_encoding.cpp | TyRoXx/warpcoil | e0454a7880fa644dfb6e77968a37f8547590c15f | [
"MIT"
] | 2 | 2018-06-04T06:44:06.000Z | 2018-09-14T09:45:19.000Z | #include "test_streams.hpp"
#include "checkpoint.hpp"
#include "generated.hpp"
#include "boost_print_log_value.hpp"
#include "failing_test_interface.hpp"
#include <silicium/exchange.hpp>
#include <silicium/error_or.hpp>
namespace
{
void test_invalid_server_request(std::vector<std::uint8_t> expected_request)
{
... | 40.06 | 100 | 0.643868 | TyRoXx |
cfbf4201b3f86c93d0709acd6e844cd5f6665646 | 4,168 | cpp | C++ | tests/test_configd/fetch/UnittestLayerTypeCommand.cpp | webOS-ports/configd | 707f158782b82417b197c00845d3fdf44dd5bcfd | [
"Apache-2.0"
] | 2 | 2018-03-22T19:07:50.000Z | 2019-05-06T05:20:31.000Z | tests/test_configd/fetch/UnittestLayerTypeCommand.cpp | webOS-ports/configd | 707f158782b82417b197c00845d3fdf44dd5bcfd | [
"Apache-2.0"
] | null | null | null | tests/test_configd/fetch/UnittestLayerTypeCommand.cpp | webOS-ports/configd | 707f158782b82417b197c00845d3fdf44dd5bcfd | [
"Apache-2.0"
] | 3 | 2018-03-22T19:07:52.000Z | 2022-02-26T04:28:53.000Z | // Copyright (c) 2016-2018 LG Electronics, 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... | 24.662722 | 81 | 0.740883 | webOS-ports |
cfc3ef51422183c772cf5f2b8423034dffe1725b | 13,588 | cc | C++ | DataFormats/L1GlobalTrigger/src/L1GtPsbWord.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DataFormats/L1GlobalTrigger/src/L1GtPsbWord.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DataFormats/L1GlobalTrigger/src/L1GtPsbWord.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | /**
* \class L1GtPsbWord
*
*
* Description: PSB block in the L1 GT readout record.
*
* Implementation:
* <TODO: enter implementation details>
*
* \author: Vasile Mihai Ghete - HEPHY Vienna
*
*
*/
// this class header
#include "DataFormats/L1GlobalTrigger/interface/L1GtPsbWord.h"
// system inclu... | 29.347732 | 117 | 0.586989 | ckamtsikis |
cfcfd604e2d1961439c9fd3966618be859214bf6 | 6,724 | cpp | C++ | validation_tests/faodel/examples/opbox/basic/rdma_ping/OpRdmaPing.cpp | brugger1/testsuite | 9b504db668cdeaf7c561f15b76c95d05bfdd1517 | [
"MIT"
] | 12 | 2019-02-12T18:20:29.000Z | 2021-12-09T19:46:19.000Z | validation_tests/faodel/examples/opbox/basic/rdma_ping/OpRdmaPing.cpp | brugger1/testsuite | 9b504db668cdeaf7c561f15b76c95d05bfdd1517 | [
"MIT"
] | 24 | 2020-08-31T22:05:07.000Z | 2022-02-21T18:30:03.000Z | validation_tests/faodel/examples/opbox/basic/rdma_ping/OpRdmaPing.cpp | brugger1/testsuite | 9b504db668cdeaf7c561f15b76c95d05bfdd1517 | [
"MIT"
] | 19 | 2020-08-31T21:59:10.000Z | 2022-02-23T22:06:46.000Z | // Copyright 2018 National Technology & Engineering Solutions of Sandia,
// LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
#include <assert.h>
#include <string.h> //for memcpy
#include "opbox/ops/OpHelpers.hh"
#include "OpRdmaPing... | 32.960784 | 99 | 0.659875 | brugger1 |
cfd37fdb986966a61e6f2ded1901961f412619b0 | 877 | cpp | C++ | qt_tstfrm/test_main_loop.cpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 2 | 2019-01-24T15:36:20.000Z | 2019-12-26T10:03:48.000Z | qt_tstfrm/test_main_loop.cpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 13 | 2015-09-28T13:59:23.000Z | 2015-10-08T20:12:45.000Z | qt_tstfrm/test_main_loop.cpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 1 | 2019-08-09T21:31:29.000Z | 2019-08-09T21:31:29.000Z | #include "qt_tstfrm/test_main_loop.hpp"
#include <QtCore/QTimer>
#include <QtWidgets/QApplication>
#include <QtWidgets/QWidget>
#include "base/scope_guard.hpp"
#include "std/cstring.hpp"
namespace
{
class MyWidget : public QWidget
{
public:
MyWidget(TRednerFn const & fn)
: m_fn(fn)
{
}
protected:
void... | 16.865385 | 76 | 0.672748 | bowlofstew |
cfd5914eb8b72dfc901dc7a0666625c8023983d4 | 1,505 | cpp | C++ | src/prod/src/ServiceModel/management/FaultAnalysisService/RestartDeployedCodePackageStatus.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/ServiceModel/management/FaultAnalysisService/RestartDeployedCodePackageStatus.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/ServiceModel/management/FaultAnalysisService/RestartDeployedCodePackageStatus.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 33.444444 | 121 | 0.756146 | AnthonyM |
cfdb15f2ec287001e85829552f57bd9597ff90b1 | 213 | cpp | C++ | UE4_Project_Hunt/Source/UE4_Project_Hunt/UE4_Project_Hunt.cpp | AhmedEhabAmer/project-hunt | 21d881ea9243101603d5b8d402fe7f3c46d29ecf | [
"MIT"
] | 1 | 2020-06-25T13:09:29.000Z | 2020-06-25T13:09:29.000Z | UE4_Project_Hunt/Source/UE4_Project_Hunt/UE4_Project_Hunt.cpp | AhmedEhabAmer/project-hunt | 21d881ea9243101603d5b8d402fe7f3c46d29ecf | [
"MIT"
] | null | null | null | UE4_Project_Hunt/Source/UE4_Project_Hunt/UE4_Project_Hunt.cpp | AhmedEhabAmer/project-hunt | 21d881ea9243101603d5b8d402fe7f3c46d29ecf | [
"MIT"
] | null | null | null | // Copyright Epic Games, Inc. All Rights Reserved.
#include "UE4_Project_Hunt.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, UE4_Project_Hunt, "UE4_Project_Hunt" );
| 30.428571 | 94 | 0.812207 | AhmedEhabAmer |
cfdc370a63f2cb5d9590aa746bdc53be830fa883 | 599 | cpp | C++ | src/data/dmc_octree_node.cpp | Svennny/isomesh | be7ed638079a81b1ca468833aa2972656277aaaf | [
"MIT"
] | 4 | 2019-04-08T17:36:53.000Z | 2020-04-11T18:53:29.000Z | src/data/dmc_octree_node.cpp | Svennny/isomesh | be7ed638079a81b1ca468833aa2972656277aaaf | [
"MIT"
] | null | null | null | src/data/dmc_octree_node.cpp | Svennny/isomesh | be7ed638079a81b1ca468833aa2972656277aaaf | [
"MIT"
] | 2 | 2020-01-26T18:55:41.000Z | 2020-09-30T20:10:11.000Z | /* This file is part of Isomesh library, released under MIT license.
Copyright (c) 2018-2019 Pavel Asyutchenko (sventeam@yandex.ru) */
#include <isomesh/data/dmc_octree_node.hpp>
#include <stdexcept>
namespace isomesh
{
DMC_OctreeNode::DMC_OctreeNode () noexcept : children (nullptr)
{}
DMC_OctreeNode::~DMC_Octree... | 20.655172 | 68 | 0.734558 | Svennny |
cfdd63392854982e1a705b102dac59599023d4ff | 1,298 | cpp | C++ | Breakout/src/Ball.cpp | Ebsidia/Mana | ebecc2a02ab65d634438e2c207b4bb0b8af01505 | [
"Apache-2.0"
] | null | null | null | Breakout/src/Ball.cpp | Ebsidia/Mana | ebecc2a02ab65d634438e2c207b4bb0b8af01505 | [
"Apache-2.0"
] | null | null | null | Breakout/src/Ball.cpp | Ebsidia/Mana | ebecc2a02ab65d634438e2c207b4bb0b8af01505 | [
"Apache-2.0"
] | null | null | null | #include "Ball.h"
Ball::Ball()
{
}
Ball::~Ball()
{
}
void Ball::loadAssets()
{
m_ballTexture = Mana::Texture2D::Create("assets/Breakout/textures/pongball.png");
}
void Ball::onUpdate(Mana::TimeStep dt)
{
if (Mana::Input::isKeyPressed(MA_KEY_SPACE))
m_isStuck = false;
if (!m_isStuck)
{
... | 19.969231 | 131 | 0.561633 | Ebsidia |
cfe175d1ce78274fc1e0d662a21e312fe10b45cc | 99 | cc | C++ | src/Foundational/iwmisc/_copy_vector_double.cc | michaelweiss092/LillyMol | a2b7d1d8a07ef338c754a0a2e3b2624aac694cc9 | [
"Apache-2.0"
] | 53 | 2018-06-01T13:16:15.000Z | 2022-02-23T21:04:28.000Z | src/Foundational/iwmisc/_copy_vector_double.cc | IanAWatson/LillyMol-4.0-Bazel | f38f23a919c622c31280222f8a90e6ab7d871b93 | [
"Apache-2.0"
] | 19 | 2018-08-14T13:43:18.000Z | 2021-09-24T12:53:11.000Z | src/Foundational/iwmisc/_copy_vector_double.cc | IanAWatson/LillyMol-4.0-Bazel | f38f23a919c622c31280222f8a90e6ab7d871b93 | [
"Apache-2.0"
] | 19 | 2018-10-23T19:41:01.000Z | 2022-02-17T08:14:00.000Z | #include <stdlib.h>
#include "misc.h"
template void copy_vector (double *, const double *, int);
| 16.5 | 58 | 0.69697 | michaelweiss092 |
cfe24e0ddfc191105daa49549d0ef38d39e802f3 | 3,904 | cpp | C++ | FryEngine/tests/FryEngine/ECS/UT_ECS_System.cpp | Schtekt/FryEngine | eb36df4d0b42ca5a0549a130709c567e88b6a826 | [
"MIT"
] | null | null | null | FryEngine/tests/FryEngine/ECS/UT_ECS_System.cpp | Schtekt/FryEngine | eb36df4d0b42ca5a0549a130709c567e88b6a826 | [
"MIT"
] | null | null | null | FryEngine/tests/FryEngine/ECS/UT_ECS_System.cpp | Schtekt/FryEngine | eb36df4d0b42ca5a0549a130709c567e88b6a826 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <iostream>
#include "helperClasses.h"
TEST(ECS, CustomSystemSingleComponent)
{
ECS* ecs = new ECS();
DeleteIntClassSystem sys;
Entity* ent = ecs->CreateEntity();
int myNumber = 5;
ent->AddComponent<DeleteIntClass>(&myNumber);
ASSERT_EQ(myNumber, 5);
... | 20.765957 | 95 | 0.573258 | Schtekt |
cfe7e8be38d0795cbd9830610e49d419ae073f94 | 1,416 | hpp | C++ | src/Engine.hpp | Galhad/firestorm | 3c1584b1e5b95f21d963b9cf226f6ec1a469d7af | [
"MIT"
] | null | null | null | src/Engine.hpp | Galhad/firestorm | 3c1584b1e5b95f21d963b9cf226f6ec1a469d7af | [
"MIT"
] | null | null | null | src/Engine.hpp | Galhad/firestorm | 3c1584b1e5b95f21d963b9cf226f6ec1a469d7af | [
"MIT"
] | null | null | null |
#ifndef FIRESTORM_ENGINE_HPP
#define FIRESTORM_ENGINE_HPP
#include "EngineCreationParams.hpp"
#include "graphics/GraphicsManager.hpp"
#include "scene/SceneManager.hpp"
#include "physics/PhysicsManager.hpp"
#include "io/InputManager.hpp"
#include "io/FileProvider.hpp"
#include "utils/Logger.hpp"
#include <memory>
#... | 24.413793 | 82 | 0.737994 | Galhad |
cfe80dd1d50da4993f3e77635a4006f700c358ea | 63,477 | cpp | C++ | app/ValidateIABStream.cpp | DTSProAudio/iab-validator | 694b3782672aece877a3d5f79996f379e74299e9 | [
"MIT"
] | 3 | 2020-03-17T17:46:30.000Z | 2020-10-01T09:09:00.000Z | app/ValidateIABStream.cpp | DTSProAudio/iab-validator | 694b3782672aece877a3d5f79996f379e74299e9 | [
"MIT"
] | 1 | 2020-04-14T15:59:00.000Z | 2020-04-14T15:59:00.000Z | app/ValidateIABStream.cpp | DTSProAudio/iab-validator | 694b3782672aece877a3d5f79996f379e74299e9 | [
"MIT"
] | 3 | 2020-04-01T16:10:49.000Z | 2020-04-16T06:47:37.000Z | /* Copyright (c) 2020 Xperi Corporation (and its subsidiaries). All rights reserved.
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 t... | 39.135018 | 158 | 0.626054 | DTSProAudio |
cfeb2bd73d4acbde2b977f44ced847f1ec2305fa | 14,039 | cpp | C++ | Libraries/RobsJuceModules/rosic/filters/rosic_MultiModeFilter.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/rosic/filters/rosic_MultiModeFilter.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/rosic/filters/rosic_MultiModeFilter.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | //#include "rosic_MultiModeFilter.h"
//using namespace rosic;
//-------------------------------------------------------------------------------------------------
// construction/destruction:
MultiModeFilter::MultiModeFilter()
{
parameters = new MultiModeFilterParameters;
isMaster = true;
freqWi... | 29.247917 | 99 | 0.697557 | RobinSchmidt |
cfed7ff24ed2cca2f5564f91eadf82b54ff46306 | 3,577 | cpp | C++ | Classes/Scenes/LogoScene.cpp | irfanf/Galvighas3D | b180b18f840efbeac9c5b84b9901f30d7889e123 | [
"MIT"
] | null | null | null | Classes/Scenes/LogoScene.cpp | irfanf/Galvighas3D | b180b18f840efbeac9c5b84b9901f30d7889e123 | [
"MIT"
] | null | null | null | Classes/Scenes/LogoScene.cpp | irfanf/Galvighas3D | b180b18f840efbeac9c5b84b9901f30d7889e123 | [
"MIT"
] | null | null | null | //_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
//!
//! IRFAN FAHMI RAMADHAN
//!
//! 2016/5/24
//!
//! LogoScene.cpp
//!
//! Copyright ©2016 IrGame All Right Reserved
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
//---------------------------------------------------------------------
#include "LogoScene... | 27.945313 | 96 | 0.55745 | irfanf |
cff5ef77e14bec558baaf5c6901fa4a20001e9ef | 785 | hpp | C++ | server/memory_resource_manager.hpp | photonmaster/scymnus | bcbf580091a730c63e15b67b6331705a281ba20b | [
"MIT"
] | 7 | 2021-08-19T01:11:21.000Z | 2021-08-31T15:25:51.000Z | server/memory_resource_manager.hpp | photonmaster/scymnus | bcbf580091a730c63e15b67b6331705a281ba20b | [
"MIT"
] | null | null | null | server/memory_resource_manager.hpp | photonmaster/scymnus | bcbf580091a730c63e15b67b6331705a281ba20b | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <iostream>
#include <list>
#include <memory_resource>
#include <thread>
namespace scymnus {
class memory_resource_manager {
public:
static memory_resource_manager &instance() {
thread_local memory_resource_manager manager;
... | 21.805556 | 81 | 0.699363 | photonmaster |
cff603a933870fbf2c96e5292f1ec7e006175709 | 326 | cpp | C++ | 1183/1681782_AC_15MS_124K.cpp | vandreas19/POJ_sol | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 18 | 2017-08-14T07:34:42.000Z | 2022-01-29T14:20:29.000Z | 1183/1681782_AC_15MS_124K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | null | null | null | 1183/1681782_AC_15MS_124K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 14 | 2016-12-21T23:37:22.000Z | 2021-07-24T09:38:57.000Z | #include<iostream>
using namespace std;
void main()
{
unsigned long iA,iB,iSum=0;
cin>>iA;
for(iB=iA+1;iB<=iA*2;iB+=1)
if(!((iA*iB+1)%(iB-iA)) && (iB+((iA*iB+1)/(iB-iA))<iSum || !iSum))
{
iSum=iB+((iA*iB+1)/(iB-iA));
//cout<<iB<<"+"<<((iA*iB+1)/(iB-iA))<<"="<<iSum<<endl;
}
cout<<iSum<<en... | 20.375 | 69 | 0.496933 | vandreas19 |
cff6b61bd9a794f33363be172a9586b242d71d6e | 8,432 | hpp | C++ | include/g6/http/message.hpp | Garcia6l20/g6-web | 6e9a1f9d85f26a977407d4c895f357e5f045efb9 | [
"MIT"
] | 3 | 2021-05-16T11:37:59.000Z | 2022-01-30T13:52:59.000Z | include/g6/http/message.hpp | Garcia6l20/g6-web | 6e9a1f9d85f26a977407d4c895f357e5f045efb9 | [
"MIT"
] | null | null | null | include/g6/http/message.hpp | Garcia6l20/g6-web | 6e9a1f9d85f26a977407d4c895f357e5f045efb9 | [
"MIT"
] | 1 | 2021-11-06T12:36:37.000Z | 2021-11-06T12:36:37.000Z | /**
* @file cppcoro/http/htt_message.hpp
* @author Garcia Sylvain <garcia.6l20@gmail.com>
*/
#pragma once
#include <cppcoro/http/details/static_parser_handler.hpp>
#include <cppcoro/detail/is_specialization.hpp>
#include <fmt/format.h>
#include <span>
namespace cppcoro::http
{
namespace detail
{
enum
{
m... | 27.736842 | 103 | 0.631641 | Garcia6l20 |
cfff77bf78c067378423efa49bf841301e9bf67d | 1,587 | hpp | C++ | include/termox/widget/detail/pipe_utility.hpp | a-n-t-h-o-n-y/MCurses | c9184a0fefbdc4eb9a044f815ee2270e6b8f202c | [
"MIT"
] | 284 | 2017-11-07T10:06:48.000Z | 2021-01-12T15:32:51.000Z | include/termox/widget/detail/pipe_utility.hpp | a-n-t-h-o-n-y/MCurses | c9184a0fefbdc4eb9a044f815ee2270e6b8f202c | [
"MIT"
] | 38 | 2018-01-14T12:34:54.000Z | 2020-09-26T15:32:43.000Z | include/termox/widget/detail/pipe_utility.hpp | a-n-t-h-o-n-y/MCurses | c9184a0fefbdc4eb9a044f815ee2270e6b8f202c | [
"MIT"
] | 31 | 2017-11-30T11:22:21.000Z | 2020-11-03T05:27:47.000Z | #ifndef TERMOX_WIDGET_DETAIL_PIPE_UTILITY_HPP
#define TERMOX_WIDGET_DETAIL_PIPE_UTILITY_HPP
#include <memory>
#include <type_traits>
#include <termox/widget/widget.hpp>
namespace ox::pipe::detail {
/// Used to call operator| overload to create a new Range from filter predicate
template <typename Predicate>
class Fil... | 25.596774 | 79 | 0.724008 | a-n-t-h-o-n-y |
3205b4dd8cffd38079a04954c2bd51830e0387cb | 1,325 | hpp | C++ | src/endpoint.hpp | pcdangio/ros-driver_tcpip | 7e2aa0d727cd3a86ec5ddc7f3495a6f461e55702 | [
"MIT"
] | 2 | 2021-03-23T19:15:55.000Z | 2021-04-04T13:55:53.000Z | src/endpoint.hpp | pcdangio/ros-driver_tcpip | 7e2aa0d727cd3a86ec5ddc7f3495a6f461e55702 | [
"MIT"
] | 1 | 2019-07-30T01:36:43.000Z | 2019-07-31T23:52:49.000Z | src/endpoint.hpp | pcdangio/ros-driver_modem | 7e2aa0d727cd3a86ec5ddc7f3495a6f461e55702 | [
"MIT"
] | 1 | 2022-03-16T03:46:55.000Z | 2022-03-16T03:46:55.000Z | /// \file endpoint.hpp
/// \brief Defines endpoint conversion functions.
#ifndef DRIVER_TCPIP___ENDPOINT_H
#define DRIVER_TCPIP___ENDPOINT_H
#include <driver_tcpip_msgs/endpoint.h>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/ip/udp.hpp>
namespace driver_tcpip {
namespace endpoint {
// TCP
/// \brief Conve... | 36.805556 | 92 | 0.763774 | pcdangio |
3206be9b81b9a1116c7abb34a145fd6196ca4b28 | 6,678 | cpp | C++ | dev/Code/Tools/AssetBundler/tests/UtilsTests.cpp | brianherrera/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/Tools/AssetBundler/tests/UtilsTests.cpp | ArchitectureStudios/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/Tools/AssetBundler/tests/UtilsTests.cpp | ArchitectureStudios/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 44.818792 | 157 | 0.696316 | brianherrera |
3209541adc64390d9604cb4e1c314447a6d9c68d | 60 | hh | C++ | RAVL2/MSVC/include/Ravl/HEMeshBaseEdge.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/MSVC/include/Ravl/HEMeshBaseEdge.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/MSVC/include/Ravl/HEMeshBaseEdge.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null |
#include "../.././Core/Container/Graph/HEMeshBaseEdge.hh"
| 15 | 57 | 0.683333 | isuhao |
32127331669f0d118c8f3c2d68bfffd83c3d9cff | 13,169 | cpp | C++ | src/dogfood/output/text_modifier_test.cpp | lsilvest/crpcut | e9d694fb04599b72ebdcf6fea7d6ad598807ff41 | [
"BSD-2-Clause"
] | 1 | 2019-04-09T12:48:41.000Z | 2019-04-09T12:48:41.000Z | src/dogfood/output/text_modifier_test.cpp | lsilvest/crpcut | e9d694fb04599b72ebdcf6fea7d6ad598807ff41 | [
"BSD-2-Clause"
] | 2 | 2020-05-06T16:22:07.000Z | 2020-05-07T04:02:41.000Z | src/dogfood/output/text_modifier_test.cpp | lsilvest/crpcut | e9d694fb04599b72ebdcf6fea7d6ad598807ff41 | [
"BSD-2-Clause"
] | 1 | 2019-04-10T12:47:11.000Z | 2019-04-10T12:47:11.000Z | /*
* Copyright 2012 Bjorn Fahller <bjorn@fahller.se>
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this ... | 35.980874 | 90 | 0.62594 | lsilvest |
3212a591afacd990ed550c13bbdfa5b4c1bb3425 | 42 | cpp | C++ | testStateMachine/IWaveFile.cpp | wp4398151/TestApp | 7dffb4ca275801043f9e911f4f699dfaa1e906ae | [
"Apache-2.0"
] | null | null | null | testStateMachine/IWaveFile.cpp | wp4398151/TestApp | 7dffb4ca275801043f9e911f4f699dfaa1e906ae | [
"Apache-2.0"
] | null | null | null | testStateMachine/IWaveFile.cpp | wp4398151/TestApp | 7dffb4ca275801043f9e911f4f699dfaa1e906ae | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "IWaveFile.h" | 21 | 22 | 0.738095 | wp4398151 |
3215df03438b6a784c0dd3c350199cccc67cc4b6 | 2,674 | cpp | C++ | file-commander-core/src/diskenumerator/cvolumeenumerator_impl_win.cpp | treehugging-green-wolf/file-commander | 5e6f5372e70de68981d0001035a6d2a110293ebb | [
"Apache-2.0"
] | null | null | null | file-commander-core/src/diskenumerator/cvolumeenumerator_impl_win.cpp | treehugging-green-wolf/file-commander | 5e6f5372e70de68981d0001035a6d2a110293ebb | [
"Apache-2.0"
] | null | null | null | file-commander-core/src/diskenumerator/cvolumeenumerator_impl_win.cpp | treehugging-green-wolf/file-commander | 5e6f5372e70de68981d0001035a6d2a110293ebb | [
"Apache-2.0"
] | null | null | null | #include "cvolumeenumerator.h"
#include "../filesystemhelpers/filesystemhelpers.hpp"
#include "windows/windowsutils.h"
#include "utility/on_scope_exit.hpp"
#include "system/ctimeelapsed.h"
#include <Windows.h>
DISABLE_COMPILER_WARNINGS
#include <QDebug>
RESTORE_COMPILER_WARNINGS
inline QString parseVolumePathFromPa... | 28.147368 | 163 | 0.720269 | treehugging-green-wolf |
32178875fc21b22adee573655bbad49a88e00cb7 | 1,125 | cpp | C++ | LCM of n nos.cpp | Kunal-Attri/Maths-Codes-Cpp | 1aec8a9a9a30b50c09c9dbaebb0008687b51a386 | [
"Apache-2.0"
] | null | null | null | LCM of n nos.cpp | Kunal-Attri/Maths-Codes-Cpp | 1aec8a9a9a30b50c09c9dbaebb0008687b51a386 | [
"Apache-2.0"
] | null | null | null | LCM of n nos.cpp | Kunal-Attri/Maths-Codes-Cpp | 1aec8a9a9a30b50c09c9dbaebb0008687b51a386 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "Basic_Functions.h"
using namespace std;
int main() {
int t;
cout << "Numbers of numbers: ";
cin >> t;
int x[t];
cout << "Numbers: ";
for (int i = 0; i < t; i++) {
cin >> x[i];
}
// LCM function
int larger = x[0];
for (int i = 0; i < t... | 20.833333 | 44 | 0.364444 | Kunal-Attri |
321916c75aa69ce94b9c77f9fd3c81404f44abb9 | 3,076 | cpp | C++ | engine/generators/fortresses/source/MotteBaileyCastleGeneratorStrategy.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | engine/generators/fortresses/source/MotteBaileyCastleGeneratorStrategy.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | engine/generators/fortresses/source/MotteBaileyCastleGeneratorStrategy.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #include "MotteBaileyCastleGeneratorStrategy.hpp"
#include "CoordUtils.hpp"
#include "DirectionUtils.hpp"
#include "GeneratorUtils.hpp"
#include "TileGenerator.hpp"
#include "RNG.hpp"
using namespace std;
const int MotteBaileyCastleGeneratorStrategy::MIN_MOTTE_WIDTH = 8;
const int MotteBaileyCastleGeneratorStrategy::... | 37.060241 | 147 | 0.75 | sidav |
321f220edd4592091688930651afe19b4974173b | 3,113 | cpp | C++ | agent/messages/messages.cpp | vs49688/nimrodg-agent | 9afdb6f84c2fa4f588f73cd4dd0ef9065fbc8931 | [
"Apache-2.0"
] | 1 | 2020-07-21T18:17:28.000Z | 2020-07-21T18:17:28.000Z | agent/messages/messages.cpp | vs49688/nimrodg-agent | 9afdb6f84c2fa4f588f73cd4dd0ef9065fbc8931 | [
"Apache-2.0"
] | 4 | 2019-05-23T05:39:14.000Z | 2019-06-17T08:07:35.000Z | agent/messages/messages.cpp | vs49688/nimrodg-agent | 9afdb6f84c2fa4f588f73cd4dd0ef9065fbc8931 | [
"Apache-2.0"
] | null | null | null | /*
* Nimrod/G Agent
* https://github.com/UQ-RCC/nimrodg-agent
*
* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2019 The University of Queensland
*
* 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 ... | 23.946154 | 144 | 0.761323 | vs49688 |
32200a137c740c636e320e64d84e85856db410c3 | 4,090 | hpp | C++ | VSDataReduction/VBFHiLoCalc.hpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | 1 | 2018-04-17T14:03:36.000Z | 2018-04-17T14:03:36.000Z | VSDataReduction/VBFHiLoCalc.hpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | VSDataReduction/VBFHiLoCalc.hpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | //-*-mode:c++; mode:font-lock;-*-
/*! \file VBFHiLoCalc.hpp
Class designed for use with logain.cpp...
\author Timothy C. Arlen \n
UCLA \n
arlen@astro.ucla.edu \n
\author Stephen Fegan \n
UCLA ... | 30.073529 | 79 | 0.513447 | sfegan |
322698c34888563a503d92cc8ff04842291fad3f | 16,685 | cpp | C++ | src/Algorithm/DataStructure/CoresetTree.cpp | intellistream/Sesame | efbd40084c591059af851f71bdafd96ab021f524 | [
"MIT"
] | null | null | null | src/Algorithm/DataStructure/CoresetTree.cpp | intellistream/Sesame | efbd40084c591059af851f71bdafd96ab021f524 | [
"MIT"
] | 48 | 2022-03-14T09:33:09.000Z | 2022-03-31T08:41:46.000Z | src/Algorithm/DataStructure/CoresetTree.cpp | intellistream/Sesame | efbd40084c591059af851f71bdafd96ab021f524 | [
"MIT"
] | null | null | null | // Copyright (C) 2021 by the IntelliStream team (https://github.com/intellistream)
//
// Created by Shuhao Zhang on 19/07/2021.
//
#include <Algorithm/DataStructure/CoresetTree.hpp>
#include <Utils/Logger.hpp>
#include <Utils/UtilityFunctions.hpp>
#include <Algorithm/DataStructure/DataStructureFactory.hpp>
// TODO: ... | 30.670956 | 114 | 0.60875 | intellistream |
322713e384e250dd9e0f0a2f5d169e98dca4a2dc | 1,301 | hpp | C++ | include/armadillo_bits/fn_chol.hpp | jshahbazi/mnist-cpp | d757d07c03b2c24df94af4c0762b99db21c21538 | [
"MIT"
] | 80 | 2015-06-23T04:51:27.000Z | 2022-03-09T08:15:36.000Z | include/armadillo_bits/fn_chol.hpp | jshahbazi/mnist-cpp | d757d07c03b2c24df94af4c0762b99db21c21538 | [
"MIT"
] | 4 | 2017-06-18T03:40:48.000Z | 2018-10-31T09:55:32.000Z | include/armadillo_bits/fn_chol.hpp | jshahbazi/mnist-cpp | d757d07c03b2c24df94af4c0762b99db21c21538 | [
"MIT"
] | 37 | 2015-08-20T03:26:28.000Z | 2022-03-08T10:54:49.000Z | // Copyright (C) 2009-2014 Conrad Sanderson
// Copyright (C) 2009-2014 NICTA (www.nicta.com.au)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//! \addtogroup ... | 20.015385 | 102 | 0.626441 | jshahbazi |
32294654fc73d538f1c8b788abe1a0c0766a6f1e | 6,599 | cc | C++ | services/resource_coordinator/coordination_unit/system_coordination_unit_impl.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | services/resource_coordinator/coordination_unit/system_coordination_unit_impl.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | services/resource_coordinator/coordination_unit/system_coordination_unit_impl.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/resource_coordinator/coordination_unit/system_coordination_unit_impl.h"
#include "services/resource_coordinator/coordination_unit/fram... | 42.301282 | 91 | 0.69753 | zipated |
322bb019718b72e28848ecc4d12693e62deb593b | 2,995 | cpp | C++ | Uncategorized/nccc6s3.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | Uncategorized/nccc6s3.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | Uncategorized/nccc6s3.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const short MM = 104, SS = 52;
int X, Y, N;
int mx[] = {0, 1, -1, 0, 0}, my[] = {0, 0, 0, 1, -1};
struct st{
short x, y, vx, vy;
} start, ed;
queue<st> q;
unsigned short dis[MM][MM][MM][MM];
bool no[MM][MM];
int gcd(int a, int b){
if (a ==... | 25.168067 | 123 | 0.323539 | crackersamdjam |
7a86da3dfbdcfcb9422bed08230b16c861a22c7e | 3,154 | hpp | C++ | headers/fun/instances/eq.hpp | BlackMATov/fun.hpp | 11b208996c3c3784d31afb6463b34d5b68b47bd4 | [
"MIT"
] | 12 | 2019-01-07T05:55:35.000Z | 2020-04-21T08:37:25.000Z | headers/fun/instances/eq.hpp | BlackMATov/fun.hpp | 11b208996c3c3784d31afb6463b34d5b68b47bd4 | [
"MIT"
] | 1 | 2019-01-07T08:53:56.000Z | 2019-01-07T08:53:56.000Z | headers/fun/instances/eq.hpp | BlackMATov/fun.hpp | 11b208996c3c3784d31afb6463b34d5b68b47bd4 | [
"MIT"
] | 1 | 2019-01-08T07:51:30.000Z | 2019-01-08T07:51:30.000Z | /*******************************************************************************
* This file is part of the "https://github.com/blackmatov/fun.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2019-2020, by Matvey Cherevko (blackmatov@gmail.com)
**********************... | 24.640625 | 80 | 0.509829 | BlackMATov |
7a8ed42e228158fb6a61f9bbf487114a4167aad2 | 1,201 | cpp | C++ | coast/modules/CacheHandler/Test/CallLdapCacheAction.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | coast/modules/CacheHandler/Test/CallLdapCacheAction.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | coast/modules/CacheHandler/Test/CallLdapCacheAction.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland
* All rights reserved.
*
* This library/application is free software; you can redistribute and/or modify it under the terms of
* the license that is included with this library/application in the file license.txt.... | 36.393939 | 102 | 0.701082 | zer0infinity |
7a935b1361d3d8d8fc90d329a480a73e9668aab2 | 2,056 | cpp | C++ | lib/widgets/TWizard.cpp | Tarsnap/tarsnap-gui | 60a1d7816747ac71a4573673df8ee1b81ef1cb99 | [
"BSD-2-Clause"
] | 270 | 2015-06-11T05:08:56.000Z | 2022-03-26T08:48:00.000Z | lib/widgets/TWizard.cpp | Tarsnap/tarsnap-gui | 60a1d7816747ac71a4573673df8ee1b81ef1cb99 | [
"BSD-2-Clause"
] | 154 | 2015-06-10T21:28:54.000Z | 2021-11-10T19:08:08.000Z | lib/widgets/TWizard.cpp | Tarsnap/tarsnap-gui | 60a1d7816747ac71a4573673df8ee1b81ef1cb99 | [
"BSD-2-Clause"
] | 28 | 2015-06-11T00:09:26.000Z | 2021-12-19T04:43:26.000Z | #include "TWizard.h"
WARNINGS_DISABLE
#include <QDialog>
#include <QLabel>
#include <QStackedWidget>
#include <QWidget>
#include "ui_TWizard.h"
WARNINGS_ENABLE
#include "TWizardPage.h"
TWizard::TWizard(QWidget *parent)
: QDialog(parent), _ui(new Ui::TWizard), _maxPageInitialized(-1)
{
_ui->setupUi(this);
}
... | 20.356436 | 76 | 0.672179 | Tarsnap |
7a93f7d3ed34d0333accea20df6d917d3a67ccb9 | 918 | hpp | C++ | src/Game.hpp | ingmarinho/wappie-jump | b869825222997c4ff068e03fe02e2b94ecd5e450 | [
"BSL-1.0"
] | null | null | null | src/Game.hpp | ingmarinho/wappie-jump | b869825222997c4ff068e03fe02e2b94ecd5e450 | [
"BSL-1.0"
] | null | null | null | src/Game.hpp | ingmarinho/wappie-jump | b869825222997c4ff068e03fe02e2b94ecd5e450 | [
"BSL-1.0"
] | null | null | null | #pragma once
#include <memory>
#include <string>
#include <SFML/Graphics.hpp>
#include "StateMachine.hpp"
#include "AssetManager.hpp"
#include "InputManager.hpp"
/// @file
namespace WappieJump
{
/// saves all the data about the game's current state,
/// and contains important information for the game to be able to... | 20.863636 | 70 | 0.712418 | ingmarinho |
7a9539d0481a613147586be0fbedf98b16a449fe | 2,942 | cpp | C++ | submods/amrex/Tests/Amr/Advection_AmrCore/Source/DefineVelocity.cpp | ndevelder/amr-wind-channel-les | 51b048ba30a5ed3ac1bd055e807f4d59a64a45ea | [
"BSD-3-Clause"
] | null | null | null | submods/amrex/Tests/Amr/Advection_AmrCore/Source/DefineVelocity.cpp | ndevelder/amr-wind-channel-les | 51b048ba30a5ed3ac1bd055e807f4d59a64a45ea | [
"BSD-3-Clause"
] | null | null | null | submods/amrex/Tests/Amr/Advection_AmrCore/Source/DefineVelocity.cpp | ndevelder/amr-wind-channel-les | 51b048ba30a5ed3ac1bd055e807f4d59a64a45ea | [
"BSD-3-Clause"
] | null | null | null | #include <AmrCoreAdv.H>
#include <Kernels.H>
#include <AMReX_MultiFabUtil.H>
using namespace amrex;
void
AmrCoreAdv::DefineVelocityAllLevels (Real time)
{
for (int lev = 0; lev <= finest_level; ++lev)
DefineVelocityAtLevel(lev,time);
}
void
AmrCoreAdv::DefineVelocityAtLevel (int lev, Real time)
{
co... | 38.207792 | 108 | 0.449354 | ndevelder |
7a9a6c5dadbb470f402bcfc0801010684154f711 | 28,521 | cpp | C++ | enduser/netmeeting/av/nac/sendaudio.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | enduser/netmeeting/av/nac/sendaudio.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | enduser/netmeeting/av/nac/sendaudio.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "precomp.h"
#include "dtmf.h"
HRESULT
SendAudioStream::Initialize( DataPump *pDP)
{
HRESULT hr = DPR_OUT_OF_MEMORY;
DWORD dwFlags = DP_FLAG_FULL_DUPLEX | DP_FLAG_AUTO_SWITCH ;
MEDIACTRLINIT mcInit;
FX_ENTRY ("SendAudioStream::Initialize")
dwFlags |= DP_FLAG_ACM | DP_FLAG_MMSYSTEM | DP_FLAG... | 26.214154 | 385 | 0.685775 | npocmaka |
7a9c337d7c6432a75726145264e75e582727722c | 7,103 | cpp | C++ | qtsvg/src/plugins/imageformats/svg/qsvgiohandler.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qtsvg/src/plugins/imageformats/svg/qsvgiohandler.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qtsvg/src/plugins/imageformats/svg/qsvgiohandler.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Q... | 26.405204 | 103 | 0.589751 | wgnet |
7aa351f30a9379d173bb62c5ceef359d6f042d73 | 1,053 | cpp | C++ | src/MCMC.cpp | Chrom3D/Chrom3D | e6b78e679d788d9822a3258c7a9c06ca4edcafc6 | [
"MIT"
] | 25 | 2018-02-13T03:55:06.000Z | 2021-12-13T06:47:53.000Z | src/MCMC.cpp | Chrom3D/Chrom3D | e6b78e679d788d9822a3258c7a9c06ca4edcafc6 | [
"MIT"
] | 31 | 2017-11-27T14:40:17.000Z | 2022-03-28T10:38:38.000Z | src/MCMC.cpp | Chrom3D/Chrom3D | e6b78e679d788d9822a3258c7a9c06ca4edcafc6 | [
"MIT"
] | 11 | 2018-04-19T14:43:40.000Z | 2022-03-29T08:37:44.000Z | #include "MCMC.h"
MCMC::MCMC(Model& mod): model(mod) { }
bool MCMC::doMetropolisHastingsStep(double T /*=1*/, uint maxAttempts /*=10000*/) {
uint i=0;
bool success = false;
while(i < maxAttempts and !success) {
try {
Move proposedMove = model.proposeMove(); // Idea: if this fails (no move propose... | 33.967742 | 149 | 0.662868 | Chrom3D |
7aa39c5b08b4cd2ad8ed6d56af327167a3f4f511 | 2,499 | hpp | C++ | include/hfn/fnv1a.hpp | obhi-d/hfn | 692203a25a13214ba8a0e2feddb8d6e78275c860 | [
"MIT"
] | null | null | null | include/hfn/fnv1a.hpp | obhi-d/hfn | 692203a25a13214ba8a0e2feddb8d6e78275c860 | [
"MIT"
] | null | null | null | include/hfn/fnv1a.hpp | obhi-d/hfn | 692203a25a13214ba8a0e2feddb8d6e78275c860 | [
"MIT"
] | null | null | null | #pragma once
#include "config.hpp"
#include "detail/fnv1a.hpp"
#include <type_traits>
namespace hfn::fnv1a
{
template <typename fnvt>
inline auto seed(fnvt initial = 0) noexcept
{
using type = std::remove_cv_t<std::remove_reference_t<fnvt>>;
return (initial) ? (detail::fnv1a<sizeof(type)>::offset ^ initial) * det... | 22.926606 | 105 | 0.67547 | obhi-d |
7aa7479d9938d0220c832e76c78fbb5b43de539e | 7,268 | cpp | C++ | filters/ffmpeg/ffmpegSwScale.cpp | InfiniteInteractive/LimitlessSDK | cb71dde14d8c59cbf8a1ece765989c5787fffefa | [
"MIT"
] | 3 | 2017-05-13T20:36:03.000Z | 2021-07-16T17:23:01.000Z | filters/ffmpeg/ffmpegSwScale.cpp | InfiniteInteractive/LimitlessSDK | cb71dde14d8c59cbf8a1ece765989c5787fffefa | [
"MIT"
] | null | null | null | filters/ffmpeg/ffmpegSwScale.cpp | InfiniteInteractive/LimitlessSDK | cb71dde14d8c59cbf8a1ece765989c5787fffefa | [
"MIT"
] | 2 | 2016-08-04T00:16:50.000Z | 2017-09-07T14:50:03.000Z | #include "FfmpegSwScale.h"
#include "QtComponents/QtPluginView.h"
#include "Media/MediaPad.h"
#include "Media/MediaSampleFactory.h"
#include "Media/ImageSample.h"
#include "ffmpegResources.h"
#include "ffmpegControls.h"
#include "ffmpegPacketSample.h"
#include <boost/foreach.hpp>
#include <boost/tokenizer.hpp>
exte... | 25.324042 | 155 | 0.7306 | InfiniteInteractive |
7aa7e44a7449c151f76a354bcbdd4b68d6780cf8 | 1,663 | hh | C++ | src/search.hh | grencez/protocon | 0ca25d832f7222f4154507d974bf9213e0cf26d3 | [
"0BSD"
] | 7 | 2015-10-16T18:56:01.000Z | 2022-01-17T21:19:08.000Z | src/search.hh | czlynn/protocon | aa520f9edf3be7ff458f96e88cd2dab1eec4c505 | [
"0BSD"
] | 19 | 2015-09-27T17:37:21.000Z | 2021-07-26T06:50:12.000Z | src/search.hh | czlynn/protocon | aa520f9edf3be7ff458f96e88cd2dab1eec4c505 | [
"0BSD"
] | 1 | 2020-09-02T22:29:01.000Z | 2020-09-02T22:29:01.000Z |
#ifndef SEARCH_HH_
#define SEARCH_HH_
#include "cx/synhax.hh"
#include "cx/alphatab.hh"
#include "cx/table.hh"
#include "namespace.hh"
class AddConvergenceOpt;
class ConflictFamily;
class PartialSynthesis;
class ProtoconFileOpt;
class ProtoconOpt;
class SynthesisCtx;
bool
AddStabilization(vector<uint>& ret_actions,... | 27.716667 | 79 | 0.678292 | grencez |
7aa89788f5fe20d8ab4751443f22855dbe48aab7 | 130 | cpp | C++ | src/drivers/distance_sensor/ll40ls/LidarLiteI2C.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | src/drivers/distance_sensor/ll40ls/LidarLiteI2C.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | src/drivers/distance_sensor/ll40ls/LidarLiteI2C.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:d962303659f52f13ea58ddbae625bd8a310a0dc6ef83cc5dfa45ca99a34ed6d4
size 13664
| 32.5 | 75 | 0.884615 | Diksha-agg |
7aaa233b81c179178b199f72c83c2d66ef249e8a | 13,009 | cpp | C++ | src/core/vl53l1_wait.cpp | rneurink/VL53L1X_FULL_API | ee8097ce27937bdf3b8f08d28fdee7658b4d9039 | [
"BSD-3-Clause"
] | 2 | 2020-07-25T20:56:23.000Z | 2020-08-25T23:54:21.000Z | src/core/vl53l1_wait.cpp | rneurink/VL53L1X_FULL_API | ee8097ce27937bdf3b8f08d28fdee7658b4d9039 | [
"BSD-3-Clause"
] | null | null | null | src/core/vl53l1_wait.cpp | rneurink/VL53L1X_FULL_API | ee8097ce27937bdf3b8f08d28fdee7658b4d9039 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2017, STMicroelectronics - All Rights Reserved
*
* This file is part of VL53L1 Core and is dual licensed,
* either 'STMicroelectronics
* Proprietary license'
* or 'BSD 3-clause "New" or "Revised" License' , at your option.
*
****************************************************************************... | 23.271914 | 80 | 0.707433 | rneurink |
7aba39f17e6717500f0cfe709c147d6d13e017dd | 29,063 | cpp | C++ | medusa_control/outer_loops_controllers/path_following/src/ros/PathFollowingServices.cpp | gshubham96/medusa_base | 1f6e8776ac115951eea13d227ce8c370abd2ea0e | [
"MIT"
] | null | null | null | medusa_control/outer_loops_controllers/path_following/src/ros/PathFollowingServices.cpp | gshubham96/medusa_base | 1f6e8776ac115951eea13d227ce8c370abd2ea0e | [
"MIT"
] | 1 | 2022-02-21T16:50:47.000Z | 2022-02-21T16:50:47.000Z | medusa_control/outer_loops_controllers/path_following/src/ros/PathFollowingServices.cpp | gshubham96/medusa_base | 1f6e8776ac115951eea13d227ce8c370abd2ea0e | [
"MIT"
] | 2 | 2022-02-02T11:00:14.000Z | 2022-03-01T08:42:05.000Z | #include "PathFollowingNode.h"
/**
* @brief A method for initializing all the services. This method is called by
* the constructor of the PathNode class upon creation
*/
void PathFollowingNode::initializeServices() {
ROS_INFO("Initializing Services for PathFollowingNode");
/* Get the service names for startin... | 40.03168 | 193 | 0.714861 | gshubham96 |
7abbbfc26107ee06e39ebdfdbf50df1d2c5338e6 | 10,495 | cpp | C++ | src/server.cpp | xiangp126/p2p_communication | 8ec3eb546fa4ba36876ba1e3158d98ffb9b1891f | [
"MIT"
] | null | null | null | src/server.cpp | xiangp126/p2p_communication | 8ec3eb546fa4ba36876ba1e3158d98ffb9b1891f | [
"MIT"
] | null | null | null | src/server.cpp | xiangp126/p2p_communication | 8ec3eb546fa4ba36876ba1e3158d98ffb9b1891f | [
"MIT"
] | null | null | null | #include <iostream>
#include "common.h"
#include "server.h"
pthread_mutex_t ticksLock;
pthread_mutexattr_t tickLockAttr;
using namespace std;
static ofstream logFile(LOGNAME, ofstream::app);
ostream & operator<<(ostream &out, PEERTICKTYPE &clientMap) {
out << "----------->>> List" << endl;
auto iter = client... | 32.391975 | 78 | 0.471558 | xiangp126 |
7ac01e8914174a0a35459daf870a7b216cc715e8 | 261 | hpp | C++ | src/Arrays.hpp | jaimedelacruz/depthOptimizer | 4845cc2d2c81c98c5d905da3fcb057c4e76ee8e9 | [
"MIT"
] | 1 | 2019-01-27T14:54:10.000Z | 2019-01-27T14:54:10.000Z | Arrays.hpp | jaimedelacruz/Arrays | 83175d8a412962a0321cb58a74707c43b11ff5b3 | [
"MIT"
] | null | null | null | Arrays.hpp | jaimedelacruz/Arrays | 83175d8a412962a0321cb58a74707c43b11ff5b3 | [
"MIT"
] | null | null | null | #ifndef ARRAYS_H
#define ARRAYS_H
#include "Arrays/Arrays_macros.hpp"
#include "Arrays/Arrays_mem.hpp"
#include "Arrays/Arrays_traits.hpp"
#include "Arrays/Arrays_internal.hpp"
#include "Arrays/Arrays_dense.hpp"
#include "Arrays/Arrays_expression.hpp"
#endif
| 21.75 | 39 | 0.800766 | jaimedelacruz |
7ac37c027b3b35973dbda5db8a45838a67b61889 | 876 | cc | C++ | Functions/reading-ifstream.cc | ULL-ESIT-IB-2021-2022/IB-class-code-examples | c17bad34c66bdc4f73862fc92ee929de9a207486 | [
"MIT"
] | 6 | 2021-11-01T19:35:17.000Z | 2022-01-14T18:13:53.000Z | Functions/reading-ifstream.cc | ULL-ESIT-IB-2021-2022/IB-class-code-examples | c17bad34c66bdc4f73862fc92ee929de9a207486 | [
"MIT"
] | null | null | null | Functions/reading-ifstream.cc | ULL-ESIT-IB-2021-2022/IB-class-code-examples | c17bad34c66bdc4f73862fc92ee929de9a207486 | [
"MIT"
] | 6 | 2021-10-30T19:04:31.000Z | 2022-03-11T19:29:32.000Z | /**
* Universidad de La Laguna
* Escuela Superior de Ingeniería y Tecnología
* Grado en Ingeniería Informática
* Informática Básica
*
* @author F. de Sande
* @date 23 Jun 2020
* @brief I/O Reading from ifstream
*
* @see https://en.cppreference.com/w/cpp/io/manip
*/
#include <fstream> // For the file streams... | 22.461538 | 87 | 0.649543 | ULL-ESIT-IB-2021-2022 |
7ac3d3fdfacd6041fe03c97acf4e8cb79441e28c | 3,541 | cpp | C++ | Vandevoorde/Rozdzial 06/6.16-atoi.cpp | antonitomaszewski/Jezyk-C- | 596b5f3add6698ffee3a485a727db3b6e3cf5b0a | [
"MIT"
] | null | null | null | Vandevoorde/Rozdzial 06/6.16-atoi.cpp | antonitomaszewski/Jezyk-C- | 596b5f3add6698ffee3a485a727db3b6e3cf5b0a | [
"MIT"
] | null | null | null | Vandevoorde/Rozdzial 06/6.16-atoi.cpp | antonitomaszewski/Jezyk-C- | 596b5f3add6698ffee3a485a727db3b6e3cf5b0a | [
"MIT"
] | null | null | null | /* NIEROZUMIEM */
#include <iostream>
#include <stdexcept>
#include <string>
#include <limits>
using std::domain_error;
using std::range_error;
using std::string;
namespace {
/* NIEROZUMIEM */
inline int cyfra (char c, int podstawa) {
int wartosc;
switch (c) {
case '0': wartosc = 0; break;
... | 34.715686 | 121 | 0.493081 | antonitomaszewski |
7ac6262f1b39ea358b994bff0c1cea9c74a13af9 | 3,472 | cpp | C++ | Convert/src/M2/file_loader.cpp | blackdragonx61/M2-JSON-CONVERTER | 9e125586b698daaf32ad1e96c0bc38b6bdd2aca3 | [
"MIT"
] | 4 | 2021-09-22T21:34:04.000Z | 2022-03-04T15:47:37.000Z | Convert/src/M2/file_loader.cpp | blackdragonx61/M2-JSON-CONVERTER | 9e125586b698daaf32ad1e96c0bc38b6bdd2aca3 | [
"MIT"
] | null | null | null | Convert/src/M2/file_loader.cpp | blackdragonx61/M2-JSON-CONVERTER | 9e125586b698daaf32ad1e96c0bc38b6bdd2aca3 | [
"MIT"
] | null | null | null | #include "file_loader.h"
#include <assert.h>
CMemoryTextFileLoader::CMemoryTextFileLoader()
{
}
CMemoryTextFileLoader::~CMemoryTextFileLoader()
{
}
bool CMemoryTextFileLoader::SplitLineByTab(DWORD dwLine, TTokenVector* pstTokenVector)
{
pstTokenVector->reserve(10);
pstTokenVector->clear();
const std::string& c_r... | 19.18232 | 121 | 0.679435 | blackdragonx61 |