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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
312d41d25311b474d2ed730983e75152652e32a4 | 7,304 | cpp | C++ | SmartRally/SCBW/api.cpp | idmontie/gptp | 14d68e5eac84c2f3085ac25a7fff31a07ea387f6 | [
"0BSD"
] | 8 | 2015-04-03T16:50:59.000Z | 2021-01-06T17:12:29.000Z | SmartRally/SCBW/api.cpp | idmontie/gptp | 14d68e5eac84c2f3085ac25a7fff31a07ea387f6 | [
"0BSD"
] | 6 | 2015-04-03T18:10:56.000Z | 2016-02-18T05:04:21.000Z | SmartRally/SCBW/api.cpp | idmontie/gptp | 14d68e5eac84c2f3085ac25a7fff31a07ea387f6 | [
"0BSD"
] | 6 | 2015-04-04T04:37:33.000Z | 2018-04-09T09:03:50.000Z | #include "api.h"
#include "scbwdata.h"
#include <SCBW/UnitFinder.h>
#include <algorithm>
#include <cassert>
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
namespace scbw {
const u32 Func_PrintText = 0x0048CD30;
void printText(const char* text, u32 color) {
if (!text) return;
D... | 24.928328 | 96 | 0.638828 | idmontie |
312dac6c9463b0fbf8db138b6b3babc03dda13dd | 3,467 | cpp | C++ | Kyrie/Hotkeys.cpp | wangxh1007/ddmk | a6ff276d96b663e71b3ccadabc2d92c50c18ebac | [
"Zlib"
] | null | null | null | Kyrie/Hotkeys.cpp | wangxh1007/ddmk | a6ff276d96b663e71b3ccadabc2d92c50c18ebac | [
"Zlib"
] | null | null | null | Kyrie/Hotkeys.cpp | wangxh1007/ddmk | a6ff276d96b663e71b3ccadabc2d92c50c18ebac | [
"Zlib"
] | null | null | null | #include "Hotkeys.h"
void Hotkeys_TogglePause(BYTE * state)
{
static bool execute = true;
BYTE keys[] =
{
DIK_LCONTROL,
DIK_D,
};
uint8 keysDown = 0;
for (uint8 i = 0; i < countof(keys); i++)
{
if (state[keys[i]] & 0x80)
{
keysDown++;
}
}
if (keysDown == countof(keys))
{
if (execute)
{
pa... | 18.343915 | 68 | 0.535622 | wangxh1007 |
3138d4f99c8879d5211428906f83da19686e91d5 | 11,753 | cc | C++ | pdb/src/executionServer/sources/physicalAlgorithms/PDBShuffleForJoinAlgorithm.cc | SeraphL/plinycompute | 7788bc2b01d83f4ff579c13441d0ba90734b54a2 | [
"Apache-2.0"
] | 3 | 2019-05-04T05:17:30.000Z | 2020-02-21T05:01:59.000Z | pdb/src/executionServer/sources/physicalAlgorithms/PDBShuffleForJoinAlgorithm.cc | dcbdan/plinycompute | a6f1c8ac8f75c09615f08752c82179f33cfc6d89 | [
"Apache-2.0"
] | 3 | 2020-02-20T19:50:46.000Z | 2020-06-25T14:31:51.000Z | pdb/src/executionServer/sources/physicalAlgorithms/PDBShuffleForJoinAlgorithm.cc | dcbdan/plinycompute | a6f1c8ac8f75c09615f08752c82179f33cfc6d89 | [
"Apache-2.0"
] | 5 | 2019-02-19T23:17:24.000Z | 2020-08-03T01:08:04.000Z | //
// Created by dimitrije on 5/7/19.
//
#include <ComputePlan.h>
#include <PDBCatalogClient.h>
#include <physicalAlgorithms/PDBShuffleForJoinAlgorithm.h>
#include <ExJob.h>
#include <PDBStorageManagerBackend.h>
#include <PDBPageNetworkSender.h>
#include <ShuffleJoinProcessor.h>
#include <PDBPageSelfReceiver.h>
#inclu... | 33.389205 | 204 | 0.619246 | SeraphL |
31390bcffbdf28b9d44ba490470b8574a59720ab | 1,801 | hpp | C++ | Sources/inc/Chest.hpp | Tifox/Grog-Knight | 377a661286cda7ee3b2b2d0099641897938c2f8f | [
"Apache-2.0"
] | null | null | null | Sources/inc/Chest.hpp | Tifox/Grog-Knight | 377a661286cda7ee3b2b2d0099641897938c2f8f | [
"Apache-2.0"
] | null | null | null | Sources/inc/Chest.hpp | Tifox/Grog-Knight | 377a661286cda7ee3b2b2d0099641897938c2f8f | [
"Apache-2.0"
] | null | null | null | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 27.287879 | 63 | 0.696835 | Tifox |
3139228b1dcdfdcb70c36df002aceff8611d5b4b | 3,521 | hpp | C++ | hydra/vulkan/rect2D.hpp | tim42/hydra | dfffd50a2863695742c0c6122a505824db8be7c3 | [
"MIT"
] | 2 | 2016-09-15T22:29:46.000Z | 2017-11-30T11:16:12.000Z | hydra/vulkan/rect2D.hpp | tim42/hydra | dfffd50a2863695742c0c6122a505824db8be7c3 | [
"MIT"
] | null | null | null | hydra/vulkan/rect2D.hpp | tim42/hydra | dfffd50a2863695742c0c6122a505824db8be7c3 | [
"MIT"
] | null | null | null | //
// file : rect2D.hpp
// in : file:///home/tim/projects/hydra/hydra/vulkan/rect2D.hpp
//
// created by : Timothée Feuillet
// date: Sat Aug 13 2016 11:12:20 GMT+0200 (CEST)
//
//
// Copyright (c) 2016 Timothée Feuillet
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softw... | 40.011364 | 137 | 0.6572 | tim42 |
3140b75af71b7541ee489e9658b9bfe426340af6 | 6,905 | cpp | C++ | test/system2/station/wxglade_out.cpp | khantkyawkhaung/robot-monitor | 3614dc0cf804138c81f6800fb5ec443bff709dbd | [
"MIT"
] | 1 | 2021-04-06T04:11:58.000Z | 2021-04-06T04:11:58.000Z | test/system2/station/wxglade_out.cpp | khantkyawkhaung/robot-monitor | 3614dc0cf804138c81f6800fb5ec443bff709dbd | [
"MIT"
] | null | null | null | test/system2/station/wxglade_out.cpp | khantkyawkhaung/robot-monitor | 3614dc0cf804138c81f6800fb5ec443bff709dbd | [
"MIT"
] | 1 | 2019-12-26T09:01:16.000Z | 2019-12-26T09:01:16.000Z | // -*- C++ -*-
//
// generated by wxGlade 0.9.4 on Tue Jun 15 15:13:10 2021
//
// Example for compiling a single file project under Linux using g++:
// g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp
//
// Example for compiling a multi file project under Linux using g++:
// g++ main.cpp $(wx-config... | 41.347305 | 125 | 0.69819 | khantkyawkhaung |
3143216dc67187d043e04da952cf88e2c867b403 | 7,252 | cc | C++ | test/objectreference.cc | blagoev/node-addon-api | 89e62a9154b6057ed086a227db25caf26ac8c92a | [
"MIT"
] | 13 | 2019-06-18T14:30:56.000Z | 2021-04-25T06:06:52.000Z | test/objectreference.cc | shudingbo/node-addon-api | 4d816183daadd1fec9411f9a3c566b098059e02b | [
"MIT"
] | 12 | 2020-09-04T20:01:51.000Z | 2020-12-07T20:43:29.000Z | test/objectreference.cc | shudingbo/node-addon-api | 4d816183daadd1fec9411f9a3c566b098059e02b | [
"MIT"
] | 1 | 2020-05-26T15:14:43.000Z | 2020-05-26T15:14:43.000Z | /* ObjectReference can be used to create references to Values that
are not Objects by creating a blank Object and setting Values to
it. Subclasses of Objects can only be set using an ObjectReference
by first casting it as an Object. */
#include "napi.h"
using namespace Napi;
ObjectReference weak;
ObjectReference per... | 33.114155 | 77 | 0.648511 | blagoev |
3155bb2ed2b8ac5eb3a124bc203f890c61631e2f | 3,176 | cpp | C++ | src/prod/src/ServiceModel/management/FaultAnalysisService/Chaos/ChaosTargetFilter.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 1 | 2018-03-15T02:09:21.000Z | 2018-03-15T02:09:21.000Z | src/prod/src/ServiceModel/management/FaultAnalysisService/Chaos/ChaosTargetFilter.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | null | null | null | src/prod/src/ServiceModel/management/FaultAnalysisService/Chaos/ChaosTargetFilter.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | null | null | null | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 37.364706 | 148 | 0.756612 | AnthonyM |
3155e10af3c1704e0df9dfbdde68de005ebd019d | 3,457 | cpp | C++ | src/util/ObjLoader.cpp | Daniel-F-Parker/pt-three-ways | f3f576495468a2701f2a036943f425b52f5874eb | [
"MIT"
] | 166 | 2019-04-30T16:19:34.000Z | 2022-03-28T12:36:39.000Z | src/util/ObjLoader.cpp | Daniel-F-Parker/pt-three-ways | f3f576495468a2701f2a036943f425b52f5874eb | [
"MIT"
] | 3 | 2019-10-12T05:34:43.000Z | 2021-12-16T22:32:22.000Z | src/util/ObjLoader.cpp | Daniel-F-Parker/pt-three-ways | f3f576495468a2701f2a036943f425b52f5874eb | [
"MIT"
] | 20 | 2019-04-30T19:43:27.000Z | 2022-03-03T18:41:25.000Z | #include "ObjLoader.h"
#include <algorithm>
#include <fstream>
#include <string>
double impl::asDouble(std::string_view sv) {
return std::stod(std::string(sv)); // This is dreadful
}
int impl::asInt(std::string_view sv) {
return std::stoi(std::string(sv)); // This is dreadful
}
size_t impl::asIndex(std::string_... | 31.715596 | 80 | 0.601388 | Daniel-F-Parker |
3159dcc072cfe7603a0b898331bb25d20e8ec184 | 9,599 | cpp | C++ | test/saber/amd/test_saber_func_activation_AMD.cpp | vin-huang/Anakin | 8fc4b82ebaf974a6e052fe3690e41d678de4aa03 | [
"Apache-2.0"
] | null | null | null | test/saber/amd/test_saber_func_activation_AMD.cpp | vin-huang/Anakin | 8fc4b82ebaf974a6e052fe3690e41d678de4aa03 | [
"Apache-2.0"
] | null | null | null | test/saber/amd/test_saber_func_activation_AMD.cpp | vin-huang/Anakin | 8fc4b82ebaf974a6e052fe3690e41d678de4aa03 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2018 Anakin Authors, 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 by app... | 35.420664 | 186 | 0.546411 | vin-huang |
315ba1f51a51fb7205726bf7db0ff5f0286d4f87 | 4,260 | cpp | C++ | Manipulator.cpp | gligneul/Bump-Mapping-Demo | a41ba1ee277c5151d4e075bd81a08b0baafb9db2 | [
"MIT"
] | 1 | 2020-05-09T03:27:17.000Z | 2020-05-09T03:27:17.000Z | Manipulator.cpp | gligneul/Bump-Mapping-Demo | a41ba1ee277c5151d4e075bd81a08b0baafb9db2 | [
"MIT"
] | null | null | null | Manipulator.cpp | gligneul/Bump-Mapping-Demo | a41ba1ee277c5151d4e075bd81a08b0baafb9db2 | [
"MIT"
] | 1 | 2020-06-25T12:16:50.000Z | 2020-06-25T12:16:50.000Z | /*
* The MIT License (MIT)
*
* Copyright (c) 2016 Gabriel de Quadros Ligneul
*
* 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... | 30.647482 | 81 | 0.619718 | gligneul |
3168b7db7aa96c8d25222a94a9d48d76bf5cd535 | 2,372 | hpp | C++ | test/include/gtest_basisforminimumfrobeniusnormmodel.hpp | snowpac/snowpac | ff4c6a83e01fc4ef6a78cf9ff9bf9358f972b305 | [
"BSD-2-Clause"
] | 3 | 2019-08-04T20:18:00.000Z | 2021-06-22T23:50:27.000Z | test/include/gtest_basisforminimumfrobeniusnormmodel.hpp | snowpac/snowpac | ff4c6a83e01fc4ef6a78cf9ff9bf9358f972b305 | [
"BSD-2-Clause"
] | null | null | null | test/include/gtest_basisforminimumfrobeniusnormmodel.hpp | snowpac/snowpac | ff4c6a83e01fc4ef6a78cf9ff9bf9358f972b305 | [
"BSD-2-Clause"
] | null | null | null | #include "gtest/gtest.h"
#include "MonomialBasisForMinimumFrobeniusNormModel.hpp"
//--------------------------------------------------------------------------------
class Wrapper_MonomialBasisForMinimumFrobeniusNormModel {
public:
int basisformfnmodel_test1 ( ) {
int dim = 2;
MonomialBasisForMinim... | 34.376812 | 96 | 0.46543 | snowpac |
316d4ea4ab5a2e01527f46aefddfb99a9b64db8b | 877 | cpp | C++ | homework3.7/homework3.7.cpp | Valero4ca/individual-tasks | 04aa20f3363543d4602ada0625aa99198f04dfac | [
"MIT"
] | null | null | null | homework3.7/homework3.7.cpp | Valero4ca/individual-tasks | 04aa20f3363543d4602ada0625aa99198f04dfac | [
"MIT"
] | null | null | null | homework3.7/homework3.7.cpp | Valero4ca/individual-tasks | 04aa20f3363543d4602ada0625aa99198f04dfac | [
"MIT"
] | null | null | null | #include <iostream>
int main()
{
setlocale(LC_ALL, "RUS");
int** M, strnum;
int m_size,sum=0;
std::cout << "Введите размер матрицы:";
std::cin >> m_size;
srand(time(0));
M = new int* [m_size];
for (int i = 0; i < m_size; i++)
{
M[i] = new int[m_size];
for (int j = 0; j < m_size; j++) {
M[i][j]... | 15.945455 | 56 | 0.477765 | Valero4ca |
3177781186d170db4889c23cee98e2bf158e71d0 | 6,309 | cpp | C++ | src/apps/src/example_slam.cpp | smarc-project/bathymetric_slam | 87bc336eee9d978b75a588fccdbbc2d3c1c0edc7 | [
"BSD-3-Clause"
] | 2 | 2020-03-03T09:20:06.000Z | 2021-06-01T02:59:41.000Z | src/apps/src/example_slam.cpp | smarc-project/bathymetric_slam | 87bc336eee9d978b75a588fccdbbc2d3c1c0edc7 | [
"BSD-3-Clause"
] | null | null | null | src/apps/src/example_slam.cpp | smarc-project/bathymetric_slam | 87bc336eee9d978b75a588fccdbbc2d3c1c0edc7 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright 2019 Ignacio Torroba (torroba@kth.se)
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followin... | 42.918367 | 758 | 0.707719 | smarc-project |
317799301f217304b5b834efac4932ee6a50649d | 24,524 | cc | C++ | src/mlio/csv_reader.cc | babak2520/ml-io | 87bedf9537959260723ed0419a0803c76e015ef5 | [
"Apache-2.0"
] | 69 | 2019-10-14T18:55:50.000Z | 2022-02-28T05:50:39.000Z | src/mlio/csv_reader.cc | cbalioglu/ml-io | d79a895c3fe5e10f0f832cfdcee5a73058abb7c7 | [
"Apache-2.0"
] | 18 | 2019-11-16T12:45:40.000Z | 2022-01-29T03:47:52.000Z | src/mlio/csv_reader.cc | cbalioglu/ml-io | d79a895c3fe5e10f0f832cfdcee5a73058abb7c7 | [
"Apache-2.0"
] | 16 | 2019-10-24T22:35:51.000Z | 2021-09-03T18:23:04.000Z |
/*
* Copyright 2019-2020 Amazon.com, Inc. or its affiliates. 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. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the... | 32.310935 | 143 | 0.609852 | babak2520 |
317cc3e33bfe480ffda502a1aa3ef5a5871e5334 | 414 | hpp | C++ | include/IOHandling/CommandLineUI.hpp | wndouglas/SudokuSolverNew | a4e57e97979932ef1ad390cbd0497ee1b603e6eb | [
"MIT"
] | null | null | null | include/IOHandling/CommandLineUI.hpp | wndouglas/SudokuSolverNew | a4e57e97979932ef1ad390cbd0497ee1b603e6eb | [
"MIT"
] | null | null | null | include/IOHandling/CommandLineUI.hpp | wndouglas/SudokuSolverNew | a4e57e97979932ef1ad390cbd0497ee1b603e6eb | [
"MIT"
] | null | null | null | #ifndef COMMAND_LINE_UI_HPP
#define COMMAND_LINE_UI_HPP
#include "UserInterface.hpp"
#include <string>
namespace SSLib
{
class CommandLineUI : public UserInterface
{
public:
void Run();
CommandLineUI(std::string filePath, int numRows = 9, int numCols = 9);
private:
class Comma... | 18.818182 | 78 | 0.68599 | wndouglas |
31834871849006fc4dafb514529e24550e26dbf8 | 614 | hpp | C++ | ext/src/java/security/Key.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/security/Key.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/security/Key.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <java/security/fwd-POI.hpp>
#include <java/io/Serializable.hpp>
struct java::security::Key
: public virtual ::java::io::Serializable
{
... | 27.909091 | 97 | 0.701954 | pebble2015 |
31848105b9355983fc77e0ad53a2a1c44562324c | 2,412 | hpp | C++ | lab2/demo/computer.hpp | zaychenko-sergei/oop-ki13 | 97405077de1f66104ec95c1bb2785bc18445532d | [
"MIT"
] | 2 | 2015-10-08T15:07:07.000Z | 2017-09-17T10:08:36.000Z | lab2/demo/computer.hpp | zaychenko-sergei/oop-ki13 | 97405077de1f66104ec95c1bb2785bc18445532d | [
"MIT"
] | null | null | null | lab2/demo/computer.hpp | zaychenko-sergei/oop-ki13 | 97405077de1f66104ec95c1bb2785bc18445532d | [
"MIT"
] | null | null | null | #ifndef _COMPUTER_HPP_
#define _COMPUTER_HPP_
//************************************************************************
#include <string>
#include <vector>
//************************************************************************
class Employee;
//*****************************************************************... | 22.333333 | 74 | 0.366086 | zaychenko-sergei |
318770274b1a4fb28b8406e557a30ca0780742ed | 15,945 | cpp | C++ | src/joedb/io/Interpreter.cpp | Remi-Coulom/joedb | adb96600d9c2dd796684a5fee8f969c3e9fef456 | [
"MIT"
] | 89 | 2015-11-19T17:32:54.000Z | 2021-12-14T18:52:09.000Z | src/joedb/io/Interpreter.cpp | Remi-Coulom/joedb | adb96600d9c2dd796684a5fee8f969c3e9fef456 | [
"MIT"
] | 7 | 2017-01-18T16:00:38.000Z | 2021-12-25T20:55:04.000Z | src/joedb/io/Interpreter.cpp | Remi-Coulom/joedb | adb96600d9c2dd796684a5fee8f969c3e9fef456 | [
"MIT"
] | 9 | 2015-11-21T03:29:27.000Z | 2021-10-03T14:49:08.000Z | #include "joedb/Writable.h"
#include "joedb/is_identifier.h"
#include "joedb/io/Interpreter.h"
#include "joedb/interpreter/Database.h"
#include "joedb/io/dump.h"
#include "joedb/io/json.h"
#include "joedb/io/Interpreter_Dump_Writable.h"
#include "joedb/io/SQL_Dump_Writable.h"
#include "joedb/io/type_io.h"
#include "joe... | 28.022847 | 88 | 0.521229 | Remi-Coulom |
31878ed65ea5acdc653dc9a8e9b966babfa48bc8 | 989 | cpp | C++ | Source/UnrealDevMenu/Private/Adapter/DevMenuAdapterInt_DevMenuParam.cpp | laycnc/UnrealDevMenu | a41d31b6f28e2b4c81d830f743fb7a8948a00a83 | [
"MIT"
] | null | null | null | Source/UnrealDevMenu/Private/Adapter/DevMenuAdapterInt_DevMenuParam.cpp | laycnc/UnrealDevMenu | a41d31b6f28e2b4c81d830f743fb7a8948a00a83 | [
"MIT"
] | null | null | null | Source/UnrealDevMenu/Private/Adapter/DevMenuAdapterInt_DevMenuParam.cpp | laycnc/UnrealDevMenu | a41d31b6f28e2b4c81d830f743fb7a8948a00a83 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "Adapter/DevMenuAdapterInt_DevMenuParam.h"
#include "DevMenuSubsystem.h"
#include "DevParamSubsystem.h"
UDevMenuAdapterInt_DevMenuParam::UDevMenuAdapterInt_DevMenuParam(
const FObjectInitializer& ObjectInitializer)
: Super... | 27.472222 | 78 | 0.766431 | laycnc |
318eddaca0d233835aca06f80ce0c75a00611230 | 20,248 | cc | C++ | computer_vision/focus_lane_detection/InversePerspectiveMapping.cc | rajnikant1010/EVAutomation | a9e27e8916fd6dfc060dac1496a3b2f327ef6322 | [
"BSD-2-Clause"
] | 3 | 2019-06-13T02:41:49.000Z | 2021-02-13T15:42:36.000Z | computer_vision/focus_lane_detection/InversePerspectiveMapping.cc | rajnikant1010/EVAutomation | a9e27e8916fd6dfc060dac1496a3b2f327ef6322 | [
"BSD-2-Clause"
] | null | null | null | computer_vision/focus_lane_detection/InversePerspectiveMapping.cc | rajnikant1010/EVAutomation | a9e27e8916fd6dfc060dac1496a3b2f327ef6322 | [
"BSD-2-Clause"
] | 8 | 2017-02-24T02:17:28.000Z | 2021-04-22T08:25:00.000Z | /***
* \file InversePerspectiveMapping.cc
* \author Mohamed Aly <malaa@caltech.edu>
* \date 11/29/2006
*/
#include "InversePerspectiveMapping.hh"
#include "CameraInfoOpt.h"
#include <iostream>
#include <math.h>
#include <assert.h>
#include <list>
using namespace std;
#include <cv.h>
#include <highgui.h>
namesp... | 33.084967 | 120 | 0.667375 | rajnikant1010 |
318f1ac70f9e7a90c3d39152e6033b511bec486b | 3,013 | hpp | C++ | src/cpu/aarch64/jit_op_imm_check.hpp | Takumi-Honda/oneDNN | 7550f71b8fc6ea582b11d2c459e2df1aa605322b | [
"Apache-2.0"
] | 1 | 2020-12-24T02:32:43.000Z | 2020-12-24T02:32:43.000Z | src/cpu/aarch64/jit_op_imm_check.hpp | Takumi-Honda/oneDNN | 7550f71b8fc6ea582b11d2c459e2df1aa605322b | [
"Apache-2.0"
] | null | null | null | src/cpu/aarch64/jit_op_imm_check.hpp | Takumi-Honda/oneDNN | 7550f71b8fc6ea582b11d2c459e2df1aa605322b | [
"Apache-2.0"
] | 1 | 2020-08-19T06:15:19.000Z | 2020-08-19T06:15:19.000Z | #ifndef JIT_OP_IMM_CHECK_HPP
#define JIT_OP_IMM_CHECK_HPP
#define ADDMAX 4095
#define LDRMAX 255
#define LDRMIN (-256)
#define STRMAX 255
#define STRMIN (-256)
#define LD1RWMAX 252
#define LD1WMIN (-8)
#define LD1WMAX 7
#define PRFMMAX 32760
#define PRFMMIN 0
#define PRFWMAX 31
#define PRFWMIN (-32)
namespace dnnl {
... | 32.75 | 88 | 0.683372 | Takumi-Honda |
318ff375d0b7119fc9bc578c0109671aafb739d0 | 911 | hpp | C++ | include/util/font.hpp | Sokolmish/coursework_1 | 94422cc11ab46da4f09d7f0dae67c7a111935582 | [
"MIT"
] | 2 | 2021-03-30T20:20:01.000Z | 2022-01-08T21:46:39.000Z | include/util/font.hpp | Sokolmish/coursework_1 | 94422cc11ab46da4f09d7f0dae67c7a111935582 | [
"MIT"
] | null | null | null | include/util/font.hpp | Sokolmish/coursework_1 | 94422cc11ab46da4f09d7f0dae67c7a111935582 | [
"MIT"
] | null | null | null | #ifndef __FONT_H__
#define __FONT_H__
#include "glew.hpp"
#include <string>
#include <map>
#include <glm/vec3.hpp>
#include "shader.hpp"
class Font {
private:
struct Character {
int width, height;
int bearingX, bearingY;
GLuint advance;
int atlasX, atla... | 21.690476 | 122 | 0.628979 | Sokolmish |
3192eceaf08713fcc7b6289ccf24958444f58147 | 101 | cpp | C++ | NFComm/NFEventProcessPlugin/dllmain.cpp | lindianyin/NoahGameFrame | 2ba0949b142c5b0ffb411423c9a7b321a1f01ee7 | [
"Apache-2.0"
] | null | null | null | NFComm/NFEventProcessPlugin/dllmain.cpp | lindianyin/NoahGameFrame | 2ba0949b142c5b0ffb411423c9a7b321a1f01ee7 | [
"Apache-2.0"
] | null | null | null | NFComm/NFEventProcessPlugin/dllmain.cpp | lindianyin/NoahGameFrame | 2ba0949b142c5b0ffb411423c9a7b321a1f01ee7 | [
"Apache-2.0"
] | 1 | 2018-07-15T07:30:03.000Z | 2018-07-15T07:30:03.000Z | #include "NFComm/NFPluginModule/NFPlatform.h"
#if NF_PLATFORM == NF_PLATFORM_WIN
#endif
| 11.222222 | 46 | 0.70297 | lindianyin |
31971dd13ffab9e73faf7dc620d2cee92627fab8 | 2,683 | cpp | C++ | Game/interfaces/objectmanager.cpp | Moppa5/pirkanmaan-valloitus | 725dd1a9ef29dcd314faa179124541618dc8e5bf | [
"MIT"
] | 3 | 2020-10-30T13:26:34.000Z | 2020-12-08T13:21:34.000Z | Game/interfaces/objectmanager.cpp | Moppa5/pirkanmaan-valloitus | 725dd1a9ef29dcd314faa179124541618dc8e5bf | [
"MIT"
] | 15 | 2020-12-10T18:13:20.000Z | 2021-06-08T10:37:51.000Z | Game/interfaces/objectmanager.cpp | Moppa5/pirkanmaan-valloitus | 725dd1a9ef29dcd314faa179124541618dc8e5bf | [
"MIT"
] | null | null | null | #include "objectmanager.hh"
#include "iostream"
namespace Game {
ObjectManager::ObjectManager()
{
}
ObjectManager::~ObjectManager()
{
}
std::vector<std::shared_ptr<Course::TileBase> > ObjectManager::getTiles(
const std::vector<Course::Coordinate> &coordinates)
{
std::vector<std::shared_ptr<Course::TileB... | 23.955357 | 80 | 0.597838 | Moppa5 |
31981524703aae7356068ccd7dac566cca992780 | 3,270 | hpp | C++ | include/tudocomp/io/InputRestrictions.hpp | JZentgraf/tudocomp | 3a4522e3089716e4483b935e74aaae56cc547589 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2017-03-04T13:04:49.000Z | 2021-12-03T06:58:20.000Z | include/tudocomp/io/InputRestrictions.hpp | JZentgraf/tudocomp | 3a4522e3089716e4483b935e74aaae56cc547589 | [
"ECL-2.0",
"Apache-2.0"
] | 27 | 2016-01-22T18:31:37.000Z | 2021-11-27T10:50:40.000Z | include/tudocomp/io/InputRestrictions.hpp | JZentgraf/tudocomp | 3a4522e3089716e4483b935e74aaae56cc547589 | [
"ECL-2.0",
"Apache-2.0"
] | 16 | 2017-03-14T12:46:51.000Z | 2021-06-25T18:19:50.000Z | #pragma once
#include <tudocomp/util.hpp>
namespace tdc {namespace io {
/// Describes a set of restrictions placed on input data.
///
/// Restrictions include illigal bytes in the input (called escape bytes here),
/// and wether the input needs to be null terminated.
class InputRestrictions {
... | 33.030303 | 114 | 0.587462 | JZentgraf |
3198d5e8d73fa515aa353645b272ea1ba168f86d | 4,026 | hpp | C++ | example/p0059/ring_span.hpp | breese/trial.circular | 8b8269c1ba90f1cb3c7a8970a27ccb149069ed24 | [
"BSL-1.0"
] | 5 | 2020-06-06T20:33:43.000Z | 2020-11-03T01:21:20.000Z | example/p0059/ring_span.hpp | breese/trial.circular | 8b8269c1ba90f1cb3c7a8970a27ccb149069ed24 | [
"BSL-1.0"
] | null | null | null | example/p0059/ring_span.hpp | breese/trial.circular | 8b8269c1ba90f1cb3c7a8970a27ccb149069ed24 | [
"BSL-1.0"
] | null | null | null | #ifndef TRIAL_CIRCULAR_EXAMPLE_P0056_RING_SPAN_HPP
#define TRIAL_CIRCULAR_EXAMPLE_P0056_RING_SPAN_HPP
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2019 Bjorn Reese <breese@users.sourceforge.net>
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 27.387755 | 159 | 0.640586 | breese |
3199d2e8bfa8ea1a9ef38b0d80c947b8c92e8272 | 656 | hpp | C++ | pomdog/input/win32/keyboard_win32.hpp | mogemimi/pomdog | 6dc6244d018f70d42e61c6118535cf94a9ee0618 | [
"MIT"
] | 163 | 2015-03-16T08:42:32.000Z | 2022-01-11T21:40:22.000Z | pomdog/input/win32/keyboard_win32.hpp | mogemimi/pomdog | 6dc6244d018f70d42e61c6118535cf94a9ee0618 | [
"MIT"
] | 17 | 2015-04-12T20:57:50.000Z | 2020-10-10T10:51:45.000Z | pomdog/input/win32/keyboard_win32.hpp | mogemimi/pomdog | 6dc6244d018f70d42e61c6118535cf94a9ee0618 | [
"MIT"
] | 21 | 2015-04-12T20:45:11.000Z | 2022-01-14T20:50:16.000Z | // Copyright mogemimi. Distributed under the MIT license.
#pragma once
#include "pomdog/application/system_events.hpp"
#include "pomdog/input/keyboard.hpp"
#include "pomdog/input/keyboard_state.hpp"
#include "pomdog/platform/win32/prerequisites_win32.hpp"
namespace pomdog::detail::win32 {
class KeyboardWin32 final ... | 26.24 | 126 | 0.785061 | mogemimi |
31a01022b3a4ce12140b792b71e99a0ecef3d0f6 | 3,099 | cpp | C++ | ncnn/segment.cpp | russelldj/BiSeNet | d29fa741ad5275fab9e1bfc237b02811acf73b98 | [
"MIT"
] | 966 | 2018-12-13T12:11:18.000Z | 2022-03-31T14:13:55.000Z | ncnn/segment.cpp | russelldj/BiSeNet | d29fa741ad5275fab9e1bfc237b02811acf73b98 | [
"MIT"
] | 214 | 2019-01-25T10:06:24.000Z | 2022-03-22T01:55:28.000Z | ncnn/segment.cpp | russelldj/BiSeNet | d29fa741ad5275fab9e1bfc237b02811acf73b98 | [
"MIT"
] | 247 | 2019-03-04T11:39:06.000Z | 2022-03-30T05:45:56.000Z |
#include "net.h"
#include "mat.h"
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
#include <random>
#include <algorithm>
#include <stdio.h>
#include <vector>
using std::string;
using std::vector;
using cv::Mat;
vector<vector<uint8... | 26.262712 | 72 | 0.557922 | russelldj |
31a5987c73a51102dece38f015f90ac9238528f9 | 1,773 | cpp | C++ | bench/seidel_2d.cpp | dongchen-coder/locMarkov | 584f06a3ca257d156be44a9f604df2850a42b436 | [
"MIT"
] | null | null | null | bench/seidel_2d.cpp | dongchen-coder/locMarkov | 584f06a3ca257d156be44a9f604df2850a42b436 | [
"MIT"
] | null | null | null | bench/seidel_2d.cpp | dongchen-coder/locMarkov | 584f06a3ca257d156be44a9f604df2850a42b436 | [
"MIT"
] | null | null | null | #include "./utility/mc_kth.h"
int TSTEPS;
int N;
#define A_OFFSET 0
void seidel_2d_trace(double* A) {
int t, i, j;
vector<int> idx;
for (t = 0; t <= TSTEPS - 1; t++)
for (i = 1; i<= N - 2; i++)
for (j = 1; j <= N - 2; j++) {
idx.clear(); idx.push_back(t); idx.push_back(i); idx.push_back(... | 29.55 | 196 | 0.494078 | dongchen-coder |
31a798947c457f546920712973a23c2661e6c0de | 25,601 | cpp | C++ | src/drivers/ddragon.cpp | pierrelouys/PSP-MAME4ALL | 54374b0579b7e2377f015ac155d8f519addfaa1a | [
"Unlicense"
] | 1 | 2021-01-25T20:16:33.000Z | 2021-01-25T20:16:33.000Z | src/drivers/ddragon.cpp | pierrelouys/PSP-MAME4ALL | 54374b0579b7e2377f015ac155d8f519addfaa1a | [
"Unlicense"
] | 1 | 2021-05-24T20:28:35.000Z | 2021-05-25T14:44:54.000Z | src/drivers/ddragon.cpp | PSP-Archive/PSP-MAME4ALL | 54374b0579b7e2377f015ac155d8f519addfaa1a | [
"Unlicense"
] | null | null | null | /*
Double Dragon, Double Dragon (bootleg) & Double Dragon II
By Carlos A. Lozano & Rob Rosenbrock
Help to do the original drivers from Chris Moore
Sprite CPU support and additional code by Phil Stroffolino
Sprite CPU emulation, vblank support, and partial sound code by Ernesto Corvi.
Dipswitch to dd2 by Marco Cassili.... | 28.508909 | 106 | 0.66349 | pierrelouys |
b3b1c6cd8b0c19f45ef96384553f6f32f80319b4 | 33,662 | cxx | C++ | test/vr/vr_emulator.cxx | lintianfang/cleaning_cobotics | 26ccba618aec0b1176fcfc889e95ed5320ccbe75 | [
"BSD-3-Clause"
] | 1 | 2020-07-26T10:54:41.000Z | 2020-07-26T10:54:41.000Z | test/vr/vr_emulator.cxx | lintianfang/cleaning_cobotics | 26ccba618aec0b1176fcfc889e95ed5320ccbe75 | [
"BSD-3-Clause"
] | null | null | null | test/vr/vr_emulator.cxx | lintianfang/cleaning_cobotics | 26ccba618aec0b1176fcfc889e95ed5320ccbe75 | [
"BSD-3-Clause"
] | null | null | null | #include "vr_emulator.h"
#include <cgv/math/ftransform.h>
#include <cgv/math/pose.h>
#include <cgv/utils/scan.h>
#include <cgv/gui/key_event.h>
#include <cgv/gui/trigger.h>
#include <cgv_reflect_types/math/fvec.h>
#include <cgv_reflect_types/math/quaternion.h>
#include <cg_vr/vr_server.h>
#include <cgv/utils/convert_st... | 38.295791 | 238 | 0.690007 | lintianfang |
b3b72217ed5fa497f0f2907df96208ad90276ed9 | 1,142 | cpp | C++ | src/mainproc.cpp | degarashi/revenant | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | [
"MIT"
] | null | null | null | src/mainproc.cpp | degarashi/revenant | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | [
"MIT"
] | null | null | null | src/mainproc.cpp | degarashi/revenant | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | [
"MIT"
] | null | null | null | #include "mainproc.hpp"
#include "object/scene/mgr.hpp"
#include "output.hpp"
#include "sharedata.hpp"
#include "effect/if.hpp"
#include "imgui_sdl2.hpp"
#include "spine/src/profiler.hpp"
namespace rev {
// ---------------- MainProc ----------------
const bool detail::c_pauseDefault = false;
bool MainProc::runU(con... | 20.763636 | 46 | 0.623468 | degarashi |
b3c588d96f55fef4285cdaec68f40b3cc79245b0 | 445 | cpp | C++ | src/main/cpp/ExpandedTemplates.cpp | DaltonMcCart/csc232-lab04 | f1bcacb6b006f968c3a3c1f3dc59ec1c242e162d | [
"MIT"
] | null | null | null | src/main/cpp/ExpandedTemplates.cpp | DaltonMcCart/csc232-lab04 | f1bcacb6b006f968c3a3c1f3dc59ec1c242e162d | [
"MIT"
] | null | null | null | src/main/cpp/ExpandedTemplates.cpp | DaltonMcCart/csc232-lab04 | f1bcacb6b006f968c3a3c1f3dc59ec1c242e162d | [
"MIT"
] | null | null | null | /**
* CSC232 - Data Structures with C++
* Missouri State University, Fall 2017
*
* @file ExpandedTemplates.cpp
* @authors Jim Daehn <jdaehn@missouristate.edu>
*/
#include "ArrayBag.cpp"
#include "BumpStrategy.cpp"
#include "DoublingStrategy.cpp"
#include "ResizableArrayBag.cpp"
template class ResizableArrayB... | 26.176471 | 48 | 0.768539 | DaltonMcCart |
b3c6d50bf36856ccc0ce2c27888f8178a1235900 | 3,383 | cpp | C++ | src/tdme/network/udpclient/NIOUDPClientMessage.cpp | mahula/tdme2 | 0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64 | [
"BSD-3-Clause"
] | null | null | null | src/tdme/network/udpclient/NIOUDPClientMessage.cpp | mahula/tdme2 | 0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64 | [
"BSD-3-Clause"
] | null | null | null | src/tdme/network/udpclient/NIOUDPClientMessage.cpp | mahula/tdme2 | 0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64 | [
"BSD-3-Clause"
] | null | null | null | #include <tdme/network/udpclient/NIOUDPClientMessage.h>
#include <string.h>
#include <string>
#include <sstream>
#include <tdme/network/udpclient/NIOUDPClient.h>
#include <tdme/utils/Console.h>
#include <tdme/utils/Time.h>
#include <tdme/utils/IntEncDec.h>
using tdme::network::udpclient::NIOUDPClientMessage;
using... | 25.246269 | 168 | 0.74431 | mahula |
b3cfdefdb3ad4981889009e76ba8632698a7e9a0 | 1,506 | hpp | C++ | src/graphics/Texture.hpp | Nephet/CPP_project | 1ae2890611e190ea44f403afa7fe9658c5147f4e | [
"libtiff",
"Libpng",
"BSD-3-Clause"
] | null | null | null | src/graphics/Texture.hpp | Nephet/CPP_project | 1ae2890611e190ea44f403afa7fe9658c5147f4e | [
"libtiff",
"Libpng",
"BSD-3-Clause"
] | null | null | null | src/graphics/Texture.hpp | Nephet/CPP_project | 1ae2890611e190ea44f403afa7fe9658c5147f4e | [
"libtiff",
"Libpng",
"BSD-3-Clause"
] | null | null | null | /*
Arrogance Engine: a simple SDL/OpenGL game engine for Desktop and Android.
Copyright (C) 2012 William James Dyce
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or... | 28.415094 | 74 | 0.720452 | Nephet |
b3d155968502bfb85abdacca972fdd40e0033df1 | 261 | cpp | C++ | src/hal/DummyLogicOutput.cpp | MarcelGehrig2/eeros-vt1 | c1a8fa5329c98a89b97af2738bb6a674b6890704 | [
"Apache-2.0"
] | null | null | null | src/hal/DummyLogicOutput.cpp | MarcelGehrig2/eeros-vt1 | c1a8fa5329c98a89b97af2738bb6a674b6890704 | [
"Apache-2.0"
] | null | null | null | src/hal/DummyLogicOutput.cpp | MarcelGehrig2/eeros-vt1 | c1a8fa5329c98a89b97af2738bb6a674b6890704 | [
"Apache-2.0"
] | null | null | null | #include <eeros/hal/DummyLogicOutput.hpp>
using namespace eeros::hal;
DummyLogicOutput::DummyLogicOutput(std::string id) : PeripheralOutput<bool>(id) { }
bool DummyLogicOutput::get() {
return value;
}
void DummyLogicOutput::set(bool val) {
value = val;
}
| 18.642857 | 83 | 0.739464 | MarcelGehrig2 |
b3d3d81061efa2e2e73c2031648ebd4c46dbbfa1 | 4,524 | cpp | C++ | Service_Create_Description.cpp | srlemke/Oficina | 5460191cf8f46351ac7f33c35798cb2ebb45c2f9 | [
"MIT"
] | null | null | null | Service_Create_Description.cpp | srlemke/Oficina | 5460191cf8f46351ac7f33c35798cb2ebb45c2f9 | [
"MIT"
] | null | null | null | Service_Create_Description.cpp | srlemke/Oficina | 5460191cf8f46351ac7f33c35798cb2ebb45c2f9 | [
"MIT"
] | 1 | 2017-08-25T16:21:10.000Z | 2017-08-25T16:21:10.000Z | #include "Service_Create_Description.h"
#include "ui_Service_Create_Description.h"
#include "System_Services_and_Info.h"
#include "QMessageBox"
#include "QSqlQueryModel"
#include "QSqlQuery"
#include "QSqlError"
#include "QSettings"
Service_Create_Description::Service_Create_Description(QWidget *parent) :
QDialog... | 33.264706 | 176 | 0.68855 | srlemke |
b3d7795fde867a52ea2d1d16c1600f8ca4112b10 | 1,506 | cpp | C++ | aws-cpp-sdk-networkmanager/source/model/ListConnectPeersRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-networkmanager/source/model/ListConnectPeersRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-networkmanager/source/model/ListConnectPeersRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/networkmanager/model/ListConnectPeersRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/http/URI.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#in... | 22.477612 | 70 | 0.692563 | perfectrecall |
b3e4eabc9ed73b28a0fa0faca70c16898beba9a9 | 3,974 | cc | C++ | plugins/lpcm/Decoder.cc | bsdelf/mous | eb59b625d0ba8236f3597ae6015d9215cef922cf | [
"BSD-2-Clause"
] | 75 | 2015-04-26T11:22:07.000Z | 2022-02-12T17:18:37.000Z | plugins/lpcm/Decoder.cc | bsdelf/mous | eb59b625d0ba8236f3597ae6015d9215cef922cf | [
"BSD-2-Clause"
] | 7 | 2016-05-31T21:56:01.000Z | 2019-09-15T06:25:28.000Z | plugins/lpcm/Decoder.cc | bsdelf/mous | eb59b625d0ba8236f3597ae6015d9215cef922cf | [
"BSD-2-Clause"
] | 19 | 2015-09-23T01:50:15.000Z | 2022-02-12T17:18:41.000Z | #include <inttypes.h>
#include <fstream>
#include <cstring>
using namespace std;
#include <plugin/DecoderProto.h>
using namespace mous;
#include "Common.h"
#define SAMPLES_PER_BLOCK 200;
namespace {
struct Self {
ifstream input_stream;
WavHeader wav_header;
size_t raw_data_offset = 0;
... | 26.317881 | 101 | 0.672874 | bsdelf |
b3eeee7a52016d38c834cd157e131d417bb2bd27 | 503 | cpp | C++ | 11.14-conditionalExplicit2/main.cpp | andreasfertig/programming-with-cpp20 | 7c70351f3a46aea295e964096be77eb159be6e9f | [
"MIT"
] | 107 | 2021-04-13T12:43:06.000Z | 2022-03-30T05:07:16.000Z | 11.14-conditionalExplicit2/main.cpp | jessesimpson/programming-with-cpp20 | 7c70351f3a46aea295e964096be77eb159be6e9f | [
"MIT"
] | 1 | 2021-04-13T12:59:30.000Z | 2021-04-13T13:02:55.000Z | 11.14-conditionalExplicit2/main.cpp | jessesimpson/programming-with-cpp20 | 7c70351f3a46aea295e964096be77eb159be6e9f | [
"MIT"
] | 29 | 2021-04-13T18:07:03.000Z | 2022-03-28T13:44:01.000Z | // Copyright (c) Andreas Fertig.
// SPDX-License-Identifier: MIT
#include <type_traits>
struct B {};
struct A {
A() = default;
explicit A(const B&) {}
operator B() const { return {}; };
};
template<typename T>
struct Wrapper {
template<typename U>
explicit(not std::is_convertible_v<U, T>) Wrapper(const U&... | 16.225806 | 62 | 0.640159 | andreasfertig |
b3efe4877963bfd472b8285c831409d0ae8fbf9f | 71 | cpp | C++ | lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryPoll_Import.cpp | samlior/Qt5.15.0-rc2-static-macosx10.15 | b9a1698a9a44baefbf3aa258af2ef487f12beff0 | [
"blessing"
] | null | null | null | lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryPoll_Import.cpp | samlior/Qt5.15.0-rc2-static-macosx10.15 | b9a1698a9a44baefbf3aa258af2ef487f12beff0 | [
"blessing"
] | null | null | null | lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryPoll_Import.cpp | samlior/Qt5.15.0-rc2-static-macosx10.15 | b9a1698a9a44baefbf3aa258af2ef487f12beff0 | [
"blessing"
] | null | null | null | #include <QtPlugin>
Q_IMPORT_PLUGIN(QGeoPositionInfoSourceFactoryPoll)
| 23.666667 | 50 | 0.887324 | samlior |
b3f26fd221d93d345ba4f0d9062817accd73e191 | 27,164 | cpp | C++ | src/rpcpopnode.cpp | POPChainFoundation/PopChain-Original | a99f5fbdf6ca96a281491482530c20a4c5915492 | [
"MIT"
] | 20 | 2018-04-28T06:38:05.000Z | 2018-07-28T04:44:42.000Z | src/rpcpopnode.cpp | POPChainFoundation/PopChain-Original | a99f5fbdf6ca96a281491482530c20a4c5915492 | [
"MIT"
] | 2 | 2018-05-15T15:14:36.000Z | 2018-05-18T00:51:48.000Z | src/rpcpopnode.cpp | POPChainFoundation/PopChain-Original | a99f5fbdf6ca96a281491482530c20a4c5915492 | [
"MIT"
] | 7 | 2018-05-15T12:28:19.000Z | 2018-08-23T04:59:39.000Z | // // Copyright (c) 2017-2018 The Popchain Core Developers
#include "activepopnode.h"
#include "popsend.h"
#include "init.h"
#include "main.h"
#include "popnode-payments.h"
#include "popnode-sync.h"
#include "popnodeconfig.h"
#include "popnodeman.h"
#include "rpcserver.h"
#include "util.h"
#include "utilmoneystr.h"
#... | 39.540029 | 191 | 0.579664 | POPChainFoundation |
b3f4c206d7fa5261ceede5e32247d22886c44204 | 2,385 | cc | C++ | elements/grid/linktestreceiver.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 129 | 2015-10-08T14:38:35.000Z | 2022-03-06T14:54:44.000Z | elements/grid/linktestreceiver.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 241 | 2016-02-17T16:17:58.000Z | 2022-03-15T09:08:33.000Z | elements/grid/linktestreceiver.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 61 | 2015-12-17T01:46:58.000Z | 2022-02-07T22:25:19.000Z | /*
* linktestreceiver.{cc,hh} -- receive and print link test packets
* Douglas S. J. De Couto
*
* Copyright (c) 1999-2002 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
... | 26.797753 | 83 | 0.716981 | MacWR |
b3f826ae7c02e1f54afd80f7e631f3e8a504861f | 1,361 | cpp | C++ | exercicio15/exercicio15/exercicio15.cpp | LucasRafaelBalduino/exercicio | 411d4f0f87c70fcf6a216dcfc86089ee190b481e | [
"MIT"
] | 1 | 2019-11-27T17:37:42.000Z | 2019-11-27T17:37:42.000Z | exercicio15/exercicio15/exercicio15.cpp | LucasRafaelBalduino/exercicio | 411d4f0f87c70fcf6a216dcfc86089ee190b481e | [
"MIT"
] | null | null | null | exercicio15/exercicio15/exercicio15.cpp | LucasRafaelBalduino/exercicio | 411d4f0f87c70fcf6a216dcfc86089ee190b481e | [
"MIT"
] | null | null | null | // exercicio15.cpp : Este arquivo contém a função 'main'. A execução do programa começa e termina ali.
//
#include "pch.h"
#include <iostream>
// Dados um inteiro x e um inteiro não - negativo n, calcular x n
int LerNumero() {
printf_s("Digite um numero: \n");
int numero;
scanf_s("%d", &numero);
return numero;
}
... | 31.651163 | 178 | 0.713446 | LucasRafaelBalduino |
b6000e7132dceeb5c6a2e995611586bfdd517272 | 28,103 | cxx | C++ | gui/CameraView.cxx | quantumech3/TeleSculptor | 921bf6911052ec77ac1cb15885cc49a90e473a61 | [
"BSD-3-Clause"
] | 1 | 2021-05-25T23:13:21.000Z | 2021-05-25T23:13:21.000Z | gui/CameraView.cxx | quantumech3/TeleSculptor | 921bf6911052ec77ac1cb15885cc49a90e473a61 | [
"BSD-3-Clause"
] | null | null | null | gui/CameraView.cxx | quantumech3/TeleSculptor | 921bf6911052ec77ac1cb15885cc49a90e473a61 | [
"BSD-3-Clause"
] | null | null | null | /*ckwg +29
* Copyright 2017-2018 by Kitware, 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 li... | 29.488982 | 80 | 0.605985 | quantumech3 |
b6032e4f09510093be59c500f1a63805270743c0 | 11,087 | hpp | C++ | engine/primitives/vector_prims.hpp | Venkster123/Zhetapi | 9a034392c06733c57d892afde300e90c4b7036f9 | [
"MIT"
] | 27 | 2020-06-05T15:39:31.000Z | 2022-01-07T05:03:01.000Z | engine/primitives/vector_prims.hpp | Venkster123/Zhetapi | 9a034392c06733c57d892afde300e90c4b7036f9 | [
"MIT"
] | 1 | 2021-02-12T04:51:40.000Z | 2021-02-12T04:51:40.000Z | engine/primitives/vector_prims.hpp | Venkster123/Zhetapi | 9a034392c06733c57d892afde300e90c4b7036f9 | [
"MIT"
] | 4 | 2021-02-12T04:39:55.000Z | 2021-11-15T08:00:06.000Z | #ifndef VECTOR_PRIMITIVES_H_
#define VECTOR_PRIMITIVES_H_
namespace zhetapi {
/**
* @brief Default vector constructor.
*/
template <class T>
Vector <T> ::Vector() : Matrix <T> () {}
/**
* @brief Size constructor. Components are initialized to 0 or the default value
* of T.
*
* @param len size of the vector.
*... | 18.447587 | 82 | 0.603409 | Venkster123 |
b6034d816e5d5dc4609714006cc4d0016ebcfcee | 4,891 | cpp | C++ | src/SerialPort.cpp | Nodens-LOTGA/CircuitTester | 23438f49651f537c43cd78f64e61c2a5024ec8c8 | [
"MIT"
] | null | null | null | src/SerialPort.cpp | Nodens-LOTGA/CircuitTester | 23438f49651f537c43cd78f64e61c2a5024ec8c8 | [
"MIT"
] | null | null | null | src/SerialPort.cpp | Nodens-LOTGA/CircuitTester | 23438f49651f537c43cd78f64e61c2a5024ec8c8 | [
"MIT"
] | null | null | null | #include "SerialPort.h"
#include <QDebug>
SerialPort::~SerialPort() { close(); }
bool SerialPort::open(std::string portName, bool overlapped, BaudRate baud,
DataBits dataBits) {
if (opened)
return (true);
hComm = CreateFile(portName.c_str(), GENERIC_READ | GENERIC_WRITE, 0, 0,
... | 28.271676 | 78 | 0.645471 | Nodens-LOTGA |
b604aae12b49d34359b1ea993537d4fcfcb00837 | 14,347 | cpp | C++ | src/consensus/concord_commands_handler.cpp | jagveer-loky/concord | 50d5e0d1b51f075935d868fa069c6d5e40573728 | [
"Apache-2.0"
] | 74 | 2019-09-16T11:05:10.000Z | 2021-11-08T10:26:53.000Z | src/consensus/concord_commands_handler.cpp | jagveer-loky/concord | 50d5e0d1b51f075935d868fa069c6d5e40573728 | [
"Apache-2.0"
] | 27 | 2019-10-15T22:08:01.000Z | 2021-04-29T13:18:12.000Z | src/consensus/concord_commands_handler.cpp | jagveer-loky/concord | 50d5e0d1b51f075935d868fa069c6d5e40573728 | [
"Apache-2.0"
] | 19 | 2019-09-15T08:59:45.000Z | 2021-07-28T22:47:50.000Z | // Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//
// Shim between generic KVB and Concord-specific commands handlers.
#include "concord_commands_handler.hpp"
#include "hash_defs.h"
#include "time/time_contract.hpp"
#include <opentracing/tracer.h>
#include <promethe... | 39.306849 | 80 | 0.643828 | jagveer-loky |
b60c6f9fe24da8d32dbd8e243006841eb7425cf8 | 15,861 | cpp | C++ | examples/mnist/widget.cpp | eidelen/EidNN | 80999b1228eda4cab70b060bdaa6d257f8143bb1 | [
"MIT"
] | 3 | 2021-05-14T15:03:03.000Z | 2021-12-05T08:31:38.000Z | examples/mnist/widget.cpp | eidelen/EidNN | 80999b1228eda4cab70b060bdaa6d257f8143bb1 | [
"MIT"
] | null | null | null | examples/mnist/widget.cpp | eidelen/EidNN | 80999b1228eda4cab70b060bdaa6d257f8143bb1 | [
"MIT"
] | 3 | 2020-08-13T15:44:05.000Z | 2021-06-07T16:16:53.000Z | #include "widget.h"
#include "ui_widget.h"
#include "layer.h"
#include "helpers.h"
#include <limits>
#include "mnist/mnist_reader.hpp"
#include "mnist/mnist_utils.hpp"
#include <QPixmap>
#include <QImage>
#include <QMutexLocker>
#include <QStringListModel>
#include <QChart>
#include <QChartView>
#include <QFileDialog>... | 34.18319 | 145 | 0.638421 | eidelen |
b60d25eb5bb86b963f49ce82ecbb875f12ea1490 | 282 | cpp | C++ | sources/templates/main_variadic.cpp | zussel/cpp-overview | 8a2f1ae7504ad2bb2a1ce8b284bb8a2fee448dbf | [
"MIT"
] | null | null | null | sources/templates/main_variadic.cpp | zussel/cpp-overview | 8a2f1ae7504ad2bb2a1ce8b284bb8a2fee448dbf | [
"MIT"
] | null | null | null | sources/templates/main_variadic.cpp | zussel/cpp-overview | 8a2f1ae7504ad2bb2a1ce8b284bb8a2fee448dbf | [
"MIT"
] | null | null | null | #include <iostream>
template<typename T>
T adder(T v) {
return v;
}
template<typename T, typename... Args>
T adder(T first, Args... args) {
return first + adder(args...);
}
int main()
{
std::cout << "1 + 2 + 3 + 8 + 7 = " << adder(1, 2, 3, 8, 7) << "\n";
return 0;
}
| 15.666667 | 72 | 0.542553 | zussel |
b60e8294133f1846ffb00d0bc1e5015955d7e28f | 10,680 | cpp | C++ | Maple/src/Game.cpp | Bentzkast/Maple | 8137dd2c91a9ee7460ca524c87bbedadee271f9e | [
"Apache-2.0"
] | null | null | null | Maple/src/Game.cpp | Bentzkast/Maple | 8137dd2c91a9ee7460ca524c87bbedadee271f9e | [
"Apache-2.0"
] | null | null | null | Maple/src/Game.cpp | Bentzkast/Maple | 8137dd2c91a9ee7460ca524c87bbedadee271f9e | [
"Apache-2.0"
] | null | null | null | #include "Game.h"
#include "MainMenu.h"
#include "Game_Internal.h"
#include <stdio.h>
#include <memory.h>
// TODO WIN / LOSE(x) CONDITION....
// TODO SIMPLE BOSSS
// TODO MAIN MENU
// TODO SOUND
// TODO enemy projectile...
struct Player {
Vec2 pos, vel, acc, half_size;
float fire_rate;
float timer;
int hit_points... | 30.340909 | 189 | 0.712734 | Bentzkast |
b60f4ea2efe14b1a10c9d41c0286932807d983de | 1,782 | cpp | C++ | examples/plugin_test.cpp | Tomasu/LuaGlue | 9db477ef1447048822042164445c2f5d027b37d8 | [
"Zlib"
] | 36 | 2015-01-19T09:31:42.000Z | 2021-06-16T02:52:31.000Z | examples/plugin_test.cpp | Tomasu/LuaGlue | 9db477ef1447048822042164445c2f5d027b37d8 | [
"Zlib"
] | 3 | 2015-01-13T01:29:56.000Z | 2017-05-25T14:55:18.000Z | examples/plugin_test.cpp | Tomasu/LuaGlue | 9db477ef1447048822042164445c2f5d027b37d8 | [
"Zlib"
] | 5 | 2015-08-23T05:33:07.000Z | 2017-09-21T19:36:40.000Z | #include <LuaGlue/LuaGlue.h>
#ifndef _WIN32
#include <dlfcn.h>
#endif
#include <errno.h>
#include <string.h>
#include "LuaPluginBase.h"
#ifdef _WIN32
#include <windows.h>
#define RTLD_LAZY 0
static void *dlopen(const char *filename, int)
{
return (void *)LoadLibrary(filename);
}
static const char *dlerror(void)
{
... | 18.757895 | 168 | 0.682941 | Tomasu |
b60fc1b93deef1cc856287ed80cc8cacdb810d95 | 4,181 | hpp | C++ | utf_conv.hpp | iwongdotcn/string_utils | 66ac546cdc5cb69b3504ad45ce343fb43124c763 | [
"MIT"
] | 1 | 2020-09-11T08:21:26.000Z | 2020-09-11T08:21:26.000Z | utf_conv.hpp | iwongdotcn/string_utils | 66ac546cdc5cb69b3504ad45ce343fb43124c763 | [
"MIT"
] | null | null | null | utf_conv.hpp | iwongdotcn/string_utils | 66ac546cdc5cb69b3504ad45ce343fb43124c763 | [
"MIT"
] | null | null | null | #ifndef BASIC_STRING_UTILS_UTF_CONV_HPP_HEADER
#define BASIC_STRING_UTILS_UTF_CONV_HPP_HEADER
#ifdef _MSC_VER
#pragma once
#endif // _MSC_VER
#include "config.hpp"
#include <cstring>
#include <string>
#include <locale>
#include <codecvt>
#if defined(_WIN32) || defined(_WINDOWS)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN3... | 25.035928 | 91 | 0.66563 | iwongdotcn |
b6100e7641bf19bb2faab2f1c7e842c7984a6623 | 3,666 | cpp | C++ | tiny-test/BinaryBufferTests.cpp | aizuon/tiny-coin | cfe1ae680bc95db855e554a12ffc3adf948b6f8b | [
"MIT"
] | 1 | 2021-05-07T03:21:50.000Z | 2021-05-07T03:21:50.000Z | tiny-test/BinaryBufferTests.cpp | aizuon/tiny-coin | cfe1ae680bc95db855e554a12ffc3adf948b6f8b | [
"MIT"
] | null | null | null | tiny-test/BinaryBufferTests.cpp | aizuon/tiny-coin | cfe1ae680bc95db855e554a12ffc3adf948b6f8b | [
"MIT"
] | null | null | null | #include "pch.hpp"
#include <cstdint>
#include <string>
#include <vector>
#include "../tiny-lib/BinaryBuffer.hpp"
#include "gtest/gtest.h"
TEST(BinaryBufferTest, PrimitiveReadWrite)
{
BinaryBuffer buffer;
bool b_real = true;
buffer.Write(b_real);
bool b_read = false;
ASSERT_TRUE(buffer.Read(b_read));
EXPECT_E... | 22.9125 | 72 | 0.719585 | aizuon |
b6146fc4aa8e95e4568155b9fb4c3b880ceb22cb | 2,432 | inl | C++ | src/FiniteDeque/FiniteDeque/src/FiniteDeque.inl | xylsxyls/xueyelingshuan | 61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9 | [
"MIT"
] | 3 | 2019-11-26T05:33:47.000Z | 2020-05-18T06:49:41.000Z | src/FiniteDeque/FiniteDeque/src/FiniteDeque.inl | xylsxyls/xueyelingshuan | 61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9 | [
"MIT"
] | null | null | null | src/FiniteDeque/FiniteDeque/src/FiniteDeque.inl | xylsxyls/xueyelingshuan | 61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9 | [
"MIT"
] | null | null | null | #ifndef _FINITE_DEQUE_H__
#define _FINITE_DEQUE_H__
#include "FiniteDeque.h"
template <class Type>
FiniteDeque<Type>::FiniteDeque() :
m_finite(0)
{
}
template <class Type>
void FiniteDeque<Type>::setFinite(size_t num, FiniteType finiteType)
{
m_finite = num;
m_finiteType = finiteType;
}
template... | 16.544218 | 69 | 0.611431 | xylsxyls |
b61720910476b352dcf98ca52864274266f6f4dd | 602 | cpp | C++ | 2.Easy/evenOrOddNumberOfFactors.cpp | vachan-maker/Edabit-Solutions | b8598f15b981b58d42bf5220042b7e0e576bb668 | [
"MIT"
] | 36 | 2020-09-25T15:03:23.000Z | 2020-10-08T14:25:53.000Z | 2.Easy/evenOrOddNumberOfFactors.cpp | vachan-maker/Edabit-Solutions | b8598f15b981b58d42bf5220042b7e0e576bb668 | [
"MIT"
] | 212 | 2020-09-25T13:15:59.000Z | 2020-10-12T20:35:05.000Z | 2.Easy/evenOrOddNumberOfFactors.cpp | vachan-maker/Edabit-Solutions | b8598f15b981b58d42bf5220042b7e0e576bb668 | [
"MIT"
] | 240 | 2020-09-25T13:20:02.000Z | 2020-10-12T04:20:47.000Z | /* Problem-Task : This function will return "even" if a number has an even number of factors and "odd" if a number has an odd number of factors.
* Problem Link : https://edabit.com/challenge/zaHon4mMJJorEhBXx
*/
#include <iostream>
using namespace std;
char *factor_group(int n)
{
int i, c = 0;
for (i = 1; i <... | 24.08 | 144 | 0.578073 | vachan-maker |
b61a190ffee6254de7e211a1039c5640f5564eb8 | 3,408 | cpp | C++ | Modules/ZeroMQSink/src/ZeroMQSink.cpp | slashdotted/PomaPure | c469efba9813b4b897129cff9699983c3f90b24b | [
"BSD-3-Clause"
] | 2 | 2017-12-11T01:07:45.000Z | 2021-08-21T20:57:04.000Z | Modules/ZeroMQSink/src/ZeroMQSink.cpp | slashdotted/PomaPure | c469efba9813b4b897129cff9699983c3f90b24b | [
"BSD-3-Clause"
] | null | null | null | Modules/ZeroMQSink/src/ZeroMQSink.cpp | slashdotted/PomaPure | c469efba9813b4b897129cff9699983c3f90b24b | [
"BSD-3-Clause"
] | 1 | 2017-08-29T17:53:20.000Z | 2017-08-29T17:53:20.000Z | /*
* Copyright (C)2015,2016,2017 Amos Brocco (amos.brocco@supsi.ch)
* Scuola Universitaria Professionale della
* Svizzera Italiana (SUPSI)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm... | 37.866667 | 134 | 0.713908 | slashdotted |
b61ec93041dd9c79cd9dcd68f7e4f7b83d0c00fc | 2,835 | cpp | C++ | src/DataStructureOutput.cpp | evan1026/LLVM_middleend_template | 95b375d9772fdf99c6b25ea098d25bbbafb9cbc3 | [
"MIT"
] | null | null | null | src/DataStructureOutput.cpp | evan1026/LLVM_middleend_template | 95b375d9772fdf99c6b25ea098d25bbbafb9cbc3 | [
"MIT"
] | null | null | null | src/DataStructureOutput.cpp | evan1026/LLVM_middleend_template | 95b375d9772fdf99c6b25ea098d25bbbafb9cbc3 | [
"MIT"
] | null | null | null | #include "DataStructureOutput.hpp"
static int indent = 0;
llvm::raw_ostream& operator<<(llvm::raw_ostream& os, const std::vector<llvm::CallInst*>& callInsts) {
os << "[\n";
++indent;
for(llvm::CallInst* callInst : callInsts) {
for (int i = 0; i < indent; ++i) {
os << " ";
}
... | 29.226804 | 159 | 0.536155 | evan1026 |
b624e105a36a3a5472f30f8ae3cb23f6e6c71a25 | 2,056 | hpp | C++ | src/entity-system/factories/entities/entity-instance-builder-factory/EntityInstanceBuilderFactory.hpp | inexorgame/entity-system | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 19 | 2018-10-11T09:19:48.000Z | 2020-04-19T16:36:58.000Z | src/entity-system/factories/entities/entity-instance-builder-factory/EntityInstanceBuilderFactory.hpp | inexorgame-obsolete/entity-system-inactive | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 132 | 2018-07-28T12:30:54.000Z | 2020-04-25T23:05:33.000Z | src/entity-system/factories/entities/entity-instance-builder-factory/EntityInstanceBuilderFactory.hpp | inexorgame-obsolete/entity-system-inactive | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 3 | 2019-03-02T16:19:23.000Z | 2020-02-18T05:15:29.000Z | #pragma once
#include "entity-system/builders/entities/entity-instance-builder/EntityInstanceBuilder.hpp"
#include "entity-system/managers/entities/entity-instance-manager/EntityInstanceManager.hpp"
#include "entity-system/managers/entities/entity-type-manager/EntityTypeManager.hpp"
namespace inexor::entity_system {
... | 38.792453 | 125 | 0.773346 | inexorgame |
b625d8c177cfe5f2aecfeb988e5372c52709bf09 | 7,554 | hpp | C++ | src/SFML/Network/UdpSocket.hpp | frc3512/Robot-2016 | a3f8b6f6c9cb9f7ddddc7f05581178dc3494ae86 | [
"BSD-3-Clause"
] | null | null | null | src/SFML/Network/UdpSocket.hpp | frc3512/Robot-2016 | a3f8b6f6c9cb9f7ddddc7f05581178dc3494ae86 | [
"BSD-3-Clause"
] | null | null | null | src/SFML/Network/UdpSocket.hpp | frc3512/Robot-2016 | a3f8b6f6c9cb9f7ddddc7f05581178dc3494ae86 | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2012 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages ... | 37.211823 | 106 | 0.507678 | frc3512 |
b627d88716f820ac3de46b722fd83f2422b71366 | 1,902 | hpp | C++ | include/codegen/include/Zenject/MemoryPoolSettings.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/Zenject/MemoryPoolSettings.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/Zenject/MemoryPoolSettings.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:44 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 38.816327 | 119 | 0.712934 | Futuremappermydud |
b62a3f3b71ae94493aa8736fea27f9f64c4ad082 | 4,472 | cpp | C++ | src/plugins/opencv/sequence.cpp | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | 1 | 2020-10-06T08:40:10.000Z | 2020-10-06T08:40:10.000Z | src/plugins/opencv/sequence.cpp | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | null | null | null | src/plugins/opencv/sequence.cpp | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | null | null | null | #include "sequence.h"
#include "tools.h"
namespace possumwood {
namespace opencv {
Sequence::Sequence(std::size_t size) : m_sequence(size) {
}
Sequence Sequence::clone() const {
Sequence result;
for(auto& f : m_sequence)
result.add(f->clone());
return result;
}
Sequence::Item& Sequence::add(const cv::Mat& f... | 21.814634 | 107 | 0.641324 | LIUJUN-liujun |
b6303d475cc78d399e938beb0558a1fab6ca533b | 2,170 | cpp | C++ | dynamic/ejudge/visual_path.cpp | odanchen/cpp | 1354481220a52ee9140b15bbaac6c6e8569fd93f | [
"MIT"
] | 2 | 2021-09-28T14:03:23.000Z | 2022-01-28T14:39:18.000Z | dynamic/ejudge/visual_path.cpp | odanchen/cpp | 1354481220a52ee9140b15bbaac6c6e8569fd93f | [
"MIT"
] | null | null | null | dynamic/ejudge/visual_path.cpp | odanchen/cpp | 1354481220a52ee9140b15bbaac6c6e8569fd93f | [
"MIT"
] | null | null | null | #include<iostream>
using namespace::std;
void fill_border(int size, int matrix[][252])
{
int row = 0, col = 0;
for (row = 0, col = 0; col <= size + 1; col++)
matrix[row][col] = 2000;
for (row = 0, col = size + 1; row <= size + 1; row++)
matrix[row][col] = 2000;
for (row ... | 20.666667 | 102 | 0.45023 | odanchen |
ac09c0d4f8bedb90a410b981cb2dda44a3fc9f56 | 2,964 | cpp | C++ | main/mac/SslHelp.cpp | semmerson/hycast | 683f10a6a8b47501ecf4f2e619e7b64c039f4f1c | [
"Apache-2.0"
] | null | null | null | main/mac/SslHelp.cpp | semmerson/hycast | 683f10a6a8b47501ecf4f2e619e7b64c039f4f1c | [
"Apache-2.0"
] | 12 | 2017-03-29T21:39:38.000Z | 2017-12-07T18:09:09.000Z | main/mac/SslHelp.cpp | semmerson/hycast | 683f10a6a8b47501ecf4f2e619e7b64c039f4f1c | [
"Apache-2.0"
] | 2 | 2018-06-29T16:57:13.000Z | 2020-09-28T20:03:29.000Z | /**
* SSL helper functions.
*
* File: SslHelp.cpp
* Created on: Mar 29, 2021
* Author: Steven R. Emmerson <emmerson@ucar.edu>
*
* Copyright 2021 University Corporation for Atmospheric Research
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file excep... | 27.192661 | 79 | 0.604926 | semmerson |
ac0c25ddeb48078ccc2743e4b6bf88518a064b3e | 615 | cpp | C++ | chp1/prg_exercise1.cpp | ja8eer/C-PRIME-PLUS-6th-edi- | 8682e1c5b4183a706589265a52ad89673103d8c9 | [
"Apache-2.0"
] | null | null | null | chp1/prg_exercise1.cpp | ja8eer/C-PRIME-PLUS-6th-edi- | 8682e1c5b4183a706589265a52ad89673103d8c9 | [
"Apache-2.0"
] | null | null | null | chp1/prg_exercise1.cpp | ja8eer/C-PRIME-PLUS-6th-edi- | 8682e1c5b4183a706589265a52ad89673103d8c9 | [
"Apache-2.0"
] | null | null | null | ///////////////////////////////////////////////
//Write a C++ program that displays your name//
//and address (or if you value your privacy, //
//a fictitious name and address). //
///////////////////////////created by jabeer///
privacy, a fictitious name and address).
#include<iostream>
using namespace std;
i... | 24.6 | 47 | 0.569106 | ja8eer |
ac0c66b546d311777d74a8920814dd819e9589fa | 464 | cpp | C++ | LeetCode/FindSmallestLetterGreaterThanTarget.cpp | CRAZYGEEKS04/competitive-programming-1 | f27b8a718761b7bfeb8ff9e294398ca1a294cb5d | [
"MIT"
] | 1 | 2020-10-12T07:09:03.000Z | 2020-10-12T07:09:03.000Z | LeetCode/FindSmallestLetterGreaterThanTarget.cpp | gauravsingh58/competitive-programming | fa5548f435cdf2aa059e1d6ab733885790c6a592 | [
"MIT"
] | 1 | 2020-10-10T16:14:54.000Z | 2020-10-10T16:14:54.000Z | LeetCode/FindSmallestLetterGreaterThanTarget.cpp | gauravsingh58/competitive-programming | fa5548f435cdf2aa059e1d6ab733885790c6a592 | [
"MIT"
] | null | null | null | class Solution {
public:
char nextGreatestLetter(vector<char>& letters, char target) {
int lo = 0, hi = letters.size() - 1;
if(letters[hi] <= target)
return letters[0];
while(hi - lo > 1) {
int mid = lo + (hi - lo) / 2;
if(letters[mid] > target)
... | 29 | 66 | 0.459052 | CRAZYGEEKS04 |
ac0e7f894d80e4555b9c780c844cc817b0d3eb69 | 843 | cpp | C++ | fdistance.cpp | MrBlu1204/CPP-Programs | 3fce7d86d988cef4f000a0045bd0a299018ad4f2 | [
"Apache-2.0"
] | 1 | 2020-10-31T11:16:39.000Z | 2020-10-31T11:16:39.000Z | fdistance.cpp | MrBlu1204/CPP-Programs | 3fce7d86d988cef4f000a0045bd0a299018ad4f2 | [
"Apache-2.0"
] | null | null | null | fdistance.cpp | MrBlu1204/CPP-Programs | 3fce7d86d988cef4f000a0045bd0a299018ad4f2 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
class dist
{
int km;
int m;
int cm;
public:
void setvalue()
{
cout<<"Enter km: ";
cin>>km;
cout<<"Enter m: ";
cin>>m;
cout<<"Enter cm: ";
cin>>cm;
}
friend dist operator+(dist &, dist &);
void display()
{
cout<<km<<"kilometers, "<<m<<"meters &... | 15.611111 | 65 | 0.561091 | MrBlu1204 |
ac0f429c4a1e6ed5d47e12898a784aba48899e3f | 3,457 | cpp | C++ | libs/libSocketHandler/src/SocketHandler.cpp | maxDcb/ExplorationC2 | f7366118eaa43ca5172b5e9d4a03156d724748b1 | [
"MIT"
] | null | null | null | libs/libSocketHandler/src/SocketHandler.cpp | maxDcb/ExplorationC2 | f7366118eaa43ca5172b5e9d4a03156d724748b1 | [
"MIT"
] | null | null | null | libs/libSocketHandler/src/SocketHandler.cpp | maxDcb/ExplorationC2 | f7366118eaa43ca5172b5e9d4a03156d724748b1 | [
"MIT"
] | null | null | null | #include "SocketHandler.hpp"
#include <iostream>
using boost::asio::ip::tcp;
void sendSocketTcp(boost::asio::ip::tcp::socket* socket_, char* data, int nbBytes, boost::system::error_code* err)
{
boost::asio::const_buffers_1 buff(data, nbBytes);
boost::asio::write(*socket_, buff, *err);
}
void readSocketTcp(boos... | 18.89071 | 114 | 0.667342 | maxDcb |
ac1397a0911572fcaa3f4b7500815e82355ee492 | 2,072 | cpp | C++ | modules/type/complex/linalg/unit/scalar/det.cpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | 34 | 2017-05-19T18:10:17.000Z | 2022-01-04T02:18:13.000Z | modules/type/complex/linalg/unit/scalar/det.cpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/type/complex/linalg/unit/scalar/det.cpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | 7 | 2017-12-02T12:59:17.000Z | 2021-07-31T12:46:14.000Z | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 40.627451 | 80 | 0.594595 | psiha |
ac146da0e4596b5cb2e4e1707fe9d5c588d7e5f4 | 1,235 | cpp | C++ | Sources/Post/Filters/FilterLensflare.cpp | dreadris/Acid | 1af276edce8e6481c44d475633bf69266e16ed87 | [
"MIT"
] | null | null | null | Sources/Post/Filters/FilterLensflare.cpp | dreadris/Acid | 1af276edce8e6481c44d475633bf69266e16ed87 | [
"MIT"
] | null | null | null | Sources/Post/Filters/FilterLensflare.cpp | dreadris/Acid | 1af276edce8e6481c44d475633bf69266e16ed87 | [
"MIT"
] | null | null | null | #include "FilterLensflare.hpp"
#include "Scenes/Scenes.hpp"
namespace acid {
FilterLensflare::FilterLensflare(const Pipeline::Stage &pipelineStage) :
PostFilter(pipelineStage, {"Shaders/Post/Default.vert", "Shaders/Post/Lensflare.frag"}) {
}
void FilterLensflare::Render(const CommandBuffer &commandBuffer) {
// Upd... | 32.5 | 103 | 0.77004 | dreadris |
ac16cdb7393b7c760b45a1a33629464792337225 | 1,053 | cpp | C++ | cpp/211.cpp | kylekanos/project-euler-1 | af7089356a4cea90f8ef331cfdc65e696def6140 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | cpp/211.cpp | kylekanos/project-euler-1 | af7089356a4cea90f8ef331cfdc65e696def6140 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | cpp/211.cpp | kylekanos/project-euler-1 | af7089356a4cea90f8ef331cfdc65e696def6140 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-09-17T00:55:58.000Z | 2019-09-17T00:55:58.000Z | #include <algorithm>
#include <iostream>
#include <sstream>
#include <cstring>
#include <cstdlib>
#include <climits>
#include <cmath>
#include <bitset>
#include <vector>
#include <queue>
#include <stack>
#include <set>
#include <map>
#define REP(i,a) for(int i=0;i<(a);i++)
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#... | 21.06 | 50 | 0.580247 | kylekanos |
ac1989b73c95b81b0bd91d6e6e093431ef887e33 | 3,045 | cp | C++ | Win32/Sources/Support/Text/CSetNumberEdit.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | Win32/Sources/Support/Text/CSetNumberEdit.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | Win32/Sources/Support/Text/CSetNumberEdit.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. 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
... | 24.36 | 125 | 0.656814 | mulberry-mail |
ac20fe6380d7bb68f1a290a43cc3092e8589b68d | 285 | cpp | C++ | Baekjoon/14467.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/14467.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/14467.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
int main(void)
{
vector<int> arr(11, -1);
int n, num, p, cnt = 0;
cin >> n;
while (n--)
{
cin >> num >> p;
if (arr[num] == -1)
arr[num] = p;
else
if (arr[num] != p)
arr[num] = p, cnt++;
}
cout << cnt;
}
| 14.25 | 25 | 0.512281 | Twinparadox |
ac260938e056f0c9ce33acde01b024231d5195c1 | 3,643 | cc | C++ | src/mlio/streams/file_input_stream.cc | babak2520/ml-io | 87bedf9537959260723ed0419a0803c76e015ef5 | [
"Apache-2.0"
] | 69 | 2019-10-14T18:55:50.000Z | 2022-02-28T05:50:39.000Z | src/mlio/streams/file_input_stream.cc | cbalioglu/ml-io | d79a895c3fe5e10f0f832cfdcee5a73058abb7c7 | [
"Apache-2.0"
] | 18 | 2019-11-16T12:45:40.000Z | 2022-01-29T03:47:52.000Z | src/mlio/streams/file_input_stream.cc | cbalioglu/ml-io | d79a895c3fe5e10f0f832cfdcee5a73058abb7c7 | [
"Apache-2.0"
] | 16 | 2019-10-24T22:35:51.000Z | 2021-09-03T18:23:04.000Z | /*
* Copyright 2019-2020 Amazon.com, Inc. or its affiliates. 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. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the ... | 25.475524 | 90 | 0.624485 | babak2520 |
ac2691ec4348b79ddd634ec380ba89adc1d216a8 | 2,256 | cpp | C++ | algorithmforcpp/backtracking/rat_maze.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | algorithmforcpp/backtracking/rat_maze.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | algorithmforcpp/backtracking/rat_maze.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
> File Name: rat_maze.cpp
> Author: yoghourt->ilvcr
> Mail: liyaoliu@foxmail.com @@ ilvcr@outlook.com
> Created Time: 2018年07月18日 星期三 14时24分11秒
> Description:
A Maze is given as N*N binary matrix of blocks where source block is the uppe... | 26.541176 | 86 | 0.525709 | ilvcr |
ac29df4cd00fcd043e9a7b30349bfc560a33b0df | 2,787 | cpp | C++ | app/src/main/cpp/mixing/MixingIO.cpp | atikur-rabbi/fast-mixer | 7b471e102aacb9cdf75af5c7775d18d10e584ff1 | [
"CC0-1.0"
] | 47 | 2020-07-16T21:21:37.000Z | 2022-03-02T00:18:00.000Z | app/src/main/cpp/mixing/MixingIO.cpp | iftenet/fast-mixer | 9e834d6ebed0b1dd63fe8688f8bf614e19a8467f | [
"CC0-1.0"
] | 1 | 2020-09-29T06:48:22.000Z | 2020-10-10T17:40:50.000Z | app/src/main/cpp/mixing/MixingIO.cpp | iftenet/fast-mixer | 9e834d6ebed0b1dd63fe8688f8bf614e19a8467f | [
"CC0-1.0"
] | 10 | 2020-07-19T10:07:21.000Z | 2022-02-11T07:03:20.000Z | //
// Created by asalehin on 9/9/20.
//
#include "MixingIO.h"
#include "../utils/Utils.h"
MixingIO::MixingIO() {
Player* player = new Player();
mPlayer.reset(move(player));
}
shared_ptr<FileDataSource> MixingIO::readFile(string filename, int fd) {
AudioProperties targetProperties{
.channelCou... | 25.805556 | 94 | 0.714747 | atikur-rabbi |
ac2aeb03bd5834c7947e636aee57ef97b5e4d8ba | 5,340 | cpp | C++ | src/plugins/firebase/util.cpp | bmcbarron/flutter-pi | 8a6796c813aea282c6d40bebb9d1f7641bf1dc45 | [
"MIT"
] | null | null | null | src/plugins/firebase/util.cpp | bmcbarron/flutter-pi | 8a6796c813aea282c6d40bebb9d1f7641bf1dc45 | [
"MIT"
] | null | null | null | src/plugins/firebase/util.cpp | bmcbarron/flutter-pi | 8a6796c813aea282c6d40bebb9d1f7641bf1dc45 | [
"MIT"
] | null | null | null | #include "util.h"
#include <inttypes.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <cassert>
long gettid() { return syscall(SYS_gettid); }
#define INDENT_STRING " "
int __stdPrint(std_value *value, int indent) {
switch (value->type) {
case kStdPreEncoded:
fprintf(stderr, "enco... | 27.106599 | 83 | 0.588202 | bmcbarron |
ac3a57e78215357414f45e0fff0f3ca171d38dbc | 1,460 | hpp | C++ | src/single_thread_rlnc_benchmark/benchmark/write_result.hpp | AgileCloudLab/single-threaded-rlnc-benchmark | 914c18cf408d62f7294f796f386e98740d6fc83d | [
"MIT"
] | null | null | null | src/single_thread_rlnc_benchmark/benchmark/write_result.hpp | AgileCloudLab/single-threaded-rlnc-benchmark | 914c18cf408d62f7294f796f386e98740d6fc83d | [
"MIT"
] | null | null | null | src/single_thread_rlnc_benchmark/benchmark/write_result.hpp | AgileCloudLab/single-threaded-rlnc-benchmark | 914c18cf408d62f7294f796f386e98740d6fc83d | [
"MIT"
] | null | null | null | #pragma once
#include "result.hpp"
#include "../readers/config.hpp"
#include <string>
#include <sstream>
#include <ctime>
#include <iostream>
#include <fstream>
namespace standard_encoder
{
namespace benchmark
{
std::string generate_path(std::string result_path, std::string experiment_name, readers::config& co... | 23.934426 | 108 | 0.557534 | AgileCloudLab |
ac3b15e8ee1531880f947fabf73ac11f76d28d6f | 1,204 | cpp | C++ | contests/leetcode-133/b.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 23 | 2020-03-30T05:44:56.000Z | 2021-09-04T16:00:57.000Z | contests/leetcode-133/b.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 1 | 2020-05-10T15:04:05.000Z | 2020-06-14T01:21:44.000Z | contests/leetcode-133/b.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 6 | 2020-03-30T05:45:04.000Z | 2020-08-13T10:01:39.000Z | #include <bits/stdc++.h>
#define INF 2000000000
using namespace std;
typedef long long ll;
int read(){
int f = 1, x = 0;
char c = getchar();
while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();}
while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar();
return f * x;
}
class Solution {
public:
v... | 25.617021 | 76 | 0.480897 | Nightwish-cn |
ac3cbec66042da19af26e2c3beb4897c0af24b74 | 34,855 | cpp | C++ | Core/burn/drv/galaxian/gal_gfx.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 17 | 2018-05-24T05:20:45.000Z | 2021-12-24T07:27:22.000Z | Core/burn/drv/galaxian/gal_gfx.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 6 | 2019-01-21T10:55:02.000Z | 2021-02-19T18:47:56.000Z | Core/burn/drv/galaxian/gal_gfx.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 5 | 2019-01-21T00:45:00.000Z | 2021-07-20T08:34:22.000Z | #include "gal.h"
GalRenderBackground GalRenderBackgroundFunction;
GalCalcPalette GalCalcPaletteFunction;
GalDrawBullet GalDrawBulletsFunction;
GalExtendTileInfo GalExtendTileInfoFunction;
GalExtendSpriteInfo GalExtendSpriteInfoFunction;
GalRenderFrame GalRenderFrameFunction;
UINT8 GalFlipScreenX;
UINT8 GalFlipScreenY... | 26.770353 | 352 | 0.634887 | atship |
ac3daf335b0abcbfae8f308c03102d18ca19722a | 8,174 | cpp | C++ | src/componentLib/websocketServer/WebsocketServer.cpp | tangtgithub/common_robotframe | f098d688bde1d2b2d5d6fac430c98b952621b7c1 | [
"MIT"
] | 5 | 2021-07-21T11:38:09.000Z | 2021-11-26T03:16:09.000Z | src/componentLib/websocketServer/WebsocketServer.cpp | tangtgithub/common_robotframe | f098d688bde1d2b2d5d6fac430c98b952621b7c1 | [
"MIT"
] | null | null | null | src/componentLib/websocketServer/WebsocketServer.cpp | tangtgithub/common_robotframe | f098d688bde1d2b2d5d6fac430c98b952621b7c1 | [
"MIT"
] | null | null | null | #include "WebsocketServer.h"
#include <sys/prctl.h>
#include <chrono>
#include "websocketServerCommon.h"
#include "UdpServerWs.h"
#include "UdpClientWs.h"
WebsocketServer::WebsocketServer()
: m_sessionid(0)
{
m_server.set_access_channels(websocketpp::log::alevel::none);
m_server.init_asio();
m_server.... | 25.867089 | 114 | 0.596036 | tangtgithub |
ac3f4f2db1413e6bb9307ec9355a83fe890d468a | 4,665 | cpp | C++ | src/sources/colorschemes.cpp | Amuwa/TeXpen | d0d7ae74463f88980beb8ceb2958182ac2df021e | [
"MIT"
] | 5 | 2019-03-04T08:47:52.000Z | 2022-01-28T12:53:55.000Z | src/sources/colorschemes.cpp | Amuwa/TeXpen | d0d7ae74463f88980beb8ceb2958182ac2df021e | [
"MIT"
] | 3 | 2019-02-22T05:41:49.000Z | 2020-03-16T13:37:23.000Z | src/sources/colorschemes.cpp | Amuwa/TeXpen | d0d7ae74463f88980beb8ceb2958182ac2df021e | [
"MIT"
] | 7 | 2019-02-22T06:04:13.000Z | 2022-01-28T12:54:15.000Z | // Copyright (C) 2013 Alex-97
// This file is part of textpad-editor.
//
// textpad-editor is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later ve... | 33.321429 | 85 | 0.576849 | Amuwa |
ac3f94d6da833e652b1681c6e1dbc0f5049e3f5b | 2,141 | cpp | C++ | src/amos/overlap.cpp | mariokostelac/asqg2afg | c40862046f04241c9091b5c55e53486953d4d67a | [
"MIT"
] | null | null | null | src/amos/overlap.cpp | mariokostelac/asqg2afg | c40862046f04241c9091b5c55e53486953d4d67a | [
"MIT"
] | 3 | 2015-03-25T16:03:14.000Z | 2015-03-28T10:42:17.000Z | src/amos/overlap.cpp | mariokostelac/asqg2afg | c40862046f04241c9091b5c55e53486953d4d67a | [
"MIT"
] | null | null | null | #include "overlap.h"
using std::endl;
namespace AMOS {
Overlap::Overlap(const uint32_t r1, const uint32_t r2, const char adj, const int32_t ahg, const int32_t bhg, const int32_t scr)
:read1(r1), read2(r2), adjacency(adj), a_hang(ahg), b_hang(bhg), score(scr)
{}
// from http://sourceforge.net/p/amos/mailman... | 33.453125 | 129 | 0.543204 | mariokostelac |
ac42f53847260c7eee0dc2492ba4bd3de38128c4 | 1,311 | cpp | C++ | Source/Collections/collectionspritesheetmodel.cpp | erayzesen/turquoise2D | 33bd2e85169bba4c82c388c1619b2de55065eb7b | [
"Zlib"
] | 13 | 2020-05-24T23:52:48.000Z | 2020-12-01T02:43:03.000Z | Source/Collections/collectionspritesheetmodel.cpp | erayzesen/turquoise2D | 33bd2e85169bba4c82c388c1619b2de55065eb7b | [
"Zlib"
] | 3 | 2020-05-26T22:19:49.000Z | 2020-12-01T09:31:25.000Z | Source/Collections/collectionspritesheetmodel.cpp | erayzesen/turquoise2D | 33bd2e85169bba4c82c388c1619b2de55065eb7b | [
"Zlib"
] | 3 | 2020-05-26T01:35:20.000Z | 2020-05-26T13:51:07.000Z | #include "collectionspritesheetmodel.h"
CollectionSpriteSheetModel::CollectionSpriteSheetModel(QObject *parent) : QStandardItemModel(parent)
{
}
void CollectionSpriteSheetModel::setTarget(QString targetPath)
{
this->clear();
SpriteSheet *spriteSheet=new SpriteSheet(targetPath);
QPixmap resourceImage(spri... | 32.775 | 100 | 0.680397 | erayzesen |
ac44114138b8698bbe2b2385d2e2863ee32d543c | 5,391 | hpp | C++ | src/gDeadCodeDeletion.hpp | lyj-514328/T1010 | f6bd5a75b249abb63f5023f205ead28b133b3dbc | [
"Apache-2.0"
] | null | null | null | src/gDeadCodeDeletion.hpp | lyj-514328/T1010 | f6bd5a75b249abb63f5023f205ead28b133b3dbc | [
"Apache-2.0"
] | null | null | null | src/gDeadCodeDeletion.hpp | lyj-514328/T1010 | f6bd5a75b249abb63f5023f205ead28b133b3dbc | [
"Apache-2.0"
] | null | null | null | #ifndef GDEADCODEDELETION_HPP
#define GDEADCODEDELETION_HPP
#include <queue>
#include "globalPolicyExecutor.hpp"
using namespace std;
class GDeadCodeDeletion:
public GlobalPolicyExecutor
{
public:
GDeadCodeDeletion();
~GDeadCodeDeletion();
void runOptimizer(void);
void printInfoOfOptimizer(void);
bo... | 32.089286 | 82 | 0.540716 | lyj-514328 |
ac44e91b8a2bed7692721a99119874dd88c0d31d | 4,360 | cc | C++ | test/testsupport/file_utils_override.cc | shishuo365/webrtc | 96e60852faaa8ab4cf6477fa92c80a434921625d | [
"BSD-3-Clause"
] | 1 | 2016-06-23T01:26:53.000Z | 2016-06-23T01:26:53.000Z | test/testsupport/file_utils_override.cc | shishuo365/webrtc | 96e60852faaa8ab4cf6477fa92c80a434921625d | [
"BSD-3-Clause"
] | null | null | null | test/testsupport/file_utils_override.cc | shishuo365/webrtc | 96e60852faaa8ab4cf6477fa92c80a434921625d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2018 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... | 27.25 | 80 | 0.730734 | shishuo365 |
ac473557fd6afa3f80b11a1141f3ea757486d66a | 1,203 | hpp | C++ | source/framework/benchmark/include/lue/framework/benchmark/algorithm_benchmark_result.hpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 2 | 2021-02-26T22:45:56.000Z | 2021-05-02T10:28:48.000Z | source/framework/benchmark/include/lue/framework/benchmark/algorithm_benchmark_result.hpp | pcraster/lue | e64c18f78a8b6d8a602b7578a2572e9740969202 | [
"MIT"
] | 262 | 2016-08-11T10:12:02.000Z | 2020-10-13T18:09:16.000Z | source/framework/benchmark/include/lue/framework/benchmark/algorithm_benchmark_result.hpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 1 | 2020-03-11T09:49:41.000Z | 2020-03-11T09:49:41.000Z | #pragma once
#include "lue/framework/core/define.hpp"
#include <array>
#include <vector>
namespace lue {
namespace benchmark {
class AlgorithmBenchmarkResult
{
public:
using Shape = std::vector<Count>;
AlgorithmBenchmarkResult()=default;
explicit AlgorithmBenchmarkResult(
... | 21.872727 | 85 | 0.645054 | computationalgeography |
ac4859011e0e731ce97983050e202023a458652c | 2,056 | cpp | C++ | sp/src/game/client/fmod/fmodmanager.cpp | fuzzzzzz/jurassic-life | 3105fe79977460c57c433cb960e91783d47626ed | [
"Unlicense"
] | 1 | 2016-08-30T07:01:29.000Z | 2016-08-30T07:01:29.000Z | sp/src/game/client/fmod/fmodmanager.cpp | fuzzzzzz/jurassic-life-code | 3105fe79977460c57c433cb960e91783d47626ed | [
"Unlicense"
] | null | null | null | sp/src/game/client/fmod/fmodmanager.cpp | fuzzzzzz/jurassic-life-code | 3105fe79977460c57c433cb960e91783d47626ed | [
"Unlicense"
] | 3 | 2015-03-09T22:40:35.000Z | 2019-02-17T16:15:44.000Z | #include "cbase.h"
#include "FMODManager.h"
#include "fmod_errors.h"
#include <string>
using namespace FMOD;
EventSystem *pEventSystem;
Event *pEvent = NULL;
FMOD_RESULT result;
CFMODManager gFMODMng;
CFMODManager* FMODManager()
{
return &gFMODMng;
}
void ERRCHECK(FMOD_RESULT result)
{
if (result != FMO... | 18.522523 | 88 | 0.700389 | fuzzzzzz |
ac4ec0560a82acb465041daa6ed4e3bbf5303817 | 7,854 | cpp | C++ | examples/timelines/mainwindow.cpp | minimoog/QTweetLib | e8c62faccd38c694dcfc7a5d3e55982cf7daaffc | [
"Apache-2.0"
] | 43 | 2015-02-27T07:55:10.000Z | 2022-02-20T13:37:48.000Z | examples/timelines/mainwindow.cpp | minimoog/QTweetLib | e8c62faccd38c694dcfc7a5d3e55982cf7daaffc | [
"Apache-2.0"
] | 3 | 2015-11-25T18:05:37.000Z | 2019-07-24T19:58:32.000Z | examples/timelines/mainwindow.cpp | minimoog/QTweetLib | e8c62faccd38c694dcfc7a5d3e55982cf7daaffc | [
"Apache-2.0"
] | 14 | 2015-01-29T18:50:58.000Z | 2019-12-31T07:35:39.000Z | /* Copyright 2010 Antonie Jovanoski
*
* 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 t... | 35.378378 | 104 | 0.640183 | minimoog |
ac535f91559ae32147aa093d38dd8501dc35413a | 5,346 | cpp | C++ | src/libs/qlib/qradio.cpp | 3dhater/Racer | d7fe4014b1efefe981528547649dc397da7fa780 | [
"Unlicense"
] | null | null | null | src/libs/qlib/qradio.cpp | 3dhater/Racer | d7fe4014b1efefe981528547649dc397da7fa780 | [
"Unlicense"
] | null | null | null | src/libs/qlib/qradio.cpp | 3dhater/Racer | d7fe4014b1efefe981528547649dc397da7fa780 | [
"Unlicense"
] | 1 | 2021-01-03T16:16:47.000Z | 2021-01-03T16:16:47.000Z | /*
* QRadio - radio buttons
* 18-06-97: Created!
* (C) MarketGraph/RVG
*/
#include <qlib/radio.h>
#include <qlib/canvas.h>
#include <qlib/event.h>
#include <qlib/app.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <limits.h>
#include <time.h>
#include <qlib/debug.h>
DEBUG... | 22.944206 | 77 | 0.628133 | 3dhater |
ac577bc5604480c2e4d50d1da27b24dfba807e77 | 1,312 | hpp | C++ | include/nbdl/detail/wrap_promise.hpp | ricejasonf/nbdl | ae63717c96ab2c36107bc17b2b00115f96e9d649 | [
"BSL-1.0"
] | 47 | 2016-06-20T01:41:24.000Z | 2021-11-16T10:53:27.000Z | include/nbdl/detail/wrap_promise.hpp | ricejasonf/nbdl | ae63717c96ab2c36107bc17b2b00115f96e9d649 | [
"BSL-1.0"
] | 21 | 2015-11-12T23:05:47.000Z | 2019-07-17T19:01:40.000Z | include/nbdl/detail/wrap_promise.hpp | ricejasonf/nbdl | ae63717c96ab2c36107bc17b2b00115f96e9d649 | [
"BSL-1.0"
] | 6 | 2015-11-12T21:23:29.000Z | 2019-05-09T17:54:25.000Z | //
// Copyright Jason Rice 2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef NBDL_DETAIL_WRAP_PROMISE_HPP
#define NBDL_DETAIL_WRAP_PROMISE_HPP
#include <nbdl/fwd/detail/wrap_promise.hpp>
#include ... | 23.854545 | 82 | 0.622713 | ricejasonf |
ac61ce543c9bb87ada9d46abdb4d10bacb997906 | 32,116 | cpp | C++ | OS2.1/CPinti/core/core.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | 1 | 2021-05-05T20:42:24.000Z | 2021-05-05T20:42:24.000Z | OS2.1/CPinti/core/core.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | OS2.1/CPinti/core/core.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | /*
=============================================
== CPinti ---> Gestionnaire de threads ==
=============================================
Developpe entierement par Sebastien FAVIER
Description
Module permettant la commutation des threads en se basant sur le PIT
Creation
17/05/2018
Mise a jour
... | 29.30292 | 299 | 0.649053 | Cwc-Test |
ac6530658c67e15a634ead0ae3d492090da6389a | 928 | cpp | C++ | EglCpp/Sources/Reflection/Reflectable.cpp | Egliss/EglCppBase | 94d24b6e5e91da880833237a879138760ae9c669 | [
"MIT"
] | null | null | null | EglCpp/Sources/Reflection/Reflectable.cpp | Egliss/EglCppBase | 94d24b6e5e91da880833237a879138760ae9c669 | [
"MIT"
] | 2 | 2020-08-04T18:14:51.000Z | 2020-08-06T19:19:11.000Z | EglCpp/Sources/Reflection/Reflectable.cpp | Egliss/EglCppBase | 94d24b6e5e91da880833237a879138760ae9c669 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Reflectable.hpp"
#include "DynamicType.hpp"
#include "../Utility/StringUtility.hpp"
using namespace Egliss::Reflection;
void Reflectable::Validate(int typeId)
{
if (this->TryFastValidate(typeId))
return;
if (DynamicTypeManager::Find(typeId) == nullptr)
throw std::exception(StringUtili... | 37.12 | 142 | 0.704741 | Egliss |
ac661674fe1f088ca7613e2efe04fdfb86e9aff5 | 2,632 | hpp | C++ | src/util/position.hpp | BruJu/AdventOfCode | a9161649882429bc1f995424544ce4cdafb69caa | [
"WTFPL",
"MIT"
] | 1 | 2020-12-11T13:37:06.000Z | 2020-12-11T13:37:06.000Z | src/util/position.hpp | BruJu/AdventOfCode2020 | a9161649882429bc1f995424544ce4cdafb69caa | [
"WTFPL",
"MIT"
] | null | null | null | src/util/position.hpp | BruJu/AdventOfCode2020 | a9161649882429bc1f995424544ce4cdafb69caa | [
"WTFPL",
"MIT"
] | null | null | null | #pragma once
#include <optional>
namespace bj {
enum class Direction { Left, Right, Top, Down };
inline std::optional<Direction> to_direction_from_lrtd(const char symbol, const char * symbols) {
if (symbol == symbols[0]) return Direction::Left;
if (symbol == symbols[1]) return Direction::Right... | 30.252874 | 104 | 0.483283 | BruJu |
ac686e97ae6b511f157d50c84dc1f9f1c9a4358e | 2,077 | cpp | C++ | N0023-Merge-k-Sorted-Lists/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N0023-Merge-k-Sorted-Lists/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N0023-Merge-k-Sorted-Lists/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | 2 | 2022-01-25T05:31:31.000Z | 2022-02-26T07:22:23.000Z | //
// main.cpp
// LeetCode-Solution
//
// Created by Loyio Hex on 3/1/22.
//
#include <iostream>
#include <chrono>
#include <vector>
#include <queue>
using namespace std;
using namespace std::chrono;
struct ListNode{
int val;
ListNode *next;
ListNode() : val(0), next(nullptr) {};
ListNode(int x) :... | 24.72619 | 74 | 0.512277 | loyio |
ac6b40c405ccda93eb67fc725d373fc6c4d51f63 | 262 | hpp | C++ | examples/trivial/trivial.hpp | dcblack/systemc-complete | b018b76254de95673a4294052317d23a6325918b | [
"RSA-MD"
] | 1 | 2021-06-03T15:19:51.000Z | 2021-06-03T15:19:51.000Z | examples/trivial/trivial.hpp | dcblack/systemc-complete | b018b76254de95673a4294052317d23a6325918b | [
"RSA-MD"
] | null | null | null | examples/trivial/trivial.hpp | dcblack/systemc-complete | b018b76254de95673a4294052317d23a6325918b | [
"RSA-MD"
] | null | null | null | //FILE: trivial.hpp
#ifndef TRIVIAL_HPP
#define TRIVIAL_HPP
#include <systemc>
struct Trivial_module : sc_core::sc_module
{
Trivial_module( sc_core::sc_module_name instance );
~Trivial_module( void ) = default;
private:
void main_thread( void );
};
#endif
| 20.153846 | 53 | 0.751908 | dcblack |
ac720042415480b1a9f4c26d9f4197ffe6e1c59f | 15,344 | cpp | C++ | src/graph/Graph.cpp | AvocadoML/Avocado | 9595cc5994d916f0ecb24873a5afa98437977fb5 | [
"Apache-2.0"
] | null | null | null | src/graph/Graph.cpp | AvocadoML/Avocado | 9595cc5994d916f0ecb24873a5afa98437977fb5 | [
"Apache-2.0"
] | null | null | null | src/graph/Graph.cpp | AvocadoML/Avocado | 9595cc5994d916f0ecb24873a5afa98437977fb5 | [
"Apache-2.0"
] | null | null | null | /*
* Graph.cpp
*
* Created on: Feb 16, 2021
* Author: Maciej Kozarzewski
*/
#include <Avocado/graph/Graph.hpp>
#include <Avocado/graph/GraphNode.hpp>
#include <Avocado/core/Device.hpp>
#include <Avocado/core/Context.hpp>
#include <Avocado/core/Scalar.hpp>
#include <Avocado/layers/Input.hpp>
#include <Avocad... | 28.362292 | 139 | 0.666449 | AvocadoML |
ac7378987845f7a3a7f24f79ea8ccfb093cd3c64 | 1,321 | cpp | C++ | Server/Canasta/server.cpp | vivibau/CanastaCSharpOld | 2aadde306450837244b6ec4364d9156e076322b0 | [
"MIT"
] | null | null | null | Server/Canasta/server.cpp | vivibau/CanastaCSharpOld | 2aadde306450837244b6ec4364d9156e076322b0 | [
"MIT"
] | null | null | null | Server/Canasta/server.cpp | vivibau/CanastaCSharpOld | 2aadde306450837244b6ec4364d9156e076322b0 | [
"MIT"
] | 1 | 2020-06-04T14:13:04.000Z | 2020-06-04T14:13:04.000Z | /*#include <iostream>
using namespace std;
int main()
{
return 0;
}
*/
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <iostream>
#include "TCPAcceptor.h"
#include "Game.h"
#include "Parser.h"
#include "Includes.h"
int main(int argc, char** argv)
{
/*
if (argc < 2 || argc > 4) {
pr... | 22.016667 | 73 | 0.500379 | vivibau |
ac794c9c6de51b32a5e62cafbdec641c9b9d6e1a | 3,725 | cpp | C++ | options/posix/generic/grp-stubs.cpp | CPL-1/mlibc | 0726f99c28629e4fc7730d8897909e0cdb5b2545 | [
"MIT"
] | null | null | null | options/posix/generic/grp-stubs.cpp | CPL-1/mlibc | 0726f99c28629e4fc7730d8897909e0cdb5b2545 | [
"MIT"
] | null | null | null | options/posix/generic/grp-stubs.cpp | CPL-1/mlibc | 0726f99c28629e4fc7730d8897909e0cdb5b2545 | [
"MIT"
] | null | null | null |
#include <grp.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <bits/ensure.h>
#include <mlibc/debug.hpp>
namespace {
thread_local group global_entry;
template<typename F>
void walk_segments(frg::string_view line, char delimiter, F fn) {
size_t s = 0;
while(true) {
... | 21.783626 | 85 | 0.640537 | CPL-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.