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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9e7684c2d9877c71d21d3d0f6925fdc35312a3d8 | 7abbbef9590f9c4b9469adcbae5ea8907478bf03 | /chromium_git/chromium/src/components/browser_sync/browser/profile_sync_service_mock.h | 41df3eae2c8250e87b979f4901645094ad946f0b | [
"BSD-3-Clause"
] | permissive | GiorgiGagnidze/CEF | 845bdc2f54833254b3454ba8f6c61449431c7884 | fbfc30b5d60f1ea7157da449e34dd9ba9c50f360 | refs/heads/master | 2021-01-10T17:32:27.640882 | 2016-03-23T07:43:04 | 2016-03-23T07:43:04 | 54,463,340 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,641 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
#define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
#include <s... | [
"ggagn12@freeuni.edu.ge"
] | ggagn12@freeuni.edu.ge |
52389984d14f214068f483fcd84115499d49c69f | 658c31eec5b1ed614a5e65361a58ee5c95a07310 | /a0/linkedlist.hpp | 9cc3a7ebc054e41888d3c3b4630d444c90b1eb59 | [] | no_license | yuxinyuan/COMP2012H | b01079b8d8a178b23b643006e2f79db2d93be214 | 64344e00d92f14d0f9f29badf75b751f5a39ab44 | refs/heads/master | 2020-05-19T09:40:40.279723 | 2015-09-10T15:00:33 | 2015-09-10T15:00:33 | 42,187,804 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,527 | hpp | /**
* \file linkedlist.hpp
*
* Encapsulates an abstract interface layer for a sequence ADT,
* without using member functions. Makes no assumptions about what
* kind of concrete type Cell will be defined to be.
*/
#ifndef LINKEDLIST_HPP
#define LINKEDLIST_HPP
#include "linkedlist_internals.hpp"
/**
* \brief Si... | [
"xyuaj@connect.ust.hk"
] | xyuaj@connect.ust.hk |
fa8b49d2810e2cf80dc6c821053aef8b609fd120 | be5ef0b58f898976be76fc69c23b53996d266e33 | /Proyecto_Algoritmos/RestriccionData.h | c75c7a0d0608da1fbf3953db1e6ecc95a04821e0 | [] | no_license | cristianhdz25/ProyectoFinalAlgoritmos | 52b6c64ebf4cd3499b353f43e98a4e694c5f9fe7 | 93056c8df83830c3e3d4f133ad1ccd0dca8a1f1a | refs/heads/master | 2022-11-17T06:18:00.849779 | 2020-07-03T17:08:14 | 2020-07-03T17:08:14 | 271,637,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | h | #ifndef RESTRICCIONDATA_H
#define RESTRICCIONDATA_H
#include "Pais.h"
#include <vector>
class RestriccionData {
public:
static RestriccionData* getInstance();
RestriccionData();
void initRestriccion();
void registrarRestricciones(Pais* pais);
void setRegistroRestricciones(vector<Pais*> registroRe... | [
"danits252016@gmail.com"
] | danits252016@gmail.com |
0cae8e098c77de022cf7f05c09ddbb18d896d770 | 49b799fef3b6a53ae7773ff40b6172cd49bfc4b7 | /demo1/Maths.h | a4eebbdfccaf9d55a2dd3784479bb4ca4037a833 | [] | no_license | kellyelton/LeeAnn | f7fc71f1a24135977779f98a4e599ac5c35426d0 | c7cecef4924d3f2e6e9288d4a7d6e9c73a0c5107 | refs/heads/master | 2021-01-01T05:47:34.018488 | 2012-07-26T16:39:19 | 2012-07-26T16:39:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | h | #pragma once
class Maths
{
public:
struct Position
{
float X;
float Y;
Position():X(0),Y(0)
{
}
Position(float x, float y):X(x),Y(y)
{
}
Position &operator+=(const Position &rhs)
{
X += rhs.X;
Y += rhs.Y;
return *this;
}
};
static void Clamp(double &arg, dou... | [
"kelly.elton@skylabsonline.com"
] | kelly.elton@skylabsonline.com |
2e150c2c6acd15a5b4a2d340360db81260bdd0f1 | 79e1fa1d614a4422f3faeab01f1fdaf4da9a2da3 | /stats.cpp | 319a334b180a2e0a5af93a357808c3530cc7667b | [] | no_license | swapnilh/maze-for-programmers | a87c77670c61567305624d24b1f8ce9b08dd82ef | 1fdaec0bee602a596231045ed6768d7589be46d8 | refs/heads/master | 2020-06-09T23:33:13.129528 | 2019-07-09T22:18:06 | 2019-07-09T22:18:06 | 193,528,257 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | cpp | #include <iostream>
#include <chrono>
#include <vector>
#include <cassert>
#include "maze.hpp"
#include "maze_generator.hpp"
#include "binary_tree.hpp"
#include "sidewinder.hpp"
#include "dijkstra.hpp"
#include "aldous_broder.hpp"
#include "hunt_and_kill.hpp"
#include "recursive_backtrack.hpp"
constexpr auto GRID_DIM ... | [
"swapnilster@gmail.com"
] | swapnilster@gmail.com |
e530dfe2338449d6dd4800dc98482b7cade532cc | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/WebKit/public/platform/WebScrollbarBehavior.h | 655c01f1a79ab8b07bc55dfc985f8a9525b7c6f0 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 854 | h | // 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.
#ifndef WebScrollbarBehavior_h
#define WebScrollbarBehavior_h
#include "WebPointerProperties.h"
namespace blink {
struct WebPoint;
struct WebRect;
cla... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
3938635d5a1108a67c0553f6521ce22f28881652 | 3d5e097599e1a3996ec66e366902a9af8abb36dc | /src/utils/fileIO.hxx | d2f6e38670b1999016dd26c2c24888ffb3d02213 | [] | no_license | Tecelecta/HIP-GSWITCH | 4831fec64d84b20f23c30b943423a61a4be4e241 | c1890201197f5bc57eff260a5936198843a3d6c5 | refs/heads/master | 2020-04-26T23:03:11.652855 | 2019-04-04T14:28:54 | 2019-04-04T14:28:54 | 173,890,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,041 | hxx | #ifndef __FILEIO_H
#define __FILEIO_H
#include <hip/hip_runtime.h>
#include <type_traits>
#include <iostream>
#include <fstream>
#include <vector>
#include <limits>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include... | [
"lmy@ncic.ac.cn"
] | lmy@ncic.ac.cn |
df471705f987fd5c64c2eba9e49a58e362221f6f | 30ec2372ac36d40f4557c5f39cb606452e6e6bf5 | /StRoot/StVecBosAna/VecBosEventInfo.h | a80b3900bf3dfc627c74fc2d284111d280946c89 | [] | no_license | yfisyak/star-sw | fe77d1f6f246bfa200a0781a0335ede7e3f0ce77 | 449bba9cba3305baacbd7f18f7b3a51c61b81e61 | refs/heads/main | 2023-07-12T01:15:45.728968 | 2021-08-04T22:59:16 | 2021-08-04T22:59:16 | 382,115,093 | 2 | 0 | null | 2021-07-01T17:54:02 | 2021-07-01T17:54:01 | null | UTF-8 | C++ | false | false | 2,986 | h | #ifndef VecBosEventInfo_h
#define VecBosEventInfo_h
#include "Globals.h"
/**
* A simple structure to keep track of the basic information about the barrel EMC detector signals.
* This class has been inherited from the Run 9 analysis of the longitudinal asymmetry and contains
* mostly transient data.
*/
class DetE... | [
"fisyak@bnl.gov"
] | fisyak@bnl.gov |
fcd6a877b0c375aa3695c23dc124c0ff47f36f82 | 260eea6bebbd75f073d51e85e26b4da7c8334a5b | /sample/libdetect_t_bak2/blackboard_detect.h | d7245073694925000618ad46b95bf1c24133b401 | [] | no_license | lidongliangfly/3516a_sample | 19bb23713673f361114ce40a902c1011b94fb3e0 | 9f31644be03a5cd28a86b9dd855865bc31df5c27 | refs/heads/master | 2021-01-17T04:27:27.722677 | 2016-05-09T09:37:13 | 2016-05-09T09:37:13 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,180 | h | #pragma once
#ifndef _blackboard_detect_h_
#define _blackboard_detect_h_
#include<opencv2/opencv.hpp>
#include<time.h>
#include "../libkvconfig/KVConfig.h"
using namespace cv;
using namespace std;
class BlackboardDetecting
{
public:
BlackboardDetecting(KVConfig *cfg);
~BlackboardDetecting(void);
... | [
"root@Ubunut10.04"
] | root@Ubunut10.04 |
51cdf4775ddf851ea430dac441bf1d28e7f38929 | 9fd62754099fc3694afc504a81d327891cb808b9 | /0283.cpp | 5c9c3461c113c1267bb572255c33f1416fe0ca04 | [] | no_license | a1pamys/acmp | 2335f1e801647b25a68b9bfbae044f589aeae8e3 | 4f8b6af20ec6c737c4af07c67843a1cd21453328 | refs/heads/master | 2020-03-10T16:10:17.812635 | 2018-08-02T15:03:01 | 2018-08-02T15:03:01 | 129,466,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | cpp | #include <stdio.h>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cmath>
using namespace std;
int main() {
string str;
getline(cin, str);
int len = int(str.length()), ctr=0, cps=0;
bool sml = false;
if(len < 2 || (str[len-1] >= 'A' && str[len-1] <= 'Z')... | [
"alpamys.duimagambetov@nu.edu.kz"
] | alpamys.duimagambetov@nu.edu.kz |
3faf77325ca55bdc9a8766d67025ad291b73aa2b | 54defce7b46332cca54b5904463eb3923ba00bb1 | /Integer_21_завдання.cpp | 150ea8174c2d8aad0b7319ccb28bd63aec74ea3e | [] | no_license | AlinaUrOk/Lesson4_Chornaya | 47f8f686f758e15b43fb99bd176536fd0e9193a6 | 3d6ba8dbd2212846c28d8795f9f868a9b0ff6b81 | refs/heads/main | 2022-12-25T14:15:18.304045 | 2020-10-05T00:05:59 | 2020-10-05T00:05:59 | 301,252,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | // Integer_21_завдання.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
/*Integer21. С начала суток прошло N секунд (N — целое). Найти количество се-
кунд, прошедших с начала последней минуты.*/
int main()
{
int N = 8767543;
int C ... | [
"noreply@github.com"
] | noreply@github.com |
5f5413d1da6099624ee85d033c4dfe440b9b41ef | 76d9f3eaeb8b3a121a4bf684ca397547ca8768d0 | /arraydb/src/Compressor.cpp | 55f44168985edde1ad55db980f62d495170b73d6 | [] | no_license | chengchen09/tsh_project | 6f7982eef1509a4344e2150a2f8f7d6adc50750e | bb2c1072a201af2c1f70045986a2dde9d4fda8ab | refs/heads/master | 2020-04-23T21:54:05.200738 | 2012-06-27T08:55:49 | 2012-06-27T08:55:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,206 | cpp | /***********************************************************************
* Filename : Compressor.cpp
* Create : XXX 2012-03-06
* Created Time: 2012-03-06
* Description:
* Modified :
* **********************************************************************/
#include <zlib.h>
#include <LzmaLib.h>
#include "Compressor... | [
"bus@supernode.(none)"
] | bus@supernode.(none) |
35ebe38a460245337cbcfaa2ff24d736eb5354e6 | f7024a61e980f026a557b80fb7b064a14a631699 | /src/Rover3D_On_TriangleMesh/MechTests/TrMechTest1/src/Rover3DWheelFixedTriangleR.cpp | 77614b95ae48c823d6a42cfdd8cc1093d3788787 | [] | no_license | siconos/rover | b3c5ad566d071a4fc2f14451b57b3cb9b6eff543 | 60bd2ae0658d166b8124ff3d3bac020c737c8312 | refs/heads/master | 2021-01-21T23:16:30.523546 | 2017-06-23T14:40:38 | 2017-06-23T14:40:38 | 95,217,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,532 | cpp | /* Siconos-Example version 3.0.0, Copyright INRIA 2005-2010.
* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
* Siconos is a free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free ... | [
"vincent.acary@inria.fr"
] | vincent.acary@inria.fr |
034da379cc8d853ab740777c118d19f8065c8bbe | 84b42092f4d5e58a77f73dd6829b427697143c53 | /projectmiddle.ino | 04468b12cca1744fa3d89cc31294771affeff16c | [] | no_license | asv0018/S3-Shock-Secures-Shop | e00d84ba8fe8787f7ba4578469912116a02565a1 | dbcd266b16fd8c0d77be07852dd71c851ce818b6 | refs/heads/master | 2022-06-19T20:26:00.160149 | 2020-05-01T14:02:37 | 2020-05-01T14:02:37 | 260,472,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,891 | ino | #include<SoftwareSerial.h>
SoftwareSerial gsm(2,3);//Tx,Rx;
//pinmode declarations//
#define irswitch A0
#define shock A1
#define led 4
/////contact number credentials/////
char contactnumber="7795330913";
int i=0;
int s=0;
int ii=0;
int var;
void setup(){
pinMode(irswitch,INPUT);
pinMode(shock,OUTP... | [
"noreply@github.com"
] | noreply@github.com |
3cc4f002dc5f1c52bb5b43eb614daabf3dc2d4b5 | e65e6b345e98633cccc501ad0d6df9918b2aa25e | /Codeforces/Regular/461/F.cpp | 1addabd84bf62358a4c320ac35efdd45de42c678 | [] | no_license | wcysai/CodeLibrary | 6eb99df0232066cf06a9267bdcc39dc07f5aab29 | 6517cef736f1799b77646fe04fb280c9503d7238 | refs/heads/master | 2023-08-10T08:31:58.057363 | 2023-07-29T11:56:38 | 2023-07-29T11:56:38 | 134,228,833 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,494 | cpp | #include<bits/stdc++.h>
#define MAXN 300005
#define MOD 1000000007
#define INF 1000000000
#define F first
#define S second
using namespace std;
typedef long long ll;
typedef pair<int,int> P;
int prime[MAXN],d[MAXN];
bool is_prime[MAXN];
bool remov[MAXN];
vector<P> ans;
bool cmp(P x,P y)
{
if(x.F!=y.F) return x.F>y.... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
e0c55062b51269c618210a142760c2dc6fa3ed8b | 52fa4e449cd1cd6ddbdf82ed89f581bda5ce250f | /스택(배열).cpp | 7cdd50c136603abdd2b84e990154545f9c547b83 | [] | no_license | lifeainteasy/data-structment-with-dsm | 0b07464567b94f08a7fbcce75af6df7f6aa500aa | df1a485b803498eec7e8843081c7fff47b97c22c | refs/heads/master | 2023-02-06T00:26:32.694694 | 2020-12-29T14:46:09 | 2020-12-29T14:46:09 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,606 | cpp | #include <stdio.h>
int stack[10] = {0,};
int top = -1;
void pop(){
stack[top--] = 0;
printf("현재 TOP의 위치(pop 됨) : %d\n",top);
}
void push(int value){
if(top == 10){
printf("스택이 가득 찼습니다.\n");
return;
}
stack[++top] = value;
printf("현재 TOP의 위치 (push 됨) : %d\n",top);
}
int main(){
push(1);
for(int i... | [
"zofqofhtltm2@gmail.com"
] | zofqofhtltm2@gmail.com |
32db4b5b0a5c3d920bad3b28bf3e3600f3a8e832 | 6f1af84c34d01db2eb4e3d815c2139824c53635f | /save editor/SS_SaveEditor/src/preferencesdialog.cpp | c4fe6bbee4ddf4256442acfe5db31c0fa15fac89 | [] | no_license | goldlord5567/skyward-sword-save-editor | 5feac30880b4516917d80c91d595e7449da94c1d | 921d9c9f94cad070b3718bf630750caca6a5efa4 | refs/heads/master | 2021-01-10T10:53:35.237197 | 2013-07-20T20:58:45 | 2013-07-20T20:58:45 | 52,488,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,192 | cpp | // This file is part of WiiKing2 Editor.
//
// WiiKing2 Editor is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Wiiking2... | [
"antidote.crk@gmail.com"
] | antidote.crk@gmail.com |
69daa9be32da459dd1b0ce024768b26ae097066e | 9c1971ad1e4ba01d7177a8e63fbb67203a0a03df | /problems/1552/solution.cpp | 33082dd3a74091197cb750c7edd6814317817ee8 | [] | no_license | virtyaluk/leetcode | cb5a7d0957be353125861b1b9d41606f4729248a | 2a1496e5deaf45b28647e713a82b1f5b456888fa | refs/heads/master | 2023-07-07T16:52:23.152194 | 2023-06-24T00:50:09 | 2023-06-24T00:50:09 | 166,505,868 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | class Solution {
public:
int maxDistance(vector<int>& position, int m) {
sort(begin(position), end(position));
int lo = 0, hi = position.back() - position.front();
while (lo <= hi) {
int mid = lo + (hi - lo) / 2;
if (count(position, mid) >= m) {
... | [
"bohdan@modern-dev.com"
] | bohdan@modern-dev.com |
74b254230f40eb28bcf27c2fab5e52d23f331ed4 | 26ad4cc35496d364b31396e43a863aee08ef2636 | /SDK/SoT_Proposal_Merchant_Rank05_CargoRun_Extra_03_functions.cpp | ddd43f063cabf3a5fa841a8c4c3dd16675c05845 | [] | no_license | cw100/SoT-SDK | ddb9b19ce6ae623299b2b02dee51c29581537ba1 | 3e6f12384c8e21ed83ef56f00030ca0506d297fb | refs/heads/master | 2020-05-05T12:09:55.938323 | 2019-03-20T14:11:57 | 2019-03-20T14:11:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | // Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_Proposal_Merchant_Rank05_CargoRun_Extra_03_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
3dcb09d356b89c2da51e9c5c8049441ea19c2dc4 | d4025cc783199abbd53c9cf7155328f6a4819676 | /codepro/0714_FireFighting.cpp | bb5773f26604996ab0a3f6a042457e9a76a9c295 | [] | no_license | zwondd/Algorithm | da4522549dac385fa7c06869cb5f85d45483eced | 1d5721575011fcd22d817e9d77f21b23b4a9834e | refs/heads/master | 2023-01-22T00:05:55.212033 | 2023-01-15T03:22:10 | 2023-01-15T03:22:10 | 161,338,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,621 | cpp | #include <stdio.h>
#include "./lib/DroneController.h"
POS sensorTable[8] = { { 0,0 },{ 1,10 },{ 2,6 },{ 4,1 },{ 5,5 },{ 6,10 },{ 7,8 },{ 8,2 } };
/**
* drone.h에는 대략적으로 아래와 같이 구현된 함수의 정의가 있다.
* 구현 참고용이므로 본 주석을 풀어서 아래 코드를 사용해서는 안된다. (drone.h에 포함된 내용임)
* 아래 주석을 해제하여 사용하는 경우 정상적으로 동작하지 않는다.
*/
/**
* (y, x) 좌표를 표현하는 자료... | [
"zwondd@gmail.com"
] | zwondd@gmail.com |
fbe3c85679da33ed53624a5ae9acf0291126efc3 | 3b1235ad1883d4a2daeb6cbbe26a3f032aafc716 | /TSieve.cpp | a7582e2da48771807ebcf741e7000e518ac3894b | [] | no_license | Torukai/eratosfen | 01269ce75be9ee41e9791eecccd0f54bb5cb93e2 | 0a6095f56bd4b32c038eaf057a4bbca30f34e762 | refs/heads/master | 2020-05-07T11:09:08.997477 | 2019-04-09T21:03:54 | 2019-04-09T21:03:54 | 180,449,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | cpp | #include "TSieve.h"
BitField sieve(const BitField& inpBF)
{
BitField outBF(inpBF);
outBF.unload_bit(0);
unsigned int startBit = 2;
while ( startBit < (outBF.size() / 2 + 1 ) )
{
if (outBF.getBit(startBit) )
{
int pos = startBit;
while ( pos < outBF.size() )
{
pos += startBit;
i... | [
"noreply@github.com"
] | noreply@github.com |
7af0f5084f9097a08485f78b9a382e68161121ea | 75b947e6a2a15385cf1d14c47e4ea3277c26e987 | /LinuxC/day13/exam05/main.cpp | 964dcdccc6ce77a27af434154f0c7ce26f109bc6 | [] | no_license | fsxchen/CppStudy | 828490de9841fd6299c7e19da41ebbc56568584a | 9c33be2eb75d4238f803c8cfbc0b7f6d01487be4 | refs/heads/master | 2021-01-19T02:17:36.849741 | 2016-12-29T09:27:30 | 2016-12-29T09:27:30 | 26,864,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include <QApplication>
#include <QTextCodec>
#include "logindlg.h"
int main(int args, char **argv) {
QApplication app(args, argv);
QTextCodec *codec = QTextCodec::codecForName("utf-8");
QTextCodec::setCodecForTr(codec);
LoginDialog dlg;
dlg.resize(400, 300);
dlg.setVisible(true);
return a... | [
"fsxchen@gmail.com"
] | fsxchen@gmail.com |
05c708b08f86bedadb802fbde2b99bf7c675fd63 | 4a04f529f8c7f66e40b2bf556bd67ee9dcb403dd | /Classes/Model/Hero.h | 59dc0ee00f941bd7f2b728f41380e28b2dfbb975 | [] | no_license | woodpecker-3/bear-game | 961bd02dd0dbfb5bd2d0f11902d6a896ffb5083e | 7d5b59f40a3d1dc851bbb0c066158a8141cfad6d | refs/heads/master | 2021-01-23T15:29:10.705021 | 2014-08-18T07:01:51 | 2014-08-18T07:01:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | h | #ifndef _HERO_H_
#define _HERO_H_
#include "cocos2d.h"
#include "Box2D/Box2D.h"
#define NUM_PREV_VELS 5
class Hero :
public cocos2d::CCNode
{
public:
enum
{
kHeroState_invalid = -1,
kHeroState_normal = 0,
kHeroState_belly,
kHeroState_dead
};
Hero();
~Hero();
static Hero* create(b2World* world);
bool... | [
"nolan.hee@gmail.com"
] | nolan.hee@gmail.com |
07d6a4723acdbfa001a841f6d3cd29251818d74a | 91bcf486e229ad67b2ff6dcbb99d071768fafbf9 | /source/hud.h | 81b46ec66539c202afdc87ee06ff523d2e8e7d48 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | Dessimat0r/ReboundDS | 4f2f5f83705180cd26f47634884f45333379aa8a | 87d42b5b92b74dbef55f808617e6cc5bf40d4900 | refs/heads/master | 2021-01-10T19:19:12.584299 | 2010-01-27T01:55:04 | 2010-01-27T01:55:04 | 490,154 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 134 | h | #ifndef __hud_h__
#define __hud_h__
class Game;
class HUD {
public:
HUD();
~HUD();
void update();
Game *pGame;
};
#endif
| [
"Dessimat0r@ntlworld.com"
] | Dessimat0r@ntlworld.com |
2a293aed56bf4a67cde5a94542454b3b3fd45bd7 | 816fdda419bffb4b5a22916fa6fe806c6cd8efc6 | /week15/cashregister/cashregister.cpp | 0693f5d2b97cb98dff04f3dfa3c2a9beacfdedfe | [] | no_license | subaquatic-pierre/discover-cpp | 4c2f081261d45e332cb17e020792ca706c84e32c | c08f4a7cc29c3113312dfdc2f4ced86736d20317 | refs/heads/main | 2023-05-01T09:24:51.356517 | 2021-04-29T08:53:38 | 2021-04-29T08:53:38 | 325,068,197 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,495 | cpp | #include <iostream>
using namespace std;
double calculateTax(double rate, double total);
double calculateMemberPrice(char isMember, double total);
double calculatePromo(double item1, double item2);
int main()
{
double item1, item2, basePrice, afterPromoPrice, afterTax, afterMemberPrice, taxRate;
char isMember... | [
"subaquatic.pierre@gmail.com"
] | subaquatic.pierre@gmail.com |
27138ff7cb8cff08535f4352c67f40ca9691f073 | d20dd18bc27babe23d6d23e0c7439967f3c46862 | /DDOCP/BreakdownItemWeaponCriticalThreatRange.h | 0045c4db3bf5f380f7ca43da45a7db83a6cacc1a | [] | no_license | Maetrim/DDOBuilder | 0de2c53c43fa881d6884cfc13374ab549bbdbc1b | bcd2700eba09805eee86b94285a5767ec652f09f | refs/heads/master | 2023-08-31T15:21:51.948242 | 2023-08-24T18:13:47 | 2023-08-24T18:13:47 | 97,280,896 | 83 | 31 | null | 2022-05-25T15:17:32 | 2017-07-14T23:58:46 | C++ | UTF-8 | C++ | false | false | 1,546 | h | // BreakdownItemWeaponCriticalThreatRange.h
//
#pragma once
#include "BreakdownItem.h"
class BreakdownItemWeaponCriticalThreatRange :
public BreakdownItem
{
public:
BreakdownItemWeaponCriticalThreatRange(
BreakdownType type,
MfcControls::CTreeListCtrl * treeList,
... | [
"roger16568@yahoo.co.uk"
] | roger16568@yahoo.co.uk |
c1090540e4405cf751f70ac95d9a10a2f84a74ea | 59a9ffcebc15380044c006a2c92aded656fa419e | /week1/2841_alien_guitar_play/2841_alien_guitar_play_youngwoo.cpp | d65e867eb0800cadc69901c8f3bbebec1ab9bf9a | [] | no_license | s0metimes/aligothm | bbb3964d81681349bad25cd69e2c22f7c07022b1 | 3ea75be52093432db246d283e81dde279a77857c | refs/heads/master | 2022-12-27T00:01:58.818618 | 2020-10-06T01:08:32 | 2020-10-06T01:08:32 | 280,074,388 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,837 | cpp | #include <stdio.h>
#include <stack>
using namespace std;
int main(int argc, char const *argv[])
{
stack<int> lines[7];
int N, P, line, flat;
int cnt = 0;
scanf("%d %d", &N, &P);
for(; N > 0; N--) {
scanf("%d %d", &line, &flat);
if(lines[line].empty()) { // 만약 비어있다면, 즉, 해당 줄이 아무것도 안눌... | [
"youngwoo9706@gmail.com"
] | youngwoo9706@gmail.com |
823bea3d1d66653134707a9e33eadc6199a4c729 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chrome/browser/browsing_data/browsing_data_indexed_db_helper.h | 614f24b7b091011b75871835da7db9700bfc6aea | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 4,722 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_INDEXED_DB_HELPER_H_
#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_INDEXED_DB_HELPER_H_
#incl... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
3dafd28f79da5c91ffd5dc0f355b21f014135155 | bda53a87b8428d697f89e3b539c4be0164cd19f1 | /src/ast/This.hpp | be4e64d9b230733ced431c22ec0da2474be761db | [] | no_license | bmansfieldRIT/mini-java-compiler | 162ffa2fc5e1f9a0b7d831de97ed94e7db18efcb | 2388ebc6f16e37a0c1a761e08a7f20aaa5348dc4 | refs/heads/master | 2021-09-05T14:37:46.274067 | 2018-01-28T23:50:27 | 2018-01-28T23:50:27 | 110,643,181 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | hpp | //
// This.hpp
//
//
// Created by Brian Mansfield on 3/23/17.
//
//
#ifndef This_hpp
#define This_hpp
class Visitor;
#include <stdio.h>
#include <string>
#include "Exp.hpp"
using namespace std;
class This : public Exp
{
public:
int row, col;
This(int r, int c);
void accept(Visitor& v);
};
#endif ... | [
"bmansfieldhfl@gmail.com"
] | bmansfieldhfl@gmail.com |
cf0220376ceca88036304909c327132bfbe752c8 | 25ed24365edaf18d2346b06923f3f9d057641c81 | /R10kSource/register_manager.h | c50410c399905aef9710d5848731cdb448987210 | [] | no_license | wizard1990/R10K_Simulator | 5a7708af1c9ce08eefb77b23bd53b50ba5f711b1 | 07ad5afeac3a97869980eb8a9fe9f7fe704a2753 | refs/heads/master | 2020-06-07T11:23:36.710196 | 2014-12-24T06:27:33 | 2014-12-24T06:27:33 | 28,438,065 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | h | //
// register_manager.h
// R10K_Simulator
//
// Created by Yan Zhang on 12/13/14.
// Copyright (c) 2014 Yan Zhang. All rights reserved.
//
#ifndef __R10K_Simulator__register_manager__
#define __R10K_Simulator__register_manager__
#include <vector>
using namespace std;
class register_manager {
public:
vector<... | [
"wizard19900509@gmail.com"
] | wizard19900509@gmail.com |
33f7f430caa47b817f9a72523cc60a9e6921096c | 5025cad62f4c8d537f74ffd9b0536158d5db98e5 | /cSkillActionWhirlwind.h | fedfa3d63fcf824e0b5063f1cb472fac10fb701e | [] | no_license | esl000/RpgPortfolio | 492c3792a987d7be80daadcf3e5e8ca1e5239fa6 | 6288c6f3d06ffeaa788e297b5af6b595c2270075 | refs/heads/master | 2021-09-29T14:47:11.944228 | 2018-11-25T16:51:42 | 2018-11-25T16:51:42 | 159,050,551 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 541 | h | #pragma once
//휠윈드 바까야됨 블레이드 스톰이 오래도는거임
#include "iUnitAction.h"
#include "cEffectSword.h"
class cSkillActionWhirlWind : public iUnitAction
{
protected:
cSkinnedMesh* m_pOwnerMesh;
cUnit* m_pTarget;
cEffectSword* m_pEffect;
float m_fTwirlCount;
bool m_bIsHit;
bool m_bShoundCheck;
D3DXVECTOR3 m_... | [
"esl000@naver.com"
] | esl000@naver.com |
8c1f44a46ae3f322ec2749a4ffd3f43e7d09a09f | fac5502956afed0a7b892b2c9896f26e2a46336b | /Source/Shooter/ShooterMatineeCameraShake.h | 6aab16da71cf0d9a44ba3018e573ba919482ed27 | [] | no_license | MisungKims/UE4_ShootingGame | 335dce96bd0d532ce5d7c21ab5e591b5857c0d3d | 0fc11ac8969400a9907c51b583897e5e415fb6a6 | refs/heads/main | 2023-07-27T12:15:15.418680 | 2021-09-06T15:03:50 | 2021-09-06T15:03:50 | 403,095,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Camera/CameraShake.h"
#include "ShooterMatineeCameraShake.generated.h"
/**
*
*/
UCLASS()
class SHOOTER_API UShooterMatineeCameraShake : public UMatineeCameraShake
{
GENERAT... | [
"noreply@github.com"
] | noreply@github.com |
5b354e3b1395db4c28480055940fbf69f643568d | d7db098f4b1d1cd7d32952ebde8106e1f297252e | /AtCoder/ABC/011/c.cpp | 7a8781e77a6265e5242300b52402a284f76841e3 | [] | no_license | monman53/online_judge | d1d3ce50f5a8a3364a259a78bb89980ce05b9419 | dec972d2b2b3922227d9eecaad607f1d9cc94434 | refs/heads/master | 2021-01-16T18:36:27.455888 | 2019-05-26T14:03:14 | 2019-05-26T14:03:14 | 25,679,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | // header {{{
#include <bits/stdc++.h>
using namespace std;
// {U}{INT,LONG,LLONG}_{MAX,MIN}
#define ALPHABET (26)
#define INF INT_MAX
#define MOD (1000000007LL)
using LL = long long;
// }}}
int main() {
std::ios::sync_with_stdio(false);
int n;cin >> n;
int a, b, c;cin >> a >> b >> c;... | [
"monman.cs@gmail.com"
] | monman.cs@gmail.com |
2477f2ff21a9c9b4077e1ee71a446111794263be | cb1a4e0d62850ae39156a2f98131095a46722998 | /D3D12RaytracingSimpleLighting/Buffer.h | eba0ee1892050b0704d76ee0e1ea341d7f8b1fea | [] | no_license | ybyrzlll/simple_dxr_path_tracer | 97fe55c1e69836e27b029f38e99a4317a9ddf6d6 | 016e1205bc6e89d722dc95707afcd5939946e6f2 | refs/heads/master | 2022-11-04T23:59:46.811465 | 2020-06-07T14:14:47 | 2020-06-07T14:14:47 | 258,963,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | h | #pragma once
namespace rtrt {
class Buffer
{
public:
Buffer();
~Buffer();
ID3D12Resource* GetBuffer();
ID3D12Resource* buffer_;
UINT size_;
};
}
| [
"a774565715@qq.com"
] | a774565715@qq.com |
2ba268f8726a14226c51976cca6e73ead53e49fd | eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86 | /Grade 10-12/2018 autumn/NOIP/NOIP2018提高组Day2程序包/answers/GD-0076/travel/travel.cpp | 0eb9335ea19e00557b764bd80fef07d0e0556273 | [] | no_license | Orion545/OI-Record | 0071ecde8f766c6db1f67b9c2adf07d98fd4634f | fa7d3a36c4a184fde889123d0a66d896232ef14c | refs/heads/master | 2022-01-13T19:39:22.590840 | 2019-05-26T07:50:17 | 2019-05-26T07:50:17 | 188,645,194 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,495 | cpp | #include<cstdio>
#include<queue>
using namespace std;
const int N=5005;
int n,m,fa[N],ans[N],now[N];
int head[N],to[N*2],nxt[N*2],tot;
bool vis[N];
int read()
{
int rt=0; char ch=getchar();
while(ch<'0'||ch>'9'){ ch=getchar();}
while(ch>='0'&&ch<='9'){rt=rt*10+ch-48;ch=getchar();}
return rt;
}
void add(int u,int v)... | [
"orion545@qq.com"
] | orion545@qq.com |
e1bda896359d5dd186fd3296f92fc9eca669d88e | 508ca425a965615f67af8fc4f731fb3a29f4665a | /OldStuff/SPOJ/FRACTION.CPP | c2d350b2570da8aa4f768c4e3a345928aeedd7ab | [] | no_license | knakul853/ProgrammingContests | 2a1b216dfc20ef81fb666267d78be355400549e9 | 3366b6a4447dd4df117217734880199e006db5b4 | refs/heads/master | 2020-04-14T23:37:02.641774 | 2015-09-06T09:49:12 | 2015-09-06T09:49:12 | 164,209,133 | 1 | 0 | null | 2019-01-05T11:34:11 | 2019-01-05T11:34:10 | null | UTF-8 | C++ | false | false | 890 | cpp | /*
Alfonso Alfonso Peterssen
30 - 11 - 2007
SPOJ #403 "Sort fractions"
*/
#include <cstdio>
const int MAXFRAC = 7600459;
typedef short int int16;
int T, N, Q, count, pos;
struct fraction {
int16 num, den;
} ls[MAXFRAC];
void find( int16 a, int16 b, int16 c, int16 d ) {
if ( a + c > ... | [
"a2peterssen@gmail.com"
] | a2peterssen@gmail.com |
32f5cd10c51077fb756c45fb7c8825eabc9b0d6b | 2fe969227dcc313ca92c3c9520fe453c69b4e7d6 | /src/BrokenPowerLaw.h | 54a421de75e2e735589d07794b5f92dbf95c27ce | [
"BSD-3-Clause"
] | permissive | fermi-lat/optimizers | 19dee3daa9fbf02dfeec811e502a5b1a3c7b1a0b | 7bbdffe91bc0b2216e0f9359301a4d054c5b9dfe | refs/heads/master | 2023-06-09T16:09:57.138209 | 2022-06-06T18:22:06 | 2022-06-06T18:22:06 | 103,187,030 | 0 | 1 | BSD-3-Clause | 2020-06-26T00:39:07 | 2017-09-11T20:52:39 | C | UTF-8 | C++ | false | false | 866 | h | /**
* @file BrokenPowerLaw.h
* @brief Declaration for the BrokenPowerLaw Function class
* @author J. Chiang
*
* $Header$
*/
#ifndef optimizers_BrokenPowerLaw_h
#define optimizers_BrokenPowerLaw_h
#include "optimizers/Function.h"
#include "optimizers/Arg.h"
namespace optimizers {
/**
* @class BrokenPowerLaw... | [
""
] | |
b0941b0e6ec1b6a0f0a5bf2f41e0e06f8c42ab93 | 83fe309c502c3e7deee79f6c5aa91bc62d65367e | /src/generator.h | d0f0fd473913d1df6dc885565d18309b6d7be7ab | [] | no_license | Rotgar/Covers-in-grid | 5d31e9fb0510f42e8fdd31a32aee9d54d628dded | e3c07c574172fee5a1c39880ecd164c7216cb806 | refs/heads/master | 2020-04-13T12:30:33.118235 | 2019-01-22T22:04:24 | 2019-01-22T22:04:24 | 163,204,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | h | /* Mateusz Krawczyk AAL.12 - Stacje BTS */
#ifndef GENERATOR_H
#define GENERATOR_H
#include <string>
std::string **generate(int n, int m, int k, int l);
#endif //GENERATOR_H
| [
"matk100.100@gmail.com"
] | matk100.100@gmail.com |
fcacef139c7c5f9291bd68a73bbc311dd0d9d5c5 | c62928597f3c68d945e2fc976d7300e9282acf1f | /ser/handler.cpp | ba3e466511fa001a2a93c050fc6fbcc4a09b8318 | [] | no_license | luzhlon/game | a46cf651af49ef6ad7edc2e4e7d42ae99d15db45 | fc70fde940a8078db14efbe98ac698ce41b0695f | refs/heads/master | 2021-01-15T20:57:49.389750 | 2015-10-12T13:49:35 | 2015-10-12T13:49:35 | 40,189,010 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,187 | cpp | #include <QDebug>
#include <QThread>
#include "server.h"
#include "room.h"
#include "handler.h"
namespace MESSAGE {
const char *name[] = {
"authentication",
"room_list", //房间列表 1
"create_room", //创建房间 2
"join_room ", //加入房间 3
"quit_room ", //退出房间 4
"... | [
"luzhlon@126.com"
] | luzhlon@126.com |
270dd37124c54c443821bc93ff28caacfa0e1381 | d31aed88f751ec8f9dd0a51ea215dba4577b5a9b | /application/hedgehog_srv/sources/resources/hhs_resources.cpp | 2947b67b1a0041ad33631131b5f656d5bb449bde | [] | no_license | valeriyr/Hedgehog | 56a4f186286608140f0e4ce5ef962e9a10b123a8 | c045f262ca036570416c793f589ba1650223edd9 | refs/heads/master | 2016-09-05T20:00:51.747169 | 2015-09-04T05:21:38 | 2015-09-04T05:21:38 | 3,336,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp |
#include "hedgehog_srv/sources/ph/hhs_ph.hpp"
#include "hedgehog_srv/sources/resources/hhs_resources.hpp"
/*---------------------------------------------------------------------------*/
namespace Hedgehog {
namespace Server {
namespace Resources {
/*----------------------------------------------------------------... | [
"valeriy.reutov@gmail.com"
] | valeriy.reutov@gmail.com |
8b6c0dca6ae1943a6835cd63ad941e33936b05bc | 6d731b65d683efee80f7f6258394ccce03114ad4 | /test/dummy_libs/devices/virt_disk/virt_disk.cpp | e9639400ee72dd8e9cc2f9f16017fb6ff5b2730e | [
"MIT"
] | permissive | martin-hughes/project_azalea | ea42bfab9476a8a1468258a2c9b3556f424bf54d | 28aa0183cde350073cf0167df3f51435ea409c8b | refs/heads/master | 2021-01-12T13:52:43.348262 | 2020-05-16T09:56:37 | 2020-05-16T09:56:37 | 68,834,754 | 13 | 6 | null | 2016-10-08T09:41:03 | 2016-09-21T16:09:36 | C++ | UTF-8 | C++ | false | false | 3,507 | cpp | /// @file
/// @brief Dummy disk device that operates on virtual hard disk files.
#define ENABLE_TRACING
#include "test/test_core/test.h"
#include "virt_disk.h"
using namespace std;
virtual_disk_dummy_device::virtual_disk_dummy_device(const char *filename, uint64_t block_size) :
IBlockDevice{"Virtual disk", "vd"}... | [
"martin-hughes@users.noreply.github.com"
] | martin-hughes@users.noreply.github.com |
1b9bdbe1eae9a3ede13b2ffaf286919ff5b6b22f | e5614c36fd324f2e214ff05aaf2bf7230443e0b5 | /LightOJ/1418 - Trees on My Island.cpp | 864525dc1aad864e19adf945aaaa9787c4aa444f | [] | no_license | njrafi/Competitive-Programming-Solutions | a9cd3ceae430e6b672c02076f80ecb94065ff6d8 | 86d167c355813157b0a0a8382b6f8538f29d4599 | refs/heads/master | 2020-07-30T22:18:46.473308 | 2019-10-06T18:12:36 | 2019-10-06T18:12:36 | 210,377,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,855 | cpp | #include <bits/stdc++.h>
#ifndef ONLINE_JUDGE
#define gc getchar
#define pc putchar
#else
#define gc getchar_unlocked
#define pc putchar_unlocked
#endif
using namespace std;
#define vi vector<int>
#define si set<int>
#define vs vector<string>
#define pii pair<int, int>
#define vpi vector<pii>
#define pri priority_queue... | [
"njrafibd@gmail.com"
] | njrafibd@gmail.com |
2cd273804c6680fb7f43e66faf5fc8ad8087903a | 2cbe5aa318b15cad457d70361f35cbb1e18702a3 | /lib/arduino/MP_NETPIE_VIRTUAL_SLIDER/MP_NETPIE_VIRTUAL_SLIDER.cpp | 6e1acb492ef20937c38030c26f43c1dd50fd8eaa | [] | no_license | MakerPlayground/MakerPlayground_Library | ae27fb2b17d5784698d3623a419fc36430c83b9d | d427453f0a785e3be0282a25fb0b81b8b91ffcfe | refs/heads/master | 2022-12-22T04:05:38.819260 | 2020-09-10T09:09:22 | 2020-09-10T09:09:22 | 143,995,795 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include "MP_NETPIE_VIRTUAL_SLIDER.h"
MP_NETPIE_VIRTUAL_SLIDER::MP_NETPIE_VIRTUAL_SLIDER(char* topic, MP_NETPIE* netpie)
: topic(topic)
, netpie(netpie)
{
}
int MP_NETPIE_VIRTUAL_SLIDER::init()
{
netpie->subscribe(topic);
return MP_ERR_OK;
}
void MP_NETPIE_VIRTUAL_SLIDER::printStatus()
{
Seri... | [
"nuntipat@gmail.com"
] | nuntipat@gmail.com |
71146dd1df34ebdec60e91fe4a7cdfea114d4229 | 01294239a4971c329313867e52ae44dc00a8e875 | /Source/WebKit2/Shared/wpe/NativeWebMouseEventWPE.cpp | 26454e156d36b6c5e39bdc0436eda25a675278d6 | [] | no_license | DalavanCloud/WebKitForWayland | 76eef56c99a6f873df7bbfc3b9ae4984eae57875 | 71d0d30c449b6b4d083ebc83e5880188010518db | refs/heads/master | 2023-03-04T03:39:30.153729 | 2017-07-19T10:13:57 | 2017-07-19T16:17:40 | 168,880,432 | 1 | 0 | null | 2019-02-02T21:30:41 | 2019-02-02T21:30:41 | null | UTF-8 | C++ | false | false | 1,612 | cpp | /*
* Copyright (C) 2014 Igalia S.L.
*
* 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, this list of conditions and the following dis... | [
"zdobersek@igalia.com"
] | zdobersek@igalia.com |
84cb39ac8d9849143f6cee40d20506e05dabcc93 | 34d076046b846fe32e009f35d2c73145dcf2fefd | /lambertian.h | 0ac5a2876e5098f081b1732f4770e20f611e7403 | [] | no_license | HLHui/ray-tracing-in-one-weekend | faa1a94f0463bed1e23beebd1b4c7646529a5dca | 1b5f81ae80dad728f3acbc99ecba4e714fc46775 | refs/heads/master | 2020-12-31T00:10:18.053720 | 2018-04-25T09:47:16 | 2018-04-25T09:47:16 | 86,565,080 | 0 | 0 | null | 2017-04-05T09:42:15 | 2017-03-29T09:45:00 | C++ | UTF-8 | C++ | false | false | 880 | h | #pragma once
#include"material.h"
class lambertian :public material
{
public:
lambertian(const vec3 &a) : albedo(a) {}
virtual bool scatter(const ray &rIn, const hitRecord &rec, vec3 &attenuation, ray &scattered) const;
private:
vec3 albedo;//attenuation
};
vec3 random_in_unit_sphere()
{
vec3 p(1,... | [
"noreply@github.com"
] | noreply@github.com |
08a7700719d74d56da8372e5b84230920f22cd27 | 6c5d96297c10a29e4671894a3bf6cf1cf4dba489 | /strFuncs.cpp | 83d57074837784d96192a1606a5203523de56569 | [] | no_license | Zonkman/lab08_zonkman | a95dee9c758c5208dfa68e52217dfc4677504c52 | 9782bb1089766e5da0761f7f339463e5767fb0d8 | refs/heads/master | 2020-04-29T05:02:20.626224 | 2019-03-15T17:56:41 | 2019-03-15T17:56:41 | 175,867,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | cpp | #include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include "strFuncs.h"
using namespace std;
void makeLower(string& s) {
for (int i = 0; i < (int)s.length(); i++) {
char currChr = s.at(i);
if (currChr >= 'A' && currChr <= 'Z') { //this range is capital letters
char lower =... | [
"zonkman31@gmail.com"
] | zonkman31@gmail.com |
893ae8e87317389890ff33bb4993ee632241a4bd | 8f336b5391b0ae3cc1d377705bbd5d60927c5b2a | /Forest Rule/Forest Rule/Animal.cpp | 2c1f717758f7f20b7676234b02c8f704e714d409 | [] | no_license | GrapeTT/ForestRule | 5b00f3b50ecf4de3ff9ef88eb528d37dbad5c5ee | 699015c204491a5d46f70a2ec6d610dc1d8b6dc7 | refs/heads/master | 2021-09-21T12:09:33.308155 | 2018-08-26T15:21:48 | 2018-08-26T15:21:48 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,839 | cpp | #include "Animal.h"
CAnimal::CAnimal()
{
}
void CAnimal::createAnimal()//生成动物(设置数量)
{
m_youngSheep = rand() % 11 + 10;
m_adultSheep = rand() % 11 + 20;
m_allSheep = m_youngSheep + m_adultSheep;
m_youngDeer = rand() % 11 + 10;
m_adultDeer = rand() % 11 + 20;
m_allDeer = m_youngDeer + m_adultDeer... | [
"noreply@github.com"
] | noreply@github.com |
bdd24e05edd0ba836f22e022e48e75f514606fbb | 304b690ca83b82ec52dae5f53146981860f799e1 | /CCCC-GPLT/L1-068 调和平均.cpp | 956a77f2e8cd31dbd5a54d84b1a2903a99b41c14 | [] | no_license | liuchuo/PAT | 53e6a01a5c54ebe0d8c575e10173d16b7d7cc91d | fe7a01b3ef233ac9f03b732b08947a85efe44a2a | refs/heads/master | 2023-08-03T20:42:01.980531 | 2022-08-22T04:35:31 | 2022-08-22T04:35:31 | 49,113,721 | 3,713 | 1,168 | null | 2023-05-11T15:36:10 | 2016-01-06T05:06:34 | C++ | UTF-8 | C++ | false | false | 237 | cpp | #include <bits/stdc++.h>
double n, temp, sum, ans;
int main() {
scanf("%lf", &n);
for (int i = 0; i < n; i++) {
scanf("%lf", &temp);
sum += 1.0 / temp;
}
printf("%.2lf", n / sum);
return 0;
} | [
"11920560+liuchuo@users.noreply.github.com"
] | 11920560+liuchuo@users.noreply.github.com |
6f5db76c0c5173306396d78bbc5ee19bb13afd23 | 826c34195278680453adf69f01fcf4968161ae14 | /libism/ISM/combinatorial_trainer/TestSetGenerator.cpp | ac9a0f2f22482b97a6f7f1067c7519834281e7e7 | [
"BSD-3-Clause"
] | permissive | asr-ros/asr_lib_ism | b7cbcf6e5f6c8e83957f9fd61b8a1f6d890a59ba | 3d565d031dd4b11eac7786ace73866bd950add8a | refs/heads/master | 2021-03-27T19:58:58.676158 | 2020-01-06T13:07:10 | 2020-01-06T13:07:10 | 81,978,318 | 1 | 2 | BSD-3-Clause | 2019-11-03T14:57:09 | 2017-02-14T18:53:27 | C++ | UTF-8 | C++ | false | false | 6,925 | cpp | /**
Copyright (c) 2016, Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following condi... | [
"ujdhi@student.kit.edu"
] | ujdhi@student.kit.edu |
2390f7ed826fa276842f981880d8c647d11472f4 | cdc4c6eb3807898acd8eb3618c0441279ca73534 | /follow_quad/FollowControll.cpp | 32eccf5b7c736d45b8cff4b676d9accf7d226955 | [] | no_license | Manmeeth/Vision-based-Human-Track-and-Follow | e828fd9a82f1bd4d903c569248cb3320bdb8404d | f27c0ef2ab651f7c4db278e7276027af4f099615 | refs/heads/master | 2020-09-28T20:54:03.948121 | 2018-05-13T10:06:47 | 2018-05-13T10:06:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,443 | cpp | #include "FollowControll.h"
// FollowControll::FollowControll(): set_reference_target_width_height(false), flight_mode(TRACKING), controller_rate(100)
// {
// _sub_tracked_object = _n.subscribe("/boundingbox", 1000, &FollowControll::tracked_object_cb, this);
// _model_subscriber = _n.subscribe("/gazebo/m... | [
"harshsin@iitk.ac.in"
] | harshsin@iitk.ac.in |
e77cddd4ac1f09f468efb5704dd985ce8f6c9aa5 | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Game Programming Gems 4/03 Physics/03 Porcino/source/CollisionEngine.h | 49c3cc3a03ba827a7054c8b792e96a0723a3861f | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 2,669 | h |
/** @file CollisionEngine.h
*/
/*
---------------------------------------------------------------------------------------------------
Meshula Physics Demo
Created for Games Programming Gems IV
Copyright (c) 2003 Nick Porcino, http://meshula.net
The MIT License: http://www.opensource.org/licenses/mit-license.php
Per... | [
"alec.nunn@gmail.com"
] | alec.nunn@gmail.com |
875c942103caac1f44753088356c0d78f24909e1 | fe8c855646d91323bc93cd3622fae7766892cf0d | /include/canonicalMC.h | d43fe50c054d5f2d1d84eedb6b84ea6c857496f5 | [] | no_license | grhvaring/labsim | 4e1ed16a3bb1fef8bd88ac012456463d98606174 | a2359bae22c407b5e7952f8c76dcb7b43159cd0e | refs/heads/master | 2023-06-09T00:30:45.819764 | 2021-07-03T11:17:16 | 2021-07-03T11:17:16 | 374,907,189 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | h | /****************************************************************
definition of the class canonicalMC, that simulates the canonical
ensemble of statistical physics using Monte Carlo methods
*****************************************************************/
#ifndef __canonicalMC__
#define __canonicalMC__
#include "e... | [
"grhvaring@gmail.com"
] | grhvaring@gmail.com |
a2b6fabe69764cbebfb78e74327fe0a7438cc878 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/CDF_Application.hxx | cd438696a1d1e14b3e3ea052de6568e96393582a | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,053 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _CDF_Application_HeaderFile
#define _CDF_Ap... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
f5d88bd88bd8c54501810660ffe72264f1bbb55a | ff3cec11db662140a0f2e448319fca84d8d126b5 | /src/sim/simSet.h | 5ed658011672014e3f9e3cd8710af338a384e389 | [
"MIT"
] | permissive | dtbinh/Torque6 | 17021fd446d0a57d6402640622b6599f6a4e184e | ed773a7e54a2256bc63f1c61ef9bcc852634ce4e | refs/heads/master | 2021-01-16T23:21:57.065205 | 2015-09-01T23:57:30 | 2015-09-01T23:57:30 | 41,794,593 | 1 | 0 | null | 2015-09-02T10:14:30 | 2015-09-02T10:14:30 | null | UTF-8 | C++ | false | false | 9,942 | h | //-----------------------------------------------------------------------------
// Copyright (c) 2013 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... | [
"andrewmac@gmail.com"
] | andrewmac@gmail.com |
8ae3eb5b191b9b144be45e5eaf1575ccdea7f2d0 | 0edd280fc5114400c5868a014f2e8de4e20135fb | /big_homework/pointcolor.cpp | 5402ade7962731c745602ccde5765a9b1a3f60f5 | [
"MIT"
] | permissive | caozhangjie/Graph-Visualization-System | b172284da5e9c627896143271421717c153b14c4 | 1b66ac9ea7662eddd33542039f66b75f480d2d0a | refs/heads/master | 2021-01-19T14:46:43.157487 | 2017-03-29T23:19:16 | 2017-03-29T23:19:16 | 86,636,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | cpp | #include "pointcolor.h"
void PointColor::setColor(int level, int type, int alpha)
{
switch(type)
{
case PAPERCOLOR:
r = 255;
g = 190 - level * 1.6;
b = 190 - level * 1.6;
a = alpha;
break;
case CONFERENCECOLOR:
b = 255;
g = 190 - lev... | [
"caozj14@qq.com"
] | caozj14@qq.com |
1973eecae94147f875859b42f1a804636c76a53b | a7dc87259ed3af64b13ae23b4ec4ad046f7051e2 | /Leetcode - top 100 liked question/101. Symmetric Tree.cpp | c1979dbe2c734efaf5da549c02806a73c5e7770f | [] | no_license | vikas436/DSA | a3039b3603a9eb05734064805d55f4b4b8afa1cd | 9f902b8ea40151ce8757d45a5b31a86bd3354d0e | refs/heads/master | 2021-08-07T18:42:31.521708 | 2021-06-19T07:08:41 | 2021-06-19T07:08:41 | 160,209,346 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"noreply@github.com"
] | noreply@github.com |
4da925f16f985ea95dc008992c3a8a454d9296fc | 77e27b77795159808583ca3a4e4d16249d4bab1b | /Chapter2/Number12.cpp | 0f80caebf29539c902c3a630c9e29dd9e889b8da | [] | no_license | doodayev/GaddisChallenges | 8c7debda40f8fb70377dbb066f828ec3da75b751 | a60717d95f1db389dba6c377034589d2fc621a6d | refs/heads/master | 2022-12-04T14:19:47.734570 | 2020-07-10T09:25:01 | 2020-07-10T09:25:01 | 265,373,565 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int acre=43560;
int landGiven=391875;
double AmountOfAcres=landGiven/acre;
cout << "The land given is a total of " << setprecision(2) << fixed << AmountOfAcres << " acres. \n";
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
5f6cad29bed7dca0be46dd9920933cb22f536678 | 35f1a5786058a214cf98ca8168917520500ab027 | /cg/sm/src/RadiationBoundaryCondition.h | 34ac2ada9fa7f2904c1f1923496f0001961041e1 | [
"BSD-3-Clause"
] | permissive | unifem/overtureframework | 171abf69c879eae5a0560f462bbbe7fa8f6fc0b5 | 0f913a14eb58aa51b85c219823b7cbcfe6ebb112 | refs/heads/master | 2021-09-25T02:09:14.077517 | 2018-04-05T10:43:33 | 2018-04-05T10:43:33 | 114,717,087 | 2 | 2 | null | 2018-04-05T10:43:34 | 2017-12-19T03:56:55 | Fortran | UTF-8 | C++ | false | false | 1,035 | h | #ifndef RADIATION_BOUNDARY_CONDITION
#define RADIATION_BOUNDARY_CONDITION
#include "Overture.h"
class RadiationKernel;
class OGFunction;
class RadiationBoundaryCondition
{
public:
RadiationBoundaryCondition(int orderOfAccuracy=4);
~RadiationBoundaryCondition();
int initialize( MappedGrid & mg,
int side, int ... | [
"wdhenshaw@gmail.com"
] | wdhenshaw@gmail.com |
75207f20a3f05858bcb79944d226f5ee7d2e321c | 15db67d2678c2dc9236a0fc258e1f83ccd42a399 | /Network Flow/二分匹配/gopherIIuva10080.cpp | 7e8206539b8b36e15be12fa6aaf5901930f22a44 | [] | no_license | fanshuoshuo/algorithms | 5dcd8fb12188fc8f508ef4eef4cf60782b8a2086 | 89b594caa28e89de48e00696c86e0d3c07b2adcc | refs/heads/master | 2020-04-18T05:52:04.509428 | 2017-12-22T03:04:14 | 2017-12-22T03:04:14 | 67,682,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <cstdio>
#include <map>
#include <algorithm>
#include <cmath>
#include <queue>
#include <sstream>
#define MAX 10000
using namespace std;
double computeringDis(double x1,double x2,double y1,double y2){
return sqrt( (x1-x2)*(x1-x2... | [
"1065777269@qq.com"
] | 1065777269@qq.com |
0db1011437c37ef81f22f237af6f17b6ea2b2f55 | c8700a08e903322385a8c53485a43377da0ce37e | /jni/libil2cpp-v24/os/Posix/MemoryMappedFile.cpp | 9e478176c421a8193ee518e533acad844f4bb77e | [
"MIT"
] | permissive | battlesteed/IL2CPPDumper-1 | 73e20e8c1a45f9d7c2ef78af44ce11fd17bff16f | 877d21fbb82f08d64287e27e96491772c0b35e60 | refs/heads/master | 2023-08-07T00:18:59.652455 | 2021-10-01T01:58:12 | 2021-10-01T01:58:12 | 266,036,140 | 0 | 0 | MIT | 2020-05-22T06:31:40 | 2020-05-22T06:31:39 | null | UTF-8 | C++ | false | false | 1,437 | cpp | #include "il2cpp-config.h"
#if !IL2CPP_USE_GENERIC_MEMORY_MAPPED_FILE && IL2CPP_TARGET_POSIX
#include <sys/mman.h>
#include <map>
#include "os/File.h"
#include "os/MemoryMappedFile.h"
#include "os/Mutex.h"
#include "FileHandle.h"
namespace il2cpp
{
namespace os
{
static FastMutex s_Mutex;
static std::map<voi... | [
"patel.kuldip91@gmail.com"
] | patel.kuldip91@gmail.com |
218b637d41eb8cfe2c1fa80b73e0d19efa983c3a | f8447aeb36e7b88845d8ae599ee5f846e428f5f4 | /testgraph.cpp | ac1eead9ae344cb6fc38eaac6de7fe12fdc57232 | [] | no_license | alexis-matuk/GraphVisualization | 2513768799d2cabb67ad10cde22cb0d05d52b430 | 429c6d67adf6e1a5ea105efc9966ab20dc418960 | refs/heads/master | 2021-01-10T14:21:53.387165 | 2015-10-30T05:42:25 | 2015-10-30T05:42:25 | 45,231,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,970 | cpp |
#include <fstream>
#include <iomanip>
#include <locale>
#include <sstream>
#include <string>
#include <iostream>
#include "stdafx.h"
#include "GEFXParser.h"
#include "GraphMLParser.h"
#include "GDFParser.h"
#include "GraphSONParser.h"
int main(int argc, char* argv[]) {
std::cout << "Exporting ... | [
"alexis.matuk@gmail.com"
] | alexis.matuk@gmail.com |
9bd51b9994e5cb8ee355c4f83b52149ce35b2a8d | 6330e17f1ad6b2c371830e500382782fed38a0fa | /src/operator/tensor/elemwise_sum.cc | b31dbb2598f087b33bf44f3beda69d79ee955362 | [
"BSD-3-Clause",
"Zlib",
"BSD-2-Clause-Views",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | CaiWeibo/p3 | 0f832ec8b6c8a0afc4febce3fbf27f0d3dc5c030 | d406d5aba4710560a4694ae6704c8bce6f794770 | refs/heads/master | 2022-12-14T12:34:09.286519 | 2020-09-18T12:45:41 | 2020-09-18T12:45:41 | 296,343,215 | 0 | 0 | Apache-2.0 | 2020-09-17T13:59:10 | 2020-09-17T13:59:10 | null | UTF-8 | C++ | false | false | 6,014 | cc | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [
"anandj@cs.ubc.ca"
] | anandj@cs.ubc.ca |
649a3ab182d3c45f3694e720b20b6c3e687dbbb7 | 871a15655f0ae7922016bdce88c995ddd16900d4 | /src/cpp/core/A.cpp | 82907de2492ad6220e5a41a03e4c2601dbf18124 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | permissive | practicalci/rock | f0f7a51f2b5c89819f2dae4ac53fb06688bb7ed0 | cb7eca3e2645f8d85a499dfda52251d2abf6719c | refs/heads/master | 2020-04-24T08:57:46.280349 | 2019-03-12T09:48:18 | 2019-03-12T09:48:18 | 171,847,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | /*
* Copyright (C) 2019 Eyeware Tech SA
*
*/
#include <string>
#include "org/rock/core/A.h"
namespace org {
namespace rock {
namespace core {
// constructors
A::A() {
}
A::A(std::string name) : m_name(name) {
}
// copy constructor
A::A(const A& other) : m_name(other.m_name) {
}
// copy assignment operator
A& A... | [
"mario.silva.costa@gmail.com"
] | mario.silva.costa@gmail.com |
e51e119057244f4502a90eef9fba1f38af86a789 | ace7c2d71bd133ecdfbf1690d17f936891c4f45b | /assignment 2.cpp | 347acd4ef0e0d6d50d360f33f2e4c7cda3b1b4eb | [] | no_license | damiangene/UNISA-assignment-2 | 1d3a3f555f583aa7b14e72b0a819f630a8277e5e | 97e005edb8336faded8d241c2a5a291eeb8c6ac6 | refs/heads/master | 2020-05-04T21:52:13.347021 | 2019-04-26T10:02:56 | 2019-04-26T10:02:56 | 179,491,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,117 | cpp | #include <iostream>
#include <iomanip>
#include <string>
using namespace std;
//declaration of functions
string welcome();
void print_seats(string flight[]);
void populate_seats(string (&flight_arr)[5][52]);
bool validate_flight(string a);
bool validate_seat(string a, string (&flight_arr)[5][52], int b);
bool validat... | [
"damiangene1992@gmail.com"
] | damiangene1992@gmail.com |
f00340c02893999a3cb3c03f01254976e8a66495 | a792fc8994bcb66790e862c2bbc163fd88fc2513 | /DCEPC501.cpp | 17ff0066f3f6b1a094e5838d88bce30c2fcf3b14 | [] | no_license | darrylys/spoj | 428e547942a3f6329370a99095d90dff90c481ac | 55305bb11667526dfa7f40dc7a8c1605032b7115 | refs/heads/master | 2020-08-31T21:19:37.337016 | 2019-10-31T14:36:05 | 2019-10-31T14:36:05 | 218,788,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | cpp | #include<stdio.h>
#define ll long long
ll dp[100010][3];
int pc[100010];
ll max(ll a, ll b) {
return (a>b)?a:b;
}
ll max3(ll a, ll b, ll c) {
return max(a, max(b,c));
}
ll getdp(int n, int k) {
if (n<0) return 0;
else return dp[n][k];
}
int main() {
int t, n;
scanf("%d", &t);
while(t--... | [
"darryl.sulistyan@gmail.com"
] | darryl.sulistyan@gmail.com |
d88920cfbce0d898f38f2d767165144e51dbbafc | 59afa66e933067caa5b9986951660bd8cafc5f94 | /Computer_Science/1_DSA_Fundamentals/p04_lowest_common_multiple.cpp | c6bd7e3cdd69693c636bf4414678d3cecb1afcbe | [
"MIT"
] | permissive | Soumya14022002/Algos-for-all-Amigos | f9d95f52a94dbbc93db78054194b38228d95934f | 89ba4a29560ff9db8f49e14d42e07699c56373e7 | refs/heads/master | 2023-08-12T00:29:58.883753 | 2021-10-15T20:20:48 | 2021-10-15T20:20:48 | 417,616,617 | 0 | 0 | MIT | 2021-10-15T20:20:48 | 2021-10-15T19:44:19 | null | UTF-8 | C++ | false | false | 783 | cpp | #include <iostream>
#include <algorithm>
long long int maxm(long long int a, long long int b){
if (a>b){
return a;
}
else{
return b;
}
}
/*Computing gcd by euclidean algorithm */
long long int gcd_pro(long long int a,long long int b){
long long int maxi = maxm(a,b);
long long int mini = a+b-max... | [
"chasmiccoder@gmail.com"
] | chasmiccoder@gmail.com |
41a9936699861420304a2d27ff716e66f777be31 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/tao/RTCORBA/RT_ORBInitializer.cpp | 6e1c7c1f07415318ece48fb781cd1f2b0d20b52f | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 10,387 | cpp | #include "tao/RTCORBA/RT_ORBInitializer.h"
#if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
#define TAO_RTCORBA_SAFE_INCLUDE
#include "tao/RTCORBA/RTCORBAC.h"
#undef TAO_RTCORBA_SAFE_INCLUDE
#include "tao/RTCORBA/RT_Policy_i.h"
#include "tao/RTCORBA/RT_PolicyFactory.h"
#include "tao/RTCORBA/RT_P... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
d1328fdf17eddcc2f904ddfb9a3d16b4c5fd8e17 | bf4c54db52dc90b8845095a2dbf4faa66c0de2ae | /atcoder/AGC/agc043/a/main.cpp | 6a39910a34a647389f9e3ede4e9f914366e502a5 | [] | no_license | wumpusn/programming_contest | 3e429930adc17d8c65485bb3582cc546289d30f8 | 99f2077aac1aef85abfe242022fde97c79aa5625 | refs/heads/master | 2022-11-29T02:18:05.135810 | 2020-08-16T02:35:48 | 2020-08-16T02:35:48 | 215,290,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for(int i = 0; i < (n); ++i)
using Graph = vector<vector<int>>;
const int dx[2] = {1, 0};
const int dy[2] = {0, 1};
const int INF = -1;
int H, W;
vector<string> field;
Graph cnt;
void dfs(int h, int w){
for(int dir = 0; dir < 2; ... | [
"yuta.takata24@gmail.com"
] | yuta.takata24@gmail.com |
d88bd259dc9f992e5bff02f04e6aae07d6aff315 | 7e6764389a9052b692cd830ce4b4baa59b8ae32d | /ex2_src/ObjectClassifier.h | 953549398c119e4c5babdb99a0655c953aa05c09 | [] | no_license | IdanZimbler/Soldiers-Game-Project | 132d9e5a0a2550f8bdde5489f58d06725bb99991 | 36db47d986b9a2b6009f7d3480646da1f6e388f2 | refs/heads/master | 2022-09-19T03:51:57.027966 | 2018-02-18T15:15:24 | 2018-02-18T15:15:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | h | #pragma once
#include "AOnBoard.h"
#include "Soldier.h"
#include "AItem.h"
#include "ASolidItem.h"
#include "AArmor.h"
#include "AWeapon.h"
#include "Missle.h"
#include "M16.h"
#include "UZI.h"
#include "BodyArmor.h"
#include "ShieldArmor.h"
#include "ParamedicSoldier.h"
// Class to classify objects with boolean metho... | [
"idanqwe@gmail.com"
] | idanqwe@gmail.com |
2d760fdca1e4a60763266994cfc52c18eb1f7a38 | 92060efadb51cd041a1bcb2194c5dd85f601db56 | /src/SparseLSTMCRFMLTagger/model/HyperParams.h | 6a0ff3e846a821852def3b522cd7d5b6e3e642bc | [] | no_license | 3cQScbrOnly1/NNPOSTTagging | bd9e59b8b700d88223beae4da66ef83bd11a7f81 | 21954460fda5c1de18c2bfe641ccd7c2c0676af6 | refs/heads/master | 2020-06-30T23:30:16.210578 | 2016-11-27T01:32:09 | 2016-11-27T01:32:09 | 74,345,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | h | #ifndef SRC_HyperParams_H_
#define SRC_HyperParams_H_
#include "N3L.h"
#include "Example.h"
#include "Options.h"
using namespace nr;
using namespace std;
struct HyperParams{
// must assign
dtype dropProb;
int rnnHiddenSize;
int charHiddenSize;
int hiddenSize;
int charContext;
int wordContext;
//auto generat... | [
"510727367@qq.com"
] | 510727367@qq.com |
6dc7712747ac3fd1668bde2eb3f7d9e130428255 | cc3af5b307ffaa99ec2a8945e3b72acd07b0a132 | /src/coins.cpp | dc79a35040293f8458d84bd415c8ad9a18412d04 | [
"MIT"
] | permissive | taeany/WorkPlaceCoin | fbe9dc1b1745963b3a45e66ed88c9cd3d6c199c9 | bddfa6ab39a532d10c413542f616482e92749511 | refs/heads/master | 2020-05-21T15:27:14.595486 | 2019-04-28T15:46:38 | 2019-04-28T15:46:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,726 | cpp | // Copyright (c) 2012-2014 The Bitcoin developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2019 The WorkPlaceCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "coins.h"
#include "ra... | [
"49657239+WorkPLaceCoin@users.noreply.github.com"
] | 49657239+WorkPLaceCoin@users.noreply.github.com |
e1cba4f09097d1ae3179454784f3cc0ca53236d8 | 73489c707219cf3ef5369e3ca77a059141c87e6d | /Afficheur.h | 49cf545d1a2b8c468015af5008e0ae84fbb6267c | [] | no_license | MrEon/Robot | fdea33e7bf88ac5cdcbf8f7b2bb9460a34e69f84 | 4f3a7a20f0f712b59ab40232056b997db56939cd | refs/heads/master | 2020-07-24T15:39:39.796244 | 2017-01-04T12:58:40 | 2017-01-04T12:58:40 | 73,786,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | h | //
// Created by user on 04/01/17.
//
#ifndef ROBOT_AFFICHEUR_H
#define ROBOT_AFFICHEUR_H
#include "Robot.h"
class Afficheur {
protected:
Robot robot;
public:
virtual void update();
};
#endif //ROBOT_AFFICHEUR_H
| [
"paul.a.lafaurie@gmail.com"
] | paul.a.lafaurie@gmail.com |
dc7e61a85fc259b33a795c2f06c34d03f1f8b146 | 491260949fc7f77854d1c4e3ce438515841df802 | /Leet/Balanced Binary Tree.cc | 4bd65666e4ec04e458b0d761fa61b62479a4d7c4 | [] | no_license | Da-Huang/Top-S | 7812fc9dcf5ebce80dec3011d56a7a73f0e4842a | 143a4fed1e7b5e179b8068a5f31dd701be648f3a | refs/heads/master | 2020-05-17T22:18:55.563191 | 2015-12-09T13:49:46 | 2015-12-09T13:49:46 | 24,177,444 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cc | int __isBalance(TreeNode *root) {
if (root == NULL) return 0;
int ansl = __isBalance(root->left);
if (ansl < 0) return -1;
int ansr = __isBalance(root->right);
if (ansr < 0) return -1;
if (abs(ansl - ansr) > 1) return -1;
return max(ansl, ansr) + 1;
}
bool isBalanced(TreeNode* root) {
return __isBalanc... | [
"dhuang.cn@gmail.com"
] | dhuang.cn@gmail.com |
35c7b69339c2239f473ec10e3766b2570f38c0ca | a48af61e00af9f60795490ef35bcadf8ddadaeba | /software_development/c++/c++_primer_5th-lippman_etc/ch_02/solution_16.cpp | c911eafbb0a4b3476ae458822728471e8b797806 | [] | no_license | HatlessFox/self-study | 3fcc8a559d5dad389ef1617fda5f86e70a8fe9f6 | 0246781ecccf946e697e0b077d9c80d287cd33b9 | refs/heads/master | 2022-03-23T14:48:24.679273 | 2019-11-17T16:26:58 | 2019-11-17T16:26:58 | 44,395,118 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | /*
* Exercise 2.16, p. 51
*
* Which of the following assignements are invalid?
*/
#include <iostream>
int main(int, char**) {
int i = 0, &r1 = i;
double d = 0, &r2 = d;
r2 = 3.14159; // (a) - valid
r2 = r1; // (b) - valid, _values_ are convertible
i = r2; // (c) - valid
r1 = d; // (d... | [
"hatless.fox@gmail.com"
] | hatless.fox@gmail.com |
e01ca1d2509ae27b061f10bc7eafa0d9c7b9604c | 314609125e587610353ad0fe67f58bdf45b0c6e1 | /Game/Player/Hero.h | 2d0bd8a3496cc1e4a274a81bdac5f64a3c145f34 | [] | no_license | Epidilius/ZeldaStyleAdventureGame | 1e1b71cf2914c1ca5ea1ff803bf10d172e74b562 | bd2bbc89f5acf07c8c89f6301aef326fdeead238 | refs/heads/master | 2021-01-10T17:15:54.039969 | 2015-09-27T22:31:38 | 2015-09-27T22:31:38 | 43,267,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,078 | h | //
// Hero.h
// GameDev2D
//
// Created by Bradley Flood on 2014-10-14.
// Copyright (c) 2014 Algonquin College. All rights reserved.
//
#ifndef __GameDev2D__Hero__
#define __GameDev2D__Hero__
#include "Player.h"
//#include "World.h"
#include "../World.h"
#include "../../Source/Input/KeyCodes.h"
namespace GameD... | [
"joel.cright@gmail.com"
] | joel.cright@gmail.com |
911b2a1b0df1ae8c8f7da09d61ef3f5ad1d6de4a | 3982cc0a73455f8ce32dba330581b4a809988a17 | /native/WinLauncher/WinLauncher/WinLauncher.cpp | 66d515ffd567edfe6f6cf473b98ea7afdc14a896 | [
"Apache-2.0"
] | permissive | lshain-android-source/tools-idea | 56d754089ebadd689b7d0e6400ef3be4255f6bc6 | b37108d841684bcc2af45a2539b75dd62c4e283c | refs/heads/master | 2016-09-05T22:31:43.471772 | 2014-07-09T07:58:59 | 2014-07-09T07:58:59 | 16,572,470 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 18,516 | cpp | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | [
"lshain.gyh@gmail.com"
] | lshain.gyh@gmail.com |
b6e9761edcaa72c7e4cd8e7f9d67d5777bc4a0f7 | 8ff2ea9e811a710fbdf4722cf079ffb43f9ef9f0 | /APS/Assign/Assign5/prob4.cpp | 8740e42af727ae5dd5a09e421dbb0d25979f01c0 | [] | no_license | mridul2101/CollegeCode | 3281d6e73566b6148ecf4d399386ed8cf97fdcdf | 43ad3343fadfd9d23a9454e2747fdabaea5a7361 | refs/heads/master | 2020-03-18T15:03:31.139459 | 2018-06-04T20:49:03 | 2018-06-04T20:49:03 | 134,884,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | cpp | #include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int a[n+1];
for(int i=0;i<n+1;i++)
a[i]=0;
if(n==1)
{cout<<"0\n";return(0);}
int p=2;
a[1]=0;
for(int i=0;i<n-1;i++)
{
if(((p%3)==0)&&((p%2)==0))
{
int a1,a2,a3;
a1=p/3;
a2=p/2;
a3=p-1;
if((a[a1]<a[a2]))
{
if(a[a... | [
"window.buy@gmail.com"
] | window.buy@gmail.com |
0b6bfeb1e761c9c785edb7e6d0c03944c17fd387 | ae1e4075d955d345429c2943174b9998eedeb6c0 | /Lista6/zad2.cpp | f9152c31d39f9f5ae5f13ef4e6168e0336ced9b5 | [] | no_license | RaronRarenberg/AiSD_Krzysztof_Mindowicz | 98d4ad0668340268d3ff16532e15ec54cdcfee58 | d281944eddf06f31686dba41ec9ef5b18dc49cf8 | refs/heads/master | 2021-04-01T18:25:10.068014 | 2020-06-16T13:21:41 | 2020-06-16T13:21:41 | 248,206,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,302 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <forward_list> //lista pojedynczo linkowana
struct Hashowanie
{
size_t operator()(const std::string& s) const //funktor czyli wywolujemy obiekt jak funkcje
{//przy okazji uzywam funkcji z zadania 1
unsigned int h, i;
h = 0;
for (i = 0; i < s.len... | [
"301486@uwr.edu.pl"
] | 301486@uwr.edu.pl |
6fc4cf0f2f3656d71fd92af604672bb49da79dd8 | e7fd6e826803342b86f85baaf4685de9eb1e68f1 | /PokemonGo/Juego.h | 93399fd07eaf8c17989afd32121184213c7a1e78 | [] | no_license | nsoberon/PokemonGoAlgorithms2 | dd3735928aae5b2bbcaddd6235625207139fe0d3 | 9d764e0fc072a5907cca6962b851479d2c126316 | refs/heads/master | 2021-06-09T21:55:23.685349 | 2016-11-30T15:43:26 | 2016-11-30T15:43:26 | 73,032,138 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,224 | h | #ifndef JUEGO_H
#define JUEGO_H
#include "TiposJuego.h"
#include "Mapa.h"
#include "DiccString.hpp"
#include "ColaPrior.hpp"
#include "aed2/Vector.h"
class Juego{
private:
struct JugadorEsperando{
Jugador jugador;
aed2::Nat cantidadPokemonsAtrapados;
JugadorEsperando()... | [
"nico.soberon@gmail.com"
] | nico.soberon@gmail.com |
0d2743d730877951b5bcc3c8d45c030a20a76cd0 | a06348bb95587c3caaa29ce1a374918b4f37d837 | /libmesh-sedimentation/include/io/xdmf.h | 9c6492c1acca185b2e6f8e844e4ab294d1a22dc9 | [] | no_license | hpcdb/workflow-sedimentation | b7eb42d5ca96c2a724f7974323fda2782cd831e2 | e1b8094aa5fd983a9d5f179bd8c78e3f95379971 | refs/heads/master | 2022-12-16T04:42:32.188626 | 2020-03-31T12:54:12 | 2020-03-31T12:54:12 | 180,198,155 | 0 | 0 | null | 2022-12-07T23:54:16 | 2019-04-08T17:20:20 | C++ | UTF-8 | C++ | false | false | 1,520 | h | /*
* File: xdmf.h
* Author: camata
*
* Created on June 3, 2016, 2:13 PM
*/
#ifndef XDMF_H
#define XDMF_H
#include <string>
#include "libmesh/libmesh_common.h"
#include "libmesh/mesh.h"
using namespace std;
namespace libMesh
{
class EquationSystems;
class MeshBase;
class System;
class XDMFWriter
{
publ... | [
"vitor.silva.sousa@gmail.com"
] | vitor.silva.sousa@gmail.com |
0d57902f3ea41d6d8af402d3bdf49aed1a2683de | d0d23abed4d599cd956e602f000d59cc182c22e0 | /Game/Game Engine Components/NavigationPath.h | f92b56176ab0ffa3b79def91ca6729f4694c54d1 | [] | no_license | marnold831/Mini-Golf | 076cc5450f97f7e438cad0f452a0f6b717e207db | d0929405b09b4c1fa7c93fb013da1965f32d90d5 | refs/heads/master | 2021-01-03T00:54:11.377061 | 2020-02-13T16:54:17 | 2020-02-13T16:54:17 | 239,844,945 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 853 | h | #pragma once
#include "../../Common/Vector3.h"
#include "../..//Common/Vector4.h"
#include "Debug.h"
#include <vector>
namespace NCL {
using namespace NCL::Maths;
namespace CSC8503 {
class NavigationPath {
public:
NavigationPath() {}
~NavigationPath() {}
void Clear() {
waypoints.clear();
}
v... | [
"b6015505@newcastle.ac.uk"
] | b6015505@newcastle.ac.uk |
cd5bcf7fbada74165877596b29713690acf482f8 | b19f30140cef064cbf4b18e749c9d8ebdd8bf27f | /D3DGame_180731_007_HeightMap/stdafx.h | 60299b6aa1ac7b2132ed9f0d07cee5228854247c | [] | no_license | evehour/SGADHLee | 675580e199991916cf3134e7c61749b0a0bfa070 | 0ebbedf5d0692b782e2e5f9a372911c65f98ddc4 | refs/heads/master | 2020-03-25T13:22:42.597811 | 2019-01-03T07:05:54 | 2019-01-03T07:05:54 | 143,822,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,690 | h | #pragma once
#include <Windows.h>
#include <assert.h>
//STL
#include <string>
#include <vector>
#include <list>
#include <map>
#include <unordered_map>
#include <functional>
using namespace std;
//Direct3D
#include <dxgi1_2.h>
#include <d3dcommon.h>
#include <d3dcompiler.h>
#include <d3d11shader.h>
#include <d3d11.... | [
"evehour@naver.com"
] | evehour@naver.com |
897a12ceb3bdc8a38128b6650cf4c1f480de9489 | 049ce80210dfb9e45d2d05ce6dc8a3a8066650fa | /Arduino/Serial_OLED/Serial_OLED.ino | 53296fc6cc56ab26f19360d867b44c96e79f75ff | [] | no_license | ArcherHuang/VideoDHTCloud | d91eee54f57840d74711fd4958ad0d73bee0d86b | 89d8a2cd40b1ddd06d9a11de38302227eef7cfb4 | refs/heads/master | 2020-07-01T08:11:16.144423 | 2017-02-09T15:07:02 | 2017-02-09T15:07:02 | 74,091,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | ino | // OLED
#include <Wire.h> //載入I2C函式庫
#include <SeeedOLED.h> //載入SeeedOLED函式庫
// Buffer to store incoming commands from serial port
String inData;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200); // open serial connection to USB Serial //port(connected to ... | [
"archerhuang@iii.org.tw"
] | archerhuang@iii.org.tw |
f4c4d0a2ff0f111b346462221ec4765b17d6bba4 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /3WeekTutorial/day1/elbow_quad_refined/48/phi | d9d127a361fae8fbfb229250669fa8f013e32953 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170,770 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
8ae4ad27ee7fb1083a3f1797a84f8f9c2f9d9211 | 3d9e2d58cb310dd5e3b8e1aca5979d66b81c6510 | /algorithm/sortiing.cpp | 0d8ac44a9f083cd8778836a082aa49091df8392c | [] | no_license | praveen4698/competitiveProgrammingWithCpp | 906f1ec5d3689755ff9c2547f987ae96ec8f8387 | fbeeb8a9ccc7ea45201889415adfea07ab5dc92c | refs/heads/master | 2021-07-08T21:19:20.250388 | 2020-09-20T08:40:49 | 2020-09-20T08:40:49 | 193,205,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | #include<bits/stdc++.h>
using namespace std;
#define PI 3.14159265
#define ll long long int
#define S(x) scanf("%d",&x)
#define S2(x,y) scanf("%d %d",&x,&y)
#define S3(x,y,z) scanf("%d %d %d",&x,&y,&z)
#define P(x) printf("%d\n",x)
static const int INF = 0x3f3f3f3f;
static const long long INFL = 0x3f3f3f3f3f3f3f3fLL;
s... | [
"praveen.y469@gmail.com"
] | praveen.y469@gmail.com |
6ed2886f04361bdc2c8fd5931336f04e67913d3c | 8d835bb91f43e84ab8fcd73858a136ee5dc238a4 | /code.ino | 93870896a79bbeffa4785880e9416b406119d416 | [] | no_license | divayprakash/arduino-parking-sensor | 5df66ad03853b336886ac6d9cb71f2f6ba0e9e14 | 329dee61f77536550ba92f61a1cfbf0d673b5c74 | refs/heads/master | 2021-01-13T00:15:33.288685 | 2016-02-28T21:33:07 | 2016-02-28T21:33:07 | 52,744,669 | 0 | 0 | null | 2016-02-28T21:33:07 | 2016-02-28T21:17:42 | Arduino | UTF-8 | C++ | false | false | 3,034 | ino | #include <TimerOne.h>
#define trigPin 4
#define echoPin 2
#define onLED 12
#define echo_int 0
#define TIMER_US 50 ... | [
"divayprakash3@gmail.com"
] | divayprakash3@gmail.com |
52eab007b266efdee14b0ce24c45a338789fcb8f | 367fba5df552aef1ee9aa6add6bb512b781bc6d4 | /3rdParty/nodejs/8.0.0/source/deps/v8/src/parsing/parser.cc | cc6b6a260b2dfcec45d0cd3019bc8536d6f4e0b9 | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro",
"LicenseRef-scancode-free-unknown",
"MIT",
"ICU",
"NTP",
"ISC",
"LicenseRef-scancode-openssl",
"Artistic-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"NAIST-2003",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRe... | permissive | hamoriakos/ApertusVR | 2d3e5736b26404198b222d24388bb3c1c162ee69 | 14303ab54963e52409ed376cdafae5c43004074b | refs/heads/master | 2021-09-16T00:13:48.980732 | 2017-06-28T18:23:14 | 2017-06-28T18:23:14 | 105,749,913 | 0 | 1 | MIT | 2018-06-13T13:54:38 | 2017-10-04T09:11:13 | C++ | UTF-8 | C++ | false | false | 200,398 | cc | // Copyright 2012 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 "src/parsing/parser.h"
#include <memory>
#include "src/api.h"
#include "src/ast/ast-expression-rewriter.h"
#include "src/ast/ast-function-lit... | [
"akos.hamori@sztaki.mta.hu"
] | akos.hamori@sztaki.mta.hu |
ff070d82f650cb0d427432015655f50eeca9c9d2 | bc2b4fa90552c0c0fc36095d2196c9abcd67d86e | /DebugMessage.h | 1b2b556fbcdd7887005c3e2eac4af8c4b9ef8b95 | [] | no_license | pfx8/d3d9tutorial | 35f85c85166d1e37a081a3dd08faef473c30f1e7 | 8b7d57f17b7fbc80c431968d63000acaa97ba433 | refs/heads/master | 2021-09-07T08:19:42.172397 | 2018-02-20T03:56:05 | 2018-02-20T03:56:05 | 105,626,767 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,018 | h | //*****************************************************************************
//
// デバックメッセージ処理 [DebugMessage.h]
//
// Author : LIAO HANCHEN
//
//*****************************************************************************
#ifndef _DEBUG_MESSAGE_H_
#define _DEBUG_MESSAGE_H_
#include "Engine.h"
#include <iostream>
... | [
"dashar825@gmail.com"
] | dashar825@gmail.com |
a83886a0bf5707c5a3efcb4a6bf2c894be7779da | e440f64a8de17147f11873a999aa8e7d9acc4a0d | /Source/TheLast/Public/Common/TL_Command.h | dc48da9c9993f08fbbdd8d0ec1fae492b5735c59 | [] | no_license | NiJiang66/TheLast | 18b2ca6809c5a8911856b6f7cc8850364febd1d9 | 437359c130040dc242c9beb3056d044eb064156a | refs/heads/master | 2020-08-20T10:34:33.542378 | 2019-10-21T16:12:50 | 2019-10-21T16:12:50 | 216,012,474 | 0 | 0 | null | 2019-10-21T16:20:13 | 2019-10-18T11:50:18 | C# | UTF-8 | C++ | false | false | 294 | h | #pragma once
#include "CoreMinimal.h"
#include "GameFramework/CheatManager.h"
#include "TL_Command.generated.h"
/**
* 主要用于测试的GM命令
*/
UCLASS()
class THELAST_API UTL_Command : public UCheatManager
{
GENERATED_BODY()
public:
UFUNCTION(exec) void TestPrintCommand();
}; | [
"a807675238@163.com"
] | a807675238@163.com |
193017a6dd578fbdf619a2bf0a6d56ca0c247caf | 6ab9a3229719f457e4883f8b9c5f1d4c7b349362 | /brspoj/obi/ENERGIA.cpp | 88cedaa83e88e74a7598096a70af596cd48f7bcd | [] | no_license | ajmarin/coding | 77c91ee760b3af34db7c45c64f90b23f6f5def16 | 8af901372ade9d3d913f69b1532df36fc9461603 | refs/heads/master | 2022-01-26T09:54:38.068385 | 2022-01-09T11:26:30 | 2022-01-09T11:26:30 | 2,166,262 | 33 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include <cstdio>
int adj[100][100], deg[100], vis;
bool v[100];
void dfs(int k){
v[k] = 1; vis++;
for(int j = 0; j < deg[k]; j++)
if(!v[adj[k][j]])
v[adj[k][j]] = 1,
dfs(adj[k][j]);
}
int main(void){
int a, b, i, E, L;
for(int t = 1; scanf("%d%d",&E,&L) && E; t++){
for(i = 0; i < E; i++) deg[i] = v[i] = ... | [
"mistermarin@gmail.com"
] | mistermarin@gmail.com |
312cd39bcc78a9bc7f0310757645fcaf4c627b8c | 1880ae99db197e976c87ba26eb23a20248e8ee51 | /cls/include/tencentcloud/cls/v20201016/model/DescribeConfigMachineGroupsResponse.h | 8d483d1c10d3da7a2b78db0de9a8753dd537c70d | [
"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,707 | 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 |
ba0f9d79fea423acb03994027a76c13008107c17 | 5e4970bbd63e7c3d443d5edf0a211aa9579752c6 | /SDK/Mordhau_BP_FistsWeapon_classes.hpp | f12501cf96f3fedb8a02e178667a072d9b1d493e | [] | no_license | SchwarzKruppzo/Mordhau_SDK | d4a1bccc659c94848eba4ab52fce299a96c94e5e | cdcb034218983d401c6ceb6c674251113cc11586 | refs/heads/master | 2020-05-25T05:22:52.440527 | 2019-05-08T16:22:19 | 2019-05-08T16:22:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | hpp | #pragma once
// Mordhau (Dumped by Hinnie) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClas... | [
"hsibma02@gmail.com"
] | hsibma02@gmail.com |
c9991845018f0fb8a487139ae6553f817147973c | 5b2860726a5e75fcb51c8a4c48c2adcb3432ab98 | /Algorhythms/Dynamics.cpp | 375c2080c022a3e2da30c3d9c7ae1716f2d60f3a | [] | no_license | voidmirror/Algorhythms | 635b55e086bf7e153184d3a4afd3c06612c45f56 | a693bc79f70e41f64d63cf3accc0522899656358 | refs/heads/master | 2020-08-04T09:24:27.294600 | 2019-10-22T21:05:39 | 2019-10-22T21:05:39 | 212,088,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,516 | cpp | #include <iostream>
#include "Dynamics.h"
using namespace std;
void add2List(List** head, char addval) {
List **pp = head;
List *newelem;
while (*pp) {
if (addval < (*head)->value)
break;
else
pp = &((*pp)->point);
}
newelem = (List*)malloc(sizeof(List));
newelem->value = addval;
newelem->point = *pp... | [
"voidmirror@users.noreply.github.com"
] | voidmirror@users.noreply.github.com |
eac511419c33f22b00589d18e95e348ade5d3680 | 61d8c44ba288f8ee5d42985073aaf97240ceef05 | /builder_pattern.cpp | 65de839207a9d48ffb999d532db00e47c1ac9e50 | [] | no_license | yunzhongke/design-cpp_test | d81d78ea422f58b318bad29c6912e9b596f4b519 | 70e135f22ddcfd8da0df7772432fadeb2dc34665 | refs/heads/master | 2021-09-04T20:26:04.840546 | 2018-01-22T06:04:54 | 2018-01-22T06:04:54 | 118,413,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | cpp | /*================================================================
* Copyright (C) 2018 Vertiv Tech Co Ltd. All rights reserved.
*
* 文件名称:builder_pattern.cpp
* 创 建 者:yunzhongke
* 创建日期:2018年01月20日09时
* 描 述:建造者模式实现
*
================================================================*/
#include <iostream>
#... | [
"18689568563@163.com"
] | 18689568563@163.com |
e050da221ed916af85d4f6a96122ef690f1b9475 | 1b35ebe43428579639a54145567162d8a6e8fd03 | /Game.cpp | ccb83e3e347a5f98eb2011d73e914a8d165e796e | [] | no_license | MattDienhart/starship-bloopers | 586db89119868b99d5c18eddc02bba26453695f8 | 2f76d439991e245162867fb24c0ed672ae6b474e | refs/heads/master | 2020-03-28T18:13:08.297026 | 2018-09-15T02:42:21 | 2018-09-15T02:42:21 | 148,861,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,547 | cpp | /************************************************************************************************
* Author: Matt Dienhart
* Date: 3/16/2018
* Description: (Final Project) This is the class implementation file for Game.
* **********************************************************************************************/... | [
"noreply@github.com"
] | noreply@github.com |
ecac4dc44db63308cac1f2b8a51ff7b4bab58763 | b5f6d2410a794a9acba9a0f010f941a1d35e46ce | /vgui2/controls/Menu.cpp | 19008e24440adab9b3ada9e3dca4cbfc9c8ebcb3 | [] | no_license | chrizonix/RCBot2 | 0a58591101e4537b166a672821ea28bc3aa486c6 | ef0572f45c9542268923d500e64bb4cd037077eb | refs/heads/master | 2021-01-19T12:55:49.003814 | 2018-08-27T08:48:55 | 2018-08-27T08:48:55 | 44,916,746 | 4 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 74,273 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "vgui_controls/pch_vgui_controls.h"
// memdbgon must be the last include file in a .cpp fil... | [
"christian.pichler.msc@gmail.com"
] | christian.pichler.msc@gmail.com |
d6789d98ca58353101069af659d14927be638aea | bf09b499edc5bf2e47a43c7c2dd4cd4bcc53255b | /App/ogl2d/VFT.cpp | 77e4878d1865bc1f807641c931502231284f41ab | [] | no_license | 15831944/SmartISO | 95ab3319f1005daf9aa3fc1e38a3f010118a8d20 | 5040e76891190b2146f171e03445343dc005d3be | refs/heads/main | 2023-04-12T19:06:21.472281 | 2021-05-03T04:12:59 | 2021-05-03T04:12:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,893 | cpp | #include "StdAfx.h"
#include <assert.h>
#include "VFT.h"
char CVFT::m_szHead[4];
// parameter :
// description :
// remarks :
// returns :
CVFT::CVFT(){
strcpy(CVFT::m_szHead,"DVFT");
m_nHeight = 0.;
memset(m_ptrData,NULL,256*sizeof(VCHAR*));
memset(m_ptrChar,NULL,256*sizeof(VCHAR_T*));
}
// parameter :
// des... | [
"humkyung@atools.co.kr"
] | humkyung@atools.co.kr |
02c8a7c7641e9dfadad4a27bbf214451ba7281ac | 19ccfd6806c5054679dab3f275822302206b222f | /src/game/client/in_trackir.cpp | 5b8a294bab27d48efb961c8bd8abec93945789c9 | [
"Apache-2.0"
] | permissive | BenLubar/SwarmDirector2 | 425441d5ac3fd120c998379ddc96072b2c375109 | 78685d03eaa0d35e87c638ffa78f46f3aa8379a6 | refs/heads/master | 2021-01-17T22:14:37.146323 | 2015-07-09T19:18:03 | 2015-07-09T19:18:03 | 20,357,966 | 4 | 1 | Apache-2.0 | 2018-08-30T13:37:22 | 2014-05-31T15:00:51 | C++ | WINDOWS-1252 | C++ | false | false | 6,325 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: TrackIR handling function
//
// $Workfile: $
// $Date: $
// $NoKeywords: $
//=============================================================================//
#if !defined( _X360 )
#include <windows.h>
#en... | [
"ben.lubar@gmail.com"
] | ben.lubar@gmail.com |
c914e35eeee3eece7bd6f06c94d22002904607cf | 1a8db3a0d145f9805ec169e57f9de326ba9d7f57 | /cs475-tutorials-master/Tutorial_06/gl_framework.cpp | b8870d4cb7c510b0cdffe2d691b068f23dd1cd0b | [] | no_license | LostSam423/Soviet-Republic | 4fe0ae4f3507d13856c1672ac517e96f9a6f3e2b | 52da03dbe4b5e6b07505bcdab51f53c0ba53756b | refs/heads/master | 2022-07-28T03:15:23.568876 | 2020-05-17T10:58:53 | 2020-05-17T10:58:53 | 249,247,696 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,775 | cpp | #include "gl_framework.hpp"
extern GLfloat xrot,yrot,zrot,c_xrot,c_yrot,c_zrot;
extern bool enable_perspective;
namespace csX75
{
//! Initialize GL State
void initGL(void)
{
//Set framebuffer clear color
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
//Set depth buffer furthest depth
glClearDepth(1.0);
... | [
"beherasambit423@gmail.com"
] | beherasambit423@gmail.com |
405b7be3664020ee950cb0bbcc56249aa0a05a0c | e37d6479533fa5fbb6a8646fee5a2faa22d4fdb2 | /src/saiga/util/threadName.h | c2d9cf06d7ed0ea829a78e713e8ced391b011d20 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ElectricRobot/saiga | 4996b6327f4472eb3feff3000b19c6882125da68 | 4987074847aabd025278168ea72ca8a991811c42 | refs/heads/master | 2020-04-11T03:41:01.515890 | 2018-12-12T09:25:16 | 2018-12-12T09:25:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | h |
/**
* Copyright (c) 2017 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#pragma once
#include "saiga/config.h"
#include <thread>
namespace Saiga
{
/**
* Sets a thread name for debugging purposes.
*
* Basically copy+paste from here: https://stackoverflow.com/ques... | [
"darius.rueckert@fau.de"
] | darius.rueckert@fau.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.