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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f9ba66aa5a8e349055c3ab287e89f3a55fae2043 | 2e3f7d511efc89fa54c99545ce5e0bcbe9456974 | /tests/stream_bench/src/Main.cpp | 9f8a0e48e23f7735641bd6f09ac1452fd80788e9 | [
"BSD-3-Clause"
] | permissive | PacificBiosciences/OpenHT | a3aab4ddf01c9339899531d737de4ee38a35bd2e | 63898397de4d303ba514d88b621cc91367ffe2a6 | refs/heads/master | 2021-06-03T19:43:09.920841 | 2020-09-24T14:32:52 | 2020-09-24T14:32:52 | 33,895,564 | 1 | 1 | null | 2015-04-13T21:39:54 | 2015-04-13T21:39:53 | null | UTF-8 | C++ | false | false | 2,618 | cpp | #include "Ht.h"
using namespace Ht;
#include "time.h"
timespec tv_diff(timespec start, timespec end) {
timespec temp;
if ((end.tv_nsec-start.tv_nsec)<0) {
temp.tv_sec = end.tv_sec-start.tv_sec-1;
temp.tv_nsec = 1000000000+end.tv_nsec-start.tv_nsec;
} else {
temp.tv_sec = end.tv_sec-start.tv_sec;
temp.tv_nse... | [
"github.com@RuffFamily.net"
] | github.com@RuffFamily.net |
0b75af8ea0322f080fec2a3df38cb18659c96077 | 9df8caaa9fffb19d5e6f77c3b4e9c8af93a3360a | /AOJ/ALDS/11_Graph1/D_Connected_Components.cpp | d4d4053618a4fd917d613720b933c3378aae339e | [] | no_license | Hiroki9759/Atcoder | 605383cab4c24968b9cf671cb744fe4c05184d9c | be008661a6f324ed58796cba72f67d84ebe88647 | refs/heads/master | 2021-06-27T07:02:19.089286 | 2020-12-11T09:01:54 | 2020-12-11T09:01:54 | 192,643,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | cpp | #include<bits/stdc++.h>
using namespace std;
static const int MAX = 100000;
static const int NIL = -1;
int n;
int color[MAX];
vector<int> G[MAX];
void dfs(int r,int c){
stack<int>S;
S.push(r);
color[r]=c;
while(!S.empty()){
int u = S.top();
S.pop();
for(int i = 0;i<G[u].size()... | [
"hiroki338@gmail.com"
] | hiroki338@gmail.com |
3de1df166e6e5d54381882a70552aac1d20b0ff7 | bd5590209ea02a095d4e84b4c92c6e052afb1030 | /globais.cpp | dc9da94cb33e4c749fcae75ce0b04f81f6323bcb | [] | no_license | paulononaka/cplusplus_opengl_navalbattle3D | 0c26889187b81815aba6ee64b2f9e8485bdb5b5b | 1375090146138fc0e054d6089f7b57e09fe0be11 | refs/heads/master | 2020-04-10T17:42:42.196220 | 2013-03-26T03:36:24 | 2013-03-26T03:36:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cpp | #ifndef _GLOBAIS_CPP
#define _GLOBAIS_CPP
/**
* Define todas as variaveis globais
*/
#include "constantes.cpp"
#include "ceumar.cpp"
#include "canhao.cpp"
#include "navio.cpp"
#include "cruzador.cpp"
#include "destroier.cpp"
#include "submarino.cpp"
#include "portaAviao.cpp"
Submarino gsubmarino; // Objeto subma... | [
"paulononaka@gmail.com"
] | paulononaka@gmail.com |
e142f617799101c90dee7ce4cc29787121c22627 | 894ddd02b4bdf887dcc4559e3e172d91ac29a202 | /GraduationWork/Source/Objects/TestBullet.cpp | 734eb4b7bcb4216ad573e9bec795ea0ee8e1e97a | [] | no_license | yy-yusuke0122/GraduationWork_STG | 79bf14f8ac82ae4430761dc963abfb3a3ff76ed4 | 8bb5ca5786dca8d425efcb4886acaf63dff6b5c7 | refs/heads/master | 2023-03-01T08:33:23.696944 | 2021-02-04T01:27:27 | 2021-02-04T01:27:27 | 313,806,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include "TestBullet.h"
#include "../Components/ProjectileMoveMent.h"
TestBullet::TestBullet()
{
}
TestBullet::~TestBullet()
{
}
void TestBullet::Start()
{
GameObject* player = FindGameObject("Player");
transform->SetPosition(player->transform->position);
AddComponent<ImageRenderer>()->SetImage("Media/TestBullet... | [
"61263724+yy-yusuke0122@users.noreply.github.com"
] | 61263724+yy-yusuke0122@users.noreply.github.com |
7129361d1a1bd916dc4b1dbd151e1d9192ce4726 | 5958562b8f949c2e1eb6f79c8bfa2c6d6973fcd2 | /fitRootConverted/PolarisationHeMinuit1D_chi2_trigger_differentAxE.cpp | 7c75b4888d62273ecc5117d295b9cd9f30410e17 | [] | no_license | siragoni/UPCforData | f716bbcc32405d752e64cf2cf72961a46addbc07 | e517434d3452622e6c66c81601c04e2b83bb1d83 | refs/heads/master | 2023-06-21T08:37:05.310048 | 2023-06-20T13:15:23 | 2023-06-20T13:15:23 | 199,396,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,007 | cpp | #include "TCanvas.h"
#include "TFile.h"
#include "TTree.h"
#include "TLeaf.h"
#include "TH1D.h"
#include "TH2F.h"
#include "TCanvas.h"
#include "TAxis.h"
#include "TMath.h"
#include "TF1.h"
#include "TLatex.h"
#include "TStyle.h"
using namespace std;
#include <math.h>
#include "TH2D.h"
#include "TF2.h"
#include "TStyle... | [
"simone.ragoni@cern.ch"
] | simone.ragoni@cern.ch |
be6e3c14602e2bdb47c0ce0d4b9cf5210b8a7e00 | 9974ebf5cd7e0c11f1e1d8c270f10683caba0388 | /A5/A5.cpp | fd3cf2660738c055b8091a26667bc6159c348527 | [] | no_license | intergrals/CS488 | 1250a7ec4c1277491f82be98a604dd7773d81633 | 4862aafc7b4d1faba4fdc9875cd9a93a18a8e011 | refs/heads/master | 2021-10-28T19:47:48.945004 | 2019-04-24T18:52:41 | 2019-04-24T18:52:41 | 151,970,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,890 | cpp | // Fall 2018
#include <glm/ext.hpp>
#include <thread>
#include <mutex>
#include <random>
#include <iomanip>
#include <stack>
#include <algorithm>
#include <queue>
#include "A5.hpp"
#include "GeometryNode.hpp"
std::mutex mtx;
std::vector<photon> pList;
TreeNode *pTree;
bool donePM = false;
void loading(float percen... | [
"hlpan@edu.uwaterloo.ca"
] | hlpan@edu.uwaterloo.ca |
051cd352c47508e79c026d13432e68e95bbf4829 | 9ec67e83200f643f9f55ed90e0b2cae4581ebcb6 | /SupportLib/ObjectSourcesXML.h | 3058095c37f48e690fab9cc5dc1103e139eacfff | [] | no_license | andrewpaterson/Codaphela.Library | 465770eaf2839589fc305660725abb38033f8aa2 | 2a4722ba0a4b98a304a297a9d74c9b6811fa4ac5 | refs/heads/master | 2023-05-25T13:01:45.587888 | 2023-05-14T11:46:36 | 2023-05-14T11:46:36 | 3,248,841 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,593 | h | /** ---------------- COPYRIGHT NOTICE, DISCLAIMER, and LICENSE ------------- **
Copyright (c) 2012 Andrew Paterson
This file is part of The Codaphela Project: Codaphela SupportLib
Codaphela SupportLib is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License ... | [
"andrew.ian.paterson@gmail.com"
] | andrew.ian.paterson@gmail.com |
605d85494f4bfc15f0ee19711114f86c87536ab0 | ecadb984b00652c9a746852a023e59d397299b34 | /binary_tree_preorder_traversal.cpp | 6f3f2f198381c9ab26e09f341aaf52ce8c447a9b | [] | no_license | sylcrq/leetcode | 12dfa56451cfeac7e34020f505f1c7e1efcaec25 | 315bb79471a91e74a43262ce5762eb2a40986a10 | refs/heads/master | 2021-01-20T02:46:45.683702 | 2015-07-13T06:31:42 | 2015-07-13T06:31:42 | 23,686,865 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include <stack>
#include <vector>
#include "binary_tree.h"
using namespace std;
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
vector<int> g_preorder_result;
// 递归
vector<int... | [
"syl272365943@126.com"
] | syl272365943@126.com |
241d0cbe0eeb73c41a179ab9a9ae33594fab34fd | b23e526f8a8c014c12542e8dd0d66dddf8399cf4 | /Project2.1/main.cc | 092f6b29bc6484a0d6f8cb70d0361e5176407333 | [] | no_license | domi131domi/Project2.1 | b4b908705470705c3166e8674228de8f81317d9f | 7e60c8d9bde5ec950a01f3b4fe1d777f7390565a | refs/heads/master | 2022-04-17T07:30:57.764659 | 2020-03-04T17:38:02 | 2020-03-04T17:38:02 | 176,746,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | cc | /*
Title: LargeNumber Program
Purpose: Showing LargeNumber class capabilities
Author: Dominik Szaciłowski
Version: 0.0.7 09/03/2019
*/
#include <iostream>
#include <string>
#include <bitset>
#include <stdexcept>
#include <cstdlib>
#include "LargeNumber.h"
#include "supportFunctions.h"
using namespace st... | [
"d.szaci@gmail.com"
] | d.szaci@gmail.com |
3adf85f5a81cd2f5845aedf262e7bca567bd21ad | 2cfb31bf995318540bd1a7b6e19eb8b12cb8acd9 | /Codeforces/474A.cpp | 6a30d3ec2dc9c986c94ad3a620d79dbea2016d86 | [] | no_license | aurko96/Competitive-Programming | cf6265456450355e04c34acf9b7500b1cc30fd58 | 7b5a22d077f29145b92caef0883734ca40096227 | refs/heads/master | 2020-03-18T15:08:14.533253 | 2018-05-25T19:07:25 | 2018-05-25T19:07:25 | 134,889,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string b,a="qwertyuiopasdfghjkl;zxcvbnm,./";
char ch;
long long i,j,n,x,y,z;
cin>>ch>>b;
if(ch=='R')
{
for(i=0,j=0;j<b.size();i++)
{
if(b[j]==a[i])
{
cout<<a[i-1];
j+... | [
"malikaurko192@gmail.com"
] | malikaurko192@gmail.com |
6d658e213039d7a865c75a392f4b17b634a97183 | a87ad3fcdd8c48d28b298944b34dbe327fab0684 | /include/executioners/ExecutionerEuler1Phase.h | 7e46f8ec6e81cec8065537be16740aa67bad06a3 | [
"MIT"
] | permissive | joshuahansel/cl1de | e672844d28a4eb8cc32747f5e00154f74a47ee47 | a6e641f6f6ffaa477a3a82ef40e013100577b61f | refs/heads/master | 2021-06-12T11:37:23.030874 | 2021-04-24T02:16:22 | 2021-04-24T02:16:22 | 181,805,386 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,470 | h | #ifndef ExecutionerEuler1Phase_H
#define ExecutionerEuler1Phase_H
#include "Executioner.h"
class BCEuler1Phase;
class EOS1Phase;
class FluxEuler1Phase;
class Function;
class ICsEuler1Phase;
class ProblemEuler1Phase;
class ReconstructorEuler1Phase;
class RunParametersEuler1Phase;
class DoFHandlerEuler1Phase;
class Ex... | [
"joshua.hansel@inl.gov"
] | joshua.hansel@inl.gov |
440c98d2af0b076a6e98ad9f7e0c3497498d591a | 41d8877eea10c28a3777fd294aac4c005bc6e89f | /source/mainwindow.cpp | 6f31d19858a0d72151e7aca9af4df11f26172c7c | [] | no_license | nikcherr/lamp_control | d9688d73d6a78e35623ddab05ca9c2bc7dc4c651 | bfdc8bc5027dce8595f5c6cb4565540b6817eed6 | refs/heads/master | 2020-08-02T01:03:33.458942 | 2019-11-11T19:19:58 | 2019-11-11T19:19:58 | 211,186,484 | 0 | 0 | null | 2019-10-17T18:38:03 | 2019-09-26T21:45:06 | C++ | UTF-8 | C++ | false | false | 2,086 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <memory>
#include <tcp_client.h>
using namespace tlv;
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
client(new TCPClient, custom_deleter)
{
ui->setupUi(this);
connection_timer = std::make_unique<QT... | [
"nikcherr@yandex.ru"
] | nikcherr@yandex.ru |
42f0e9082054e1ec6955405e6770affa4a8849ee | 719b7a89983753a9a8dabda42552f0c2215c6795 | /encodedmessage/encodedmessage.cpp | f15e87156bba83877a14a6cd56346aca8d7c583d | [] | no_license | p-lots/kattis | c524baea77fec03fb3ad9d50931ef24c89e9fee5 | 5bc7692d6eaf9ca2ff933be800aa6414de1f5a8f | refs/heads/master | 2020-05-21T14:43:18.804553 | 2019-11-25T00:36:29 | 2019-11-25T00:36:29 | 186,088,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | #include <cmath>
#include <iostream>
#include <string>
int main(int argc, char *argv[])
{
int cases;
std::cin >> cases;
while (cases-- > 0) {
std::string line;
std::cin >> line;
int side_len = std::sqrt(line.length());
char encoded_message[side_len][side_len];
unsigned i = 0;
for (unsigned j = 0; j < si... | [
"paul@mbp.local"
] | paul@mbp.local |
1d1c81aaf13b267d13fe2ce8c3cb23e5b73b6115 | 9fbff544471056f0816fa52d1bbf0c4db47c1f24 | /leetcode/75.颜色分类.cpp | 8b6f4753c16a445f8a02b97ce2251cca134c434b | [] | no_license | theDreamBear/algorithmn | 88d1159fb70e60b5a16bb64673d7383e20dc5fe5 | c672d871848a7453ac3ddb8335b1e38d112626ee | refs/heads/master | 2023-06-08T15:47:08.368054 | 2023-06-02T13:00:30 | 2023-06-02T13:00:30 | 172,293,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,632 | cpp | /*
* @lc app=leetcode.cn id=75 lang=cpp
*
* [75] 颜色分类
*/
#include <iostream>
#include <string>
#include <string.h>
#include <vector>
#include <utility>
#include <map>
#include <set>
#include <stack>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <algorithm>
#include <ranges.h>
using na... | [
"512068167@qq.com"
] | 512068167@qq.com |
e7022f23c8daaed45dc55edf92da5cdd65b2043e | bf798d5af7effdb06f373ac653e98cb4dd145a5c | /src/qif191/QIFDocument/type_t.CSphericalSegmentFeatureNominalType.h | e3b2887e841701346724e1cd7641feb2b0dbd478 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | QualityInformationFramework/QIFResourcesEditor | 73387fca4f4280cc1145fae32438c5d2fdc63cd5 | 4ff1de9d1dd20d9c43eaa9cc320caeff1c57760e | refs/heads/master | 2022-07-29T15:57:04.341916 | 2021-08-04T16:36:42 | 2021-08-04T16:36:42 | 298,856,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,241 | h | #pragma once
#include "type_t.CFeatureNominalBaseType.h"
namespace qif191
{
namespace t
{
class CSphericalSegmentFeatureNominalType : public ::qif191::t::CFeatureNominalBaseType
{
public:
QIF191_EXPORT CSphericalSegmentFeatureNominalType(xercesc::DOMNode* const& init);
QIF191_EXPORT CSphericalSegmentFeatureNomi... | [
"dc@capvidia.com"
] | dc@capvidia.com |
a39cd2c2fe1733a7d565a5ca28d04c98be7ee816 | c583a5fd60d8497c82c2864e5dec2d1b0853f3b1 | /0535-Encode_and_Decode_TinyURL/main.cpp | 48b959f26586d555157859b6d5f4036b4f8b1ddd | [] | no_license | oliver-zeng/leetcode | 401c9455c73cfe198b1d947407596aaa4d61f6fe | d98fbefb9c6fc0dc78da3cfabf7906f3fa712102 | refs/heads/master | 2020-12-19T19:17:45.522346 | 2020-06-04T12:25:03 | 2020-06-04T12:25:03 | 235,826,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,331 | cpp | class Solution {
using ull = unsigned long long;
const string code = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
unordered_map<string, string> map;
public:
// Encodes a URL to a shortened URL.
string encode(string longUrl) {
ull num;
// Hascode转化为n进制
//... | [
"964994927@qq.com"
] | 964994927@qq.com |
7b80f75f0c44d948f1d0f36ecd04ac6482efde4b | 1f2f8581608853d78ac8a3fd1e59879517c122fa | /计算机与信息类/物联网导论/QRCode/decode/QRCode/src/qrcode/QRCodeV10.cpp | 79c73c10e67350c57e70d558d011ac6960f43d46 | [
"MIT"
] | permissive | qianggui/USTC-CS-Courses-Resource | c02b48da99edcd5aea514fdb78d134cb812c2a3f | 773871ac6ad3f6e6b227af5ae28ceea57a1c629f | refs/heads/master | 2023-02-26T00:58:27.333487 | 2019-01-20T04:28:41 | 2019-01-20T04:28:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,858 | cpp | /*
* QR Code Generator
* Copyright (C) 2014 Stefano BARILETTI <hackaroth@gmail.com>
*
* 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... | [
"zhuheqin1@gmail.com"
] | zhuheqin1@gmail.com |
f2d84dcefac18ef773d309af261e38fe627afdf4 | 4597e1567abfa9dcc628fcf18e78c859eb208ae5 | /lab4/lab4.cpp | 44411cb430d58c8983fcbc760ef618143792f1a2 | [] | no_license | 22liiiii/16281134_OS | 61dc5320f05d6058996f2bd8476026481a4790e0 | 516cb008fac7e7c2d77f4a5e9a50bf3b3400bbc0 | refs/heads/master | 2020-04-28T05:03:28.000589 | 2019-06-13T08:56:20 | 2019-06-13T08:56:20 | 175,005,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,304 | cpp | //
// main.cpp
// lab4
//
// Created by 李婧祎 on 2019/5/27.
// Copyright © 2019 李婧祎. All rights reserved.
//
#include <stdio.h>
#include"stdlib.h"
#include"time.h"
#define R 32 //物理内存块数
#define V 64 //虚拟内存块数
struct LNode
{
int data;
int flag;//访问位
int modify;//修改位
};
void initMemo();
void generate... | [
"lijingyi@lijingyideMacBook-Pro.local"
] | lijingyi@lijingyideMacBook-Pro.local |
b2e5b218c0ff73e2a3c5a81fc1a204aaff607d72 | 1859e30178bffa621c73aaeeb28f4168ba3e57d8 | /CharmCPP/cloudNonOutsrc/TestHIBE.h | 2f5b87da2262f1b596ebb29e7dba60fba9e482d2 | [] | no_license | JHUISI/auto-tools | a97441e96781523646f8607570a1978417a78135 | 88d20b08dbd2f7a799619ac25986184633af459f | refs/heads/master | 2021-08-29T07:04:06.846700 | 2021-08-23T13:29:55 | 2021-08-23T13:29:55 | 8,965,681 | 21 | 6 | null | 2017-01-23T20:07:52 | 2013-03-23T04:13:24 | Python | UTF-8 | C++ | false | false | 555 | h | #ifndef HIBE_H
#define HIBE_H
#include "Charm.h"
#include <iostream>
#include <sstream>
#include <string>
#include <list>
using namespace std;
class Hibe
{
public:
PairingGroup group;
Hibe() { group.setCurve(BN256); };
~Hibe() {};
void setup(int l, int z, CharmList & mpk, CharmList & mk);
void keygen(CharmList ... | [
"jakinye3@jhu.edu"
] | jakinye3@jhu.edu |
220b14295f9d0041ef12d2260379810b45eb5c95 | d7db098f4b1d1cd7d32952ebde8106e1f297252e | /AtCoder/ARC/039/a.cpp | c3f6a91412791b67b9575b62136773bc0a3afa78 | [] | no_license | monman53/online_judge | d1d3ce50f5a8a3364a259a78bb89980ce05b9419 | dec972d2b2b3922227d9eecaad607f1d9cc94434 | refs/heads/master | 2021-01-16T18:36:27.455888 | 2019-05-26T14:03:14 | 2019-05-26T14:03:14 | 25,679,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | // header {{{
#include <bits/stdc++.h>
using namespace std;
// {U}{INT,LONG,LLONG}_{MAX,MIN}
#define ALPHABET (26)
#define INF INT_MAX
#define MOD (1000000007LL)
using LL = long long;
// }}}
int main() {
std::ios::sync_with_stdio(false);
int a, b;cin >> a >> b;
int ans = a-b;
for(... | [
"monman.cs@gmail.com"
] | monman.cs@gmail.com |
38b8da8325714c072cc5a249daec61dd41dc4b8a | 93b84d94220a39b1f756fe0e60a10c400fbded67 | /lista.h | de00427a898efc8e7326347a00670376b9599783 | [] | no_license | MKuzemczak/Robot_v3 | 190f80338162e7d9c79e3332d92e8ccdb0c1eab1 | de16383667b5950bb8ffb57aa90de1cec1f46db6 | refs/heads/master | 2020-03-27T22:27:45.941798 | 2019-02-28T12:28:53 | 2019-02-28T12:28:53 | 147,233,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,774 | h | #ifndef LISTA_H
#define LISTA_H
#include <list>
#include <QDebug>
template<class T, class Allocator = std::allocator<T>>
class Lista : public std::list<T, Allocator>
{
public:
T & operator [](const int index)
{
if(index < 0 || index > static_cast<int>(this->size()) - 1)
... | [
"m.kuzemczak@gmail.com"
] | m.kuzemczak@gmail.com |
053e8379dc999727e77efe184b5f16ede358f271 | 35187ece654f350b8f4a5b013b2ed2c4c7b9c119 | /OOAD Assignment 2 LMS/Clerk.cpp | 9006df3f6a8037d546b51a6f497ceec377ee1299 | [] | no_license | shaoormunir/library-management-system | 47b1ca7e99cd469652a2657f6e6c80e319c16bb3 | 3a16a806e01b7d6a4901d814ff9e324c9d6db9ab | refs/heads/master | 2021-06-08T20:24:20.765207 | 2016-10-04T11:01:28 | 2016-10-04T11:01:28 | 69,747,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #include "Clerk.h"
Clerk::Clerk(string name):User(name)
{
}
string Clerk::return_type()
{
return "clerk";
}
| [
"shaoormunir@outlook.com"
] | shaoormunir@outlook.com |
8812c4629584b7b776c1e51454829eb9019ffd69 | 30bd3b983e5f4c1075c171c2bfbece3bfb22e2a7 | /main.cpp | b5d26cdcffae735a7681324643605241f6bbb84d | [] | no_license | IgorMatsepura/homeWrk9 | 098eaf00cc3c4bf9651a4f8ee89c64d118c691dd | 9a512b0974b4d27b9ca49b53acb54341dc6f2a38 | refs/heads/master | 2021-08-19T21:47:08.172998 | 2017-11-27T13:45:29 | 2017-11-27T13:45:29 | 111,406,357 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,508 | cpp | #include <cstdlib>
#include <iostream>
#include <time.h>
#define NUMBERS_ANIMALS 100 //variable animals in Zoo
#define SELECTONE 1
#define SELECTTWO 2
#define SELECTTHRE 3
#define SELECTFOUR 4
const int ADMIN_PASS = 1000; //variable pass admin Lvl, manager lvl any value
using namespace std;
class Animal {
private... | [
"Igor.Matsepura@gmail.com"
] | Igor.Matsepura@gmail.com |
848ffb7ad23ac578e42489d0d42a8447e5d02567 | 3c09d1c279c8578791dae535852c06e09efad4a1 | /Projects/Georgi Nyagolov/Mahjong v5.7/Texture.cpp | 5d2e2550dcea515faf054a8c346d4d22a534d93c | [] | no_license | rosen90/GitHub | f00653f8a65cdffc479b70d2d7ca8f9e103d3eeb | 851d210f2f6073d818e0984fa9daab96e833b066 | refs/heads/master | 2016-09-12T23:57:19.530896 | 2016-05-04T22:09:03 | 2016-05-04T22:09:03 | 58,085,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,351 | cpp | #include "Texture.h"
#include <SDL_image.h>
#include <stdio.h>
#include "Global.h"
Texture::Texture()
{
//Initialize
mTexture = NULL;
mWidth = 0;
mHeight = 0;
}
Texture::~Texture()
{
//Deallocate
free();
}
bool Texture::loadFromFile( std::string path )
{
//Get rid of preexisting texture
... | [
"karadinev@gmail.com"
] | karadinev@gmail.com |
d31ca6fd29d9280430e26b68f1866325814ef751 | b9c44d43f69fd3e6eea09cff9d33ccb77d00b001 | /784 - Maze Exploration.cpp | 30d1f16fe7622b4a5c6d0a0742f2e7b7f33387ef | [] | no_license | harryramsey/UVA-Online | e04b924aec2079d0b4a918267276cda03b9b58f4 | 32062582ec0c5e110c1a7fd7ddbd750091e0bd6c | refs/heads/master | 2021-01-21T12:35:50.591520 | 2015-09-18T04:08:21 | 2015-09-18T04:08:21 | 23,942,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,463 | cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
#include <math.h>
#include <string>
#include <memory.h>
#include <queue>
using namespace std;
char board[35][85];
int ld[4] = {0,1,-1,0};
int rd[4] = {-1,0,0,1};
void floodFill(int x, int y, char old, char newChar)
{
if (x >= 35 || x < ... | [
"hbramsey@live.unc.edu"
] | hbramsey@live.unc.edu |
9f7cca2bec1db8323ca8e22edf9f155e6dccd7c5 | 73b287fd8becd027a105056bdd099ec88173d2c7 | /src/c/tests/TestZookeeperClose.cc | 36f7692c6f3c908f24f912b8da05a208c2e0e35d | [
"Apache-2.0",
"FSFUL"
] | permissive | ucare-uchicago/SAMC | 68ebe456662172d4e05bb65416f1bed7796ef68b | 55acf82646aa5cf59a21dd02a82bdd5a347018e5 | refs/heads/master | 2020-03-14T17:44:59.251200 | 2018-05-01T15:14:08 | 2018-05-01T15:14:08 | 131,727,427 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,488 | cc | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | [
"riza.on@gmail.com"
] | riza.on@gmail.com |
eb8fb62d08187a659f7eb3839f7a001b6630771c | dd74734d013e3e5626a220c1d01aa91d8a392e91 | /Codeforces/762A - sudo apache2ctl configtest.cpp | cf983854d043ecd3439b6fb45f6c50059c1422c1 | [] | no_license | NBristy/solved-problem | 501d3caf785c5887b50e18d7b8fd93c88443b4b8 | 9ec9d5ea90d0e166a45f8fb104dbe25833a33239 | refs/heads/master | 2020-04-20T16:39:12.723729 | 2019-02-21T20:29:22 | 2019-02-21T20:29:22 | 168,964,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<long long int> divisor;
void divisors(long long int n)
{
for(long long int i=1;i<=sqrt(n);i++)
{
if(n%i==0)
{
if(i*i==n)
{
divisor.push_back(i);
}
else
{
... | [
"nbristynsu@gmail.com"
] | nbristynsu@gmail.com |
6bb5e182cf3138df3cd1e8c3dfb839391ecdc169 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /components/viz/common/quads/shared_element_draw_quad.h | 9fcc559bda6590599b6cd6aa806c1992c3218035 | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 1,457 | h | // Copyright 2021 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 COMPONENTS_VIZ_COMMON_QUADS_SHARED_ELEMENT_DRAW_QUAD_H_
#define COMPONENTS_VIZ_COMMON_QUADS_SHARED_ELEMENT_DRAW_QUAD_H_
#include "components/viz/... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
e96c98bb17a332a30e2f3de78284f86840e31850 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_PrimalItemArmor_MegalaniaSaddle_functions.cpp | be8b22f02b829d6976c7f8a236a54589eafa7a71 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | cpp | // ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemArmor_MegalaniaSaddle_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
22c732dc1872bf56cf6393bf636016161423647a | e85c4ff3f00d020773c5b1a72184b366a2a1fd7f | /theory/31_complex_example/graph_traverser.hpp | 3d4771784f86e4deb863e6614df9276e9677deed | [] | no_license | theonlymusya/uni_course_cpp | dfd4dd7ef4580559ae2bc339aa161b2b39cf0dc2 | 793b33f0caacfdcacd87ed124fade45876b93339 | refs/heads/master | 2023-08-19T12:33:51.004859 | 2021-10-27T02:22:18 | 2021-10-27T02:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | hpp | #pragma once
#include <memory>
#include <optional>
#include <vector>
#include "graph.hpp"
namespace uni {
class GraphTraverser {
public:
using VertexCallback = void (*)(Graph::Vertex&);
using EdgeCallback = void (*)(Graph::Edge&);
explicit GraphTraverser(const Graph& graph) : graph_(graph) {}
void traver... | [
"friend.lga@gmail.com"
] | friend.lga@gmail.com |
6f98d0e4663ceb0cf1cd0919e3d095184e50d340 | e872d90abeac8ac54d0792631afbdb14b716645f | /source/common/network/address_impl.cc | c8e63e4fb25a1f92a1a8d75b80f5590fe90516b0 | [] | no_license | vincentlao/EnvoyStudy | 4a0c46bced39f18cbdba5611c927a6492afa446f | 4ea8e687d738d36c05742b89d58bde0931676c15 | refs/heads/master | 2020-04-15T05:56:50.538344 | 2018-07-24T11:25:36 | 2018-07-24T11:25:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,874 | cc | #include "common/network/address_impl.h"
#include <arpa/inet.h>
#include <netinet/ip.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <array>
#include <cstdint>
#include <string>
#include "envoy/common/exception.h"
#include "common/common/assert.h"
#include "common/common/fmt.h"
#include "common/common/utili... | [
"15303606867@163.com"
] | 15303606867@163.com |
6f0ba17cee31f26cbd3e44720beec7bbff7cee93 | 398c971ecc11761bfe4296e038da7dcdc373cd61 | /code/PrintList.h | 782bc1b26cd1408ca1ab13f88202b33231f17909 | [] | no_license | FuXin-1024/code | df3b17dd8f2d65e7e244c5eb5981a49474a56724 | 08dbeff97c1ffdc97ef56db4dd4a58aec5d35aa1 | refs/heads/master | 2021-01-17T09:12:58.950332 | 2017-09-29T02:26:32 | 2017-09-29T02:26:32 | 95,556,445 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 837 | h | #pragma once
#include<iostream>
#include<stack>
using namespace std;
//从尾到头打印单链表
struct ListNode
{
int _value;
ListNode* _next;
ListNode(const int x)
:_value(x)
, _next(NULL)
{}
};
void PrintTtoH(ListNode* phead)
{
if (phead != NULL)
{
PrintTtoH( phead->_next);
cout << phead->_value << " ";
}
}
void P... | [
"1007160080@qq.com"
] | 1007160080@qq.com |
0058eb01210114664c919251d1dd982dafd8bc37 | 4503b4ec29e9a30d26c433bac376f2bddaefd9e5 | /Qt5.7/VC12/Win32/include/Qt3DRender/5.7.0/Qt3DRender/private/qstencilmask_p.h | 42f5f63ebe19580fdd9dbe4ab7864653d77fcf09 | [] | no_license | SwunZH/ecocommlibs | 0a872e0bbecbb843a0584fb787cf0c5e8a2a270b | 4cff09ff1e479f5f519f207262a61ee85f543b3a | refs/heads/master | 2021-01-25T12:02:39.067444 | 2018-02-23T07:04:43 | 2018-02-23T07:04:43 | 123,447,012 | 1 | 0 | null | 2018-03-01T14:37:53 | 2018-03-01T14:37:53 | null | UTF-8 | C++ | false | false | 2,724 | h | /****************************************************************************
**
** Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt3D module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Lic... | [
"deokhyun@3e9e098e-e079-49b3-9d2b-ee27db7392fb"
] | deokhyun@3e9e098e-e079-49b3-9d2b-ee27db7392fb |
abc45a709bcb75352ec97f2177b0ac565b6bfb5e | a304743eab41607833aba859052f7611e4e7e39f | /src/message.cpp | 7e94e0140b405ad105b120a821f4919bd4e597af | [] | no_license | hmyit/WhatsThat | 03f7ed70330c02cbfd6bd1fd25a60eaf6e878271 | 92fe03602c0e675ae0f86aac4b1c8cc01e552c6a | refs/heads/master | 2020-05-18T10:16:42.157545 | 2016-07-04T09:55:55 | 2016-07-04T09:55:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,938 | cpp | /*
* Copyright (C) 2015 Vishesh Handa <vhanda@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.... | [
"me@vhanda.in"
] | me@vhanda.in |
c7162f2887d8c44e06999f1130f4165ea48b14e9 | a5257ed73a87a75f3b9c7550be8eed49ac9416a8 | /include/feature_rigid.hpp | 1fe6b20fdab24f1da04a2771969bc43cf0280bea | [] | no_license | jkienzle/ia | f4542bc854472a8c82721c1fdc11b8cac51e49f4 | f80de330201544298648b795df66f6cdc454ba53 | refs/heads/develop | 2021-01-22T19:54:48.274040 | 2017-03-19T04:53:40 | 2017-03-19T04:53:40 | 85,260,074 | 0 | 0 | null | 2017-03-17T02:01:16 | 2017-03-17T02:01:16 | null | UTF-8 | C++ | false | false | 20,628 | hpp | #ifndef FEATURE_RIGID_HPP
#define FEATURE_RIGID_HPP
#include <memory>
#include "feature.hpp"
enum class BurnState
{
not_burned,
burning,
has_burned
};
enum class WasDestroyed
{
no,
yes
};
enum class DidTriggerTrap
{
no,
yes
};
enum class DidOpen
{
no,
yes
};
enum class DidClos... | [
"m.tornq@gmail.com"
] | m.tornq@gmail.com |
6374b5bb7719e396d52eb33c6f42e1660c12c34a | 9513f7ca6946e10071ae58e79fa68bbe98b2e6ad | /touchgfx/framework/source/platform/hal/ST/mcu/stm32f7xx/STM32F7HAL.cpp | ef90a4f0c73cd70adb5b8ca62399b9865cdb55e6 | [] | no_license | koson/Oscilloscope_STM32F746 | 71468321350b9ff2b8089a8c9e451489d90f541f | 96281e007d7b17e920649ad28f8922f1078312ba | refs/heads/master | 2023-09-01T22:55:38.019285 | 2021-11-22T10:36:42 | 2021-11-22T10:36:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,924 | cpp | /******************************************************************************
*
* @brief This file is part of the TouchGFX 4.7.0 evaluation distribution.
*
* @author Draupner Graphics A/S <http://www.touchgfx.com>
*
******************************************************************************
*
* @sec... | [
"hainguyen.eeit@gmail.com"
] | hainguyen.eeit@gmail.com |
020e0475a48b15081575a83c9192891a4904b892 | 13f3ce6623768a5c5dd6f6da05d928966ea1c772 | /custom.Altis/Dialog/zInv/ZInv.hpp | 19d34a25b3a01c6a38e1584f4dd79fe86707c0ca | [] | no_license | Merimar/WildAltis | 71e5295acc9aa80a0bfca99982d834a12431468e | 6760acba33bbc0e9c550716911af95572f4a2a19 | refs/heads/master | 2023-03-28T06:33:05.744296 | 2021-04-01T17:16:06 | 2021-04-01T17:16:06 | 286,337,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,110 | hpp | class ZInv {
idd = 4350;
class controlsBackground {
class Picture_Background: RscPicture {
idc = -1;
text = "Images\Dialog\player_inv.jpg";
x = 0.215941 * safezoneW + safezoneX;
y = 0.113221 * safezoneH + safezoneY;
w = 0.566481 * safezoneW;
h = 0.739284 * safezoneH;
};
};
class controls {... | [
"maxroesgen@gmail.com"
] | maxroesgen@gmail.com |
a3498bf7e5a10303d77588eb2466b824876c9770 | 28b2fc3ca4571674ae43ac4b79996ed3cbd11b81 | /PapuEngine/ScreenList.h | e377bd4809ff9eeeebabaf656e00603da1701cff | [] | no_license | KeilerX/FundaTF | 45b10062bf5d85f0f499bcfee5c9992c604f26d9 | b3b65926b3a309951f4e2f6dacf8b7be8441e9b3 | refs/heads/main | 2023-01-22T09:56:55.333560 | 2020-11-30T01:53:55 | 2020-11-30T01:53:55 | 317,037,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | #pragma once
#include <vector>
class Game;
class IGameScreen;
class ScreenList;
class ScreenList
{
public:
ScreenList(Game* game);
~ScreenList();
IGameScreen* moveNext();
IGameScreen* movePrev();
void setScreen(int nextScreen);
void addScreen(IGameScreen* newScreen);
void destroy();
IGameScreen* getCurrent();... | [
"u201213280@upc.edu.pe"
] | u201213280@upc.edu.pe |
fe7e8f2b7a7aeb00ccf9f789a770b441d44190c7 | 53f7e5d18d228696f0e8db8afe16e0131e1ce3a4 | /cpp/RootishArrayStack.cpp | edcaeee56da8ad461302ee971c46c4dc6aeb0eea | [
"CC-BY-2.5",
"CC-BY-4.0"
] | permissive | spinute/ods | 57a02a19909272e13b44d6786a33cbe0589c4345 | bfbcced58ec71d9e1121e395c53e6c7db2666be0 | refs/heads/ja | 2023-01-23T05:55:41.212713 | 2021-01-26T11:20:48 | 2021-01-26T11:20:48 | 90,636,210 | 365 | 36 | NOASSERTION | 2021-01-26T11:20:49 | 2017-05-08T14:15:16 | TeX | UTF-8 | C++ | false | false | 462 | cpp | /*
* RootishArrayStack.cpp
*
* Created on: 2011-11-23
* Author: morin
*/
#include "RootishArrayStack.h"
namespace ods {
template RootishArrayStack<int>::RootishArrayStack();
template RootishArrayStack<int>::~RootishArrayStack();
template void RootishArrayStack<int>::add(int,int);
template int RootishArray... | [
"morin@scs.carleton.ca"
] | morin@scs.carleton.ca |
8b2c6ebc3be80f56885ed99a90f45c5998de94c8 | c67ed12eae84af574406e453106b7d898ff47dc7 | /chap03/Page130_typealias.cpp | 278eb42ec194a75dab9cab540748dc51f2d1f64a | [
"Apache-2.0"
] | permissive | chihyang/CPP_Primer | 8374396b58ea0e1b0f4c4adaf093a7c0116a6901 | 9e268d46e9582d60d1e9c3d8d2a41c1e7b83293b | refs/heads/master | 2022-09-16T08:54:59.465691 | 2022-09-03T17:25:59 | 2022-09-03T17:25:59 | 43,039,810 | 58 | 23 | Apache-2.0 | 2023-01-14T07:06:19 | 2015-09-24T02:25:47 | C++ | UTF-8 | C++ | false | false | 411 | cpp | #include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main()
{
using int_array = int[4];
typedef int int_array[4];
int_array ia[3] = {0};
// ia is an array of 3 elements, every of which is an array 4 ints.
for(int_array *p = ia; p != ia + 3; ++p)
{
for(int *q = *p; q ... | [
"chihyanghsin@gmail.com"
] | chihyanghsin@gmail.com |
f75711f6147d4c6c1e59bfac69ec4e9811726e81 | af4d1d6d4abe085703e2875445309cd2376353db | /modules/ODE/examples/GLUT/06-ODE-exploration/CDemo3.cpp | 03ba309e3b5795a8a29b08f2aa53ee1d79a1c89f | [
"BSD-3-Clause"
] | permissive | Mithsen/Gallbladder | ebbb8e87b82904897804c25d286434b9e841eb5f | 981cec68ca9e9af8613a6bf5a71048f86c16a070 | refs/heads/master | 2021-07-25T01:57:14.079012 | 2017-11-01T04:28:43 | 2017-11-01T04:28:43 | 109,085,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,686 | cpp | //===========================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2016, CHAI3D
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provide... | [
"mithsendesilva@gmail.com"
] | mithsendesilva@gmail.com |
0c54725f69ec83db63f8879c87916af65b216b5a | 78661c9baf43418e4fd26233b8fa53b34329c958 | /1.4.cpp | 470b2b8e25c7676b76b4249d644b8441b194226e | [] | no_license | memehadi/Algorithms-And-Data-Structures | d3a02418f3320035c974358ec772240e552364d0 | 58db37dc950f700dbed5f1f62fe0c65235f00477 | refs/heads/main | 2023-02-01T16:21:23.623645 | 2020-12-21T17:42:12 | 2020-12-21T17:42:12 | 323,406,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | /*Musab Mehadi
mmehadi@jacobs-university.de
*/
#include <vector>
#include <iostream>
#include<string>
//const int size = 50;
using namespace std;
int main()
{
vector<string> vs; // a vector of ints. Default size is accepted
string s;
while (1)
{
cin>>s;
if(s=="END")
{
break;
}
vs.pus... | [
"mmehadi@jacobs-university.de"
] | mmehadi@jacobs-university.de |
5627f7760a2eb21cba7e5ce35056382532cca649 | f99e4759fc5a40e780b3d319b584b766d502c031 | /PROJ5 - SAf - C++ Game/src/Components/Hud.cpp | 356c552dc112122a85a245467b0443fd1f381861 | [
"MIT"
] | permissive | beschoenen/school | 41f66dcc85190039729eb0ddc1329ac400446a78 | aba375fbb59c65577c70c5301053c5c20293498a | refs/heads/master | 2020-03-07T14:09:52.637641 | 2018-03-31T09:53:54 | 2018-03-31T09:53:54 | 127,520,045 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,414 | cpp | #include "Hud.h"
#include "../Engine/Engine.h"
Hud::Hud()
{
health_label = std::shared_ptr<HudLabel>(new HudLabel("Health", 10, 10));
health_bar = std::shared_ptr<HudBar>(new HudBar(10, 35, {57, 181, 74}, 100));;
armor_label = std::shared_ptr<HudLabel>(new HudLabel("Armor", 180, 10));
armor_bar = std:... | [
"me@kevinrichter.nl"
] | me@kevinrichter.nl |
673835a81c8e1f04a066145cd76795e8506dbff6 | 4c97019dc8c5c1b9935dc07c4c8f3ebe7bff83bb | /core/MSeedReader.h | 1e797df4758ac54756c1bac4f229f0b8202d7d54 | [] | no_license | xsburg/magnetometry-toolkit | 4314c8707913bc208398322694ab53f49c9f9876 | 3ba8b46b88211a857ff778ba725b0c60507d89bf | refs/heads/master | 2021-01-17T16:09:20.391878 | 2016-06-14T10:22:00 | 2016-06-14T10:22:00 | 60,194,551 | 2 | 1 | null | 2016-06-14T10:22:00 | 2016-06-01T16:45:33 | JavaScript | UTF-8 | C++ | false | false | 912 | h | // ***********************************************************************
// <author>Stephan Burguchev</author>
// <copyright company="Stephan Burguchev">
// Copyright (c) Stephan Burguchev 2012-2015. All rights reserved.
// </copyright>
// <summary>
// MSeedReader.h
// </summary>
// **********************... | [
"me@sburg.net"
] | me@sburg.net |
2f01e80aa00f074f4274140c5e691c51885d80a4 | cc5efadbb831bf4bce4c335ec407836641cf3cb6 | /OpenCV-iOS/opencv-svn/modules/imgproc/src/distransform.cpp | bdb2a1b1b899dc33e47e2a945e86107eba01ff52 | [] | no_license | fbmyers/TBScope | 579be8071bdce51421f5a526b9a7b6137d5ec6ba | fd650e297a09edf7a2aa0778787d5b6b38132a74 | refs/heads/master | 2021-01-19T03:19:35.630575 | 2015-11-24T04:48:49 | 2015-11-24T04:48:49 | 16,781,099 | 0 | 2 | null | 2015-11-21T22:23:40 | 2014-02-12T20:39:03 | C++ | UTF-8 | C++ | false | false | 23,045 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"frankiemyers@arunans-mbp.fletch"
] | frankiemyers@arunans-mbp.fletch |
a4924f0ec11f2796769d8f72e8fcbd0dbd3bd6bc | 734262b42ddf3b6f183b1cd3bb0acb3f5b39e410 | /src/PololuDriver.cpp | d4195d37cdaea9d1433922782b9630fb20742ee0 | [] | no_license | hrobry/Ramps | b8035f365f6c772b464c3e04817a7f006eac71a2 | 0e8c809699c53a342fc24b9b91d68759678357bb | refs/heads/master | 2021-06-17T11:29:35.346904 | 2017-05-06T17:38:12 | 2017-05-06T17:38:12 | 109,262,943 | 1 | 0 | null | 2017-11-02T12:38:34 | 2017-11-02T12:38:34 | null | UTF-8 | C++ | false | false | 1,636 | cpp | /*
PololuDriver.ccp - Library voor de DRV8825 Stepper Driver
Gemaakt door Brecht Ooms
*/
#include "PololuDriver.h"
#include "Arduino.h"
//Constructor
PololuStepper::PololuStepper(int _stepPin, int _dirPin, int _enablePin)
{
stepPin = _stepPin;
dirPin = _dirPin;
enablePin = _enablePin;
pinMode(stepPin, OU... | [
"brecht.ooms@hotmail.com"
] | brecht.ooms@hotmail.com |
b84d543128a9168bb8f6a360632b92b12696542e | d093e5dbdf4fb08eacbe2ec3cfc070e4c58c0f3e | /Source/Modules/ECS/include/ComplexType.h | cc0e3795889052b9ac659408aac49d6bd19c1c95 | [
"MIT"
] | permissive | RamilGauss/MMO-Framework | 3bd57e800f20b6447b494009eb3d7a49dfeb1402 | fa4ec6427a3a891954f97311af626f8753023ec2 | refs/heads/master | 2023-09-02T17:50:25.742920 | 2023-09-01T09:17:26 | 2023-09-01T09:17:26 | 15,496,543 | 32 | 20 | MIT | 2023-05-11T07:10:07 | 2013-12-28T17:54:28 | C++ | UTF-8 | C++ | false | false | 1,444 | h | /*
Author: Gudakov Ramil Sergeevich a.k.a. Gauss
Гудаков Рамиль Сергеевич
Contacts: [ramil2085@mail.ru, ramil2085@gmail.com]
See for more information LICENSE.md.
*/
#pragma once
#include "TypeDef.h"
#include "Entity.h"
#include <list>
#include <vector>
#include <type_traits>
#include "TypeDef.h"
#include "IComponen... | [
"ramil2085@mail.ru"
] | ramil2085@mail.ru |
c69af3667773307645039afe96987792f151614c | 51130bd71e3ae9ddb3ce2c5621d279d235097374 | /1/pokemon (93).cpp | 5b26aba4c41a54cb8d10679c0945f8daa87e2d03 | [] | no_license | DanieleIsoni/algorithms-and-data-structure-projects | f023eeb236878e54a3b562128176eabbfce84d40 | 9cca47a952b9bf008423089eb719170665928d96 | refs/heads/master | 2021-06-12T18:00:44.216741 | 2020-04-09T12:59:19 | 2020-04-09T12:59:19 | 254,372,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,497 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <stack>
#include <map>
#include <algorithm>
#include <set>
using namespace std;
vector<vector<int>> adjTemp;
vector<vector<int>> adj;
vector<vector<int>> cycles;
int numeroCicli=0;
int N,M;
int Time=0;
void calcolaLung(int from, int to, int * padri){... | [
"massimo@girondi.net"
] | massimo@girondi.net |
d49a0687a8f6529d25617e22deaff811815d2db8 | 9ac42ea56826dfdb8a584dc6dedd2b181dc5cffa | /advanced_topics_in_C++_PORTUGESE/exemplos_introdutorios/ex11_list_vector.cpp | ac7ea5b8baff1b3d12691822780e9eabc8f0272e | [] | no_license | claudiosa/CCS | e8f731bf108d1221ae62017f82d088cb49d5c948 | 08bb0f32aba6a1a6b2ea605552d15f9cbc06d2be | refs/heads/master | 2023-09-01T01:28:14.685489 | 2023-08-27T03:48:57 | 2023-08-27T03:48:57 | 44,081,079 | 41 | 23 | null | 2021-12-06T22:11:57 | 2015-10-12T03:03:43 | TeX | UTF-8 | C++ | false | false | 4,081 | cpp | #include <iostream>
#include <vector>
#include <list>
/*
* Vector é baseado em array.
* - Podem mudar dinamicamente;
* - Inserção no fim é eficiente. Mas e inserir no meio e no fim?!
* - Posições contíguas na memória.
*
* Dicas:
* Quando for necessario inserir no fim e no início
* usa deque que ... | [
"ccs1664@gmail.com"
] | ccs1664@gmail.com |
238c420c4a97553cc83ab525f4d61e66f0818f67 | 07b60660323fab587c2b8a8fb8373c30ee38b199 | /Intermediate/Build/Win64/UE4Editor/Inc/ProjectDelve/ProjectDelve_PlayerController.gen.cpp | 55b5135775a17e1197830ef8051cd0269c4cb709 | [
"Apache-2.0"
] | permissive | Kuasynei/ProjectDelve | a5eef7180fdb3749ee521906e9eb5e1b5b5ba826 | 1a944912146f665440027341f938830fb4d93bd2 | refs/heads/master | 2020-03-20T03:11:39.231454 | 2018-07-27T16:57:28 | 2018-07-27T16:57:28 | 137,138,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,475 | cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"tony.b.doan@gmail.com"
] | tony.b.doan@gmail.com |
10710eb355b22005253bdd7838058b567b361506 | 4d88364d360646f35d8eeb347df56196c7952049 | /SLinux/Test/include/Rapidxml/rapidxml_print.hpp | ae9005efda979d673c420af576439b11786e9648 | [
"MIT"
] | permissive | nnoldman/FFF | fd7ac6084f6114644d1ac47bd50f0ff8a14e983f | 6c5055848e057217f3c7c3ce53ad5b6e6e81c8ec | refs/heads/master | 2021-01-23T22:16:04.133425 | 2017-12-12T09:33:40 | 2017-12-12T09:33:40 | 102,923,602 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,278 | hpp | #ifndef RAPIDXML_PRINT_HPP_INCLUDED
#define RAPIDXML_PRINT_HPP_INCLUDED
// Copyright (C) 2006, 2009 Marcin Kalicinski
// Version 1.13
// Revision $DateTime: 2009/05/13 01:46:17 $
//! \file rapidxml_print.hpp This file contains rapidxml printer implementation
#include "rapidxml.hpp"
// Only include streams if not dis... | [
"1527053436@qq.com"
] | 1527053436@qq.com |
cc86158e72e0a170e5892200f971ed2175094931 | 4d652883183d01b569ea66ba37a1eea6053fb328 | /src/pagecontroller.cpp | 46ce0be839743d3853eb766f8dc9e873ef6064b6 | [] | no_license | cheeseH/varisdb | 29e5069e4be334135638646c7340e49ebcbe8b47 | a05c221678644ca98fdc765bffcebc2f459682e0 | refs/heads/master | 2021-01-10T13:35:50.904895 | 2015-12-12T14:52:57 | 2015-12-12T14:52:57 | 47,689,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | cpp | /*
* pagecontroller.cpp
*
* Created on: 2015年12月1日
* Author: cheese
*/
#include "pagecontroller.h"
PageController::PageController():pws_(),maplock_(),fd_(0),pageSize_(0){
}
PageController::~PageController(){
}
PageWrapper* PageController::get(long pos){
maplock_.lock();
auto iter = pws_.find(pos);
if... | [
"cheese_humn@yahoo.com"
] | cheese_humn@yahoo.com |
1ae6464218c2b272a496714621c2c0d990d49314 | 7f1733b43ba6958143a92744a5a63aa0a16c7746 | /src/qt/reviewbase_coin/welcomecontentwidget.h | 2853e713b394773232689cd79f3434b036cdc0a5 | [
"MIT"
] | permissive | Reviewbasedeveloper/RVIEW-Coin | 74d3859a3f6ce6143e19de046a44a7b50b198d4c | 9e2403503f6b354c0ba7ae9e76daf56c806b74d4 | refs/heads/master | 2020-07-30T20:44:35.515491 | 2019-09-23T12:44:35 | 2019-09-23T12:44:35 | 210,352,280 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | h | // Copyright (c) 2019 The ReviewBase_Coin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef WELCOMECONTENTWIDGET_H
#define WELCOMECONTENTWIDGET_H
#include <QWidget>
#include <QDialog>
#include <QPushButton>
cla... | [
"55260458+Reviewbasedeveloper@users.noreply.github.com"
] | 55260458+Reviewbasedeveloper@users.noreply.github.com |
41d220a96500f8fb5098b34fc98e15ffd29344bd | 23c6e6f35680bee885ee071ee123870c3dbc1e3d | /test/libcxx/containers/insert_iter_iter.pass.cpp | 0db3f7417343f27c94946eccf09771cfab5877c7 | [] | no_license | paradise-fi/divine | 3a354c00f39ad5788e08eb0e33aff9d2f5919369 | d47985e0b5175a7b4ee506fb05198c4dd9eeb7ce | refs/heads/master | 2021-07-09T08:23:44.201902 | 2021-03-21T14:24:02 | 2021-03-21T14:24:02 | 95,647,518 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,831 | cpp | /* TAGS: c++ fin */
/* CC_OPTS: -std=c++2a */
/* VERIFY_OPTS: -o nofail:malloc */
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-Lice... | [
"xkorenc1@fi.muni.cz"
] | xkorenc1@fi.muni.cz |
08e84aa295ee18bac94da86974744100449c3d33 | 78b41676a7da73405519570c545e746b82e8c907 | /c/assignment-3/question2.cpp | 5833fbb3f386f4ff37e3a4569715ae5b01f68914 | [] | no_license | ayush2409/creepy-code | 041c7e8222ea616c7703067520a0f0f34e871dea | f7fcbc2e473c5644acc8264df846d230cb0cfc75 | refs/heads/master | 2022-12-14T02:32:15.092726 | 2020-09-08T16:41:12 | 2020-09-08T16:41:12 | 292,063,879 | 2 | 0 | null | 2020-09-01T17:29:39 | 2020-09-01T17:29:38 | null | UTF-8 | C++ | false | false | 1,011 | cpp |
#include<iostream>
using namespace std;
class Complex{
public:
Complex(int r=0 ,int i =0){
real = r;
img = i;
}
void print(){
cout<<real<<" +i"<<img<<"\n";
}
Complex operator+(Complex const &obj){
Complex result ;
result.real = real + obj.real;
resu... | [
"gauravtewari111@gmail.com"
] | gauravtewari111@gmail.com |
0702f6adec65404b2397bac42d1ea786cbe0967c | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/External/SDK/BP_Gander_functions.cpp | d27f9e61c2a12fb4f5aeca3a96fa764d4f2daab7 | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,139 | cpp | // Name: Medieval Dynasty, Version: 0.6.0.3
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
ddb6be5a8d371f65f60b6759e22558d97e856582 | 44f01f4bc7ee0e551fbf8adba7045ffd2b4880d7 | /Source/PirateRaid/PirateRaid.cpp | d1ec976df39d8f7b20fdfe653c9d856fdab5ad3d | [] | no_license | huuduy1/sit255 | 802c5fa0c57dfbf46d9f35a9b7551c20074847a2 | ac1231eb1124bbbcb1ed6aee155a51a8ed58eacf | refs/heads/master | 2020-07-26T06:42:17.234163 | 2019-09-22T13:56:28 | 2019-09-22T13:56:28 | 208,566,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PirateRaid.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, PirateRaid, "PirateRaid" );
| [
"nguyenthanhtung0207@gmail.com"
] | nguyenthanhtung0207@gmail.com |
41853fe66f51d36ee5006ade4471eed93d35e73c | e39b13327f1202e56899e28c664cf9295c9ae080 | /Codeforces/B. Drinks/main.cpp | bf07a64d6c9025c435786b3bdebeab488a06ca79 | [] | no_license | Moein-Karami/OlympiadCodes | 08404109b4f0b8109d71d77099cdebc862c0157a | 4c5c5cc1f67464e936ad75aca543629296b224f6 | refs/heads/main | 2023-07-05T03:14:57.495488 | 2021-08-26T06:03:23 | 2021-08-26T06:03:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double n,sum=0;
cin>>n;
int s=n;
double a[s];
for(int i=0;i<s;i++)
{
cin>>a[i];
sum+=a[i];
}
cout<<setprecision(12);
cout<<std::fixed;
cout<<sum/n;
return 0;
}
| [
"moein2000n@gmail.com"
] | moein2000n@gmail.com |
95cb7d489e0812b649e119bbd324480d87ec553d | 9da42e04bdaebdf0193a78749a80c4e7bf76a6cc | /third_party/gecko-2/win32/include/nsIDOM3TypeInfo.h | 9b7c307bb4baf8b873af65223e5ed2f972ebe6b4 | [
"Apache-2.0"
] | permissive | bwp/SeleniumWebDriver | 9d49e6069881845e9c23fb5211a7e1b8959e2dcf | 58221fbe59fcbbde9d9a033a95d45d576b422747 | refs/heads/master | 2021-01-22T21:32:50.541163 | 2012-11-09T16:19:48 | 2012-11-09T16:19:48 | 6,602,097 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,587 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/dom/interfaces/core/nsIDOM3TypeInfo.idl
*/
#ifndef __gen_nsIDOM3TypeInfo_h__
#define __gen_nsIDOM3TypeInfo_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
/* For IDL files that don't want to include root IDL f... | [
"haleokekahuna@gmail.com"
] | haleokekahuna@gmail.com |
f8a68cdd46bd331a314b787d90a7c6c91170b083 | 6d7f2381b8f1c5c0e0d96156ae36cac12be3017b | /yukicoder/2354/main.cpp | e4905fc53e7fddfb112862626ee1b62b8f345d08 | [
"Unlicense"
] | permissive | Johniel/contests | 708ccf944d6aeb0ef0404eec47e8ff7819ea00f0 | 15d465b08cac56e394509bcf8f24764e3dc6ca7d | refs/heads/master | 2023-09-04T07:32:49.822786 | 2023-09-02T13:44:28 | 2023-09-02T13:44:50 | 48,701,889 | 0 | 0 | null | 2019-10-25T09:21:20 | 2015-12-28T16:38:38 | C++ | UTF-8 | C++ | false | false | 3,205 | cpp | // github.com/Johniel/contests
// yukicoder/2354/main.cpp
#include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
// #define endl "\n"
using namespace std;
template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << "," << p.sec... | [
"johniel.s.m@gmail.com"
] | johniel.s.m@gmail.com |
68dc91c48e67bfa203879f8c767d2cb653d906d8 | 1c0789f6f4629125c87beca9c77a01d5b9da2933 | /physLib/src/object/object.cpp | 8b66761cfab7575187f6c14712acf26eea926ad4 | [] | no_license | whztt07/OgreEditor | 01e2e4ca5e6f11632e4efed3f745318600c246c8 | c3b24e413f906fdfd3de2135f9772ea36a346358 | refs/heads/master | 2020-04-06T06:16:31.959299 | 2013-11-18T07:01:32 | 2013-11-18T07:01:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include "object.h"
btDiscreteDynamicsWorld* Object::mWorld=NULL;
Object::Object()
{
}
void Object::setWorld(btDiscreteDynamicsWorld* world)
{
mWorld = world;
}
Object::~Object()
{
}
| [
"laderud@hotmail.com"
] | laderud@hotmail.com |
0ddf4b8bdddcee51a87d6a8947c4891a4f7029ef | 6679013809005a7d4f7a85ca292a84e5ffbb2a69 | /12.12/HourlyEmployee.cpp | c57da1e4321615cba3b62465f528d6f1fb65c971 | [] | no_license | caoyanchen990919/cao_yanchen | 93ddb28fb44032cc43f2ab15c259e459871546af | 0f3ac3f2eaf0eab7a53416d1b4d03a134eb3863e | refs/heads/master | 2020-04-02T06:36:08.304568 | 2019-04-21T12:12:19 | 2019-04-21T12:12:19 | 154,158,356 | 1 | 0 | null | 2018-10-27T11:35:33 | 2018-10-22T14:27:36 | C++ | UTF-8 | C++ | false | false | 1,105 | cpp | #include <iostream>
#include "HourlyEmployee.h"
using namespace std;
HourlyEmployee::HourlyEmployee( const string &first, const string &last,
const string &ssn, int month, int day, int year,
double hourlyWage, double hoursWorked )
: Employee( first, last, ssn, month, day, year )
{
setWage( hourlyWage );
... | [
"729628088@qq.com"
] | 729628088@qq.com |
11ebccff650d018724c909e9c7bbcb8f68b38be3 | d6fb28c628cb484139d8478bec9d392ae7e9d395 | /libraries/network/connection.cpp | 19dfbc456cbb28e5bc06f160025b01c3fed9a66f | [] | no_license | marza-pane/Indoorino | b9d1aaaa933c89d67da757839a297c3fcf599b7a | ae922c545115c1ff9ba56bd7e73c17e586bee1e1 | refs/heads/master | 2021-09-19T14:34:54.470692 | 2021-09-09T00:44:14 | 2021-09-09T00:44:14 | 160,186,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,774 | cpp | /*
* server/connection.cpp
*
* Created on: Jan 04, 2021
* Author: n00b
*
* Thanks to Javidx9 - OneLoneCoder
*
* http://www.onelonecoder.com
* https://www.youtube.com/channel/UC-yuWVUplUJZvieEligKBkA
*
*/
#include "connection.h"
#if defined (__linux__)
namespace net
{
char * connection::ipstr... | [
"n00b@localhost.localdomain"
] | n00b@localhost.localdomain |
b5aa367fb2d39cc1d54cc12226691ee6458e4d64 | b327a374de29f80d9b2b3841db73f3a6a30e5f0d | /out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/bindings/V8UIEvent.cpp | 22d43cd4e984df061903b56579d473ef9ad21a79 | [] | no_license | nikoltu/aosp | 6409c386ed6d94c15d985dd5be2c522fefea6267 | f99d40c9d13bda30231fb1ac03258b6b6267c496 | refs/heads/master | 2021-01-22T09:26:24.152070 | 2011-09-27T15:10:30 | 2011-09-27T15:10:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,906 | cpp | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | [
"fred.faust@gmail.com"
] | fred.faust@gmail.com |
3e31c32ac2b1f598db89ea67286495f7771bd04c | 2751d54af6025d9673edd64b374454dead1a7150 | /teach-programming/clock_diff.cpp | f84bfc44c07271c1921e610499a83ab75f16be1f | [] | no_license | mfakhrusy/cpp-exercise-awesome | 4e4eec4b6fedfbc6f19b259be73a1bc94118a871 | cdcf6212c037b6d65618f9ea085787ec00249767 | refs/heads/master | 2021-08-23T17:41:09.392374 | 2017-12-05T23:16:27 | 2017-12-05T23:16:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include <iostream>
using namespace std;
struct data_waktu{
int jam;
int menit;
int detik;
int total;
};
int main(){
data_waktu A;
data_waktu B;
A.jam = 3;
A.menit = 40;
A.detik = 50;
B.jam = 10;
B.menit = 1;
B.detik = 50;
cout << A.jam << " Jam, " << A.menit << " Menit, " << A.detik << " Detik." ... | [
"mfakhrusy@outlook.com"
] | mfakhrusy@outlook.com |
aa4a29dfad380f37b49230dab1b35c1aa70e4b1c | 375fccaa7deeefaa392036e9c7e4c2be1b8cef44 | /source/octoon-hal/OpenGL 33/gl33_framebuffer.cpp | 3a81cf30d668c36d07f8d6a0535ea47cdfa60ebb | [
"MIT"
] | permissive | naeioi/octoon | b98678df257e87da9fb27e56f0f209ff46cc126b | e32152fe4730fa609def41114613dbe067d31276 | refs/heads/master | 2020-07-09T05:33:15.019542 | 2019-08-22T11:34:54 | 2019-08-22T11:34:58 | 203,893,478 | 1 | 0 | MIT | 2019-08-23T00:22:11 | 2019-08-23T00:22:11 | null | UTF-8 | C++ | false | false | 6,426 | cpp | #include "gl33_framebuffer.h"
#include "gl33_texture.h"
#include "gl33_device.h"
namespace octoon
{
namespace hal
{
OctoonImplementSubClass(GL33Framebuffer, GraphicsFramebuffer, "GL33Framebuffer")
OctoonImplementSubClass(GL33FramebufferLayout, GraphicsFramebufferLayout, "GL33FramebufferLayout")
GL33Framebuffe... | [
"2221870259@qq.com"
] | 2221870259@qq.com |
8e63fe7811b60da7aff5adf2393f99e8558e3104 | f476897f8cd2aa7d6399b62df4bd01aa9caae2e1 | /freq_in_a_sorted_array.cpp | 819b2fc6b38fe256b65a2c97df76f1b1f76b35f1 | [] | no_license | am282000/dsa_programs_using_cpp | bf83e564e7da8089329ec503f3d7318ebe48f527 | d953a2e181641ef9f0adb585ae68c91cda3b46b7 | refs/heads/main | 2023-05-21T08:11:25.563857 | 2021-06-05T03:48:04 | 2021-06-05T03:48:04 | 374,013,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | //worked for only sorted array
#include<bits/stdc++.h>
using namespace std;
int printFreq(int arr[],int n){
int freq=1,i=1;
while(i<n){
while(i<n && arr[i]==arr[i-1]){ // pichle vala element aage vale k equal h ya nhi
freq++;
i++;
}
cout<<arr[i-1]<<" comes "<<freq<< " times."<<endl;
... | [
"madaansahaab777@gmail.com"
] | madaansahaab777@gmail.com |
4a47bf7931a4b048539fc16e276b0a07a44ee8cc | 3c39c2667159c2eacba65c9b6f36e6ca9b5b42a3 | /src/MainWindow.cpp | b8af286d711aea463fc266d5ec1254ea2fdf1232 | [] | no_license | Lobelie/Fide | be59b7e2cd2e717063cd95e9b4c0539e6ee33d5b | 203149cd0f41c4f43c4ff44ea518027c31ab8a75 | refs/heads/master | 2021-01-23T13:18:31.592523 | 2014-08-05T22:47:41 | 2014-08-05T22:47:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | #include "MainWindow.hpp"
#include <QDockWidget>
#include <QTableWidget>
#include <QTextEdit>
#include <string>
#include "FileTreeView.hpp"
MainWindow::MainWindow(QWidget *_parent) :
QMainWindow(_parent)
{
initTreeView();
initTabWidget();
}
MainWindow::~MainWindow() {
}
void MainWindow::initTreeView() ... | [
"phantasmagoria-@hotmail.fr"
] | phantasmagoria-@hotmail.fr |
771157064e3ed63354cee35e9f187da38c77d49a | 86132ed5498a6e44bf1ba8725f44884844d3ec8c | /deps/nanogui/ext/pybind11/tests/test_pickling.cpp | 87c623d39c74eb4177f3cb746f0d8c2a5f6b9de5 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | medakk/boundary-first-flattening | 006cf7374fab687a792aa7cd3552ee5f87a44c83 | 805de2c6cf1cb6c65235e331789db8a5313f0e26 | refs/heads/master | 2022-11-16T15:33:58.494044 | 2020-07-09T01:57:53 | 2020-07-09T01:57:53 | 278,237,187 | 1 | 0 | MIT | 2020-07-09T01:56:39 | 2020-07-09T01:56:39 | null | UTF-8 | C++ | false | false | 2,937 | cpp | /*
tests/test_pickling.cpp -- pickle support
Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>
All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
*/
#include "pybind11_tests.h"
class Pickleable {
public:
Pickleable(const st... | [
"sawhney_rohan@yahoo.co.in"
] | sawhney_rohan@yahoo.co.in |
c8d3ea0f168aabbbb1a8d50d25cd6c3fb7d1b9be | cc4967160ada91eb730b7352f8b7afaae8324932 | /CurveWidgetDialog.cpp | 44fc77d546f4791661dabb03dac063ec195c2b1d | [] | no_license | Qt-Widgets/Curve-Editor-Widget | 9c95c7e36f6b005e91d33c5fe2f271ba140dbb69 | 59663e3785e3b8d2d7797798c4472306ebe816e2 | refs/heads/master | 2020-04-14T03:02:33.410217 | 2018-12-27T17:51:52 | 2018-12-27T17:54:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | cpp | #include "CurveWidgetDialog.h"
#include "ui_CurveWidgetDialog.h"
#include <QDesktopWidget>
#include <QRect>
CurveWidgetDialog::CurveWidgetDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::CurveWidgetDialog)
{
ui->setupUi(this);
//setWindowFlags(Qt::Tool);
//setModal(true);
Qt::WindowFlags fla... | [
"consta@unigine.com"
] | consta@unigine.com |
86a5892be158075337f81c6937b357526c2c5194 | 2ca412d8d93190c2eb4c1db37e6226b979799910 | /Aladdin/GameObjects/Enemies/Enemy3/Enemy3.h | 4a88fc29717c73c69bf3d463364580e26e30bf6d | [] | no_license | phanletrunghieu/Aladdin_DirectX | 84ee3436797b4fd7e9e81a90375b2a32c7b08256 | 2b7787d744fd1c319d0d837ef74a24fe52c99a7a | refs/heads/master | 2021-05-08T02:42:06.039434 | 2017-12-25T14:41:00 | 2017-12-25T14:41:00 | 108,123,266 | 16 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 130 | h | #pragma once
#include "../Enemy.h"
class Enemy3 : public Enemy
{
public:
Enemy3();
Enemy3(GameObject * player);
~Enemy3();
}; | [
"hieutrunglephan@gmail.com"
] | hieutrunglephan@gmail.com |
5b5f95ff9c5bad6d7d443048c07a1daf4ee9b247 | 8587e018166f32a0613c75cd869cd291ebc05f0d | /i wanna be the gu.cpp | 5ba813b744e4b6ade0da45c120816f6674dea9e4 | [] | no_license | harshitgrover12/codeforces | 448909eb93dd0ada17b8e266c9699cc38931c429 | e542480c1c3806a355daeff64bd80a607b45c81e | refs/heads/master | 2020-03-27T01:56:40.386215 | 2018-08-22T20:49:41 | 2018-08-22T20:49:41 | 145,755,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;int d=n*(n+1)/2;
int m;
cin>>m;
int b[m];
for(int i=0;i<m;i++)
{
cin>>b[i];
}
int p;
cin>>p;
int a[p+m];
for(int k=0;k<p;k++)
{
cin>>a[k];
}
for(int l=0;l<m;l++)
{
a[p+l]=b[l];
}
sort(a,a+m+p);int s=a[0];
for(int j=1;j<m+p;j++)
{
if(a[... | [
"harshitgrover12@gmail.com"
] | harshitgrover12@gmail.com |
ca2612f502d89d1e958f12d6bd5ebcd6a9eaae8d | 524c0f8983fef4c282922a19a9437a320ccd0c45 | /aws-cpp-sdk-route53-recovery-readiness/include/aws/route53-recovery-readiness/model/GetRecoveryGroupReadinessSummaryRequest.h | aa8a21d1a096bfc8ad51f47d5da4ca83cf2f70f1 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | hardikmdev/aws-sdk-cpp | e79c39ad35433fbf41b3df7a90ac3b7bdb56728b | f34953a3f4cbd327db7c5340fcc140d63ac63e87 | refs/heads/main | 2023-09-06T03:43:07.646588 | 2021-11-16T20:27:23 | 2021-11-16T20:27:23 | 429,030,795 | 0 | 0 | Apache-2.0 | 2021-11-17T12:08:03 | 2021-11-17T12:08:02 | null | UTF-8 | C++ | false | false | 5,277 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
#include <aws/route53-recovery-readiness/Route53RecoveryReadinessRequest.h>
#include <aws/core/utils/memory/st... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
2c3d8edaf6b87686bbe365d57a72d37edcb9d260 | 19ccfd6806c5054679dab3f275822302206b222f | /src/public/materialsystem/imaterialsystemstub.h | 76cbc6b4c8ccdc29edbe1d5ef482fd2ebe4df258 | [
"Apache-2.0"
] | permissive | BenLubar/SwarmDirector2 | 425441d5ac3fd120c998379ddc96072b2c375109 | 78685d03eaa0d35e87c638ffa78f46f3aa8379a6 | refs/heads/master | 2021-01-17T22:14:37.146323 | 2015-07-09T19:18:03 | 2015-07-09T19:18:03 | 20,357,966 | 4 | 1 | Apache-2.0 | 2018-08-30T13:37:22 | 2014-05-31T15:00:51 | C++ | WINDOWS-1252 | C++ | false | false | 847 | h | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef IMATERIALSYSTEMSTUB_H
#define IMATERIALSYSTEMSTUB_H
#ifdef _WIN32
#pragma once
#endif
#include "materialsystem/imateri... | [
"ben.lubar@gmail.com"
] | ben.lubar@gmail.com |
bf2b0a50b995c7d92ce53c3fef1a8dd09bced859 | 54f849d5c13cd9dc9988243cf73cab0f714f91ad | /DynamicDialog_demo/TestDynDialog_changed/DynDialogEx.h | c17523fe79662a575b66508c4417bd28e6bd2752 | [] | no_license | ruixj/WinDevAppSamples | 50887cfb06d7828e0e188dd8f16122c125103816 | 2cf40ef1a1f9ebd5b9f79d25cc011d19326de78b | refs/heads/master | 2021-01-10T04:29:26.973117 | 2015-10-24T11:54:25 | 2015-10-24T11:54:25 | 44,860,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,918 | h | #if !defined(AFX_DYND90LOGEX_H__CF5AF5E8_BD00_11D3_AA7C_0008C7083CA9__INCLUDED_)
#define AFX_DYNDIALOGEX_H__CF5AF5E8_BD00_11D3_AA7C_0008C7083CA9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DynDialogEx.h : header file
//
#include "DynDialogItemEx.h"
// Control styles
#define STYLE_EDIT ... | [
"ustb_ruixj@aliyun.com"
] | ustb_ruixj@aliyun.com |
8c9a309f6613adbb7d2d09471fb3310e49c3bc80 | 21897e6a8199c0c1c3c2fff8f4e656e40b411699 | /src/gui/UForm_Partnery_sklad.h | 7a4be6d8d14b3d71d1c63ce89b79908ce0483f8d | [] | no_license | utech/ugurtsklad | dd276ba8685d089e16a2a5f59ddab162461ba06e | 4fec8708aec3277a68d51a6f91223f8a2f507edc | refs/heads/master | 2021-01-13T01:55:00.195880 | 2012-09-16T09:01:43 | 2012-09-16T09:01:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | h | //--------------------utech--------------------utech--------------------utech--------------------
//
// Файл декларації класу вікна реєстрації користувача
//
// Створений програмістами Компанії "Утех" 29.03.2009р.
// У класі використовуються компоненти бібліотеки QT4.x
//
//--------------------utech--------------------... | [
"m_roman_m@i.ua"
] | m_roman_m@i.ua |
df7e4ba3973c1d824f3ab4d8c1312d5d0318fbd1 | 8256582bd16c69e046de369df1a3e5ccced3a8f3 | /tools/rpc_structure/rpc/UnEquipEquipment.cpp | f4de1ede5af2fd4eda75506f217b1487ee8b64bc | [] | no_license | fU9ANg/ab | 584d1ad63a48e8a155bffba47b861c12800a7986 | 89ef1ec559d57f35f000844323f758b9576ba49f | refs/heads/master | 2021-01-01T19:16:17.599944 | 2015-01-16T11:39:18 | 2015-01-16T11:39:18 | 22,644,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp |
#include "UnEquipEquipment.h"
namespace rpcfunctions
{
void rpcfunctions::UnEquipEquipment::invoke (int pos)
{
// TODO
return_result (0); //int rs)
}
}
| [
"bb.newlife@gmail.com"
] | bb.newlife@gmail.com |
0719d99db8b93428c38e285bd02be0f44c60d253 | 956e038cc31b11ad5c1912f43552f8a01f575712 | /tools_debug/DebugMess.cpp | 59dbc1e0ff9675d34bde7f3b1327310e1c3a9530 | [] | no_license | Andrew90/nagan170424 | 15b970a9a52a771ebd050a877cf7efe9392faf27 | 30fccb2a2ee8a0b63679c02b38f4c54fd0dc40b0 | refs/heads/master | 2021-01-20T00:50:34.449779 | 2017-04-24T04:28:40 | 2017-04-24T04:28:40 | 89,195,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,951 | cpp | //#include "stdafx.h"
#include "DebugMess.h"
#ifdef XDEBUG
#include <stdio.h>
#define d_mess printf
wchar_t name[] = L"Parallel hatch in space";
wchar_t eventName[] = L"Parallel hatch in space event";
CRITICAL_SECTION critical;
struct InitCriticalSectionDebug
{
InitCriticalSectionDebug(){InitializeCriticalSection(&cr... | [
"Defect@urandefect.(none)"
] | Defect@urandefect.(none) |
58fd360bd49d0c3ee9f433213b26be6a29df88dc | a1058bb42a52cf44f72825e9cb6e5778c352463c | /lessons/19_sprite_sheets/LSpriteSheet.cpp | aa43f3e9a751b9c824e15becd8ba371d683e2ca6 | [] | no_license | crossbridge-community/crossbridge-example-glsl | 98e78c79413d7253e038beb469c4c3397636fde9 | 6f40d077aeba35b7147af8d22328585a9c1cc7f6 | refs/heads/master | 2016-09-07T11:49:17.356689 | 2014-09-15T14:02:25 | 2014-09-15T14:02:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,039 | cpp | /*This source code copyrighted by Lazy Foo' Productions (2004-2013)
and may not be redistributed without written permission.*/
//Version: 001
#include "LSpriteSheet.h"
LSpriteSheet::LSpriteSheet()
{
//Initialize vertex buffer data
mVertexDataBuffer = NULL;
mIndexBuffers = NULL;
}
LSpriteSheet::~LSpriteSheet()
{
... | [
"andras@vpmedia.eu"
] | andras@vpmedia.eu |
e9724625a3f0d5cca929a2853c771bd6e9ba27d1 | ea6d9a14bb7a45ec6aa13a63caae184fa81d2da2 | /tools/clang/lib/Lex/Pragma.cpp | 1f9c811f55c79c83fd320ba79e899e4ed8943d38 | [
"NCSA"
] | permissive | xingjinglu/ParaFinder | 525d37c8948ad6ab305d67201251650fa8634b99 | 0bb4f44280b2a74035bf0df1015597cafb7b3149 | refs/heads/master | 2021-09-03T03:56:42.351027 | 2018-01-05T10:50:33 | 2018-01-05T10:50:33 | 105,554,349 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 43,880 | cpp | //===--- Pragma.cpp - Pragma registration and handling --------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"xingjinglu@gmail.com"
] | xingjinglu@gmail.com |
7bf88783cec8f48b9db60c6e2e629516abf0f9ca | 786de89be635eb21295070a6a3452f3a7fe6712c | /O2OTranslator/tags/V00-30-04/src/O2OMetaData.cpp | 473b245af723e268a4e22d132904c1377a030e14 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,127 | cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class O2OMetaData...
//
// Author List:
// Andrei Salnikov
//
//------------------------------------------------------------------------
//-----------------------
// This Cl... | [
"davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
f7ee3405817dd95f704cd125bf473e4cf7eca777 | d5e7dc9a40ccbd2b229bd853681642de7c731379 | /homework/hw7/TTrie.h | 3179c92f979dc0fbb04b74cc55a516dbebe568ab | [] | no_license | afialon/Intermediate-Programming-CS220-SPR-2021- | 86f36dde08a83036886d264e4aa1f389320e593e | bf8cd76a8e5b39fdce8e5d47111ea4d297728768 | refs/heads/main | 2023-05-11T23:34:00.971741 | 2021-06-02T07:49:33 | 2021-06-02T07:49:33 | 337,611,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,525 | h | #ifndef TTRIE_H
#define TTRIE_H
#include <iostream>
#include <vector>
#include <string>
#include <sstream>
#include <map>
template<typename DataType>
class TTrie {
public:
/**
* Default Constructor.
*/
TTrie(): isTerminal(false), sequence() { edgeMap = std::map<DataType, TTrie*>();};
TTrie(const DataType... | [
"afialon1@ugradx.cs.jhu.edu"
] | afialon1@ugradx.cs.jhu.edu |
cdbfa9226eb006498428967b054ed59e9ae89ac8 | b12870a95546b7c3161dfe0faebc97c918202c97 | /Cutting_P/Padrao_Traspasse.cpp | 25482995223d8d13926848f400a2281dedb07ae5 | [] | no_license | kennedy94/Cutting_P | 8f73263822115abc1ad936b978c315a857eb5c3c | 54cf8d23326e2de2d375979a8b259caf693fdc9e | refs/heads/master | 2020-03-26T17:02:01.476098 | 2018-12-03T19:57:25 | 2018-12-03T19:57:25 | 145,138,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | cpp | #include "Padrao_Traspasse.h"
Padrao_Traspasse::Padrao_Traspasse()
{
}
Padrao_Traspasse::~Padrao_Traspasse()
{
}
| [
"kennedyanderson94@outlook.com"
] | kennedyanderson94@outlook.com |
0ec0b706c7cde1b308ddb3d956309b91bc18955f | dc395522f5223e418b0f8a9fa29761e717b4744f | /toetoken/include/toetoken.hpp | 9e82320d6e5396f6e86069095a317b0e0f75e8eb | [] | no_license | mhooboat/toe_contracts | 51cfb3966f8cfca9ac0ee169c8609cf962710985 | 3d28d087bd9f576864861e58e0ebe3f3bc366392 | refs/heads/master | 2023-04-26T10:45:12.085563 | 2021-05-02T09:09:45 | 2021-05-02T09:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,412 | hpp | #pragma once
#include <eosio/asset.hpp>
#include <eosio/eosio.hpp>
#include <string>
namespace eosiosystem {
class system_contract;
}
using eosio::contract;
using eosio::name;
using eosio::multi_index;
using eosio::asset;
using eosio::check;
using eosio::same_payer;
using eosio::symbol;
using eosio... | [
"dalvath3700@gmail.com"
] | dalvath3700@gmail.com |
025fa0961263e62c23bfe8c9c798044d42698e9e | cecf6991e6007ee4bc32a82e438c9120b3826dad | /Math/Source/fresnel/specialfunctions.h | 034170b441f048b2858b5f469736082848205d42 | [] | no_license | thinking2535/Rso | 172a3499400331439a530cab78934fa4c4433771 | 35d556463118825a1d5d36f49d46f18a05806169 | refs/heads/main | 2022-11-30T12:43:50.917063 | 2022-11-23T10:47:59 | 2022-11-23T10:47:59 | 31,525,549 | 11 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 60,299 | h | /*************************************************************************
ALGLIB 3.10.0 (source code generated 2015-08-19)
Copyright (c) Sergey Bochkanov (ALGLIB project).
>>> SOURCE LICENSE >>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License a... | [
"thinking2535@gmail.com"
] | thinking2535@gmail.com |
8a513eef6decb13b8b66c97efe5b51816ca79bda | 0d506fd7fb335cd8b7f6e578951e8a75e8cf1626 | /ch13/exer13_19.cpp | 6d93a179c5aee3f895117fdb7c41bb01259193ae | [] | no_license | imshenzhuo/CppPrimer | 613b7a0a20076db599ad1f0f2187a954f7d79b84 | 87c74c0a36223e86571c2aedd9da428c06b04f4d | refs/heads/master | 2020-07-22T15:02:20.808936 | 2020-02-29T16:08:40 | 2020-02-29T16:08:40 | 207,240,474 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | /*************************************************************************
> File Name: exer13_18.cpp
> Author: shenzhuo
> Mail: im.shenzhuo@gmail.com
> Created Time: 2019年09月11日 星期三 15时15分54秒
************************************************************************/
#include<iostream>
#include<string... | [
"im.shenzhuo@gmail.com"
] | im.shenzhuo@gmail.com |
28f21308841bdd74a363c0c828cd4f3e662a347a | 386fad5de6b1a6a9e5557947bd1aeffda8821656 | /TIOJ/1040.cpp | e9a672c9155ee4dd6773426982fc1ea947c71162 | [] | no_license | xxyyzz/Competitive-Programming_Solutions | 6c1f06232ab63f85d913bdd27a90eff892bfe18d | cca393f4330e784eb0f9edb44df290adc105ce3b | refs/heads/master | 2021-06-02T13:33:48.530485 | 2016-09-25T14:15:37 | 2016-09-25T14:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | #include <iostream>
using namespace std;
int main(){
int t, son, mom, c;
scanf("%d", &t);
while( t-- )
{
c=0;
scanf("%d%d", &son, &mom);
printf("%d/%d = ", son, mom);
while(1)
{
printf("%d", son/mom);
if( son%mom==0 )
brea... | [
"lnishan.cs01@g2.nctu.edu.tw"
] | lnishan.cs01@g2.nctu.edu.tw |
55a5e57729ca9a1212535f9cd26d1bf74cf540c4 | d134ae730638c9f26155017cf83b27399f69e4a5 | /src/solvers/elliptic/SEMFEMSolver.cpp | cb571c5942a7b683e87a1c951f7f256e1e325498 | [
"BSD-3-Clause"
] | permissive | Nek5000/nekRS | 24e485ba046030fd06755acae44d63ecc1188333 | 4f87e0e2ec0492e2a3edf27791252d6886814d00 | refs/heads/master | 2023-08-26T21:41:41.026390 | 2023-05-30T07:36:13 | 2023-05-30T07:36:13 | 200,469,913 | 220 | 72 | NOASSERTION | 2023-09-08T17:18:24 | 2019-08-04T08:45:08 | C++ | UTF-8 | C++ | false | false | 7,653 | cpp | #include "nrssys.hpp"
#include "platform.hpp"
#include "elliptic.h"
#include "SEMFEMSolver.hpp"
static occa::kernel gatherKernel;
static occa::kernel scatterKernel;
SEMFEMSolver_t::SEMFEMSolver_t(elliptic_t* elliptic_)
{
MPI_Barrier(platform->comm.mpiComm);
double tStart = MPI_Wtime();
if(platform->comm.mpiRank... | [
"stgeke@gmail.com"
] | stgeke@gmail.com |
67664dc63077d66d99e601a99672b4111247ad05 | d98c67c58c32b4da081406ec77de03605a5a6476 | /Arrays.h | d8fd287ccab1a0fd15ba5286f86545808075b5df | [] | no_license | aaaastark/CPP-Programming-Fundamental | b2dd6675a945497473e79f24f384216aa39dfa82 | 2d97394ea4bc1f707619c19bc3b9ebce97253e4e | refs/heads/master | 2023-01-12T12:32:33.518610 | 2020-11-15T08:02:25 | 2020-11-15T08:02:25 | 312,674,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,674 | h | #include <iostream>
#include <string>
using namespace std;
void objects_1();
void objects_2();
void objects_3(int array[]);
void objects_4();
void arrays(){
/////////////////////////////// START /////////////////////////////////////////
cout<<"\t\t\t\tNumber\n";
objects_1();
/////////////////////////////// END //... | [
"hassan@name.com"
] | hassan@name.com |
d2cfa947fd9fed9c7fdc3dba2846f80e32fcce1d | a37df219b4a30e684db85b00dd76d4c36140f3c2 | /1.7.1/rox/rox.cpp | 40febebd3045eee129d7f5b4e54ef23d056bd8f8 | [] | no_license | BlackMoon/bm-net | 0f79278f8709cd5d0738a6c3a27369726b0bb793 | eb6414bc412a8cfc5c24622977e7fa7203618269 | refs/heads/master | 2020-12-25T20:20:44.843483 | 2011-11-29T10:33:17 | 2011-11-29T10:33:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,009 | cpp | // rox.cpp
#pragma comment(lib, "../ext/release/ext")
#include "../dx/obj.h"
#include "../ext/ext.h"
#define WIN32_LEAN_AND_MEAN
#define STOCK_CONST 4
struct mperiod
{
char mon[4];
float pmin, pmax, smin, smax;
ULONG destp, dests;
USHORT date, month, year;
inline void fillDate()
{
if ... | [
"rrv.kazan@gmail.com@b6168ec3-97fc-df6f-cbe5-288b4f99fbbd"
] | rrv.kazan@gmail.com@b6168ec3-97fc-df6f-cbe5-288b4f99fbbd |
04a34cf21ba0e14b11fbb82fb3fe2dde7f32d164 | 126b36f3decb5a58db27470a738ca7d5ded0608b | /10.01 Test if a binary tree is balanced/Balanced_binary_tree.cc | a24e03832d31b72423277051b6f53749c593c02e | [] | no_license | Nuos/Elements-of-Programming-Interview | 7aa500a0931017d217c8152bce64cafa205b80bf | 29404d04fb5af408c413dc370cd4de8e70da49e1 | refs/heads/master | 2020-05-29T11:06:05.166377 | 2016-03-04T20:13:34 | 2016-03-04T20:13:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,474 | cc | // Copyright (c) 2015 Elements of Programming Interviews. All rights reserved.
#include <algorithm>
#include <cassert>
#include <iostream>
#include <memory>
#include <utility>
#include "./Binary_tree_prototype.h"
using std::boolalpha;
using std::cout;
using std::endl;
using std::make_unique;
using std::max;
using st... | [
"altunshukurlu@Altuns-MacBook-Pro.local"
] | altunshukurlu@Altuns-MacBook-Pro.local |
9b19a5f04be438bc62290d371a69b1022d3009ea | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h | 19c624c8b41761acaaba5be17a713e26623fecf7 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | h | // Copyright 2013 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_CHROMEOS_POLICY_CLOUD_EXTERNAL_DATA_MANAGER_BASE_TEST_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_CLOUD_EXTERNAL_DATA_MANAG... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
9c8494e69de3cd425ce8655c8c7eff0987619b5e | 400eaeb047d77b75751b3135905c0a6557107c7e | /tutorial06_keyboard_and_mouse/SControls.cpp | 52be128fd9091133bc69742deffab8bd277407b3 | [] | no_license | Jules-NC/3D-Car-Simulation | 16a6a02254c97ef450d807109be86735f8e8b6a7 | dc6c0293b76ddceceb344b9ae746e9bbca54702b | refs/heads/master | 2022-01-12T18:29:30.796553 | 2019-06-25T15:39:08 | 2019-06-25T15:39:08 | 169,235,229 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | cpp | #include <iostream>
#include "SControls.h"
#include <glm/glm.hpp> // |glm
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
bool SControls::init(int width, int height)
{
this->WIDTH = width;
this->HEIGHT = height;
if (!glfwInit())
{
return false;
}
glfwWindowHint(GLFW_SAMPLES, 4);
glfwWindow... | [
"lambyor@gmail.com"
] | lambyor@gmail.com |
65e94be9c51ce90b53b459b22b973811093d37cc | 30b64babe04e3bae414f0ce61e038c76fa7ece9c | /hw7.cpp | d401886017a825acda2aa488ba54e06c814d2454 | [] | no_license | Brakenfaces/C201 | 4706b5faa87d4462b437519497996e73154e166e | d6f266e6efb09585d84e6b5b58623a727ff60aab | refs/heads/master | 2021-01-16T21:45:07.203089 | 2015-02-23T04:40:03 | 2015-02-23T04:40:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,939 | cpp | /**********************************************************************
PROGRAMMER : Kyle Stoltzfus
CLASS : C201 5:30 - 7:20
DATE : 11/12/2012
HOMEWORK : Homework 7
COMPILER : Visual C++ .NET
SOURCE FILE: Assign7.cpp
ACTION: Reads words from stdin and displays them in 3 columns.
A w... | [
"computerwhiz33@gmail.com"
] | computerwhiz33@gmail.com |
549f976a6fca36c52825fe7655c747796bd2f253 | 554e5c61ed8c14cc40af034f567f4d652913384e | /IB Academy/grid-illumination/problem.cpp | 5822e7fe019d9019a4c8b0f85a130678118a3d28 | [] | no_license | sraman915/Comptetive-Programming | 1a1e098a720fa6394f08b62f173e1ef6b801d5c3 | 0c1e739a2c76ecfe20b43aba333365894833e7cf | refs/heads/master | 2022-07-22T20:52:38.341265 | 2020-05-14T14:34:50 | 2020-05-14T14:34:50 | 263,874,572 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
#define sp ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
#define cps CLOCKS_PER_SEC
#define mod (long long)1000000007
#define f first
#define s second
#define debug1(x) cerr<<x<<"\n"
#define debug2(x,y) cerr<<x<<" "<<y<<"\n"
#define deb... | [
"sraman915@gmail.com"
] | sraman915@gmail.com |
256d9fb2482e696c699d36449f7b53e1cc34f7dd | 98ba4eca2871f8178c74d327b8c992526859c826 | /printer/dicom/dicom_set.cc | d134b00744876e7fbe0165133f8f725524977dbd | [
"BSD-3-Clause"
] | permissive | chrisvana/printer | 0a34de6cb24e53f9c78494306ca380d35493b127 | 13435848fc9429541e8607b7bb65220798d5db5e | refs/heads/master | 2021-05-02T10:33:08.842890 | 2018-01-28T05:12:44 | 2018-01-28T05:12:44 | 35,244,428 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 10,709 | cc | // Copyright 2015
// Author: Christopher Van Arsdale
#include <memory>
#include <string>
#include <vector>
#include "common/base/callback.h"
#include "common/base/flags.h"
#include "common/log/log.h"
#include "common/thread/counter.h"
#include "common/thread/threadpool.h"
#include "common/util/stl.h"
#include "printer... | [
"chris.vana@gmail.com"
] | chris.vana@gmail.com |
64bd1ff8a8c6a22286a4c4ebd5ff692b5e78fada | 40f18b701768b78f881fe53a9e6267678eb9e2c1 | /LanQiao/ALGO/ALGO-118.cpp | bf62cb55ca489e0db04a27a2c014effa5e2e95d7 | [] | no_license | jiafanxue/Algorithm | 9732178808b46bd0e921920ada32308d6e25bdb0 | 649a88884238a80e268dc8080de1e8f4c912470c | refs/heads/master | 2021-01-13T03:27:34.824824 | 2017-05-15T12:21:46 | 2017-05-15T12:21:46 | 77,546,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | cpp | #include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
int num;
cin >> num;
for(int i = 1; i < num; ++i) {
int sum = i;
for(int j = i + 1; j < num; ++j) {
sum += j;
if(sum == num) {
cout << i << " " << j << endl;
}
}
}
return 0;
} | [
"Tutuxsfly@126.com"
] | Tutuxsfly@126.com |
8602f33b930574871d11c79c5255b308de7f449e | c45b2f541377672c090b3c915f70b8c0ef2e9125 | /ARMInspectorGUI/ui_inspectionFrm.h | 308a654996c70352a349670d2738bca76b8b12c7 | [] | no_license | ask1612/ARMInspector | 1c9d0efdf51d57398aa56810479092a5a844f283 | d1fd851464cfbacf8f1cb9012bc168d85dbb9009 | refs/heads/master | 2023-07-11T00:10:53.651583 | 2021-08-06T12:20:51 | 2021-08-06T12:20:51 | 354,582,534 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,419 | h | /********************************************************************************
** Form generated from reading UI file 'inspectionFrm.ui'
**
** Created by: Qt User Interface Compiler version 5.15.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
************************************... | [
"kazun@kazun-Inspiron-5537"
] | kazun@kazun-Inspiron-5537 |
7bdab0494b47aae000499b47d2150874fa801272 | fdb1b46ea89976c3ae04f52c854da87acabe5bbf | /Heart of the Cards/Temp/StagingArea/Data/il2cppOutput/UnityEngine.UI.cpp | 55268f45fd2f89d205f6d1a3db5e80f08fc9177e | [] | no_license | jlewis19/HeartOfTheCards | 63fe20015648b74b333e4e14a6e3d5462312b3a1 | 3782a4cf84a300d9ad7ebaae113211d74c91bf17 | refs/heads/master | 2023-04-08T23:57:26.278082 | 2021-04-24T03:57:15 | 2021-04-24T03:57:15 | 358,038,940 | 0 | 0 | null | 2021-04-24T03:57:15 | 2021-04-14T20:50:36 | C# | UTF-8 | C++ | false | false | 2,251,053 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-intern... | [
"jlewisait@gmail.com"
] | jlewisait@gmail.com |
ba5ea4b328bd477af490274c484001ec198e54e9 | e51954212c29816c0773cb44e95109ee5219e81d | /tests/test_aeconst.cpp | 804cbbc2b4a22a3d753437104969d0214fa0296b | [] | no_license | criptych/aegis | b53ebf4f69c4ddf2f0ba780a60c3d2b05c928ccf | ebf4d76f767a69742ca6baf4e17cec6caa523c50 | refs/heads/master | 2021-07-16T08:12:09.106131 | 2015-12-11T19:11:00 | 2015-12-11T19:11:00 | 43,752,827 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | cpp | ////////////////////////////////////////////////////////////////////////////////
//
////////////////////////////////////////////////////////////////////////////////
#include "catch.hpp"
#include "aeconst.hpp"
////////////////////////////////////////////////////////////////////////////////
#include <cmath>
/////////... | [
"criptych@gmail.com"
] | criptych@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.