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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c50f535c2fc4aa6329094dcdc63decccf5c96e4c | 56,567 | cpp | C++ | psx/octoshock/psx/cdc.cpp | Moliman/BizHawk | 7d961d85bdf588072f344f220266002dee8ebc5a | [
"MIT"
] | 29 | 2017-10-25T15:16:23.000Z | 2021-02-23T04:49:18.000Z | psx/octoshock/psx/cdc.cpp | Moliman/BizHawk | 7d961d85bdf588072f344f220266002dee8ebc5a | [
"MIT"
] | 7 | 2019-01-14T14:46:46.000Z | 2019-01-25T20:57:05.000Z | psx/octoshock/psx/cdc.cpp | Moliman/BizHawk | 7d961d85bdf588072f344f220266002dee8ebc5a | [
"MIT"
] | 9 | 2017-10-29T05:28:15.000Z | 2020-03-24T02:11:01.000Z | /* Mednafen - Multi-system Emulator
*
* 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 2 of the License, or
* (at your option) any later version.
*
* This program is distrib... | 22.653985 | 229 | 0.651829 | Moliman |
c5121d21e96d6196aff2eeb9233175cc0a22a109 | 2,114 | cpp | C++ | src/sx_film_visti.cpp | D33pBlue/Cinenote-3.0 | 7dd871b40c537fdf73e7489919c4bfef391864c2 | [
"MIT"
] | null | null | null | src/sx_film_visti.cpp | D33pBlue/Cinenote-3.0 | 7dd871b40c537fdf73e7489919c4bfef391864c2 | [
"MIT"
] | null | null | null | src/sx_film_visti.cpp | D33pBlue/Cinenote-3.0 | 7dd871b40c537fdf73e7489919c4bfef391864c2 | [
"MIT"
] | null | null | null | #include "sx_film_visti.h"
#include <QtSql>
sx_film_visti::sx_film_visti(QWidget *parent,bool attesi) :
QWidget(parent)
{
bg=new QWidget;
lay=new QVBoxLayout;
l=new QLabel("Film Visti");
if(attesi)l->setText("Film Attesi");
l->setFont(QFont("Times",15));
displayVisti=new QScrollArea;
d... | 28.958904 | 112 | 0.623463 | D33pBlue |
c51319e855c456ae95b4296da2d7deba8b33a7ad | 18,161 | cpp | C++ | src/hssh/global_topological/utils/local_to_global.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 3 | 2020-03-05T23:56:14.000Z | 2021-02-17T19:06:50.000Z | src/hssh/global_topological/utils/local_to_global.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-07T01:23:47.000Z | 2021-03-07T01:23:47.000Z | src/hssh/global_topological/utils/local_to_global.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-03T07:54:16.000Z | 2021-03-03T07:54:16.000Z | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | 39.914286 | 120 | 0.64176 | anuranbaka |
78a0ae13fae57b12ff7b64b5f29128a3dca3005e | 6,085 | cpp | C++ | examples/common/opengl/OpenGLShim.osx.cpp | cdave1/difont | 2c38726cc3b7a6e06b920accef4ce752967fa61d | [
"MIT"
] | 3 | 2015-03-09T05:51:02.000Z | 2019-07-29T10:33:32.000Z | examples/common/opengl/OpenGLShim.osx.cpp | cdave1/difont | 2c38726cc3b7a6e06b920accef4ce752967fa61d | [
"MIT"
] | null | null | null | examples/common/opengl/OpenGLShim.osx.cpp | cdave1/difont | 2c38726cc3b7a6e06b920accef4ce752967fa61d | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2015 David Petrie david@davidpetrie.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 arising from the
* use of this software. Permission is granted to anyone to use this software for
* any purpose, ... | 32.195767 | 114 | 0.639277 | cdave1 |
78a0f97f696a75571a4232a508bf8447176fac2e | 1,803 | cpp | C++ | incoming/BitBucket-INDI1/trunk186/INDI2/oldEIRlibs/eirBase/BaseIdBehavior.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | null | null | null | incoming/BitBucket-INDI1/trunk186/INDI2/oldEIRlibs/eirBase/BaseIdBehavior.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | 14 | 2016-11-24T10:46:39.000Z | 2016-12-10T07:24:15.000Z | incoming/BitBucket-INDI1/trunk186/If1main/EIRlibs/eirBase/BaseIdBehavior.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | null | null | null | #include "BaseIdBehavior.h"
#include <QMapIterator>
const QString BaseIdBehavior::lower("abcdefghijklmnopqrstuvwxyz");
const QString BaseIdBehavior::upper("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
const QString BaseIdBehavior::number("0123456789");
const QString BaseIdBehavior::uriReserved("'();:@&=+$,/?#[]");
const QSt... | 29.557377 | 78 | 0.577371 | eirTony |
78a351edac2d2c3746f058b415b02b8f7b31bf1e | 49,529 | hpp | C++ | libraries/app/include/deip/app/deip_api_objects.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | 1 | 2021-08-16T12:44:43.000Z | 2021-08-16T12:44:43.000Z | libraries/app/include/deip/app/deip_api_objects.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | null | null | null | libraries/app/include/deip/app/deip_api_objects.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | 2 | 2021-08-16T12:44:46.000Z | 2021-12-31T17:09:45.000Z | #pragma once
#include <deip/chain/schema/account_object.hpp>
#include <deip/chain/schema/block_summary_object.hpp>
#include <deip/chain/schema/global_property_object.hpp>
//#include <deip/chain/history_object.hpp>
#include <deip/chain/schema/award_object.hpp>
#include <deip/chain/schema/award_recipient_object.hpp>
#inc... | 28.563437 | 160 | 0.665206 | DEIPworld |
78a43ef410d600cef07daa678b193fc5481f550a | 3,876 | hpp | C++ | CargoVessel.hpp | danilaferents/Vessels | 06d5f3d08d1f059e53946a06240c69bd4b5e9c7f | [
"Apache-2.0"
] | null | null | null | CargoVessel.hpp | danilaferents/Vessels | 06d5f3d08d1f059e53946a06240c69bd4b5e9c7f | [
"Apache-2.0"
] | null | null | null | CargoVessel.hpp | danilaferents/Vessels | 06d5f3d08d1f059e53946a06240c69bd4b5e9c7f | [
"Apache-2.0"
] | null | null | null | #pragma once
#ifndef CargoVessel_hpp
#define CargoVessel_hpp
#include "main.hpp"
#include "Vessels.hpp"
using namespace destination;
namespace cargovessel
{
class CargoVessel : public Vessel
{ // Типы груза
public:
enum CargoType {FOOD, WOOD, GOOD};
private:
... | 36.224299 | 197 | 0.484262 | danilaferents |
78a5687aded5e9bdf992a772baac86266a543c71 | 2,446 | cpp | C++ | bbs/trashcan_test.cpp | ryanm101/wwiv | e8c094ef9485f42e1c053e2803d095af6c87f969 | [
"Apache-2.0"
] | 5 | 2017-01-31T23:12:37.000Z | 2021-06-29T19:51:12.000Z | bbs/trashcan_test.cpp | ryanm101/wwiv | e8c094ef9485f42e1c053e2803d095af6c87f969 | [
"Apache-2.0"
] | null | null | null | bbs/trashcan_test.cpp | ryanm101/wwiv | e8c094ef9485f42e1c053e2803d095af6c87f969 | [
"Apache-2.0"
] | 3 | 2015-07-05T22:42:31.000Z | 2015-07-06T03:33:24.000Z | /**************************************************************************/
/* */
/* WWIV Version 5.x */
/* Copyright (C)2007-2021, WWIV Software Services */
/* ... | 39.451613 | 76 | 0.493459 | ryanm101 |
78a6a2a9628a0070253d04a20897b2c0a782e60b | 2,493 | cpp | C++ | src/qt/controls/progressbarcontrol.cpp | karagog/gutil | 43936af9bc4be1945e4f1a3656e91dfbf42cc35b | [
"Apache-2.0"
] | null | null | null | src/qt/controls/progressbarcontrol.cpp | karagog/gutil | 43936af9bc4be1945e4f1a3656e91dfbf42cc35b | [
"Apache-2.0"
] | 2 | 2015-01-30T21:47:55.000Z | 2015-02-10T00:22:27.000Z | src/qt/controls/progressbarcontrol.cpp | karagog/gutil | 43936af9bc4be1945e4f1a3656e91dfbf42cc35b | [
"Apache-2.0"
] | null | null | null | /*Copyright 2010-2015 George Karagoulis
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 in writing, so... | 26.242105 | 89 | 0.671881 | karagog |
78a907e035c0b51c06aa55f402aa8f68dbdc79b5 | 7,093 | cpp | C++ | src/liquid.cpp | Y2Z/liquid | f55fd3c6f8e9cf2f6f024df4499470945b06400f | [
"CC0-1.0"
] | 5 | 2017-02-10T08:37:14.000Z | 2022-03-27T23:52:56.000Z | src/liquid.cpp | Y2Z/Liquid | f55fd3c6f8e9cf2f6f024df4499470945b06400f | [
"CC0-1.0"
] | 87 | 2016-01-22T01:39:59.000Z | 2022-01-04T01:17:30.000Z | src/liquid.cpp | Y2Z/liquid | f55fd3c6f8e9cf2f6f024df4499470945b06400f | [
"CC0-1.0"
] | 1 | 2017-04-20T20:14:00.000Z | 2017-04-20T20:14:00.000Z | #include "lqd.h"
#include "liquid.hpp"
#include <QApplication>
#include <QCoreApplication>
#include <QDateTime>
#include <QDebug>
#include <QProcess>
#include <QSettings>
#include <QTime>
#include <QWebEngineProfile>
#if defined(Q_OS_MAC)
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.... | 34.769608 | 147 | 0.653179 | Y2Z |
78a999c33b83020d3d48d14cef7fbbc23f5945ff | 60,975 | cpp | C++ | Models/ModelsDemo.cpp | kakol20/HFG | 055ebd29c12a3830256c8469dc7b1f5de155d810 | [
"MIT"
] | null | null | null | Models/ModelsDemo.cpp | kakol20/HFG | 055ebd29c12a3830256c8469dc7b1f5de155d810 | [
"MIT"
] | null | null | null | Models/ModelsDemo.cpp | kakol20/HFG | 055ebd29c12a3830256c8469dc7b1f5de155d810 | [
"MIT"
] | null | null | null | /*
Beginning DirectX 11 Game Programming
By Allen Sherrod and Wendy Jones
3D Models Demo - Demonstrates loading a model from an .OBJ file.
*/
#include"ModelsDemo.h"
#include<xnamath.h>
#include<stdio.h>
#include"objLoader.h"
//char* TERRAIN_TEXTURE_NAME = "GameObjects/Menu_Stuff/Play.jpg";
char* MENU_TEXTURE_NAME =... | 29.105012 | 153 | 0.679311 | kakol20 |
78aa655e0ad6618c65361a0f2bb57862690880f9 | 26,923 | cpp | C++ | src/game/shared/tf/tf_weapon_grapplinghook.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/game/shared/tf/tf_weapon_grapplinghook.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/game/shared/tf/tf_weapon_grapplinghook.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// TF Grappling Hook
//
//=============================================================================
#include "cbase.h"
#include "in_buttons.h"
#include "tf_weapon_grapplinghook.h"
// Client specific.
#ifdef CLIENT_DLL
#include "c_tf_p... | 31.342258 | 182 | 0.652045 | cstom4994 |
78ad13da77add9623166e1403465e0b18366af01 | 2,709 | hpp | C++ | include/algorithms/public/Standardization.hpp | jamesb93/flucoma-core | 3e964dd569f6fff15bd5249a705dc0da8f7b2ad8 | [
"BSD-3-Clause"
] | null | null | null | include/algorithms/public/Standardization.hpp | jamesb93/flucoma-core | 3e964dd569f6fff15bd5249a705dc0da8f7b2ad8 | [
"BSD-3-Clause"
] | null | null | null | include/algorithms/public/Standardization.hpp | jamesb93/flucoma-core | 3e964dd569f6fff15bd5249a705dc0da8f7b2ad8 | [
"BSD-3-Clause"
] | null | null | null | /*
Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/)
Copyright 2017-2019 University of Huddersfield.
Licensed under the BSD-3 License.
See license.md file in the project root for full license information.
This project has received funding from the European Research Council (ERC)
under the European... | 24.853211 | 76 | 0.657807 | jamesb93 |
78aedd5065fd9df1ab0a5d0b1f0250c098aa5ded | 13,441 | cpp | C++ | nampower/main.cpp | hellokvn/nampower | 5b75ebdbb8430a556211e0a8967338d914055359 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | nampower/main.cpp | hellokvn/nampower | 5b75ebdbb8430a556211e0a8967338d914055359 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | nampower/main.cpp | hellokvn/nampower | 5b75ebdbb8430a556211e0a8967338d914055359 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | /*
Copyright (c) 2017-2018, namreeb (legal@namreeb.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this... | 38.076487 | 130 | 0.699055 | hellokvn |
78aeefb249308d5b46b82e2962ceb1c7d561065d | 723 | cpp | C++ | Resources/TextureLoaderSOIL.cpp | rexapex/OSE-V2-STD-Modules | 2d504e1293e22b4d1eb124656b730980c18b18f4 | [
"Zlib"
] | null | null | null | Resources/TextureLoaderSOIL.cpp | rexapex/OSE-V2-STD-Modules | 2d504e1293e22b4d1eb124656b730980c18b18f4 | [
"Zlib"
] | null | null | null | Resources/TextureLoaderSOIL.cpp | rexapex/OSE-V2-STD-Modules | 2d504e1293e22b4d1eb124656b730980c18b18f4 | [
"Zlib"
] | null | null | null | #include "stdafx.h"
#include "TextureLoaderSOIL.h"
namespace ose::resources
{
TextureLoaderSOIL::TextureLoaderSOIL(const std::string & project_path) : TextureLoader(project_path) {}
TextureLoaderSOIL::~TextureLoaderSOIL() {}
// loads the texture and sets the values of img_data, width and height
// path... | 31.434783 | 118 | 0.733057 | rexapex |
78aeffc51d6ff9d838b0d38adbbe0ef5fb3bc74f | 3,188 | cpp | C++ | more-examples/02-spectrum/src/02-spectrum.cpp | rickkas7/ADCDMAGen3_RK | 64a52a8b485f3bec93ebedd5b1337594cc0443d8 | [
"MIT"
] | 1 | 2019-11-22T06:57:24.000Z | 2019-11-22T06:57:24.000Z | more-examples/02-spectrum/src/02-spectrum.cpp | rickkas7/ADCDMAGen3_RK | 64a52a8b485f3bec93ebedd5b1337594cc0443d8 | [
"MIT"
] | null | null | null | more-examples/02-spectrum/src/02-spectrum.cpp | rickkas7/ADCDMAGen3_RK | 64a52a8b485f3bec93ebedd5b1337594cc0443d8 | [
"MIT"
] | 2 | 2019-12-30T07:19:47.000Z | 2020-09-03T17:59:48.000Z | #include "Particle.h"
#include "ADCDMAGen3_RK.h"
#include "FftComplex.h" // https://www.nayuki.io/page/free-small-fft-in-multiple-languages
#include <cmath> // std::abs
#include "Adafruit_SSD1306_RK.h"
// The Adafruit library defines abs as a macro. Undo that so std::abs works right.
#undef abs
SYSTEM_THREAD(ENA... | 23.791045 | 90 | 0.69793 | rickkas7 |
78b055cb897fa2c35449af16c55f21c5a451e63d | 747 | hpp | C++ | library/ATF/_BSP_MAT_GROUP.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/_BSP_MAT_GROUP.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/_BSP_MAT_GROUP.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
#pragma pack(push, 2)
struct _BSP_MAT_GROUP
{
unsigned __int16 Type;
unsigned __int16 TriNum;
__int16 MtlId;
... | 24.9 | 108 | 0.637216 | lemkova |
78b102be6a93298968699d4dbada2ebed89dd53e | 5,668 | hpp | C++ | armadillo/include/armadillo_bits/fn_randg.hpp | cornell-cup/cs-r2kart-demo | c7224515bf6d4a1bd6b57d1f7186e999564eabc3 | [
"MIT"
] | 13 | 2016-01-05T13:45:19.000Z | 2020-10-22T05:32:19.000Z | armadillo/include/armadillo_bits/fn_randg.hpp | cornell-cup/cs-r2kart-demo | c7224515bf6d4a1bd6b57d1f7186e999564eabc3 | [
"MIT"
] | 1 | 2020-06-26T07:08:25.000Z | 2020-06-26T07:08:25.000Z | armadillo/include/armadillo_bits/fn_randg.hpp | cornell-cup/cs-r2kart-demo | c7224515bf6d4a1bd6b57d1f7186e999564eabc3 | [
"MIT"
] | 5 | 2016-01-09T10:05:17.000Z | 2019-03-30T10:58:35.000Z | // Copyright (C) 2015 National ICT Australia (NICTA)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// ----------------------------------------------------------... | 21.469697 | 185 | 0.634086 | cornell-cup |
78b58c7afb2eabca7c46a2a2ac8bcb8026cdab5d | 2,656 | cpp | C++ | Circuit5A/src/main.cpp | padlewski/DLP_COMP444 | 7635517b50f2c806856fc748db6f6f6c5bc26d34 | [
"MIT"
] | null | null | null | Circuit5A/src/main.cpp | padlewski/DLP_COMP444 | 7635517b50f2c806856fc748db6f6f6c5bc26d34 | [
"MIT"
] | null | null | null | Circuit5A/src/main.cpp | padlewski/DLP_COMP444 | 7635517b50f2c806856fc748db6f6f6c5bc26d34 | [
"MIT"
] | null | null | null | #include <Arduino.h>
//PIN VARIABLES
//the motor will be controlled by the motor A pins on the motor driver
const int AIN1 = 13; //control pin 1 on the motor driver for the right motor
const int AIN2 = 12; //control pin 2 on the motor driver for the right motor
const int PWMA = 11; //sp... | 39.058824 | 122 | 0.551581 | padlewski |
78b79ac1b055f49968313e4c5f68b596866664c0 | 11,605 | cpp | C++ | Wizard/datainspectiondialog.cpp | johnsonjonaris/CoNECt | ca0e0f5672026fcb78431a6fc29f4ccd69ad0b74 | [
"Apache-2.0"
] | null | null | null | Wizard/datainspectiondialog.cpp | johnsonjonaris/CoNECt | ca0e0f5672026fcb78431a6fc29f4ccd69ad0b74 | [
"Apache-2.0"
] | null | null | null | Wizard/datainspectiondialog.cpp | johnsonjonaris/CoNECt | ca0e0f5672026fcb78431a6fc29f4ccd69ad0b74 | [
"Apache-2.0"
] | null | null | null | #include "datainspectiondialog.h"
DataInspectionDialog::DataInspectionDialog(QWidget *parent) : QDialog(parent)
{
setupUi(this);
CoronalLabel->installEventFilter(this);
SagittalLabel->installEventFilter(this);
AxialLabel->installEventFilter(this);
// connect signals and slots
connect(ImagesBox... | 33.637681 | 100 | 0.609737 | johnsonjonaris |
78b8495d8bf93efb639537cf102c0ce9a25d1e8e | 625 | cpp | C++ | components/system/tests/wrappers/system_paths.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/system/tests/wrappers/system_paths.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/system/tests/wrappers/system_paths.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include "shared.h"
int main ()
{
printf ("Results of system_paths_test:\n");
try
{
static const char* DIRS [] = {"/system/personal", "/system/profile", "/system/appdata", "/system/inetcache",
"/system/baddir", "/my/link", "/system/temp"};
common::FileSystem::MountLink ("/my/link", "... | 24.038462 | 113 | 0.5456 | untgames |
78b8c3aa494a26f179fcc1be113bbba4655fd5f3 | 17,570 | cpp | C++ | lamg/main/mex/aggregationsweep.cpp | zzhao76/Generalized-Eigensolver | 9dbbc6aff30a7407f04209b56ab926b4080aef10 | [
"BSD-3-Clause"
] | 94 | 2020-02-07T00:18:56.000Z | 2022-03-07T23:46:44.000Z | lamg/main/mex/aggregationsweep.cpp | zzhao76/Generalized-Eigensolver | 9dbbc6aff30a7407f04209b56ab926b4080aef10 | [
"BSD-3-Clause"
] | 14 | 2020-03-09T12:05:41.000Z | 2022-02-10T01:10:28.000Z | lamg/main/mex/aggregationsweep.cpp | zzhao76/Generalized-Eigensolver | 9dbbc6aff30a7407f04209b56ab926b4080aef10 | [
"BSD-3-Clause"
] | 15 | 2020-03-03T14:41:29.000Z | 2021-12-22T01:58:28.000Z | /*=================================================================
* aggregationsweep.c
*
* Sweep over graph nodes and aggregate them.
*
* MATLAB calling syntax:
* [x, x2, stat, aggregateSize, numAggregates] = aggregationSweep
* (bins, x, x2, stat, aggregateSize, numAggregates, C, D, W,
* ratioMax, maxCoarseni... | 40.298165 | 151 | 0.503301 | zzhao76 |
78ba53669d08170c688d5732f59c8ea1aaea62b3 | 1,212 | cpp | C++ | dds/DCPS/transport/tcp/TcpReconnectTask.cpp | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | dds/DCPS/transport/tcp/TcpReconnectTask.cpp | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | dds/DCPS/transport/tcp/TcpReconnectTask.cpp | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | /*
* $Id: TcpReconnectTask.cpp 4836 2011-08-06 01:11:10Z calabrese_p $
*
*
* Distributed under the OpenDDS License.
* See: http://www.opendds.org/license.html
*/
#include "Tcp_pch.h"
#include "TcpReconnectTask.h"
#include "TcpConnection.h"
#include "TcpSendStrategy.h"
#include "dds/DCPS/transport/framework/Entry... | 26.347826 | 93 | 0.714521 | binary42 |
78bf8e458710882f80745b5b6436508a1e22ec72 | 4,012 | cc | C++ | c++/crickconvert/parse_args.cc | eriksjolund/st_exp_protobuf | 793a9224f58ad87bfb21e8abc06029901da93ca9 | [
"MIT"
] | null | null | null | c++/crickconvert/parse_args.cc | eriksjolund/st_exp_protobuf | 793a9224f58ad87bfb21e8abc06029901da93ca9 | [
"MIT"
] | 4 | 2016-06-14T09:21:30.000Z | 2016-06-15T12:20:33.000Z | c++/crickconvert/parse_args.cc | eriksjolund/st_exp_protobuf | 793a9224f58ad87bfb21e8abc06029901da93ca9 | [
"MIT"
] | null | null | null | //
// Copyright (C) 2015 st_exp_protobuf contributors
// Copyright (C) 2016 Karolinska institutet
//
// 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 ... | 42.680851 | 143 | 0.701645 | eriksjolund |
78c0a20cf5f0d3ce4dfce2cd78de6b3c351e7b90 | 1,841 | cpp | C++ | src/FalconEngine/Platform/OpenGL/OpenGLCullState.cpp | Lywx/FalconEngine | c4d1fed789218d1994908b8dbbcd6c01961f9ef2 | [
"MIT"
] | 6 | 2017-04-17T12:34:57.000Z | 2019-10-19T23:29:59.000Z | src/FalconEngine/Platform/OpenGL/OpenGLCullState.cpp | Lywx/FalconEngine | c4d1fed789218d1994908b8dbbcd6c01961f9ef2 | [
"MIT"
] | null | null | null | src/FalconEngine/Platform/OpenGL/OpenGLCullState.cpp | Lywx/FalconEngine | c4d1fed789218d1994908b8dbbcd6c01961f9ef2 | [
"MIT"
] | 2 | 2019-12-30T08:28:04.000Z | 2020-08-05T09:58:53.000Z | #include <FalconEngine/Platform/OpenGL/OpenGLCullState.h>
#if defined(FALCON_ENGINE_API_OPENGL)
#include <FalconEngine/Graphics/Renderer/State/CullState.h>
namespace FalconEngine
{
/************************************************************************/
/* Constructors and Destructor ... | 27.073529 | 74 | 0.500272 | Lywx |
78c308a775ac466de133399636821f3eb191a9a3 | 24,826 | cpp | C++ | src/test_cycles_basic.cpp | geraldc-unm/Comb | 790d054f9722e6752a27a1c2e08c135f9d5b8e75 | [
"MIT"
] | 21 | 2018-10-03T18:15:04.000Z | 2022-02-16T08:07:50.000Z | src/test_cycles_basic.cpp | geraldc-unm/Comb | 790d054f9722e6752a27a1c2e08c135f9d5b8e75 | [
"MIT"
] | 5 | 2019-10-07T23:06:57.000Z | 2021-08-16T16:10:58.000Z | src/test_cycles_basic.cpp | geraldc-unm/Comb | 790d054f9722e6752a27a1c2e08c135f9d5b8e75 | [
"MIT"
] | 6 | 2019-09-13T16:47:33.000Z | 2022-03-03T16:17:32.000Z | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2018-2021, Lawrence Livermore National Security, LLC.
//
// Produced at the Lawrence Livermore National Laboratory
//
// LLNL-CODE-758885
//
// All rights reserved.
//
// This file is part of Comb.
//
// For details, see htt... | 35.164306 | 207 | 0.502377 | geraldc-unm |
78c393cfaa7869523c4018759ee71e21e13bd3fa | 48,501 | cpp | C++ | Source/WebCore/Modules/mediasource/MediaSource.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/Modules/mediasource/MediaSource.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/Modules/mediasource/MediaSource.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
* Copyright (C) 2013-2017 Apple 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 ... | 41.667526 | 188 | 0.704913 | jacadcaps |
78c3cc49a436ae04b0224394809a04f6587df9db | 2,920 | cpp | C++ | src/Modules/DevGraphics/Shibboleth_NVENCHelpers.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | 1 | 2020-04-06T17:35:47.000Z | 2020-04-06T17:35:47.000Z | src/Modules/DevGraphics/Shibboleth_NVENCHelpers.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | src/Modules/DevGraphics/Shibboleth_NVENCHelpers.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | /************************************************************************************
Copyright (C) 2021 by Nicholas LaCroix
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, in... | 32.444444 | 171 | 0.737671 | Connway |
78c4fc30989d4eb3d4b7088ec112aedc1d3f8a37 | 1,823 | cpp | C++ | carpi_master/src/ui/web_client.cpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | 2 | 2020-06-07T16:47:20.000Z | 2021-03-20T10:41:34.000Z | carpi_master/src/ui/web_client.cpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | null | null | null | carpi_master/src/ui/web_client.cpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | null | null | null | #include <io/camera/camera_stream.hpp>
#include "web_client.hpp"
#include "event_manager.hpp"
#include <nlohmann/json.hpp>
namespace carpi::ui {
LOGGER_IMPL(WebClient);
bool WebClient::OnQuery(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, int64 query_id, const CefString &request, bool persistent, ... | 35.745098 | 205 | 0.516731 | Yanick-Salzmann |
78c59c3dd32771ebe47ca032adc59e7d92b9f75e | 5,543 | hpp | C++ | storage/ndb/include/util/File.hpp | hervewenjie/mysql | 49a37eda4e2cc87e20ba99e2c29ffac2fc322359 | [
"BSD-3-Clause"
] | 1 | 2015-12-24T16:44:50.000Z | 2015-12-24T16:44:50.000Z | storage/ndb/include/util/File.hpp | hervewenjie/mysql | 49a37eda4e2cc87e20ba99e2c29ffac2fc322359 | [
"BSD-3-Clause"
] | 1 | 2015-12-24T18:23:56.000Z | 2015-12-24T18:24:26.000Z | Mysql/storage/ndb/include/util/File.hpp | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2003-2006 MySQL AB, 2008 Sun Microsystems, Inc.
All rights reserved. Use is subject to license terms.
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; version 2 of the... | 25.081448 | 84 | 0.641891 | hervewenjie |
78c5f8f6e09abb78fda05241e115065148f59924 | 20,144 | cpp | C++ | Source/Plugins/bsfVulkanRenderAPI/Linux/BsLinuxRenderWindow.cpp | Milerius/bsf | 8715b344d6b7893f64fd5dccaaf10603a27c7a15 | [
"MIT"
] | 1 | 2018-04-16T12:14:52.000Z | 2018-04-16T12:14:52.000Z | Source/Plugins/bsfVulkanRenderAPI/Linux/BsLinuxRenderWindow.cpp | Milerius/bsf | 8715b344d6b7893f64fd5dccaaf10603a27c7a15 | [
"MIT"
] | null | null | null | Source/Plugins/bsfVulkanRenderAPI/Linux/BsLinuxRenderWindow.cpp | Milerius/bsf | 8715b344d6b7893f64fd5dccaaf10603a27c7a15 | [
"MIT"
] | null | null | null | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "CoreThread/BsCoreThread.h"
#include "Private/Linux/BsLinuxPl... | 27.444142 | 124 | 0.727462 | Milerius |
78c88c1c87ffb35b6a15960457b06f0bac688971 | 55,474 | cpp | C++ | src/xercesc/parsers/DOMLSParserImpl.cpp | gajgeospatial/xerces-c-3.2.2 | 8396d30350e6523313766f9c18e07c4f708be9cb | [
"Apache-2.0"
] | 11 | 2020-04-05T19:58:40.000Z | 2022-02-04T19:18:12.000Z | src/xercesc/parsers/DOMLSParserImpl.cpp | rsn8887/xerces-c | eafbd0b1755fe55550e10aaaf3b15c587d900f39 | [
"Apache-2.0"
] | 1 | 2020-02-25T22:08:30.000Z | 2020-02-25T22:08:30.000Z | src/xercesc/parsers/DOMLSParserImpl.cpp | rsn8887/xerces-c | eafbd0b1755fe55550e10aaaf3b15c587d900f39 | [
"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 may ... | 40.227701 | 193 | 0.642427 | gajgeospatial |
78c8c5e43193b4eb6faeca35bb1f67346a185a6d | 13,178 | cpp | C++ | QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/TCBInfoVrifierUT.cpp | fqiu1/SGXDataCenterAttestationPrimitives | 19483cca7b924f89ecfdb89e675d34d6a6d4b9dd | [
"BSD-3-Clause"
] | null | null | null | QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/TCBInfoVrifierUT.cpp | fqiu1/SGXDataCenterAttestationPrimitives | 19483cca7b924f89ecfdb89e675d34d6a6d4b9dd | [
"BSD-3-Clause"
] | null | null | null | QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/TCBInfoVrifierUT.cpp | fqiu1/SGXDataCenterAttestationPrimitives | 19483cca7b924f89ecfdb89e675d34d6a6d4b9dd | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... | 47.574007 | 120 | 0.77766 | fqiu1 |
78ca96f104dee4b213ce9d70536d3ea8edc958dc | 1,440 | cpp | C++ | drivers/sick_ldmrs_driver/src/driver/src/devices/BasicDevice.cpp | alanjclark/autoware.ai | ba97edbbffb6f22e78912bf96400a59ef6a13daf | [
"Apache-2.0"
] | 64 | 2018-11-19T02:34:05.000Z | 2021-12-27T06:19:48.000Z | ros/src/sensing/drivers/lidar/packages/sick/ldmrs/sick_ldmrs_driver/src/driver/src/devices/BasicDevice.cpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 40 | 2019-06-24T16:56:15.000Z | 2022-02-28T13:41:58.000Z | ros/src/sensing/drivers/lidar/packages/sick/ldmrs/sick_ldmrs_driver/src/driver/src/devices/BasicDevice.cpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 34 | 2018-11-27T08:57:32.000Z | 2022-02-18T08:06:04.000Z | //
// BasicDevice.cpp
//
#include "BasicDevice.hpp"
#include "../tools/errorhandler.hpp"
namespace devices
{
// ****************************************************************************
// Basisklasse fuer Devices
// ****************************************************************************
BasicDevice::Bas... | 17.777778 | 81 | 0.634028 | alanjclark |
78cd4335005ea39fcde4093816fcdab094753daa | 5,115 | cpp | C++ | VC2010Samples/MFC/advanced/collect/strlstvw.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2010Samples/MFC/advanced/collect/strlstvw.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2010Samples/MFC/advanced/collect/strlstvw.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // strlstvw.cpp : implementation file
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provi... | 24.241706 | 77 | 0.705181 | alonmm |
78d02b3c0d130e661cd828c104dfd78565f16f0d | 1,739 | cpp | C++ | src/dumpContigsFromHeader.cpp | timmassingham/vcflib | e0cb656cb0e224dc078ba1e06079a88a5ea7b6ab | [
"MIT"
] | 379 | 2016-01-29T00:01:51.000Z | 2022-03-21T21:07:03.000Z | src/dumpContigsFromHeader.cpp | timmassingham/vcflib | e0cb656cb0e224dc078ba1e06079a88a5ea7b6ab | [
"MIT"
] | 245 | 2016-01-31T19:05:29.000Z | 2022-03-31T13:17:17.000Z | src/dumpContigsFromHeader.cpp | timmassingham/vcflib | e0cb656cb0e224dc078ba1e06079a88a5ea7b6ab | [
"MIT"
] | 168 | 2016-02-11T19:30:52.000Z | 2022-02-10T09:20:34.000Z | /*
vcflib C++ library for parsing and manipulating VCF files
Copyright © 2010-2020 Erik Garrison
Copyright © 2020 Pjotr Prins
This software is published under the MIT License. See the LICENSE file.
*/
#include "Variant.h"
#include "split.h"
#include "var.hpp"
#include <string>
#include <iostrea... | 20.458824 | 88 | 0.581369 | timmassingham |
78d03ee27f6d4dea97c85a478efc6b4061af4ad0 | 176 | cpp | C++ | main.cpp | zdaiot/DataStructure-And-Algorithm | 6d0a21bd6129a2af4020fc22823e0f317e5cadb9 | [
"MIT"
] | null | null | null | main.cpp | zdaiot/DataStructure-And-Algorithm | 6d0a21bd6129a2af4020fc22823e0f317e5cadb9 | [
"MIT"
] | null | null | null | main.cpp | zdaiot/DataStructure-And-Algorithm | 6d0a21bd6129a2af4020fc22823e0f317e5cadb9 | [
"MIT"
] | null | null | null | #include "main.h"
int main()
{
test_sort();
ListNode* head = createLinkedList("[1,2,3,4,5]");
TreeNode* root = createTree("[1,2,3,null,null,4,5]");
return 0;
} | 19.555556 | 57 | 0.585227 | zdaiot |
78d0de5c68dea901ad43bdef95a59b9d50e7af50 | 257 | cxx | C++ | functional_bit_and.cxx | cmbrandt/stl-algorithms | 9eb0bc664e8423fb066c29aa501a72f4e672be1d | [
"MIT"
] | null | null | null | functional_bit_and.cxx | cmbrandt/stl-algorithms | 9eb0bc664e8423fb066c29aa501a72f4e672be1d | [
"MIT"
] | null | null | null | functional_bit_and.cxx | cmbrandt/stl-algorithms | 9eb0bc664e8423fb066c29aa501a72f4e672be1d | [
"MIT"
] | null | null | null | #include <iostream>
#include <functional.hxx>
template <typename T, typename B = cmb::bit_and<>>
T bit_test( T a, T b, B bit = B{ } )
{
return bit(a, b);
}
int main()
{
auto r = bit_test(5, 9);
std::cout << "result = " << r << std::endl; // = 1
} | 15.117647 | 52 | 0.560311 | cmbrandt |
78d2083342a63a9350ea517c9fe7fd47adc694ab | 103,179 | cpp | C++ | sources/FEM/matrix_routines.cpp | wolf-pf/ogs_kb1 | 97ace8bc8fb80b033b8a32f6ed4a20983caa241f | [
"BSD-4-Clause"
] | 1 | 2019-11-13T23:01:08.000Z | 2019-11-13T23:01:08.000Z | sources/FEM/matrix_routines.cpp | wolf-pf/ogs_kb1 | 97ace8bc8fb80b033b8a32f6ed4a20983caa241f | [
"BSD-4-Clause"
] | null | null | null | sources/FEM/matrix_routines.cpp | wolf-pf/ogs_kb1 | 97ace8bc8fb80b033b8a32f6ed4a20983caa241f | [
"BSD-4-Clause"
] | null | null | null | /**************************************************************************
ROCKFLOW - Modul: matrix.c
Aufgabe:
Verwaltung von nxn - Matrizen mit verschiedenen Speichertechniken und
Bereitstellung entsprechender Zugriffsfunktionen sowie einfacher
mathematischer Operationen auf die entsprechende Matrix.
... | 27.6249 | 110 | 0.532686 | wolf-pf |
78d2276dde9c7132d4c77f186c3d9ad7dff44ae3 | 9,564 | hpp | C++ | third_party/mockturtle/mockturtle/generators/random_logic_generator.hpp | drewrisinger/tweedledum | 1c331a076fa137295193a10e0ed664603ae80c21 | [
"MIT"
] | 7 | 2020-03-13T17:08:01.000Z | 2021-11-17T11:43:58.000Z | third_party/mockturtle/mockturtle/generators/random_logic_generator.hpp | drewrisinger/tweedledum | 1c331a076fa137295193a10e0ed664603ae80c21 | [
"MIT"
] | 2 | 2021-03-16T12:05:50.000Z | 2021-03-16T13:06:47.000Z | third_party/mockturtle/mockturtle/generators/random_logic_generator.hpp | drewrisinger/tweedledum | 1c331a076fa137295193a10e0ed664603ae80c21 | [
"MIT"
] | 8 | 2020-02-13T18:05:55.000Z | 2021-03-16T11:12:33.000Z | /* mockturtle: C++ logic network library
* Copyright (C) 2018-2019 EPFL
*
* 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... | 30.752412 | 141 | 0.646696 | drewrisinger |
78d4bb421c4506f17470f2f108d78780658c24a6 | 4,577 | cpp | C++ | PostGL/GLMirrorPlane.cpp | febiosoftware/FEBioStudio | 324d76b069a60e99328500b9b25eb79cf5a019e8 | [
"MIT"
] | 27 | 2020-06-25T06:34:52.000Z | 2022-03-11T08:58:57.000Z | PostGL/GLMirrorPlane.cpp | febiosoftware/FEBioStudio | 324d76b069a60e99328500b9b25eb79cf5a019e8 | [
"MIT"
] | 42 | 2020-06-15T18:40:57.000Z | 2022-03-24T05:38:54.000Z | PostGL/GLMirrorPlane.cpp | febiosoftware/FEBioStudio | 324d76b069a60e99328500b9b25eb79cf5a019e8 | [
"MIT"
] | 12 | 2020-06-27T13:58:57.000Z | 2022-03-24T05:39:10.000Z | /*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2020 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any per... | 25.569832 | 89 | 0.689753 | febiosoftware |
78d95852b6cba3bf78cc250d21fc0b3fcb3ce060 | 805 | cpp | C++ | 122 Best Time to Buy and Sell Stock II.cpp | akash2099/LeetCode-Problems | 74c346146ca5ba2336d1e8d6dc26e3cd8920cb25 | [
"MIT"
] | 1 | 2021-11-14T01:06:38.000Z | 2021-11-14T01:06:38.000Z | 122 Best Time to Buy and Sell Stock II.cpp | akash2099/LeetCode-Problems | 74c346146ca5ba2336d1e8d6dc26e3cd8920cb25 | [
"MIT"
] | null | null | null | 122 Best Time to Buy and Sell Stock II.cpp | akash2099/LeetCode-Problems | 74c346146ca5ba2336d1e8d6dc26e3cd8920cb25 | [
"MIT"
] | null | null | null | static int fastio=[](){
std::ios::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
return 0;
}();
class Solution {
public:
int maxProfit(vector<int>& prices) {
/*
Suppose the first sequence is "a <= b <= c <= d", the profit is "d - a = (b - a) + (c - b) + (d - c)" without a doubt. An... | 33.541667 | 288 | 0.559006 | akash2099 |
78da793829745e9cc332fcf7b12077de0c6ae62a | 2,202 | cpp | C++ | 10706 Number Sequence.cpp | zihadboss/UVA-Solutions | 020fdcb09da79dc0a0411b04026ce3617c09cd27 | [
"Apache-2.0"
] | 86 | 2016-01-20T11:36:50.000Z | 2022-03-06T19:43:14.000Z | 10706 Number Sequence.cpp | Mehedishihab/UVA-Solutions | 474fe3d9d9ba574b97fd40ca5abb22ada95654a1 | [
"Apache-2.0"
] | null | null | null | 10706 Number Sequence.cpp | Mehedishihab/UVA-Solutions | 474fe3d9d9ba574b97fd40ca5abb22ada95654a1 | [
"Apache-2.0"
] | 113 | 2015-12-04T06:40:57.000Z | 2022-02-11T02:14:28.000Z | #include <iostream>
#include <algorithm>
using namespace std;
typedef unsigned long long ull;
// Exclusive
const int MaxIndex = 31268;
// To search:
// Binary search on lengthBefore, to cut out most
// Then binary search on lengthOf for rest. Can use the digit in that equal to the diff of rest and lengthOf[... | 24.197802 | 115 | 0.624886 | zihadboss |
78db32c42f63de3902fd14c8d2a8c5a72ae65bee | 6,443 | cpp | C++ | rocsolver/clients/gtest/getf2_getrf_strided_batched_gtest.cpp | leekillough/rocSOLVER | a0fa2af65be983dcec60081ed618b0642867aef0 | [
"BSD-2-Clause"
] | null | null | null | rocsolver/clients/gtest/getf2_getrf_strided_batched_gtest.cpp | leekillough/rocSOLVER | a0fa2af65be983dcec60081ed618b0642867aef0 | [
"BSD-2-Clause"
] | null | null | null | rocsolver/clients/gtest/getf2_getrf_strided_batched_gtest.cpp | leekillough/rocSOLVER | a0fa2af65be983dcec60081ed618b0642867aef0 | [
"BSD-2-Clause"
] | null | null | null | /* ************************************************************************
* Copyright 2018 Advanced Micro Devices, Inc.
*
* ************************************************************************ */
#include "testing_getf2_getrf_strided_batched.hpp"
#include "utility.h"
#include <gtest/gtest.h>
#include <math.h>... | 29.555046 | 100 | 0.645662 | leekillough |
78dc2e5d5bdfb6c1657aea6520d41f35c59f5c93 | 926 | cpp | C++ | Data Structures/Dynamic Programming/2-D DP/Grid Unique Paths/Tabulation.cpp | ravikjha7/Competitive_Programming | 86df773c258d6675bb3244030e6d71aa32e01fce | [
"MIT"
] | null | null | null | Data Structures/Dynamic Programming/2-D DP/Grid Unique Paths/Tabulation.cpp | ravikjha7/Competitive_Programming | 86df773c258d6675bb3244030e6d71aa32e01fce | [
"MIT"
] | null | null | null | Data Structures/Dynamic Programming/2-D DP/Grid Unique Paths/Tabulation.cpp | ravikjha7/Competitive_Programming | 86df773c258d6675bb3244030e6d71aa32e01fce | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define mod 1000000007
void file()
{
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
}
// Time Complexity : O(n*m)
// Space Complexity : O(n*m)
int GridUniquePaths(int n,int m) {
vector... | 15.965517 | 45 | 0.546436 | ravikjha7 |
78df233c5cfa07cff79df6c7dcc968a9637f8964 | 458 | cpp | C++ | ch15/ex15.42_c/orquery.cpp | shawabhishek/Cpp-Primer | c93143965e62c7ab833f43586ab1c759a5707cfc | [
"CC0-1.0"
] | 7,897 | 2015-01-02T04:35:38.000Z | 2022-03-31T08:32:50.000Z | ch15/ex15.42_c/orquery.cpp | shawabhishek/Cpp-Primer | c93143965e62c7ab833f43586ab1c759a5707cfc | [
"CC0-1.0"
] | 456 | 2015-01-01T15:47:52.000Z | 2022-02-07T04:17:56.000Z | ch15/ex15.42_c/orquery.cpp | shawabhishek/Cpp-Primer | c93143965e62c7ab833f43586ab1c759a5707cfc | [
"CC0-1.0"
] | 3,887 | 2015-01-01T13:23:23.000Z | 2022-03-31T15:05:21.000Z | #include "orquery.h"
#include <memory>
using std::make_shared;
#include <set>
using std::set;
#include "queryresult.h"
#include "textquery.h"
#include "query.h"
QueryResult
OrQuery::eval(const TextQuery &text) const
{
auto right = rhs.eval(text);
auto left = lhs.eval(text);
auto ret_lines = make_shared<set<line_... | 20.818182 | 70 | 0.709607 | shawabhishek |
78e1488b2d76c00ff55e9d24851cdfc39b416a7a | 4,816 | cc | C++ | test/test-SchemaTest.cc | sirinartk/drafter | ffd086ad1886bb1ebdd70100867aa743a1728c96 | [
"MIT"
] | null | null | null | test/test-SchemaTest.cc | sirinartk/drafter | ffd086ad1886bb1ebdd70100867aa743a1728c96 | [
"MIT"
] | null | null | null | test/test-SchemaTest.cc | sirinartk/drafter | ffd086ad1886bb1ebdd70100867aa743a1728c96 | [
"MIT"
] | null | null | null | //
// test-RenderTest.cc
// drafter
//
// Created by Vilibald Wanča on 19/11/15.
// Copyright (c) 2015, 2016 Apiary Inc. All rights reserved.
//
#include "draftertest.h"
using namespace draftertest;
TEST_REFRACT("schema", "boolean");
TEST_REFRACT("schema", "number");
TEST_REFRACT("schema", "string");
TEST_REFRAC... | 40.813559 | 120 | 0.634344 | sirinartk |
78e268ad69d547280e45755dbfc275a68d6be6e0 | 233 | cpp | C++ | CodeForces.com/regular_rounds/#409/A_gen.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | CodeForces.com/regular_rounds/#409/A_gen.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | CodeForces.com/regular_rounds/#409/A_gen.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
cout << "100000 99999\n";
for(int i = 0; i<1000*100; i++)
cout << "1 100000\n";
return 0;
}
| 14.5625 | 36 | 0.519313 | mstrechen |
78e6e054e08096cdb0bfb80316711ee02f3db9b2 | 3,350 | cpp | C++ | test/resource/erfwriter.cpp | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | 37 | 2020-06-27T18:50:48.000Z | 2020-08-02T14:13:51.000Z | test/resource/erfwriter.cpp | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | null | null | null | test/resource/erfwriter.cpp | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | 1 | 2020-07-14T13:32:15.000Z | 2020-07-14T13:32:15.000Z | /*
* Copyright (c) 2020-2022 The reone project contributors
*
* 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
* (at your option) any later version.
*
... | 42.405063 | 114 | 0.52 | seedhartha |
78e88da16e897b9e95a76fe790e2a8d6299871dd | 769 | cpp | C++ | Elysium-Engine/Elysium/src/Core/Application/Threads/ElysiumThread.cpp | Kney-Delach/Elysium-Puzzle-Engine | 21eafc5bdad993ea5ffc9e70c910f36ce440b355 | [
"Apache-2.0"
] | null | null | null | Elysium-Engine/Elysium/src/Core/Application/Threads/ElysiumThread.cpp | Kney-Delach/Elysium-Puzzle-Engine | 21eafc5bdad993ea5ffc9e70c910f36ce440b355 | [
"Apache-2.0"
] | null | null | null | Elysium-Engine/Elysium/src/Core/Application/Threads/ElysiumThread.cpp | Kney-Delach/Elysium-Puzzle-Engine | 21eafc5bdad993ea5ffc9e70c910f36ce440b355 | [
"Apache-2.0"
] | null | null | null | /**
* FILENAME : ElysiumThread.cpp
* Name : Ori Lazar
* Student ID : b9061712
* Date : 21/10/2019
* Description : This header contains the implementation for the abstract thread class for this engine, used to run the application.
*/
#include "empch.h"
#include "ElysiumThread.h"
#ifdef EM_PLATFORM_WINDOWS
#i... | 18.309524 | 132 | 0.674902 | Kney-Delach |
78e8e7dc7b1ddef2a0a40ce8adde346360175261 | 6,025 | cpp | C++ | SpecNetServ/src/depend/system/linux/linuxsystem.cpp | DimaBond174/SpecNet | 6e0e64f158322444367dca1ec500bc4b44f232f5 | [
"MIT"
] | 3 | 2019-03-11T04:17:14.000Z | 2021-01-29T08:35:31.000Z | SpecNetServ/src/depend/system/linux/linuxsystem.cpp | DimaBond174/SpecNet | 6e0e64f158322444367dca1ec500bc4b44f232f5 | [
"MIT"
] | null | null | null | SpecNetServ/src/depend/system/linux/linuxsystem.cpp | DimaBond174/SpecNet | 6e0e64f158322444367dca1ec500bc4b44f232f5 | [
"MIT"
] | null | null | null | /*
* This is the source code of SpecNet project
* It is licensed under MIT License.
*
* Copyright (c) Dmitriy Bondarenko
* feel free to contact me: specnet.messenger@gmail.com
*/
#include "linuxsystem.h"
#include <unistd.h>
#include <limits.h>
#include <linux/limits.h>
#include <dlfcn.h>
#include <cstdio>
#inclu... | 27.637615 | 93 | 0.572946 | DimaBond174 |
78eb0998384d6c09d3d4d87d934a1db961695d71 | 3,825 | cpp | C++ | main.cpp | p-col/Z3Ann | 36f3fead68212a772b8ab746c8a01d233b2c97fb | [
"MIT"
] | 1 | 2021-11-01T12:58:17.000Z | 2021-11-01T12:58:17.000Z | main.cpp | p-col/Z3Ann | 36f3fead68212a772b8ab746c8a01d233b2c97fb | [
"MIT"
] | null | null | null | main.cpp | p-col/Z3Ann | 36f3fead68212a772b8ab746c8a01d233b2c97fb | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
#include "z3++.h"
#include "z3ann.hpp"
#include "Z3SolutionConverter.hpp"
#include "BackendC.hpp"
#include "Frontend.hpp"
void diabetesTest(void)
{
Frontend fe;
if (!fe.loadDataFromFile("testfiles/diabietes2.train"))
{
std::cerr << "File not found." << std::endl;
... | 29.882813 | 79 | 0.45098 | p-col |
78ec3f0ed641b0c5e552b400150ad9041a533753 | 342 | cpp | C++ | yellow/w3_01_sum_reserve_sort/sum_reverse_sort.cpp | avptin/coursera-c-plus-plus | 18146f023998a073ee8e34315789d049b7fa0d7c | [
"MIT"
] | null | null | null | yellow/w3_01_sum_reserve_sort/sum_reverse_sort.cpp | avptin/coursera-c-plus-plus | 18146f023998a073ee8e34315789d049b7fa0d7c | [
"MIT"
] | null | null | null | yellow/w3_01_sum_reserve_sort/sum_reverse_sort.cpp | avptin/coursera-c-plus-plus | 18146f023998a073ee8e34315789d049b7fa0d7c | [
"MIT"
] | null | null | null | #include "sum_reverse_sort.h"
using namespace std;
int Sum(int x, int y) { return x + y; }
string Reverse(string s) {
string result;
for (auto rit = s.rbegin(); rit != s.rend(); ++rit) {
result.push_back(*rit);
}
return result;
};
void Sort(vector<int>& nums) { return sort(nums.begin(), nums.end()); }
in... | 22.8 | 71 | 0.625731 | avptin |
78ee922e103ddb471f163d10e270e81ca0f13e4a | 6,848 | hh | C++ | aspects/electrical/UserLoad/test/UtConstantPowerLoad.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 18 | 2020-01-23T12:14:09.000Z | 2022-02-27T22:11:35.000Z | aspects/electrical/UserLoad/test/UtConstantPowerLoad.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 39 | 2020-11-20T12:19:35.000Z | 2022-02-22T18:45:55.000Z | aspects/electrical/UserLoad/test/UtConstantPowerLoad.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 7 | 2020-02-10T19:25:43.000Z | 2022-03-16T01:10:00.000Z | #ifndef UtConstantPowerLoad_exists
#define UtConstantPowerLoad_exists
////////////////////////////////////////////////////////////////////////////////////////////////////
/// @defgroup UT_CONSTANT_POWER_USER_LOAD Gunns Electrical Constant Power User Load Unit test
/// @ingroup UT_GUNNS
///
/// @copyright Copyright 2... | 36.042105 | 100 | 0.671875 | nasa |
78efab9d0dffc592f16935ea54979b26be1c69e6 | 11,802 | cpp | C++ | src/vizdoom/src/ct_chat.cpp | johny-c/ViZDoom | 6fe0d2470872adbfa5d18c53c7704e6ff103cacc | [
"MIT"
] | 1,102 | 2017-02-02T15:39:57.000Z | 2022-03-23T09:43:29.000Z | src/ct_chat.cpp | Leonan8995/Xenomia | 3f3743dd5aff047608ec31fb71186d177812c7df | [
"Unlicense"
] | 339 | 2017-02-17T09:55:38.000Z | 2022-03-29T11:44:01.000Z | src/ct_chat.cpp | Leonan8995/Xenomia | 3f3743dd5aff047608ec31fb71186d177812c7df | [
"Unlicense"
] | 331 | 2017-02-02T15:34:42.000Z | 2022-03-23T02:42:24.000Z |
//**************************************************************************
//**
//** ct_chat.c : Heretic 2 : Raven Software, Corp.
//**
//** $RCSfile: ct_chat.c,v $
//** $Revision: 1.12 $
//** $Date: 96/01/16 10:35:26 $
//** $Author: bgokey $
//**
//*********************************************************... | 22.142589 | 126 | 0.491696 | johny-c |
78f30d98ed757138858b9616aec1a5062ec45ddd | 1,793 | cpp | C++ | allocore/src/system/al_PeriodicThread.cpp | donghaoren/AlloSystem | 7674cc8597e470a355a5dab1dac9191c2c2e8086 | [
"BSD-3-Clause"
] | null | null | null | allocore/src/system/al_PeriodicThread.cpp | donghaoren/AlloSystem | 7674cc8597e470a355a5dab1dac9191c2c2e8086 | [
"BSD-3-Clause"
] | null | null | null | allocore/src/system/al_PeriodicThread.cpp | donghaoren/AlloSystem | 7674cc8597e470a355a5dab1dac9191c2c2e8086 | [
"BSD-3-Clause"
] | null | null | null | #include <algorithm>
#include "allocore/system/al_PeriodicThread.hpp"
namespace al{
PeriodicThread::PeriodicThread(double periodSec)
{
period(periodSec);
}
PeriodicThread::PeriodicThread(const PeriodicThread& other)
: Thread(other), mPeriod(other.mPeriod), mTimeCurr(other.mTimeCurr),
mTimePrev(other.mTimePrev), mW... | 21.345238 | 86 | 0.703848 | donghaoren |
78f4df5ca98d68437f6aba395a4289c01b52d9d1 | 3,520 | cc | C++ | modules/audio_processing/beamformer/covariance_matrix_generator.cc | mostynb/webrtc | 24a16656da7249c0d836247bc77dbc475f71f0af | [
"DOC",
"BSD-3-Clause"
] | 78 | 2016-06-23T03:01:49.000Z | 2022-03-03T03:15:49.000Z | modules/audio_processing/beamformer/covariance_matrix_generator.cc | mostynb/webrtc | 24a16656da7249c0d836247bc77dbc475f71f0af | [
"DOC",
"BSD-3-Clause"
] | 8 | 2016-12-17T03:16:01.000Z | 2020-05-21T09:55:58.000Z | modules/audio_processing/beamformer/covariance_matrix_generator.cc | mostynb/webrtc | 24a16656da7249c0d836247bc77dbc475f71f0af | [
"DOC",
"BSD-3-Clause"
] | 53 | 2016-06-05T13:34:42.000Z | 2021-12-22T10:44:03.000Z | /*
* Copyright (c) 2014 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... | 30.608696 | 83 | 0.6625 | mostynb |
78f4f821cceb15579b98e82817fdf64c6b9fce19 | 137,612 | cpp | C++ | openbmc_modules/intel-ipmi-oem/src/oemcommands.cpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | 14 | 2021-11-04T07:47:37.000Z | 2022-03-21T10:10:30.000Z | openbmc_modules/intel-ipmi-oem/src/oemcommands.cpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | null | null | null | openbmc_modules/intel-ipmi-oem/src/oemcommands.cpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | 6 | 2021-11-02T10:56:19.000Z | 2022-03-06T11:58:20.000Z | /*
// Copyright (c) 2018 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 35.845793 | 80 | 0.577893 | Eyerunmyden |
78f746137db2125bdc2b3695e3070c3cc71ebe08 | 2,548 | hpp | C++ | include/x11/events.hpp | corngood/polybar | 385572ec643ea6d35483b652a17e74b01229b267 | [
"MIT"
] | 1 | 2020-05-08T14:47:00.000Z | 2020-05-08T14:47:00.000Z | include/x11/events.hpp | corngood/polybar | 385572ec643ea6d35483b652a17e74b01229b267 | [
"MIT"
] | null | null | null | include/x11/events.hpp | corngood/polybar | 385572ec643ea6d35483b652a17e74b01229b267 | [
"MIT"
] | 1 | 2020-05-08T15:26:36.000Z | 2020-05-08T15:26:36.000Z | #pragma once
#include <xpp/event.hpp>
#include "common.hpp"
POLYBAR_NS
class connection;
namespace evt {
// window focus events
using focus_in = xpp::x::event::focus_in<connection&>;
using focus_out = xpp::x::event::focus_out<connection&>;
// cursor events
using enter_notify = xpp::x::event::enter_notif... | 42.466667 | 74 | 0.741366 | corngood |
78f93ab42dbe0b9cfc9e23a37d1ef9809a00cddc | 1,052 | cpp | C++ | SOURCE/ArchitectBossLevel.cpp | OnionBurger/DungeonsOfPain | cb56c138a12bdc08376a2ba04f02d24527344202 | [
"MIT"
] | null | null | null | SOURCE/ArchitectBossLevel.cpp | OnionBurger/DungeonsOfPain | cb56c138a12bdc08376a2ba04f02d24527344202 | [
"MIT"
] | null | null | null | SOURCE/ArchitectBossLevel.cpp | OnionBurger/DungeonsOfPain | cb56c138a12bdc08376a2ba04f02d24527344202 | [
"MIT"
] | null | null | null | #include "ArchitectBossLevel.h"
ArchitectBossLevel::ArchitectBossLevel() {
}
void ArchitectBossLevel::generate() {
sizeX = 13;
sizeY = 17;
allocate();
fillWith(T_WALL);
for (unsigned i = 2; i <= 10; ++i)
for (unsigned j = 2; j <= 12; ++j)
lvl[i][j] = T_EMPTY;
for (unsigned i = 3; i <= 9; ++i) {
lvl[i][... | 30.057143 | 99 | 0.652091 | OnionBurger |
60000bbeea5ca877c1c6d7b8952edc8a05f69316 | 468 | cpp | C++ | ncadtoollib/NGPropertySet.cpp | moon-touched/ncadtools | 3d5f9c53c66c2c5c00765f1df07bd968f89a2621 | [
"MIT"
] | null | null | null | ncadtoollib/NGPropertySet.cpp | moon-touched/ncadtools | 3d5f9c53c66c2c5c00765f1df07bd968f89a2621 | [
"MIT"
] | null | null | null | ncadtoollib/NGPropertySet.cpp | moon-touched/ncadtools | 3d5f9c53c66c2c5c00765f1df07bd968f89a2621 | [
"MIT"
] | null | null | null | #include <ncadtoollib/NGPropertySet.h>
#include <ncadtoollib/NGStream.h>
namespace ncadtoollib {
NGStream& operator <<(NGStream& stream, const NGPropertySet& obj) {
stream << obj.properties;
if (!obj.properties.empty())
stream << obj.seed1 << obj.seed2;
return stream;
}
NGStream& operator >>(NGStream& s... | 21.272727 | 68 | 0.688034 | moon-touched |
60015c3d442c8134c22e971915ea5b011299ff91 | 6,861 | cpp | C++ | Game/src/PlatformGameState.cpp | DanielParra159/EngineAndGame | 45af7439633054aa6c9a8e75dd0453f9ce297626 | [
"CC0-1.0"
] | 1 | 2017-04-08T14:33:04.000Z | 2017-04-08T14:33:04.000Z | Game/src/PlatformGameState.cpp | DanielParra159/EngineAndGame | 45af7439633054aa6c9a8e75dd0453f9ce297626 | [
"CC0-1.0"
] | 1 | 2017-04-05T01:56:28.000Z | 2017-04-05T01:56:28.000Z | Game/src/PlatformGameState.cpp | DanielParra159/EngineAndGame | 45af7439633054aa6c9a8e75dd0453f9ce297626 | [
"CC0-1.0"
] | null | null | null | #include "PlatformGameState.h"
#include "MenuState.h"
#include "Platformmer/PlatformerWall.h"
#include "Platformmer/PlatformerPlayer.h"
#include "Platformmer/PlatformerGrass.h"
#include "Platformmer/PlatformerCoin.h"
#include "Platformmer/PlatformerBackground.h"
#include "Input/InputManager.h"
#include "Input... | 32.060748 | 162 | 0.692756 | DanielParra159 |
6001e4942a616b77d9fd625b88940ce08895a2e6 | 1,561 | hpp | C++ | patterns/factory/factory.hpp | PotatoMaster101/pats | 7429125a4b34fa1ba4ad6710a1753a547909f73c | [
"MIT"
] | null | null | null | patterns/factory/factory.hpp | PotatoMaster101/pats | 7429125a4b34fa1ba4ad6710a1753a547909f73c | [
"MIT"
] | null | null | null | patterns/factory/factory.hpp | PotatoMaster101/pats | 7429125a4b34fa1ba4ad6710a1753a547909f73c | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Factory pattern.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef FACTORY_HPP
#define FACTORY_HPP
#include <iostrea... | 26.016667 | 120 | 0.483664 | PotatoMaster101 |
6003f2806f8e14f35ec256987d4da05991f1e3d9 | 14,694 | cc | C++ | components/common/core/memory/SPMemRbtree.cc | SBKarr/stappler | d9311cba0b0e9362be55feca39a866d7bccd6dff | [
"MIT"
] | 10 | 2015-06-16T16:52:53.000Z | 2021-04-15T09:21:22.000Z | components/common/core/memory/SPMemRbtree.cc | SBKarr/stappler | d9311cba0b0e9362be55feca39a866d7bccd6dff | [
"MIT"
] | 3 | 2015-09-23T10:04:00.000Z | 2020-09-10T15:47:34.000Z | components/common/core/memory/SPMemRbtree.cc | SBKarr/stappler | d9311cba0b0e9362be55feca39a866d7bccd6dff | [
"MIT"
] | 3 | 2018-11-11T00:37:49.000Z | 2020-09-07T03:04:31.000Z | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/**
Copyright (c) 2017-2019 Roman Katuntsev <sbkarr@stappler.org>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this softwar... | 25.466205 | 121 | 0.587791 | SBKarr |
6004e96ed0c659d26d4f75e8f40e34665025f6d4 | 8,651 | cpp | C++ | XPowerControl/token_retrieve.cpp | snowpoke/XPowerControl | a5e4493cde4bdc06df30dba69a9460247074fdcd | [
"MIT"
] | 4 | 2021-11-11T17:03:20.000Z | 2022-01-14T18:13:41.000Z | XPowerControl/token_retrieve.cpp | snowpoke/XPowerControl | a5e4493cde4bdc06df30dba69a9460247074fdcd | [
"MIT"
] | 1 | 2022-01-14T00:39:49.000Z | 2022-01-14T00:39:49.000Z | XPowerControl/token_retrieve.cpp | snowpoke/XPowerControl | a5e4493cde4bdc06df30dba69a9460247074fdcd | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "RetrieveTokenDlg.h"
#include "token_retrieve.h"
#include "nlohmann/json.hpp"
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
#include <fstream>
#include <curl/curl.h>
using namespace std;
HANDLE mitm_start_alt() {
DeleteFile(L"token.txt");
// we create an empty ... | 29.525597 | 125 | 0.701075 | snowpoke |
600588c1ec1fb87182fdb38910344649d62d60ad | 341,786 | hpp | C++ | Lib/Chip/Unknown/Atmel/AT91SAM9X35/UDPHS.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 376 | 2015-07-17T01:41:20.000Z | 2022-03-26T04:02:49.000Z | Lib/Chip/Unknown/Atmel/AT91SAM9X35/UDPHS.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 59 | 2015-07-03T21:30:13.000Z | 2021-03-05T11:30:08.000Z | Lib/Chip/Unknown/Atmel/AT91SAM9X35/UDPHS.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 53 | 2015-07-14T12:17:06.000Z | 2021-06-04T07:28:40.000Z | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//USB High Speed Device Port
namespace UdphsCtrl{ ///<UDPHS Control Register
using Addr = Register::Address<0xf803c000,0xfffff000,0x00000000,unsigned>;
///UDPHS Address
constexpr Register::FieldLocation<Addr,Register::maskFr... | 103.571515 | 232 | 0.746455 | cjsmeele |
6007181b87a5af1d608f11c956c0577c3c9662d9 | 8,110 | hpp | C++ | src/ssd1306/ssd1306.hpp | embvm-drivers/two-tone-oled | 7c8c52daa573e923e3e4fd5e619d509c33506f11 | [
"MIT"
] | null | null | null | src/ssd1306/ssd1306.hpp | embvm-drivers/two-tone-oled | 7c8c52daa573e923e3e4fd5e619d509c33506f11 | [
"MIT"
] | null | null | null | src/ssd1306/ssd1306.hpp | embvm-drivers/two-tone-oled | 7c8c52daa573e923e3e4fd5e619d509c33506f11 | [
"MIT"
] | null | null | null | // Copyright 2020 Embedded Artistry LLC
// SPDX-License-Identifier: MIT
#ifndef SSD1306_HPP_
#define SSD1306_HPP_
#include <driver/basic_display.hpp>
#include <driver/i2c.hpp>
#include <etl/variant_pool.h>
namespace embdrv
{
inline constexpr uint8_t DEFAULT_SSD1306_I2C_ADDR = 0x3C;
/** Driver for the SSD1306 Displa... | 35.414847 | 97 | 0.744266 | embvm-drivers |
60099d2e90089a9fc6c0e705f942fa6d9903b666 | 4,265 | cpp | C++ | src/ndnSIM/NFD/daemon/mgmt/cs-manager.cpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2021-09-07T04:12:15.000Z | 2021-09-07T04:12:15.000Z | src/ndnSIM/NFD/daemon/mgmt/cs-manager.cpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | null | null | null | src/ndnSIM/NFD/daemon/mgmt/cs-manager.cpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2020-07-15T06:21:03.000Z | 2020-07-15T06:21:03.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2018, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne... | 36.452991 | 86 | 0.666589 | NDNLink |
6009fcb833944ca0589ddb168e4d7205172054bc | 1,475 | cpp | C++ | locomotion_framework/utils/eigen_utils/src/eigen_utils.cpp | ADVRHumanoids/DrivingFramework | 34715c37bfe3c1f2bd92aeacecc12704a1a7820e | [
"Zlib"
] | 1 | 2019-12-02T07:10:42.000Z | 2019-12-02T07:10:42.000Z | locomotion_framework/utils/eigen_utils/src/eigen_utils.cpp | ADVRHumanoids/DrivingFramework | 34715c37bfe3c1f2bd92aeacecc12704a1a7820e | [
"Zlib"
] | null | null | null | locomotion_framework/utils/eigen_utils/src/eigen_utils.cpp | ADVRHumanoids/DrivingFramework | 34715c37bfe3c1f2bd92aeacecc12704a1a7820e | [
"Zlib"
] | 2 | 2020-10-22T19:06:44.000Z | 2021-06-07T03:32:52.000Z | #include "mwoibn/eigen_utils/eigen_utils.h"
#include <functional>
Eigen::Matrix<bool,Eigen::Dynamic,1> mwoibn::eigen_utils::flip(Eigen::Matrix<bool,Eigen::Dynamic,1> vector){
for(int i = 0; i < vector.size(); i++)
vector[i] = !vector[i];
return vector;
}
void mwoibn::eigen_utils::lim... | 29.5 | 108 | 0.47322 | ADVRHumanoids |
600d4ac22f265afb8ac7ccc32a98b0aca27e1c3c | 3,412 | cpp | C++ | Core/SGConnect/examples/SGConnect_TestProgram.cpp | dic-iit/SenseGlove-API | baad587d4e165d7bfafd7f0c8ee6a1ce8ad651d6 | [
"MIT"
] | null | null | null | Core/SGConnect/examples/SGConnect_TestProgram.cpp | dic-iit/SenseGlove-API | baad587d4e165d7bfafd7f0c8ee6a1ce8ad651d6 | [
"MIT"
] | null | null | null | Core/SGConnect/examples/SGConnect_TestProgram.cpp | dic-iit/SenseGlove-API | baad587d4e165d7bfafd7f0c8ee6a1ce8ad651d6 | [
"MIT"
] | 1 | 2022-03-29T07:53:42.000Z | 2022-03-29T07:53:42.000Z | // Application demonstrating the main funtion(s) of the SGConnect library.
#include <iostream> //output to console
#include "SGConnect.h" //Access SGConnect functions.
int main()
{
std::cout << "Testing " << SGConnect::GetLibraryVersion() << std::endl;
std::cout << "=========================================" << st... | 55.032258 | 180 | 0.650938 | dic-iit |
600e061e597ed6f1ad87ef753b0087a034b8c652 | 2,335 | hpp | C++ | ReactAndroid/build/third-party-ndk/boost/boost_1_57_0/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp | kimwoongkyu/react-native-0-36-1-woogie | 4fb2d44945a6305ae3ca87be3872f9432d16f1fb | [
"BSD-3-Clause"
] | 85 | 2015-02-08T20:36:17.000Z | 2021-11-14T20:38:31.000Z | ReactAndroid/build/third-party-ndk/boost/boost_1_57_0/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp | kimwoongkyu/react-native-0-36-1-woogie | 4fb2d44945a6305ae3ca87be3872f9432d16f1fb | [
"BSD-3-Clause"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | ReactAndroid/build/third-party-ndk/boost/boost_1_57_0/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp | kimwoongkyu/react-native-0-36-1-woogie | 4fb2d44945a6305ae3ca87be3872f9432d16f1fb | [
"BSD-3-Clause"
] | 27 | 2015-01-28T16:33:30.000Z | 2021-08-12T05:04:39.000Z | /*=============================================================================
Copyright (c) 2007 Tobias Schwinger
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)
=======================================... | 40.258621 | 103 | 0.68137 | kimwoongkyu |
60104de79c3e0bd1d5a1c84b41e0848d251ef410 | 1,706 | hh | C++ | core/test/multiplexing/engine/hooker.hh | centreon-lab/centreon-broker | b412470204eedc01422bbfd00bcc306dfb3d2ef5 | [
"Apache-2.0"
] | 40 | 2015-03-10T07:55:39.000Z | 2021-06-11T10:13:56.000Z | core/test/multiplexing/engine/hooker.hh | centreon-lab/centreon-broker | b412470204eedc01422bbfd00bcc306dfb3d2ef5 | [
"Apache-2.0"
] | 297 | 2015-04-30T10:02:04.000Z | 2022-03-09T13:31:54.000Z | core/test/multiplexing/engine/hooker.hh | centreon-lab/centreon-broker | b412470204eedc01422bbfd00bcc306dfb3d2ef5 | [
"Apache-2.0"
] | 29 | 2015-08-03T10:04:15.000Z | 2021-11-25T12:21:00.000Z | /*
* Copyright 2011 - 2019 Centreon (https://www.centreon.com/)
*
* 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 ... | 31.018182 | 81 | 0.723916 | centreon-lab |
6010f95b0e95193e76b0b35cc9841e7880a3740f | 1,137 | hpp | C++ | src/3rd party/boost/boost/test/unit_test.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/test/unit_test.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/test/unit_test.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | // (C) Copyright Gennadiy Rozental 2001-2002.
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all copies.
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpos... | 34.454545 | 78 | 0.562005 | OLR-xray |
601335bf34dba3f7fc4690f67510c3a971d9dc3e | 1,933 | cpp | C++ | Source/Arnoldi/file_operations.cpp | evstigneevnm/NS3DPeriodic | 094c168f153e36f00ac9103675416ddb9ee6b586 | [
"BSD-3-Clause"
] | null | null | null | Source/Arnoldi/file_operations.cpp | evstigneevnm/NS3DPeriodic | 094c168f153e36f00ac9103675416ddb9ee6b586 | [
"BSD-3-Clause"
] | null | null | null | Source/Arnoldi/file_operations.cpp | evstigneevnm/NS3DPeriodic | 094c168f153e36f00ac9103675416ddb9ee6b586 | [
"BSD-3-Clause"
] | null | null | null | #include "file_operations.h"
void print_vector(const char *f_name, int N, real *vec){
FILE *stream;
stream=fopen(f_name, "w" );
for (int i = 0; i < N; ++i)
{
fprintf(stream, "%.16le\n",(double)vec[i]);
}
fclose(stream);
}
void print_vector(const char *f_name, int N, real complex *vec){
FIL... | 15.844262 | 78 | 0.549405 | evstigneevnm |
60148b4214239e2e40b7308dfc99941db587df6a | 5,315 | cpp | C++ | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Responding to the appearance of the on-screen keyboard sample (Windows 8)/C++/KeyboardPage.xaml.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Responding to the appearance of the on-screen keyboard sample (Windows 8)/C++/KeyboardPage.xaml.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Responding to the appearance of the on-screen keyboard sample (Windows 8)/C++/KeyboardPage.xaml.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | //
// KeyboardPage.xaml.cpp
// Implementation of the KeyboardPage class
//
#include "pch.h"
#include "KeyboardPage.xaml.h"
using namespace KeyboardEventsSampleCPP;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
usin... | 37.964286 | 138 | 0.73095 | alonmm |
60174d9387b3aed66cf6af7aa9d534eb5bd9463a | 726 | hh | C++ | src/memory/RomDooly.hh | lutris/openmsx | 91ed35400c7b4c8c460004710736af9abc4dde29 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 5 | 2015-02-27T21:42:28.000Z | 2021-10-10T23:36:08.000Z | src/memory/RomDooly.hh | lutris/openmsx | 91ed35400c7b4c8c460004710736af9abc4dde29 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/memory/RomDooly.hh | lutris/openmsx | 91ed35400c7b4c8c460004710736af9abc4dde29 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 2 | 2015-06-15T09:57:56.000Z | 2017-05-14T01:11:48.000Z | #ifndef ROMDOOLY_HH
#define ROMDOOLY_HH
#include "MSXRom.hh"
namespace openmsx {
class RomBlockDebuggable;
class RomDooly : public MSXRom
{
public:
RomDooly(const DeviceConfig& config, std::unique_ptr<Rom> rom);
virtual ~RomDooly();
virtual void reset(EmuTime::param time);
virtual byte peekMem(word address, Em... | 22 | 70 | 0.77135 | lutris |
6017f3c3e6b3f7e9f26a4c970037089f7cc26724 | 1,995 | cpp | C++ | openmp/cplusplus/src/viz.cpp | rohanvarma16/pcseg | 574b9cd7b42f8aff49f4a9a7baf3a8a2c316a092 | [
"MIT"
] | 23 | 2017-12-06T02:23:52.000Z | 2022-02-13T22:17:11.000Z | openmp/cplusplus/src/viz.cpp | zjsprit/pcseg | 574b9cd7b42f8aff49f4a9a7baf3a8a2c316a092 | [
"MIT"
] | null | null | null | openmp/cplusplus/src/viz.cpp | zjsprit/pcseg | 574b9cd7b42f8aff49f4a9a7baf3a8a2c316a092 | [
"MIT"
] | 11 | 2018-01-02T07:56:09.000Z | 2022-01-12T05:36:43.000Z | #include <iostream>
#include <stdio.h>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/common/common_headers.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/console/parse.h>
boost::shared_ptr<pcl::visualization::PCLVisualizer> simpleVis (pcl::PointCloud<pcl::PointXYZ>::ConstPtr ... | 37.641509 | 116 | 0.66015 | rohanvarma16 |
601966b3b5d36aafc39aed9b7c8f19e1ce44e757 | 11,611 | cc | C++ | chromium/content/ppapi_plugin/broker_process_dispatcher.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/content/ppapi_plugin/broker_process_dispatcher.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/content/ppapi_plugin/broker_process_dispatcher.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 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 "content/ppapi_plugin/broker_process_dispatcher.h"
#include <stddef.h>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base... | 35.07855 | 80 | 0.759538 | wedataintelligence |
6019af95b2f08eba5ea29d6b050d91ccc499a98d | 1,576 | cpp | C++ | typical90/052-DiceProduct/dice-product.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | typical90/052-DiceProduct/dice-product.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | typical90/052-DiceProduct/dice-product.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | /*
052 - Dice Product(★3)
https://atcoder.jp/contests/typical90/tasks/typical90_az
Author: Keitaro Naruse
Date: 2021-12-18, 2022-01-02
MIT License
*/
// # Solution
// - sum1 = ( A11 + A12 + ... + A16 )
// - sum2 = ( A21 + A22 + ... + A26 )
// - sum1 * sum2
// = A11*A21 + A11*A2... | 22.514286 | 73 | 0.434645 | keitaronaruse |
6019b7ca1a2a8c0e38c029fe2e59c74affcc73ea | 4,739 | cpp | C++ | src/leaf-node-cylinder.cpp | nassimeblinlaas/gepetto-viewer | f47dc13f73c5667c66f1c5273aa0740d62fe9240 | [
"BSD-3-Clause"
] | null | null | null | src/leaf-node-cylinder.cpp | nassimeblinlaas/gepetto-viewer | f47dc13f73c5667c66f1c5273aa0740d62fe9240 | [
"BSD-3-Clause"
] | null | null | null | src/leaf-node-cylinder.cpp | nassimeblinlaas/gepetto-viewer | f47dc13f73c5667c66f1c5273aa0740d62fe9240 | [
"BSD-3-Clause"
] | null | null | null | //
// leaf-node-cylinder.cpp
// gepetto-viewer
//
// Created by Justin Carpentier, Mathieu Geisert in November 2014.
// Copyright (c) 2014 LAAS-CNRS. All rights reserved.
//
#include <gepetto/viewer/leaf-node-cylinder.h>
namespace graphics {
/* Declaration of private function members */
void Lea... | 29.61875 | 143 | 0.627348 | nassimeblinlaas |
601afe56f19d2d76bbcc3398c9080b454d63c246 | 1,441 | hpp | C++ | src/muxer/async_webm_muxer.hpp | kounoike/hisui | 7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce | [
"Apache-2.0"
] | null | null | null | src/muxer/async_webm_muxer.hpp | kounoike/hisui | 7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce | [
"Apache-2.0"
] | null | null | null | src/muxer/async_webm_muxer.hpp | kounoike/hisui | 7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <memory>
#include <vector>
#include "config.hpp"
#include "metadata.hpp"
#include "muxer/muxer.hpp"
#include "webm/output/context.hpp"
namespace hisui {
struct Frame;
}
namespace hisui::muxer {
struct AsyncWebMMuxerParameters {
const std::vector<hisui::ArchiveItem>& audio_archive_items;
... | 24.423729 | 72 | 0.754337 | kounoike |
601e3a317283eb1332a1e9fcb77c0f6dd2d157ab | 4,363 | cc | C++ | content/browser/android/content_readback_handler.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-01-16T03:57:39.000Z | 2019-01-16T03:57:39.000Z | content/browser/android/content_readback_handler.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | content/browser/android/content_readback_handler.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 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 "content/browser/android/content_readback_handler.h"
#include "base/android/jni_android.h"
#include "base/bind.h"
#include "cc/output/copy_outpu... | 34.626984 | 79 | 0.643594 | aranajhonny |
601ebfe9ef0bfa179d088411632824bddd4f9b01 | 13,638 | cpp | C++ | Minuit/src/MnUserParameterState.cpp | cdeil/iminuit | 8880106e8ba0df18c529c48cd193ba4411ef58b9 | [
"MIT"
] | null | null | null | Minuit/src/MnUserParameterState.cpp | cdeil/iminuit | 8880106e8ba0df18c529c48cd193ba4411ef58b9 | [
"MIT"
] | null | null | null | Minuit/src/MnUserParameterState.cpp | cdeil/iminuit | 8880106e8ba0df18c529c48cd193ba4411ef58b9 | [
"MIT"
] | null | null | null | #include "Minuit/MnUserParameterState.h"
#include "Minuit/MnCovarianceSqueeze.h"
#include "Minuit/MinimumState.h"
//
// construct from user parameters (befor minimization)
//
MnUserParameterState::MnUserParameterState(const std::vector<double>& par, const std::vector<double>& err) : theValid(true), theCovarianceValid(... | 40.832335 | 434 | 0.675026 | cdeil |
6021051571b9d934c075cf3db78499e18e22f93a | 3,207 | hpp | C++ | Socket/test_tcpThreadPool_traslater/TcpServer.hpp | Mr-Hunter/Linux | dc222abe4e961a65282d7bc8ac6a301657386ddc | [
"Apache-2.0"
] | 2 | 2018-10-30T08:06:57.000Z | 2019-12-12T03:05:58.000Z | Socket/test_tcpThreadPool_traslater/TcpServer.hpp | Mr-Hunter/Linux | dc222abe4e961a65282d7bc8ac6a301657386ddc | [
"Apache-2.0"
] | null | null | null | Socket/test_tcpThreadPool_traslater/TcpServer.hpp | Mr-Hunter/Linux | dc222abe4e961a65282d7bc8ac6a301657386ddc | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <iostream>
#include <string>
#include <cstring>
#include <strings.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <pthread.h>
#include <unordered_map>
#inc... | 17.335135 | 77 | 0.516994 | Mr-Hunter |
e743b74123793aa76809f07861c8e23d68a367cb | 733 | cpp | C++ | CodeForces/Rating 1200/982A.Row.cpp | GouravKhunger/Competetive-Programming | 0c50807242233c267c1a170150a88bd8b16ceb05 | [
"MIT"
] | 1 | 2020-11-23T11:47:01.000Z | 2020-11-23T11:47:01.000Z | CodeForces/Rating 1200/982A.Row.cpp | GouravKhunger/Competetive-Programming | 0c50807242233c267c1a170150a88bd8b16ceb05 | [
"MIT"
] | null | null | null | CodeForces/Rating 1200/982A.Row.cpp | GouravKhunger/Competetive-Programming | 0c50807242233c267c1a170150a88bd8b16ceb05 | [
"MIT"
] | null | null | null | // https://codeforces.com/problemset/problem/982/A
// Row
// File Creation Date: 2-Dec-2020
// Author: Gourav(https://github.com/GouravKhunger)
#include <bits/stdc++.h>
using namespace std;
#define FIO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
int main() {
FIO;
int t;
cin>>t;
... | 25.275862 | 71 | 0.527967 | GouravKhunger |
e7454bbf6d0a7a84493d557527012dd560140a1a | 3,219 | hpp | C++ | include/gridtools/stencil_composition/level.hpp | mbianco/gridtools | 1abef09881a31495a3d02a15d3fe21620c6dde98 | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/stencil_composition/level.hpp | mbianco/gridtools | 1abef09881a31495a3d02a15d3fe21620c6dde98 | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/stencil_composition/level.hpp | mbianco/gridtools | 1abef09881a31495a3d02a15d3fe21620c6dde98 | [
"BSD-3-Clause"
] | 1 | 2019-06-14T10:35:50.000Z | 2019-06-14T10:35:50.000Z | /*
* GridTools
*
* Copyright (c) 2014-2019, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include <type_traits>
#include "../common/defs.hpp"
#include "../meta/macros.hpp"
namespace gridtools {
name... | 35.373626 | 117 | 0.664181 | mbianco |
e7454cd549edffe90c02d83dc17418fc4245623c | 6,613 | cxx | C++ | sip/sipstack/SipWwwAuthenticate.cxx | icahoon/vocal | f2c67ec0561d7de764420e81793afde5ce81e965 | [
"VSL-1.0"
] | 5 | 2017-10-09T11:47:47.000Z | 2022-02-28T01:37:15.000Z | sip/sipstack/SipWwwAuthenticate.cxx | greearb/vocal-ct | 35abdcd8732ce3a3bc936b523c895b0d5239c3b6 | [
"VSL-1.0"
] | null | null | null | sip/sipstack/SipWwwAuthenticate.cxx | greearb/vocal-ct | 35abdcd8732ce3a3bc936b523c895b0d5239c3b6 | [
"VSL-1.0"
] | null | null | null |
/* ====================================================================
* The Vovida Software License, Version 1.0
*
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | 26.242063 | 87 | 0.652351 | icahoon |
e7487d067cf6a536c32587a63bb291888da663e4 | 1,231 | cpp | C++ | ThrowThingsTemplate/Vixen/source/vgraphics/vix_glcamera3d.cpp | eric-fonseca/Throw-Things-at-Monsters | c92d9cd4e244d4ddb54b74e8508cba2b6408abb7 | [
"MIT"
] | null | null | null | ThrowThingsTemplate/Vixen/source/vgraphics/vix_glcamera3d.cpp | eric-fonseca/Throw-Things-at-Monsters | c92d9cd4e244d4ddb54b74e8508cba2b6408abb7 | [
"MIT"
] | null | null | null | ThrowThingsTemplate/Vixen/source/vgraphics/vix_glcamera3d.cpp | eric-fonseca/Throw-Things-at-Monsters | c92d9cd4e244d4ddb54b74e8508cba2b6408abb7 | [
"MIT"
] | null | null | null | #include <vix_glcamera3d.h>
namespace Vixen {
GLCamera3D::GLCamera3D()
: m_aspect(0.0f),
m_fov(0.0f),
m_znear(1.0f),
m_zfar(1000.0f),
m_position(0.0f),
m_target(0.0f, 0.0f, -1.0f),
m_up(0.0f, 1.0f, 0.0f)
{
}
void GLCamera3D::SetPerspective(float aspect, float fov, float znear, float ... | 18.373134 | 82 | 0.662063 | eric-fonseca |
e74d07804d273033c242b5c9b5f1adbc42f55740 | 471 | hpp | C++ | Source/Engine/src/include/SceneData/Background.hpp | DatZach/Swift | b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7 | [
"MIT"
] | null | null | null | Source/Engine/src/include/SceneData/Background.hpp | DatZach/Swift | b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7 | [
"MIT"
] | null | null | null | Source/Engine/src/include/SceneData/Background.hpp | DatZach/Swift | b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7 | [
"MIT"
] | 1 | 2021-10-30T20:43:01.000Z | 2021-10-30T20:43:01.000Z | /*
* background.hpp
* Scene Data Background
*/
#ifndef __SCENE_DATA_BACKGROUND_HPP
#define __SCENE_DATA_BACKGROUND_HPP
#include <string>
#include <Video/Color.hpp>
#include <SceneData/Section.hpp>
#define SD_TAG_BACKGROUND SD_TAG_VALUE('B', 'K', 'G', 'D')
namespace SceneData
{
class Background : public ISecti... | 15.193548 | 60 | 0.713376 | DatZach |
e750b7de03729d87d1f6a7cb78f4d7274901b8ee | 2,380 | cpp | C++ | CogEye/App/src/CogQueue.cpp | Bounty556/CogEye | c4f678cad9542f7d595510849779ffb46f26e016 | [
"Apache-2.0"
] | null | null | null | CogEye/App/src/CogQueue.cpp | Bounty556/CogEye | c4f678cad9542f7d595510849779ffb46f26e016 | [
"Apache-2.0"
] | null | null | null | CogEye/App/src/CogQueue.cpp | Bounty556/CogEye | c4f678cad9542f7d595510849779ffb46f26e016 | [
"Apache-2.0"
] | null | null | null | #include "CogQueue.h"
#include <UI/UISprite.h>
CogQueue::CogQueue(Soul::FontManager& fonts, Soul::TextureManager& textures, u32 smallCogs, u32 medCogs, u32 largeCogs) :
m_UI(),
m_Listener()
{
m_CogsLeft[0] = smallCogs;
m_CogsLeft[1] = medCogs;
m_CogsLeft[2] = largeCogs;
m_CogText[0] = PARTITION(Soul::UILabel, S... | 29.75 | 134 | 0.706303 | Bounty556 |
e751056b30506bc59dd67104967da04f5777682f | 7,929 | cc | C++ | src/api/operator/numpy_extension/npx_deconvolution_op.cc | t-triobox/incubator-mxnet | 93aa9e33fcb2f216179c691ed9461bc96e37ae70 | [
"Apache-2.0"
] | 1 | 2022-03-03T18:41:44.000Z | 2022-03-03T18:41:44.000Z | src/api/operator/numpy_extension/npx_deconvolution_op.cc | t-triobox/incubator-mxnet | 93aa9e33fcb2f216179c691ed9461bc96e37ae70 | [
"Apache-2.0"
] | null | null | null | src/api/operator/numpy_extension/npx_deconvolution_op.cc | t-triobox/incubator-mxnet | 93aa9e33fcb2f216179c691ed9461bc96e37ae70 | [
"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 ... | 37.400943 | 98 | 0.588347 | t-triobox |
e7535025071ac0e1457f54d03f844c224dbc716f | 3,881 | cpp | C++ | 03_FreeRTOS/user/RCC.cpp | AVilezhaninov/NUCLEO-H753ZI | cc60a653814becfee3dce07f3f8ef6adba7698a0 | [
"MIT"
] | null | null | null | 03_FreeRTOS/user/RCC.cpp | AVilezhaninov/NUCLEO-H753ZI | cc60a653814becfee3dce07f3f8ef6adba7698a0 | [
"MIT"
] | null | null | null | 03_FreeRTOS/user/RCC.cpp | AVilezhaninov/NUCLEO-H753ZI | cc60a653814becfee3dce07f3f8ef6adba7698a0 | [
"MIT"
] | null | null | null | #include "user\RCC.h"
namespace rcc {
/******************************************************************************/
/* Private definitions ********************************************************/
/******************************************************************************/
#define DIVN1 480u
#define DIVP1 ... | 26.222973 | 80 | 0.55965 | AVilezhaninov |
e7546c697244d3940b24b00b6e0d9faf5b6f670c | 1,188 | cpp | C++ | Aurora-lwip-sgx/Enclave/smx/randombytes.cpp | Maxul/Aurora | c4315574f85b04f8575e7ff14bc251317b9ca5db | [
"MIT"
] | 8 | 2020-03-16T06:34:49.000Z | 2021-12-06T01:50:54.000Z | Aurora-lwip-sgx/Enclave/smx/randombytes.cpp | Maxul/Aurora | c4315574f85b04f8575e7ff14bc251317b9ca5db | [
"MIT"
] | null | null | null | Aurora-lwip-sgx/Enclave/smx/randombytes.cpp | Maxul/Aurora | c4315574f85b04f8575e7ff14bc251317b9ca5db | [
"MIT"
] | 1 | 2021-12-06T01:50:56.000Z | 2021-12-06T01:50:56.000Z | #include <stdint.h>
#include <stdlib.h>
#include <sgx_trts.h>
#include "core.h"
#include "randombytes.h"
#include "utils.h"
#define RDRAND_RETRY_LOOPS 10
static inline uint8_t rdrand_32(uint32_t *rand)
{
uint8_t carry;
__asm__ __volatile__(
".byte 0x0f; .byte 0xc7; .byte 0xf0; setc %1"
: "=a" (*rand)... | 19.47541 | 74 | 0.63468 | Maxul |
e7579709126b41001fd74c4614acd937040ae635 | 6,565 | cpp | C++ | src/moveitPlugin/arm_action_server.cpp | jpmerc/perception3d | f0eef9271afdf9b9100448b88ae1921a97bbba88 | [
"BSD-3-Clause"
] | null | null | null | src/moveitPlugin/arm_action_server.cpp | jpmerc/perception3d | f0eef9271afdf9b9100448b88ae1921a97bbba88 | [
"BSD-3-Clause"
] | null | null | null | src/moveitPlugin/arm_action_server.cpp | jpmerc/perception3d | f0eef9271afdf9b9100448b88ae1921a97bbba88 | [
"BSD-3-Clause"
] | null | null | null | #include <ros/ros.h>
#include <actionlib/server/simple_action_server.h>
#include <control_msgs/FollowJointTrajectoryAction.h>
#include <control_msgs/JointTolerance.h>
//#include <jaco_msgs/JointVelocity.h>
//#include <jaco_msgs/JointAngles.h>
//#include <jaco_msgs/ArmJointAnglesAction.h>
#include <trajectory_msgs/Joint... | 34.73545 | 169 | 0.621325 | jpmerc |
e758d0344fcfddfb9d6950db440615cc1b820b6f | 5,948 | cpp | C++ | plugin_III/game_III/CGlass.cpp | gta-chaos-mod/plugin-sdk | e3bf176337774a2afc797a47825f81adde78e899 | [
"Zlib"
] | 368 | 2015-01-01T21:42:00.000Z | 2022-03-29T06:22:22.000Z | plugin_III/game_III/CGlass.cpp | SteepCheat/plugin-sdk | a17c5d933cb8b06e4959b370092828a6a7aa00ef | [
"Zlib"
] | 89 | 2016-05-08T06:42:36.000Z | 2022-03-29T06:49:09.000Z | plugin_III/game_III/CGlass.cpp | SteepCheat/plugin-sdk | a17c5d933cb8b06e4959b370092828a6a7aa00ef | [
"Zlib"
] | 179 | 2015-02-03T23:41:17.000Z | 2022-03-26T08:27:16.000Z | /*
Plugin-SDK (Grand Theft Auto 3) source file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "CGlass.h"
PLUGIN_SOURCE_FILE
PLUGIN_VARIABLE CFallingGlassPane(&CGlass::aGlassPanes)[45] = *reinterpret_cast<C... | 49.983193 | 212 | 0.797747 | gta-chaos-mod |
e75ae793f8ca79902f871c78a0ea90bcf14429ad | 14,936 | hpp | C++ | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/pending/property.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/pending/property.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/pending/property.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | // (C) Copyright Jeremy Siek 2004
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PROPERTY_HPP
#define BOOST_PROPERTY_HPP
#include <boost/mpl/bool.hpp>
#include <boost/mpl/has_xxx.hpp>
#includ... | 35.817746 | 80 | 0.520956 | sotaoverride |
e75e329552effe06f405ddcff77e435c3472c621 | 1,113 | cpp | C++ | src/generator.cpp | jeanpierrethach/FreeFlow-Grid-Solver- | 5cbfd8350c42e740a24fe7ce945edd391334c378 | [
"Apache-2.0"
] | 1 | 2019-07-03T04:35:35.000Z | 2019-07-03T04:35:35.000Z | src/generator.cpp | jeanpierrethach/FreeFlow-Grid-Solver- | 5cbfd8350c42e740a24fe7ce945edd391334c378 | [
"Apache-2.0"
] | 4 | 2016-10-31T03:11:24.000Z | 2016-11-29T20:44:30.000Z | src/generator.cpp | jeanpierrethach/FreeFlow-Grid-Solver- | 5cbfd8350c42e740a24fe7ce945edd391334c378 | [
"Apache-2.0"
] | null | null | null | #include "generator.h"
#include <random>
Generator::Generator()
{
generateColorPalette(50);
}
void Generator::generateColorPalette(int nbColors)
{
// hue [0, 360), saturation [0, 255),
// lightness [0, 255), alpha-transparency [0, 255]
for(int i = 0; i < 360; i += 360 / nbColors)
... | 24.195652 | 81 | 0.617251 | jeanpierrethach |
e76181e4c071ec31021d0a0d333358ff1149421a | 8,998 | hpp | C++ | include/oneapi/mkl/rng/detail/engine_impl.hpp | andrewtbarker/oneMKL | 722f6c51b528a2bc09bf549b1097f7d8fdc37826 | [
"Apache-2.0"
] | null | null | null | include/oneapi/mkl/rng/detail/engine_impl.hpp | andrewtbarker/oneMKL | 722f6c51b528a2bc09bf549b1097f7d8fdc37826 | [
"Apache-2.0"
] | null | null | null | include/oneapi/mkl/rng/detail/engine_impl.hpp | andrewtbarker/oneMKL | 722f6c51b528a2bc09bf549b1097f7d8fdc37826 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2020-2021 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | 45.444444 | 100 | 0.589575 | andrewtbarker |
e76bd96ac07b3e42ccc24462b7460967a2050df3 | 29,040 | cpp | C++ | scenes/avion.cpp | nissmar/Paper_Plane_VCL | 04c51d57cac6772ffa7b39008ba4fc33d6a24610 | [
"MIT"
] | null | null | null | scenes/avion.cpp | nissmar/Paper_Plane_VCL | 04c51d57cac6772ffa7b39008ba4fc33d6a24610 | [
"MIT"
] | null | null | null | scenes/avion.cpp | nissmar/Paper_Plane_VCL | 04c51d57cac6772ffa7b39008ba4fc33d6a24610 | [
"MIT"
] | 1 | 2020-05-21T16:02:51.000Z | 2020-05-21T16:02:51.000Z | #include "avion.hpp"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#ifdef SCENE_AVION
using namespace vcl;
static void set_gui(timer_basic& timer, plane_physics& pphy, camera_physics& cphy);
//avion
void init_phy_cam(plane_physics& pphy, camera_physics& cphy);
void physic_model(plane_phys... | 33.806752 | 195 | 0.55489 | nissmar |
e76f03073a0f9994d498e442e6fb15306d5b1d46 | 8,472 | cpp | C++ | SDL_Guide 03 Image Loading & Rendering/main.cpp | xeek-pro/SDL_Guide | 16c9fbff4dd246b73e984ab4149e94ef418e532a | [
"MIT"
] | 3 | 2020-07-13T04:49:27.000Z | 2020-07-24T21:27:43.000Z | SDL_Guide 03 Image Loading & Rendering/main.cpp | xeek-pro/sdl_guide | 16c9fbff4dd246b73e984ab4149e94ef418e532a | [
"MIT"
] | null | null | null | SDL_Guide 03 Image Loading & Rendering/main.cpp | xeek-pro/sdl_guide | 16c9fbff4dd246b73e984ab4149e94ef418e532a | [
"MIT"
] | 1 | 2021-07-13T13:48:18.000Z | 2021-07-13T13:48:18.000Z | #include <SDL.h>
#include <iostream>
#include <sstream>
#include <string>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h" // https://github.com/nothings/stb/blob/master/stb_image.h
int main(int argc, char* argv[])
{
std::string app_title = "SDL_Guide 03: Image Loading & Rendering";
int display_width = ... | 50.428571 | 144 | 0.561851 | xeek-pro |