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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7c569fc6951a6b65662c0e50b7d62eeef290b101 | 3,504 | cpp | C++ | src/static/INDI2/oldEIRlibs/eirFrameSource/FrameSourceManager.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | null | null | null | src/static/INDI2/oldEIRlibs/eirFrameSource/FrameSourceManager.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | 14 | 2016-11-24T10:46:39.000Z | 2016-12-10T07:24:15.000Z | src4/static/INDI2/oldEIRlibs/eirFrameSource/FrameSourceManager.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | null | null | null | #include "FrameSourceManager.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QDir>
#include <QtCore/QPluginLoader>
#include <QtCore/QStringList>
#include <QtCore/QUrl>
#include "../eirExe/Log.h"
#include "../eirExe/Results.h"
#include "FrameSourcePlugin.h"
#include "HttpBehavior.h"
#include "LiveDirBehavior.... | 28.721311 | 75 | 0.593037 | eirTony |
7c574863d66384022d1af66faa435f11a0fa7ad7 | 7,130 | cpp | C++ | src/resourceManager.cpp | ECToo/knowledge | ed6a51b9c7a119f453acb8b1151cbf6aa43f3099 | [
"MIT"
] | null | null | null | src/resourceManager.cpp | ECToo/knowledge | ed6a51b9c7a119f453acb8b1151cbf6aa43f3099 | [
"MIT"
] | null | null | null | src/resourceManager.cpp | ECToo/knowledge | ed6a51b9c7a119f453acb8b1151cbf6aa43f3099 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2008-2009 Rômulo Fernandes Machado <romulo@castorgroup.net>
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, co... | 20.429799 | 79 | 0.662412 | ECToo |
7c593e68e3238bcf0d7c3b988722d57174069ed0 | 4,643 | cc | C++ | P3/p2pCampusHelper.cc | kasakun/Computer-Networks | 7d9ebbcc01104fb79a0cca466b23b45f4775afa8 | [
"MIT"
] | 1 | 2017-11-10T19:35:36.000Z | 2017-11-10T19:35:36.000Z | P3/p2pCampusHelper.cc | kasakun/Computer-Networks | 7d9ebbcc01104fb79a0cca466b23b45f4775afa8 | [
"MIT"
] | null | null | null | P3/p2pCampusHelper.cc | kasakun/Computer-Networks | 7d9ebbcc01104fb79a0cca466b23b45f4775afa8 | [
"MIT"
] | null | null | null | /*
Author: Zeyu Chen
*/
#include "p2pCampusHelper.h"
#include <iostream>
using namespace ns3;
PointToPointCampusHelper::PointToPointCampusHelper(uint32_t maxInner,
uint32_t maxOuter,
PointToPointHelper inner,
PointToPointHelper outer,
Ptr<UniformRandom... | 32.243056 | 117 | 0.676502 | kasakun |
7c619138e9e5b0fac8f438d7f503f67648034743 | 1,580 | hpp | C++ | source/gloperate/include/gloperate/resources/ResourceManager.hpp | apopiak/gloperate | b4194a1c3b2dc4ea1102a2c5ae3ff3b5540f31cd | [
"MIT"
] | null | null | null | source/gloperate/include/gloperate/resources/ResourceManager.hpp | apopiak/gloperate | b4194a1c3b2dc4ea1102a2c5ae3ff3b5540f31cd | [
"MIT"
] | null | null | null | source/gloperate/include/gloperate/resources/ResourceManager.hpp | apopiak/gloperate | b4194a1c3b2dc4ea1102a2c5ae3ff3b5540f31cd | [
"MIT"
] | null | null | null | #pragma once
#include <gloperate/resources/ResourceManager.h>
#include <gloperate/resources/Loader.h>
#include <gloperate/resources/Storer.h>
namespace gloperate
{
/**
* @brief
* Load resource from file
*/
template <typename T>
T * ResourceManager::load(const std::string & filename) const
{
// Get file ext... | 23.58209 | 77 | 0.607595 | apopiak |
7c61a037641f1c83d2af657e8db25257e29820a3 | 51,182 | cpp | C++ | roo_material_icons/round/48/search.cpp | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | roo_material_icons/round/48/search.cpp | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | roo_material_icons/round/48/search.cpp | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | #include "search.h"
using namespace roo_display;
// Image file ic_round_48_search_bathroom 48x48, 4-bit Alpha, RLE, 280 bytes.
static const uint8_t ic_round_48_search_bathroom_data[] PROGMEM = {
0x80, 0xB8, 0x10, 0x81, 0x19, 0xCF, 0xFF, 0xFC, 0x81, 0xC8, 0x17, 0x20, 0x10, 0xE8, 0x0C, 0x0F,
0x0D, 0x01, 0x71, 0x0A... | 75.601182 | 97 | 0.680493 | dejwk |
7c6b59f4376fd496e1f524b887f429a489899c19 | 2,585 | hpp | C++ | src/ObjectExplorer.hpp | muhopensores/RE2-Mod-Framework | 0def991b598a83a488c0be1bcf78df81e265b8b6 | [
"MIT"
] | 1 | 2020-07-17T23:16:56.000Z | 2020-07-17T23:16:56.000Z | src/ObjectExplorer.hpp | muhopensores/RE2-Mod-Framework | 0def991b598a83a488c0be1bcf78df81e265b8b6 | [
"MIT"
] | null | null | null | src/ObjectExplorer.hpp | muhopensores/RE2-Mod-Framework | 0def991b598a83a488c0be1bcf78df81e265b8b6 | [
"MIT"
] | null | null | null | #pragma once
#include <unordered_set>
#include <imgui/imgui.h>
#include "utility/Address.hpp"
#include "Mod.hpp"
class ObjectExplorer : public Mod {
public:
ObjectExplorer();
std::string_view getName() const override { return "ObjectExplorer"; };
void onDrawUI() override;
private:
void handleAddr... | 32.3125 | 113 | 0.706383 | muhopensores |
7c6f334af91369d7b421b1fef1ea6797a34c49b1 | 2,901 | cpp | C++ | dbms/src/Common/formatReadable.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 85 | 2022-03-25T09:03:16.000Z | 2022-03-25T09:45:03.000Z | dbms/src/Common/formatReadable.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 7 | 2022-03-25T08:59:10.000Z | 2022-03-25T09:40:13.000Z | dbms/src/Common/formatReadable.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 11 | 2022-03-25T09:15:36.000Z | 2022-03-25T09:45:07.000Z | // Copyright 2022 PingCAP, Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 34.535714 | 135 | 0.705963 | solotzg |
7c7134b8c7349d5c887c889aed88a20a339efc19 | 8,800 | cpp | C++ | setsmgeo.cpp | khsa1/SETSM | c97389d04f4876e503251ad58129d9905f6cfc84 | [
"Apache-2.0"
] | 48 | 2017-02-24T15:30:08.000Z | 2022-03-22T06:43:56.000Z | setsmgeo.cpp | khsa1/SETSM | c97389d04f4876e503251ad58129d9905f6cfc84 | [
"Apache-2.0"
] | 7 | 2018-01-30T18:09:34.000Z | 2022-03-11T16:00:14.000Z | setsmgeo.cpp | khsa1/SETSM | c97389d04f4876e503251ad58129d9905f6cfc84 | [
"Apache-2.0"
] | 22 | 2017-03-03T02:52:40.000Z | 2022-03-22T06:44:01.000Z | #include "setsmgeo.hpp"
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "math.h"
#include <cmath>
#define FLOAT 4
#define UCHAR 1
#define UINT16 12
#define N(a) (sizeof(a) / sizeof(a[0]))
#define GDAL_NODATA 42113
static const TIFFFieldInfo xtiffFieldInfo[] = {
{ GDAL_NODATA, -1, -1, TIFF_ASCI... | 32.835821 | 175 | 0.6175 | khsa1 |
7c729be6f9890c8e29e7edf573496782a799230f | 309 | cpp | C++ | tests/code/uid.cpp | genisysram/odil | e6b12df698ce452f9c5d86858e896e9b6d28cdf0 | [
"CECILL-B"
] | 72 | 2016-02-04T00:41:02.000Z | 2022-03-18T18:10:34.000Z | tests/code/uid.cpp | genisysram/odil | e6b12df698ce452f9c5d86858e896e9b6d28cdf0 | [
"CECILL-B"
] | 74 | 2016-01-11T16:04:46.000Z | 2021-11-18T16:36:11.000Z | tests/code/uid.cpp | genisysram/odil | e6b12df698ce452f9c5d86858e896e9b6d28cdf0 | [
"CECILL-B"
] | 23 | 2016-04-27T07:14:56.000Z | 2021-09-28T21:59:31.000Z | #define BOOST_TEST_MODULE UID
#include <boost/test/unit_test.hpp>
#include "odil/uid.h"
BOOST_AUTO_TEST_CASE(generate)
{
std::string const uid = odil::generate_uid();
BOOST_REQUIRE_LE(uid.size(), 64);
for(auto const & c: uid)
{
BOOST_REQUIRE((c>='0' && c<='9') || c == '.');
}
}
| 20.6 | 54 | 0.61165 | genisysram |
7c740370759c24ecbe6812ba8d6b0d2b2f18f0f9 | 2,689 | cpp | C++ | ex2/main.cpp | admiswalker/blog_2019_0421_OpenMP | 800b1e488f50c85e2c65d49c445fc6540cc87c72 | [
"MIT"
] | null | null | null | ex2/main.cpp | admiswalker/blog_2019_0421_OpenMP | 800b1e488f50c85e2c65d49c445fc6540cc87c72 | [
"MIT"
] | null | null | null | ex2/main.cpp | admiswalker/blog_2019_0421_OpenMP | 800b1e488f50c85e2c65d49c445fc6540cc87c72 | [
"MIT"
] | null | null | null | #include <sstd/sstd.hpp>
std::vector<double> gen_vecSin(double sample_per_mm, double A, double k, double x_begin, double x_end, double omega, double time){
std::vector<double> vecSin( (uint)sample_per_mm*(x_end-x_begin) + 1 );
for(uint i=0; i<vecSin.size(); i++){
double x = x_begin + (double) i / sample_per_mm;
... | 34.474359 | 130 | 0.651171 | admiswalker |
7c7529c08a542da91082a99d8556a3042b39976e | 300 | hpp | C++ | Data_structure/include/stack.hpp | chenzhike110/learn_ancient_cpp | 28bbf3b6c6e21d2ce7fed2583a64d84802f1fe23 | [
"MIT"
] | null | null | null | Data_structure/include/stack.hpp | chenzhike110/learn_ancient_cpp | 28bbf3b6c6e21d2ce7fed2583a64d84802f1fe23 | [
"MIT"
] | null | null | null | Data_structure/include/stack.hpp | chenzhike110/learn_ancient_cpp | 28bbf3b6c6e21d2ce7fed2583a64d84802f1fe23 | [
"MIT"
] | null | null | null | #ifndef STACK
#define STACK
template<class T>
class stack {
public:
virtual ~stack() {}
virtual bool empty() const = 0;
virtual int size() const = 0;
virtual T& top() = 0;
virtual void pop() = 0;
virtual void push(const T& Element) = 0;
};
#endif | 20 | 48 | 0.556667 | chenzhike110 |
7c7590c3ea0025e22e22424fcbb91e0a6e3c337c | 1,064 | hpp | C++ | include/conf.hpp | kaiyuhou/nprint-wlan | d8ded24a1f08087b8484f652215354f0202227f3 | [
"Apache-2.0"
] | null | null | null | include/conf.hpp | kaiyuhou/nprint-wlan | d8ded24a1f08087b8484f652215354f0202227f3 | [
"Apache-2.0"
] | null | null | null | include/conf.hpp | kaiyuhou/nprint-wlan | d8ded24a1f08087b8484f652215354f0202227f3 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright nPrint 2020
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at https://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef CONF
#define CONF
#include <cstddef>
#include <stdint.h>... | 21.714286 | 78 | 0.601504 | kaiyuhou |
7c77c47fb95575942b84fb542f0969c9d79bb757 | 4,110 | cpp | C++ | test/stdgpu/contract.cpp | stotko/stdgpu | e10f6f3ccc9902d693af4380c3bcd188ec34a2e6 | [
"Apache-2.0"
] | 686 | 2019-08-18T19:31:30.000Z | 2022-03-29T07:17:43.000Z | test/stdgpu/contract.cpp | intel-isl/stdgpu | 0091cee675bf64eddf61523108e2e53a985e51ec | [
"Apache-2.0"
] | 188 | 2019-10-29T09:50:38.000Z | 2021-07-26T14:12:13.000Z | test/stdgpu/contract.cpp | intel-isl/stdgpu | 0091cee675bf64eddf61523108e2e53a985e51ec | [
"Apache-2.0"
] | 41 | 2019-10-29T09:56:30.000Z | 2022-03-31T08:38:50.000Z | /*
* Copyright 2020 Patrick Stotko
* 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... | 26.688312 | 161 | 0.691971 | stotko |
7c7a13dbb15ce04de2435cddbcd3b5dc419ff891 | 2,487 | hpp | C++ | core/partition/indexed_seq_partition.hpp | Yuzhen11/tangram | 67b06a0d2b23c3e263044b6e4d293e263dae7a94 | [
"Apache-2.0"
] | 14 | 2019-05-14T05:26:45.000Z | 2021-08-06T00:10:13.000Z | core/partition/indexed_seq_partition.hpp | animeshtrivedi/tangram | 67b06a0d2b23c3e263044b6e4d293e263dae7a94 | [
"Apache-2.0"
] | 1 | 2021-11-10T13:24:29.000Z | 2021-11-10T13:24:29.000Z | core/partition/indexed_seq_partition.hpp | animeshtrivedi/tangram | 67b06a0d2b23c3e263044b6e4d293e263dae7a94 | [
"Apache-2.0"
] | 2 | 2019-05-10T03:02:06.000Z | 2019-06-28T12:32:26.000Z | #pragma once
#include "core/partition/seq_partition.hpp"
#include <vector>
#include <unordered_map>
#include <algorithm>
namespace xyz {
/*
* Largely borrowed from objlist.hpp from Husky project.
* Use an unordered_map to track the unsorted part.
* Requires ObjT to be in the form { ObjT::KeyT, ObjT::ValT }.
* O... | 26.741935 | 124 | 0.629272 | Yuzhen11 |
75ac881f24d9ad31d2dae81b4860d40f0e874f2b | 1,429 | cpp | C++ | aws-cpp-sdk-managedblockchain/source/model/MemberFabricAttributes.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-managedblockchain/source/model/MemberFabricAttributes.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-managedblockchain/source/model/MemberFabricAttributes.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-03-23T15:17:18.000Z | 2022-03-23T15:17:18.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/managedblockchain/model/MemberFabricAttributes.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
name... | 19.053333 | 78 | 0.746676 | Neusoft-Technology-Solutions |
75ad124db63677e15f6439254c71a421dec1576f | 2,357 | cpp | C++ | explorer_ui/src/mainwindow.cpp | NaiveCoder1999/nwpu_explorer_2019 | 3a68c40ae4f148cabe381df19d7d0bfd53bf7877 | [
"MIT"
] | 1 | 2021-05-03T05:01:34.000Z | 2021-05-03T05:01:34.000Z | explorer_ui/src/mainwindow.cpp | NaiveCoder1999/nwpu_explorer_2019 | 3a68c40ae4f148cabe381df19d7d0bfd53bf7877 | [
"MIT"
] | null | null | null | explorer_ui/src/mainwindow.cpp | NaiveCoder1999/nwpu_explorer_2019 | 3a68c40ae4f148cabe381df19d7d0bfd53bf7877 | [
"MIT"
] | 1 | 2019-11-25T10:14:22.000Z | 2019-11-25T10:14:22.000Z | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "qterminal.h"
#include "qroscam.h"
#include "explorer_ui_control.h"
#include "explorer_ui_ability.h"
#include "qexplorerserver.h"
#include "pingtest.h"
#include <QDebug>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWi... | 26.784091 | 119 | 0.71574 | NaiveCoder1999 |
75af4e8d4f1164c9d0b35ea1d1101e80fcc652eb | 10,086 | cpp | C++ | src/generator/snippetfactory.cpp | ikitayama/cobi | e9bc4a5675ead1874ad9ffa953de8edb3a763479 | [
"BSD-3-Clause"
] | null | null | null | src/generator/snippetfactory.cpp | ikitayama/cobi | e9bc4a5675ead1874ad9ffa953de8edb3a763479 | [
"BSD-3-Clause"
] | null | null | null | src/generator/snippetfactory.cpp | ikitayama/cobi | e9bc4a5675ead1874ad9ffa953de8edb3a763479 | [
"BSD-3-Clause"
] | 1 | 2018-12-14T02:45:41.000Z | 2018-12-14T02:45:41.000Z | /*****************************************************************************
** Cobi http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 2009-2010 **
** ... | 32.019048 | 119 | 0.530835 | ikitayama |
75b18bb321bc5d7cf9a2f30758f70c1cc65f3d41 | 2,251 | cpp | C++ | cpp/godot-cpp/src/gen/PrimitiveMesh.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/PrimitiveMesh.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/src/gen/PrimitiveMesh.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #include "PrimitiveMesh.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
#include "Material.hpp"
namespace godot {
PrimitiveMesh::___method_bindings PrimitiveMesh::___mb = {};
void PrimitiveMesh::___init_method_binding... | 35.730159 | 115 | 0.791204 | GDNative-Gradle |
75b1e5737e97837218e88a055f70b998b29c048e | 7,961 | cpp | C++ | L1Trigger/L1TMuonEndCap/src/core_gen_summer_2013/ph_pattern.cpp | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TMuonEndCap/src/core_gen_summer_2013/ph_pattern.cpp | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TMuonEndCap/src/core_gen_summer_2013/ph_pattern.cpp | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | // This C++ source file was automatically generated
// by VPPC from a Verilog HDL project.
// VPPC web-page: http://www.phys.ufl.edu/~madorsky/vppc/
// Author : madorsky
// Timestamp : Thu Mar 12 14:54:01 2015
#include "ph_pattern.h"
extern size_t __glob_alwaysn__;
void ph_pattern::operator()
(
signal_& st1__io... | 27.642361 | 105 | 0.563999 | pasmuss |
75b20b34e46ab9073ba9da9da3f6f7be5256eb99 | 1,165 | cpp | C++ | graph/src/pos.cpp | Kei18/grid-pathfinding | f444df84459258d7b4d8ceffdbbf2e201b042a68 | [
"MIT"
] | 2 | 2021-08-16T08:13:35.000Z | 2022-03-11T05:52:27.000Z | graph/src/pos.cpp | Kei18/grid-pathfinding | f444df84459258d7b4d8ceffdbbf2e201b042a68 | [
"MIT"
] | null | null | null | graph/src/pos.cpp | Kei18/grid-pathfinding | f444df84459258d7b4d8ceffdbbf2e201b042a68 | [
"MIT"
] | null | null | null | #include "../include/pos.hpp"
#include <cmath>
#include <iomanip>
#include <iostream>
Pos::Pos(int _x, int _y) : x(_x), y(_y) {}
Pos::~Pos() {}
void Pos::print() const
{
std::cout << "(" << std::right << std::setw(3) << x << ", " << std::right
<< std::setw(3) << y << ")";
}
void Pos::println() const
... | 16.884058 | 75 | 0.559657 | Kei18 |
75b3bb26b4830acd89ab68090c6bee29c2b8f80d | 2,097 | hpp | C++ | fw/include/pin.hpp | cednik/one-wire_sniffer | bfa8e38e6310c8a20ac48eaa711be53b3454806b | [
"MIT"
] | null | null | null | fw/include/pin.hpp | cednik/one-wire_sniffer | bfa8e38e6310c8a20ac48eaa711be53b3454806b | [
"MIT"
] | null | null | null | fw/include/pin.hpp | cednik/one-wire_sniffer | bfa8e38e6310c8a20ac48eaa711be53b3454806b | [
"MIT"
] | null | null | null | #pragma once
#include "callback.hpp"
#include "Arduino.h"
#ifndef CPUS_COUNT
#define CPUS_COUNT 2
#endif
class Pin {
public:
typedef uint8_t pin_num_t;
typedef uint8_t pin_mode_t;
typedef int intr_mode_t;
typedef uint8_t Trigger;
static constexpr pin_mode_t KEEP_CURRENT = 255;
static conste... | 25.573171 | 111 | 0.721984 | cednik |
75b3c8b3de8a618f3818cd8ce9b5a58c897875ee | 270 | cpp | C++ | node_modules/lzz-gyp/lzz-source/basl_HasTokenSameLexeme.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/basl_HasTokenSameLexeme.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/basl_HasTokenSameLexeme.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // basl_HasTokenSameLexeme.cpp
//
#include "basl_HasTokenSameLexeme.h"
#ifndef LZZ_ENABLE_INLINE
#include "basl_HasTokenSameLexeme.inl"
#endif
#define LZZ_INLINE inline
namespace basl
{
HasTokenSameLexeme::~ HasTokenSameLexeme ()
{}
}
#undef LZZ_INLINE
| 18 | 45 | 0.755556 | SuperDizor |
75b5140aa52fdaa0427e5bc0dba7458457a19b3f | 1,287 | cpp | C++ | UVa Online Judge/v108/10858.cpp | mjenrungrot/algorithm | e0e8174eb133ba20931c2c7f5c67732e4cb2b703 | [
"MIT"
] | 1 | 2021-12-08T08:58:43.000Z | 2021-12-08T08:58:43.000Z | UVa Online Judge/v108/10858.cpp | mjenrungrot/algorithm | e0e8174eb133ba20931c2c7f5c67732e4cb2b703 | [
"MIT"
] | null | null | null | UVa Online Judge/v108/10858.cpp | mjenrungrot/algorithm | e0e8174eb133ba20931c2c7f5c67732e4cb2b703 | [
"MIT"
] | null | null | null | /*=============================================================================
# Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/
# FileName: 10858.cpp
# Description: UVa Online Judge - 10858
=============================================================================*/
#include <c... | 25.235294 | 79 | 0.374514 | mjenrungrot |
75b6ecc2827c0c41d4a8fad0251872a6562499cf | 9,803 | cpp | C++ | src/mame/drivers/queen.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/queen.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/queen.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Peter Ferrie
/* Queen */
/*
Produttore STG
N.revisione
CPU main PCB is a standard EPIA
ROMs epia BIOS + solid state HD
1x VIA EPIA5000EAG (main PCB) with:
VT8231 South Bridge
VIA Eden Processor
VIA EPIA Companion Chip VT1612A (Audio CODEC)
VIA EPIA Companion Chip VT61... | 30.538941 | 137 | 0.718862 | Robbbert |
75b73c5d9db233d2cb3a69aa7730b5c5003ba70b | 966 | cc | C++ | ishxiao/2336/13279089_AC_16MS_724K.cc | ishx/poj | b4e5498117d7c8fc3d96eca2fa7f71f2dfa13c2d | [
"MIT"
] | null | null | null | ishxiao/2336/13279089_AC_16MS_724K.cc | ishx/poj | b4e5498117d7c8fc3d96eca2fa7f71f2dfa13c2d | [
"MIT"
] | null | null | null | ishxiao/2336/13279089_AC_16MS_724K.cc | ishx/poj | b4e5498117d7c8fc3d96eca2fa7f71f2dfa13c2d | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int n, t, m;
void SolveGreedy()
{
int l = m % n;
int k = m / n;
int time_now; //当前船只来到原岸的时间
int time_return = 0; //前一组运送渡船的返回时间
int trans_times = k;
if (l) {
trans_times += 1;
for (int i = 0; i < l; i++)
... | 25.421053 | 60 | 0.417184 | ishx |
75b7b9c71e4f39df31ec65ad52140fb0666cccd2 | 73,086 | cpp | C++ | tests/das_tests/license_tests.cpp | powerchain-ltd/greenpower-blockchain | ff04c37f2de11677c3a34889fdede1256a3e5e02 | [
"MIT"
] | 1 | 2021-07-26T02:42:01.000Z | 2021-07-26T02:42:01.000Z | tests/das_tests/license_tests.cpp | green-powerchain-ltd/greenpower-blockchain | ff04c37f2de11677c3a34889fdede1256a3e5e02 | [
"MIT"
] | null | null | null | tests/das_tests/license_tests.cpp | green-powerchain-ltd/greenpower-blockchain | ff04c37f2de11677c3a34889fdede1256a3e5e02 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2018 Tech Solutions Malta LTD
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | 47.489279 | 182 | 0.718017 | powerchain-ltd |
75bae19247f8763d854df4d2a17685907de5593d | 18,924 | inl | C++ | public/sdk/inc/mfc42/afxole.inl | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | public/sdk/inc/mfc42/afxole.inl | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | public/sdk/inc/mfc42/afxole.inl | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
/... | 43.704388 | 89 | 0.740435 | npocmaka |
75c102afad795ec901a63a091ad77763c4f54e5a | 1,121 | cpp | C++ | Graphics/FacesDescription.cpp | SamirAroudj/BaseProject | 50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d | [
"BSD-3-Clause"
] | null | null | null | Graphics/FacesDescription.cpp | SamirAroudj/BaseProject | 50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d | [
"BSD-3-Clause"
] | 1 | 2019-06-19T15:55:25.000Z | 2019-06-27T07:47:27.000Z | Graphics/FacesDescription.cpp | SamirAroudj/BaseProject | 50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d | [
"BSD-3-Clause"
] | 1 | 2019-07-07T04:37:56.000Z | 2019-07-07T04:37:56.000Z | /*
* Copyright (C) 2017 by Author: Aroudj, Samir, born in Suhl, Thueringen, Germany
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the License.txt file for details.
*/
#include <cassert>
#include "Graphics/FacesDescription.h"
#include "... | 27.341463 | 107 | 0.789474 | SamirAroudj |
75c59110479330941d68685696e94f44ea3fcbe3 | 18,135 | cpp | C++ | projects/qt_camera_visualizer/lib/MathMorph.cpp | givorra/TFGacel | bde9a2f296ca5ead52e45c2c01021898a54e2ed0 | [
"CC0-1.0"
] | null | null | null | projects/qt_camera_visualizer/lib/MathMorph.cpp | givorra/TFGacel | bde9a2f296ca5ead52e45c2c01021898a54e2ed0 | [
"CC0-1.0"
] | null | null | null | projects/qt_camera_visualizer/lib/MathMorph.cpp | givorra/TFGacel | bde9a2f296ca5ead52e45c2c01021898a54e2ed0 | [
"CC0-1.0"
] | null | null | null | #include "MathMorph.h"
MathMorph::MathMorph()
{}
/*
MY_POINT_CLOUD::Ptr
MathMorph::camera_dilate(MY_POINT_CLOUD::Ptr cloud_ptr, double size)
{
//pcl::search::KdTree<MY_POINT_TYPE>::Ptr tree (new pcl::search::KdTree<MY_POINT_TYPE> ());
MY_POINT_CLOUD::Ptr cloud_out(new MY_POINT_CLOUD(*cloud_ptr));
MY_POIN... | 45.451128 | 208 | 0.5941 | givorra |
75c6cbb602055149cdb48fef1ca0af07d64f1861 | 1,329 | cpp | C++ | example/tests.cpp | M4xi1m3/std-extended | 2354e7aa4e3d32a8cd059285146af55f92b52bfa | [
"MIT"
] | 1 | 2020-12-19T22:20:43.000Z | 2020-12-19T22:20:43.000Z | example/tests.cpp | M4xi1m3/std-extended | 2354e7aa4e3d32a8cd059285146af55f92b52bfa | [
"MIT"
] | null | null | null | example/tests.cpp | M4xi1m3/std-extended | 2354e7aa4e3d32a8cd059285146af55f92b52bfa | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <chrono>
#include <thread>
#include "stde/stde.hpp"
#include "stde/log/log.hpp"
using namespace stde;
int main() {
net::init();
log::log l = log::log::get("main");
net::server_sock s(net::sock_address("0.0.0.0:12346"));
s.blocking(false);
s.reuse_a... | 25.075472 | 100 | 0.534989 | M4xi1m3 |
75c7f3a0c39058035a4eb5f0aa3e0c896d12f8a6 | 1,261 | hpp | C++ | include/boost/simd/function/cotd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/function/cotd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/function/cotd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
@copyright 2016 J.T. Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
... | 23.351852 | 100 | 0.593973 | yaeldarmon |
75c8be2e1c6af6eb50c8dcd7b49ea443a8e0554e | 2,027 | hh | C++ | utilmm/plugin/abstract_factory.hh | annaborn/utilmm | 701f0fe8312471d20dd06e567b988de2e5a67d1a | [
"CECILL-B"
] | null | null | null | utilmm/plugin/abstract_factory.hh | annaborn/utilmm | 701f0fe8312471d20dd06e567b988de2e5a67d1a | [
"CECILL-B"
] | 3 | 2015-12-22T16:59:15.000Z | 2020-03-11T12:10:19.000Z | utilmm/plugin/abstract_factory.hh | annaborn/utilmm | 701f0fe8312471d20dd06e567b988de2e5a67d1a | [
"CECILL-B"
] | 2 | 2015-12-22T14:26:35.000Z | 2020-02-28T10:33:29.000Z | // Copyright Vladimir Prus 2004.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_ABSTRACT_FACTORY_VP_2004_08_25
#define BOOST_ABSTRACT_FACTORY_VP_2004_08_25
#include <boost/mpl/inherit_linearly.hp... | 29.808824 | 75 | 0.695609 | annaborn |
75cbfe87549a68f7fb8a2aa6fe31c6621ce6d9cd | 3,970 | cpp | C++ | Source/Clang-Tools/AutoBinder/AutoBinder.cpp | 1vanK/Dviglo | 468a61e6d9a87cf7d998312c1261aaa83b37ff3c | [
"MIT"
] | null | null | null | Source/Clang-Tools/AutoBinder/AutoBinder.cpp | 1vanK/Dviglo | 468a61e6d9a87cf7d998312c1261aaa83b37ff3c | [
"MIT"
] | 1 | 2021-04-17T22:38:25.000Z | 2021-04-18T00:43:15.000Z | Source/Clang-Tools/AutoBinder/AutoBinder.cpp | 1vanK/Dviglo | 468a61e6d9a87cf7d998312c1261aaa83b37ff3c | [
"MIT"
] | null | null | null | // Copyright (c) 2008-2021 the Urho3D project
// Copyright (c) 2021 проект Dviglo
// Лицензия: MIT
#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <clang/Driver/Options.h>
#include <clang/Tooling/CommonOptionsParser.h>
#include <clang/Tooling/Tooling.h>
#include <Mustache/mustache.hpp>
#include <unordered_set... | 35.446429 | 131 | 0.680353 | 1vanK |
75cc941279d3c25e49c3182b3e967c97116a23dc | 940 | cpp | C++ | src/draw_sprite.cpp | pabloariasal/chip8emulator | 4877915967e48f807a490b396490e6424081f027 | [
"MIT"
] | null | null | null | src/draw_sprite.cpp | pabloariasal/chip8emulator | 4877915967e48f807a490b396490e6424081f027 | [
"MIT"
] | null | null | null | src/draw_sprite.cpp | pabloariasal/chip8emulator | 4877915967e48f807a490b396490e6424081f027 | [
"MIT"
] | null | null | null | #include "draw_sprite.h"
#include <array>
namespace {
bool isPixelSet(int index, uint8_t row) {
row >>= 7 - index;
return (row & 0x01u) == 1;
}
bool invertColor(Color& color) {
if (color == Color::BLACK) {
color = Color::WHITE;
return true;
}
color = Color::BLACK;
return false;
}
} // namespace... | 21.363636 | 73 | 0.571277 | pabloariasal |
75cd507f7cab2ea546c93e23e8415e01ed070181 | 9,528 | cpp | C++ | src/strategy/actions/CheckMountStateAction.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 12 | 2022-03-23T05:14:53.000Z | 2022-03-30T12:12:58.000Z | src/strategy/actions/CheckMountStateAction.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 24 | 2022-03-23T13:56:37.000Z | 2022-03-31T18:23:32.000Z | src/strategy/actions/CheckMountStateAction.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 3 | 2022-03-24T21:47:10.000Z | 2022-03-31T06:21:46.000Z | /*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#include "CheckMountStateAction.h"
#include "BattlegroundWS.h"
#include "Event.h"
#include "Playerbots.h"
... | 34.647273 | 205 | 0.599076 | htc16 |
75cdb3d1bb14ee3edb3b6075340d332f3525bd9f | 5,199 | cpp | C++ | SerialGraphicLCDTouchScreen/lib/src/touchscreen.cpp | scottmccain/serial_tft | 964da5120d7b10b00c52c3a46a0ac4878363da39 | [
"MIT"
] | null | null | null | SerialGraphicLCDTouchScreen/lib/src/touchscreen.cpp | scottmccain/serial_tft | 964da5120d7b10b00c52c3a46a0ac4878363da39 | [
"MIT"
] | null | null | null | SerialGraphicLCDTouchScreen/lib/src/touchscreen.cpp | scottmccain/serial_tft | 964da5120d7b10b00c52c3a46a0ac4878363da39 | [
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2016 Scott McCain
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,... | 26.937824 | 143 | 0.620504 | scottmccain |
75cfc9d52ca5089fba254b0613ea71182a2ecd53 | 68,829 | cpp | C++ | enduser/netmeeting/t120/mst120/erncconf.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | enduser/netmeeting/t120/mst120/erncconf.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | enduser/netmeeting/t120/mst120/erncconf.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /****************************************************************************/
/* */
/* ERNCCONF.CPP */
/* */
... | 30.920485 | 157 | 0.511311 | npocmaka |
75d80b4be17142909ea94e127db032dcd9e9b6ee | 11,554 | cpp | C++ | src/Ops.cpp | omi-lab/tp_caffe2_utils | 8874aca09c3aeaa3a1e7544798089fe8cf85866f | [
"MIT"
] | null | null | null | src/Ops.cpp | omi-lab/tp_caffe2_utils | 8874aca09c3aeaa3a1e7544798089fe8cf85866f | [
"MIT"
] | null | null | null | src/Ops.cpp | omi-lab/tp_caffe2_utils | 8874aca09c3aeaa3a1e7544798089fe8cf85866f | [
"MIT"
] | null | null | null | #include "tp_caffe2_utils/Ops.h"
#include "tp_caffe2_utils/FillOps.h"
#include "tp_caffe2_utils/ArgUtils.h"
#include "tp_caffe2_utils/ModelDetails.h"
namespace tp_caffe2_utils
{
//##################################################################################################
caffe2::OperatorDef* addActivationOp(ca... | 37.391586 | 127 | 0.478968 | omi-lab |
75e050b997e6071dd7a9f49e52d60e2f62cdef1d | 2,816 | cc | C++ | chrome/browser/android/feed/feed_image_loader_bridge.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/android/feed/feed_image_loader_bridge.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/android/feed/feed_image_loader_bridge.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 "chrome/browser/android/feed/feed_image_loader_bridge.h"
#include <jni.h>
#include <string>
#include <vector>
#include "base/android/callback_... | 34.341463 | 75 | 0.767401 | zipated |
75e28760017aaede95f352577641cf4f6e42e44c | 1,813 | cc | C++ | src/calcfn.cc | HardGraphite/SimpleCalculator | e72e7ec0177379638ff90adeff574ae4b9a073f7 | [
"MIT"
] | null | null | null | src/calcfn.cc | HardGraphite/SimpleCalculator | e72e7ec0177379638ff90adeff574ae4b9a073f7 | [
"MIT"
] | null | null | null | src/calcfn.cc | HardGraphite/SimpleCalculator | e72e7ec0177379638ff90adeff574ae4b9a073f7 | [
"MIT"
] | null | null | null | #include <calcfn.h>
using namespace hgl::calc;
double _calc_add(CalcFn::OprdList oprds);
double _calc_sub(CalcFn::OprdList oprds);
double _calc_mul(CalcFn::OprdList oprds);
double _calc_div(CalcFn::OprdList oprds);
double _calc_neg(CalcFn::OprdList oprds);
double _calc_log10(CalcFn::OprdList... | 28.328125 | 49 | 0.605626 | HardGraphite |
75e4a5b8086f2886170c7912f8a0841f3e06a489 | 2,335 | hh | C++ | src/core/wakeup_detector.hh | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | src/core/wakeup_detector.hh | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | src/core/wakeup_detector.hh | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 SK Telecom Co., Ltd. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 28.47561 | 112 | 0.716916 | nugulinux |
75e882e45a4c8203a0327af2ad22224bf734d85f | 11,266 | cpp | C++ | sim/verilator/soc/rtc/main.cpp | sirchuckalot/ao486 | df6eba123654fdf3e3058c6129d605ce1393e0db | [
"BSD-2-Clause"
] | 256 | 2015-01-27T04:19:12.000Z | 2022-03-29T06:31:04.000Z | sim/verilator/soc/rtc/main.cpp | asicguy/ao486_MiSTer | 1cc04dac813bafc76442b370c4821e5e42c1bc1c | [
"BSD-2-Clause"
] | 101 | 2019-01-26T20:35:49.000Z | 2022-03-26T20:53:20.000Z | sim/verilator/soc/rtc/main.cpp | asicguy/ao486_MiSTer | 1cc04dac813bafc76442b370c4821e5e42c1bc1c | [
"BSD-2-Clause"
] | 65 | 2015-04-05T19:16:18.000Z | 2022-02-15T09:13:21.000Z | #include <cstdio>
#include <cstdlib>
#include "Vrtc.h"
#include "verilated.h"
#include "verilated_vcd_c.h"
//------------------------------------------------------------------------------
typedef unsigned int uint32;
typedef unsigned char uint8;
//--------------------------------------------------------------------... | 27.016787 | 115 | 0.454554 | sirchuckalot |
75ed90694863749a3bafa7c306951d08d446a6d4 | 3,545 | cpp | C++ | src/URDriver_receiver-component.cpp | AliRoshanbin/URDriver-1 | 7ed462ff86e242de1e8d148a13a489340cbe6a3e | [
"MIT"
] | 3 | 2016-03-09T10:06:10.000Z | 2021-11-10T16:26:40.000Z | src/URDriver_receiver-component.cpp | AliRoshanbin/URDriver-1 | 7ed462ff86e242de1e8d148a13a489340cbe6a3e | [
"MIT"
] | null | null | null | src/URDriver_receiver-component.cpp | AliRoshanbin/URDriver-1 | 7ed462ff86e242de1e8d148a13a489340cbe6a3e | [
"MIT"
] | 4 | 2017-02-09T11:00:16.000Z | 2021-04-01T13:34:43.000Z | #include "URDriver_receiver-component.hpp"
#include <rtt/Component.hpp>
#include <iostream>
using namespace RTT;
URDriver_receiver::URDriver_receiver(std::string const& name) : TaskContext(name,PreOperational)
, port_number(30002) // ali: it was 30002
, prop_address("192.168.1.102")
, v6(6,0.0)
{
addProperty("port_nu... | 28.36 | 109 | 0.711425 | AliRoshanbin |
75edb62133bc2df4c8124505999a61191d189a78 | 449 | cpp | C++ | 01-Question_after_WangDao/Chapter_02/2.3/T03.cpp | ysl970629/kaoyan_data_structure | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | [
"MIT"
] | 2 | 2021-03-24T03:29:16.000Z | 2022-03-29T16:34:30.000Z | 01-Question_after_WangDao/Chapter_02/2.3/T03.cpp | ysl2/kaoyan-data-structure | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | [
"MIT"
] | null | null | null | 01-Question_after_WangDao/Chapter_02/2.3/T03.cpp | ysl2/kaoyan-data-structure | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | [
"MIT"
] | null | null | null | // 2020-10-06
#include <iostream>
using namespace std;
typedef int ElemType;
typedef struct LinkNode {
ElemType data;
struct LinkNode *next;
} LinkNode, *LinkList;
void printList(LinkList L) {
if (L == NULL)
return;
printList(L->next);
cout << L->data << " ";
}
// ------------------------... | 17.269231 | 57 | 0.512249 | ysl970629 |
75f318d301b96a725a04117946d4ccb556f1e250 | 722 | cpp | C++ | 10-regular-expression-matching/10-regular-expression-matching.cpp | SouvikChan/-Leetcode_Souvik | cc4b72cb4a14a1c6b8be8bd8390de047443fe008 | [
"MIT"
] | null | null | null | 10-regular-expression-matching/10-regular-expression-matching.cpp | SouvikChan/-Leetcode_Souvik | cc4b72cb4a14a1c6b8be8bd8390de047443fe008 | [
"MIT"
] | null | null | null | 10-regular-expression-matching/10-regular-expression-matching.cpp | SouvikChan/-Leetcode_Souvik | cc4b72cb4a14a1c6b8be8bd8390de047443fe008 | [
"MIT"
] | null | null | null | class Solution {
public:
bool isMatch(string s, string p) {
vector<vector<int>> dp(s.length()+1,vector<int>(p.length()+1,0));
dp[s.length()][p.length()]=1;
for(int i=s.length();i>=0;i--)
{
for(int j=p.length()-1;j>=0;j--)
{
bool first_... | 28.88 | 76 | 0.33518 | SouvikChan |
75f4b354b893e8deb3a0a69f8a37ee920203c5cc | 422 | hpp | C++ | asyncio/loop/future.hpp | zhanglix/asyncio | 6415e1510bf582b915e74a0b9ba0b66905da250d | [
"MIT"
] | 36 | 2017-07-22T06:08:38.000Z | 2022-03-23T10:04:31.000Z | asyncio/loop/future.hpp | zhanglix/asyncio | 6415e1510bf582b915e74a0b9ba0b66905da250d | [
"MIT"
] | 1 | 2021-01-17T08:41:50.000Z | 2021-01-20T19:58:02.000Z | asyncio/loop/future.hpp | zhanglix/asyncio | 6415e1510bf582b915e74a0b9ba0b66905da250d | [
"MIT"
] | 8 | 2017-07-28T13:26:12.000Z | 2021-01-20T06:45:39.000Z | #pragma once
#include <asyncio/common.hpp>
#include <functional>
#include "handle_base.hpp"
BEGIN_ASYNCIO_NAMESPACE;
class FutureBase : public BasicHandle {
public:
virtual void release() = 0;
using DoneCallback = std::function<void(FutureBase *)>;
virtual void setDoneCallback(DoneCallback) = 0;
};
template ... | 19.181818 | 57 | 0.739336 | zhanglix |
75f69b2661f8576081c31aa2bc7a13c51bc88073 | 1,352 | hpp | C++ | include/networkit/community/OverlappingCommunityDetectionAlgorithm.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 366 | 2019-06-27T18:48:18.000Z | 2022-03-29T08:36:49.000Z | include/networkit/community/OverlappingCommunityDetectionAlgorithm.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 387 | 2019-06-24T11:30:39.000Z | 2022-03-31T10:37:28.000Z | include/networkit/community/OverlappingCommunityDetectionAlgorithm.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 131 | 2019-07-04T15:40:13.000Z | 2022-03-29T12:34:23.000Z | /*
* OverlappingCommunityDetectionAlgorithm.hpp
*
* Created on: 14.12.2020
* Author: John Gelhausen
*/
#ifndef NETWORKIT_COMMUNITY_OVERLAPPING_COMMUNITY_DETECTION_ALGORITHM_HPP_
#define NETWORKIT_COMMUNITY_OVERLAPPING_COMMUNITY_DETECTION_ALGORITHM_HPP_
#include <networkit/base/Algorithm.hpp>
#include <netw... | 26 | 99 | 0.727071 | angriman |
75fa51bbe5aabb69eb31f9a25ec801493b4899b4 | 12,195 | cpp | C++ | swallow/tests/parser/TestDeclaration.cpp | healerkx/swallow | c2a0c0355462d856008af04d941f9390ae220f20 | [
"BSD-3-Clause"
] | null | null | null | swallow/tests/parser/TestDeclaration.cpp | healerkx/swallow | c2a0c0355462d856008af04d941f9390ae220f20 | [
"BSD-3-Clause"
] | null | null | null | swallow/tests/parser/TestDeclaration.cpp | healerkx/swallow | c2a0c0355462d856008af04d941f9390ae220f20 | [
"BSD-3-Clause"
] | null | null | null | /* TestDeclaration.cpp --
*
* Copyright (c) 2014, Lex Chou <lex at chou dot it>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above... | 37.755418 | 105 | 0.728577 | healerkx |
75fa95187a4b0f682da9a59508074c891a867acb | 13,969 | hpp | C++ | lib/dodecahedron/src/dodeca_path_table.hpp | barafael/dodeca-blink | a7b595bfd0e3545b11e6b2999db831f8e0cf502b | [
"MIT"
] | 2 | 2021-11-12T11:50:50.000Z | 2021-11-18T04:21:47.000Z | lib/dodecahedron/src/dodeca_path_table.hpp | barafael/dodeca-blink | a7b595bfd0e3545b11e6b2999db831f8e0cf502b | [
"MIT"
] | null | null | null | lib/dodecahedron/src/dodeca_path_table.hpp | barafael/dodeca-blink | a7b595bfd0e3545b11e6b2999db831f8e0cf502b | [
"MIT"
] | null | null | null | #pragma once
#include "dodeca_path.hpp"
#include "dodecahedron.hpp"
#include <cstddef>
#include <cstdint>
class DodecaPathTable {
public:
DodecaPathTable() = default;
Path get_path(size_t from_node_index, size_t to_node_index) const {
return table[from_node_index][to_node_index];
}
priv... | 32.26097 | 118 | 0.285632 | barafael |
75fc01b9182fb2eba45328bcfbe3fb58019b3736 | 1,301 | cc | C++ | src/pixel-2d.cc | obs145628/opl | aeb8e70f3dbca8b8564cd829c2327df25e00392e | [
"MIT"
] | null | null | null | src/pixel-2d.cc | obs145628/opl | aeb8e70f3dbca8b8564cd829c2327df25e00392e | [
"MIT"
] | null | null | null | src/pixel-2d.cc | obs145628/opl | aeb8e70f3dbca8b8564cd829c2327df25e00392e | [
"MIT"
] | null | null | null | #include <cassert>
#include "pixel-2d.hh"
#include "pixel-collider-2d.hh"
namespace opl
{
Pixel2D::Pixel2D (r_type x, r_type y, const Color& c,
Collider2D* collider)
: Object2D (collider), x_ (x), y_(y), color_ (c)
{
}
Color
Pixel2D::color_get () const
{
return color_;
}
void
Pixel2D::color_set ... | 13.141414 | 73 | 0.596464 | obs145628 |
75fc45a5ab7516d348a263e8c84aabf1b197dac1 | 4,748 | cc | C++ | components/reporting/client/report_queue_configuration_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/reporting/client/report_queue_configuration_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-03-13T10:32:53.000Z | 2019-03-13T11:05:30.000Z | components/reporting/client/report_queue_configuration_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 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 "components/reporting/client/report_queue_configuration.h"
#include <stdio.h>
#include "base/bind.h"
#include "base/callback.h"
#include "compo... | 34.911765 | 80 | 0.740101 | Yannic |
75ffdaa1b2a817749cdd23bc8795114f24a269e1 | 2,085 | cpp | C++ | src/main.cpp | jasonwnorris/QuadTree | 6ddca00e047d05badd3143804a79652b20db599d | [
"MIT"
] | null | null | null | src/main.cpp | jasonwnorris/QuadTree | 6ddca00e047d05badd3143804a79652b20db599d | [
"MIT"
] | null | null | null | src/main.cpp | jasonwnorris/QuadTree | 6ddca00e047d05badd3143804a79652b20db599d | [
"MIT"
] | null | null | null | // main.cpp
#include <SDL2\SDL.h>
#include <iostream>
#include <time.h>
#include "QuadTree.hpp"
int main(int argc, char** argv)
{
srand(static_cast<unsigned int>(time(nullptr)));
SDL_Init(SDL_INIT_EVERYTHING);
SDL_Window* window = SDL_CreateWindow("QuadTree", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800... | 21.494845 | 144 | 0.630216 | jasonwnorris |
2f007aca3a6857d2c0c414c3c9583d1a3bf14ad2 | 1,891 | hpp | C++ | src/objects/Pokemon.hpp | MrtnNmck/Pokemon-3D | 50451f91999fe9168e8f520748e39b7e9099624a | [
"Apache-2.0"
] | 4 | 2017-08-25T10:55:44.000Z | 2018-05-30T06:39:23.000Z | src/objects/Pokemon.hpp | MrtnNmck/Pokemon-3D | 50451f91999fe9168e8f520748e39b7e9099624a | [
"Apache-2.0"
] | 1 | 2021-09-14T10:52:03.000Z | 2021-09-14T10:52:03.000Z | src/objects/Pokemon.hpp | MrtnNmck/Pokemon-3D | 50451f91999fe9168e8f520748e39b7e9099624a | [
"Apache-2.0"
] | null | null | null | //
// Created by Martin on 30. 11. 2015.
//
#ifndef POKEMON3D_POKEMON_HPP
#define POKEMON3D_POKEMON_HPP
#include <random>
#include "src/objects/MainCharacter.h"
#include "src/objects/Attack.hpp"
#include "src/animations/Animation.hpp"
class Pokemon : public MainCharacter {
protected:
// TODO: v MainCharacter z... | 36.365385 | 122 | 0.720783 | MrtnNmck |
2f07e3a0ae955df41c302afc414f072f60c30670 | 41,398 | cpp | C++ | src/ssGUI/Extensions/Dockable.cpp | Neko-Box-Coder/ssGUI | 25e218fd79fea105a30737a63381cf8d0be943f6 | [
"Apache-2.0"
] | 15 | 2022-01-21T10:48:04.000Z | 2022-03-27T17:55:11.000Z | src/ssGUI/Extensions/Dockable.cpp | Neko-Box-Coder/ssGUI | 25e218fd79fea105a30737a63381cf8d0be943f6 | [
"Apache-2.0"
] | null | null | null | src/ssGUI/Extensions/Dockable.cpp | Neko-Box-Coder/ssGUI | 25e218fd79fea105a30737a63381cf8d0be943f6 | [
"Apache-2.0"
] | 4 | 2022-01-21T10:48:05.000Z | 2022-01-22T15:42:34.000Z | #include "ssGUI/Extensions/Dockable.hpp"
#include "ssGUI/ssGUITags.hpp"
#include "ssGUI/Extensions/AdvancedPosition.hpp"
#include "ssGUI/Extensions/AdvancedSize.hpp"
#include "ssGUI/Extensions/Layout.hpp"
#include "ssGUI/Extensions/Docker.hpp"
#include "ssGUI/EventCallbacks/WindowDragStateChangedEventCallback.hpp"
na... | 45.194323 | 221 | 0.639089 | Neko-Box-Coder |
2f0856bf54837e8a5fa0e2242a68cdff381d1f1a | 5,314 | cc | C++ | ge/single_op/task/aicpu_kernel_task_builder.cc | mindspore-ai/graphengine | 460406cbd691b963d125837f022be5d8abd1a637 | [
"Apache-2.0"
] | 207 | 2020-03-28T02:12:50.000Z | 2021-11-23T18:27:45.000Z | ge/single_op/task/aicpu_kernel_task_builder.cc | mindspore-ai/graphengine | 460406cbd691b963d125837f022be5d8abd1a637 | [
"Apache-2.0"
] | 4 | 2020-04-17T07:32:44.000Z | 2021-06-26T04:55:03.000Z | ge/single_op/task/aicpu_kernel_task_builder.cc | mindspore-ai/graphengine | 460406cbd691b963d125837f022be5d8abd1a637 | [
"Apache-2.0"
] | 13 | 2020-03-28T02:52:26.000Z | 2021-07-03T23:12:54.000Z | /**
* Copyright 2019-2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 43.557377 | 110 | 0.729959 | mindspore-ai |
2f0bc0be826246498f44a6c70dde094c30512d9a | 1,169 | cpp | C++ | state/state.cpp | iceylala/design-pattern | 62865dd8ede485be874556233b0d9469139fdc85 | [
"MIT"
] | null | null | null | state/state.cpp | iceylala/design-pattern | 62865dd8ede485be874556233b0d9469139fdc85 | [
"MIT"
] | null | null | null | state/state.cpp | iceylala/design-pattern | 62865dd8ede485be874556233b0d9469139fdc85 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class Work;
class State
{
public:
virtual void change(Work* w)=0;
};
class TwoSite:public State
{
public:
void change(Work *w);
};
class Work
{
private:
State* sit;
string element;
public:
Work();
void set(const string &temp){
element = temp;
}
string&... | 12.706522 | 33 | 0.558597 | iceylala |
2f0dc06bf74d53c2241e925133b4488d8bb05f4a | 18,977 | cpp | C++ | JustinGXEngine/JustinGXEngine.cpp | jdsilv17/Custom-Engine | 823f021aa2efceb80aa426f3f3eae9da2769ccef | [
"MIT"
] | null | null | null | JustinGXEngine/JustinGXEngine.cpp | jdsilv17/Custom-Engine | 823f021aa2efceb80aa426f3f3eae9da2769ccef | [
"MIT"
] | null | null | null | JustinGXEngine/JustinGXEngine.cpp | jdsilv17/Custom-Engine | 823f021aa2efceb80aa426f3f3eae9da2769ccef | [
"MIT"
] | null | null | null | #include "JustinGXEngine.h"
bool Engine::Initialize(HINSTANCE hInstance, int nCmdShow)
{
// Initialize global strings
LoadStringW(hInstance, IDS_APP_TITLE, this->szTitle, MAX_LOADSTRING);
LoadStringW(hInstance, IDC_JUSTINGXENGINE, this->szWindowClass, MAX_LOADSTRING);
this->MyRegisterClass(hInstance);... | 44.235431 | 173 | 0.622965 | jdsilv17 |
2f0ffcb6495e3d129dda125f8e9d62ffb7c3029f | 3,070 | cpp | C++ | src/CwmToolBarMenu.cpp | colinw7/Cwm | d37121d2781e82e27b82bb559bf8fb1d2c7ec539 | [
"MIT"
] | null | null | null | src/CwmToolBarMenu.cpp | colinw7/Cwm | d37121d2781e82e27b82bb559bf8fb1d2c7ec539 | [
"MIT"
] | null | null | null | src/CwmToolBarMenu.cpp | colinw7/Cwm | d37121d2781e82e27b82bb559bf8fb1d2c7ec539 | [
"MIT"
] | null | null | null | #include <CwmToolBarI.h>
#include <CImageLib.h>
const char *
CwmToolBarMenu::menu_image[] = {
"34 16 3 1",
" c None",
"+ c #000000",
"@ c #2671A4",
" ",
" ",
" ++++ ",
" +@@@@+ ",
" ... | 22.573529 | 72 | 0.499023 | colinw7 |
2f10f09ea2309335d3a27cb7f7f0e1a826c3438c | 17,243 | cpp | C++ | Win32.Rose.c/pnp.cpp | 010001111/Vx-Suites | 6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79 | [
"MIT"
] | 2 | 2021-02-04T06:47:45.000Z | 2021-07-28T10:02:10.000Z | Win32.Rose.c/pnp.cpp | 010001111/Vx-Suites | 6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79 | [
"MIT"
] | null | null | null | Win32.Rose.c/pnp.cpp | 010001111/Vx-Suites | 6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79 | [
"MIT"
] | null | null | null |
/* HOD-ms05039-pnp-expl.c: 2005-08-10: PUBLIC v.0.2
*
* Copyri... | 32.719165 | 255 | 0.635562 | 010001111 |
2f12969493de48b1de5696e543974b05ca66d760 | 7,604 | cxx | C++ | core/tests/unit-tests.cxx | Sigill/Elfxplore | 1da52555ab7b71fd0a6e9f23d1051050259eb44a | [
"MIT"
] | null | null | null | core/tests/unit-tests.cxx | Sigill/Elfxplore | 1da52555ab7b71fd0a6e9f23d1051050259eb44a | [
"MIT"
] | null | null | null | core/tests/unit-tests.cxx | Sigill/Elfxplore | 1da52555ab7b71fd0a6e9f23d1051050259eb44a | [
"MIT"
] | null | null | null | #include <gmock/gmock.h>
#include <filesystem>
#include <fstream>
#include <stdio.h>
#include <string.h>
#include <shellwords/shellwords.hxx>
#include <boost/program_options.hpp>
#include "command-utils.hxx"
#include "utils.hxx"
#include "nm.hxx"
namespace fs = std::filesystem;
namespace {
fs::path create_tempor... | 31.94958 | 145 | 0.670437 | Sigill |
2f151aa190627b5f04e5a6d87922536f8d296f3e | 2,256 | cpp | C++ | src/lpm.cpp | fossabot/caracal | 2707faec995b6cf87baae1554d8f29fa47c86aa6 | [
"MIT"
] | null | null | null | src/lpm.cpp | fossabot/caracal | 2707faec995b6cf87baae1554d8f29fa47c86aa6 | [
"MIT"
] | null | null | null | src/lpm.cpp | fossabot/caracal | 2707faec995b6cf87baae1554d8f29fa47c86aa6 | [
"MIT"
] | null | null | null | #include <caracal/constants.hpp>
#include <caracal/lpm.hpp>
#include <fstream>
extern "C" {
#include <lpm.h>
}
namespace caracal {
void ipv4_mapped_to_ipv4(uint32_t *addr, size_t *len, uint32_t *preflen) {
// Internally LPM uses raw IPv4 and not IPv4-mapped IPv6 addresses.
// TODO: Simplify this by implementing ... | 24.258065 | 74 | 0.629876 | fossabot |
2f15709d3c5680b4d182e4697553d30369418422 | 1,744 | cpp | C++ | cpp/algos/maxqueue/main.cpp | da-eto-ya/trash | f68ddd4d366c262b49454744785bc78b9b85aa46 | [
"MIT"
] | null | null | null | cpp/algos/maxqueue/main.cpp | da-eto-ya/trash | f68ddd4d366c262b49454744785bc78b9b85aa46 | [
"MIT"
] | null | null | null | cpp/algos/maxqueue/main.cpp | da-eto-ya/trash | f68ddd4d366c262b49454744785bc78b9b85aa46 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <vector>
class max_queue {
private:
std::vector<int> storage;
void sift_down(size_t current) {
if (current < 0 || current >= storage.size()) {
return;
}
size_t children = 2 * current + 1;
if (children < storage.siz... | 21.8 | 111 | 0.485092 | da-eto-ya |
2f1f1ee4f174e5641898edd632f943659e850eb9 | 1,558 | cc | C++ | workR/Optis_2.0/backup2.0/backup/1.4kk1/OptiResults.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | workR/Optis_2.0/backup2.0/backup/1.4kk1/OptiResults.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | workR/Optis_2.0/backup2.0/backup/1.4kk1/OptiResults.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | #include "OptiResults.hh"
#include "StimWangCtrl.hh"
#include "JointsInit.hh"
#include "MatsuokaSixN.hh"
/*! \brief constructor
*/
OptiResults::OptiResults()
{
}
/*! \brief destructor
*/
OptiResults::~OptiResults()
{
}
/*! \brief set optimization parameters
*/
void OptiResults::set_opti()
{
StimWangCtrl *st... | 28.327273 | 106 | 0.706033 | mharding01 |
2f2203c7f3b0c62eabf2ab4d256b23140f6fa9f9 | 705 | cpp | C++ | Anagram_or_Not.cpp | UndefeatedSunny/C-Interview-Problems | 5eb4d3c52cb7ffe4bc97380d13f62e23bc7d1e2f | [
"MIT"
] | 4 | 2020-02-25T19:02:46.000Z | 2021-04-17T09:13:51.000Z | Anagram_or_Not.cpp | UndefeatedSunny/C-Interview-Problems | 5eb4d3c52cb7ffe4bc97380d13f62e23bc7d1e2f | [
"MIT"
] | null | null | null | Anagram_or_Not.cpp | UndefeatedSunny/C-Interview-Problems | 5eb4d3c52cb7ffe4bc97380d13f62e23bc7d1e2f | [
"MIT"
] | 2 | 2021-01-08T07:25:35.000Z | 2021-04-17T09:14:57.000Z | #include<bits/stdc++.h>
using namespace std;
int main()
{
char str1[20],str2[20];
int len,len1,len2,found=0,not_found=0;
cout<<"Enter first string :";
cin>>str1;
cout<<"Enter second string :";
cin>>str2;
len1=strlen(str1);
len2=strlen(str2);
if(len1==len2)
{
len=len1;
for(int i=0;i<len;i++)
{
found=0... | 14.6875 | 70 | 0.567376 | UndefeatedSunny |
2f255f3cf7d7bf0b6f7124b69a0159fc9eab240c | 2,835 | cpp | C++ | cpp/stl_vector.cpp | BigDataAnalyticsGroup/rewiring | 5ab07812a8c95a5a2e6450f359d158765e8e0ac3 | [
"Apache-2.0"
] | 3 | 2020-10-29T09:12:17.000Z | 2022-03-07T07:25:25.000Z | cpp/stl_vector.cpp | FMSchuhknecht/rewiring | 5ab07812a8c95a5a2e6450f359d158765e8e0ac3 | [
"Apache-2.0"
] | null | null | null | cpp/stl_vector.cpp | FMSchuhknecht/rewiring | 5ab07812a8c95a5a2e6450f359d158765e8e0ac3 | [
"Apache-2.0"
] | 2 | 2019-06-14T13:23:01.000Z | 2020-12-02T11:43:57.000Z | /*
* Copyright 2016 Information Systems Group, Saarland University
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 o... | 26.009174 | 92 | 0.67866 | BigDataAnalyticsGroup |
2f265d31a0b8cb3c62e8f7c9dacf641009495468 | 444 | cpp | C++ | CodeBlocks/UVA/UVA11827.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/UVA/UVA11827.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/UVA/UVA11827.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
int main(void)
{
int test, i, j, n, minimum = 0, studentSpeed[120];
scanf("%d\n", &test);
for( i = 1; i <= test; i++)
{
scanf("%d", &n);
minimum = 0;
for(j = 1; j <= n; j++)
{
scanf("%d", &studentSpeed[j]);
if(studentSpe... | 17.76 | 54 | 0.421171 | ash1247 |
2f2763fe8a6430ea69494b5c660b0774856c6cb2 | 1,636 | cpp | C++ | code/1073.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 23 | 2020-03-30T05:44:56.000Z | 2021-09-04T16:00:57.000Z | code/1073.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 1 | 2020-05-10T15:04:05.000Z | 2020-06-14T01:21:44.000Z | code/1073.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 6 | 2020-03-30T05:45:04.000Z | 2020-08-13T10:01:39.000Z | #include <bits/stdc++.h>
#define INF 2000000000
using namespace std;
typedef long long ll;
int read(){
int f = 1, x = 0;
char c = getchar();
while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();}
while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar();
return f * x;
}
struct TreeNod... | 24.41791 | 69 | 0.441932 | Nightwish-cn |
2f27b899e809dba06ded9f4f410b2ad126cbf2ed | 9,788 | cpp | C++ | Source/HeliumRain/Game/FlareFleet.cpp | eaglesquads/HeliumRain | 74e70482f8d93158ab819406086a513452eee555 | [
"BSD-3-Clause"
] | 1 | 2020-02-21T20:11:06.000Z | 2020-02-21T20:11:06.000Z | Source/HeliumRain/Game/FlareFleet.cpp | eaglesquads/HeliumRain | 74e70482f8d93158ab819406086a513452eee555 | [
"BSD-3-Clause"
] | null | null | null | Source/HeliumRain/Game/FlareFleet.cpp | eaglesquads/HeliumRain | 74e70482f8d93158ab819406086a513452eee555 | [
"BSD-3-Clause"
] | null | null | null |
#include "../Flare.h"
#include "FlareFleet.h"
#include "FlareCompany.h"
#include "FlareGame.h"
#include "../Player/FlarePlayerController.h"
#include "FlareSimulatedSector.h"
#define LOCTEXT_NAMESPACE "FlareFleet"
/*----------------------------------------------------
Constructor
----------------------------------... | 21.995506 | 205 | 0.678075 | eaglesquads |
2f2a375aefbdd9e9c8fc035a4e34818f164495cd | 8,026 | cpp | C++ | PhotonChat/LoadBalancing-cpp/src/Player.cpp | anhtrangg/PhotonChat | 4bd5788fe4ec89dab83ae01d7f372b6e9bd5ebc9 | [
"MIT"
] | null | null | null | PhotonChat/LoadBalancing-cpp/src/Player.cpp | anhtrangg/PhotonChat | 4bd5788fe4ec89dab83ae01d7f372b6e9bd5ebc9 | [
"MIT"
] | null | null | null | PhotonChat/LoadBalancing-cpp/src/Player.cpp | anhtrangg/PhotonChat | 4bd5788fe4ec89dab83ae01d7f372b6e9bd5ebc9 | [
"MIT"
] | null | null | null | /* Exit Games Photon LoadBalancing - C++ Client Lib
* Copyright (C) 2004-2020 by Exit Games GmbH. All rights reserved.
* http://www.photonengine.com
* mailto:developer@photonengine.com
*/
#include "LoadBalancing-cpp/inc/Player.h"
#include "LoadBalancing-cpp/inc/MutableRoom.h"
#include "LoadBalancing-cpp/in... | 37.680751 | 254 | 0.704585 | anhtrangg |
2f2d19d613585ae90d9f868483c6d5e4c5517f44 | 2,157 | hpp | C++ | hdbitset-examples/Lottery/HybridOpenMpAndMPI/LotteryMPI.hpp | FinalLabsOrg/HdBitset | 9ba2ad36f9bfc7c3f56233cc19d7a8d7fc613196 | [
"MIT"
] | null | null | null | hdbitset-examples/Lottery/HybridOpenMpAndMPI/LotteryMPI.hpp | FinalLabsOrg/HdBitset | 9ba2ad36f9bfc7c3f56233cc19d7a8d7fc613196 | [
"MIT"
] | null | null | null | hdbitset-examples/Lottery/HybridOpenMpAndMPI/LotteryMPI.hpp | FinalLabsOrg/HdBitset | 9ba2ad36f9bfc7c3f56233cc19d7a8d7fc613196 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <mpi.h>
#include "hd.h"
using namespace std;
using namespace hyperdimensional;
class LotteryMPI
{
public:
template<unsigned uSize>
static void decode(unsigned char* pTransfer, shared_ptr < hdbitset<uSize> > pTarget);
template<unsigned uSize>
static shared_ptr ... | 24.793103 | 94 | 0.683357 | FinalLabsOrg |
2f2ee8bf840e08ee139cb83907aac4df2503553c | 220 | cpp | C++ | nekoichi/SDK/spi.cpp | ecilasun/riscvtool | 82a6184f2187044c6be81576d00cacb95a518cbc | [
"MIT"
] | 1 | 2021-10-05T20:30:50.000Z | 2021-10-05T20:30:50.000Z | nekoichi/SDK/spi.cpp | ecilasun/riscvtool | 82a6184f2187044c6be81576d00cacb95a518cbc | [
"MIT"
] | null | null | null | nekoichi/SDK/spi.cpp | ecilasun/riscvtool | 82a6184f2187044c6be81576d00cacb95a518cbc | [
"MIT"
] | 1 | 2021-04-02T22:24:04.000Z | 2021-04-02T22:24:04.000Z | #include "spi.h"
volatile uint8_t *IO_SPIOutput = (volatile uint8_t* )0x80000014; // SPU send data (write)
volatile uint8_t *IO_SPIInput = (volatile uint8_t* )0x80000010; // SPI receive data (read)
| 44 | 101 | 0.672727 | ecilasun |
2f2f363a4ec7d828617dd49cb8ab40ba7164e0f6 | 95 | cpp | C++ | tast/main.cpp | lymslive/fast-cpp-csv-parser | d090446dd9185498c386cf04a5e54e6fa0d5a62e | [
"BSD-3-Clause"
] | null | null | null | tast/main.cpp | lymslive/fast-cpp-csv-parser | d090446dd9185498c386cf04a5e54e6fa0d5a62e | [
"BSD-3-Clause"
] | null | null | null | tast/main.cpp | lymslive/fast-cpp-csv-parser | d090446dd9185498c386cf04a5e54e6fa0d5a62e | [
"BSD-3-Clause"
] | null | null | null | #include "tinytast.hpp"
int main(int argc, char* argv[])
{
return RUN_TAST(argc, argv);
}
| 13.571429 | 32 | 0.652632 | lymslive |
2f3350442104652be8d1ccf6f421c76a40935adf | 1,598 | cpp | C++ | PRATICA2/TesteFiguras2.cpp | JP-Clemente/INF213_UFV | 8d6b3afd02212a0ba58ddaec04df5bb87aef9f5d | [
"MIT"
] | 2 | 2020-11-29T08:06:31.000Z | 2020-12-04T13:35:17.000Z | PRATICA2/TesteFiguras2.cpp | JP-Clemente/INF213_UFV | 8d6b3afd02212a0ba58ddaec04df5bb87aef9f5d | [
"MIT"
] | null | null | null | PRATICA2/TesteFiguras2.cpp | JP-Clemente/INF213_UFV | 8d6b3afd02212a0ba58ddaec04df5bb87aef9f5d | [
"MIT"
] | null | null | null | /* --------------- Arquivo|: TestaFiguras3.cpp -----------------
Testa as classes Retangulo, Circulo e Segemento usando heranca.
Criado por Marcus V. A. Andrade - 21/05/2014
Atualizado por Marcus V. A. Andrade - 21/03/2016
*/
#include <cstdlib>
#include <iostream>
#include "Circulo.h"
#include "Retangulo.h"... | 21.306667 | 65 | 0.496871 | JP-Clemente |
2f351b4bb20eaa74d5d140443ef68bd82368e304 | 1,019 | hh | C++ | src/services/IClock.hh | Jamiras/RAIntegration | ccf3dea24d81aefdcf51535f073889d03272b259 | [
"MIT"
] | 71 | 2018-04-15T13:02:43.000Z | 2022-03-26T11:19:18.000Z | src/services/IClock.hh | Jamiras/RAIntegration | ccf3dea24d81aefdcf51535f073889d03272b259 | [
"MIT"
] | 309 | 2018-04-15T12:10:59.000Z | 2022-01-22T20:13:04.000Z | src/services/IClock.hh | Jamiras/RAIntegration | ccf3dea24d81aefdcf51535f073889d03272b259 | [
"MIT"
] | 17 | 2018-04-17T16:09:31.000Z | 2022-03-04T08:49:03.000Z | #ifndef RA_SERVICES_ICLOCK_HH
#define RA_SERVICES_ICLOCK_HH
#pragma once
namespace ra {
namespace services {
class IClock
{
public:
virtual ~IClock() noexcept = default;
IClock(const IClock&) noexcept = delete;
IClock& operator=(const IClock&) noexcept = delete;
IClock(IClock&&) noexcept = delete;
... | 27.540541 | 108 | 0.683023 | Jamiras |
2f368748a4c6892cbd8e59fde0907d0bea080719 | 9,518 | cpp | C++ | bcos-gateway/bcos-gateway/gateway/LocalRouterTable.cpp | contropist/FISCO-BCOS | 1605c371448b410674559bb1c9e98bab722f036b | [
"Apache-2.0"
] | null | null | null | bcos-gateway/bcos-gateway/gateway/LocalRouterTable.cpp | contropist/FISCO-BCOS | 1605c371448b410674559bb1c9e98bab722f036b | [
"Apache-2.0"
] | null | null | null | bcos-gateway/bcos-gateway/gateway/LocalRouterTable.cpp | contropist/FISCO-BCOS | 1605c371448b410674559bb1c9e98bab722f036b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2021 FISCO BCOS.
* SPDX-License-Identifier: Apache-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | 33.992857 | 98 | 0.610317 | contropist |
2f3c3afa66c8f839866def322a3209a6c75a9a2e | 1,920 | cpp | C++ | datasets/github_cpp_10/10/74.cpp | yijunyu/demo-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | 1 | 2019-05-03T19:27:45.000Z | 2019-05-03T19:27:45.000Z | datasets/github_cpp_10/10/74.cpp | yijunyu/demo-vscode-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | null | null | null | datasets/github_cpp_10/10/74.cpp | yijunyu/demo-vscode-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | null | null | null |
#ifndef __TABLE_H__
#define __TABLE_H__
#include <iostream>
#include <vector>
#include <map>
using std::ostream;
using std::vector;
using std::map;
using std::endl;
#include "Util.h"
#include "LexicalEntry.h"
class Table {
public:
Table(unsigned int);
~Table();
void init();
unsigned sho... | 18.823529 | 99 | 0.559896 | yijunyu |
2f3ca2f463d421cf97c7bdc62b05ab686f70895f | 1,082 | cc | C++ | utils/file_loader.cc | stryku/cougar | 5352860e89261a6dadd45a2b7b2c6ae421322c0c | [
"Apache-2.0"
] | null | null | null | utils/file_loader.cc | stryku/cougar | 5352860e89261a6dadd45a2b7b2c6ae421322c0c | [
"Apache-2.0"
] | 4 | 2021-05-02T08:27:25.000Z | 2021-05-15T08:37:26.000Z | utils/file_loader.cc | stryku/cougar | 5352860e89261a6dadd45a2b7b2c6ae421322c0c | [
"Apache-2.0"
] | 1 | 2021-04-24T20:20:58.000Z | 2021-04-24T20:20:58.000Z | #include "file_loader.hh"
#include <fmt/core.h>
#include <cerrno>
#include <cstdio>
#include <stdexcept>
namespace Cougar::Utils {
static constexpr std::size_t CHUNK_SIZE = 1000 * 1024;
void FileLoader::load(const std::string &path) {
clear();
FILE *f = std::fopen(path.c_str(), "r");
if (!f) {
throw std... | 19.321429 | 78 | 0.585952 | stryku |
2f3ca9a186b1b3c23b8b397365a41f6c879fe4d8 | 1,717 | cpp | C++ | source/POSIX/XMutex.cpp | MultiSight/multisight-xsdk | 02268e1aeb1313cfb2f9515d08d131a4389e49f2 | [
"BSL-1.0"
] | null | null | null | source/POSIX/XMutex.cpp | MultiSight/multisight-xsdk | 02268e1aeb1313cfb2f9515d08d131a4389e49f2 | [
"BSL-1.0"
] | null | null | null | source/POSIX/XMutex.cpp | MultiSight/multisight-xsdk | 02268e1aeb1313cfb2f9515d08d131a4389e49f2 | [
"BSL-1.0"
] | null | null | null |
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// XSDK
// Copyright (c) 2015 Schneider Electric
//
// Use, modification, and distribution is subject to the Boost Software License,
// Version 1.0 (See accompanying file LICENSE).
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | 24.183099 | 89 | 0.57484 | MultiSight |
2f3d5b5ab3b1558fab4d7f4de564afa5987711e6 | 6,720 | cpp | C++ | src/which-foot-upper.cpp | NoelieRamuzat/sot-pattern-generator | bfd3a805a26a2726d542d826b0e9563dabdde99d | [
"ISC"
] | 1 | 2019-07-25T11:44:32.000Z | 2019-07-25T11:44:32.000Z | src/which-foot-upper.cpp | NoelieRamuzat/sot-pattern-generator | bfd3a805a26a2726d542d826b0e9563dabdde99d | [
"ISC"
] | 8 | 2016-12-21T10:14:01.000Z | 2021-11-03T08:22:59.000Z | src/which-foot-upper.cpp | NoelieRamuzat/sot-pattern-generator | bfd3a805a26a2726d542d826b0e9563dabdde99d | [
"ISC"
] | 8 | 2016-06-21T10:40:06.000Z | 2020-09-15T08:08:20.000Z | /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* Copyright Projet JRL-Japan, 2007
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*
* File: WhichFootUpper.h
* Project: SOT
* Author: Nicolas Mansard
*
* Version control
* ===============
*
* $Id$
*
* Des... | 34.639175 | 80 | 0.552976 | NoelieRamuzat |
2f44123e119fe50b510bbec4e4893519772c2136 | 2,089 | cpp | C++ | com/netfx/src/clr/jit/ia64/emitia64.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/netfx/src/clr/jit/ia64/emitia64.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/netfx/src/clr/jit/ia64/emitia64.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XX ... | 30.275362 | 80 | 0.394926 | npocmaka |
2f48aa2eb02b3042c857eb1582d4e393ec023cac | 309 | cc | C++ | examples/sdlviewer/gui.cc | GermanAizek/tinyusdz | 42358383f363143ad8dd512939a4851902d4f339 | [
"MIT"
] | 159 | 2020-04-14T15:59:35.000Z | 2022-03-31T14:19:05.000Z | examples/sdlviewer/gui.cc | GermanAizek/tinyusdz | 42358383f363143ad8dd512939a4851902d4f339 | [
"MIT"
] | 16 | 2020-05-21T06:00:40.000Z | 2022-02-26T08:50:33.000Z | examples/sdlviewer/gui.cc | GermanAizek/tinyusdz | 42358383f363143ad8dd512939a4851902d4f339 | [
"MIT"
] | 8 | 2020-07-01T04:13:42.000Z | 2022-01-30T17:50:52.000Z | #include "imgui.h"
#include "gui.hh"
namespace example {
bool material_ui(tinyusdz::PreviewSurface &material)
{
bool changed = false;
if (!material.diffuseColor.HasTexture()) {
ImGui::InputFloat("diffuseColor", material.diffuseColor.color.data());
}
return changed;
}
} // namespace example
| 16.263158 | 74 | 0.708738 | GermanAizek |
2f496817196fe59b0899d0260cd12eebb9812356 | 366 | hpp | C++ | liblava/util.hpp | liblava/liblava | 0e99beb14b9fb32e9bbfa851903cee3110e5c605 | [
"MIT"
] | 471 | 2019-09-22T19:12:55.000Z | 2022-03-24T23:25:23.000Z | liblava/util.hpp | Cons-Cat/liblava | d6551232320f45df231f444441716b772a48a612 | [
"MIT"
] | 68 | 2019-10-25T15:22:00.000Z | 2022-03-24T08:52:16.000Z | liblava/util.hpp | Cons-Cat/liblava | d6551232320f45df231f444441716b772a48a612 | [
"MIT"
] | 31 | 2019-10-25T12:22:21.000Z | 2022-03-28T15:49:11.000Z | /**
* @file liblava/util.hpp
* @brief Util module
* @author Lava Block OÜ and contributors
* @copyright Copyright (c) 2018-present, MIT License
*/
#pragma once
#include <liblava/util/log.hpp>
#include <liblava/util/random.hpp>
#include <liblava/util/telegram.hpp>
#include <liblava/util/th... | 24.4 | 56 | 0.68306 | liblava |
2f4ea30ffc57199857cf483cf9fbf937aa94aa36 | 1,172 | cpp | C++ | Marx/include/Marx/Renderer/Renderer.cpp | TecStylos/Marx | e4903ec6463ceb30614d046db145db2a4fd70133 | [
"Apache-2.0"
] | null | null | null | Marx/include/Marx/Renderer/Renderer.cpp | TecStylos/Marx | e4903ec6463ceb30614d046db145db2a4fd70133 | [
"Apache-2.0"
] | null | null | null | Marx/include/Marx/Renderer/Renderer.cpp | TecStylos/Marx | e4903ec6463ceb30614d046db145db2a4fd70133 | [
"Apache-2.0"
] | 1 | 2021-01-06T20:23:41.000Z | 2021-01-06T20:23:41.000Z | #include "mxpch.h"
#include "Renderer.h"
namespace Marx
{
Renderer::SceneData* Renderer::s_sceneData = new Renderer::SceneData;
void Renderer::init()
{
RenderCommand::init();
}
void Renderer::beginScene(const OrthographicCamera& camera)
{
s_sceneData->viewProjectionMatrix = glm::transpose(camera.getViewPro... | 26.044444 | 155 | 0.74744 | TecStylos |
2f508a584876ff1d3d6bbf308c715523958b1f7a | 26,962 | cpp | C++ | lib/Ntreev.Windows.Forms.Grid/NativeClasses.cpp | NtreevSoft/GridControl | decb1169d9b230ce93be1f0e96305161f2a8d655 | [
"MIT"
] | 2 | 2018-04-30T06:25:37.000Z | 2018-05-12T20:29:10.000Z | lib/Ntreev.Windows.Forms.Grid/NativeClasses.cpp | NtreevSoft/GridControl | decb1169d9b230ce93be1f0e96305161f2a8d655 | [
"MIT"
] | null | null | null | lib/Ntreev.Windows.Forms.Grid/NativeClasses.cpp | NtreevSoft/GridControl | decb1169d9b230ce93be1f0e96305161f2a8d655 | [
"MIT"
] | null | null | null | //=====================================================================================================================
// Ntreev Grid for .Net 2.0.5190.32793
// https://github.com/NtreevSoft/GridControl
//
// Released under the MIT License.
//
// Copyright (c) 2010 Ntreev Soft co., Ltd.
//
// Permission is... | 33.245376 | 169 | 0.605296 | NtreevSoft |
016a4601eb93c3459b3a1e8bff8f6ae9eea7bb1a | 2,469 | cpp | C++ | PopcornTime_Desktop-src/lib/lib.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | PopcornTime_Desktop-src/lib/lib.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | PopcornTime_Desktop-src/lib/lib.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | // lib.cpp : Defines the exported functions for the DLL application.
//
#include "lib.h"
#include "limits.h"
//#include "SocketHandler.h"
#include "../Common/common.h"
#include "streamerok.h"
dlInfo gDlInfo;
NetUsage gNnetUsage;
bool torrentInit( const char *downloadDir, int cleanOnExit )
{
#if !defined( WIN32 ) &... | 22.445455 | 119 | 0.657756 | officialrafsan |
0170eb64939fe69174b076d0ac32e45c74ca9f64 | 2,647 | hh | C++ | RAVL2/Core/Container/Array/Array3dIter3.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Core/Container/Array/Array3dIter3.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Core/Container/Array/Array3dIter3.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2001, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 32.679012 | 121 | 0.596147 | isuhao |
01727725cf485f036626460fad8e56203eca0ada | 794 | cpp | C++ | Flinty/src/fl/graphics/VertexBuffer.cpp | TheCherno/Flinty | d469cf38cc9ad584020d4e07f15196a9fabb7b5d | [
"Apache-2.0"
] | 31 | 2016-07-29T10:33:55.000Z | 2022-02-22T15:12:14.000Z | Flinty/src/fl/graphics/VertexBuffer.cpp | yang-shuohao/Flinty | d469cf38cc9ad584020d4e07f15196a9fabb7b5d | [
"Apache-2.0"
] | null | null | null | Flinty/src/fl/graphics/VertexBuffer.cpp | yang-shuohao/Flinty | d469cf38cc9ad584020d4e07f15196a9fabb7b5d | [
"Apache-2.0"
] | 8 | 2019-03-10T12:40:01.000Z | 2021-05-09T13:38:41.000Z | #include "VertexBuffer.h"
#include "fl/gl.h"
namespace fl {
VertexBuffer::VertexBuffer(const void* buffer, uint size)
: m_Size(size)
{
Create(buffer);
}
VertexBuffer::~VertexBuffer()
{
Destroy();
}
void VertexBuffer::SetLayout(const VertexBufferLayout& layout)
{
m_Layout = layout;
}
void VertexB... | 18.045455 | 72 | 0.719144 | TheCherno |
0173337625dcb07406b22badaa38fd2d1e85f828 | 468 | cpp | C++ | code/ch13/13.4.2.best_time_to_buy_and_sell_stock_with_cooldown.cpp | leetcode-pp/leetcode-pp1 | a1f9e46fdd2f480d2fcb94e76370e040e0f0a4f5 | [
"MIT"
] | 22 | 2021-02-23T13:42:28.000Z | 2022-03-02T11:19:28.000Z | code/ch13/13.4.2.best_time_to_buy_and_sell_stock_with_cooldown.cpp | leetcode-pp/leetcode-pp1 | a1f9e46fdd2f480d2fcb94e76370e040e0f0a4f5 | [
"MIT"
] | 9 | 2021-06-16T10:42:01.000Z | 2021-08-24T09:06:29.000Z | code/ch13/13.4.2.best_time_to_buy_and_sell_stock_with_cooldown.cpp | leetcode-pp/leetcode-pp1 | a1f9e46fdd2f480d2fcb94e76370e040e0f0a4f5 | [
"MIT"
] | 9 | 2021-02-20T08:29:00.000Z | 2021-09-18T08:52:25.000Z | class Solution {
public:
int maxProfit(vector<int>& prices) {
if (prices.size() <= 1)
return 0;
int b0 = -prices[0];
int b1 = b0;
int s0 = 0, s1 = 0, s2 = 0;
for (int i = 0; i < prices.size(); i++) {
b0 = max(b1, s2 - prices[i]);
... | 21.272727 | 49 | 0.361111 | leetcode-pp |
0174fd08d5828c39dc60ea261595bee6764a9344 | 1,686 | cpp | C++ | Introductory Problems/grid_paths.cpp | vjerin/CSES-Problem-Set | 68070812fa1d27e4653f58dcdabed56188a45110 | [
"Apache-2.0"
] | null | null | null | Introductory Problems/grid_paths.cpp | vjerin/CSES-Problem-Set | 68070812fa1d27e4653f58dcdabed56188a45110 | [
"Apache-2.0"
] | 10 | 2020-10-02T10:28:22.000Z | 2020-10-09T18:30:56.000Z | Introductory Problems/grid_paths.cpp | vjerin/CSES-Problem-Set | 68070812fa1d27e4653f58dcdabed56188a45110 | [
"Apache-2.0"
] | 10 | 2020-10-02T11:16:32.000Z | 2020-10-08T18:31:18.000Z | #include <bits/stdc++.h>
#define int long long
#define MOD 1000000007
using namespace std;
int res = 0;
bool empty(bool grid[7][7], int r, int c) {
if(r < 0 || r >= 7 || c < 0 || c >= 7) {
return false;
}
if(grid[r][c]) {
return false;
}
return true;
}
void get_paths(bool grid... | 24.794118 | 120 | 0.422301 | vjerin |
01803520c752c9207288e4addc2ed994433faed9 | 1,473 | cpp | C++ | extra/news/src/apk/htxn/axfd/axfd/axfd-document.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/news/src/apk/htxn/axfd/axfd/axfd-document.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/news/src/apk/htxn/axfd/axfd/axfd-document.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null |
// Copyright Nathaniel Christen 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "axfd-document.h"
#include "axfd-tile-scope.h"
USING_KANS(AXFD)
AXFD_Document::AXFD_D... | 21.661765 | 81 | 0.715547 | scignscape |
018188d65127b42feddb814bccbe94816bad407c | 315 | cc | C++ | below2.1/magictrick.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | below2.1/magictrick.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | below2.1/magictrick.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <map>
using namespace std;
int main(){
string str;
cin>>str;
map<char,int> gtc;
for (int i = 0; i < str.length(); i++)
{
if(gtc[str[i]]!=0){
cout<<0;
return 0;
}
gtc[str[i]]++;
}
cout<<1;
return 0;
} | 15 | 42 | 0.434921 | danzel-py |
0181b1a7e39a58bd7134d70dcc9a3accf02f9ad7 | 3,853 | cpp | C++ | Corpos Space/src/game/menu/Menu.cpp | Tomislaw/corpos | bf971cba98a92b8de68547d4f77252f645c9ef28 | [
"MIT"
] | null | null | null | Corpos Space/src/game/menu/Menu.cpp | Tomislaw/corpos | bf971cba98a92b8de68547d4f77252f645c9ef28 | [
"MIT"
] | null | null | null | Corpos Space/src/game/menu/Menu.cpp | Tomislaw/corpos | bf971cba98a92b8de68547d4f77252f645c9ef28 | [
"MIT"
] | null | null | null | #include "Menu.hpp"
#include "game/main/Game.hpp"
using namespace corpos;
void Menu::init() {
menuList.setOptimalHeight(300);
std::shared_ptr <MenuLabel> labelStart = std::make_shared<MenuLabel>();
labelStart->getLabel().setString("Start game");
labelStart->setOnClikAction([&]() {
GameAssetsManager::loadTexture... | 36.695238 | 148 | 0.717623 | Tomislaw |
0183801b730cc225e2dd9d50d57ff6f1487bf607 | 278 | cpp | C++ | SRGB/src/main.cpp | danimtz/RendererGoBrrr | 89b179ec048f751c9078f267cd989d1bcc041d8b | [
"MIT"
] | null | null | null | SRGB/src/main.cpp | danimtz/RendererGoBrrr | 89b179ec048f751c9078f267cd989d1bcc041d8b | [
"MIT"
] | null | null | null | SRGB/src/main.cpp | danimtz/RendererGoBrrr | 89b179ec048f751c9078f267cd989d1bcc041d8b | [
"MIT"
] | null | null | null | #include <iostream>
#include "Application.h"
#include "Mesh.h"
#include "OBJLoader.h"
int main(int argc, char* args[])
{
Application *app = new Application();
app->run();
delete app;
//Mesh *aaa = OBJLoader::loadMesh("assets\\cube2.obj");
return 0;
}
| 9.266667 | 56 | 0.622302 | danimtz |
0185f3f01de403e5233afb7de70bdffe63e9d348 | 1,258 | hpp | C++ | sdk/core/perf/inc/azure/perf/program.hpp | chidozieononiwu/azure-sdk-for-cpp | 7d9032fcc815523231d6ff3e1d96d6212e94b079 | [
"MIT"
] | null | null | null | sdk/core/perf/inc/azure/perf/program.hpp | chidozieononiwu/azure-sdk-for-cpp | 7d9032fcc815523231d6ff3e1d96d6212e94b079 | [
"MIT"
] | null | null | null | sdk/core/perf/inc/azure/perf/program.hpp | chidozieononiwu/azure-sdk-for-cpp | 7d9032fcc815523231d6ff3e1d96d6212e94b079 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
/**
* @file
* @brief Define the main performance framewoek program.
*
*/
#pragma once
#include "azure/perf/argagg.hpp"
#include "azure/perf/test_metadata.hpp"
#include <vector>
namespace Azure { namespace Perf {
/**
... | 25.16 | 92 | 0.652623 | chidozieononiwu |
018b7e5ea6cb927b474e0ca92acd5135a921670c | 6,227 | cc | C++ | gnuradio-3.7.13.4/gr-qtgui/lib/timeRasterGlobalData.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | 1 | 2021-03-09T07:32:37.000Z | 2021-03-09T07:32:37.000Z | gnuradio-3.7.13.4/gr-qtgui/lib/timeRasterGlobalData.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | gnuradio-3.7.13.4/gr-qtgui/lib/timeRasterGlobalData.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | /* -*- c++ -*- */
/*
* Copyright 2012,2013 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your o... | 25.838174 | 71 | 0.681227 | v1259397 |
019213789bcdbd7b30c67d8c97c2afdd0050756d | 3,735 | cpp | C++ | Builder/Builder/src/postprocesses_main.cpp | sglab/OpenIRT | 1a1522ed82f6bb26f1d40dc93024487869045ab2 | [
"BSD-2-Clause"
] | 2 | 2015-09-28T12:59:25.000Z | 2020-03-28T22:28:03.000Z | Builder/Builder/src/postprocesses_main.cpp | sglab/OpenIRT | 1a1522ed82f6bb26f1d40dc93024487869045ab2 | [
"BSD-2-Clause"
] | 2 | 2018-10-26T12:17:53.000Z | 2018-11-09T07:04:17.000Z | Builder/Builder/src/postprocesses_main.cpp | sglab/OpenIRT | 1a1522ed82f6bb26f1d40dc93024487869045ab2 | [
"BSD-2-Clause"
] | null | null | null | // compress_main.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include <stdio.h>
#include "DirectTriIndex.h"
#include "RearrangeVoxels.h"
#include "ExtractBB.h"
#include "MergeGeometry.h"
#include "HCCMesh.h"
#include "GeometryConverter.h"
#include "Voxelize.h"
#include "MTLGenerat... | 23.055556 | 98 | 0.642035 | sglab |
0192aac3cd5344062eefea85b7442cd9331d0610 | 383 | cpp | C++ | src/xrPhysics/console_vars.cpp | acidicMercury8/xray-1.6 | 52fba7348a93a52ff9694f2c9dd40c0d090e791e | [
"Linux-OpenIB"
] | 10 | 2021-05-04T06:40:27.000Z | 2022-01-20T20:24:28.000Z | src/xrPhysics/console_vars.cpp | acidicMercury8/xray-1.6 | 52fba7348a93a52ff9694f2c9dd40c0d090e791e | [
"Linux-OpenIB"
] | null | null | null | src/xrPhysics/console_vars.cpp | acidicMercury8/xray-1.6 | 52fba7348a93a52ff9694f2c9dd40c0d090e791e | [
"Linux-OpenIB"
] | 2 | 2020-05-17T10:01:14.000Z | 2020-09-11T20:17:27.000Z | #include "stdafx.h"
#include "console_vars.h"
#include "physicscommon.h"
BOOL ph_console::g_bDebugDumpPhysicsStep = 0;
float ph_console::ph_tri_query_ex_aabb_rate = 1.3f;
int ph_console::ph_tri_clear_disable_count = 10;
float ph_console::phBreakCommonFactor = 0.01f;
float ph_console::phRigidBreakWeapon... | 29.461538 | 52 | 0.765013 | acidicMercury8 |
01a25482079bbb6b50072d27365768e821780f35 | 2,429 | cpp | C++ | IntervalArithmeticNew/src/Experiment.cpp | tomaszhof/interval_arithmetic | 0d1e7c842803f8ca211bf2a9d7239f7541452492 | [
"Apache-2.0"
] | null | null | null | IntervalArithmeticNew/src/Experiment.cpp | tomaszhof/interval_arithmetic | 0d1e7c842803f8ca211bf2a9d7239f7541452492 | [
"Apache-2.0"
] | null | null | null | IntervalArithmeticNew/src/Experiment.cpp | tomaszhof/interval_arithmetic | 0d1e7c842803f8ca211bf2a9d7239f7541452492 | [
"Apache-2.0"
] | null | null | null | /*
* Experiment.cpp
*
* Created on: Jan 5, 2013
* Author: tomaszhof
*/
#include "Experiment.h"
namespace interval_arithmetic {
template<typename T>
Experiment<T>::Experiment() {
_param_initialized = false;
_solver_initialized = false;
_example = NULL;
solver = NULL;
}
template<typename T>
Experiment<... | 18.829457 | 71 | 0.69576 | tomaszhof |
01a2a173e9dbd6229a3674f7f99a441f8c179b87 | 31,871 | cpp | C++ | Viewer/ecflowUI/src/TimelineView.cpp | ecmwf/ecflow | 2498d0401d3d1133613d600d5c0e0a8a30b7b8eb | [
"Apache-2.0"
] | 11 | 2020-08-07T14:42:45.000Z | 2021-10-21T01:59:59.000Z | Viewer/ecflowUI/src/TimelineView.cpp | CoollRock/ecflow | db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d | [
"Apache-2.0"
] | 10 | 2020-08-07T14:36:27.000Z | 2022-02-22T06:51:24.000Z | Viewer/ecflowUI/src/TimelineView.cpp | CoollRock/ecflow | db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d | [
"Apache-2.0"
] | 6 | 2020-08-07T14:34:38.000Z | 2022-01-10T12:06:27.000Z | //============================================================================
// Copyright 2009-2018 ECMWF.
// This software is licensed under the terms of the Apache Licence version 2.0
// which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
// In applying this licence, ECMWF does not waive the privil... | 26.647993 | 145 | 0.598757 | ecmwf |
01a391ff51b8500c82f838554ac92b8976cb8791 | 6,681 | cc | C++ | chrome/browser/ash/arc/accessibility/accessibility_info_data_wrapper_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/ash/arc/accessibility/accessibility_info_data_wrapper_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/ash/arc/accessibility/accessibility_info_data_wrapper_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 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 "chrome/browser/ash/arc/accessibility/accessibility_node_info_data_wrapper.h"
#include <memory>
#include "ash/test/ash_test_base.h"
#include "c... | 36.911602 | 86 | 0.755725 | zealoussnow |