hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33d8d81411070a3448b39105a879475bd5d252ab | 7,296 | cc | C++ | cartographer/mapping/internal/2d/ray_casting.cc | sotnik-github/cartographer | 73d18e5fc54bfa4e4e61fd7feb615b46834aa584 | [
"Apache-2.0"
] | 30 | 2017-08-12T21:44:47.000Z | 2022-03-23T09:31:05.000Z | cartographer/mapping/internal/2d/ray_casting.cc | sotnik-github/cartographer | 73d18e5fc54bfa4e4e61fd7feb615b46834aa584 | [
"Apache-2.0"
] | 17 | 2017-06-02T01:55:21.000Z | 2022-03-02T01:52:58.000Z | cartographer/mapping/internal/2d/ray_casting.cc | sotnik-github/cartographer | 73d18e5fc54bfa4e4e61fd7feb615b46834aa584 | [
"Apache-2.0"
] | 16 | 2018-04-12T18:35:59.000Z | 2022-01-03T14:25:35.000Z | /*
* Copyright 2016 The Cartographer Authors
*
* 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... | 35.246377 | 80 | 0.64926 | sotnik-github |
33d94a90e65d7c343171e94033cc8ad9ee77166a | 413 | cpp | C++ | src/unix/src/misc/pal.cpp | kkeirstead/CLRInstrumentationEngine | 773c453fc448555bad0bae4223c5e97adfc4efb3 | [
"MIT"
] | 73 | 2019-07-01T15:11:16.000Z | 2022-03-03T13:18:07.000Z | src/unix/src/misc/pal.cpp | kkeirstead/CLRInstrumentationEngine | 773c453fc448555bad0bae4223c5e97adfc4efb3 | [
"MIT"
] | 368 | 2019-07-01T15:57:35.000Z | 2022-03-23T23:25:15.000Z | src/unix/src/misc/pal.cpp | kkeirstead/CLRInstrumentationEngine | 773c453fc448555bad0bae4223c5e97adfc4efb3 | [
"MIT"
] | 39 | 2019-07-10T17:54:40.000Z | 2022-02-28T23:03:06.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// ported from coreclr\pal\inc\pal.h
#include "pch.h"
#if !defined(_TRUNCATE)
#define _TRUNCATE ((size_t)-1)
#endif
// todo: determine if supporting errno is necessary
// actual from pal.h:
/*
extern int* __cdecl _errno(... | 17.956522 | 60 | 0.697337 | kkeirstead |
33da56c0996e3ff54cae96b62d66f059a6fdd40e | 3,364 | hpp | C++ | include/swift2d/utils/stl_helpers.hpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | include/swift2d/utils/stl_helpers.hpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | include/swift2d/utils/stl_helpers.hpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// //
// This file is part of Swift2D. //
// ... | 30.035714 | 80 | 0.302319 | Simmesimme |
33dc829042fd8076dd90dcca032ed3787c4fee20 | 139 | cpp | C++ | examples/01_Windowless/main.cpp | weigert/TinyEngine | 49d4fb437e4c2a02420535b30b4167f78eb56503 | [
"MIT"
] | 592 | 2020-04-14T16:28:03.000Z | 2022-03-26T23:32:18.000Z | examples/01_Windowless/main.cpp | EKALEB/TinyEngine | 49d4fb437e4c2a02420535b30b4167f78eb56503 | [
"MIT"
] | 12 | 2020-07-01T16:22:56.000Z | 2022-02-11T10:03:37.000Z | examples/01_Windowless/main.cpp | EKALEB/TinyEngine | 49d4fb437e4c2a02420535b30b4167f78eb56503 | [
"MIT"
] | 47 | 2020-05-10T09:35:51.000Z | 2022-03-10T09:21:38.000Z | #include <TinyEngine/TinyEngine>
int main( int argc, char* args[] ) {
Tiny::init();
Tiny::loop([&](){});
Tiny::quit();
return 0;
}
| 11.583333 | 36 | 0.57554 | weigert |
33de672774e0e9ec07907edbba5bd651c44e3697 | 1,986 | cpp | C++ | CodeForces/codeforces459A.cpp | bilibiliShen/CodeBank | 49a69b2b2c3603bf105140a9d924946ed3193457 | [
"MIT"
] | 1 | 2017-08-19T16:02:15.000Z | 2017-08-19T16:02:15.000Z | CodeForces/codeforces459A.cpp | bilibiliShen/CodeBank | 49a69b2b2c3603bf105140a9d924946ed3193457 | [
"MIT"
] | null | null | null | CodeForces/codeforces459A.cpp | bilibiliShen/CodeBank | 49a69b2b2c3603bf105140a9d924946ed3193457 | [
"MIT"
] | 1 | 2018-01-05T23:37:23.000Z | 2018-01-05T23:37:23.000Z | // <!--encoding UTF-8 UTF-8编码--!>
/*****************************************************************************
* ----Stay Hungry Stay Foolish---- *
* @author : Shen *
* @name : A ... | 31.52381 | 80 | 0.436052 | bilibiliShen |
33e08c0311172bf4c37580d8105b129d168919ee | 5,359 | cpp | C++ | src/disk/disk_manager.cpp | gigimushroom/DatabaseBackendEngine | 9cb22617a8de14ea6e6136614e6d91842aa06984 | [
"MIT"
] | 19 | 2018-10-14T08:16:20.000Z | 2022-01-17T11:40:05.000Z | src/disk/disk_manager.cpp | YiYeHuang/DatabaseBackendEngine | 9cb22617a8de14ea6e6136614e6d91842aa06984 | [
"MIT"
] | 9 | 2018-09-03T01:09:57.000Z | 2018-10-05T19:20:26.000Z | src/disk/disk_manager.cpp | YiYeHuang/DatabaseBackendEngine | 9cb22617a8de14ea6e6136614e6d91842aa06984 | [
"MIT"
] | 3 | 2018-10-11T06:01:50.000Z | 2021-12-09T03:30:12.000Z | /**
* disk_manager.cpp
*/
#include <assert.h>
#include <cstring>
#include <iostream>
#include <sys/stat.h>
#include <thread>
#include "common/logger.h"
#include "disk/disk_manager.h"
namespace cmudb {
static char *buffer_used = nullptr;
/**
* Constructor: open/create a single database file & log file
* @input d... | 27.623711 | 80 | 0.656839 | gigimushroom |
33e0bd775588ddf511a46886fc389b0a35baf9c7 | 3,172 | cpp | C++ | assignment4-tests/testSplitArgsExecuteCommand.cpp | Andrey-Korn/GameOfLife-Curses | 11e05118c31084c3048b2b4e131a3d65746d17ba | [
"MIT"
] | null | null | null | assignment4-tests/testSplitArgsExecuteCommand.cpp | Andrey-Korn/GameOfLife-Curses | 11e05118c31084c3048b2b4e131a3d65746d17ba | [
"MIT"
] | null | null | null | assignment4-tests/testSplitArgsExecuteCommand.cpp | Andrey-Korn/GameOfLife-Curses | 11e05118c31084c3048b2b4e131a3d65746d17ba | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include "game_field.h"
#include "mockViewHandler.cpp"
TEST(SplitArgsExecuteCommand, NoArgs) {
MockViewHandler viewhandler;
GameManager game(25, 25, viewhandler);
std::string cmd = "reset";
std::vector<std::string> cmdSplit = splitString(cmd);
std::ostringstream stream;
game.exec... | 34.857143 | 124 | 0.709332 | Andrey-Korn |
33e0dee26662fab779dd97e2e11bed533921828f | 338 | cpp | C++ | basics/person.cpp | dimitarpg13/cpp_move_semantics | c905383cae92c578f507dfc541d458f158d70874 | [
"MIT"
] | null | null | null | basics/person.cpp | dimitarpg13/cpp_move_semantics | c905383cae92c578f507dfc541d458f158d70874 | [
"MIT"
] | null | null | null | basics/person.cpp | dimitarpg13/cpp_move_semantics | c905383cae92c578f507dfc541d458f158d70874 | [
"MIT"
] | null | null | null | #include "person.hpp"
#include <iostream>
#include <vector>
int main()
{
std::vector<Person> coll{"Wolfgang Amadeus Mozart",
"Johann Sebastian Bach",
"Ludwig van Beethoven"};
std::cout << "capacity: " << coll.capacity() << '\n';
coll.push_back("Pjotr Iljitsch... | 26 | 55 | 0.571006 | dimitarpg13 |
33e156de7a689c81b5e16dfda6c506e91eea77ea | 7,664 | cpp | C++ | hazelcast/src/hazelcast/client/proxy/ClientAtomicLongProxy.cpp | skyend/hazelcast-cpp-client | a62e1ce20e17cf2a69e236918860c467e03babba | [
"Apache-2.0"
] | null | null | null | hazelcast/src/hazelcast/client/proxy/ClientAtomicLongProxy.cpp | skyend/hazelcast-cpp-client | a62e1ce20e17cf2a69e236918860c467e03babba | [
"Apache-2.0"
] | null | null | null | hazelcast/src/hazelcast/client/proxy/ClientAtomicLongProxy.cpp | skyend/hazelcast-cpp-client | a62e1ce20e17cf2a69e236918860c467e03babba | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 51.783784 | 156 | 0.615475 | skyend |
33e208be9f647cd21abfb5e4f82bb70854edec2c | 27,358 | cc | C++ | test/common/secret/secret_manager_impl_test.cc | nandu-vinodan/envoy | c07d3a2fc63f08c06971b9678cee23782ad41eb8 | [
"Apache-2.0"
] | 1 | 2021-12-10T23:58:57.000Z | 2021-12-10T23:58:57.000Z | test/common/secret/secret_manager_impl_test.cc | nandu-vinodan/envoy | c07d3a2fc63f08c06971b9678cee23782ad41eb8 | [
"Apache-2.0"
] | 30 | 2022-02-17T02:28:37.000Z | 2022-03-31T02:31:02.000Z | test/common/secret/secret_manager_impl_test.cc | nandu-vinodan/envoy | c07d3a2fc63f08c06971b9678cee23782ad41eb8 | [
"Apache-2.0"
] | 1 | 2020-03-28T12:23:29.000Z | 2020-03-28T12:23:29.000Z | #include <memory>
#include "envoy/admin/v2alpha/config_dump.pb.h"
#include "envoy/api/v2/auth/cert.pb.h"
#include "envoy/common/exception.h"
#include "envoy/config/grpc_credential/v2alpha/file_based_metadata.pb.h"
#include "common/common/base64.h"
#include "common/common/logger.h"
#include "common/secret/sds_api.h"
#... | 41.767939 | 113 | 0.765224 | nandu-vinodan |
33e95d87dd7117ba2efbfa8a41cfbfb488827cbe | 922 | cpp | C++ | plugins/opengl/src/index/create_buffer.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/opengl/src/index/create_buffer.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/opengl/src/index/create_buffer.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 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 <sge/opengl/context/object_ref.hpp>
#include <sge/opengl/index/buffer.hpp>
#include <sge/o... | 41.909091 | 81 | 0.753796 | cpreh |
33e9e198c72d4ddaa812c3073ad6c55ee05d9ae3 | 875 | cpp | C++ | Projects/CoX/Common/Messages/Map/ChatMessage.cpp | wsware/Segs | ade251c70569acc6801d584677ae8273d380a58f | [
"BSD-3-Clause"
] | null | null | null | Projects/CoX/Common/Messages/Map/ChatMessage.cpp | wsware/Segs | ade251c70569acc6801d584677ae8273d380a58f | [
"BSD-3-Clause"
] | null | null | null | Projects/CoX/Common/Messages/Map/ChatMessage.cpp | wsware/Segs | ade251c70569acc6801d584677ae8273d380a58f | [
"BSD-3-Clause"
] | null | null | null | /*
* SEGS - Super Entity Game Server
* http://www.segs.io/
* Copyright (c) 2006 - 2018 SEGS Team (see AUTHORS.md)
* This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.
*/
/*!
* @addtogroup MapServerEvents Projects/CoX/Servers/MapServer/Events
* @{
*/
#include "Ch... | 25 | 101 | 0.725714 | wsware |
33eaac8c54d7af392df5a3e30fc9c6923ab31d1e | 14,996 | hpp | C++ | include/gelf4cplus/GelfMessage.hpp | shablov/gelf4cplus | 082823d6849a412d6bddffebf540f98455ac3e63 | [
"MIT"
] | 7 | 2015-06-23T18:03:26.000Z | 2022-02-22T15:49:15.000Z | include/gelf4cplus/GelfMessage.hpp | shablov/gelf4cplus | 082823d6849a412d6bddffebf540f98455ac3e63 | [
"MIT"
] | null | null | null | include/gelf4cplus/GelfMessage.hpp | shablov/gelf4cplus | 082823d6849a412d6bddffebf540f98455ac3e63 | [
"MIT"
] | 3 | 2015-12-13T15:51:06.000Z | 2019-11-23T20:07:58.000Z | /*
* File: GelfMessage.hpp
* Author: Steven Bidny
*
* Created on May 22, 2012, 12:57 PM
*/
#if !defined(GELFMESSAGE_HPP)
#define GELFMESSAGE_HPP
/*- HEADER FILES -------------------------------------------------------------*/
// System Header Files
#include <string>
#include <exception>
#include <stdint.h>
... | 25.203361 | 97 | 0.556482 | shablov |
33eb786ffc4b6c72c681f0f9afc91cf9b9b11582 | 9,472 | cpp | C++ | src/accessors/quadrilateral.cpp | jonancm/viennagrid-python | a56f23ab65cf82b2f06ff546d45c056bb9d326b2 | [
"MIT"
] | null | null | null | src/accessors/quadrilateral.cpp | jonancm/viennagrid-python | a56f23ab65cf82b2f06ff546d45c056bb9d326b2 | [
"MIT"
] | 1 | 2015-05-13T08:28:52.000Z | 2015-05-13T08:28:52.000Z | src/accessors/quadrilateral.cpp | jonancm/viennagrid-python | a56f23ab65cf82b2f06ff546d45c056bb9d326b2 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2013 Jonan Cruz-Martin
*
* Distributed under the terms of the MIT license, see the accompanying
* file COPYING or http://opensource.org/licenses/MIT.
*/
#include "quadrilateral.hpp"
/********************
* VERTEX ACCESSORS *
********************/
///////////////////////////////////////
// ... | 29.880126 | 119 | 0.756968 | jonancm |
33ef906240f2385168ed0f10cd4f760fd0b9e5e3 | 524,224 | hpp | C++ | sortSVEkv.hpp | berenger-eu/arm-sve-sort | 6369f22ec204f93b62b13c29028bd90b219dbec2 | [
"MIT"
] | null | null | null | sortSVEkv.hpp | berenger-eu/arm-sve-sort | 6369f22ec204f93b62b13c29028bd90b219dbec2 | [
"MIT"
] | null | null | null | sortSVEkv.hpp | berenger-eu/arm-sve-sort | 6369f22ec204f93b62b13c29028bd90b219dbec2 | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////
/// By berenger.bramas@inria.fr 2020.
/// Licence is MIT.
/// Comes without any warranty.
///
/// Code to sort two arrays of integers (key/value)
/// or sort pairs of integers
/// using ARM SVE (works for vectors of any size).
/// It also includes a partitionin... | 53.899239 | 205 | 0.623091 | berenger-eu |
33f05bfead0a72613301aac30a7ff0665ad79049 | 1,048 | cpp | C++ | src/homework/tic_tac_toe/tic_tac_toe_manager.cpp | acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-mmacigewski | dcccbc63856b1ff95cc055c517141ba9677e151b | [
"MIT"
] | null | null | null | src/homework/tic_tac_toe/tic_tac_toe_manager.cpp | acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-mmacigewski | dcccbc63856b1ff95cc055c517141ba9677e151b | [
"MIT"
] | null | null | null | src/homework/tic_tac_toe/tic_tac_toe_manager.cpp | acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-mmacigewski | dcccbc63856b1ff95cc055c517141ba9677e151b | [
"MIT"
] | null | null | null | #include "tic_tac_toe_manager.h"
TicTacToeManager::TicTacToeManager(Tic_tac_toe_data & read)
{
games = read.get_games(); //Initalizes games vector to get_games()
for (auto& x : games) //iterate games vector
{
x.get()->get_winner(); //Not sure how to update winner function when TicTacmanager doesn't extend tic t... | 20.54902 | 111 | 0.665076 | acc-cosc-1337-spring-2020 |
33f15fb1979654437ca3af9ff7b5599ec1139593 | 15,508 | cpp | C++ | src/dlgreader.cpp | ic005k/Xcounter | c1c50442681ab9b84390a3c71abfa91a1500afcd | [
"MIT"
] | null | null | null | src/dlgreader.cpp | ic005k/Xcounter | c1c50442681ab9b84390a3c71abfa91a1500afcd | [
"MIT"
] | null | null | null | src/dlgreader.cpp | ic005k/Xcounter | c1c50442681ab9b84390a3c71abfa91a1500afcd | [
"MIT"
] | null | null | null | #include "dlgreader.h"
#include <QKeyEvent>
#include "mainwindow.h"
#include "ui_dlgreader.h"
#include "ui_mainwindow.h"
extern MainWindow* mw_one;
extern QString iniFile, iniDir, strPage;
extern bool isImport, zh_cn;
extern int fontSize;
dlgReader::dlgReader(QWidget* parent) : QDialog(parent), ui(new Ui::dlgReader... | 31.203219 | 106 | 0.612716 | ic005k |
33f27435aa9e3357584f57d3a432cad0b6881ed7 | 6,216 | cc | C++ | qoin/solution/solution.cc | hayashikun/qoin | 4b82f985dbec66e421765304f798078245185b6c | [
"Apache-2.0"
] | 7 | 2020-08-29T09:14:56.000Z | 2021-11-16T04:52:53.000Z | qoin/solution/solution.cc | hayashikun/qoin | 4b82f985dbec66e421765304f798078245185b6c | [
"Apache-2.0"
] | null | null | null | qoin/solution/solution.cc | hayashikun/qoin | 4b82f985dbec66e421765304f798078245185b6c | [
"Apache-2.0"
] | null | null | null | #include "qoin/solution/solution.h"
#include <cstdlib>
#include "absl/flags/declare.h"
#include "absl/flags/flag.h"
#include "mediapipe/framework/calculator_framework.h"
#include "mediapipe/framework/formats/image_frame.h"
#include "mediapipe/framework/formats/image_frame_opencv.h"
#include "mediapipe/framework/port/... | 42.285714 | 88 | 0.609878 | hayashikun |
33f61723606b916e6ba6621bbfcdd285da84ec8d | 3,566 | cpp | C++ | Code/ThirdParty/ads/DockSplitter.cpp | Tekh-ops/ezEngine | d6a5887d8709f267bf8f2943ef15054e29f6d3d5 | [
"MIT"
] | 703 | 2015-03-07T15:30:40.000Z | 2022-03-30T00:12:40.000Z | Code/ThirdParty/ads/DockSplitter.cpp | Tekh-ops/ezEngine | d6a5887d8709f267bf8f2943ef15054e29f6d3d5 | [
"MIT"
] | 233 | 2015-01-11T16:54:32.000Z | 2022-03-19T18:00:47.000Z | Code/ThirdParty/ads/DockSplitter.cpp | Tekh-ops/ezEngine | d6a5887d8709f267bf8f2943ef15054e29f6d3d5 | [
"MIT"
] | 101 | 2016-10-28T14:05:10.000Z | 2022-03-30T19:00:59.000Z | /*******************************************************************************
** Qt Advanced Docking System
** Copyright (C) 2017 Uwe Kindler
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License as published by the Free So... | 28.99187 | 81 | 0.451206 | Tekh-ops |
33f7604be2708d9c558b8841859cfa1174c5869d | 782 | hpp | C++ | Speaker/include/configuration.hpp | AlixANNERAUD/Smart-Hi-Fi | 0bc6ef05d744ec5abc5be717729c5245922905a6 | [
"MIT"
] | null | null | null | Speaker/include/configuration.hpp | AlixANNERAUD/Smart-Hi-Fi | 0bc6ef05d744ec5abc5be717729c5245922905a6 | [
"MIT"
] | null | null | null | Speaker/include/configuration.hpp | AlixANNERAUD/Smart-Hi-Fi | 0bc6ef05d744ec5abc5be717729c5245922905a6 | [
"MIT"
] | null | null | null | #ifndef CONFIGURATION_HPP_INCLUDED
#define CONFIGURATION_HPP_INCLUDED
// Pinout
#define Default_Device_Name "SmartHiFi"
#define Default_Device_Password ""
#define Potentiometer_Pin 33
#define Green_LED_Pin 32
#define Red_LED_Pin 21
#define Blue_LED_Pin 14
#define Up_Pin 16
#define Down_Pin 17
#define Infrared_Rec... | 16.638298 | 41 | 0.818414 | AlixANNERAUD |
33f7a90d42a4cb19f11775cd972ec3b633044bb0 | 1,846 | hpp | C++ | interface/omni/ui/ui_meta_extension.hpp | daniel-kun/omni | ec9e0a2688677f53c3b4aa3b68f4f788a81e8a18 | [
"MIT"
] | 33 | 2015-03-21T04:12:45.000Z | 2021-04-18T21:44:33.000Z | interface/omni/ui/ui_meta_extension.hpp | daniel-kun/omni | ec9e0a2688677f53c3b4aa3b68f4f788a81e8a18 | [
"MIT"
] | null | null | null | interface/omni/ui/ui_meta_extension.hpp | daniel-kun/omni | ec9e0a2688677f53c3b4aa3b68f4f788a81e8a18 | [
"MIT"
] | 2 | 2016-03-05T12:57:05.000Z | 2017-09-12T10:11:52.000Z | #ifndef OMNI_UI_UI_META_EXTENSION_HPP
#define OMNI_UI_UI_META_EXTENSION_HPP
#include <omni/ui/ui.hpp>
#include <omni/ui/entity_base_widget.hpp>
#include <omni/core/model/meta_info_extension.hpp>
#include <memory>
#include <functional>
namespace omni {
namespace core {
class context;
namespace model {
class module;... | 36.196078 | 143 | 0.52221 | daniel-kun |
33f7c48bdf744f4429fc483a2bf63f0fa64e7b69 | 60,728 | cpp | C++ | fem/intrules.cpp | adantra/mfem | e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298 | [
"BSD-3-Clause"
] | null | null | null | fem/intrules.cpp | adantra/mfem | e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298 | [
"BSD-3-Clause"
] | null | null | null | fem/intrules.cpp | adantra/mfem | e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 35.143519 | 80 | 0.573772 | adantra |
33f9a009fc8eba7db248dc195f45fafc94c82058 | 4,150 | cxx | C++ | src/util/rectangle.cxx | ambasta/osram | 5415b73292e1387fb1dbcab58296ea6fefab9075 | [
"BSD-2-Clause"
] | 1 | 2021-01-25T11:07:22.000Z | 2021-01-25T11:07:22.000Z | src/util/rectangle.cxx | ambasta/osram | 5415b73292e1387fb1dbcab58296ea6fefab9075 | [
"BSD-2-Clause"
] | null | null | null | src/util/rectangle.cxx | ambasta/osram | 5415b73292e1387fb1dbcab58296ea6fefab9075 | [
"BSD-2-Clause"
] | null | null | null | #include <bits/stdint-intn.h>
#include <cassert>
#include <cstdint>
#include <limits>
#include <osram/util/coordinate.hxx>
#include <osram/util/rectangle.hxx>
namespace osram {
namespace util {
RectangleInt2D::RectangleInt2D()
: min_lon{std::numeric_limits<std::int32_t>::max()},
max_lon{std::numeric_limits<... | 32.677165 | 80 | 0.698554 | ambasta |
33fdc3cabfa71858e8d1e3434d682ac403a39280 | 783 | cc | C++ | C++/examples/genPlot2.cc | denismr/SymmetricPCVT | 1c4eb402e6e3ea405ff91f762028a76187b27db8 | [
"Unlicense"
] | 39 | 2018-11-09T12:50:29.000Z | 2022-02-27T14:43:57.000Z | C++/examples/genPlot2.cc | denismr/SymmetricPCVT | 1c4eb402e6e3ea405ff91f762028a76187b27db8 | [
"Unlicense"
] | null | null | null | C++/examples/genPlot2.cc | denismr/SymmetricPCVT | 1c4eb402e6e3ea405ff91f762028a76187b27db8 | [
"Unlicense"
] | null | null | null | #include "SPCVT.h"
#include <iostream>
int main() {
int radius = 30;
std::cout << "radius,radius_within,avg_visits_per_cell\n";
SPCVT fov(radius);
int r = radius;
for (int r = 1; r <= radius; r++) {
auto checkIn = [=](int x, int y){
return x * x + y * y > r * r;
};
int row... | 24.46875 | 75 | 0.443167 | denismr |
d50066067fc71194db6d0691fed7c44623efb9ca | 2,633 | cpp | C++ | main_test_pathfinding/main.cpp | leohmcs/AVANTLink | 106dfc144ce882f700d69d9b77956577f8cd8422 | [
"Apache-2.0"
] | 5 | 2019-10-07T01:23:37.000Z | 2021-06-21T03:00:11.000Z | main_test_pathfinding/main.cpp | leohmcs/AVANTLink | 106dfc144ce882f700d69d9b77956577f8cd8422 | [
"Apache-2.0"
] | 5 | 2019-02-27T21:48:13.000Z | 2020-12-20T00:54:39.000Z | main_test_pathfinding/main.cpp | leohmcs/AVANTLink | 106dfc144ce882f700d69d9b77956577f8cd8422 | [
"Apache-2.0"
] | 9 | 2018-07-19T19:57:39.000Z | 2020-10-16T20:26:37.000Z | #include <iostream>
#include "pathfinding_output.h"
#include <cmath>
using namespace std;
//funcoes para converter valores X e Y em metros para coordenadas no plano cartesiano da malha
double conversor_X(double lat_drone, int X){
double x_coord = lat_drone + X*0.000009;
return x_coord;
}
double conversor_Y(doubl... | 43.163934 | 162 | 0.663122 | leohmcs |
d50247f669d9f4c9d39cd884235a53d81e422d6b | 126,786 | cpp | C++ | dashplayer/DashCodec.cpp | urris/android_device_casio_gzone | de44f94df890478db16100bccd6a18ba446a3d75 | [
"FTL"
] | 1 | 2015-01-04T00:29:12.000Z | 2015-01-04T00:29:12.000Z | dashplayer/DashCodec.cpp | nadlabak/android_device_motorola_moto_msm8960 | a7937b0f84146d96530a37fcf08f9076621807ca | [
"FTL"
] | null | null | null | dashplayer/DashCodec.cpp | nadlabak/android_device_motorola_moto_msm8960 | a7937b0f84146d96530a37fcf08f9076621807ca | [
"FTL"
] | 1 | 2015-01-06T18:36:09.000Z | 2015-01-06T18:36:09.000Z | /*
* Copyright (c) 2013, The Linux Foundation. All rights reserved.
* Not a Contribution.
*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 L... | 30.165596 | 103 | 0.588574 | urris |
d505249e51d1c636f278e218ad87449b0688373d | 600 | cpp | C++ | Angel/Libraries/gwen/UnitTest/ImagePanel.cpp | Tifox/Grog-Knight | 377a661286cda7ee3b2b2d0099641897938c2f8f | [
"Apache-2.0"
] | 171 | 2015-01-08T10:35:56.000Z | 2021-07-03T12:35:10.000Z | Angel/Libraries/gwen/UnitTest/ImagePanel.cpp | Tifox/Grog-Knight | 377a661286cda7ee3b2b2d0099641897938c2f8f | [
"Apache-2.0"
] | 11 | 2015-01-30T05:30:54.000Z | 2017-04-08T23:34:33.000Z | Angel/Libraries/gwen/UnitTest/ImagePanel.cpp | Tifox/Grog-Knight | 377a661286cda7ee3b2b2d0099641897938c2f8f | [
"Apache-2.0"
] | 59 | 2015-02-01T03:43:00.000Z | 2020-12-01T02:08:57.000Z | #include "Gwen/UnitTest/UnitTest.h"
#include "Gwen/Controls/ImagePanel.h"
using namespace Gwen;
class ImagePanel : public GUnit
{
public:
GWEN_CONTROL_INLINE( ImagePanel, GUnit )
{
// Normal
{
Controls::ImagePanel* img = new Controls::ImagePanel( this );
img->SetImage( L"gwen.png" );
i... | 18.75 | 65 | 0.625 | Tifox |
d5057d87a042dcf1cbcd4fc4ba871a788efb1bbe | 1,178 | cpp | C++ | libdariadb/storage/subscribe.cpp | lysevi/memseries | e9c2e34b0723ea6e040ecdcce3d57153d32b061e | [
"Apache-2.0"
] | 24 | 2016-06-14T20:09:37.000Z | 2021-03-21T23:11:52.000Z | libdariadb/storage/subscribe.cpp | lysevi/dariadb | e9c2e34b0723ea6e040ecdcce3d57153d32b061e | [
"Apache-2.0"
] | 326 | 2016-03-18T08:04:33.000Z | 2017-07-03T08:47:37.000Z | libdariadb/storage/subscribe.cpp | lysevi/dariadb | e9c2e34b0723ea6e040ecdcce3d57153d32b061e | [
"Apache-2.0"
] | 8 | 2016-06-16T14:28:02.000Z | 2022-01-20T04:19:35.000Z | #include <libdariadb/storage/subscribe.h>
#include <libdariadb/utils/utils.h>
#include <algorithm>
using namespace dariadb::storage;
using namespace dariadb;
SubscribeInfo::SubscribeInfo(const IdArray &i, const Flag &f, const ReaderCallback_ptr &c)
: ids(i), flag(f), clbk(c) {}
bool SubscribeInfo::isYours(const ... | 23.56 | 90 | 0.658744 | lysevi |
d506e60282f95bf7cd7306cdcb62e98f11e43dd8 | 33,781 | cc | C++ | modules/audio_coding/codecs/opus/opus_unittest.cc | webrtc-uwp/webrtc2 | d1b53b61fb41a3aec58668f07e230f0b54560029 | [
"BSD-3-Clause"
] | 97 | 2016-11-10T08:22:35.000Z | 2021-12-19T05:42:40.000Z | modules/audio_coding/codecs/opus/opus_unittest.cc | webrtc-uwp/webrtc2 | d1b53b61fb41a3aec58668f07e230f0b54560029 | [
"BSD-3-Clause"
] | 9 | 2017-02-23T05:10:25.000Z | 2020-10-13T08:58:26.000Z | modules/audio_coding/codecs/opus/opus_unittest.cc | webrtc-uwp/webrtc2 | d1b53b61fb41a3aec58668f07e230f0b54560029 | [
"BSD-3-Clause"
] | 72 | 2016-10-14T03:35:04.000Z | 2022-03-10T01:08:15.000Z | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 37.534444 | 106 | 0.673988 | webrtc-uwp |
d506ee41d7f8a9b9142c0118ecb73b9e5b970f8e | 1,292 | cpp | C++ | Extensions/Inventory/tests/InventoryTools.cpp | mohajain/GDevelop | 8e8d96dd3a5957221fb3d0ec28a694620149d835 | [
"MIT"
] | 4 | 2021-03-18T22:26:31.000Z | 2021-07-16T00:12:15.000Z | Extensions/Inventory/tests/InventoryTools.cpp | mohajain/GDevelop | 8e8d96dd3a5957221fb3d0ec28a694620149d835 | [
"MIT"
] | 9 | 2020-04-04T19:26:47.000Z | 2022-03-25T18:41:20.000Z | Extensions/Inventory/tests/InventoryTools.cpp | mohajain/GDevelop | 8e8d96dd3a5957221fb3d0ec28a694620149d835 | [
"MIT"
] | 2 | 2020-03-02T05:20:41.000Z | 2021-05-10T03:59:05.000Z | /**
GDevelop - Inventory Extension
Copyright (c) 2011-2016 Florian Rival (Florian.Rival@gmail.com)
This project is released under the MIT License.
*/
#include "catch.hpp"
#include "../InventoryTools.h"
#include "GDCpp/Runtime/Project/Variable.h"
#include "GDCpp/Runtime/Serialization/Serializer.h"
#include "GDCpp/Runt... | 35.888889 | 78 | 0.733746 | mohajain |
d509b3a5b77335f0e4c86b8b6e9a9c643ae94d9a | 862 | cpp | C++ | source/MaterialXGenOsl/Nodes/SurfaceNodeOsl.cpp | rasmusbonnedal/MaterialX | 8bb43b01019159af007c44e8dd7cea822a897522 | [
"BSD-3-Clause"
] | 973 | 2017-07-06T02:29:09.000Z | 2022-02-28T18:49:10.000Z | source/MaterialXGenOsl/Nodes/SurfaceNodeOsl.cpp | rasmusbonnedal/MaterialX | 8bb43b01019159af007c44e8dd7cea822a897522 | [
"BSD-3-Clause"
] | 213 | 2017-07-12T09:44:10.000Z | 2022-02-25T21:29:20.000Z | source/MaterialXGenOsl/Nodes/SurfaceNodeOsl.cpp | kwokcb/MaterialX | 483c616e10e6d9a23763ae33cd10f7bcb08cf2e9 | [
"Apache-2.0"
] | 305 | 2017-07-11T19:05:41.000Z | 2022-02-14T12:25:43.000Z | //
// TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <MaterialXGenOsl/Nodes/SurfaceNodeOsl.h>
#include <MaterialXGenOsl/OslShaderGenerator.h>
#include <MaterialXGenShader/Shader.h>
#include <MaterialXGenShader/GenContext.h>
MATE... | 29.724138 | 108 | 0.777262 | rasmusbonnedal |
d50ae4759b67c2030bd42addddd15b122284f785 | 16,970 | hpp | C++ | contrib/TAMM/src/tamm/kernels/assign.hpp | smferdous1/gfcc | e7112c0dd60566266728e4d51ea8d30aea4b775d | [
"MIT"
] | 4 | 2020-10-14T17:43:00.000Z | 2021-06-21T08:23:01.000Z | contrib/TAMM/src/tamm/kernels/assign.hpp | smferdous1/gfcc | e7112c0dd60566266728e4d51ea8d30aea4b775d | [
"MIT"
] | 3 | 2020-06-03T19:54:30.000Z | 2022-03-10T22:59:30.000Z | contrib/TAMM/src/tamm/kernels/assign.hpp | smferdous1/gfcc | e7112c0dd60566266728e4d51ea8d30aea4b775d | [
"MIT"
] | 6 | 2020-06-08T03:54:16.000Z | 2022-03-02T17:47:51.000Z | #ifndef TAMM_KERNELS_ASSIGN_H_
#define TAMM_KERNELS_ASSIGN_H_
#include "tamm/errors.hpp"
#include "tamm/types.hpp"
#include "tamm/utils.hpp"
#include "hptt/hptt.h"
#include <algorithm>
#include <functional>
#include <iostream>
#include <numeric>
#include <vector>
namespace tamm {
namespace internal {
template<typ... | 36.029724 | 80 | 0.501179 | smferdous1 |
d50e74deedbb36987331171bf9a7079978a5139e | 270 | cpp | C++ | framework/src/Core/Network/Tcp/TcpServer.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | framework/src/Core/Network/Tcp/TcpServer.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | 3 | 2015-12-21T09:04:49.000Z | 2015-12-21T19:22:47.000Z | framework/src/Core/Network/Tcp/TcpServer.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | #include "Core/Network/Tcp/TcpServer.hh"
using namespace fwk;
TcpServer::TcpServer(uint16_t port, TcpSocket* server):
Lockable(),
port(port),
server(server),
clients(),
accept(),
blacklist(),
active(false),
events()
{}
TcpServer::~TcpServer(void) {}
| 15.882353 | 55 | 0.677778 | gautier-lefebvre |
d50ec1d84ab3dba515523dda90e75b046b3eb130 | 1,383 | hpp | C++ | MasterCraft/glimac/include/glimac/Pnj.hpp | Exomus/LaraCraft | 7e0a2422755bfbb162aec4c4589c7ed068edc843 | [
"MIT"
] | null | null | null | MasterCraft/glimac/include/glimac/Pnj.hpp | Exomus/LaraCraft | 7e0a2422755bfbb162aec4c4589c7ed068edc843 | [
"MIT"
] | null | null | null | MasterCraft/glimac/include/glimac/Pnj.hpp | Exomus/LaraCraft | 7e0a2422755bfbb162aec4c4589c7ed068edc843 | [
"MIT"
] | null | null | null | //
// Created by adam on 08/02/2020.
//
#ifndef IMACGL_PNJ_HPP
#define IMACGL_PNJ_HPP
#include <glm/vec3.hpp>
#include "Cube.hpp"
#include "MovementChecker.hpp"
/**
* Represent a PNJ
*/
class Pnj {
private:
/**
* Vector direction of the PNJ
*/
glm::vec3 direction;
/**
* Position of the ... | 19.208333 | 89 | 0.610268 | Exomus |
d510e80bfc07a8012259b696e6adfd94bd9cd4d1 | 506,638 | cpp | C++ | external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp | twoerner/VK-GL-CTS | 8e89717bf4ed2d67c58231d1847d2c8f574f300c | [
"Apache-2.0"
] | 354 | 2017-01-24T17:12:38.000Z | 2022-03-30T07:40:19.000Z | external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp | twoerner/VK-GL-CTS | 8e89717bf4ed2d67c58231d1847d2c8f574f300c | [
"Apache-2.0"
] | 275 | 2017-01-24T20:10:36.000Z | 2022-03-24T16:24:50.000Z | external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp | twoerner/VK-GL-CTS | 8e89717bf4ed2d67c58231d1847d2c8f574f300c | [
"Apache-2.0"
] | 190 | 2017-01-24T18:02:04.000Z | 2022-03-27T13:11:23.000Z | /*------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2015-2020 The Khronos Group Inc.
* Copyright (c) 2020 Google Inc.
* Copyright (c) 2015-2016 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Vers... | 41.650608 | 274 | 0.733208 | twoerner |
d5115875b5f0ea89daf75214351aa46ae1f65cb7 | 6,336 | hpp | C++ | sprout/compost/waves/white_noise.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 691 | 2015-01-15T18:52:23.000Z | 2022-03-15T23:39:39.000Z | sprout/compost/waves/white_noise.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 22 | 2015-03-11T01:22:56.000Z | 2021-03-29T01:51:45.000Z | sprout/compost/waves/white_noise.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 57 | 2015-03-11T07:52:29.000Z | 2021-12-16T09:15:33.000Z | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | 37.714286 | 153 | 0.705492 | kevcadieux |
d511cb93f1e92997f5edf9fa822633967aa675e4 | 546 | cpp | C++ | vslib/src/sai_vs_port.cpp | padmanarayana/sonic-sairedis | 398d24aa4159903aacbb1b8a6b5ab3307a575075 | [
"Apache-2.0"
] | 1 | 2019-03-27T15:22:27.000Z | 2019-03-27T15:22:27.000Z | vslib/src/sai_vs_port.cpp | cisco-aarhodes/sonic-sairedis | 0974a43dbdf42b40edff81e18dc4f2c66b108827 | [
"Apache-2.0"
] | null | null | null | vslib/src/sai_vs_port.cpp | cisco-aarhodes/sonic-sairedis | 0974a43dbdf42b40edff81e18dc4f2c66b108827 | [
"Apache-2.0"
] | null | null | null | #include "sai_vs.h"
#include "sai_vs_internal.h"
sai_status_t vs_clear_port_all_stats(
_In_ sai_object_id_t port_id)
{
MUTEX();
SWSS_LOG_ENTER();
return SAI_STATUS_NOT_IMPLEMENTED;
}
VS_GENERIC_QUAD(PORT,port);
VS_GENERIC_QUAD(PORT_POOL,port_pool);
VS_GENERIC_STATS(PORT,port);
VS_GENERIC_STATS(P... | 18.827586 | 38 | 0.769231 | padmanarayana |
d511e9b7f39ed3abd93527c6a6f0b833e7f66319 | 2,813 | hpp | C++ | include/engineering_units/unit/predicates.hpp | sbabbi/engunits | e935c82b12374ec3c43d660f6efe2a12d5548b7f | [
"BSL-1.0"
] | null | null | null | include/engineering_units/unit/predicates.hpp | sbabbi/engunits | e935c82b12374ec3c43d660f6efe2a12d5548b7f | [
"BSL-1.0"
] | null | null | null | include/engineering_units/unit/predicates.hpp | sbabbi/engunits | e935c82b12374ec3c43d660f6efe2a12d5548b7f | [
"BSL-1.0"
] | null | null | null | /*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization
* obtaining a copy of the software and accompanying documentation covered by
* this license (the "Software") to use, reproduce, display, distribute,
* execute, and transmit... | 30.576087 | 78 | 0.735514 | sbabbi |
d514a46a9f974447b557bddc1f85ac5f0fdc6768 | 2,985 | hpp | C++ | openstudiocore/src/generateiddfactory/GeneratorApplicationPathHelpers.hpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2017-10-13T09:23:04.000Z | 2017-10-13T09:23:04.000Z | openstudiocore/src/generateiddfactory/GeneratorApplicationPathHelpers.hpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | null | null | null | openstudiocore/src/generateiddfactory/GeneratorApplicationPathHelpers.hpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2022-03-20T13:19:42.000Z | 2022-03-20T13:19:42.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... | 62.1875 | 120 | 0.720938 | OpenStudioThailand |
d51582fc10b69e4f05bd7f4de7f639d27e39bd16 | 525 | hpp | C++ | pythran/pythonic/utils/yield.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/utils/yield.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/utils/yield.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHRAN_UTILS_YIELD_HPP
#define PYTHRAN_UTILS_YIELD_HPP
#include "pythonic/include/utils/yield.hpp"
/*
* This contains base class for yielders
*/
#include "pythonic/types/generator.hpp"
namespace pythonic
{
yielder::yielder() : __generator_state(0)
{
}
bool yielder::operator!=(yielder const &othe... | 17.5 | 56 | 0.729524 | xmar |
d5178d01c0d9ffce7b0c1bcccabc0d29404f53ff | 2,886 | cpp | C++ | co-op/UI/Diagnostics.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 67 | 2018-03-02T10:50:02.000Z | 2022-03-23T18:20:29.000Z | co-op/UI/Diagnostics.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | null | null | null | co-op/UI/Diagnostics.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 9 | 2018-03-01T16:38:28.000Z | 2021-03-02T16:17:09.000Z | //----------------------------------
// (c) Reliable Software 2005 - 2007
//----------------------------------
#include "precompiled.h"
#include "Diagnostics.h"
#include "OutputSink.h"
#include "Resource.h"
#include <Com/Shell.h>
#include <File/File.h>
DiagnosticsRequest::DiagnosticsRequest (int currentProjectId)
:... | 28.019417 | 138 | 0.704435 | BartoszMilewski |
d518448504f928d39556db4ed6b73be5aaab7084 | 3,015 | cpp | C++ | tf2_bot_detector/Platform/Windows/Shell.cpp | bgausden/tf2_bot_detector | 70efef2144b80cb90f38ce137ccdaec21fe5d326 | [
"MIT"
] | null | null | null | tf2_bot_detector/Platform/Windows/Shell.cpp | bgausden/tf2_bot_detector | 70efef2144b80cb90f38ce137ccdaec21fe5d326 | [
"MIT"
] | null | null | null | tf2_bot_detector/Platform/Windows/Shell.cpp | bgausden/tf2_bot_detector | 70efef2144b80cb90f38ce137ccdaec21fe5d326 | [
"MIT"
] | null | null | null | #include "../Platform.h"
#include "Util/TextUtils.h"
#include "Log.h"
#include <mh/text/string_insertion.hpp>
#include <filesystem>
#include <memory>
#include "WindowsHelpers.h"
#include <wrl/client.h>
#include <Windows.h>
#include <ShObjIdl_core.h>
#include <ShlObj.h>
#include <shellapi.h>
using namespace std::str... | 24.12 | 147 | 0.709784 | bgausden |
d5199b62a91e14f6f887d70258229e1963cbf233 | 3,836 | cpp | C++ | Code/include/igl/find.cpp | FabianRepository/SinusProject | 48d68902ccd83f08c4d208ba8e0739a8a1252338 | [
"BSD-3-Clause"
] | null | null | null | Code/include/igl/find.cpp | FabianRepository/SinusProject | 48d68902ccd83f08c4d208ba8e0739a8a1252338 | [
"BSD-3-Clause"
] | 1 | 2020-08-04T22:39:02.000Z | 2020-08-05T21:02:47.000Z | Code/include/igl/find.cpp | FabianRepository/SinusProject | 48d68902ccd83f08c4d208ba8e0739a8a1252338 | [
"BSD-3-Clause"
] | null | null | null | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// 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 htt... | 29.507692 | 380 | 0.591502 | FabianRepository |
d51c225c4a6102ba3bb99ac5464d2765cf7ab37d | 37,224 | cpp | C++ | bin/win32/BINDInstall/BINDInstallDlg.cpp | wrren/bind9_uguard | b7603c3c036dc9d39c163b79e01d41591f508352 | [
"BSD-2-Clause"
] | 1 | 2017-06-17T14:12:47.000Z | 2017-06-17T14:12:47.000Z | bin/win32/BINDInstall/BINDInstallDlg.cpp | Distrotech/bind | 2e99318974d72bd89759c2abb5538b5134397388 | [
"BSD-2-Clause"
] | null | null | null | bin/win32/BINDInstall/BINDInstallDlg.cpp | Distrotech/bind | 2e99318974d72bd89759c2abb5538b5134397388 | [
"BSD-2-Clause"
] | null | null | null | /*
* Portions Copyright (C) 2004-2010, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* co... | 26.973913 | 119 | 0.710966 | wrren |
d51ef29e1659b768d94e8d3d4926e0585d987ee3 | 8,796 | cpp | C++ | ThirdParty/assimp/src/ScenePreprocessor.cpp | spetz911/almaty3d | 0dda0f05862be2585eae9b6e2e8cf476c043e3dc | [
"MIT"
] | null | null | null | ThirdParty/assimp/src/ScenePreprocessor.cpp | spetz911/almaty3d | 0dda0f05862be2585eae9b6e2e8cf476c043e3dc | [
"MIT"
] | null | null | null | ThirdParty/assimp/src/ScenePreprocessor.cpp | spetz911/almaty3d | 0dda0f05862be2585eae9b6e2e8cf476c043e3dc | [
"MIT"
] | null | null | null | /*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2012, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following ... | 33.830769 | 125 | 0.632219 | spetz911 |
d51ff757f15caa57f972d57e0e7abcb156d19773 | 513 | cc | C++ | Core/src/NullStream.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2019-07-29T04:07:29.000Z | 2019-07-29T04:07:29.000Z | Core/src/NullStream.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | null | null | null | Core/src/NullStream.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | 1 | 2020-03-04T17:13:04.000Z | 2020-03-04T17:13:04.000Z | /*
* Copyright (C) 2020 Frank Mertens.
*
* Distribution and use is allowed under the terms of the zlib license
* (see cc/LICENSE-zlib).
*
*/
#include <cc/NullStream>
namespace cc {
struct NullStream::State: public Stream::State
{
long read(Out<Bytes> buffer, long maxFill) override
{
buffer().fi... | 16.03125 | 70 | 0.621832 | frankencode |
d5201ffb272dedb99211c9e30f98c0137a656f31 | 12,673 | cpp | C++ | iceoryx_posh/test/moduletests/test_posh_receiverport.cpp | surendra210/iceoryx | f964c2435f65585784b2d77af0ce39f88670fb36 | [
"Apache-2.0"
] | null | null | null | iceoryx_posh/test/moduletests/test_posh_receiverport.cpp | surendra210/iceoryx | f964c2435f65585784b2d77af0ce39f88670fb36 | [
"Apache-2.0"
] | null | null | null | iceoryx_posh/test/moduletests/test_posh_receiverport.cpp | surendra210/iceoryx | f964c2435f65585784b2d77af0ce39f88670fb36 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 35.598315 | 107 | 0.717904 | surendra210 |
d52b9e7bd6d140eb8c63450ab675b8f85d247023 | 10,580 | cpp | C++ | src/usb/daqi/DaqIUsbBase.cpp | matthewrankin/uldaq | 7568a411edecbe28dc73972358bc73c0b2fdb071 | [
"MIT"
] | null | null | null | src/usb/daqi/DaqIUsbBase.cpp | matthewrankin/uldaq | 7568a411edecbe28dc73972358bc73c0b2fdb071 | [
"MIT"
] | null | null | null | src/usb/daqi/DaqIUsbBase.cpp | matthewrankin/uldaq | 7568a411edecbe28dc73972358bc73c0b2fdb071 | [
"MIT"
] | null | null | null | /*
* DaqIUsbBase.cpp
*
* Author: Measurement Computing Corporation
*/
#include "DaqIUsbBase.h"
#include "../../CtrDevice.h"
namespace ul
{
DaqIUsbBase::DaqIUsbBase(const UsbDaqDevice& daqDevice) : DaqIDevice(daqDevice), mUsbDevice(daqDevice)
{
mScanEndpointAddr = 0;
mScanStopCmd = 0;
mTransferMode = SO_B... | 25.493976 | 199 | 0.750567 | matthewrankin |
d52da897c52f8526448b8d28ebd899656de6be06 | 4,007 | hpp | C++ | src/workload/per-data-space.hpp | compstruct/procrustes-timeloop-model | 1ee4d57ed59a320bbcba0640caf9c5d422b3dc41 | [
"BSD-3-Clause"
] | 2 | 2022-02-22T22:25:00.000Z | 2022-03-23T13:42:51.000Z | src/workload/per-data-space.hpp | compstruct/procrustes-timeloop-model | 1ee4d57ed59a320bbcba0640caf9c5d422b3dc41 | [
"BSD-3-Clause"
] | null | null | null | src/workload/per-data-space.hpp | compstruct/procrustes-timeloop-model | 1ee4d57ed59a320bbcba0640caf9c5d422b3dc41 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of cond... | 27.634483 | 99 | 0.659845 | compstruct |
d52fea68b17b122d71d64a6a3ce5e63ebef56df4 | 5,219 | cpp | C++ | Assignment_3/ksat.cpp | westrope/Evo-Comp | d5ae9d5d06ba698cfef40ad35d4277223726b3b8 | [
"MIT"
] | null | null | null | Assignment_3/ksat.cpp | westrope/Evo-Comp | d5ae9d5d06ba698cfef40ad35d4277223726b3b8 | [
"MIT"
] | null | null | null | Assignment_3/ksat.cpp | westrope/Evo-Comp | d5ae9d5d06ba698cfef40ad35d4277223726b3b8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdlib>
#include <vector>
#include <bitset>
#include <cstring>
#include <string>
#include "rand.h"
using namespace std;
vector<unsigned long long int> clause;
vector<unsigned long long int> nMask;
int n , k , c;
unsigned long long int tourn( unsigned long long int a, unsigned long lon... | 22.021097 | 99 | 0.548956 | westrope |
d5304ea91a56a5b95b212f43148075d505e3deaa | 5,973 | cpp | C++ | GTEngine/Samples/Graphics/BumpMaps/BumpMapsWindow.cpp | pmjoniak/GeometricTools | ae6e933f9ab3a5474d830700ea8d9445cc78ef4b | [
"BSL-1.0"
] | 4 | 2019-03-03T18:13:30.000Z | 2020-08-25T18:15:30.000Z | GTEngine/Samples/Graphics/BumpMaps/BumpMapsWindow.cpp | pmjoniak/GeometricTools | ae6e933f9ab3a5474d830700ea8d9445cc78ef4b | [
"BSL-1.0"
] | null | null | null | GTEngine/Samples/Graphics/BumpMaps/BumpMapsWindow.cpp | pmjoniak/GeometricTools | ae6e933f9ab3a5474d830700ea8d9445cc78ef4b | [
"BSL-1.0"
] | 6 | 2016-07-15T11:04:52.000Z | 2021-12-07T03:11:42.000Z | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2018
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 3.0.0 (2016/06/19)
#include "BumpMapsWindow.h"
#include "Si... | 27.027149 | 92 | 0.630671 | pmjoniak |
d530eb3efaa12bbf6d897987cac47691b8cfa616 | 3,521 | cpp | C++ | android-31/android/icu/util/JapaneseCalendar.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/icu/util/JapaneseCalendar.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/icu/util/JapaneseCalendar.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "./TimeZone.hpp"
#include "./ULocale.hpp"
#include "../../../JString.hpp"
#include "../../../java/util/Date.hpp"
#include "../../../java/util/Locale.hpp"
#include "./JapaneseCalendar.hpp"
namespace android::icu::util
{
// Fields
jint JapaneseCalendar::HEISEI()
{
return getStaticField<jint>(
"android.i... | 24.971631 | 104 | 0.684465 | YJBeetle |
d532045ede20579c6ead2239256f45648d201f44 | 2,156 | cpp | C++ | src/CodeGen/CGCodeBlock.cpp | silicon-lang/silicon | d4b8549e12b371dc949afa64f5e8223caf21603c | [
"Apache-2.0"
] | 8 | 2020-06-26T11:25:13.000Z | 2021-11-09T11:50:31.000Z | src/CodeGen/CGCodeBlock.cpp | silicon-lang/silicon | d4b8549e12b371dc949afa64f5e8223caf21603c | [
"Apache-2.0"
] | 1 | 2020-09-28T09:36:41.000Z | 2020-10-02T04:04:19.000Z | src/CodeGen/CGCodeBlock.cpp | silicon-lang/silicon | d4b8549e12b371dc949afa64f5e8223caf21603c | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2021 Ardalan Amini
//
// 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... | 26.292683 | 77 | 0.670686 | silicon-lang |
d5322034af3fbe3636510f3054bb319e390286f4 | 1,437 | cpp | C++ | src/Records/SIDSTARApproach.cpp | BernardLeclerc/ARINC-424 | 2bde66027b744719ff235fed4873d96fd98c37f0 | [
"Unlicense"
] | 2 | 2020-12-01T20:38:28.000Z | 2021-07-24T00:49:33.000Z | src/Records/SIDSTARApproach.cpp | BernardLeclerc/ARINC-424 | 2bde66027b744719ff235fed4873d96fd98c37f0 | [
"Unlicense"
] | 1 | 2020-11-05T02:40:21.000Z | 2020-11-05T02:40:21.000Z | src/Records/SIDSTARApproach.cpp | BernardLeclerc/ARINC-424 | 2bde66027b744719ff235fed4873d96fd98c37f0 | [
"Unlicense"
] | 1 | 2021-04-26T23:02:27.000Z | 2021-04-26T23:02:27.000Z | #include "Records/SIDSTARApproach.h"
using namespace Arinc424::Record;
Approach::Approach() {}
Approach::~Approach() {}
ApproachRoute::ApproachRoute() {}
ApproachRoute::~ApproachRoute() {}
ApproachTransition::ApproachTransition() {}
ApproachTransition::~ApproachTransition() {}
CommonRoute::CommonRoute() {}
CommonRo... | 23.95 | 50 | 0.752958 | BernardLeclerc |
d5337a4f49d98ab8cfd223394b535a7122a6261e | 817 | hpp | C++ | sub3000/include/splash.hpp | masscry/badbaby | f0b2e793081491ed7598d3170725fe4b48ae1fff | [
"MIT"
] | null | null | null | sub3000/include/splash.hpp | masscry/badbaby | f0b2e793081491ed7598d3170725fe4b48ae1fff | [
"MIT"
] | null | null | null | sub3000/include/splash.hpp | masscry/badbaby | f0b2e793081491ed7598d3170725fe4b48ae1fff | [
"MIT"
] | null | null | null | /**
* @file splash.h
* @author splash scene
*/
#pragma once
#ifndef __SUB3000_SPLASH_HEADER__
#define __SUB3000_SPLASH_HEADER__
#include <scene.hpp>
#include <string>
#include <context.hpp>
namespace sub3000
{
class splashScene_t final: public scene_t
{
double duration;
std::string shader_vp;
... | 16.673469 | 43 | 0.670747 | masscry |
d5364580e494519f1ce809f0ef215fad827f39f1 | 6,033 | cpp | C++ | github/polylogarithm/v322/src/Li6.cpp | gxusthjw/JPolylogarithm | fd5f4e82815d87793dc9099eaa8acbf4be89e8c2 | [
"Apache-2.0"
] | null | null | null | github/polylogarithm/v322/src/Li6.cpp | gxusthjw/JPolylogarithm | fd5f4e82815d87793dc9099eaa8acbf4be89e8c2 | [
"Apache-2.0"
] | null | null | null | github/polylogarithm/v322/src/Li6.cpp | gxusthjw/JPolylogarithm | fd5f4e82815d87793dc9099eaa8acbf4be89e8c2 | [
"Apache-2.0"
] | null | null | null | // ====================================================================
// This file is part of Polylogarithm.
//
// Polylogarithm is licenced under the GNU Lesser General Public
// License (GNU LGPL) version 3.
// ====================================================================
#include "Li6.hpp"
#include <cmath>... | 30.469697 | 96 | 0.511188 | gxusthjw |
d53a48fff65724015fadf84956235ff7b5377cd8 | 1,502 | cpp | C++ | HDUOJ/1115/geometry.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2018-02-14T01:59:31.000Z | 2018-03-28T03:30:45.000Z | HDUOJ/1115/geometry.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | null | null | null | HDUOJ/1115/geometry.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2017-12-30T02:46:35.000Z | 2018-03-28T03:30:49.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <string>
#include <algorithm>
#include <cmath>
#include <iomanip>
#define SIZE 1000001
using namespace std;
typedef struct _Dot {
double x;
double y;
} dot;
dot arr[SIZE];
double getCrossedProduct(dot a, dot b)
{
return a.x * b.y - b.x * a... | 19.763158 | 120 | 0.513316 | codgician |
d540393238f5ed10de2b6205f056ab3d78d40a7c | 2,067 | cpp | C++ | makeoflab6/src/n+logn-2.cpp | Sinduja-S/Algorithm-Design-Lab | 9bd64ae42c574b91ca733bb108cd845c15fe3baf | [
"MIT"
] | 2 | 2020-04-17T05:26:11.000Z | 2020-05-09T12:27:07.000Z | makeoflab6/src/n+logn-2.cpp | sindu-sss/Algorithm-Design-Lab | 9bd64ae42c574b91ca733bb108cd845c15fe3baf | [
"MIT"
] | null | null | null | makeoflab6/src/n+logn-2.cpp | sindu-sss/Algorithm-Design-Lab | 9bd64ae42c574b91ca733bb108cd845c15fe3baf | [
"MIT"
] | 3 | 2020-04-02T12:50:10.000Z | 2021-03-27T05:01:22.000Z | #include <iostream>
#include <algorithm>
#include <list>
#include<bits/stdc++.h>
using namespace std;
struct node{
int index;
node *left,*right;
};
void trav(node *root, int arr[], int &res);
node *create(int index){
node *temp=new node;
temp->left=temp->right=NULL;
temp->index=index;
return temp;
}
void func(int arr... | 20.67 | 85 | 0.487663 | Sinduja-S |
d543f4cfde8b3c58e87c6ef31c6ccee596089bb7 | 935 | cpp | C++ | answers/kshitizpriyam/Day 24/Q2.cpp | kshitizpriyam/30-DaysOfCode-March-2021 | d6fa8f806ffe6fe96a0333628be047d5ff75a46e | [
"MIT"
] | 22 | 2021-03-16T14:07:47.000Z | 2021-08-13T08:52:50.000Z | answers/kshitizpriyam/Day 24/Q2.cpp | kshitizpriyam/30-DaysOfCode-March-2021 | d6fa8f806ffe6fe96a0333628be047d5ff75a46e | [
"MIT"
] | 174 | 2021-03-16T21:16:40.000Z | 2021-06-12T05:19:51.000Z | answers/kshitizpriyam/Day 24/Q2.cpp | kshitizpriyam/30-DaysOfCode-March-2021 | d6fa8f806ffe6fe96a0333628be047d5ff75a46e | [
"MIT"
] | 135 | 2021-03-16T16:47:12.000Z | 2021-06-27T14:22:38.000Z | #include <bits/stdc++.h>
using namespace std;
int countMinOperations(unsigned int target[], int n)
{
int result = 0;
while (1)
{
int zero_count = 0;
int i;
for (i=0; i<n; i++)
{
if (target[i] & 1)
break;
else if (target[i]... | 16.403509 | 52 | 0.375401 | kshitizpriyam |
d546a043eac8f2fbd5a0b9409265b24f863a8f6e | 5,012 | cpp | C++ | nat/src/upnp_port_mapper.cpp | canhld94/blocxxi | e0e1e629334a7959c3fb9c38567f9cf28e2cf44a | [
"BSD-3-Clause"
] | 24 | 2018-06-17T22:10:41.000Z | 2021-01-12T07:08:26.000Z | nat/src/upnp_port_mapper.cpp | canhld94/blocxxi | e0e1e629334a7959c3fb9c38567f9cf28e2cf44a | [
"BSD-3-Clause"
] | 3 | 2018-06-20T08:39:12.000Z | 2020-09-03T09:50:56.000Z | nat/src/upnp_port_mapper.cpp | canhld94/blocxxi | e0e1e629334a7959c3fb9c38567f9cf28e2cf44a | [
"BSD-3-Clause"
] | 6 | 2018-07-13T17:55:31.000Z | 2021-11-27T19:37:05.000Z | // Copyright The Authors 2018.
// Distributed under the 3-Clause BSD License.
// (See accompanying file LICENSE or copy at
// https://opensource.org/licenses/BSD-3-Clause)
#ifdef WIN32
#include <winsock2.h>
#endif
#include <miniupnpc/miniupnpc.h>
#include <miniupnpc/miniwget.h>
#include <miniupnpc/upnp... | 32.75817 | 79 | 0.673384 | canhld94 |
d5479e840015dc32c52f8117e570e9b177febcc8 | 1,563 | cpp | C++ | solved/r-t/the-crystal-maze/gen.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/r-t/the-crystal-maze/gen.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/r-t/the-crystal-maze/gen.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | #include <cstdio>
#include <cstdlib>
#include <ctime>
#if 0
#define MAXT 10
#define MAXM 500
#define MAXN 500
#define MAXQ 1000
#define NL 0
#endif
#if 1
#define MAXT 20
#define MAXM 8
#define MAXN 8
#define MAXQ 8
#define NL 1
#endif
char maze[MAXM][MAXN + 1];
int free_cells[MAXM * MAXN][2];
int nfree;
int T... | 15.63 | 64 | 0.495202 | abuasifkhan |
d548773b15afd552e10df83bd9f5de2834a3e805 | 704 | hpp | C++ | jsonrpc/genericMethod.hpp | flexibity-team/boost-tools | a6c67eacf7374136f9903680308334fc3408ba91 | [
"MIT"
] | null | null | null | jsonrpc/genericMethod.hpp | flexibity-team/boost-tools | a6c67eacf7374136f9903680308334fc3408ba91 | [
"MIT"
] | null | null | null | jsonrpc/genericMethod.hpp | flexibity-team/boost-tools | a6c67eacf7374136f9903680308334fc3408ba91 | [
"MIT"
] | 2 | 2019-12-26T13:54:29.000Z | 2020-10-31T10:19:13.000Z | /*
* genericMethod.hpp
*
* Created on: Nov 24, 2015
* Author: Roman Savrulin <romeo.deepmind@gmail.com>
*/
#ifndef INCLUDE_FLEXIBITY_JSONRPC_GENERICMETHOD_HPP_
#define INCLUDE_FLEXIBITY_JSONRPC_GENERICMETHOD_HPP_
#include <flexibity/jsonrpc/jsonRpcBoost.hpp>
namespace Flexibity {
using namespace std;
cl... | 17.6 | 77 | 0.727273 | flexibity-team |
d5493de104fcf68508bff6d075269ea2fec3f566 | 2,041 | cpp | C++ | source/QRScanner.cpp | JFlaherty347/Participation-Manager | ec3dadf235e96387928245b8c37335de862331ac | [
"Apache-2.0"
] | null | null | null | source/QRScanner.cpp | JFlaherty347/Participation-Manager | ec3dadf235e96387928245b8c37335de862331ac | [
"Apache-2.0"
] | null | null | null | source/QRScanner.cpp | JFlaherty347/Participation-Manager | ec3dadf235e96387928245b8c37335de862331ac | [
"Apache-2.0"
] | null | null | null | #include "QRScanner.h"
// RaspiCam_Cv camera;
bool QRScanner::decode(Mat &image, vector<decodedObject>&decodedObjects)
{
bool foundAQRCode = false;
if(image.empty())
printf("Image empty!!\n\n");
ImageScanner scanner;
scanner.set_config(ZBAR_NONE, ZBAR_CFG_ENABLE, 1);
//sanity check for image channels and si... | 22.184783 | 105 | 0.682019 | JFlaherty347 |
d54faab3088342367819dab1bbcb7c8f27ec37b9 | 126,476 | cpp | C++ | wxWidgets/samples/dialogs/dialogs.cpp | VonaInc/lokl | 83fbaa9c73d3112490edd042da812ceeb3cc9e53 | [
"MIT"
] | 86 | 2015-08-06T11:30:01.000Z | 2022-02-28T04:50:22.000Z | wxWidgets/samples/dialogs/dialogs.cpp | VonaInc/lokl | 83fbaa9c73d3112490edd042da812ceeb3cc9e53 | [
"MIT"
] | 6 | 2016-01-04T19:36:22.000Z | 2021-08-08T02:43:48.000Z | wxWidgets/samples/dialogs/dialogs.cpp | VonaInc/lokl | 83fbaa9c73d3112490edd042da812ceeb3cc9e53 | [
"MIT"
] | 22 | 2015-11-04T04:04:54.000Z | 2022-02-28T04:50:24.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: dialogs.cpp
// Purpose: Common dialogs demo
// Author: Julian Smart, Vadim Zeitlin, ABX
// Created: 04/01/98
// Copyright: (c) Julian Smart
// (c) 2004 ABX
// (c) Vadim Zeitlin
// Licen... | 31.274975 | 139 | 0.606297 | VonaInc |
d5508181d258868003d83b0e0e0152418a4d3d01 | 796 | cpp | C++ | basic/cast/const_cast/demo03.cpp | chanchann/littleMickle | f3a839d8ad55f483bbac4e4224dcd35234c5aa00 | [
"MIT"
] | 1 | 2021-03-16T02:13:12.000Z | 2021-03-16T02:13:12.000Z | basic/cast/const_cast/demo03.cpp | chanchann/littleMickle | f3a839d8ad55f483bbac4e4224dcd35234c5aa00 | [
"MIT"
] | null | null | null | basic/cast/const_cast/demo03.cpp | chanchann/littleMickle | f3a839d8ad55f483bbac4e4224dcd35234c5aa00 | [
"MIT"
] | null | null | null | /*
3. It is undefined behavior to modify a value which is initially declared as const.
But the problem didn't occur.
Why?
*/
#include <iostream>
using namespace std;
int fun(int* ptr) {
printf("in fun : ptr address : %p\n", ptr);
*ptr = *ptr + 10;
printf("in fun : *ptr : %d\n", *ptr);
printf("in f... | 21.513514 | 84 | 0.574121 | chanchann |
d557e5c130b220952e6710ea41b2547b92bd3f4f | 1,598 | cpp | C++ | src/lib/expression/value_expression.cpp | nilsthamm/hyrise | 75a701f281bb7dc1636832012c43005ec3c66384 | [
"MIT"
] | 1 | 2019-01-16T10:19:10.000Z | 2019-01-16T10:19:10.000Z | src/lib/expression/value_expression.cpp | nilsthamm/hyrise | 75a701f281bb7dc1636832012c43005ec3c66384 | [
"MIT"
] | 33 | 2019-02-02T09:52:50.000Z | 2019-03-07T13:14:40.000Z | src/lib/expression/value_expression.cpp | nilsthamm/hyrise | 75a701f281bb7dc1636832012c43005ec3c66384 | [
"MIT"
] | null | null | null | #include "value_expression.hpp"
#include <sstream>
#include "boost/functional/hash.hpp"
#include "resolve_type.hpp"
namespace opossum {
ValueExpression::ValueExpression(const AllTypeVariant& value)
: AbstractExpression(ExpressionType::Value, {}), value(value) {}
bool ValueExpression::requires_computation() con... | 28.035088 | 110 | 0.712766 | nilsthamm |
d5596b0924d3ae8bdcdb6641e172c73604470333 | 1,672 | hpp | C++ | src/sofa/pbrpc/smart_ptr/owner_less.hpp | koalademo/sofa-pbrpc | 5e1d49ee7b38a8c5fb717bde42e073656b821906 | [
"BSD-2-Clause"
] | 1 | 2016-10-30T06:40:34.000Z | 2016-10-30T06:40:34.000Z | sofa-pbrpc-1.1.1/src/sofa/pbrpc/smart_ptr/owner_less.hpp | demiaowu/r-sofa-pbrpc | f1a59cfea96dff19bd7071eff71e74cdea07745f | [
"BSD-3-Clause"
] | null | null | null | sofa-pbrpc-1.1.1/src/sofa/pbrpc/smart_ptr/owner_less.hpp | demiaowu/r-sofa-pbrpc | f1a59cfea96dff19bd7071eff71e74cdea07745f | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2014 Baidu.com, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Author: qinzuoyan01@baidu.com (Qin Zuoyan)
// This file is modified from boost.
//
// Copyright Beman Dawes 2002, 2006
// Distributed under the Boost ... | 26.125 | 79 | 0.685407 | koalademo |
d55b3de6de635e82a45c690baf01eeba3eb9b4ac | 1,281 | cpp | C++ | 501.cpp | Alex-Amber/LeetCode | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | [
"MIT"
] | null | null | null | 501.cpp | Alex-Amber/LeetCode | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | [
"MIT"
] | null | null | null | 501.cpp | Alex-Amber/LeetCode | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ull = uint64_t;
using ll = int64_t;
using ld = long double;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x): val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
int n, m, freq = 0;
bool first = true;
... | 21.35 | 55 | 0.399688 | Alex-Amber |
f65ab7a83244342c82fff05e5b4765f895deb8f2 | 2,161 | cpp | C++ | MicroController code/Code fragments and testing/9Dof comms/Combined/cordic.cpp | Mauvai/Quadcopter-FYP-legacy | 161f2842d06d30aad06895efa198dc0ee28a27c2 | [
"MIT"
] | null | null | null | MicroController code/Code fragments and testing/9Dof comms/Combined/cordic.cpp | Mauvai/Quadcopter-FYP-legacy | 161f2842d06d30aad06895efa198dc0ee28a27c2 | [
"MIT"
] | null | null | null | MicroController code/Code fragments and testing/9Dof comms/Combined/cordic.cpp | Mauvai/Quadcopter-FYP-legacy | 161f2842d06d30aad06895efa198dc0ee28a27c2 | [
"MIT"
] | null | null | null | #include "simpletools.h"
#include "cordic.h"
float atan2f_cordic(float Y, float X)
{
//TODO: need to use more terms and increase resolution
//uses a seven iteration cordic algorithm to solve for atan2
//see http://forums.parallax.com/showthread.php/127241
//cordic uses binary search... | 20.980583 | 132 | 0.621472 | Mauvai |
f65f64ddfa49ef2db3bee90ed01e3a3e469f3f5f | 25,168 | cpp | C++ | Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/DeviceResources.cpp | HanmingZhang/DirectX-Graphics-Samples | 5e98d453be61c200fd2ea4736d97ee08c5ed760f | [
"MIT"
] | 6 | 2020-12-10T15:53:52.000Z | 2021-11-03T23:03:42.000Z | Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/DeviceResources.cpp | HanmingZhang/DirectX-Graphics-Samples | 5e98d453be61c200fd2ea4736d97ee08c5ed760f | [
"MIT"
] | null | null | null | Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/DeviceResources.cpp | HanmingZhang/DirectX-Graphics-Samples | 5e98d453be61c200fd2ea4736d97ee08c5ed760f | [
"MIT"
] | 3 | 2018-10-11T19:58:20.000Z | 2020-09-06T15:36:32.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... | 36.109039 | 189 | 0.669223 | HanmingZhang |
f65ffeff9ecfcd89b89fa4f1a25d230e774fd61f | 567 | cpp | C++ | C Programming/CPP/10/11-memory-management.cpp | amamov/cs001 | 5753f28e74e2330837d22142cff4713801c77a2d | [
"MIT"
] | 5 | 2021-02-21T17:10:03.000Z | 2022-03-04T21:17:50.000Z | C Programming/CPP/10/11-memory-management.cpp | amamov/Computer-Science | 5753f28e74e2330837d22142cff4713801c77a2d | [
"MIT"
] | null | null | null | C Programming/CPP/10/11-memory-management.cpp | amamov/Computer-Science | 5753f28e74e2330837d22142cff4713801c77a2d | [
"MIT"
] | 3 | 2021-02-25T17:53:57.000Z | 2021-06-25T17:25:44.000Z | #include <iostream>
using namespace std;
/**
* 메모리 관리
* 메모리 영역 (code, static, stack, heep)
* code : 프로그램 코드
* static : 전역객체 및 정적객체
* stack : 지역변수 및 매개변수
* heap : 동적 메모리 할당
* */
char* reverseWords(const char* src, int len) {
char* r = new char[len + 1];
for (int k = 0; k < len; k++) {
r[k] = sr... | 16.676471 | 46 | 0.522046 | amamov |
f660c135cdfa40e0551611357c2d17af7accce75 | 3,991 | cpp | C++ | Code Forces/Code forces 754B - Ilya and tic-tac-toe game.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 28 | 2017-11-08T11:52:11.000Z | 2021-07-16T06:30:02.000Z | Code Forces/Code forces 754B - Ilya and tic-tac-toe game.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | null | null | null | Code Forces/Code forces 754B - Ilya and tic-tac-toe game.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 30 | 2017-09-01T09:14:27.000Z | 2021-04-12T12:08:56.000Z | //#Name: Sofen Hoque Anonta #Problm:
#include <bits/stdc++.h>
using namespace std;
//FOLD ME!!!
namespace{
typedef long long LL;
typedef vector<int> vint;
typedef pair<int,int> pint;
typedef unsigned long long ULL;
//Macros
int CC_;
#define FF firstc
#define sf scanf
#define ZZ second
#define pf printf
#define PP ci... | 26.785235 | 193 | 0.500125 | akash246 |
f661cdf432c017322e4a369512720578912eb258 | 511 | cpp | C++ | src/read_words.cpp | przemykomo/neural-words | 1cd13fc3946e829674e20eb6319924de59e8e53b | [
"Zlib"
] | null | null | null | src/read_words.cpp | przemykomo/neural-words | 1cd13fc3946e829674e20eb6319924de59e8e53b | [
"Zlib"
] | null | null | null | src/read_words.cpp | przemykomo/neural-words | 1cd13fc3946e829674e20eb6319924de59e8e53b | [
"Zlib"
] | 1 | 2020-06-15T08:12:19.000Z | 2020-06-15T08:12:19.000Z | #include "read_words.hpp"
#include <utility>
#include <fstream>
std::vector<std::string> readAllWords(std::string file, int reserveCapacity) {
std::vector<std::string> words{};
words.reserve(reserveCapacity);
std::ifstream fileStream(file);
if (!fileStream) {
throw std::runtime_error("Cannot o... | 22.217391 | 78 | 0.65362 | przemykomo |
f661dd942f0f9deb813ec6733dd4494c029207c1 | 7,005 | cc | C++ | src/envoy/http/authn/authn_utils.cc | zirain/proxy | 3f437185b8590eb59e6af3909488439dd65ba3c0 | [
"Apache-2.0"
] | 666 | 2016-12-06T00:28:51.000Z | 2022-03-23T06:47:58.000Z | src/envoy/http/authn/authn_utils.cc | zirain/proxy | 3f437185b8590eb59e6af3909488439dd65ba3c0 | [
"Apache-2.0"
] | 3,032 | 2016-12-02T00:48:59.000Z | 2022-03-31T13:42:56.000Z | src/envoy/http/authn/authn_utils.cc | zirain/proxy | 3f437185b8590eb59e6af3909488439dd65ba3c0 | [
"Apache-2.0"
] | 547 | 2016-12-01T19:36:57.000Z | 2022-03-29T12:48:07.000Z | /* Copyright 2018 Istio Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 32.581395 | 80 | 0.643398 | zirain |
f6626cd693147a409b4b679ad2ba45141fe9be18 | 6,686 | cxx | C++ | osprey/be/opt/opt_exc.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/opt/opt_exc.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/opt/opt_exc.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | //-*-c++-*-
/*
* Copyright 2004, 2005, 2006 PathScale, Inc. All Rights Reserved.
*/
// ====================================================================
// ====================================================================
//
// Module: opt_exc.cxx
// $Revision: 1.1.1.1 $
// $Date: 2005/10/21 19:00:00 $
// $A... | 32.144231 | 80 | 0.647622 | sharugupta |
f6634c595a2fbe4ab32ecf8436474fcb8235bdd6 | 10,718 | cpp | C++ | util/test/demos/vk/vk_large_descriptor_sets.cpp | RsDylan/renderdoc | bb45e67e30c26b7b0930b0c877a2c07ecf1755d0 | [
"MIT"
] | null | null | null | util/test/demos/vk/vk_large_descriptor_sets.cpp | RsDylan/renderdoc | bb45e67e30c26b7b0930b0c877a2c07ecf1755d0 | [
"MIT"
] | null | null | null | util/test/demos/vk/vk_large_descriptor_sets.cpp | RsDylan/renderdoc | bb45e67e30c26b7b0930b0c877a2c07ecf1755d0 | [
"MIT"
] | null | null | null | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2020 Baldur Karlsson
*
* 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... | 34.133758 | 102 | 0.679884 | RsDylan |
f664a703b37e69e557a2670cdb0fd9dd6c58854f | 1,676 | cpp | C++ | src/util/xpc/downloaderrorstrings.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 120 | 2015-01-22T14:10:39.000Z | 2021-11-25T12:57:16.000Z | src/util/xpc/downloaderrorstrings.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 8 | 2015-02-07T19:38:19.000Z | 2017-11-30T20:18:28.000Z | src/util/xpc/downloaderrorstrings.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 33 | 2015-02-07T16:59:55.000Z | 2021-10-12T00:36:40.000Z | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | 34.204082 | 83 | 0.646778 | Maledictus |
f66752ab26e77fbc02582ebcd83c262f1c22636a | 3,245 | cpp | C++ | libs/nav/src/reactive/CNavigatorManualSequence.cpp | mrliujie/mrpt-learning-code | 7b41a9501fc35c36580c93bc1499f5a36d26c216 | [
"BSD-3-Clause"
] | 2 | 2020-04-21T08:51:21.000Z | 2022-03-21T10:47:52.000Z | libs/nav/src/reactive/CNavigatorManualSequence.cpp | qifengl/mrpt | 979a458792273a86ec5ab105e0cd6c963c65ea73 | [
"BSD-3-Clause"
] | null | null | null | libs/nav/src/reactive/CNavigatorManualSequence.cpp | qifengl/mrpt | 979a458792273a86ec5ab105e0cd6c963c65ea73 | [
"BSD-3-Clause"
] | null | null | null | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | 28.716814 | 80 | 0.631741 | mrliujie |
f667af308c283e698d67c6ba81e1865f938a9a04 | 16,001 | cpp | C++ | ReallySlickSourceCode/Screensavers/Savergl/Savergl.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 3 | 2017-08-13T14:47:57.000Z | 2020-03-02T06:48:29.000Z | ReallySlickSourceCode/Screensavers/Savergl/Savergl.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:14:54.000Z | 2018-09-26T22:35:03.000Z | ReallySlickSourceCode/Screensavers/Savergl/Savergl.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:13:55.000Z | 2018-09-19T14:13:55.000Z | /*
* Copyright (C) 2002 Terence M. Welsh
*
* Savergl is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Savergl is distributed in the hope that it will be useful,
* but WITHOUT ANY... | 30.712092 | 125 | 0.64621 | NickPepper |
f66a5b95a7f3383bcf1c96008b7dcc429086e021 | 1,015 | hpp | C++ | src/include/planner/statement/bound_create_table_statement.hpp | mweisgut/duckdb | 4cff1d7957ce895dd9984a87aa20aef67f5986e6 | [
"MIT"
] | 1 | 2019-08-01T08:21:33.000Z | 2019-08-01T08:21:33.000Z | src/include/planner/statement/bound_create_table_statement.hpp | mweisgut/duckdb | 4cff1d7957ce895dd9984a87aa20aef67f5986e6 | [
"MIT"
] | null | null | null | src/include/planner/statement/bound_create_table_statement.hpp | mweisgut/duckdb | 4cff1d7957ce895dd9984a87aa20aef67f5986e6 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// DuckDB
//
// planner/statement/bound_create_table_statement.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "planner/bound_sql_statement.hpp"
#in... | 26.025641 | 80 | 0.632512 | mweisgut |
f66e147d8a717ea96ee066eedbc74f1166d1adc0 | 7,530 | hh | C++ | src/arch/x86/pagetable_walker.hh | fei-shan/gem5-experiment | 70781db30d42b1fe50e495bd04f7755a4b0e0e59 | [
"BSD-3-Clause"
] | 1 | 2022-03-20T23:23:41.000Z | 2022-03-20T23:23:41.000Z | src/arch/x86/pagetable_walker.hh | fei-shan/gem5-experiment | 70781db30d42b1fe50e495bd04f7755a4b0e0e59 | [
"BSD-3-Clause"
] | 1 | 2021-04-17T17:13:56.000Z | 2021-04-17T17:13:56.000Z | src/arch/x86/pagetable_walker.hh | fei-shan/gem5-experiment | 70781db30d42b1fe50e495bd04f7755a4b0e0e59 | [
"BSD-3-Clause"
] | 1 | 2021-09-12T02:45:38.000Z | 2021-09-12T02:45:38.000Z | /*
* Copyright (c) 2007 The Hewlett-Packard Development Company
* All rights reserved.
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardwar... | 36.028708 | 77 | 0.62417 | fei-shan |
f66f654f694b30ab03bd7b2d782e344c2d952209 | 5,049 | cc | C++ | modules/canbus/vehicle/diamond/protocol/id_0x0c079aa7.cc | HotzoneAuto/diamond-auto | b2d8f58b22b23b187ad0e7ff19dcaa74f4a94de8 | [
"MIT"
] | 6 | 2020-09-12T00:03:47.000Z | 2021-06-01T09:29:49.000Z | modules/canbus/vehicle/diamond/protocol/id_0x0c079aa7.cc | MengTC/diamond-auto | 18c2aa2a4d5b8beae156b6207757ee3adc6a8ba2 | [
"MIT"
] | 10 | 2020-09-03T06:54:05.000Z | 2020-11-21T00:08:45.000Z | modules/canbus/vehicle/diamond/protocol/id_0x0c079aa7.cc | MengTC/diamond-auto | 18c2aa2a4d5b8beae156b6207757ee3adc6a8ba2 | [
"MIT"
] | 7 | 2020-09-18T10:40:40.000Z | 2022-02-22T07:48:52.000Z | /******************************************************************************
* Copyright 2020 The Apollo Authors. 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 Licen... | 32.574194 | 81 | 0.649039 | HotzoneAuto |
f671e92783879e3ba4339cacce3a17785e369eb3 | 1,481 | cpp | C++ | 310-1.cpp | Alex-Amber/LeetCode | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | [
"MIT"
] | null | null | null | 310-1.cpp | Alex-Amber/LeetCode | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | [
"MIT"
] | null | null | null | 310-1.cpp | Alex-Amber/LeetCode | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ull = uint64_t;
using ll = int64_t;
using ld = long double;
// TLE
class Solution {
public:
vector<int> findMinHeightTrees(int n, vector<vector<int>>& edges) {
// reconstruct graph in adjacent list form
vector<vector<int>> adj_list(n, vector<int>... | 30.22449 | 71 | 0.437542 | Alex-Amber |
f672e8c922eac2e30c065ac5dc188087fbabb2c6 | 39,037 | cpp | C++ | src/cgame/cg_consolecmds.cpp | jackeri/etjump | e17545b994b9edca8b2d11cba90fc311c9843bd8 | [
"BSL-1.0",
"MIT"
] | null | null | null | src/cgame/cg_consolecmds.cpp | jackeri/etjump | e17545b994b9edca8b2d11cba90fc311c9843bd8 | [
"BSL-1.0",
"MIT"
] | null | null | null | src/cgame/cg_consolecmds.cpp | jackeri/etjump | e17545b994b9edca8b2d11cba90fc311c9843bd8 | [
"BSL-1.0",
"MIT"
] | null | null | null | /*
* name: cg_consolecmds.c
*
* desc: text commands typed in at the local console, or executed by a key binding
*
*/
#include "cg_local.h"
#include <string>
#include <vector>
#include "etj_client_commands_handler.h"
#include "etj_inline_command_parser.h"
#include "../game/etj_string_utilities.h"
void CG_Targe... | 22.319611 | 175 | 0.646899 | jackeri |
f6753b6e6e55669a75f01e5ed303a5eba2e5f770 | 9,819 | cpp | C++ | src/tests/platform/signals.cpp | dbulnes/vi-firmware | f716127c9debac7fff623e4618423d107e516b2d | [
"BSD-3-Clause"
] | 1 | 2017-10-13T09:23:46.000Z | 2017-10-13T09:23:46.000Z | src/tests/platform/signals.cpp | gpreviato/vi-firmware | f716127c9debac7fff623e4618423d107e516b2d | [
"BSD-3-Clause"
] | null | null | null | src/tests/platform/signals.cpp | gpreviato/vi-firmware | f716127c9debac7fff623e4618423d107e516b2d | [
"BSD-3-Clause"
] | null | null | null | #include "can/canread.h"
#include "can/canwrite.h"
#include "signals.h"
#include "util/log.h"
#include "config.h"
#include "shared_handlers.h"
#include "diagnostics.h"
namespace can = openxc::can;
using openxc::pipeline::Pipeline;
using openxc::config::getConfiguration;
using openxc::diagnostics::DiagnosticsManager;
... | 38.65748 | 108 | 0.588349 | dbulnes |
f678265dd343954d0fec05072b32bfa52fe3c386 | 2,744 | hpp | C++ | include/algorithms/GoogleRandomCircuitSampling.hpp | IsFairy/qfr | 4834ec41e020e2d9854debe1d71b28d9da3cf509 | [
"MIT"
] | null | null | null | include/algorithms/GoogleRandomCircuitSampling.hpp | IsFairy/qfr | 4834ec41e020e2d9854debe1d71b28d9da3cf509 | [
"MIT"
] | null | null | null | include/algorithms/GoogleRandomCircuitSampling.hpp | IsFairy/qfr | 4834ec41e020e2d9854debe1d71b28d9da3cf509 | [
"MIT"
] | null | null | null | /*
* This file is part of JKQ QFR library which is released under the MIT license.
* See file README.md or go to http://iic.jku.at/eda/research/quantum/ for more information.
*/
#ifndef QFR_GRCS_H
#define QFR_GRCS_H
#include <QuantumComputation.hpp>
#include <chrono>
namespace qc {
enum Layout { R... | 40.352941 | 151 | 0.580175 | IsFairy |
f681a8e6cd0053ea6911bd3c6ddd8bc6e2df88d1 | 19,450 | cpp | C++ | modules/unitest/inference/test_inference.cpp | Luserk/CNStream | 2e292225c15535fe8f4531f7a9702da52746cc0e | [
"Apache-2.0"
] | 1 | 2020-07-20T10:46:40.000Z | 2020-07-20T10:46:40.000Z | modules/unitest/inference/test_inference.cpp | Luserk/CNStream | 2e292225c15535fe8f4531f7a9702da52746cc0e | [
"Apache-2.0"
] | null | null | null | modules/unitest/inference/test_inference.cpp | Luserk/CNStream | 2e292225c15535fe8f4531f7a9702da52746cc0e | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
* Copyright (C) [2019] by Cambricon, Inc. 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 a... | 35.235507 | 113 | 0.66545 | Luserk |
f68dea8822c28b86367910ed9a939239239681e8 | 2,749 | cpp | C++ | anreader_sources/datalist_dialog/datalist_dialog.cpp | anpp/anreader | 47fe345d9bfed72cee5686abd0e2662d3ba7629c | [
"BSD-2-Clause"
] | 2 | 2022-03-13T14:10:11.000Z | 2022-03-14T11:35:33.000Z | anreader_sources/datalist_dialog/datalist_dialog.cpp | anpp/anreader | 47fe345d9bfed72cee5686abd0e2662d3ba7629c | [
"BSD-2-Clause"
] | null | null | null | anreader_sources/datalist_dialog/datalist_dialog.cpp | anpp/anreader | 47fe345d9bfed72cee5686abd0e2662d3ba7629c | [
"BSD-2-Clause"
] | null | null | null | #include "datalist_dialog.h"
#include "ui_datalist_dialog.h"
//---------------------------------------------------------------------------------------------------------------
DataList_Dialog::DataList_Dialog(const QString& Title, t_registry& datalist, QWidget *parent) :
QDialog(parent),
ui(new Ui::DataList_Di... | 33.938272 | 113 | 0.495817 | anpp |
f6923bc15753b71c7b5c86d643998d10d87c2d8d | 1,761 | cpp | C++ | pwm/libraries/touchgfx_lib/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/SnapshotWidget.cpp | 1162431386/RT-Thread | 55223abcf9559baf7d77faddcbcde0c99b6c880b | [
"Apache-2.0"
] | 8 | 2020-12-15T13:40:34.000Z | 2021-11-28T14:49:37.000Z | libraries/touchgfx_lib/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/SnapshotWidget.cpp | apeng2012/RT-Thread-tmc5160-demo | 2634ec85f7a050ef188ede1b23e73d0dfdce6c3e | [
"MIT"
] | null | null | null | libraries/touchgfx_lib/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/SnapshotWidget.cpp | apeng2012/RT-Thread-tmc5160-demo | 2634ec85f7a050ef188ede1b23e73d0dfdce6c3e | [
"MIT"
] | 4 | 2020-12-15T14:01:36.000Z | 2022-01-25T00:17:14.000Z | /**
******************************************************************************
* This file is part of the TouchGFX 4.15.0 distribution.
*
* <h2><center>© Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Libert... | 28.403226 | 109 | 0.609881 | 1162431386 |
f694252671a72848a89f2da5e1c26f1827e51e2a | 14,048 | cpp | C++ | examples/29_SkinInTexture/SkinInTextureDemo.cpp | BobLChen/VulkanDemos | 78abfef10ff0138ed88c23ddfed4d98ce956e38e | [
"MIT"
] | 596 | 2019-07-30T03:07:57.000Z | 2022-03-31T07:45:20.000Z | examples/29_SkinInTexture/SkinInTextureDemo.cpp | BobLChen/VulkanSamples | 78abfef10ff0138ed88c23ddfed4d98ce956e38e | [
"MIT"
] | 9 | 2019-07-28T08:48:41.000Z | 2022-03-31T07:53:50.000Z | examples/29_SkinInTexture/SkinInTextureDemo.cpp | BobLChen/VulkanSamples | 78abfef10ff0138ed88c23ddfed4d98ce956e38e | [
"MIT"
] | 79 | 2019-08-05T03:05:01.000Z | 2022-03-31T07:45:22.000Z | #include "Common/Common.h"
#include "Common/Log.h"
#include "Demo/DVKCommon.h"
#include "Math/Vector4.h"
#include "Math/Matrix4x4.h"
#include "Math/Quat.h"
#include "Loader/ImageLoader.h"
#include <vector>
class SkinInTextureDemo : public DemoBase
{
public:
SkinInTextureDemo(int32 width, int32... | 32.368664 | 145 | 0.547053 | BobLChen |
f6955d80c6101721e4b4cc3b4dcbab6b0dbd11df | 6,337 | cpp | C++ | NTRIP/ntrip.cpp | CORAL-CMU/Qt | 85f29279e70121d5108c6d9295b2ba09826fba85 | [
"MIT"
] | null | null | null | NTRIP/ntrip.cpp | CORAL-CMU/Qt | 85f29279e70121d5108c6d9295b2ba09826fba85 | [
"MIT"
] | null | null | null | NTRIP/ntrip.cpp | CORAL-CMU/Qt | 85f29279e70121d5108c6d9295b2ba09826fba85 | [
"MIT"
] | 2 | 2021-01-22T14:58:10.000Z | 2021-12-24T17:22:42.000Z | #include "ntrip.h"
#define NTRIPWAIT 30000
Ntrip::Ntrip()
: QTcpSocket(Q_NULLPTR)
{
receiveflag=false;
thread=new QThread();
this->moveToThread(thread);
connect(this,SIGNAL(signalLoadCasterList()),this,SLOT(slotLoadCasterList()),Qt::QueuedConnection);
connect(this,SIGNAL(signalConne... | 29.337963 | 117 | 0.504813 | CORAL-CMU |
f6966174954e803f32889647e1d90cb413873d24 | 942 | cpp | C++ | Trees/KthSmallestElementInTree.cpp | nishthapaul/InterviewBit | d3eb60a916a4632d22c73f7d30373676dce5d4a8 | [
"MIT"
] | 244 | 2017-06-08T20:22:16.000Z | 2022-03-25T02:36:03.000Z | Trees/KthSmallestElementInTree.cpp | nishthapaul/InterviewBit | d3eb60a916a4632d22c73f7d30373676dce5d4a8 | [
"MIT"
] | 14 | 2018-07-12T06:32:17.000Z | 2020-10-04T10:56:36.000Z | Trees/KthSmallestElementInTree.cpp | nishthapaul/InterviewBit | d3eb60a916a4632d22c73f7d30373676dce5d4a8 | [
"MIT"
] | 192 | 2017-05-30T14:02:03.000Z | 2022-03-25T06:36:39.000Z | /*
Given a binary search tree, write a function to find the kth smallest element in the tree.
Example :
Input :
2
/ \
1 3
and k = 2
Return : 2
As 2 is the second smallest element in the tree.
NOTE : You may assume 1 <= k <= Total number of nodes in BST
https://www.interviewbit.com/problems/kth-smallest-e... | 19.22449 | 90 | 0.596603 | nishthapaul |
f6979ed54d860135f38005087d0dd8dbedaac859 | 8,788 | cpp | C++ | component/edriver/BMP280-3.3.cpp | eboxmaker/eboxFramework-rtt | 9718678422f56faec1cf21a6a8fd3f72441bea33 | [
"MIT"
] | 115 | 2018-08-12T08:41:17.000Z | 2022-03-08T07:43:48.000Z | component/edriver/BMP280-3.3.cpp | eboxmaker/eboxFramework-rtt | 9718678422f56faec1cf21a6a8fd3f72441bea33 | [
"MIT"
] | 4 | 2018-08-13T10:14:55.000Z | 2019-07-03T06:54:10.000Z | component/edriver/BMP280-3.3.cpp | eboxmaker/eboxFramework-rtt | 9718678422f56faec1cf21a6a8fd3f72441bea33 | [
"MIT"
] | 59 | 2018-09-02T21:54:25.000Z | 2022-01-13T02:28:28.000Z | #include "BMP280-3.3.h"
/***************************************************************************
This is a library for the BMP280 pressure sensor
Designed specifically to work with the Adafruit BMP280 Breakout
----> http://www.adafruit.com/products/2651
These sensors use I2C to communicate, 2 pins are req... | 30.835088 | 82 | 0.502845 | eboxmaker |
f697a86b4800d2a5956171abb25cf7d2e50d8055 | 6,882 | cxx | C++ | Testing/Code/Numerics/Statistics/itkHistogramTest.cxx | dtglidden/ITK | ef0c16fee4fac904d6ab706b8f7d438d4062cd96 | [
"BSD-3-Clause"
] | 1 | 2017-07-31T18:41:02.000Z | 2017-07-31T18:41:02.000Z | Testing/Code/Numerics/Statistics/itkHistogramTest.cxx | dtglidden/ITK | ef0c16fee4fac904d6ab706b8f7d438d4062cd96 | [
"BSD-3-Clause"
] | null | null | null | Testing/Code/Numerics/Statistics/itkHistogramTest.cxx | dtglidden/ITK | ef0c16fee4fac904d6ab706b8f7d438d4062cd96 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkHistogramTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt o... | 26.469231 | 125 | 0.62569 | dtglidden |
f6984e9c40bf25eaf47c1353a93df4768ced771d | 3,597 | hpp | C++ | lib/src/Core/Instruction/Cmp.hpp | bielskij/altair-emu | 49463fd0fcacd70540fd6aa880dfc7cef0ad958d | [
"MIT"
] | null | null | null | lib/src/Core/Instruction/Cmp.hpp | bielskij/altair-emu | 49463fd0fcacd70540fd6aa880dfc7cef0ad958d | [
"MIT"
] | null | null | null | lib/src/Core/Instruction/Cmp.hpp | bielskij/altair-emu | 49463fd0fcacd70540fd6aa880dfc7cef0ad958d | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2020 Jaroslaw Bielski (bielski.j@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the r... | 26.065217 | 119 | 0.620239 | bielskij |
f69d83228e0c6d3b675c94bd49c8df4cf263b2a7 | 2,189 | cpp | C++ | day-06/day6.cpp | WhoSoup/aoc2019 | 90f68bb555e93d41a9ffc8e84bcda4548d41d26c | [
"MIT"
] | null | null | null | day-06/day6.cpp | WhoSoup/aoc2019 | 90f68bb555e93d41a9ffc8e84bcda4548d41d26c | [
"MIT"
] | null | null | null | day-06/day6.cpp | WhoSoup/aoc2019 | 90f68bb555e93d41a9ffc8e84bcda4548d41d26c | [
"MIT"
] | null | null | null | #include <iostream>
#include <map>
#include <string>
#include <vector>
#include <fstream>
#include <algorithm>
class UFO {
public:
UFO(std::string name) {
this->name = name;
}
void AddOrbit(UFO * oo) {
orbiting.push_back(oo);
}
void Orbiting(UFO * oo)... | 23.793478 | 76 | 0.446779 | WhoSoup |
f69de7c60cc21c7a167f492d9e9a0108d8225533 | 15,349 | cpp | C++ | tests/test_padding.cpp | zhaqu/ncnn | e4c821a468e0664f0383b4a5b325275266143ee2 | [
"BSD-3-Clause"
] | 14 | 2021-07-30T11:03:47.000Z | 2021-08-24T08:08:23.000Z | tests/test_padding.cpp | zhaqu/ncnn | e4c821a468e0664f0383b4a5b325275266143ee2 | [
"BSD-3-Clause"
] | 72 | 2020-09-13T18:19:44.000Z | 2022-03-30T21:17:23.000Z | tests/test_padding.cpp | zhaqu/ncnn | e4c821a468e0664f0383b4a5b325275266143ee2 | [
"BSD-3-Clause"
] | 5 | 2021-09-12T03:26:28.000Z | 2021-10-09T07:39:15.000Z | // Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy ... | 41.150134 | 280 | 0.477099 | zhaqu |
f69deccf808103f0332663e93c0cf275e1f2b544 | 58,780 | hpp | C++ | include/seqan3/io/sam_file/format_bam.hpp | remyschwab/seqan3 | f10e557b61428ff7faac8b10f18b9087d1ff2663 | [
"CC0-1.0",
"CC-BY-4.0"
] | null | null | null | include/seqan3/io/sam_file/format_bam.hpp | remyschwab/seqan3 | f10e557b61428ff7faac8b10f18b9087d1ff2663 | [
"CC0-1.0",
"CC-BY-4.0"
] | null | null | null | include/seqan3/io/sam_file/format_bam.hpp | remyschwab/seqan3 | f10e557b61428ff7faac8b10f18b9087d1ff2663 | [
"CC0-1.0",
"CC-BY-4.0"
] | null | null | null | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 46.4297 | 128 | 0.529942 | remyschwab |
f6a21847bd4ad123cf48db4bec3d42e48bbc2a1d | 2,786 | cpp | C++ | Transcendent-Engine/src/Transcendent-Engine/core/Application.cpp | sammyboy0110/Transcendent-Engine | cf5ad591f1b57215acd40eb30199de7a9d1db239 | [
"Apache-2.0"
] | 1 | 2020-02-14T11:08:39.000Z | 2020-02-14T11:08:39.000Z | Transcendent-Engine/src/Transcendent-Engine/core/Application.cpp | sammyboy0110/Transcendent-Engine | cf5ad591f1b57215acd40eb30199de7a9d1db239 | [
"Apache-2.0"
] | null | null | null | Transcendent-Engine/src/Transcendent-Engine/core/Application.cpp | sammyboy0110/Transcendent-Engine | cf5ad591f1b57215acd40eb30199de7a9d1db239 | [
"Apache-2.0"
] | null | null | null | #include "tepch.h"
#include "Transcendent-Engine/core/Application.h"
#include "Transcendent-Engine/core/Log.h"
#include "Transcendent-Engine/Renderer/Renderer.h"
#include "Transcendent-Engine/Renderer/Renderer2D.h"
#include "Transcendent-Engine/Renderer/ShaderLibrary.h"
#include "glm/gtc/type_ptr.hpp"
#include <GLF... | 20.043165 | 88 | 0.690237 | sammyboy0110 |
f6a5764ead6dd664eca4aceeac241daa2fd257dd | 3,465 | cpp | C++ | Game/Scripts/hud/ContractHUDElement.cpp | JohnHonkanen/ProjectM | 881171ad749e8fe7db6188ee9486239a37256569 | [
"Unlicense"
] | null | null | null | Game/Scripts/hud/ContractHUDElement.cpp | JohnHonkanen/ProjectM | 881171ad749e8fe7db6188ee9486239a37256569 | [
"Unlicense"
] | null | null | null | Game/Scripts/hud/ContractHUDElement.cpp | JohnHonkanen/ProjectM | 881171ad749e8fe7db6188ee9486239a37256569 | [
"Unlicense"
] | null | null | null | #include "ContractHUDElement.h"
#include "hud\widgets\TextWidget.h"
#include "hud\widgets\HUDContainer.h"
#include "../Contract.h"
#include "InventoryHUDElement.h"
#include <sstream>
#include <iomanip>
ContractHUDElement * ContractHUDElement::Create(HUDElement * element, EHUD::HUDRect rect)
{
ContractHUDElement *c = ... | 25.108696 | 138 | 0.705051 | JohnHonkanen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.