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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7e8bb4728b5279bf4c5bbdc6c61b7b57604fe1ea | 3,697 | cpp | C++ | src/framework/wiced-43xxx/apps/E9000SPC/E9000SPC.cpp | OlafFilies/magnetic-angle-sensor | 87618e9df29ab278e2af5eea7d9120769e197f9f | [
"MIT"
] | 39 | 2019-01-08T23:35:11.000Z | 2022-03-13T23:43:04.000Z | src/framework/wiced-43xxx/apps/E9000SPC/E9000SPC.cpp | OlafFilies/magnetic-angle-sensor | 87618e9df29ab278e2af5eea7d9120769e197f9f | [
"MIT"
] | 16 | 2018-11-18T19:19:41.000Z | 2022-02-14T14:09:37.000Z | src/framework/wiced-43xxx/apps/E9000SPC/E9000SPC.cpp | OlafFilies/magnetic-angle-sensor | 87618e9df29ab278e2af5eea7d9120769e197f9f | [
"MIT"
] | 21 | 2019-01-18T01:32:47.000Z | 2022-02-19T15:51:08.000Z | /*!
* \name E9000SPC
* \author Infineon Technologies AG
* \copyright 2020 Infineon Technologies AG
* \version 3.0.1
* \brief This example shows how to handle the TLE5012B-E9000 variant with SPC interface
* \details
* The TLE5012B-E9000 with SPC interface does not start the DSP automatical... | 27.589552 | 100 | 0.659183 | OlafFilies |
7e8c117e3c4ce75f2a2324ac82f4117c1413e380 | 209 | cpp | C++ | multimedia/danim/src/daxctl/util/idguids.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | multimedia/danim/src/daxctl/util/idguids.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | multimedia/danim/src/daxctl/util/idguids.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "UtilPre.h"
#include <objbase.h>
#include <initguid.h>
#include <IdGuids.h>
#include <ddraw.h> // IID_IDirectDrawSurface
#include "bfid_rgb.h" // BFID_RGB_...
#include "debug.h"
| 16.076923 | 50 | 0.641148 | npocmaka |
7e8df99410c2223be2133985d5bc42efd7d35867 | 7,012 | cxx | C++ | LiverMarkups/VTKWidgets/vtkSlicerSlicingContourRepresentation3D.cxx | ALive-research/Slicer-Liver | 3d0b17c812a865f67a4867ff2c8c11de07b7fe3b | [
"BSD-3-Clause"
] | 3 | 2022-01-21T18:16:08.000Z | 2022-02-17T09:04:03.000Z | LiverMarkups/VTKWidgets/vtkSlicerSlicingContourRepresentation3D.cxx | SINTEFMedtek/Slicer-Liver | 3d0b17c812a865f67a4867ff2c8c11de07b7fe3b | [
"BSD-3-Clause"
] | 73 | 2022-01-15T21:30:50.000Z | 2022-03-31T09:54:10.000Z | LiverMarkups/VTKWidgets/vtkSlicerSlicingContourRepresentation3D.cxx | SINTEFMedtek/Slicer-Liver | 3d0b17c812a865f67a4867ff2c8c11de07b7fe3b | [
"BSD-3-Clause"
] | 2 | 2022-01-15T21:12:48.000Z | 2022-01-19T11:43:29.000Z | /*==============================================================================
Distributed under the OSI-approved BSD 3-Clause License.
Copyright (c) Oslo University Hospital. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that th... | 38.527473 | 131 | 0.703793 | ALive-research |
7e8f1af6d2e8ff45cce4d294a773ca4c0deda7bf | 37,145 | cpp | C++ | src/cm_server/cms_disk_check.cpp | opengauss-mirror/CM | 79664cf29912421163ebca4485fc8e0376a81b95 | [
"MulanPSL-1.0"
] | null | null | null | src/cm_server/cms_disk_check.cpp | opengauss-mirror/CM | 79664cf29912421163ebca4485fc8e0376a81b95 | [
"MulanPSL-1.0"
] | null | null | null | src/cm_server/cms_disk_check.cpp | opengauss-mirror/CM | 79664cf29912421163ebca4485fc8e0376a81b95 | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (c) 2021 Huawei Technologies Co.,Ltd.
*
* CM is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ON AN "... | 44.062871 | 120 | 0.593539 | opengauss-mirror |
7e93730a5524af2733b0866ee0c6c679294c26a9 | 2,579 | cpp | C++ | main.cpp | ei14/qecvec | e097d0a205889ec65362992c4171ae535bc113a5 | [
"MIT"
] | null | null | null | main.cpp | ei14/qecvec | e097d0a205889ec65362992c4171ae535bc113a5 | [
"MIT"
] | null | null | null | main.cpp | ei14/qecvec | e097d0a205889ec65362992c4171ae535bc113a5 | [
"MIT"
] | null | null | null | #include "qecvec.hpp"
int main() {
printf("\n\n\nVec2f\n\n");
Vec2f a;
a = Vec2f::polar(1, 3.14159265);
printf("Magnitude 1, phase pi \t %s\n", a.string());
a = Vec2f::zero();
printf("Zero \t %s\n", a.string());
a = Vec2f::up();
printf("Up \t %s\n", a.string());
a = Vec2f::down();
printf("Down \t %s\n",... | 19.838462 | 67 | 0.519969 | ei14 |
7e9393a6864a46b82d7390aa9a57096f9bc90279 | 5,777 | cpp | C++ | library/clinfo.cpp | junxnone/intel-telemetry-tool | a2377b8571143e19cda271445af410e0d42a14cd | [
"MIT"
] | null | null | null | library/clinfo.cpp | junxnone/intel-telemetry-tool | a2377b8571143e19cda271445af410e0d42a14cd | [
"MIT"
] | null | null | null | library/clinfo.cpp | junxnone/intel-telemetry-tool | a2377b8571143e19cda271445af410e0d42a14cd | [
"MIT"
] | null | null | null | #include "clinfo.h"
ClInfo::ClInfo(cl_device_type devType)
{
std::vector<cl_platform_id> platforms;
std::vector<cl_device_id> devices;
cl_device_id device;
GetPlatforms(platforms);
for (auto platform : platforms)
{
GetDevices(platform, devices, devType);
if (devices.siz... | 48.546218 | 102 | 0.320235 | junxnone |
7e9413d2b32c340d01139bd4040b580b3f05eeaf | 6,808 | cpp | C++ | lobster/src/tonative.cpp | RomanVolak/treesheets | 5b524a61ca14babd58dc18d941ca9a59a56416c4 | [
"Zlib"
] | 1,278 | 2015-01-08T18:17:39.000Z | 2022-03-31T22:11:11.000Z | lobster/src/tonative.cpp | RomanVolak/treesheets | 5b524a61ca14babd58dc18d941ca9a59a56416c4 | [
"Zlib"
] | 180 | 2015-01-02T12:23:18.000Z | 2022-03-31T01:52:02.000Z | lobster/src/tonative.cpp | RomanVolak/treesheets | 5b524a61ca14babd58dc18d941ca9a59a56416c4 | [
"Zlib"
] | 139 | 2015-03-16T09:17:52.000Z | 2022-03-30T06:15:04.000Z | // Copyright 2014 Wouter van Oortmerssen. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 37.406593 | 104 | 0.522033 | RomanVolak |
7e99c14a37f147799436e5e4455404f95648dd88 | 1,021 | cpp | C++ | Cocos2dx-3x/PhotoExample/cocos2d/templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.cpp | ezibyte/EziSocial-PhotoExample | 12818880696d3f76ffd5b66646bab21fa3619821 | [
"Apache-2.0"
] | null | null | null | Cocos2dx-3x/PhotoExample/cocos2d/templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.cpp | ezibyte/EziSocial-PhotoExample | 12818880696d3f76ffd5b66646bab21fa3619821 | [
"Apache-2.0"
] | null | null | null | Cocos2dx-3x/PhotoExample/cocos2d/templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.cpp | ezibyte/EziSocial-PhotoExample | 12818880696d3f76ffd5b66646bab21fa3619821 | [
"Apache-2.0"
] | null | null | null | #include "AppDelegate.h"
#include "CCLuaEngine.h"
#include "SimpleAudioEngine.h"
#include "cocos2d.h"
using namespace CocosDenshion;
USING_NS_CC;
using namespace std;
AppDelegate::AppDelegate()
{
}
AppDelegate::~AppDelegate()
{
SimpleAudioEngine::end();
}
bool AppDelegate::applicationDidFinishLaunching()
{
... | 22.195652 | 101 | 0.738492 | ezibyte |
7e9ce494b05ebb65dc8e44c48ee27d3d92e0ac50 | 4,087 | hh | C++ | tce/src/tools/CmdLineParser.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 74 | 2015-10-22T15:34:10.000Z | 2022-03-25T07:57:23.000Z | tce/src/tools/CmdLineParser.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 79 | 2015-11-19T09:23:08.000Z | 2022-01-12T14:15:16.000Z | tce/src/tools/CmdLineParser.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 38 | 2015-11-17T10:12:23.000Z | 2022-03-25T07:57:24.000Z | /*
Copyright (c) 2002-2009 Tampere University.
This file is part of TTA-Based Codesign Environment (TCE).
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, ... | 33.227642 | 78 | 0.714216 | kanishkan |
7e9e25787e2697a9798f8b6e19ba25b9a42a05ca | 55,881 | cpp | C++ | Samples/Win7Samples/winbase/imapi/imapiv2/erasesample/erasesample/Utility.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/winbase/imapi/imapiv2/erasesample/erasesample/Utility.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/winbase/imapi/imapiv2/erasesample/erasesample/Utility.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | /*--
Copyright (C) Microsoft Corporation, 2006
Utility functions
--*/
#include "stdafx.h"
SENSE_INFOMATION AllowedSenseForLongOperations[] = {
{SCSI_SENSE_NOT_READY, SCSI_ADSENSE_LUN_NOT_READY, 0xFF, 0}, // not ready
{SCSI_SENSE_ILLEGAL_REQUEST, 0xFF, 0xFF, 0},
{SCSI_SENSE_UNIT_ATTEN... | 36.2393 | 239 | 0.502425 | windows-development |
7e9f12e45047b8a5c8fdc530a1bc749f1ca4f919 | 2,598 | cc | C++ | squid/squid3-3.3.8.spaceify/test-suite/ESIExpressions.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-01-20T15:25:34.000Z | 2017-12-20T06:47:42.000Z | squid/squid3-3.3.8.spaceify/test-suite/ESIExpressions.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-05-15T09:32:55.000Z | 2016-02-18T13:43:31.000Z | squid/squid3-3.3.8.spaceify/test-suite/ESIExpressions.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | null | null | null |
/*
* DEBUG: section 86 ESI Expressions
* AUTHOR: Robert Collins
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
* Squid is the result of efforts by numerous individuals from
* the Internet community; see the CONTRIBUTORS file f... | 32.074074 | 74 | 0.537721 | spaceify |
7ea48d0735537d87e96423a1747f1611ed36ab01 | 3,822 | cpp | C++ | src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_triggered_camera.cpp | snorman35/delivery_robot | a578628464aa4a04ab213d0002e393e868057dc7 | [
"MIT"
] | 7 | 2022-02-17T23:29:45.000Z | 2022-03-12T09:23:54.000Z | src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_triggered_camera.cpp | snorman35/delivery_robot | a578628464aa4a04ab213d0002e393e868057dc7 | [
"MIT"
] | 1 | 2021-06-05T07:58:03.000Z | 2021-06-05T07:58:03.000Z | src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_triggered_camera.cpp | snorman35/delivery_robot | a578628464aa4a04ab213d0002e393e868057dc7 | [
"MIT"
] | 1 | 2018-12-09T22:05:47.000Z | 2018-12-09T22:05:47.000Z | /*
* Copyright 2017 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 28.522388 | 99 | 0.693878 | snorman35 |
7ea4b67bb7449b3eadf3d6bd5a979e4ff8676dd5 | 4,951 | cpp | C++ | threads/Transporter.cpp | Decision2016/Camel-Server | be83015e79be68f9250daa9c494db746c75f8780 | [
"MIT"
] | null | null | null | threads/Transporter.cpp | Decision2016/Camel-Server | be83015e79be68f9250daa9c494db746c75f8780 | [
"MIT"
] | null | null | null | threads/Transporter.cpp | Decision2016/Camel-Server | be83015e79be68f9250daa9c494db746c75f8780 | [
"MIT"
] | null | null | null | //
// Created by Decision on 2020/6/9.
//
#include "Transporter.h"
Transporter::Transporter(int _port, Logger *_logger) : BaseClass(_port, _logger){}
void Transporter::threadInstance() {
int n,socket_fd;
unsigned long long statusCode, length, current;
socket_fd = accept(listen_fd, (sockaddr*)nullptr, nul... | 30.561728 | 90 | 0.580893 | Decision2016 |
7ea957f76da65ecafd1cf1fea105d9ea0d0f57ef | 31,464 | cxx | C++ | main/sc/source/filter/xcl97/XclExpChangeTrack.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sc/source/filter/xcl97/XclExpChangeTrack.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sc/source/filter/xcl97/XclExpChangeTrack.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* 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 y... | 25.272289 | 137 | 0.713832 | Grosskopf |
7eaadfb2abbb299416c9ad24e80799db58cf0a78 | 2,412 | cpp | C++ | lib/malloy/core/http/generator.cpp | 0x00002a/malloy | 94ececf246ac2bc848235f7806439ef3be1eed73 | [
"MIT"
] | 22 | 2021-04-17T17:32:14.000Z | 2022-03-29T09:42:03.000Z | lib/malloy/core/http/generator.cpp | 0x00002a/malloy | 94ececf246ac2bc848235f7806439ef3be1eed73 | [
"MIT"
] | 98 | 2021-04-03T18:53:19.000Z | 2022-02-06T10:49:30.000Z | lib/malloy/core/http/generator.cpp | 0x00002a/malloy | 94ececf246ac2bc848235f7806439ef3be1eed73 | [
"MIT"
] | 3 | 2021-05-12T15:17:11.000Z | 2021-12-28T03:15:46.000Z | #include "generator.hpp"
#include "response.hpp"
#include "request.hpp"
#include <boost/beast/core/file_base.hpp>
using namespace malloy::http;
response<> generator::ok()
{
response resp { status::ok };
return resp;
}
response<> generator::redirect(const status code, const std::string_view location)
{
c... | 25.659574 | 112 | 0.652156 | 0x00002a |
7eab4f6bc1f0da703f921243a5ca48d8802549d6 | 316 | cpp | C++ | Chapter12/ex1/usecow.cpp | leonardoaraujodf/cpp_prog | d8d6bea8fa942faa162f0da8221a034e9173bddb | [
"MIT"
] | null | null | null | Chapter12/ex1/usecow.cpp | leonardoaraujodf/cpp_prog | d8d6bea8fa942faa162f0da8221a034e9173bddb | [
"MIT"
] | null | null | null | Chapter12/ex1/usecow.cpp | leonardoaraujodf/cpp_prog | d8d6bea8fa942faa162f0da8221a034e9173bddb | [
"MIT"
] | null | null | null | #include <iostream>
#include "cow.h"
int main()
{
Cow c1;
Cow c2("Booo", "Nma", 120.25);
Cow c3("Abab", "Asho", 150.45);
Cow c4(c3);
c1.ShowCow();
c2.ShowCow();
c3.ShowCow();
c4.ShowCow();
c1 = c2;
c1.ShowCow();
c1 = c3;
c1.ShowCow();
c4 = c2;
c2.ShowCow();
return 0;
}
| 14.363636 | 34 | 0.512658 | leonardoaraujodf |
7eac7de153c2c70d1e9e664c9441fa25524dee91 | 715 | hpp | C++ | include/RED4ext/Types/generated/CParticleModificatorTargetNode.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/CParticleModificatorTargetNode.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/CParticleModificatorTargetNode.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Types/generated/IParticleModificator.hpp>
namespace RED4ext
{
struct IEvaluatorFloat;
struct CParticleModificatorTarg... | 26.481481 | 73 | 0.763636 | Cyberpunk-Extended-Development-Team |
7eae702b0bb54ad163ead75c63b6b01489ef6bdf | 404 | cpp | C++ | lab1/graph.cpp | Winterpuma/bmstu_OOP | 594e1131a45ecc2afc3f624b37fbeb610ad6fdb0 | [
"MIT"
] | 12 | 2019-05-17T15:58:55.000Z | 2022-03-21T07:21:14.000Z | lab1/graph.cpp | Winterpuma/bmstu_OOP | 594e1131a45ecc2afc3f624b37fbeb610ad6fdb0 | [
"MIT"
] | null | null | null | lab1/graph.cpp | Winterpuma/bmstu_OOP | 594e1131a45ecc2afc3f624b37fbeb610ad6fdb0 | [
"MIT"
] | 4 | 2020-03-18T18:00:18.000Z | 2022-03-01T19:44:54.000Z | #include "graph.h"
#include "error_handler.h"
int init_graph(graphics &a, QGraphicsView *gV)
{
a.scene = new QGraphicsScene(gV);
if (!a.scene)
return PTR_ALL_ERR;
a.pen = QPen(Qt::black);
return 0;
}
void del(graphics &a)
{
delete a.scene;
}
void set(QGraphicsView *gV, graphics &a)
{
... | 15.538462 | 46 | 0.626238 | Winterpuma |
7eaeb59020f935170adbeb82ff18a92d1a3e4351 | 322 | cpp | C++ | Template/GameTemplate/GGGGTMPL/GGGGTMPL/Test0001.cpp | stackprobe/Annex | 9338f57558c1261eb9ace9ae7fb11640c5266f49 | [
"MIT"
] | null | null | null | Template/GameTemplate/GGGGTMPL/GGGGTMPL/Test0001.cpp | stackprobe/Annex | 9338f57558c1261eb9ace9ae7fb11640c5266f49 | [
"MIT"
] | null | null | null | Template/GameTemplate/GGGGTMPL/GGGGTMPL/Test0001.cpp | stackprobe/Annex | 9338f57558c1261eb9ace9ae7fb11640c5266f49 | [
"MIT"
] | 1 | 2021-09-28T23:31:24.000Z | 2021-09-28T23:31:24.000Z | #include "all.h"
void Test0001(void)
{
SetCurtain();
FreezeInput();
forscene(600)
{
if(1 <= GetInput(INP_A))
{
break;
}
DrawCurtain();
DrawBegin(P_DUMMY, SCREEN_CENTER_X, SCREEN_CENTER_Y);
DrawZoom(5.0);
DrawRotate(sc_rate * 5.0);
DrawEnd();
EachFrame();
}
sceneLeave();
FreezeInput();
... | 11.5 | 55 | 0.630435 | stackprobe |
9d19466492c2406631d239969204e5f19d8f843d | 2,140 | hpp | C++ | source/YoloMouse/Loader/Core/App.hpp | ttcctt/GAME | 982ad68a65f17f3926d713283f73ac858b6820e0 | [
"Unlicense"
] | 158 | 2015-02-16T20:32:09.000Z | 2022-03-24T04:11:07.000Z | source/YoloMouse/Loader/Core/App.hpp | Maqentaer/YoloMouse | 48415f1517591e0445b44e73d05f61d3e35b41f2 | [
"Unlicense"
] | 22 | 2015-03-03T23:40:54.000Z | 2021-11-14T06:28:25.000Z | source/YoloMouse/Loader/Core/App.hpp | Maqentaer/YoloMouse | 48415f1517591e0445b44e73d05f61d3e35b41f2 | [
"Unlicense"
] | 48 | 2015-06-12T17:50:39.000Z | 2022-03-21T20:59:29.000Z | #pragma once
#include <Core/Support/Settings.hpp>
#include <Core/Support/Singleton.hpp>
#include <Core/Windows/InputMonitor.hpp>
#include <Core/Windows/ShellUi.hpp>
#include <YoloMouse/Loader/Overlay/Cursor/OverlayCursorVault.hpp>
namespace Yolomouse
{
/**/
class App:
public Singleton<App>,
pub... | 25.783133 | 65 | 0.578037 | ttcctt |
9d24c9469c942ae510e107f391ee6166775ed4ee | 1,423 | cc | C++ | public/util/file/shared_writer.cc | room77/77up | 736806fbf52a5e722e8e57ef5c248823b067175d | [
"MIT"
] | 3 | 2015-05-18T14:52:47.000Z | 2018-11-12T07:51:00.000Z | public/util/file/shared_writer.cc | room77/77up | 736806fbf52a5e722e8e57ef5c248823b067175d | [
"MIT"
] | null | null | null | public/util/file/shared_writer.cc | room77/77up | 736806fbf52a5e722e8e57ef5c248823b067175d | [
"MIT"
] | 3 | 2015-08-04T05:58:18.000Z | 2018-11-12T07:51:01.000Z | // Copyright 2012 Room77, Inc.
// Author: Nicholas Edelman
#include "util/file/shared_writer.h"
FLAG_int(shared_writer_sleep_ms, 100,
"the number of milliseconds to sleep while waiting for the next results");
namespace util {
SharedWriter::SharedWriter(const string& fn) : fn_(fn) {
file_.open(fn, ios::o... | 23.716667 | 83 | 0.631764 | room77 |
9d24d3cdf5bc1eaeca3c6044d5f21005565b0339 | 319 | hpp | C++ | test/filesystem_mock.hpp | doylehuang/phosphor-hwmon | 04da055198fe03f119e53578ac80a6188461b748 | [
"Apache-2.0"
] | 14 | 2021-11-04T07:47:37.000Z | 2022-03-21T10:10:30.000Z | test/filesystem_mock.hpp | doylehuang/phosphor-hwmon | 04da055198fe03f119e53578ac80a6188461b748 | [
"Apache-2.0"
] | 17 | 2015-10-21T03:34:51.000Z | 2021-09-27T17:24:07.000Z | test/filesystem_mock.hpp | doylehuang/phosphor-hwmon | 04da055198fe03f119e53578ac80a6188461b748 | [
"Apache-2.0"
] | 22 | 2015-10-21T03:31:43.000Z | 2021-09-08T07:12:11.000Z | #pragma once
#include "hwmonio.hpp"
#include <string>
#include <gmock/gmock.h>
namespace hwmonio
{
class FileSystemMock : public FileSystemInterface
{
public:
MOCK_CONST_METHOD1(read, int64_t(const std::string&));
MOCK_CONST_METHOD2(write, void(const std::string&, uint32_t));
};
} // namespace hwmonio
| 15.95 | 66 | 0.727273 | doylehuang |
9d26fd296f0fb0327ed99a77b89985f737abae8b | 341 | hpp | C++ | PlanetaMatchMakerServer/source/message/message_handlers/keep_alive_notice_message_handler.hpp | InstytutXR/PlanetaMatchMaker | 4bf7503c031aea467c191c3a0d14c6dd58354f99 | [
"MIT"
] | 6 | 2019-08-15T09:48:55.000Z | 2021-07-25T14:40:59.000Z | PlanetaMatchMakerServer/source/message/message_handlers/keep_alive_notice_message_handler.hpp | InstytutXR/PlanetaMatchMaker | 4bf7503c031aea467c191c3a0d14c6dd58354f99 | [
"MIT"
] | 43 | 2019-12-25T14:54:52.000Z | 2022-02-24T17:22:48.000Z | PlanetaMatchMakerServer/source/message/message_handlers/keep_alive_notice_message_handler.hpp | InstytutXR/PlanetaMatchMaker | 4bf7503c031aea467c191c3a0d14c6dd58354f99 | [
"MIT"
] | 2 | 2020-05-06T20:14:44.000Z | 2020-06-02T21:21:10.000Z | #pragma once
#include "../messages.hpp"
#include "../message_handler.hpp"
namespace pgl {
class keep_alive_notice_message_handler
final : public message_handler_base<keep_alive_notice_message> {
public:
void handle_message(const keep_alive_notice_message& message,
std::shared_ptr<message_handle_parameter> pa... | 24.357143 | 66 | 0.791789 | InstytutXR |
9d27235a9cff4bee65f0abb1f9d91f008f277172 | 3,708 | cpp | C++ | MatchServer/TestCRCStage.cpp | WhyWolfie/Repack-Aren | 4839db138a502ca4cfac8c2a8c950f1b59064955 | [
"FSFAP"
] | null | null | null | MatchServer/TestCRCStage.cpp | WhyWolfie/Repack-Aren | 4839db138a502ca4cfac8c2a8c950f1b59064955 | [
"FSFAP"
] | null | null | null | MatchServer/TestCRCStage.cpp | WhyWolfie/Repack-Aren | 4839db138a502ca4cfac8c2a8c950f1b59064955 | [
"FSFAP"
] | null | null | null | #include "stdafx.h"
#include "TestCRCStage.h"
#include "TestCRC32Server.h"
#include "MMatchCRC32XORCache.h"
TestCRCStage::TestCRCStage( const MUID& uid )
{
_ASSERT( MUID(0, 0) != uid );
m_UID = uid;
};
TestCRCStage::~TestCRCStage()
{
}
const bool TestCRCStage::WasJoinedPlayer( const MUID uidPlayer )
{
TestC... | 23.922581 | 140 | 0.747843 | WhyWolfie |
9d2e916f888ab4fd08fe9ba53539152150329bab | 8,525 | cpp | C++ | source/windows/brwindowsversion.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/windows/brwindowsversion.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/windows/brwindowsversion.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
Shims for version.dll
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anything, just g... | 32.048872 | 79 | 0.730674 | Olde-Skuul |
9d35fa6d9337cc036ee6a7e820c19ad719495ecd | 1,393 | hpp | C++ | include/timer.hpp | FromAlaska/CornHub | d6280e1d66f15cd58fd0d8086c7beeb7b7db3e8b | [
"Unlicense"
] | 2 | 2018-09-24T21:58:50.000Z | 2019-04-18T21:32:04.000Z | include/timer.hpp | FromAlaska/CornHub | d6280e1d66f15cd58fd0d8086c7beeb7b7db3e8b | [
"Unlicense"
] | null | null | null | include/timer.hpp | FromAlaska/CornHub | d6280e1d66f15cd58fd0d8086c7beeb7b7db3e8b | [
"Unlicense"
] | null | null | null | // timer.hpp
// 26. April 2017
// Created by:
// Bryan Burkhardt (bmburkhardt@alaska.edu)
// Alexander Eckert (aeckert@alaska.edu)
// Jeremiah Jacobson (jjacobson2@alaska.edu)
// Jarye Murphy (jmurphy11@alaska.edu)
// Cameron Showalter (cjshowalter@alaska.edu)
//
// Source file for timer
#ifndef TIMER_HPP
#d... | 22.836066 | 47 | 0.750179 | FromAlaska |
9d37073ab9947fafb822784bb3856529b2ad1a23 | 230 | cc | C++ | Carbon/src/carbon/platform/directx11/dx11_shader.cc | jacks-github/Carbon | c6cc0f0c491d2980125556be731c7776976112ea | [
"MIT"
] | null | null | null | Carbon/src/carbon/platform/directx11/dx11_shader.cc | jacks-github/Carbon | c6cc0f0c491d2980125556be731c7776976112ea | [
"MIT"
] | null | null | null | Carbon/src/carbon/platform/directx11/dx11_shader.cc | jacks-github/Carbon | c6cc0f0c491d2980125556be731c7776976112ea | [
"MIT"
] | null | null | null | #include "carbon/platform/directx11/dx11_shader.h"
#include "carbon/core/core.h"
namespace CR {
DX11Shader::DX11Shader(const std::string& path) {
CR_LOG("[Warning] Creating Shader: DirectX11 not yet supported\n");
}
} // CR
| 19.166667 | 69 | 0.726087 | jacks-github |
9d405591145320f5b42ea7a556fbf420dee9daa1 | 2,450 | cc | C++ | rocks-sys/rocks/cache.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 40 | 2017-05-16T06:10:51.000Z | 2021-09-02T01:06:37.000Z | rocks-sys/rocks/cache.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 12 | 2017-06-11T09:42:02.000Z | 2020-10-11T23:46:31.000Z | rocks-sys/rocks/cache.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 8 | 2017-05-16T03:44:53.000Z | 2020-10-11T22:01:17.000Z | #include "rocksdb/cache.h"
#include "rocksdb/persistent_cache.h"
#include "rocks/ctypes.hpp"
using namespace ROCKSDB_NAMESPACE;
using std::shared_ptr;
extern "C" {
rocks_cache_t* rocks_cache_create_lru(size_t capacity, int num_shard_bits, char strict_capacity_limit,
double high... | 36.029412 | 114 | 0.726122 | sezaru |
9d442d4dde4f91168b0324d72b7b487214ee85ec | 4,034 | cxx | C++ | Adaptors/Particle/ParticleAdaptor.cxx | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 815 | 2015-01-03T02:14:04.000Z | 2022-03-26T07:48:07.000Z | Adaptors/Particle/ParticleAdaptor.cxx | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2015-04-28T20:10:37.000Z | 2021-08-20T18:19:01.000Z | Adaptors/Particle/ParticleAdaptor.cxx | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 328 | 2015-01-22T23:11:46.000Z | 2022-03-14T06:07:52.000Z | /*=========================================================================
Program: ParaView
Module: ParticleAdaptor.cxx
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANT... | 26.025806 | 91 | 0.677243 | xj361685640 |
9d498dd9d697224b2abb41cc0ecc1297008d2f75 | 167 | hh | C++ | sonder/src/math/math.hh | jpanikulam/sonder | ff3eece5f6a31d3bb2573d0e3e6dd5dafec7ffda | [
"MIT"
] | 1 | 2020-11-24T07:52:39.000Z | 2020-11-24T07:52:39.000Z | sonder/src/math/math.hh | jpanikulam/sonder | ff3eece5f6a31d3bb2573d0e3e6dd5dafec7ffda | [
"MIT"
] | null | null | null | sonder/src/math/math.hh | jpanikulam/sonder | ff3eece5f6a31d3bb2573d0e3e6dd5dafec7ffda | [
"MIT"
] | null | null | null | namespace sonder {
inline constexpr float int_pow(const float base, const unsigned exponent) {
return (exponent == 0) ? 1 : (base * int_pow(base, exponent - 1));
}
} | 33.4 | 75 | 0.700599 | jpanikulam |
9d49e17770420af49c76de15d2add53020c2cbf1 | 1,209 | hpp | C++ | cmdstan/stan/lib/stan_math/stan/math/prim/scal/prob/neg_binomial_2_log.hpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/stan/math/prim/scal/prob/neg_binomial_2_log.hpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/stan/math/prim/scal/prob/neg_binomial_2_log.hpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LOG_HPP
#define STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LOG_HPP
#include <stan/math/prim/scal/meta/return_type.hpp>
#include <stan/math/prim/scal/prob/neg_binomial_2_lpmf.hpp>
namespace stan {
namespace math {
/**
* @deprecated use <code>neg_binomial_2_lpmf<... | 30.225 | 75 | 0.632754 | yizhang-cae |
9d4d6495efd75bcb65d5d61cd9de2d7c411265e1 | 520 | cpp | C++ | wchat/userinfoformedit.cpp | CLQM/Qt_IMClient | d7fcd3a19d56ef06cfd908f5206d7d44d94d2ca6 | [
"Apache-2.0"
] | null | null | null | wchat/userinfoformedit.cpp | CLQM/Qt_IMClient | d7fcd3a19d56ef06cfd908f5206d7d44d94d2ca6 | [
"Apache-2.0"
] | 1 | 2021-03-11T19:44:25.000Z | 2021-03-15T15:39:06.000Z | wchat/userinfoformedit.cpp | CLQM/Qt_IMClient | d7fcd3a19d56ef06cfd908f5206d7d44d94d2ca6 | [
"Apache-2.0"
] | null | null | null | #include "userinfoformedit.h"
#include "ui_userinfoformedit.h"
UserInfoFormEdit::UserInfoFormEdit(QWidget *parent) :
QWidget(parent),
ui(new Ui::UserInfoFormEdit)
{
ui->setupUi(this);
/*使显示内容可修改*/
ui->le_name->setReadOnly(true);
ui->le_sign->setReadOnly(true);
ui->le_birth->setReadOnly(true... | 20 | 53 | 0.688462 | CLQM |
9d4d9f820dd863791b8c393362cff8cb4732e7a1 | 522 | cpp | C++ | src/cpp/oop/structs.cpp | gtxc/libgt | 7f32659fa0428dcdb225a0ffbf0b6482583330d6 | [
"MIT"
] | null | null | null | src/cpp/oop/structs.cpp | gtxc/libgt | 7f32659fa0428dcdb225a0ffbf0b6482583330d6 | [
"MIT"
] | null | null | null | src/cpp/oop/structs.cpp | gtxc/libgt | 7f32659fa0428dcdb225a0ffbf0b6482583330d6 | [
"MIT"
] | null | null | null | /*
* Created by gt on 1/19/22 - 11:54 PM.
* Copyright (c) 2022 GTXC. All rights reserved.
*
* essentially the same as a class expect members are public by default
* whereas members are private by default in classes
*
* general guidelines
*
* struct
* use struct for passive objects with public access
* do not... | 22.695652 | 71 | 0.710728 | gtxc |
9d511680d40986e68f8d504f93124f9453c1c11a | 1,785 | cpp | C++ | examples/opengl_extension_converter.cpp | Ellorion/SimpleLibrary | 183cbc9d53fe09e4968497727ce65fe050e9bc77 | [
"Unlicense"
] | 1 | 2019-03-23T01:06:31.000Z | 2019-03-23T01:06:31.000Z | examples/opengl_extension_converter.cpp | Ellorion/SimpleLibrary | 183cbc9d53fe09e4968497727ce65fe050e9bc77 | [
"Unlicense"
] | null | null | null | examples/opengl_extension_converter.cpp | Ellorion/SimpleLibrary | 183cbc9d53fe09e4968497727ce65fe050e9bc77 | [
"Unlicense"
] | null | null | null | #include "src/SLib.h"
int main() {
String s_ogl_ext = File_ReadAll(S("oglext.txt"));
File file_ogl_ext = File_Open(S("extensions.h"), "wb");
Array<String> as_extension = Array_Split(&s_ogl_ext, S("\r\n"), DELIMITER_IGNORE, false);
if (!as_extension.count) return 0;
File_Write(&file_ogl_ext, S("#pragma... | 27.890625 | 93 | 0.679552 | Ellorion |
9d5140a80b10dc2198956f88f4c34daaf3bdba25 | 238 | cpp | C++ | AtCoder/ABC161/A/abc161_a.cpp | object-oriented-human/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | 1 | 2022-02-21T15:43:01.000Z | 2022-02-21T15:43:01.000Z | AtCoder/ABC161/A/abc161_a.cpp | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | AtCoder/ABC161/A/abc161_a.cpp | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
ios::sync_with_stdio(false); cin.tie(0);
int x, y, z; cin >> x >> y >> z;
swap(x, y);
swap(x, z);
cout << x << ' ' << y << ' ' << z;
} | 23.8 | 44 | 0.508403 | object-oriented-human |
9d5321f001ed31136ccbc15663ad28d4e4b90e03 | 3,620 | cpp | C++ | caffe/src/caffe/layers/octree_property_layer.cpp | pauldinh/O-CNN | fecefd92b559bdfe94a3983b2b010645167c41a1 | [
"MIT"
] | 299 | 2019-05-27T02:18:56.000Z | 2022-03-31T15:29:20.000Z | caffe/src/caffe/layers/octree_property_layer.cpp | pauldinh/O-CNN | fecefd92b559bdfe94a3983b2b010645167c41a1 | [
"MIT"
] | 100 | 2019-05-07T03:17:01.000Z | 2022-03-30T09:02:04.000Z | caffe/src/caffe/layers/octree_property_layer.cpp | pauldinh/O-CNN | fecefd92b559bdfe94a3983b2b010645167c41a1 | [
"MIT"
] | 84 | 2019-05-17T17:44:06.000Z | 2022-02-14T04:32:02.000Z | #include "caffe/layers/octree_property_layer.hpp"
namespace caffe {
template<typename Dtype>
void OctreePropertyLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
const auto& octree_param = this->layer_param_.octree_param();
CHECK(octree_param.has_curr_depth())
... | 34.150943 | 82 | 0.659116 | pauldinh |
9d5843720f6482c81e49d316cc64e3906bfa0583 | 373 | hpp | C++ | src/parser/types/digit_type.hpp | dondieselkopf/tmp-parser | 50a9a6238bb67e6998404825572d5d7f915db841 | [
"MIT"
] | null | null | null | src/parser/types/digit_type.hpp | dondieselkopf/tmp-parser | 50a9a6238bb67e6998404825572d5d7f915db841 | [
"MIT"
] | null | null | null | src/parser/types/digit_type.hpp | dondieselkopf/tmp-parser | 50a9a6238bb67e6998404825572d5d7f915db841 | [
"MIT"
] | null | null | null | /*
* digit_type.hpp
*
* Created on: 08.11.2015
* Author: sohrmann
*/
#ifndef DIGIT_TYPE_HPP_
#define DIGIT_TYPE_HPP_
namespace parser {
/// next character should be a digit
struct digit_type {
template <typename ParserType>
static bool match(ParserType& parser) {
return parser.consume_digit();
}
};
... | 15.541667 | 40 | 0.699732 | dondieselkopf |
9d58add6538529125f30d94f9a81e18953ea40af | 991 | cpp | C++ | problemsets/UVA/457.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/457.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/457.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <map>
using namespace std;
int main() {
int T;
int DNA[9];
char E[4];
map<char, int> M;
E[0] = ' '; E[1] = '.'; E[2] = 'x';... | 21.543478 | 56 | 0.364279 | juarezpaulino |
9d5adf3981739ec83a3a262e48a2bfe662e00b98 | 65,616 | cpp | C++ | Blizzlike/Trinity/Scripts/Dungeons/ulduar/ulduar/boss_flame_leviathan.cpp | 499453466/Lua-Other | 43fd2b72405faf3f2074fd2a2706ef115d16faa6 | [
"Unlicense"
] | 2 | 2015-06-23T16:26:32.000Z | 2019-06-27T07:45:59.000Z | Blizzlike/Trinity/Scripts/Dungeons/ulduar/ulduar/boss_flame_leviathan.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | null | null | null | Blizzlike/Trinity/Scripts/Dungeons/ulduar/ulduar/boss_flame_leviathan.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | 3 | 2015-01-10T18:22:59.000Z | 2021-04-27T21:28:28.000Z | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
*
* 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 ve... | 35.934283 | 203 | 0.528972 | 499453466 |
9d5d89620bce4e93bc107119991bc9b3eef7a9e0 | 7,546 | hpp | C++ | include/codegen/include/UnityEngine/Networking/PlayerConnection/PlayerConnection.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/Networking/PlayerConnection/PlayerConnection.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/Networking/PlayerConnection/PlayerConnection.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:31 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: UnityEngine.ScriptableObject
#include "UnityEngine/Scriptabl... | 53.9 | 160 | 0.771005 | Futuremappermydud |
9d60b366c9b2eede8bbe07a91f59f8fe883de7f5 | 1,341 | cpp | C++ | Texture.cpp | Cooolrik/MLTextureGenerator | c5b917b7f425fb758fc91bcf3b0a898e2c252015 | [
"MIT"
] | null | null | null | Texture.cpp | Cooolrik/MLTextureGenerator | c5b917b7f425fb758fc91bcf3b0a898e2c252015 | [
"MIT"
] | null | null | null | Texture.cpp | Cooolrik/MLTextureGenerator | c5b917b7f425fb758fc91bcf3b0a898e2c252015 | [
"MIT"
] | null | null | null |
#include <stdio.h>
#include <glad/gl.h>
#include "Texture.h"
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
Texture * Texture::Load(const char* path)
{
unsigned int texture;
glGenTextures(1, &texture);
glBindTexture(GL_TEXTURE_2D, texture);
// set the texture wrapping/filtering options... | 27.9375 | 99 | 0.672632 | Cooolrik |
9d61af2dced5c8e86cd040f386681b5e9f1e0240 | 9,362 | hh | C++ | Development/OrignalDev/Util/EventTimeLine.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | Development/OrignalDev/Util/EventTimeLine.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | Development/OrignalDev/Util/EventTimeLine.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2006, OmniPerception Ltd.
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here
... | 28.629969 | 108 | 0.651677 | isuhao |
9d62a0f67d4d1385411f2e18967173bf031b45e0 | 1,047 | cpp | C++ | multiview/multiview_cpp/src/cuda/perceive/graphics/remap.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/cuda/perceive/graphics/remap.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/cuda/perceive/graphics/remap.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#include "remap.hpp"
#include <opencv2/cudawarping.hpp>
namespace perceive::cuda
{
cv::Mat Remapper::remap(const cv::Mat& distorted,
const cv::cuda::GpuMat mapx,
const cv::cuda::GpuMat mapy,
int interpolation_method) const
{
lock_guard<std::m... | 28.297297 | 64 | 0.588348 | prcvlabs |
9d6431cc10d616873a4d6c2d27c0df8ea78ccc82 | 2,729 | hpp | C++ | src/input/keyboard/keyboard_plugin.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 2 | 2021-03-18T16:25:04.000Z | 2021-11-13T00:29:27.000Z | src/input/keyboard/keyboard_plugin.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | null | null | null | src/input/keyboard/keyboard_plugin.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 1 | 2021-11-13T00:29:30.000Z | 2021-11-13T00:29:30.000Z | /**
* @file
* @author __AUTHOR_NAME__ <mail@host.com>
* @copyright 2021 __COMPANY_LTD__
* @license <a href="https://opensource.org/licenses/MIT">MIT License</a>
*/
#ifndef ZEN_INPUT_KEYBOARD_PLUGIN_HPP
#define ZEN_INPUT_KEYBOARD_PLUGIN_HPP
#include <SDL2/SDL_keycode.h>
#include "../../event/event_emitter.hpp"
... | 20.992308 | 86 | 0.70502 | hexoctal |
9d64641b396b97b97cdc059303cd70199e68217e | 1,351 | hpp | C++ | src/q_1301_1350/q1306_unittest.hpp | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-09-28T18:41:03.000Z | 2021-09-28T18:42:57.000Z | src/q_1301_1350/q1306_unittest.hpp | vNaonLu/Daily_LeetCode | 30024b561611d390931cef1b22afd6a5060cf586 | [
"MIT"
] | 16 | 2021-09-26T11:44:20.000Z | 2021-11-28T06:44:02.000Z | src/q_1301_1350/q1306_unittest.hpp | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 1 | 2021-11-22T09:11:36.000Z | 2021-11-22T09:11:36.000Z |
#ifndef Q1306_UNITTEST_H__
#define Q1306_UNITTEST_H__
#include <gtest/gtest.h>
#include "q1306.hpp"
using namespace std;
/**
* This file is generated by leetcode_add.py
*
* 1306.
* Jump Game III
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* Given an array of non-nega... | 24.563636 | 74 | 0.572169 | vNaonLu |
9d664b5485b4039a06f06a68573f54f6412364f7 | 1,313 | cpp | C++ | TC/650-DIV2-250.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 1 | 2018-08-28T19:58:40.000Z | 2018-08-28T19:58:40.000Z | TC/650-DIV2-250.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 2 | 2017-04-16T00:48:05.000Z | 2017-08-03T20:12:26.000Z | TC/650-DIV2-250.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 4 | 2016-03-04T19:42:00.000Z | 2018-01-08T11:42:00.000Z | #include <bits/stdc++.h>
template<typename T> T gcd(T a, T b) {
if(!b) return a;
return gcd(b, a % b);
}
template<typename T> T lcm(T a, T b) {
return a * b / gcd(a, b);
}
template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; }
template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a... | 20.515625 | 83 | 0.505712 | aajjbb |
9d67ecaea5e62a1474475e7091b7b71d56d520f4 | 1,114 | hpp | C++ | estd/cast.hpp | mingkaic/travis-test | 84d45f7c7a079dfd66316d7c31969b43fb9e7c7f | [
"BSL-1.0",
"MIT"
] | null | null | null | estd/cast.hpp | mingkaic/travis-test | 84d45f7c7a079dfd66316d7c31969b43fb9e7c7f | [
"BSL-1.0",
"MIT"
] | 8 | 2019-11-07T03:59:17.000Z | 2022-02-19T19:42:47.000Z | estd/cast.hpp | mingkaic/travis-test | 84d45f7c7a079dfd66316d7c31969b43fb9e7c7f | [
"BSL-1.0",
"MIT"
] | null | null | null |
#ifndef PKG_ESTD_CAST_HPP
#define PKG_ESTD_CAST_HPP
#include "logs/logs.hpp"
namespace estd
{
template <typename T, typename U>
T* must_cast (U* ptr)
{
if (nullptr == ptr)
{
logs::fatalf("cannot cast null %s to %s",
typeid(U).name(), typeid(T).name());
}
auto out = dynamic_cast<T*>(ptr);
if (nullptr == ou... | 21.843137 | 80 | 0.669659 | mingkaic |
9d6b2a591021f1b9d8cc970db08a7dfe0ac25735 | 820 | hpp | C++ | core/include/Score.hpp | Brukols/Epitech-Arcade | 5443d28169e9494f0c77abac23f4139e60b46365 | [
"MIT"
] | null | null | null | core/include/Score.hpp | Brukols/Epitech-Arcade | 5443d28169e9494f0c77abac23f4139e60b46365 | [
"MIT"
] | null | null | null | core/include/Score.hpp | Brukols/Epitech-Arcade | 5443d28169e9494f0c77abac23f4139e60b46365 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2020
** OOP_arcade_2019
** File description:
** Score
*/
#ifndef SCORE_HPP_
#define SCORE_HPP_
#include <string>
#include <vector>
using vector = std::vector<std::pair<std::string, std::string>>;
namespace arc
{
class Score {
public:
Score(const std::string &path);
... | 22.162162 | 87 | 0.609756 | Brukols |
9d6bbb0afadb0ec42d2868e197e62fe43032003f | 2,569 | cpp | C++ | src/use_brpc/server/use_brpc_server.cpp | unihykes/monk | d5ad969fea75912d4aad913adf945f78ec4df60e | [
"Apache-2.0"
] | 2 | 2018-03-27T02:46:03.000Z | 2018-05-24T02:49:17.000Z | src/use_brpc/server/use_brpc_server.cpp | six-th/monk | d5ad969fea75912d4aad913adf945f78ec4df60e | [
"Apache-2.0"
] | null | null | null | src/use_brpc/server/use_brpc_server.cpp | six-th/monk | d5ad969fea75912d4aad913adf945f78ec4df60e | [
"Apache-2.0"
] | null | null | null | /***************************************************************************************************
LICENSE:
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.apach... | 32.518987 | 102 | 0.568315 | unihykes |
9d6d911eeac10f5ec3ceb71f86b3da9ffd818e53 | 234 | cpp | C++ | QtGuitest1/QtGuitest1/main.cpp | lvzl20/QtTest1 | b5df4f93530763b3aeada3499b1b4695c49c0c04 | [
"MIT"
] | null | null | null | QtGuitest1/QtGuitest1/main.cpp | lvzl20/QtTest1 | b5df4f93530763b3aeada3499b1b4695c49c0c04 | [
"MIT"
] | null | null | null | QtGuitest1/QtGuitest1/main.cpp | lvzl20/QtTest1 | b5df4f93530763b3aeada3499b1b4695c49c0c04 | [
"MIT"
] | null | null | null | #include "QtGuitest1.h"
#include <QtWidgets/QApplication>
#include <QPushButton>
#include <QWidget>
#include "ParWidget.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
ParWidget w;
w.show();
return a.exec();
}
| 15.6 | 33 | 0.700855 | lvzl20 |
9d7049e70dbe8edcdcb957dd318ef3a845677704 | 4,416 | hpp | C++ | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_StoreOp.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_StoreOp.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_StoreOp.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: GenProtoS_StoreOp.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 11/24/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opens... | 30.246575 | 78 | 0.42663 | MarkStega |
9d72557596887ee19a8ace56abf6242d42354a9d | 18,857 | cpp | C++ | src/example/test.cpp | Fadis/gct | bde211f9336e945e4db21f5abb4ce01dcad78049 | [
"MIT"
] | 1 | 2022-03-03T09:27:09.000Z | 2022-03-03T09:27:09.000Z | src/example/test.cpp | Fadis/gct | bde211f9336e945e4db21f5abb4ce01dcad78049 | [
"MIT"
] | 1 | 2021-12-02T03:45:45.000Z | 2021-12-03T23:44:37.000Z | src/example/test.cpp | Fadis/gct | bde211f9336e945e4db21f5abb4ce01dcad78049 | [
"MIT"
] | null | null | null | #include <iostream>
#include <unordered_set>
#include <nlohmann/json.hpp>
#include <glm/ext/matrix_transform.hpp>
#include <glm/ext/matrix_clip_space.hpp>
#include <glm/gtx/string_cast.hpp>
#include <gct/get_extensions.hpp>
#include <gct/instance.hpp>
#include <gct/glfw.hpp>
#include <gct/queue.hpp>
#include <gct/devic... | 34.161232 | 172 | 0.667604 | Fadis |
9d7547a71c3123aaa2ce3ccf3cce099f2a764bf8 | 5,580 | cpp | C++ | src/world/actor.cpp | wilkie/apsis | 9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf | [
"WTFPL"
] | 2 | 2015-11-05T03:47:29.000Z | 2020-01-24T18:48:09.000Z | src/world/actor.cpp | wilkie/apsis | 9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf | [
"WTFPL"
] | null | null | null | src/world/actor.cpp | wilkie/apsis | 9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf | [
"WTFPL"
] | null | null | null | #include "apsis/world/actor.h"
#include "apsis/world/collision_object.h"
#include "apsis/primitive/fragment_shader.h"
#include "apsis/primitive/vertex_shader.h"
#include "apsis/primitive/unlinked_program.h"
#include "apsis/primitive/program.h"
#include <fstream>
#include <string>
#include <json/json.h>
// glm::vec... | 29.0625 | 109 | 0.650179 | wilkie |
9d794579955ef61b727da98c14ff6807f5c18baf | 2,401 | cpp | C++ | src/solver/linear/conjugate_gradient_ocl.cpp | dbeurle/neon | 63cd2929a6eaaa0e1654c729cd35a9a52a706962 | [
"MIT"
] | 9 | 2018-07-12T17:06:33.000Z | 2021-11-20T23:13:26.000Z | src/solver/linear/conjugate_gradient_ocl.cpp | dbeurle/neon | 63cd2929a6eaaa0e1654c729cd35a9a52a706962 | [
"MIT"
] | 119 | 2016-06-22T07:36:04.000Z | 2019-03-10T19:38:12.000Z | src/solver/linear/conjugate_gradient_ocl.cpp | dbeurle/neon | 63cd2929a6eaaa0e1654c729cd35a9a52a706962 | [
"MIT"
] | 9 | 2017-10-08T16:51:38.000Z | 2021-03-15T08:08:04.000Z |
#include "conjugate_gradient_ocl.hpp"
#ifdef ENABLE_OPENCL
#include "exceptions.hpp"
#include "dmatrix_vector_product.hpp"
#include "numeric/float_compare.hpp"
#define VIENNACL_HAVE_EIGEN
#define VIENNACL_WITH_OPENCL
#include <viennacl/vector.hpp>
#include <viennacl/compressed_matrix.hpp>
#include <viennacl/linalg... | 30.0125 | 99 | 0.703457 | dbeurle |
9d7968f3b06aceca03617592f48437cd5d54ab86 | 46 | cpp | C++ | src/core/geometry.cpp | peng00bo00/PBRender | 393ef8d80877e26ef7fc405fac7e734637e64580 | [
"MIT"
] | null | null | null | src/core/geometry.cpp | peng00bo00/PBRender | 393ef8d80877e26ef7fc405fac7e734637e64580 | [
"MIT"
] | null | null | null | src/core/geometry.cpp | peng00bo00/PBRender | 393ef8d80877e26ef7fc405fac7e734637e64580 | [
"MIT"
] | null | null | null | #include "geometry.h"
namespace PBRender {
} | 9.2 | 21 | 0.717391 | peng00bo00 |
9d79d167bad42dd30b541625ed60af031d6d0e7d | 4,471 | cpp | C++ | editor/QLibrary/Resources/QLibrary/colorpicker/XGradientSlider.cpp | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | 675 | 2019-02-07T01:23:19.000Z | 2022-03-28T05:45:10.000Z | editor/QLibrary/Resources/QLibrary/colorpicker/XGradientSlider.cpp | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | 843 | 2019-01-25T01:06:46.000Z | 2022-03-16T11:15:53.000Z | editor/QLibrary/Resources/QLibrary/colorpicker/XGradientSlider.cpp | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | 83 | 2019-02-20T06:18:46.000Z | 2022-03-20T09:36:09.000Z | #include "XGradientSlider.hpp"
#include <QPainter>
#include <QStyleOptionSlider>
#include <QMouseEvent>
XGradientSlider::XGradientSlider(QWidget *parent) :
QSlider(parent), back( Qt::darkGray, Qt::DiagCrossPattern )
{
col_list.push_back(Qt::black);
col_list.push_back(Qt::white);
setOrientation(Qt::Hor... | 26.613095 | 88 | 0.615746 | Houkime |
9d7a4d0458274e607703eea6d40f3c5578bb8bd1 | 441 | cpp | C++ | examples/mars_zx3/logic_analyser/libclient/main.cpp | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | 1 | 2020-06-23T16:03:22.000Z | 2020-06-23T16:03:22.000Z | examples/mars_zx3/logic_analyser/libclient/main.cpp | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | null | null | null | examples/mars_zx3/logic_analyser/libclient/main.cpp | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | null | null | null | #include "logic_analyzer.hpp"
int main(){
logic_analyser_window ip("192.168.1.114", 36000);
ip.get_forty_two();
ip.set_triggers(0xfffffff);
ip.get_triggers();
auto data = ip.get_data();
for (size_t i = 0; i < 60; i++)
{
for(auto j: data[i].to_string(char(0), char(1))) {
st... | 18.375 | 56 | 0.537415 | rsarwar87 |
9d7bafe8c7ceb03037e6034ee45b2dee7665f2df | 4,157 | cpp | C++ | Common/SystemRemote/Document/xServerClient.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | Common/SystemRemote/Document/xServerClient.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | Common/SystemRemote/Document/xServerClient.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | //================================================================================
// Copyright (c) 2013 ~ 2019. HyungKi Jeong(clonextop@gmail.com)
// All rights reserved.
//
// The 3-Clause BSD License (https://opensource.org/licenses/BSD-3-Clause)
//
// Redistribution and use in source and binary forms,
// with or ... | 32.224806 | 91 | 0.629541 | testdrive-profiling-master |
9d7cd5078a882695104c14b8d5793b1564cc9cfe | 14,860 | cpp | C++ | src/paintown-engine/network/network_world.cpp | marstau/shinsango | d9468787ae8e18fa478f936770d88e9bf93c11c0 | [
"BSD-3-Clause"
] | 1 | 2021-06-16T15:25:47.000Z | 2021-06-16T15:25:47.000Z | src/paintown-engine/network/network_world.cpp | marstau/shinsango | d9468787ae8e18fa478f936770d88e9bf93c11c0 | [
"BSD-3-Clause"
] | null | null | null | src/paintown-engine/network/network_world.cpp | marstau/shinsango | d9468787ae8e18fa478f936770d88e9bf93c11c0 | [
"BSD-3-Clause"
] | null | null | null | #ifdef HAVE_NETWORKING
#include "util/graphics/bitmap.h"
#include "../object/object.h"
#include "../object/character.h"
#include "../game/adventure_world.h"
#include "network_world.h"
#include "util/network/network.h"
#include "util/funcs.h"
#include "util/system.h"
#include "../level/scene.h"
#include "../level/cache... | 32.803532 | 298 | 0.565545 | marstau |
9d7d3bd11be5d3992f6721a21f5561c3a996c60a | 14,584 | cpp | C++ | src/io/readerwriter.cpp | cmdc0de/libwss | 58c1bd1ad79e345bbd5f7af155dbfe1d96c9b91d | [
"MIT"
] | null | null | null | src/io/readerwriter.cpp | cmdc0de/libwss | 58c1bd1ad79e345bbd5f7af155dbfe1d96c9b91d | [
"MIT"
] | null | null | null | src/io/readerwriter.cpp | cmdc0de/libwss | 58c1bd1ad79e345bbd5f7af155dbfe1d96c9b91d | [
"MIT"
] | null | null | null | #include "readerwriter.h"
#include <algorithm>
#include "../buffer/segmented_reader_writer_impl.h"
using namespace wss;
IReaderWriter * ReaderWriter::Create_Default_Interface()
{
return SegmentedReaderWriterImpl::Create();
}
ReaderWriter::ReaderWriter( IReaderWriter* stream_interface ) :
ReadCursor(... | 30.832981 | 97 | 0.489578 | cmdc0de |
9d8484afe946078a7759d756051f6734b3185b74 | 432 | hpp | C++ | Include/Utils/GBSpecs.hpp | ShannonHG/Modest-GB | f39851cd36bf0c752ce56c60783035e2bf2fd19c | [
"MIT"
] | 6 | 2022-01-25T06:55:00.000Z | 2022-01-25T18:39:25.000Z | Include/Utils/GBSpecs.hpp | ShannonHG/Modest-GB | f39851cd36bf0c752ce56c60783035e2bf2fd19c | [
"MIT"
] | null | null | null | Include/Utils/GBSpecs.hpp | ShannonHG/Modest-GB | f39851cd36bf0c752ce56c60783035e2bf2fd19c | [
"MIT"
] | 1 | 2022-01-25T08:09:54.000Z | 2022-01-25T08:09:54.000Z | #pragma once
#include <cstdint>
namespace ModestGB
{
const uint32_t GB_CLOCK_SPEED = 4194304;
const double GB_FRAMES_PER_SECOND = 59.7;
const double GB_SECONDS_PER_FRAME = 1 / GB_FRAMES_PER_SECOND;
const double GB_CYCLES_PER_FRAME = GB_CLOCK_SPEED / GB_FRAMES_PER_SECOND;
const uint8_t GB_SCREEN_WIDTH = 160;
cons... | 30.857143 | 74 | 0.803241 | ShannonHG |
9d85c298809cedfca99828719a34f66bb81084a3 | 1,201 | cc | C++ | apps/dnn_speech/petuumdnn/ark2txt.cc | daiwei89/wdai_petuum_public | 4068859897061201d0a63630a3da6011b0d0f75f | [
"BSD-3-Clause"
] | 370 | 2015-06-30T09:46:17.000Z | 2017-01-21T07:14:00.000Z | apps/dnn_speech/petuumdnn/ark2txt.cc | daiwei89/wdai_petuum_public | 4068859897061201d0a63630a3da6011b0d0f75f | [
"BSD-3-Clause"
] | 3 | 2016-11-08T19:45:19.000Z | 2016-11-11T13:21:19.000Z | apps/dnn_speech/petuumdnn/ark2txt.cc | daiwei89/wdai_petuum_public | 4068859897061201d0a63630a3da6011b0d0f75f | [
"BSD-3-Clause"
] | 159 | 2015-07-03T05:58:31.000Z | 2016-12-29T20:59:01.000Z | #include "base/kaldi-common.h"
#include "util/common-utils.h"
#include "hmm/transition-model.h"
#include "nnet2/train-nnet.h"
#include "nnet2/am-nnet.h"
#include "nnet2/nnet-example-functions.h"
#include "nnet2/nnet-example.h"
#include "matrix/kaldi-matrix.h"
#include <fstream>
int main(int argc, char *argv[]) {
try ... | 27.295455 | 67 | 0.592839 | daiwei89 |
9d877756a1088c1933f93f3ba432863274a26d90 | 7,298 | hxx | C++ | src/interfaces/python/opengm/inference/pyVisitor.hxx | jasjuang/opengm | 3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9 | [
"MIT"
] | 318 | 2015-01-07T15:22:02.000Z | 2022-01-22T10:10:29.000Z | src/interfaces/python/opengm/inference/pyVisitor.hxx | jasjuang/opengm | 3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9 | [
"MIT"
] | 89 | 2015-03-24T14:33:01.000Z | 2020-07-10T13:59:13.000Z | src/interfaces/python/opengm/inference/pyVisitor.hxx | jasjuang/opengm | 3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9 | [
"MIT"
] | 119 | 2015-01-13T08:35:03.000Z | 2022-03-01T01:49:08.000Z | #ifndef OPENGM_PYTHON_VISITOR
#define OPENGM_PYTHON_VISITOR
#include <boost/python.hpp>
#include <boost/python/wrapper.hpp>
#include <vector>
#include <opengm/python/opengmpython.hxx>
#include <opengm/python/converter.hxx>
#include <opengm/python/numpyview.hxx>
#include <opengm/python/pythonfunction.hxx>
//#include ... | 41.942529 | 172 | 0.644423 | jasjuang |
9d8d563ec0f86cbff3d81cf7a161c6e88a184a4a | 4,352 | hpp | C++ | hw/ip/kmac/dv/dpi/vendor/kerukuro_digestpp/algorithm/detail/constants/jh_constants.hpp | GregAC/opentitan | 40b607b776d7b10cfc2899cc0d724d00dc0c91a2 | [
"Apache-2.0"
] | 1,375 | 2019-11-05T15:11:00.000Z | 2022-03-28T17:50:43.000Z | algorithm/detail/constants/jh_constants.hpp | sthagen/kerukuro-digestpp | 34ff2eeae397ed744d972d86b5a20f603b029fbd | [
"Unlicense"
] | 7,045 | 2019-11-05T16:05:45.000Z | 2022-03-31T23:08:08.000Z | algorithm/detail/constants/jh_constants.hpp | sthagen/kerukuro-digestpp | 34ff2eeae397ed744d972d86b5a20f603b029fbd | [
"Unlicense"
] | 428 | 2019-11-05T15:00:20.000Z | 2022-03-28T15:34:57.000Z | /*
This code is written by kerukuro and released into public domain.
*/
#ifndef DIGESTPP_PROVIDERS_JH_CONSTANTS_HPP
#define DIGESTPP_PROVIDERS_JH_CONSTANTS_HPP
namespace digestpp
{
namespace detail
{
template<typename T>
struct jh_constants
{
static const uint64_t C[168];
};
template<typename T>
const uint64_t j... | 61.295775 | 93 | 0.881893 | GregAC |
9d8f34bad116456b40d9c1db8f27dcad30214ca7 | 2,719 | cpp | C++ | sandbox/openmp/testC/test1.cpp | rboman/progs | c60b4e0487d01ccd007bcba79d1548ebe1685655 | [
"Apache-2.0"
] | 2 | 2021-12-12T13:26:06.000Z | 2022-03-03T16:14:53.000Z | sandbox/openmp/testC/test1.cpp | rboman/progs | c60b4e0487d01ccd007bcba79d1548ebe1685655 | [
"Apache-2.0"
] | 5 | 2019-03-01T07:08:46.000Z | 2019-04-28T07:32:42.000Z | sandbox/openmp/testC/test1.cpp | rboman/progs | c60b4e0487d01ccd007bcba79d1548ebe1685655 | [
"Apache-2.0"
] | 2 | 2017-12-13T13:13:52.000Z | 2019-03-13T20:08:15.000Z | #include <iostream>
#include <sstream>
#include <omp.h>
#include <stdlib.h>
void
mxv(int m, int n, double *a, double *b, double *c, int nbt, int tmax)
{
#pragma omp parallel for num_threads(nbt)
for (int i = 0; i < m; i++)
{
for (int t = 0; t < tmax; ++t)
{
a[i] = 0.0;
f... | 21.752 | 79 | 0.436558 | rboman |
9d91ab3556d97b93bf1666fe1c9d77c733a5dd19 | 1,777 | cpp | C++ | src/concentric_histogram.cpp | BetaRavener/ZPO-Histogram | 2ac39cf9a891190ea48f4413548426ade98c9ead | [
"MIT"
] | null | null | null | src/concentric_histogram.cpp | BetaRavener/ZPO-Histogram | 2ac39cf9a891190ea48f4413548426ade98c9ead | [
"MIT"
] | null | null | null | src/concentric_histogram.cpp | BetaRavener/ZPO-Histogram | 2ac39cf9a891190ea48f4413548426ade98c9ead | [
"MIT"
] | null | null | null | #include "concentric_histogram.h"
using namespace std;
ConcentricHistogram::ConcentricHistogram(int step) :
_step(step)
{
}
void ConcentricHistogram::compute(const GrayscaleImage& img, GrayscaleImage* mark_img)
{
clear_data();
int x1 = 0;
int y1 = 0;
int i;
int j;
int x2 = img.wi... | 25.385714 | 86 | 0.388295 | BetaRavener |
9d9247d61e0daa710c32723a13a01708d922fc33 | 1,494 | cpp | C++ | srcs/AModule.cpp | quentin-litzler/Hydrodynamic-Simulation | 9924b71108aca2a443f9e5852bd44b0cf7319731 | [
"MIT"
] | null | null | null | srcs/AModule.cpp | quentin-litzler/Hydrodynamic-Simulation | 9924b71108aca2a443f9e5852bd44b0cf7319731 | [
"MIT"
] | null | null | null | srcs/AModule.cpp | quentin-litzler/Hydrodynamic-Simulation | 9924b71108aca2a443f9e5852bd44b0cf7319731 | [
"MIT"
] | null | null | null | #include <Model.hpp>
#include <AModule.hpp>
/*******************************************
Constructors
*******************************************/
AModule::AModule(Model & model) : _model(model), _vertices(nullptr), _elements(nullptr)
{
return;
}
/*******************************************
Destructor
***********... | 16.6 | 87 | 0.596386 | quentin-litzler |
9d96a0b5931bfa23a8beec7081c3078cd50533d4 | 1,546 | cpp | C++ | src/unicode/tests/test_libaeon_unicode/test_encoding.cpp | aeon-engine/libaeon | e42b39e621dcd0a0fba05e1c166fc688288fb69b | [
"BSD-2-Clause"
] | 7 | 2017-02-19T16:22:16.000Z | 2021-03-02T05:47:39.000Z | src/unicode/tests/test_libaeon_unicode/test_encoding.cpp | aeon-engine/libaeon | e42b39e621dcd0a0fba05e1c166fc688288fb69b | [
"BSD-2-Clause"
] | 61 | 2017-05-29T06:11:17.000Z | 2021-03-28T21:51:44.000Z | src/unicode/tests/test_libaeon_unicode/test_encoding.cpp | aeon-engine/libaeon | e42b39e621dcd0a0fba05e1c166fc688288fb69b | [
"BSD-2-Clause"
] | 2 | 2017-05-28T17:17:40.000Z | 2017-07-14T21:45:16.000Z | // Distributed under the BSD 2-Clause License - Copyright 2012-2021 Robin Degen
#include <aeon/unicode/encoding.h>
#include <aeon/common/bom.h>
#include <gtest/gtest.h>
#include <array>
using namespace aeon;
TEST(test_encoding, test_encoding_convert)
{
const auto str = u8"I like Π, and らき☆すた, Raki☆Suta ";
c... | 30.313725 | 91 | 0.684994 | aeon-engine |
9d984e43574bb69cbad9f599ac971b12340039dd | 2,669 | cpp | C++ | Orangine/OeCore/src/Material.cpp | leweaver/orangine | 0d6efa5bfce48a1d9d54a339ea70aa11ec81e4ef | [
"MIT"
] | null | null | null | Orangine/OeCore/src/Material.cpp | leweaver/orangine | 0d6efa5bfce48a1d9d54a339ea70aa11ec81e4ef | [
"MIT"
] | null | null | null | Orangine/OeCore/src/Material.cpp | leweaver/orangine | 0d6efa5bfce48a1d9d54a339ea70aa11ec81e4ef | [
"MIT"
] | null | null | null | #include "pch.h"
#include "OeCore/Material.h"
#include "OeCore/Renderer_data.h"
#include "OeCore/Texture.h"
#include "OeCore/Mesh_vertex_layout.h"
using namespace oe;
using namespace std::string_literals;
const std::string g_json_alphaMode = "alpha_mode";
const std::string g_json_faceCullMode = "face_cull_mode";
con... | 27.802083 | 136 | 0.726864 | leweaver |
9da0b24cdf10f28da460f1632103c0a474e1ac33 | 5,324 | hpp | C++ | include/codegen/include/System/Reflection/MonoEvent.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Reflection/MonoEvent.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Reflection/MonoEvent.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:43 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Reflection.RuntimeEventInfo
#include "System/Reflecti... | 47.535714 | 131 | 0.737979 | Futuremappermydud |
9da3164473305d69ce932562dccda848c548127b | 2,257 | cpp | C++ | examples/timeclient/main.cpp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 39 | 2015-04-04T00:29:47.000Z | 2021-06-27T11:25:38.000Z | examples/timeclient/main.cpp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 115 | 2015-04-04T01:59:32.000Z | 2020-12-04T09:23:09.000Z | examples/timeclient/main.cpp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 8 | 2015-05-04T06:24:55.000Z | 2020-11-11T12:38:46.000Z | /*------------------------------------------------------------------------------
Copyright Butterfly Energy Systems 2014-2015.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LI... | 31.347222 | 80 | 0.464333 | katreniak |
9da400dc7c9a604d51df47a66bb9b273dc884ced | 1,387 | cpp | C++ | aws-cpp-sdk-qldb/source/model/InvalidParameterException.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-qldb/source/model/InvalidParameterException.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-qldb/source/model/InvalidParameterException.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/qldb/model/InvalidParameterException.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
... | 18.493333 | 84 | 0.739005 | Neusoft-Technology-Solutions |
9da6da40cf9dd8ffb28ba785db0f753a1044fe51 | 705 | hpp | C++ | android-28/android/hardware/Camera_Face.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/hardware/Camera_Face.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/hardware/Camera_Face.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../JObject.hpp"
namespace android::graphics
{
class Point;
}
namespace android::graphics
{
class Rect;
}
namespace android::hardware
{
class Camera_Face : public JObject
{
public:
// Fields
jint id();
android::graphics::Point leftEye();
android::graphics::Point mouth();
andro... | 18.552632 | 152 | 0.678014 | YJBeetle |
9da881ed814c4b32819b7c8327d3e2fefb82a7de | 1,426 | hh | C++ | Mu2eUtilities/inc/MedianCalculator.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2021-06-25T00:00:12.000Z | 2021-06-25T00:00:12.000Z | Mu2eUtilities/inc/MedianCalculator.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2019-11-22T14:45:51.000Z | 2019-11-22T14:50:03.000Z | Mu2eUtilities/inc/MedianCalculator.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 2 | 2019-10-14T17:46:58.000Z | 2020-03-30T21:05:15.000Z | #ifndef Mu2eUtilities_MedianCalculator_hh
#define Mu2eUtilities_MedianCalculator_hh
//
// Original author G. Pezzullo
//
// this class is intended to be used for evaluaitng the median
// from a set of elements that are stored internally in a vector
//
#include <vector>
//#include <utility>
#include <numeric>
#include... | 27.423077 | 93 | 0.624123 | bonventre |
9db0f549fdee788d61bb50e3afaa14c896faabe9 | 1,229 | cpp | C++ | src/bt-box2ddemo/app-src/render/BallRenderer.cpp | puretekniq/batterytech | cc831b2835b7bf4826948831f0274e3d80921339 | [
"MIT",
"BSD-3-Clause-Clear",
"Zlib",
"BSD-3-Clause"
] | 10 | 2015-04-07T22:23:31.000Z | 2016-03-06T11:48:32.000Z | src/bt-box2ddemo/app-src/render/BallRenderer.cpp | robdoesstuff/batterytech | cc831b2835b7bf4826948831f0274e3d80921339 | [
"MIT",
"BSD-3-Clause-Clear",
"Zlib",
"BSD-3-Clause"
] | 3 | 2015-05-17T10:45:48.000Z | 2016-07-29T18:34:53.000Z | src/bt-box2ddemo/app-src/render/BallRenderer.cpp | puretekniq/batterytech | cc831b2835b7bf4826948831f0274e3d80921339 | [
"MIT",
"BSD-3-Clause-Clear",
"Zlib",
"BSD-3-Clause"
] | 4 | 2015-05-03T03:00:48.000Z | 2016-03-03T12:49:01.000Z |
/*
* BallRenderer.cpp
*
* Created on: Dec 5, 2010
* Author: rgreen
*/
#include "BallRenderer.h"
#include "../gameobjects/Ball.h"
#include <batterytech/render/RenderContext.h>
#include <batterytech/render/QuadRenderer.h>
#include <batterytech/render/GLResourceManager.h>
#include <batterytech/re... | 28.581395 | 101 | 0.671277 | puretekniq |
9db6a56b0657dcd0b119e4a3432787a1841df0c1 | 714 | hpp | C++ | OfferReview/OfferReview/01_38/17_Print1ToMaxOfNDigits/Print1ToMaxOfNDigits_1.hpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | 2 | 2021-06-26T08:07:04.000Z | 2021-08-03T06:05:40.000Z | OfferReview/OfferReview/01_38/17_Print1ToMaxOfNDigits/Print1ToMaxOfNDigits_1.hpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | null | null | null | OfferReview/OfferReview/01_38/17_Print1ToMaxOfNDigits/Print1ToMaxOfNDigits_1.hpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | null | null | null | //
// Print1ToMaxOfNDigits_1.hpp
// OfferReview
//
// Created by CHM on 2020/11/3.
// Copyright © 2020 CHM. All rights reserved.
//
#ifndef Print1ToMaxOfNDigits_1_hpp
#define Print1ToMaxOfNDigits_1_hpp
#include <stdio.h>
#include <memory>
#include <vector>
using namespace std;
namespace Print1ToMaxOfNDigits_1 {... | 18.307692 | 74 | 0.738095 | chm994483868 |
9db9d69a28ac2392dc1afce1133a0f1abd1270e7 | 5,834 | cpp | C++ | super-knowledge-platform/skpClient/skpClient/trunk/src/main/skp_mainwindow.cpp | yefy/skp | a9fafa09eacd6a0a802ea6550efd30ace79e4a4f | [
"MIT"
] | null | null | null | super-knowledge-platform/skpClient/skpClient/trunk/src/main/skp_mainwindow.cpp | yefy/skp | a9fafa09eacd6a0a802ea6550efd30ace79e4a4f | [
"MIT"
] | null | null | null | super-knowledge-platform/skpClient/skpClient/trunk/src/main/skp_mainwindow.cpp | yefy/skp | a9fafa09eacd6a0a802ea6550efd30ace79e4a4f | [
"MIT"
] | null | null | null | #include "skp_mainwindow.h"
#include "ui_skp_mainwindow.h"
#include "NcFramelessHelper.h"
#include "skp_socket_test_widget.h"
#include "skp_skin_themed_widget.h"
#include "skp_file_widget.h"
#include "MOption.h"
#ifdef Q_OS_WIN
#include <qwinfunctions.h>
#endif
#include <QSystemTrayIcon>
#include <QMenu... | 28.458537 | 109 | 0.671752 | yefy |
9dbb29a715b3eb20d80a66ea066c72623c884d7c | 41,912 | cc | C++ | test/src/test_hirescamera.cc | tim-schoenmackers/hippo | ce381551898b4eba7ca73fc64bf138b6ba93a66c | [
"MIT"
] | 5 | 2020-08-28T02:43:00.000Z | 2020-09-23T15:03:13.000Z | test/src/test_hirescamera.cc | tim-schoenmackers/hippo | ce381551898b4eba7ca73fc64bf138b6ba93a66c | [
"MIT"
] | 1 | 2021-07-16T01:08:56.000Z | 2021-09-17T17:41:33.000Z | test/src/test_hirescamera.cc | tim-schoenmackers/hippo | ce381551898b4eba7ca73fc64bf138b6ba93a66c | [
"MIT"
] | 5 | 2019-11-01T23:48:04.000Z | 2022-02-18T07:24:49.000Z |
// Copyright 2019 HP Development Company, L.P.
// SPDX-License-Identifier: MIT
#include <windows.h> // for Sleep()
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include "include/hirescamera.h"
extern const char wsAddress[];
extern const uint32_t wsPort;
extern void print_error(uint64_t err);
extern ... | 36.540541 | 80 | 0.664511 | tim-schoenmackers |
9dbbac82cb859d9fb39899ec7224e1a4da3afc86 | 1,622 | cpp | C++ | Juez/FAL1/source.cpp | Yule1223/FAL | de7aef53ca3af5e01e65228290ada14512f46850 | [
"MIT"
] | null | null | null | Juez/FAL1/source.cpp | Yule1223/FAL | de7aef53ca3af5e01e65228290ada14512f46850 | [
"MIT"
] | null | null | null | Juez/FAL1/source.cpp | Yule1223/FAL | de7aef53ca3af5e01e65228290ada14512f46850 | [
"MIT"
] | null | null | null | // Yule Zhang
// E81
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
using namespace std;
//T(n) = C1 (Si n == 1);
//T(n) = 2T(n/2) + C2 (Si n > 1);
//Se obtiene un coste O(n) siendo n el numero de elementos del vector.
// Funcion que resuelve el problema
// v.size() es pote... | 24.575758 | 96 | 0.561652 | Yule1223 |
9dbd77ead69f6b563ac4398c87b2c4056f606203 | 15,269 | cc | C++ | minios/network_manager_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | minios/network_manager_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | minios/network_manager_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 The Chromium OS 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 <string>
#include <vector>
#include <brillo/dbus/mock_dbus_method_response.h>
#include <brillo/errors/error_codes.h>
#include <brillo/message... | 42.296399 | 80 | 0.753815 | Toromino |
e38383648b3baf4d7477ebf6fedf3f9bf4b85aad | 1,994 | cc | C++ | Source/BladeDevice/source/graphics/Texture.cc | OscarGame/blade | 6987708cb011813eb38e5c262c7a83888635f002 | [
"MIT"
] | 146 | 2018-12-03T08:08:17.000Z | 2022-03-21T06:04:06.000Z | Source/BladeDevice/source/graphics/Texture.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 1 | 2019-01-18T03:35:49.000Z | 2019-01-18T03:36:08.000Z | Source/BladeDevice/source/graphics/Texture.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 31 | 2018-12-03T10:32:43.000Z | 2021-10-04T06:31:44.000Z | /********************************************************************
created: 2010/04/15
filename: Texture.cc
author: Crazii
purpose:
*********************************************************************/
#include <BladePCH.h>
#include <graphics/Texture.h>
namespace Blade
{
/////////////////////////////////... | 26.236842 | 108 | 0.557673 | OscarGame |
e3851ef7f234d9c884c54264a4b45b6b17187593 | 1,901 | cc | C++ | modules/planning/lattice/trajectory1d/piecewise_jerk_trajectory1d.cc | idaohang/apollo | 2f35a68bcd915f571afbd8ef2604aa3289a5a0cc | [
"Apache-2.0"
] | 1 | 2018-07-22T08:09:08.000Z | 2018-07-22T08:09:08.000Z | modules/planning/lattice/trajectory1d/piecewise_jerk_trajectory1d.cc | ouyangle8794/apollo | 2f35a68bcd915f571afbd8ef2604aa3289a5a0cc | [
"Apache-2.0"
] | null | null | null | modules/planning/lattice/trajectory1d/piecewise_jerk_trajectory1d.cc | ouyangle8794/apollo | 2f35a68bcd915f571afbd8ef2604aa3289a5a0cc | [
"Apache-2.0"
] | 1 | 2021-11-01T02:48:42.000Z | 2021-11-01T02:48:42.000Z | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 35.203704 | 79 | 0.687533 | idaohang |
e38543517438ea869409b2aa9d337d5b915dcfa2 | 1,307 | cpp | C++ | toolbox/sys/Time.cpp | Shivix/toolbox-cpp | 84f397a2503edd029a9dbf32f6500c00617aeb3a | [
"Apache-2.0"
] | null | null | null | toolbox/sys/Time.cpp | Shivix/toolbox-cpp | 84f397a2503edd029a9dbf32f6500c00617aeb3a | [
"Apache-2.0"
] | null | null | null | toolbox/sys/Time.cpp | Shivix/toolbox-cpp | 84f397a2503edd029a9dbf32f6500c00617aeb3a | [
"Apache-2.0"
] | null | null | null | // The Reactive C++ Toolbox.
// Copyright (C) 2013-2019 Swirly Cloud Limited
// Copyright (C) 2021 Reactive Markets Limited
//
// 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:... | 27.808511 | 75 | 0.729151 | Shivix |
e3891f10370ac55e47cf17c67c36f7249b2965bc | 8,797 | cpp | C++ | view.cpp | kaitokidi/WakomExercice | bf0135db68a4300382e41a947b7a327b145a3056 | [
"MIT"
] | null | null | null | view.cpp | kaitokidi/WakomExercice | bf0135db68a4300382e41a947b7a327b145a3056 | [
"MIT"
] | null | null | null | view.cpp | kaitokidi/WakomExercice | bf0135db68a4300382e41a947b7a327b145a3056 | [
"MIT"
] | null | null | null | #include <string>
#include <sstream>
#include <iostream>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
int main(){
//VARIABLES CONSTANTS i ENUMERATIONS
int speed = 180;
float pantalla = 1;
float time_to_next_sprite = 0.09;
enum direction { down, left, right, up , none};
const ... | 40.16895 | 294 | 0.588837 | kaitokidi |
e38e4b9fa409eb06d4f5cc4ca6c915569d676adc | 381 | cpp | C++ | RealNumber.cpp | lwjpig/number | 562013f04fdd2e1af350e67c726f4ad87956602c | [
"MIT"
] | null | null | null | RealNumber.cpp | lwjpig/number | 562013f04fdd2e1af350e67c726f4ad87956602c | [
"MIT"
] | null | null | null | RealNumber.cpp | lwjpig/number | 562013f04fdd2e1af350e67c726f4ad87956602c | [
"MIT"
] | null | null | null | #include"Number.h"
#include"RealNumber.h"
#include<iostream>
using namespace std;
RealNumber::RealNumber(double a)
{
Rn=a;
}
RealNumber RealNumber::add(const RealNumber& other)
{
RealNumber B(Rn+other.Rn);
return B;
}
RealNumber RealNumber::mul(const RealNumber& other)
{
RealNumber B(Rn*other.Rn);
return B;
}
void... | 12.290323 | 51 | 0.716535 | lwjpig |
e391e59033ada28146926d0ed73db28b34d4c724 | 1,050 | hpp | C++ | arm/settings.hpp | fyhertz/epilepsia | 16adc539e26c0e5bea06f768caaf08172b405a00 | [
"Apache-2.0"
] | 16 | 2018-03-12T23:44:58.000Z | 2021-06-15T11:45:46.000Z | arm/settings.hpp | fyhertz/epilepsia | 16adc539e26c0e5bea06f768caaf08172b405a00 | [
"Apache-2.0"
] | null | null | null | arm/settings.hpp | fyhertz/epilepsia | 16adc539e26c0e5bea06f768caaf08172b405a00 | [
"Apache-2.0"
] | 1 | 2019-05-23T08:12:29.000Z | 2019-05-23T08:12:29.000Z | /*
* Copyright (C) 2018-2019 Simon Guigui
*
* 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 ... | 25 | 81 | 0.731429 | fyhertz |
e394a41912c016c6cafa87b744e9a26158953600 | 4,998 | cpp | C++ | xaiPatch.cpp | Coxxs/YsVIII-tools | 4da809c90693f492e67ccb31b3150fb9a3269559 | [
"Apache-2.0"
] | 15 | 2017-10-06T08:55:19.000Z | 2022-01-11T22:03:34.000Z | xaiPatch.cpp | Coxxs/YsVIII-tools | 4da809c90693f492e67ccb31b3150fb9a3269559 | [
"Apache-2.0"
] | 9 | 2017-09-25T12:21:31.000Z | 2018-08-03T04:29:55.000Z | xaiPatch.cpp | Coxxs/YsVIII-tools | 4da809c90693f492e67ccb31b3150fb9a3269559 | [
"Apache-2.0"
] | 7 | 2017-09-27T21:43:38.000Z | 2020-06-10T03:16:53.000Z | // XAST Patcher by yosh778
#include <string>
#include <iostream>
#include <algorithm>
#include <sstream>
#include <fstream>
#include <cinttypes>
#define RBUF_SIZE 0x1000000
uint32_t read32(std::fstream& input) {
uint32_t data;
input.read((char*)&data, (int)sizeof(data));
return data;
}
uint64_t read64(std::fstre... | 23.464789 | 121 | 0.622049 | Coxxs |
e395cb29b86058a0cb13b3e7698479156d5b7e88 | 308 | hpp | C++ | test-suite/generated-src/cpp/FunctionPrologueHelper.hpp | ButterflyNetwork/djinni | c48117218536e947d26beb30ddbcab4ac7136eb4 | [
"Apache-2.0"
] | 57 | 2021-05-28T04:55:47.000Z | 2022-03-29T11:29:24.000Z | test-suite/generated-src/cpp/FunctionPrologueHelper.hpp | ButterflyNetwork/djinni | c48117218536e947d26beb30ddbcab4ac7136eb4 | [
"Apache-2.0"
] | 37 | 2021-05-26T22:09:37.000Z | 2022-03-16T20:57:17.000Z | test-suite/generated-src/cpp/FunctionPrologueHelper.hpp | ButterflyNetwork/djinni | c48117218536e947d26beb30ddbcab4ac7136eb4 | [
"Apache-2.0"
] | 11 | 2021-06-23T05:28:54.000Z | 2022-03-29T01:03:17.000Z | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from function_prologue.djinni
#pragma once
#include <string>
namespace testsuite {
class FunctionPrologueHelper {
public:
virtual ~FunctionPrologueHelper() = default;
static std::string foo();
};
} // namespace testsuite
| 17.111111 | 62 | 0.733766 | ButterflyNetwork |
e3a23466dc97c4953ce2b2d0b44392757e18510b | 1,843 | cpp | C++ | 3Tree/987. Vertical Order Traversal of a Binary Tree.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | 3Tree/987. Vertical Order Traversal of a Binary Tree.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | 3Tree/987. Vertical Order Traversal of a Binary Tree.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
vector<vector<int> > ans;
map<TreeNode*, pair<int, int> > m;
typedef pair<int, pair<int, int> >... | 27.102941 | 62 | 0.490505 | lingqtan |
e3a339bf9b2d7c390267649b7edbf4249b0f4c53 | 1,390 | cpp | C++ | src/prod/src/Hosting2/ConfigureSecurityPrincipalReply.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Hosting2/ConfigureSecurityPrincipalReply.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Hosting2/ConfigureSecurityPrincipalReply.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 30.217391 | 98 | 0.638849 | AnthonyM |
e3a67380e84d48f0cec7dcac3476d157f5bebfe8 | 1,404 | cpp | C++ | Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise1.cpp | Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 9 | 2018-10-24T15:16:47.000Z | 2021-12-14T13:53:50.000Z | Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise1.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | null | null | null | Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise1.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 7 | 2018-10-29T15:30:37.000Z | 2021-01-18T15:15:09.000Z | /*
TITLE My window Chapter16Exercise1.cpp
"Bjarne Stroustrup "Programming Principles and Practices Using C++""
COMMENT
Objective: Define class based on Window with two buttons: quit, next.
Input: -
Output: -
Author: 18.10.2015
Date: Chris B. Kirov
*/
#include <iostream>
#include "GU... | 23.4 | 105 | 0.605413 | Ziezi |
e3a7880720e86e33627eb2668d21d0b98dcd7a17 | 1,604 | cc | C++ | caffe2/operators/sqrt_op.cc | shigengtian/caffe2 | e19489d6acd17fea8ca98cd8e4b5b680e23a93c5 | [
"Apache-2.0"
] | 1 | 2019-07-17T02:19:57.000Z | 2019-07-17T02:19:57.000Z | caffe2/operators/sqrt_op.cc | shigengtian/caffe2 | e19489d6acd17fea8ca98cd8e4b5b680e23a93c5 | [
"Apache-2.0"
] | null | null | null | caffe2/operators/sqrt_op.cc | shigengtian/caffe2 | e19489d6acd17fea8ca98cd8e4b5b680e23a93c5 | [
"Apache-2.0"
] | 1 | 2018-12-20T09:14:48.000Z | 2018-12-20T09:14:48.000Z | #include <Eigen/Core>
#include "caffe2/operators/elementwise_op.h"
namespace caffe2 {
struct SqrtCPUFunctor {
template <typename T>
inline void
operator()(const int n, const T* x, T* y, CPUContext* /*device_context*/) {
EigenVectorArrayMap<T>(y, n) = ConstEigenVectorArrayMap<T>(x, n).sqrt();
}
};
REGISTE... | 32.08 | 77 | 0.543641 | shigengtian |
e3a9321e16f9758527f3bbede21df8df6e501e7a | 3,525 | cpp | C++ | src/Mario.cpp | KenReneris/PacManClock | 39a304bce1514dbd9770d4048748a2e5eaed3c23 | [
"MIT"
] | null | null | null | src/Mario.cpp | KenReneris/PacManClock | 39a304bce1514dbd9770d4048748a2e5eaed3c23 | [
"MIT"
] | null | null | null | src/Mario.cpp | KenReneris/PacManClock | 39a304bce1514dbd9770d4048748a2e5eaed3c23 | [
"MIT"
] | null | null | null | /*
* Mario.cpp
* Mario animations
*
* Author: Ken Reneris <https://github.com/KenReneris>
* MIT License
* ----------------------------------------------------------
*/
#include "platform.h"
#include "Mario.h"
const uint8 PROGMEM k_mario0[] = {
2, 0,0,0, 3, 0, 15, 16,
0x00,0x00,0xff, 0xf1,0xd0,0xb1, 0... | 23.817568 | 109 | 0.49844 | KenReneris |
e3a9815c46f1ad9f883b05a203bad298e709011a | 691 | cpp | C++ | src/amibo-tap.cpp | YuzukiTsuru/AmiiboTap | ceb8dd57fd87d30078e9927c87cbc80da4239376 | [
"BSD-3-Clause"
] | null | null | null | src/amibo-tap.cpp | YuzukiTsuru/AmiiboTap | ceb8dd57fd87d30078e9927c87cbc80da4239376 | [
"BSD-3-Clause"
] | 1 | 2021-10-21T12:05:07.000Z | 2021-11-05T07:40:29.000Z | src/amibo-tap.cpp | YuzukiTsuru/AmiiboTap | ceb8dd57fd87d30078e9927c87cbc80da4239376 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <ColorCout.hpp>
#include "amiibo.h"
#include "nfchandler.h"
int main(int argc, char **argv) {
// Para error handler
if (argc != 3) {
std::cout << cc::red
<< "Incorrect number of arguments\n"
<< "Usage\n"
<< "\tamiibota... | 23.827586 | 67 | 0.484805 | YuzukiTsuru |
e3ad132d2be5c23cd4680cfb414f5a990b46c8f6 | 666 | cpp | C++ | Languages/C++/EQDIV.cpp | Nandini2901/Hacktoberfest-1 | ac5eff7c8678f3ce00041bdba20c63c416dac690 | [
"MIT"
] | 1 | 2021-07-14T19:04:48.000Z | 2021-07-14T19:04:48.000Z | Languages/C++/EQDIV.cpp | Nandini2901/Hacktoberfest-1 | ac5eff7c8678f3ce00041bdba20c63c416dac690 | [
"MIT"
] | 1 | 2020-10-13T06:01:45.000Z | 2020-10-13T06:01:45.000Z | Languages/C++/EQDIV.cpp | Nandini2901/Hacktoberfest-1 | ac5eff7c8678f3ce00041bdba20c63c416dac690 | [
"MIT"
] | 1 | 2020-10-13T10:41:27.000Z | 2020-10-13T10:41:27.000Z | //Solution for Codechef September Long challenge 2020 Division 2
//https://www.codechef.com/SEPT20B/problems/EQDIV
//author: kvv1618
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
// your code goes here
int k,t;
cin>>k>>t;
while(t--)
{
ll n;
cin>>n;
ll s=n*(n+1)... | 18 | 64 | 0.477477 | Nandini2901 |
e3af618b92e8413b7c77ee220ff438bc26c75605 | 655 | cpp | C++ | modele/diagrammeVoronoi/segment.cpp | dusby/VoronoiDiagramTurtleShell | c18b99558a5cc8f9c1d67a877925133f01a5fde7 | [
"MIT"
] | null | null | null | modele/diagrammeVoronoi/segment.cpp | dusby/VoronoiDiagramTurtleShell | c18b99558a5cc8f9c1d67a877925133f01a5fde7 | [
"MIT"
] | null | null | null | modele/diagrammeVoronoi/segment.cpp | dusby/VoronoiDiagramTurtleShell | c18b99558a5cc8f9c1d67a877925133f01a5fde7 | [
"MIT"
] | null | null | null | #include "segment.h"
Segment::Segment(){}
Segment::Segment(Point *a, Point*b):a(a), b(b){}
Point * Segment::getA()const{
return this->a;
}
void Segment::setA(Point *p){
this->a = p;
}
Point * Segment::getB()const{
return this->b;
}
void Segment::setB(Point * p){
this->b = p;
}
Segment::operator s... | 20.46875 | 171 | 0.552672 | dusby |
e3b147857675feaac187ac58614de853e093c501 | 6,363 | cpp | C++ | Tests/org-test.cpp | emilydolson/GPTP-2021-exploration-diagnostic-phylodiversity | 15df6ca1eaac0e1849fc1c138e7e53d50c8fd2e6 | [
"MIT"
] | 4 | 2021-05-10T19:03:09.000Z | 2021-12-13T18:46:21.000Z | Tests/org-test.cpp | emilydolson/GPTP-2021-exploration-diagnostic-phylodiversity | 15df6ca1eaac0e1849fc1c138e7e53d50c8fd2e6 | [
"MIT"
] | null | null | null | Tests/org-test.cpp | emilydolson/GPTP-2021-exploration-diagnostic-phylodiversity | 15df6ca1eaac0e1849fc1c138e7e53d50c8fd2e6 | [
"MIT"
] | 1 | 2021-08-15T05:29:01.000Z | 2021-08-15T05:29:01.000Z | #define CATCH_CONFIG_MAIN
// testing files
#include "/mnt/c/Users/josex/Desktop/Research/Repos/Catch/catch.hpp"
#include "../source/org.h"
// empirical headers
#include "base/vector.h"
// library includes
#include <algorithm>
#include <string>
// In Tests directory, to run:
// clang++ -std=c++17 -I ..... | 34.209677 | 89 | 0.648593 | emilydolson |
e3b214a435b68786aa2611250e56534788d20e26 | 6,114 | cpp | C++ | src/predict.cpp | seandobs/psvn-suite | aa6fbb5a6c0f062f10216efd7596018ef4b7c325 | [
"MIT"
] | 1 | 2020-06-16T17:49:02.000Z | 2020-06-16T17:49:02.000Z | src/predict.cpp | seandobs/psvn-suite | aa6fbb5a6c0f062f10216efd7596018ef4b7c325 | [
"MIT"
] | null | null | null | src/predict.cpp | seandobs/psvn-suite | aa6fbb5a6c0f062f10216efd7596018ef4b7c325 | [
"MIT"
] | null | null | null | // Performs SSDP to predict the number of problems
// that an A* search will expand.
#include <iostream>
#include <string>
#include <sstream>
#include <chrono>
#include <thread>
#include <random>
#include <functional>
#include "../include/probabilitypredictor.hpp"
#include "../include/ss.hpp"
#include "../include/sta... | 27.917808 | 153 | 0.63052 | seandobs |
e3b3811525f50f0e1f6490bcfee930e983292df8 | 688 | cc | C++ | src/diverta20192/b.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/diverta20192/b.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/diverta20192/b.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int solve(int n, vector<ll> x, vector<ll> y) {
map<pair<ll, ll>, int> mp;
for(int i = 0; i < n - 1; i++) {
for(int j = i + 1; j < n; j++) {
mp[make_pair(x[j] - x[i], y[j] - y[i])]++;
mp[make_pair(x[i] - x[j], y[... | 22.193548 | 54 | 0.4375 | nryotaro |
e3b46a094909090f2a73cabbd6d5fe22d9fc8c7c | 1,743 | cpp | C++ | QEncryptionKit/src/qencryptionkit.cpp | daodaoliang/QDaodaoliang | bc404934fe6d694c5a3904112414a434ca86f953 | [
"MIT"
] | 2 | 2017-10-24T02:50:51.000Z | 2021-06-18T16:13:18.000Z | QEncryptionKit/src/qencryptionkit.cpp | daodaoliang/QDaodaoliang | bc404934fe6d694c5a3904112414a434ca86f953 | [
"MIT"
] | null | null | null | QEncryptionKit/src/qencryptionkit.cpp | daodaoliang/QDaodaoliang | bc404934fe6d694c5a3904112414a434ca86f953 | [
"MIT"
] | 4 | 2017-07-20T07:17:47.000Z | 2021-08-12T09:47:44.000Z | #include "qencryptionkit.h"
#include <QDebug>
QEncryptionKit::QEncryptionKit(QObject *parent):
QObject(parent)
{
}
QString QEncryptionKit::getMD5Harsh(const QString ¶m_data)
{
return QString(QCryptographicHash::hash(param_data.toLocal8Bit(),QCryptographicHash::Md5).toHex());
}
QString QEncryptionKit::ge... | 34.176471 | 104 | 0.650602 | daodaoliang |