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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
55528012daf02ada9362691b35ee713454d35f5e | 1,276 | hpp | C++ | Source/Texture/TextureSampleSettings.hpp | frobro98/Musa | 6e7dcd5d828ca123ce8f43d531948a6486428a3d | [
"MIT"
] | null | null | null | Source/Texture/TextureSampleSettings.hpp | frobro98/Musa | 6e7dcd5d828ca123ce8f43d531948a6486428a3d | [
"MIT"
] | null | null | null | Source/Texture/TextureSampleSettings.hpp | frobro98/Musa | 6e7dcd5d828ca123ce8f43d531948a6486428a3d | [
"MIT"
] | null | null | null | // Copyright 2020, Nathan Blane
#pragma once
#include "BasicTypes/Intrinsics.hpp"
#include "Graphics/GraphicsAPIDefinitions.hpp"
enum class TextureFilter : u8
{
Linear,
Bilinear
};
inline SamplerFilter TextureToGraphicsFilter(TextureFilter filter)
{
switch (filter)
{
case TextureFilter::Linear:
return Samp... | 18.492754 | 79 | 0.758621 | frobro98 |
555c6b90e81d1964f9975f1e2951e11574850325 | 314 | hpp | C++ | Library/CasualLibrary.hpp | CasualCoder91/CasualLibrary | ca86e7b3c6d1469e98d66f6fcb258a6e4bd6014c | [
"MIT"
] | 39 | 2020-06-04T21:32:18.000Z | 2022-03-29T10:14:02.000Z | Library/CasualLibrary.hpp | CasualCoder91/CasualLibrary | ca86e7b3c6d1469e98d66f6fcb258a6e4bd6014c | [
"MIT"
] | 2 | 2020-12-27T13:40:39.000Z | 2021-10-04T22:44:36.000Z | Library/CasualLibrary.hpp | CasualCoder91/CasualLibrary | ca86e7b3c6d1469e98d66f6fcb258a6e4bd6014c | [
"MIT"
] | 15 | 2020-10-24T15:13:51.000Z | 2022-02-25T10:02:13.000Z | // Must be included solely by a user
#pragma once
#ifdef _WIN32 // Windows-only
// Memory
#include "CasualLibrary/Memory/Memory.hpp"
#include "CasualLibrary/Memory/External.hpp"
#include "CasualLibrary/Memory/Internal.hpp"
// Other
#include "CasualLibrary/Address.hpp"
#include "CasualLibrary/Helper.hpp"
#endif | 22.428571 | 44 | 0.773885 | CasualCoder91 |
556483d48886347deecad2bc4f38e42646a9d1ad | 3,807 | cpp | C++ | Rootkits/vault/admin/ce54releasesvn/underc/sourcecode/src/operators.cpp | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 46 | 2017-05-15T11:15:08.000Z | 2018-07-02T03:32:52.000Z | Rootkits/vault/admin/ce54releasesvn/underc/sourcecode/src/operators.cpp | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | null | null | null | Rootkits/vault/admin/ce54releasesvn/underc/sourcecode/src/operators.cpp | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 24 | 2017-05-17T03:26:17.000Z | 2018-07-09T07:00:50.000Z | /* Operators.cpp
* Fast lookup for operators
* UnderC C++ interpreter
* Steve Donovan, 2001
* This is GPL'd software, and the usual disclaimers apply.
* See LICENCE
*/
#include <stdarg.h>
#include "common.h"
#define NEEDS_LOOKUP
#include "operators.h"
#include "tparser.h"
void Operators::init()
{
... | 26.255172 | 92 | 0.543473 | dendisuhubdy |
5566269bac8d5808897d3fad9ffea7bff43ae20c | 10,276 | hpp | C++ | include/memoria/api/multimap/multimap_output_adapters.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2021-07-30T16:54:24.000Z | 2021-09-08T15:48:17.000Z | include/memoria/api/multimap/multimap_output_adapters.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | null | null | null | include/memoria/api/multimap/multimap_output_adapters.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2020-03-14T15:15:25.000Z | 2020-06-15T11:26:56.000Z |
// Copyright 2019 Victor Smirnov
//
// 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... | 32.726115 | 126 | 0.509342 | victor-smirnov |
55693d69eb8145f3fdfd259c26aa2847c9f2c419 | 2,352 | cpp | C++ | libs/threadsafe_queue/test/main.cpp | pdsherman/pendulum | ed3e708e8cd66c1a7d5282110b4ceb94492c460f | [
"MIT"
] | null | null | null | libs/threadsafe_queue/test/main.cpp | pdsherman/pendulum | ed3e708e8cd66c1a7d5282110b4ceb94492c460f | [
"MIT"
] | null | null | null | libs/threadsafe_queue/test/main.cpp | pdsherman/pendulum | ed3e708e8cd66c1a7d5282110b4ceb94492c460f | [
"MIT"
] | null | null | null | /*
* File: main.cpp
* Author: pdsherman
* Date: April 2021
*/
#include <libs/threadsafe_queue/ThreadsafeQueue.hpp>
#include <libs/util/util.hpp>
#include <iostream>
#include <atomic>
#include <thread>
#include <random>
#include <chrono>
#include <string>
#include <vector>
#include <unistd.h>
static Thre... | 26.426966 | 124 | 0.65051 | pdsherman |
556a91d2667f9488c1e605eb4df68e9633721022 | 7,407 | cpp | C++ | clang/test/Driver/clang-offload-wrapper-exe.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 653 | 2018-12-27T15:00:01.000Z | 2022-03-30T11:52:23.000Z | clang/test/Driver/clang-offload-wrapper-exe.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | clang/test/Driver/clang-offload-wrapper-exe.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | // REQUIRES: system-linux || system-windows
// End-to-end clang-offload-wrapper executable test: check that -batch options
// works, and that the tool generates data properly accessible at runtime.
// --- Prepare test data
// - create the first binary image
// RUN: echo -e -n 'device binary image1\n' > %t.bin
// RUN:... | 34.61215 | 116 | 0.654651 | mkinsner |
556c8999bb4869c71fa575d02076a8afdc9a95fc | 4,946 | hpp | C++ | rgbd_object_detection/include/rgbd_object_detection/camera_utils.hpp | shangzhouye/disinfection-robot-ros | 736ec6495511e0f9fe458c45cac80a99962ce9c1 | [
"MIT"
] | 9 | 2020-12-12T20:34:55.000Z | 2022-02-20T23:06:37.000Z | rgbd_object_detection/include/rgbd_object_detection/camera_utils.hpp | shangzhouye/disinfection-robot-ros | 736ec6495511e0f9fe458c45cac80a99962ce9c1 | [
"MIT"
] | 1 | 2021-04-25T07:06:54.000Z | 2021-04-25T07:06:54.000Z | rgbd_object_detection/include/rgbd_object_detection/camera_utils.hpp | shangzhouye/disinfection-robot-ros | 736ec6495511e0f9fe458c45cac80a99962ce9c1 | [
"MIT"
] | 4 | 2021-03-05T07:21:51.000Z | 2021-12-23T16:10:34.000Z | #ifndef CAMERA_UTILS_INCLUDE_GUARD_HPP
#define CAMERA_UTILS_INCLUDE_GUARD_HPP
/// \file
/// \brief Camera model and camera lidar fusion
///
/*! Definition of extrinsics
* map -> ... -> base_link -> velodyne -> camera_link -> camera_color_optical_frame
* (obtained from slam) (extrinsic) (given by cam... | 34.110345 | 122 | 0.586737 | shangzhouye |
556e2678c8fabb5e0c4bfe72fac2fbeb6d8771b1 | 9,395 | cpp | C++ | tests/vector2D_tests.cpp | KPO-2020-2021/zad5_3-kgliwinski | 302d567d68d8e26c7395f9607632df266d7b7df9 | [
"Unlicense"
] | null | null | null | tests/vector2D_tests.cpp | KPO-2020-2021/zad5_3-kgliwinski | 302d567d68d8e26c7395f9607632df266d7b7df9 | [
"Unlicense"
] | null | null | null | tests/vector2D_tests.cpp | KPO-2020-2021/zad5_3-kgliwinski | 302d567d68d8e26c7395f9607632df266d7b7df9 | [
"Unlicense"
] | null | null | null |
#include"../tests/doctest/doctest.h"
#include"vector2D.hpp"
// This is all that is needed to compile a test-runner executable.
// More tests can be added here, or in a new tests/*.cpp file.
TEST_CASE("V 1.01: Vector2D konstruktor bezparametryczny oraz przeciazenie strumienia wyjsciowego<<"){
Vector2D a;
std::os... | 23.083538 | 137 | 0.574667 | KPO-2020-2021 |
556f4f9104c32a490d478984375c5878edb312cc | 83 | hpp | C++ | Projects/krkr2_on_VC/kirikiri2/src/core/environ/win32/VS2005/my_vcl/syncobjs.hpp | CATION-M/X-moe | 2bac3bb45ff21e50921aac8422f2e00839f546e5 | [
"MIT"
] | 2 | 2020-02-25T15:18:53.000Z | 2020-08-24T13:30:34.000Z | Projects/krkr2_on_VC/kirikiri2/src/core/environ/win32/VS2005/my_vcl/syncobjs.hpp | CATION-M/X-moe | 2bac3bb45ff21e50921aac8422f2e00839f546e5 | [
"MIT"
] | null | null | null | Projects/krkr2_on_VC/kirikiri2/src/core/environ/win32/VS2005/my_vcl/syncobjs.hpp | CATION-M/X-moe | 2bac3bb45ff21e50921aac8422f2e00839f546e5 | [
"MIT"
] | 1 | 2019-11-25T05:29:30.000Z | 2019-11-25T05:29:30.000Z | #pragma once
#include "vcl_base.h"
#include "Classes.hpp"
#include "Messages.hpp"
| 13.833333 | 23 | 0.73494 | CATION-M |
55754d5ddd88da20067fcb7a240cb6abbcf808d0 | 67 | hh | C++ | extern/glow/src/glow/common/force_semicolon.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/glow/src/glow/common/force_semicolon.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/glow/src/glow/common/force_semicolon.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | #pragma once
#define GLOW_FORCE_SEMICOLON static_assert(true, "")
| 16.75 | 52 | 0.791045 | rovedit |
5578b6298b6feb665db26e7f96e09a757068c4a8 | 1,647 | cpp | C++ | classes/Animation.cpp | Torphage/SFML-project | 02e87cb3976486f801d1b41b8c23d401b5e2738f | [
"MIT"
] | 7 | 2018-05-07T08:40:21.000Z | 2019-01-15T13:08:11.000Z | classes/Animation.cpp | Torphage/SFML-project | 02e87cb3976486f801d1b41b8c23d401b5e2738f | [
"MIT"
] | 4 | 2018-09-11T08:03:04.000Z | 2018-10-24T09:49:11.000Z | classes/Animation.cpp | Torphage/SFML-project | 02e87cb3976486f801d1b41b8c23d401b5e2738f | [
"MIT"
] | 1 | 2019-01-05T16:54:49.000Z | 2019-01-05T16:54:49.000Z | #include <SFML/Graphics.hpp>
#include <iostream>
#include "../headers/Animation.h"
int Animation::animation_count = 0;
Animation::Animation() {
}
Animation::Animation(sf::Texture &spriteSheet, sf::Vector2f size,
float animLength, float currTime, float frames, int currFrame) {
this->spriteSheet = &sprit... | 22.256757 | 78 | 0.641166 | Torphage |
5579debdc0404ff824a7a50edb9ba0abe972c0e6 | 41,687 | cpp | C++ | test/c++/informix.cpp | laigor/sqlrelay-non-english-fixes- | 7803f862ddbf88bca078c50d621c64c22fc0a405 | [
"PHP-3.01",
"CC-BY-3.0"
] | 16 | 2018-04-23T09:58:33.000Z | 2022-01-31T13:40:20.000Z | test/c++/informix.cpp | laigor/sqlrelay-non-english-fixes- | 7803f862ddbf88bca078c50d621c64c22fc0a405 | [
"PHP-3.01",
"CC-BY-3.0"
] | null | null | null | test/c++/informix.cpp | laigor/sqlrelay-non-english-fixes- | 7803f862ddbf88bca078c50d621c64c22fc0a405 | [
"PHP-3.01",
"CC-BY-3.0"
] | 4 | 2020-12-23T12:17:54.000Z | 2022-01-04T20:46:34.000Z | // Copyright (c) 1999-2018 David Muse
// See the file COPYING for more information.
#include <sqlrelay/sqlrclient.h>
#include <rudiments/process.h>
#include <rudiments/stdio.h>
sqlrconnection *con;
sqlrcursor *cur;
sqlrconnection *secondcon;
sqlrcursor *secondcur;
void checkSuccess(const char *value, const char *suc... | 42.023185 | 444 | 0.717202 | laigor |
557c8e02ab15b6fcee5246aaa227d5f1e1c6ae72 | 156 | hpp | C++ | addons/common/adminWhitelist.hpp | Tinter/fparma-mods | 0c094958ac1768f0993eccebb309110deb33ecae | [
"MIT"
] | null | null | null | addons/common/adminWhitelist.hpp | Tinter/fparma-mods | 0c094958ac1768f0993eccebb309110deb33ecae | [
"MIT"
] | null | null | null | addons/common/adminWhitelist.hpp | Tinter/fparma-mods | 0c094958ac1768f0993eccebb309110deb33ecae | [
"MIT"
] | null | null | null |
cba_settings_whitelist[] = {
"admin", // logged in/voted admin
ADMINS
};
enableDebugConsole[] = {
ADMINS
};
GVAR(admins)[] = {
ADMINS
};
| 11.142857 | 37 | 0.583333 | Tinter |
534db30970905158e5a959a7ad9be7a5a2b8eb05 | 108 | cpp | C++ | src/chart/speclayout/tablechart.cpp | dyuri/vizzu-lib | e5eb4bee98445a85c0a6a61b820ad355851f38c8 | [
"Apache-2.0"
] | 1,159 | 2021-09-23T14:53:16.000Z | 2022-03-30T21:23:41.000Z | src/chart/speclayout/tablechart.cpp | dyuri/vizzu-lib | e5eb4bee98445a85c0a6a61b820ad355851f38c8 | [
"Apache-2.0"
] | 29 | 2021-10-05T13:28:01.000Z | 2022-03-29T16:16:20.000Z | src/chart/speclayout/tablechart.cpp | dyuri/vizzu-lib | e5eb4bee98445a85c0a6a61b820ad355851f38c8 | [
"Apache-2.0"
] | 47 | 2021-09-30T14:04:25.000Z | 2022-02-21T16:01:58.000Z | #include "tablechart.h"
using namespace Vizzu;
using namespace Vizzu::Base;
using namespace Vizzu::Charts;
| 18 | 30 | 0.787037 | dyuri |
53510b08d4706cfd7235a21352364e1d664bf76c | 2,027 | hpp | C++ | Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/mbedtls/util/pkcs1.hpp | TiagoPedroByterev/openvpnclient-ios | a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76 | [
"MIT"
] | 10 | 2021-03-29T13:52:06.000Z | 2022-03-10T02:24:25.000Z | Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/mbedtls/util/pkcs1.hpp | TiagoPedroByterev/openvpnclient-ios | a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76 | [
"MIT"
] | 1 | 2019-07-19T02:40:32.000Z | 2019-07-19T02:40:32.000Z | Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/mbedtls/util/pkcs1.hpp | TiagoPedroByterev/openvpnclient-ios | a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76 | [
"MIT"
] | 7 | 2018-07-11T10:37:02.000Z | 2019-08-03T10:34:08.000Z | // OpenVPN -- An application to securely tunnel IP networks
// over a single port, with support for SSL/TLS-based
// session authentication and key exchange,
// packet encryption, packet authentication, and
// packet compression.
//
// Copyright (C) 2012-201... | 28.152778 | 78 | 0.675876 | TiagoPedroByterev |
53549577a59ceec62b27bcc5217f78aa6318caf9 | 62,625 | cpp | C++ | Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Input.DotNet_Attr.cpp | JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity | 6e13b31a0b053443b9c93267d8f174f1554e79dd | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-06-01T19:33:53.000Z | 2021-06-01T19:33:53.000Z | Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Input.DotNet_Attr.cpp | JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity | 6e13b31a0b053443b9c93267d8f174f1554e79dd | [
"CC-BY-4.0",
"MIT"
] | null | null | null | Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Input.DotNet_Attr.cpp | JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity | 6e13b31a0b053443b9c93267d8f174f1554e79dd | [
"CC-BY-4.0",
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Type[]
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755;
// System.Reflection.Ass... | 53.571429 | 286 | 0.866667 | JBrentJ |
5358fdfbe8c6a207299c081efee72b9718b78c11 | 512 | cpp | C++ | golang/count_complete_tree_nodes/count_complete_tree_nodes.cpp | Hubstation/100challenges | 68189cde28cadc91bcabe2d12a68703ce913099f | [
"MIT"
] | 43 | 2020-08-30T18:12:35.000Z | 2022-03-08T05:03:05.000Z | golang/count_complete_tree_nodes/count_complete_tree_nodes.cpp | sangam14/challenges | d71cbb3960bc3adb43311959ca5694c1de63401c | [
"MIT"
] | 15 | 2020-08-30T18:12:24.000Z | 2020-10-08T17:02:50.000Z | golang/count_complete_tree_nodes/count_complete_tree_nodes.cpp | sangam14/challenges | d71cbb3960bc3adb43311959ca5694c1de63401c | [
"MIT"
] | 24 | 2020-08-31T15:07:24.000Z | 2021-02-28T09:56:46.000Z | struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
int countNodes(TreeNode* root) {
int depth = 0;
TreeNode *left, *right;
left = right = root;
while (left!=NULL && right!=NULL){
left = left->left;
right = rig... | 20.48 | 53 | 0.611328 | Hubstation |
5359e97dc90717087fb2bdfd30fe90e05919bc2a | 4,091 | cpp | C++ | src/python/visr/parameter_port.cpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 17 | 2019-03-12T14:52:22.000Z | 2021-11-09T01:16:23.000Z | src/python/visr/parameter_port.cpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | null | null | null | src/python/visr/parameter_port.cpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 2 | 2019-08-11T12:53:07.000Z | 2021-06-22T10:08:08.000Z | /* Copyright Institute of Sound and Vibration Research - All rights reserved */
#include <libvisr/component.hpp>
#include <libvisr/parameter_config_base.hpp>
#include <libvisr/parameter_input.hpp>
#include <libvisr/parameter_output.hpp>
#include <libvisr/parameter_port_base.hpp>
#include <libvisr/polymorphic_paramet... | 51.78481 | 144 | 0.731606 | s3a-spatialaudio |
535af1216bcb65cf19818719a471911975655862 | 15,273 | cpp | C++ | apps/src/libvideostitch-gui/videostitcher/videostitcher.cpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 182 | 2019-04-19T12:38:30.000Z | 2022-03-20T16:48:20.000Z | apps/src/libvideostitch-gui/videostitcher/videostitcher.cpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 107 | 2019-04-23T10:49:35.000Z | 2022-03-02T18:12:28.000Z | apps/src/libvideostitch-gui/videostitcher/videostitcher.cpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 59 | 2019-06-04T11:27:25.000Z | 2022-03-17T23:49:49.000Z | // Copyright (c) 2012-2017 VideoStitch SAS
// Copyright (c) 2018 stitchEm
#include "videostitcher.hpp"
#include "libvideostitch-gui/caps/signalcompressioncaps.hpp"
#include "libvideostitch-gui/mainwindow/LibLogHelpers.hpp"
#include "libvideostitch/inputDef.hpp"
#include "libvideostitch/inputFactory.hpp"
#include "li... | 42.190608 | 120 | 0.669548 | tlalexander |
535c3ea0dd9cf665304118dfbe45fb01ca6e8c26 | 3,456 | cpp | C++ | src/insns_65c02.cpp | b-pub/six5c02 | 40bba56b4d8add11ce5f953f9dea654f350f5c8e | [
"BSD-2-Clause"
] | null | null | null | src/insns_65c02.cpp | b-pub/six5c02 | 40bba56b4d8add11ce5f953f9dea654f350f5c8e | [
"BSD-2-Clause"
] | null | null | null | src/insns_65c02.cpp | b-pub/six5c02 | 40bba56b4d8add11ce5f953f9dea654f350f5c8e | [
"BSD-2-Clause"
] | null | null | null | /*
* six5c02 - emulated 6502 chip framework
*
* 65c02 instruction implementations
*
* Copyright 2021, Brent Burton
* See LICENSE file for BSD 2-clause license.
*/
#include "six5c02.h"
#include "support.h"
namespace six5c02 {
/*
* 65c02 additional functions.
*
* Author: Paul Robson (paul@robson.org.uk)
*/
... | 22.441558 | 82 | 0.55816 | b-pub |
535e39974a98982f86dfa82a7b70dd82bd130315 | 411 | cpp | C++ | Exercices_Cpp/Exercises_math/Question_20.cpp | ViniciusCRQ/Ola-Mundo | af4c78481606deb65b67c5fb4eb8dd138582d755 | [
"MIT"
] | null | null | null | Exercices_Cpp/Exercises_math/Question_20.cpp | ViniciusCRQ/Ola-Mundo | af4c78481606deb65b67c5fb4eb8dd138582d755 | [
"MIT"
] | null | null | null | Exercices_Cpp/Exercises_math/Question_20.cpp | ViniciusCRQ/Ola-Mundo | af4c78481606deb65b67c5fb4eb8dd138582d755 | [
"MIT"
] | null | null | null | //Questão 20
#include <iostream>
#include <math.h>
#include <conio.h>
int main(){
float nblusas,nnovelos,div;
printf("Informe a quantidade de novelos gastos: ");
scanf("%f",&nnovelos);
printf("Certo,agora informe a quantidade de blusas confeccionadas: ");
scanf("%f",&nblusas);
div=nnovelos/nblusas;
printf... | 20.55 | 73 | 0.693431 | ViniciusCRQ |
535ff3d6b53c46217fb7c527c29d53ee608c3d39 | 36,441 | cpp | C++ | src/engine/TaskMaster.cpp | lachlanorr/gaen | 325b4604ac8a8a366aa93cca9d8393ccdbc682fa | [
"Zlib"
] | 2 | 2015-05-07T21:03:25.000Z | 2017-10-11T11:17:28.000Z | src/engine/TaskMaster.cpp | lachlanorr/gaen | 325b4604ac8a8a366aa93cca9d8393ccdbc682fa | [
"Zlib"
] | 4 | 2016-06-25T21:41:50.000Z | 2016-12-26T19:35:19.000Z | src/engine/TaskMaster.cpp | lachlanorr/gaen | 325b4604ac8a8a366aa93cca9d8393ccdbc682fa | [
"Zlib"
] | 1 | 2016-08-27T18:05:49.000Z | 2016-08-27T18:05:49.000Z | //------------------------------------------------------------------------------
// TaskMaster.cpp - Manages tasks, one of these runs per core
//
// Gaen Concurrency Engine - http://gaen.org
// Copyright (c) 2014-2021 Lachlan Orr
//
// This software is provided 'as-is', without any express or implied
// warranty. In no... | 31.993854 | 147 | 0.562882 | lachlanorr |
53646671f3ca8f6df165e5d06e8d476816358967 | 862 | cpp | C++ | SCRambl/ProjectManager.cpp | Deji69/SCRambl | cf6eb64272b4126094c77a720c2402ed47822a50 | [
"MIT"
] | 5 | 2015-07-10T18:31:14.000Z | 2021-12-31T18:35:10.000Z | SCRambl/ProjectManager.cpp | Deji69/SCRambl | cf6eb64272b4126094c77a720c2402ed47822a50 | [
"MIT"
] | null | null | null | SCRambl/ProjectManager.cpp | Deji69/SCRambl | cf6eb64272b4126094c77a720c2402ed47822a50 | [
"MIT"
] | 2 | 2015-03-21T20:03:24.000Z | 2021-09-18T02:46:26.000Z | #include "stdafx.h"
#include "utils.h"
#include "utils\xml.h"
#include "ProjectManager.h"
namespace SCRambl{
//CProject * s_pProject;
void Project::LoadFile(const char* path) {
pugi::xml_document xml;
auto err = xml.load_file(path);
if (err.status == pugi::xml_parse_status::status_ok) {
}
throw;
}
vo... | 26.121212 | 63 | 0.685615 | Deji69 |
53681c23ac6ca3c2f8175be813db9a65b94f68b8 | 1,028 | cpp | C++ | uva_674/uva_674.cpp | stwklu/403_repo | 62ba70bf012a556137fea6e94dd8bf4f2e660a91 | [
"MIT"
] | null | null | null | uva_674/uva_674.cpp | stwklu/403_repo | 62ba70bf012a556137fea6e94dd8bf4f2e660a91 | [
"MIT"
] | 1 | 2018-01-16T05:56:28.000Z | 2018-02-03T04:29:08.000Z | uva_674/uva_674.cpp | stwklu/403_repo | 62ba70bf012a556137fea6e94dd8bf4f2e660a91 | [
"MIT"
] | null | null | null |
/* UVa problem: <674>
*
* Topic: Dynamic Programming
*
* Level: easy
*
* Brief problem description:
*
* Given coin[5] = {1,5,10,25,50}, find how many ways can make up one amount
*
* Solution Summary:
*
* Use DP to precompute all values
*
* Used Resources:
*
* StackOverflow
* Competitive Prog... | 17.133333 | 78 | 0.620623 | stwklu |
536d4f7da293e2d61e8770e7f6dadf0f7dde7b6e | 1,048 | cpp | C++ | wrap/tests/expected/python/operator_pybind.cpp | Alevs2R/gtsam | 6cef675e6eaeaf89f2462e8cfec4a4a9a497fac8 | [
"BSD-3-Clause"
] | 1,402 | 2017-03-28T00:18:11.000Z | 2022-03-30T10:28:32.000Z | wrap/tests/expected/python/operator_pybind.cpp | Alevs2R/gtsam | 6cef675e6eaeaf89f2462e8cfec4a4a9a497fac8 | [
"BSD-3-Clause"
] | 851 | 2017-11-27T15:09:56.000Z | 2022-03-31T22:26:38.000Z | wrap/tests/expected/python/operator_pybind.cpp | Alevs2R/gtsam | 6cef675e6eaeaf89f2462e8cfec4a4a9a497fac8 | [
"BSD-3-Clause"
] | 565 | 2017-11-30T16:15:59.000Z | 2022-03-31T02:53:04.000Z |
#include <pybind11/eigen.h>
#include <pybind11/stl_bind.h>
#include <pybind11/pybind11.h>
#include <pybind11/operators.h>
#include "gtsam/nonlinear/utilities.h" // for RedirectCout.
#include "gtsam/geometry/Pose3.h"
#include "wrap/serialization.h"
#include <boost/serialization/export.hpp>
using namespace std;... | 25.560976 | 125 | 0.675573 | Alevs2R |
536d7a85a37d13fc6d78c1a2749b3f2a8fd85c34 | 9,070 | cpp | C++ | season/main.cpp | asm128/bigbro | cdb42e32eca5330eaa849ee19646fb09e94f29f7 | [
"Apache-2.0"
] | null | null | null | season/main.cpp | asm128/bigbro | cdb42e32eca5330eaa849ee19646fb09e94f29f7 | [
"Apache-2.0"
] | null | null | null | season/main.cpp | asm128/bigbro | cdb42e32eca5330eaa849ee19646fb09e94f29f7 | [
"Apache-2.0"
] | null | null | null | #define GPK_CONSOLE_LOG_ENABLED
#define GPK_ERROR_PRINTF_ENABLED
#define GPK_WARNING_PRINTF_ENABLED
#define GPK_INFO_PRINTF_ENABLED
#include "gpk_log.h"
#include "gpk_storage.h"
#include "gpk_json.h"
#include "gpk_parse.h"
#include "gpk_find.h"
#include "gpk_deflate.h"
#include "gpk_aes.h"
#include "gpk_noise.h"
#inc... | 57.405063 | 233 | 0.674642 | asm128 |
536d8df5457cf6bc6d12f73ad6244b3b998bc728 | 342 | cpp | C++ | linkedList/src/node.cpp | moderah/cpp_examples | 2600e5d780d7548782830c570f8df61ed9aed405 | [
"MIT"
] | null | null | null | linkedList/src/node.cpp | moderah/cpp_examples | 2600e5d780d7548782830c570f8df61ed9aed405 | [
"MIT"
] | null | null | null | linkedList/src/node.cpp | moderah/cpp_examples | 2600e5d780d7548782830c570f8df61ed9aed405 | [
"MIT"
] | null | null | null | #include "node.h"
node::node() {
node* newNode = new node(0, 0, 0, 0);
};
node::node(int x, int y, int z, int w) {
node* newNode = new node(x, y, z, w);
node::data = newNode;
};
node::node(const int* x, const int* y, const int* z, const int* w) {
node* newNode = new node(*x, *y, *z, *w);
node::data = newNode;
... | 18 | 68 | 0.561404 | moderah |
536de2a9f4b6a53e56aaf5700b60665d87cdca66 | 5,931 | cpp | C++ | lang/Format.cpp | Andrewich/deadjustice | 48bea56598e79a1a10866ad41aa3517bf7d7c724 | [
"BSD-3-Clause"
] | 3 | 2019-04-20T10:16:36.000Z | 2021-03-21T19:51:38.000Z | lang/Format.cpp | Andrewich/deadjustice | 48bea56598e79a1a10866ad41aa3517bf7d7c724 | [
"BSD-3-Clause"
] | null | null | null | lang/Format.cpp | Andrewich/deadjustice | 48bea56598e79a1a10866ad41aa3517bf7d7c724 | [
"BSD-3-Clause"
] | 2 | 2020-04-18T20:04:24.000Z | 2021-09-19T05:07:41.000Z | #include "Format.h"
#include <lang/Character.h>
#include <assert.h>
#include "config.h"
namespace lang
{
Format::Format()
{
m_args = 0;
}
Format::Format( const String& pattern )
{
m_pattern = pattern;
m_args = 0;
}
Format::Format( const String& pattern, const Formattable& arg0 )
{
m_pattern = pattern;... | 23.819277 | 289 | 0.557073 | Andrewich |
536f266c03a6e9eaa1fa26c1868cb1bc63fc0320 | 706 | cpp | C++ | DSA_Implementation/3. Stack/imp_problems/20. Valid Parentheses.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | 5 | 2021-02-14T17:48:21.000Z | 2022-01-24T14:29:44.000Z | DSA_Implementation/3. Stack/imp_problems/20. Valid Parentheses.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | DSA_Implementation/3. Stack/imp_problems/20. Valid Parentheses.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | class Solution {
public:
bool isValid(string s) {
stack<char> stk;
for(int i=0;i<s.size();i++){
if(s[i]=='(' or s[i]=='{' or s[i]=='['){
stk.push(s[i]);
}
else {
if(stk.empty()==true) return false;
... | 25.214286 | 61 | 0.338527 | Sowmik23 |
53706a25d19177da1f87085c1a0a31f14fc4b4eb | 1,463 | cc | C++ | apps/chargen_tun.cc | MUCZ/Starfish | 4960b7f6001264731c1aea0b8171d187f5ec8ed8 | [
"Apache-2.0"
] | null | null | null | apps/chargen_tun.cc | MUCZ/Starfish | 4960b7f6001264731c1aea0b8171d187f5ec8ed8 | [
"Apache-2.0"
] | null | null | null | apps/chargen_tun.cc | MUCZ/Starfish | 4960b7f6001264731c1aea0b8171d187f5ec8ed8 | [
"Apache-2.0"
] | null | null | null | // a chargen example using TUNSocket
// send random char to <ip> <port>
// show throughput and quit after certain length sent
#include "tcp_tun_socket.hh"
#include "util.hh"
#include <chrono>
#include <iomanip>
#include <cstdlib>
#include <iostream>
using namespace std;
using namespace std::chrono;
string message... | 29.26 | 125 | 0.605605 | MUCZ |
537355e15827f33e4eb89e903862c856a4027630 | 16,734 | cpp | C++ | nema.cpp | rmsk2/rmsk2 | 812b2e495c9a15c16075d4358ca9b7b950b7a26c | [
"Apache-2.0"
] | 4 | 2020-06-16T03:52:50.000Z | 2021-12-25T13:12:02.000Z | nema.cpp | rmsk2/rmsk2 | 812b2e495c9a15c16075d4358ca9b7b950b7a26c | [
"Apache-2.0"
] | null | null | null | nema.cpp | rmsk2/rmsk2 | 812b2e495c9a15c16075d4358ca9b7b950b7a26c | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
* Copyright 2018 Martin Grap
*
* 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... | 37.104213 | 173 | 0.687283 | rmsk2 |
53754e79421e9a52a7989b64ea14812af0e88658 | 1,155 | cpp | C++ | source/Score.cpp | Anny-Moon/Snake | 9ab9981be2ac1eea82850c9eb69ed181a6e98373 | [
"Apache-2.0"
] | 1 | 2017-04-13T21:29:51.000Z | 2017-04-13T21:29:51.000Z | source/Score.cpp | Anny-Moon/Snake | 9ab9981be2ac1eea82850c9eb69ed181a6e98373 | [
"Apache-2.0"
] | null | null | null | source/Score.cpp | Anny-Moon/Snake | 9ab9981be2ac1eea82850c9eb69ed181a6e98373 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 Anna Sinelnikova
*
* 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 agr... | 20.263158 | 76 | 0.670996 | Anny-Moon |
537a15381ce0bc8934a2517d70f18917a3e6ee82 | 2,227 | cpp | C++ | SimpleDivX/SimpleDivXBatch.cpp | StefH/SimpleDivX | 9740b4e2e497dbb602a907ea4328c0be59651a55 | [
"MIT"
] | 1 | 2020-08-01T18:29:50.000Z | 2020-08-01T18:29:50.000Z | SimpleDivX/SimpleDivXBatch.cpp | StefH/SimpleDivX | 9740b4e2e497dbb602a907ea4328c0be59651a55 | [
"MIT"
] | null | null | null | SimpleDivX/SimpleDivXBatch.cpp | StefH/SimpleDivX | 9740b4e2e497dbb602a907ea4328c0be59651a55 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include ".\SimpleDivX_Defines.h"
#include ".\simpledivxbatch.h"
IMPLEMENT_SERIAL( CSimpleDivXBatch, CObject, 1 )
CSimpleDivXBatch::CSimpleDivXBatch(void)
{
MyList.RemoveAll();
}
CSimpleDivXBatch::~CSimpleDivXBatch(void)
{
}
void CSimpleDivXBatch::CopyIt(const CSimpleDivXBatch& e)
{
int i = 0;... | 17.263566 | 76 | 0.694207 | StefH |
538254ea2d74ac1e41b3d1751bdded82d3eff578 | 1,123 | cpp | C++ | SFML Tutorial/GameWinState.cpp | arsenalgunnershubert777/LazerMan_Game | cea1f55b8e055052116be6ccf4e76b7d61bfdcf6 | [
"MIT"
] | null | null | null | SFML Tutorial/GameWinState.cpp | arsenalgunnershubert777/LazerMan_Game | cea1f55b8e055052116be6ccf4e76b7d61bfdcf6 | [
"MIT"
] | null | null | null | SFML Tutorial/GameWinState.cpp | arsenalgunnershubert777/LazerMan_Game | cea1f55b8e055052116be6ccf4e76b7d61bfdcf6 | [
"MIT"
] | null | null | null |
#include "GameWinState.hpp"
#include <sstream>
#include "DEFINITIONS.hpp"
#include <iostream>
#include "MainMenuState.hpp"
namespace g35 //processes screen after you beat final boss
{
GameWinState::GameWinState(GameDataRef data) : _data(data)
{
}
void GameWinState::Init()
{
... | 24.955556 | 87 | 0.591273 | arsenalgunnershubert777 |
5384cced82933cd5b0c59b598d53cdd85aa061ab | 1,760 | cpp | C++ | Acmicpc/C++/BOJ10026.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 1 | 2020-07-08T23:16:19.000Z | 2020-07-08T23:16:19.000Z | Acmicpc/C++/BOJ10026.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 1 | 2020-05-16T03:12:24.000Z | 2020-05-16T03:14:42.000Z | Acmicpc/C++/BOJ10026.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 2 | 2020-05-16T03:25:16.000Z | 2021-02-10T16:51:25.000Z | #include <bits/stdc++.h>
using namespace std;
int pos [4][2] = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};
char c[101][101];
char c_[101][101];
void dfs(vector<vector<bool>> &chk, int x, int y, int n) {
for(int i = 0; i < 4; i++) {
int x_ = x + pos[i][0];
int y_ = y + pos[i][1];
if (x_ >= 0 && x_ < ... | 29.830508 | 95 | 0.385227 | sungmen |
5391b72d5a73f0ac03f6f2b3d397f5b16c99d28d | 1,786 | cpp | C++ | cpp/mmap_symbol_supplier.cpp | getsentry/rust-breakpad | 6722e69bb26dffb78d834dae4a4c060d3ac8a63e | [
"BSD-3-Clause"
] | null | null | null | cpp/mmap_symbol_supplier.cpp | getsentry/rust-breakpad | 6722e69bb26dffb78d834dae4a4c060d3ac8a63e | [
"BSD-3-Clause"
] | null | null | null | cpp/mmap_symbol_supplier.cpp | getsentry/rust-breakpad | 6722e69bb26dffb78d834dae4a4c060d3ac8a63e | [
"BSD-3-Clause"
] | 2 | 2019-01-01T18:47:32.000Z | 2021-03-03T11:33:56.000Z | #include <string>
#include "cpp/mmap_symbol_supplier.h"
#include "google_breakpad/processor/code_module.h"
using google_breakpad::CodeModule;
using google_breakpad::SystemInfo;
MmapSymbolSupplier::MmapSymbolSupplier(size_t symbol_count,
const symbol_entry_t *symbols) {
for (c... | 27.90625 | 78 | 0.706047 | getsentry |
53983941d66ecadb9c6120710107ee40ab25f2c2 | 4,870 | cc | C++ | third_party/blink/renderer/bindings/core/v8/v8_event_listener_helper.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/bindings/core/v8/v8_event_listener_helper.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/bindings/core/v8/v8_event_listener_helper.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* Copyright (C) 2009 Google Inc. 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 conditio... | 40.583333 | 92 | 0.730595 | zipated |
539ba4eb2a9c7673def5cca6c7d5bfccf33c37a6 | 5,794 | cpp | C++ | Modules/LogicServer/TextureHelper.cpp | alanzw/FGCG | 9819ff9c543cf52bfac16655d1d30417291b5d4c | [
"Apache-2.0"
] | 13 | 2016-10-24T11:39:12.000Z | 2021-04-11T13:24:05.000Z | Modules/LogicServer/TextureHelper.cpp | zhangq49/sharerender | 9819ff9c543cf52bfac16655d1d30417291b5d4c | [
"Apache-2.0"
] | 1 | 2017-07-28T06:29:00.000Z | 2017-07-28T06:29:00.000Z | Modules/LogicServer/TextureHelper.cpp | zhangq49/sharerender | 9819ff9c543cf52bfac16655d1d30417291b5d4c | [
"Apache-2.0"
] | 4 | 2018-06-05T03:39:06.000Z | 2020-06-06T04:44:20.000Z | #include "TextureHelper.h"
#include "..\LibCore\InfoRecorder.h"
//#define ENABLE_LOG_TEXTURE_HELPER
int SurfaceHelper::TotalBufferedTextureSize = 0;
TextureHelper::TextureHelper(short _levels, D3DFORMAT format, bool _autogenable /* = false */)
: autoGenable(_autogenable), aquired(false), levels(_levels), bufferSiz... | 28.126214 | 196 | 0.707111 | alanzw |
539eb0187409a032af5ac17f8bf3d6095b473c32 | 5,592 | cpp | C++ | aws-cpp-sdk-migrationhubstrategy/source/model/TransformationToolName.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-migrationhubstrategy/source/model/TransformationToolName.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-migrationhubstrategy/source/model/TransformationToolName.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/migrationhubstrategy/model/TransformationToolName.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using ... | 44.031496 | 148 | 0.691345 | perfectrecall |
53a08e6fd93fc2a8ca9f3c7c7efa4f0bee1b2560 | 3,959 | cpp | C++ | libsyndicate/system.cpp | jcnelson/syndicate | 4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b | [
"Apache-2.0"
] | 16 | 2015-01-02T15:39:04.000Z | 2016-03-17T06:38:46.000Z | libsyndicate/system.cpp | jcnelson/syndicate | 4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b | [
"Apache-2.0"
] | 37 | 2015-01-28T20:58:05.000Z | 2016-03-22T04:01:32.000Z | libsyndicate/system.cpp | jcnelson/syndicate | 4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b | [
"Apache-2.0"
] | 8 | 2015-04-08T02:26:03.000Z | 2016-03-04T05:56:24.000Z | /*
Copyright 2013 The Trustees of Princeton 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 applicabl... | 24.140244 | 155 | 0.55898 | jcnelson |
53a3f49f2199b8d80c6340c0c61efa9afb6f1622 | 1,377 | cpp | C++ | sensormanager.cpp | xavi-b/test_QML_1 | 0e48f3ea25b40e422ef35fb8c5e45044fdbd4fc9 | [
"MIT"
] | null | null | null | sensormanager.cpp | xavi-b/test_QML_1 | 0e48f3ea25b40e422ef35fb8c5e45044fdbd4fc9 | [
"MIT"
] | null | null | null | sensormanager.cpp | xavi-b/test_QML_1 | 0e48f3ea25b40e422ef35fb8c5e45044fdbd4fc9 | [
"MIT"
] | null | null | null | #include "sensormanager.h"
SensorManager::SensorManager(QObject* parent) : QObject(parent)
{
this->faker.setSingleShot(false);
connect(&this->faker, &QTimer::timeout, this, [=](){
for(auto& sensor : this->sensors)
{
sensor->setStrength(std::rand()%100);
sensor->setState(... | 32.023256 | 110 | 0.623094 | xavi-b |
53a7b6a31e3351a614bc7d1e98784ccb504ca58f | 5,946 | cc | C++ | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_relationrecord.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_relationrecord.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_relationrecord.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | #ifndef INCLUDED_STDDEFX
#include "stddefx.h"
#define INCLUDED_STDDEFX
#endif
#ifndef INCLUDED_CALC_RELATIONRECORD
#include "calc_relationrecord.h"
#define INCLUDED_CALC_RELATIONRECORD
#endif
// Library headers.
// PCRaster library headers.
#ifndef INCLUDED_TABLE
#include "table.h" // LOOK_UP_KEY
#define INCLUDED... | 24.072874 | 91 | 0.523377 | quanpands |
53a88d37e131f8dd38bbd5f8e10f2d0ab1d57900 | 6,044 | cpp | C++ | effectNodes-for-cocos2dx-3x/code/ripple_horizontal/layer_ripple_horizontal.cpp | songxiaopeng/EffectNodes-for-cocos2dx | 905694e6a0c3063f62f2424e22e0e8c1e8b5586c | [
"MIT"
] | 2 | 2016-08-07T01:38:56.000Z | 2016-11-03T04:27:21.000Z | effectNodes-for-cocos2dx-3x/code/ripple_horizontal/layer_ripple_horizontal.cpp | songxiaopeng/EffectNodes-for-cocos2dx | 905694e6a0c3063f62f2424e22e0e8c1e8b5586c | [
"MIT"
] | null | null | null | effectNodes-for-cocos2dx-3x/code/ripple_horizontal/layer_ripple_horizontal.cpp | songxiaopeng/EffectNodes-for-cocos2dx | 905694e6a0c3063f62f2424e22e0e8c1e8b5586c | [
"MIT"
] | 4 | 2016-05-04T05:47:55.000Z | 2020-05-27T07:40:38.000Z | #include "layer_ripple_horizontal.h"
#include "chooseScene.h"
bool Clayer_ripple_horizontal::init()
{
this->setTouchEnabled(true);
CCSize winSize=CCDirector::sharedDirector()->getWinSize();//winSize equals to designResolutionSize
CCSize visibleSize = CCDirector::sharedDirector()->getVisibleSize();
... | 37.775 | 178 | 0.650728 | songxiaopeng |
53a9b1d231fb074762784b1a8aa5d342e115153a | 421 | cpp | C++ | source/propertyguizeug/source/dpi_util.cpp | kateyy/libzeug | ffb697721cd8ef7d6e685fd5e2c655d711565634 | [
"MIT"
] | null | null | null | source/propertyguizeug/source/dpi_util.cpp | kateyy/libzeug | ffb697721cd8ef7d6e685fd5e2c655d711565634 | [
"MIT"
] | null | null | null | source/propertyguizeug/source/dpi_util.cpp | kateyy/libzeug | ffb697721cd8ef7d6e685fd5e2c655d711565634 | [
"MIT"
] | null | null | null | #include <propertyguizeug/dpi_util.h>
#include <cassert>
#include <QPaintDevice>
namespace propertyguizeug
{
qreal dpiBasedScale(const QPaintDevice & device)
{
#ifdef Q_OS_MAC
return 1.0;
#else
assert(device.logicalDpiX() == device.logicalDpiY());
static const auto standardDpi = 96.0;
const aut... | 17.541667 | 57 | 0.714964 | kateyy |
53b6209eb2aebb6201652dde7bfd892b532ce9f5 | 5,648 | cpp | C++ | src/scannerDisplay.cpp | alvarohub/Laser-Scanner-Controller---SUPER-RES-ATOM- | 474531a9454ebfddbf32a066972e3aa4c3213b2e | [
"MIT"
] | null | null | null | src/scannerDisplay.cpp | alvarohub/Laser-Scanner-Controller---SUPER-RES-ATOM- | 474531a9454ebfddbf32a066972e3aa4c3213b2e | [
"MIT"
] | null | null | null | src/scannerDisplay.cpp | alvarohub/Laser-Scanner-Controller---SUPER-RES-ATOM- | 474531a9454ebfddbf32a066972e3aa4c3213b2e | [
"MIT"
] | null | null | null | #include "scannerDisplay.h"
namespace DisplayScan {
// Define the extern variables:
PointBuffer displayBuffer1, displayBuffer2;
volatile PointBuffer *ptrCurrentDisplayBuffer, *ptrHiddenDisplayBuffer;
uint16_t readingHead, newSizeBuffers;
volatile uint16_t sizeBuffers;
bool canSwapFlag;
vo... | 40.342857 | 102 | 0.591183 | alvarohub |
53bb3e39d4e5773e73711fccd0ec64087db7f4af | 1,220 | cc | C++ | examples/find_package/projects/lapack/test_dgemm.cc | dvuckovic/ecbuild | 63d24861fc1535d596645e6814fc075b5004a992 | [
"Apache-2.0"
] | 19 | 2018-03-08T12:05:28.000Z | 2022-01-27T09:25:23.000Z | examples/find_package/projects/lapack/test_dgemm.cc | dvuckovic/ecbuild | 63d24861fc1535d596645e6814fc075b5004a992 | [
"Apache-2.0"
] | 38 | 2018-06-28T10:31:55.000Z | 2022-03-10T21:46:54.000Z | examples/find_package/projects/lapack/test_dgemm.cc | dvuckovic/ecbuild | 63d24861fc1535d596645e6814fc075b5004a992 | [
"Apache-2.0"
] | 28 | 2018-07-05T22:57:39.000Z | 2022-03-19T21:09:24.000Z |
extern "C" {
void dgemm_(const char* transa, const char* transb, const int* m, const int* n, const int* k, const double* alpha,
const double* a, const int* lda, const double* b, const int* ldb, const double* beta, double* c,
const int* ldc);
}
#include <cmath>
#include <iostream>
static... | 25.957447 | 116 | 0.50082 | dvuckovic |
53bec9b7711b4b09ead33d055bd70ac1dacafe89 | 924 | cpp | C++ | src/Plugin/PlaybackHandle.cpp | HardlightVR/HL-cplugin | 2bd9a5db983c4a8ab3d5678cef2ee770035b1d27 | [
"MIT"
] | null | null | null | src/Plugin/PlaybackHandle.cpp | HardlightVR/HL-cplugin | 2bd9a5db983c4a8ab3d5678cef2ee770035b1d27 | [
"MIT"
] | null | null | null | src/Plugin/PlaybackHandle.cpp | HardlightVR/HL-cplugin | 2bd9a5db983c4a8ab3d5678cef2ee770035b1d27 | [
"MIT"
] | 1 | 2020-06-29T14:36:40.000Z | 2020-06-29T14:36:40.000Z | #include "stdafx.h"
#include "PlaybackHandle.h"
#include "EventList.h"
#include "HLVR.h"
#include "Engine.h"
PlaybackHandle::PlaybackHandle() : handle(0), engine{ nullptr }
{
}
bool PlaybackHandle::IsBound() const
{
return handle != 0;
}
int PlaybackHandle::Pause()
{
if (engine != nullptr) {
return engine->Han... | 15.4 | 63 | 0.709957 | HardlightVR |
53c36855210dcf4499be303b4f1bf2b3600b3621 | 879 | cpp | C++ | Examenes/2ExamenPracticasJavi/RecorrerColumnas.cpp | JArandaIzquierdo/FP | a38e711c89c82c70aadafb79687a06b66fca5dcb | [
"Apache-2.0"
] | null | null | null | Examenes/2ExamenPracticasJavi/RecorrerColumnas.cpp | JArandaIzquierdo/FP | a38e711c89c82c70aadafb79687a06b66fca5dcb | [
"Apache-2.0"
] | null | null | null | Examenes/2ExamenPracticasJavi/RecorrerColumnas.cpp | JArandaIzquierdo/FP | a38e711c89c82c70aadafb79687a06b66fca5dcb | [
"Apache-2.0"
] | null | null | null | /*
Dado una matriz de enteros, crear una funcion que devuelva la cifra menor de la
suma de las columnas, y el indice de la columna donde la suma es menor.
*/
#include <iostream>
using namespace std;
const int FIL=2;
const int COL=5;
void sumaIndice (int matriz[][COL],int FIL, int COL, int &suma, int &indice){
in... | 19.977273 | 84 | 0.623436 | JArandaIzquierdo |
53c72cf3913378bc42f6c00729cd83748a06ef1d | 469 | cc | C++ | 洛谷/普及-/P4136.cc | OFShare/Algorithm-challenger | 43336871a5e48f8804d6e737c813d9d4c0dc2731 | [
"MIT"
] | 67 | 2019-07-14T05:38:41.000Z | 2021-12-23T11:52:51.000Z | 洛谷/普及-/P4136.cc | OFShare/Algorithm-challenger | 43336871a5e48f8804d6e737c813d9d4c0dc2731 | [
"MIT"
] | null | null | null | 洛谷/普及-/P4136.cc | OFShare/Algorithm-challenger | 43336871a5e48f8804d6e737c813d9d4c0dc2731 | [
"MIT"
] | 12 | 2020-01-16T10:48:01.000Z | 2021-06-11T16:49:04.000Z | /*
* Author : OFShare
* E-mail : OFShare@outlook.com
* Created Time : 2020-03-11 22:39:35 PM
* File Name : P4136.cc
*/
#include <bits/stdc++.h>
#define ll long long
void debug() {
#ifdef Acui
freopen("data.in", "r", stdin);
freopen("data.out", "w", stdout);
#endif
}
int n;
int mai... | 17.37037 | 41 | 0.522388 | OFShare |
53c8c084f0fa83c0715bbfc88baa24db7af00eeb | 2,884 | cpp | C++ | lsimd/fastarray_4i32.cpp | lawnjelly/godot-lsimd | 2d0bd167bc00c31153044d54789966ce2a9f54f2 | [
"MIT"
] | 7 | 2020-09-01T07:44:13.000Z | 2021-12-18T02:48:49.000Z | lsimd/fastarray_4i32.cpp | lawnjelly/godot-lsimd | 2d0bd167bc00c31153044d54789966ce2a9f54f2 | [
"MIT"
] | null | null | null | lsimd/fastarray_4i32.cpp | lawnjelly/godot-lsimd | 2d0bd167bc00c31153044d54789966ce2a9f54f2 | [
"MIT"
] | 1 | 2021-01-27T21:24:24.000Z | 2021-01-27T21:24:24.000Z | // Copyright (c) 2019 Lawnjelly
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distr... | 43.044776 | 107 | 0.736824 | lawnjelly |
53cf20d932c9df97c1e1e2623509d588f7e15c73 | 682 | cpp | C++ | infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp | shakenetwork/infer | faf04af1f4bd7a590948f3760cc9a11540420361 | [
"BSD-3-Clause"
] | 1 | 2017-09-14T09:03:44.000Z | 2017-09-14T09:03:44.000Z | infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp | shakenetwork/infer | faf04af1f4bd7a590948f3760cc9a11540420361 | [
"BSD-3-Clause"
] | 2 | 2020-11-13T19:42:27.000Z | 2020-11-13T19:49:19.000Z | infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp | shakenetwork/infer | faf04af1f4bd7a590948f3760cc9a11540420361 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2017 - present Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
namespace i... | 18.944444 | 78 | 0.634897 | shakenetwork |
53d059ae2393e989bb6374506ab505f1d1c01f2a | 1,602 | cpp | C++ | Block4/es401/main401.cpp | andreadelprete/latex-cpp-exercises-simple | 6e436b268e503d298e5ee642ed92095b5f6473c4 | [
"Unlicense"
] | null | null | null | Block4/es401/main401.cpp | andreadelprete/latex-cpp-exercises-simple | 6e436b268e503d298e5ee642ed92095b5f6473c4 | [
"Unlicense"
] | null | null | null | Block4/es401/main401.cpp | andreadelprete/latex-cpp-exercises-simple | 6e436b268e503d298e5ee642ed92095b5f6473c4 | [
"Unlicense"
] | 1 | 2021-09-02T07:02:52.000Z | 2021-09-02T07:02:52.000Z | /*
SUP che chiede all'utente di specificare un intervallo per il
quale calcolare le seguenti classificazioni numeriche.
Le verifiche di appartenenza devono essere svolte in funzioni.
Per ogni gruppo sono indicati gli identificativi di serie numeriche OEIS.
Numeri Abbondanti: numeri più piccoli... | 26.262295 | 103 | 0.614232 | andreadelprete |
53d2b7fac4c50d05a023ae2534bc95eed9e3214a | 597,874 | cpp | C++ | resources/se/shiori_ne.cpp | heongle/shiori-sound-button | 7e49063ab23b9ce19d207f6bec63de1d7569a478 | [
"Zlib"
] | null | null | null | resources/se/shiori_ne.cpp | heongle/shiori-sound-button | 7e49063ab23b9ce19d207f6bec63de1d7569a478 | [
"Zlib"
] | null | null | null | resources/se/shiori_ne.cpp | heongle/shiori-sound-button | 7e49063ab23b9ce19d207f6bec63de1d7569a478 | [
"Zlib"
] | null | null | null | unsigned char shiori_ne_wav[] = {
0x52, 0x49, 0x46, 0x46, 0xa4, 0x7a, 0x01, 0x00, 0x57, 0x41, 0x56, 0x45,
0x66, 0x6d, 0x74, 0x20, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
0x44, 0xac, 0x00, 0x00, 0x10, 0xb1, 0x02, 0x00, 0x04, 0x00, 0x10, 0x00,
0x64, 0x61, 0x74, 0x61, 0x80, 0x7a, 0x01, 0x00, 0xff, 0xff, 0x... | 73.966844 | 73 | 0.648662 | heongle |
53de466a435ea2d09b94e94e66f0007c31308ec0 | 3,158 | cpp | C++ | src/Modules/Graphics/Lighting/Shadow/ShadowMap.cpp | Yattabyte/reVision | 014cb450d1c30b8f64abbacf00425b4f814b05a0 | [
"MIT"
] | 5 | 2018-10-12T17:40:17.000Z | 2020-11-20T10:49:34.000Z | src/Modules/Graphics/Lighting/Shadow/ShadowMap.cpp | Yattabyte/reVision | 014cb450d1c30b8f64abbacf00425b4f814b05a0 | [
"MIT"
] | 71 | 2018-07-19T01:59:38.000Z | 2020-03-29T18:03:13.000Z | src/Modules/Graphics/Lighting/Shadow/ShadowMap.cpp | Yattabyte/reVision | 014cb450d1c30b8f64abbacf00425b4f814b05a0 | [
"MIT"
] | 1 | 2022-03-24T13:21:25.000Z | 2022-03-24T13:21:25.000Z | #include "Modules/Graphics/Lighting/Shadow/ShadowMap.h"
#include <algorithm>
ShadowMap::~ShadowMap()
{
glDeleteFramebuffers(1, &m_fboID);
glDeleteTextures(3, m_textureIDS);
}
ShadowMap::ShadowMap() noexcept
{
glCreateFramebuffers(1, &m_fboID);
glCreateTextures(GL_TEXTURE_2D_ARRAY, 3, m_textureIDS);
resize(glm::... | 50.126984 | 159 | 0.791007 | Yattabyte |
53df5eca648111cfda6361cacf625bc0b7cd662b | 2,989 | cpp | C++ | VisualCreatePatch/CreatePatchThread.cpp | shouttrickword/ZPatcher | ecfefc8c8d9d3eb58d2744472209eb37614777bc | [
"BSD-3-Clause"
] | 45 | 2016-05-30T23:07:07.000Z | 2021-09-22T19:27:11.000Z | VisualCreatePatch/CreatePatchThread.cpp | shouttrickword/ZPatcher | ecfefc8c8d9d3eb58d2744472209eb37614777bc | [
"BSD-3-Clause"
] | 15 | 2016-06-01T22:08:29.000Z | 2022-01-12T07:19:00.000Z | VisualCreatePatch/CreatePatchThread.cpp | shouttrickword/ZPatcher | ecfefc8c8d9d3eb58d2744472209eb37614777bc | [
"BSD-3-Clause"
] | 21 | 2016-06-01T11:16:21.000Z | 2021-08-07T03:16:56.000Z | //////////////////////////////////////////////////////////////////////////
//
// VisualCreatePatch - Patcher system - Part of the ZUpdater suite
// Felipe "Zoc" Silveira - (c) 2016-2018
//
//////////////////////////////////////////////////////////////////////////
//
// CreatePatchThread.cpp
// Implement worker thread f... | 35.583333 | 154 | 0.693208 | shouttrickword |
53e26757c0d280ce865615ca440b8068a8e18c73 | 1,259 | cpp | C++ | src/heightmap.cpp | fotcorn/opengl | df08de01097c84024ff438a4a0ab0aec861bb6fe | [
"MIT"
] | null | null | null | src/heightmap.cpp | fotcorn/opengl | df08de01097c84024ff438a4a0ab0aec861bb6fe | [
"MIT"
] | null | null | null | src/heightmap.cpp | fotcorn/opengl | df08de01097c84024ff438a4a0ab0aec861bb6fe | [
"MIT"
] | null | null | null | #include "heightmap.h"
#include <glm/vec3.hpp>
#include <vector>
#include <stb_image.h>
#include <fmt/format.h>
using namespace fmt;
Object loadHeightMap(std::string path) {
int width, height, nrChannels;
unsigned char* data = stbi_load(path.c_str(), &width, &height, &nrChannels, 0);
if (!data) {
... | 30.707317 | 110 | 0.549643 | fotcorn |
53e38ace31df44124bf0fecfe760916b09f12fac | 27,494 | cpp | C++ | src/prod/src/Hosting2/NonActivatedApplicationHost.Test.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Hosting2/NonActivatedApplicationHost.Test.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Hosting2/NonActivatedApplicationHost.Test.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
#include... | 35.384813 | 154 | 0.708991 | gridgentoo |
53e794d20385ab72f408572b3ba05d209748202d | 755 | cpp | C++ | plugins/node/module/npm_package.cpp | 5cript/dukextpp | 266497ade215a1bc125bbfeef74796209a837f7a | [
"MIT"
] | null | null | null | plugins/node/module/npm_package.cpp | 5cript/dukextpp | 266497ade215a1bc125bbfeef74796209a837f7a | [
"MIT"
] | null | null | null | plugins/node/module/npm_package.cpp | 5cript/dukextpp | 266497ade215a1bc125bbfeef74796209a837f7a | [
"MIT"
] | null | null | null | #include "npm_package.hpp"
#include <string>
#include <fstream>
#include <streambuf>
bool readPackageJson(std::string const& fileName, Package& pack)
{
std::ifstream reader (fileName);
if (!reader.good())
return false;
std::string content((std::istreambuf_iterator<char>(reader)),
... | 22.205882 | 69 | 0.589404 | 5cript |
53e81f481e366948ff3afe014e1413638f97a675 | 715 | cpp | C++ | Doomed_Editor/src/Panels/SettingsPanel.cpp | BrandnerKasper/Eternal | ab133237a0e30b2f223f3a3014fc4ece7e3743d9 | [
"Apache-2.0"
] | 1 | 2021-02-08T14:22:47.000Z | 2021-02-08T14:22:47.000Z | Doomed_Editor/src/Panels/SettingsPanel.cpp | BrandnerKasper/Eternal | ab133237a0e30b2f223f3a3014fc4ece7e3743d9 | [
"Apache-2.0"
] | null | null | null | Doomed_Editor/src/Panels/SettingsPanel.cpp | BrandnerKasper/Eternal | ab133237a0e30b2f223f3a3014fc4ece7e3743d9 | [
"Apache-2.0"
] | null | null | null | #include "SettingsPanel.h"
#include <imgui/imgui.h>
#include "Eternal/Core/Timestep.h"
namespace Eternal {
void SettingsPanel::OnImGuiRender()
{
ImGui::Begin("Settings");
auto stats = Renderer2D::GetStats();
ImGui::Text("Batch Renderer Stats:");
ImGui::Text("Draw Calls: %d", s... | 26.481481 | 75 | 0.604196 | BrandnerKasper |
53e8625b78f3ff44cdd018b57263f3fb96843018 | 10,585 | cpp | C++ | lib/motion_tracker/motion_tracker.cpp | botocracy/8bitbot | a9539543331c970f384f950ad4a6c7ae74df81c4 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | lib/motion_tracker/motion_tracker.cpp | botocracy/8bitbot | a9539543331c970f384f950ad4a6c7ae74df81c4 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | lib/motion_tracker/motion_tracker.cpp | botocracy/8bitbot | a9539543331c970f384f950ad4a6c7ae74df81c4 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (C) 2020 Marquise Stein
* This file is part of 8bitbot - https://github.com/botocracy/8bitbot
*
* SPDX-License-Identifier: Apache-2.0
* See LICENSE.txt for more information.
*/
#include "motion_tracker.hpp"
#include "vision_graph.hpp"
#include "utils/emscripten_utils.hpp"
#include "utils/math_uti... | 30.071023 | 112 | 0.64223 | botocracy |
53e9954d67eac147caa17049337307cf4876d707 | 861 | hpp | C++ | libs/fnd/iterator/include/bksge/fnd/iterator/begin.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/iterator/include/bksge/fnd/iterator/begin.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/iterator/include/bksge/fnd/iterator/begin.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file begin.hpp
*
* @brief begin 関数の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_ITERATOR_BEGIN_HPP
#define BKSGE_FND_ITERATOR_BEGIN_HPP
#include <bksge/fnd/iterator/config.hpp>
#if defined(BKSGE_USE_STD_ITERATOR)
namespace bksge
{
using std::begin;
} // namespace bksge
#else
... | 15.105263 | 49 | 0.680604 | myoukaku |
53ebb13ed13787040251a10e664bdd695de1da91 | 93 | cpp | C++ | test/cstdio_cstring_conflict.cpp | victorrseloy/JSCPP-LIVE-REPL | 941b5fd787b05e7ff18327a982b0a225ebfba70f | [
"MIT"
] | 773 | 2015-05-26T23:51:00.000Z | 2022-03-12T13:39:09.000Z | test/cstdio_cstring_conflict.cpp | victorrseloy/JSCPP-LIVE-REPL | 941b5fd787b05e7ff18327a982b0a225ebfba70f | [
"MIT"
] | 128 | 2015-03-28T09:11:26.000Z | 2022-03-11T09:14:28.000Z | test/cstdio_cstring_conflict.cpp | victorrseloy/JSCPP-LIVE-REPL | 941b5fd787b05e7ff18327a982b0a225ebfba70f | [
"MIT"
] | 74 | 2015-06-16T08:44:49.000Z | 2022-02-22T18:48:58.000Z | #include <stdio.h>
#include <string.h>
int main()
{
printf("test - ok");
return 0;
} | 11.625 | 24 | 0.569892 | victorrseloy |
53ecdcfe0bc201226fc07a7d5de4308d7d730f1a | 379 | cpp | C++ | EmyRenderingEngine/src/Asset/MeshAsset.cpp | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | null | null | null | EmyRenderingEngine/src/Asset/MeshAsset.cpp | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | null | null | null | EmyRenderingEngine/src/Asset/MeshAsset.cpp | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | 1 | 2019-09-03T16:49:50.000Z | 2019-09-03T16:49:50.000Z | #include "MeshAsset.h"
std::string MeshAsset::GetType()
{
return "MeshAsset";
}
void MeshAsset::GUI()
{
Asset::GUI();
ImGui::Text("Ima mesh asset :)");
}
nlohmann::json MeshAsset::Save()
{
using json = nlohmann::json;
json meshAsset = Asset::Save();
return meshAsset;
}
void MeshAsset::Load(nlohmann::json da... | 13.068966 | 41 | 0.664908 | TheJemy191 |
53ecffdbb2a4b64162e6e7e045fd316bf0e56e4e | 8,489 | cpp | C++ | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/settings_screen/TimeSettingContainer.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/settings_screen/TimeSettingContainer.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/settings_screen/TimeSettingContainer.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | /**
******************************************************************************
* This file is part of the TouchGFX 4.10.0 distribution.
*
* @attention
*
* Copyright (c) 2018 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
... | 35.970339 | 130 | 0.715043 | ramkumarkoppu |
53f31dd1f423da8f749e3bb4c21ce3bf6db208c1 | 26,639 | cpp | C++ | SurfaceReconstruction/SurfaceReconstruction/SurfaceExtraction/Occupancy.cpp | pavelsevecek/TSR | ca411dedf178e5830f0536e361136f1e16751bc8 | [
"BSD-3-Clause"
] | null | null | null | SurfaceReconstruction/SurfaceReconstruction/SurfaceExtraction/Occupancy.cpp | pavelsevecek/TSR | ca411dedf178e5830f0536e361136f1e16751bc8 | [
"BSD-3-Clause"
] | null | null | null | SurfaceReconstruction/SurfaceReconstruction/SurfaceExtraction/Occupancy.cpp | pavelsevecek/TSR | ca411dedf178e5830f0536e361136f1e16751bc8 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2018 by Author: Aroudj, Samir
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* 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 <cstring>
#include <fstre... | 32.566015 | 166 | 0.717144 | pavelsevecek |
53f9233ef7725065a92e470a79b903fd0cd699cb | 618 | cpp | C++ | Array/14_next_permutation.cpp | ritikrajdev/450DSA | a9efa8c8be781fd7b101407ac807a83b8a0929f4 | [
"MIT"
] | null | null | null | Array/14_next_permutation.cpp | ritikrajdev/450DSA | a9efa8c8be781fd7b101407ac807a83b8a0929f4 | [
"MIT"
] | null | null | null | Array/14_next_permutation.cpp | ritikrajdev/450DSA | a9efa8c8be781fd7b101407ac807a83b8a0929f4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include "general.h"
using namespace std;
namespace ritik {
void next_permutation (vector<int>& vec) {
int in1 = -1;
for (int i = vec.size() - 2; i >= 0; i--) {
if (vec.at(i) < vec.at(i+1)) {
in1 = i;
break;
}
}
if ... | 15.45 | 48 | 0.529126 | ritikrajdev |
53f9c03ebc543aa33ae457c2390ac66d2d1c5fe1 | 7,265 | cc | C++ | klib/kgl_primitive.cc | kumakoko/KumaGL | b5179c72f148332fc16786d7f2186c3368614c39 | [
"MIT"
] | 10 | 2019-02-14T06:44:52.000Z | 2021-11-17T07:33:34.000Z | klib/kgl_primitive.cc | kumakoko/KumaGL | b5179c72f148332fc16786d7f2186c3368614c39 | [
"MIT"
] | null | null | null | klib/kgl_primitive.cc | kumakoko/KumaGL | b5179c72f148332fc16786d7f2186c3368614c39 | [
"MIT"
] | 2 | 2019-02-14T06:56:12.000Z | 2021-11-17T07:33:24.000Z | /**************************************************************************************************************************
Copyright(C) 2014-2017 www.xionggf.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
files (the "Software"), to d... | 40.586592 | 243 | 0.694701 | kumakoko |
53fc925ebfdf89ddac3792fb26aad87174a11cac | 500 | cpp | C++ | Network/sources/Protocol/ListGames.cpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | 2 | 2020-02-12T12:02:00.000Z | 2020-12-23T15:31:59.000Z | Network/sources/Protocol/ListGames.cpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | null | null | null | Network/sources/Protocol/ListGames.cpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | 2 | 2020-02-12T12:02:03.000Z | 2020-12-23T15:32:55.000Z | //
// Created by Quentin Liardeaux on 12/18/19.
//
#include "Protocol/ListGames.hpp"
std::unique_ptr<Message> ListGames::from(void *data) {
auto msg = std::make_unique<ListGames>();
return msg;
}
std::vector<uint8_t> ListGames::serialize() const {
std::vector<uint8_t> data = Message::createHeader(m_id, ... | 25 | 77 | 0.662 | LiardeauxQ |
d87d52b63958fdc455e7127e83c8dc824270afa7 | 1,289 | cpp | C++ | ABC204/c.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | ABC204/c.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | 3 | 2021-03-31T01:39:25.000Z | 2021-05-04T10:02:35.000Z | ABC204/c.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | // UnionFind
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i <= n; i++)
#define FORR(i, m, n) for (int i = m; i >= n; i--)
#define SORT(v, n) sort(v, v + n)
using namespace std;
using ll = long long;
using ... | 20.460317 | 51 | 0.489527 | KoukiNAGATA |
d885f910d29bdbb491776997fc9b412f011c51fc | 1,228 | cpp | C++ | cpp/godot-cpp/src/gen/VisualShaderNodeBooleanConstant.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/VisualShaderNodeBooleanConstant.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/src/gen/VisualShaderNodeBooleanConstant.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #include "VisualShaderNodeBooleanConstant.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
namespace godot {
VisualShaderNodeBooleanConstant::___method_bindings VisualShaderNodeBooleanConstant::___mb = {};
void VisualS... | 34.111111 | 243 | 0.822476 | GDNative-Gradle |
d887dca4a08dcca82053790dd5b3570035ab4bb0 | 636 | hpp | C++ | include/8080.hpp | bakaq/space-invaders-emulator | 7b11710685cf423c25cf5ac3d46ba8689d5d6fb0 | [
"MIT"
] | null | null | null | include/8080.hpp | bakaq/space-invaders-emulator | 7b11710685cf423c25cf5ac3d46ba8689d5d6fb0 | [
"MIT"
] | null | null | null | include/8080.hpp | bakaq/space-invaders-emulator | 7b11710685cf423c25cf5ac3d46ba8689d5d6fb0 | [
"MIT"
] | null | null | null | #ifndef _8080_HPP
#define _8080_HPP
#include <vector>
#include <cstdint>
#include <string>
// A class for the 8080 chip
class c8080{
public:
// State
uint8_t a;
uint8_t b;
uint8_t c;
uint8_t d;
uint8_t e;
uint8_t h;
uint8_t l;
uint16_t sp;
uint16_t pc;
std::vector<uint8_t> memory;
struct Cond... | 15.512195 | 45 | 0.674528 | bakaq |
d88865e74a31ffd1ae7d016f4d6c94d63e227010 | 2,496 | cc | C++ | src/pathwatcher_unix.cc | aminya/node-pathwatcher | f062e348cf8c1c617bcfadd677dfe8f4ff9704f8 | [
"MIT"
] | 76 | 2015-01-16T00:14:33.000Z | 2022-03-26T11:11:00.000Z | src/pathwatcher_unix.cc | aminya/node-pathwatcher | f062e348cf8c1c617bcfadd677dfe8f4ff9704f8 | [
"MIT"
] | 75 | 2015-01-21T22:39:52.000Z | 2022-01-31T17:58:13.000Z | src/pathwatcher_unix.cc | aminya/node-pathwatcher | f062e348cf8c1c617bcfadd677dfe8f4ff9704f8 | [
"MIT"
] | 54 | 2015-01-20T22:54:18.000Z | 2022-01-31T17:42:03.000Z | #include <errno.h>
#include <unistd.h>
#include <sys/event.h>
#include <sys/param.h>
#include <sys/time.h>
#include <sys/types.h>
#include <algorithm>
#include "common.h"
// test for descriptor event notification, if not available set to O_RDONLY
#ifndef O_EVTONLY
#define O_EVTONLY O_RDONLY
#endif
// test for flag ... | 22.690909 | 97 | 0.64383 | aminya |
d88a9982c36e7cca4859c03017cb970b7982399a | 2,655 | cpp | C++ | robot_ws/src/camera_ingest/src/viewer_api/image_transport/image_transport.cpp | NS-Robotics/NSRA2 | 86dbd504ed268fa951c61b010924bea6faff5a43 | [
"BSD-3-Clause"
] | null | null | null | robot_ws/src/camera_ingest/src/viewer_api/image_transport/image_transport.cpp | NS-Robotics/NSRA2 | 86dbd504ed268fa951c61b010924bea6faff5a43 | [
"BSD-3-Clause"
] | null | null | null | robot_ws/src/camera_ingest/src/viewer_api/image_transport/image_transport.cpp | NS-Robotics/NSRA2 | 86dbd504ed268fa951c61b010924bea6faff5a43 | [
"BSD-3-Clause"
] | null | null | null | #include "image_transport.h"
#include <chrono>
NSSCImageTransport::NSSCImageTransport(std::shared_ptr<NSSC>& node, std::shared_ptr<cameraManager>& camManager) : NSSC_ERRORS(node)
{
this->camManager = camManager;
this->node = node;
this->left_pub = image_transport::create_publisher(this->node.get(), "NSSC... | 35.4 | 159 | 0.680603 | NS-Robotics |
d88b904675e4238a45c636f94374b0d210fa123d | 2,788 | cpp | C++ | Sources/Elastos/LibCore/src/org/apache/harmony/security/pkcs7/CContentInfoHelper.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/LibCore/src/org/apache/harmony/security/pkcs7/CContentInfoHelper.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/LibCore/src/org/apache/harmony/security/pkcs7/CContentInfoHelper.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos 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 License at
//
// ... | 28.161616 | 75 | 0.693687 | jingcao80 |
d88c3fa0101e6851edf78e4c874d9197400cddce | 3,189 | cpp | C++ | Components/Mesh_HausdorffDistance.cpp | elix22/IogramSource | 3a4ce55d94920e060776b4aa4db710f57a4280bc | [
"MIT"
] | 28 | 2017-03-01T04:09:18.000Z | 2022-02-01T13:33:50.000Z | Components/Mesh_HausdorffDistance.cpp | elix22/IogramSource | 3a4ce55d94920e060776b4aa4db710f57a4280bc | [
"MIT"
] | 3 | 2017-03-09T05:22:49.000Z | 2017-08-02T18:38:05.000Z | Components/Mesh_HausdorffDistance.cpp | elix22/IogramSource | 3a4ce55d94920e060776b4aa4db710f57a4280bc | [
"MIT"
] | 17 | 2017-03-01T14:00:01.000Z | 2022-02-08T06:36:54.000Z | //
// Copyright (c) 2016 - 2017 Mesh Consultants Inc.
// 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, mod... | 36.238636 | 98 | 0.743807 | elix22 |
d88c773d1ae78b308a8e879280db8453b74a8a2e | 857 | cpp | C++ | cpp/0110_isBalanced.cpp | linhx25/leetcode | 9cf1d6d2372fd8777825c8107780b7f3c934fe20 | [
"MIT"
] | 1 | 2021-04-16T12:54:56.000Z | 2021-04-16T12:54:56.000Z | cpp/0110_isBalanced.cpp | linhx25/leetcode | 9cf1d6d2372fd8777825c8107780b7f3c934fe20 | [
"MIT"
] | null | null | null | cpp/0110_isBalanced.cpp | linhx25/leetcode | 9cf1d6d2372fd8777825c8107780b7f3c934fe20 | [
"MIT"
] | 1 | 2021-04-26T13:20:41.000Z | 2021-04-26T13:20:41.000Z | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | 28.566667 | 93 | 0.57993 | linhx25 |
d891455f6d991105aaa40cf9976615d069a5e68c | 714 | cpp | C++ | src/opcontrol.cpp | SpencerJ21/gif-pros | 3b4f76ae27a46f109d3a5a9f6521d6388c08fc0d | [
"MIT"
] | 17 | 2019-09-16T11:57:22.000Z | 2021-12-16T23:56:01.000Z | src/opcontrol.cpp | SpencerJ21/gif-pros | 3b4f76ae27a46f109d3a5a9f6521d6388c08fc0d | [
"MIT"
] | 1 | 2020-01-09T03:03:26.000Z | 2020-01-09T03:03:26.000Z | src/opcontrol.cpp | SpencerJ21/gif-pros | 3b4f76ae27a46f109d3a5a9f6521d6388c08fc0d | [
"MIT"
] | 3 | 2019-10-02T14:34:55.000Z | 2020-07-29T07:59:00.000Z | #include "main.h"
#include "gif-pros/gifclass.hpp"
/**
* Runs the operator control code. This function will be started in its own task
* with the default priority and stack size whenever the robot is enabled via
* the Field Management System or the VEX Competition Switch in the operator
* control mode.
*
* If no... | 28.56 | 80 | 0.726891 | SpencerJ21 |
d89613d9c879817c775cbd77001f713ec0faeed5 | 1,567 | cc | C++ | BooleanParser.cc | swbrenneis/libjson | ff577be8775882de19e6ff2a1292ecad3304bf2c | [
"Apache-2.0"
] | null | null | null | BooleanParser.cc | swbrenneis/libjson | ff577be8775882de19e6ff2a1292ecad3304bf2c | [
"Apache-2.0"
] | null | null | null | BooleanParser.cc | swbrenneis/libjson | ff577be8775882de19e6ff2a1292ecad3304bf2c | [
"Apache-2.0"
] | null | null | null | #include "BooleanParser.h"
#include "ParsedScalar.h"
#include "BooleanVariant.h"
#include "ParseException.h"
#include <sstream>
namespace json {
//BooleanParser::BooleanParser() {
//}
BooleanParser::BooleanParser(const std::string& name)
: ValueParser(name) {
}
BooleanParser::~BooleanParser() {
}
void BooleanParse... | 23.38806 | 72 | 0.541161 | swbrenneis |
d896163823ae01eb3832beaccbb5f68748304b9c | 1,752 | hpp | C++ | Siv3D/include/Siv3D/Types.hpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | 1 | 2018-05-23T10:57:32.000Z | 2018-05-23T10:57:32.000Z | Siv3D/include/Siv3D/Types.hpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | null | null | null | Siv3D/include/Siv3D/Types.hpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | 1 | 2019-10-06T17:09:26.000Z | 2019-10-06T17:09:26.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2018 Ryo Suzuki
// Copyright (c) 2016-2018 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <cstdint>
# include <io... | 20.372093 | 50 | 0.526826 | Fuyutsubaki |
d896b849aca3377adb70454abf8381637548e109 | 538 | hpp | C++ | include/sktest/ansi_color.hpp | kagurakanon/skjvm | bca3354777eebaf531087f19bb0c6914f639a15a | [
"Unlicense"
] | null | null | null | include/sktest/ansi_color.hpp | kagurakanon/skjvm | bca3354777eebaf531087f19bb0c6914f639a15a | [
"Unlicense"
] | null | null | null | include/sktest/ansi_color.hpp | kagurakanon/skjvm | bca3354777eebaf531087f19bb0c6914f639a15a | [
"Unlicense"
] | null | null | null | #ifndef sktest_ansi_color_hpp
#define sktest_ansi_color_hpp
#define BOLD_RED "\033[31;1m"
#define RED "\033[31m"
#define BOLD_GREEN "\033[32;1m"
#define GREEN "\033[32m"
#define BLUE "\033[34m"
#define BOLD "\033[1m"
#define RESET "\033[0m"
#define bold_red(string) BOLD_RED string RESET
#define red(string) RED str... | 21.52 | 50 | 0.760223 | kagurakanon |
d89e893c651a16ab70373cdf640eab9c50647723 | 6,696 | cpp | C++ | jsk_recognition/jsk_perception/src/rect_array_actual_size_filter.cpp | VT-ASIM-LAB/autoware.ai | 211dff3bee2d2782cb10444272c5d98d1f30d33a | [
"Apache-2.0"
] | null | null | null | jsk_recognition/jsk_perception/src/rect_array_actual_size_filter.cpp | VT-ASIM-LAB/autoware.ai | 211dff3bee2d2782cb10444272c5d98d1f30d33a | [
"Apache-2.0"
] | null | null | null | jsk_recognition/jsk_perception/src/rect_array_actual_size_filter.cpp | VT-ASIM-LAB/autoware.ai | 211dff3bee2d2782cb10444272c5d98d1f30d33a | [
"Apache-2.0"
] | null | null | null | // -*- mode: c++ -*-
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2016, JSK Lab
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | 40.829268 | 116 | 0.66353 | VT-ASIM-LAB |
d89f9e0e16522dc582cf7374f82519fc4c3bf636 | 2,891 | cpp | C++ | auditory/example/src/android/oobwov/OOBWakeOnVoiceService/OOBWakeonVoiceClientLib.cpp | yao-matrix/mProto | e5fecce2693056ac53f7d34d00801829ea1094c3 | [
"Apache-2.0"
] | 3 | 2016-11-06T04:55:11.000Z | 2019-05-18T06:56:10.000Z | auditory/example/src/android/oobwov/OOBWakeOnVoiceService/OOBWakeonVoiceClientLib.cpp | yao-matrix/mProto | e5fecce2693056ac53f7d34d00801829ea1094c3 | [
"Apache-2.0"
] | null | null | null | auditory/example/src/android/oobwov/OOBWakeOnVoiceService/OOBWakeonVoiceClientLib.cpp | yao-matrix/mProto | e5fecce2693056ac53f7d34d00801829ea1094c3 | [
"Apache-2.0"
] | 4 | 2016-11-27T01:08:41.000Z | 2021-03-11T05:32:04.000Z | #undef LOG_TAG
#define LOG_TAG "OOBWakeonVoiceClientLib"
#include "OOBWakeonVoiceClientLib.h"
#include <stdio.h>
using namespace oobwakeonvoice;
using namespace android;
static sp<IOOBWakeonVoice> api = NULL;
// void (*server_death_cb)() = NULL;
sp<IOOBWakeonVoiceClient> client = NULL;
/* @Description : get the b... | 16.80814 | 75 | 0.604635 | yao-matrix |
d8a82a9910ea1252067554f46d7690b3f9abd76a | 14,590 | cc | C++ | drtm-dst/src/app/tpcc/tpcc_main.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 9 | 2020-12-17T01:59:13.000Z | 2022-03-30T16:25:08.000Z | drtm-dst/src/app/tpcc/tpcc_main.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-07-30T12:06:33.000Z | 2021-07-31T10:16:09.000Z | drtm-dst/src/app/tpcc/tpcc_main.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-08-01T13:47:07.000Z | 2021-08-01T13:47:07.000Z | #include "tpcc_worker.h"
#include "tpcc_schema.h"
#include "tpcc_mixin.h"
#include "tpcc_log_cleaner.h"
#include "tx_config.h"
#include <getopt.h>
#include <iostream>
#include "db/txs/dbsi.h"
#include "framework/bench_runner.h"
// for parsing config xml
#include <boost/foreach.hpp>
#include <boost/property_tree/ptr... | 32.86036 | 131 | 0.665319 | SJTU-IPADS |
d8b293da4796ccd670627ae59e5d39f0d9faa679 | 6,379 | cc | C++ | native_client_sdk/src/libraries/nacl_io/event_listener.cc | MIPS/external-chromium_org | e31b3128a419654fd14003d6117caa8da32697e7 | [
"BSD-3-Clause"
] | 2 | 2018-11-24T07:58:44.000Z | 2019-02-22T21:02:46.000Z | native_client_sdk/src/libraries/nacl_io/event_listener.cc | carlosavignano/android_external_chromium_org | 2b5652f7889ccad0fbdb1d52b04bad4c23769547 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | native_client_sdk/src/libraries/nacl_io/event_listener.cc | carlosavignano/android_external_chromium_org | 2b5652f7889ccad0fbdb1d52b04bad4c23769547 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2017-07-31T19:09:52.000Z | 2019-01-04T18:48:50.000Z | /* Copyright (c) 2013 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 <errno.h>
#include <poll.h>
#include <pthread.h>
#include <stdio.h>
#include "nacl_io/error.h"
#include "nacl_io/event_listener.h"
#incl... | 26.036735 | 80 | 0.638501 | MIPS |
d8b3283571f0e2ec5c23d23b3c2c5def8d826b52 | 1,351 | cpp | C++ | ImageRegistration/Manager.cpp | b-z/ImageRegistration | c6d8f873c45aeb18f052f7945f00bd8a12f3b938 | [
"MIT"
] | 1 | 2021-12-30T14:20:05.000Z | 2021-12-30T14:20:05.000Z | ImageRegistration/Manager.cpp | b-z/ImageRegistration | c6d8f873c45aeb18f052f7945f00bd8a12f3b938 | [
"MIT"
] | null | null | null | ImageRegistration/Manager.cpp | b-z/ImageRegistration | c6d8f873c45aeb18f052f7945f00bd8a12f3b938 | [
"MIT"
] | 1 | 2021-09-26T10:05:40.000Z | 2021-09-26T10:05:40.000Z | #include "stdafx.h"
#include "Manager.h"
#include <string>
#include <opencv2\opencv.hpp>
#include "RegistrationThread.h"
#include "ResultWindow.h"
Manager::Manager(QObject *parent, ResultWindow* r_window)
: QObject(parent)
{
result_window = r_window;
}
Manager::~Manager()
{
//r_thread->exit(0);
//dele... | 28.744681 | 128 | 0.684678 | b-z |
d8b7ab0f0d2fc85cccd5b4d753b21f947470e5fe | 2,154 | cpp | C++ | main.cpp | hamada147/Turning-Machine | 572619594084e8321789e543188f5958854f23f7 | [
"MIT"
] | null | null | null | main.cpp | hamada147/Turning-Machine | 572619594084e8321789e543188f5958854f23f7 | [
"MIT"
] | null | null | null | main.cpp | hamada147/Turning-Machine | 572619594084e8321789e543188f5958854f23f7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <list>
#include "TurningMachine.h"
#include "TurningMachineTransition.h"
using namespace std;
void main()
{
string Q0 = "q0"; // start state
string q[] = { "q0", "q1", "q2", "q3" }; // the exisiting state
char s[] = { '0', '1' }; // the existing letters
TurningMachineTransit... | 36.508475 | 125 | 0.623955 | hamada147 |
d8b997e1ee4d6e1f2f4d31a8d3b97d270036a67e | 797 | cpp | C++ | Kattis/oddmanout.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | 3 | 2021-02-19T17:01:11.000Z | 2021-03-11T16:50:19.000Z | Kattis/oddmanout.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | Kattis/oddmanout.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | //
// https://open.kattis.com/problems/oddmanout
#include <iostream>
#include <cmath>
#include <algorithm>
#include <string>
#include <iomanip>
#include <sstream>
#include <vector>
#include <iomanip>
#include <map>
#define Forcase int T; cin>>T; for(int t = 1; t <= T; t++)
#define Forever while(true)
using namespace ... | 16.604167 | 58 | 0.449184 | YourName0729 |
d8bcc4329605103d6e07398a907ca7a2e51d5f4b | 1,496 | cpp | C++ | tests/all_tests.cpp | olegpublicprofile/stdfwd | 19671bcc8e53bd4c008f07656eaf25a22495e093 | [
"MIT"
] | 11 | 2021-03-15T07:06:21.000Z | 2021-09-27T13:54:25.000Z | tests/all_tests.cpp | olegpublicprofile/stdfwd | 19671bcc8e53bd4c008f07656eaf25a22495e093 | [
"MIT"
] | null | null | null | tests/all_tests.cpp | olegpublicprofile/stdfwd | 19671bcc8e53bd4c008f07656eaf25a22495e093 | [
"MIT"
] | 1 | 2021-06-24T10:46:46.000Z | 2021-06-24T10:46:46.000Z | #include "all_tests.hpp"
#include "tests/headers_tests/container_headers_tests.hpp"
#include "tests/headers_tests/utility_headers_tests.hpp"
#include "tests/headers_tests/string_headers_tests.hpp"
#include "tests/headers_tests/filesystem_headers_tests.hpp"
#include "tests/headers_tests/thread_headers_tests.hpp"
#inclu... | 34.790698 | 80 | 0.692513 | olegpublicprofile |
d8c2f01062c7971bc088182da8879618f6aa63a9 | 1,479 | cpp | C++ | source/report/junit.cpp | kremi151/acacia | 5cad20c1d6c6d8c5b5408da45c618855fd5197bd | [
"MIT"
] | null | null | null | source/report/junit.cpp | kremi151/acacia | 5cad20c1d6c6d8c5b5408da45c618855fd5197bd | [
"MIT"
] | 6 | 2020-08-03T23:59:40.000Z | 2021-07-16T20:54:29.000Z | source/report/junit.cpp | kremi151/acacia | 5cad20c1d6c6d8c5b5408da45c618855fd5197bd | [
"MIT"
] | null | null | null | //
// Created by Michel on 04.06.2020.
//
#include "junit.h"
#include <sstream>
#include <iomanip>
void acacia::generateJUnitReport(Report &report, std::ofstream &file) {
file << "<testsuite tests=\"" << report.getTestCount() << "\">" << std::endl;
std::stringstream totalStdout;
std::stringstream totalS... | 35.214286 | 166 | 0.524679 | kremi151 |
d8c339e5bf0af6eca0f1d9fcae37fb1a5d7e1629 | 10,329 | hpp | C++ | src/opengl/visualization/WindowGrayscaleBatch.hpp | Bhaskers-Blu-Org1/mi-visualization | 6494f712e75f0f1800ea724de67dcf4c8795c6a5 | [
"Apache-2.0"
] | null | null | null | src/opengl/visualization/WindowGrayscaleBatch.hpp | Bhaskers-Blu-Org1/mi-visualization | 6494f712e75f0f1800ea724de67dcf4c8795c6a5 | [
"Apache-2.0"
] | 1 | 2019-01-26T19:31:10.000Z | 2019-01-26T19:45:59.000Z | src/opengl/visualization/WindowGrayscaleBatch.hpp | IBM/mi-visualization | 6494f712e75f0f1800ea724de67dcf4c8795c6a5 | [
"Apache-2.0"
] | 3 | 2019-01-02T21:36:39.000Z | 2020-06-29T14:28:47.000Z | /*!
* Copyright (C) tkornuta, IBM Corporation 2015-2019
*
* 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 app... | 29.93913 | 134 | 0.667441 | Bhaskers-Blu-Org1 |
d8c740d37896fbecdfa2ab1292e0c02eeb78c423 | 2,596 | cpp | C++ | Lumi/src/Lumi/Renderer/Buffer.cpp | ChillyHub/Lumi | 54977f228207471ba917e7fd93d0b44f49bec04e | [
"MIT"
] | null | null | null | Lumi/src/Lumi/Renderer/Buffer.cpp | ChillyHub/Lumi | 54977f228207471ba917e7fd93d0b44f49bec04e | [
"MIT"
] | null | null | null | Lumi/src/Lumi/Renderer/Buffer.cpp | ChillyHub/Lumi | 54977f228207471ba917e7fd93d0b44f49bec04e | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Buffer.h"
#include "Renderer.h"
#include "Platform/OpenGL/OpenGLBuffer.h"
namespace Lumi
{
/////////////////////////////////////////////////////////////////////
// class VertexBuffer
// ------------------
std::shared_ptr<VertexBuffer> VertexBuffer::Create(unsigned int count)
{
LM_PR... | 28.527473 | 92 | 0.678737 | ChillyHub |
d8c7e6ff913403b3ba29bcfed097d07edc0b19a4 | 673 | hpp | C++ | ui/about/About.hpp | zSelimReborn/fairwindplusplus | aa0f754dc81414c21e5b3a8fc1f4a7b9b6bb6c20 | [
"Apache-2.0"
] | null | null | null | ui/about/About.hpp | zSelimReborn/fairwindplusplus | aa0f754dc81414c21e5b3a8fc1f4a7b9b6bb6c20 | [
"Apache-2.0"
] | null | null | null | ui/about/About.hpp | zSelimReborn/fairwindplusplus | aa0f754dc81414c21e5b3a8fc1f4a7b9b6bb6c20 | [
"Apache-2.0"
] | null | null | null | //
// Created by Raffaele Montella on 08/01/22.
//
#ifndef FAIRWIND_ABOUT_HPP
#define FAIRWIND_ABOUT_HPP
#include <QWidget>
namespace fairwind::ui::about {
QT_BEGIN_NAMESPACE
namespace Ui { class About; }
QT_END_NAMESPACE
class About : public QWidget {
Q_OBJECT
public:
explicit Abou... | 17.710526 | 83 | 0.640416 | zSelimReborn |
d8cd74fed69e6b3a7dc40297ab8056c00d592561 | 4,357 | cpp | C++ | Project/12-QPainter_Coord/mainwindow.cpp | liukai-tech/Qt-Learning | 5f7d29f5868b6fa8b9340095af6cd025f94f698f | [
"MIT"
] | null | null | null | Project/12-QPainter_Coord/mainwindow.cpp | liukai-tech/Qt-Learning | 5f7d29f5868b6fa8b9340095af6cd025f94f698f | [
"MIT"
] | null | null | null | Project/12-QPainter_Coord/mainwindow.cpp | liukai-tech/Qt-Learning | 5f7d29f5868b6fa8b9340095af6cd025f94f698f | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QPainter>
#include <QPaintEvent>
#include <QEvent>
//在label控件内动态绘制轨迹
//参考 https://blog.csdn.net/qq_41399894/article/details/88051337
int count = 0;
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->se... | 23.175532 | 82 | 0.611889 | liukai-tech |
d8d2c822be16eb71314a5cba0bf6a003b66a276a | 541 | cpp | C++ | ecs256/BoxPack/src/RcppExports.cpp | nick-ulle/teaching-notes | 3ffc527153570c1f4d31d4d19fe0d993442ea225 | [
"BSD-3-Clause-Clear"
] | 28 | 2017-03-31T03:15:13.000Z | 2020-09-21T19:58:35.000Z | ecs256/BoxPack/src/RcppExports.cpp | nick-ulle/teaching-notes | 3ffc527153570c1f4d31d4d19fe0d993442ea225 | [
"BSD-3-Clause-Clear"
] | null | null | null | ecs256/BoxPack/src/RcppExports.cpp | nick-ulle/teaching-notes | 3ffc527153570c1f4d31d4d19fe0d993442ea225 | [
"BSD-3-Clause-Clear"
] | 33 | 2018-01-12T04:17:08.000Z | 2021-11-24T04:31:05.000Z | // This file was generated by Rcpp::compileAttributes
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <Rcpp.h>
using namespace Rcpp;
// pack_boxes
List pack_boxes(int n, NumericVector p);
RcppExport SEXP BoxPack_pack_boxes(SEXP nSEXP, SEXP pSEXP) {
BEGIN_RCPP
Rcpp::RObject __result;
Rcpp::R... | 27.05 | 66 | 0.735675 | nick-ulle |
d8d994ab48010e4940d3829f9bc226ae044f3e9e | 3,339 | cpp | C++ | tests/FIRTestSuite.cpp | ianran/DSP-lite | 6c4cf040abf18a4c8e7bc0ba970df7ad77b1f0fe | [
"MIT"
] | null | null | null | tests/FIRTestSuite.cpp | ianran/DSP-lite | 6c4cf040abf18a4c8e7bc0ba970df7ad77b1f0fe | [
"MIT"
] | null | null | null | tests/FIRTestSuite.cpp | ianran/DSP-lite | 6c4cf040abf18a4c8e7bc0ba970df7ad77b1f0fe | [
"MIT"
] | null | null | null | /* Copyright 2018 Ian Rankin
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify, merge,
* publish, distri... | 35.147368 | 99 | 0.573824 | ianran |
d8d9d62c826a8a62a83bd2da087f9eb246fa9945 | 437 | cpp | C++ | libs/log/log.cpp | difosschan/bamboo | 43fc2bb62cdcc27406e541c891909b6492a8d365 | [
"MIT"
] | 3 | 2018-09-27T11:28:13.000Z | 2021-01-23T05:13:52.000Z | libs/log/log.cpp | difosschan/bamboo | 43fc2bb62cdcc27406e541c891909b6492a8d365 | [
"MIT"
] | null | null | null | libs/log/log.cpp | difosschan/bamboo | 43fc2bb62cdcc27406e541c891909b6492a8d365 | [
"MIT"
] | 4 | 2018-05-29T20:38:18.000Z | 2020-04-16T08:51:47.000Z | #include "bamboo/log/log.hpp"
namespace {
int log_level = LOG_DEBUG;
}
namespace bamboo {
namespace log {
int GetLevel() {
return log_level;
}
const char* Level2Name(int priority) {
switch (priority) {
case LOG_DEBUG: return "debug";
case LOG_INFO: return "info";
case LOG_WARNING: return "warn";
... | 15.068966 | 38 | 0.672769 | difosschan |
d8e01786da02ef78429a00a8ffcadb58df643ad1 | 2,775 | cpp | C++ | shared/Timer.cpp | dmeklund/WikiParser | 6dec24c2b5b634be8c3e97022f23504f28b2ad94 | [
"MIT"
] | 12 | 2018-10-14T22:48:58.000Z | 2021-07-26T19:46:46.000Z | shared/Timer.cpp | dmeklund/WikiParser | 6dec24c2b5b634be8c3e97022f23504f28b2ad94 | [
"MIT"
] | 1 | 2019-10-10T21:16:26.000Z | 2021-05-16T22:26:57.000Z | shared/Timer.cpp | dmeklund/WikiParser | 6dec24c2b5b634be8c3e97022f23504f28b2ad94 | [
"MIT"
] | 4 | 2018-10-14T22:51:59.000Z | 2020-06-17T01:25:35.000Z | /* Copyright (c) 2018 Peter Kondratyuk. All Rights Reserved.
*
* You may use, distribute and modify the code in this file under the terms of the MIT Open Source license, however
* if this file is included as part of a larger project, the project as a whole may be distributed under a different
* license.
*
* MIT l... | 29.210526 | 116 | 0.718198 | dmeklund |
d8e0dea5dd13274eb7a46f819792391f73b292ab | 3,387 | hpp | C++ | include/Type.hpp | LudwigBoltzmann/NeuralNetwork | 490b345b3b6dd7bb0b97302c55bb5b7cc13f9598 | [
"MIT"
] | 1 | 2017-02-25T23:11:09.000Z | 2017-02-25T23:11:09.000Z | include/Type.hpp | LudwigBoltzmann/NeuralNetwork | 490b345b3b6dd7bb0b97302c55bb5b7cc13f9598 | [
"MIT"
] | null | null | null | include/Type.hpp | LudwigBoltzmann/NeuralNetwork | 490b345b3b6dd7bb0b97302c55bb5b7cc13f9598 | [
"MIT"
] | null | null | null | #ifndef TYPE_H
#define TYPE_H
#include "vector"
#include <iostream>
#include "math.h"
#include "time.h"
#include "omp.h"
#include "cilk/reducer.h"
#include "cilk/cilk.h"
#include "cilk/reducer_opadd.h"
namespace DeepLearning
{
// columnwise template matrix class
template <typename type>
class tensor
{... | 27.762295 | 95 | 0.517272 | LudwigBoltzmann |
d8e1e430ac443761d808f53ae9dc141b10ac0150 | 385 | cpp | C++ | FileUtilities.cpp | refik-karic/ZSharp | 643d4d7603e91d5b9150bf8ddfed8b1eab930b92 | [
"MIT"
] | null | null | null | FileUtilities.cpp | refik-karic/ZSharp | 643d4d7603e91d5b9150bf8ddfed8b1eab930b92 | [
"MIT"
] | null | null | null | FileUtilities.cpp | refik-karic/ZSharp | 643d4d7603e91d5b9150bf8ddfed8b1eab930b92 | [
"MIT"
] | null | null | null | #include "FileUtilities.h"
#include <fstream>
namespace ZSharp {
void ReadFileToBuffer(const char* fileName, std::vector<char>& fileBuffer) {
std::ifstream inputStream(fileName, std::ios::binary);
if (!inputStream.is_open()) {
return;
}
fileBuffer = std::vector<char>(std::istreambuf_iterato... | 20.263158 | 114 | 0.685714 | refik-karic |
d8e926ac4563a9be38abdfd8db7e4d3db8060434 | 549 | cpp | C++ | A/A1375.cpp | Darknez07/Codeforces-sol | afd926c197f43784c12220430bb3c06011bb185e | [
"MIT"
] | null | null | null | A/A1375.cpp | Darknez07/Codeforces-sol | afd926c197f43784c12220430bb3c06011bb185e | [
"MIT"
] | null | null | null | A/A1375.cpp | Darknez07/Codeforces-sol | afd926c197f43784c12220430bb3c06011bb185e | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
// Not understood
using namespace std;
int main(){
int t,n;
cin>>t;
while(t--){
cin>>n;
vector<long> v(n);
for(int i=0;i<n;i++){
cin>>v[i];
}
for(int i=0;i<n;i++){
if(v[i] >= 0 && i % 2 == 1){
... | 20.333333 | 46 | 0.333333 | Darknez07 |