blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8895034b15beaffb89ed1093cf34e9be86e97424 | b80aae3e7c99e6eb7b292f7197ecbc896a4ad16c | /liber_shader/lightmap_baker.cpp | 83f1c17b70068d9df04e05e93082e618b7bc5700 | [] | no_license | ElaraFX/OpenElara | 8a132ac35d6dc8fe266ae7f5f03f2efcd3446534 | 7f414c6952186e27cb08ddd4d68109c36282a508 | refs/heads/master | 2020-04-12T03:55:36.770432 | 2018-08-29T08:23:07 | 2018-08-29T08:23:07 | 63,928,126 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 18,182 | cpp | /**************************************************************************
* Copyright (C) 2016 Rendease Co., Ltd.
* All rights reserved.
*
* This program is commercial software: you must not redistribute it
* and/or modify it without written permission from Rendease Co., Ltd.
*
* This program is distributed i... | [
"43492276@qq.com"
] | 43492276@qq.com |
e2bcee7651bbb080d1eb4dadc74569a9878bfdf9 | f6582741d4999660850606c11d7299476bff74cc | /example/engines/mock.h | bda5aaf4e85186b0cda2bb30912949e23193ce3f | [] | no_license | mezdej/cpp | 6f72faf02a7e8a4c35607003ebd170281829f8cb | 89856d3872864d1cbc78b69624da95cc24daf378 | refs/heads/master | 2021-06-10T20:03:55.789827 | 2021-04-06T19:39:46 | 2021-04-06T19:39:46 | 172,216,990 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | h | #ifndef INTERFACE_MOCK_HEADER
#define INTERFACE_MOCK_HEADER
#pragma once
#include "interface.h"
namespace example
{
namespace engine
{
class Mock
: public Interface
{
public:
Mock( const string & endpoint, const string & login, const string & password );
virtual void getDevices( Device::Map & result... | [
"mezdej@wp.pl"
] | mezdej@wp.pl |
5c41d5f363892445022f714e99a071997f137224 | c6fa53212eb03017f9e72fad36dbf705b27cc797 | /RecoParticleFlow/PFClusterProducer/plugins/energy_calcs/PFClusterEMEnergyCorrector.cc | 3cf5b565c3544e57d14f8dfd1f955ac9abd0616a | [] | no_license | gem-sw/cmssw | a31fc4ef2233b2157e1e7cbe9a0d9e6c2795b608 | 5893ef29c12b2718b3c1385e821170f91afb5446 | refs/heads/CMSSW_6_2_X_SLHC | 2022-04-29T04:43:51.786496 | 2015-12-16T16:09:31 | 2015-12-16T16:09:31 | 12,892,177 | 2 | 4 | null | 2018-11-22T13:40:31 | 2013-09-17T10:10:26 | C++ | UTF-8 | C++ | false | false | 1,225 | cc | #include "RecoParticleFlow/PFClusterProducer/interface/PFClusterEMEnergyCorrector.h"
namespace {
typedef reco::PFCluster::EEtoPSAssociation::value_type EEPSPair;
bool sortByKey(const EEPSPair& a, const EEPSPair& b) {
return a.first < b.first;
}
}
void PFClusterEMEnergyCorrector::
correctEnergyActual(reco::... | [
"bachtis@cern.ch"
] | bachtis@cern.ch |
509d16740e5dd56e618023ccb66b42022089d106 | fcdea24e6466d4ec8d7798555358a9af8acf9b35 | /Tools/XEditor/XEditor.cpp | afc5c5b233c32aa32b3c89640f381ef2e113813b | [] | no_license | yingzhang536/mrayy-Game-Engine | 6634afecefcb79c2117cecf3e4e635d3089c9590 | 6b6fcbab8674a6169e26f0f20356d0708620b828 | refs/heads/master | 2021-01-17T07:59:30.135446 | 2014-11-30T16:10:54 | 2014-11-30T16:10:54 | 27,630,181 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,162 | cpp | // XEditor.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "XEditor.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CXEditorApp
BEGIN_MESSAGE_MAP(CXEditorApp, CWinApp)
ON_COMMAND(ID_APP_ABOUT, &CXEditorApp::OnAppAbout)
END_MESSAGE_MAP(... | [
"mrayyamen@gmail.com"
] | mrayyamen@gmail.com |
10fe1f6f95ea3ac57925122ae02116390099d604 | 625752aa8b7bda45524a8999f7a51a3610c0056c | /dev/g++/projects/embedded/gps/src/nmea2000.cpp | 18443431107d149f797e98d77ae62f5b248fc4ee | [
"MIT"
] | permissive | PT0140PT0141/repo | f42e16b017fb37738b917224d9c94fc038387731 | bcbab5212ec6eec3e4a03932a0826fc327732b1b | refs/heads/master | 2021-04-30T17:25:51.820010 | 2017-01-09T08:58:53 | 2017-01-09T08:58:53 | 80,207,200 | 0 | 0 | null | 2017-01-27T12:53:50 | 2017-01-27T12:53:50 | null | UTF-8 | C++ | false | false | 13,074 | cpp | /**
* @File nmea2000.h
* @brief Implementation file for the lightweight nmea2000 library.
* @author garciay.yann@gmail.com
* @copyright Copyright (c) 2015 ygarcia. All rights reserved
* @license This project is released under the MIT License
* @version 0.1
*/
#include <iostream>
#include <sstream>
#include... | [
"garcia.yann@gmail.com"
] | garcia.yann@gmail.com |
566fe9c84c94a2cf9a70b44342a4fae90a9b0786 | d956e1eac80a0b739e650eac4eaded3d06027b26 | /DeshBz.h | f37a82d956f2caadea30e4821d444647650cf930 | [] | no_license | Justliangzhu/gitskills | b42457126a945986bad62b84bc9cb21382efb10d | 957e796bcf5cffa1c6171a1acb1393d38930711f | refs/heads/master | 2023-05-30T22:57:30.523134 | 2021-06-22T02:12:50 | 2021-06-22T02:12:50 | 377,092,494 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,071 | h | // DeshBz.h: interface for the DeshBz class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DESHBZ_H__49D639F3_5437_4CFF_A695_B9486BABEFE4__INCLUDED_)
#define AFX_DESHBZ_H__49D639F3_5437_4CFF_A695_B9486BABEFE4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER >... | [
"liangzhu_st@csu.edu.cn"
] | liangzhu_st@csu.edu.cn |
b6835df57acbb6ee0c3458947fa87a94653ccaa1 | c66cd255f5fbc0b0ba532197d82e7b1eab213333 | /CngWrapper/CngWrapperIntegrated/testintegration.h | 887bac3c2d1c081b4b469518953ee4316e9fb413 | [
"MIT"
] | permissive | ekussa/CngWrapper | 5efea31a3e9951c87478f360f54056d30287cc66 | 732508fda5e2c373c536890d65509025e96bed97 | refs/heads/main | 2023-01-04T14:39:06.978258 | 2020-10-27T16:43:17 | 2020-10-27T16:43:17 | 307,765,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | h | #ifndef TESTINTEGRATION_H
#define TESTINTEGRATION_H
#include <QObject>
class TestIntegration : public QObject
{
Q_OBJECT
private Q_SLOTS:
void shouldRunIntegrated_data();
void shouldRunIntegrated();
};
#endif // TESTINTEGRATION_H
| [
"eduardomk@outlook.com"
] | eduardomk@outlook.com |
8f4e52a8f3a5a393085cb705848b4e44b174d018 | 1cc4727469951710751e9c46d4e578cacc0ec141 | /jp2_pc/Source/Lib/Std/BlockArray.hpp | b82e2636c60d6d3876b703f7e72e65525107c9fe | [] | no_license | FabulaM24/JurassicParkTrespasserAIrip | 60036b6a0196f33b42bdc7f6e4c984ef39a813f4 | 081c826b723a5fef2b318009fdaf13a27af908a5 | refs/heads/master | 2023-07-15T20:49:47.505140 | 2020-05-13T12:57:52 | 2020-05-13T12:57:52 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,784 | hpp | /***********************************************************************************************
*
* Copyright © DreamWorks Interactive, 1997.
*
* Contents:
* CBArray A block allocated array.
*
* Bugs:
*
* To do:
*
********************************************************************************************... | [
"crackedcomputerstudios@gmail.com"
] | crackedcomputerstudios@gmail.com |
622f1f9b9371ae350a4c137f31b591e6ab94e533 | 43db097127c291414f1dabb858a822daa63e32e4 | /source/Ide2/AdamoSynPage.cpp | 18fae7479fba1dfcf72a24a03d591149f2bb54b5 | [] | no_license | Spritutu/AdamoIDE | c7e0188b72846c154192692e77a123727f5d7865 | d6f6e785a56526f22dc8a86e53abf56b180e808d | refs/heads/master | 2023-02-05T09:57:59.621114 | 2020-12-29T10:44:38 | 2020-12-29T10:44:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,205 | cpp | // AdamoSynage.cpp : implementation file
//
/* include files */
#include "stdafx.h"
#include "AdamoSynContainer.h"
#include "AdamoSynPage.h"
#include "StdGrfx.h"
// CAdamoSynPage
extern CString GetXMLProperty (const char* sz, const char* szProp);
extern COLORREF TranslateRGB (char* p);
IMPLEMENT_DYNAMIC(CAdamoSynPag... | [
"maurizio.mottarella@kinemanet.it"
] | maurizio.mottarella@kinemanet.it |
eb636e8cd0f1d7e7ef19d000cc688b7c5ccfc6ff | 8262a782e189aed545a805ac67809a141f75a669 | /ALLIZZWELL .cpp | 358751f85d902e57b2b9ca8aadf296afb39ce208 | [] | no_license | rjrks/Spoj | 7e245e877a9924a0bb4661be39121832ddda1fc7 | a3236ee6a773d08078f13e46f5eee40b638d461b | refs/heads/master | 2020-04-06T04:55:36.584359 | 2015-07-13T19:23:55 | 2015-07-13T19:24:17 | 35,376,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,488 | cpp | //
// Created by Rohan on 30/08/14.
// Copyright (c) 2014 Rohan. All rights reserved.
//
#include <math.h>
#include <iostream>
#include <vector>
#include <string.h>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <stack>
#include <list>
#include <algorithm>
#include <queue>
class node{
publ... | [
"rohanjain.2209@gmail.com"
] | rohanjain.2209@gmail.com |
8a6fac2a801a1ca4988399dd77407b20779273d2 | 86c63c9a4861b429fbca39accd95741a30f137af | /src/gui/clifstoreview.cpp | 17e1460fff3e5cae0df479276a16b94bad6134fc | [] | no_license | cgarbe/clif | 968eb1ca41856c454aa97631c848a71d80db08df | d05dc97771101e249e42bd18ec12a58799aef156 | refs/heads/master | 2021-01-21T00:30:09.530203 | 2016-02-24T09:02:15 | 2016-02-24T09:02:15 | 52,428,564 | 0 | 0 | null | 2016-02-24T09:02:59 | 2016-02-24T09:02:59 | null | UTF-8 | C++ | false | false | 5,311 | cpp | #include "clifstoreview.hpp"
#include <QtGui/QtGui>
#include <QApplication>
#include <QSplitter>
#include <QTimer>
#include <QSlider>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QComboBox>
#include <QCheckBox>
#include <QDoubleSpinBox>
#include "clifscaledimageview.hpp"
#include "clifepiview.hpp"
#includ... | [
"hendrik.siedelmann@googlemail.com"
] | hendrik.siedelmann@googlemail.com |
5dd1154cfc8a28aae3300d8e1518a78ccd59a4d4 | 818bad8591d3212ebc6284f2f49e06a06263f3b7 | /ccc/NetAssistant/NetToolFrameWnd.h | 24df90207aaf86b45f1b51fac3a1435ab400278d | [] | no_license | wanxianyao/hello-world | 781b85eeef571ee97ced832bf5797bbc5ce35592 | dda7cf50daa19ae9af95f0010f870ca94fa30c60 | refs/heads/master | 2020-12-25T16:55:02.973660 | 2018-11-26T15:28:33 | 2018-11-26T15:28:33 | 36,845,044 | 0 | 0 | null | 2015-06-04T05:31:28 | 2015-06-04T03:11:55 | null | UTF-8 | C++ | false | false | 1,911 | h | #pragma once
#include "NetManage.h"
#include "TcpClient.h"
#include "TcpServer.h"
#include <mutex>
#define RECVLEN 1024
class CNetToolFrameWnd : public CWindowWnd, public INotifyUI
{
public:
CNetToolFrameWnd();
~CNetToolFrameWnd();
LPCTSTR GetWindowClassName() const { return _T("UIMainFrame"); };
UINT GetClassSty... | [
"humphreywan@etekcity.com.cn"
] | humphreywan@etekcity.com.cn |
a7859a69735ac8758027aa360c4a51d183af267a | 162424b68a0e5a2a8521a992b40d8ba2d5e8c742 | /tensorflow_serving/servables/tensorflow/session_bundle_factory.cc | b537251fc67720f0c646dad46ea6e17d785be02a | [
"Apache-2.0"
] | permissive | gvanhorn38/serving | 4bdefdc08139e25280a7f79f994272d90103da30 | 38775b2c266d2a00de5e4b2099975d2fc3296be4 | refs/heads/master | 2021-01-21T03:45:23.194726 | 2016-08-03T15:37:09 | 2016-08-03T15:37:09 | 63,703,052 | 1 | 0 | null | 2016-07-19T14:53:37 | 2016-07-19T14:53:37 | null | UTF-8 | C++ | false | false | 6,843 | cc | /* Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
cdb65c03ce9a911dd090ff8081b33160c9fcaf6c | 7ef4e3c493a566c3625f8e7216be88bdd7a7d6db | /visual studio/Prime Factor Generator/Prime Factor Generator/menu.cpp | 0147f277f81325bf74c9ab7ff52440f7940a9f3d | [] | no_license | Nodrokov/prime_number_generator | df37de81bfba665ce657a7b39b99832731b634b8 | 6a96620e4ddac403dd54c3849be5680a616307f3 | refs/heads/master | 2020-05-25T09:44:31.242784 | 2014-08-21T19:11:27 | 2014-08-21T19:11:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | #include <iostream>
#include "prime.h"
int main()
{
using std::cout;
using std::cin;
int userChoice=0;
cout<<"What would you like to do?\n\n"<<"list Mersenne primes [1] or list all primes [2]\n";
cin>>userChoice;
if(userChoice==1)
{
/*cout<<"\nI'm sorry, this mode is not yet finished. Please select another m... | [
"nodrokov@gmail.com"
] | nodrokov@gmail.com |
c3aab78e0d232b00a51a10a6d923adf9f3ca4994 | 2063e69c14037ecab5d318f952cec9ffbee71929 | /RobonautsLibrary/src/RSpeedControllerSparkMaxCan.cpp | 0aaefad38aed7a168177e81ade852eae64d1a2ee | [] | no_license | xKIAxMaDDoG/everyBotReference | 4dc8c883f92a9856ae016593b19a519ad30b76bc | 1e532be3e7a2292f1564403d370f7235bee9e80a | refs/heads/master | 2021-02-14T03:37:47.358837 | 2020-03-03T23:30:54 | 2020-03-03T23:30:54 | 244,763,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,747 | cpp | /*******************************************************************************
*
* File: RAbsPosSensor.cpp
*
* This file contains the definition of a class for interacting with an
* Absolute Position Sensor.
*
* Written by:
* The Robonauts
* FRC Team 118
* NASA, Johnson Space Center
* Clear Creek Inde... | [
"thetimebenow12@gmail.com"
] | thetimebenow12@gmail.com |
7419ef568105c1441072faab9e7b086d88cb1f0b | 6041348e6979b1cd4a80f0a829d0ac9bd9ed0050 | /MiniSTL/Deque.h | d9b3fea4b6f73fa2b11f6378b999e2ae87f73ec5 | [] | no_license | whuisser115/MiniSTL | 2c2ce4b67bf1ac540eb3a6ebd347cfe27404636c | 28034e2cdae59ba10604346f4f40830b7c13a37b | refs/heads/master | 2021-01-18T00:45:11.461011 | 2015-04-26T13:48:25 | 2015-04-26T13:48:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 16,527 | h | /*
** Deque.h
** Created by Rayn on 2015/04/25
*/
#ifndef _DEQUE_H_
#define _DEQUE_H_
#include "Allocator.h"
#include "Uninitialized.h"
#include "TypeTraits.h"
#include "Iterator.h"
#include "ReverseIterator.h"
namespace rayn {
/*
** if n == 0, 表示bufsize使用默认值
** if sz < 512, 传回 512/sz
** if sz >= 512,... | [
"rayn1027@outlook.com"
] | rayn1027@outlook.com |
4d55223162a5b1be8b3aea01ac63d66dc4f798f4 | 603cb1e8962093aaaa08edd3b4d5a7541cd876ac | /Circle Testings/src/ofApp.h | 5488c2d1f44425f31a2a5661e9ac994e9058f6f0 | [] | no_license | The-Chanman/OFExperiments | 7e5d66919f8f560d7caac9cfc00ebc330d8b5b19 | 65a219fb3109ac98241a4ca78c5a70fbf6a1a331 | refs/heads/master | 2021-05-14T18:14:52.249517 | 2018-01-02T23:36:52 | 2018-01-02T23:36:52 | 116,066,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | h | #pragma once
#include "ofMain.h"
#include "ofxGui.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, in... | [
"ecphylo@gmail.com"
] | ecphylo@gmail.com |
d6aa09cea10f31168efc466490809c4108197553 | 9f3d0bad72a5a0bfa23ace7af8dbf63093be9c86 | /vendor/assimp/4.1.0/code/DefaultLogger.cpp | b69e18ea9389d37ab623023149da110845ff088d | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Zlib"
] | permissive | 0xc0dec/solo | ec700066951f7ef5c90aee4ae505bb5e85154da2 | 6c7f78da49beb09b51992741df3e47067d1b7e10 | refs/heads/master | 2023-04-27T09:23:15.554730 | 2023-02-26T11:46:16 | 2023-02-26T11:46:16 | 28,027,226 | 37 | 2 | Zlib | 2023-04-19T19:39:31 | 2014-12-15T08:19:32 | C++ | UTF-8 | C++ | false | false | 13,147 | cpp | /*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2017, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
... | [
"aleksey.fedotov@gmail.com"
] | aleksey.fedotov@gmail.com |
03888208f5079161d2b2b8d3cd98bfa03c6039d1 | a6f310cf733ed582b89258ac9e36dd60dd8e772b | /util/GLlib.cpp | 05ac21cd96b30b321a7366f8de2db556d5c2437a | [] | no_license | MarcellMissura/polygonalperception | 30c42f503649aaae35f43c0444412dcbc92d0663 | da8dc43c9bcd58d094e5139da746f4403c2ddba4 | refs/heads/master | 2022-12-18T23:03:13.280711 | 2020-09-23T07:40:44 | 2020-09-23T07:40:44 | 292,268,127 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 9,996 | cpp | #include "GLlib.h"
#include <math.h>
#include <GL/glu.h>
namespace GLlib
{
// 1: top left front
// 2: bottom left front
// 3: top right front
// 4: bottom right front
// 5: top right back
// 6: bottom right back
// 7: top left back
// 8: bottom left back
void drawBox(
... | [
"missura@cs.uni-bonn.de"
] | missura@cs.uni-bonn.de |
c8e16de61b4f41234b8061fffdf404ead9feb338 | 9f1c325406154036f9f5b3cc7254adf0d4e9a37f | /ctdlgt_thay_phuong-master/stack2.cpp | 8eb85b20ec0d01a739f353806739dfe2506b74d3 | [] | no_license | levietanh189/ctdlgt_thayphuong | 3a4323456a199044810ac7ea41fe6fd5a5782c24 | 78b03ca670d61f1944cdd38595f202ebe078365d | refs/heads/main | 2023-06-16T10:46:58.928666 | 2021-07-15T15:53:58 | 2021-07-15T15:53:58 | 386,344,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
#include<stack>
#include<string.h>
using namespace std;
int main( ){
string s;
int n,q;
cin>>q;
stack <int> ck;
while(q--){
cin>>s;
if(s=="PUSH"){
cin>>n;
ck.push(n);
}
else if(s=="POP" &... | [
"noreply@github.com"
] | noreply@github.com |
ad266790798a64a50155fc69c762aad831132bf2 | 4a55ebb8c147f7d5bf55860c96b1ac24845dd671 | /src/threads/async_handle.h | 5299fc0f62cf08d98b971fed2fe50e67e7e889e6 | [
"Apache-2.0"
] | permissive | tarickb/s3fuse | 0e0b43c9d3c5e43b6d652d78add6bdfc02b1a9ad | ec92ae6007e02857c258ba3114e133a7df0b74de | refs/heads/master | 2023-09-01T17:47:42.786442 | 2023-08-12T18:08:31 | 2023-08-12T18:08:31 | 15,924,713 | 9 | 5 | null | 2017-03-07T19:50:28 | 2014-01-15T04:12:48 | C++ | UTF-8 | C++ | false | false | 1,549 | h | /*
* threads/async_handle.h
* -------------------------------------------------------------------------
* Asynchronous event handle.
* -------------------------------------------------------------------------
*
* Copyright (c) 2012, Tarick Bedeir.
*
* Licensed under the Apache License, Version 2.0 (the "License... | [
"tarick@bedeir.com"
] | tarick@bedeir.com |
f84fade785e4c0d3f5c474320e6869d1434db7c5 | 8fddc3b98945045dc4163296d20fcb44b600a539 | /basics/thecherno/72_precompiled_headers.cpp | d9633910463048cf891b40ea7bf32c629e54786d | [] | no_license | vkresch/cppknowledge | 25dd51ed230b4ca1945344016f5b8178b1a8e279 | a7ff102a43c67b7890c5a22bf8415c3de65113e0 | refs/heads/master | 2023-06-24T11:37:51.168389 | 2021-07-25T20:45:28 | 2021-07-25T20:45:28 | 303,363,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | // https://www.youtube.com/watch?v=eSI4wctZUto&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=72
// Precompile headers *.pch
// Do not put frequently changing files into the precompiled headers
// Adds convenience
#include "72_pch.h" // This needs to be recompiled every single time
// Compile with "g++ -std=c++11 72_pc... | [
"viktor.kreschenski@altran.com"
] | viktor.kreschenski@altran.com |
fb20bf6517560b997fa443caebb1beb48d03877e | e17c43db9488f57cb835129fa954aa2edfdea8d5 | /Extended/OpenSeesInterface/Elements/RLinearShellElement.cpp | 3728597add2758333d8de22dbc6855aaed315c42 | [] | no_license | claudioperez/Rts | 6e5868ab8d05ea194a276b8059730dbe322653a7 | 3609161c34f19f1649b713b09ccef0c8795f8fe7 | refs/heads/master | 2022-11-06T15:57:39.794397 | 2020-06-27T23:00:11 | 2020-06-27T23:00:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,408 | cpp | /*********************************************************************
* *
* This file is posted by Dr. Stevan Gavrilovic (steva44@hotmail.com) *
* as a result of work performed in the research group of Professor *
* Terje Haukaas (terje@civil.ubc.ca)... | [
"steva44@hotmail.com"
] | steva44@hotmail.com |
814c0fda71f904cd5eb0c15fda0a3820337ba65a | 2eaf8fbfc07e5e1cd906a7146ad2a5ef7d2e6208 | /Algorithm_TP6/lib/graph.cpp | d86b9cfb74c80f6d294d66da197086f76a6573ef | [] | no_license | LibertAntoine/Algorithmic_TP | 3a5cd5d492aa535cddaff17ea1fdadd5b520081a | 73e09833e0ddf455255313fbecadcd839daf218d | refs/heads/master | 2022-12-23T23:01:08.147730 | 2020-10-08T11:24:07 | 2020-10-08T11:24:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,952 | cpp | #include "graph.h"
#include "mainwindow.h"
#include <stdexcept>
#include <sstream>
#include <memory>
#include <time.h>
#include <chrono>
#include <thread>
#include <QString>
Edge::Edge(GraphNode *source, GraphNode *destination, int distance)
{
this->next = nullptr;
this->source = source;
this->destination = desti... | [
"duncan-arrakis@hotmail.fr"
] | duncan-arrakis@hotmail.fr |
ae85cca3525d9ac3a9cf898e83a11cc985b6d2ca | f67d0b2d8ecbc6c697cd122002b149866675f69b | /3-Pokemon/phase1/pokemon.cpp | 213f2e1eea71b2d3eafc198993786838a23d5148 | [] | no_license | PRAGMATISM-630/BUPT-project | e41e8588c67ae5aecbcc1df88d562b3df3e591d6 | 3934c1c5913abacfc06188d02e3657203f8fc17a | refs/heads/main | 2023-05-28T18:23:41.749769 | 2021-06-11T06:48:08 | 2021-06-11T06:48:08 | 375,922,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,789 | cpp | #include"pokemon.h"
pokemon::pokemon() //构造函数
{
level=1;
exp=0;
}
pokemon::~pokemon(){} //析构函数
int pokemon::gainExp(uint Exp) //获得经验函数
{
bool levelUp=false; //判断是否升级的标志
exp+=Exp;
while(exp>=levelUpExperience[level+1]) //升级后各属性提升
... | [
"noreply@github.com"
] | noreply@github.com |
252c9c757ee5f0232b58e109cdf8526be520c2b4 | 00e12f487319ee90c2d64ec312f61daf503773bd | /MyCppLearning/程序清单4.cpp | a5032b9a02aded08f490078b386b1c773fdc4739 | [] | no_license | sk-timan/MyCppLearning | 8e733a474b0122adbd85b8aac8274c479c427d6b | 23715bb3a028ad042ce33a92fe434e0237483452 | refs/heads/master | 2022-07-21T15:05:44.159437 | 2022-06-24T10:15:49 | 2022-06-24T10:15:49 | 229,739,882 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,219 | cpp | #include <iostream>
#include <cstring>
#include <string>
#include <vector>
#include <array>
#include "pch.h"
using namespace std;
//4.1 arrayone.cpp -- small arrays of integers
void ProgramList_4_1(void)
{
int yams[3];
yams[0] = 7;
yams[1] = 8;
yams[2] = 6;
int yamcosts[3] = { 20,30,5 };
cout << "Total yams =... | [
"1596120742@qq.com"
] | 1596120742@qq.com |
2800cdb80b940a1300c6b83aababf17cfe53d590 | f2fc267da5581dbd80041e3be4f5b006706c2266 | /bindings/python/swig/generic_objectPYTHON_wrap.h | 1a9bc15190d147c1a36f5ed06edaa4f2f8af4a9b | [] | no_license | nimishb/refractor_framework | 08c9ef78109f8a8abc0306b99e370ff2ff6e59e2 | 09ed81b25b2a3fb6034dd50e147b282ce1359ba7 | refs/heads/master | 2021-01-21T01:16:27.667104 | 2017-07-27T18:42:43 | 2017-07-27T18:42:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | h | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.8
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do... | [
"James.McDuffie@jpl.nasa.gov"
] | James.McDuffie@jpl.nasa.gov |
5ff550bf1bbb356fa1033274636b01d41a7f2624 | 896bdcc5ae1baf3eae5e1581224d355b029c2983 | /drivers/TARGET_DISCO_F769NI/LCD_DISCO_F769NI/LCD_DISCO_F769NI.h | 92747cecba7d4b1a93d8810fb853ca0757ab9500 | [] | no_license | JojoS62/testSTM32F407VE_BLACK_ETH | 03b83163b3509b11675231a54b9f7f06f7ce5618 | 16d0583055a531283670c30254959c468e5451d3 | refs/heads/master | 2020-09-26T04:43:26.049233 | 2019-12-07T17:26:38 | 2019-12-07T17:26:38 | 226,168,316 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,772 | h | /* Copyright (c) 2010-2011 mbed.org, MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modify, merge, pu... | [
"sn2010@onlinehome.de"
] | sn2010@onlinehome.de |
ce64c7825a0f85c5d3d62d6202afad55660c0e13 | 31965d3125b23e955a45230b89e17a8bb96377e5 | /moon/MoonDb/gameDb/LocalDBType.hpp | ba6dc919b6a0f3edaea84435a62e2ac563d47c4f | [] | no_license | jiyahan/moon | 18e5a955c66fbb7251d6b7d67159bdf7c13d99a9 | 363072cdf3c3d0378b41a0c3237f4e604c7572ab | refs/heads/master | 2021-06-04T21:26:13.436132 | 2016-05-10T06:41:35 | 2016-05-10T06:41:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,334 | hpp | #pragma once
namespace GameDBType
{
/** ?????????
??????????洢??CharDesc??????У??洢???н?????????????????
?洢?????????????????С????濪??????????Ч???????????????
?ж????????????????????б????????????????????????????
???????????????????????????????????????????
**/
typedef struct CharDesc
{
const INT64 nCharId; //... | [
"chenjiayi_china@126.com"
] | chenjiayi_china@126.com |
5bd23b0467eb42cf90c94af138fdc5e8390d683b | c53eb8bca022c20dbdf4194c9c4eccfbf3e6ae89 | /firmware/src/sys/stdlib.cpp | b1190164fc9613f46a9294ed9831b024c57371bb | [
"MIT"
] | permissive | lavallc/ion | d0fca39f602356e942377106eb06a21eaaee4724 | c9292e832309a14f0725ab8794be75c0a9f10cef | refs/heads/master | 2020-04-06T03:32:28.861124 | 2015-07-22T01:11:32 | 2015-07-22T01:11:32 | 39,477,562 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | cpp |
/* tinynew.cpp
Overrides operators new and delete
globally to reduce code size.
Public domain, use however you wish.
If you really need a license, consider it MIT:
http://www.opensource.org/licenses/mit-license.php
- Eric Agan
Elegant Invention
*/
#i... | [
"ericb@ericbarch.com"
] | ericb@ericbarch.com |
48941612600ece842911bc42bd97a17a6c3d92f6 | 4b53a32dc0a1a474e4991a9d4c65a1c5dd0a17c5 | /bench/extract-timing-function.h | bf3eb19cac39c9ac1a5afad309bc62be66014bab | [] | no_license | pkhuong/set-covering-decomposition | d58e3cb727422d2035027314b171b318fa322449 | 4bc2c98176cc41791c55cf7ec1b68b3261e5d93f | refs/heads/master | 2022-09-04T02:30:09.892118 | 2019-08-01T23:53:10 | 2019-08-02T00:08:44 | 190,045,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,495 | h | #ifndef BENCH_EXTRACT_TIMING_FUNCTION_H
#define BENCH_EXTRACT_TIMING_FUNCTION_H
#include "absl/base/casts.h"
#include "absl/strings/string_view.h"
#include "bench/internal/dynamic-loading.h"
#include "bench/timing-function.h"
namespace bench {
// Attempts to dlopen `shared_open_path`, and calls `function_name()`
// (w... | [
"pvk@pvk.ca"
] | pvk@pvk.ca |
2c2c98b2e5c5462da6fbc82626f6265d9da2b862 | d371e974386b3be6c535b761e5fac3d34cafe8c7 | /hd-search/ionic-euclidean-dist.cc | 0529473f35030c77de00dcb1cfe9a7fd76e00eca | [
"Apache-2.0"
] | permissive | l-nic/lnic-apps | cf961b5ee70f84f4ce19c1a098524ff3a2ddc6a7 | 1f39855dbde5f195ee8e5c48ec10bea1c8d883cd | refs/heads/main | 2023-01-29T01:22:24.115334 | 2020-12-10T17:27:16 | 2020-12-10T17:27:16 | 320,200,644 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,444 | cc | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "ionic.h"
#define VECTOR_COUNT 10000
#define VECTOR_SIZE 64
#define VECTOR_SIZE_BYTES (VECTOR_SIZE * sizeof(uint16_t))
#define VECTOR_SIZE_WORDS (VECTOR_SIZE_BYTES / 8)
#include "euclidean-distance.c"
#define PRINT_TIMING 0
#def... | [
"theojepsen@g-m-a-i-l-dotcom"
] | theojepsen@g-m-a-i-l-dotcom |
3526085593dbf10d5bfdaef6f14093c09ff535b9 | cdd33e81ec5b203b1e0d34eb1522629d027cd911 | /Version 1.9.1/test/ESP8266_I2C_DHT_OTA_VOLT_SLEEP.ino | 1705489f3a1a05a20986c8a92adefba839b442bf | [] | no_license | OzolsTheusz/Feinstaubsensor | c86f20c5bd5aa1482a0fd01b72d28417ba0e13ba | 74b60a1b888ff90d9c309ac797230b8d6d8ed3c9 | refs/heads/master | 2020-06-20T17:36:51.892094 | 2019-10-14T15:18:06 | 2019-10-14T15:18:06 | 197,194,516 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,798 | ino | #include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include <Wire.h>
#include "Adafruit_MCP9808.h"
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#include "DHTesp.h"
#ifdef ESP32
#pragma message(THIS EXAMPLE IS FOR ESP8266 ONLY!)
#error Select ESP8266 board.
#endif
#include <NDIRZ16.h>
#includ... | [
"noreply@github.com"
] | noreply@github.com |
3ca627ebe5d01aff5007d9d565f74c7449f2861f | 1ca93975e2bee5026d61f539176d606547891252 | /Structural/Adapter/HelloWorldAdapter.h | fd3d5c72d35ffb91864c06d3b40cffd06fb59fa4 | [
"MIT"
] | permissive | dodaydream/hello_world_in_design_patterns | 7a7d0027eded953090ecc41798a4e5bd3738ef38 | 525de263bf7b75cdaf2450a760ccc118ca0cddfd | refs/heads/master | 2021-07-18T17:33:34.509939 | 2020-05-05T14:51:38 | 2020-05-05T14:51:38 | 148,476,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | h | #include "HelloWorld.h"
class HelloWorldAdapter {
private:
HelloWorld &hw;
std::ostream& os;
public:
HelloWorldAdapter(std::ostream &os, HelloWorld &hw): os(os), hw(hw) { }
void sayHelloWorld();
};
| [
"daydream2013@live.com"
] | daydream2013@live.com |
a55e59370378f801f429aca9e0260844e6c1a408 | c7df87c952e9f1b397bbca3a1b87f97e78c43244 | /src/sender/connections.h | fab817ef042b352f5564f26db2069e85156f988c | [] | no_license | void-/bless | 9dfa878e0bf5d97855dfdaf19aab0fa4383e501f | 6abe6d072bc3214e1c05fd003abecfa649ab3b82 | refs/heads/master | 2021-01-10T01:28:33.103971 | 2016-03-12T08:55:19 | 2016-03-12T08:55:19 | 44,029,927 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,506 | h | /**
* @file
* @brief manage network connections between the Sender and the Server.
*/
#ifndef CONNECTIONS_H
#define CONNECTIONS_H
#include "auth.h"
#include <botan/pubkey.h>
#include <botan/tls_client.h>
#include <botan/tls_session_manager.h>
#include <botan/credentials_manager.h>
#include <sys/socket.h>
#includ... | [
"mr.alex.guy@gmail.com"
] | mr.alex.guy@gmail.com |
aa95bc646ee21cdfe6580974776d6a8e442b4896 | d584de52cfae0291943c3a8374e8a707571db4d7 | /1154.cpp | 11f71e81742616a9144ed7d2494deb4a841b2e62 | [] | no_license | iamyeasin/URI | 99987faaafe808c975b667a1bd7e411d1101db59 | 23fd8013571f19885ffbd910545164019d2398d6 | refs/heads/master | 2020-12-03T02:03:18.470020 | 2017-09-11T14:54:29 | 2017-09-11T14:54:29 | 95,899,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int x,counter=0;
int sum =0;
while(scanf("%d",&x))
{
if(x >= 0)
{
sum += x;
counter++;
}
else
{
printf("%.2lf\n",(sum*1.00)/counter*1.00);
... | [
"noreply@github.com"
] | noreply@github.com |
bb93432331ec2e677b0fe4698adc468477ad3e52 | f279fa731406c5214b958e8070ee5664ea92c81f | /1914_HanoiTower/Main.cpp | 6fc652cebebcbda22e103e972f125cd774d7b474 | [] | no_license | 93Hong/Algorithms | 14a7ea2c8f402aaea6c76d7a83f795434bea26cc | b56512912131dc0149d4960b88aa76df6926119d | refs/heads/master | 2020-12-31T00:02:12.959480 | 2017-12-05T13:02:59 | 2017-12-05T13:02:59 | 86,582,927 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | #include <cstdio>
#include <cmath>
#pragma warning(disable:4996)
using namespace std;
int cnt = 0;
void hanoi(int n, int s, int e, int temp) {
if (n <= 1) {
printf("%d -> %d\n", s, e);
return;
}
cnt++;
hanoi(n - 1, s, temp, e);
hanoi(1, s, e, temp);
hanoi(n - 1, temp, e, s);
}
int main() {
int N;
scan... | [
"sk2rldnr@gmail.com"
] | sk2rldnr@gmail.com |
f3577b6f90e37edd1af4f6b4cb0850cdb1f4fb37 | f81b774e5306ac01d2c6c1289d9e01b5264aae70 | /chrome/browser/nearby_sharing/incoming_frames_reader.h | 8de1b854f013e43ed31f0898fb8c48354b68f0a4 | [
"BSD-3-Clause"
] | permissive | waaberi/chromium | a4015160d8460233b33fe1304e8fd9960a3650a9 | 6549065bd785179608f7b8828da403f3ca5f7aab | refs/heads/master | 2022-12-13T03:09:16.887475 | 2020-09-05T20:29:36 | 2020-09-05T20:29:36 | 293,153,821 | 1 | 1 | BSD-3-Clause | 2020-09-05T21:02:50 | 2020-09-05T21:02:49 | null | UTF-8 | C++ | false | false | 3,333 | h | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_NEARBY_SHARING_INCOMING_FRAMES_READER_H_
#define CHROME_BROWSER_NEARBY_SHARING_INCOMING_FRAMES_READER_H_
#include <map>
#include <... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a5ae25efa45018b81e0655aa5427219c9d634c07 | a840a5e110b71b728da5801f1f3e591f6128f30e | /debug/client/linux/misc.cpp | e923e12cbc395a9663b95a8f98a9300b3041ce4d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tpltnt/binnavi | 0a25d2fde2c6029aeef4fcfec8eead5c8e51f4b4 | 598c361d618b2ca964d8eb319a686846ecc43314 | refs/heads/master | 2022-10-20T19:38:30.080808 | 2022-07-20T13:01:37 | 2022-07-20T13:01:37 | 107,143,332 | 0 | 0 | Apache-2.0 | 2023-08-20T11:22:53 | 2017-10-16T15:02:35 | Java | UTF-8 | C++ | false | false | 1,520 | cpp | // Copyright 2011-2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | [
"cblichmann@google.com"
] | cblichmann@google.com |
0fd0fa838cf016558f13f95d6ef2e0a4e9948927 | c081da944564198439995b5ede33d8451a600971 | /ortogonal.h | a589e35dfa88f927af6a62f036bbef8638ec19d5 | [] | no_license | FreddyJRC/-EDD-Proyecto1 | 302ad97a838d53d562ac41f4108d0332874a31a9 | a00fe88a6ea7d947fd28e8825e6f06a7e2f3d8dc | refs/heads/master | 2020-03-29T06:57:55.390068 | 2017-06-29T15:27:38 | 2017-06-29T15:27:38 | 94,659,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | h | #ifndef ORTOGONAL_H
#define ORTOGONAL_H
#include <vector>
#include <string>
typedef struct Nodo Nodo;
typedef struct Encabezado Encabezado;
typedef struct ListaEncabezados ListaEncabezados;
typedef struct Matriz Matriz;
struct Nodo
{
int fila;
int columna;
int nivel;
char * valor;
int color;
... | [
"fj.ram.contr@gmail.com"
] | fj.ram.contr@gmail.com |
532fc0f3319e0c7f541919c5be7a975d06393126 | 9d0cfa52dc15cb529baf3ddfd83ead07c698ad55 | /Graphics/Canvas.cpp | 6dcd568261f3addd59f4acb9950d8df88bb4a259 | [] | no_license | cha0s/avocado-cpp-core | 4917fcbe0308f9af48607ef59197a63da1e66aa1 | a206fdb2c78936dade9dc147ea394f4de4b6dd11 | refs/heads/master | 2016-08-11T18:06:07.536014 | 2014-06-12T23:48:50 | 2014-06-12T23:48:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include "../avocado-global.h"
#include "Canvas.h"
namespace avo {
FactoryManager<Canvas> Canvas::factoryManager;
Canvas::Canvas()
{
}
Canvas::~Canvas()
{
}
bool Canvas::isNull() const {
return width() != 0 && height() != 0;
}
void Canvas::setUri(const boost::filesystem::path &uri) {
m_uri = uri;
}
boost::fil... | [
"cha0s@therealcha0s.net"
] | cha0s@therealcha0s.net |
c0a41d814d2b5a9936eacde4fc79fd9a6eab6f24 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-tizen/generated/src/ComAdobeCqSocialCommonsEmailreplyImplCommentEmailEventListenerInfo.h | 84887467fafd2a9ba0e1ab85b6f57ce1ba53e405 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 2,057 | h | /*
* ComAdobeCqSocialCommonsEmailreplyImplCommentEmailEventListenerInfo.h
*
*
*/
#ifndef _ComAdobeCqSocialCommonsEmailreplyImplCommentEmailEventListenerInfo_H_
#define _ComAdobeCqSocialCommonsEmailreplyImplCommentEmailEventListenerInfo_H_
#include <string>
#include "ComAdobeCqSocialCommonsEmailreplyImplCommentE... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
15ad25db2d480c9dc4d729b634038d7235b3dd91 | 3b09cf62f1ab38791ec338adfb31351742e18efe | /VulkanEngine/VHCommand.cpp | c58d102ba6b76c19ee0148859fd484ed8e9d28b9 | [
"MIT"
] | permissive | Clasc/ViennaVulkanEngine | d62576ca6db90f0247994c8fa4cae64bc1bedd58 | 47d8b2d9cff4d3c6c112e311561a6f2b9d3e707c | refs/heads/master | 2023-06-04T05:45:15.210019 | 2021-01-29T07:16:36 | 2021-01-29T07:16:36 | 347,482,394 | 0 | 0 | MIT | 2021-05-12T07:17:21 | 2021-03-13T21:27:31 | null | UTF-8 | C++ | false | false | 9,347 | cpp | /**
* The Vienna Vulkan Engine
*
* (c) bei Helmut Hlavacs, University of Vienna
*
*/
#include "VHHelper.h"
namespace vh {
//-------------------------------------------------------------------------------------------------------
/**
*
* \brief Create a new command pool
*
* \param[in] physicalDevice Physical Vu... | [
"helmut.hlavacs@univie.ac.at"
] | helmut.hlavacs@univie.ac.at |
23d2c52695c89bb363b7f2af8870079b7aa2722e | 78477e381ed49a97d0cf70e7c66d562ba585d481 | /utilities/inc/loggingTypes.hpp | 7ce5314a414cf25dce46fcb5ea53f8765e2b089f | [] | no_license | JusticeBoi/octree | cee1a71cd0d5ed7feded8115b981fb54b1ce5af4 | 6eaa165c334ec01a48ebd9f3edaf9f5c2b48560d | refs/heads/master | 2020-03-30T18:03:01.426392 | 2019-08-16T07:58:23 | 2019-08-16T07:58:23 | 151,481,381 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | hpp | /* ___ __ __ ______ *
* / | ____/ // /_ ____ / ____/ __ __ *
* / /| | / __ // __ \ / __ \ / / __/ /_ __/ /_ *
* / ___ |/ /_/ // / / // /_/ // /___/_ __//_ __/ ... | [
"oguzoztoprak@gmail.com"
] | oguzoztoprak@gmail.com |
814a469a00ee62753a71b7e840183ca31932367d | 4d1b36c9e26afc500fc9011a54b1f0f0b8840c99 | /FreshCore/Platforms/Unix/TelnetServer_Unix.cpp | ff81dc5dee5b10606f28b115045b41a8cc6b8428 | [
"Apache-2.0"
] | permissive | ElectricToyCo/Fresh | 985200cc07bdd6949d9b3ebbd3bee94feccaac73 | aea080d858d33f585a196658a5f595898ca35eac | refs/heads/main | 2023-04-15T00:29:14.513999 | 2021-04-23T13:04:42 | 2021-04-23T13:04:42 | 343,223,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,570 | cpp | //
// TelnetServer_Unix.cpp
// Fresh
//
// Created by Jeff Wofford on 2/8/12.
// Implementation guided by http://homepages.ius.edu/rwisman/C490/html/tcp.htm.
// Copyright (c) 2012 jeffwofford.com. All rights reserved.
//
#include "FreshDebug.h"
#include "TelnetServer.h"
#include "Objects.h"
#include <map>
#includ... | [
"github@jeffwofford.com"
] | github@jeffwofford.com |
3fb98a4bc9c87ef182154bd3b783cd65913ccca8 | 058e709bb25cc69e0f522921cd45e29abd3b6cb9 | /MagicStick/MagicStick.ino | 8feb3bb54df0eb2fad1ee4ef6eb92708227ef342 | [] | no_license | KazukiHiraizumi/Arduino | a474d4c67c2c3ecc79c76c0f7dc469539c357114 | 13a778152b1f851efa41b8c47561657a71b5e395 | refs/heads/master | 2022-08-28T03:06:07.481871 | 2022-08-14T00:55:12 | 2022-08-14T00:55:12 | 202,513,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | ino | #include <Timeout.h>
#include <StreamCallback.h>
void lighter(void *){
if(digitalRead(4)==LOW){
digitalWrite(8,HIGH);
}
else{
digitalWrite(8,LOW);
}
Timeout.set(NULL,lighter,100);
}
void logger(void *){
Serial.println(!digitalRead(4));
Timeout.set(NULL,logger,100);
}
void setup() {
//Initializi... | [
"ca-giken@c-able.ne.jp"
] | ca-giken@c-able.ne.jp |
2faad35b017e92f83d4eb8be31ab23e556b4a941 | e68c1f9134b44ddea144f7efa7523076f3f12d3a | /FinalCode/WizardArcaneOrbSlot.cpp | e442cb91f7bf0a0542b9fd6de1f6f2196e170ba0 | [] | no_license | iso5930/Direct-3D-Team-Portfolio | 4ac710ede0c9176702595cba5579af42887611cf | 84e64eb4e91c7e5b4aed77212cd08cfee038fcd3 | refs/heads/master | 2021-08-23T08:15:00.128591 | 2017-12-04T06:14:39 | 2017-12-04T06:14:39 | 112,998,717 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,875 | cpp | #include "StdAfx.h"
#include "WizardArcaneOrbSlot.h"
CWizardArcaneOrbSlot::CWizardArcaneOrbSlot()
{
// SlotType
m_eSlotType = SLOT_TYPE_WIZARD_SECONDARY;
// SlotID
m_eSlotID = SLOT_ID_WIZARD_ARCANE_ORB;
// CooldownTime
m_fCooldownTime = 0.0f;
// Time
m_fTime = m_fCooldownTime;
// Range
m_fRange = 9999.f;... | [
"iso5930@naver.com"
] | iso5930@naver.com |
8cbf43169c19f89748951c8ba35ee8c6e13b6c71 | 6337958058108dbd20a521137e7b9833929dbbc6 | /src/SpectrumRingBuffer.cpp | b21db3f201ee6b1b4a9eb0522f3d442b073edd02 | [] | no_license | Venetian/PercussiveHarmonicDetectionFunction | 1692ad1b323db77160d6c5b392d290cf5351c9ff | 3dc99b9b1b8281f56fe7c8a124f397ee3739b0aa | refs/heads/master | 2020-06-05T04:04:16.262864 | 2014-10-20T20:46:43 | 2014-10-20T20:46:43 | 24,963,721 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,081 | cpp | /*
* SpectrumRingBuffer.cpp
* BeatSeekerOF
*
* Created by Andrew on 20/02/2014.
* Copyright 2014 QMUL. All rights reserved.
*
*/
#include "SpectrumRingBuffer.h"
#include "assert.h"
SpectrumRingBuffer::SpectrumRingBuffer(){
bufferSize = 7;
fftSize = 8;
}
SpectrumRingBuffer::~SpectrumRingBuffer()... | [
"andrewrobertson@Andrews-MacBook-Pro-2.local"
] | andrewrobertson@Andrews-MacBook-Pro-2.local |
f6a4585ca6284ce5f3388fc45e791872ac8b8d48 | 19785aa178db01baf70309f83aa0cecd7beb9113 | /src/ModuleNodeCluster.cpp | d750538d83f66960d07620700d3c3d03471a38ec | [] | no_license | Jergar92/SiSiMEX | 3e0e583b785a02352a82b758ac57357b8ce73f69 | 3b6d2e368457ae1311b555bccdd939f5ec378517 | refs/heads/master | 2020-04-04T19:03:21.714386 | 2018-12-17T09:45:01 | 2018-12-17T09:45:01 | 156,189,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,806 | cpp | #include "ModuleNodeCluster.h"
#include "ModuleNetworkManager.h"
#include "ModuleAgentContainer.h"
#include "Application.h"
#include "Log.h"
#include "Packets.h"
#include "imgui/imgui.h"
#include <sstream>
#include <algorithm>
#define MAX_ITEM_VALUE 8
#define MIN_ITEM_VALUE 1
enum State {
STOPPED,
STARTING,
RUNNING,... | [
"Andreu.rbj@gmail.com"
] | Andreu.rbj@gmail.com |
54047cf7dfea0abf84b952dff5ad6a9ab934cf18 | b0b930d6a7698b1755f89a085b4a9e75dbc0d12b | /main.cpp | 63d959045a23e6f52b3c0635ac515715ac578d92 | [] | no_license | UsmanMaqbool/pdollar-edges-folder-processing | ed2ba13544af48c5d9e065d501329601c8e154b8 | 99e40460696a2ad59c93edcd1bf8c0d40a584b0b | refs/heads/master | 2020-09-28T20:10:21.922007 | 2019-12-09T11:24:01 | 2019-12-09T11:24:01 | 226,854,413 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,483 | cpp | #include <iostream>
#include <opencv2/opencv.hpp>
#include <fstream>
#include "model.h"
#include <cstddef> // std::size_t
#include <vector>
#include <algorithm>
#include <string>
#include <boost/filesystem.hpp>
#include "sys/types.h"
#include "sys/stat.h"
using namespace boost::system;
namespace filesys = bo... | [
"usmanmaqbool@outlook.com"
] | usmanmaqbool@outlook.com |
42268bd77aa7d24c6eb0dfd5a938efbedb6cdb0b | 2a11fc79a295e9f79f2d60f348c8061b60735c1d | /viewer/pcl_visualizer.cpp | aedcad9dd193e279ac4df5b848bbb35d230d241b | [] | no_license | NakaharaJun/pcl_tutorial | ea6863a0379856fe8d0daf30ca90a1f47c7d434a | 7c54c5cc6011621a1d45339aa49f7895e009ef04 | refs/heads/master | 2020-05-14T23:39:15.717208 | 2018-11-14T07:54:48 | 2018-11-14T07:54:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,055 | cpp | #include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/io/ply_io.h>
#include <pcl/point_cloud.h>
#include <pcl/console/parse.h>
#include <pcl/visualization/pcl_visualizer.h>
void show_help(char* program_name){
std::cout << std::endl;
std::cout << "Usage: " << program_name << "cloud_file_name.[pcd|ply]" << std:... | [
"s_harumo@hotmail.co.jp"
] | s_harumo@hotmail.co.jp |
a17eb71ca579391ef0e64f8eff31f08c998cc1c4 | 49f8c18b00b7b5fca889c96143361df6926986f9 | /archive/Metropolis/Utilities/IOUtilities.h | e28a244daf6e3a9320452908a6d8c738b8f3858c | [] | no_license | franciszayek/MCGPU | 7428cb805262eefead8bb25aa2d3d3faa7cde17a | fcfb3ee768e049a2e8694db7b33a639963b8c753 | refs/heads/master | 2021-01-16T17:42:41.558517 | 2015-05-06T22:58:28 | 2015-05-06T22:58:28 | 30,319,340 | 2 | 4 | null | 2015-05-06T22:58:28 | 2015-02-04T20:25:33 | C++ | UTF-8 | C++ | false | false | 14,115 | h | /*Intended goal: support read, parse, and extract operations on configuration files to properly initialize
* a simulation environment.
* [1] This file/class will, ideally, replace Config_Scan.cpp & will augment MetroUtil.cpp. (Started, 19 Feb. Beta completion, 28 Feb. -Albert)
* [2] This file/class will, ideally, rep... | [
"tavis.maclellan@gmail.com"
] | tavis.maclellan@gmail.com |
881561c5e2ae7c4ebc682aa5545a0239255c4212 | 3b78ed368e18ea9ab875637428b5e66e525b3528 | /Lab04/buildingbuilder.cpp | 32da7a723096366254eac392e2ba4830eb271929 | [] | no_license | YAXo-O/OOP | c55dcfaf2a21b1bb3c7c39c183e1a54ff43f717f | 72ae15c16cc09dfbcdfdd7f59a9ae10037ef36be | refs/heads/master | 2021-01-23T10:47:34.692275 | 2017-06-09T07:57:47 | 2017-06-09T07:57:47 | 93,092,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include "buildingbuilder.h"
Floor *BuildingBuilder::getFloor(int floorNum, QColor wallColor, QWidget *parent) noexcept
{
return new Floor(floorNum, wallColor, parent);
}
LiftBase *BuildingBuilder::getLift(QColor backColor, QWidget *parent) noexcept
{
return new LiftBase(backColor, parent);
}
Tunnel *Buildin... | [
"aaazzzx@mail.ru"
] | aaazzzx@mail.ru |
d0492df3e297bb1e8366a1188de625a314241152 | 4bd97e7189c34fed6691e50600ff1faae23d73ad | /tools/diskWrite/Filesystems/FAT32/filename.hpp | 9f573b452147df58a85f8c56f977e5ab9d72a5a8 | [
"MIT"
] | permissive | Rohansi/LoonyOS | bc8e09f48f47b5654de4d216fc7457c1252def78 | f29f81236c24e2f42c2e2c517eb5616647f0696b | refs/heads/master | 2020-08-04T11:05:54.058816 | 2014-01-03T08:19:55 | 2014-01-03T08:19:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | hpp | /*
* filename.hpp
* Filename specific functions
*/
#ifndef __FILENAME_HPP
#define __FILENAME_HPP
#include <iostream>
#include "common.hpp"
inline unsigned char Dos83Checksum(unsigned char* name);
void StripDos83IllegalCharacters(char* buffer);
void ToDos83Name(const char* name, char* buffer);
void ToTypicalName(c... | [
"rohan-singh@hotmail.com"
] | rohan-singh@hotmail.com |
16cfd0aab9fa3cc333d1dfb07196dfb466bf72a6 | 73ef9a1df397cdfd101d57c28c4bcafc6d7ebc1e | /stringiter.cpp | 6335499eaeaec0d90f30e61f0efb715d0ad5d181 | [] | no_license | cthomasyeh/ioi3 | 1202ad2054e595b0f12bd58cd675595e55114e7d | 49b2d77d871664db4a0dda6fed7a6c37eba686a1 | refs/heads/master | 2016-09-05T12:16:49.060683 | 2013-11-03T18:17:04 | 2013-11-03T18:17:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | #include <iostream>
#include <vector>
#include <iterator>
using namespace std;
int main()
{
vector<string> sv(5);
sv[0] = "this";
sv[1] = "is";
sv[2] = "a";
sv[3] = "test";
vector<string>::const_iterator iter;
for (auto iter = sv.cbegin(); iter != sv.cend(); iter++) cout << *iter << endl;
cout << distance(sv.c... | [
"tyeh@broadwayedu.com"
] | tyeh@broadwayedu.com |
d297094d0f254008d1cade2622ef957a333505b0 | c08a26d662bd1df1b2beaa36a36d0e9fecc1ebac | /classicui_plat/lists_api/tsrc/inc/testsdklistsfclbdata.h | 81ba0e85641ee5b76f91c84be4b529d99d2cc679 | [] | no_license | SymbianSource/oss.FCL.sf.mw.classicui | 9c2e2c31023256126bb2e502e49225d5c58017fe | dcea899751dfa099dcca7a5508cf32eab64afa7a | refs/heads/master | 2021-01-11T02:38:59.198728 | 2010-10-08T14:24:02 | 2010-10-08T14:24:02 | 70,943,916 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,353 | h | /*
* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/ep... | [
"none@none"
] | none@none |
808fab221208e1790af5eec04a319f7fcdbdf1db | e8e7749284ec38e06e06d342e76c2a2a091fa42e | /banking/credit-value-adjustment/cpp/src/main/cpp/include/exchange.pb.h | bb7e8b76994ca27c5a849f19f617a2e57a188585 | [] | no_license | ssahadevan/hazelcast-platform-demos | 3447a8d812e61bd87933186e2b148beb1bb85952 | a6acd7be4f8c77b49fac61a44cbf1df666a4fcfa | refs/heads/master | 2021-07-19T23:23:10.819394 | 2021-04-20T22:55:03 | 2021-04-20T22:55:03 | 246,892,778 | 1 | 0 | null | 2020-03-12T17:25:38 | 2020-03-12T17:25:38 | null | UTF-8 | C++ | false | true | 39,555 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: exchange.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_exchange_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_exchange_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3012000
#error This file was gen... | [
"noreply@github.com"
] | noreply@github.com |
3bb1df5333f2502bdd5cf6eed01d0c335cf210f3 | 87dcc301f29042ebb3455403a015b9ba07d6a2dc | /Planewar/bullet.h | 717cdd4f60e015db7738c9dc56573756b54f00f4 | [] | no_license | lunlun0857/Planewar | 57d45893796f1c9fb209b03aa866a071759e00da | 70afd1755695f1d91eb8fe6b127df36f52fb7fee | refs/heads/main | 2023-04-20T13:19:29.227833 | 2021-05-12T10:57:13 | 2021-05-12T10:57:13 | 363,356,342 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 439 | h | #ifndef BULLET_H
#define BULLET_H
#include "config.h"
#include <QPixmap>
class Bullet
{
public:
Bullet();
//更新子彈坐標
void updatePosition();
//子彈資源對象
QPixmap m_Bullet;
//子弹坐标
int m_X;
int m_Y;
//子彈移動速度
int m_Speed;
//子彈是否閒置
bool m_Free;
//子彈的矩形邊框(用於碰撞檢測)
QRect... | [
"taso31609@gmail.com"
] | taso31609@gmail.com |
3e935eadc408c872ca12525977c6c4c6021d2953 | 48e8d00debd2be1bbbfebd48de6e03c090a16649 | /vod/src/v20180717/model/MediaInfo.cpp | 00eafd6fe524da22d8a2da86ccd8496e9dd9142b | [
"Apache-2.0"
] | permissive | xuliangyu1991/tencentcloud-sdk-cpp | b3ef802c0aa5010e5af42d68de84080697f717d5 | f4b057e66ddb1e8761df2152f1faaa10870cc5c7 | refs/heads/master | 2020-06-19T03:24:04.286285 | 2019-06-20T07:04:49 | 2019-06-20T07:04:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,871 | cpp | /*
* 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
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
78d0fa1cf38561982fb101479f5ee0e4e0341ef3 | db507912e598b291811a5a73db5f8ba33c8be2f9 | /server/stklib/Src/TechKLine.cpp | 0d0b3e5bf8b0d3b1b4a324f6a02ea111c5c71762 | [] | no_license | biniyu/k-line-print | ab3ee023876adaa9de8dd98b14dbd362a0b2810a | d1e033f79044d6ae62f86e6116cc902b6a7eeb83 | refs/heads/master | 2016-09-06T14:19:55.887544 | 2013-08-25T14:59:21 | 2013-08-25T14:59:21 | 40,391,671 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 27,686 | cpp | /*
Cross Platform Core Code.
Copyright(R) 2001-2002 Balang Software.
All rights reserved.
*/
#include "StdAfx.h"
#include "../Include/Stock.h"
#include "../Include/Technique.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#ifdef _DEBUG
#define new DEBUG_NEW
#endif... | [
"osc_zju@163.com"
] | osc_zju@163.com |
f8474162b59a101190cb99e78d7b92120e37ee81 | 81c06d0855b5208a3732c0c22d691b2c372315a0 | /week4/164_eyan.cpp | 562d830f9e3cdc91f77f497f9905ed6b960c5a8e | [] | no_license | wqs1989/LeetCode | ad1fd5a241b024a529076069be3ee917385dd98e | a3d86147bd0ae7a8be90b49bfab878dbe32315f5 | refs/heads/master | 2021-01-20T17:37:46.322201 | 2015-12-08T09:50:58 | 2015-12-08T09:50:58 | 47,611,265 | 2 | 0 | null | 2015-12-08T09:14:02 | 2015-12-08T09:14:02 | null | UTF-8 | C++ | false | false | 795 | cpp | class Solution {
public :
int maximumGap(vector<int>& nums) {
int n = nums.size();
if( n < 2 ) return 0;
int maxE = *max_element(nums.begin(),nums.end());
int minE = *min_element(nums.begin(),nums.end());
int len = maxE - minE;
if( len <= 1 ) return len;
vector<int> buck_max(n, INT_MIN... | [
"yankandda@gmail.com"
] | yankandda@gmail.com |
4b6b7f060de3f598d3c3b0628da6152d61827c19 | a95b9bcd3fde48e2109d044fe3b29e30b8efd577 | /src/pvrec.cpp | d79482a0e67603c345a43b7a491558194a1e9040 | [] | no_license | archord/pvrec | d30002eb2e39fcc255b8b637d554fee9b80bead4 | 2f3cae410b6f80b861e36beb38d500e0f8a2ed73 | refs/heads/master | 2021-01-11T20:14:14.922018 | 2017-01-16T02:00:51 | 2017-01-16T02:00:51 | 79,073,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,128 | cpp | //============================================================================
// Name : pvrec.cpp
// Author : Xiaomeng Lu
// Version :
// Copyright : Your copyright notice
// Description : 使用霍夫变换提取位置变化源
//============================================================================
#include <iostream... | [
"xyag.902@163.com"
] | xyag.902@163.com |
8ec92b774185160f1441a04badaba06d61973fc0 | fc27a20bbb5589182a14ac7f60a9a81533c98987 | /store.h | 3afa4497de6435a14a31b5a7f71717df194d8a41 | [] | no_license | ditsara/lru-cache | d181057dcd4dc2ad5fe90f5ba9e6bbd0491927a4 | 2fe872951aa0f22549cb0a3e12a25d9bc8c2efd5 | refs/heads/master | 2021-01-11T15:22:02.865161 | 2017-01-29T12:06:15 | 2017-01-29T12:06:15 | 80,341,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | h | #ifndef STORE_H_INCLUDED
#define STORE_H_INCLUDED
#include <string>
#include <unordered_map>
#include "elements.h"
namespace Cache
{
typedef std::unordered_map<std::string, Element*> map_t;
struct Store
{
Cache::Element *head;
Cache::Element *tail;
map_t *lookup;
int mem_limit;
int size;
... | [
"dan.itsara@gmail.com"
] | dan.itsara@gmail.com |
f5ddcafed162bc2dd6b90155e2d03ba5def6a7ea | aca4f00c884e1d0e6b2978512e4e08e52eebd6e9 | /2013/MUTC/9/proA.cpp | 699930c296403003557d6916814e79ef9545921f | [] | no_license | jki14/competitive-programming | 2d28f1ac8c7de62e5e82105ae1eac2b62434e2a4 | ba80bee7827521520eb16a2d151fc0c3ca1f7454 | refs/heads/master | 2023-08-07T19:07:22.894480 | 2023-07-30T12:18:36 | 2023-07-30T12:18:36 | 166,743,930 | 2 | 0 | null | 2021-09-04T09:25:40 | 2019-01-21T03:40:47 | C++ | UTF-8 | C++ | false | false | 7,529 | cpp | #include<iostream>
#include<sstream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<ctime>
#include<climits>
#include<algorithm>
#include<vector>
#include<string>
#include<queue>
#include<list>
#include<bitset>
#include<set>
#include<map>
#include<functional>
#include<numeric>
#include<ut... | [
"jki14wz@gmail.com"
] | jki14wz@gmail.com |
43ad131059ed53ff575a894fea4b602c51627c37 | ad6304b713fab3ca8ff018aad2df0d057e194300 | /URI/AD-HOC/2322 - Peça Perdida.cpp | cbdaf7f970d2dfbfd2bb2da3ef208e071e9bbfd4 | [] | no_license | nicowxd/Competitive-Programming | d3f63b6eac4ccd508d194c8e6244f3d18bdca518 | de92532f753f6eeebe5dff18da8b10f3186bf107 | refs/heads/master | 2022-01-11T20:07:34.149034 | 2019-06-06T23:40:15 | 2019-06-06T23:40:15 | 115,149,544 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | // Autor: CarlosJunior<carloserratojr@gmail.com>
// Nome: Peça Perdida
// Nível: 5
// Categoria: AD-HOC
// URL: https://www.urionlinejudge.com.br/judge/pt/problems/view/2322
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
scanf("%d", &n);
set<int> p;
set<int>::iterator it;
for (i... | [
"carlos.serrato@itec.ufpa.br"
] | carlos.serrato@itec.ufpa.br |
38ea744bff4f2052d90951fe444952656f2787ab | 0ba2e5061577f6286ff9265ef1df9aca96769445 | /data_structures/Graphs/Minimum-Spanning-Tree/TRYTOBE8TME_mst.cpp | 812ec81956478ee88bfc4453d88fc1a05910233f | [
"CC0-1.0"
] | permissive | ZoranPandovski/al-go-rithms | 68d5d02f80a61de9baf8e50a81a52e7d0b3983a0 | 4ae6ba54e90af14af236e03e435eb0402dcac787 | refs/heads/master | 2023-09-04T16:04:04.321676 | 2023-06-06T15:22:16 | 2023-06-06T15:22:16 | 93,438,176 | 1,421 | 2,445 | CC0-1.0 | 2023-06-15T14:24:28 | 2017-06-05T19:20:20 | Jupyter Notebook | UTF-8 | C++ | false | false | 701 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define FIO ios::sync_with_stdio(0);
int main()
{
FIO;
ll i,c=0,n,m,x,y,z;
cin>>n>>m;
vector<pair<ll,ll>> a[100001];
vector<ll> vis(100001,0);
priority_queue<pair<ll,... | [
"kapandya@redhat.com"
] | kapandya@redhat.com |
128f3366ef6ca63413be8e6b1552f40417c8f347 | df804edeee2cfbb842d106fbe1b691ecce704eab | /Bus Reservation System/Bus Reservation System.cpp | bf5a66f0d1387a918f5201427fd7d6c81c69772b | [] | no_license | nipunm1/Bus-Reservation-System | 73645176601fb012e6f6bc37663fd6ed77b8946d | 70ff72731debd1dfc6b441b4e80d74d13555a93f | refs/heads/master | 2022-10-08T18:22:56.208823 | 2020-06-12T12:32:57 | 2020-06-12T12:32:57 | 271,793,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,330 | cpp | #include <iostream>
#include <string.h>
using namespace std;
static int p=0;
class bus{
char bus_no[10], driver_name[30], arrival_time[10], depart_time[10], from[20], to[20], seat[8][4][10];
public:
void install();
void available();
void allotment();
void vacant();
... | [
"noreply@github.com"
] | noreply@github.com |
6a88dbb18089d07d1dcb82c12ef11d35b65539d4 | c8b64ec67fd12fbbdb033f309c10eb37c6d88ac7 | /src/lib/display3d/Texture.cpp | d11200f1d181e575966c69da717e13d43fa24c2e | [
"MIT"
] | permissive | Ibujah/minimalOpenGL | 14de476893aaf3e091b246a387bf5e402193f731 | 474e5fc96afda899108dcfee446c16b56427e067 | refs/heads/master | 2022-09-20T20:13:56.785247 | 2020-06-02T11:29:01 | 2020-06-02T11:29:01 | 268,627,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,841 | cpp | #include <GL/glew.h>
#include "Texture.h"
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
Texture::Texture(const std::string& imageFile) :
m_id(0),
m_imageFile(imageFile),
m_width(0),
m_height(0),
m_format(0),
m_internalFormat(0)
{
if(!m_imageFile... | [
"dbastien71@gmail.com"
] | dbastien71@gmail.com |
ed76b4a9aec441b499f7b1429052a600fb038cd4 | 615f6b2370ee24d85bf2e47b0beecd0ff852aab0 | /arduino/IoTkit/IoTkit.cpp | e900a7af6549bb040fdad11101a2710b78046304 | [
"BSD-3-Clause"
] | permissive | hnischith/iotkit-samples | 015c06a376a98ad70df2ea9b3643f18687b9541d | 1f575bcf0e5c32456efebf9fbe4e43ebfa199548 | refs/heads/master | 2021-01-22T12:21:19.668688 | 2014-02-28T14:31:54 | 2014-02-28T14:31:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,249 | cpp | /*
Copyright (c) 2013, Intel Corporation
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaime... | [
"patrick.j.holmes@gmail.com"
] | patrick.j.holmes@gmail.com |
4b8bfee76dfb0cffdec6eec6493883519cf51679 | b121fd1b8e8025b3d70b567a6cb1d9eab27544da | /src/bloom.h | 6411d970964aeb0cb87e904b125364706199123f | [
"MIT"
] | permissive | szenekonzept/ethan | e304ceecb4288b08c43f9e3a51d3021859252f1a | ee16a7dcf93cee28d76c7a046b4b0abee0e373ba | refs/heads/master | 2021-01-18T10:34:04.438996 | 2014-08-01T19:00:16 | 2014-08-01T19:00:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,425 | h | // Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ETHAN_BLOOM_H
#define ETHAN_BLOOM_H
#include <vector>
#include "uint256.h"
#include "serialize.h"
class COutPoint;
class ... | [
"ethancoin@mail.com"
] | ethancoin@mail.com |
0eaa97d52290fd3860e0b922a22372a675f9ee36 | 786de89be635eb21295070a6a3452f3a7fe6712c | /MsgLogger/tags/V00-01-09/include/MsgLogRecord.h | af15d4eda548066d69e2c5750d0bb1eff9868bae | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,186 | h | #ifndef MSGLOGRECORD_HH
#define MSGLOGRECORD_HH
//--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class MsgLogRecord.
//
// Environment:
// This software was developed for the BaBar collaboration. If you
// use all or... | [
"dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
76f66806f9d0d0ab432fb074d9fe21dad2ccdad7 | 20b2af5e275469261d95d4441303d567b5c03bba | /src/tuhhsdk/Data/CycleInfo.hpp | 679c5278d3f0e48a7559c2cacaadd2649de60c95 | [
"BSD-2-Clause"
] | permissive | humanoid-robotics-htl-leonding/robo-ducks-core | efd513dedf58377dadc6a3094dd5c01f13c32eb1 | 1644b8180214b95ad9ce8fa97318a51748b5fe3f | refs/heads/master | 2022-04-26T17:19:00.073468 | 2020-04-23T07:05:25 | 2020-04-23T07:05:25 | 181,146,731 | 7 | 0 | NOASSERTION | 2022-04-08T13:25:14 | 2019-04-13T09:07:29 | C++ | UTF-8 | C++ | false | false | 1,171 | hpp | #pragma once
#include "Framework/DataType.hpp"
#include "Tools/Time.hpp"
class CycleInfo : public DataType<CycleInfo>
{
public:
/// the name of this DataType
DataTypeName name = "CycleInfo";
/**
* @brief getTimeDiff calculates the time difference from this cycle to some other time point
* @param rhs the ... | [
"rene.kost.951@gmail.com"
] | rene.kost.951@gmail.com |
be2d9b90d38c7f30ad95151e4ce6c24aeb80e531 | 82881e9012ea9034b36443c1e794fd7fec54484a | /plane.h | a19bf22119c47a047aafd6d44d0bbd1dff77d784 | [] | no_license | henu/hpp | 2e8397dfbeaec1625d5ebb4440eaa35786b3d510 | 744a7eb15013b85b2e3e984b3de8511fc0a032d1 | refs/heads/master | 2021-01-18T22:34:25.965603 | 2017-10-19T19:16:44 | 2017-10-19T19:16:44 | 37,479,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,568 | h | #ifndef HPP_PLANE_H
#define HPP_PLANE_H
#include "vector3.h"
#include "ray.h"
#include <vector>
#include <string>
namespace Hpp
{
class Plane
{
public:
typedef std::vector< Plane > Vec;
inline Plane(void);
inline Plane(Vector3 const& normal, Real distance_from_origin);
inline Plane(Vector3 const& normal, Vec... | [
"henu@henu.fi"
] | henu@henu.fi |
becec09f979421ae88797ba2a65586c6ad948ea7 | a52eb0652ab3f18c76019c0ebc090a07cb5e9dd4 | /src/server/scripts/Kalimdor/CavernsOfTime/WellofEternity/boss_mannoroth.cpp | 54cc57b7c9831263b71be4d78f9f83a1a71152a2 | [] | no_license | szhxjt1334/WoWCircle434 | b0531ec16b76e4430d718620477d3532566188aa | de3fa2b4be52a7a683b0427269c51801fc0df062 | refs/heads/master | 2021-01-12T11:03:08.102883 | 2016-10-11T22:05:13 | 2016-10-11T22:05:13 | 72,802,348 | 0 | 1 | null | 2016-11-04T01:24:11 | 2016-11-04T01:24:10 | null | UTF-8 | C++ | false | false | 26,778 | cpp | #include "ScriptPCH.h"
#include "well_of_eternity.h"
#include "Group.h"
enum ScriptedTextMannoroth
{
SAY_MANNOROTH_AGGRO = 0,
SAY_MANNOROTH_DEATH = 1,
SAY_MANNOROTH_SARGERAS = 3,
SAY_MANNOROTH_SWORD = 4,
SAY_MANNOROTH_VAROTHEN = 5,
SAY_MANNOROTH_EVENT = 6,
SAY_MANNOROTH_KI... | [
"Tobias Pohlmann"
] | Tobias Pohlmann |
7100f2f4ba13ef0e8b06ea0eb1e53a28b34f51c4 | a008b112837ba18b5a3325bf559a78a1993d0717 | /courses/phone-book/v6(socket)/client/src/book.h | 119632dd37c26fa55b14d40b7d7b760089dfe61b | [] | no_license | jokerlee/college | 4509aadc180ad2a4e11dc19e56af2b9f4cd6ba03 | 3fbbb79d86b25e55a68141c3ee1292af0b48af1a | refs/heads/master | 2020-12-24T16:49:24.656255 | 2014-01-31T04:19:45 | 2014-01-31T04:19:45 | 16,399,338 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | h | #ifndef __BOOK_PHONEBOOK_H_INCLUDE__
#define __BOOK_PHONEBOOK_H_INCLUDE__
#include "my_utils.h"
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <map>
using namespace std;
typedef map<string, string> FieldMap;
typedef FieldMap::iterator MapIter;
typedef FieldMap::const_iterator cMapIt... | [
"lijie@hortorgames.com"
] | lijie@hortorgames.com |
c616616bccb4f9fdd1701b7b33d140a92a859b54 | f77ee068b83c1a35baf0330eed56cb25ce091527 | /lib/include/pldl/netlist.hpp | 40bf112a47e488308a76764bf8624d88f67d76e4 | [
"MIT"
] | permissive | yjg361/primal-dual-approx-cpp | 67795c8005d5c3280212ab936810a353a8c68b8b | a3c2e53fb64d200925ecfb512af8a777ee1d3ac6 | refs/heads/main | 2023-04-04T05:38:37.938101 | 2021-04-20T10:16:07 | 2021-04-20T10:16:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,575 | hpp | #pragma once
// import networkx as nx
#include <algorithm>
#include <iterator>
#include <py2cpp/py2cpp.hpp>
#include <utility>
#include <vector>
#include <xnetwork/classes/graph.hpp>
// using node_t = int;
// struct PartInfo
// {
// std::vector<std::uint8_t> part;
// py::set<node_t> extern_nets;
// };
/*!
... | [
"luk036@gmail.com"
] | luk036@gmail.com |
1d3ba48237f5a9b7ef172d127be73a8c6a50b0f1 | 1798ba59a187a8868e32b4d4f5f54ec81efbf807 | /devel/include/f1tenth_msgs/ArmorDetectionAction.h | 0ec3fa637f4e5568c6eb75ee34472232d589aae8 | [] | no_license | chalkchalk/fl1oth_ws | 60d17ee4d9206c436a221b82e2f92d0eedd78eb0 | 4c53588c129ad206ebc1354cc55ff6d2d88863d4 | refs/heads/master | 2022-12-11T11:15:58.773602 | 2020-09-13T04:04:24 | 2020-09-13T04:04:24 | 294,903,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,628 | h | // Generated by gencpp from file f1tenth_msgs/ArmorDetectionAction.msg
// DO NOT EDIT!
#ifndef F1TENTH_MSGS_MESSAGE_ARMORDETECTIONACTION_H
#define F1TENTH_MSGS_MESSAGE_ARMORDETECTIONACTION_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/built... | [
"1261677461@qq.com"
] | 1261677461@qq.com |
b96582bb97d09eb475f4983a85ae9d1caffb1649 | f97ce0a588e023675eaa980f2f105f0a9c25ce18 | /UVa/v104/10462.CPP | 3576126aae237ce602d43b39f60c69e148509819 | [] | no_license | anindya028/Programming-Contest-Problems | a5c49653d990391a6e2003f2ec9d951222cabbe2 | 7038b6267432189de72539ef5ad046d38e730ee8 | refs/heads/master | 2023-03-17T06:27:38.339049 | 2021-02-23T22:58:06 | 2021-02-23T22:58:06 | 277,399,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,022 | cpp | //MST
#include<stdio.h>
#include<math.h>
#include<string.h>
#include<stdlib.h>
#include<algorithm>
#include<queue>
using namespace std;
#define inf 1<<29
struct edge
{
int source,dest,cost;
int taken;
}e[205];
int rank[105],parent[105];
void link(int a,int b)
{
if(rank[a]>rank[b])
parent[b]=a;
... | [
"anindya@Anindyas-MacBook-Pro.local"
] | anindya@Anindyas-MacBook-Pro.local |
acaf528d343ec281c498ee6f03293bcf7affa94e | 85a60704b2db0f56c22b7ebfef71095fe2cd5f15 | /src/Component/UserDataComp.h | 64223a3b301e07f8087ab8c6e5b3642c923d9336 | [] | no_license | FrancisLaiLD/francislai-01 | e77caf13bfd3a593bd785adf970e23a88cd62f00 | 7bea841d686f26441db9031f48881a97052fdb20 | refs/heads/master | 2020-03-23T18:08:19.686706 | 2018-09-26T14:25:58 | 2018-09-26T14:25:58 | 141,891,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | h | #ifndef USERDATACOMP_H
#define USERDATACOMP_H
#include <QObject>
#include <QDateTime>
class UserDataComponent {
public:
UserDataComponent() {}
UserDataComponent(float c_temp, int c_Height, int c_Weight, QDateTime c_time);
~UserDataComponent() {}
float temp() const;
void setTemp(float temp);
... | [
"laidanghungptit@gmail.com"
] | laidanghungptit@gmail.com |
316ac2751b64f62166ec6378d36d55389368141a | 0e42fc5436061b46d44249edd0f9da0750d51bde | /Assessment One & Two/source/mage.cpp | e483f6a57f85d5647eb6b7c3f396f5295fbd45ed | [] | no_license | cazBlue/AIEYearOneProjects | 53602a0f8d61a3693c41ad8f705e8514e3b87ee5 | 0b30535441b95e4e35015639d1b731f8d0311e0a | refs/heads/master | 2021-01-21T08:01:36.101292 | 2015-08-24T11:19:53 | 2015-08-24T11:19:53 | 41,294,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,678 | cpp | #include "mage.h"
#include "fireball.h"
#include "level.h"
Mage::Mage(Level *level, DrawEngine *de, int s_index, float x, float y , int lives, char spell_key, char up_key, char down_key, char left_key, char right_key)
: Character(level, de, s_index, x, y, lives, up_key, down_key, left_key, right_key)
{
spellKey ... | [
"callan@callanw.com"
] | callan@callanw.com |
0af1a603f8d8682dd172baa14503836d29c8692a | a692fe17e0c96a713ccb89ad36f0348cbc4b361f | /osiris/BaseClassLib/ltoa.cpp | ca87562fec0422b16e849f6c7ac28f0fcdcf0245 | [] | no_license | Rajesh35hsp/osiris | 9c249633745d0730c96132a58bfd95e0aeaa1148 | c9b22d74881472b43f2c0e5619aa53341c709d19 | refs/heads/master | 2023-08-27T00:50:03.242581 | 2021-11-05T13:26:29 | 2021-11-05T13:26:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | /*
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Work" under the
* terms of the United States Copyright Act. It w... | [
"hoffman@ncbi.nlm.nih.gov"
] | hoffman@ncbi.nlm.nih.gov |
5f7e4b4fb2e82afe273a97e47ee360c27c107721 | 1d2705c9be9ee0f974c224eb794f2f8a9e9a3d50 | /look_for_face/center_face/main_prova.cpp | 25cd1271a125705d45d9c5657940e9bb8f8f85fe | [] | no_license | llvllrbreeze/alcorapp | dfe2551f36d346d73d998f59d602c5de46ef60f7 | 3ad24edd52c19f0896228f55539aa8bbbb011aac | refs/heads/master | 2021-01-10T07:36:01.058011 | 2008-12-16T12:51:50 | 2008-12-16T12:51:50 | 47,865,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,284 | cpp | #include "cv.h"
#include "highgui.h"
#include "PTU46.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <time.h>
#include <ctype.h>
#define M_PI 3.14159265358979323846
// MARLIN focal length
#define F_X 611.1584754728... | [
"matia.pizzoli@1ffd000b-a628-0410-9a29-793f135cad17"
] | matia.pizzoli@1ffd000b-a628-0410-9a29-793f135cad17 |
729863cc66bd7d27ea15b185e1c9124f1fa3951b | 4c6574534cc8dd7f582ee98603116b46ab608160 | /PhaseJump/Xcode/PhaseJump/PhaseJumpTests/Mocks/MockRenderer.h | df8aa618d74a67b535282e718b06d0eb9db6534f | [
"MIT"
] | permissive | coinbump/PhaseJumpPro | 01b1805aac4a8dd0a17feb3ae9a06d76fbf63926 | 52f806cc7db9ef134a5e1786347c350cb8e2e4c3 | refs/heads/main | 2023-06-27T13:30:37.192977 | 2023-06-18T03:25:38 | 2023-06-18T03:25:38 | 127,684,651 | 50 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #ifndef PJTESTMOCKRENDERER_H
#define PJTESTMOCKRENDERER_H
#include "SomeRenderer.h"
#include "VectorList.h"
namespace PJTest
{
class MockRenderer : public SomeRenderer {
public:
VectorList<RenderIntoModel> renderHistory;
virtual void RenderInto(RenderIntoModel model) {
renderHisto... | [
"coinbump@gmail.com"
] | coinbump@gmail.com |
f8e903ebed562b9a934847c0a4b0a89a1e663c58 | 701b9c3c9dda6fc0ddd49d9b8396b4b4951d565c | /GazeTracker/GazeTracker_Qt/GazeDataProcessing.hpp | 2587bb5a222a065dccb7f209fb73225627b1b3ed | [
"MIT"
] | permissive | bernhardrieder/Gaze-Tracker | 925b35b27dba0cfe21ada75a24616f4f531a0c39 | b468a03cb986a4950ee1d2a49df759e17a80c5cc | refs/heads/master | 2020-03-18T13:38:08.471907 | 2018-05-25T04:12:12 | 2018-05-25T04:12:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,452 | hpp | #pragma once
#include "ProcessingUI.hpp"
namespace gt
{
class GazeDataProcessing;
enum class GazeDataProcessingState : int
{
OpenFile = 0,
ReadData,
CreateVideo,
FinishedWithSuccess,
FinishedWithError
};
class GazeTrackerVideoCreator : public QObject
{
Q_OBJECT
public:
GazeTrackerVideoCreator(... | [
"bernhard.rieder@live.at"
] | bernhard.rieder@live.at |
752cbd38c7927d06c541b7ae1f2dfeb5d61e4022 | b5ddfcaacd7dda7c9e0f68c5ac3f835d423de409 | /source/mORMot/SynopseCommit.inc | 3a8cf4a13ebb46f0c38425c06be6a1057307632c | [] | no_license | Yang-Ya-Chao/YxDServer | e93f12a201d1a94256658eea258ff65f3c70e8bb | af320e1d8246cb8df40b13f8dd1af6e177efe7f5 | refs/heads/master | 2023-06-19T07:19:13.119813 | 2021-07-13T05:59:39 | 2021-07-13T05:59:39 | 375,569,546 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 12 | inc | '1.18.6249'
| [
"yyc@yx.com"
] | yyc@yx.com |
fdab9d0813203d4e3b429a71d5629aa0d084d0c7 | 37c502120aba6e719a2977d8ce78c44846adeb63 | /C Programs/STAR.CPP | 564e8ea893e1507fbab841c4363db837e592ee2d | [] | no_license | Girrajjangid/Computer-Science-Programs | 66cdccb1f17bc74893614eb5e02acba7bde14885 | 8d8c2be72661e42aa12f78fbb6eafdce0f18fe55 | refs/heads/master | 2020-06-09T23:10:04.027394 | 2019-11-03T17:24:23 | 2019-11-03T17:24:23 | 193,525,230 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | #include<stdio.h>
#include<conio.h>
void main()
{
int i,j,n;
clrscr();
printf("enter the value of n\n ");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=1;j<=n-i;j++)
{printf(" ");}
for(j=1;j<=2*i-1;j++)
{printf("*");}
printf("\n");
}
getch();
}
| [
"girraj.jangid.14581@gmail.com"
] | girraj.jangid.14581@gmail.com |
64684310d7da0e137a429c20295770e11f7f824f | b8b0417c21e71ae3fc59498c8a9963ee306d2dbf | /Algorithm/Huffman.cpp | bcb3363defd5d71e485e224521116e84c9f14527 | [] | no_license | YanB25/MyToyCode | 27149bb0d099b75189d9a9dfc4b2034b1c57a014 | fdb9db2b9158bc856c19d23228260f33e8c1ff5b | refs/heads/master | 2021-01-17T21:03:47.801402 | 2018-01-10T03:55:57 | 2018-01-10T03:55:57 | 84,158,175 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | #include <iostream>
#include <set>
#include <utility>
#include <string>
#include <vector>
using namespace std;
vector<string> codes;
bool min(int l, int r) { return l < r ? l : r;}
int main() {
int n;
cin >> n;
codes.resize(256);
set<pair<int, string>> s;
for (int i = 0; i < n; ++i) {
char ... | [
"442826556@qq.con"
] | 442826556@qq.con |
296714fef02756889e2a33b2e0adafe3844672b9 | 72f2515c4cef9e02c27452b32269ca403f76c69a | /src/modules/MeasureTool/MeasureToolCore/OverlayUI.h | 5f1b7be39d303c06c185a7b29ddb263b35acc517 | [
"LicenseRef-scancode-generic-cla",
"MIT",
"BSL-1.0",
"Unlicense"
] | permissive | microsoft/PowerToys | 4625ffc4c513265094bf9e0f490753a54aabeaa0 | 3244ba989921dd26dd32be75021ed68c9cfcdda9 | refs/heads/main | 2023-08-17T00:10:06.645243 | 2023-08-16T16:31:10 | 2023-08-16T16:31:10 | 184,456,251 | 103,306 | 7,187 | MIT | 2023-09-14T16:52:26 | 2019-05-01T17:44:02 | C# | UTF-8 | C++ | false | false | 2,142 | h | #pragma once
#include "DxgiAPI.h"
#include "D2DState.h"
#include "ToolState.h"
#include <common/display/monitors.h>
#include <common/utils/serialized.h>
class OverlayUIState final
{
template<typename StateT, typename TickFuncT>
OverlayUIState(const DxgiAPI* dxgiAPI,
StateT& toolState,
... | [
"noreply@github.com"
] | noreply@github.com |
8f730c3410d99867510c6334ea82e31d690bfd7e | 2fa880c8a06d635eb11ccf9e64b77382e3e825fa | /FIBONASI.cpp | 956cb1e9c4059f4a3c60aa3865f33b789270c0c2 | [] | no_license | AtomicOrbital/SPOJ_PTIT | 469e2acf66d4cd8851cc653c0df78f7c5f9d2625 | d80395a87a13b564bfa370bb299e1216b3781a9e | refs/heads/main | 2023-06-06T04:53:27.359301 | 2021-06-21T17:27:03 | 2021-06-21T17:27:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | #include<bits/stdc++.h>
#include<string>
#include<vector>
#define alphaa "abcdefghijklmnopqrstuvwxyz"
#define ALPHAA "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
#define f(i,a,b) for(int i=a;i<=b;i++)
#define f1(i,n) for(int i=1;i<=n;i++)
#define f0(i,n) for(int i=0;i<n;i++)
#define sp(x) cout<<x<<" ";
#define en(x) cout<<x<<endl;
usi... | [
"noreply@github.com"
] | noreply@github.com |
eb7d52d9a86656bddcbe143af5f3afa2c28b636c | 718adecdaead55fa20126e273e4401a33a139e84 | /LeetCode/FindtheMostCompetitiveSubsequence/main.cxx | 3cea989cd32adc914a01390b51c82139baac3e8e | [] | no_license | hjw21century/Algorithm | b3b6f3c8ab3272a75eb27fdbfb0f259e5e54c218 | 415ee942770924bb7a80935bdd7345eda03975b8 | refs/heads/master | 2023-05-03T00:36:22.802855 | 2021-05-20T08:40:17 | 2021-05-20T08:40:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,375 | cxx | #include <bits/stdc++.h>
#include <gtest/gtest.h>
using namespace std;
class Solution {
public:
vector<int> mostCompetitive(vector<int> &nums, int k) {
// 0 1 2 3 4 5 size-k-1,size-k,size-k+1, ..., size-2 ,size-1
memo = vector<int>(nums.size());
{
if (nums.size() > k) {
... | [
"slarsar@yandex.com"
] | slarsar@yandex.com |
b7b9d67b98f5899e2f9a99410b13f93c2d83a18b | 0cfd073faa8dd5afc96373e1b1db29586fb70d20 | /GaUpdater/stdafx.cpp | 996660f6c5203c20d86b0e238de55cfd5015ccbe | [
"MIT"
] | permissive | ha11owed/gaupdater | 4f7f5ada7521bd28955388b364e4e5733f76fb9a | 449b9f0a7079f4f8478696d5982a14ae3a70dddc | refs/heads/master | 2021-05-02T07:37:20.932279 | 2016-09-22T14:00:41 | 2016-09-22T14:00:41 | 33,974,296 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp |
// stdafx.cpp : source file that includes just the standard includes
// GaUpdater.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"slaninacuceapa@gmail.com"
] | slaninacuceapa@gmail.com |
dd5d44b1335fa07830916c8939734161fa65b67d | ed997b3a8723cc9e77787c1d868f9300b0097473 | /boost/test/data/generators.hpp | 8ebfb06b52161299ccbca8dc3aa1f2352b0c5927 | [
"BSL-1.0"
] | permissive | juslee/boost-svn | 7ddb99e2046e5153e7cb5680575588a9aa8c79b2 | 6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb | refs/heads/master | 2023-04-13T11:00:16.289416 | 2012-11-16T11:14:39 | 2012-11-16T11:14:39 | 6,734,455 | 0 | 0 | BSL-1.0 | 2023-04-03T23:13:08 | 2012-11-17T11:21:17 | C++ | UTF-8 | C++ | false | false | 729 | hpp | // (C) Copyright Gennadiy Rozental 2011-2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version ... | [
"rogeeff@b8fc166d-592f-0410-95f2-cb63ce0dd405"
] | rogeeff@b8fc166d-592f-0410-95f2-cb63ce0dd405 |
3dec7f41519bfb446e8e4a1cb28538cf2fdae3fb | 71f393f8b98f8212d2a657b92720b6d5ddc42a32 | /src/perf/lib/quicmain.cpp | 8ec863849a64b92da36a63721254713617c3fcad | [
"MIT"
] | permissive | flying1314/msquic | 510da948b19655142de92ae18ae9d18d0bde9b46 | d05bfe77e83524e9b019e3560469db4478506b5d | refs/heads/master | 2022-11-30T19:54:47.626895 | 2020-08-05T20:57:35 | 2020-08-05T20:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,248 | cpp | /*++
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
Abstract:
QUIC Perf Main execution engine.
--*/
#include "PerfHelpers.h"
#include "ThroughputServer.h"
#include "ThroughputClient.h"
#ifdef QUIC_CLOG
#include "quicmain.cpp.clog.h"
#endif
const QuicApiTable* MsQuic;
PerfBase* ... | [
"noreply@github.com"
] | noreply@github.com |
1f4f188225319281482f26b50047342054ee8061 | 282dce13f4c01540bb5c926d62b3bdb1ca9a0250 | /Data Structures/Tree_huffman_decoding.cpp | 8031a0676dffd9e3f5c56a0f6682413cb307de33 | [] | no_license | Mayank-44/Data-Structures | 4e48fe5cb98fe387c2e94184c9e2febcb6cd365b | cc91705015c9a72f5cda1c34ebdc7c104707b149 | refs/heads/master | 2021-04-03T04:23:16.570144 | 2019-05-21T05:35:28 | 2019-05-21T05:35:28 | 124,723,189 | 0 | 1 | null | 2018-03-20T23:01:11 | 2018-03-11T04:31:49 | C++ | UTF-8 | C++ | false | false | 593 | cpp | #include <string.h>
/*
The structure of the node is
typedef struct node
{
int freq;
char data;
node * left;
node * right;
}node;
*/
void decode_huff(node * root,string s)
{
int i=0;
node *tmp=root;
while(i<=s.length())
{
if(tmp->data!='\0')
{
... | [
"37243315+Mayank-44@users.noreply.github.com"
] | 37243315+Mayank-44@users.noreply.github.com |
1ec217390cece762a4104f65f5c35620fc78e894 | aed64c91a1428e2a2910def471c4ea1413e66b2f | /ReactCommon/react/renderer/graphics/conversions.h | 8ce4f341f79696e9f82e10c8f8dea76f6a321d27 | [
"MIT",
"CC-BY-4.0",
"CC-BY-SA-4.0",
"CC-BY-NC-SA-4.0"
] | permissive | mikaoelitiana/react-native | e631a9ffe956ab57570ebcdaca0d24d34ff40b0d | 7f2dd1d49cc3c0bf5e24fdb37f6457151c1f06c4 | refs/heads/master | 2023-02-11T11:36:37.056518 | 2023-02-05T14:49:08 | 2023-02-05T14:49:08 | 130,375,540 | 1 | 0 | MIT | 2023-02-04T22:56:11 | 2018-04-20T14:47:12 | JavaScript | UTF-8 | C++ | false | false | 8,091 | h | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <butter/map.h>
#include <glog/logging.h>
#include <react/debug/react_native_assert.h>
#include <react/rend... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
254c0387a1d87958df70c9f49ae805dc0a1cf243 | 9f14621793a39a930c0831db84c9309dcc793e20 | /library/src/Global.cpp | f7feaa4f5ae80f59d7a300c0777e90433ecd5004 | [] | no_license | huanghao870620/myproj | 3d8d75d30a630b33b86b65e354407d0c98731d8b | b2a5aa33a93312399a71a7869376d27e181689ee | refs/heads/master | 2020-04-04T05:40:24.350288 | 2017-02-25T06:17:52 | 2017-02-25T06:17:52 | 52,357,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp |
#include "Global.h"
Global::Global(int weight, std::string & name)
{
this->weight = weight;
this->name = name;
}
Global::~Global()
{
std::cout << "1" << std::endl;
}
| [
"huanghao870620@hotmail.com"
] | huanghao870620@hotmail.com |
0dd2833e4a436ef236db85d06c61029614e9cb8d | c78dbaaf5301ae5380a06745d2017891eda5c9ff | /src/wallet/rpcwallet.cpp | ab996261e4d3e4df8e8cf3964e4863203f7a11e5 | [
"MIT"
] | permissive | superdigitalcoin-project/superdigitalcoin | 6c49746707a26d6e945c6c6efe245ccf1ec3b4c9 | f77a76bb74bd38be58db10a1635bdaa017f5baa0 | refs/heads/master | 2020-06-25T17:26:44.593043 | 2019-07-29T07:43:56 | 2019-07-29T07:43:56 | 199,377,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147,212 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "base58.h"
#include "chain.h"
#include "consensus/validat... | [
"lun1109@hotmail.com"
] | lun1109@hotmail.com |
ed4f6629c6f0ac53e199ddd261b192631f389ce8 | 7c1a1e5a726cb5889bff26399e7590fd45cca123 | /Animations/exploringSoundStream/src/ofApp.cpp | c99e2576ba9bc9399f07bf7c91cbca26759e3a36 | [] | no_license | jkmingwen/CapstoneProject | 85d08d3006ef54c03cad7d8d0c94c4d9564233c3 | fd7fb6563b603711385d48709bcc9afc9da2064c | refs/heads/master | 2020-04-16T19:52:08.692296 | 2019-04-13T14:49:28 | 2019-04-13T14:49:28 | 165,877,283 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,200 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
int bufferSize = 256; // set buffer size
ofSoundStreamSettings settings; // create ofSoundStreamSettings object
ofBackground(0, 0, 0);
bufferCounter = 0;
drawCounter = 0;
smoothedVo... | [
"jkmingwen@gmail.com"
] | jkmingwen@gmail.com |
a427afe3e55159074a059b88c7aa20866db6cfd2 | 542f103e5b3b36ee0aefa937d4128d0ca77dcfdf | /check anagram palindrome.cpp | ca9e2ddac4d04a267a6c037d46f18ba845121055 | [] | no_license | muskan2099/Hashmaps-and-Heaps-Interview-Questions | 3ae0ceb5518a5019d3d5a8d4277b542b9bb45264 | aa81147ac143e4c7851c7b203a0b3a08b4519475 | refs/heads/master | 2022-11-08T12:20:23.230878 | 2020-06-25T12:58:56 | 2020-06-25T12:58:56 | 274,912,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include <bits/stdc++.h>
using namespace std;
bool tell(string str){
unordered_map<char, int> hash;
for(int i = 0; i < str.length(); i++){
if(hash.count(str[i]) == 0){
hash[str[i]] = 1;
}
else{
hash[str[i]]++;
}
}
//unordered_map<int, int> freq;
unordered_map<char, int> :: iterator i... | [
"noreply@github.com"
] | noreply@github.com |
10f6ecba580e54f3360a2bc1986123cd1ca51fae | f6d39d77abce980680114d533a1e22b5cce5fc7c | /orgeExample/Enemy.cpp | 85027f3fed440dd8d19a20add006ad070a2f12f9 | [] | no_license | tscheims1/ogre | 42e7f5d5a6c8391c0ae4b25299ed3a47e1fcd746 | 83dd0e223e0fd0fd5bf8b024a4004980e3dec7c3 | refs/heads/master | 2020-05-15T15:30:04.627304 | 2015-06-09T13:34:35 | 2015-06-09T13:34:35 | 34,501,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | cpp | #include "Enemy.h"
Enemy::Enemy(Ogre::SceneManager** sceneManager,Ogre::Vector3 position,const Ogre::Vector3* targetPosition)
{
mTargetPosition = targetPosition;
mEntity = (*sceneManager)->createEntity("RZR-002.mesh");
mNode = (*sceneManager)->getRootSceneNode()->createChildSceneNode();
mSceneManagerPtr = sceneMa... | [
"james.schuepbach@gmail.com"
] | james.schuepbach@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.