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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
607b0dccd62566dc9b3899f41b3286b7f8f5a17c | badb331e321e9c620fae17876b0e5365e7c08176 | /include/network/serverconnection.hpp | d1f45b427f656e49c2193764fbdebe73897f95a1 | [] | no_license | jacobmott/brightengine | 1497afb73a0af99c48ea5959691f15239b41e7d8 | a01e9f27f3c82b5e96986563d30f7d890de0eaf2 | refs/heads/master | 2022-06-22T22:26:03.908750 | 2022-05-31T08:25:57 | 2022-05-31T08:25:57 | 59,451,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,829 | hpp | #ifndef BRIGHT_NETWORK_SERVER_CONNECTION_H
#define BRIGHT_NETWORK_SERVER_CONNECTION_H
#ifdef WIN32
#define _WIN32_WINNT 0x0501 // Windows XP
#include <stdio.h>
#endif
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <boost/asio.hpp>
#include <boost/make_shared.hpp>
#include <boost/shared_ptr... | [
"jacobmott@gmail.com"
] | jacobmott@gmail.com |
fe5cfbd94fc2a570f737b63e3a8fc27ac4c564c5 | eee4e1d7e3bd56bd0c24da12f727017d509f919d | /Case/case6/play/case0/Case/case0/300/phi | f972cc1feb3eb5600f55f5203ecfdbba7e77f00a | [] | no_license | mamitsu2/aircond5_play5 | 35ea72345d23c5217564bf191921fbbe412b90f2 | f1974714161f5f6dad9ae6d9a77d74b6a19d5579 | refs/heads/master | 2021-10-30T08:59:18.692891 | 2019-04-26T01:48:44 | 2019-04-26T01:48:44 | 183,529,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,243 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
bebe3325d61c2d172310d94495e46619b1d66456 | f395765240235ea645c8721f5ff7fa2ace09944a | /Minimum Cost of ropes.cpp | add83660923c9ea1cb172673e78cf984791bad28 | [] | no_license | mayankwatts/geeks_for_geeks | 29b5b27f7b1e7c3c1c0c4b8e96ea7d626fce08e7 | c4e16102e2b288f6f1f6da1d988527ecb54c16e5 | refs/heads/master | 2020-06-26T17:01:06.729917 | 2019-11-04T18:21:15 | 2019-11-04T18:21:15 | 199,693,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
#include<queue>
using namespace std;
long long int func(int* arr,int n){
sort(arr,arr+n);
vector<long long int> v;
long long int ans=arr[0]+arr[1];
priority_queue<long long int,vector<long long int>,greater<long long int>> pq;
for(int i=2;i<n;i... | [
"noreply@github.com"
] | noreply@github.com |
ce8bc0cbbc91ecac03e7f35554b2a2cd9baadad1 | c23b42b301b365f6c074dd71fdb6cd63a7944a54 | /contest/opencup/XVI/Ekaterinburg/e.cpp | 81e918baf7d33f7cad87f6651824fc9c206b59cb | [] | no_license | NTUwanderer/PECaveros | 6c3b8a44b43f6b72a182f83ff0eb908c2e944841 | 8d068ea05ee96f54ee92dffa7426d3619b21c0bd | refs/heads/master | 2020-03-27T22:15:49.847016 | 2019-01-04T14:20:25 | 2019-01-04T14:20:25 | 147,217,616 | 1 | 0 | null | 2018-09-03T14:40:49 | 2018-09-03T14:40:49 | null | UTF-8 | C++ | false | false | 2,084 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef LL type;
typedef pair<type,type> Pt;
typedef pair<Pt,Pt> Line;
typedef pair<Pt,type> Circle;
#define X first
#define Y second
#define O first
#define R second
Pt operator+( const Pt& p1 , const Pt& p2 ){
return { p1.X + p2.X , p1.Y + p2.Y };
... | [
"c.c.hsu01@gmail.com"
] | c.c.hsu01@gmail.com |
f007c0d1dc14a7f86c2a47d7231851cf78fa5b5a | 1d3dc27123440a6745c85bc6ae8265da0891a56b | /absl/container/fixed_array.h | 20bde27285b815b3bb34237b9ccbb233e843537c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | williammc/abseil-cpp | c2ea7f0c4e5f1c88d8ea236788e3619b048ae6af | cdf20caa491f59c0a35a8d8fbec0d948e4bc7e4c | refs/heads/master | 2021-07-05T14:52:36.112515 | 2017-09-27T17:50:48 | 2017-09-27T20:03:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,984 | h | // Copyright 2017 The Abseil 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | [
"misterg@google.com"
] | misterg@google.com |
2dea6dd76ec3e4937ed0354681978b2c9f88b7f2 | 80475c891ad3d078739fd9742439c3c2449261cd | /include/ExG4PhysicsList.hh | 155f824392b97fa87d0804fb5011554b54ed6d1e | [] | no_license | nijinger/calcium_lead_angular_corre_theory_zhao | 55b452263ce08922a573e5de98e4a1065b4f3466 | ef13169a588f098be09c03f99551a98d5325fc02 | refs/heads/master | 2020-04-02T18:34:12.190422 | 2018-10-25T19:02:40 | 2018-10-25T19:02:40 | 154,705,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | hh | #ifndef ExG4PhysicsList_h
#define ExG4PhysicsList_h
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
class ExG4PhysicsList : public G4VModularPhysicsList
{
public:
ExG4PhysicsList();
virtual ~ExG4PhysicsList();
virtual void ConstructParticle();
virtual void ConstructProcess();
};
#endif
| [
"jing.li@anl.gov"
] | jing.li@anl.gov |
dec7cbed9ab636ebd26622dae9356989b391b2b8 | 054aa7e7f6dad81d50a0f7b746e5337e852328df | /Labs/systemDemo5/Final_Sketch/Final_Sketch.ino | ffbf1447fb34d2e365918d9be6f997d4309ea950 | [] | no_license | enewhall/Mechatronics | 08a22018791f78519e85acc3e8e97bee37f69d6b | 3692bbc23ea9226f98c90f84f2d3d1db8658bef3 | refs/heads/master | 2020-06-02T14:34:17.519612 | 2015-05-12T00:41:02 | 2015-05-12T00:41:02 | 29,307,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,366 | ino | //Final Sketch.ino
//Issue: must comment out all code for an individual motor type if there is no motor of that type.
//For Example: if there are no servo pin, we must comment out all code involving servos.
//variables for the Stepper Motors
float IRDistance[] = {0.0, 0.0, 0.0, 0.0, 0.0}; //scale version of Value[]
... | [
"gcidre1@gmail.com"
] | gcidre1@gmail.com |
7325117da7d5629f307533f4ff814cfb2e1de678 | c7ba0293b693153bac4391dfacfc6d21f787f2cd | /src/ANASampleCub.cpp | 9720f7e40bd8afd24d6c40d849b39bf30315bbd8 | [] | no_license | vifactor/DislScatCubFITThreadingMult | 08c1ed73431136eac79a02e9741a06ec8f5a2b6a | bcead65e6e6a4531ca205b6212c963c588e74f2e | refs/heads/master | 2021-01-02T09:34:16.705425 | 2014-09-10T12:59:53 | 2014-09-10T12:59:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | /*
* ANASampleCub.cpp
*
* Created on: 12 july 2014
* Author: Viktor Kopp
*/
#include "ANASampleCub.h"
ANASampleCub::ANASampleCub(double thickness, double size)
{
m_thickness = thickness; m_size = size;
}
ANASampleCub::~ANASampleCub()
{
for(size_t i = 0; i < m_layers.size(); ++i)
{
d... | [
"vifactor@gmail.com"
] | vifactor@gmail.com |
8b8e59156c2b35eb2a9fe7fe740e4f0bbd580cb9 | a65a5f587694b980a542ea2c2c9e6fef18b41b0f | /Test/neopixeltest/neopixeltest.ino | 5ebd9201e9a0add9d533823e7e8b58209a96b28b | [] | no_license | ValerieMayTomic/the-mausoleum | 47691caedc1c660ace0a4f683c782a483cacd105 | 0f75174b48d98fdf9c20ad8d81d9a5abd09289da | refs/heads/master | 2020-12-03T17:40:43.971844 | 2016-08-29T21:43:47 | 2016-08-29T21:43:47 | 67,944,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,133 | ino | #include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
#define PIN 10
// Parameter 1 = number of pixels in strip
// Parameter 2 = Arduino pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LE... | [
"valerie.tomic@gmail.com"
] | valerie.tomic@gmail.com |
24af7548fa0791c246ba6a700e136c331b1b9169 | 0201c254e64b49736f1a3098fb73d09466b75e26 | /ZPar-Meishan-master/src/chinese/tagger/implementations/agendachart/tagger.h | 0bcedb2c85a57e35ff7d34f2925634e192e74350 | [] | no_license | zenRRan/ZPar_Example | d53c9a448e59ccb22111e02e28183954216082c9 | 020b67aec0c008ca9db3b39151ae8c770446ff2a | refs/heads/master | 2020-04-06T06:25:04.218308 | 2017-02-23T06:16:08 | 2017-02-23T06:16:08 | 82,891,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,532 | h | // Copyright (C) University of Oxford 2010
/***************************************************************
*
* The tagger's agenda n chart implementation
*
* Yue Zhang, 2007
*
***************************************************************/
#ifndef TAGGER_AGENDACHART_IMPL_H
#define TAGGER_AGENDACHART... | [
"zhenranran@zhenranrandeMacBook-Air.local"
] | zhenranran@zhenranrandeMacBook-Air.local |
582c695768309e183e38fe59a4acc84c98c20b1c | 191c8a31295021505a01242a461efa78c8e5d712 | /chipyard.TestHarness.LargeBoomAndRocketConfig/chipyard.TestHarness.LargeBoomAndRocketConfig/VTestHarness__74__Slow.cpp | 31a5d342be16629b2fc2662dd71428e126818091 | [
"BSD-3-Clause"
] | permissive | vargandhi/ime-congs | 4f485c6551ba725e2a11d57888341be65f841c01 | 963be79b7b319d8e74edae09df7bdf3330371401 | refs/heads/main | 2023-03-21T13:10:21.477493 | 2021-03-13T22:04:02 | 2021-03-13T22:04:02 | 334,827,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284,138 | cpp | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Design implementation internals
// See VTestHarness.h for the primary calling header
#include "VTestHarness.h"
#include "VTestHarness__Syms.h"
#include "verilated_dpi.h"
void VTestHarness::_settle__TOP__15225(VTestHarness__Syms* __restrict vlSymsp) {
VL_... | [
"centos@ip-192-168-0-220.ec2.internal"
] | centos@ip-192-168-0-220.ec2.internal |
3bedfc049ed99b1354fb4e907124eedf6c0f61ec | 667d69ef21d41bfa7ff2aefef2764da11bed9017 | /Editor Source/_Build_/Esenthel/Source/Shared/Elements/Material.cpp | 17f43de9a15495ed22916cb13c64e4b8589cc38f | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive"
] | permissive | Mike-Gao/EsenthelEngine | 49c5ab3b74561d238743642e26c57207f1e785d5 | 08b6078ca9b7c7aaf658e19f97b3d704793f4f93 | refs/heads/master | 2022-12-26T15:18:29.086994 | 2020-09-23T13:48:00 | 2020-09-23T13:48:00 | 298,308,724 | 0 | 1 | null | 2020-09-24T14:46:13 | 2020-09-24T14:46:13 | null | UTF-8 | C++ | false | false | 38,844 | cpp | /******************************************************************************/
#include "stdafx.h"
/******************************************************************************/
/******************************************************************************/
bool EditMaterial::hasBumpMap()C {return bump_map.... | [
"esenthel@hotmail.com"
] | esenthel@hotmail.com |
11cc3218ab5349f332c8c499448f03435200de9c | 41c08b24a58567660bab8e1abc4fa01d05861fd6 | /src/QtManagers/Multimedia/nAudioLists.cpp | d23d47ec13b699fdc79b47802f60873a54558016 | [
"MIT"
] | permissive | 519984307/QtManagers | 66bc9ed46cfe9a74c9934de70317c10b0be0f1a4 | 2f906b165f773bff054a8349c577b7d07c2345d9 | refs/heads/main | 2023-06-01T04:13:12.513297 | 2021-06-16T16:13:53 | 2021-06-16T16:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,972 | cpp | #include <qtmanagers.h>
N::AudioLists:: AudioLists ( QWidget * w , Plan * p )
: TreeDock ( w , p )
, Ownership ( 0 , Types::None , Groups::Subordination )
{
WidgetClass ;
Configure ( ) ;
}
N::AudioLists::~AudioLists(void)
{
}
QMi... | [
"lin.vladimir@gmail.com"
] | lin.vladimir@gmail.com |
20b2f4a1c68f46e99272589b1d1c31933131393a | ec731d96a968a081ec7ed30c7bdd94b5b9fbcbf4 | /s6/pca/assgnment/a1/a1.cpp | 1886bac57306134984f21a8878d2abf104a77b22 | [] | no_license | lkoshale/sem5 | 9bfd701b5e21848a22473a663f1aff1f23d0df63 | 1fe7956fd2d4f4ea5245626531f9e35e5b92599d | refs/heads/master | 2021-01-23T16:04:30.674919 | 2019-12-03T03:47:45 | 2019-12-03T03:47:45 | 102,719,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,547 | cpp |
#include<iostream>
#include<vector>
#include<string>
#include<cstdlib>
#include<algorithm>
#include<stdio.h>
using namespace std;
// define known constants as macros
#define LRU 0
#define FIFO 1
#define SRRIP 2
#define PSUEDO_LRU 3
#define WRITE_THROUGH 0
#define WRITE_BACK 1
#define INCLUSIVE 0
#define EXCLUSIVE 1
... | [
"lkoshale@gmail.com"
] | lkoshale@gmail.com |
3ae573e780771f0214e68ca59bb6185581321927 | 2138d00a6873f6b91b54539ea542d9ac325cae6c | /include/response_parser.h | 00e227db11073575a0b5c96995ac1998cdb5d7d7 | [] | no_license | MichaelG824/mrjk-webserver | e92e495994dca482e3e16ddd62bfac917a162217 | 299089d8bc45da412a54ca856f138ffdebf274a9 | refs/heads/main | 2023-05-25T19:37:17.981740 | 2021-06-11T00:03:39 | 2021-06-11T00:03:39 | 348,484,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,112 | h | /* response_parser.h
Header file for parsing incoming responses.
Library Source modified from https://www.boost.org/doc/libs/1_65_1/doc/html/boost_asio/example/cpp11/http/server/request_parser.cpp
Author(s):
Daniel Ahn
Rafael Ning
David Padlipsky
Andy Zeff
Date Created:
May 23rd, 2020
*/
#ifndef... | [
"michaelgee@Michaels-MacBook-Pro.local"
] | michaelgee@Michaels-MacBook-Pro.local |
861924fae5ae3fe274c81067f58a9f9d14af2065 | dd0c733f8da13fc34303e3a8fba7f1811bbca4c4 | /9_BoundArrayMain.cpp | 9f9269a57991d8ca8361571f0d7cda73c9137175 | [] | no_license | byh1321/CppExamplesandProblems | e43706e55e43935f9e4237775ff509a6410090a8 | fe98f81f545101a41d8402ea07390924293c1caa | refs/heads/master | 2021-01-11T08:23:45.294541 | 2016-12-18T07:27:06 | 2016-12-18T07:27:06 | 76,769,036 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 682 | cpp | #include<iostream>
#include"9_ArrayTemplate.h"
#include"9_Point.h"
using namespace std;
void main()
{
BoundCheckArray<int> iarr(5);
for (int i = 0; i < 5; i++)
iarr[i] = (i + 1) * 11;
for (int i = 0; i < 5; i++)
cout << iarr[i] << endl;
BoundCheckArray<Point> oarr(3);
oarr[0] = Point(3, 4);
oarr[1] = Point(... | [
"byh1321@naver.com"
] | byh1321@naver.com |
fdc52b6c688db841be9c885341a2c5c2d5de7610 | 9184e901b0a490555ebd9847033db6a41bb64e82 | /038_count_and_say.hpp | 4e51d6fcde4bf320168f2e69ef8796557be428e6 | [] | no_license | fsqx/LeetCodeRepository | 9d3cefffaad99149a6eba6a2007b8177442e8279 | 9580cf3aa1dd6f3052c5755ec7039c4bc3da2d6e | refs/heads/master | 2022-05-15T22:03:30.675839 | 2022-03-13T09:16:11 | 2022-03-13T09:16:11 | 210,403,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | hpp | #include <iostream>
#include <string>
#include <string.h>
using namespace std;
class Solution
{
public:
string countAndSay(int n)
{
if(n == 1)
{
return string("1");
}
string rstNumString = "1";
for(int i = 0; i < n; i++)
{
rstNumString =... | [
"1037259296@qq.com"
] | 1037259296@qq.com |
73298dbab8bb2afd9e3bfdd86d2cd8ff425949be | 24643916cd1515911b7837ce81ebd17b0890cc81 | /platform/mt6592/hardware/mtkcam/core/drv/ResManager/ResManager.cpp | 07695ed1bed937c04f59c489ce7740556dc7df88 | [
"Apache-2.0"
] | permissive | touxiong88/92_mediatek | 3a0d61109deb2fa77f79ecb790d0d3fdd693e5fd | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | refs/heads/master | 2020-05-02T10:20:49.365871 | 2019-04-25T09:12:56 | 2019-04-25T09:12:56 | 177,894,636 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,611 | cpp | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | [
"sunhouzan@163.com"
] | sunhouzan@163.com |
e4b069da6463bc5320f65833cb6abff81a6368bf | 4d084af761ef00b027baaf41110e40da34078eb3 | /papagaj/main.cpp | 5aa5257da8052330ae88e10ccd157af6f4adc75f | [] | no_license | misladkova/cpp_exercises | eaed3df1f2ccf5d33b587bd7656e314ba5e142d1 | 243f7b826367a69263d7c2028279c46edd5b0447 | refs/heads/main | 2022-12-27T12:43:32.465861 | 2020-10-05T14:52:36 | 2020-10-05T14:52:36 | 301,350,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | cpp | #include <iostream>
using namespace std;
int main() {
int n;
cin>> n;
if(n==1){
int q;
cin>> q;
if(q<0){
cout<< "zaporrrne" <<endl;
}
else{
cout<< "nezaporrrne" <<endl;
}
}
if(n==2){
int w, e;
cin>> w >> e;
... | [
"michaela.sladkova@gmail.com"
] | michaela.sladkova@gmail.com |
2d49718d86693102a2948889ccc01e9d9785efbf | 38e16e9c2388924908cce1bcc46d10c7e17662a6 | /guess.cpp | c0949d5ea671dad4b257c4cafe05a4d8396c2adc | [] | no_license | haileysil/p01-haileysil | 8a93ed360a2fa65663efb190fc81caba7b9673ef | 19ea9a621a601179e6f57d8c416ece86698ed4fc | refs/heads/master | 2021-06-30T14:06:39.700897 | 2017-09-23T07:19:04 | 2017-09-23T07:19:04 | 104,541,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | cpp | #include <cstdlib>
#include <ctime>
#include <iostream>
using namespace std;
int main ()
{
srand ( time (NULL) );
int randomNumber;
int range;
int input, num_of_turns;
string difficulty;
char answer;
do
{
cout<<"Please select a difficult... | [
"hsilveira1@mail.csuchico.edu"
] | hsilveira1@mail.csuchico.edu |
b21b2f812bd1eefde65720681bbd15e9af1f0514 | 47cd7b0824bae2b41457ad4b146e12f568a04de4 | /SnakeGame/snake.h | 814e9ef36fa5c71231ef1d2ce8f1222278abd0f8 | [] | no_license | Gurbirksingh/SnakeGame | 2294fbc656db4aedc0dbbff8c556737276008e71 | e7761f1b55fe35d027cbc4ec004f5d4d06923b05 | refs/heads/master | 2020-03-26T04:29:02.702605 | 2018-08-12T23:21:05 | 2018-08-12T23:21:05 | 144,505,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | h | #pragma once
#include "control.h"
#include <iostream>
// Inherited Snake class from Control class
class Snake : public Control {
static const int layoutWidth = 20;
static const int layoutHeight = 20;
static const int size = layoutWidth * layoutHeight;
int layout[layoutWidth * layoutHeight];
in... | [
"noreply@github.com"
] | noreply@github.com |
4b8fe4491b38686fbd7eba7807d6ba18e6a23e8d | 425313c71936acd3c1e8bb98dbff1db8697e5870 | /Practices/Practice 04/task_06.cpp | 8726aeb4c61063264aec641d91a53281c1f26a15 | [
"MIT"
] | permissive | yasenAlexiev/FMI-UP-2019-2020 | 163f2e602b4de01d4074d7eda8edf9e94637a15c | c5de580f39173b9b938f39f98296a646273c6f42 | refs/heads/master | 2020-08-03T15:07:55.425758 | 2020-02-15T07:29:47 | 2020-02-15T07:29:47 | 211,795,687 | 4 | 3 | MIT | 2020-01-14T18:04:06 | 2019-09-30T06:57:26 | C++ | UTF-8 | C++ | false | false | 192 | cpp | #include <iostream>
int main() {
unsigned int a, b;
std::cin >> a >> b;
if( a ^ b ) {
std::cout << "Nope" << std::endl;
} else {
std::cout << "Yup" << std::endl;
}
return 0;
}
| [
"yassen4o222@abv.bg"
] | yassen4o222@abv.bg |
7ef0a51c4d88a5f934a9fec2f74f70e64870ef23 | 90b41593a32f59d3170e3eb8121ac8528cf619a9 | /MyDemo/23_ParticleSystem/23_ParticleSystem/Vertex.cpp | 89fd05bf046ee5f62473f8e048b11d282df30c09 | [] | no_license | ybkyozy/Direct3D11Demo | bceb6f3c19d02c74ba9c5502ca65286056dcb8ce | a2674421e6e7fc6a3650c1808268d98be186e509 | refs/heads/master | 2020-03-22T17:08:56.978231 | 2018-07-10T04:48:28 | 2018-07-10T04:48:28 | 140,376,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,619 | cpp | #include "Vertex.h"
#include "Effects.h"
const D3D11_INPUT_ELEMENT_DESC InputLayoutDesc::Pos[1] =
{
{ "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }
};
const D3D11_INPUT_ELEMENT_DESC InputLayoutDesc::Basic32[3] =
{
{ "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_... | [
"ybkyozy@163.com"
] | ybkyozy@163.com |
08758e7113e8d9ac648420bcf65eb13b0e54ab52 | 6c49fad41b5109d4dabc4db0007e1ae931ee4898 | /Website/resources/Week10/taj/main.cpp | bd1b8649d3a4bc8f2aa1546a63f838ac26b58615 | [] | no_license | ZainAU/oop | 964fbf6701ccac77fe14d04d83fb7f5d11b1cb15 | a895b7ce10ed4ec09a2e178005bb82da7b58e32e | refs/heads/master | 2022-01-06T21:03:26.842634 | 2018-09-26T05:35:13 | 2018-09-26T05:35:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | cpp | #include <iostream>
#include <typeinfo>
#include "include/list_T.h"
using namespace std;
template <typename mytype>
int find_occurrences(mytype a[], int size, mytype element)
{
if(typeid(mytype)==typeid(int))
cout<<"sepcial code for int"<<endl;
int num=0;
for(int i=0; i<size;... | [
"noreply@github.com"
] | noreply@github.com |
284b65bb041bf9621d0a5fe573d56f5a223a889c | 9877916b83363457a4f784b8405446b1cc623021 | /api/modules/SAM_Irradproc.cpp | b6e8638466913538e71d8c2cee27047e86728321 | [
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"BSD-3-Clause"
] | permissive | NREL/SAM | aa32da81d94de272af6dff30cf93f4d53ae21968 | 04f5e3b04608e9212d50586a01d55eb5b458fc72 | refs/heads/develop | 2023-08-19T00:58:25.421464 | 2023-08-17T00:15:48 | 2023-08-17T00:15:48 | 7,533,354 | 299 | 148 | BSD-3-Clause | 2023-09-14T20:02:55 | 2013-01-10T02:52:47 | PowerBuilder | UTF-8 | C++ | false | false | 17,491 | cpp | #include <string>
#include <utility>
#include <vector>
#include <memory>
#include <iostream>
#include <ssc/sscapi.h>
#include "SAM_api.h"
#include "ErrorHandler.h"
#include "SAM_Irradproc.h"
SAM_EXPORT int SAM_Irradproc_execute(SAM_table data, int verbosity, SAM_error* err){
return SAM_module_exec("irradproc", data... | [
"darice.guittet@nrel.gov"
] | darice.guittet@nrel.gov |
675ec5ad321af09c5375995829ec5a6689115057 | 0768af5e38804a0a1e48e3e63b7e59ed07b8073f | /Transmitter/Transmitter.ino | fe427ed8026419134b4f300c7b0f48922b0f3026 | [] | no_license | schplorg/radioBell | 2277f165372ad679ab695a43cc90aacfe450dee5 | 56a876a9b5dc6e060d575844eaf0bb6fc9a295c6 | refs/heads/master | 2020-05-20T17:24:21.137702 | 2019-10-17T22:08:50 | 2019-10-17T22:08:50 | 185,687,242 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | ino | #include <RCSwitch.h>
#include <avr/sleep.h>
RCSwitch mySwitch = RCSwitch();
int counter = 1;
void setup() {
Serial.begin(9600);
Serial.println("setup");
pinMode(LED_BUILTIN,OUTPUT);
pinMode(2,INPUT_PULLUP);
mySwitch.enableTransmit(10);
}
bool wake = false;
void loop() {
Serial.println("loop");
wake = tr... | [
"sam@schplorg.de"
] | sam@schplorg.de |
16b5e7926af0c7e7a1685c7478f240985b09ad7f | d2249116413e870d8bf6cd133ae135bc52021208 | /Ultimate Toolbox/samples/gui/CaptionPainter/CustomizeDlg.cpp | 219049f3b5042481659b2158848e76a00b0916ec | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,691 | cpp | // CustomizeDlg.cpp : implementation file
//
#include "stdafx.h"
#include "multipad.h"
#include "CustomizeDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCustomizeDlg... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
caac39c07c0b54418ab021b1dbb9f5f2a9724be2 | b45255c4ee39791de879422cbe06485de56148fb | /程序设计II_c++/9011 [Basic C++]piecewise function/Standard Answer/a.cpp | bcfa8c96be473d24143f0720ed03b76115e82d39 | [] | no_license | yoyo-hu/Programming-exercises | 4e60f50f63ec102ae5d1333d393349f156167e87 | cda87dcc477839e096500710eed470a94ae19200 | refs/heads/master | 2023-06-20T00:15:58.746894 | 2021-07-15T05:28:28 | 2021-07-15T05:28:28 | 386,024,430 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include <cstdio>
#include <cmath>
int main()
{
double num; scanf("%lf", &num);
double ans;
if(num < -1) ans = num + 1;
else if(num >= 1) ans = log(num) / log(10);
else ans = fabs(num);
printf("%.2lf\n", ans);
return 0;
}
| [
"1417193568@qq.com"
] | 1417193568@qq.com |
9ffbac1665a9a0b88ca1c2a15c2d3af6ef71aabe | 6504215c8de43b1e3d1bfb9e9740d8d1848e6282 | /SDK/UE4_WSkin_GrenadeLauncher_Midnight_parameters.hpp | 967e08e2381594be15e876bf083c15d7d544b026 | [] | no_license | MuhanjalaRE/Midair-1.0.4.9504-SDK | d9d82cdaf72d16bcd56400edf27092d85867db5f | c935e6e8f07953c3ab71e10d405db42a7c60627b | refs/heads/main | 2023-02-24T11:59:43.891011 | 2021-01-29T19:04:11 | 2021-01-29T19:04:11 | 334,117,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | hpp | #pragma once
// Unreal Engine 4 (4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "UE4_WSkin_GrenadeLauncher_Midnight_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-------------------------------------------------------------... | [
"78203566+MuhanjalaRE@users.noreply.github.com"
] | 78203566+MuhanjalaRE@users.noreply.github.com |
54a5b38b4aa44f90b9c4b5373a5e950bf5464d2d | 2bd47efe9b6ebc4eaee086dc9d30ac8e09bb00d0 | /shared/raknet/UDPForwarder.h | fdd5354b9789e317df8530b115b641bf0f5e3dee | [] | no_license | ashleyg/collision-domain | fcb2140e8d1a19434c9c5c7501a1949b5ade0dfd | 935a04db49a3aa4835e87a6a68952795af08068a | refs/heads/master | 2020-03-18T02:10:35.294106 | 2013-06-04T22:15:53 | 2013-06-04T22:15:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,701 | h | /// \file
/// \brief Forwards UDP datagrams. Independent of RakNet's protocol.
///
/// This file is part of RakNet Copyright 2003 Jenkins Software LLC
///
/// Usage of RakNet is subject to the appropriate license agreement.
#include "NativeFeatureIncludes.h"
#if _RAKNET_SUPPORT_UDPForwarder==1
#ifndef __U... | [
"jamie01@876d4c38-226f-9f3a-54bf-000a6e7cd450"
] | jamie01@876d4c38-226f-9f3a-54bf-000a6e7cd450 |
b662898d4190f4f2c8b82c2d2f061851adc0918d | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qttools/examples/uitools/multipleinheritance/main.cpp | c5febe60e2bc9d4f7bb989998cd2bd3effea1827 | [
"Qt-LGPL-exception-1.1",
"LGPL-2.0-or-later",
"LGPL-2.1-or-later",
"GPL-3.0-only",
"GPL-2.0-only",
"LGPL-3.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GFDL-1.3-only",
"LGPL-2.1-only",
"LicenseRef-scancode-digia-qt-preview",
"LicenseRef-scancode-warranty-discl... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | C++ | false | false | 2,244 | cpp | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follow... | [
"p_pavlov@wargaming.net"
] | p_pavlov@wargaming.net |
e825e742af46a0f11112125b2e61553eea78cda0 | 5965f7214478ebe639916338d0a03be69c1b645c | /stackType.h | 12757f37ef5583d17cc3dfd6799baa64f1dd8578 | [] | no_license | DylanAuty/ANSI-C-Compiler | 9325c657ac08b06e8c6138c7d0efcd8dc33b3fca | a487d796403a6ea00b31f6c8ec6f80f6eb3e0ea9 | refs/heads/master | 2021-05-03T18:17:53.340029 | 2016-10-25T18:34:45 | 2016-10-25T18:34:45 | 71,926,055 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,211 | h | #include <string>
class stackType{
public:
//constructor
stackType(){ //Constructor member
APPENDSTRING = "";
VALUE = "";
VARNAME = "";
RESULT = "";
RETURN = "";
RETURN2= "";
ISLITERAL = false;
ARG1 = "R0";
ARG2 = "R0";
ARG3 = "R0";
ARG4 = "R0"; //Function argument register string... | [
"dylan.auty@gmail.com"
] | dylan.auty@gmail.com |
bdb0751b91c445a2a28460b65c4e2179bbca1a23 | f00687b9f8671496f417672aaf8ddffc2fa8060a | /codeforces/712/D.cpp | 387882fe783a3017706ec20d26bb686dd51499ab | [] | no_license | kazi-nayeem/Programming-Problems-Solutions | 29c338085f1025b2545ff66bdb0476ec4d7773c2 | 7ee29a4e06e9841388389be5566db34fbdda8f7c | refs/heads/master | 2023-02-05T15:06:50.355903 | 2020-12-30T10:19:54 | 2020-12-30T10:19:54 | 279,388,214 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,829 | cpp | #include <cstdio>
#include <sstream>
#include <cstdlib>
#include <cctype>
#include <cmath>
#include <algorithm>
#include <set>
#include <queue>
#include <stack>
#include <list>
#include <iostream>
#include <fstream>
#include <numeric>
#include <string>
#include <vector>
#include <cstring>
#include <map>... | [
"masum.nayeem@gmail.com"
] | masum.nayeem@gmail.com |
139d120296c8f0d6716eac14b4db9eb868934cad | 060daafba79856485d6f182d2fcd66a5b31d7271 | /Sprite/Sprite/Window.cpp | ec18d99f3bfdb67549f2533c853c3d117497a192 | [] | no_license | im1sha/sprite | eb948472b63e15903a36a68b4cd67592a61eabbf | bbbbfed63e21368332792607a77607ab12f10d1e | refs/heads/master | 2020-03-29T07:32:10.457523 | 2018-10-07T13:01:43 | 2018-10-07T13:01:43 | 149,669,007 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,812 | cpp | #include "Window.h"
Window::Window(HINSTANCE hInstance, int nCmdShow)
{
this->hInstance_ = hInstance;
HWND hWnd = initialize(hInstance, nCmdShow);
this->hWnd_ = hWnd;
this->sprite_ = new Sprite(hWnd, hInstance);
}
Window::~Window()
{
delete this->sprite_;
}
int Window::messageLoop()
{
MSG msg;
BOOL result;
... | [
"vkporsche@ya.ru"
] | vkporsche@ya.ru |
d95689730953bd366dc27ef52ffe0e566eacd9b8 | f3afd0e7413d9615494f29226459647d6af7eb49 | /code/debug.h | 3dbfb4dd496443fbc813548a69158632359549a1 | [] | no_license | YongshengCui-Lab/CMPS-109 | e8c638bf8769917a02880375c95b0b15ac354b78 | 67bd44c34edf9a82a2f4b5ff202c496b44ef071f | refs/heads/main | 2023-02-18T06:02:43.888234 | 2021-01-19T09:29:23 | 2021-01-19T09:29:23 | 330,918,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | h | // Quang Dang
// qvdang
// $Id: debug.h,v 1.1 2019-04-11 09:24:20-07 - - $
#ifndef __DEBUG_H__
#define __DEBUG_H__
#include <string>
#include <vector>
using namespace std;
//
// debug -
// static class for maintaining global debug flags.
// setflags -
// Takes a string argument, and sets a flag for each char i... | [
"noreply@github.com"
] | noreply@github.com |
450ecdf6e102e1049c55ae0bcd78d85ecc8a47c4 | ff3c1cfaf467867e79b44cbcd1469c6f21154ded | /system/videobox/IPU/V2505/V2505IqTuning.cpp | db14fd3212fa63af7844d5489765c2dd8ed6cb08 | [] | no_license | trigrass2/buildroot-ltc | 6d493323c2b624727f26d9d38f21c02f78d661a9 | 31cf5593a5bb4de4608425886e93f4be628f87f4 | refs/heads/master | 2021-08-29T21:55:10.393171 | 2017-12-15T04:29:22 | 2017-12-15T04:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304,133 | cpp | #include <System.h>
#include "V2505.h"
#include "ispc/ColorCorrection.h"
#include <ispc/TemperatureCorrection.h>
#include <ispc/ModuleBLC.h>
#include <qsdk/tcpcommand.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/i2c.h>
#include <linux/i2c-dev.h>
//#include "ispc/ModuleLCA.h"
//#include "ispc/ModuleHIS.h... | [
"vigoss.sun@intchains.com"
] | vigoss.sun@intchains.com |
a7ab4ded86eac0142b24f48308ef5fc6377fb8b2 | 14e4799ac0c8637a3227fd147393d07f4a944f83 | /project/iteration2/src/position.h | e321e11d5eac31d72087d257eb9508afe0b8bdf4 | [] | no_license | abdi-sheikh/Robot-Game | 6c1d478c0510161155ecb1294a8415cb7890e7a3 | 7ff1d675ba3343cf3174c1fefd43b9cdbdef70fc | refs/heads/master | 2020-07-07T21:16:25.532173 | 2019-08-21T01:15:11 | 2019-08-21T01:15:11 | 203,479,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | h | /**
* @file position.h
*
* @copyright 2017 3081 Staff, All rights reserved.
*/
#ifndef SRC_POSITION_H_
#define SRC_POSITION_H_
/*******************************************************************************
* Includes
******************************************************************************/
#include "src... | [
"abdisheikh55@gmail.com"
] | abdisheikh55@gmail.com |
7a6c80e13a6db51841e2a4dddbb4e310b270fb7f | 8c3520258571dd2fd5df73e81dc176993e3612b7 | /src/core/base/win32/StorageImpl.cpp | 6e2692fa30781dea0a5207ca400b31242ad5779d | [
"BSD-3-Clause",
"Zlib",
"FTL",
"BSD-2-Clause-Views",
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Libpng"
] | permissive | weimingtom/krkrz110_fork | 6b14ad7224d4f83cd150f0cca7ff3a0913fa5bd8 | dda1177f75428e030853c0de237076986818fa65 | refs/heads/master | 2020-03-21T15:45:15.173617 | 2018-07-05T09:10:10 | 2018-07-05T09:10:10 | 138,730,821 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,405 | cpp | //---------------------------------------------------------------------------
/*
TVP2 ( T Visual Presenter 2 ) A script authoring tool
Copyright (C) 2000 W.Dee <dee@kikyou.info> and contributors
See details of license at "license.txt"
*/
//--------------------------------------------------------------------------... | [
"weimingtom@qq.com"
] | weimingtom@qq.com |
b3b8bfc7bcce7915e2655800ee423aada696fc98 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/103/379.c | 02ef9129c85c5f1c80efa0cb060fb9df0da8d689 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | c | int main()
{
int i, j=0, len=0, count[1000]={0};
char str[1000], copy[1000]={'a'};
cin.getline(str,10001,'\n');
len=strlen(str);
for(i=0;i<len;i++)
if(str[i]>='a'&&str[i]<='z')
str[i]=str[i]+'A'-'a';
for(i=0;i<len;i++)
{
if(i==0)
{
copy[j]=str[i];
count[j]=1;
}
if(str[i]==str[i... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
a91f19b3389f5f4d560aee6d09e917a7ec22a7eb | 315fd47690450e7a0530bf4b3596cc9448c88929 | /univ/acpc/18/1/e.cpp | 34a0c1f7daa9b0958cb8a23b1a679168ab3c0110 | [] | no_license | 1119-2916/competitive-programming | 8d59f2c3c36de719d665307fcaa138cc03845573 | 356b66d2f93bf6e28f04af8968e0f1f6ae4d7bae | refs/heads/master | 2021-06-08T14:33:14.620002 | 2020-04-26T14:01:44 | 2020-04-26T14:01:44 | 108,534,522 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,822 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define Rep(i, n) for (int i = 1; i < n; i++)
#define pb emplace_back
#define vi vector<int>
#define in(a, b, c) a <= b && b < c
signed main()
{
int n; cin >> n;
vi data(n);
vi funami(n);
rep(i, n) cin >> da... | [
"ti11192916@gmail.com"
] | ti11192916@gmail.com |
e379910407e55e441315c48e986306e6fc951722 | 31a64f470839e5bb5930b53d2b6a44847edc1c3e | /Experements/bucky.cpp | 58e2a42196a1de4be0c7732ed1d26edd76e215fb | [] | no_license | shaheerakr/OOP-CPP | ea379d751b91cc4061e487d16663dfa197c56b37 | 617468c78cc3305c515082fb24d9543fba582dfa | refs/heads/master | 2020-04-16T14:31:06.264713 | 2019-01-14T13:58:21 | 2019-01-14T13:58:21 | 165,669,939 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | #include <iostream>
using namespace std;
template <class bucky>
bucky addCrap(bucky a, bucky b)
{
return a+b;
}
int main()
{
int x=7, y=43,z;
z=addCrap(x,y);
cout << z <<endl;
}
| [
"shaheerakram@icloud.com"
] | shaheerakram@icloud.com |
6ac298cef880ec558a0a7d1fcb06710ae23be5bc | 88999fd864bb8615f1b9efc5472710347d07f62e | /3º Semestre/Algoritmos e Estrutura de Dados II/05-04-2018 Torre.cpp | 72dff920afdeddb8107c209f1c5d95aa88af29b9 | [] | no_license | tiagobellaver/faculdade | 3caa991d60200cdaf5c3d44d9559ec533d908102 | 6b232249780f0c4c01196187ef4186969ae8bd5d | refs/heads/master | 2021-01-07T17:07:29.772952 | 2020-02-20T01:46:18 | 2020-02-20T01:46:18 | 241,763,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | #include <bits/stdc++.h>
using namespace std;
void hanoy(int n, char origem, char aux, char destino)
{
if(n == 1)
{
cout << "Mova o disco 1 de "<< origem << " para " << destino << endl;
}
else
{
hanoy(n - 1, origem, destino, aux);
cout << "Mova o disco " << n << " de " << o... | [
"tfbellaver@hotmail.com"
] | tfbellaver@hotmail.com |
ba553ecc07be6cce3d2cb10f0d3c710629344b1b | 48ecc9a7894e719030ecbb8f0f42fa137834c4a9 | /Invader/NYUCodebase/Projectile.cpp | 0d6740f1a8ab323d56e2c03edd4049571f1a223a | [] | no_license | ac5144/CS3113 | ccfea82823dd0439ebe820f18594598867e334ef | 64c14e83853156796f8f852c8a5fa6efc94d930e | refs/heads/master | 2021-01-16T21:02:19.491679 | 2015-12-21T03:47:35 | 2015-12-21T03:47:35 | 41,809,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | #include "Projectile.h"
Projectile::Projectile(float x, float y, float v) : position_x(x), position_y(y), velocity_y(v)
{
}
Projectile::~Projectile()
{
}
void Projectile::move_y(float y) { position_y += velocity_y; }
float Projectile::getVelocityY() const { return velocity_y; }
| [
"ac5144@nyu.edu"
] | ac5144@nyu.edu |
82cd12030c872e27dd840fab8bf88752ba58fddf | 0762fd76dc3510c15a2716bebe62e60a05d03205 | /include/ConsoleLogger.h | 344b00a82fd13da006d67a5edaf5447afccc4c2c | [
"BSD-3-Clause"
] | permissive | chval/Fifteen-Puzzle | ada77a7ab64ff4de6b25753b94655b70f40a48fa | 944fe7deccc4d11d5ac2cdec8d70e625af7bdd35 | refs/heads/master | 2022-05-24T01:10:55.055455 | 2022-05-13T18:41:13 | 2022-05-13T18:41:13 | 3,729,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | h | /*
* Copyright 2012 The Fifteen Puzzle Project, <blackchval@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* ... | [
"blackchval@gmail.com"
] | blackchval@gmail.com |
148f8f7adcfd9b6b8d2c0527ab368107b63078ee | 9c433cba8a1d67410cc5354c789a7d17af6b8890 | /Link/p20140801_ToolKit/wbxu_20140801/ToolKit/ProcessWindowDlg.h | 750f36a654372fed865c7f6d3968a972cb736ba8 | [] | no_license | 958724723/KR_Ph2 | 011d5d4bcd6c3381ea16e051f5e50c828a63cdfc | 07e3ed72265e8254b894f444cca3fd807d1fc6bb | refs/heads/master | 2021-12-03T16:13:31.529881 | 2014-08-28T16:19:09 | 2014-08-28T16:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | h | #if !defined(AFX_PROCESSWINDOWDLG_H__888945BC_C361_4435_91AC_A16DD043D9AB__INCLUDED_)
#define AFX_PROCESSWINDOWDLG_H__888945BC_C361_4435_91AC_A16DD043D9AB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProcessWindowDlg.h : header file
//
#include "ProcessWindowList.h"
//////////////////////... | [
"xuwenbo_outlook@outlook.com"
] | xuwenbo_outlook@outlook.com |
735336baec49fc344b5648a09946f199f87ce655 | fd42310229173b2e1c64fb5c27d7729664f3be2e | /Homeworks/HW4/Hw4/libraryItemCollections.h | e3d3e77ffafe8a9a4352c9c1a5d9459663a9e04a | [] | no_license | quantumlycharmed/UNT | 29d7842b9331a10cced25d1ba574fb057a43f504 | efafa40e0f73b680042e4c481a1ec5573ac86264 | refs/heads/main | 2023-04-05T13:44:56.395719 | 2021-03-31T18:03:37 | 2021-03-31T18:03:37 | 353,447,484 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | h | //header file inclusions
#include "book.h"
#include "dvd.h"
#include "audioCD.h"
#include "libraryItem.h"
//library file inclusions
#ifndef LIBRARYCOL_H
#define LIBRARYCOL_H
#include <iostream>
#include <string>
#include <vector>
using namespace std;
/*************Library items collections class spe... | [
"clinton.s.clark@gmail.com"
] | clinton.s.clark@gmail.com |
f68420d0896a058e099436bae3bc57bd495776b8 | b41a5b556525cf0f00720cc1bef8ce9f2831d25f | /medium/17_letter_combinations_of_a_phone_number.cpp | 51b6e60e20b7a19a4ba17df226cb78488be8d72e | [
"Apache-2.0"
] | permissive | gnanasekartgs/leetcode_cpp | 34609d2d5bb44c59f54b5bab580083e5313fa908 | c487df7561f92562b20a31317957f47e0a20c485 | refs/heads/master | 2022-01-10T12:08:38.381206 | 2019-07-22T03:17:15 | 2019-07-22T03:17:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | // step 1: clarify
//
// step 2: solution
//
// depth first search
//
// step 3: coding
//
// step 4: testing
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
vector<string> letterCombinations(const string& digits) {
vector<string> ret;
if (digits.empty())
... | [
"dupeng@visenze.com"
] | dupeng@visenze.com |
0887999060c0a19e569d3ef51cd557444a815304 | 083100943aa21e05d2eb0ad745349331dd35239a | /aws-cpp-sdk-cognito-sync/include/aws/cognito-sync/model/StreamingStatus.h | 9618ff3d1a9e866664a66e3af2da1d7bd776068a | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | bmildner/aws-sdk-cpp | d853faf39ab001b2878de57aa7ba132579d1dcd2 | 983be395fdff4ec944b3bcfcd6ead6b4510b2991 | refs/heads/master | 2021-01-15T16:52:31.496867 | 2015-09-10T06:57:18 | 2015-09-10T06:57:18 | 41,954,994 | 1 | 0 | null | 2015-09-05T08:57:22 | 2015-09-05T08:57:22 | null | UTF-8 | C++ | false | false | 1,130 | h | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
dc3308a8d1c3a722630641f5129124f2eaf5c9a1 | 0bf4e9718ac2e2845b2227d427862e957701071f | /acm/utc/contest1.1240/checker_str.cpp | 5d8aa3a6ad86cb62bdcb9be5d7cd8817be18635e | [] | no_license | unjambonakap/prog_contest | adfd6552d396f4845132f3ad416f98d8a5c9efb8 | e538cf6a1686539afb1d06181252e9b3376e8023 | refs/heads/master | 2022-10-18T07:33:46.591777 | 2022-09-30T14:44:47 | 2022-09-30T15:00:33 | 145,024,455 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,797 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <algorithm>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <cstdlib>
#include <string>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <cstdli... | [
"benoit@uuu.com"
] | benoit@uuu.com |
025ed04b7842b9d6b45cca14c809f2ca44b3675d | cbe0770b73005842ed58aa75259ddca9d327fa9a | /Other patterns/resources/fastled-demos-master/matrix_pal_demo/matrix_pal_demo.ino | 9125da1fec18e26814c0227438170c573934a595 | [
"MIT",
"GPL-3.0-only"
] | permissive | elliottkember/sworduino | 3046c026fc6e107a458c5acb7eff384d7ca9c8f8 | 01fb7f154c7f4ef058c221e9c679d026db0a8e86 | refs/heads/master | 2021-01-24T02:29:13.668005 | 2018-08-14T05:12:57 | 2018-08-14T05:12:57 | 53,877,464 | 5 | 1 | MIT | 2023-04-28T13:49:12 | 2016-03-14T17:37:14 | C++ | UTF-8 | C++ | false | false | 4,128 | ino | #include "FastLED.h" // FastLED library.
// Fixed definitions cannot change on the fly.
#define LED_DT 7 // Serial data pin
//#define LED_CK 11 // Clock pin for WS2801 or APA102
#define COLO... | [
"elliott.kember@gmail.com"
] | elliott.kember@gmail.com |
2605b0ff7e069b4556fd16afb9ff8eba663d93f8 | b52e09b14f1b85af7f32e51849288a2d972ccf37 | /dragonbones/animation/AnimationState.cpp | 23abf30e59bfc04c49eace3190d59babcbe23369 | [
"MIT"
] | permissive | LingJiJian/Tui-x | 9bd80b801d9eba7b67223b16f1bad6ecebd20690 | e00e79109db466143ed2b399a8991be4e5fea28f | refs/heads/master | 2016-09-05T14:07:49.984373 | 2016-01-25T10:01:37 | 2016-01-25T10:01:37 | 19,667,247 | 68 | 36 | null | null | null | null | UTF-8 | C++ | false | false | 19,553 | cpp | #include <cstdlib>
#include "AnimationState.h"
NAME_SPACE_DRAGON_BONES_BEGIN
std::vector<AnimationState*> AnimationState::_pool;
AnimationState* AnimationState::borrowObject()
{
if (_pool.empty())
{
return new AnimationState();
}
AnimationState *animationState = _pool.back();
_pool.p... | [
"342854406@qq.com"
] | 342854406@qq.com |
934bfee380722304f41aec2cc964988c351ac111 | d38594158c4129ddd5befbf4b39f1875201be663 | /cisco/generateParenthesis.cpp | b9ac40337dc2e93f8e12036d5d141f16dd26f45b | [] | no_license | shubhammalhotra28/leetcode-problems | 16affecaab7dfe81d5212e8ded4ccf09d5510f8c | 0ad85d980274a05e0b5acdbfd0f22476fa486f31 | refs/heads/master | 2021-01-09T17:33:10.238060 | 2020-08-11T16:07:41 | 2020-08-11T16:07:41 | 242,391,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | class Solution {
public:
vector<string> generateParenthesis(int n) {
vector<string> ans;
backtracking(ans,"",0,0,n);
return ans;
}
public :
void backtracking(vector<string>& ans,string current,int open,int close,int max){
if(current.len... | [
"56790284+shubhammalhotra28@users.noreply.github.com"
] | 56790284+shubhammalhotra28@users.noreply.github.com |
55a861fb93e119d0a6c96f788dd43f25a717a0a1 | 8df6595983b202f4c40722071fc48ffadf61ce7a | /uva_12442.cpp | baaa4e7249c9c938bd924634795f3ea09f98efaf | [] | no_license | Krshivam/UVA-Online-Judge | 3084557211dbbed8385766126ab6d9c62dc5a6b2 | 16afb312d03cd5a988722b270e4f84e1d177149e | refs/heads/master | 2022-11-08T06:11:21.677239 | 2020-06-26T01:50:05 | 2020-06-26T01:50:05 | 275,050,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,022 | cpp | #include<bits/stdc++.h>
using namespace std;
#define pb push_back
std::vector<std::vector<int> > adjlist;
std::vector<int> visited;
std::vector<int> c;
int n;
int d;
void dfs(int x){
//if(visited[x]) return 1;
visited[x] = 1;
//int ans = 0;
for (int i = 0; i < adjlist[x].size(); ++i)
{
if(!visited[adjlist[x][i]... | [
"shivam.kr131997@gmail.com"
] | shivam.kr131997@gmail.com |
844984eae0c25bd1745724e892747800e8fe0af6 | c2cb548aaff4c9346bd859cd27ac79068d340d45 | /Codeforces/Contests/0847/B.cpp | 53f84a8b1f4c1a7e480d028f86cb0b3049846723 | [] | no_license | arnabxero/online-judges-problem-solutions | 28997ab7e14bd1c2861b393e04b093c89f87cce9 | 506fe0c29742ceeb152f2698a30f7b32994a0e3e | refs/heads/master | 2023-09-01T09:42:35.746179 | 2021-10-04T23:15:11 | 2021-10-04T23:15:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | // Problem name: Preparing for Merge Sort
// Problem link: https://codeforces.com/contest/847/problem/B
// Submission link: https://codeforces.com/contest/847/submission/30952166
#include <bits/stdc++.h>
#define MAX (int)(2e5 + 5)
#define pb(x) push_back(x)
using namespace std;
typedef vector<int> vi;
int array[ M... | [
"josea132.romero@gmail.com"
] | josea132.romero@gmail.com |
b555c03baa228f2f7bb9bb3f055eed2e8501f23e | 03b410e440b13bcca3600f92e779e4ff4d3b9083 | /Trabalho final/src/utils.cpp | 51a81b24d41cb804d912591af4e973e4d3b72958 | [] | no_license | danmvas/Complexidade-de-Algoritmos-CAL0002 | bbfaafddccde3ac01ea7d87787e355407d07cf71 | dae66978b5e1e2dd67101e558181f19ef1e6ab2f | refs/heads/main | 2023-07-17T03:48:21.245062 | 2021-08-21T18:56:38 | 2021-08-21T18:56:38 | 360,533,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | #include "../lib/utils.h"
template<class T>
T gcd(T x, T y)
{
if(x < y)
{
T aux = x;
x = y;
y = aux;
}
return (y == 0)? x : gcd(y, x%y);
}
template<class T> //O(b) ou O(log(n))
T gcd(T a, T b, T& x, T& y) {
if (b == 0) {
x = 1;
y = 0;
return a;
... | [
"danivasco@msn.com"
] | danivasco@msn.com |
35ca60d83d5d2ef8998902b83dccdb08a84d3c22 | 9086687003ddbb728e9d76fc1bad4ee2ac24257b | /cocos/scripting/js-bindings/auto/jsb_cocos2dx_extension_auto.hpp | abcb89c2a15f0e42c92999badc63e25acf482960 | [] | no_license | wozaiwogu/cocos2dx | 7eb0ce8c2f7b620bda17423806ef36734445d8b3 | 19ebf445304ec8ce88c1b9c0a7cfd6ecfad20819 | refs/heads/master | 2021-01-24T11:27:09.801628 | 2018-03-09T06:10:02 | 2018-03-09T06:10:02 | 123,079,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,848 | hpp | #include "base/ccConfig.h"
#ifndef __cocos2dx_extension_h__
#define __cocos2dx_extension_h__
#include "jsapi.h"
#include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_extension_Control_class;
extern JSObject *jsb_cocos2d_extension_Control_prototype;
bool js_cocos2dx_extension_Control_constructor(JSContext *... | [
""
] | |
ae058db204c59b38626eba7c193a7bda01265007 | 7fd5e6156d6a42b305809f474659f641450cea81 | /boost/lambda/detail/lambda_functors.hpp | 122e4f3abf6432321be8e4caac3efff9e697b16a | [] | no_license | imos/icfpc2015 | 5509b6cfc060108c9e5df8093c5bc5421c8480ea | e998055c0456c258aa86e8379180fad153878769 | refs/heads/master | 2020-04-11T04:30:08.777739 | 2015-08-10T11:53:12 | 2015-08-10T11:53:12 | 40,011,767 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,330 | hpp | // Boost Lambda Library - lambda_functors.hpp -------------------------------
// Copyright (C) 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
//
// 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)
//
// F... | [
"git@imoz.jp"
] | git@imoz.jp |
81a892d82a924b5ed80fb5d19c8733c4baa3d1d0 | abac94101caeba4a6209dcd19460079c1bcb8992 | /android/jni/com/mapsrahal/maps/editor/OpeningHours.cpp | aa1ced0367895d5dfbd6ddc0d56dc64d5fa4d8f8 | [
"Apache-2.0"
] | permissive | alrahal6/omim | 39a30866ad52864c9f785555cdb02ab838beacbf | 61bb863fa64dbb55ee85323f326cdd8eabf21cfa | refs/heads/master | 2023-03-30T12:23:17.191713 | 2021-04-03T11:49:28 | 2021-04-03T11:49:28 | 225,314,179 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,817 | cpp | #include <jni.h>
#include "com/mapsrahal/core/jni_helper.hpp"
#include "editor/opening_hours_ui.hpp"
#include "editor/ui2oh.hpp"
#include "base/logging.hpp"
#include <algorithm>
#include <set>
#include <vector>
#include "3party/opening_hours/opening_hours.hpp"
namespace
{
using namespace editor;
using namespace e... | [
"dhayal.cluzter@gmail.com"
] | dhayal.cluzter@gmail.com |
3a420e635aea81e23b9307b6deafb80c8c2f0e11 | 7099faa88c485595fd5037507b41045d0c8d94a5 | /iids/containsys.cpp | e563add733fb881d3474e57d97e928f169aa27a0 | [
"LicenseRef-scancode-public-domain"
] | permissive | whoopdedo/lg | 8dc17f3e7cd62118801c9c6d80af0127a31b8f56 | 0c29f1f46f16dd16f9e436840ce5baa3d65ee357 | refs/heads/master | 2022-11-05T14:31:34.545712 | 2022-10-10T23:27:48 | 2022-10-10T23:27:48 | 1,752,480 | 1 | 7 | null | 2014-12-12T01:29:54 | 2011-05-15T21:09:45 | C++ | UTF-8 | C++ | false | false | 148 | cpp | #include <initguid.h>
DEFINE_GUID(IID_IContainSys, 0x49000148, 0x7bc8, 0x1317, 0x83, 0x48, 0x00, 0xaa, 0x00, 0xa8, 0x2b, 0x51);
| [
"tnharris@whoopdedo.org"
] | tnharris@whoopdedo.org |
a58ee888a7b46305bcb5c9fe0b0887b6b35d838e | 73266ea6be2de149a4700798b221bd4c79525604 | /ft_containers/tests/containers/list/std.capacity/empty.pass.cpp | cd2d3ef0847cf2910104d9739edd9485316a782c | [] | no_license | Caceresenzo/42 | de90b0262b573d4056102ad04ed0f6fbef169858 | df1e14c019994202da0abbe221455f1a6ee291e4 | refs/heads/master | 2023-08-15T06:14:08.625075 | 2023-08-13T17:19:00 | 2023-08-13T17:19:00 | 220,007,175 | 92 | 36 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* empty.pass.cpp :+: :+: :+: ... | [
"caceresenzo1502@gmail.com"
] | caceresenzo1502@gmail.com |
1d197df1d85bea2d7992d02454d3f8b3c7c611c3 | 5bc0e306fb8700cf7a23e5029cae8d0efb9ab4c3 | /cpp_homework/day21/example/oo_threadpool/Threadpool.cc | e7618f0548a94a0d16c03142e883488b6db287e8 | [] | no_license | zxy3/wangdao_cpp | 552b54250fe923c180e1002f49183417857a70e1 | 5f4f2983a631ee0fe1681b73078c1ceef109bcc9 | refs/heads/master | 2022-04-03T19:19:08.254085 | 2019-12-06T07:10:35 | 2019-12-06T07:10:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | cc | #include "Threadpool.h"
#include "WorkerThread.h"
#include <unistd.h>
#include <iostream>
using std::cout;
using std::endl;
namespace wd
{
Threadpool::Threadpool(size_t threadNum, size_t queSize)
: _threadNum(threadNum), _queSize(queSize), _taskque(queSize), _isExit(false)
{
// 默认是要退出的
// 只是开辟了空间,才可以调用子线程
// 此时... | [
"18030043877@163.com"
] | 18030043877@163.com |
cba3e0e2053a5aa5820d7929d6f58aa070bb6a19 | 7d674278784a60fcc15a6a8bec51b3db771e3431 | /Semana 13/Aula-37-38/Aula-37-38/Delegates/Demos/CPlusPlus/FuncPtr/Demo01/funcPtr1.cpp | 678baf4e6af7e062a27c459833c39a71d6c9322a | [] | no_license | nleite-isel/ave-2018-19-sem1-li41n | aec97a9003afe28cb67a11b6f09f1839519b39a2 | 36d23db45180063092f1532c9712088a31d01d05 | refs/heads/master | 2020-03-28T12:29:47.827200 | 2018-12-16T22:18:35 | 2018-12-16T22:18:35 | 148,304,021 | 22 | 1 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,017 | cpp | #include <iostream>
#include <string>
#include "commondefs.h"
using namespace std;
//
// Sem typedef
//
// Sintaxe 1
void process1(char* arr, char (*proc)(char)) {
if (proc == NULL) {
cout << "Function doesn't exist" << endl;
return;
}
char* ptr = arr;
while (*ptr != '\0') {
*ptr = pro... | [
"nunocsleite@gmail.com"
] | nunocsleite@gmail.com |
f67b757eb2292637e2c8b5b442296b9f9507b2e4 | 7a1d875378bff3f5e0159f27b9c340b105a54e12 | /192/sword.cpp | fc8f20dd5fed3293e80d07259dee7d419188c6f9 | [] | no_license | hongphucvo/Fundamental-and-Algorithm | 8510aee8f27a3e1cc6ba66c9d1c54237764d31b5 | 016dc531cabc78951a49f11d071c92a794871e5a | refs/heads/main | 2023-05-29T07:39:39.660921 | 2021-06-11T10:39:33 | 2021-06-11T10:39:33 | 335,998,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,502 | cpp | #ifndef _definition_h_
#include "defs.h"
#define _definition_h_
#endif
class code_Treasure {
public:
bool found = false;
int hash = 0;
};
struct Treasure {
bool Paladin_Shield = false;
bool Lancelot_Lance = false;
bool Guivenere_Hair = false;
};
struct weapon {
bool Excalibur = false;
bool ... | [
"noreply@github.com"
] | noreply@github.com |
1a2f94d0279f0b27e26ce5cd455c291127a2d13c | 1992b30297fc5d2cd22da6b8096cd73d54d37fb9 | /ext/currents.cc | 70a9f829d6da69c7dd16aa74f43311d9eb3e9313 | [] | no_license | fgamst/NLO_eetautau | 488627a156ea57c0351478565a9ea60acc1849fb | 0927c56626ab681bd6cb9af9427cb4126fe84a22 | refs/heads/master | 2023-04-21T05:36:44.612205 | 2021-04-29T14:32:46 | 2021-04-29T14:32:46 | 362,845,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,755 | cc | // calculate the "standard" currents - tested
// I have some ideas how to bring this down to a few less lines but this is low prio
// double complex jnew(unsigned char spinor, unsigned char slash, char lam, char lam1, char lam2,
// double p[4][4])
// /*using the following convention for the lambdas:
//... | [
"gamstfel@physik.hu-berlin.de"
] | gamstfel@physik.hu-berlin.de |
d6f2d48f980116ec5a3057aa66a8b37c69ecb39c | cca3955754e26894928c48e6c26ac3d40a8ec9f3 | /Queues/4_Maximum_sum_of_sliding_windows.cpp | ed02cbe8a674748c080bc6df2a91ccf892a14ec6 | [] | no_license | ShubhamSahaniNitkkr/kurumanchi-Soluation | 40505f20ef31f79900f14895d87f7b105f2850ba | d6b56a037c5dd7755b9f776ef0e73c5bedfc24d9 | refs/heads/master | 2021-05-08T13:36:59.953933 | 2018-02-19T22:30:17 | 2018-02-19T22:30:17 | 120,023,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,949 | cpp | #include<iostream>
using namespace std;
struct node{
int data;
struct node *link;
};
struct node *front_enqueue(struct node *start,int n)
{
struct node *temp=(struct node *)malloc(sizeof(struct node)),*p=start;
temp->data=n;
temp->link=NULL;
if(!start)
return temp;
temp->link=start;
start=temp;
... | [
"Shubham_Sunny@Shubham-apples-Device.local"
] | Shubham_Sunny@Shubham-apples-Device.local |
28f36b38729ea93ff8b6db171f10fb472d3af4ff | 61de147b672f29e97e786eb508167706b463feb1 | /FaustGames/Native/src/content/ContentMesh.cpp | 54cc7f72ca3ad926856c4f9598a1e6dc394d4483 | [] | no_license | faustgames-ru/FaustEngine | 83914ac8ba11163984dbe74ebfdef48793c3c67c | c779e3ff99503f366624c5c1ac202e4648c6bb4e | refs/heads/master | 2021-04-22T13:31:30.544214 | 2019-02-05T08:49:07 | 2019-02-05T08:49:07 | 29,536,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,982 | cpp | #include "ContentMesh.h"
#include "ContentStatus.h"
#include "ContentBlock.h"
#include "BinaryReader.h"
#include "../core/Path.h"
namespace content
{
ContentMesh* ContentMesh::create()
{
return new ContentMesh();
}
void ContentMesh::internalLoad(const LoadArgs& e)
{
resources::ContentManager* content = &reso... | [
"deathmond11@gmail.com"
] | deathmond11@gmail.com |
c6187d00adf2ca4fc8206e98db1b156e5c16a236 | 7f98e157bc14c32c42e2b9f061f525fdf614f6a8 | /src/obj/obj-types.hxx | 34acfb62da079aa40d69d83541d732b3bee43055 | [] | no_license | ashwinche/graphics-project | 4156587ffb8aa41558ba24a4f4c0f77732a3a179 | fa0812669ebd9ab02bd2f793a7918d72099f6c7b | refs/heads/master | 2023-03-02T05:09:50.970966 | 2017-06-01T18:39:36 | 2017-06-01T18:39:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | hxx | #ifndef OBJ_READER_TYPES
#define OBJ_READER_TYPES
#include <glm/glm.hpp>
typedef glm::vec3 color3f;
typedef glm::vec3 vec3f;
typedef glm::vec2 color2f;
typedef glm::vec2 vec2f;
struct AABBf{
void addPt(vec3f &p);
};
#endif | [
"ashwinchetty@gmail.com"
] | ashwinchetty@gmail.com |
a9f31c9c89e88a8ed53bfeefd4c333c1e9f9a03b | b04bccaf921874f2d03556ace4812f1f117a584b | /bsscpp/Tools/Matrix/Matrixv4/MatrixUnitTest.cc | a5382961355b399d94d4fc062441a501866c6458 | [] | no_license | zz4fap/bsscpp | 69e8ddf6f0b13015bae9cba203d30e2eec9f0a45 | ccba23a4abdbe5a0e0edc0642bebf7d5a1990e1e | refs/heads/master | 2020-05-19T08:13:48.303450 | 2012-05-09T02:33:44 | 2012-05-09T02:33:44 | 32,116,529 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,194 | cc | #include <math.h>
#include <iostream>
#include <typeinfo>
#include <string>
#include <string.h>
#include <fstream>
#include <time.h>
#include "Matrix.hh"
using namespace std;
int main()
{
Matrix<float> *m = NULL;
Matrix<float> *mm = NULL;
Matrix<float> *ans = NULL;
float sum = 0;
bool result = true;
// Testing... | [
"zz4fap@362d6d2c-4c02-bf13-b717-816be16ce2d1"
] | zz4fap@362d6d2c-4c02-bf13-b717-816be16ce2d1 |
39cacf3dcf2a39409496a091aa5cc559b3369879 | f14626611951a4f11a84cd71f5a2161cd144a53a | /武侠世界/代码/Common/Packets/GCShopUpdateMerchandiseList.h | aac47d2fa2d38bd75829879a1c108daf5ed8a482 | [] | no_license | Deadmanovi4/mmo-resourse | 045616f9be76f3b9cd4a39605accd2afa8099297 | 1c310e15147ae775a59626aa5b5587c6895014de | refs/heads/master | 2021-05-29T06:14:28.650762 | 2015-06-18T01:16:43 | 2015-06-18T01:16:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,238 | h | // GCShopUpdateMerchandiseList.h
//
// 商人发给客户端的商品列表
//
//////////////////////////////////////////////////////
#ifndef __GCSHOPUPDATEMERCHANDISELIST_H__
#define __GCSHOPUPDATEMERCHANDISELIST_H__
#include "Type.h"
#include "Packet.h"
#include "PacketFactory.h"
#include "DB_Struct.h"
namespace Packets
... | [
"ichenq@gmail.com"
] | ichenq@gmail.com |
ecbbe0d109cb5f8945ed48b0145973ee06ed3a64 | 94db0bd95a58fabfd47517ed7d7d819a542693cd | /client/ClientRes/IOSAPI/Classes/Native/mscorlib_System_Collections_Generic_Dictionary_2_T1900295507.h | 378f11cef4e8eb56ebdf4d4f6112537bf1ab0775 | [] | no_license | Avatarchik/card | 9fc6efa058085bd25f2b8831267816aa12b24350 | d18dbc9c7da5cf32c963458ac13731ecfbf252fa | refs/heads/master | 2020-06-07T07:01:00.444233 | 2017-12-11T10:52:17 | 2017-12-11T10:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Object
struct Il2CppObject;
// System.IAsyncResult
struct IAsyncResult_t1999651008;
// System.AsyncCallback
struct AsyncCallback_t163412349;
#include "mscorlib_System_Multi... | [
"1"
] | 1 |
7cd8a4455de1750f69688a5da4388ef26036d948 | 082806ac2656245b3ab8a9e937ff1bcbe54bf1ec | /Source/IEUtility/IERay.cpp | da353bc4e5cdc1230ab09ed7d931c500cf859f97 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yalcinerbora/GIThesis | 8113b236735d63554070c1310a231bbb333f0ec1 | ace2032d92bb9ef2cd4ef1ac578fa2dbd7dab4dd | refs/heads/master | 2021-04-19T01:47:47.470391 | 2019-11-02T20:17:44 | 2019-11-02T20:17:44 | 33,488,835 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,417 | cpp | #ifndef USE_AVX
#include "IERay.h"
#include "IEMatrix3x3.h"
#include "IEMatrix4x4.h"
#include <cmath>
bool IERay::IntersectsSphere(IEVector3& intersectPos,
float& t,
const IEVector3& sphereCenter,
float sphereRadius) const
{
// Geometric solution
IEVector3 normDir = direction.Normalize();
I... | [
"yalciner.bora@metu.edu.tr"
] | yalciner.bora@metu.edu.tr |
395f5cb734114b1b6b48d0cad4ef986f47957437 | f0fa4cb66110e390e1c74e8afed514f571d6171f | /components/sync/driver/test_sync_service.h | f44818ac0c6270d9f67bb6cbc24095bfb023d42a | [
"BSD-3-Clause"
] | permissive | Stan1989/chromium | cd4f0dd5f244b44381d361111c2c55123f392310 | 3271838dbe323d0d26e96596a7c3b77f0764172f | refs/heads/master | 2023-03-07T18:51:56.422268 | 2018-11-29T03:09:06 | 2018-11-29T03:09:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,294 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_DRIVER_TEST_SYNC_SERVICE_H_
#define COMPONENTS_SYNC_DRIVER_TEST_SYNC_SERVICE_H_
#include <memory>
#include <string>
#include "ba... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0daab4a4cc665b5fcaf76b1a1381f257c11a401c | 1781a26458d379e64aa02d2e026fcc18773e89b7 | /LetheCommon/test/testSharedMemory.cpp | 13a2be814f1bb148b7ca427a8d8e2c4d4f4e6e9c | [] | no_license | Tryneus/Lethe | 4e0c0dd7832766c6fff25604e6a4727d6ca0f722 | b2bbd001c9cdbcb93418ea93cd4b4e4fb32cc20c | refs/heads/master | 2016-09-06T07:58:08.170371 | 2011-09-06T20:16:19 | 2011-09-06T20:16:19 | 1,232,265 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | cpp | #include "Lethe.h"
#include "LetheException.h"
#include "testCommon.h"
#include "catch/catch.hpp"
using namespace lethe;
// This test case may have issues if any files are left over from previous runs, especially if they fail
TEST_CASE("sharedMemory/structor", "Test shared memory construction and destruction")
{
Sh... | [
"marc.hesse@gmail.com"
] | marc.hesse@gmail.com |
c36dd1be0ea9f988373605fc7eae24a5d53ab692 | 2557669820fa5e320cbfa494935e88f0a25e221d | /WPCCtry.cpp | be4258041ddd57b6edeb8a76d91c8bc141f275f3 | [] | no_license | gchirag/SPOJ | 4e134a931c390b5aee4fa85ff1112e9219f31f2d | 4ca5c84c04f1811c1d6ca86d43db23a522f4a22f | refs/heads/master | 2021-01-23T13:43:21.530320 | 2014-01-11T22:28:08 | 2014-01-11T22:28:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,864 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
#include <cstdio>
#include <cstdlib>
#include <ctime>
using namespace std;
struct MyComparator
{
const vector<int> & value_vector;
MyComparator(const vector<int> & val_vec):
value_vector(val_vec) {}
bool operator()(int i1, int i2)
{
... | [
"guptachirag15@gmail.com"
] | guptachirag15@gmail.com |
0e64cc56c2e5804f301b8afd615f68010c90ce8a | 6bcdb9e8836cd60e972be865beb50fbfefdfa650 | /examples/enum.cpp | bbf60e2ccbdcea782ecb14d904ca10c5152044cf | [
"BSL-1.0"
] | permissive | pmiddend/fcppt | 4dbba03f7386c1e0d35c21aa0e88e96ed824957f | 9f437acbb10258e6df6982a550213a05815eb2be | refs/heads/master | 2020-09-22T08:54:49.438518 | 2019-11-30T14:14:04 | 2019-11-30T14:14:04 | 225,129,546 | 0 | 0 | BSL-1.0 | 2019-12-01T08:31:12 | 2019-12-01T08:31:11 | null | UTF-8 | C++ | false | false | 3,053 | cpp | // Copyright Carl Philipp Reh 2009 - 2018.
// 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)
#include <fcppt/string.hpp>
#include <fcppt/text.hpp>
#include <fcppt/cast/enum_to_underlying.hpp>... | [
"carlphilippreh@gmail.com"
] | carlphilippreh@gmail.com |
a9782b0025b57f599993b4eb9b9ade28fe8db2e9 | 74a3d7ab3f1f02f316309c536ae24e93695f1e3e | /unitManager.cpp | 7543e583ec00c317ca52f1fedc35100cd46c87c4 | [] | no_license | quartuxz/Cryoscom-src | 81f39759f4087078dcd869dad8ec88394b3da75e | bb3b36ded7f8126dd73d2011b52a3c9cc0514da2 | refs/heads/master | 2022-11-07T01:22:06.786573 | 2020-06-21T17:41:12 | 2020-06-21T17:41:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,710 | cpp | #include "unitManager.h"
#include <iostream>
#include <map>
#include <mutex>
#include "Animator.h"
#include "tileMap.h"
#include "cryoscom_defsAndUtils.h"
const float UnitManager::renderDistance = 10000;//Animator::renderDistance;
const float UnitManager::m_itemPickupCooldown = 2;
#if MULTITHREADED_SCRIPTING_AND_ME... | [
"matiascharacronenbold@gmail.com"
] | matiascharacronenbold@gmail.com |
4a6fb59166f10398580e8f2d257f0255fd78f636 | fc987ace8516d4d5dfcb5444ed7cb905008c6147 | /chrome/browser/ui/views/download/download_item_view.cc | 412e260c193e81c9eb3c40ee3c6b89d5ead33932 | [
"BSD-3-Clause"
] | permissive | nfschina/nfs-browser | 3c366cedbdbe995739717d9f61e451bcf7b565ce | b6670ba13beb8ab57003f3ba2c755dc368de3967 | refs/heads/master | 2022-10-28T01:18:08.229807 | 2020-09-07T11:45:28 | 2020-09-07T11:45:28 | 145,939,440 | 2 | 4 | BSD-3-Clause | 2022-10-13T14:59:54 | 2018-08-24T03:47:46 | null | UTF-8 | C++ | false | false | 40,604 | 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.
// Copyright (c) 2016-2018 CPU and Fundamental Software Research Center, Chinese Academy of Sciences.
#include "chrome/browser/ui/views/download/down... | [
"hukun@nfschina.com"
] | hukun@nfschina.com |
d33fc48e6319162595f903d32844725a4b1bfe38 | 05a1a5509e90bcd7e17e92e65a4d2f1fa08d9dbe | /cbeginning/src/console_data_types.cpp | bd36499c38715dc5b330be1018c85fa1585570c9 | [] | no_license | tutorua/Atom | 1483a52970836700f3e2dde470df58abb897ea75 | 6250dc2991b10065ac2f68334a499c564bd5e5ef | refs/heads/master | 2021-04-30T01:46:20.929354 | 2018-09-11T10:11:40 | 2018-09-11T10:11:40 | 121,490,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,342 | cpp | /*
the second console application to demonstrate some data properties
*/
#include <stdio.h>
#include <iostream>
#include <float.h>
using namespace std;
int main()
{
cout << "Function sizeof(type)" << '\n';
// Функция sizeof(type)
// возвращает количество байтов необходимых для хранения этого вида данных.... | [
"tutorua@ukr.net"
] | tutorua@ukr.net |
43d082f83ce5daaa340612c5cb27b20e287bad98 | 76c1a3ec065b4e01cb9c420e6ef6ef251c9f1a2d | /ARRAY/1.Find number of 1 bits(Keringham Algo).cpp | 4bd71cd48232461630ea3db4115dfc5f212d0105 | [] | no_license | raunakbanerjee/Coding-questions | dae9e75943402195b9db95b36c4edfdfedb8c9fd | e3cb1399059cf299a84e343318a9c682df234096 | refs/heads/main | 2023-07-03T21:11:33.731788 | 2021-08-04T16:58:55 | 2021-08-04T16:58:55 | 329,286,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
int rsbm;
int count=0;
while(n!=0){
rsbm=n & -n;
n=n-rsbm;
count++;}
cout<<count;
}
| [
"noreply@github.com"
] | noreply@github.com |
ffa53fecf298e2fdd17edc195e81f92a3e11dfdf | d6cf1ab1972e0db45e32a8a543d83600030daabf | /Packages/VulkanSDK/1.0.30.0/source/layers/vk_struct_string_helper_no_addr_cpp.h | baff0568ad473fdf59663e9cc163ba5d3650121c | [
"Apache-2.0"
] | permissive | sigi73/ComputerScienceProject | 623df0078ddeb0c4297ca9f6fbe76320dad377ff | b8b5dfdbf7d19606c6e0801f0e2d0cd5563a41f3 | refs/heads/master | 2021-03-22T04:51:22.604002 | 2017-02-27T20:30:09 | 2017-02-27T20:30:09 | 75,759,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491,690 | h | /* THIS FILE IS GENERATED. DO NOT EDIT. */
/*
* Vulkan
*
* Copyright (c) 2015-2016 The Khronos Group Inc.
* Copyright (c) 2015-2016 Valve Corporation.
* Copyright (c) 2015-2016 LunarG, Inc.
* Copyright (c) 2015-2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not... | [
"siddharth.suri0@gmail.com"
] | siddharth.suri0@gmail.com |
5795dace6c8c8ba4adde28e6c9e651cf83286cd3 | 93c6a00401ea26d4424243a211e246e884cba18b | /Prime Palindromes.cpp | c6ba1fe73a88652898a90be5dbe8539f0fa0022c | [] | no_license | yejichen/Programs | 7a9ba1c7a04f1acb1b985843af52b4d7811961b8 | 27002fa716f410812832adec953157abd10aab7c | refs/heads/master | 2021-01-15T12:02:41.305204 | 2018-01-29T04:59:33 | 2018-01-29T04:59:33 | 99,646,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,341 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int c[100000005];
int d[10];
int e[100000005];
int t;
void split(int num)
{
int n=num;
int count=0;
int temp,power;
while(num!=0)
{
num=num / 10;
count++;
}
for(int i= 1;i <= count;i++)
{
power=pow(10.0... | [
"noreply@github.com"
] | noreply@github.com |
331c81eb637029730e5fe2f8d5a32455d9599065 | 2184e7fc25df2256ccf162774d690a6f2b25d24e | /transD/transD.cpp | 5e39caa92dee592753200a8eeffc522026758764 | [] | no_license | hehuanshu96/Fast-TransX | c97fdd28e7fe4ce62970f8efebe5bf4c43c219c9 | 260ddf8075b94699d817825d8610eaf606e4c62d | refs/heads/master | 2021-01-19T14:45:04.968757 | 2017-03-29T12:58:34 | 2017-03-29T12:58:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,842 | cpp | #include <cstring>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <ctime>
#include <string>
#include <algorithm>
#include <pthread.h>
using namespace std;
const float pi = 3.141592653589793238462643383;
int bern = 0;
int transDThreads = 8;
int transDTrainTimes = 1000;
int nbatches = 100;
int dimensio... | [
"thu.hanxu13@gmail.com"
] | thu.hanxu13@gmail.com |
73c83d9ac7c1915590270b9aefd647f6a4926c9b | 932ccd8e20edc9ca103af953919e6f2932fcf92d | /MegaTutorial C++/POZIOM 1 - Od Zera Do Gier Kodera (C++ w konsoli)/Megatutorial - przykłady/Rozdział 1.8/Division/main.cpp | f5912f12b76ed9d0cd545e85cb6823a20d459c20 | [] | no_license | patriquus/PROGRAMOWANIE-TOTAL | 99c412211b2888e93ba391d03b609bcc4d000448 | 914fd85bc3821941dd2dcb30ab352a39a1fea54e | refs/heads/master | 2020-06-03T19:39:00.356027 | 2014-11-30T20:56:16 | 2014-11-30T20:56:16 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,108 | cpp | // Division - dzielenie przy użyciu wskaźnika przekazywanego do funkcji
#include <iostream>
#include <conio.h>
// funkcja oblicza całkowity iloraz dwóch liczb oraz jego resztę
int Podziel(int nDzielna, int nDzielnik, int* const pnReszta)
{
// zapisujemy resztę w miejscu pamięci, na które pokazuje wskaźnik
*pnReszta... | [
"patriquus@gmail.com"
] | patriquus@gmail.com |
ac605ea6abd0ce3d58a7c34f2256edb394580e7c | 17567125a0612e3b8eb6820c009a820039600914 | /SDK/Decorator Examples/NewSample/DecoratorApp.cpp | a43bf870c1add20dea97c0bbf895b12f30a84e28 | [] | no_license | isliulin/GME | 1f8ab6c37550a8de7ec46a5fb1eca8b428f7ca0e | 8d50cdee3cb4a4d403d06c891a9b89bf75b75235 | refs/heads/master | 2023-03-17T01:39:43.044147 | 2018-03-14T09:05:25 | 2018-03-14T09:05:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,526 | cpp | // DecoratorApp.cpp : Implementation of DLL Exports.
// Note: Proxy/Stub Information
// To build a separate proxy/stub DLL,
// run nmake -f DecoratorAppps.mk in the project directory.
#include "stdafx.h"
#include <initguid.h>
#include "Resource.h"
#include "DecoratorLib.h"
#include "DecoratorCo... | [
"mc15aau@herts.ac.uk"
] | mc15aau@herts.ac.uk |
d53436ec298493611419d0b2d6d349faff3af163 | e30c894b28eeb53b4327a50e2ea1e3e692962395 | /Automaton.h | 5144c9b6063f249aaca0fc3e1f253e9869ff7806 | [] | no_license | rahulkishorwani/hybrid_automata_analyser | e77492857251991f1c1b444a8ea909041a8077e5 | bc5c9ff30f662679eb622ea3f6635d3c6ea54790 | refs/heads/master | 2021-01-19T10:26:28.147961 | 2015-04-20T19:02:41 | 2015-04-20T19:02:41 | 34,279,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,560 | h | #include <cstring>
#include <vector>
#include <map>
#include "Control_Variable_List.h"
#include "Parameter_List.h"
#include "Synchronizing_Label_List.h"
#include "Location_List.h"
#include "Input_Variable_List.h"
#include "Edge_List.h"
#include "State.h"
using namespace std;
using namespace Parma_Polyhedra_Library;
u... | [
"kivirani@gmail.com"
] | kivirani@gmail.com |
d13069a9a27748ecae17e34add519f4888ebc657 | f7ff7e7a248228a3c775546b55df5d234e521621 | /HW3/User.cpp | d6ec46cd2f16f16c8fb18a58da14bb428a97363a | [] | no_license | yt8956gh/CCU-Object-Oreinted-Program | cfef99e1a17c7b5f23fd6c9ce2145eb57f1d619d | 7b2f63cc47ff53c2cc9ce7e32625867b9625a121 | refs/heads/master | 2021-09-15T13:56:49.344232 | 2018-06-03T13:38:38 | 2018-06-03T13:38:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | #include "User.h"
#include "Transaction.h"
using namespace std;
int User::ID_counter=0;//static variable initialization should be in .cpp
// Must initializing account(other class) in member initializers list,
// or the constructor will initialize account instance too late,
// which lead to throw a compile error.... | [
"yt8956789@gmail.com"
] | yt8956789@gmail.com |
b0ff6b17ca8a8597dae80ca031b53d496d152e25 | 3879d1ca43c573c209f962182cd1e7f7fe978fbf | /leetcode/860. Lemonade Change/860.cpp | b4712ff3ec8c15f4d81ee1273a39b971c0c0551a | [] | no_license | DoctorLai/ACM | 34a5600a5adf22660c5d81b2d8b7a358be537ecf | aefa170f74c55c1230eb6f352770512b1e3f469e | refs/heads/master | 2023-09-01T02:13:01.604508 | 2023-08-31T15:42:07 | 2023-08-31T15:42:07 | 146,173,024 | 62 | 18 | null | 2020-10-11T13:19:57 | 2018-08-26T11:00:36 | C++ | UTF-8 | C++ | false | false | 765 | cpp | // https://helloacm.com/how-to-solve-the-lemonade-change-problem-by-simulation-algorithm/
// https://leetcode.com/problems/lemonade-change/
class Solution {
public:
bool lemonadeChange(vector<int>& bills) {
int five = 0;
int ten = 0;
for (const auto n: bills) {
if (n == 5) {
... | [
"dr.zhihua.lai@gmail.com"
] | dr.zhihua.lai@gmail.com |
c61c0417afa97e03d6c5a23bba9d291cdfa50b06 | 17da681b73da0a2db1d0a15040f573834762ac32 | /razorqt-0.4.0/libraries/razorqt/xdgautostart.cpp | bcec7505edd337dc9fa7654ec41977b96a56474b | [] | no_license | easion/GoogleCodeImport | 652690592ad0e113ac60f807a937e50978cb3f64 | e7648d4fa4543520012b6e47a1d2fefed6f22d81 | refs/heads/master | 2021-01-25T05:35:28.584058 | 2015-03-14T07:59:22 | 2015-03-14T07:59:22 | 32,141,682 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,190 | cpp | /* BEGIN_COMMON_COPYRIGHT_HEADER
*
* Razor - a lightweight, Qt based, desktop toolset
* http://razor-qt.org
*
* Copyright: 2010-2011 Razor team
* Authors:
* Petr Vanek <petr@scribus.info>
* Chris "VdoP" Regali
*
* This program or library is free software; you can redistribute it
* and/or modify it under ... | [
"easion@79e7c3d0-c8f2-11de-a9c8-2fbcfba63733"
] | easion@79e7c3d0-c8f2-11de-a9c8-2fbcfba63733 |
d5707e64cc5a5b068c0d66fb4eb2a76692e93292 | 2ae0b8d95d439ccfd55ea7933ad4a2994ad0f6c5 | /src/frontends/onnx/frontend/src/op/org.openvinotoolkit/prior_box.cpp | d5616f343a9eb2d266b7234c8fcbb25a3d679266 | [
"Apache-2.0"
] | permissive | openvinotoolkit/openvino | 38ea745a247887a4e14580dbc9fc68005e2149f9 | e4bed7a31c9f00d8afbfcabee3f64f55496ae56a | refs/heads/master | 2023-08-18T03:47:44.572979 | 2023-08-17T21:24:59 | 2023-08-17T21:24:59 | 153,097,643 | 3,953 | 1,492 | Apache-2.0 | 2023-09-14T21:42:24 | 2018-10-15T10:54:40 | C++ | UTF-8 | C++ | false | false | 4,929 | cpp | // Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "ngraph/op/prior_box.hpp"
#include "default_opset.hpp"
#include "exceptions.hpp"
#include "ngraph/node.hpp"
#include "onnx_import/core/node.hpp"
#include "op/org.openvinotoolkit/prior_box.hpp"
namespace ngraph {
namespace... | [
"noreply@github.com"
] | noreply@github.com |
b9ceaebbb8d41fb9e81229a065f8a4799836868d | e4b1da56284ec1a3922f3a56f15b002b402e30a8 | /src/rpcnet.cpp | 8bee2d3aad7cfd5d09137373e218c6457e9ff050 | [
"MIT"
] | permissive | maxxx990/ivugeocoin | 3971e00b84b1b08cd235ce71118d03b11c65cc9f | ff14ae35e2714db29375f41527fa487d7f21cbc4 | refs/heads/master | 2021-01-18T12:41:20.128241 | 2015-12-29T00:29:24 | 2015-12-29T00:29:24 | 49,586,435 | 1 | 0 | null | 2016-01-13T16:32:08 | 2016-01-13T16:32:08 | null | UTF-8 | C++ | false | false | 17,373 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#include "clientversion.h"
#include "main.h"
#include "net.h"
#include "netbase.h"
#include "protocol.h"
#... | [
"jakub@ovens.es"
] | jakub@ovens.es |
c39a736d8a8c92008d64ad5172db2c9711c47716 | c199654f7c04fb0e62ba8bb16ed002b7260ffe52 | /src/Misc/FileDefine.cpp | 4e8566922c58cf950b403a50f76aa405abf0a89a | [] | no_license | qiniu/cpp-sdk | d19a9eaf113140a6ab853d2f48410c4798910cd7 | eb16382ac1b67a7239b66db6b9c8ac2f8a7de21d | refs/heads/develop | 2023-06-12T09:13:25.781237 | 2014-07-09T13:42:07 | 2014-07-09T13:42:07 | 16,835,472 | 2 | 2 | null | 2014-07-09T13:42:07 | 2014-02-14T11:31:04 | C | UTF-8 | C++ | false | false | 1,985 | cpp | /*******************************************************************************
* @file FileDefine.cpp 2013\6\5 17:37:07 $
* @author Wang Xiaotao<wangxiaotao1980@gmail.com> (中文编码测试)
******************************************************************************/
#include "Misc/FileDefine.h"
#if d... | [
"wangxiaotao1980@gmail.com"
] | wangxiaotao1980@gmail.com |
9e5c18388d8bc2562e175c1e461fd58f23d9fff0 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_15953.cpp | cd2d01157938e69d81d0b6b6ba42838ab7e2319d | [] | 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 | 25 | cpp | ctl->bp[ctl->cur_len] = 0 | [
"993273596@qq.com"
] | 993273596@qq.com |
94c2580bde80cb11b8925ab31323081950b26faa | f76010dc8bd922e9c72bcb01b0114ef836a65ec9 | /Algorithm_Basic_1_BOJ/200_DataStructure_1/9093_단어뒤집기.cpp | b97512a273f2fd837b2890ec4f86f21a60013dd2 | [] | no_license | bidulgicode/PS | c9341660da8548f2ee6f6a293c486194224c09ae | 2f53ea90436c1ae1a4028b47edabcbaa9409f753 | refs/heads/master | 2022-12-28T16:14:02.237465 | 2020-10-17T09:43:02 | 2020-10-17T09:43:02 | 273,155,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int t;
cin >> t;
cin.ignore(); // 입력 버퍼 비우기.
// cin은 줄바꿈문자를 변수에 담지 않음 -> 버퍼에는 남아있음
// getline은 버퍼에 남은 '\n' 개행문자를 읽고 한 행이 끝난걸로 처리.
// 결국 진짜 입력이 들어가기도 전에 아무것도 없는 한 행이 입력된 상태로 시... | [
"pkmon1999@gmail.com"
] | pkmon1999@gmail.com |
f683bdcd9d126b7be9c5dc0c53feb60a30b8886e | 51c1c5e9b8489ef8afa029b162aaf4c8f8bda7fc | /easyrespacker/src/librespacker/AnimToBin.cpp | 57a877274b3472670c79fa859420e98bb7a962b7 | [
"MIT"
] | permissive | aimoonchen/easyeditor | 3e5c77f0173a40a802fd73d7b741c064095d83e6 | 9dabdbfb8ad7b00c992d997d6662752130d5a02d | refs/heads/master | 2021-04-26T23:06:27.016240 | 2018-02-12T02:28:50 | 2018-02-12T02:28:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,007 | cpp | #include "AnimToBin.h"
#include "pack_unpack.h"
#include "typedef.h"
#include "spritepack.h"
namespace erespacker
{
int AnimToBin::Size(const PackAnimation* anim)
{
int sz = 0;
sz += sizeof(uint16_t); // id
sz += sizeof(uint8_t); // type
sz += sizeof(uint16_t); // components size
for (int i = 0, n = ... | [
"zhuguang@ejoy.com"
] | zhuguang@ejoy.com |
73bcdfadb5c3cff4a7545b223e5beb64f89f7577 | 84a96dbd96e926ebb5c658e3cb897db276c32d6c | /tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc | 4033d5220915b1a2b84bd8b64e188e1f77fa47de | [
"Apache-2.0"
] | permissive | MothCreations/gavlanWheels | bc9189092847369ad291d1c7d3f4144dd2239359 | 01d8a43b45a26afec27b971f686f79c108fe08f9 | refs/heads/master | 2022-12-06T09:27:49.458800 | 2020-10-13T21:56:40 | 2020-10-13T21:56:40 | 249,206,716 | 6 | 5 | Apache-2.0 | 2022-11-21T22:39:47 | 2020-03-22T14:57:45 | C++ | UTF-8 | C++ | false | false | 27,731 | cc | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
b9b3149aae95c078cb55ec1f063bc7c6525d1ed5 | 6d865113522122a3a646c1bf9baac6aba58ac8ab | /mytimer.cpp | 7b715b2fcd98414b8873f4fb6cc306ddebf9248c | [] | no_license | vpreethamkashyap/QtTemplate | 65b3d32b72db5bbccfe894d82d838d07bb22ebbe | e0cb3a99301357c49c890973857c81d7c090707e | refs/heads/master | 2020-03-19T12:06:40.550292 | 2018-06-12T19:41:34 | 2018-06-12T19:41:34 | 136,496,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,960 | cpp | #include "mytimer.h"
bool stoptimerthread = false;
MyTimer::MyTimer(QObject *parent) : QObject(parent)
{
timer = new QTimer();
worker = new QThread();
worker->setObjectName("TIMER THREAD");
this->moveToThread(worker);
connect(worker , SIGNAL(started()), this, SLOT(handletimerthread()));
conne... | [
"preetham.k@sonnen-batterie.com"
] | preetham.k@sonnen-batterie.com |
0563516804f2aa809250cc7d7a926a13b638bc05 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /ras/fluidisedBed/1/alphat.air | e6fa4f0c996a7cd2deba829767814b24f7b0a898 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70,583 | air | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com |
851e772370a09e2bbd8c6f977e70cb6569a44062 | 667f2aed860ca9b7fa6e7c289779b1e8797786b2 | /Source/Puzzle/PuzzleBlock.cpp | db568b32677f1720457d5db6b679266878106db8 | [] | no_license | erohsr/puzzle | 22930a89ca52291519f748f9e48c8825de328df3 | 9e783d7516d7b8c5aa424f58fabad4e3c0a45fd4 | refs/heads/master | 2021-01-19T09:41:29.190921 | 2015-08-31T13:03:32 | 2015-08-31T13:03:32 | 41,648,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,043 | cpp | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "Puzzle.h"
#include "PuzzleBlock.h"
#include "PuzzleBlockGrid.h"
APuzzleBlock::APuzzleBlock()
{
// Structure to hold one-time initialization
struct FConstructorStatics
{
ConstructorHelpers::FObjectFinderOptional<UStaticMesh> PlaneMesh;
Const... | [
"rshore@gmail.com"
] | rshore@gmail.com |
0dee519933c5313925b78f05c20dbd0fe555ae62 | 760628b14624149546f0f724962dabb34e7c0134 | /io.cc | 81ecc8707d6389081767f087ab7ba39b7b2ac8b1 | [] | no_license | gnate453/Ray_Tracer | ef2d40871b4a53cc1d9155c5de471cc114d7a1d6 | 76af6029a4e57b6531d78096b5b7f9b77734807f | refs/heads/master | 2020-05-18T11:51:59.294750 | 2014-12-14T06:15:23 | 2014-12-14T06:15:23 | 24,804,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,855 | cc | #include "io.h"
std::string readInputFiles(char** argv) {
std::string tmp, mtlFileName, objFileName, materials, vertices, objects, commands, world;
//open the object file for reading.
objFileName = argv[1];
std::ifstream objFile(objFileName.c_str());
bool ismltLoad = false;
while (!ismltLoad) {
std::getli... | [
"gnate@rams.colostate.edu"
] | gnate@rams.colostate.edu |
42b13905943a9b27fa655df3d155936a852a87ac | 037bf2237078110827f400229e62562f8af9fe29 | /EMU/TAMU/lisas_test_manager/include/test_utils_for_root.h | 8c60d87f4f8435db7dde73e2ddd7bd88e3066567 | [] | no_license | slava77/emulibSVN | 07bc9ae311cf09a1a18bd491f4fe6002605b7403 | 7a7c7872adeff90fcfa94a6a948ae9eaeff261b3 | refs/heads/master | 2021-01-25T12:07:29.569402 | 2014-08-08T13:18:42 | 2014-08-08T13:18:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,167 | h | #define NUM_CSC_TYPES 7
#define MAXBINS 200
#include "csc_parameters.h"
#include "TH1.h" // histograms
#include <boost/shared_ptr.hpp>
typedef boost::shared_ptr<TH1F> th1f_ptr;
typedef std::vector<std::vector<th1f_ptr> > th1f_2dvector_t;
int calc_peds_for_root(int mode, float *mean[NLAYER], float *rms[NLAYER... | [
"slava77"
] | slava77 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.