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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2ae96ad706bc6fe28f1d81600bc21976fbb2867d | c58b721fef4913f6000cc4f37284a20ad2bfd4a7 | /Section11_Functions/FunctionOverloading/main.cpp | 7a23d5edc1aa649bd36791b9168d6be167453889 | [] | no_license | TylerBrown380/cPlusPlusPractice | f5a1d29d92a8ed28ce91bc8cdba86ca8a9b092b8 | 33106e4641f3035a4be91360097b98c2db839841 | refs/heads/master | 2023-03-04T20:00:32.249570 | 2021-02-16T16:48:58 | 2021-02-16T16:48:58 | 335,035,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
void print(int);
void print(double);
void print(string);
void print(string, string);
void print(vector<string>);
void print(int num) {
cout << "Printing int: " << num << endl;
}
void print(double num) {
cout << "Printing double: " <... | [
"Tylerbrown380@u.boisestate.edu"
] | Tylerbrown380@u.boisestate.edu |
d0829a718589f6ea362960bf6fc0a975fd05602a | 278fdd5782ba35057b2855c53658846c4aeea9de | /4thDemo/potato.cpp | 12ef9f460d2099106baa7548885a75e4746824bd | [] | no_license | liuyueweiyu/AppProjectHomework | 33b9d0b623dd9e6546e6462a4df7932e0d2f929b | 527f59e29bdf3c43c00c00aa128b094be6b0e8f4 | refs/heads/master | 2020-03-31T05:17:25.125647 | 2019-01-04T10:53:07 | 2019-01-04T10:53:07 | 151,940,304 | 0 | 2 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,897 | cpp | #include "stdafx.h"
#include <iostream>
using namespace std;
#include "./gdal/gdal_priv.h"
#pragma comment(lib,"gdal_i.lib")
const int N = 300;
GDALDataset* poSrcpotato;
GDALDataset* poDstDS;
GByte* buffTmpPotato[6];
char* potato = "potato.jpg";
char* dstPath[7] = {"dist1.tif", "dist2.tif", "dist3.tif", "... | [
"noreply@github.com"
] | noreply@github.com |
1aa9b5c44dffe44226115d6973efadd832d3da41 | c510fb068ea3c29ed6fc6c82182d9c2b7944eaa1 | /Knight.h | 09ab327e780452bbc27874f7b05717b85571ef2b | [] | no_license | davidberiro/cpp_chess_game | 0bad8a59a0c65574fdc74b645f99d6f27d2bf257 | ed28667c474303ac2cf51dba292fa6c6a9076d47 | refs/heads/master | 2021-01-11T21:06:57.709272 | 2017-01-19T15:45:50 | 2017-01-19T15:45:50 | 79,247,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | h | //
// Created by davidberiro on 1/17/17.
//
#include "Piece.h"
#ifndef EX2_KNIGHT_H
#define EX2_KNIGHT_H
class Knight : public Piece
{
public:
Knight(const char file, const int rank, std::string color);
virtual std::vector<Coordinate> getLegalMovesOnEmptyBoard(Piece *board[]) override ;
// virtual std::s... | [
"david.benchimol@mail.huji.ac.il"
] | david.benchimol@mail.huji.ac.il |
5b6ef092fd39d16a70b6713cb53503292a643674 | 829b3f2d0ae685d01fe097c03bf5c1976cbc4723 | /deps/boost/include/boost/spirit/home/support/detail/what_function.hpp | a1d85718c3939b86bfbaf383e039b63b07b86eef | [
"Apache-2.0"
] | permissive | liyoung1992/mediasoup-sfu-cpp | f0f0321f8974beb1f4263c9e658402620d82385f | b76564e068626b0d675f5486e56da3d69151e287 | refs/heads/main | 2023-08-21T21:40:51.710022 | 2021-10-14T06:29:18 | 2021-10-14T06:29:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | hpp | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
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)
====================================... | [
"yanhua133@126.com"
] | yanhua133@126.com |
f36cfb39efb76782ebf8d3cde8c085fbb896c493 | 328ddf0987a66abf0d23cba45fe5b56969912ed4 | /Proyecto Final/PABLO_JACOBO_ESTADISTICA5.cpp | 09f514931927a41ec64ad5373804e85d5d7298c1 | [] | no_license | p-jacobo2012240/Solo-por-Diversion | 43bb333f773146e147c642751736080678cd1439 | 5a86b970ee4641f03bf7a154e60ce55add5e3798 | refs/heads/master | 2021-06-24T11:57:22.373397 | 2019-06-04T04:36:02 | 2019-06-04T04:36:02 | 144,332,979 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | cpp | #include <iostream>
using namespace std;
float estadistica(){
const float MEDIA = 30;
const int OPS = 4;
const int OPS1 = 8;
int edad[10000];
int limiteArray[30];
float res1, res2, op, ot;
int result;
int sum;
cout<<"Carnet --> 9490-18-1319"<<endl;
cout<<"Nombre --> Pablo Daniel Jacobo Sanchez"<<endl;... | [
"pablojacobo1998@gmail.com"
] | pablojacobo1998@gmail.com |
869597e798b2fadda42127d51fe11fb6c99d1c28 | 1d001b1ddbf760a5eb2c33c15739c48b66ab264a | /PocketDungeon/src/OtterEngine/Music/SoundManager.cpp | 2dd96fa46c9c98e9cee70422167e9f80e9deccc6 | [] | no_license | TallineauHugo/Epitech_projects_TEK3 | b0e93f93dd3ec87ba09afbb74ca1fbe04fcfe227 | 4d9defd8c0d2ce6aab8bb2297a7800538afd69d3 | refs/heads/master | 2022-12-05T10:10:39.581211 | 2020-08-27T22:27:18 | 2020-08-27T22:27:18 | 290,886,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp | #include "SoundManager.hpp"
SoundManager::SoundManager()
{
}
SoundManager::~SoundManager()
{
}
bool SoundManager::addSound(const std::string &filename)
{
_sounds.insert(_sounds.begin(), new sf::Music);
if (!_sounds[0]->openFromFile(filename))
return false;
_sounds[0]->play();
return true;
}
void SoundManag... | [
"hugo.tallineau@epitech.eu"
] | hugo.tallineau@epitech.eu |
344bf0e7ba4a89f0dc7eaeb18c9c27384400db4a | 7bfba906555507e66c15ec720b51188fcae529f7 | /WOE/GLVector.cpp | ce05774133226ac16b2434f8324c3a4af637ba9e | [
"MIT"
] | permissive | WhoBrokeTheBuild/Water-and-Oil-Engine | 4e3193bc11f72235962cec41d03a57b513388d64 | aaaed0664a394dd1f670524832b5ca3ec065512e | refs/heads/master | 2021-01-10T20:00:57.713726 | 2014-04-24T08:52:54 | 2014-04-24T08:52:54 | 18,625,783 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | #include "GLVector.h"
#if defined(_WOE_OPENGL)
GLVec2 GLVec2::ZERO = GLVec2(0.0f);
GLVec2 GLVec2::ONE = GLVec2(1.0f);
GLVec2 GLVec2::NEG_ONE = GLVec2(-1.0f);
GLVec3 GLVec3::ZERO = GLVec3(0.0f);
GLVec3 GLVec3::ONE = GLVec3(1.0f);
GLVec3 GLVec3::NEG_ONE = GLVec3(-1.0f);
GLVec4 GLVec4::ZERO = GLVec4(0.0f);
GLVec4... | [
"sdl.slane@gmail.com"
] | sdl.slane@gmail.com |
ebe576397cc29900fdcf36c324dff5f4a8da7d2e | 25b52864d1de026b090663d130b63e00acb0560f | /ChemistryLib/PhreeqcKernelData/CreateInitialAqueousSolution.h | 167a2a6408c41b44e571b46bd12a036eea786068 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | kosakowski/OGS6-MP-LT-Drum | f6365f7e38e89c0cffcc8a2d9d848cba1dd5fa31 | 01d8ef8839e5dbe50d09621393cb137d278eeb7e | refs/heads/drum_LT_balance_rebase | 2022-12-19T21:19:52.010498 | 2019-12-10T09:35:28 | 2019-12-10T09:35:28 | 299,912,976 | 1 | 0 | NOASSERTION | 2020-09-30T12:53:14 | 2020-09-30T12:33:38 | null | UTF-8 | C++ | false | false | 707 | h | /**
* \file
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
#include <string>
#include ... | [
"renchao.lu@gmail.com"
] | renchao.lu@gmail.com |
91052c7bb2a0344e9ffdb1d635affd7a4dfed630 | 291ff781fc82f33c1300b838eb4c58944dface62 | /2020/week1/14503_robot.cpp | 01566ee810f68474bcf96c55ecffa3e6d149f270 | [] | no_license | catch4/Song | d63b5fd1690b527071b31dd33f98bc0443451031 | 3101552e7fe8b72e2384bf3143c11d00061d771a | refs/heads/master | 2023-04-17T05:40:38.590707 | 2021-05-05T12:32:20 | 2021-05-05T12:32:20 | 268,486,625 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,217 | cpp | /*
Catch study 1주차
백준_14503 로봇청소기
https://www.acmicpc.net/problem/14503
*/
#include <iostream>
#include <vector>
int main() {
int n, m,d,n_d,y,x,cnt=1,rot_cnt=0;
// 북동남서
int dy[4] = { -1,0,1,0 }, dx[4] = { 0,1,0,-1 };
std::cin >> n >> m>>y>>x>>d;
std::vector<std::vector<int>> ck(n, std::vector<i... | [
"thdalsrl10@gmail.com"
] | thdalsrl10@gmail.com |
de5b3793a6d98b4ecc9af1615e7109f554743b29 | 5d7f6d3b3f3f24a81d823c075980a9bf71ac2c51 | /cocos/editor-support/cocostudio/WidgetReader/PageViewReader/PageViewReader.h | beef6870a366d80c25aa2151c1ed2636f33ed671 | [] | no_license | u0u0/Cocos2d-Lua-Community | bf6a96c5ccbc06725303d5cfa6c04fa21ae8f98d | 1549d24cb63dbad6a2d0a8ac455a5bb50ca7314f | refs/heads/master | 2023-08-22T01:45:59.023807 | 2023-08-10T02:40:25 | 2023-08-10T02:40:25 | 227,271,518 | 194 | 71 | null | 2023-06-28T12:30:42 | 2019-12-11T03:49:02 | C++ | UTF-8 | C++ | false | false | 2,639 | h | /****************************************************************************
Copyright (c) 2014 cocos2d-x.org
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentat... | [
"hello@tyrantek.com"
] | hello@tyrantek.com |
5ac098aa2bab2520717c6bd48049b33a0c1d1dcb | 8947812c9c0be1f0bb6c30d1bb225d4d6aafb488 | /04_Sample/BeatBean/Source/Common.h | 23badff157823e369d7bba9510d07e4751c893f7 | [
"MIT"
] | permissive | alissastanderwick/OpenKODE-Framework | cbb298974e7464d736a21b760c22721281b9c7ec | d4382d781da7f488a0e7667362a89e8e389468dd | refs/heads/master | 2021-10-25T01:33:37.821493 | 2016-07-12T01:29:35 | 2016-07-12T01:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,957 | h | /* --------------------------------------------------------------------------
*
* File Common.h
*
* Ported By Young-Hwan Mun
* Contact xmsoft77@gmail.com
*
* Created By t2cn on 2009/10/10
*
* -------------------------------------------------------------------... | [
"mcodegeeks@gmail.com"
] | mcodegeeks@gmail.com |
dba52252c5ad33e3d9bd21372cafad29486d26c6 | b9a754d09984634d2f88e91241c47583d8ce1b15 | /src/Diagnostic/DiagnosticRadiationSpectrum.cpp | 29c404eb78497e37c117242f851a9c4d5c97ce19 | [] | no_license | iouatu/mySmilei | 9aa97d3fb1f9e5ddf477e4bc4eff22d7667b8f8f | 41c2496d21ac03d0dd9b9d8ec41d60cdbf13bf1b | refs/heads/main | 2023-07-23T01:42:48.705778 | 2021-08-18T18:13:01 | 2021-08-18T18:13:01 | 397,676,095 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,502 | cpp | #include "PyTools.h"
#include <iomanip>
#include "DiagnosticRadiationSpectrum.h"
#include "HistogramFactory.h"
#include "RadiationTools.h"
#include "RadiationTables.h"
using namespace std;
// Constructor
DiagnosticRadiationSpectrum::DiagnosticRadiationSpectrum(
Params ¶ms,
SmileiMPI *smpi,
Patch *p... | [
"iustin.ouatu@physics.ox.ac.uk"
] | iustin.ouatu@physics.ox.ac.uk |
4b1f9336e302316e79fbae13c8dae34685c6e199 | a6b93dc0ede380fdd916e7e1eb127ab2955a59a7 | /libsrc/pylith/faults/KinSrcRamp.cc | 9bd6f81850a9c08fe373e5e89cb333eddf63b2c5 | [
"MIT"
] | permissive | Tantribology/pylith | 240cf8f319df41d825ae2d2ef1d8d11653833fe5 | d4435b3b894035e25b65064ab5b499e15f179cde | refs/heads/main | 2023-07-01T04:45:05.106044 | 2021-08-04T02:03:34 | 2021-08-04T02:03:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,623 | cc | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University at Buffalo
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | [
"baagaard@usgs.gov"
] | baagaard@usgs.gov |
aff0f8a63292a1486c22dc9c8fe9a9ee746fa34a | e7087ad3076b1b6f60a10ea561211968c6993d2a | /tabulate/CNFobject.cpp | a22be649073709213d37cee6aa101e7aa467342d | [] | no_license | norgardp/tabulate | 0a8da48b3a0e49789dda9a7b71534c79a2b13752 | 8c1dd5cee8e23408ca0221861dd9ffd609102890 | refs/heads/master | 2020-03-29T23:48:45.648084 | 2020-01-09T15:52:02 | 2020-01-09T15:52:02 | 150,490,213 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,277 | cpp | #include "stdafx.h"
#include "CNFobject.h"
// ========================================================================
//
// ========================= OBJECT INSTANTIATION =========================
//
// ========================================================================
CNFobject::CNFobject()
{
}
CNFobject:... | [
"norgardp@missouri.edu"
] | norgardp@missouri.edu |
8e152443a9f9c50a2d5c4d318cb75c033b13d244 | fb01bcbc274d3e2f13b2215fd23951f7c9d3c886 | /Plugin/SubDomain/MainDlg.cpp | fb486b2b8d80d91913ec68fe7b566d9e9185000c | [] | no_license | 15831944/WebRobot-v1.8.2 | 95585f36233607a6fcc4d602cb955f539aeb6cf8 | 1e870044ffd6fac9dfd6ecb56ebf0f261398ab5a | refs/heads/master | 2021-05-30T10:05:15.128454 | 2016-01-22T08:43:32 | 2016-01-22T08:43:32 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 25,753 | cpp | // MainDlg.cpp : implementation file
//
#include "stdafx.h"
#include "SubDomain.h"
#include "MainDlg.h"
#include "HtmlCode.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainDlg dialo... | [
"c4bbage@qq.com"
] | c4bbage@qq.com |
7953bd818a768401546af4d06131828e7d86f854 | 5486779c8ff01bfdbd3a6b3264ff896e0594eb87 | /lectures/AI/Search/PathPlannerApp/PathPlannerApp.solution/Src/PathPlannerAStar.h | 7f46acd23f36474cd1c1e16a5ef04d5ef37f607d | [] | no_license | NickSKim/csci321 | b10c1df202628945110c20a9160b246e41f39041 | 0dcffcb921ff50ddae02d5acfff387d4fbfaa1c3 | refs/heads/master | 2021-08-23T18:17:59.732956 | 2017-12-06T00:16:25 | 2017-12-06T00:16:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,444 | h | /**
* Author: Syrus Mesdaghi, SyrusM@hotmail.com
*/
// PathPlannerAStar.h: interface for the PathPlannerAStar class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(PATHPLANNERASTAR_H)
#define PATHPLANNERASTAR_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_V... | [
"geoffrey.matthews@wwu.edu"
] | geoffrey.matthews@wwu.edu |
f6c873049aa17d9345b578ed22ecfb987328dfb5 | 50c1c675fef2c560dd904df9ab80791847f83f2c | /include/CPLEXSolverSystem.hxx | 698b5c4627022e5198e4c6813783f82fa82d9093 | [] | no_license | xlou/BOT | 3bf9089c91b86f22ec2d2da01ffac00bd009c12f | 1046b11ffd038468693055422f5b00c50ba96a9b | refs/heads/master | 2016-09-06T01:56:02.951423 | 2013-02-01T16:34:59 | 2013-02-01T16:34:59 | 2,142,202 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 12,302 | hxx | /*!
* @author Xinghua Lou <xinghua.lou@iwr.uni-heidelberg.de>
*
* @section LICENSE
*
* BOT. Copyright (c) 2010 by Xinghua Lou.
*
* This software was developed by Xinghua Lou.
* Enquiries shall be directed to: xinghua.lou@iwr.uni-heidelberg.de.
*
* All advertising materials mentioning features or use of this... | [
"xinghua.lou@gmail.com"
] | xinghua.lou@gmail.com |
d57c75893dde1d3a683a6f392ccd85034ab4bc78 | ff3400d81a40796903a8e228c42181b3db4c5c84 | /domains/cpp/Introduction/arrays-introduction.cpp | 28999270c5e3f8bf8913fc00685988edf537ea00 | [] | no_license | redaced/hackerrank | 860556600dabee9337edee3942b21c5c7b68c6d0 | 70e325e7235f4d2e8642edd96b47996ffbc1570f | refs/heads/master | 2020-04-15T13:38:06.807068 | 2019-06-07T08:43:33 | 2019-06-07T08:43:33 | 59,559,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int a[n];
for (int i = 0; i < n; i++){
cin >> a[i];
}
for (int i = n-1; i >= 0; i--){
cout << a[i] << " ";
}
... | [
"redaced@yahoo.com"
] | redaced@yahoo.com |
4e39177f37b737b2d78f21ee5a38c5466ea42a94 | df889323b01f408e0949b2592e2ef35371e67bac | /CS32/Homeworks/Homework1/Homework1Final/newMap.h | f73dc8425808129c809896e3e1503e6ffbea6e5b | [] | no_license | thenathanyang/UCLA | 0c750744b5bf283e16abac904a110850efab7fef | fc7781361c93370b80a265615189253995693070 | refs/heads/master | 2021-09-08T07:35:48.921714 | 2021-09-02T02:07:56 | 2021-09-02T02:14:01 | 57,343,142 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,328 | h | // newMapp.h
#ifndef NEWMAP_INCLUDED
#define NEWMAP_INCLUDED
#include <string>
typedef std::string KeyType;
typedef double ValueType;
const int DEFAULT_MAX_ITEMS = 200;
class Map
{
public:
Map(int arraySize = DEFAULT_MAX_ITEMS); // Create an empty map (i.e., one with no key/value pairs)
~Map();... | [
"thenathanyang@gmail.com"
] | thenathanyang@gmail.com |
3f9ca6ce0466046287e2ded2afc0d06f7dd2fd66 | a81ef0380fbaee53abe0854c630b87146c5f0005 | /ios/UnityLibrary/Classes/Native/UnityEngine.UIModule.cpp | 03809d04e2bbe01e419ef8a6e07bc39db769ca37 | [] | no_license | soundring/flutter_ar_sample | 40658eb4949d09f340d8690574bd93e8daf5b4e9 | 51e77195d8abc5006cdd27f71fc54794cd79d63e | refs/heads/master | 2023-07-31T09:36:34.106749 | 2021-09-12T09:57:07 | 2021-09-12T09:59:40 | 405,570,101 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 131 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:fe31f66bb6ebc38a5ddebd54efd11607bee55d13279ac6e6bbf403cd90d20a28
size 201517
| [
"soundringing@yahoo.co.jp"
] | soundringing@yahoo.co.jp |
917fe5cceeb8c697c56b03813a46d6fe1c650f8c | 02aeba135a05ccfecf79eea6d44cb87547203f12 | /01_C语言/04_EP45.cpp | a441a066b1860a0735c08aedcdab6b1c2bf9776a | [] | no_license | happiless/DataStrcture_And_Algorithm | ce1bc590c58d352e06bc3b1ab6d4606e4762a688 | aea3bf33481b6e1b63cb44190a53b5fd3889b99a | refs/heads/main | 2023-04-02T06:35:25.114686 | 2021-04-09T05:36:02 | 2021-04-09T05:36:02 | 342,106,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp | /*************************************************************************
> File Name: 04_EP45.cpp
> Author: ma6174
> Mail: ma6174@163.com
> Created Time: Tue 09 Mar 2021 04:42:03 PM CST
************************************************************************/
#include<iostream>
#include<stdio.h>
using namespac... | [
"1484212228@qq.com"
] | 1484212228@qq.com |
534db7a606d939c07d136373d1c76a6bf32a7cc9 | f96e122d57404f4131e705be7a974c8886067d94 | /include/VertexColoring/Coloring.h | 5514860091755cbefc12571740963b0314a181bf | [] | no_license | zeta1999/QuantumAnnealing | c4f078a0f9a85d4bd73b0b23fbe531c6ea773d96 | 7a4e33e97fc5c6585f4b5fae6e99dfe2a7f5f2e1 | refs/heads/master | 2021-05-28T20:31:36.037960 | 2015-08-06T20:24:31 | 2015-08-06T20:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,742 | h | #ifndef COLORING_H
#define COLORING_H
#include "Solver/State.h"
#include "VertexColoring/Graph.h"
#include <random>
#include <algorithm>
#include "VertexColoring/VertexElementaryMutation.h"
class Coloring : public State
{
public:
Coloring(Graph &g, int colors);
virtual ~Coloring();
void i... | [
"fabien.dufoulon@supelec.fr"
] | fabien.dufoulon@supelec.fr |
b56a577dc1a59b55e88f0ab05d741eb433e908ae | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetsrv/iis/config/src/stores/fixedtable/sdtfxd.h | 13267c2a6e8ad23682bcbe291299d299fbbb21c4 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,981 | h | // Copyright (C) 1999-2001 Microsoft Corporation. All rights reserved.
#ifndef __SDTFXD_H_
#define __SDTFXD_H_
#include "catalog.h"
#include "sdtfxd_data.h"
#include "utsem.h"
#ifndef __TFILEMAPPING_H__
#include "TFileMapping.h"
#endif
// ------------------------------------------------------------... | [
"112426112@qq.com"
] | 112426112@qq.com |
87c074a68f8f01a926449fae889ed4ba8553ba3a | 13f67a8813233b162c687207649c0252e95d0455 | /tonic-suite/asr/src/bin/sum-mllt-accs.cc | d722930cef481525901270311b28845dbb5a50b4 | [
"BSD-3-Clause"
] | permissive | jhauswald/djinn | 19010e7ee604f756a82bde4c99a2418e463633a1 | f5e4d4a22c9c3c1561846c87a9cb25f77e470dcb | refs/heads/master | 2021-01-12T21:38:03.599604 | 2015-08-19T15:59:37 | 2015-08-19T15:59:37 | 37,376,692 | 1 | 1 | null | 2015-06-13T15:31:20 | 2015-06-13T15:31:19 | null | UTF-8 | C++ | false | false | 1,758 | cc | // bin/sum-mllt.cc
// Copyright 2014 LINSE/UFSC; Augusto Henrique Hentz
// See ../../COPYING for clarification regarding multiple authors
//
// 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... | [
"ypkang@umich.edu"
] | ypkang@umich.edu |
735927e14743b84db9d9b5b4d490fed9a8a72db2 | 8b491a0ae78a5aadda660aae7e9207394fa362a8 | /UVa 514 - Rails/src/UVa 514 - Rails.cpp | e8ec826c95548e66ab9609bf55c1082ec8b44d56 | [] | no_license | GIMPS/UVa-Solutions | 77dfba09a534ce64dcee58ff6e4bbd99582c875c | 4ec248126c86a24d723ed556a796ba507ccbbb5c | refs/heads/master | 2021-01-23T05:29:53.942348 | 2013-04-11T10:48:58 | 2013-04-11T10:48:58 | 86,313,322 | 0 | 1 | null | 2017-03-27T08:57:52 | 2017-03-27T08:57:52 | null | UTF-8 | C++ | false | false | 692 | cpp | #include <iostream>
#include <stack>
using namespace std;
int main() {
int n, target[1000];
int i;
while (true) {
cin >> n;
if (n == 0)
break;
while (true) {
cin >> target[0];
if (target[0] == 0){
cout << endl;
break;
}
for (i = 1; i < n; i++) {
cin >> target[i];
}
int curr... | [
"arnold.koroa@gmail.com"
] | arnold.koroa@gmail.com |
bc52183fdfea6155adb81dbc5df29a01849bf602 | 7af7bebd6e3eff10ab73f7d88f872101d11df150 | /mainwindow.cxx | 1eb83d1a014326ea46af2c53bf34f18a0b864a84 | [] | no_license | stoyan-shopov/cdctest | 3a13354b70eddf25cdc2936b835266d89410aa97 | 39271014df6f1b4913853a4b0947be79af819725 | refs/heads/master | 2023-01-04T06:52:15.788878 | 2020-07-15T09:18:14 | 2020-10-30T15:03:17 | 279,819,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,331 | cxx | #include "mainwindow.hxx"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
connect(ui->pushButtonScanPorts, SIGNAL(clicked(bool)), this, SLOT(scanPorts()));
connect(ui->pushButtonStartTest, SIGNAL(clicked(bool)), this... | [
"sshopov@vmware.com"
] | sshopov@vmware.com |
44965965fcd93d52a91a76230c7cf3d3aa3b9eea | 30e1dc84fe8c54d26ef4a1aff000a83af6f612be | /src/external/boost/boost_1_68_0/libs/scope_exit/test/world_seq_nova.cpp | 0360e86b8fabc04cc4ddb916aa99ecf70ae39a26 | [
"BSD-3-Clause",
"BSL-1.0"
] | permissive | Sitispeaks/turicreate | 0bda7c21ee97f5ae7dc09502f6a72abcb729536d | d42280b16cb466a608e7e723d8edfbe5977253b6 | refs/heads/main | 2023-05-19T17:55:21.938724 | 2021-06-14T17:53:17 | 2021-06-14T17:53:17 | 385,034,849 | 1 | 0 | BSD-3-Clause | 2021-07-11T19:23:21 | 2021-07-11T19:23:20 | null | UTF-8 | C++ | false | false | 291 | cpp |
// Copyright (C) 2012 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0
// (see accompanying file LICENSE_1_0.txt or a copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Home at http://www.boost.org/libs/scope_exit
#include "nova.hpp"
#include "world_seq.cpp"
| [
"znation@apple.com"
] | znation@apple.com |
4df0e061aa00bd8be23c2dfd2dc5b3df4f3e13ff | 9b73190670304ded6e5e019862d4d7d9e9edf7ff | /Source/Sunlit/Private/Ship.cpp | ba99044277921d3e0408e10ea8e565d5129e18cd | [] | no_license | Koo294/Sunlit | 6fc14f059149181d86392e38f62bc8c6c4fc2e6f | 51dce5c321b1308d89cd6650e8e83860ca8e6c57 | refs/heads/master | 2021-01-24T09:34:04.617463 | 2017-01-07T16:14:19 | 2017-01-07T16:14:19 | 69,301,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,637 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Sunlit.h"
#include "EnergyConsumer.h"
#include "Weapon.h"
#include "Shield.h"
#include "Thruster.h"
#include "ShipController.h"
#include "ShipHUDWidget.h"
#include "ShipTargetWidget.h"
#include "Ship.h"
// Sets default values
A... | [
"leoleoly@aol.com"
] | leoleoly@aol.com |
3fac579a54468aa43a649f98e2fe3c741ff75ea5 | 1a07cd2d06aa18d625306b23738489156f287c1f | /emule/DropTarget.cpp | cbe94b1c740e37a875d49c647233cba297e0caec | [] | no_license | skynetto/EmuleRefactoring | 94b2e250a446f93ee27784c8b6bfc9755f51bcb2 | 83469d473be1f5d9c2bc73131837dfe01923aa8e | refs/heads/master | 2023-04-08T19:38:22.637212 | 2021-04-18T19:11:18 | 2021-04-18T19:11:18 | 354,520,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,570 | cpp | //this file is part of eMule
//Copyright (C)2002-2008 Merkur ( strEmail.Format("%s@%s", "devteam", "emule-project.net") / http://www.emule-project.net )
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Fo... | [
"s95227@libero.it"
] | s95227@libero.it |
ebaad837714c9a026fd177bb3bd729e42aea061c | 83d0bafc7369d4857bb51fa47f26d627d782ce0e | /test.cc | 833efc05c38e5f4bca0d71d8debcfe0b500541f2 | [] | no_license | kyuseobkim/Dijkstra | 70ecf41b7731e3820c42e57a8d6e4a93156da3c9 | fa85e557674db1f53f7123881ebb44a2dea29399 | refs/heads/master | 2022-07-09T13:46:01.662416 | 2020-05-13T21:08:56 | 2020-05-13T21:08:56 | 263,483,607 | 0 | 0 | null | 2020-05-13T20:09:37 | 2020-05-13T00:22:24 | C++ | UTF-8 | C++ | false | false | 2,817 | cc | #include <algorithm>
#include <vector>
#include "graph.h"
#include "shortest_path.h"
#include "gtest/gtest.h"
using namespace std;
namespace dijkstra {
namespace {
class GraphTest : public ::testing::Test {
protected:
void SetUp() override {
g3.add(0, 1);
}
// void TearDown... | [
"kyukim@wharton.upenn.edu"
] | kyukim@wharton.upenn.edu |
4aad306ea2c27c635e9a79ef8fe25cd6df171428 | d282a2c69ad94303056462468d56ed9c6e317425 | /OpenGLSample/shader.h | 61e6ad55e5df410c12c4f3bb97a4f26cbfe26d94 | [] | no_license | kandroid29/OpenGLSamples | b2b894176b9de36db083647b6a7a1563edfeb49c | 24193436fd682f96bae5695b2ec4efd2e44a9a9a | refs/heads/master | 2020-05-19T16:29:33.465475 | 2019-05-06T02:31:47 | 2019-05-06T02:31:47 | 185,110,198 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,949 | h | #ifndef _SHADER_H_
#define _SHADER_H_
#include <GL/glew.h>
#include <iterator> // std::istreambuf_iterator
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
struct ShaderFile
{
GLenum shaderType;
const char* filePath;
ShaderFile(GLenum type, const char* path)
:shaderType(type)... | [
"zhengkan@guoshujinfu.com"
] | zhengkan@guoshujinfu.com |
f16d42d6e25f4983e15f9371597a063dc3201654 | bcb632916e553f6ae67107e47040356f43e09599 | /chrome/browser/nearby_sharing/sharesheet/nearby_share_action.cc | f8d620abc522cc87bb770dc0e46929917beffe2b | [
"BSD-3-Clause"
] | permissive | sasdf/chromium | 15e3ac52aac81edf75d07553cd3db9b6d0bb5712 | 7b7481cfda84de5ba11a09117b09739f51482f4d | refs/heads/master | 2022-12-08T13:43:23.675269 | 2020-08-28T14:13:54 | 2020-08-28T14:13:54 | 291,071,459 | 0 | 0 | BSD-3-Clause | 2020-08-28T14:49:55 | 2020-08-28T14:46:57 | null | UTF-8 | C++ | false | false | 4,579 | cc | // 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.
#include "chrome/browser/nearby_sharing/sharesheet/nearby_share_action.h"
#include <memory>
#include <vector>
#include "base/files/file_path.h"
#include... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
75a9cfb003b9a424bc1519524323bfe68535742b | fbf49b83a8fdff970e4458f1476243303bb95ce4 | /MFC4-14-2/MFC4-14-2/MFC4-14-2Doc.h | 0ec8e8295837fefebecfbc2c93a0cb6fea0a9840 | [] | no_license | LUCKYlhl23/VCVS2020 | bfe096315af28b13f724329a1e8ae6d14f27d5ba | 19b8e32319f7bb6301f6e6ed08bc94e7aa99c9a8 | refs/heads/master | 2021-04-02T02:26:14.226348 | 2020-06-28T01:00:25 | 2020-06-28T01:00:25 | 248,234,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | h |
// MFC4-14-2Doc.h: CMFC4142Doc 类的接口
//
#pragma once
class CMFC4142Doc : public CDocument
{
protected: // 仅从序列化创建
CMFC4142Doc() noexcept;
DECLARE_DYNCREATE(CMFC4142Doc)
// 特性
public:
CString filename;
// 操作
public:
// 重写
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
#ifdef SHAR... | [
"1291968750@qq.com"
] | 1291968750@qq.com |
567cb713fb23374bef59c2b99572984388cfc970 | 6c2c909460af9b7f9017ed277c193ebda1717a94 | /x86Cpu/cpu/ctrl_xfer_pro.cc | 7f2d227178b1f2aeaa251160f2321220a48fba2c | [] | no_license | lakizoli/PEReader | 8e9fa79ce5b14224c6230a5db4fc43e8c1d3a57f | 4db1c8bad0f97aea7665e8b5106a35fc97484450 | refs/heads/master | 2021-05-04T16:35:36.705957 | 2018-04-03T13:44:34 | 2018-04-03T13:44:34 | 120,253,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,524 | cc | ////////////////////////////////////////////////////////////////////////
// $Id: ctrl_xfer_pro.cc 12613 2015-01-25 20:55:10Z sshwarts $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001-2015 The Bochs Project
//
// This library is free software; you can redistribute i... | [
"lakizoli@yahoo.com"
] | lakizoli@yahoo.com |
9dd3f7f795e0b6ca522ed33c9a8bc9c94daa6bda | 2558d081018b41203812933efe70365b71681987 | /Stack/infixtoprefix.cpp | 3adc80aacb61ad374f770eb916f14ed24b7f3aaa | [] | no_license | erwasim1/DSA | a166a2b662e1ba0ce64c3c84bc894cec0b5dbcef | c17ec591147142a467ffdc5d54028cdb3efaf1b0 | refs/heads/master | 2023-06-24T14:06:36.261310 | 2021-07-27T04:34:22 | 2021-07-27T04:34:22 | 389,848,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | cpp | #include<iostream>
#include<stack>
#include<math.h>
#include<algorithm>
using namespace std;
int prec(char c){
if(c=='^'){
return 3;
}
if(c=='/'||c=='*'){
return 2;
}
if(c=='+'||c=='-'){
return 1;
}
else{
return -1;
}
}
string intopre(string s){
... | [
"wasimzaffar58@gmail.com"
] | wasimzaffar58@gmail.com |
e1cd0cec2f768cc1ae143478e8b9638225924f09 | b20353e26e471ed53a391ee02ea616305a63bbb0 | /trunk/engine/include/CommonTest.h | 614d85b9a4b8d64c8d6a4584ec4de119b5acda5e | [] | no_license | trancx/ybtx | 61de88ef4b2f577e486aba09c9b5b014a8399732 | 608db61c1b5e110785639d560351269c1444e4c4 | refs/heads/master | 2022-12-17T05:53:50.650153 | 2020-09-19T12:10:09 | 2020-09-19T12:10:09 | 291,492,104 | 0 | 0 | null | 2020-08-30T15:00:16 | 2020-08-30T15:00:15 | null | UTF-8 | C++ | false | false | 570 | h | #pragma once
//$id$
#include "CommonDefs.h"
namespace sqr
{
COMMON_API const char* RegTestSuiteTickMgr();
COMMON_API const char* RegTestSuitePkgFile();
COMMON_API const char* RegTestSuitePatternCOR();
COMMON_API const char* RegTestSuitePatternDlg();
COMMON_API const char* RegTestSuiteIniFile();
COMM... | [
"CoolManBob@a2c23ad7-41ce-4a1d-83b7-33535e6483ee"
] | CoolManBob@a2c23ad7-41ce-4a1d-83b7-33535e6483ee |
dc31cbd3fa85059ad19a9a6895bfe9fefed8d906 | fb67fd4f2fd06406554dd0a62fe83b8dc9d503d8 | /extensions/browser/api/declarative_net_request/composite_matcher_unittest.cc | 6abec512fe00e83a4f3a426af833a99732332c5d | [
"BSD-3-Clause"
] | permissive | Meron469/chromium | b5ffeb719ac3089edb4b4bd224e2b007cebdb012 | d97ee8ce68bbda058a33c02f302c99cb70885ec5 | refs/heads/master | 2023-03-03T01:26:56.988416 | 2019-10-21T15:35:15 | 2019-10-21T15:35:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,744 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/browser/api/declarative_net_request/composite_matcher.h"
#include <string>
#include <utility>
#include <vector>
#include "component... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
96b016cf6884da8d1397d2555267d60f3e034a46 | 26df6604faf41197c9ced34c3df13839be6e74d4 | /src/org/apache/poi/sl/draw/binding/CTGroupTransform2D.cpp | 2a1c1bd9d5f0fbd46518e8cc6d7f8ec261d8d41c | [
"Apache-2.0"
] | permissive | pebble2015/cpoi | 58b4b1e38a7769b13ccfb2973270d15d490de07f | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | refs/heads/master | 2021-07-09T09:02:41.986901 | 2017-10-08T12:12:56 | 2017-10-08T12:12:56 | 105,988,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,963 | cpp | // Generated from /POI/java/org/apache/poi/sl/draw/binding/CTGroupTransform2D.java
#include <org/apache/poi/sl/draw/binding/CTGroupTransform2D.hpp>
#include <java/lang/Boolean.hpp>
#include <java/lang/Integer.hpp>
#include <java/lang/NullPointerException.hpp>
#include <org/apache/poi/sl/draw/binding/CTPoint2D.hpp>
#in... | [
"zhang.chen.yu@outlook.com"
] | zhang.chen.yu@outlook.com |
4fc31869d4cce16075f4e3de90ae0aa86b1610c3 | c108353546cee4c5642a1e37eff3ec7d50b396a9 | /つっぱり超相撲a版/dohyo.h | 7e04698c0129fc4f68273ee3e37ed85217f57a75 | [] | no_license | YoshiroAraya/TEAM_E_Ver.2 | 231494e70b9eeb4779c93d0351de7d99e8b14b4a | efb04be9b28a886209d43aad6d6d202ddb20ace1 | refs/heads/master | 2022-02-22T00:43:08.478535 | 2019-10-03T02:34:59 | 2019-10-03T02:34:59 | 186,321,163 | 0 | 0 | null | 2019-05-15T00:58:29 | 2019-05-13T00:47:43 | RPC | SHIFT_JIS | C++ | false | false | 1,421 | h | //=============================================================================
//
// 土俵処理 [dohyo.h]
// Author : 長山拓実
//
//=============================================================================
#ifndef _DOHYO_H_
#define _DOHYO_H_
#include "main.h"
#include "sceneX.h"
//========================================
... | [
"megumiki0718@gmail.com"
] | megumiki0718@gmail.com |
c34072ec0f6674e628a72e2e2503e4116313fda1 | b84aa8a1745f3346f22b9a0ae1c977a244dfb3cd | /SDK/RC_SettingsInfo_BindReload_classes.hpp | f3e7314495992dcad9bae4e2c0ec7ab5c7c07de4 | [] | no_license | frankie-11/Rogue-SDK-11.8 | 615a9e51f280a504bb60a4cbddb8dfc4de6239d8 | 20becc4b2fff71cfec160fb7f2ee3a9203031d09 | refs/heads/master | 2023-01-10T06:00:59.427605 | 2020-11-08T16:13:01 | 2020-11-08T16:13:01 | 311,102,184 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | hpp | #pragma once
// RogueCompany (4.24) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass SettingsInfo_BindRe... | [
"60810131+frankie-11@users.noreply.github.com"
] | 60810131+frankie-11@users.noreply.github.com |
9c7e5e12349677f168191df69fde2b6646f43c76 | 25b4afbcad749a833504269be17a9ad785370fef | /Pod/musicFramework/core/elements/MetronomeNote.h | 8fa7af832975924086ded34b31c27d33438cf430 | [
"MIT"
] | permissive | Bone111/MusicXMLParser | 87eee0a990a49a57a54a59e6ef2baa981c83a740 | 674f6b52634abb95008cc04ee02f4df0055851a6 | refs/heads/master | 2020-03-27T04:26:35.847365 | 2017-09-30T08:19:53 | 2017-09-30T08:19:53 | 145,939,832 | 3 | 2 | MIT | 2018-08-24T03:51:52 | 2018-08-24T03:51:51 | null | UTF-8 | C++ | false | false | 2,890 | h | // MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#pragma once
#include "../../core/ForwardDeclare.h"
#include "../../core/ElementInterface.h"
#include <iosfwd>
#include <memory>
#include <vector>
namespace mx
{
namespace core
{
MX_FORWARD_DECLA... | [
"403554355@qq.com"
] | 403554355@qq.com |
91f1c1d9362e3689deece091d7fac308d9cefb40 | 346985c30c4da4fb94a85579620c0bbab05cc175 | /file_manipulation_on_C_1.cpp | fa3b2b6a179caf92b00c800545cc00e31f827b88 | [] | no_license | rkreutz/classes | cad454aa951cb497dcb0aa67fc9d2b07eb29e83d | 39923ac0c0eacd6915ca9c4e6cd06163a395521c | refs/heads/master | 2021-01-01T06:32:56.328821 | 2015-05-18T16:53:37 | 2015-05-18T16:53:37 | 35,829,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cpp | #include <cstdlib>
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
int main()
{
FILE *pfile;
char x,arquivo[80],c;
printf("Digite C para criar um arquivo ou L para ler um arquivo.('s' finalizar programa)\n");
while(x!='s')
{
printf("Operacao: ");
gets(&x);
if(x=='C'||x=... | [
"rodrigo.kreutz@acad.pucrs.br"
] | rodrigo.kreutz@acad.pucrs.br |
305e406d3a209086cfe19369aa8e8dda20606f9f | c286bfbb9306bf9ba68449b074e5720e4c82f80f | /codeforces/990A.cpp | 7eb1138dbd31c9bc66a200f3ea895976f3b7bd63 | [] | no_license | smarty1palak/cp_summer | 496c773eef0716a99b63570cd670790470b4e0a5 | af0f7cde616c34a3220e72e7955507253658e8df | refs/heads/master | 2021-06-05T14:44:01.839854 | 2019-10-11T12:30:52 | 2019-10-11T12:30:52 | 133,849,944 | 0 | 0 | null | 2019-10-11T12:32:39 | 2018-05-17T17:57:14 | C++ | UTF-8 | C++ | false | false | 246 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long n,m,a,b;
cin>>n>>m>>a>>b;
if(n%m==0)
cout<<0<<endl;
else
{
long long x=n%m;
long long abolish=x*b;
long long build=(m-x)*a;
cout<<min(abolish,build)<<endl;
}
} | [
"smarty1palak@gmail.com"
] | smarty1palak@gmail.com |
76192ff2d432c0fc755a4cdd144a2793186518fa | 54320ef64dd0548a5b5016feed14c606a5fd1e76 | /Edgar_Hakobyan/Homework/c++/27.10.15/tort.cpp | 7db0bd913502153c68f037e1e82f723d105bbf99 | [] | no_license | ITC-Vanadzor/ITC-7 | 9859ebbd0d824d3a480ea281bbdb14edbb6a374e | d2bfcdc3a1faea4cdc1d7e555404445ac8768c66 | refs/heads/master | 2021-01-17T15:43:29.646485 | 2019-02-17T19:07:36 | 2019-02-17T19:07:36 | 44,699,731 | 0 | 4 | null | 2017-04-13T18:45:36 | 2015-10-21T19:38:34 | JavaScript | UTF-8 | C++ | false | false | 300 | cpp | #include <iostream>
int main()
{
int qanak=0;
std::cout<<"greq hyureri qanak@`";
std::cin>>qanak;
if(qanak%2==0)
{
std::cout<<"ktrvacqneri minimal qanakutyun@ klini` "<<qanak/2<<std::endl;
}
else
{
std::cout<<"ktrvacqneri minimal qanakutyun@ klini` "<<qanak-1<<std::endl;
}
return 0;
}
| [
"edgar-hakobyan-1994@mail.ru"
] | edgar-hakobyan-1994@mail.ru |
650b77b41b0a58a5b34721d8b46527a8b39a64ba | b319692696eefea1d77e76a1817912717493999e | /Labs/Lab18/Questao01.cpp | 8b6623af7e89e23da89798863841f4320e500554 | [] | no_license | JoaoCleiton12/ProgramacaoDeComputadores | 761b7dc0a3af7b429166ddf74f60e1edb10b36bc | 8b001abfed1c8c20456a993a62194a4b7545dfa7 | refs/heads/master | 2023-09-03T14:00:14.380099 | 2021-10-10T23:13:27 | 2021-10-10T23:13:27 | 415,393,424 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 495 | cpp | #include <iostream>
using namespace std;
int main()
{
int i = 0;
while (++i < 4)
cout << "Oi! ";
do
cout << "Tchau! ";
while (i++ <= 8);
}
/*i inicialmente é igual a 0, durante do laço while, será exibido
tres "Oi!", apos o fim do laço while i assume valor 4. Inicia-se um outro laço,
o Do-While, em que primei... | [
"joaocleiton60359@gmail.com"
] | joaocleiton60359@gmail.com |
e058eaca011e00cdcdd6ee183c470bfbd4561311 | e8917d1d6381c132a808704654abd13d6a4569e4 | /edge.cpp | 8f3f9b7925b9876914785f3ec3498a89107e9d25 | [] | no_license | ninigino/cvgl | a17a848f4d60dcdef897c1d14c511b746c1b63d5 | e11198014c0bc04b202d07a6e14481d17d5178c3 | refs/heads/master | 2021-08-08T05:08:56.345442 | 2017-11-09T15:51:09 | 2017-11-09T15:51:09 | 110,132,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,662 | cpp | #include <opencv2/opencv.hpp>
#include <stdio.h>
#define FLAG 0
char *preset_file = "fruits.jpg";
void convertColorToGray(cv::Mat &input, cv::Mat &processed);
void func_sobel(cv::Mat &input, cv::Mat &processed);
int main(int argc, char *argv[]){
char *input_file;
cv::Mat input, gray, processed;
if(argc == 2... | [
"hyuga.hmn15@gmail.com"
] | hyuga.hmn15@gmail.com |
b555655f918d0dfb220143202f2143050e2bc276 | cee57f404a35751595d610215ceba027af1e10c4 | /Tutorials/compressible/obliqueShock/0.004/U | 671c5b879a8d327c07e31c94757ff9b410593c9a | [] | no_license | AAShevelev/HLLCFoam | de1313535496b657b078cb13f6eb10cc666c9cd0 | 022e730047c3f67d0c394894e2300acfa6d44873 | refs/heads/master | 2022-11-26T14:30:35.242410 | 2020-07-27T09:09:55 | 2020-07-27T09:09:55 | 282,840,750 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226,704 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
... | [
"alexandershevkin@gmail.com"
] | alexandershevkin@gmail.com | |
d6ba2ead790cdd31d4bfe6327440435c3986f455 | 75c8a1e71ebe38685e2252ff505ab8e7c359e856 | /vs/main.cpp | 660b7d0d6e7eec878d8e1e85178de38875d0f38c | [] | no_license | g-su-hudiono/Vulkan | a449c3aa504d497c801e5b8bd4dd63bfd3c11008 | c1479471f48a4a8262a340ce3f92303ed9a2a5a5 | refs/heads/master | 2023-07-12T17:32:20.299571 | 2021-08-30T08:37:20 | 2021-08-30T08:37:20 | 393,077,342 | 0 | 0 | null | 2021-08-30T08:37:21 | 2021-08-05T14:43:00 | C++ | UTF-8 | C++ | false | false | 242 | cpp | #include "app.h"
#include <iostream>
int main() {
App app;
try {
app.run();
} catch (const std::exception& e) {
std::cerr << e.what() << std::endl;
return EXIT_SUCCESS;
}
return EXIT_SUCCESS;
}
| [
"g-su-hudiono@gametools.jp"
] | g-su-hudiono@gametools.jp |
50c245fd10b00a213ab5b230888a505f43d7d194 | 00ef8d964caf4abef549bbeff81a744c282c8c16 | /chrome/browser/extensions/active_tab_unittest.cc | cc9472ea37bcbd4771041fffef52e51034b65e2d | [
"BSD-3-Clause"
] | permissive | czhang03/browser-android-tabs | 8295f466465e89d89109659cff74d6bb9adb8633 | 0277ceb50f9a90a2195c02e0d96da7b157f3b192 | refs/heads/master | 2023-02-16T23:55:29.149602 | 2018-09-14T07:46:16 | 2018-09-14T07:46:16 | 149,174,398 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,507 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <string>
#include <utility>
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/values.h"
#include... | [
"artem@brave.com"
] | artem@brave.com |
1b8043f5e0aac0a9ca5e3c218562d9bef3cb3f25 | 29f2549998b45a046930f3b1c5e3024791b1be16 | /lib/Transforms/Scalar/MemCpyOptimizer.cpp | 5182b4b4bcd8b0f2971c5cdcbb448e00e5746b3e | [
"NCSA"
] | permissive | fanfuqiang/iec-61131_new | eda210bd30a6a32e3d14c3d3e87f51b179124c72 | fde56fdefd60e33facaa07661e388ed6c916c763 | refs/heads/master | 2016-09-05T14:59:12.678870 | 2015-02-06T23:55:09 | 2015-02-06T23:55:09 | 30,048,552 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,857 | cpp | //===- MemCpyOptimizer.cpp - Optimize use of memcpy and friends -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"feqin1023@gmail.com"
] | feqin1023@gmail.com |
3cf58510f302be4cdbca39d381926d80732de312 | 068d662c808fca5c69edd07c517da485bed8d16f | /Phone_Keypad.cpp | c446d7f783a48f17a9d3fcaf43edcd1acf583ac4 | [] | no_license | jai13598/Mobile-Phone_keypad | 37e8760ab1829476bdd8315411d9fade27ee43f2 | a10c9eb6d16a3cfcde7872a5e8d60f66a5647a2a | refs/heads/master | 2022-10-05T07:30:10.009943 | 2020-06-08T07:09:52 | 2020-06-08T07:09:52 | 270,567,061 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | #include<iostream>
using namespace std;
char key[][10]={"","","ABC","DEF","GHI","JKL","MNO","PQRS","TUV","WXYZ"};
void Phone_keypad(char* in,char* opt,int i,int j){
if(in[i]=='\0'){//base case
opt[j]='\0';
cout<<opt<<endl;
return;
}
//recursive case
int digit=in[i]-'0';
for(int k=0;key[digit][k]!=... | [
"noreply@github.com"
] | noreply@github.com |
e7f018faeaf4eab7c4f4db45e9ab9c861bc20a1c | 30ef17f79b134a83b6e5e440937c886cce5afa7b | /src/dram.cpp | 5ed812e336d3c51902a248a9a5ee16f83a9e46f6 | [] | no_license | amitsunildhamne/Chip-Multi-Processor-System | af2a234fe7fbe18373a3885312af52542906fce3 | ed6c18499eebda48ce185926871d60ba686cc8f3 | refs/heads/master | 2021-01-22T23:20:34.164902 | 2017-03-20T20:44:50 | 2017-03-20T20:44:50 | 85,624,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,643 | cpp | #include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "dram.h"
#define DRAM_Banks 16
#define ROW_BUFF_SZ 1024
#define ACT 45
#define CAS 45
#define PRE 45
#define BUS 10
extern MODE SIM_MODE;
extern uns64 CACHE_LINESIZE;
extern Flag DRAM_PAGE_POLICY;
///////////////////////////////////////////////////... | [
"vidyalankar@Amitdhamne.local"
] | vidyalankar@Amitdhamne.local |
075f2d45147435da5aed171515976b5ad68f1305 | 2e4b3664cb689c606463abbb4fe569afa3bdfd6f | /PewPew/Subject.cpp | b5ae402707a01a05405429680ff9be89930d5867 | [] | no_license | PigeonZombie/PewPew | f1a584900c3385579aa67bd49167a832000308cf | 940679616c1eaec52d353425d6a52ecbe7b76b69 | refs/heads/master | 2021-06-06T13:06:26.025787 | 2016-10-30T15:15:31 | 2016-10-30T15:15:31 | 72,356,362 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,545 | cpp | #include "Subject.h"
#include <exception>
#include <iostream>
#include "Joueur.h"
vector<IObserver*> Subject::observers;
vector<IObserver*> Subject::armeObservers;
void Subject::Add_Observer(IObserver* _observer)
{
//Si l'observateur n'est pas déjà dans la liste...
if (!(std::find(observers.begin(), observers.end()... | [
"alicia.orchidee@gmail.com"
] | alicia.orchidee@gmail.com |
243a061aa7c4466f7a2bf9972646f83af6b2f98e | e112299d9dd49af971a95b65f84d3684c1b76beb | /4.1 Tree/9) Convert Sorted Array to Binary Search Tree.cpp | c142838bff2e3b76cfaa60d0bea91b50d1f169e1 | [] | no_license | kaili302/Leetcode-CPP-exercises | 3c47be20bfc982ece07632b64e64d5e67e355a4c | 4de5c5b5265fd1fdad2dfdad7120472cfcc0d269 | refs/heads/master | 2021-08-27T16:15:03.089910 | 2016-11-20T15:58:29 | 2016-11-20T15:58:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | cpp | /*
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.
*/
class Solution{
private:
deque<TreeNode*> toDelete;
TreeNode* newNode(int val){
toDelete.push_back(new TreeNode(val));
return toDelete.back();
}
TreeNode* generateBST(vector<int>& nums, int lo, int hi){
... | [
"kai_li@outlook.com"
] | kai_li@outlook.com |
f713f50f3fa0f563e84439513472770afd36de53 | a66657cb39f14ea23dd102ab1ee1cb968cd369eb | /Maternodes/ChainX-MN/rpcwallet.cpp | 443c1a8a5ac68de6c795c6627803d78b3046bf98 | [
"MIT"
] | permissive | pochingchen/ChainBlockchain | de7180707f6b309096cfb3ada97d1ea55f580b65 | 0fb3bb5677109ff75de746e5bfd63a4e7a99ce75 | refs/heads/master | 2023-08-08T11:16:18.811141 | 2017-07-10T21:36:38 | 2017-07-10T21:36:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,185 | cpp | #include "amount.h"
#include "base58.h"
#include "chain.h"
#include "core_io.h"
#include "init.h"
#include "main.h"
#include "net.h"
#include "netbase.h"
#include "policy/rbf.h"
#include "rpcserver.h"
#include "timedata.h"
#include "util.h"
#include "utilmoneystr.h"
#include "wallet.h"
#include "walletdb.h"
#include "k... | [
"noreply@github.com"
] | noreply@github.com |
3c68bdead9037f07e734fd56b14d7c1727ba74bc | 94564668a6f472b5f73fc77a7356bc9dac0accb7 | /LabelInspection/LabelInspection.cpp | 19a4b0cb3f072f2a98ffe66717b74daf543daffa | [] | no_license | rkyoung3/LabelInspection | 717b37e83cf8a79e84d2e0380516d684a42e02f9 | 0feffe0b0256671b2b7a982a79d1949fae3eed7e | refs/heads/master | 2020-06-19T10:32:56.693124 | 2016-11-27T19:10:21 | 2016-11-27T19:10:21 | 74,908,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,726 | cpp | /* *************************************************************************************************
* LabelInspection - Created: 08/23/2016 3:25:59 PM
* Creator Robert K Young - rkyoung@sonic.net
* ChangeLog:
* 0.0.1 - 08/23/2016 03:32:33 PM - Initial Version
* 0.0.2 - 08/24/2016 04:22:15 PM - Added capture file nam... | [
"rkyoung@sonic.net"
] | rkyoung@sonic.net |
5107193ea71f0f4044414f5267ecd7b76a38fd26 | 536523bda8c19578305732b31db4de619e04ef6d | /local_laplacian/opencv_utils.cpp | c0f468f91f3baf77ed3173e5991dab13f4fb9aae | [] | no_license | t-kuha/sdsoc | f4a0fb1e576f5962eb6f3c298bac246c7e06d696 | 040020c81f9e39528026a3676ed2dc152ef1c90c | refs/heads/master | 2021-06-25T23:35:05.706471 | 2021-03-13T02:43:04 | 2021-03-13T02:43:04 | 75,615,131 | 12 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 4,514 | cpp | // File Description
// Author: Philip Salvaggio
#include "opencv_utils.h"
#include <iostream>
cv::Mat ByteScale(const cv::Mat& input,
bool verbose) {
cv::Mat output;
ByteScale(input, output, (double*)NULL, (double*)NULL, verbose);
return output;
}
void ByteScale(const cv::Mat& input,
... | [
"imagingtechnerd@gmail.com"
] | imagingtechnerd@gmail.com |
e9d5e680129153342134987d5f98471b1de127a8 | 674bcb4bf88b5359ea9710c864481af61f5867d3 | /src/external/bgfx/3rdparty/spirv-tools/source/opt/loop_unroller.cpp | 6cdced4640c76c340975b902ea2c114ba6581440 | [
"BSD-2-Clause",
"MIT",
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | HippoPlayer/HippoPlayer | a1da46743507c866c5e614f36122348794229b05 | a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6 | refs/heads/master | 2023-04-19T13:05:36.210552 | 2021-05-08T06:48:18 | 2021-05-08T06:48:18 | 2,195,999 | 44 | 5 | Apache-2.0 | 2022-10-19T15:45:21 | 2011-08-12T08:12:25 | C | UTF-8 | C++ | false | false | 41,952 | cpp | // Copyright (c) 2018 Google LLC.
//
// 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... | [
"Collin"
] | Collin |
31c496d789756c0ea5fbab0bced6f97d9ab2a540 | ae7caa892571146c2747e74d19f52fb98cdb791c | /airec/include/alibabacloud/airec/model/PushInterventionResult.h | 7ae5e24e7033baf6cbc2176c577a47ccc7e2d610 | [
"Apache-2.0"
] | permissive | hitlqh/aliyun-openapi-cpp-sdk | f01460a23d0370301b99a84b4c3b1563d74a763b | 65f76cc2c832833341cd18118abba666037edaa9 | refs/heads/master | 2023-03-14T04:03:37.128843 | 2021-03-08T03:22:15 | 2021-03-08T03:22:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | h | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
864f74ee7c2f85b54335b6f4b212c819428a4f99 | 0f663ef38ee88f31787e5f64d9e832d2e9d1c5da | /trie.h | c2ec9431f5b9a30d0e720df5e4af92a1eae82c79 | [] | no_license | BrandonOdiwuor/SpellCheckerAndCorrector | d40912b6e0b2783ccb606d5ebcd0d94945c15ec9 | 7f7f98e5547864110be13059edbd5bf92cf6b970 | refs/heads/master | 2020-03-28T17:05:46.694420 | 2018-09-14T08:16:48 | 2018-09-14T08:16:48 | 148,757,697 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | h | /*
* File: trie.h
* Author: Brandon Wayne Odiwuor
* Date: Septermber 11th, 2018
* -----------------------------
* This file exports implementation of Trie data structure
*/
#ifndef _trie_h
#define _trie_h
#include <iostream>
#include <string>
/*
* Type: TrieNode
* --------------
* This structure stores pr... | [
"brandon.odiwuor@gmail.com"
] | brandon.odiwuor@gmail.com |
1820652cc22496dc72b0567cb0d8f1ee9c2b2908 | 03df8063d74c07015526260faf1efaeb78289a0c | /src/click/elements/netproxy/networkproxyserver.hh | c056f1241e67259c8416dc8baf3c17d733f7a58c | [] | no_license | ianrose14/argos | 6ed5bf94a97d4b48fdcdde66108df8c97ca051bd | b540fb93062cd566a2f148c5d429f66fbff74444 | refs/heads/master | 2016-09-05T22:18:57.988099 | 2012-06-28T14:30:36 | 2012-06-28T14:30:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | hh | #ifndef CLICK_NETWORKPROXYSERVER_HH
#define CLICK_NETWORKPROXYSERVER_HH
#include <click/element.hh>
#include <click/hashmap.hh>
#include "proxyreceiver.hh"
#include "proxyserver.hh"
#include "../loghandler.hh"
CLICK_DECLS
/*
=c
NetworkProxyserver()
*/
class NetworkProxyServer : public Element {
public:
NetworkP... | [
"ianrose14@gmail.com"
] | ianrose14@gmail.com |
b5ff03deefd8e714ac0ea3132cb8bc7c261345ca | d4cbb38cdffbaab3314be5f63c813afa0c689ffd | /Lab-02 (BarChart-Rectangle-setColor-setFillStyle-FloodFill)/GraphicsLab_02/GraphicsLab_02/Test.cpp | 930f903234897a2ee82ec4c5cc2e83f8554596a6 | [] | no_license | mdtanvirhossain/Computer_Graphics_Lab_CSE422_DIU_Summer_2019 | 21480c2a49b6a5a8f66e121e85b5f689e7a64114 | d849e5c106ad8637f82156f2df3299e377b267c9 | refs/heads/master | 2020-05-27T09:02:50.426986 | 2019-08-03T12:14:34 | 2019-08-03T12:14:34 | 188,559,078 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | #include<graphics.h>
#include<conio.h>
main(){
int driver,mode;
driver=DETECT;
mode=0;
initgraph(&driver,&mode,"c:\\tc\\bgi");
setbkcolor(WHITE);
setcolor(WHITE);
rectangle(150,40,450,180);
setfillstyle(1,GREEN);
floodfill(160,50,WHITE);
setcolor(WHITE);
rectangle(138,35,150,450);
setfillstyle(1,BLUE);
floodfill(140,... | [
"tanvir15-7157@diu.edu.bd"
] | tanvir15-7157@diu.edu.bd |
01112cb94fbf7657d0e59aaebf1086a2670e8f48 | f540f6e63fd9efa69a38d88ab1f435f589d15d3b | /inexlib/ourex/dcmtk/dcmimgle/include/dcmtk/dcmimgle/displint.h | 9affc035321a4698a54b6d76639d30ba8cc2b9c6 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"BSD-3-Clause",
"BSD-4.3TAHOE",
"xlock",
"IJG",
"LicenseRef-scancode-other-permissive"
] | permissive | gbarrand/ioda | a43aab4548d36074dc49c3924b6826aff8446ad8 | bf569f61703cf25e60145d0a28b947937cf40fe4 | refs/heads/master | 2021-07-09T02:51:58.267796 | 2018-12-20T13:56:04 | 2018-12-20T13:56:04 | 135,979,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,290 | h | /*
*
* Copyright (C) 1996-2010, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmimgle
*
* Author: Joerg R... | [
"guy.barrand@gmail.com"
] | guy.barrand@gmail.com |
92bee91be78c05befacba665d1d2d11e025820b7 | ded208ac8c9ff885f3e07eb5b74fe2b550dc533d | /cpp/src/gandiva/precompiled/date.h | 3c6f874b58d715e235eba688f009d9191d503abf | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | pdxtrader/arrow | d9b1d0d62b91337e95649e793fe309de0b3ebb57 | 4fbbffa3fab81fb4b4c483f01090a7740cf4f448 | refs/heads/master | 2020-04-04T04:58:52.088927 | 2018-11-01T14:19:10 | 2018-11-01T14:19:10 | 155,731,798 | 1 | 1 | Apache-2.0 | 2018-11-01T14:58:50 | 2018-11-01T14:58:49 | null | UTF-8 | C++ | false | false | 217,768 | h | #ifndef DATE_H
#define DATE_H
// The MIT License (MIT)
//
// Copyright (c) 2015, 2016, 2017 Howard Hinnant
// Copyright (c) 2016 Adrian Colomitchi
// Copyright (c) 2017 Florian Dang
// Copyright (c) 2017 Paul Thompson
// Copyright (c) 2018 Tomasz Kamiński
//
// Permission is hereby granted, free of charge, to any pers... | [
"wesm+git@apache.org"
] | wesm+git@apache.org |
f95b9ef26dc831d403b0fc6079e0c2437250fb3d | 0ec9df3bb8b86216e18fe4cb66b6612297245aea | /Sources/CXXBoost/include/boost/smart_ptr/detail/local_sp_deleter.hpp | 2aaeda4de80394757c463b9886076a7a6aa649bf | [] | no_license | jprescott/BoostTestWithLib | 78ae59d1ee801201883cf07ab76b8267fadf7daa | 8650523cab467c41be60f3a1c144f556e9a7f25c | refs/heads/master | 2022-11-18T14:49:00.664753 | 2020-07-18T21:45:17 | 2020-07-18T21:45:17 | 280,749,418 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | hpp | #ifndef BOOST_SMART_PTR_DETAIL_LOCAL_SP_DELETER_HPP_INCLUDED
#define BOOST_SMART_PTR_DETAIL_LOCAL_SP_DELETER_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
// detail/local_sp_deleter.hpp
//
// Copyright 2017 Peter Dimov
//
// Distribut... | [
"jprescott12@icloud.com"
] | jprescott12@icloud.com |
2b653eb033166504d31d616ee46b5d4a0dbec6fa | 29dec11a2447cc9e8e301bbfa9db28491eb76f1e | /src/io/stream/StreamBuffer.hxx | 60e741f6582fd3ec688aab1e4200dd1be43694c2 | [] | no_license | kvr000/drt | 897a706523132b2a92273144da993a300947b555 | 28d859693046ecf96cdc70052bb4e2629833c740 | refs/heads/master | 2022-05-01T10:42:10.695069 | 2022-03-27T02:34:05 | 2022-03-27T02:34:05 | 222,618,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,176 | hxx | /**
* drt library
*
* drt multiplatform development toolkit
*
* ----------------------------------------------------------------------------------
*
* Copyright (C) 2004-2008 Zbyněk Vyškovský
*
* ----------------------------------------------------------------------------------
*
* LICENSE:
*
* This file i... | [
"kvr000@gmail.com"
] | kvr000@gmail.com |
619a390c6e9a18af113f015acc3b125ce33d74d0 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/c0/017094895cf3ba/main.cpp | 100e8418610ce6fc8f1ba55084d488c6cd25397c | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | cpp | #include <chrono>
#include <iostream>
#include <type_traits>
#include <utility>
// Executes fn with arguments args and returns the time needed
// and the result of f if it is not void
template <class Fn, class... Args>
auto timer(Fn fn, Args... args)
-> std::pair<double, decltype(fn(args...))> {
static... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
49d74ab7da5fe4ec6e0e7b2a9959b4625720e52d | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_log_6759.cpp | 95b7c52a5a29cf87bbbc098ecf4bb6bfb6036855 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | ap_log_cerror(APLOG_MARK, APLOG_DEBUG, status, io->c, APLOGNO(03387)
"h2_conn_io(%ld): FILE_to_scratch(%ld)",
io->c->id, (long)len); | [
"993273596@qq.com"
] | 993273596@qq.com |
8186f91c55eb59a181ea6718b6ed1becb212a1fc | 5c0895ef7a5295ec2614e0b50b30dc55d7d9ae12 | /osamazik.cpp | 749924d9f22b8736afc801a78d20c58eb211c6fd | [] | no_license | joydip10/Contest-problems | 48145353631ddccd40dc4e22069503c09676658e | dfe668089059a7dd30dd4b6ab436892bac7be207 | refs/heads/main | 2023-06-13T23:44:18.184129 | 2021-07-12T04:41:59 | 2021-07-12T04:41:59 | 385,126,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
int a,b;
for(int i=1;;i++)
{
scanf("%d %d",&a,&b);
if(a==0 && b==0) return 0;
else
{
double p=((double)a*(double)b)/(2*3.1416);
printf("Case %d: %.1lf\n",i,p);
}
}
... | [
"joydipdasNSTU@gmail.com"
] | joydipdasNSTU@gmail.com |
4e0b32640e509e862be0537d89f74ca0862548da | ee5d47e1b6d68ad1a0bb1b9d4d643ae8d576c668 | /programs/alpha/src/main.cpp | 44162dab7e40c2a1f47aefb84ca0a2ad891d7b22 | [
"MIT"
] | permissive | wichtounet/thor-os | c7008b69cbec11dac2daac60e588bf588cc65836 | 4fae8bb77cf4b3b34241c7004a32e8bca22a51e9 | refs/heads/develop | 2023-05-30T15:19:47.312478 | 2021-05-24T09:15:10 | 2021-05-24T09:15:10 | 13,440,471 | 1,743 | 217 | MIT | 2021-05-24T09:15:10 | 2013-10-09T11:28:24 | C++ | UTF-8 | C++ | false | false | 416 | cpp | //=======================================================================
// Copyright Baptiste Wicht 2013-2018.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://www.opensource.org/licenses/MIT)
//=================================================================... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
9643a2579b02fa4632dbbb20c87464498519b6a7 | d38681cfcef7e817467358754dc9a50cc4e4b779 | /task_four_server/server.cpp | e6141407b41da7e23bd40ae9d28eaf1dba975ff9 | [] | no_license | emcvhkr/train_task | 7c6720e6ec06eff1456fc4f27f85f346cb4153e5 | c91eced21892fea0eb030b852ab8f5ae6d688162 | refs/heads/master | 2020-03-24T00:17:24.676009 | 2018-08-17T07:03:33 | 2018-08-17T07:03:33 | 142,283,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,442 | cpp | #include "server.h"
//
//PUBLIC
//
Server::Server(QObject *parent):QTcpServer(parent)
{
}
Server::~Server()
{}
void Server::incomingConnection(qintptr socketdescriptor)
{
qDebug()<<"New Connection!";
SocketThread *thread = new SocketThread(0,socketdescriptor);
connect(thread,SIGNAL(check_is_duplicate(QStr... | [
"mali-2657216@163.com"
] | mali-2657216@163.com |
b36e184d0a7281909c6e485f7f0c70066a1e69cf | ce2a8c78f4e1bc8c2e06a4c5c0df533589eb4eb6 | /CS162/wk1/Determinant/main.cpp | 8653d959a58c48a0e64a9b66dfa5bd03af8dbb94 | [] | no_license | grykah/Coursework | f16f73a28883d8160746f1e50ec9f525b81bd190 | 35640f88d7f2086945e925e2ef0e18e67dbe14fd | refs/heads/master | 2023-01-09T12:29:03.256708 | 2020-11-05T00:58:07 | 2020-11-05T00:58:07 | 285,410,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | cpp | /************************************************************************
** Program: main.cpp
** Author: Hailey Wilder
** Description: main using the readMatrix and determinant as specified
** in programming requirements
************************************************************************/
#include <iostream... | [
"grykah@gmail.com"
] | grykah@gmail.com |
43feeb41dd861d19123f9a81c6b62f3902efab88 | ccfe4094847ca44b9cd3e2b747964b1063132355 | /C++/micerun.cpp | e288a7de795a0f575833dcdcee12eef49c25e806 | [] | no_license | dils12001/C_Practice | 53fdee47a17e0c0e69ff01318cdd727fa2dab291 | c80d6698c048eb03dfef0bf52b5f1faaaaf26272 | refs/heads/master | 2023-08-01T00:13:16.521740 | 2021-09-04T11:23:14 | 2021-09-04T11:23:14 | 403,036,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cpp | #include <iostream>
void Three(void);
void See(void);
using namespace std;
int main()
{
Three();
Three();
See();
See();
}
void Three()
{
cout << "Three blind mice" << endl;
}
void See()
{
cout << "See how they run" << endl;
} | [
"dils210293@gmail.com"
] | dils210293@gmail.com |
a4556fd9a49106f70f97c4a84334d415f4775c41 | 9a11be058cf3a1ef7984c3a861e406b7fa959db6 | /bullet.h | 979826f9d85f6eb3abdcee619fcc168dd8d6dd4a | [] | no_license | Weh18095982632/2019202417-bh | 521a000ad3d462cdf9b9e32e9172d2a7c18cd4cb | d38dcf46c29fa7d55d56ecdbe107f0ec021ed7e3 | refs/heads/master | 2022-11-05T20:32:48.020789 | 2020-06-28T10:16:57 | 2020-06-28T10:16:57 | 269,961,295 | 0 | 0 | null | 2020-06-18T05:30:20 | 2020-06-06T11:32:11 | C++ | UTF-8 | C++ | false | false | 830 | h | #ifndef BULLET_H
#define BULLET_H
#include <QPoint>
#include <QSize>
#include <QPixmap>
#include <QObject>
class QPainter;
class MyWidget;
class FearfulEnemy;
class Bullet : QObject
{
Q_OBJECT
Q_PROPERTY(QPoint m_currentPos READ currentPos WRITE setCurrentPos)
public:
Bullet(QPoint startPos, QPoint targetPoin... | [
"noreply@github.com"
] | noreply@github.com |
a051697d9aef25025f18d51e44c6555517e467d8 | f7756475221d7f78cd07bf084e0b916410b5a04a | /junk/lib/util/geometry.cpp | fd05839d63935b7af39544603701bdd6cdd7fe31 | [] | no_license | olegsidorkin/war-balls | 294309900a62108cf10bba2ce0876e0da30e6925 | e20823ad95b5ccb112e770a73192c30439ae4073 | refs/heads/master | 2020-05-20T19:24:15.763734 | 2015-05-19T17:08:37 | 2015-05-19T17:08:37 | 36,093,833 | 0 | 0 | null | 2015-05-22T20:29:32 | 2015-05-22T20:29:32 | null | UTF-8 | C++ | false | false | 711 | cpp | #include "util/geometry.h"
#include <cassert>
#include <cmath>
double ab::Length(const ab::Point point)
{
return sqrt(point.x * point.x + point.y * point.y);
}
double ab::Distance(const ab::Point lhs, const ab::Point rhs)
{
return sqrt((lhs.x - rhs.x) * (lhs.x - rhs.x) + (lhs.y - rhs.y) * (lhs.y - rhs.y));
}... | [
"yellowduck@yandex-team.ru"
] | yellowduck@yandex-team.ru |
820e709dba01edb8812dfeeb69fa8fcacff82408 | 007f223ef91db87322d4983079bd3f32b675410a | /include/Employee.h | 8bc2f483e915feb9e42e961146de761ab8ffd858 | [] | no_license | RedBoxer/tp-lab-6 | 8c6f8b51b3e22a732d8639d7a60d2665c2fdbcfb | 9e9b2bbac0b183950055323c48eb58aa154b0119 | refs/heads/master | 2021-01-07T02:18:41.164995 | 2020-03-07T18:46:16 | 2020-03-07T18:46:16 | 241,551,084 | 0 | 0 | null | 2020-02-19T06:39:03 | 2020-02-19T06:39:02 | null | UTF-8 | C++ | false | false | 911 | h | #ifndef EMPLOYEE_H
#define EMPLOYEE_H
#include <string>
class Employee
{
public:
Employee();
Employee(std::string name){this->name = name;};
void setName(std::string name){this->name = name;};
void setSal(int payment){this->payment = payment;};
void setId(int id){this->id =... | [
"52marba@mail.ru"
] | 52marba@mail.ru |
1da4350ec8938cf3118bee41450b706b91d754a1 | 21ede326b6cfcf5347ca6772d392d3acca80cfa0 | /content/renderer/media/webrtc/mock_peer_connection_impl.h | 6905b976b4cf34eac76cb5f8be088dfe8ea73a50 | [
"BSD-3-Clause"
] | permissive | csagan5/kiwi | 6eaab0ab4db60468358291956506ad6f889401f8 | eb2015c28925be91b4a3130b3c2bee2f5edc91de | refs/heads/master | 2020-04-04T17:06:54.003121 | 2018-10-24T08:20:01 | 2018-10-24T08:20:01 | 156,107,399 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,650 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_IMPL_H_
#define CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_IMPL_H_
#include <memor... | [
"team@geometry.ee"
] | team@geometry.ee |
168cb22b48643977d35e57bf76851d58784dbcc2 | 859dfbfd556b64258b1027a7e1612d0989282287 | /shindig/sound_system.cpp | b9bfda19861200e602b50d88e8be1958b98cd4e8 | [] | no_license | mrdooz/shindig | cd8bfa1d499696fcc7d581b81d3838c3464dd2dc | c1493612e325af3153e4e075f099aaa21d8db04f | refs/heads/master | 2021-01-21T12:06:23.694256 | 2011-04-20T19:15:57 | 2011-04-20T19:15:57 | 538,542 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47 | cpp | #include "stdafx.h"
#include "sound_system.hpp" | [
"dooz@spotify.com"
] | dooz@spotify.com |
ac11eaca5adf8a3609206c215dc74f129c10259e | fe91ffa11707887e4cdddde8f386a8c8e724aa58 | /chrome/browser/flags/android/chrome_feature_list.h | 39f3cdce84b6139c10c19686fb692457e0fdeb4f | [
"BSD-3-Clause"
] | permissive | akshaymarch7/chromium | 78baac2b45526031846ccbaeca96c639d1d60ace | d273c844a313b1e527dec0d59ce70c95fd2bd458 | refs/heads/master | 2023-02-26T23:48:03.686055 | 2020-04-15T01:20:07 | 2020-04-15T01:20:07 | 255,778,651 | 2 | 1 | BSD-3-Clause | 2020-04-15T02:04:56 | 2020-04-15T02:04:55 | null | UTF-8 | C++ | false | false | 6,545 | h | // Copyright 2015 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_FLAGS_ANDROID_CHROME_FEATURE_LIST_H_
#define CHROME_BROWSER_FLAGS_ANDROID_CHROME_FEATURE_LIST_H_
#include <base/feature_list.h>
#i... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1093393e6bfd563841a363c986820126cbfffc11 | 522ffc7b7c2f729e238ad75223115a07540b9b17 | /Classes/CheckScene.h | 8f9997aecf36f4ccd5bf8fe37dcfbfc5681ce5f3 | [] | no_license | riverreal/MillionCode | 4644c840c862874dfbfaf50adcdab3570a0a3c66 | aea8d0dc5c6de1b59fba7f3472de39ede366e73f | refs/heads/master | 2021-01-10T18:44:04.746597 | 2015-10-09T13:12:25 | 2015-10-09T13:12:25 | 42,501,345 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,056 | h | #ifndef __MillionCode__CheckScene__
#define __MillionCode__CheckScene__
#include <cocos2d.h>
#include <string>
#include "DataKey.h"
#include "MonsterEqData.h"
#include "Generic.h"
#include "Live2DSprite.h"
#include "tinyxml2/tinyxml2.h"
#include "platform/CCFileUtils.h"
class CheckScene : public cocos2d::Layer
{
priv... | [
"riverreal@hotmail.com"
] | riverreal@hotmail.com |
1ab40a4cc45b8cac6b5b1591e2be55ca56e05f94 | 13ee38271259e1ad931ab707af569947c6560604 | /cvt_colour/solution1/syn/systemc/image_filter_mul_bkb.h | 18e7134a61970072cc6bdc9355ffe7d6d02d5e64 | [] | no_license | baymuhend1s/Hackster | 6d205667abd7edb98eaedb23a8df2c734c872a48 | 430230fc0cfca0c2108baed7470be8551cf9165c | refs/heads/master | 2023-03-16T13:33:03.106238 | 2020-08-03T08:43:22 | 2020-08-03T08:43:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | h | // ==============================================================
// File generated on Tue Apr 09 13:10:00 +0100 2019
// Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC v2018.3 (64-bit)
// SW Build 2405991 on Thu Dec 6 23:38:27 MST 2018
// IP Build 2404404 on Fri Dec 7 01:43:56 MST 2018
// Copyright 198... | [
"aptaylor@theiet.org"
] | aptaylor@theiet.org |
05a909cfaf03afb60946542804946e919da80836 | 2029051667398cfa3a125ca6c0bf6fd087a3c741 | /dev/so_5/disp/adv_thread_pool/h/pub.hpp | dc422c50584f22bf12391d76cec12ee18c8d3741 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nk0leg/so-5-5 | 865c5a775facc27fcdf6766fe635344a7257c432 | ee35a8c8a7e1080faca9b5760e9deece94481ef3 | refs/heads/master | 2021-01-11T21:06:05.865721 | 2016-09-29T07:53:43 | 2016-09-29T07:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,970 | hpp | /*
* SObjectizer-5
*/
/*!
* \since
* v.5.4.0
*
* \file
* \brief Public interface of advanced thread pool dispatcher.
*/
#pragma once
#include <so_5/h/declspec.hpp>
#include <so_5/rt/h/disp_binder.hpp>
#include <so_5/disp/mpmc_queue_traits/h/pub.hpp>
#include <so_5/disp/reuse/h/work_thr... | [
"eao197@1d1731ae-3f85-447d-88f8-c72b288064d1"
] | eao197@1d1731ae-3f85-447d-88f8-c72b288064d1 |
50420c05bb459aad07dd23df00b3820c589116cc | d486e382b75aea4cb176751f5549b8e45cca1ff8 | /MOrse/MOrse.ino | a2940e6487c70a271fee83a8381f553b679489f1 | [] | no_license | ddlogesh/arduino | e42a3165d3bd7252ae98e03c4a7fe50b253be13f | 6036428778eb5db1054c2422ddc6d2c9e39bd71e | refs/heads/master | 2020-07-31T20:36:50.387920 | 2019-09-25T03:18:57 | 2019-09-25T03:18:57 | 210,746,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | ino | void setup() {
pinMode(13,OUTPUT);
}
void dot(){
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(1000);
}
void dash(){
digitalWrite(13,HIGH);
delay(500);
digitalWrite(13,LOW);
delay(1000);
}
void loop() {
//Message in Morse: 'Hi guys'
dot();
dot();
dot();
dot();
delay(2000)... | [
"ddlogesh@gmail.com"
] | ddlogesh@gmail.com |
a25f495a3b5b66318b5124282fc9e1c9deea8001 | ae5abdc7b0d221efb376295ecba745f3b6cdd942 | /States/DungeonState.h | 4712723b58dc3c833f96d79113ed3b8b02241903 | [] | no_license | Fro116/ZRLogger | 957a55ff9d38821c7827da33b0f17ce8d2e0df10 | db682117b1ea414859b77563364ee4efbb7925b5 | refs/heads/master | 2021-01-19T00:49:02.053472 | 2017-01-01T01:52:31 | 2017-01-01T01:52:31 | 62,965,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | h | #ifndef DungeonState_1468541790679911
#define DungeonState_1468541790679911
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <algorithm>
#include <sstream>
#include <memory>
#include <cassert>
#include <limits>
#include <chrono>
#include <set>
#include <cstdlib>
#include <tuple>
#inc... | [
"omnik116@gmail.com"
] | omnik116@gmail.com |
bf85f364620921b26de67a92f0b02aac77cd75da | 4c61ef35fa05af6393b86968c2de1d52e51e9dd3 | /SpellCheck.cpp | 12e5bd89948a130096bb68b005dd1a2cd8ef885e | [] | no_license | MohdAAyyad/Necromancer | 222d23dd5391f5b2b419c5d25b1c7e92944c1b6b | 8dcee0e577328b128ea49c130b1c2b22e3d58216 | refs/heads/master | 2020-12-18T19:43:18.975329 | 2020-06-21T03:55:53 | 2020-06-21T03:55:53 | 235,501,435 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,307 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SpellCheck.h"
TUniquePtr<SpellCheck, TDefaultDelete<SpellCheck>>SpellCheck::instance = nullptr;
SpellCheck::SpellCheck()
{
bSpellIncreasesHealth = false;
bSpellIsASummon = false;
}
SpellCheck::~SpellCheck()
{
... | [
"noreply@github.com"
] | noreply@github.com |
392e8bc8f1fc96b03c4fc060f695d3c269cbc55e | 7d5538864d38167b2cb66764b4ea5c85bee0c918 | /atcoder/abc/230/b.cpp | 8926fdaa1bbbf009b69eef3773cafac7ac38e956 | [] | no_license | iPolyomino/contest | ec63acef925bf4a9b562aab46fc247d0fe7a71b9 | 96bea95174cc320f0620da322a25668ac5c500cd | refs/heads/master | 2023-07-09T01:19:33.026494 | 2023-06-24T01:06:13 | 2023-06-24T01:06:13 | 163,596,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string S;
cin >> S;
string base = "oxx";
int diff = 0;
int i = 0;
while (diff < S.size() && S[diff] != 'o') {
diff++;
}
if (diff > 2) {
cout << "No" << endl;
return 0;
}
while (i + diff < S.size()) {
if (S[i + diff] != base[i % base.siz... | [
"macbookpromacbookpromacbookpro@gmail.com"
] | macbookpromacbookpromacbookpro@gmail.com |
eca331d9067565d64db8876acf17fe5bf091ad3f | 930a0841e000445e9239e94fb7db17a785beb7c9 | /flappy-bird/game.h | b45af598aef485cae9c8011a6c2783a38cb744ca | [] | no_license | zerephe/flappy-bird | 117da66ba8b5c49f6ddaaccbc65f2e414896f8eb | 924ff32bd3dc31f56a0e5c9ae3d4d3c43a87c778 | refs/heads/master | 2022-07-22T02:52:32.269075 | 2022-07-12T16:56:10 | 2022-07-12T16:56:10 | 112,420,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | h | #ifndef GAME_H
#define GAME_H
#include <QApplication>
#include <QWidget>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QTimer>
#include <QObject>
#include <QGraphicsPixmapItem>
#include "bird.h"
#include "score.h"
#include "soundeffects.h"
#include "gameover.h"
#include "barriers.h"
class Game: public Q... | [
"zerephe97@gmail.com"
] | zerephe97@gmail.com |
f620e9c9ddfc76c326c307f0afb66f72a4bf43c7 | 3b66c775b1884af2e2c4535c244e90f39077da8f | /headers/Buildables/FGBuildableRailroadSwitchControl.h | 5b4cac45eeea86c571b9c53a539eaf27e0d1b6ff | [
"Apache-2.0"
] | permissive | ficsit/source-data | e1f04a2c4a3951d06cb8ef22ffbe8b76f41a1756 | d79699a359575cff266f2eae8d36577e3f9870d1 | refs/heads/master | 2021-03-10T14:25:54.439342 | 2020-10-27T17:48:53 | 2020-10-27T17:48:53 | 246,460,239 | 0 | 0 | Apache-2.0 | 2023-09-01T21:00:12 | 2020-03-11T02:54:42 | C++ | UTF-8 | C++ | false | false | 2,889 | h | // Copyright 2016 Coffee Stain Studios. All Rights Reserved.
#pragma once
#include "FGBuildableFactory.h"
#include "FGUseableInterface.h"
#include "FGBuildableRailroadSwitchControl.generated.h"
/**
* A component for controlling a switch's position.
*/
UCLASS( Blueprintable )
class FACTORYGAME_API AFGBu... | [
"ian@nevir.net"
] | ian@nevir.net |
13ca454b843677c98901a3fc32762e3b82710871 | 6f80009a51a1626b1c5bb4e2feb004f8383cfccb | /cc/sieve.cpp | 96934222935ab83fa57e367f70a9cdeb4bcbd729 | [] | no_license | Shreyansh252001/just-codes | c384072160232e154e97eb1e92fbd157e63aff7a | 5a1e3a38be605b811e585493a1f72a6c921f61e6 | refs/heads/master | 2023-01-11T05:28:56.985133 | 2020-11-07T10:00:28 | 2020-11-07T10:00:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<int> findPrimes(int n){
vector<int> v(n+1,1);
v[0] = 0;
v[1] = 0;
int sq = sqrt(n);
for(int i=2; i<=sq; i++){
if (v[i] == 1){
for(int k=i*i; k<=n; k+=i){
v[k] = 0;
}
}
}
for(int i=0; i<v.size(); i++){
if(v[i]==1){
cout << i << " ";
}
}... | [
"sriharshashm@gmail.com"
] | sriharshashm@gmail.com |
84837c1a7c18c340ed7a95f6b1530553798639f2 | 3d193be5bcbc0823c91fdb2504beef631d6da709 | /mojo/public/cpp/bindings/lib/native_struct_serialization.h | 964bbdb13fc33ad72c2dfb5fce929b0aa12c7ecc | [
"BSD-3-Clause"
] | permissive | a402539/highweb-webcl-html5spec | 7a4285a729fdf98b5eea7c19a288d26d4759d7cc | 644216ea0c2db67af15471b42753d76e35082759 | refs/heads/master | 2020-03-22T14:01:34.091922 | 2016-04-26T05:06:00 | 2016-05-03T12:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,713 | h | // Copyright 2015 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 MOJO_PUBLIC_CPP_BINDINGS_LIB_NATIVE_STRUCT_SERIALIZATION_H_
#define MOJO_PUBLIC_CPP_BINDINGS_LIB_NATIVE_STRUCT_SERIALIZATION_H_
#include <stddef.... | [
"kimdh@infrawareglobal.com"
] | kimdh@infrawareglobal.com |
5dbef3681e7a09ef86ef96f33d514768c1bd76e7 | 40842166572b79c8b448ca9ba9a6276ab02a27cc | /Unix/reverse/label.cc | e4ef9e8b713e64f014b770b82f9e6968a903c733 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] | permissive | calmh/pre-git | 8fc775c9d569724c413a0b4291e9f138d2509bae | 4941fad3e5e38802cf96acfec9bfae8aebe7bc09 | refs/heads/master | 2021-03-22T04:26:13.529348 | 2009-12-21T07:59:14 | 2009-12-21T07:59:14 | 65,546,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,270 | cc | /*
Copyright (c) 2000 Jakob Borg
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed... | [
"jb@2a83244e-8797-45b3-a2fb-03eebcce663c"
] | jb@2a83244e-8797-45b3-a2fb-03eebcce663c |
cb44ab6aad243f230f4ed7b01bec8556f8189996 | 5996d5f645a9298ba51412d1ae2df8db9a228707 | /control/xylophoneController.ino | 49b5171b3d41462d905ada8827d4e2745123800b | [] | no_license | hkstm/xylobot | bf862a775f643491c3bdde6312f342539e827741 | 58f587711cbc8b033521c520b39f40e5fdd70c2e | refs/heads/master | 2021-06-23T18:32:32.317922 | 2021-03-23T09:08:10 | 2021-03-23T09:08:10 | 209,025,011 | 0 | 0 | null | 2020-01-24T09:34:20 | 2019-09-17T10:28:49 | Python | UTF-8 | C++ | false | false | 4,398 | ino | //Kinematics: Task01 FK
//Specification of PWM limits (for servo: TGY 50090M Servo):
//Please enter the servo min and max limits for servo 1 and 2 here
//You can find the corresponding limits on a note in your EDMO-box
int SERVOMIN[] {98, 130, 45}; //{min Servo1, min Servo2, min Servo3} ->this is the 'minimum' pulse ... | [
"rik.dijkstra@hotmail.com"
] | rik.dijkstra@hotmail.com |
4596b04945cfbe9333d9e6a4c81d47ccdeced949 | 9b8217bc2ac1a0b003d02776c237517458cdb055 | /libs/filecoin/include/nil/filecoin/proofs/types/bytes_amount.hpp | 8d79981c89ef1b4860431fc87571e23ff4fd8b32 | [
"MIT"
] | permissive | NilFoundation/crypto3-fil-proofs | 9e705e9c2b26db4f6f813a407a1887b210ce7bcf | 1fd78ad608278a1ed62fb29b0a077347b74a55f1 | refs/heads/master | 2023-08-18T09:23:18.875060 | 2021-10-15T10:00:11 | 2021-10-15T10:00:11 | 274,958,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,790 | hpp | //---------------------------------------------------------------------------//
// MIT License
//
// Copyright (c) 2020-2021 Mikhail Komarov <nemo@nil.foundation>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"... | [
"nemo@nil.foundation"
] | nemo@nil.foundation |
f7323a14260a8a1989c2740c46559f3b1f68cae3 | b7311525d769b380afc61589992867ab5209276c | /Parity/src/QwCombinedBPM.cc | fd9a5d00a997881d14b0a65e3b84747e9d9ec0cc | [] | no_license | tianye8001/japan | 1c1cf3a3467d7f931018514c216884a405b885a9 | 9764b1620e4338f7b5e85c54d0846904d6fcd6fa | refs/heads/master | 2020-04-21T09:43:02.742297 | 2018-11-14T16:37:28 | 2018-11-14T16:37:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,967 | cc | /**********************************************************\
* File: QwCombinedBPM.cc *
* *
* Author: B. Waidyawansa *
* Time-stamp: *
\**************... | [
"ciprian@jlab.org"
] | ciprian@jlab.org |
4c27f8afe4f41dfc5f9525fff72afb766d9c2f3f | 01d61a4f248c22d7778b8d15bd45a034db49a34f | /graphics_framework/include/actor/src/baseComponent.cpp | fb3c41fc1c9b43e19b56fc3ff3c8df92e8d71fae | [] | no_license | y1z/Directx_Framework_Project | 5a55cf02c374574b7777d94d64977d8f40ea48c5 | 15d89d27ae432a2323513621dc62bfbf14e411b8 | refs/heads/master | 2020-07-26T13:52:27.281518 | 2019-12-06T09:46:52 | 2019-12-06T09:46:52 | 208,665,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | #include "../baseComponent.h"
baseComponent::baseComponent()
: m_Ready(false),
m_componentType(enComponentTypes::NONE)
{}
void
baseComponent::setReady(bool Readyness)
{
m_Ready = Readyness;
}
void
baseComponent::setComponentType(enComponentTypes type)
{
m_componentType = type;
}
enComponentTypes
baseComponen... | [
"whyis2cool@gmail.com"
] | whyis2cool@gmail.com |
8acbed43e4f4cf018793821a493cd1409d7966fa | 97963f5bbd2b4a0918b6c4f66e355f1cadc0a2dd | /Makefile 001/main.cpp | ea46c6612ab920e5d5b8b6595be4ea55d634b501 | [
"MIT"
] | permissive | jack17529/Makefile-GNU | a23c9277295b314f1db67ac31698e7821e0c4732 | 88e2589227268d4824da333178e3e629fb0de291 | refs/heads/master | 2021-03-13T01:08:50.295068 | 2017-05-16T15:41:08 | 2017-05-16T15:41:08 | 91,475,395 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | #include<iostream>
#include "function.h"
int main(){
print_hello();
std::cout << std::endl;
std::cout << "the factorial of 5 is" << factorial(5) << std::endl;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
51e0da1093b07fc677b00b8b70798861ea84e654 | ad74f7a42e8dec14ec7576252fcbc3fc46679f27 | /PioletDC/ProjectStatus.cpp | a8120323714504f72567525420cbde1fa7c0bc17 | [] | no_license | radtek/TrapperKeeper | 56fed7afa259aee20d6d81e71e19786f2f0d9418 | 63f87606ae02e7c29608fedfdf8b7e65339b8e9a | refs/heads/master | 2020-05-29T16:49:29.708375 | 2013-05-15T08:33:23 | 2013-05-15T08:33:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,915 | cpp | // ProjectStatus.cpp
#include "stdafx.h"
#include "ProjectStatus.h"
//
//
//
ProjectStatus::ProjectStatus()
{
p_project_name=NULL;
Clear();
}
//
// Copy constructor
//
ProjectStatus::ProjectStatus(const ProjectStatus &status)
{
p_project_name=NULL;
p_project_name=new char[strlen(status.p_project_name)+1];
str... | [
"occupymyday@gmail.com"
] | occupymyday@gmail.com |
3d5d7df4ab2df946d55706275269153337867558 | 116c90f349a8957ba4ad0559c7fcc2be78f0f101 | /Koryakin_Mikhail_lr2/main.cpp | e42f146e4ba2e4502f9fa87ee264a2b8d3b0ad31 | [] | no_license | Abdulrahman-gooba/ADS_7383 | bd9cddd961d2fdf132f8852f15e1f2e5684f3bc5 | d70d0b5a0c4dcb2ebfbc72c8e7c0f619ebe72281 | refs/heads/master | 2020-07-29T02:00:17.162169 | 2018-12-27T13:01:31 | 2018-12-27T13:01:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | #include "func.hpp"
int main ( )
{
filebuf file;
string file_name;
stringbuf exp;
string temp_str;
int run = 1;
string k;
int m;
while(run){
cout<<"Введите 1, если хотите ввести выражение из консоли, введите 2, если хотите ввести выражение из файла, 3 - выход из программы."<<end... | [
"mihakoryakin@yandex.ru"
] | mihakoryakin@yandex.ru |
0a1665770adfe1510055bcc141c6c5c19a09ade3 | bbff50d94efc9bc27a449fd5adcfde0a2ee3b5bf | /codechef/JUNE20B/CHFICRM.cpp | f27e7e6a407730c9aee4792948cfd0a5c399fbfe | [] | no_license | ameybhavsar24/competitive-programming | 389b1ffb9f3d11e18bb90b0bb03127086af2b1f0 | c9f74f4b9dba34b9d98d9e6c433d3d7890eaa63b | refs/heads/main | 2023-07-04T17:03:39.699518 | 2021-08-09T14:27:08 | 2021-08-09T14:27:08 | 379,605,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,623 | cpp | // Author: Amey Bhavsar
// IDE: Geany/Ubuntu
// Platform: JUNE20B
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,a,b) for(auto i=a;i<b;i++)
#define repD(i,a,b) for(auto i=a;i>=b;i--)
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
// to be used with alg... | [
"28699912+ameybhavsar24@users.noreply.github.com"
] | 28699912+ameybhavsar24@users.noreply.github.com |
c7b337d9455f28ef9b21d255b717fba57e43fa32 | 6aacf79ae930655c348bd0346d4bc2bc61b69a7e | /ItemType.h | 85a1d6bfe36ec91d06a59b9f9be683b36eee95cc | [] | no_license | nahid226/Data-Structure-in-C-Plus-Plus | bf26cb74df781c9301c5c0dd1669f5942bd9ff33 | 75e8f576d68a3066434a3596a68035e8c2ea8d88 | refs/heads/master | 2020-08-28T02:48:35.699916 | 2019-11-23T18:03:52 | 2019-11-23T18:03:52 | 217,566,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | #ifndef ITEMTYPE_H
#define ITEMTYPE_H
//const int MAX_ITEMS = 5;
enum RelationType{LESS, GREATER, EQUAL};
class ItemType
{
public:
ItemType();
//~ItemType();
RelationType comparedTo(ItemType) const;
void initialize(int number);
void printItem();
protec... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.