blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
69af18a11a0128a7740c37bdbdd0c969ff3c3d86 | c046d763961bb67836aa8256278ee9ec671422e2 | /src/UICanvas.cpp | a7e4398bc94792ccaae95545b85464a3f2b538f1 | [
"Zlib"
] | permissive | tapio/Wendy | e46257d039f19e3cac8106c00e46f6e60683efcc | 41ba0af0158bfe9fe50c0e881b451342602aa327 | refs/heads/master | 2021-01-16T08:54:53.109074 | 2014-01-08T18:16:15 | 2014-01-08T18:16:15 | 2,694,440 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271 | cpp | UICanvas.cpp | ///////////////////////////////////////////////////////////////////////
// Wendy user interface library
// Copyright (c) 2007 Camilla Berglund <elmindreda@elmindreda.org>
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any
// damages a... |
3fa6cf58f2beb42d3c3ca68efdcd38070737bb15 | 4903b3017798c219fc72277fc1c96de63d7c4c09 | /jni/CloudBox/CBFacebookExhibitor.cpp | 4f4bb8e15a9c66d985dbcc337cf40d9c9ca4ad1e | [] | no_license | cloudhsu/CloudBox | aef66b1a1665afa156d5228ff6d55d5518f8cda2 | e42f1ff3e667e26f47988b4d2938b8fde18e845f | refs/heads/master | 2020-05-25T10:48:33.639881 | 2014-09-11T02:10:36 | 2014-09-11T02:10:36 | 5,096,433 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | CBFacebookExhibitor.cpp | /*
* CBFacebookExhibitor.cpp
* CloudBox Cross-Platform Framework Project
*
* Created by Cloud on 2013/03/26.
* Copyright 2013 Cloud Hsu. All rights reserved.
*
*/
#include "CBFacebookExhibitor.h"
#include "CBLibrary.h"
#include "CBExhibitorFactory.h"
CBFacebookExhibitor::CBFacebookExhibitor()
... |
37a5f3602ba86493ddac156682f72b825cbf9c88 | 1885ce333f6980ab6aad764b3f8caf42094d9f7d | /test/e2e/test_master/skia/src/core/SkGlyphRunPainter.h | 85259a46e0bd83ba3a6a56c6f1ed3655c44b642f | [
"MIT"
] | permissive | satya-das/cppparser | 1dbccdeed4287c36c61edc30190c82de447e415b | f9a4cfac1a3af7286332056d7c661d86b6c35eb3 | refs/heads/master | 2023-07-06T00:55:23.382303 | 2022-10-03T19:40:05 | 2022-10-03T19:40:05 | 16,642,636 | 194 | 26 | MIT | 2023-06-26T13:44:32 | 2014-02-08T12:20:01 | C++ | UTF-8 | C++ | false | false | 6,139 | h | SkGlyphRunPainter.h | /*
* Copyright 2018 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkGlyphRunPainter_DEFINED
# define SkGlyphRunPainter_DEFINED
# include "include/core/SkSurfaceProps.h"
# include "src/core/SkDistanceFieldGen.h"
... |
f08625778e3e499ee50265eeb8b5c197fdca4615 | bc42501d3d240046a6eea1d07a6ed35dabc345c8 | /account.cpp | e32a106e1abf9cd70df63253837368a55a41d925 | [] | no_license | estefanofc/BankingApp | 266af67d1866faf65004931405d31691f910994e | c7cd9df9e53db9eefaee59e2e34eb71478e0be90 | refs/heads/master | 2020-09-19T22:45:07.028487 | 2019-12-03T21:59:46 | 2019-12-03T21:59:46 | 224,315,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,966 | cpp | account.cpp | // Created by Estefano Felipa and Jonathan Young on 11-29-19
#include "account.h"
#include <iostream>
// default account constructor, initializes all sub-accounts to 0 balance
Account::Account(string LastName, string FirstName, int AccountID) :
LastName{LastName}, FirstName{FirstName}, AccountID{AccountID} {
... |
6acf584c28d36986c36c2b87c4ccb209f3a8fc6c | 80b851f78d07d6d594ea29304a6f367f0db827f6 | /isUnique/isUnique.cpp | 527d6033554f2af107d2d996eed96e96ba558f69 | [] | no_license | luckydennis/Practice1 | 9432b1e16f070bedeefdf0732b9248ddcb407268 | a35ae42f8b1c343fb862238a54c0b17ed8df5c96 | refs/heads/master | 2020-04-19T22:43:19.297468 | 2019-02-22T07:22:34 | 2019-02-22T07:22:34 | 168,477,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | isUnique.cpp | // isUnique.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include <iostream>
#define UNIQ_CHAR 128;
bool isUnique(std::string const& str)
{
if (str.length() > 128)
return false;
bool set_char[128] = { false };
for (int i = 0; i < str.length(); i++)
{... |
6493ed4a0b460d559f4e1f289ae0f7eb22bda793 | a8e9c9e9be6781664c46d4d4fb276dd525778815 | /Twitter Model/cmdhandler.cpp | 88290fd58a922d8a76c4a65182e68bb365c678a2 | [] | no_license | AlexVolcy/Personal | 6861950ad169b104bff9c2f9ad24bc66c5cd6389 | 8c92d63494d6c4fcee8fdd03e414ae59b380d1ef | refs/heads/master | 2020-03-18T22:58:49.352230 | 2018-09-27T04:13:13 | 2018-09-27T04:13:13 | 135,376,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,743 | cpp | cmdhandler.cpp | #include "cmdhandler.h"
#include "util.h"
#include "datetime.h"
#include <sstream>
#include <iostream>
using namespace std;
QuitHandler::QuitHandler()
{
}
QuitHandler::QuitHandler(Handler* next)
: Handler(next)
{
}
bool QuitHandler::canHandle(const std::string& cmd) const
{
return cmd == "QUIT";
}
Handler::HA... |
2d322a894626d067db4b424f10e30b6b78d1943b | 32b8db47c9335f65aeb39848c928c3b64fc8a52e | /tgame-client-classes-20160829/CfgDescCpp/TaskCfg.pb.cc | 9ff81164e4d6f695d6c55323153995cfdbdb0164 | [] | no_license | mengtest/backup-1 | 763dedbb09d662b0940a2cedffb4b9fd1f7fb35d | d9f34e5bc08fe88485ac82f8e9aa09b994bb0e54 | refs/heads/master | 2020-05-04T14:29:30.181303 | 2016-12-13T02:28:23 | 2016-12-13T02:28:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 41,356 | cc | TaskCfg.pb.cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TaskCfg.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "TaskCfg.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#includ... |
2c1e951f17963edbfbfbac7e0985722b5e528a1f | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/engine/client/application/ParticleEditor/src/win32/ColorRampEdit.h | 98876906c9477775087e728eed47e8c80a40116f | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 4,870 | h | ColorRampEdit.h | // ============================================================================
//
// ColorRampEdit.h
// Copyright Sony Online Entertainment
//
// ============================================================================
#ifndef COLORRAMPEDIT_H
#define COLORRAMPEDIT_H
#include "BaseColorRampWidget.h"
#include "cli... |
dd3b01e57f1b187355aebbde2d319b85f8390b23 | 571110a073ac9e632018aef09443e4a291f5b82f | /src/neut_dice/src/config/vtable.h | df97b03015667770c3e4cadc0e716faab27aa98c | [] | no_license | ampereira/ttH_dilep | 2fa06be80d532ccc8f441d66c6f94f5f1e9e1c66 | d92567fdc8ad01b0880b29ab05a80bde8280cda6 | refs/heads/master | 2021-01-25T10:16:26.759329 | 2014-05-20T14:03:02 | 2014-05-20T14:03:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | h | vtable.h |
#ifndef __VTABLE_X86_H_
#define __VTABLE_X86_H_
#include <config/work.cfg.h>
#include <gamalib/work/work.h>
/*
*
* Include work description files
*
*/
#include <samples/saxpy/saxpy.h>
typedef void (work::*executeFN)(void);
typedef List<work*>* (work::*diceFN)(double* wl, unsigned int device);
const executeF... |
e55c5bcb39a6a7546c4dc62c31326074c8595321 | 1c021942f97f0e111236d03a3bd500ef596d0acb | /SamuraiShodown-1.00/ModuleSceneHanzo.cpp | c8a4bfa1f56b1de3bfd954ea704ea05b935a30c8 | [] | no_license | AaronGCProg/SamuraiShodown-XMatStudio | d79f6bc37ef3b11f563b35896a4875f3c3ec5839 | 60ffc53fdaa951b86a1596249549b76cc77c6225 | refs/heads/master | 2020-04-24T22:50:24.623878 | 2019-12-03T09:13:30 | 2019-12-03T09:13:30 | 172,324,399 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 5,004 | cpp | ModuleSceneHanzo.cpp | #include "Globals.h"
#include "Application.h"
#include "ModuleTextures.h"
#include "ModuleRender.h"
#include "ModuleSceneHanzo.h"
#include "ModuleSceneCongrats.h"
#include "ModulePlayer.h"
#include "ModulePlayer2.h"
#include "ModuleInput.h"
#include "ModuleAudio.h"
#include "ModuleCollision.h"
#include "ModuleParticles... |
6f7a2f062ab6bb15313cc86fcc23ca2a225ba50a | aa00421be74c30034c457bb042771afe506bd9e4 | /src/math/collision/intersection/coIntersectRayCapsule_f.cpp | adb2b08362f2976f43e470182571b227c152623b | [
"MIT"
] | permissive | smogpill/core | e36ff38b37a53363e985214ce0fd55a543f94e10 | c9798815b153627a701fec8572e408c706bc0e19 | refs/heads/master | 2023-08-12T06:56:18.301582 | 2023-07-30T09:46:32 | 2023-07-30T09:46:32 | 61,426,009 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,845 | cpp | coIntersectRayCapsule_f.cpp | // Copyright(c) 2021 Jounayd Id Salah
// Distributed under the MIT License (See accompanying file LICENSE.md file or copy at http://opensource.org/licenses/MIT).
#include "math/pch.h"
#include "coIntersectRayCapsule_f.h"
#include "coIntersectRaySphere_f.h"
// PT: ray-capsule intersection code, originally from the old ... |
cf28a0af40a0eb73376c940c63472ddb48c8d8b2 | 9b1639af63f7fc82f0e488b452dee0cb7ae22a3b | /Corporate_Edition/win32/trunk/src/Pscan/RTVScan/WTS/ScanListener.h | 7a049128b69735a2679087267305fb864c4753c3 | [] | no_license | ExpLife/Norton_AntiVirus_SourceCode | af7cd446efb2f3a10bba04db8e7438092c7299c0 | b90225233fa7930d2ef7922080ed975b7abfae8c | refs/heads/master | 2017-12-19T09:15:25.150463 | 2016-10-03T02:33:34 | 2016-10-03T02:33:34 | 76,859,815 | 2 | 4 | null | 2016-12-19T12:21:02 | 2016-12-19T12:21:01 | null | UTF-8 | C++ | false | false | 1,083 | h | ScanListener.h | // PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
// Copyright (c) 2006 Symantec Corporation, All rights reserved.
#pragma once
#include <windows.h>
#include "IWtsSessionListener.h"
#include "wtssessionevent.h"
#include "guard.h"
class CScanListener: public IWtsSessionListener
... |
f038cdc39436dc8dd50be8feccb269d537a348f4 | e7fa3ef904c375d6b9ffb56bdc2a3c51ef49966d | /FAR_CEL.cpp | c15df05b6d31f922162a0f6dad7ca798c2f01118 | [] | no_license | adityajain17/CPP-Codes | 68968e198c18fe225182435cee4fa6d11c5edaea | 37d06673d5a599d479dc36085f3ac974443c4254 | refs/heads/master | 2020-05-21T01:15:41.402551 | 2019-05-09T18:49:34 | 2019-05-09T18:49:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | FAR_CEL.cpp | #include<iostream>
using namespace std;
int main()
{
double f,c;
cout<<"Enter the temp in Farenheit"<<endl;
cin>>f;
c=(5.0*(f-32))/9.0;
cout<<"Temp in celsius"<<c<<endl;
}
|
277a6048295983f9641c38d6d07d5623a37ebe2e | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/Game/XUIPaletteSlot.h | 384e2c96d73683b0bd8e6563527691764e6fd6dc | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,447 | h | XUIPaletteSlot.h | #pragma once
#include "MWidget.h"
#include "MBitmap.h"
using namespace std;
using namespace mint3;
/// class : XPaletteSlotLook
class XPaletteSlotLook : public MLookBase
{
/// Member variables
protected:
MFont* m_pLargeFont;
MFont* m_pSmallFont;
MBitmap* m_pCooltimeImage;
int m_nCooltimeI... |
da48da2bc4e73c1021284a1a886facab9c1e6a0f | ee14491e4434ce66da6379988f47a4cfab6df4ae | /latex/headers/range.h | f3049de1c6cb529235b9244bb3d18635f98b6ecc | [
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0"
] | permissive | keryell/SYCL-Docs | 305ee9af373daa30ed2e4241801e15b071e439b5 | 5c3fd1be1916b8dfb196de2041c9afd31b6ec0bd | refs/heads/master | 2023-05-25T04:14:15.509824 | 2018-12-13T16:19:41 | 2019-11-14T20:50:45 | 191,429,641 | 0 | 0 | NOASSERTION | 2019-06-11T18:33:52 | 2019-06-11T18:33:51 | null | UTF-8 | C++ | false | false | 1,221 | h | range.h | namespace cl {
namespace sycl {
template <int dimensions = 1>
class range {
public:
/* The following constructor is only available in the range class specialization where: dimensions==1 */
range(size_t dim0);
/* The following constructor is only available in the range class specialization where: dimensions==2 */
... |
fcf4e31723c0f56b01bd3f94c5a965f9cdb2bc04 | 1cfa7f6067f357beadaa1295d70e3cacee404bcb | /C++/HOSVD.cpp | 1ee276d2bfd79005032e390795dfc4a1c4235a8d | [] | no_license | eneswitwit/bachelorthesis | a552f022ad85c5f766a31462fcf7c7a1e54a4308 | fbff2e7cc78fdf3a3bcebcf757ca327e2090ba86 | refs/heads/master | 2021-06-26T01:36:38.998727 | 2017-06-05T13:54:14 | 2017-06-05T13:54:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,750 | cpp | HOSVD.cpp | #include <iostream>
#include <iomanip>
#include <sstream>
#include <array>
#include <vector>
#include <limits>
#include <cmath>
#include "Quadrature.h"
#include "Polynomial.h"
// Tensor Library
#include "Tensor/tensors/tensor1.h"
#include "Tensor/tensors/tensor2.h"
#include "Tensor/tensors/tensor3.h"
#include "Tensor... |
94e1b41545056c1d153846e07d77bea785ab61f5 | 7930efeb08e2bbad341bc6327e58dfd6e77985e8 | /RenderingEngine/MeshHolder.cpp | bb6af2fe92f8b6122e894aa11c4d33c785fef6d0 | [] | no_license | TuOfSrih/MiniRenderer | e9a45b278cf2d33e43e5eaea0c0b04e4168549d7 | bcb7501b195672d57c22d28d8095b9a751200c32 | refs/heads/master | 2020-03-14T07:38:45.321227 | 2019-03-05T19:51:22 | 2019-03-05T19:51:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | cpp | MeshHolder.cpp | #include "stdafx.h"
#include "MeshHolder.h"
#include <unordered_map>
#define TINYOBJLOADER_IMPLEMENTATION
#include "tiny_obj_loader.h"
MeshHolder::MeshHolder(const std::string& path) {
create(path.c_str());
}
MeshHolder::~MeshHolder() {}
void MeshHolder::create(const char* path) {
tinyobj::attrib_t vertexAt... |
67d3722e8aae553287d28443a82d9979a9ff5537 | cfc99437b085afa7304ed5a4eab2a90072c7e50e | /pintools/source/tools/ToolUnitTests/fp_insert.cpp | b32f08bb097ead7a29b7ac0056ceae3fb69c6285 | [
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"Intel",
"MIT"
] | permissive | moraispgsi/pin-bootstrap | 95498b63f88c311e4fe446259214266130aece3f | 7315b4e1709f63f018781456f9c745fc6f020f22 | refs/heads/master | 2021-09-07T18:09:11.568374 | 2018-02-27T05:16:32 | 2018-02-27T05:16:32 | 122,972,429 | 0 | 1 | MIT | 2018-02-26T14:31:18 | 2018-02-26T13:17:08 | C++ | UTF-8 | C++ | false | false | 3,288 | cpp | fp_insert.cpp | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2017 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 noti... |
ebc9e4e53bb07f030232ce13e325c2ae6d398951 | 8f205efde453722575d17aa9ee384191e74da79a | /FractalRendering/FractalWidget.h | b90e139bfd3715720db110303c3f55b457f562a0 | [] | no_license | bfdyoy/Uni | e73c599b5cd1d01a02cf37e097403b8f727b9051 | 962360c481080cba0c761dce8588b05232eef817 | refs/heads/master | 2022-12-21T00:01:32.632972 | 2022-12-09T14:09:02 | 2022-12-09T14:09:02 | 225,029,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,818 | h | FractalWidget.h | #ifndef FRACTALWIDGET_H
#define FRACTALWIDGET_H
#include "FractalData.h"
#include "GeometryEngine.h"
#include <QApplication>
#include <QElapsedTimer>
#include <QMatrix4x4>
#include <QMouseEvent>
#include <QOpenGLFunctions>
#include <QOpenGLShaderProgram>
#include <QOpenGLTexture>
#include <QOpenGLWidget>
#include <QQ... |
42a506a2e3cdeb855161db614e96c17a35bd5982 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /apigateway/include/tencentcloud/apigateway/v20180808/model/ServiceParameter.h | 63a84b2d90d85c87cd79220aa862714b9d909d59 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,528 | h | ServiceParameter.h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
1feb55b98c98f5fc846e83b081f12d08ac450d3f | d4270b9eb54ba3616e904c7b30572998845dbfb4 | /Lab8_FlappyBird/gameState.cpp | 7dbad13f4204bce6f50dd21b5a2475dde5117463 | [] | no_license | vortydev/sfml-flappybird | f521e34cc596c8381c1081efbe4f5fe0ff42efa9 | 153ef83423d58cc5e195cb0dcaf050e47d0bc28a | refs/heads/master | 2023-01-21T01:27:17.738823 | 2020-12-02T19:09:39 | 2020-12-02T19:09:39 | 317,052,878 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,887 | cpp | gameState.cpp | /*
* Author: Étienne Ménard
* Date: 29/11/2020
* File: gameState.cpp
* Description: Définitions des méthodes du gameState.
*/
#include "gameState.h"
//le constructeur utilise les : pour initialiser _data avant même l’exécution du contenu{}
gameState::gameState(gameDataRef data) : _data(data)
{
_pipe = nu... |
3bd81f896fe2d58e4638c72e9d1c43355da3acc0 | 0d653408de7c08f1bef4dfba5c43431897097a4a | /cmajor/sngcm/cmnothrowparser/Template.hpp | 5e9efaaf8c403d934d8cfc8ae5f3afdf7e9d8767 | [] | no_license | slaakko/cmajorm | 948268634b8dd3e00f86a5b5415bee894867b17c | 1f123fc367d14d3ef793eefab56ad98849ee0f25 | refs/heads/master | 2023-08-31T14:05:46.897333 | 2023-08-11T11:40:44 | 2023-08-11T11:40:44 | 166,633,055 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,227 | hpp | Template.hpp | #ifndef TEMPLATE_HPP
#define TEMPLATE_HPP
#include <sngcm/cmnothrowparser/ParserApi.hpp>
#include <sngcm/ast/Template.hpp>
#include <sngcm/cmnothrowparser/Identifier.hpp>
#include <sngcm/cmnothrowparser/TypeExpr.hpp>
#include <sngcm/cmnothrowparser/NothrowParsingContext.hpp>
#include <soulng/lexer/Token.hpp>
#include <... |
4b7d5584e6cd0746ccd1b4951b1208cfd9e31374 | 59951055d1a35b3c8cd82e93da144375fa7d104d | /Lab 2/errors.cpp | 5560c246203c12990d816863560047a636db2f2c | [] | no_license | TA390/ICL-Labs | 0ad24f410ac6cd3fd6f408956bda000c3d506d81 | 96cbd47dfb341f1460e56c92d6eb96df428fdfa7 | refs/heads/master | 2021-03-12T18:28:36.859260 | 2017-04-19T20:00:58 | 2017-04-19T20:00:58 | 91,453,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,064 | cpp | errors.cpp | #include <iostream>
#include "errors.h"
#include "local_network.h"
using namespace std;
/******************************************************************************/
bool Error::connect_failure(const Local_network &object_1,
const Local_network &object_2) const
{
cerr <<"ERROR: failed to connect "<< obj... |
59dc5266796f54305ba2276292ef5fa1d6501fd6 | 02a1f7906caa50bc0e5ede4abe95857f86e6a8f6 | /_V4L2.si4project/V4L2.si4project/Backup/showvideo(5013).h | f7373b66b4082e365aa909aa92e1b5590722a78a | [] | no_license | TongxinV/Video-Image-Processing | d5119c8774323977de2f7ed0725a5b5e9d23aa42 | 251f2d3343c0718d93129ecb3b452d81e88828a1 | refs/heads/master | 2021-01-12T00:59:56.388256 | 2017-11-24T15:34:15 | 2017-11-24T15:34:15 | 78,330,294 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,356 | h | showvideo(5013).h | #ifndef SHOWVIDEO_H
#define SHOWVIDEO_H
#include <smdkv210/linuxfbscreen.h>
#include <smdkv210/videodevice.h>
#include <c1image.h>
class showvideo
{
private:
LinuxFbScreen *screen; //用于显示视频图片
videodevice *vd; //videodevice对象
C1Image *img; //图片
unsigned char *... |
f57f7d0f87848ce59ae0223d89c2ebf8150ce2ac | a7d647f2e7be28be3f4c5c391930167217d78828 | /tools/MediaCenter/Source/VideoStream_ReadBlock.cpp | 84d828e3386612a25b877066b18a165b44893317 | [
"BSD-2-Clause"
] | permissive | jpd002/Play- | 4056af58dce22ce05f2bf2e72790231da3884bb6 | b4d252d129de37de3ef58ad04f6d4d4919bb02a8 | refs/heads/master | 2023-08-31T05:31:54.195650 | 2023-08-29T16:29:47 | 2023-08-30T14:21:25 | 17,104,739 | 2,062 | 396 | NOASSERTION | 2023-09-11T13:57:07 | 2014-02-23T08:45:33 | C++ | UTF-8 | C++ | false | false | 4,902 | cpp | VideoStream_ReadBlock.cpp | #include <assert.h>
#include "MpegVideoState.h"
#include "VideoStream_ReadBlock.h"
#include "mpeg2/QuantiserScaleTable.h"
#include "mpeg2/InverseScanTable.h"
#include "idct/IEEE1180.h"
using namespace VideoStream;
ReadBlock::ReadBlock()
{
}
ReadBlock::~ReadBlock()
{
}
void ReadBlock::Reset()
{
m_programState = STA... |
812618dfa216aade5e0f6f608e640ec1c2953538 | 4d269ba447b5d67aba4723dd969cc6997a295228 | /LilyPad/sound.ino | dd14caa6727eee3726b68b27dab459bb404c94fd | [] | no_license | paceuniversity/pacemobilelab | 89034c07fd2e6554c1b2910b4dd68fc5d832733b | 78910d6bfeec5bd55b4f544a940b343ddcec0be6 | refs/heads/master | 2021-01-21T13:34:00.220472 | 2016-05-27T15:46:08 | 2016-05-27T15:46:08 | 52,737,902 | 0 | 3 | null | 2016-05-27T15:46:09 | 2016-02-28T19:01:52 | Java | UTF-8 | C++ | false | false | 1,723 | ino | sound.ino | int ledPin = 13; // LED is connected to digital pin 13 on the lilypad board
int speakerPin = 9; // speaker connected to digital pin 9
int vibratepin = 10;
void setup()
{
pinMode(ledPin, OUTPUT); // sets the ledPin to be an output
pinMode(speakerPin, OUTPUT); // sets the speakerPin to be an output
... |
079b84d161536957f2a63d3c8959326e00cbf514 | 3b306491e68a801999c8e039aed0ff09cb211c26 | /consultas.cpp | 28af7efe6f596be65b56b102c915edf38c8a1805 | [] | no_license | LenguajesProgra1/TP2 | ab5edec12f9b8e79179fe3056bd29b5dac931a3b | 22730ac8ff64529f250b5610cb31d13bcf478429 | refs/heads/master | 2016-09-06T10:06:06.403975 | 2014-10-20T14:49:22 | 2014-10-20T14:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,435 | cpp | consultas.cpp | #include <iostream>
#include <fstream>
#include <cstring>
#include <stdio.h>
#include <cstdlib>
#include <string>
#include "predicados.h"
struct reglas {
char pred[16];
char args[32];
char ant[64];
};
int saltoLinea(string str)// funcion para imprimir el write en pantalla
{
int i=0;
char palabra... |
aaeffa87c0ad0788c04073c30b6bf6659e15ae09 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/inetsrv/iis/inc/mtxrepl.h | bf7cefa086ebf552c7d101b871da4b418646649e | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 8,387 | h | mtxrepl.h | /* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 3.01.75 */
/* at Thu Sep 11 16:03:05 1997
*/
/* Compiler settings for mtxrepl.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: none
*/
//@@MIDL_FILE_HEADING( ... |
4b28d98f4b58c3524067c180047565f128c6adf4 | a6c30c2ae863d0bfcb559bd04e3e776d52660d86 | /MAZE/Space.cpp | cf9425f243190a6704e3cb36b263f36ae297f4fe | [] | no_license | jophus1995/MazeAssignment | ea3fa7a698b84d6362181138f566e2d8b810723f | f4675ba951ebcd87df70e44681481f558c497e85 | refs/heads/master | 2020-08-10T01:09:57.666591 | 2019-10-10T15:24:17 | 2019-10-10T15:24:17 | 214,218,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | cpp | Space.cpp | #ifndef SPACECPP
#define SPACECPP
#include "Space.h"
#include <iostream>
#include <vector>
using namespace std;
Space::Space() {
type = ' ';
row = 0;
col = 0;
visited = true;
intersection = true;
parentRow = 0;
parentCol = 0;
}
Space::Space(char newType, int newRow, int newCol){
ty... |
c48cb85fa37e4bf31685c7dbd2fd32bd2071e1a7 | 69df3620d65a4fe31c4212e0dcbcee67244db71d | /liveLinkExampleProj/Plugins/NODO_LiveLink/Source/NODOLiveLink/Private/InertiaWheels.cpp | c4439e202f5d66bf2751e9f386d2e8f81748fc1c | [
"MIT"
] | permissive | nodofilm/iw-unreal-liveLink-example | 8fce03e5fb0141c01ae6bb608d680773387c657f | baaa4200e26e4fb55935853dbb4d76d6c67ae94d | refs/heads/main | 2023-03-27T21:56:41.860761 | 2021-04-02T19:29:03 | 2021-04-02T19:29:03 | 354,073,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | cpp | InertiaWheels.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "InertiaWheels.h"
// Sets default values
AInertiaWheels::AInertiaWheels()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTi... |
74f4e8d68eeb70fe7ad422d6fdc0a6be13c365a8 | eef55bc2d461f950a6e2c823a7fdc01cc0de8247 | /interpolaciones/Color_bot.cpp | c591ce1898a00e4db06899dc6ecb1a5b8523eaa7 | [] | no_license | dennisbot/imagenes_JC_Gutierrez | 1b66f6fb5f5998d26a088d7063f5df957d4e2973 | eff95b039e0b0c9a7d89edea36020b5c812b3d68 | refs/heads/master | 2020-07-03T19:28:20.271927 | 2016-12-19T07:47:01 | 2016-12-19T07:47:01 | 74,236,933 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | Color_bot.cpp | #include "Color_bot.h"
template<typename T> Color_bot<T>::Color_bot() {
R = (T)0;
G = (T)0;
B = (T)0;
alpha = (T)0;
}
template<typename T> Color_bot<T>::~Color_bot() { puts("se ha llamado al destructor de colorbot"); }
|
a20f049185ba4c780f71d7b33a5f35124671e6be | 52fa63df17803c602ca82a3a763df69248ab543b | /sources/view/taskScene/BuildingLayer.cpp | 5b1c2c9029f57d40cd6dba154977f884f19c6eab | [] | no_license | Crasader/nixiProject | d2ba21c6800e375b5e72478f66bfcc77803cdc3b | 48149dca3de2cc86b5da783c72664adede1c6752 | refs/heads/master | 2021-06-20T00:47:00.517404 | 2017-07-11T08:27:35 | 2017-07-11T08:27:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,078 | cpp | BuildingLayer.cpp | //
// BuildingLayer.cpp
// tiegao
//
// Created by mac on 16/7/5.
//
//
#include "DisplayManager.h"
#include "SpecialManager.h"
#include "DataManager.h"
#include "NetManager.h"
#include "AudioManager.h"
#include "AppUtil.h"
#include "Loading2.h"
#include "BuildingLayer.h"
#include "BuildingView.h"
#include "Upgra... |
5c18e692c476e8017a9f3ae7670686d2187b8e22 | be289b0a614eee0a6098f90c82dd58216953c4bd | /Objects_server/Weapons/Handheld/chsht_norinco982/AnimationSystem3p.inc | 9ad558a79b8cf07a1dde5546f80777530ab46274 | [] | no_license | sT0n3r/RushModNextGen | b917e40bac86d83e16e636552ff6c7eb05bf5dce | a198ed02af223bf5b4ef2bf70e8d3eb61c42d820 | refs/heads/master | 2016-09-10T15:45:52.646105 | 2013-05-17T18:49:45 | 2013-05-17T18:49:45 | 10,117,457 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,276 | inc | AnimationSystem3p.inc |
rem *** Animations ***
animationSystem.createAnimation Objects/Weapons/HandHeld/chsht_norinco982/Animations/3p/3p_norinco982_crouchBackward.baf
animationSystem.createAnimation Objects/Weapons/Handheld/chsht_norinco982/animations/3p/3p_norinco982_crouchdeploy.baf
animationManager.looping 0
animationManager.ignoreMother... |
a5088fc7f172d1d22b3b3f9f911c089dc84fb015 | feb25992a49c50a57eed33bab24518fd3ae49aa3 | /include/cfd/cfdapi_transaction.h | b2c716697330d1171185df35300925ae3e1d6cee | [
"MIT"
] | permissive | p2pderivatives/cfd | 4cd1ef44de0b878917e12b5cae1fe349ff170fee | 8f07a28688e6b0226e5154e1ba3c0d232ed5caa0 | refs/heads/master | 2021-12-31T13:25:45.843588 | 2021-12-20T01:02:26 | 2021-12-20T01:02:26 | 214,355,397 | 4 | 2 | MIT | 2021-09-26T06:26:53 | 2019-10-11T06:00:57 | C++ | UTF-8 | C++ | false | false | 11,196 | h | cfdapi_transaction.h | // Copyright 2019 CryptoGarage
/**
* @file cfdapi_transaction.h
*
* @brief cfd-apiで利用するTransaction作成のクラス定義
*
* JSON形式のAPIを提供する.
*/
#ifndef CFD_INCLUDE_CFD_CFDAPI_TRANSACTION_H_
#define CFD_INCLUDE_CFD_CFDAPI_TRANSACTION_H_
#include <string>
#include <vector>
#include "cfd/cfd_common.h"
#include "cfd/cfd_transac... |
aa2afca086afd4ec4e791107235b2b3217e99929 | cb3126352336721518ba3bcd71eb3d0c7662cb1c | /inc/ogl/CoordSystem.hpp | d02b5c49675ce1d6827c3f62a4ddf88aac64b591 | [
"WTFPL"
] | permissive | zhuhaijun753/Panorama4GWM | 6ce96123fbba8de0ec0aaf391345406093bb41b0 | 55571a1d22fae2257db4a968ee7c1776c9ad543a | refs/heads/master | 2022-04-06T18:06:11.323461 | 2020-01-30T03:58:50 | 2020-01-30T03:58:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,417 | hpp | CoordSystem.hpp | #pragma once
#include <tuple>
#include <opencv2/core.hpp>
#include "Quad.hpp"
/**
* cv2NGLCoord, ngl2CVCoord 系列函数用于 OpenCV 与 OpenGL NDC 顶点坐标系间的转换。
*
* OpenCV 坐标系以屏幕左上角为坐标原点,x 轴向右为正,y 轴向下为正
* normalized OpenGL 坐标系以屏幕中心为坐标原点,x 轴向右为正,y 轴向上为正,normalize 后坐标范围为 [-1, 1]
*/
template<class T>
static inline std::tuple<T, ... |
959d48ce2d535235ae4cab7f3bdbbb249c68db38 | 9f76fc88972fc2928dac1595c3301fbfe86979d6 | /external/INCLUDE/C_LIB/c_log.hpp | bbd6cb5e365a47f945f099248f04f7aed896bd79 | [] | no_license | sergdkv/sd_projutils | 7bc7415ee00cc7459b57e34b349685c75f27aa22 | e69573ff7f2c9ff75e6e4edd5e3524b1f39b14d4 | refs/heads/master | 2020-03-26T21:14:08.494633 | 2018-08-28T08:23:43 | 2018-08-28T08:23:43 | 145,376,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,716 | hpp | c_log.hpp | /*-----------------------------------------------------------------------------
c_log.hpp
-----------------------------------------------------------------------------*/
#ifndef _C_LOG_HPP_
#define _C_LOG_HPP_
#include <stdlib.h>
/*
Класс TLog реализует механизм ведения log-файлов.
Каждый раз при печати... |
0833faa44c421b7735127c61f64db2a2a7379006 | e65e6b345e98633cccc501ad0d6df9918b2aa25e | /Codeforces/Regular/411/B.cpp | e13a645c62587947834e23ee3f7b6e94bf0a400d | [] | no_license | wcysai/CodeLibrary | 6eb99df0232066cf06a9267bdcc39dc07f5aab29 | 6517cef736f1799b77646fe04fb280c9503d7238 | refs/heads/master | 2023-08-10T08:31:58.057363 | 2023-07-29T11:56:38 | 2023-07-29T11:56:38 | 134,228,833 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 875 | cpp | B.cpp | #include<bits/stdc++.h>
#define MAXN 1000005
#define MOD 1000000007
using namespace std;
typedef long long ll;
char a[MAXN];
ll pow_mod(ll a,ll i)
{
if(i==0) return 1;
ll s=1;
while(i>0)
{
if(i&1) s=(s*a)%MOD;
a=(a*a)%MOD;
i>>=1;
}
return s;
}
int main()
{
scan... |
c639c61aa641ec125cd19f4a488dfc97835cbcc8 | 62ec94314f194157f62c49c206dd777a159e0817 | /src/gui/options_dialog.cpp | f5bbfad8614a20d7c6cb6040a5d646e8d47df3d5 | [] | no_license | telishev/sneakPic | e6c3a9ceee97caf5c46808225e0e3e68a1ca2bf0 | 25cac33adfec70f161cc526123df5376ece9b950 | refs/heads/master | 2020-04-14T19:04:56.660200 | 2014-07-19T20:37:38 | 2014-07-19T20:37:38 | 10,853,376 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | cpp | options_dialog.cpp | #include "gui/connection.h"
#include "gui/options_dialog.h"
#include "gui/settings.h"
#include "gui/utils/qt_utils.h"
#include <QCheckBox>
#include <QDialogButtonBox>
#include <QVBoxLayout>
class options_dialog_ui
{
QDialog *m_dialog;
QCheckBox *m_show_next_curve_preview_checkbox;
public:
options_dialog_ui (Q... |
0f765d99acc870c3ddbafc68f8b41ff855d4658e | 53196a8c878ddc30d7f34d5304f6f0427f8a03ba | /Network/httpdownload/mainwindow.cpp | 965fc803b2fa7c3ae324c71a7c25baf06725c2db | [] | no_license | realingy/awesome-qt | 9002f1adc8d192813963aaa189094c9436475d25 | 89e2643b6eda7b29b9e6cc409cc2eb019594dc80 | refs/heads/master | 2020-07-08T14:02:05.261630 | 2020-04-07T09:42:05 | 2020-04-07T09:42:05 | 203,695,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,761 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QFileInfo>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
m_pNetworkMan = new QNetworkAccessManager;
//ui->progressBar->hide();
ui->progressBar->setVisible(false);
}
void Ma... |
cf7fd0a78dbd900c260cd1cbb9660faa50dd4623 | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/engine/client/application/ShaderBuilder/src/win32/IncludeHandler.h | d30c9a210cf1be96257e72f30ea41e3e90fd7789 | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 868 | h | IncludeHandler.h | // ======================================================================
//
// IncludeHandler.h
// Copyright 2002, Sony Online Entertainment Inc.
// All Rights Reserved.
//
// ======================================================================
#ifndef INCLUDED_IncludeHandler_H
#define INCLUDED_IncludeHandler_H
//... |
4fc4718d9b3e3546cfbbeb421d910c22aacb242b | 028d79ad6dd6bb4114891b8f4840ef9f0e9d4a32 | /src/drivers/pooyan.cpp | a2d2f19a00afd84689384b1cda24e922abb486aa | [] | no_license | neonichu/iMame4All-for-iPad | 72f56710d2ed7458594838a5152e50c72c2fb67f | 4eb3d4ed2e5ccb5c606fcbcefcb7c5a662ace611 | refs/heads/master | 2020-04-21T07:26:37.595653 | 2011-11-26T12:21:56 | 2011-11-26T12:21:56 | 2,855,022 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,630 | cpp | pooyan.cpp | #include "../vidhrdw/pooyan.cpp"
/***************************************************************************
Notes:
- Several people claim that colors are wrong, but the way the color PROMs
are used seems correct.
Pooyan memory map (preliminary)
driver by Allard Van Der Bas
Thanks must go to Mike ... |
b6083908e9004e4ab509c28256c04c11d1609a43 | a2c916fa2ce377bc60ab9af480911bb739878a4a | /src/core/helpers/VirtualDiskMounter.h | 1b565b90ecd3b854de15b75ade33c5f66f525f6e | [] | no_license | mwgg/CuteTorrent | 44c4daacf52708930c3e6a01765488933c4baec2 | 1d87a30bd863eb5756427c5d326748c8f0552091 | refs/heads/master | 2021-01-19T21:58:51.171321 | 2017-02-20T12:02:43 | 2017-02-20T12:02:43 | 82,553,148 | 0 | 0 | null | 2017-02-20T12:01:08 | 2017-02-20T12:01:08 | null | UTF-8 | C++ | false | false | 464 | h | VirtualDiskMounter.h | #ifndef _DiscMounter_INCLUDED_
#define _DiscMounter_INCLUDED_
#include <QString>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <Singleton.h>
DEFINE_PTR_CALSS(VirtualDiskMounter)
class VirtualDiskMounter : public Singleton<VirtualDiskMounter>
{
friend class Singleton<VirtualDiskMounter>;
#ifdef Q_WS_WIN
bool... |
1e9a95c5b33c003be6ccc91e7c2c98457e5f2c7e | 8a5f0eda7e09ef69b8a2a49b760397bc6200d134 | /POJ/3087/14464405_AC_0MS_236K.cpp | 91097c458504ea3a98c137a55ee5b8853e96f9a8 | [] | no_license | 2997ms/Competitive-programming-problems | 5ea54f2c63d963655cd046f33c8a85e03e314d51 | 23028f10875631897588613180fc5a8f2613e724 | refs/heads/master | 2022-12-15T08:54:56.269845 | 2022-12-08T21:45:09 | 2022-12-08T22:20:42 | 58,099,655 | 2 | 0 | null | 2019-09-01T01:40:51 | 2016-05-05T02:53:10 | C++ | UTF-8 | C++ | false | false | 880 | cpp | 14464405_AC_0MS_236K.cpp | #include <iostream>
#include <algorithm>
#include <cmath>
#include <vector>
#include <map>
#include <string>
#include <cstring>
#pragma warning(disable:4996)
using namespace std;
map<string,int> meet;
int Test,i,i1,num;
string s1,s2,dis;
string shuffle(string t1,string t2)
{
string re="";
for(i=0;i<num;i++)
{
re... |
930f229e393a6e329a39dfae5263480fa23397ac | b26f63ae7b270c488ac73f472e66277904442bca | /BeakJoon C++ Algorithm/1027고층 건물.cpp | 99e7b0f31f67da46ea244edb3024dac3f0f3002b | [] | no_license | SimKyuSung/Algorithm | e54b1af4e5c6f2fe801dbe3c55df92ee32e04b1d | b2b938f47d176724f0aee7e476ff2e66f7b6c0a8 | refs/heads/master | 2021-05-06T15:10:54.446332 | 2019-02-07T15:42:02 | 2019-02-07T15:42:02 | 113,537,033 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 958 | cpp | 1027고층 건물.cpp | /// 1027고층 건물
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
vector <size_t> b;
vector <int> counter;
int ccw(size_t, size_t, size_t, size_t, size_t, size_t);
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
b.resize(n);
counter.resize(n, 0);
for (int i... |
22efa161ebffdf40a661a3fe4613fda8607457c8 | d29ce96d7d51259d1d6acba0cdc8122a7fb1a4f1 | /PointCloud/FileDeal.h | 1ff0bfdff155baaf9e19f7167fcbde3bc7dec738 | [] | no_license | brickmovingclub/PointCloud | 9a2455e41a6bce0264722dce288f6801e1f451fb | 7c47d0968e23d7510a0df43e29e6cf5735248de0 | refs/heads/master | 2020-06-28T10:45:52.068253 | 2019-08-22T09:53:15 | 2019-08-22T09:53:15 | 200,212,959 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 209 | h | FileDeal.h | #pragma once
class FileDeal
{
public:
FileDeal();
~FileDeal();
void fileChange();
private:
void readFile();
void writeFile();
public:
int test();
private:
vector<string> file;
int point_count = 0;
};
|
04338bf95a3f7e2029c0fac036f1e838d87c2b96 | 5cdd628c5c49f64d6124e965d958d053f748c1e0 | /opencv/native_omp/sobel_filter.cpp | a080bd68b1201c2ebd8b6642d59931644a0efef9 | [] | no_license | sankarmanoj/thrust2D | 125ece48697501d1fa2ee10d1fed00ba9319ed3b | 9af247b7742f68a2d0a027ba36092b122c49cf44 | refs/heads/master | 2021-03-19T12:15:26.755949 | 2018-01-03T04:23:45 | 2018-01-03T04:23:45 | 65,129,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,302 | cpp | sobel_filter.cpp | #include <opencv2/highgui/highgui.hpp>
#include "opencv2/imgproc/imgproc.hpp"
#include <opencv2/core/core.hpp>
#include <iostream>
#include <omp.h>
using namespace cv;
using namespace std;
int main(int argc, char** argv)
{
Mat image;
image = cv::imread( "car.jpg", CV_LOAD_IMAGE_GRAYSCALE );
int dim = 512;
if(ar... |
2165232903e44f997c6b3c175bb9f71576d19f44 | 7222c2fb995f921f6af0069866559a37fb01ab39 | /lab14/lab14/bst.cpp | aa1b3333c9fa4f110f3354863b5d73ec2ce160e6 | [] | no_license | chandanpalai/CMPSC122 | 9cd5d7e362cb83f3185157efae03285e17476a46 | 69123243dc13d2021590bedfb82360c6771eec08 | refs/heads/master | 2021-01-23T20:56:46.470736 | 2015-10-11T14:00:59 | 2015-10-11T14:00:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,782 | cpp | bst.cpp | // Programmer: Yizhou Wang
// Section: 2
// Lab: 14 - Binary Search Trees
// Date: April 8, 2014
// Description: A practice to implement binary search tree (bst) with class
#include "bst.h"
bst::bst()
//POST: a default bst object is constructed with subroot = NULL
{
//initialize the subroot
... |
11c5b747421857e6d4649b25e2f07c4b120a6bbe | 26ba4ca64a5ef475cde5c85099680182484d2c42 | /src/TrafficManagement01/TrafficManagement01.ino | edf9cb3a7bc9702bb239e92cdacb78d52719a34f | [] | no_license | billsmth20/Han01 | 78b89b9d97eaa5b5b1b4f887199f8c11660ef4c5 | 5deee3e1674bbaa1f7484dedce91025cb41f38b7 | refs/heads/master | 2020-03-23T01:57:17.795960 | 2018-07-31T16:20:38 | 2018-07-31T16:20:38 | 140,947,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,387 | ino | TrafficManagement01.ino |
#include "pitches.h"
#include <Servo.h>
Servo myservo;
int Sensor= 2;
const int yellowPin=5;
const int redPin=4;
const int greenPin=6;
const int redPersonPin=12;
const int greenPersonPin=13;
void setup() {
Serial.begin(9600);
pinMode(Sensor, INPUT);
pinMode(yellowPin,OUTPUT);
pinMode(redPin,OUTPUT);
pi... |
5b734da952891b5eaa4484ee19bccecc715fa667 | 6a7af17cf57acd088a49e3c0910060a2ed741884 | /AVTProject1/AVTProject1/include/Orange.h | f9e99f88ef2e59a4e4b577604289abf3f603d786 | [] | no_license | rpsfonseca/AVTProjects | fb2e74fbf6b517ca1442debba00780653102c5b6 | 5efdad5e3ece451397eee21c67a758ce744854ec | refs/heads/master | 2020-03-29T20:53:40.408104 | 2019-11-24T23:06:05 | 2019-11-24T23:06:05 | 150,337,330 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 988 | h | Orange.h | #pragma once
#include "Mesh.h"
#include "Material.h"
#include "Shader.h"
#include "Constants.h"
#include "DynamicEntity.h"
//#include "Texture.h"
#include <glm/glm.hpp>
#include <glm/gtx/rotate_vector.hpp>
namespace AVTEngine
{
class Orange: public DynamicEntity {
protected:
private:
public:
Orange(SceneN... |
8d7956c812e83bf31e57e22831545fc5cb423d5f | dd433de3daea2843440f97cea16e974f57b64629 | /test/tools/fuzzer_common.cpp | fa167c437bc6afed470d7b38d9f6631e4d480193 | [
"GPL-3.0-only"
] | permissive | step21/solidity | a867d555a9bdab2d94b453acd43b94c7a9806061 | 2a0d701f709673162e8417d2f388b8171a34e892 | refs/heads/develop | 2021-01-24T21:10:56.649056 | 2020-06-17T14:31:22 | 2020-06-18T08:29:06 | 45,851,195 | 0 | 0 | MIT | 2020-06-17T14:28:37 | 2015-11-09T16:33:47 | C++ | UTF-8 | C++ | false | false | 4,858 | cpp | fuzzer_common.cpp | /*
This file is part of solidity.
solidity 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.
solidity is distributed in the hope that i... |
0515eeba3e40fe0e502e8019bcc99ab31b23de88 | a6dd54cb560dddccef0b2233fa2990f25e818c7b | /UVa/V109/10905.cpp | 28658db7d156062d1450ef463f5e9e6f83285924 | [] | no_license | renzov/Red_Crown | ec11106389196aac03d04167ad6703acc62aaef6 | 449fe413dbbd67cb0ca673af239f7d616249599a | refs/heads/master | 2021-07-08T04:56:22.617893 | 2021-05-14T18:41:06 | 2021-05-14T18:41:06 | 4,538,198 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | cpp | 10905.cpp | #include<string>
#include<algorithm>
#include<iostream>
using namespace std;
int main(){
int n;
string a[60];
while (cin >> n && n){
for (int i=0; i < n; ++i) cin >> a[i];
for (int i=0; i < n-1; ++i){
for (int j=i+1; j < n; ++j){
if ( (a[i] + a[j]) < (a[j]+a[i]) ){
swap(a[i],a[j]);
}
... |
4c1eeaf1715f9adca3ca8c78b12d9c2184561db5 | 701e220bb13e5efdc0de945a8d179d53f81d94bb | /42/KrpSim/hdezier2.0/src/Interpreter.cpp | 671a86a3ef69f606932debba89a0a248c8891be7 | [] | no_license | Elojah/Meuh2.0 | 486273ac9d5192c6f945f5ed9a56b3582f2aafb0 | 1706b6cd96deb56af8ab5b2164c05584435c7e35 | refs/heads/master | 2021-01-11T18:20:18.614432 | 2017-05-19T14:35:10 | 2017-05-19T14:35:10 | 28,937,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,911 | cpp | Interpreter.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Interpreter.cpp :+: :+: :+: ... |
94d0feca23f37f338a1bad6b8d465980090eb9d0 | c3ffa07567d3d29a7439e33a6885a5544e896644 | /UVa/11297.cpp | a66b7b55fe73dc01b21592a1078ed679f7200109 | [] | no_license | a00012025/Online_Judge_Code | 398c90c046f402218bd14867a06ae301c0c67687 | 7084865a7050fc09ffb0e734f77996172a93d3ce | refs/heads/master | 2018-01-08T11:33:26.352408 | 2015-10-10T23:20:35 | 2015-10-10T23:20:35 | 44,031,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,076 | cpp | 11297.cpp | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<algorithm>
#define LL long long
using namespace std;
LL a[511][511],ST1[30010000],ST2[30010000],n ;
LL MAX(LL x,LL b,LL c,LL d)
{
LL ret=max(x,b) ;
ret=max(ret,c) ;
ret=max(ret,d) ;
return ret;
}
LL MIN(LL x,LL b,LL c,LL ... |
72566dd011affabd2c191dda86a0e662a0a862ac | 502769e9b0c881ae1404ef078690e56c7cdf7413 | /UVa_11549_FloydsCycleFindingAlgorithm.cpp | 91fa35177a9c890fd06094db9d845bb2b6669796 | [] | no_license | climberpi/problem-solving | 8bfbb80c84be4b91736b05249fa40a71f53bd968 | 6c17198d453e46230912bddb5c44878657a4565c | refs/heads/master | 2021-05-16T03:14:02.287645 | 2016-09-29T16:43:14 | 2016-09-29T16:43:14 | 8,769,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | UVa_11549_FloydsCycleFindingAlgorithm.cpp | #include<cstdio>
#define max(a, b) ((a) > (b) ? (a) : (b))
int next(int n, int k) {
int buf[25], p = 0, x = 0;
long long num = (long long)k * k;
if(!num) buf[++p] = 0;
else while(num) {
buf[++p] = num % 10;
num /= 10;
}
for(int i = p; i > 0 && p-i < n; i--)
x = x*10 + bu... |
55fffab6bcae657360e7c68e0e48e0369bdb8cf2 | aa920ae5d01b6609e941e274419ebe5b52edc930 | /CommunicationFPGA.cpp | 66a9e82be2a4073777147f6375151ae8440ee337 | [] | no_license | AWhiteSheep/ScreamingBird | 068d2f09980cf21b6f85cd096d4fe14113734fb0 | cd5bd57bd858aed814c1124f4f05b4c15786e167 | refs/heads/master | 2023-04-14T09:22:45.009235 | 2021-04-19T18:59:29 | 2021-04-19T18:59:29 | 333,511,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | CommunicationFPGA.cpp | /*
*
* Author: jara2502, pera3307, rouy2404, veic1101
* Date: 2021-04-13 (mar., 13 avril. 2021)
*
*/
#include "CommunicationFPGA.h"
int* CommunicationFPGA::read4Channel()
{
int* echconv = new int[4];
this->lireRegistre(nreg_lect_can0, echconv[0]); // lecture canal 0
this->lireRegistre(nreg_lect_can1, ech... |
c4e4f2346c225ac72b67aa1c89bedbf469f384dd | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/VCSamples/VC2008Samples/Attributes/General/CIRCCOLL/circcoll.cpp | 2e9118a6fa45afaa58fcff52c2bf26c05cd34fdc | [
"MIT"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | circcoll.cpp | // CircColl.cpp : Implementation of DLL Exports.
//
// This is a part of the Active Template Library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Active Template Library Reference and related
// electronic documentation provided with t... |
1d055eeaae0c1ab5257c4e48ee8202f183fab948 | 67f909ff497c5902ec500d66b601ab0bcf54e9c3 | /macro/BSD/make_plots_bsdrelated.cc | 7880d09968067e89a3e38590b222eb1281f4f735 | [] | no_license | kyasutome/BabyMIND-Analysis | d62e88fcf1c58038deea25d84fbf82608900258f | b18126a89048fbcae321ced9241201457a241846 | refs/heads/master | 2022-11-29T20:16:21.178158 | 2020-03-31T05:44:45 | 2020-03-31T05:44:45 | 227,141,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | cc | make_plots_bsdrelated.cc |
void make_plots_bsdrelated()
{
TString filepath = "${processdir}/result/BSD/Accumlated_pot.root";
TFile* fin = new TFile(filepath, "read");
TH2D *bsd_plot = (TH2D*)fin->Get("bsd_accumlated_plot");
TH2D *bm_plot = (TH2D*)fin->Get("bm_accumlated_plot");
TString bsdplotname, bmplotname;
TString delivered, re... |
a472b83246e63a067ece4a30f0a724e47eecf91b | 1f8bbea9bbc4886981a05fc8f193410a9c33fe06 | /ClassCode/W04-Loops/forpower.cpp | e1649323090abdec5cdba4309dac570199a0c517 | [] | no_license | fuzzpault/UIndy-SCSI155-2016-I | fe4ba1691a5450e8207c48e8a3c1e25f9f8b282b | 46839576a04685274da5b16084f2e1d685246a55 | refs/heads/master | 2020-12-04T13:54:15.803945 | 2016-12-19T04:54:16 | 2016-12-19T04:54:16 | 66,765,567 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | forpower.cpp | #include <iostream>
#include <stdlib.h>
#include <ctime>
using namespace std;
int main(){
for(int i = 2; i < 10000 ; i = i * 2){
cout << i << endl;
}
return 0;
}
|
b1ce1811bbfcc77e0aa010771d2c90e631073845 | 14c5f2ae112656ad25eff35c8265c1b0daa9f749 | /src/leetcode264.cpp | 5e3cdb36a7e68d158a3ac5b1d2b498eef9aee6f2 | [] | no_license | firstmoonlight/leetcode | 6acef45b147352c22de8b0aa24bde8d86b3f4840 | 74a5e314e443163fe27c40bb714dff15810acb97 | refs/heads/master | 2022-07-25T14:53:38.286024 | 2022-07-06T05:31:18 | 2022-07-06T05:31:18 | 211,308,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | leetcode264.cpp | #include <stdio.h>
#include <iostream>
#include <queue>
#include <vector>
#include <climits>
class Solution {
std::vector<int> primes = { 2,3,5 };
public:
int nthUglyNumber(int n) {
std::priority_queue<int, std::vector<int>, std::greater<int>> pq;
pq.push(1);
int res = 0;
while (n--) {
res ... |
d0c961d8528e623f3a45fbf523a34564fefc8cf4 | c0bc57b6d42d7de5f3334261c01f9d05207db135 | /src/test-activescript/ActiveScriptSite.cpp | b15f174e82b2c79554ee599c6c2ecabcc88a1ff9 | [] | no_license | killvxk/cpp-utils-examples | 23423a8618d0e617001755231685aa604e888906 | 8aa94303e6e7d7da157bb5b6dfdc36ea8f797daa | refs/heads/master | 2020-04-12T22:51:55.418719 | 2017-08-20T15:08:18 | 2017-08-20T15:08:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,551 | cpp | ActiveScriptSite.cpp | #include "ActiveScriptSite.h"
CActiveScriptSite::CActiveScriptSite()
{
m_ssScriptState = SCRIPTSTATE_UNINITIALIZED;
}
CActiveScriptSite::~CActiveScriptSite()
{
Detach();
}
HRESULT CActiveScriptSite::Attach(CLSID clsidScriptEngine)
{
// Detach to anything already attached to
Detac... |
b589d80c861099a9d6b68bb18ca90066b6a08527 | 8609d74d0b497e18cc0215f7bd26479c8dcb958d | /src/math/Shape.cpp | 4ab67a72f3bc8895e47515f86471eb96ac6f7a29 | [
"MIT"
] | permissive | LU15W1R7H/lwirth-lib | 8b5ecb4432f55ab0a958a137585f5266962f0c13 | f51cfb56b801790c200cea64d226730449d68f53 | refs/heads/master | 2021-11-17T07:56:47.709695 | 2021-05-17T17:04:55 | 2021-05-17T17:04:55 | 125,726,122 | 2 | 0 | MIT | 2018-08-30T14:52:43 | 2018-03-18T13:09:15 | C++ | UTF-8 | C++ | false | false | 147 | cpp | Shape.cpp | #include "Shape.hpp"
namespace lw
{
Shape::Shape(Vec2 _pos)
: m_pos(_pos)
{
}
bool intersects(Shape& s1, Shape& s2)
{
return false;
}
} |
b34c6c7d73b87222a5520e716e1adc406287ab23 | 8e635010fe76e3738d5f06f3dc4366e02643a251 | /WAV_Codec/WAVEncoder.h | e693639f898ccfca0ef64a33f1cbb44f80d63512 | [] | no_license | liuxuanhai/AVCodec | b366286fc50cdcb38d5803a7e2126fcbabb0ecc2 | d05b2c44d4a143b13690b06d63df2e71bf8fb7fa | refs/heads/master | 2023-01-13T07:14:17.074631 | 2017-07-28T08:15:05 | 2017-07-28T08:15:05 | 314,098,106 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 930 | h | WAVEncoder.h | #pragma once
#include <windows.h>
#include <stdio.h>
#include "AudioInfo.h"
// 获取AudioBuff的回调函数 原始PCM数据;
typedef int(*OnGetAudioBuff)(const char* pBuff, const int& iBuffSize);
class CWAVEncoder
{
public:
CWAVEncoder();
~CWAVEncoder();
void SetAudioBack(OnGetAudioBuff pCallBack);
void SetAudioInfo(... |
cc802f0c35241ad435d1d2348de6576472d08553 | fef750f91e71daa54ed4b7ccbb5274e77cab1d8f | /PAT/018.cpp | 320c294082aac8a1bcb3618dbaae5ab8b85b54b6 | [] | no_license | DongChengrong/ACM-Program | e46008371b5d4abb77c78d2b6ab7b2a8192d332b | a0991678302c8d8f4a7797c8d537eabd64c29204 | refs/heads/master | 2021-01-01T18:32:42.500303 | 2020-12-29T11:29:02 | 2020-12-29T11:29:02 | 98,361,821 | 2 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 668 | cpp | 018.cpp | //ÌâÄ¿Á´½Ó:https://www.nowcoder.com/pat/2/problem/370
#include <stdio.h>
#include <algorithm>
#include <string.h>
using namespace std;
#define N 110
int a[N];
char s[N];
int main() {
while (scanf("%s",s) == 1) {
int MAX = 0;
memset(a, 0, sizeof(a));
for (int i = 0; i < strlen(s); ++i) {
... |
64034dce88b5baf1cf30fc876a3d88fb7fed95a7 | 78d4c2f65b9178d6b91b9fee1590d3266dee46a8 | /Interviewbit/Strings/MULTIPLY/MULTIPLY.cpp | 26aae4f1961a34818a8a407564e4b041a0c7a600 | [] | no_license | hemansutanty/Programming-Websites | 8020f495c640f638e820f8eabea0a1afbd912203 | 96c8dbf332708eea3d5e9f4aa84bf8878f810395 | refs/heads/master | 2021-07-01T05:06:56.586470 | 2021-06-13T18:42:14 | 2021-06-13T18:42:14 | 48,264,406 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,028 | cpp | MULTIPLY.cpp | /*
Given two numbers represented as strings, return multiplication of the numbers as a string.
Note: The numbers can be arbitrarily large and are non-negative.
Note2: Your answer should not have leading zeroes. For example, 00 is not a valid answer.
For example,
given strings "12", "10", your answer should be “120... |
60b943adb18d389d59f86f05c1b5fa29c42686a0 | 84090973310d01d8fb38a391f9aa182a5886e17e | /challenge/2020/july-leetcoding-challenge/all-paths-from-source-to-target.cpp | 00df194c8bbec69331316a07f9a89ba23b04b8bc | [] | no_license | VasuGoel/leetcode | 29e4d7fe6654d76ae625037e6266ec9e8d25f304 | 2de293a5acbbe653a9e0757fea99eca37ac84e54 | refs/heads/master | 2023-04-14T11:19:16.995592 | 2021-04-30T16:35:57 | 2021-04-30T16:35:57 | 324,527,300 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | all-paths-from-source-to-target.cpp | // DFS
class Solution {
public:
vector<vector<int>> allPathsSourceTarget(vector<vector<int>>& graph) {
vector<vector<int>> ret;
dfs(graph, 0, vector<int>() = {0}, ret);
return ret;
}
void dfs(vector<vector<int>> &graph, int cur, vector<int> &path, vector<vector<int>> &ret) {
... |
6aa4cf2b76942e41df7be5ec6fb88a5ceae5fdc8 | 131375cdaac16f9ca5fe3076543f0d8c24841ab1 | /CSGO-Cheat/SDK/Interface/Surface.hpp | 81e453fae8d9b749546b27c04bfaea86d96bd8b6 | [] | no_license | ChoZenTime/CSGO-Cheat-SDK | a6339ccd1dea2db187e03e833535b07a23c84c41 | 4a579d26cda3f45d2f67e05a8178c0cc3119e586 | refs/heads/master | 2022-08-26T14:29:35.653202 | 2020-05-25T12:11:00 | 2020-05-25T12:11:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,072 | hpp | Surface.hpp | #pragma once
#include "../../Dependencies/Gui/FGUI.hh"
#include "../Misc/Macros.hpp"
namespace Cheat::SDK::Interface
{
struct Surface
{
OFFSET(clippingEnabled(), bool, 0x280)
VFUNC(drawSetColor(const std::int32_t r, const std::int32_t g, const std::int32_t b, const std::int32_t a), 15, void(__thiscall*)(void... |
3f317eebcd3f37f47e63e0aaa40b8af032098d0f | 74a29220ff437bc66b9872381661fc4b3713058b | /client/lib/trace.cpp | 2e219c56fde5bda7dc693eb197dcdb1f53ecc2e5 | [] | no_license | futuretekinc/ftgm3 | 0c12fde40565eca641589cfdc4102d90f5514975 | f843965e09acfd2c3f2431f06e005650f576fb26 | refs/heads/master | 2021-01-19T02:14:39.714577 | 2018-09-17T09:56:50 | 2018-09-17T09:56:50 | 87,265,455 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | trace.cpp | #include <iostream>
#include <iomanip>
#include "shell.h"
#include "object_manager.h"
#include "data_manager.h"
#include "device.h"
using namespace std;
/*
RetValue ShellCommandTrace
(
std::string* _arguments,
uint32_t _count,
Shell* _shell
)*/
RetValue ShellCommandTrace(std::vector<std::string> const& _arguments... |
452630dcd1cde7e13733f5e4497d5c871d2188a0 | f397866cece0bff05f860b5f54c5db0b6720f387 | /DlgEtcInput.h | 44dc420a61b22a994d73841afdeeaf1ba77e1d16 | [] | no_license | Jimyeol/Power-Management-and-Statistics-System | d734f100fb4eb418f6797c7c4dca23f685ea9e01 | cfa462776fb787d31ea667fadedbe095f3522483 | refs/heads/master | 2020-07-15T23:35:27.394140 | 2019-09-01T13:46:03 | 2019-09-01T13:46:03 | 205,672,434 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 451 | h | DlgEtcInput.h | #pragma once
// CDlgEtcInput 대화 상자입니다.
class CDlgEtcInput : public CDialog
{
DECLARE_DYNAMIC(CDlgEtcInput)
public:
CDlgEtcInput(CWnd* pParent = NULL); // 표준 생성자입니다.
virtual ~CDlgEtcInput();
// 대화 상자 데이터입니다.
enum { IDD = IDD_DIALOG_ETC };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX... |
566604b62f30c230f42564e3ae4ceca60b82857e | 869ff065da7bacccae671c3ed1cb3087bf52aff9 | /src/PPMQDecompressor.cpp | 9e978cfa7b88e98b90079b24aaf3370be4b7f527 | [
"BSD-3-Clause"
] | permissive | bronxc/ancient_format_decompressor | cc4aa7384210188b211df9ef30f55512624b59e9 | bbe9a0fb3381f30a8016bda528b3ca448fa3a542 | refs/heads/master | 2023-05-01T17:00:30.012647 | 2023-04-13T14:25:36 | 2023-04-13T14:25:36 | 220,749,936 | 0 | 0 | BSD-2-Clause | 2019-11-10T06:18:23 | 2019-11-10T06:18:23 | null | UTF-8 | C++ | false | false | 7,471 | cpp | PPMQDecompressor.cpp | /* Copyright (C) Teemu Suutari */
#include "common/Common.hpp"
#include "PPMQDecompressor.hpp"
#include "RangeDecoder.hpp"
#include "InputStream.hpp"
#include "OutputStream.hpp"
#include "RangeDecoder.hpp"
#include "FrequencyTree.hpp"
namespace ancient::internal
{
bool PPMQDecompressor::detectHeaderXPK(uint32_t hdr... |
85ef727d9b3a7165b92efe7174e314e897cc6b82 | 0491656c6e07763179e726344c029e309a792267 | /src/AudioEngine.h | e7db76a52364ea61d1befdd28329966bc82a2021 | [
"MIT"
] | permissive | Escaux/node-core-audio | f3a754a7dafb778f23c20350523225d2bb8f3941 | 342957ede0655e1b72f5b44dadddaf32d2387aad | refs/heads/master | 2021-01-22T05:42:37.335313 | 2016-03-03T17:05:58 | 2016-03-03T17:05:58 | 52,954,855 | 0 | 0 | null | 2016-03-02T10:36:42 | 2016-03-02T10:36:42 | null | UTF-8 | C++ | false | false | 5,361 | h | AudioEngine.h | //////////////////////////////////////////////////////////////////////////////
//
// AudioEngine.cpp: Core audio functionality
//
//////////////////////////////////////////////////////////////////////////////
#pragma once
#include "portaudio.h"
#include <v8.h>
#include <vector>
#include <node_object_wrap.h>
#include <... |
a42030edef49ed448a25a0977d01fd2742a4cae8 | f96790ac9160ea3f37ca6b50dfeb08883c39cb07 | /Basic CPP/ArmstrongNO.cpp | 934935a250a7fa62c286fa8ab362880ea55eeb9b | [] | no_license | Babapool/50-Days-of-DSA-Code | 3a97f4e47934b506e1820098e4ec8fde5035ac67 | 20179863f69fa266313f7ac0167844063b2b4438 | refs/heads/master | 2023-08-15T06:37:18.860361 | 2021-09-10T10:50:30 | 2021-09-10T10:50:30 | 394,330,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | ArmstrongNO.cpp | /*
Q8: Check whether a number is a Armstrong number or not
*/
#include <iostream>
using namespace std;
int main()
{
int n,res=0,rem;
cout << "Enter the no you want to check of its Armstrong number status:";
cin >>n;
int temp=n;
while(temp!=0)
{
rem=temp%10;
... |
cc6e7791512b64439f2cb9d5e1af8fc9d2066cb2 | 42be5c0f2fd3caa8d0265be770c9c05e92c7c7b9 | /Lab3 - Menu/Rectangle.h | 9cc40893793130b9714cbdeec18c1f66f5eb1fa4 | [] | no_license | proted/SPbPU_Cpp_Labs_IV | e04bbe46f7b47af867fd0257b79581d2612750ef | 80a7810f3f686515dea04c8c1880af364ff66b72 | refs/heads/master | 2023-04-22T14:55:30.165200 | 2020-09-24T13:34:59 | 2020-09-24T13:34:59 | 259,915,475 | 0 | 0 | null | 2020-09-24T13:35:00 | 2020-04-29T12:10:43 | C++ | UTF-8 | C++ | false | false | 364 | h | Rectangle.h | #pragma once
namespace prtd_ct
{
typedef struct Point
{
double x, y;
} Point;
typedef struct Rectangle
{
Point point;
double width, height;
void setPosition(Point& newPosition)
{
point.x = newPosition.x;
point.y = ne... |
2098fec50f60385399346c6474763d6e1566cf5e | 5638be520c7794e028a864abac29f51c88c07f27 | /POJ/1950_ Dessert.cpp | 0abe28b266b8cce1446579c8aac67f7f5f3dd29a | [] | no_license | CcChangJF/AlgoCodes | eb8af69764ff4042819bafd15abc0d573b80f9c9 | 737ae8f6aed4d43386c08ca1b007c03d698e042c | refs/heads/master | 2020-04-26T11:23:03.166366 | 2019-03-17T02:11:01 | 2019-03-17T02:11:01 | 173,514,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,520 | cpp | 1950_ Dessert.cpp |
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <stack>
#include <queue>
using namespace std;
class Solution{
int eval(string &str) {
// "1 . 2 - 3 + 4 + 5 . 6 . 7"
int res = 0;
int num = 0;
int op = 1;
for (int i = 0; i < str.length()... |
81ec9035af7883f9ef0c13c6ee134d29c976ca2d | 42197a436b880b3175dc5d6333866087cf6a7dbc | /kadas/gui/kadasmapwidget.cpp | c8a2660cbfa5bce08116eb66c7c7a51d1f3508ab | [] | no_license | mhugent/kadas-albireo2 | 2a4dce3cc15592c2271bc7efc89088e8d168a0b8 | 8744ef1e1cbc772a51a02a6654556d9dc660824d | refs/heads/master | 2020-08-27T07:47:00.298743 | 2019-10-23T19:29:16 | 2019-10-23T20:21:24 | 217,289,123 | 0 | 0 | null | 2019-10-24T12:04:29 | 2019-10-24T12:04:29 | null | UTF-8 | C++ | false | false | 12,045 | cpp | kadasmapwidget.cpp | /***************************************************************************
kadasmapwidget.cpp
------------------
copyright : (C) 2019 by Sandro Mani
email : smani at sourcepole dot ch
***************************************************************************/
/************... |
980de3323aea875aa0c2c5fbcccf7c5ce1b04d1f | d1120d6a0db57fb3252be42dc5ece3a2dbbc07f2 | /Myprojects/SampleQuadTree/SQuadTree.cpp | 0e8eb36c9f0d2cb489e37dc581ed969966932eb8 | [] | no_license | shjii/Map-Tool | c8da9b53017ad162e11c498b66313c9c5710f8a4 | 597b5f8c541094f1090b003175cc1955b64ebbe4 | refs/heads/master | 2023-05-09T06:59:32.359465 | 2021-05-26T07:05:22 | 2021-05-26T07:05:22 | 315,503,404 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 6,894 | cpp | SQuadTree.cpp | #include "SQuadTree.h"
bool SQuadTree::Build(SMap* m_Map)
{
this->m_Map = m_Map;
m_RootNode = BuildNode(m_Map);
BoungigBox(m_RootNode);
if (Division(m_RootNode))
{
}
return true;
}
SNode * SQuadTree::BuildNode(SMap * m_Map)
{
SNode* sNode = new SNode;
sNode->m_Depth = 0;
sNode->m_iCorner[TL] = 0;
sNo... |
7278475c834c33a0f27830a4de58bfa083a5869e | 59cc931ecfef668c7aeda30a5317aa4be6f1ac12 | /net/http/HttpCookie.cpp | 9e008f88d8acfa88db74cc7dcef7e0cc09c85474 | [
"MIT"
] | permissive | wangsun1983/Obotcha | 41caf1e09cfd65a5391373ce66de671695cdb863 | 0cbf308118d1acdc2964fe540660c0a714f25ae7 | refs/heads/master | 2023-09-06T05:48:13.976241 | 2023-09-05T14:37:07 | 2023-09-05T14:37:07 | 172,166,610 | 40 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,260 | cpp | HttpCookie.cpp | #include "HttpCookie.hpp"
#include "HttpPacket.hpp"
#include "StringBuffer.hpp"
namespace obotcha {
const String _HttpCookie::COOKIE_PROPERTY_SECURE = createString("Secure");
const String _HttpCookie::COOKIE_PROPERTY_HTTPONLY = createString("HttpOnly");
const String _HttpCookie::COOKIE_PROPERTY_PATH = createString(... |
eab17da9e728f1837723aba845e1946752a3c9e1 | 50f816c3557da324c0b7cdade431ae4169c86d27 | /screencap.cpp | f6b2111608d85e0b968de86230ab219830a4ecc9 | [] | no_license | 8586/test_screencap | 1f7aca2a5953108ddcba041558a10913a8c0df2d | 47cc03a68f4e6f650bdd1f99a1580ce930058a42 | refs/heads/master | 2020-03-21T20:54:36.781651 | 2015-09-15T03:15:02 | 2015-09-15T03:17:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,408 | cpp | screencap.cpp | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
791a73fd381bb026fc7e83b5c41f11dd492affd2 | e87c80bf40772cedf878106bd3365032beadd821 | /Project17/MyForm_Customer.cpp | e7ee9e65d56926dcab0bd961f8ade81f2977d8b8 | [] | no_license | AhmedNasr74/Otlob | 90ea7eb793c494421b0d8c9977a8b9464c6539b2 | a9f66bbc061a171f7701e6cf493846d961d3c9c0 | refs/heads/master | 2020-03-15T21:04:34.600813 | 2018-05-06T14:45:38 | 2018-05-06T14:45:38 | 132,347,476 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | MyForm_Customer.cpp | #include "MyForm_Customer.h"
|
f676e3d91deaa4e2bfa60813ea35f5c9c83f8b43 | 207977bada9827701d6adae411dc6f95fcd991f5 | /src/notification.cpp | abfd8113a7904b13c62c90b2e6912ac6193498e0 | [
"MIT"
] | permissive | digitalsurgeon/EasyWallpapers | 6d37dd9a1ab4f31ba1e6fc9024072b89be3eb551 | 86f62ad6453ed079f9b889d6adc910f0d89092c1 | refs/heads/master | 2020-05-13T01:53:17.781984 | 2015-03-19T05:32:01 | 2015-03-19T05:32:01 | 32,502,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,331 | cpp | notification.cpp | #include "notification.h"
#include <QPropertyAnimation>
#include <QTimer>
#include <QFont>
Notification::Notification(QGraphicsItem *parent) :
QGraphicsObject(parent),
iText (new QGraphicsTextItem(this)),
iBackground ( new QGraphicsPixmapItem(this)),
iAutoHide ( false )
{
setFlag(QGraphicsItem::It... |
62fccf31c76120fdb4ff5084e6f9198305e0bea9 | efdfe2b2477167766321e1e2152b23e31f4650c4 | /acmicpc.net/18870.cpp | 2d3851bd1c1f2848f187bc86717ef9a5748bbe49 | [] | no_license | chongin12/Problem_Solving | 612c7783156db89e9248720bc870f58556f01d01 | c23b25778e32ed4ab21d23b3a4439eefcae486b4 | refs/heads/master | 2023-09-02T20:55:08.413597 | 2023-09-01T05:15:30 | 2023-09-01T05:15:30 | 182,390,474 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | 18870.cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
using pii = pair<int,int>;
vector<pii> v;
vector<pii> res;
int main(){
ios::sync_with_stdio(0); cin.tie(0);
int N; cin >> N;
for(int i=0; i<N; ++i){
int k; cin >> k;
v.push_back({k, i});
}
sort(v.begin(),... |
036d99f5b63c79451dae232cdecfc7b82e3b3a02 | 423bc3dcc6b779d1d897053c2aa8eeb11030dff9 | /main/freqs.hh | 825c6f610ee8be298648da9cb5832b296d092168 | [] | no_license | FeVe98/QCluster_2.0 | 68fc1633c029ee1b4d684309f111f0ff0e97409f | b0e92d3d986f0d30fa98829a4a77478e4e40a440 | refs/heads/main | 2023-05-28T21:49:47.412829 | 2021-06-14T17:06:37 | 2021-06-14T17:06:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,800 | hh | freqs.hh | #pragma once
#include <string>
#include <vector>
#include <unordered_map>
using namespace std;
// number of characters
char const base ='!'; // Illumina 1.8+ Phred+33
enum {NUM_NT = 4};
// normalize row dividing by the total counts
void normalize_row(unordered_map<string, double>* fv);
void fill_overlap_count_vec... |
d1b26b965f014199cd2066bc700bbd986e18e2b0 | 1cd5aa303ce5ace4a4054758bfedf6e93476c929 | /assign5/assign5.cc | 730c22c53d74fc62a0f8f423746a7d518c968593 | [] | no_license | Hudsonps/scinet | 4b0ceae0b7cf6137f4912dc36bb9f5f2371b5c81 | bade7e78d363a3fc82e25aaf5e33274bbdc5b174 | refs/heads/master | 2020-03-21T01:17:54.623670 | 2018-06-19T19:49:41 | 2018-06-19T19:49:41 | 137,934,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | cc | assign5.cc | #include <iostream>
#include <fstream>
#include <cmath>
#include <iostream>
#include "assign5functions.h"
#include <gsl/gsl_complex.h>
#include <gsl/gsl_roots.h>
#include <gsl/gsl_poly.h>
#include <gsl/gsl_complex_math.h>
#include <gsl/gsl_multiroots.h>
int main()
{
//equations to be solved
//k1*(x^2)*y - k2*(z^... |
ddd08520f2d34270cc2dc3a58a110b797d6d5b77 | 07dbd95507b1acf1bd8587e669b8ea8df2052ea5 | /OnlineJudges/Codeforces/#479 (Div. 3)/B.cpp | 537ef37448c2424b8b8dab7caccc0bf371e6b1e5 | [] | no_license | LargeDumpling/Programming-Contest | 20fc063a944253da9f0a96d059c3fd4c0f6917ad | 001f75b6bc4af6f63bd2c250d649b70b77f92ebe | refs/heads/master | 2021-06-21T12:01:23.015714 | 2019-09-16T14:13:08 | 2019-09-16T14:13:08 | 107,221,521 | 0 | 0 | null | 2017-10-18T14:38:35 | 2017-10-17T05:22:16 | C++ | UTF-8 | C++ | false | false | 556 | cpp | B.cpp | /*
Author: LargeDumpling
Email: LargeDumpling@qq.com
Edit History:
2018-05-06 File created.
*/
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<algorithm>
using namespace std;
const int MAXL=105;
int len;
int cnt[26*26],ans=-1;
char str[MAXL];
int main()
{
scanf("%d... |
5455d14e10c30109c3f306135b79ae7e4e976b77 | 79a6ebd3ce4a6c9aeac0ac26a78096cad94b4cbb | /src/GUI/ControlPanelCtrl.cpp | 771e2519d0eb06b65e98ca8bbe5dc9855ae5a7d3 | [] | no_license | theRAMSnake/AI | 1a99c0e73be75e66564f845532dd597f264ac25d | ec545e1fb53bb98a317609b7758ea31c318a5c0f | refs/heads/master | 2023-03-18T23:21:02.009746 | 2023-03-14T15:39:05 | 2023-03-14T15:39:05 | 209,282,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,097 | cpp | ControlPanelCtrl.cpp | #include "ControlPanelCtrl.hpp"
#include "Trainer.hpp"
#include "ProjectManager.hpp"
#include <nana/gui/widgets/button.hpp>
#include "widgets/pgitems.hpp"
#include <iostream>
#include <boost/property_tree/json_parser.hpp>
std::string formatCfgStr(const std::string& input)
{
//For now strings containg '.' is conside... |
0958a4055ef2ce37a8fefda7af94aa0afccc4b4c | a77502288cd0bfb4430966038fccb3c3538b2a82 | /src/PositionTree.cc | d0cea3a56d170ae5156ef7c54246e6e4a176bd5d | [] | no_license | simonepigazzini/H4Analysis | 054b186321424ed36f85140b5dbad4887798e5a6 | 3f1cb8864fabfa1b23c678d2213d79cb5b9c07a6 | refs/heads/master | 2023-04-15T15:16:02.653387 | 2021-10-28T16:30:38 | 2021-10-28T16:30:38 | 44,056,165 | 0 | 19 | null | 2023-04-10T16:12:26 | 2015-10-11T14:51:10 | C++ | UTF-8 | C++ | false | false | 527 | cc | PositionTree.cc | #include "interface/PositionTree.h"
PositionTree::PositionTree(uint64* idx, TTree* tree)
{
tree_ = tree ? tree : new TTree();
index=idx;
}
void PositionTree::Init()
{
//---global branches
tree_->Branch("index", index, "index/l");
//---position branches
n_clusters = 0;
clusters = vect... |
23211dd13f85ea5bc9612d9b73318ef96c7d5d6b | 961a549a75dfeae8d25acc2a289c6cc972e6c015 | /NullIterator.h | 2c68c0a2b53a4fee902c526c3d9fbdbc00e3732f | [] | no_license | MarcJimenez99/Visitor_Pattern | 6e96e02d1fe568663b7943ad3e453b55c64bce47 | 7a9e914ea2d540eab5851b0b57577b31455fedaa | refs/heads/master | 2021-03-03T02:27:28.180021 | 2019-03-08T03:50:42 | 2019-03-08T03:50:42 | 245,925,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | h | NullIterator.h | #ifndef __NULLITERATOR_H__
#define __NULLITERATOR_H__
#include <iosfwd>
#include <string>
#include <iostream>
#include "Iterator.hpp"
using namespace std;
class NullIterator : public Iterator {
private:
Base* self_ptr;
Base* iter;
public:
//NullIterator() { this->self_ptr = nullptr; }... |
e6381b7a308eb626c9e67f2cb455e13eb53c9ed1 | 3745a8c56f26ce4a29fc0eb8aca912fe4d2f010f | /ZZ/Bip/BestBwd.cc | c6cfaa7ba1aeb771cf500b442c030edf5364b15e | [
"MIT"
] | permissive | berkeley-abc/abc-zz | d79f092a301828c15b63603b872505d9d6b644f7 | 6a15ab3934ec60b777db26227494d2b8ad6f125a | refs/heads/master | 2022-05-29T12:29:59.400865 | 2022-05-14T22:50:56 | 2022-05-14T22:50:56 | 124,795,634 | 17 | 8 | null | 2018-08-24T16:27:07 | 2018-03-11T20:17:25 | C | UTF-8 | C++ | false | false | 9,697 | cc | BestBwd.cc | //_________________________________________________________________________________________________
//| -- INFO --
//| Name : BestBwd.cc
//| Author(s) : Niklas Een
//| Module : Bip
//| Description : Best-first Backward Re... |
a766a1421e9f1833dc7736069f45bb424fde6ce2 | cfeaace3b19bd21af7e7a39f3d86975e725488a7 | /src/tests/UserBlobTest.cpp | f8c789f2a3421ab0ca268921c0ab6b35c6f27620 | [] | no_license | rtrochim/zpr-agario | 44679bcebdc387c06b4dba673c2b67a45b61f5d7 | fd54389bca2b1774d5c2d84228cf8676ffcc6a33 | refs/heads/master | 2022-12-10T19:06:05.139565 | 2020-01-14T22:15:07 | 2020-01-14T22:15:07 | 223,730,338 | 0 | 0 | null | 2022-12-10T14:46:01 | 2019-11-24T11:03:15 | C++ | UTF-8 | C++ | false | false | 779 | cpp | UserBlobTest.cpp | #define BOOST_TEST_MODULE boost_test_macro_workaround
#include <boost/test/included/unit_test.hpp>
#include <sstream>
#include <string>
#include "../app/c/UserBlob.cpp"
#include "../app/c/Blob.cpp"
BOOST_AUTO_TEST_CASE( test_get_user_blob_username )
{
std::string username = "username";
UserBlob testUserBlob = ... |
844190d8bdf1dbdcc9a345b67d32f1dd752eff26 | e90bec3e7ee8f8562b67be0c76122135419a659e | /secpass.cpp | e56c66f42e1cba4d2f8c83427681bf9ca2b7a023 | [] | no_license | dibyanshuanand/cpp-code | 60451ecee3c2ce96ad106f215160a5b21d197a39 | 11cee1703d46e185bf43a37bf675ea7a963fe52a | refs/heads/master | 2020-04-05T16:28:16.176632 | 2019-04-07T05:42:42 | 2019-04-07T05:42:42 | 157,014,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | cpp | secpass.cpp | #include <bits/stdc++.h>
using namespace std;
int main () {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int nTest;
cin >> nTest;
int n;
string s;
for (int i = 0 ; i < nTest ; ++i) {
cin >> n;
cin >> s;
string subs[n];
for (int j = 1 ; j ... |
9c270ec8ee45b3ee749a72d264f039716d602699 | e3ffbad37aa465a07b8f11db2849d7cfb77b0b61 | /Other/CameraDemo/main.cpp | d81e5865df86be3f60c4756fd291ae01bc297b54 | [] | no_license | hondodo/PCamera | cfa8a050a1f3a6dc8c0b7f8089e5334d85496108 | 9dec8e32fcd41854023301b9761ec2336fd81639 | refs/heads/master | 2020-03-26T23:56:12.679352 | 2018-10-25T00:42:35 | 2018-10-25T00:42:35 | 145,579,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | cpp | main.cpp |
#include "mainwindow.h"
#include <QApplication>
#include <QDebug>
extern "C"
{
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libswscale/swscale.h"
#include "libavdevice/avdevice.h"
}
#include "3rd/gleswidget.h"
using namespace std;
int main(int argc, char *argv[])
{
QApplication a(... |
5dd608d34c15e594ca6bf934ec81481a3f23604f | b53a57cc1fdea45c5734299aec9da0cafe2d1fcc | /lesson_aip_class/library.cpp | 90641f9650f45237915d86a251fa9a81a19fc50f | [] | no_license | ivanlipko/aip_lessons | 69ea29fec37d5415f704130161e3eae925520b53 | d77ced30ac27aed7c40f272e1c2050e55e251534 | refs/heads/master | 2023-05-02T19:48:02.874249 | 2021-05-30T14:51:45 | 2021-05-30T14:51:45 | 265,481,160 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | cpp | library.cpp | #include "library.h"
#include <iostream>
Library::Library()
{
for(int i=0; i<NBOOKS; i++)
books_[i] = rand() % 100;
}
int Library::findbook(const int b)
{
int count = 0;
for(int i=0; i<NBOOKS; i++)
if(books_[i] == b)
count++;
return count; // количество книг
}
bool Librar... |
254428e55a14af0284761fe30752c058edaad64b | 60f97d014f32251d4d8ab593c637df43c289dadf | /CPP/Lab3A/Lab3A/person.h | c309299fba789a0ad8e842eddc17b95b7334230b | [] | no_license | kyoder17/Cprogramming | fd14b329f3d4f0f86b2c050838a4896ec42232be | 6327b1b53b12f5851383a72f7977d8b5c4f7a8d9 | refs/heads/master | 2020-03-22T20:13:03.234803 | 2018-09-04T15:00:36 | 2018-09-04T15:00:36 | 140,303,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | h | person.h | #pragma once
class Person {
private:
std::string firstName;
std::string lastName;
int age;
char gender;
public:
std::string getFname() {
return firstName;
};
std::string getLname() {
return lastName;
};
int getAge() {
return age;
};
char getGender() {
return gender;
};
void setName(std::string fNa... |
f4c1812396614b4bd1bb5266d454cb04bb5acb94 | 85ba4e6e293b61908abee97cf12fc6f04fa5b99a | /thorlcr/master/thactivitymaster.hpp | 3360fb046bc20a5aa5a43864fe325a1609f8db3b | [
"Apache-2.0"
] | permissive | praveenmak/HPCC-Platform | 6021a561c01d9706aaf5b86bbaa059284b9f6190 | 30cb9026779310921567106e9d5b090e81065b33 | refs/heads/master | 2021-01-14T11:48:56.585472 | 2014-04-02T14:20:09 | 2014-04-02T14:20:09 | 18,383,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,937 | hpp | thactivitymaster.hpp | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
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 ... |
e73ccd6e3505116022606beed2da39a2143853d0 | 3a10db3a41a0048ac0e34ccd1d43578e37ec4fef | /Ujjwal/Halim/Ch2/Linear/11588.cpp | 7103a4801f2ec370b7c6a02fea1bfa934e7cdfac | [] | no_license | Ryednap/Contest | 9586feb51e8c569feb3cc0c909b188b37bb5f064 | f51a0ccd5a493090bbeea45f6fd006006a3ea865 | refs/heads/master | 2023-07-04T13:24:41.838129 | 2021-08-07T08:13:09 | 2021-08-07T08:13:09 | 319,395,473 | 1 | 0 | null | 2021-08-07T08:13:10 | 2020-12-07T17:33:36 | Java | UTF-8 | C++ | false | false | 799 | cpp | 11588.cpp | #include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "uj.h"
#endif
#define f first
#define s second
// O(nlogn). sort the map by the value.
int main( ) {
int qq, tt = 0;
scanf("%d", &qq);
while(qq--) {
int n, m, a, b;
scanf("%d %d %d %d", &n, &m, &a, &b);
map<char, int> mapper;
for(int i =... |
e747da454474159301bf45821edda06475339972 | 405842dde8c73f7586c0eca87960fdb6cf1b1d6f | /C++/1.x difficulty/videospeedup.cpp | 987bcc30a0e66f0528924e9d0e9562eb6ccebe04 | [] | no_license | tellefo92/Kattis | 190fd60aa39bb6acfb0e1ef930946eb1af60acf6 | b618beb18eea387b65d93fb40f357e57d40efb0a | refs/heads/main | 2023-09-05T15:38:20.548077 | 2021-11-10T23:47:19 | 2021-11-10T23:47:19 | 426,321,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | videospeedup.cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main() {
int n, p, k;
cin >> n >> p >> k;
int t;
double time = 0;
double speed = 1;
int time_stamp = 0;
for (int i=0; i<n; i++) {
cin >> t;
time += (t - time_stamp) * speed;
speed += (double)(p/100.0);
... |
f30941300fcdaa956d455ce47304535cefd29bf2 | ad01aaaba4954b748e41478f1e30fb9b557bca95 | /src/main.cpp | a2a1b074333af582457a3486231aa49716f0c542 | [] | no_license | viperdosth/face-recognization-in-DPU | be5f037810d56cdee53e46db181411bb396f2b63 | c8b26a77b0f151285130e1795cccaf0d60cc65c7 | refs/heads/master | 2020-12-05T18:39:42.531146 | 2020-01-07T03:01:16 | 2020-01-07T03:01:16 | 232,211,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,770 | cpp | main.cpp | #include <unistd.h>
#include <algorithm>
#include <chrono>
#include <cmath>
#include <fstream>
#include <iostream>
#include <mutex>
#include <opencv2/opencv.hpp>
#include <queue>
#include <string>
#include <thread>
#include <vector>
#include "opencv2/core/core.hpp"
// #include "opencv2/contrib/contrib.hpp"
#include "op... |
96d497f8ec0791f546728b4034932a554ba4ffe9 | af6acdb4fe82b21a637611bd31835d540e4165d0 | /DSweek3/12585.cpp | 4acc97435bea1b8fb31cc8c5b952ecc17858d77d | [] | no_license | avarpow/SYSU_PROGRAMMING | fc687856cb55b8326ba05826d8a0aadb072f8d75 | 97119fae5bcf1db609073ef0e37387d309342eaf | refs/heads/master | 2021-07-03T09:36:35.966092 | 2020-12-27T04:04:28 | 2020-12-27T04:04:28 | 209,251,683 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,251 | cpp | 12585.cpp | //Polynomial.h
#include <iostream>
#include <vector>
using namespace std;
typedef pair<int, int> Term; // 绗?涓€涓?鍒嗛噺琛ㄧず绯绘暟锛岀??浜屼釜鍒嗛噺琛ㄧず鎸囨暟
typedef vector<Term> Polynomial;
//poly_sum.cpp
#include <algorithm>
Polynomial sum(const Polynomial &p, const Polynomial &q)
{
Polynomial ret(p);
for (auto &i : q)
{
... |
7e140e456895cba053a32ef4f32a629bde97f8a0 | efb0d8e9d0111bb3c33b832041efcf18ebb9e923 | /14567.cpp | 2b8f27fc6fb611f78de0084b4d53cf27487186c4 | [] | no_license | sejinik/BOJ | f0307f8e9bee9d1210db47df309126b49bb1390b | 45cb123f073233d5cdec8bbca7b26dd5ae539f13 | refs/heads/master | 2020-03-18T12:42:01.694263 | 2018-05-24T17:04:19 | 2018-05-24T17:04:19 | 134,739,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | cpp | 14567.cpp | #include <cstdio>
#include <algorithm>
#include <vector>
#include <queue>
using namespace std;
int ind[1010];
int ans[1010];
int n, m;
int main() {
scanf("%d %d", &n, &m);
vector<vector<int>> a(n + 1);
for (int i = 0; i < m; i++) {
int x, y;
scanf("%d %d", &x, &y);
a[x].push_back(y);
ind[y] += 1;
}
queu... |
c2b904ded3f940c28f2fe07ac1ed3f8617585a01 | 04ff68d0a50268be3f320cc9e9529e17d39e94e1 | /include/cascade.hpp | 437f8b4ca265a81a4b4994c1bd7549cad44b6684 | [
"MIT",
"BSD-3-Clause"
] | permissive | Pruthvi-Sanghavi/Human-Detection-Module | 47290e5afe1d9271fb2ec80b8f076e28188c17cf | 1762f9fe937aaf18a6c22d3272d9870c158424c6 | refs/heads/master | 2021-06-26T14:31:07.495369 | 2021-02-21T03:55:20 | 2021-02-21T03:55:20 | 215,086,776 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,301 | hpp | cascade.hpp | /**
* @file cascade.hpp
* @brief load cascade model and detect object in an image
* @author Varun Asthana
* @author Pruthvikumar Sanghavi
*
* Copyright [2019] Group14
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentati... |
1e5a0cd95e92c98e5fd720d0f48f87c5b3983320 | aa7650b1dbfb3b3dcf2af5444d0c6870da23a9cf | /SeaTradeSimulator/Cargo.hpp | c818459ec828f4a3155e13ef0a181ffe1d6445ea | [] | no_license | MaciejSalamonski/Learning | 356d9f4562cac82b1253c6a00c9c8ad5a4396774 | e5952e73aad8bea8fb7228a2083a3c460356930b | refs/heads/main | 2023-03-22T10:46:50.052281 | 2021-03-10T17:08:17 | 2021-03-10T17:08:17 | 337,124,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | hpp | Cargo.hpp | #pragma once
#include <stdint.h>
#include <string>
class Cargo {
protected:
size_t amount_{};
std::string name_{};
size_t basePrice_{};
public:
Cargo() = default;
Cargo(size_t amount, const std::string& name, size_t basePrice);
virtual ~Cargo() = default;
//virtual void Print() const = 0;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.