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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d2bc184addea9bc999fc669de3c75c1549b7f56f | ab1c643f224197ca8c44ebd562953f0984df321e | /wmi/wbem/winmgmt/ess3/evsink.h | a3d457eeda17f30351dd061a667beacebb5f643f | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_admin | e162e0452fb2067f0675745f2273d5c569798709 | d36e522f16bd866384bec440517f954a1a5c4a4d | refs/heads/master | 2023-04-12T13:25:45.807158 | 2021-04-13T16:33:59 | 2021-04-13T16:33:59 | 357,613,696 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,208 | h | //******************************************************************************
//
// EVSINK.H
//
// Copyright (C) 1996-1999 Microsoft Corporation
//
//******************************************************************************
#ifndef __WMI_ESS_SINKS__H_
#define __WMI_ESS_SINKS__H_
#include "eventrep.h"
#includ... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
ccdb70f6b4ede46005bfbd463af558817b0789a1 | 904441a3953ee970325bdb4ead916a01fcc2bacd | /src/apps/testbedservice/sockets/socket_client.cpp | 099f4c45539e4b292b8d7cc5f3fc60d31311a40d | [
"MIT"
] | permissive | itm/shawn | 5a75053bc490f338e35ea05310cdbde50401fb50 | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | refs/heads/master | 2020-05-30T02:56:44.820211 | 2013-05-29T13:34:51 | 2013-05-29T13:34:51 | 5,994,638 | 16 | 4 | null | 2014-06-29T05:29:00 | 2012-09-28T08:33:42 | C++ | UTF-8 | C++ | false | false | 8,891 | cpp | /************************************************************************
** This file is part of the network simulator Shawn. **
** Copyright (C) 2004-2007 by the SwarmNet (www.swarmnet.de) project **
** Shawn is free software; you can redistribute it and/or modify it **
** under the terms of t... | [
"github@farberg.de"
] | github@farberg.de |
2c061a1fd2c9504ff460cd32ae323d58d6859359 | 09ad7fe9dd533739fccbfe621f33f761150e561c | /tracking/MeanShift.cpp | a6dd8a431093662c032ec8926fb89c3d68bc0e79 | [] | no_license | nie-xin/cpp_course | ec8d969e4c029fba2ae04752696fbb4e243dabca | 963daa9d7bb37a992fc41494ad7c11410dd03416 | refs/heads/master | 2021-01-02T08:31:43.435185 | 2013-11-22T00:53:04 | 2013-11-22T00:53:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include "MeanShift.h"
MeanShift::MeanShift() {
}
MeanShift::~MeanShift() {
}
void MeanShift::getHistogramAndBackProjection(cv::Mat img, cv::Rect ROI) {
int h_bin_size = 50;
float h_range[] = {0, 256};
const float * ranges[] = {h_range};
cv::Mat imgROI_HSV;
cv::Mat imgROI = img(ROI);
cvtCo... | [
"niexin.study@gmail.com"
] | niexin.study@gmail.com |
7448db3f1ccd44f3e9f8cf379a41c44680a311ad | c1d20b9b69033e71b113c1f948b7c45e300a2584 | /Lab06/mainSinglePlayer.cpp | e509f13c93695227a9077ef7413ab3f487623042 | [] | no_license | snyderks/data-structures | aa31de0f36b7d4eba84c6fb4eb2a17e051df817e | b8713d94405a323b875d219ea3ff090d64fbeee8 | refs/heads/master | 2021-01-24T18:38:32.487906 | 2017-04-10T19:44:22 | 2017-04-10T19:44:22 | 84,462,196 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,399 | cpp | #include <iostream>
#include "Stack.h"
using namespace std;
// exception class for an impossible or illegal move by the player.
class InvalidMove {};
// invoke moving the disk between two stacks.
template <class T>
void moveDisk(Stack<T>* from, Stack<T>* to);
// get the height of the tower from the user.
int getStac... | [
"knsnyder96@gmail.com"
] | knsnyder96@gmail.com |
83c8f39667b23e99e2cc5bbf8063a2eb275f0ef1 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /lydsy/2705.cpp | 0c7091c37bd911a65985df29a13efad1715ed43a | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | GB18030 | C++ | false | false | 716 | cpp | /*
* 直接枚举约数 ans = ∑p * phi(n / p)
*/
#include <cstdio>
int sum;
long long n, f[40], s[40], ans = 0;
long long phi(long long x)
{
long long res = x;
for(int i = 1; i <= sum; ++i)
if(x % f[i] == 0) res = res / f[i] * (f[i] - 1);
return res;
}
void dfs(int dep, long long now)
{
if(dep > sum)
{
ans += now * phi... | [
"t251346744@gmail.com"
] | t251346744@gmail.com |
8bdadb5797b981a942eebbec3503f002d761db49 | a58402217fce44763e4b1613153d2475d262e4b3 | /src/obfuscation.cpp | 2b97e30114af75e33bc47d03b815dc2534a4a724 | [] | no_license | cryptoghass/DudgX | 3510b5e6aaeb4502fc3281192a81abfc49c8825d | 9fdd50c7739672281b2eab94d144a41b3e19d257 | refs/heads/master | 2020-03-28T14:18:41.804310 | 2018-09-07T09:30:06 | 2018-09-07T09:30:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83,965 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The DudgX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "obfuscation.h"
#include "coin... | [
"39371067+DUDGdev@users.noreply.github.com"
] | 39371067+DUDGdev@users.noreply.github.com |
2e7e308231b8144cefe0b5a1c61ecbfabccc7623 | 9870e11c26c15aec3cc13bc910e711367749a7ff | /ZJ/zj_a_290.cpp | 0cff858bbd7ba1b49079d110c2efbf72a14c1bba | [] | no_license | liuq901/code | 56eddb81972d00f2b733121505555b7c7cbc2544 | fcbfba70338d3d10bad2a4c08f59d501761c205a | refs/heads/master | 2021-01-15T23:50:10.570996 | 2016-01-16T16:14:18 | 2016-01-16T16:14:18 | 12,918,517 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | #include <cstdio>
#include <cstring>
int b[810],a[1000010][2];
bool vis[810];
bool dfs(int x,int T)
{
if (x==T)
return(true);
if (vis[x])
return(false);
vis[x]=true;
for (int i=b[x];i;i=a[i][1])
{
int y=a[i][0];
if (dfs(y,T))
return(true);
}
return... | [
"liuq901@163.com"
] | liuq901@163.com |
c2df6874a3e5f791ee08588a7c8fa92e596c6c95 | 27d14e70c0c1bfea23ce15a0753dcf7168240345 | /Solution.cpp | f860d6978344bf9373c00483fa819d2792f40fda | [] | no_license | girishkumarkh/PhysicsSol | 5e8cef79df594bdd8256c6845c2506b37c800248 | 3ba8ab4c6f4f6efdc26d5351058b37e2d5cf0e02 | refs/heads/master | 2021-01-10T20:22:30.018641 | 2014-06-27T22:38:24 | 2014-06-27T22:38:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,304 | cpp | /*
Created by Girish Kumar
Program to calculate how long the fence must be, given
the number of corners and the postion of each of them
:PROCEDURAL CODE:
*/
#include <iostream>
#include <conio.h>
#include <iomanip>
#include <cmath> //including the cmath header for sq.root calculations, etc.
#include ... | [
"girishkumarkh@gmail.com"
] | girishkumarkh@gmail.com |
70cf4a4de3e10a0af1b5197f62fb6806e200bccf | 13c5a877ad316e8bf3488228daac96d6c6258c80 | /main.cpp | eeb8e8c6615898a63dd46bf7954c2afa630f3ddc | [] | no_license | MakarukJakub/Cwiczenie3 | 4fad6b26541be0b31e4befeb6467b04a11960652 | 216bf595e590b6d152e5cd448b32966d16a4eb46 | refs/heads/master | 2021-07-15T18:14:45.273240 | 2017-10-16T13:35:54 | 2017-10-16T13:35:54 | 106,285,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | cpp | #include <iostream>
#include <sstream>
#include <fstream>
#include <vector>
#include <string>
#include <stdexcept>
using namespace std;
int main(int argc, char* argv[])
{
double t, x;
string linia;
typedef pair <double,double> Probka;
ifstream plik("sygnal.csv");
vector <Probka> dane;
while ... | [
"32266628+MakarukJakub@users.noreply.github.com"
] | 32266628+MakarukJakub@users.noreply.github.com |
916a078799845663ff7476e2b8f92b835f7b5a44 | 288b6237e22e0560429b7bb61ebf37d175e3244a | /SourceCode/Final/Standalone/ProceduralCityGenerator/Road.cpp | 038fd4bed4a8f1e5592f40befec6005f17768858 | [
"BSL-1.0",
"Zlib",
"MIT"
] | permissive | twobob/FinalProject | 0e33866e3ff35e77095b77198a7ba9ad9e12ec91 | 60400efa64c36b7cdbc975e0df7b937cbaae1d0b | refs/heads/master | 2022-04-27T00:23:32.341990 | 2020-04-29T11:13:58 | 2020-04-29T11:13:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | #include "Road.h"
#include "Vec2.h"
Road::Road() {}
Road::Road(int _sx, int _sy, int _ex, int _ey)
:
startPos(new Vec2(_sx, _sy)),
endPos(new Vec2(_ex, _ey))
{}
Road::Road(Vec2* s, Vec2* e)
:
startPos(s),
endPos(e)
{}
Road::~Road() {}
bool Road::Equals(int sx, int sy, int ex, int ey)
{
return (startPos->x =... | [
"Joseph_Barber@Hotmail.co.uk"
] | Joseph_Barber@Hotmail.co.uk |
8c74efb9921b346480087a6d1c72d4cdb511a58c | ee24ef7aaa7d4ab6a66c56e95953414306302df3 | /Cpp/SDK/Engine_functions.cpp | 251ec0bea085498a91419d036b074d14e2da8c76 | [] | no_license | zH4x-SDK/zAWL-SDK | bfc0573125d3398d892c85eac05a6575592db187 | 3d7001585dab120480e0d16fc24396f61a1d46c6 | refs/heads/main | 2023-07-15T11:05:51.834741 | 2021-08-31T15:10:19 | 2021-08-31T15:10:19 | 401,745,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,267,395 | cpp | // Name: AWL, Version: 4.24.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 |
e0d1674e10baaff644d73c955ab765ebb9c66e58 | 556194014d5447166ebc1f359ff8c9350efdca33 | /test/main.cpp | c6b71eeae55a3cd79d60149151f1a2f369d3f74d | [] | no_license | antops/common | 2f65805ea9f906b8fddb961cf2326686e413713c | cc289bfdf716b9890a8e5003fa3fc5040e2e0c5a | refs/heads/master | 2021-12-01T15:42:30.935311 | 2020-09-20T03:31:11 | 2020-09-20T03:31:11 | 223,364,125 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | #include <iostream>
#include <fstream>
#include "coordinate_test.h"
#include "vector_test.h"
#include "field_base_test.h"
int main() {
std::string b1("2sd");
std::string b2 = std::move(b1);
// FuncTestVector3();
//FuncTestCoordinate();
FuncTestFieldBase();
getchar();
return 0;
} | [
"liyun19@jd.com"
] | liyun19@jd.com |
702335cc333e9f9781f92d40f7c2abe80a2d16d5 | d634ed79c79f4880e1e115f5f19368c2d5d24237 | /firmware/colorHSL.h | 267efcc93720d68d6af41bff69373f65f99ae6ee | [
"MIT"
] | permissive | paulprins/Lustre-Fancy-Firmware | 796f3ef7b1e667cfcf5ba68a48f6d40968b16c93 | 30bdaa8b72e32bf563bcf1cbf703fd5bc8756510 | refs/heads/master | 2021-11-02T15:36:11.276045 | 2021-10-17T14:57:27 | 2021-10-17T14:57:27 | 75,220,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | h | // colorHSL.h
#ifndef __HSL_H__
#define __HSL_H__
#include "colorRGB.h"
class HSL
{
private:
float HueToRGB(float v1, float v2, float vH);
public:
HSL(int h, float s, float l);
int H;
float S;
float L;
bool Equals(HSL hsl);
colorRGB* toRGB();
};
#endif | [
"paulprins@gmail.com"
] | paulprins@gmail.com |
388239dc85e8a9d9d8a9352873b1958345659be9 | 7a97496d628a6a6d89df847c43a0f0215fc0993f | /pynq_dsp_hw/pynq_dsp_hw.srcs/sources_1/bd/base/ip/base_m02_regslice_44/sim/base_m02_regslice_44.h | 7da7aee4d24c7ce00cda3bc655da2f50e8dea5da | [
"MIT"
] | permissive | kamiyaowl/pynq_dsp_hw | 9336329bf952fcdfb6d35f2817c374ca4f91936d | cb3adee62d80ef8d70f9886ddfae8ff39441fe2d | refs/heads/master | 2020-12-23T04:19:22.080691 | 2020-02-09T07:52:02 | 2020-02-09T07:52:02 | 237,025,484 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,956 | h | #ifndef IP_BASE_M02_REGSLICE_44_H_
#define IP_BASE_M02_REGSLICE_44_H_
// (c) Copyright 1995-2020 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//... | [
"kamiyaowl@gmail.com"
] | kamiyaowl@gmail.com |
4ebc8be857683b93e010ee5758c00a025a38de31 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/arc084/A/1747695.cpp | 00251752083422faa0b025a58b15a0c50cdde6ae | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 662 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
int n;
cin >> n;
vector<long long> a(n), b(n), c(n);
for (auto& i : a) cin >> i;
for (auto& i : b) cin >> i;
for (auto& i : c) cin >> i;
sort(a.begin(), a.end());
sort(b.begin(), b.end());
... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
5012a90474f3ab12c4438245f44cdc7554cf98fd | 4b37d91025e6d5cacf949a7434fd7ed86c52a985 | /CommServer/CommServer/Utils.h | f81d0553af1115228c0e3011fc495ddf7eb6ee5d | [] | no_license | Manik-Sinha/The-Great-Monaco-Project-Of-Doom | d0ed5aade61b09507a3cdfc0f645fe4e229ab0fb | 8d5555266ff9eaa14d970267c7e78cc7141dbc6c | refs/heads/master | 2023-03-21T06:57:37.010824 | 2021-03-11T07:53:57 | 2021-03-11T07:53:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64 | h | #pragma once
#include <string>
std::string GenerateGUID(); | [
"Reavenk@gmail.com"
] | Reavenk@gmail.com |
49e5c4f5e87c385449cf60d5ff9f88b8ea708b2b | ce3719f09c6bd24973e33d4fcdda0841988d3b9f | /Primeira Lista/p16.cc | c4ce6e218c0a939f9b267a377b301168a96d6f39 | [] | no_license | MatheusDantas19/Aed-1 | 4a8f431d1804d23c0080f467f303fc454846db58 | 23faa001eda694caf1a79d230a22a8f1b4b49341 | refs/heads/master | 2020-04-28T19:37:42.908681 | 2019-03-14T00:02:21 | 2019-03-14T00:02:21 | 175,517,195 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cc | //Questão 16
#include <iostream>
#define tam 3
using namespace std;
int MaiorValorMat(int mat[tam][tam], int n);
int main(){
int mat[tam][tam];
int cont=0, i=0, j=0;
cout<<"Digite os Valores da Matriz "<<"["<<tam<<"]"<<"["<<tam<<"]"<<endl;
for(i=0;i<tam;i++){
for(j=0;j<tam;j++){
cin>>mat[i][j];
... | [
"mind@icomp.ufam.edu.br"
] | mind@icomp.ufam.edu.br |
6cd29cb22194a757515ea33bc9bc03861959eec9 | 90487c904d577cc64fce8d4b8e7b1eb56fa1d7a7 | /A1035/solution/main.cpp | a90c736ef0386e0fea3ebe5ea1ebd11820bc3c37 | [] | no_license | rgwang/algorithm-notes | 67db80a5f4014b6cc05198d574734f7290453c9f | 33a71bb5fa4a591701a99e8d12db7a571419ca01 | refs/heads/master | 2020-06-19T13:54:24.710718 | 2019-10-04T06:14:53 | 2019-10-04T06:14:53 | 196,733,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,641 | cpp | #include <iostream>
#include <stdio.h>
using namespace std;
struct Person
{
char id[11];
char pwd[11];
bool change;
}person[1000];
int main()
{
//cout << "Hello world!" << endl;
int n,num=0;
scanf("%d",&n);
for (int i=0;i<n;i++)
{
scanf("%s %s",person[i].id,person[i].pwd);
}
for (... | [
"303698450@qq.com"
] | 303698450@qq.com |
31b9f6be4a16ce1dc2cf02c7a41e045502e4595a | 1f0d3543af6326d2d324e812042c9f17b8742338 | /midiVelocity.ino | 8fc17c09c25d0a489a23a40b3c2eefbfc8ca61da | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | afenioux/midiVelocity | c21c7e30c3215bb2ba8359f32ea27eb167a90939 | 8f9c36a9cb4c0c1dedf8c6d2a572f5197dc40765 | refs/heads/master | 2021-01-12T14:40:40.711641 | 2016-10-27T21:14:06 | 2016-10-27T21:14:06 | 72,045,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,290 | ino | /******************************************************************************
Use SparkFun MIDI Shield as a on the fly MIDI velocity modifier.
Arnaud Fenioux - afenioux.fr
October 2016
This programe will change note velocity on channel 1
depending on the value of the pots,
all others messages are transmitied... | [
"arnaud@afenioux.fr"
] | arnaud@afenioux.fr |
c39c855198f2ff5925ab309637ecdb4aed5ae462 | 15fde9913bf2a5eb7de7c38980fa356e6802a14e | /C++/Codeblocks Projects/Ball_Bounce/main.cpp | 66d58618b829ed812d7a4854ea87eff4e5879e69 | [] | no_license | austinmw/code | 78d8a92afca988c91d2b6d8a42f65e785fb3fef1 | 5821513f92b91edbb516dc13cd1793ef5112a591 | refs/heads/master | 2021-01-11T16:50:17.175044 | 2017-06-15T07:43:19 | 2017-06-15T07:43:19 | 79,679,949 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,824 | cpp | #include <SFML/Graphics.hpp>
#include <random>
#include <functional>
#include <cstdlib>
#include <cmath>
int main()
{
int window_width = 400;
int window_height = 300;
float ball_radius = 16.f;
int bpp = 28;
// Create window
sf::RenderWindow window(sf::VideoMode(window_width, window_height, bp... | [
"austinmw@bu.edu"
] | austinmw@bu.edu |
8a01ce9c63c28a5d4a340b9862f3fc5faa01fccb | 0e690da4d650ce87d4fefacd7e8f94ef5d41e0e3 | /OJI2018/tnia_oficial/source2.cpp | cbd822e426446cbcc518feaa6a2efba4d4aebbc4 | [] | no_license | gergopc/CBP | 07bef270520705d2e181d8f8eebc7c304bc8f94d | dc3a159f04e783bfe02a46b74decca7f9e786e01 | refs/heads/master | 2020-03-08T20:18:57.310541 | 2018-04-06T10:01:53 | 2018-04-06T10:01:53 | 128,378,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | // O(N Log N)
#include <iostream>
#include <fstream>
using namespace std;
#define NMAX 100005
int height[NMAX], n, m, q;
long long int partial_sums[NMAX];
int a, b, c, d, poz1, poz2;
int binarySearch(int left, int right, int value) {
int mid, answer = left - 1;
while(left <= right) {
mid = (left + ... | [
"gergoesjanka@gmail.com"
] | gergoesjanka@gmail.com |
ade103716ca52821e55c87ada4e36f88ec1da478 | 838a1357efadd9cdc9a9391c2a9f34c20b23f84c | /src/gun.h | bb3d7c762a78dab67eda44a09c88e88df21e4c1b | [
"BSD-2-Clause"
] | permissive | adct-the-experimenter/Door-To-Life | 0ab6d7e27796ce601d5bdc2b609c11d3a5871cf2 | a36f5e753dd6d7a8401415ed763e24dfd6b42caf | refs/heads/stable | 2021-07-04T02:27:21.102026 | 2020-12-05T16:00:39 | 2020-12-05T16:00:39 | 203,637,398 | 2 | 0 | BSD-2-Clause | 2020-12-05T06:41:30 | 2019-08-21T17:58:18 | C++ | UTF-8 | C++ | false | false | 6,505 | h | #ifndef GUN_H
#define GUN_H
#include "weapon.h"
#include "bullet.h"
class Gun : public Weapon
{
public:
friend bool loadGunMedia(SDL_Renderer* gRenderer,LTexture* sTexture,
std::vector <SDL_Rect> &s_walk_clips);
friend void freeGunMedia(LTexture* sTexture);
//co... | [
"bringerofawesomefood@gmail.com"
] | bringerofawesomefood@gmail.com |
290112351193e02da4b275831771acb0b9c769df | 82fcc05fb4311de129c930bf324cc727a8dd4fa9 | /Source/KittensMaze/UI/KittensMazeTimerUserWidget.h | 5b4797a390a2ca2f938b3ce01ec529fb5dc3e832 | [] | no_license | ukustra/KittensMaze | 0f8d81c356124d031f48eab3a2ba86e966fff0f9 | e71948a7eb83353d4decb76e33d5b3605b63e0df | refs/heads/master | 2023-04-01T13:10:40.726895 | 2021-04-10T13:55:03 | 2021-04-10T13:55:03 | 331,735,003 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | h | // Copyright 2021 Urszula Kustra. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "KittensMazeTimerUserWidget.generated.h"
class UTextBlock;
/**
*
*/
UCLASS()
class KITTENSMAZE_API UKittensMazeTimerUserWidget : public UUserWidget
{
GENERATED_UCLASS_BODY()
p... | [
"kustra.u@gmail.com"
] | kustra.u@gmail.com |
e1c590d01a5d7dc19e3a7074012618ff1a7260a3 | 5d5974f754f784331bc4126bc3b1233f46bf32ee | /TP3/src/Produit.cpp | b9d735c27a72f503e19b3bc518bafbd826c229f3 | [] | no_license | sBryan06/L3_CPP_etudiant | ca4de028cfb662945bd5672795469b585a62e4ed | 738746fb04381825f019b628c7cd7c8205af06cc | refs/heads/master | 2021-01-14T08:13:56.606567 | 2017-05-09T12:00:06 | 2017-05-09T12:00:06 | 81,941,909 | 0 | 0 | null | 2017-02-14T12:12:10 | 2017-02-14T12:12:09 | null | UTF-8 | C++ | false | false | 385 | cpp | #include "Produit.hpp"
#include <iostream>
Produit::Produit(int id, const std::string& description) :
_id(id), _description(description) { }
int Produit::getId() const { return _id; }
const std::string& Produit::getDescription() const { return _description; }
void Produit::afficherProduit() const
{
std::cout << ... | [
"bryan.sandras@hotmail.fr"
] | bryan.sandras@hotmail.fr |
393ebad9551a408b9b919e3af94dbfe4173b0a52 | d89f42fbf99fbe0b703ccec262a066399c1a2ab2 | /Algorithm/leetcode/exercises/easy/longest_common_prefix.cpp | 95d7e1f69120642907f9baf37949ea6267f86db3 | [] | no_license | RickyL-2000/c-learning | f3e713e14ec7fb06ecc86b6d8501fe8a46b49860 | 424ecbfb9d70eb0ba1e04c89284c8fee6ce0d08c | refs/heads/master | 2020-06-04T12:40:35.240646 | 2020-03-06T08:43:07 | 2020-03-06T08:43:07 | 192,024,857 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | cpp | /* Write a function to find the longest common prefix string amongst an array of strings.
If there is no common prefix, return an empty string "".
All given inputs are in lowercase letters a-z. */
#include <iostream>
#include <vector>
#include <string>
using namespace std;
string longestCommonPrefix(vector<strin... | [
"15305813731@163.com"
] | 15305813731@163.com |
a268b573df0521b35fb9f927b99e35ac1b8aa55d | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/core/html/forms/html_select_element.h | 48a14a3bc8e4a47f5a83c538859e8ea8714e065c | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 12,033 | h | /*
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
* reserve... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
c31f90743dae6344e6cdeba015da75a7c264a81a | a01505eea5d1f9625af66b66e31812ca0dbf4dd5 | /Math/Mat3d.hpp | 21bb0e30ff2ffbe9a6f0cd6dc3e24faab82664e4 | [] | no_license | zeyorama/libGeekMath | 1e1850e650c034f54b426c870662df6b91b9c0f4 | 5dac1a29898c3580ae4a7c89454f3aa4bc9e5419 | refs/heads/master | 2020-04-16T07:45:35.778869 | 2015-12-02T13:16:17 | 2015-12-02T13:16:17 | 31,024,633 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,940 | hpp | /*
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribu... | [
"frank.kevin.zey@mni.thm.de"
] | frank.kevin.zey@mni.thm.de |
ef9582c9f7f333236c23c20913d0d5490f18d8d0 | 615250894ed0927703142f4271a99ba42ae500c5 | /KT-817GroundControlStation/ui_WidgetHSI.h | cbf7fabfe17e25fa7d3b56fb55adc6803b9eeb24 | [] | no_license | AliEmreKeskin/savasan-iha | 2ef06375c9a5301ea4c8db972d52013c18e6bffc | 9056040bd62d56909ac03b461d9332a28cb9024e | refs/heads/master | 2022-11-05T11:51:29.871834 | 2019-06-25T13:01:03 | 2019-06-25T13:01:03 | 192,405,507 | 4 | 1 | null | 2022-11-01T06:11:38 | 2019-06-17T19:22:13 | C++ | UTF-8 | C++ | false | false | 1,795 | h | /********************************************************************************
** Form generated from reading UI file 'WidgetHSI.ui'
**
** Created by: Qt User Interface Compiler version 5.9.5
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*****************************************... | [
"aliemrekeskin@outlook.com"
] | aliemrekeskin@outlook.com |
04efd81f828dd6c8bbe9755a4743784dc8a5027b | de2bcafade09cf75a1f915df714977ee58af9d0b | /tests/tests/test_utils/executor_shutdowner.h | 2b38ab2a9c273b0510370efe1eb3c0d5478353f1 | [
"MIT"
] | permissive | hjybdrs/concurrencpp | a66e84ea8c19b17367ce02c83e3f0b4ab1027f90 | fbc8c475d5a534c5d222d9b241ad9299f2413969 | refs/heads/master | 2022-12-29T10:07:10.349711 | 2020-09-28T19:51:22 | 2020-09-28T19:51:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | h | #ifndef CONCURRENCPP_EXECUTOR_TEST_HELPERS_H
#define CONCURRENCPP_EXECUTOR_TEST_HELPERS_H
#include "../../concurrencpp/src/executors/executor.h"
namespace concurrencpp::tests {
struct executor_shutdowner {
std::shared_ptr<concurrencpp::executor> executor;
executor_shutdowner(std::shared_ptr<concurrencpp::execut... | [
"59602013+David-Haim@users.noreply.github.com"
] | 59602013+David-Haim@users.noreply.github.com |
5246ded7dca09c6c47f8e7f33423031f39f6c512 | 6fee51de8d70d25272a2a5dbbcc8a93bbd48b3db | /szemantikus/semantics.h | 5a97f5cb896aa665ce81c919e5f788abe9db2b85 | [] | no_license | RichardTiborNagy/FordProg | 5a69239af7cb2c2a74de31074e2835f7124cc04c | 2201378c3dde82ba7244815460a5791b7143e26b | refs/heads/master | 2021-04-30T09:35:49.746279 | 2018-02-12T23:10:53 | 2018-02-12T23:10:53 | 121,313,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | #ifndef SEMANTICS_H
#define SEMANTICS_H
#include <iostream>
#include <string>
#include <map>
#include <sstream>
enum tipus { Egesz, Logikai };
struct kifejezes_leiro
{
int sor;
tipus ktip;
kifejezes_leiro( int s, tipus t )
: sor(s), ktip(t) {}
kifejezes_leiro() {};
};
#endif //SEMANTICS_... | [
"richard.tibor.nagy@gmail.com"
] | richard.tibor.nagy@gmail.com |
5c6a59765338c974d54a565f9742070ee7f60a20 | 9d651ed0e854282538097de2c692a7bae2f3982b | /mission_data_types/include/mission_data_types/geometry.h | 510ef1d33c1220a0451fb80a0bda8f21b92c0d38 | [] | no_license | RoboHubEindhoven-User/mission_planner_comm | a0da0dfcbc900399e78659ab3188b50931ccb855 | 49eb7f8d28eb1109a96fb14c32089e5f54e0615c | refs/heads/master | 2020-06-02T04:25:40.263584 | 2019-07-05T11:46:25 | 2019-07-05T11:46:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | h | #ifndef GEOMETRY_H_
#define GEOMETRY_H_
namespace geometry
{
struct Pose
{
struct Point
{
double x;
double y;
double z;
Point(double x = 0, double y = 0, double z = 0)
: x(x), y(y), z(z){}
} point;
struct Quaternion
{
double x;
double y;
... | [
"kamironzi2@gmail.com"
] | kamironzi2@gmail.com |
5a876fd388cd119f954f65e8de5b8e3cfed7f67f | a1d397929e489a3ae740171bb786dc2d40977d39 | /FJIsamWrite.cpp | 31659b138f7fd8318aa27a227d646c5967829e65 | [] | no_license | Parafuso/FJIsam | 7c77709de80c9663e2a657ebf1e3b1f71cc0c0a2 | 6e6fefcb2bf4d5e16ce204fe161a5d4e6d8f7a11 | refs/heads/master | 2020-09-09T17:38:47.133891 | 2016-08-22T14:35:15 | 2016-08-22T14:35:15 | 66,280,400 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,246 | cpp | //------------------------------------------------------------------------------
// ISAMアクセスライブラリ 書込処理ソース
// Version 1.0 create date 2003/02/02
// Version 1.1 create date 2004/02/22
// Version 1.2 Create Date 2006/03/01 .net 2.0 に作り変え
// Copyright 藤井元雄
//-------------------------------------------------------------... | [
"mfji@hotmail.com"
] | mfji@hotmail.com |
ca4b1f1c6e012bb739653f30ccfbf924715b1457 | c831d5b1de47a062e1e25f3eb3087404b7680588 | /webkit/Source/WebKit2/UIProcess/soup/WebSoupRequestManagerProxy.h | 3ec04b7d73c1b85e34faf60b7e60538c30685e5d | [] | no_license | naver/sling | 705b09c6bba6a5322e6478c8dc58bfdb0bfb560e | 5671cd445a2caae0b4dd0332299e4cfede05062c | refs/heads/master | 2023-08-24T15:50:41.690027 | 2016-12-20T17:19:13 | 2016-12-20T17:27:47 | 75,152,972 | 126 | 6 | null | 2022-10-31T00:25:34 | 2016-11-30T04:59:07 | C++ | UTF-8 | C++ | false | false | 2,792 | h | /*
* Copyright (C) 2012 Igalia S.L.
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* 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; either
* version 2 of the License, or (a... | [
"daewoong.jang@navercorp.com"
] | daewoong.jang@navercorp.com |
430f9c2893cb31576ba3dd58e34f30bf491f5fa4 | 4fc9d5d49b9d0c9a8aec35e02418230c4a439bf7 | /Include/Mathematics/GteQuadricSurface.h | 0eb830ec03f03673a8a8ae15c2f1c31c07481472 | [] | no_license | zhouxs1023/GTEngine | 07d8a299522a8b33b6960dca06a4ca6cb459622c | 16c1af003106798dd2d91800085818b40adfad1a | refs/heads/master | 2020-03-27T18:03:37.798691 | 2019-12-30T13:49:17 | 2019-12-30T13:49:17 | 146,895,580 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 22,727 | h | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2019
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 3.24.0 (2019/04/05)
#pragma once
#include <Mathematics/Gte... | [
"zhouxs1023@163.com"
] | zhouxs1023@163.com |
157d93dfe4dcab92763adce148d0c6221543c72e | e0654961ba79338e82a0ba03360e97ead4465285 | /include/argot/concepts/composable.hpp | 8bf416f6bf46c66b46aa271cba1f6e6bdc185afb | [
"BSL-1.0"
] | permissive | blockspacer/argot | 68f0e2a56fb4686989b47d0ad0f6127167ea0a9a | 97349baaf27659c9dc4d67cf8963b2e871eaedae | refs/heads/master | 2022-11-25T02:57:08.808025 | 2020-08-04T21:15:00 | 2020-08-04T21:15:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,160 | hpp | /*==============================================================================
Copyright (c) 2017, 2018, 2019 Matt Calabrese
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)
=======================================... | [
"matt@boost.org"
] | matt@boost.org |
f9c6a3677833f9badec3b3928aeea580bc873aa8 | 2c75a469a1d885e5fdf67cdf52f4e5a611430e60 | /princeton_algorithm/istream.cpp | 7cebf24d261ef544e1b0de7317e754d9c78ed8d3 | [] | no_license | cczudianke/algorithm | cbd3d1dc07fd37f88054f0b371e8309ef47928ff | 64c53abc4c1df36550b4eb51d220e9254a91469d | refs/heads/master | 2021-01-17T08:44:02.343655 | 2017-05-23T15:50:48 | 2017-05-23T15:50:48 | 83,947,748 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,019 | cpp | // istream::get example
#include <iostream> // std::cin, std::cout
#include <fstream> // std::ifstream
#include <vector>
#include <string>
#include <utility>
using namespace std;
vector< pair<pair<int,int>,string> > log;
int readlogfile()
{
std::ifstream is("test.txt"); // open file
char c;
... | [
"cjsl1994@163.com"
] | cjsl1994@163.com |
baa789bef7f6b75773f3b51c6fcff968a86e21b5 | b8f37d4b2a711d5c794b9e6f5bc29c32f4b50cf2 | /Optimal Binary Search Tree/main.cpp | 39409bc535f836455ec6fb3b6834227a94bbb0b0 | [] | no_license | ashiqursuperfly/data-structures-algorithms-1 | 901168b6d7bb489cfc14bc107c0f0cf07efdbf2f | a4e4104b3ca92e95d33cc378fef60ce1990784e6 | refs/heads/master | 2022-02-12T21:29:01.731061 | 2019-07-06T13:00:34 | 2019-07-06T13:00:34 | 195,539,075 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,578 | cpp | #include <stdio.h>
#include<stdlib.h>
#include <iostream>
#define NMAX 20
using namespace std;
typedef struct OBST
{
int KEY;
struct OBST *left, *right;
}OBST;
double C[NMAX][NMAX]; //cost matrix
double W[NMAX][NMAX]; //weight matrix
int R[NMAX][NMAX]; //root matrix
double p[NMAX]={-99999,0.15,0.10,0.05,0.10,... | [
"ashiqur.superfly@gmail.com"
] | ashiqur.superfly@gmail.com |
71503d0ac10b50a9643a014377cb391e13e4a439 | 39c81232c72ef9d3f8c2277ac39f543cbe060856 | /SummerWinter Coding(~2018)_예산.cpp | 9b71c04e509b553a2207ed0c0b4055d1a33318d5 | [] | no_license | pjump3226/programmers | f70c5362ce81f3b0777be8f96979797edd1f0b3e | 60493a83dd442cb8308b33b7a457bc36c8cf4e4e | refs/heads/master | 2022-12-13T08:03:51.863372 | 2020-09-18T08:25:10 | 2020-09-18T08:25:10 | 292,466,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | #include <iostream>
#include <stdio.h>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int solution(vector<int> d, int budget) {
int answer = 0;
sort(d.begin(), d.end());
for (int i = 0; i < d.size(); i++) {
if (budget >= d[i]) {
answer++;
budget -= d[i];
}
else break;
}
... | [
"pjump@naver.com"
] | pjump@naver.com |
f287a1a7b9b6f99b42cb0cb311b8f24bf40e1649 | ad10c89d79efd4043482b1ca4ccc6248601b35d6 | /src/header/ModifyCommand.h | c077b7d9b194bdfc32bbdeff40baa9883493532d | [] | no_license | Rugal/CPP-template | 1e2527d1979d7147a8b9a8dcaf16105de38c99f0 | f4fd460bae3bc6f811d4f91af967f7d5db11bd4b | refs/heads/master | 2021-05-15T15:58:22.649619 | 2017-11-05T05:42:23 | 2017-11-05T05:55:02 | 107,361,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | #ifndef MODIFYCOMMAND_H
#define MODIFYCOMMAND_H
#include <string>
#include <vector>
#include "Command.h"
using namespace std;
class ModifyCommand: public Command {
public:
ModifyCommand(vector<string> commands);
~ModifyCommand();
string execute();
};
#endif /* MODIFYCOMMAND_H */
| [
"ryao@peakcontact.com"
] | ryao@peakcontact.com |
5700d789645867691793ee3642e945388db0dc7b | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Plugins/Experimental/Phya/Source/Phya/Private/PhyaLib/include/Resonator/paModalData.hpp | 7201aeaef6d71acce1d5cdee425c8688d22383f8 | [
"Zlib",
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 633 | hpp | //
// paModalData.hpp
//
// Contains modal data neccessary for paModalRes operation.
// Can be shared between several resonators.
//
#if !defined(__paModalData_hpp)
#define __paModalData_hpp
#include "Scene/paAudio.hpp"
struct paModalDataEntry
{
paFloat m_freq;
paFloat m_damp;
paFloat m_amp;
};
class PHYA_API p... | [
"dkroell@acm.org"
] | dkroell@acm.org |
90e5e6e2d82822ba34e6ba9a90aadc61e42b6f02 | b0b4f864b7dec0b063a603010501357f4d94a064 | /full/source/uuencode.hpp | bf17ca9be63b8d12566004edbc71b82590c0cda3 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tbeu/Blat | 6a31f00c91ee0ff6852bba5bf78c66e6b2409df5 | 13803dba0a1defbf78ce658f56445621d3cc9638 | refs/heads/master | 2021-06-30T10:05:30.868778 | 2021-06-09T15:16:42 | 2021-06-09T15:16:42 | 25,317,388 | 33 | 14 | NOASSERTION | 2021-06-08T11:35:37 | 2014-10-16T19:11:37 | C++ | UTF-8 | C++ | false | false | 595 | hpp | /*
uuencode.hpp
*/
#ifndef __UUENCODE_HPP__
#define __UUENCODE_HPP__ 1
#include "declarations.h"
#include <tchar.h>
#include <windows.h>
#include "blat.h"
#include "common_data.h"
#if BLAT_LITE
#else
#define INCLUDE_XXENCODE FALSE
extern void douuencode(COMMON_DATA & CommonData, Buf & so... | [
"ChipProgrammer@users.noreply.github.com"
] | ChipProgrammer@users.noreply.github.com |
c7f0d7fd6702dc7ee25536f3623f2473dd811118 | 590eb4cc4d0fe83d9740ce478f857ca3a98e7dae | /OGDF/include/ogdf/module/EdgeInsertionModule.h | ac928fc514c4d72196046f44f1dbea95805134bd | [
"MIT",
"LGPL-2.1-or-later",
"GPL-3.0-only",
"GPL-1.0-or-later",
"EPL-1.0",
"GPL-2.0-only",
"LicenseRef-scancode-generic-exception",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cerebis/MetaCarvel | d0ca77645e9a964e349144974a05e17fa48c6e99 | a047290e88769773d43e0a9f877a88c2a8df89d5 | refs/heads/master | 2020-12-05T05:40:19.460644 | 2020-01-06T05:38:34 | 2020-01-06T05:38:34 | 232,023,146 | 0 | 0 | MIT | 2020-01-06T04:22:00 | 2020-01-06T04:21:59 | null | UTF-8 | C++ | false | false | 9,357 | h | /** \file
* \brief Declaration of interface for edge insertion algorithms
*
* \author Carsten Gutwenger
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.txt in the root directory of the OGDF installation for details.
*
* \par
* This... | [
"jayg@cbcbsub00.umiacs.umd.edu"
] | jayg@cbcbsub00.umiacs.umd.edu |
c20e7a5e821c8a39c71401361c9323c792239ebf | 1880ae99db197e976c87ba26eb23a20248e8ee51 | /vpc/include/tencentcloud/vpc/v20170312/model/DescribeBandwidthPackageBillUsageResponse.h | 1d8933cfe757f5d3dbeed9e8181eac4ba39db850 | [
"Apache-2.0"
] | permissive | caogenwang/tencentcloud-sdk-cpp | 84869793b5eb9811bb1eb46ed03d4dfa7ce6d94d | 6e18ee6622697a1c60a20a509415b0ddb8bdeb75 | refs/heads/master | 2023-08-23T12:37:30.305972 | 2021-11-08T01:18:30 | 2021-11-08T01:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,651 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
79ffc9167000f33d82543580ab71c0e3f09dea79 | 86df6f8f4f3c03cccc96459ad82bcdf3bf942492 | /leetcode-2/best-time-to-buy-and-sell-stock-ii.cc | 4fedb30c0bf09ae8015856c1c24abc6b1dc3c257 | [] | no_license | bdliyq/algorithm | 369d1fd2ae3925a559ebae3fa8f5deab233daab1 | e1c993a5d1531e1fb10cd3c8d686f533c9a5cbc8 | refs/heads/master | 2016-08-11T21:49:31.259393 | 2016-04-05T11:10:30 | 2016-04-05T11:10:30 | 44,576,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cc | // Question: https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/
class Solution {
public:
int maxProfit(vector<int>& prices) {
int ans = 0;
for (int i = 1; i < prices.size(); ++i) {
if (prices[i] > prices[i-1]) {
ans += prices[i]-prices[i-1];
}
... | [
"liyongqiang01@baidu.com"
] | liyongqiang01@baidu.com |
e4a88377150e3eedf985e13d7c6a8def17498a5a | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/skia/modules/jetski/src/SurfaceThread.cpp | 2e252dd4c10368941dc5074e71ec4a1c0e77d721 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 2,822 | cpp | /*
* Copyright 2021 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "modules/jetski/src/SurfaceThread.h"
#include "tools/window/DisplayParams.h"
#include "tools/window/WindowContext.h"
#include "tools/window/android/WindowContextFacto... | [
"jengelh@inai.de"
] | jengelh@inai.de |
06b1ac1c5f269ffd60c43c3574516cc9e1583a0f | 73e7c20803be5d8ae467af1feba8a4a7fe219f4b | /Modules/Filtering/DisplacementField/test/itkTransformToDisplacementFieldFilterTest.cxx | e5fb57670267ef6560f917b46b0019040ababf4c | [
"LicenseRef-scancode-other-permissive",
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-free-unknown",
"BSD-4.3TAHOE",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"IJG",
... | permissive | CIBC-Internal/itk | deaa8aabe3995f3465ec70a46805bd333967ed5b | 6f7b1014a73857115d6da738583492008bea8205 | refs/heads/master | 2021-01-10T18:48:58.502855 | 2018-01-26T21:25:51 | 2018-01-26T21:25:51 | 31,582,564 | 0 | 2 | Apache-2.0 | 2018-05-21T07:59:53 | 2015-03-03T06:12:12 | C++ | UTF-8 | C++ | false | false | 6,712 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"ayla@sci.utah.edu"
] | ayla@sci.utah.edu |
e535e76a5d53abb826c3f8fd97255fb591c01694 | 7f78f032a1c39ddc271512264d07cab58ea9911a | /Example/Pods/Realm/include/core/realm/metrics/query_info.hpp | 1695be37e9a37e14591f9514d5d3134bfef91b32 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-generic-export-compliance",
"LicenseRef-scancode-realm-platform-extension-2017"
] | permissive | mohsinalimat/Unrealm | 8ed73bb98602089f69ef82ba121e0f2957f0a6fc | ebf713601a762aa951c54a3cdf013e5bec66d0e3 | refs/heads/master | 2020-05-31T05:53:41.422324 | 2019-06-02T21:51:24 | 2019-06-02T21:51:24 | 190,129,027 | 1 | 0 | MIT | 2019-06-04T04:28:22 | 2019-06-04T04:28:21 | null | UTF-8 | C++ | false | false | 1,908 | hpp | /*************************************************************************
*
* Copyright 2016 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | [
"mkrtarturdev@gmail.com"
] | mkrtarturdev@gmail.com |
e0783dc484bcd038a0f9c1cb4a0a11310cc6a223 | 38ae0fa02988d225c13446d6eb200ce6ab8fcfb8 | /src/Board.cpp | d0877bc0d0c7d4a1f7a34ca26c85a7f5ffb45f5c | [] | no_license | pawnlord/chess-engine | 5a0c4e8ec79c7c4cf5ab4fc1601296c4d721de0f | 728a924dc03c8f332b722641473719abcaca8b75 | refs/heads/master | 2022-11-30T11:03:18.551124 | 2020-07-23T16:49:33 | 2020-07-23T16:49:33 | 283,881,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,655 | cpp | #include <Board.hpp>
#include <iostream>
#include <sstream>
Board::Board(board_info_t board_info_){
board_info = board_info_;
for(int i = 0; i < board_info.board.size(); i++){
for(int j = 0; j < board_info.board[i].size(); j++) {
if(board_info.board[i][j] != '.'){
if(bo... | [
"scruffduff321@gmail.com"
] | scruffduff321@gmail.com |
bd1e3e8fbe8f677e00ccfa726113ece454ee70dd | c1b51001bf8c6fea3bd76021e67e308357008821 | /include/itkHeavisideImageFilter.h | 10fd6944522f8bb7283b044cbb9f008f31204edd | [
"Apache-2.0"
] | permissive | Bonelab/ITKMorphometry | 5dd1e5b3ef827a7d6cc7a01194cdf45ef0c3ab3e | ee1480bc1a93425ae7fff1c9595b0688fc58abc5 | refs/heads/master | 2023-07-10T13:39:13.925635 | 2021-08-19T05:18:34 | 2021-08-19T05:18:34 | 333,250,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,782 | h | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | [
"babesler@ucalgary.ca"
] | babesler@ucalgary.ca |
93fbea5d9cc5dbc8a23b9baa01d8d44c26356ca2 | 634120df190b6262fccf699ac02538360fd9012d | /Develop/Server/GameServer/main/GCriticalCalculator.h | dd8e55d829308c975507275dbdf7768f34201cf8 | [] | no_license | ktj007/Raiderz_Public | c906830cca5c644be384e68da205ee8abeb31369 | a71421614ef5711740d154c961cbb3ba2a03f266 | refs/heads/master | 2021-06-08T03:37:10.065320 | 2016-11-28T07:50:57 | 2016-11-28T07:50:57 | 74,959,309 | 6 | 4 | null | 2016-11-28T09:53:49 | 2016-11-28T09:53:49 | null | UHC | C++ | false | false | 1,860 | h | #pragma once
#include "GCalculator.h"
#include "GTalentInfo.h"
#include "GEntityPlayer.h"
#include "GEntityNPC.h"
#include "GBuffInfo.h"
/// 크리티컬 계산 공식
/// Factor는 1 == 1, Percent는 100(%) == 1
class GCriticalCalculator : public MTestMemPool<GCriticalCalculator>
{
protected:
virtual int _GetSpecializationRankForDamag... | [
"espause0703@gmail.com"
] | espause0703@gmail.com |
c9bb333ab52c440f48ca446d49e677e413884d71 | 488706ddcd860941510ddd5c8f35bbd065de9ca1 | /visualtext3/cj/ShortcutBar/Themes/XTPShortcutBarOffice2000Theme.h | 3ae0425ecb30186d1e3d8a68b705ff5702e91dea | [] | no_license | VisualText/legacy | 8fabbf1da142dfac1a47f4759103671c84ee64fe | 73d3dee26ab988e61507713ca37c4e9c0416aee5 | refs/heads/main | 2023-08-14T08:14:25.178165 | 2021-09-27T22:41:00 | 2021-09-27T22:41:00 | 411,052,445 | 0 | 0 | null | 2021-09-27T22:40:55 | 2021-09-27T21:48:09 | C++ | UTF-8 | C++ | false | false | 6,195 | h | // XTPShortcutBarOffice2000Theme.h interface for the CXTPShortcutBarPane class.
//
// This file is a part of the XTREME SHORTCUTBAR MFC class library.
// (c)1998-2013 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATS... | [
"david.dehilster@lexisnexisrisk.com"
] | david.dehilster@lexisnexisrisk.com |
44d74d43cf78857cefe2c339a1fcbaac1651f3ae | 4cd1c8d866dd296630c195f556b09926b87e3fbe | /src/qt/transactiondesc.cpp | 968c976b0f5db619a72fa77a58af1855aeb359fd | [
"MIT"
] | permissive | un0un0/Artax | 6526d8b8812bd00a42196960216be99228d030e2 | beaac8d7612ee9d9c6c0c76ef7a2732e4224b8f8 | refs/heads/master | 2021-05-04T22:02:14.277605 | 2018-01-31T23:08:49 | 2018-01-31T23:08:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,913 | cpp | #include "transactiondesc.h"
#include "bitcoinunits.h"
#include "guiutil.h"
#include "base58.h"
#include "main.h"
#include "paymentserver.h"
#include "transactionrecord.h"
#include "util.h"
#include "ui_interface.h"
#include "wallet.h"
#include "txdb.h"
#include <string>
QString TransactionDesc::FormatTxStatus(cons... | [
"admin@artax.online"
] | admin@artax.online |
d8bfc9544fa473e95f6668d9937a73074ff5ac37 | b32cb297ec43c59bb0cd1e06437cc2cf36500b33 | /hw10-2/print_shape.cc | 8679bc1527e4fcccc91e407120904825fd7d8768 | [
"MIT"
] | permissive | noahzhy/ITE1015 | 446f0a8090d20523b572b5f3a11e70e1bc1070b4 | 367806931b01e4bb5722004ff60c666dcf17e0db | refs/heads/master | 2021-10-09T12:58:03.379544 | 2018-12-28T09:07:34 | 2018-12-28T09:07:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cc | #include <iostream>
#include "print_shape.h"
using namespace std;
Rectangle::Rectangle(double width,double height){
this->width = width;
this->height = height;
}
double Rectangle::getArea(){
return this->width * this->height;
}
double Rectangle::getPerimeter(){
return (this->width + this->height)*2;
}
string R... | [
"2018000337@hanyang.ac.kr"
] | 2018000337@hanyang.ac.kr |
e149d5260346d2ce31e064ee50cd3d6c1cfe9d49 | dca39d2e9cb9f392de7a3c0af55304b01b8198dc | /search/v2/postcodes_matcher.hpp | b0e2398e8e527bf4501558ca83cbec77bcabbf87 | [
"Apache-2.0"
] | permissive | sretenie/omim | 9898ca6195a64e20ba260cd9255ac6481eda6a7f | 443bacf9c3ff623a7b0ab75705fb719cf45800a7 | refs/heads/master | 2021-01-23T12:25:59.763651 | 2016-05-18T12:12:47 | 2016-05-18T12:12:47 | 93,156,847 | 1 | 0 | null | 2017-06-06T09:27:58 | 2017-06-02T10:53:31 | C++ | UTF-8 | C++ | false | false | 224 | hpp | #pragma once
#include "std/cstdint.hpp"
namespace search
{
namespace v2
{
class TokenSlice;
bool LooksLikePostcode(TokenSlice const & slice);
size_t GetMaxNumTokensInPostcode();
} // namespace v2
} // namespace search
| [
"y@maps.me"
] | y@maps.me |
606d3ec7ee9e683162b9393658059537ce568076 | 71c8702211dc84b0311d52b7cfa08c85921d660b | /codeforces/276A-Lunch Rush.cpp | 0112f3046bff2f6b16c533e6bf95a81fe69b76f5 | [] | no_license | mubasshir00/competitive-programming | b8a4301bba591e38384a8652f16b413853aa631b | 7eda0bb3dcc2dc44c516ce47046eb5da725342ce | refs/heads/master | 2023-07-19T21:01:18.273419 | 2023-07-08T19:05:44 | 2023-07-08T19:05:44 | 226,463,398 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | #include<bits/stdc++.h>
using namespace std ;
int main()
{
int n ,k;
cin>>n>>k;
int ans = INT_MIN ;
int x,y ;
while(n--)
{
cin>>x>>y;
if(y>k)
{
ans = max(ans,x-y+k);
}
else
ans = max(ans,x);
}
cout<<ans<<endl;
return 0... | [
"marakib178@Gmail.com"
] | marakib178@Gmail.com |
7473e9ef0ba4e3ea6826a8ff449178b7150d892d | fafaa4cd9bc46e8426af6e173e976c9c74098030 | /my_client/MyShell/DlgOther.cpp | 75f212a44f4f733d0eec8267fddf224f7478d9ae | [] | no_license | XinJiangQingMang/fight | 2c7cf0af9a3f027eda7b355c193041160053d4a0 | 41846b583064f2c576d3f238aebcebcbb3bafd17 | refs/heads/master | 2021-06-12T05:31:38.338725 | 2016-12-11T05:08:17 | 2016-12-11T05:08:17 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,129 | cpp |
//**********************************************************
// ´úÂë±à¼Æ÷
//**********************************************************
// DlgOther.cpp : implementation file
//
#include "stdafx.h"
#include "myshell.h"
#include "DlgOther.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static c... | [
"337918198@qq.com"
] | 337918198@qq.com |
cac01cee08e874f3833d58d8f94fd7dced49cf8c | b995edaafd3083f641640ca46de28fe76b792158 | /src/Magnum/Trade/AbstractImageConverter.h | 17f3eb642ec659ac20afb50ac33e9f4c4a551bb0 | [
"MIT"
] | permissive | chksong/magnum | dac35c04f8923e077dbee071cfa237a5a4d596af | 9d4a8b49943a084cff64550792bb2eba223e0e03 | refs/heads/master | 2023-06-20T03:03:29.009783 | 2021-07-18T22:06:54 | 2021-07-18T22:06:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,560 | h | #ifndef Magnum_Trade_AbstractImageConverter_h
#define Magnum_Trade_AbstractImageConverter_h
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, t... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
2fe52ce64399db9b7a2750eaf9b5c6a5d65f29a3 | 8b91268944935d17960084bc99359a604e3f1c86 | /Inzva Random/A_two substrings.cpp | 2e198b18a1fb0368204b84e3f00271149d45806e | [] | no_license | AlpYilmazz/Algorithmic_Competition_v2 | 9b1450e6b4d32fbc4edbb5d863627ec22f60ffd2 | 4f3c8c9766ae56a9288061243558fe07a7cb4d40 | refs/heads/master | 2020-06-11T08:35:44.796188 | 2019-12-05T13:08:46 | 2019-12-05T13:08:46 | 193,905,035 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm> // sort
#include <cmath>
#include <vector>
#include <stack>
#include <queue>
#include <string>
#include <set>
#include <utility>
using namespace std;
typedef long long int lli;
typedef pair<lli,lli> p_ii;
#define IOS ios_base::sync_with_stdio(false); cin.tie... | [
"alperen0098@gmail.com"
] | alperen0098@gmail.com |
a0e3dd3d0693ececbaa1c3dca36e98e725b2946a | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/intlwb/kor2/src/indexlist.h | 95510b6bc246535a0aa338127cd704110ddbcbe5 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,793 | h | // IndexList.h
//
// final index term list
//
// Copyright 2000 Microsoft Corp.
//
// Modification History:
// 7 APR 2000 bhshin created
#ifndef _INDEX_LIST_H
#define _INDEX_LIST_H
#pragma warning(disable:4786)
#include <list>
using namespace std;
class CIndexTerm
{
// member data
public:
WCHAR m_wzIndex[MAX_I... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
59378a92b1d6aaa5ebb1e330046882e0c5577d39 | f2661ed532cd739aac939e055244c9fcff6403e6 | /src/server/session.cc | 90ada73893761ebda11407eedbbca1db14f54d2f | [] | no_license | MaskRay/RFTP | 28f29761198c5183bf295eba05e00dda40b3469e | eb3c2476bc74e56a3bd132bbafea62cee16439a9 | refs/heads/master | 2018-12-30T00:53:37.562349 | 2013-12-29T06:32:23 | 2013-12-29T06:37:15 | 15,504,742 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,668 | cc | #include <netinet/in.h>
#include "../log.hh"
#include "../util.hh"
#include "session.hh"
Session::Session()
{
}
Session::~Session()
{
delete _ctrl;
_ctrl = NULL;
delete _data;
_data = NULL;
}
bool Session::set_epsv()
{
close_data();
bool ipv6 = _ctrl->_local_addr.ss_family == AF_INET6;
_data = new Soc... | [
"i@maskray.me"
] | i@maskray.me |
fe330b6ce83a6fcb6aa6a56a7c300798bc783438 | caefd6e246a19c920a67d475a76bf77ecec7afe7 | /zdr/TzCtlPTU.cpp | f3dbd716d74cdf0e84e3f6518a9f4fbdad9e8998 | [] | no_license | kellysautter/10cKelly | fb725a43bf23899d953aae70b61bfaeb3107406d | 4ed502c984ceff1492507d08a3686e68c936bec9 | refs/heads/master | 2022-09-16T11:39:18.532282 | 2022-08-30T15:06:34 | 2022-08-30T15:06:34 | 24,342,510 | 0 | 3 | null | 2018-08-22T20:17:25 | 2014-09-22T19:32:33 | C | WINDOWS-1252 | C++ | false | false | 97,300 | cpp | /////////////////////////////////////////////////////////////////////////////
// Project TzCtl
//
// This is a part of the Zeidon Dynamic Rendering of GUI applications package.
// Copyright © 1995 - 2010 QuinSoft, Inc.
// All Rights Reserved.
//
// SUBSYSTEM: tzctl.dll - ZDr Design Control implementations
// FILE: ... | [
"kellysautter@comcast.net"
] | kellysautter@comcast.net |
e786c49ca80a1509e4e84f1ecee076084622209d | 5aa493e1509304a924795f0e6535dd74013d1faf | /src/tinyformat.h | 3592d9a16f6b78259bb4f26c9a6578cdbc9d9c5a | [
"MIT"
] | permissive | godoncoke/coke | 5a61bf6bff2de13176e8282622afcdab78a3bdce | 52c9afab103d65e67a7b4083a548258d033b9a91 | refs/heads/master | 2020-05-26T01:26:45.703793 | 2019-05-22T15:11:38 | 2019-05-22T15:11:38 | 188,060,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,003 | h | // tinyformat.h
// Copyright (C) 2011, Chris Foster [chris42f (at) gmail (d0t) com]
//
// Boost Software License - Version 1.0
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") ... | [
"oncoke@unstable.io"
] | oncoke@unstable.io |
fca65b08cf5205720b03d7129f04a92f7bc81f0d | a27c13c55680e95a0cfe375dd02daae9d8e64d04 | /src/common/mprotect_rwx.cc | b321915cb6cf9aee0cfa57fc52a79493c1ef9840 | [
"BSD-3-Clause"
] | permissive | NaiveTorch/ARC | 4572ed94d01f3b237492579be4091f3874a8dfe0 | 4007a4e72f742bb50de5615b2adb7e46d569b7ed | refs/heads/master | 2021-01-22T06:38:12.078262 | 2014-10-22T15:43:28 | 2014-10-22T15:43:28 | 25,082,433 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cc | // Copyright 2014 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.
// This is only for Bare Metal mode.
#if !defined(__native_client__)
#include "common/mprotect_rwx.h"
#include <irt_syscalls.h>
#include "native_client... | [
"elijahtaylor@google.com"
] | elijahtaylor@google.com |
fcc4981f903f157da4d93dc1884062ea434b4045 | f2253ad57eac6313201237aaede70f6a334a3349 | /src/gaen/assets/Gspr.h | 672138368ad3cf08d6ed7619fbb7765ec48a794f | [
"Zlib"
] | permissive | lachlanorr/gaen | d9c53f82d4d816f15a93783ec2f266e6438418b6 | 1a65e22ea0a8c9e263ef41559fc0a1c893b87e90 | refs/heads/master | 2022-06-28T06:48:31.524403 | 2022-06-14T10:03:35 | 2022-06-14T10:03:35 | 19,638,018 | 2 | 1 | NOASSERTION | 2019-09-12T03:17:01 | 2014-05-10T09:38:31 | C++ | UTF-8 | C++ | false | false | 3,805 | h | //------------------------------------------------------------------------------
// Gspr.h - Sprites with animations, depend on a gatl for images
//
// Gaen Concurrency Engine - http://gaen.org
// Copyright (c) 2014-2022 Lachlan Orr
//
// This software is provided 'as-is', without any express or implied
// warranty. In... | [
"lorr@gaen.org"
] | lorr@gaen.org |
b540369939bd5478dc262123c71b5798573c4948 | 62869fe5152bbe07fbe9f0b61166be32e4f5016c | /3rdparty/CGAL/include/CGAL/Arr_point_location/Arr_triangulation_pl_impl.h | 4520b7face86a3c16f286209c7b6bed125534970 | [
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-3.0-or-later",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-commercial-license",
"MIT"
] | permissive | daergoth/SubdivisionSandbox | aef65eab0e1ab3dfecb2f9254c36d26c71ecd4fd | d67386980eb978a552e5a98ba1c4b25cf5a9a328 | refs/heads/master | 2020-03-30T09:19:07.121847 | 2019-01-08T16:42:53 | 2019-01-08T16:42:53 | 151,070,972 | 0 | 0 | MIT | 2018-12-03T11:10:03 | 2018-10-01T10:26:28 | C++ | UTF-8 | C++ | false | false | 9,809 | h | // Copyright (c) 2005,2006,2007,2009,2010,2011 Tel-Aviv University (Israel).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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 3 of the L... | [
"bodonyiandi94@gmail.com"
] | bodonyiandi94@gmail.com |
9fccc369e81fa61d016c65408db6b3da54d9f841 | 6fc57553a02b485ad20c6e9a65679cd71fa0a35d | /garnet/tests/zircon/libdriver-integration-test/mock-device-thread.cc | 09f39787ea9e904b618d5acf709d775ae8153d1f | [
"BSD-3-Clause"
] | permissive | OpenTrustGroup/fuchsia | 2c782ac264054de1a121005b4417d782591fb4d8 | 647e593ea661b8bf98dcad2096e20e8950b24a97 | refs/heads/master | 2023-01-23T08:12:32.214842 | 2019-08-03T20:27:06 | 2019-08-03T20:27:06 | 178,452,475 | 1 | 1 | BSD-3-Clause | 2023-01-05T00:43:10 | 2019-03-29T17:53:42 | C++ | UTF-8 | C++ | false | false | 1,165 | cc | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mock-device-thread.h"
namespace libdriver_integration_test {
MockDeviceThread::MockDeviceThread(fidl::InterfacePtr<Interface> interface)
: ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d84528d91a367d2e36e099279e6b12daab46a6bf | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/470/Ua | 31e0a1d6e985ea0572fa5332396b38727d845964 | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248,794 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
e7e929a9fb0334a21c69cf729f2b1cf146847d2a | b06232ab759c94a96de4d948153c8bcb9e58dcac | /cvmfs/dirtab.h | b1266bd9b36f49516adcc3362006480f91bceb48 | [
"Apache-2.0"
] | permissive | adityaddy/GSoC_CernVM-FS | 126c6fac764ca1c1e80c60aea189580d646cac42 | cd4dd6937eb4b862f1128a236d394e4734db0b75 | refs/heads/master | 2020-04-02T23:59:20.767656 | 2015-08-18T13:54:46 | 2015-08-18T13:54:46 | 154,885,358 | 0 | 0 | NOASSERTION | 2018-10-26T19:36:50 | 2018-10-26T19:36:50 | null | UTF-8 | C++ | false | false | 4,251 | h | /**
* This file is part of the CernVM File System.
*/
#ifndef CVMFS_DIRTAB_H_
#define CVMFS_DIRTAB_H_
#include <string>
#include <vector>
#include "pathspec/pathspec.h"
namespace catalog {
/**
* A Dirtab is handling the parsing and processing of the .cvmfsdirtab file.
* The .cvmfsdirtab contains a list of Path... | [
"rafamian@berkeley.edu"
] | rafamian@berkeley.edu |
8eb80a1c3ec11e9af8117015b0e1324463386743 | 63a3dae1e3415e46132a934715d3f5aeed0fb6ab | /test/cctest/wasm/test-run-wasm.cc | a5f7ddec2b7833e12659842f6add1e06a4372d7c | [
"BSD-3-Clause",
"SunPro",
"bzip2-1.0.6"
] | permissive | LanguagePlayGround/v8 | fa1d1632687da6e450c966dba41a6b7c9f075b51 | 3541a074e241421b64ba41d81d8a99bb6ac62c5e | refs/heads/master | 2021-01-11T18:27:44.010759 | 2017-01-20T09:51:02 | 2017-01-20T09:51:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98,466 | cc | // Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "src/base/platform/elapsed-timer.h"
#include "src/utils.h"
#include "src/wasm/wasm... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
48d443de7d681f270680287b50ff2f3626c1178b | 572580660d475027fa349e47a078479222066726 | /Server/kennel/svdb_comb/action.cpp | 31954c01943be674100929231fb3ff48c2a4c347 | [] | no_license | SiteView/ecc82Server | 30bae118932435e226ade01bfbb05b662742e6dd | 084b06af3a7ca6c5abf5064e0d1f3f8069856d25 | refs/heads/master | 2021-01-10T21:11:37.487455 | 2013-01-16T09:22:02 | 2013-01-16T09:22:02 | 7,639,874 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 28,179 | cpp |
#include "action.h"
#include "svdbapi.h"
#include "util.h"
#include "QueryProtocol.h"
#include "somefunc.h"
bool ReactConnection2(SvdbMain *m_pMain, string qstr, std::list<SingelRecord> & listrcd, SingelRecord & r1, string & estr)
{
std::list<SingelRecord>::iterator lsit= listrcd.begin();
if(lsit==listrcd.end()... | [
"xingyu.cheng@dragonflow.com"
] | xingyu.cheng@dragonflow.com |
9c27a0af424ff14b5ccf978c198c3123e97ee112 | c97cc7af724c927f494771411338ba7bd4d13e0d | /merger/Dict_maketree.cpp | 7b9ea6e2ff4fa5342650405db42a06912ba4d225 | [] | no_license | carlosperezlara/BTL_Prototype_FNAL2021 | 97965d40fceee92ae961ec4b6ffadbb9a8027dbd | 49517c28bc98c4c9b14f7ed7efd09cf29a538e26 | refs/heads/master | 2023-08-28T09:37:06.182323 | 2021-10-31T15:12:10 | 2021-10-31T15:12:10 | 386,681,465 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,517 | cpp | // Do NOT change. Changes will be lost next time file is generated
#define R__DICTIONARY_FILENAME Dict_maketree
#define R__NO_DEPRECATION
/*******************************************************************/
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#define G__... | [
"carlosperezlara@gmail.com"
] | carlosperezlara@gmail.com |
8a07af12ed7150d5b778e26588c413775437d241 | 87585864da33ce37e3da227bdc937d450392eb57 | /Company/数字广东/2.cpp | 680fd37ac5f6f2b1f46ac5a4f9c98fb75d6ba7d1 | [] | no_license | hhyvs111/BrushCode | c342af40362c3ca9c2faa39e83324bb285e99d01 | e9d88518afb6593d37953406e2348f6af9381971 | refs/heads/master | 2020-04-09T02:21:23.770313 | 2019-10-28T12:01:06 | 2019-10-28T12:01:06 | 159,937,759 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
string str;
cin >> str;
int i = 0, j = str.size() - 1;
while(i < j){
// cout << str[i] << " " << str[j] << endl;
if(str[i] != str[j]){
cout << "false" << endl;
return 0;
}
i++;
j--;
}
cout << "true" << endl;
return 0;
} | [
"445622919@qq.com"
] | 445622919@qq.com |
76fa48596b9dc31435cfb022b7aeba59dcba0ab1 | a1262c8542ccfc74d14a32a5c6bd60a03bb208d6 | /practical_7/steering.h | 1745304af8b814bfb040bb5758f55d947377f89a | [] | no_license | alexbarker/set09121_workbook | 4f6b28f1a1950763d237a7ee666687c92cef40a5 | ca7dba54bbb45193feb56d28938ff9542894821f | refs/heads/master | 2021-09-10T15:43:02.135304 | 2018-03-28T18:43:51 | 2018-03-28T18:43:51 | 116,834,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | h | #pragma once
#include <engine.h>
// Output from a steering behaviour
struct SteeringOutput
{
// Direction of travel
sf::Vector2f direction;
// Rotation of travel
float rotation;
};
// Base class for steering behaviour
class StreeringBehaviour
{
public:
virtual ~StreeringBehaviour() = default;
// Gets the outpu... | [
"40333139@live.napier.ac.uk"
] | 40333139@live.napier.ac.uk |
05f41c3f1aa19c568597eab1b729ab5122ced564 | bdd8150e5113560b7589fd3c9c6a2e19994ce476 | /src/p111.cc | d064bb23789324166abed4e852feef451ed91432 | [] | no_license | qclijun/LeetCode | 1da1db8e886864194bfe9ded2c593971b3ffb768 | 3465ba23d4d3961422f4ff775e978d75981b1bb9 | refs/heads/master | 2020-03-28T15:53:06.467738 | 2018-10-10T23:54:30 | 2018-10-10T23:54:30 | 148,634,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cc | /*
* p111.cc
*
* Created on: 2018年9月6日
* Author: jun
*/
#include "tree.h"
#include "gtest/gtest.h"
#include <algorithm>
namespace p111 {
class Solution {
public:
int minDepth(TreeNode* root) {
if (root == nullptr) {
return 0;
}
return minDepth0(root);
}
private:
int minDepth0(TreeNode* node)... | [
"jun235@163.com"
] | jun235@163.com |
50454a42e0f5b668fd397d629f5951fabc4b479e | 96796bf99ecb822d5f105d2de7085a087980a036 | /Lib/MSPDebugStack/DLL430_v3/src/TI/DLL430/DeviceHandleMSP430.cpp | dce65c4f924aab09e8f060eb1b782a96d710fed1 | [
"LicenseRef-scancode-public-domain"
] | permissive | imammashur/MSPFETSim | bf04152e20c7be3a71b25a18eda2946de5251b3a | 1313eedd83d93687b1ea8d2233cea8470cf86769 | refs/heads/master | 2023-09-02T03:15:27.132271 | 2021-11-14T03:07:00 | 2021-11-14T03:07:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,331 | cpp | /*
* DeviceHandleMSP430.cpp
*
* Communication with target device.
*
* Copyright (C) 2007 - 2011 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are m... | [
"dave@heytoaster.com"
] | dave@heytoaster.com |
16e48330ed959d5f25a42ed40e96e34f18077181 | 056f3f280a1d46ad4787e21f7bec805fb7bad1c4 | /Trimester-VI/DS-II/BFS_DFS.cpp | c09f92b7a1d5ba714af11042ce8f0f8a84436230 | [] | no_license | team-cloud-alpha/CollegeStuff | eb5c55e26db917e075b08cd0a2ca416989e8ad4b | 585aaf6f7b2c746edf4adce749256b94a302350e | refs/heads/master | 2021-07-26T13:03:18.262472 | 2021-01-10T04:49:24 | 2021-01-10T04:49:24 | 235,514,739 | 8 | 8 | null | 2021-01-10T04:49:25 | 2020-01-22T06:42:08 | C++ | UTF-8 | C++ | false | false | 3,908 | cpp | #include <iostream>
#include <vector>
#include <stack>
#include <queue>
#include <algorithm>
using namespace std;
template<class T>
class List {
private:
struct Node {
T data;
Node* next;
};
Node* head;
public:
List(): head(NULL) {}
void push_back(T val) {
if (head == NULL)... | [
"gautam.abhyankar@gmail.com"
] | gautam.abhyankar@gmail.com |
eb3bb6b18d0318eea623d483faa598b44afba16f | f245da1cb54ba7cc1d2daa3548cd37e4b314450d | /Homework/hellrungj-A20/Car.cpp/main.cpp | e958d0afa138b2c6110956f0ca80540a544a2eb1 | [] | no_license | Hellrungj/CSC-236-Data-Structures | e2ab455b1e96ffbe7703325db4f13502409e19dd | 2a9d9e347ee9c697d29aa01f69d258a5002f1735 | refs/heads/master | 2021-01-18T11:53:34.848744 | 2016-04-18T02:11:02 | 2016-04-18T02:11:02 | 56,344,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,480 | cpp | #include"Pedalshift.cpp"
#include"Road.cpp"
#include"Gearshift.cpp"
#include<iostream>
using namespace std;
/*
Author: John Hellrung
Date:
Assignment: Final Project
*/
int main(){
string choice = "";
cout << "Welcome to the Drive Test of your Life!" << endl; //Welcomes the player
cout << "BaHAHAHA!, Anywa... | [
"johnhellrung@yahoo.com"
] | johnhellrung@yahoo.com |
12e13f31fd578beac1f47b89f6c79424eb73a970 | 6c0ccd3e2857cd5fd2941d6335ad77c8946d3a68 | /Engine/source/platformWin32/winDirectInput.cpp | 86bb52bd27fbef56cae2c601f1ed8b62d3d968f9 | [
"MIT"
] | permissive | LuisAntonRebollo/Torque3D | 78dcca3f8b560df065725a099dee8640c2ef3e2d | c29842e8a780ddb1a47edb671f528d7c9177ffc0 | refs/heads/dev_linux_opengl | 2021-01-16T23:01:42.022171 | 2014-02-18T02:19:46 | 2014-02-18T02:19:46 | 5,912,926 | 3 | 0 | null | 2017-01-05T18:11:24 | 2012-09-22T12:36:42 | C++ | UTF-8 | C++ | false | false | 34,997 | cpp | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restrictio... | [
"davew@garagegames.com"
] | davew@garagegames.com |
3364839df302706a44c95c030abf798c0e006b8c | e2bdb179231d5123c636905f173f58654df876c4 | /algorithms/cpp/summaryRanges/summaryRanges.cpp | 876411d5b422d0cdacde88254ab0f06bb03d22f4 | [] | no_license | 410588896/leetcode | ba130c26be38a68d06b80fe7964b2bc874e39f06 | 14abd40fad66ae1585ad1564d8af6124f45eb4b3 | refs/heads/master | 2022-11-14T22:21:02.976222 | 2022-11-06T05:32:02 | 2022-11-06T05:32:02 | 291,714,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | /*
* @lc app=leetcode.cn id=228 lang=cpp
*
* [228] 汇总区间
*/
// @lc code=start
class Solution {
public:
vector<string> summaryRanges(vector<int>& nums) {
int n = nums.size();
int i = 0;
vector<string> res;
while (i < n) {
int low = nums[i];
i++;
... | [
"410588896@qq.com"
] | 410588896@qq.com |
66a794c0f87e794d5c7ee24851b9b4ac5252907c | d0e8bea2976a8e564cd1ba9f6692d2b45999a989 | /src/exercises/03_animation_s/03_solution.cpp | d159ac4d13bf0a7da138610823226cddb5517280 | [] | no_license | TimDarcet/crazyplanets | 112ed4d44d03995cceab72c51eed4f70570741d8 | ba8f2115cd2cfc985b7eb3effab44f805b228aa9 | refs/heads/master | 2020-07-14T04:45:52.265018 | 2019-08-29T20:49:35 | 2019-08-29T20:49:35 | 205,240,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,094 | cpp |
#include "03_solution.hpp"
#include <random>
#ifdef INF443_03_SCENE_SOLUTION
using namespace vcl;
// Generator for uniform random number
std::default_random_engine generator;
std::uniform_real_distribution<float> distrib(0.0,1.0);
float evaluate_terrain_z(float u, float v);
vec3 evaluate_terrain(float u, float ... | [
"timothee.darcet+git@m4x.org"
] | timothee.darcet+git@m4x.org |
afb0d41c0b52d774b3306a3d2b1bac9c6071e5e4 | 4700115f94bc2a8c83ca5349053e9684fc471c29 | /include/RadonFramework/Diagnostics/Debugging/UnitTest/TestResultCollector.hpp | bc8abe75388571373981546d234c24df0f74f8a7 | [
"Apache-2.0"
] | permissive | wangscript/RadonFramework | 5ff29ad5f9a623cd3f4a2cb60ca8ae8fe669647c | 7066779c1b88089d9ac220d21c1128c2cc2163a9 | refs/heads/master | 2020-12-28T23:45:46.151802 | 2015-07-03T18:42:29 | 2015-07-03T18:42:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | hpp | #ifndef RF_DIAGNOSTICS_DEBUGGING_TESTRESULTCOLLECTOR_HPP
#define RF_DIAGNOSTICS_DEBUGGING_TESTRESULTCOLLECTOR_HPP
#if _MSC_VER > 1000
#pragma once
#endif
#include <RadonFramework/Diagnostics/Debugging/UnitTest/Collector.hpp>
#include <RadonFramework/Collections/List.hpp>
namespace RadonFramework { namespace Diagnosti... | [
"thomas@ptscientists.com"
] | thomas@ptscientists.com |
943123afdbc22899a03693f71c7161ada39d9d40 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/inetsrv/msmq/src/lib/inc/automqfr.h | 72f5ef9ad5799e2e3865af92df2d351681b6823b | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 1,322 | h | /*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
snapptr.h
Abstract:
Useful templates for Auto pointer and auto Release
Author:
Nela Karpel (nelak) 14-Jan-01
--*/
#pragma once
#ifndef _MSMQ_SNAPIN_AUTOPTR_H_
#define _MSMQ_SNAPIN_AUTOPTR_H_
//----------------------------... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
4a80f5465441f04ce087ebd1bd177938a0905ba3 | acc54376999891a8f6b3003e9da9ffd2451db161 | /Assignment1/Source/RenderScene.h | e7cd67fe3ae72e6563fc8c4871ac9aa1d6acbec8 | [] | no_license | midskavid/RenderingAlgorithms | ed06f73c75b3d4f862cebd8e50588c4571d8f44b | f4653e698e5507fa326dcfc08faa799069c46138 | refs/heads/master | 2022-10-09T12:33:35.531423 | 2020-06-08T21:43:34 | 2020-06-08T21:43:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | h | #ifndef RENDERSCENE_H
#define RENDERSCENE_H
#include "CoreTypes.h"
#include "Geometry.h"
#include "Scene.h"
class RenderScene {
public:
RenderScene(std::string fileName) : mSceneFileName(fileName), mOutFileName("output.png"), mMaxDepth(4) { }
void ReadFile();
void Render(std::string outFileName);
private:... | [
"midskavid@yahoo.co.in"
] | midskavid@yahoo.co.in |
e12d821b8bff57acad7c1cacc37b2219c5a80e1e | 41d772203dee3172340749995bfbb12d7564d348 | /lib/norms/L2L2.cpp | 57daa6796e4e3bdb2c7c5627910cdf51160603e0 | [] | no_license | thiesgerken/wavepi | d394ae3b1156e4b50afa7ac6226897b945377a42 | 5af37946dcc1910ad1cccdc76d2e2f546eeafec4 | refs/heads/master | 2023-03-21T06:45:25.333474 | 2021-03-10T21:37:37 | 2021-03-10T21:37:37 | 346,441,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,183 | cpp | /*
* L2L2.cpp
*
* Created on: 13.03.2018
* Author: thies
*/
#include <deal.II/numerics/vector_tools.h>
#include <norms/L2L2.h>
using namespace dealii;
namespace wavepi {
namespace norms {
template <int dim>
double L2L2<dim>::absolute_error(const DiscretizedFunction<dim>& u, Function<dim>& v) {
auto mes... | [
"thies@thiesgerken.de"
] | thies@thiesgerken.de |
a4cda8ba7e53d3b7223c058e662144ee4a9bd443 | a1a9256e091cb1167876c7a4fb2a90641cfd558d | /Obstacles.cpp | 4648d2bf84de8ec6ff20548d7ed542be64fcbf2f | [] | no_license | WLafleur07/InfiniteRunner | 8c0fdd28decec950dbf96e30b8e2199d5f61979d | 3d18316ca82889f6c7a987c1beca0c13c9179717 | refs/heads/master | 2022-04-18T00:22:10.049775 | 2020-04-11T16:13:56 | 2020-04-11T16:13:56 | 254,904,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,973 | cpp | #include "Obstacle.h"
#include <string>
using namespace std;
Obstacle::Obstacle() {
}
Obstacle::Obstacle(string s, int x = 0, int y = 0, int vx = 0, int vy = 0)
{
imagename = s;
position.x = x;
position.y = y;
velocity.x = vx;
velocity.y = vy;
loaded = false;
}
int Obstacle::loadPlayer(SDL_Renderer *renderer... | [
"williamlafleur@hotmail.ca"
] | williamlafleur@hotmail.ca |
2f7b5d0e358073d57c2d2c3f60fd555817e9830a | 553615558b7a5296fc2b7e455c193e92a4523ce6 | /SPH_LIB/GridContainer.h | 5291e78a73de0c0dc8ffa56c36588f821ed153d8 | [] | no_license | rsmars/Fluid | df3238e4db734a0d08ffc4b7db441c33be760d65 | 1ed3a867131da38ef65d1f8712e4b81794a15a34 | refs/heads/master | 2021-01-11T04:08:48.215314 | 2016-12-23T06:32:33 | 2016-12-23T06:32:33 | 71,215,395 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 926 | h | #pragma once
#include "FluidSdx.h"
#include "FluidPoint.h"
#include <unordered_map>
#include <unordered_set>
namespace SPH{
class GridContainer{
public://method
void init(const Box& box, float sim_scale, float cell_size, float border);
void insertParticles(PointBuffer&);
void insertParticlesSampling(PointBuffer... | [
"rsmars.it@gmail.com"
] | rsmars.it@gmail.com |
4e49084eb40ce69671b33b7b5a7f459ace4f7ddd | 967868cbef4914f2bade9ef8f6c300eb5d14bc57 | /Object/Handler.hpp | 7f8b6de0d7d249e20b8c16889d25540d3fe61920 | [] | no_license | saminigod/baseclasses-001 | 159c80d40f69954797f1c695682074b469027ac6 | 381c27f72583e0401e59eb19260c70ee68f9a64c | refs/heads/master | 2023-04-29T13:34:02.754963 | 2009-10-29T11:22:46 | 2009-10-29T11:22:46 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,024 | hpp | /*
© Vestris Inc., Geneva, Switzerland
http://www.vestris.com, 1994-1999 All Rights Reserved
______________________________________________
written by Daniel Doubrovkine - dblock@vestris.com
*/
#ifndef BASE_HANDLER_HPP
#define BASE_HANDLER_HPP
#include <platform/include.hpp>
#include <O... | [
"dblock@dblock.org"
] | dblock@dblock.org |
b1e6944eb0d710a2322ceaf6afc4b0e4579ee5bd | 6bc0a6a6c8a93a0d6827f1717dfa1a0be2666da9 | /tools/seec-view/LocaleSettings.hpp | be039c9084591aa93f4638e464d7eff99719933c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mheinsen/seec | 1bcf98c6376ed9215cd79e1f02704a3958120442 | 4b92456011e86b70f9d88833a95c1f655a21cf1a | refs/heads/main | 2021-01-24T06:35:06.007131 | 2020-05-30T01:02:35 | 2020-05-30T01:02:35 | 5,106,293 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | hpp | //===- tools/seec-trace-view/LocaleSettings.hpp ---------------------------===//
//
// SeeC
//
// This file is distributed under The MIT License (MIT). See LICENSE.TXT for
// details.
//
//===----------------------------------------------------------------------===//
///
/// \file
///... | [
"mheinsen@iinet.net.au"
] | mheinsen@iinet.net.au |
0f2a298f49efe1767c2cd91c93aba9913c36d778 | 9b8271d8d84b82c1f6c0f03212103e2ec1f550c3 | /src/drawing.cpp | c361d3aaf0509ce8958218c62bf7774bcd099c72 | [
"MIT"
] | permissive | tengelmann/esp_p10_tetris_clock | 06adedd928f724f332837f02cae8759606034027 | 558c66da756f63601c4b960326fe94ec4c230de3 | refs/heads/master | 2020-03-23T03:36:07.395009 | 2018-07-15T15:47:59 | 2018-07-15T15:47:59 | 141,038,943 | 0 | 0 | MIT | 2018-07-15T15:40:04 | 2018-07-15T15:40:03 | null | UTF-8 | C++ | false | false | 10,898 | cpp | #include <Arduino.h>
#include <inttypes.h>
#include "drawing.h"
#include "numbers.h"
// *********************************************************************
// Helper function that draws a letter at a given position of the matric in a given color
// ******************************************************************... | [
"tengelmann@ENGELMANN.LAN"
] | tengelmann@ENGELMANN.LAN |
b3c51787ae894c75022ae70fbd6ca1ac765fbf3e | d4789dc11c2772185fa5bead9da75b4fb0ae655c | /AK/FlyString.cpp | c537ac14e6e5c2b09464afc1f06c6941075f4c41 | [
"BSD-2-Clause"
] | permissive | emilio/serenity | 56b2c78aa0067e1bb103a2f7bc67acb199889314 | ce0bed048277ee41ba09cb41f5961b11003840d0 | refs/heads/master | 2022-06-06T08:49:02.002745 | 2020-05-02T15:01:09 | 2020-05-02T17:21:50 | 260,748,645 | 1 | 0 | BSD-2-Clause | 2020-05-02T18:22:37 | 2020-05-02T18:22:37 | null | UTF-8 | C++ | false | false | 3,801 | cpp | /*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
* 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 notice, t... | [
"kling@serenityos.org"
] | kling@serenityos.org |
459f934428d59e575b642fe779f147d36962da11 | 78dc9f153549b281be709227bc9897931b06260d | /generation/WinSDK/Partitions/XpsPrinting/main.cpp | a757ea191d42677d91973a5680eb252a845a8928 | [
"MIT"
] | permissive | microsoft/win32metadata | dff35b4fe904d556162cee5133294c4498f1a79a | 5bf233f04d45f7a697e112e9639722551103eb07 | refs/heads/main | 2023-09-01T19:51:22.972899 | 2023-08-30T21:39:44 | 2023-08-30T21:39:44 | 270,838,404 | 1,240 | 107 | NOASSERTION | 2023-09-14T18:49:44 | 2020-06-08T21:52:10 | C++ | UTF-8 | C++ | false | false | 192 | cpp | #define SECURITY_WIN32 // For sspi.h
#define QCC_OS_GROUP_WINDOWS
#include "intrinfix.h"
#include "windows.fixed.h"
#include <sdkddkver.h>
#include <xpsprint.h>
#include <documenttarget.h>
| [
"mbattist@microsoft.com"
] | mbattist@microsoft.com |
a92955889eb9fd6d0c8eaddfadb976575d2e6a0c | c80b50b7e2ea38087af6b78e8f096b14530daec0 | /AutoStack/main.cpp | 65cce00f6cc982419a5490109b8e761b98c425b5 | [] | no_license | fd3kyt2/cpp | ab22f0613470e51d3297e0a33fc564c9721fb6d8 | 3b816cb689492ea7d04e721faffae144fe1f1a26 | refs/heads/master | 2021-01-24T20:41:46.838717 | 2014-06-02T01:12:25 | 2014-06-02T01:12:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 831 | cpp | /*
* main.cpp
*
* Created on: 2013年9月30日
* Author: FD3
*/
#include "AutoStack.h"
#include <stdlib.h>
#include <windows.h>
int main(){
AutoStack as;
// int temp;
// for(int i=0;i<5;i++){
// cin>>temp;
// as.push(temp);
// }
// for(int i=0;i<7;i++){
// cout<<as.pop()<<" ";
// }
//调试1
/*
as.goThrough(... | [
"fd3kyt@gmail.com"
] | fd3kyt@gmail.com |
f5b48df207a342d3295cc4dfa1e1f155d56be17f | f3b62ea2645cac034ff6d300ece928a64a166b6a | /1550.Three_Consecutive_Odds.cpp | 2e75424d028e8a64057d55591ddbc74d54c9c1db | [] | no_license | Robertyaya/LeetCode | 2e7aca110962f9dc03d8be0ad4f1541f67aa7272 | 7668276e57727d932334ebb878a4d23f87d61384 | refs/heads/master | 2022-12-29T21:13:58.205769 | 2020-10-04T09:25:18 | 2020-10-04T09:25:18 | 272,374,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | /**
* Contest 202
* Time: O(N), Space: O(1)
*/
bool threeConsecutiveOdds(vector<int> &arr)
{
int count = 0;
for (auto v : arr)
{
if (v % 2 == 0)
count = 0;
else
count++;
if (count == 3)
return true;
}
return false;
}
| [
"yangyangningfan@gmail.com"
] | yangyangningfan@gmail.com |
af2f6d8cbf52c043ffff886a241f6cdbd5ced4e1 | bed0c5fdcf47f5eaf7f98fd48a0d6af81235094e | /ork.core/inc/ork/misc_math.h | 66850dc3fbd84e5e5013146e14540e54d7448e75 | [
"CC-BY-4.0",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tweakoz/zed64 | 044aa4b10476031fcf615681db7f250abcc7603f | c0231444418999191182d53d9319bf7978422bfb | refs/heads/master | 2021-05-04T18:02:05.510849 | 2019-03-03T09:21:27 | 2019-03-03T09:21:27 | 24,151,704 | 4 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 9,429 | h | ////////////////////////////////////////////////////////////////
// Orkid Media Engine
// Copyright 1996-2012, Michael T. Mayers.
// Distributed under the Boost Software License - Version 1.0 - August 17, 2003
// see http://www.boost.org/LICENSE_1_0.txt
/////////////////////////////////////////////////////////////... | [
"michael@tweakoz.com"
] | michael@tweakoz.com |
e3dbf43b231251e0a4f1b66ce0bc00090d7cdb1f | 342e026a7b921003f8f3b3e3e1e8304b478f45d0 | /HackBookCode64/Charp3/BackDoorDll/StdAfx.cpp | 429a108a10766f2e95534ab2228d693e405b166a | [] | no_license | Jasey/hook | b62b22fa562272483382ab8a23e7b02c539e13f0 | e7af50003c5fdd35cb358dfc2105dc31ad9da18f | refs/heads/master | 2021-01-01T17:07:49.875590 | 2018-02-07T13:08:46 | 2018-02-07T13:08:46 | 98,004,529 | 15 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | // stdafx.cpp : source file that includes just the standard includes
// BackDoorDll.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"hufangjie@meituan.com"
] | hufangjie@meituan.com |
26a7324e6049b1b5887dc8bd1b1b928a1837c3c2 | c94e3cecdf6c925f92acc69ee0ff4e6528837f5f | /src/MidiParameterNumberMessageParser.cpp | 09f6229f6d163b1ba5c3c052a78fb41779b83616 | [
"MIT"
] | permissive | paul-reilly/helgoboss-midi-cpp | e10390eba51d317951b9d17f3a1af8f31fdaf622 | 0cec044a9ef6e5f39b23e55f6a21af6b37b81a08 | refs/heads/master | 2023-05-27T17:23:50.797069 | 2023-05-20T18:06:12 | 2023-05-20T18:06:12 | 272,499,328 | 0 | 0 | MIT | 2020-06-15T17:13:50 | 2020-06-15T17:13:50 | null | UTF-8 | C++ | false | false | 2,817 | cpp | #include <helgoboss-midi/MidiParameterNumberMessageParser.h>
#include "midi-util.h"
namespace helgoboss {
MidiParameterNumberMessage MidiParameterNumberMessageParser::feed(const MidiMessage& msg) {
return parserByChannel_[msg.getChannel()].feed(msg);
}
void MidiParameterNumberMessageParser::reset() {
for... | [
"benjamin.klum@helgoboss.org"
] | benjamin.klum@helgoboss.org |
83860c57138d6427e8178cb58da7e54d89d5c8f7 | 6a69d57c782e0b1b993e876ad4ca2927a5f2e863 | /vendor/samsung/common/packages/apps/SBrowser/src/ash/shelf/shelf_window_watcher_item_delegate.cc | fcae1afa018d74f9f209f4a3d4f23849a0fd6bcb | [
"BSD-3-Clause"
] | permissive | duki994/G900H-Platform-XXU1BOA7 | c8411ef51f5f01defa96b3381f15ea741aa5bce2 | 4f9307e6ef21893c9a791c96a500dfad36e3b202 | refs/heads/master | 2020-05-16T20:57:07.585212 | 2015-05-11T11:03:16 | 2015-05-11T11:03:16 | 35,418,464 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | cc | // 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.
#include "ash/shelf/shelf_window_watcher_item_delegate.h"
#include "ash/shelf/shelf_model.h"
#include "ash/shelf/shelf_util.h"
#include "ash/shell.h"
#in... | [
"duki994@gmail.com"
] | duki994@gmail.com |
6b798c9571f5df6339c5c0352dcc9e2ac5ceb69e | 7f862dd2220b997de75069d81499a13512998c8a | /Multiple of 11-10929/main.cpp | 28423bce48cec92715e8172154097402c78ef7a8 | [] | no_license | l30n13/Solved-ACM-Problems | f0c182f5de0fab4324b81e4082c2615372402d7b | 43ad6afd95dbc20f1de85ff60ad6fa11493231f4 | refs/heads/master | 2020-05-18T08:50:20.546453 | 2015-05-13T20:38:18 | 2015-05-13T20:38:18 | 35,572,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cpp | #include<stdio.h>
#include<string.h>
int main()
{
char input[1500];
long long int i,l,odd_sum,even_sum,equal;
while(scanf("%s",input)==1)
{
l=strlen(input);
if(input[0]=='0'&&l<=1) break;
odd_sum=0;even_sum=0;
for(i=0;i<l;i++)
{
if(i%2==... | [
"mrtonmoy12@gmail.com"
] | mrtonmoy12@gmail.com |
2035a97d3d7035f2de09bee4e0a3da10ed909788 | 6fa54c68778d2f47ef7c7b4a426991cde2d68261 | /Constructor_1/stdafx.cpp | 85f130233d49fbe3fb12a97975d4939908c026e9 | [] | no_license | zpeng/learn-cplusplus | 2cd24583bac79425b7541a83be6201f6ab5775b6 | 8390e514421f6404006cab7dd46ef2329d0d0d55 | refs/heads/master | 2021-04-03T10:28:34.010354 | 2018-05-29T09:49:23 | 2018-05-29T09:49:23 | 124,957,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Constructor.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"zpeng@factset.com"
] | zpeng@factset.com |
ac11e463797cdfc425c6257d819661b8e14a17f4 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/core/select/residue_selector/GlycanSequonsSelector.fwd.hh | 68b80ececd1fa54e5502d05a79c689ebfa0e8f68 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.