blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ea43e0f9cd992cc15a5d00793243e29e61990f11 | 9aca390e0b9ab6f7d1afcba92ec7a334b36deb39 | /GetRandNum.h | 1afdce7a3a181c2b082fc5fafc2c8d0b045cd5a6 | [] | no_license | AbhishekHingorani/MasterMind | 826f00679ffb6140308e30e7c0e353aab2ed9a26 | 53d5bcd114c270bf77fab379ad181dab5f6b644d | refs/heads/master | 2020-03-27T06:09:49.478783 | 2018-08-25T09:52:18 | 2018-08-25T09:52:18 | 146,083,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | h | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <ctime>
using namespace std;
int getCodeTwo()
{
ifstream two;
srand(time(NULL));
int y;
two.open("codeTwo.txt");
two.seekg(((rand()%30)*4),ios::beg);
two>>y;
two.close();
return y;
}
int getCodeThree()
{
ifstream thr... | [
"noreply@github.com"
] | AbhishekHingorani.noreply@github.com |
b88a7bca369f038d3e900e9f3b86eacc9745c6f5 | d13f18e9deadd124e677f967879af3a2f642bdd8 | /lars_loadbalance_agent/src/load_balance.cpp | da4fde0f9425bf2b2cfac09abc853f5ca481c5c1 | [] | no_license | zhaoyaogit/Lars-1 | 1545562ecac373518fbd9569b0163c93e0db13c6 | 95a58242832ae67e7fe64fbc7a8bef2da6b4ae21 | refs/heads/main | 2023-05-04T12:14:47.283082 | 2021-05-27T07:35:06 | 2021-05-27T07:35:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,491 | cpp | #include "load_balance.h"
#include "main_server.h"
int load_balance::pull()
{
//封装一个dns 请求包
lars::GetRouteRequest req;
req.set_modid(_modid);
req.set_cmdid(_cmdid);
//将这个包 发送 dns_queue即可
dns_queue->send(req);
status = PULLING;
printf("modid %d, cmdid %d pulling from dns service!\n... | [
"18362057055@163.com"
] | 18362057055@163.com |
32bf8714093b30f680fa6910fa53ce368054c636 | 6a170d6f3c13dbe41cabda7bee8eb57684e9700b | /src/Game.h | f9dbf399de584e7e5f4d7484101a07d465da7893 | [] | no_license | Thomas-Zorroche/Snake3D | 55bbe902f39443f35b595cab0b46debc794757a6 | 759a49c06fa31e640a8a46287ba35ccdce1dd8d9 | refs/heads/main | 2023-01-01T17:32:28.516993 | 2020-10-23T16:52:00 | 2020-10-23T16:52:00 | 303,506,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | h | #pragma once
#define TAILLE_BLOC 50
#define NB_BLOCS_WIDTH 1000 / TAILLE_BLOC
#define zDepth 0.05f
#define factorConversionFloat 1000.0f
const float width = 720.0f;
const float height = 720.0f;
class Snake;
class Cube;
class Game
{
public:
Cube* SpawnTarget(const Snake& snake);
private:
};
| [
"thomas.zorroche@gmail.com"
] | thomas.zorroche@gmail.com |
10852c535bfdfccf3c3aca348f5a3b89a460f521 | 25be07cee5be26b63fabbe0300db63cf34130041 | /controller_node/mavros/ros/kinetic/include/geographic_msgs/UpdateGeographicMapRequest.h | bacc25590b8c2489851710c890620c8601a5ee55 | [] | no_license | davidrpere/UAVSPS | f959a6d9d475dd0ec0d40dad322b171a444c5d5e | 969299f7498546761ef58d909ac62d81fab4649a | refs/heads/master | 2021-09-13T14:48:12.982804 | 2018-04-29T16:14:02 | 2018-04-29T16:14:02 | 120,344,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,540 | h | // Generated by gencpp from file geographic_msgs/UpdateGeographicMapRequest.msg
// DO NOT EDIT!
#ifndef GEOGRAPHIC_MSGS_MESSAGE_UPDATEGEOGRAPHICMAPREQUEST_H
#define GEOGRAPHIC_MSGS_MESSAGE_UPDATEGEOGRAPHICMAPREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serializa... | [
"mxmax95@gmail.com"
] | mxmax95@gmail.com |
face619b038784faec1e2e23c878f753cedff965 | 802303374e7b0a5d07e1e45e99c1de5261244935 | /file_is_exist.cpp | 098b22f6f20f8c776f8750235a2af42ad044f134 | [] | no_license | farukyildiz/C-C- | 5d714d8beb258359572cc85fe90e962c24cc8e04 | 0f0652b06b97ce9a39bad8c739a669a8271020f7 | refs/heads/master | 2023-08-16T07:07:22.965062 | 2021-10-04T09:10:43 | 2021-10-04T09:10:43 | 413,343,593 | 0 | 0 | null | 2021-10-04T09:14:37 | 2021-10-04T08:49:22 | C | UTF-8 | C++ | false | false | 182 | cpp | #include<stdio.h>
#include<unistd.h>
int main()
{
if (access("my_path", F_OK) == 0) {
printf("file is exist");
} else {
printf("file is not exist");
}
return 0;
}
| [
"faruk.yildiz@logosgt.com.tr"
] | faruk.yildiz@logosgt.com.tr |
de017a369ea636233f3b7e050117808043ee8bf4 | b494742e7d0db4a1056656bdc28240f800a038e6 | /src/QuantBox/Database/MDSQLite.h | ceb3197318515c28da7d0e0c7d983552dbc9b520 | [] | no_license | zhuzhenping/CTP-MATLAB | 5fd4953c15579840f8de92e294cafbeff754f064 | aecef74c3533d298cb4b4e6a6c499d4c87b3ef5a | refs/heads/master | 2020-03-17T00:52:39.154075 | 2017-11-06T10:03:32 | 2017-11-06T10:03:32 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,309 | h | #ifndef _MD_SQLITE_H_
#define _MD_SQLITE_H_
#include <map>
#include <string>
#include <memory>
#include "sqlitebase.h"
#include "Types.h"
class CCTPRspMsgQueue;
struct wdTick;
struct wdKLine;
class CCTPRspMsgItem;
class MDSQLite : public SQLiteBase
{
public:
MDSQLite(void);
virtual ~MDSQLite(void);
virtual bool ... | [
"84020702@qq.com"
] | 84020702@qq.com |
8091fbb9e6ddafb9570de77d678e300041d36ca2 | cedb5c523ebf2891f891565df1f53d8952ab758e | /core/adobe_stock_image_search.hpp | 3a17f6c21d74a82d4f2787a2db30bf0e98079996 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | stereomatchingkiss/QImageScraper | b9733f4bc265f8d36819c0fcf06b54b351ae600f | 4eaba55a85ed42baceafa23c66d8ec05d4d1478f | refs/heads/master | 2021-09-21T23:04:43.760615 | 2021-08-02T14:51:05 | 2021-08-02T14:51:05 | 91,406,708 | 34 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | hpp | #ifndef ADOBE_STOCK_IMAGE_SEARCH_HPP
#define ADOBE_STOCK_IMAGE_SEARCH_HPP
#include "image_search.hpp"
class adobe_stock_image_search : public image_search
{
Q_OBJECT
public:
explicit adobe_stock_image_search(QWebEnginePage &page, QObject *parent = nullptr);
void get_search_image_size(std::function<void(s... | [
"thamngapwei@gmail.com"
] | thamngapwei@gmail.com |
5de835cef43d167ae3fcab4c03f095347b9d26fd | 022318f4accd2bfcbb2d1be48df5160235932891 | /Stars45/MsnEditDlg.h | 3a76086debf490b4219ce8b54802e9af7e1ac565 | [] | no_license | The-E/Starshatter-Experimental | 9bb119708a5c51c235b2c81bff748a5429b6fcbd | 8cdf60be808a69390b84a8788cbe3c1e8d36158a | refs/heads/master | 2016-09-06T11:03:47.002419 | 2012-05-30T12:29:22 | 2012-05-30T12:29:22 | 4,463,716 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,930 | h | /* Project Starshatter 4.5
Destroyer Studios LLC
Copyright © 1997-2004. All Rights Reserved.
SUBSYSTEM: Stars.exe
FILE: MsnEditDlg.h
AUTHOR: John DiCamillo
OVERVIEW
========
Mission Editor Dialog Active Window class
*/
#ifndef MsnEditDlg_h
#define MsnEditDlg_h
#include "Types.h"
#include ... | [
"fwoltermann@gmail.com"
] | fwoltermann@gmail.com |
8a2ba7c5553a6267aced4e359dd41dd1693bd367 | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/engine/client/library/clientGame/src/shared/object/ClientObject.cpp | f9908e490cbe3775446cab0ec25ad31a49fc429e | [] | 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 | 58,909 | cpp | /**
* ClientObject.cpp
*
* Copyright 2001 Sony Online Entertainment
*/
/* Implementation file for the client side version of ClientObject */
#include "clientGame/FirstClientGame.h"
#include "clientGame/ClientObject.h"
#include "LocalizationManager.h"
#include "clientAudio/Audio.h"
#include "clientGame/CellObje... | [
"swgmaster@india.com"
] | swgmaster@india.com |
4d554867249a55b4bbbb607508eec400df4fa2cf | 0ecb5f6911965c08b8a4d4297a10584b2e720310 | /Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/splitviewh.h | d5584e4bc1d65c95e0722eda199233a726ecfe3a | [
"Apache-2.0"
] | permissive | danodus/studioengine | 01c368835f8f8503b9ced298ec5da927621be67c | 1a18d373b26575b040d014ae2650a1aaeb208a89 | refs/heads/main | 2023-05-26T11:13:11.355483 | 2021-05-27T15:17:06 | 2021-05-27T15:17:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,461 | h | //
// splitview.h
// MDStudio
//
// Created by Daniel Cliche on 2013-09-09.
// Copyright (c) 2013-2020 Daniel Cliche. All rights reserved.
//
#ifndef SPLITVIEWH_H
#define SPLITVIEWH_H
#include <functional>
#include <memory>
#include "view.h"
namespace MDStudio {
class SplitViewH : public View {
public:
... | [
"dcliche@meldora.com"
] | dcliche@meldora.com |
e0794104dc5b4bd1269b5e5706a13c7d1632d4eb | 7d94b94ddf00e5965b179360274a6ede021f6e09 | /Software/IPGlasma-Ubuntu/src/Lattice.cpp | 205703f354f73f85163f76536b6041e208dd8607 | [] | no_license | sh-lim/SHINCHON | aae619e9cddc2d24726df154ca6c78f4791ac581 | 0370c204126943bc1a216114b0aab3a960f26bea | refs/heads/master | 2023-03-17T06:25:23.648411 | 2023-03-09T13:01:57 | 2023-03-09T13:01:57 | 231,025,105 | 0 | 3 | null | 2023-03-09T13:01:59 | 2019-12-31T04:23:27 | C++ | UTF-8 | C++ | false | false | 1,670 | cpp | #include "Lattice.h"
//constructor
Lattice::Lattice(Parameters *param, int N, int length)
{
Nc = N;
size = length*length;
double a = param->getL()/static_cast<double>(length);
cout << "Allocating square lattice of size " << length << "x" << length << " with a=" << a << " fm ...";
// initialize the array of... | [
"shlim1986@gmail.com"
] | shlim1986@gmail.com |
e5172f6b0748358340d498192194474118767855 | 32008c385f0f676714133fcddc8904b180b379ae | /code_book/Thinking C++/master1/Chapter 3/Ex/Ex14.cpp | 897a11527759c3b34cc277f4ef8fb0abfeb37bf4 | [] | no_license | dracohan/code | d92dca0a4ee6e0b3c10ea3c4f381cb1068a10a6e | 378b6fe945ec2e859cc84bf50375ec44463f23bb | refs/heads/master | 2023-08-18T23:32:30.565886 | 2023-08-17T17:16:29 | 2023-08-17T17:16:29 | 48,644,403 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 634 | cpp | //: EX03:Ex14.cpp
// Измените программу Ifthen.cpp так, чтобы в ней использовался тернарный
// условный оператор (?:)
#include <iostream>
using namespace std;
int main() {
int i;
cout << "type a number and 'Enter'" << endl;
cin >> i;
(i > 5)?(cout << "It's greater than 5" << endl):(((i < 5)?(cout << "It... | [
"jimmy.han@enflame-tech.com"
] | jimmy.han@enflame-tech.com |
3f58bd434bd381e11483c44898d16e34dda242c3 | 9aefe1ad1b44d46b0c43e38954c2dc9505b3f4ea | /include/Hardware/AXP803.hpp | 487abed9f7eda5c3f5652356265e244aac9927d7 | [
"MIT"
] | permissive | Lichtso/UnikernelExperiments | 6cc4a87e7459c69fd3f79198f60d8a08042081b1 | 430a5d50a3420d90b48a36181e9b5d5b8a9dae26 | refs/heads/master | 2020-05-21T16:44:47.394207 | 2017-03-10T15:27:34 | 2017-03-10T15:27:34 | 62,720,631 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | hpp | #include <Hardware/AllwinnerRSB.hpp>
struct AXP803 {
static const struct Instance {
Natural16 hardwareAddress;
Natural8 runTimeAddress;
} instances[];
static void initialize() {
auto rsb = AllwinnerRSB::instances[0].address;
rsb->deviceAddress.hardwareAddress = instances[0]... | [
"AlexanderMeissner@gmx.net"
] | AlexanderMeissner@gmx.net |
37a123b0075f714702ed786db2dec1e7947c35ec | 988975761bd236e40d5d45ab31c6360a8c6519c0 | /11ReturnStatement.cpp | 6f8a7a31732db1b7d39609cc877adc06e77d035e | [] | no_license | prash2511/Cpp | 02d35fe0cbcc9809bb4c86238c0e9764c40c4b08 | d84115b8f3cadc685a4752cbc0b1b5a575f2c61a | refs/heads/main | 2023-06-24T11:41:00.971497 | 2021-07-31T16:26:02 | 2021-07-31T16:26:02 | 358,472,647 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 181 | cpp | #include<iostream>
using namespace std;
double cube(double n);
int main()
{
cout<<cube(4);
return 0;
}
double cube(double n)
{
return n * n * n;
}
| [
"noreply@github.com"
] | prash2511.noreply@github.com |
8977de9e179aa65a649f835f2ddcc830f7ddfb5d | cdc3c2ef6dae84e544db0d3d2fad4a632ab00946 | /src/qt/bitcoinunits.h | dba50aa3c0ed3af7d173a418e6cde9a03dea25d9 | [
"MIT"
] | permissive | gokhankocak/KadiCoin | fbdf89803518f2fa71fc0ab77e92d9e9d48abcc2 | 3edb98e5cf3e713264b9f8db8109fa81e978461b | refs/heads/master | 2021-04-29T13:19:08.330409 | 2018-02-21T13:55:55 | 2018-02-21T13:55:55 | 121,748,932 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,065 | h | // Copyright (c) 2011-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.
#ifndef BITCOIN_QT_BITCOINUNITS_H
#define BITCOIN_QT_BITCOINUNITS_H
#include "amount.h"
#include <QAbstractListModel>
#incl... | [
"gokhan.kocak@mail.ru"
] | gokhan.kocak@mail.ru |
bf79ce838da4c41b29abaa0da1601ffe129dbc5c | a46f0db998f10122b13e2ebfb1b5445331bdd5f4 | /libcurv/reactive.h | 0010c98d4845138391c41956310fe0402fa723b2 | [
"Apache-2.0"
] | permissive | daitomanabe/curv | de4ed6418cf85128358bcde632cd322949127f88 | 4aaca4ee3c384c9a21e8731fb8b6d927c5172147 | refs/heads/master | 2020-12-04T14:33:32.744816 | 2020-01-03T16:03:26 | 2020-01-03T16:03:26 | 231,802,056 | 1 | 0 | Apache-2.0 | 2020-01-04T17:29:11 | 2020-01-04T17:29:10 | null | UTF-8 | C++ | false | false | 1,552 | h | // Copyright 2016-2019 Doug Moen
// Licensed under the Apache License, version 2.0
// See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0
#ifndef LIBCURV_REACTIVE_H
#define LIBCURV_REACTIVE_H
#include <libcurv/sc_type.h>
#include <libcurv/function.h> // prereq of meaning.h
#include <libcurv/m... | [
"doug@moens.org"
] | doug@moens.org |
115e6f6029c728d97601cf65f29957bbc4c39740 | acf9036ca8cd79b286ada3205a630c92d6f177eb | /flashlight/pkg/runtime/Runtime.h | 13e9c7268889f93cbb48b4d10b0ad0c2ee6c1830 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tlikhomanenko/flashlight | f4235e93cd82b586532fc6b97e5e98530efe0bf0 | 7a47aece5d7493dd7b9846f9124424725b06af9d | refs/heads/master | 2022-02-22T20:45:33.197361 | 2022-02-04T18:14:52 | 2022-02-04T18:14:52 | 163,210,433 | 0 | 0 | MIT | 2018-12-26T19:18:46 | 2018-12-26T19:18:46 | null | UTF-8 | C++ | false | false | 1,277 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include "flashlight/pkg/runtime/amp/DynamicScaler.h"
#include "flashlight/fl/flashlight.h"
namespace fl {
nam... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
650c883632f329dc4e76de539b9fcabc80b2f72b | 967834d40ced59148efcb063fd1875ede6efd058 | /Projects/057_ofxSequencer/src/ofApp.cpp | 7d0ca960e8e950fd146bde184b2a46aeed861756 | [] | no_license | idesign0/openframeworks_projects | 28d68e4dcbfad4780c8290a924f0e4fd4d0a19b7 | b18bf2c62372d0b1553c7f061be78468b7240484 | refs/heads/master | 2023-01-01T18:49:27.479742 | 2020-10-25T05:12:02 | 2020-10-25T05:12:02 | 279,644,608 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
gui.setup();
gui.add(uiBpm.set("BPM", 120, 60, 240));
seqRadius.set("radius", 32, 0, 256);
sequencer.setup(16);
sequencer.addRow(&seqRadius);
sequencer.setSmooth(true);
sequencer.start();
}
//-----------... | [
"dhruvpatel2991998@gmail.com"
] | dhruvpatel2991998@gmail.com |
d9fd4d07c2bd8e31fd37c6c93e0808fa790b5004 | 95178a35789ba02b6da431ac3f87073b37cd7727 | /workspace/src/ros_cot/ros_cot_bridge/src/include/Math/Interval.hpp | ed59e3dca7cdea0c82fb0cb255704f68c1ae443a | [] | no_license | westpoint-robotics/ros-cot | 53702cd8b7d06e59644f7bc081bc25523e62d693 | b3929f7d825030548006e07d51820b0864bbaba9 | refs/heads/master | 2023-01-02T04:53:56.493727 | 2020-03-27T17:06:11 | 2020-03-27T17:06:11 | 305,213,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | hpp | #pragma once
namespace ARL {
namespace Math {
/** A class to represent an interval from min to max.
*
* Intervals may be open or closed at either limit:
*
* (min,max)
* (min,max]
* [min,max)
* [min,max]
*/
template <class T>
class Interval {
public:
Interval(const T& value, bool open = fa... | [
"jps263@psu.edu"
] | jps263@psu.edu |
6e41b5bd3a14de9a7c68965bff6dfc4825018050 | 3b1c9f9ce97153fd795bf2999f896893897a9352 | /PJBeside/src/Conserje.cpp | 88900d14686feaf8e03b4b176dafe3340a926123 | [] | no_license | Jeannix/Betadelabetadelaalpha | c1dc1d0748e71c15dbfb0227d046511f65a8b1ca | 816b24ab3bd68bfeb7c29d3f332264baef9c0454 | refs/heads/master | 2021-01-22T20:35:19.675541 | 2018-01-31T14:16:11 | 2018-01-31T14:16:11 | 85,333,596 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include "Conserje.h"
Conserje::Conserje(const string minombre, const string miempleo, Cumpleanho mybirthday, const int miSalario)
:Persona(minombre, miempleo, mybirthday), salario(miSalario) {}
int Conserje::getEdad()
{
int esteanho = 2017;
int estemes = 6;
int estedia = 1;
int laedad = est... | [
"noreply@github.com"
] | Jeannix.noreply@github.com |
74f49d0e00edc5d3e604a146e998779a93e89099 | feda1d60669dbbae5351c26f15330f2fe23cb9fd | /Algo/3108.cpp | f53cc6ba588665529e1959f3796e00999d4cdd51 | [] | no_license | YKHANY/Algo | 13bccb8b19467292948ba147795b09c3881d07a2 | 05d154a48169c9d15a45c7292216f1967d96a76a | refs/heads/master | 2020-05-23T08:18:29.508347 | 2016-10-07T09:33:36 | 2016-10-07T09:33:36 | 70,221,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,979 | cpp | //
// 3108.cpp
// Algo
//
// Created by younghan on 2016. 10. 7..
// Copyright © 2016년 younghan. All rights reserved.
//
#include <stdio.h>
#include <queue>
using namespace std;
int n;
int map[1111][1111];
bool adj[1111][1111];
bool visited[1111];
queue<int> q;
void bfs(int start)
{
q.push(start);
while(!... | [
"younghan1668@gmail.com"
] | younghan1668@gmail.com |
fe2ff364fed96938c1b15da7d3d89ade097e650f | 7aab5715b0a8e846914dfa24dcc5b994e92e947f | /vsProject/paint3D/CubeMap.h | 8cfe9eb88dabfd9d1c57df74762a3a7fe3ce1f4b | [] | no_license | AmesianX/Paint3D-QT | 24e0fa193d83ee226d8eef814a402c97cafb7a5d | 52de149f7d9cbc051780c8dde060df1603b1e435 | refs/heads/master | 2021-02-07T18:20:39.472451 | 2019-06-28T05:42:12 | 2019-06-28T05:42:12 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,865 | h | #pragma once
#define ENV_MIP_LEVELS 7
class CubeMapLayer
{
public:
CubeMapLayer() {}
CubeMapLayer(QImage cubeImg[6]);
CubeMapLayer(const QSize& size);
CubeMapLayer& operator=(const CubeMapLayer& other)
{
for (int i = 0; i < 6; i++)
{
cubeImgs[i] = other.cubeImgs[i];
cubePixel[i] = (QRgb*)cubeImgs[i].bi... | [
"549088764@qq.com"
] | 549088764@qq.com |
eb00b81b50a626d08620d3c553410fc36337bf0b | d1650242d0749cd2aff3078a2591a188b0be3a58 | /Advanced/AA1036/AA1036/main.cpp | be6c3e18982f0673c743f12a4002a4d02ab33b07 | [
"MIT"
] | permissive | Eric-Ma-C/PAT-Advanced | d92e1503b4e14a7a62964df7afd3b098573daba3 | ea8b46a780a04b46ab35ebd06c4bf19c3a664380 | refs/heads/master | 2020-09-11T10:26:50.288469 | 2019-11-16T03:31:12 | 2019-11-16T03:33:45 | 222,035,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | #include<stdio.h>
#include<set>
#include<string>
using namespace std;
set<string> course[2502];
int main(){
int n,k;
scanf("%d %d",&n,&k);
for(int i=0;i<n;i++){
char name[5];int num;
scanf("%s %d",name,&num);
int a;string ns(name);
for(int j=0;j<num;j++){
scanf("%d",&a);
course[a].insert(ns);
}
}
f... | [
"eric315@qq.com"
] | eric315@qq.com |
bac358a61c490a4fb6637a77858fc2e1410d3b81 | 6e0d31092a723ed66efcf3da72322a81e7487bb1 | /C++/result/Result.cpp | 501b85e66150c2b88d4fe9dcfa7d64bd3e4727f4 | [
"MIT"
] | permissive | ankitpatel9300/ece2025_3025 | 650c31dae0fa94886ecf69da99321aff2166b7f7 | 569bfbd759b9070b9bbf0ae2924e16fa76999824 | refs/heads/master | 2021-07-06T00:13:54.262132 | 2020-10-01T22:39:05 | 2020-10-01T22:39:05 | 189,265,047 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,341 | cpp | /*
* Result.cpp
*
* Created on: Jun. 30, 2019
* Author: ankit
*/
#include<iostream>
#include<iomanip>
#include "Result.h"
using std::string ; using std::cout; using std::cin;
using std::endl; using std::cerr;
Result::Result(string name) //Result constructor
{
setCourseName(name);
}
v... | [
"ankitpatel9300@gmail.com"
] | ankitpatel9300@gmail.com |
439537c6c03d9fe255ab854d96bcd2931645ec44 | 6ce8ea71d7571bcce4d9c777d78710db3c0f808a | /C&C++/PAT/code/AdvancedLevel/1003.cpp | 61b08cebb7f7f2eeb97b7382a580c3e2dc52f8f2 | [] | no_license | Drrany/Algorithms_Code | 550057888dcf3c3c3797a6004590c00ea4baf65f | c68de942f9f46fae0b42bd8c3293846e6a7e2be3 | refs/heads/master | 2023-03-23T09:33:46.097869 | 2021-03-15T12:48:57 | 2021-03-15T12:48:57 | 289,410,041 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,107 | cpp | // 方法1:迪杰斯特拉
#include <bits/stdc++.h>
using namespace std;
const int MAXSIZE = 510;
int G[MAXSIZE][MAXSIZE]{};
int main() {
int n, m, s, d;
cin >> n >> m >> s >> d;
int *teams = new int[n];
int *wt = new int[n]{};
for (int i = 0; i < n; ++i)
cin >> teams[i];
wt[s] = teams[s];
int... | [
"deelhu370@gmail.com"
] | deelhu370@gmail.com |
7909cee2afe6309905f12836f184aad0fbb8771c | cace7d9c9a4483cd744cd994201ab44a255ebec3 | /Player.h | a46c2aa3ab6ac47c6e66d33590f2a5f27f4dd85b | [] | no_license | mhayter/Blackjack_Simulator | c3bbe1373bc98c3a7b0f2ef28247c1794d76e416 | d1940f24c6e6813ed84a105f386025d6433c2619 | refs/heads/master | 2021-01-10T06:29:18.655757 | 2016-04-06T08:35:49 | 2016-04-06T08:35:49 | 55,589,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,849 | h |
#ifndef PLAYER_H
#define PLAYER_H
#include "Hand.h"
#include "Deck.h"
#include "Dealer.h"
class Player {
public:
Player(): nWagers(0), handPlace(0), money(1000), wager(STANDARD_WAGER) {
}
virtual ~Player() {}
virtual void play(Deck &deck, const Card& upCard)=0;
void lose() {
money-= hands[ha... | [
"mhayter@umich.edu"
] | mhayter@umich.edu |
bf99eb6ff10b406b39578da0a9176c36f9a57cba | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /content/browser/devtools/devtools_video_consumer.h | fe4ab8181c9523932777ee38ae1a056ff5e83848 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 3,729 | h | // Copyright 2018 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 CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_VIDEO_CONSUMER_H_
#define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_VIDEO_CONSUMER_H_
#include <memory>
#include "base... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
19f2fb88d2596dccbbf4470331195b81374c3944 | d1244e17ba16c0aeec9dbf3e0f3ca24f7e4d1b25 | /jni/finnstr.libgdx.liquidfun.ParticleBodyContact.cpp | 44202d1c3940d71ec1230d55758988d68b5fbc46 | [] | no_license | finnstr/gdx-liquidfun-extension | ac4b899940ac10d112eb9492e3d6fce6220771b8 | 65659ab49d54aa8426e78aae76cb730cad5bf914 | refs/heads/master | 2020-12-24T13:35:51.293736 | 2016-05-26T22:21:56 | 2016-05-26T22:21:56 | 21,162,603 | 72 | 28 | null | null | null | null | UTF-8 | C++ | false | false | 1,812 | cpp | #include <finnstr.libgdx.liquidfun.ParticleBodyContact.h>
//@line:10
#include <Box2D/Box2D.h>
JNIEXPORT jint JNICALL Java_finnstr_libgdx_liquidfun_ParticleBodyContact_jniGetIndex(JNIEnv* env, jobject object, jlong addr) {
//@line:33
b2ParticleBodyContact* contact = (b2ParticleBodyContact*)addr;
return contac... | [
"finne96@googlemail.com"
] | finne96@googlemail.com |
b469995f7e2aa246c66cbc0577b7a1d346497e61 | 97c3a0cdc0894e08d2afebbd1a6e86e3233312d2 | /data/schunk_canopen_driver/src/icl_hardware_canopen/src/icl_hardware_canopen/examples/simple_example.cpp | 04585f8189f90ca612fee3674a4498418df03b0f | [
"MIT",
"BSD-2-Clause"
] | permissive | elbaum/phys | 139c17d9e4a5ed257657be9e5a3b4c580c460448 | 6ac580323493a5c6bb6846d039ae51e9ed1ec8b6 | refs/heads/master | 2020-03-21T13:25:09.513340 | 2018-06-24T21:05:43 | 2018-06-24T21:05:43 | 138,604,505 | 0 | 0 | MIT | 2018-06-25T14:15:26 | 2018-06-25T14:15:26 | null | UTF-8 | C++ | false | false | 14,149 | cpp | // -- BEGIN LICENSE BLOCK ----------------------------------------------
// This file is part of the SCHUNK Canopen Driver suite.
//
// This program is free software licensed under the LGPL
// (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
// You can find a copy of this license in LICENSE folder in the top
// directory... | [
"jpwco@bitbucket.org"
] | jpwco@bitbucket.org |
2e9c5145fb9025113113241405814d33edfb1314 | f2122a08eb7d1ce80247665387700262a716d17f | /lca/lca.cpp | dcf6505e267a23bdedb460b5f2dd92d5e518a02b | [] | no_license | fullymad/c_cpp_utils_practice | 82fc9c4e3a952ba2e2a6302f7d5d8b063df47d5b | 2ac74e77b1b8d3059a977788269f7430bf2736ab | refs/heads/master | 2021-05-05T12:08:40.097596 | 2019-08-26T01:58:38 | 2019-08-26T01:58:38 | 118,211,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,000 | cpp | /******************************************************************************
https://www.hackerrank.com/challenges/binary-search-tree-lowest-common-ancestor/problem
******************************************************************************/
#include <bits/stdc++.h>
using namespace std;
class Node {
public:... | [
"madhu_narasimhan@hotmail.com"
] | madhu_narasimhan@hotmail.com |
f1aff9875bba61346bca74abb495deb50b747736 | 29f1798615c88309a115e8adaf21d9e737c5531e | /test/gaussian_filter/unscented_kalman_filter_test.cpp | cd2570346f88ce4316c9b5e7aa075f7163910e39 | [
"MIT"
] | permissive | SimonEbner/fl | 8b131372d8137a0d681fad30196d5c6e35a391f8 | 1877a415f52aacdfa082846a38f9db321b53ff1e | refs/heads/development | 2021-01-22T15:12:12.049097 | 2015-11-27T11:50:36 | 2015-11-27T11:50:36 | 39,135,425 | 0 | 0 | null | 2015-07-15T12:25:35 | 2015-07-15T12:25:35 | null | UTF-8 | C++ | false | false | 2,440 | cpp | /*
* This is part of the fl library, a C++ Bayesian filtering library
* (https://github.com/filtering-library)
*
* Copyright (c) 2015 Max Planck Society,
* Autonomous Motion Department,
* Institute for Intelligent Systems
*
* This Source Code Form is subject to the terms of the MIT License (MIT).
... | [
"jan.issac@gmail.com"
] | jan.issac@gmail.com |
60003dc88715f9a5da7497d3ac6c6e050a1cc66d | b53f1953f5520e5208f34bb87d42d86ead33dba6 | /src/Platform/Code/Components/UIFramework/interface/QCommonControlBase.h | d6c0cfe7454f4f8ea0c1a7a6a1c45fdd266256b2 | [] | no_license | Jonkoping/data | e01b2ded3335742165ea3feb9c06e0d111ab5fb7 | 03de309b5f7998f394b2ed1d8b0bc0114ca686f3 | refs/heads/master | 2020-06-30T18:24:29.032625 | 2018-01-04T09:18:55 | 2018-01-04T09:18:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,971 | h | ///////////////////////////////////////////////////////////
// QCommonControlBase.h
// Implementation of the Class QCommonControlBase
// Created on: 12-Feb-2007 17:38:04
// Original author: Alan tu
///////////////////////////////////////////////////////////
#if !defined(EA_36791279_4E20_4158_9DF4_05883... | [
"faulfish@gmail.com"
] | faulfish@gmail.com |
07f9efcaf7f7febb2553cd8c9248120368c3d4ee | fa5b582ea330470071c36f8aa0269b4a79ba211e | /src/main/avikodak/sites/codeforces/chewbaccaandnumber.h | 094f85ca86a3829dbb55f3d870c19484367ebc49 | [] | no_license | umairsajid/algos_v2 | a5cb68a9163cb5483e7b5bd410acbd38115db423 | a3aea98a698b9723693dcb23794be09fbc4e7cd5 | refs/heads/master | 2020-12-26T00:36:12.711989 | 2015-12-17T05:34:11 | 2015-12-17T05:34:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,620 | h | /****************************************************************************************************************************************************
* File Name : chewbaccaandnumber.h
* File Location : D:\projects\cpp\algos_v2\src\main\avikodak\sites\codeforces\chewbaccaandnumber.h
... | [
"avinashk@vaycayhero.com"
] | avinashk@vaycayhero.com |
1352ca9535a54d04d6cec7869f5e6e6d6becfd03 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/PrintInterpreter/UNIX_PrintInterpreterMain.cpp | e2941aba13065e2b0e8e84e9f61a027b2d9ebc21 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,201 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
52372670f167fcc768d9fe6928925839bec3c635 | 30a9b10558e71bf05128c2aff3eee23298ebcbe4 | /external/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp | 6b6ae019ad59d573c373c29f1f481a52b0af10cc | [
"BSL-1.0"
] | permissive | obergner/wally-io | e404718ddc585cedfd31cbcf720f143280d0b798 | ece72f22f24c7b91dc6338be18c1cf8c766a7acc | refs/heads/master | 2020-04-12T06:41:17.001595 | 2020-02-02T17:21:02 | 2020-02-02T17:21:02 | 37,421,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,764 | hpp | //
// detail/win_iocp_socket_recvfrom_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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.... | [
"olaf.bergner@gmx.de"
] | olaf.bergner@gmx.de |
03242feb8ee24326b006dc2bcde8619daa23718e | 97475e5281179e853937dbeafeb3b09146888bec | /2020 Round F/KickstartRoundFQ12020.cc | 9bb0fad3852930853423ef0297fa82bd8419145c | [] | no_license | SunnyCheng1125/Google-Kickstart-PastQ | e727cdbb0bf0a0e52f1966e8da6c0f3a0b306cb0 | 8d884944e261c803d9826595c2149114c927ac8d | refs/heads/master | 2022-12-23T05:13:12.060971 | 2020-10-02T05:17:44 | 2020-10-02T05:17:44 | 298,229,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,178 | cc | /*
* Revise by using vector<pair<int,int>>, inspirited by https://codingcompetitions.withgoogle.com/kickstart/submissions/000000000019ff48/em9ybQ
*/
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
int testCases, persons, money, tmp;
vector<pair<int, int>> queue;
... | [
"noreply@github.com"
] | SunnyCheng1125.noreply@github.com |
d29bb701cb32e6d238f0644e576283fa3cf855c8 | c97cca3228fbf989f03d7eedd86668903b811af8 | /370-D-21885614.cpp | 28cdf7c24c399465a95d2da72ae193090218ea9f | [] | no_license | MohamedAboBakr/Codeforces | ca2e9fd0b4c8fcc94f562c599bbe4a3fa7d6575e | e4d98d611e225ceb4fb260cc5d3a87b632e39c96 | refs/heads/master | 2020-03-15T15:51:52.466180 | 2018-05-05T06:44:51 | 2018-05-05T06:44:51 | 132,222,219 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,332 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll ;
int row[2001][2001] ;
int col[2001][2001] ;
int main(){
int n,m,w=0; scanf("%d%d",&n,&m); getchar();
int mnx=2005,mny=2005 , mxx=-1 ,mxy=-1;
char win[n+1][m+1] ;
for(int i=1;i<=n;i++){for(int j=1;j<=m;j++){
scanf("%c",&win[i][... | [
"fares6abobakr@gmail.com"
] | fares6abobakr@gmail.com |
8f1547786791f35da810d64c0ec81902b1ad71d3 | 05c676ea477cc0c5ee4d41df10045fd417d0ffb9 | /Lab5/fileSystem.cpp | 2a3f7346706bbc35a3862ac649a2b8c470ed316a | [] | no_license | zoveale/CSE461 | 3c05f8b691df75a860851a3e1f187ab3a0ada9f8 | 209bc6a8c95f07c1c77216f6ef9001247d1c5cba | refs/heads/master | 2020-08-07T11:20:57.057580 | 2019-12-05T00:07:40 | 2019-12-05T00:07:40 | 213,429,186 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,438 | cpp | #include "fileSystem.h"
FileSystem::FileSystem(
std::string diskname, int numberofblocks, int blocksize) :
Sdisk(diskname, numberofblocks, blocksize),
rootSize(GetBlockSize() / FILE_NAME_SIZE),
fatSize(GetNumberOfBlocks()* FILE_ALLOCATION_SIZE / GetBlockSize()) {
std::string buffer;
GetBlock(1, buffer);
... | [
"zoeveale@gmail.com"
] | zoeveale@gmail.com |
0ccc9f54c2ab9f49e068d1315fa1c6d13b1b9a47 | 98e9d829c69b2996763b5ee644ff8aec4bc858c4 | /Tema_3/T_3_1/Arma.h | 0f7a0830d35abadac205e2d9027bdfb0782066b0 | [] | no_license | Kromrefel/teoria | a803d21ae906de04900db46cf05d84a090eefbbf | 67e24f0b491c56b39239a46fd76a77c9f5745c0d | refs/heads/master | 2020-04-21T12:33:30.752535 | 2019-01-31T09:34:22 | 2019-01-31T09:34:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | h | /**
* @file Arma.h
* Archivo con la declaración de la clase Arma
* @author algarcia
* @date 2015-10-21
*/
#ifndef ARMA_H
#define ARMA_H
#include <string>
using std::string;
/**
* @brief Representación de armas para un juego simple
*/
class Arma
{
private:
int _poder; ///< Poder para infligir d... | [
"algarcia@algarcia-All-Series"
] | algarcia@algarcia-All-Series |
b409b827fd8a84908458639871db091639fab5d3 | abfc37dc655eb980e781d014ed510a38641daee2 | /depends/proto4z/genProto.tools/genLUA.cpp | 7706ab915a73cd8d9abc3960b0e2e17530c94ad7 | [
"MIT"
] | permissive | berlinhuang/zsummerX | 0a10fc411dff66d2df8aa4604de3779458902ca3 | 9c862c380f6aaeb1874e9e9d0d2eb079fba732b1 | refs/heads/master | 2021-01-20T04:26:17.592936 | 2018-01-03T07:30:42 | 2018-01-03T07:30:42 | 89,692,016 | 2 | 0 | null | 2018-01-05T10:55:48 | 2017-04-28T09:43:05 | C++ | UTF-8 | C++ | false | false | 5,323 | cpp | /*
* ZSUMMER License
* -----------
*
* ZSUMMER is licensed under the terms of the MIT license reproduced below.
* This means that ZSUMMER is free software and can be used for both academic
* and commercial purposes at absolutely no cost.
*
*
* ===============================================================... | [
"berlinmail@qq.com"
] | berlinmail@qq.com |
e0d01b346a4551961bc3cf150fc66f1f1eb19ce7 | 6342d79c7a15a39fb513b5c4e530039c3d90020f | /LAB_2.4.cpp | 0f7d0888ce4f8789a695f6977540458f5fdf0a73 | [] | no_license | hoskinson/atp_labs | 544bce0b31b600e5949ceb51ef82d4ffd395c910 | 87bb699feaf25ceb564a0a599706f4e6401301f8 | refs/heads/master | 2022-09-17T23:48:23.382290 | 2020-06-04T14:15:34 | 2020-06-04T14:15:34 | 269,367,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include<iostream>
using namespace std;
int main()
{
char ch;
cout << "Enter any character:";
cin >> ch;
if (ch >= 65 && ch <= 90)
cout << "Character is a capital letter";
else if (ch >= 97 && ch <= 122)
cout << "Character is a small letter";
else if (ch >= 48 && ch <= 57)
cout << "Character is a digit";... | [
"hoskinson14881@gmail.com"
] | hoskinson14881@gmail.com |
229e20619c83f0da688c591565fcc69fd4d0793d | d27a12add8024b04f227a0f3d9c3c7c35872d49a | /Algorithms/Sorting/bottom_up_merge_sort.cpp | f632b95b0b28f127bba483a7577df63e9d4ba262 | [] | no_license | rishit-singh/Hacktoberfest2021 | e1763ce6adfb7109c5e898c1b6cde0ed3664b90d | eb1bb2f646022d7e5b400bdabadb14d303b63fa5 | refs/heads/main | 2023-09-03T13:43:12.079504 | 2021-10-31T20:30:22 | 2021-10-31T20:30:22 | 412,822,804 | 2 | 17 | null | 2021-11-01T05:55:23 | 2021-10-02T14:40:09 | C++ | UTF-8 | C++ | false | false | 1,393 | cpp | //Good for objects that don't perform their own heap allocations on copy construction
#include <vector>
#include <cmath>
template <typename rand_access_container_t, typname element_t>
void merge(rand_access_conatiner_t &buf, std::vector<element_t> &arr, const int left, const int mid, const int right)
{
buf.clear();... | [
"andrew.rubinstein93@gmail.com"
] | andrew.rubinstein93@gmail.com |
3a35f63e701527d218251f876810e6a3e59e127b | c46aafb158e1c45b333e5e2a752660c2efd08f77 | /U2-27.cpp | 41d86767a711f668764375d66a7a6498f37e3eae | [] | no_license | francisco-ruiz/UD2 | e380ccc7e15de9187df06423ae7dbfed253a291f | 0efa7ae1154b3c0180387e4465faa43a5e20c62e | refs/heads/master | 2021-01-10T11:46:26.600871 | 2015-11-26T21:17:05 | 2015-11-26T21:17:05 | 45,180,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | // Ejercicio Línea 27: Calcular la sumatoria de un número n.
#include <iostream>
using namespace std;
int main(){
int numero = 0, sumatoria = 0;
cout << "Por favor, introduzca el número del que desea obtener su sumatoria: ";
cin >> numero;
for (int contador = 1; (contador <= numero); contador++){
sumatoria ... | [
"franqui49@gmail.com"
] | franqui49@gmail.com |
ee6c6b684113159510c011146a2dd7f0cd263c5b | b51d44c65f3a4bee9e86d4ecbd5c82567d7aac17 | /old/filefunc.cpp | 329fb52e979904695d621282b50eeb969d7599d5 | [] | no_license | TheGodOfObelisk/dailystudy | abd59bce783cdec216a5232c4d46d2bebf966252 | 3c88bb3b8dc09b29d8c1c1f47af97709e66305ea | refs/heads/master | 2020-03-28T07:39:59.996483 | 2019-07-25T09:03:34 | 2019-07-25T09:03:34 | 147,916,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
using namespace std;
void file_it(ostream & os, double fo, const double fe[], int n);
const int LIMIT = 5;
int main(int argc, char const *argv[])
{
ofstream fout;
const char * fn = "ep-data.txt";
fout.open(fn);
if (!fout.is_open()){
cout... | [
"1198582189@qq.com"
] | 1198582189@qq.com |
f9a7969445eb25915e8011b4763a7df519b8f1d4 | d035df6deb7747772b08045809870ca5250010bb | /init/init_sdm660.cpp | db717ed8eec90b2be7bafd83845d83b3d2bf38bf | [] | no_license | PixelExperience-Devices/device_asus_X00TD | 24e0893783ce6c636dc43b8d595efa54377bad64 | 7bb93cccc8b8490566069b656ec249e1cd560eb9 | refs/heads/eleven | 2023-08-19T00:54:01.551433 | 2021-08-01T15:14:39 | 2021-10-14T14:32:00 | 189,606,639 | 20 | 54 | null | 2021-01-11T03:07:59 | 2019-05-31T14:22:38 | C++ | UTF-8 | C++ | false | false | 4,069 | cpp | /*
Copyright (c) 2016, The CyanogenMod Project
Copyright (c) 2019, The LineageOS Project
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
... | [
"subins.mani@pixysos.com"
] | subins.mani@pixysos.com |
5881cf13b363a4b9f904ab13275e606d7ec65854 | 05159e869e4b457d78a6f3bc75424557e74d3c23 | /algorithms/red_black_tree/tools.h | fb57577ec673f7c17df2d981ca117fc3b9536f72 | [] | no_license | yuliy/sport_programming | 71b1c15939540561528e4d29eed8d2d90669b54c | 758a3497adaf314a69f7a8a0d0ffd3f9a0f3f2aa | refs/heads/master | 2023-06-23T05:14:26.548770 | 2023-06-14T22:32:17 | 2023-06-14T22:32:17 | 64,036,584 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | h | #pragma once
namespace ystd {
typedef unsigned int ui32;
typedef long long i64;
i64 GetTickCount();
/**
* Usefull class for measuring time intervals in seconds
*/
class TTimePrinter {
i64 Start;
public:
TTimePrinter();
void PrintTime() const;
double GetTime() const;
};
/**
* Usefull class for... | [
"aivyulik@gmail.com"
] | aivyulik@gmail.com |
483aa2f05cfd0d24e306667bb9d9601d58d30da1 | 7b036019d714dc0b7b330cd3645d668b4d6eb797 | /include/common/yaml-cpp/src/scanscalar.h | b8a706b846ff9fbb030e48c8fb3dffac8b2a6485 | [
"MIT"
] | permissive | andres-fernandez-fuks/taller_wolfenstein3D | e06278c0953ab9cfa24d2aceeac6ddcabb4d42e4 | 0c970f5f24345ca2179be246bff93b7c2b78fb5a | refs/heads/main | 2023-03-17T02:01:26.386039 | 2021-03-02T02:06:42 | 2021-03-02T02:06:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,057 | h | #ifndef SCANSCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define SCANSCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#if defined(_MSC_VER) || \
(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
(__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
#pragma once
#endif
#include <st... | [
"fbertolotto@fi.uba.ar"
] | fbertolotto@fi.uba.ar |
cc98502be5d8c1d45a87d5b44a3711cc292d563b | 786ee5ec2863154dd194f2144850a0abdca5947b | /src/njli/Timer.h | 9249a5f5aec4d9fd010ffa989565c0d7c7cde2a6 | [
"MIT"
] | permissive | njligames/Engine | c36076fcf79784354cb75ea23fab461340b084a2 | 899c7b79cea33a72fc34f159134f721b56715d3d | refs/heads/master | 2020-05-20T18:56:30.287559 | 2017-04-06T23:06:18 | 2017-04-06T23:06:18 | 84,506,545 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,710 | h | //
// Timer.h
// JLIGameEngineTest
//
// Created by James Folk on 1/8/15.
// Copyright (c) 2015 James Folk. All rights reserved.
//
#ifndef __JLIGameEngineTest__Timer__
#define __JLIGameEngineTest__Timer__
#include "AbstractBuilder.h"
#include "AbstractClock.h"
#include "AbstractFactoryObject.h"
#include "LinearM... | [
"jamesfolk1@gmail.com"
] | jamesfolk1@gmail.com |
3391307f603aa95710eaaa22dcb1d620f3bd0cbe | b60e5e709ce16c3fc96fc146bc2121ca8f6684a2 | /bfs.cpp | 741adc9489d4154866b06dd5dafb1cf56964daac | [] | no_license | ard1498/Design-and-Algorithms | aabf9dc8d684faa40e959215b9801427181cd06a | 0d186154f5ad2346fdd6be5c0138f7c76ef0df1b | refs/heads/master | 2020-04-01T06:37:36.733701 | 2019-06-11T07:03:02 | 2019-06-11T07:03:02 | 152,956,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | #include<bits/stdc++.h>
using namespace std;
bool vis[1001];
vector<int> g[1001];
void bfs(int s,vector<int> adj[],bool vis[]);
int main()
{
memset(g,0,sizeof g);
memset(vis,false,sizeof vis);
int N;
cin>>N;
for(int i=0;i<N;i++)
{
int u,v;
cin>>u>>v;
g[u].p... | [
"noreply@github.com"
] | ard1498.noreply@github.com |
3aac331b453b32fda982b1284ff641a7b811214d | 0daabdbabc70ef199142e462b7c9d2970e35b83c | /System.h | 9d6aed333f607d91399039bb8646ff4b69d0e843 | [] | no_license | vbruder/Engine | 9baa0b9a1108cd68e92bd876a38c330f4b25ef8a | ed0c22bcc7596836b6ba7f2f47fc75b1b4d15a57 | refs/heads/master | 2023-01-01T12:50:35.463333 | 2020-10-28T10:31:39 | 2020-10-28T10:31:39 | 12,707,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | h | #pragma once
#define WIN32_LEAN_AND_MEAN
// own includes
#include <windows.h>
#include "Graphics.h"
#include "Application.h"
/*-----------------------------------
Class for handling the system.
-----------------------------------*/
class System
{
public:
// Constructor: initialization of members.
System(v... | [
"vbruder@gmail.com"
] | vbruder@gmail.com |
d7dc3080b4681af2ac9cb477ee2beb29a640ae08 | 630f814e34225da621017229a279e0cb250f1204 | /final/digitalsonartest/digitalsonartest.ino | 5457cdade27054d722466a4a7fabc1461bdd91e2 | [] | no_license | wirginiavoolf/physical-computing | f7632784d4bed100b20e286b7bd53730f1a6f6db | fba298065036e20ef6d3499e84b22ff3e2d344ea | refs/heads/master | 2021-01-11T17:43:49.836179 | 2017-05-04T21:09:10 | 2017-05-04T21:09:10 | 79,828,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | ino | //Feel free to use this code.
//Please be respectful by acknowledging the author in the code if you use or modify it.
//Author: Bruce Allen
//Date: 23/07/09
//Digital pin 7 for reading in the pulse width from the MaxSonar device.
//This variable is a constant because the pin will not change throughout execution ... | [
"stephzanie@gmail.com"
] | stephzanie@gmail.com |
eadfe5a588fa919ff054dbad2cba17ed422eca85 | 96db8aa8991b239578cd949069a35c80771054b6 | /EventProcessing/include/LJetsSelection.hpp | b4e1881f97af3832b8d08007ac32ac3f3f70c91d | [] | no_license | andrey-popov/pheno-htt | 37435675a82cea6da9b405339a52ec7444dd30f7 | e6ef12cec5606cbf3e5c8a1224d4170d2ccdbf3b | refs/heads/master | 2021-05-12T00:33:27.694980 | 2019-04-25T12:53:01 | 2019-04-25T12:53:01 | 117,536,495 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | hpp | #pragma once
#include <AnalysisPlugin.hpp>
#include <DelphesReaderBase.hpp>
#include <TLorentzVector.h>
/**
* \class LJetsSelection
*
* A plugin to implement tt -> l+jets selection
*
* Event is required to contain exactly one tight electron or muon, no additional leptons, at least
* four jets, and at least... | [
"rainfinder@gmail.com"
] | rainfinder@gmail.com |
347bd1bcc1caa6043a27883f798c80d1cc24549d | 5a1e69f5002c91a525fe3b9e287334ff5be0cc6a | /Projects/TermProject/shortFinal.cpp | 4ee5b6f58c53e125e12de3288cf923d448e76be4 | [] | no_license | jeremyrios/ComSci-210 | db292958e9fdb0e9492edab3f73e904cc81ed847 | cfd5629286a3eb53349392a2149255b62043ace4 | refs/heads/master | 2021-01-02T22:44:24.882851 | 2014-08-18T20:32:39 | 2014-08-18T20:32:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,848 | cpp | #include <fstream>
#include <iostream>
#include <iomanip>
#include <map>
#include <string>
using namespace std;
#include <cstring>
const char* tab = "\t";
int main()
{
map<string, map<string,int> > myMap; // Map of maps - <subjectCode,<course,count> >
map<string,map<string,int> >::iterator it1; /... | [
"jeremy.rios@berkeley.edu"
] | jeremy.rios@berkeley.edu |
17f59f1877d12c9e6c5913cca9f0254f3e1c1f63 | 7a914f1d1e7a4b4d9757145cac8376bf1f7099d4 | /jsk_recognition/jsk_recognition_utils/include/jsk_recognition_utils/sensor_model/camera_depth_sensor.h | 29d407638ee00b3ec98cbb194e30b5ed1db810ea | [
"Apache-2.0"
] | permissive | usdot-fhwa-stol/autoware.ai | eed15471180f92900413b1a20213263b40acdb3f | 35c2be547269f2843de2ad907cec85abcf598577 | refs/heads/carma-develop | 2023-08-14T07:59:11.546253 | 2023-08-01T20:51:01 | 2023-08-01T20:51:01 | 186,024,768 | 2 | 12 | Apache-2.0 | 2023-08-01T20:51:02 | 2019-05-10T17:03:33 | C++ | UTF-8 | C++ | false | false | 4,120 | h | // -*- mode: c++ -*-
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2015, JSK Lab
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | [
"Michael.McConnell-2@leidos.com"
] | Michael.McConnell-2@leidos.com |
695bbe52e33289cefc1be06a2aaa49e5854e5602 | 5846f60e35a284359b0edc89ddcbf1f18ec76521 | /smart_config/smart_config.ino | 5c1cb8df921935d32cc9d484e9f6bf5e0bc80328 | [] | no_license | phuongnam0907/Arduino-Projects-Old | 023200a309bf042eb92c5c5fb50673ca345646b4 | 911c907cffe1835f4766cbe4e5a4fcce1582f6e6 | refs/heads/master | 2020-04-04T15:51:50.386458 | 2018-11-04T06:20:02 | 2018-11-04T06:20:02 | 156,055,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | ino | #include <ESP8266WiFi.h>
#include <WiFiUdp.h>
WiFiUDP Udp;
void setup() {
int cnt = 0;
//Khởi tạo baud 115200
Serial.begin(115200);
//Mode wifi là station
WiFi.mode(WIFI_STA);
//Chờ kết nối
while(WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
if(cnt++ >= 10){
WiFi.beg... | [
"38576110+phuongnam0907@users.noreply.github.com"
] | 38576110+phuongnam0907@users.noreply.github.com |
61886d2e3e72ad514d24bec224c4fdb465a9b6b9 | 1cdefa4b064a9d12c316d76346d28ecb38de0c5b | /code.cpp | fd4ebb06b48392807798d62a75b6d64cfedeccfc | [] | no_license | SamridhG/Circular-rotation-of-array | a86f43396d9517c5954bd68a2c8620a29b2e668f | 35acc9de742245b5e70b281fe21efd654a8bd73c | refs/heads/master | 2022-11-16T09:25:39.264696 | 2020-06-30T03:29:10 | 2020-06-30T03:29:10 | 275,987,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | #include<iostream>
#include<vector>
using namespace std;
class problem;
class problem{
int N,R,Q,i;
vector<int>A;
public:
problem()
{
cin>>N>>R>>Q;
}
void Array()
{
for(i=0;i<N;i++)
{
int c;
cin>>c;
A.push_back(c);
... | [
"noreply@github.com"
] | SamridhG.noreply@github.com |
4741d9e2e28969ed16b464a45ca6dd166b83946e | 7ce1f6fa4ac17618ddb7967fe205c5ae54ac7f6c | /effect-framework/EffectLoad.cpp | 8bb271458ca216f5f57e29c77b6705f90d7a6290 | [
"MIT"
] | permissive | yanyangxiao/image-triangulation | 0a0da0150b4aac1b0e8aab8d367c139ede84c048 | a5c6830528ce63e1ced28a4f29669fee6d9c9936 | refs/heads/master | 2022-01-13T03:52:11.523202 | 2019-05-17T19:35:51 | 2019-05-17T19:35:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 168,804 | cpp | //////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) Microsoft Corporation. All Rights Reserved.
//
// File: EffectLoad.cpp
// Content: D3DX11 Effects file loading code
//
//////////////////////////////////////////////////////////////////////////////
#include ... | [
"tobias.guenther@inf.ethz.ch"
] | tobias.guenther@inf.ethz.ch |
8fa4f8c507eedabfcad15fd9b241d8f67efa43f0 | 037d518773420f21d74079ee492827212ba6e434 | /blazetest/blazetest/mathtest/dvecdvecouter/OperationTest.h | 27ac725378be365e8eca502bf503d5c9c432630e | [
"BSD-3-Clause"
] | permissive | chkob/forked-blaze | 8d228f3e8d1f305a9cf43ceaba9d5fcd603ecca8 | b0ce91c821608e498b3c861e956951afc55c31eb | refs/heads/master | 2021-09-05T11:52:03.715469 | 2018-01-27T02:31:51 | 2018-01-27T02:31:51 | 112,014,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204,491 | h | //=================================================================================================
/*!
// \file blazetest/mathtest/dvecdvecouter/OperationTest.h
// \brief Header file for the dense vector/dense vector outer product operation test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
80314ae5092e85680dac3543bae5878f02f1366d | 7dc9e6cf896b5840377e3945b1143641c24ea582 | /src/lib/tracer_bridge.cpp | 52879983b58eb40279966105d5d118881f96de1d | [] | no_license | rnburn/python-bridge-tracer | c1482cfb55772490db9bb95c7d90f0716aae4dfe | 35d960e940da91a199965f37d74dca408d54a7db | refs/heads/master | 2023-06-13T16:55:22.177374 | 2019-05-10T19:52:06 | 2019-05-10T19:52:06 | 185,696,708 | 0 | 0 | null | 2019-05-09T00:15:03 | 2019-05-09T00:15:03 | null | UTF-8 | C++ | false | false | 9,766 | cpp | #include "tracer_bridge.h"
#include "span.h"
#include "span_context.h"
#include "utility.h"
#include "python_bridge_tracer/module.h"
namespace python_bridge_tracer {
//--------------------------------------------------------------------------------------------------
// getNumReferences
//----------------------------... | [
"ryan.burn@gmail.com"
] | ryan.burn@gmail.com |
c8f17d4837f66b9e24c619c9a20704e2b6415f68 | 2edfc7fa7f11d528205e6354c6ae99ac12ef702e | /Resistor.h | b7201b3594e192d5b1fc54f7ec6d302c82ddb986 | [] | no_license | Zaidkassar/Resistor-Network | 748e7e290751b5e429fbebe22bce51f1fcf19127 | 9735801b6a2ec513806edccc7f9bf68b718422ee | refs/heads/master | 2021-01-10T14:42:15.910848 | 2016-02-17T04:15:42 | 2016-02-17T04:15:42 | 51,891,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | h | /*
* File: Resistor.h
* Author: kassarza
*
* Created on October 13, 2015, 3:01 PM
*/
/*
* File: Resistor.h
*/
#ifndef RESISTOR_H
#define RESISTOR_H
#include <string>
#include <iostream>
#include <iomanip>
using namespace std;
//Comments in Resistor.cpp
class Resistor {
friend class ResistorList;
... | [
"zaid.kassar@mail.utoronto.ca"
] | zaid.kassar@mail.utoronto.ca |
c413a6db9eebb6bc1e495a81bf388bd8bfa9f931 | 019ee2b17c2e51e2ee8720a24d101cbc70d1d990 | /C++/CPE810C2016F/session04_objects/02eFraction.cc | c92709bad9f3e8f48820bfa0e1ae17443608abbd | [] | no_license | byrnedawg/programming | a676c99f75aaf54b5f4a8880c8403642ab088042 | 3b19c62c568cda5ff94dc87d142fba7feed3a462 | refs/heads/master | 2021-03-24T12:51:07.181785 | 2017-06-30T19:20:38 | 2017-06-30T19:20:38 | 77,976,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cc | #include <iostream>
using namespace std;
class Fraction {
private:
int num, den; // numerator, denominator
public:
Fraction(int num = 0, int den = 1) {
this->num = num; this->den = den;
}
void print() {
cout << num << '/' << den;
}
};
int main() {
Fraction f1(1,2); // 1/2
f1.print(); // 1/2
}
| [
"greg.byrne53@gmail.com"
] | greg.byrne53@gmail.com |
65c50111b37724fd4d45ac5dfdf4809bc0013dea | ac48dc874f5550d03648c28b1eda5720202eb55c | /gps/slim/apss/daemon/SlimDaemonManager.h | 1d1dbcdaac4151a6ba1751cf267aa921ffc5bb7a | [] | no_license | difr/msm8937-8953_qcom_vendor | 464e478cae4a89de34ac79f4d615e5141c40cbcb | 6cafff53eca7f0c28fa9c470b5211423cf47fd40 | refs/heads/master | 2020-03-20T09:58:48.935110 | 2018-05-27T04:13:22 | 2018-05-27T04:13:22 | 137,355,108 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,776 | h | /*
Copyright (c) 2014-2015 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
*/
/**
@file
@brief SLIM Daemon header file
@ingroup slim_APSS
*/
#ifndef SLIM_DAEMON_MANAGER_H
#define SLIM_DAEMON_MANAGER_H
#include <qmislim_common_api.h>
#include <slim_provider_conf.h>... | [
"adithya.r02@outlook.com"
] | adithya.r02@outlook.com |
0e535b617c2eba468dca010c6ec0300057fe82ae | c65c35b789827d284e76364c05921fb2565b678e | /EdgeCollapser.cpp | a806ae449aa1292f8c7d29ba8772d623702702f1 | [] | no_license | ForeverDavid/TetWild | b76cc8d15e038ab55f32b37ed01ff257aa1a4b7f | 838454e0fe479e7fd1fe74673c37f61133dcbf42 | refs/heads/master | 2020-03-14T09:29:21.389605 | 2018-04-27T20:13:25 | 2018-04-27T20:13:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,382 | cpp | //
// Created by Yixin Hu on 4/11/17.
//
#include "EdgeCollapser.h"
void EdgeCollapser::init() {
energy_time = 0;
////cal dir_edge
//find all edges
//check if collapsable 1
//if yes, insert it into queue
const unsigned int tets_size = tets.size();
std::vector<std::array<int, 2>> edges;
... | [
"yh1998@nyu.edu"
] | yh1998@nyu.edu |
96355617c85bd2af1e5c0145fc0c006958b0d5ad | 8b181b104aff3a292023e549f3ea7d00ff54d268 | /DataStructures-Algorithms/Library/Graph/MinCostMaxFlow.cpp | b82c321293b42edf720f4addc5175a522d1da1e2 | [] | no_license | kamal2806/CPP | 6f7d91f3e302fda8950a1d7ee4eb6ddaf65d4efa | 96f6cf34b4e7936dffb943575b0b9839dd9b6698 | refs/heads/main | 2023-07-08T10:49:51.814673 | 2021-08-23T03:12:22 | 2021-08-23T03:12:22 | 398,588,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,511 | cpp | #include <bits/stdc++.h>
using namespace std;
#define gc getchar_unlocked
#define fo(i,n) for(i=0;i<n;i++)
#define Fo(i,k,n) for(i=k;i<n;i++)
#define ll long long
#define si(x) scanf("%d",&x)
#define sl(x) scanf("%I64d",&x)
#define ss(s) scanf("%s",s)
#define pb push_back
#define mp make_pair
#define F first... | [
"noreply@github.com"
] | kamal2806.noreply@github.com |
e9afe3c5b50684313faca405d5b90e3b5b7f855d | 082a51a0a77f832a2c817b2d96051f41ffa5b276 | /classifier_eyes/svm_classifier_eyes.h | 6ccf8a711067d9c69895117e05b3eacdbea25b5b | [] | no_license | mdqyy/DrowsyDriver | 41dd14d6ee3fc8ea1d4a8edc2713a72bfce19cdd | cbfba0d4a427db86fedfc2dad132024d82b10b4e | refs/heads/master | 2020-12-25T21:01:14.329579 | 2013-03-19T16:27:02 | 2013-03-19T16:27:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | h | #ifndef SVM_CLASSIFIER_EYES_H
#define SVM_CLASSIFIER_EYES_H
#include <stdio.h>
#include <string>
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/ml/ml.hpp>
#include <opencv2/highgui/highgui.hpp>
class svm_classifier_eyes
{
public:
svm_classifier_eyes(std::string path_loading_svm... | [
"toropov.evgeny@gmail.com"
] | toropov.evgeny@gmail.com |
b260f6f59fd1c364dd6a9a66fe9ce885c58a330b | 6db5c12667de5f47b159eb6926e19d36ac9b8c59 | /lexer/Real.cpp | 170ca97c9f39a611230e24eb002e4ecffa5b797b | [] | no_license | iOSPrincekin/Compiler_Front_InCPP | 2b0a0fb216f3b6034176ad4b1d440d4f0979768d | 7de28910ec4f7c8dc9ab84607c7ca21841f7876b | refs/heads/master | 2022-04-18T01:51:07.105504 | 2020-04-18T05:56:49 | 2020-04-18T05:56:49 | 256,435,013 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | //
// Created by LEE on 4/12/20.
//
#include "Real.h"
#include "Tag.h"
Real::Real(float v):Token(Tag::REAL){
value = v;
}
string Real::toString() {
std::string s = std::to_string(value);
return s;
} | [
"[2017/11/24 下午12:01:29] live:ad88eae848526aca: benjamin.li@dingtone.me"
] | [2017/11/24 下午12:01:29] live:ad88eae848526aca: benjamin.li@dingtone.me |
644f61f8185f0acf7d29dca9777dbe95337f1eec | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_CHIMERA_SLICE.h | fefcff6dc9a00c8d0e8fc3c90df58e40f20e4dcf | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 3,942 | h | //#####################################################################
// Copyright 2004-2005, Eran Guendelman, Andrew Selle.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#######################################################... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
5e9512866ee7a5bb337cc25b3b53629f92b29e05 | 1bedf9352e81978c6c2a79a953c6c981fe22472e | /src/cytoframeAPI.cpp | 373b1236ae7b05d0da23a227d1dbe9a843f8d6dd | [] | no_license | RGLab/cytoCore | 3784ed7dcd32e56cf11a20f182e1712a9e2a00b3 | 5d9b0316bf15350b6713a9dcade1316ea12c3f21 | refs/heads/master | 2021-04-15T18:37:27.088673 | 2018-04-19T22:02:01 | 2018-04-19T22:02:01 | 126,240,810 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,348 | cpp | #include <cytoCore/pairVectorRcppWrap.h>
using namespace Rcpp;
using namespace cytolib;
#ifdef PRT
bool isOptimum = true;
// [[Rcpp::export]]
Rcpp::XPtr<CytoFrameView> deep_copy_cytoframe(Rcpp::XPtr<CytoFrameView> fr)
{
return XPtr<CytoFrameView>(new CytoFrameView(fr->copy()));
}
// [[Rcpp::export]]
Rcpp::XPtr<Cy... | [
"wjiang2@fhcrc.org"
] | wjiang2@fhcrc.org |
18a0659ffcef72c73791d6a30a0646dcfd3e39f3 | 51c1c5e9b8489ef8afa029b162aaf4c8f8bda7fc | /easyanim/src/easyanimation/frame/FlashLoader.h | d3c7dc7bd8676f882cc08610950fb1e19af7f053 | [
"MIT"
] | permissive | aimoonchen/easyeditor | 3e5c77f0173a40a802fd73d7b741c064095d83e6 | 9dabdbfb8ad7b00c992d997d6662752130d5a02d | refs/heads/master | 2021-04-26T23:06:27.016240 | 2018-02-12T02:28:50 | 2018-02-12T02:28:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | h | #ifndef _EASYANIM_FLASH_LOADER_H_
#define _EASYANIM_FLASH_LOADER_H_
#include <ee/Sprite.h>
#include <rapidxml.hpp>
#include <string>
#include <map>
namespace eanim
{
class Layer;
class KeyFrame;
class FlashLoader
{
public:
static void Load(const std::string& filepath);
private:
static Layer* LoadLayer(rapidxml... | [
"zhuguang@ejoy.com"
] | zhuguang@ejoy.com |
2382abc6671e741006d659593c0e9474076b9bb1 | 150c9a12b0911d9747b052cbbfe6e49f4faa75e5 | /Bit Magic/Set Kth bit __ Sankalp.cpp | 8f2e90a92161e7def496a536a0245556d701bdba | [] | no_license | theorangeguy1999/GFG-Must-do | f052f7bd04cd703c1b2c783711e53115b36f2663 | a17ff934d058c45c6ac5807bacf9df36c402c245 | refs/heads/master | 2023-06-19T23:48:32.253384 | 2021-07-21T14:04:05 | 2021-07-21T14:04:05 | 281,478,682 | 8 | 11 | null | 2021-07-21T11:36:46 | 2020-07-21T18:50:56 | C++ | UTF-8 | C++ | false | false | 527 | cpp |
#include<bits/stdc++.h>
#define ll long long
#define mod 1000000007
#define ff first
#define ss second
#define pb push_back
#define INF 1000000000
#define MOD 1000000007
#define int long long
#define un_map unordered_map
#define un_set unordered_set
using namespace std;
int X[] = {-1,-1,0,1,1,1,0,-1};
int Y[] = {0... | [
"noreply@github.com"
] | theorangeguy1999.noreply@github.com |
336edada24bbcde9fdde372e5f7e4275433e8c16 | e08f477c32824d1f231b5e9f90451de62b8f9d70 | /tp1/tp1_2014/so_tp1-master/entregable/codigo/sched_lotteryc.h | 7be410112f4a2e5da994aa79c9406e168ffd94e7 | [] | no_license | guidotripodi/ssoo_tps | 5c324bdb0e4963297c3f8df800586854138295f5 | 49f9086223a5ab3fcd1b5550373457d32ef1deb6 | refs/heads/master | 2020-04-06T04:34:00.138629 | 2015-11-22T20:48:06 | 2015-11-22T20:48:06 | 40,827,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | h | #ifndef __SCHED_LOT__
#define __SCHED_LOT__
#include "basesched.h"
class SchedLotteryC : public SchedBase {
public:
SchedLottery(std::vector<int> argn);
~SchedLottery();
virtual void load(int pid);
virtual void load(int pid, int deadline);
virtual void unblock(int pid);
virtual int tick(int... | [
"guido.tripodi@hotmail.com"
] | guido.tripodi@hotmail.com |
2f33017defca30c2681a68974510ccbde2638342 | 32f266bbafa04a3300bbd56bd6a12bf928620699 | /r025.cpp | 311f56a1a95d72ec6dfebc3bd46011858961dcd9 | [] | no_license | karthikpdodderi/enigma | 77732d0dce80a8418de7e1470a079439c275dde7 | 9d8242b9432ed212b089afa79e77835c85b916c6 | refs/heads/master | 2023-01-31T00:01:03.249624 | 2019-01-25T15:40:45 | 2019-01-25T15:40:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | #include<stdio.h>
#include<iostream>
#include<stdlib.h>
#include<time.h>
using namespace std;
int main()
{
srand(time(0));
int ar[26];
int i,flag,num,j;
flag=0;
for(i=0;i<26;i++)
{
while(1)
{
num=(rand()%26);
flag=0;
for(j=0;j<i;j++)
{
if(ar[j]==num)
{
flag=1;
break;... | [
"noreply@github.com"
] | karthikpdodderi.noreply@github.com |
8a85e6d15247d297635e4ccc40642ee22d412774 | 78b56332ebc8fdb14e9a9433c031f5ed35f43c94 | /src/server/H2SMonitorClient/qwaitwidget.h | b2bcd59fc57f00be35c9b23d67946bcb6d16484a | [] | no_license | xiezhaoHi/guolujiance_server | 0b43c193d32851f8e59af21a8b58cd4335138e5f | e3ac88b95cadc2eaa8aea167e17b356cdc32708f | refs/heads/master | 2021-05-14T14:21:26.081310 | 2018-12-11T08:39:54 | 2018-12-11T08:39:54 | 115,968,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | h | #ifndef QWAITWIDGET_H
#define QWAITWIDGET_H
#include <QDialog>
class QWaitWidget : public QDialog
{
Q_OBJECT
public:
QWaitWidget(QWidget *parent = 0);
~QWaitWidget();
QMovie *m_movie ;
};
#endif // QWAITWIDGET_H
| [
"15182911195@163.com"
] | 15182911195@163.com |
3494ae470d914734d0ec46ae5f9f79304646bb76 | e1db5886090fe5737507046ddbaf47a962ff56ae | /src/ofApp.h | f8edaf35f8e91cf3bf624d6dead76cb500c45eac | [] | no_license | m9dfukc/helloOfxLearn | 27f6eabef3867aa74a396d3acdf696a33afbf61e | 2b908e30944f9aebed6dd030daa567082d084203 | refs/heads/master | 2021-01-13T14:54:25.794031 | 2016-12-14T14:23:25 | 2016-12-14T14:23:25 | 76,465,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | h | #pragma once
#include "ofMain.h"
#include "ofxLearn.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 mousePress... | [
"andreas@invertednothing.com"
] | andreas@invertednothing.com |
32309ba5ca6a8011b605ad557c508a527c681d89 | 25e826022550f3ee197018b7caf13f034141b425 | /ThirdParty/ViSP/include/mtf/ThirdParty/ViSP/ViSP.h | a800f92ed5171d7283aa15e02826d1f234fc6a22 | [
"BSD-3-Clause"
] | permissive | siqiyan/MTF | c7ecab05228714be0be09e200650e70fa7eeb176 | 9a76388c907755448bb7223420fe74349130f636 | refs/heads/master | 2022-04-20T22:17:06.090391 | 2020-04-23T07:09:01 | 2020-04-23T07:09:01 | 256,113,963 | 1 | 0 | BSD-3-Clause | 2020-04-16T05:02:00 | 2020-04-16T05:01:59 | null | UTF-8 | C++ | false | false | 1,700 | h | #ifndef MTF_VISP_H
#define MTF_VISP_H
#include "mtf/TrackerBase.h"
#include <visp3/tt/vpTemplateTrackerWarp.h>
#include <visp3/tt/vpTemplateTracker.h>
#include <memory>
struct ViSPParams{
enum class SSMType{
Homography, SL3, Affine,
Similarity, Isometry, Translation
};
enum class SMType{
FCLK, ... | [
"asingh1@ualberta.ca"
] | asingh1@ualberta.ca |
558d7a8d71d47510053d57801c671eec1e76c8e4 | c96a7fa3c2c05faa7918701ad592c8a7bc2588ce | /DP/Dice_Combinations.cpp | 7f717124456d3526cdf8dc8b602cac44e6807813 | [] | no_license | avinesh2101/CSES-solutions | 42d84f7f72f2b22c0855fdf6e2f8e4ce4ad64a68 | 7b0463c2beb96febc2d71e5d38c267e94e5a542d | refs/heads/master | 2023-05-13T09:53:55.243918 | 2021-06-13T19:37:16 | 2021-06-13T19:37:16 | 376,470,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | #include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define mod 1000000007
int main()
{
ll n;
cin>>n;
vector<ll>dp(n+1,0);
dp[0] = 1;//to get sum as 0 we need to do nothing
for(int i=0;i<n+1;i++)
{
for(int x = 1;x<=6;x++)
{
if(x>i)
{... | [
"avineshpandey2101@gmail.com"
] | avineshpandey2101@gmail.com |
3bdbcb8fc817018c5be8896654975d430e911459 | 29dd83c6fa8c985942d09d55b96abc4f19b355a7 | /server/attestation_tpm/main.cpp | 36ede674a05ac362939c1198bea40952f8662ec6 | [] | no_license | sgtpepperpt/apdcDB | dc85d95ec9fde56044af3078d33cc769844c2079 | 54619edf9d271644db80636e8b3850299d6746ce | refs/heads/master | 2021-01-11T03:15:47.102188 | 2017-03-20T00:46:13 | 2017-03-20T00:46:13 | 71,078,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,985 | cpp | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
//#include <unistd.h>
#include <ctime>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <stdexcept>
#include <memory>
#include "main.h"
#include "util.h"
//#include "base64.h"
using namespace std;
const int DEFAULT_LISTENER_P... | [
"pepper@ubuntu.(none)"
] | pepper@ubuntu.(none) |
e91dedbcdd1f9ea3c7e4642e6470dada3df43e61 | cef4edd270ba6480b7f622f145abf432f67434cd | /final-assignment/chessPiece.h | e59bf30505dfd86294d431cc30665d6030ee763f | [] | no_license | shamimferdous/NSU-CSE225 | 2a797c3b5e11262f7f46951f091ded4b6fdff47d | 6ab16a85cb760e51aa3ed2f7d9a1c8506c35db3e | refs/heads/master | 2023-05-01T23:57:56.068473 | 2021-05-24T14:09:59 | 2021-05-24T14:09:59 | 344,131,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | h | #ifndef CHESSPIECE_H_INCLUDED
#define CHESSPIECE_H_INCLUDED
#include "string"
class chessPiece
{
public:
chessPiece();
chessPiece(int, int);
chessPiece(int, int, std::string);
int x;
int y;
std::string identifier;
private:
};
#endif // CHESSPIECE_H_INCLUDED | [
"shamimferdous5@gmail.com"
] | shamimferdous5@gmail.com |
4ac55c7ab9486450bf8a920a961e1bf11692e87b | 206a8ec7e06e58c80a6acd1268bb72fe1b809f9e | /NewestLolDebugger/NamedValues.h | 054af3daeb2f3add04a4e3e46dbaed58ac9091fb | [
"MIT"
] | permissive | mn90f/cuda_goap | 8f8d73276abf3bfa3a46e30365ec8de9f071e182 | a8268d1b0fd215e5b56398ddb4ae3a54bda31173 | refs/heads/master | 2020-11-26T18:27:48.087561 | 2014-09-10T21:50:56 | 2014-09-10T21:50:56 | 23,892,987 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | h | //Contains definitions of enums used for describing the simulation
#pragma once
#include "Vector4.h"
namespace GOAP_GPGPU{
////Since we might need to support more than 32 actions for our NPCs we have to make classes that contain enums.
//enum NPC_BEHAVIOUR_PATTERNS{};
enum PLAYER_FRACTION{
Wolves = 1<<0,
Go... | [
"malikfouze@gmail.com"
] | malikfouze@gmail.com |
cbdafc42c81dee010aca7cc3db269cf4104846cb | 9ca3388e188c370fde89da74aa4207864f964ee1 | /src/HammerSource/SdCardInterfacer.h | 832dbf81f26ca972f975f60958650dba683f15ae | [] | no_license | dfrog3/Hammer | 22f5f4e20f3386da017df8dd3da2f7685dd987eb | c3d4ebc37d80936cca22e28b71bfaffcabed42d4 | refs/heads/main | 2023-07-25T10:39:02.068835 | 2021-07-14T02:17:50 | 2021-07-14T02:17:50 | 384,919,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,649 | h | //
// Created by David Kaschub on 2021/06/19.
//
#ifndef FIRM_SDCARDINTERFACER_H
#define FIRM_SDCARDINTERFACER_H
#include "FS.h"
#include "SD.h"
#include "SPI.h"
#include "HammerDisplay.h"
class SdCardInterfacer {
private:
HammerDisplay *display;
public:
SdCardInterfacer(HammerDisplay *pDisplay) {
t... | [
"david@digika.jp"
] | david@digika.jp |
36c5f7db6843f1fb7172fe3578efeab60293193a | 95cbb3e7aa4a38fae71a1920b981021f2c1854ad | /src/object.hpp | 863cf2c683dfb46108a246c21e01dcec4d4c845a | [] | no_license | GuilhermoBarretti/SDL_Tutorial | 9b6fef5b477e5d2d41e536642f1576a30112babc | d20fe71ce45f325e89fee1e1331be15170fed398 | refs/heads/master | 2023-06-06T20:33:12.412552 | 2021-06-22T22:14:41 | 2021-06-22T22:14:41 | 377,338,516 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | hpp | #ifndef OBJECT_H
#define OBJECT_H
#include "glm.hpp"
class SDL_Texture;
class Object
{
public:
glm::vec2 position;
glm::vec2 size;
glm::vec2 velocity;
SDL_Texture *texture = NULL;
Object();
~Object();
};
#endif | [
"guilhermobarretti@gmail.com"
] | guilhermobarretti@gmail.com |
9863a3deb14f4a83d9a0b66fcca9ef1d74e6dd91 | 79f3b798df32cc6dcbe263e9d5c338a73991797c | /Challenge/COVIDLQ.cpp | 84ec4582da69c20405b872f910ff46f1a287dfcd | [] | no_license | sahilb8/codechef | f5239c0f5a325646120e9f90eb78457ed0c910f1 | 6f7d83bc01096be519319fb9911ffbb8d525b030 | refs/heads/master | 2022-11-14T20:02:07.208939 | 2020-07-13T09:38:22 | 2020-07-13T09:38:22 | 258,972,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
vector<int> v;
vector<int> z;
vector<int>::iterator it,pt;
int t,n,c,a,i,l;
cin>>t;
while(t--)
{
v.clear();
z.clear();
cin>>n;
for(i=0;i<n;i++)
{
cin>>a;
v.push_back(a)... | [
"sahilbanastarkar7184@gmail.com"
] | sahilbanastarkar7184@gmail.com |
0f92f0d757bcb16813a8abea5047d0b7bc06c9d4 | 508b3822cb78b4e9f20d8bdcd16a3a14338b9336 | /CavaEngine/Core/Application/Application.h | e56ea72ca965daed8c5206cf1a7f528da0af27df | [] | no_license | hittoSepi/CavaEngine | 30d4873f9eca605a56699ef5c2b175b14fc58c81 | 65c82100076f0f3d90c6f7f8ad717c0baef6b85c | refs/heads/master | 2023-07-05T07:45:20.040967 | 2021-08-29T09:31:50 | 2021-08-29T09:31:50 | 396,976,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | h | #pragma once
#include "Renderer.h"
#include "Core/Window/Window.h"
#include "Core/Event/InputEvents.h"
#include "Core/GUI/Gui.h"
#include "Core/Window/SplashScreen.h"
namespace Cava
{
class Gui;
class SplashScreen;
///<summary>
/// Create main application inheriting Renderer class and in application Applicati... | [
"hittoaeae@gmail.com"
] | hittoaeae@gmail.com |
46442d2ab1d8c2671cb70be81e1fbbfce3774240 | 3012cd5e4cab17a14cc8a1ac2323d4ee5b32f140 | /src/mcemath/matrxgl.cpp | 70c7f3ce48d92ea70f6a12dc3605fe6059997d85 | [] | no_license | CallMeZhou/Puresoft3D | 493b0e769525539324982054a75f1dd003d8cb61 | 213d281f0cda375ad2841d3f5f98f8f3167bf28d | refs/heads/master | 2021-12-10T09:06:33.813798 | 2021-12-08T21:59:32 | 2021-12-08T21:59:32 | 54,444,411 | 209 | 67 | null | 2017-04-17T08:32:12 | 2016-03-22T04:10:50 | C++ | UTF-8 | C++ | false | false | 7,714 | cpp | #include "stdafx.h"
#include "mcemaths.h"
#define USE_SSE2
#pragma warning(disable: 4305)
#include "sse_mathfun.h"
#pragma warning(default: 4305)
extern "C" MCEMATHAPI(void) mcemaths_make_proj_perspective(float* m44, float znear, float zfar, float aspect, float fov_rad)
{
mcemaths_mat4ident(m44);
float h = 1.0f / ... | [
"agedboy@sina.com"
] | agedboy@sina.com |
dee50233fe7e070ca8be0c8d91da8ceb09f4619c | 0b992c93b746465b1a6205dc35e2de9f74386297 | /template_pbo/CfgAmmo.hpp | f48a6bb4f1ffdea0b7e87790512754ad60e411a6 | [] | no_license | TheWreckingCrewUK/Modset | 420e10b30e6e6617ef8aaea60e1c078fb67bc5d9 | c79fb8af8d6e49d6423be7ee1fc97fbdb09eb6f3 | refs/heads/master | 2023-05-14T12:12:56.056924 | 2023-04-28T19:55:36 | 2023-04-28T19:55:36 | 64,423,206 | 8 | 11 | null | 2023-04-28T19:55:37 | 2016-07-28T19:40:21 | C++ | UTF-8 | C++ | false | false | 21 | hpp | class CfgAmmo {
};
| [
"strooptroopers+ghbose@gmail.com"
] | strooptroopers+ghbose@gmail.com |
02864e2d0b72f9e9b3f2829dabe4ff3deb1b3af6 | 2e55d1bb81e5fd76c4bc576986764e0ab845e7d8 | /src/jet/live/Compiler.cpp | 4747807946e92e7894a1be3c3238c798f6f7e68f | [
"MIT"
] | permissive | cpei-avalara/jet-live | abd15bf8ce93298391f1e7122c70d0f944d43a3b | 27593e29606456e822aee49384aafce97d914acd | refs/heads/master | 2020-04-15T00:29:43.654943 | 2019-01-05T10:46:55 | 2019-01-05T10:46:55 | 164,242,284 | 0 | 0 | MIT | 2019-01-05T18:57:23 | 2019-01-05T18:49:08 | C++ | UTF-8 | C++ | false | false | 7,340 | cpp |
#include "Compiler.hpp"
#include <algorithm>
#include <cassert>
#include <teenypath.h>
#include "jet/live/LinkCommand.hpp"
#include "jet/live/Utility.hpp"
namespace jet
{
Compiler::Compiler(const LiveContext* context)
: m_context(context)
{
}
void Compiler::update()
{
std::vector<... | [
"ddovod@gmail.com"
] | ddovod@gmail.com |
cf85def87a395c95c5501c746ba4df4dcc2ee25f | 39e45035f60ede2287742fd266320f0ff39f3ab2 | /WFTTNN/WFTTNN/XTreme/Markup/XTPMarkupPanel.h | 3d0181894feac93b7a90a62473b6f57fe1145e76 | [] | no_license | xibeilang524/PSM | c358948e193ad0e8b91fd89aa8c553b4187769e2 | d8008a2e2f897663d2ff8137c846da96bb7ad904 | refs/heads/master | 2021-01-23T09:12:39.947874 | 2016-04-18T09:46:50 | 2016-04-18T09:46:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,623 | h | // XTPMarkupPanel.h: interface for the CXTPMarkupPanel class.
//
// This file is a part of the XTREME TOOLKIT PRO MFC class library.
// (c)1998-2008 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE ... | [
"lilingshui@126.com"
] | lilingshui@126.com |
756538429550e7667ad0aeeee702632e8d47504f | 403da769f593eae00caeede1ed55fbb5d90e2a90 | /main.cpp | 195f4088ddc999aa760f0ef1fb1e27acbfe68f64 | [
"BSD-3-Clause"
] | permissive | AAcid0/retoDibujo2CG | e0abe3515144b1739ab7f9eccd6564072bd1b9a9 | 14230b7400fa3144f21593a79d40c7d42c380510 | refs/heads/master | 2023-07-10T10:36:54.937288 | 2021-08-11T04:14:31 | 2021-08-11T04:14:31 | 394,859,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,561 | cpp | //=============================================================================
// Sample Application: Lighting (Per Fragment Phong)
//=============================================================================
#include <GL/glew.h>
#include <GL/freeglut.h>
#include "glApplication.h"
#include "glutWindow.h"
#include ... | [
"luisr@DESKTOP-RRVCNHM"
] | luisr@DESKTOP-RRVCNHM |
95b804e84f3f9010ee9c91b95b25be9f37a0b533 | aafac944e282d1835c8c1d84ebc18a71ceb47d45 | /src/util/util_vector.h | d25dd2f1186d44fd66b906c38a397cbef64c8c1c | [
"Zlib",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | ValveSoftware/dxvk | 8a215f938f28ef31c77ad5b19dbd5b87c0b58c37 | 3f91cdbc126abde7b2334e739d08de0ef2edd1d2 | refs/heads/proton_5.13 | 2023-08-22T20:03:33.531682 | 2021-02-06T07:48:52 | 2021-02-09T13:02:25 | 144,907,892 | 351 | 46 | Zlib | 2021-02-17T15:41:42 | 2018-08-15T22:04:04 | C++ | UTF-8 | C++ | false | false | 3,783 | h | #pragma once
#include <iostream>
#include "util_bit.h"
#include "util_math.h"
namespace dxvk {
template <typename T>
struct Vector4Base {
Vector4Base()
: x{ }, y{ }, z{ }, w{ } { }
Vector4Base(T splat)
: x(splat), y(splat), z(splat), w(splat) { }
Vector4Base(T x, T y, T z, T w)
:... | [
"25567304+doitsujin@users.noreply.github.com"
] | 25567304+doitsujin@users.noreply.github.com |
a5e52fed7f565aef4e643196bf748d812bcc8e43 | 921ddb77a9efeab57dfe664995c78311f01e8d80 | /Lecture 15/SegmentedSieve.cpp | acea193733301be5725207903768987b790bc81c | [] | no_license | kumarnitin15/Algo-DS-in-CPP | c814eb6f54e9ac7161f41d8ce0225e2e9ee10439 | 4eec955236d0dd02a1b2334d76427372c3072f55 | refs/heads/master | 2020-07-13T05:19:51.640032 | 2020-01-20T15:09:44 | 2020-01-20T15:09:44 | 205,001,685 | 13 | 5 | null | 2020-06-12T12:17:42 | 2019-08-28T18:51:41 | C++ | UTF-8 | C++ | false | false | 1,058 | cpp | #include <iostream>
#include <vector>
#include <cmath>
using namespace std;
const int N = 1000000;
int p[N+1] = {0};
void sieve(int n){
p[0] = p[1] = 0;
p[2] = 1;
for(int i=3; i<=n; i+=2)
p[i] = 1;
for(long long int i=3; i<=n; i+=2){
if(p[i]){
for(long lo... | [
"nk525888@gmail.com"
] | nk525888@gmail.com |
af76df4c092113279ac0556045ab0c73c68fcdf6 | 566f57b6acacf726d9edc01f15ad28a11b1b5477 | /labo2/CW-04.cpp | 34202eaeb6f16539deba314a3bad8175ac8878ae | [] | no_license | walterhurtado98/PED0319-WAHB-00181318 | 041d1b26a6df96b4fc9762f0cedf4ff58c4ce2a0 | 2251d04212d6d4f5da5d87d39105a4d1c314868f | refs/heads/master | 2020-12-08T06:53:36.552059 | 2020-02-08T05:36:23 | 2020-02-08T05:36:23 | 232,918,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cpp | #include<iostream>
#include<string>
using namespace std;
struct Address{
int houseNumber;
string city, state;
};
void printInfo(Address printAdd);
int main(void){
Address ad1;
cout << "Numero de casa: "; cin >> ad1.houseNumber;
cout << "Ciudad: "; cin >> ad1.city;
cout << "Departamento: "; c... | [
"walterhurtado1998@gmail.com"
] | walterhurtado1998@gmail.com |
d845476eb92168500b7f641a5faaf4a737d180d0 | be8e52414cfd996241f1edbf385a23efe67fa2d6 | /main.cc | 6ff9fcd3ef80e830a7af81d5544bf3d178c0ec44 | [] | no_license | ahmedtd/decaf-mips | 05937f5271c00aaf77c27dbd286b028c1a560915 | 135edbf46f4c764e4ddf5cc049d1fa41c7e68962 | refs/heads/master | 2021-01-10T20:54:35.054354 | 2012-09-18T04:59:27 | 2012-09-18T04:59:27 | 6,960,910 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,740 | cc | /* File: main.cc
* -------------
* This file defines the main() routine for the program and not much else.
* You should not need to modify this file.
*/
#include <string.h>
#include <stdio.h>
#include "utility.h"
#include "errors.h"
#include "scanner.h"
#include "location.h"
/* Function: PrintOneToken()
* Usage... | [
"ahmed.taahir@gmail.com"
] | ahmed.taahir@gmail.com |
019acbabc04267a2dee2b0d8031932a2361a8a45 | 800e60ddf28c65a990b4d599dcd279f43c84fafa | /gl02/opengl_view/GLView.h | dcc2a4575c3cdc8b9cec8854b47caed5ad638750 | [] | no_license | 1179432578/gl02 | d825a835621a3538472263fad7033825aa10f76c | a566530b744a41e4d0afb4833054b77615c31734 | refs/heads/master | 2020-12-24T20:33:11.843545 | 2016-06-03T08:12:10 | 2016-06-03T08:12:10 | 56,444,030 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | h | //
// GLView.hpp
// gl02
//
// Created by 鲁飞 on 16/5/31.
// Copyright © 2016年 鲁飞. All rights reserved.
//
#ifndef GLView_hpp
#define GLView_hpp
#include <stdio.h>
#include "CCGeometry.h"
/*opengl view 负责设置opengl view的大小 gl的一些默认值*/
enum ResolutionPolicy
{
kResolutionExactFit,
kResolutionNoBorder,
kRe... | [
"lewis.lu@mochang.net"
] | lewis.lu@mochang.net |
22372ea89e7cedeb35e267b160baf54c0d6acac4 | f919447a9c643822b83921226456fd268376cf9a | /artifacts/include/folly/stats/TimeseriesHistogram.h | 9aead54ea07dc55da0bffa317bd1c44e1407925f | [] | no_license | eklavya1983/memcache | f966b4dd1d54193ada9d70f587e7a968b7a721ea | 8cd601e65005f0fee7cd2a0472d0b7853f0aa0ae | refs/heads/master | 2021-01-23T01:12:44.637143 | 2017-06-01T14:11:11 | 2017-06-01T14:11:11 | 95,147,617 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,992 | h | /*
* Copyright 2016 Facebook, Inc.
*
* 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... | [
"eklavya1983@github.com"
] | eklavya1983@github.com |
b354c9660fe10e73d6ef5d66d05f65a940cdf421 | 2eff78350ab8bae88a3b5b5155ec523ca82e58bc | /RT/GkcCompiler/include/ldf/regex/RegexDoFactor1QuestionAction.h | b4dd7a65c5bfd99ab5f27a98e916f1377c7fb629 | [
"BSD-2-Clause"
] | permissive | meilj/GKC | 1a7339736bc2226c7cc4f5a798f7eb7ec53c3ba0 | cc90ce73d1ffb330ef541932f762e4e42ea50323 | refs/heads/master | 2021-01-24T03:18:54.129388 | 2018-02-26T13:48:45 | 2018-02-26T13:48:45 | 17,059,635 | 0 | 0 | BSD-2-Clause | 2018-02-26T13:48:46 | 2014-02-21T15:03:14 | C++ | UTF-8 | C++ | false | false | 2,592 | h | /*
** Copyright (c) 2016, Xin YUAN, courses of Zhejiang University
** All rights reserved.
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the 2-Clause BSD License.
**
** Author contact information:
** yxxinyuan@zju.edu.cn
**
*/
/*
This file contains ... | [
"yxxinyuan@zju.edu.cn"
] | yxxinyuan@zju.edu.cn |
8664e2ad613c93dc8fab6523efd36bf7763d0457 | 7639b9b631316344cd76c6adb897c270692584d6 | /Bengine/GLTexture.h | 0bbe9bd4d4b9e7954a13a61804c7f03050962bf8 | [] | no_license | AntonYamkovoy/CPP_Graphics_Projects | a2aa80985f487067c0c248e20fa5db4d4ac53526 | 7a6aa4f4518fe66a11cf28c3d04dca832d894648 | refs/heads/master | 2020-07-05T04:59:48.333953 | 2019-08-15T15:21:42 | 2019-08-15T15:21:42 | 202,529,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | h | #pragma once
#include <GL/glew.h>
namespace Bengine {
struct GLTexture {
GLuint id;
int width;
int height;
};
} | [
"42891596+AntonYamkovoy@users.noreply.github.com"
] | 42891596+AntonYamkovoy@users.noreply.github.com |
8950fa8f6b8b3a6eda35c60a63335bc2c2b32fd7 | 11b62321db9e11c226e04d49572529798c593f96 | /setuo.ino | 539f4f5765dc7d882e683903b33315f625dbbd3f | [] | no_license | Arendost/Arduino-Reloj_Digital | bf193e5c91fec045be3a5a7ed8e20aaf3a592543 | d08c5ed6897d930ffe591446f6338fd4dea58ab7 | refs/heads/main | 2023-02-27T01:07:09.767451 | 2021-02-06T18:15:24 | 2021-02-06T18:15:24 | 336,029,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | ino | void setu()
{
bottonB=digitalRead(botton2);
if (bottonB==0)
{
i++;
lcd.setCursor(i,0);
delay(250);
if (i>9)
{
i=2; ... | [
"noreply@github.com"
] | Arendost.noreply@github.com |
9fa79a346f77abf53c4028dd4f15b0005e6d0674 | 273e938c5f79412aae1906c60403a335accae992 | /PrePostInc.cpp | 1e12ec68741426ff288516286a148d1bbe9702f7 | [] | no_license | AramSar/SimpleCPP | 033175364bf0bc09e3ed4b19e4ef123f73128564 | 65a5ae2c0310eae045c622057807f9e88eaeabb2 | refs/heads/master | 2021-04-12T09:47:39.397724 | 2018-03-25T11:48:16 | 2018-03-25T11:48:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include <iostream>
int postInc (int& x)
{
x += 1;
return x-1;
}
int preInc (int& x)
{
x += 1;
return x;
}
int main()
{
int z = 4;
int x = 4;
int& y = x;
// test for postInc(y)
// std::cout << z++ <<std::endl;
// std::cout << z <<std::endl;
// std::cout << postInc(y) <<std... | [
"aram_sargsyan@edu.aua.am"
] | aram_sargsyan@edu.aua.am |
09e2ab22799000ce24f38e086ee464c5589665b0 | fcdddf0f27e52ece3f594c14fd47d1123f4ac863 | /TeCom/src/TdkLayout/Source Files/TdkBackgroundRColorProperty.cpp | 81090659bc04fba57978e0c633818a15639f1de0 | [] | no_license | radtek/terra-printer | 32a2568b1e92cb5a0495c651d7048db6b2bbc8e5 | 959241e52562128d196ccb806b51fda17d7342ae | refs/heads/master | 2020-06-11T01:49:15.043478 | 2011-12-12T13:31:19 | 2011-12-12T13:31:19 | null | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 2,635 | cpp | #include<TdkLayoutTypes.h>
#include <TdkBackgroundRColorProperty.h>
///////////////////////////////////////////////////////////////////////////////
//Constructor
//Author : Rui Mauricio Gregório
//Date : 07/2009
///////////////////////////////////////////////////////////////////////////////
TdkBackgroundRCo... | [
"rui.mauricio.gregorio@gmail.com@58180da6-ba8b-8960-36a5-00cc02a3ddec"
] | rui.mauricio.gregorio@gmail.com@58180da6-ba8b-8960-36a5-00cc02a3ddec |
e0e33cc98e98bdabdfbed1d4f02583599556d0ca | f6553230bb1d17ce2e8810ec8883d37829d88f26 | /ch3/3.7/test.cpp | cdccae119e10069783372aae6db675842705d706 | [] | no_license | tsrjrc/SLAM_LEARN | de50b869d6046cac677edcecdeef5b662a25c28f | 8d2b3570825d168f4852c890657d1e34baff0e7f | refs/heads/master | 2020-06-28T12:30:50.191269 | 2019-08-02T13:22:00 | 2019-08-02T13:22:00 | 200,235,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,365 | cpp | #include <iostream>
#include <Eigen/Core>
#include <Eigen/Geometry>
using namespace std;
int main(int argc, char **argv) {
//导入小萝卜一号数据
Eigen::Quaterniond q1 (0.35, 0.2, 0.3, 0.1);
Eigen::Vector3d t1 (0.3, 0.1, 0.1);
//导入小萝卜二号数据
Eigen::Quaterniond q2 (-0.5, 0.4, -0.1, 0.2);
Eigen::Vector3d t2 (-0.... | [
"noreply@github.com"
] | tsrjrc.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.