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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ae4464155c35b1c05ccb59d2fbf9648a9591ca26 | bb283e9f669f81d5b175c8792392d880f812f591 | /Light.h | f0e267e6f4076c36176fa34fb5975fd3b54d50a0 | [] | no_license | elfprincexu/RayMini | b49c1e4e126d8dbc7bd0fa8b5f1bb0e7b3a25975 | d432f08a3b9b8b9e08b805208de0f35b1b646035 | refs/heads/master | 2016-08-11T08:17:54.097611 | 2015-11-30T14:01:22 | 2015-11-30T14:01:22 | 46,980,569 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,028 | h | // *********************************************************
// Light Class
// Author : Tamy Boubekeur (boubek@gmail.com).
// Copyright (C) 2010 Tamy Boubekeur.
// All rights reserved.
// *********************************************************
#ifndef LIGHT_H
#define LIGHT_H
#include <iostream>
#include <vector>
#i... | [
"elfprincexu@126.com"
] | elfprincexu@126.com |
2e6def7f43145773b9615aecc275d786ce4b314f | 01bcef56ade123623725ca78d233ac8653a91ece | /utils/hlmv/matsyswin.h | d4ef1f408ff34cd8357d88937349327df8e95d79 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SwagSoftware/Kisak-Strike | 1085ba3c6003e622dac5ebc0c9424cb16ef58467 | 4c2fdc31432b4f5b911546c8c0d499a9cff68a85 | refs/heads/master | 2023-09-01T02:06:59.187775 | 2022-09-05T00:51:46 | 2022-09-05T00:51:46 | 266,676,410 | 921 | 123 | null | 2022-10-01T16:26:41 | 2020-05-25T03:41:35 | C++ | WINDOWS-1252 | C++ | false | false | 4,024 | h | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//======================================================... | [
"bbchallenger100@gmail.com"
] | bbchallenger100@gmail.com |
738574fe372a7c4f9f3963707644cafe244f5cfa | 879dc5681a36a3df9ae5a7244fa2d9af6bd346d7 | /src/Boole1/Weblab.cpp | 2e110f2aff4a33623a2137c14f8d5c0e3059b912 | [
"BSD-3-Clause"
] | permissive | gachet/booledeusto | 9defdba424a64dc7cf7ccd3938d412e3e797552b | fdc110a9add4a5946fabc2055a533593932a2003 | refs/heads/master | 2022-01-18T21:27:26.810810 | 2014-01-30T15:20:23 | 2014-01-30T15:20:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,974 | cpp | //---------------------------------------------------------------------------
#include <vcl/printers.hpp>
#include <vcl/vcl.h>
#pragma hdrstop
#include "Unit15.h"
#include "V_Boole2.h"
#include <string>
#include <sstream>
#include <time>
#include <windows.h>
#include "Weblab.h"
//----------------... | [
"luis.rodriguez@opendeusto.es"
] | luis.rodriguez@opendeusto.es |
21e7677650088745a6e8776c1e302ec2d57ef1a0 | d9971dde7fc385321bf6c8b48c0d63c96cf3692c | /build/release/share/lib/rtl/flx_strutil.hpp | ba500b81b8baf99eb5b0129351d12f382ba0aad6 | [] | no_license | felix-lang/osx10binary | 204aa8ef0bbb0f879997b5bbe5b21502034b1c71 | 08f8354752ac22be35b4a0566491f233f34ebb3d | refs/heads/master | 2021-01-19T04:24:33.218565 | 2016-08-05T16:33:11 | 2016-08-05T16:33:11 | 65,033,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,162 | hpp | #line 14 "/Users/skaller/felix/src/packages/strutil.fdoc"
#ifndef __FLX_STRUTIL_HPP_
#define __FLX_STRUTIL_HPP_
#include <string>
#include <sstream>
#include <iomanip>
#include <stdarg.h>
#include <stdlib.h>
#include "flx_strutil_config.hpp"
//RF: was only to commented out to fix macosx problem,
//but lets see what... | [
"skaller@users.sourceforge.net"
] | skaller@users.sourceforge.net |
382fa62bc07270c60e939a95ca1c6337466cbe6d | 1385c32207e378f47bf2153956825e89228b8de1 | /references/WebRTC/media/engine/fakewebrtcvideocapturemodule.h | 7556811f2de01962bfe014e5056324c2d68400fe | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-free-unknown",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm"
] | permissive | marlonnardi/alcinoe | 4d5dc32328fff661792f5805a799e16b001688d1 | 5e14b2fca7adcc38e483771055b5623501433334 | refs/heads/master | 2020-08-12T09:38:29.484894 | 2020-05-17T23:17:32 | 2020-05-17T23:17:32 | 163,667,647 | 1 | 0 | Apache-2.0 | 2019-10-12T22:52:31 | 2018-12-31T12:34:34 | Pascal | UTF-8 | C++ | false | false | 2,823 | h | /*
* Copyright (c) 2004 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"loki5100-nospam@yahoo.fr"
] | loki5100-nospam@yahoo.fr |
404d6c32fd83d186299a0bf7d2ef761ddb2bbd6f | b58bdf4f49514654c68cbf8f297c87b3230161b3 | /serial.cpp | 2025dc771b1e368dd17aa638f727cf16839612f7 | [] | no_license | ekoeppen/serial-legacy | f8cec3682fbb9a949d6da066b87fa1b2ccb60463 | 4caa27772010b2989b3a970395ae87b1a76504f7 | refs/heads/master | 2021-05-26T12:26:49.921234 | 2013-03-06T19:38:57 | 2013-03-06T19:38:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,290 | cpp | // On Windows under cygwin, try /dev/comNN, where NN is 0, 1, 2, etc
// GUC-232A came up as /dev/com4 just now (I think)
#include <stdio.h> /* Standard input/output definitions */
#include <string.h> /* String function definitions */
#include <stdlib.h>
#include <unistd.h> /* UNIX standard function definitions */... | [
"eck@40hz.org"
] | eck@40hz.org |
b45f1e8e5e835fed174bd012e4a7be0560d0d9dd | 8eae6774231f4a313e7aa8ac30d5c678dc1c2a42 | /CodeForces/1270 E-gc.cpp | 758eef6ea66fa417250b59abb957ba1b03d2daaf | [
"MIT"
] | permissive | windcry1/My-ACM-ICPC | c97b203e5e54d355168ed14db888f4a1b3e6c363 | b85b1c83b72c6b51731dae946a0df57c31d3e7a1 | refs/heads/master | 2021-09-06T20:47:56.525749 | 2021-08-22T14:06:10 | 2021-08-22T14:06:10 | 231,622,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | cpp | /*************************************************************************
>>> Author: WindCry1
>>> Mail: lanceyu120@gmail.com
>>> Website: https://windcry1.com
>>> Date: 12/30/2019 11:03:37 PM
*************************************************************************/
#include <cstring>
#include <cmath>
#include <cstdi... | [
"lanceyu120@gmail.com"
] | lanceyu120@gmail.com |
3920385be3fd5a28ad8284769b5684348fc2d383 | f5243a2ee19c0499444993ba363a8e6703b0b78b | /system/utest/crashlogger/crashlogger-test.cpp | ce66a079c301b3fa8cdb1fb78293f3bb7d6cce23 | [
"BSD-3-Clause",
"MIT"
] | permissive | shreks7/magenta | a5f3d58b12763ee389522303801d950178c41e4b | a6b2c4933b26595631c6e2cf25709b4803a3e7ff | refs/heads/master | 2021-01-01T20:04:39.732925 | 2017-07-29T01:21:50 | 2017-07-29T17:11:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,793 | cpp | // Copyright 2017 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 <stdio.h>
#include <regex.h>
#include <unistd.h>
#include <magenta/processargs.h>
#include <mxtl/unique_ptr.h>
#include <launchpad/launchpad.h>
#... | [
"mseaborn@google.com"
] | mseaborn@google.com |
4461b819f4d4f481f49536b7ebd0807b39e4b990 | 21f5356e9fd0b3ab9ee7a5c54e30fd94bb660ee4 | /win32/src/PyDEVMODE.cpp | a1bc2566e3e9adcc6f3658b4eba6d6ba9289cb66 | [] | no_license | chevah/pywin32 | 90850232a557ecf054bc316e324aaf60188f2cca | d4ff0b440147ab65f1945991e81163fb1cf1ceaf | refs/heads/master | 2020-03-29T09:46:04.465546 | 2014-10-24T09:11:17 | 2014-10-24T09:11:17 | 25,680,336 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 33,618 | cpp | // @doc - This file contains autoduck documentation
#include "PyWinTypes.h"
#include "structmember.h"
#include "PyWinObjects.h"
#ifdef MS_WINCE
#define DM_SPECVERSION 0
#endif
// @object PyDEVMODE|Python object wrapping a DEVMODE structure
struct PyMethodDef PyDEVMODEA::methods[] = {
{"Clear", PyDEV... | [
"adi.roiban@chevah.com"
] | adi.roiban@chevah.com |
31fc0a6a12854e4c373a9f5454ed009277368449 | 98c3a1405296e8ccadf21a54c1ba38c75abac7f9 | /Swiat.cpp | 950044cdf98018fc93fefeb76be9b7ce0a1e66ee | [] | no_license | blejson/simulation | f11c12c096e20c1b310720e137aad2df9f2a6cd6 | dde7b2c1b946c0602a6f163430d14548ee300eca | refs/heads/master | 2020-12-28T03:55:13.203929 | 2020-02-04T10:01:42 | 2020-02-04T10:01:42 | 238,172,719 | 1 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 6,336 | cpp | #include "Swiat.h"
#include "Organizm.h"
#include "Roslina.h"
#include "Zwierze.h"
#include "trawa.h"
#include "wilk.h"
#include "mlecz.h"
#include "wilczeJagody.h"
#include "barszczSosnowskiego.h"
#include "guarana.h"
#include "owca.h"
#include "lis.h"
#include "zolw.h"
#include "antylopa.h"
#include "cz... | [
"noreply@github.com"
] | blejson.noreply@github.com |
4084f354a97f9a90b15059f2a6ea480d2ccf4a70 | a1df45487531b511fc32dd2b5352e7b701436781 | /Exams/mid17extra/isBalanced.cpp | bf1224e1e9d9652907793f0935c49e0df5a3b54e | [] | no_license | TarekkMA/FEE-First-Data-Structure-Algorithms | a7b0886ea48fbefc499a0a99c134c9455f11e3d1 | b0e92230f2a2ca83134909f8448cfe095f87a786 | refs/heads/master | 2021-09-04T07:47:52.680847 | 2018-01-17T05:44:43 | 2018-01-17T05:44:43 | 110,882,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,730 | cpp | #include <iostream>
#define SIZE 100
using namespace std;
struct Stack{
char data[SIZE];
int top = -1;
};
bool isEmpty(Stack s){
if(s.top == -1)
return true;
else
return false;
}
bool isFull(Stack s){
if(s.top == SIZE-1)
return true;
else
return false;
}
void ... | [
"tarekkma@gmail.com"
] | tarekkma@gmail.com |
2dbc0d214ce64cabe291b67304188d534750e63c | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/multinet/src/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h | 635cbe1cb3bcc944c099798584fb2d4da96b6c0c | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,928 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You ca... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
62f1b8e32ad023330a15d45521692e9e9ceb0929 | 66bed781982f87371b28189ab0f0faa30b537e11 | /TP - El Beze/Chevalier-Chris-TP-Sudoku/main.cpp | 2b8157a32cbb8cc90e6910e637c534b12190264d | [] | no_license | cc222ip/Programmation-avance-e-et-re-alisation | 7adda58a1ee505825435c0046585152ee1d8832d | c28958165f3570e08cd8e9e113a626455f48abc6 | refs/heads/master | 2020-03-11T08:58:45.211529 | 2018-04-17T12:03:06 | 2018-04-17T12:03:06 | 129,897,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | #include "sudoku.h"
int main() {
float temps;
clock_t t1, t2;
Grid G1;
cout << "Grille avant remplissage :" << endl;
G1.Afficher();
bool b1 = false;
t1 = clock();
G1.Resolution1(0, b1);
t2 = clock();
temps = (float)(t2 - t1)/CLOCKS_PER_SEC;
cout << "Grille après rempl... | [
"32032587+cc222ip@users.noreply.github.com"
] | 32032587+cc222ip@users.noreply.github.com |
d80aa572249362d0aefc6268081d3810487d2c29 | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/23/Ua | ce34381d033265a3a153b3f3e2b24e7c8a4ee91c | [] | 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 | 239,382 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
9b1511e659db97e3ba491f5e6f8445d6e5071d7c | ee1423adcd4bfeb2703464996171d103542bad09 | /dali-core/automated-tests/dali-test-suite/events/utc-Dali-LongPressGestureDetector.cpp | fc06ce2363b2b9d80aad701f18350b692c74c7b0 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-flora-1.1"
] | permissive | sak0909/Dali | 26ac61a521ab1de26a7156c51afd3cc839cb705a | 0b383fc316b8b57afcf9a9e8bac6e24a4ba36e49 | refs/heads/master | 2020-12-30T12:10:51.930311 | 2017-05-16T21:56:24 | 2017-05-16T21:57:14 | 91,505,804 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 48,570 | cpp | //
// Copyright (c) 2014 Samsung Electronics Co., Ltd.
//
// Licensed under the Flora License, Version 1.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://floralicense.org/license/
//
// Unless required by applicable law or a... | [
"sak0909@outlook.com"
] | sak0909@outlook.com |
414a28e0887532952ec2aaf56146f2af64a6dbc9 | 98a112e0577d63a48fd826d14d00420e58479a03 | /ejercicios/semaforo_temporizador_funcion/semaforo_temporizador_funcion.ino | 696236e170ceffa98697c4fbfd6fb6cb751bccf4 | [] | no_license | mundostr/itec_arduino2019_c1 | d22b823d30f75ba9577a0707c51cde087761ba65 | 8bd0812b6a37f9acf090603c9955634a2f1e7e63 | refs/heads/master | 2020-05-19T03:24:49.802004 | 2020-02-17T12:25:21 | 2020-02-17T12:25:21 | 184,799,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,111 | ino | /*
Reescritura ejercicio semáforo, manteniendo el uso de una función para el manejo de las luces,
pero agregando temporizadores para atender varias tareas al mismo tiempo (por ejemplo, ciclar luces
y estar atentos a la pulsación de un botón).
*/
// Incluimos la librería elapsedMillis, para manejar los temp... | [
"idux.net@gmail.com"
] | idux.net@gmail.com |
8b91c9c88a3c5f0dcfc5f1635bd225e4f490fc4e | fcb52aa59832f7db99ae516f50bd89ab65e35fbb | /zjw_pcsRLGR.cpp | 409fa35dde8e2b0140f7da337efbc4b0b3d71371 | [] | no_license | kingzjw/pcs | 1716380c3e89822d36725beda880f6e870fbadd1 | a8decb17b8b7150c175ce0a0d38a1f52b1202bae | refs/heads/master | 2020-03-16T15:23:08.444984 | 2018-10-06T04:11:16 | 2018-10-06T04:11:16 | 132,741,388 | 5 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,551 | cpp | #include "zjw_pcsRLGR.h"
PCS_RLGR::PCS_RLGR(VectorXd * mvSignal, Eigen::SparseMatrix<double>* lapMat)
{
//RLGR论文中有提到 stepSize deta from 0.01 - 1 范围。越低,保真度越高。
stepSize = 0.001;
this->mvSignal = mvSignal;
this->spLaplacian = lapMat;
}
PCS_RLGR::~PCS_RLGR()
{
}
void PCS_RLGR::rlgr_mv_compress()
{
inputList.clea... | [
"zjwking258@163.com"
] | zjwking258@163.com |
b4fe18fc188d6e444a20c322aaa8fdf83ac45e42 | 41551ed6dbb8bd8c893c20ff3f0d7dca7f2437b8 | /main.cpp | 7993a74bc14717524096d25ce2e27a62a343767d | [] | no_license | Sindeguru/GeometricShapes | cbeacc9c00b5e04f75b9c21e6506fa6b416d4b8a | 0116b8083ec7b5eee9343877fb4f6c8a6088c6bd | refs/heads/master | 2022-08-18T16:40:04.795017 | 2020-05-22T20:52:15 | 2020-05-22T20:52:15 | 266,200,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | cpp | #include "Point.h"
#include "Line.h"
#include "Triangle.h"
#include "Circle.h"
#include "Quadrilateral.h"
#include "Sphere.h"
#include "Ellipse.h"
#include "Container.h"
#define Add(x) Add(x, #x)
#define SetA(t) SetA()[t]
#define SetB(t) SetB()[t]
#define SetC(t) SetC()[t]
#define SetD(t) SetD()[t]
using n... | [
"noreply@github.com"
] | Sindeguru.noreply@github.com |
49c4c2fefa23371d2f93d7131d87c5c296eb698e | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DinoAttackStateMelee_parameters.hpp | 4893fb174e6231f8610106b14dc8a6b5bb109f96 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoAttackStateMelee_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//-------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
b3742443f7e5b36f79b82ee0566da232ca9d472b | 7cad3ff6a8689849db4ee8de9599e2e171a20aa1 | /cprog09lab22c.cpp | 8ef2e5cbca26bc2313a90c55d08a52dcf7f5cf27 | [] | no_license | wnr/cprog13-lab2 | 9eb918ca9081ca04afb00259f266f0d28a6d159f | 7dbba5cae55e40e40e344f62f41b376be3f7f942 | refs/heads/master | 2023-06-25T17:35:12.459225 | 2013-11-06T14:58:35 | 2013-11-06T14:58:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,706 | cpp | /*
* Driver for cprog06lab22c. Written 2006-10-03 by Gunnar Kreitz <gkreitz>
*
* If you need to modify this file to solve the assignment, you're most likely
* solving it the wrong way.
*/
#include "julian.h"
#include "gregorian.h"
#include "kattistime.h"
#include "gregorian.h"
#include "julian.h"
#include <vector... | [
"lucas@wiener.se"
] | lucas@wiener.se |
c0b973c54697463f4fbfb99932084888c8bde25c | 83b760ac2f72d08f46c424917ebbf4424f7531be | /src/ExpTest.h | e0de409ba7e0603d077092a2fe01f3cd1a491185 | [] | no_license | elyawy/stepping_stone1 | 96582517883d458a7136d57db832f650abd5fe73 | 8ac70c372105f4f583e5ded5c0fc2082fabadbc2 | refs/heads/master | 2020-04-11T04:33:01.479821 | 2018-12-29T21:38:21 | 2018-12-29T21:38:21 | 161,515,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | h | //
// Created by ziv_t on 12/16/18.
//
#ifndef STEPPING_STONE1_EXPTEST_H
#define STEPPING_STONE1_EXPTEST_H
#include "test.h"
#include "Expression.h"
#include "Number.h"
#include "BinaryExpression.h"
#include "Plus.h"
#include "Minus.h"
#include "Mul.h"
#include "Div.h"
class ExpTest : public test {
public:
void ... | [
"ziv.tzur@live.biu.ac.il"
] | ziv.tzur@live.biu.ac.il |
3629132ed27318e7cde173bca215b20be25afb9b | 7f1f2d028a0faa297617a4e2070714891df11688 | /practice/1104ex/mytime3.cpp | 3c92458da1987bcf02e38d78a6c0b2dd7ac4b172 | [] | no_license | mallius/CppPrimerPlus | 3487058a82d74ef0dd0c51b19c9f082b89c0c3f3 | 2a1ca08b4cdda542bb5cda35c8c5cfd903f969eb | refs/heads/master | 2021-01-01T04:12:16.783696 | 2018-03-08T13:49:17 | 2018-03-08T13:49:17 | 58,808,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | cpp | #include <iostream>
#include "mytime3.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m)
{
hours = h;
minutes = m;
}
void Time::AddMin(int m)
{
minutes+=m;
hours+=minutes / 60;
minutes %=60;
}
void Time::AddHr(int h)
{
hours+=h;
}
void Time::Reset(int h, int m)
{
hours = h;
minutes = m;
}
... | [
"mallius@qq.com"
] | mallius@qq.com |
79c593e08994157b33dd24c743d7a3652b3dfa30 | aa646aeef6ffcb0356c91dc97a1cca8b029d94ef | /src/iksdl/Renderer.cpp | ce955d4bcc6bd15db19b0f8269338eda4c626d55 | [
"Zlib"
] | permissive | InternationalKoder/iksdl | 3562ff4322c7da0c85f30a2efd4198dc50c95cde | 066a60b405bab5310a500132b0bd4d82c6476f24 | refs/heads/main | 2023-05-13T16:27:29.203552 | 2021-05-29T21:20:23 | 2021-05-29T21:20:23 | 349,504,332 | 0 | 0 | NOASSERTION | 2021-05-29T21:20:24 | 2021-03-19T17:30:37 | C++ | UTF-8 | C++ | false | false | 2,310 | cpp | /*
* IKSDL - C++ wrapper for SDL
* Copyright (C) 2021 InternationalKoder
*
* 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 softwar... | [
"international_koder@yahoo.com"
] | international_koder@yahoo.com |
0735e7072e6e2e32dbda8f1e39f0ecbeac626286 | efd67fa3fdac58fd2bf6be94cd52d720f0cd2f25 | /src/parser/Parser.cpp | b2e64ce3920be29f335ebeb0174aacb929ceb186 | [] | no_license | pik694/TKOM-rasph | 22cd129776e836c2217e9eb9f88ba95b8b51e619 | a983cc2a77e8056bc20e4bb58d23cacc72295802 | refs/heads/master | 2020-03-09T03:00:56.247171 | 2018-06-05T21:51:47 | 2018-06-05T21:51:47 | 128,554,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,150 | cpp | //
// Created by Piotr Żelazko on 06.05.2018.
//
#include <common/ast/nodes.hpp>
#include "NodesFactory.hpp"
#include "TokenTypesAcceptor.hpp"
using namespace rasph::common::ast;
using namespace rasph::common::tokens;
using namespace rasph::parser;
template<TokenType ... types>
using Acceptor = TokenTypesAcceptor<... | [
"piotr.zelazko@icloud.com"
] | piotr.zelazko@icloud.com |
cc05420a258a33d21be60dafb1b6ebf9b6645828 | 9c9003f4912e2065c3901f1f51ef5b398f999a10 | /projectb/client/game_xxx/newProtocol/game_fourcolorball_def.pb.cc | 0806ae59f850b01543f9feaffcd6d61dd49ed1ac | [] | no_license | PHDaozhang/recharge_h5 | 41424d5725eae69cc6a921cd1ef954b255a0ca65 | 7d5e63d97e731ea860d927c37612fe35f7d3bd61 | refs/heads/master | 2020-08-11T21:57:49.842525 | 2019-10-15T07:32:40 | 2019-10-15T07:32:40 | 214,632,134 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | true | 6,424 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: game_fourcolorball_def.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "game_fourcolorball_def.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/proto... | [
"czh850109@gmail.com"
] | czh850109@gmail.com |
65b779a2a6e0f530770b7ae19fa4ad7caa66e6d6 | 2b7b4f2f174d01b0f2445e2e2275e6a1a8f143c6 | /HDU/1864[dp].cpp | c042f97f06e60b43014bd7ba020ae3d88beb6598 | [] | no_license | lilyht/OJ_code | 34220c6d0dbd36984af0fae69dce8427742b1eac | eb589194c109fdc5ed24ea99f2b0f5108964a72c | refs/heads/master | 2022-12-27T09:10:17.911928 | 2020-10-12T08:45:08 | 2020-10-12T08:45:08 | 303,328,850 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,981 | cpp | #include <iostream>
#include <string.h>
#include <iomanip>
using namespace std;
/*
* 最大报销额
* 现有一笔经费可以报销一定额度的发票。允许报销的发票类型包括买图书(A类)、文具(B类)、差旅(C类)
* 要求每张发票的总额不得超过1000元,每张发票上,单项物品的价值不得超过600元。
* 现请你编写程序,在给出的一堆发票中找出可以报销的、不超过给定额度的最大报销额。
*/
int check[35];
int dp[3000050]; //因为dp数组的下标必须是整数,而输入的价格为两位小数,所以扩大100倍变整数,最后输出的时... | [
"295808612@qq.com"
] | 295808612@qq.com |
326151aa0b85f77b9eeeaae62159a449eca8a3c6 | e1e756097a338ac7ed026de4ec825821a6653ea3 | /boost_net/deps.h | 87817d9352fe9c7797f587b98849091b26a4ae48 | [] | no_license | killgxlin/boost_network | 43a8c2753a9cf5b796f6c0aa7d846347c128ff1c | 6ae91543919c68e66b95f7da3501e7c9f4ed515f | refs/heads/master | 2021-01-22T03:08:41.855916 | 2013-07-10T15:11:27 | 2013-07-10T15:11:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | #ifndef DEPS_H
#define DEPS_H
#include <boost/thread.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
#include <boost/lockfree/spsc_queue.hpp>
#include <boost/lockfree/queue.hpp>
#include <boost/lockfree/stack.hpp>
#include <boost/asio.hpp>
#include <boost/atomic.hpp>
#include <set>
... | [
"killgxlin@hotmail.com"
] | killgxlin@hotmail.com |
e062d6f4d40808db7328067db2a03f02888f9816 | a96f0a36ffd4b91dd059420b79856931b5e0f5e3 | /SolveConnect2/MoveInstructionsExit.cpp | 4a8e1c5d5d2fff366c060a82622e988ba27cfb1b | [
"Unlicense"
] | permissive | rothor/Connect2Solver | 5163e8a8e21f40cd5bc2bf15df297a17a249e87c | eca13bfb374443e5877ece3266f874dcacaab5d6 | refs/heads/master | 2022-09-17T16:45:11.003015 | 2020-05-27T05:49:34 | 2020-05-27T05:49:34 | 267,188,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include "MoveInstructionsExit.h"
MoveInstructionsExit::MoveInstructionsExit(bool isForced,
bool mustTeleport,
Point teleportPoint,
bool resetIfOnlyForcedMovesAfter) :
isForced(isForced),
mustTeleport(mustTeleport),
teleportPoint(teleportPoint),
resetIfOnlyForcedMovesAfter(resetIfOnlyForcedMovesAfter)
{
}
| [
"warm.juice@yahoo.com"
] | warm.juice@yahoo.com |
69ec5591ec882ccf7637b6ba5ee54f7a123be744 | dccb136394c3c7f4a636f17f444ebaf95e24ab66 | /Programmers/Lv_1/programmers_콜라츠 추측.cpp | 02bb4b87b4f3f88df6c815bdb31c196c7e9c7d5e | [] | no_license | Oh-kyung-tak/Algorithm | e2b88f6ae8e97130259dedfc30bb48591ae5b2fd | be63f972503170eb8ce06002a2eacd365ade7787 | refs/heads/master | 2020-04-25T22:37:41.799025 | 2020-01-19T08:55:42 | 2020-01-19T08:55:42 | 173,117,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include <string>
#include <vector>
using namespace std;
int solution(int num) {
int answer = 0;
int cnt = 0;
long long int temp = num;
while (1)
{
if (temp == 1)
{
answer = cnt;
break;
}
if (cnt > 500)
{
answer = -1;
break;
}
if (temp % 2 == 0)
temp /= 2;
else
temp = (temp *... | [
"38690587+Oh-kyung-tak@users.noreply.github.com"
] | 38690587+Oh-kyung-tak@users.noreply.github.com |
6a1abca18f7b099e259a48b2411c3266066ed802 | a1091ad42e6a07b6fbb6fe876feb03547a8da1eb | /MITK-superbuild/ep/include/ITK-4.7/itkAffineTransform.hxx | 80ddcc40ddf04aaf085c1081143d76e71f5141d9 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Sotatek-TuyenLuu/DP2 | bc61866fe5d388dd11209f4d02744df073ec114f | a48dd0a41c788981009c5ddd034b0e21644c8077 | refs/heads/master | 2020-03-10T04:59:52.461184 | 2018-04-12T07:19:27 | 2018-04-12T07:19:27 | 129,206,578 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,602 | hxx | /*=========================================================================
*
* 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... | [
"tuyen.luu@sotatek.com"
] | tuyen.luu@sotatek.com |
ef54862e9b292111e173b6984a08f51a0632a2c5 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/rice/pastry/join/JoinRequest.cpp | 4800078c4930f901273844ca2f14c01f5f557daf | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,593 | cpp | // Generated from /pastry-2.1/src/rice/pastry/join/JoinRequest.java
#include <rice/pastry/join/JoinRequest.hpp>
#include <java/io/IOException.hpp>
#include <java/io/Serializable.hpp>
#include <java/lang/ArrayStoreException.hpp>
#include <java/lang/ClassCastException.hpp>
#include <java/lang/Cloneable.hpp>
#include <ja... | [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
e9a66c9b45349acf8f03b599f2f20ced652a34b9 | 5a8168174356adbdf8c95a6c493e03e14e568079 | /src/shapely.cpp | 634bfee7d1d95beb4a0cb6f5296cfa073f74ed01 | [
"Apache-2.0"
] | permissive | UTNuclearRobotics/descartes_tutorials | 133f9edc7861f4ca8aa7a7ed08f6af66f844e799 | 3245e2b262818563c017af8788936f64c1869f2e | refs/heads/master | 2021-01-01T04:23:37.419903 | 2018-07-12T21:25:15 | 2018-07-12T21:25:15 | 97,168,045 | 0 | 0 | null | 2017-07-13T21:58:01 | 2017-07-13T21:58:01 | null | UTF-8 | C++ | false | false | 8,914 | cpp | // Core ros functionality like ros::init and spin
#include <ros/ros.h>
// ROS Trajectory Action server definition
#include <control_msgs/FollowJointTrajectoryAction.h>
// Means by which we communicate with above action-server
#include <actionlib/client/simple_action_client.h>
// Includes the descartes robot model we w... | [
"cpetlowany@gmail.com"
] | cpetlowany@gmail.com |
e0d27f358bb3393b65f71dc8a93640ef8c5103f5 | 20482a4f7571a81f9e0e0aa2021d48cd1826571e | /White/Week 4/block_3/Calculator/RatCalc.cpp | d9f6d8cc7e3c044be1ea9d7bd4ceaf036543189f | [] | no_license | intelek2al/Coursera | c0bb155d99853c449c479a4ff1217955edd17e09 | d16476c4ed0046e9f30b5f5a6999c4923af6b4e4 | refs/heads/master | 2022-12-05T22:42:32.527351 | 2020-08-16T15:57:52 | 2020-08-16T15:57:52 | 283,719,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,115 | cpp | #include <iostream>
#include <numeric>
#include <sstream>
#include <string.h>
#include <map>
#include <set>
#include <vector>
#include <exception>
using namespace std;
class Rational
{
public:
Rational()
{
num = 0;
den = 1;
}
Rational(int numerator, int denominator)
{
if (denominator == 0)
{
throw in... | [
"nikita96511@gmail.com"
] | nikita96511@gmail.com |
61a82e52305e2e61a97596d3feffac7509d13418 | fafdf1e62cf622035ee82666ba6ae7108127d140 | /gameswf/gameswf/plugins/sysinfo/sysinfo.h | 98679b0f826e8fc91ff86aff160424899c28f7f7 | [] | no_license | saerich/RaiderZ-Evolved-SDK | 7f18942ddc6c566d47c3a6222c03fad7543738a4 | b576e6757b6a781a656be7ba31eb0cf5e8a23391 | refs/heads/master | 2023-02-12T03:21:26.442348 | 2020-08-30T15:39:54 | 2020-08-30T15:39:54 | 281,213,173 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 885 | h | // sysinfo.cpp -- Vitaly Alexeev <tishka92@yahoo.com> 2007
// This source code has been donated to the Public Domain. Do
// whatever you want with it.
// gameSWF plugin, gets dir entity
#ifndef GAMESWF_SYSINFO_PLUGIN_H
#define GAMESWF_SYSINFO_PLUGIN_H
#include "gameswf/gameswf_object.h"
using namespace gameswf;
... | [
"fabs1996@live.co.uk"
] | fabs1996@live.co.uk |
5281ce41cfbb5c3a9e8ba6e720e00cf2eb26ea00 | c0ac6fe0a4a03245e034b296800156eaba01ad2e | /SDL2_Standardproject/SDL/SDLMusic.h | e7b8d6e2d839238da3e8d402b90bcce18bcf0c4d | [] | no_license | TorsteinA/snake-plusplus | 1a325d648f81f384c50b10defe9493d7d5087929 | 1dfd5628a76c2f7c0d4af913e57dd189448ee2a0 | refs/heads/master | 2021-01-25T04:35:38.190577 | 2017-06-04T19:44:13 | 2017-06-04T19:44:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | h | //
// Created by torstein on 03.06.17.
//
#ifndef SNAKE_PLUSPLUS_SDLMUSIC_H
#define SNAKE_PLUSPLUS_SDLMUSIC_H
#include <string>
#include <SDL2/SDL_mixer.h>
class SDLMusic {
public:
/* Loads the given file on construction */
SDLMusic(const std::string& file);
/* Free's the memory consumed by the sound da... | [
"alvtor15@student.westerdals.no"
] | alvtor15@student.westerdals.no |
80569f4edda4541973f452a5a57caf2f2faf59f5 | 9f5289c0bb0d3d7a91d1003a4ae7564576cb169e | /Source/SBansheeEngine/Source/BsScriptResourceManager.cpp | a73c6b30c3f5f11e6f0eec4be46efff3e4c63a58 | [] | no_license | linuxaged/BansheeEngine | 59fa82828ba0e38841ac280ea1878c9f1e9bf9bd | 12cb86711cc98847709f702e11a577cc7c2f7913 | refs/heads/master | 2021-01-11T00:04:23.661733 | 2016-10-10T13:18:44 | 2016-10-10T13:18:44 | 70,758,880 | 3 | 3 | null | 2016-10-13T01:57:56 | 2016-10-13T01:57:55 | null | UTF-8 | C++ | false | false | 17,585 | cpp | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#include "BsScriptResourceManager.h"
#include "BsMonoManager.h"
#inclu... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
47807127c3fb34099a030ec43addd11c37a9d3ad | 19555fc7ebb58e6d915b78a22b9b8a29de4fabe0 | /examples/TerrainDemo/terrain.cpp | f58b2d013a742b90ae39e669a9f5499023f07d7d | [
"Unlicense"
] | permissive | wyrover/freeimage-PhotoViewer | 1713a79d0f4a98b0b0ee7cca31aadc6e88c476a6 | 9d8fa6024e81e50904bab941501c639716cf26e0 | refs/heads/master | 2021-05-27T18:05:11.281823 | 2013-09-03T03:20:54 | 2013-09-03T03:20:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,530 | cpp | #include "stdafx.h"
#include "terrain.h"
#include "viewer.h"
#include "texture.h"
#include "quaternion.h"
#include "options.h"
#include <math.h>
#include "platform/log.h"
#include "platform/imageloader.h"
using namespace Platform;
#define MORPH_RANGE .025f
///////////////////////////////////////////////////////////... | [
"watsonmw@gmail.com"
] | watsonmw@gmail.com |
5dcfe57f8b3cda88ba78e70bd1fb51130dfb23a6 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/multimedia/dshow/filters/dv/dvenc/encprop.cpp | 8457e8c68b93c86b993935d3abeecb3c6f954395 | [] | 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 | 4,595 | cpp | //==========================================================================;
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
944c0218f95274c77b5f0f62dda22a61d1b35b6d | ec2560aaa143f1d6c7920f7ce426edc3590755a3 | /src/main.cpp | bd4da616b0311d2c427a77bf01e560ab2c2966a4 | [] | no_license | shionn/Lamp9900K | 7ec37a5cee8c0980375e8192c1518e6843598329 | 2d4e679f1ef7ac142cf69d70622a96a9638fcf04 | refs/heads/master | 2022-10-20T15:47:57.435091 | 2020-07-26T16:41:54 | 2020-07-26T16:41:54 | 280,657,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,499 | cpp | #include <Arduino.h>
#include <Adafruit_NeoPixel.h>
#define PIXEL_COUNT 40
#define PIXEL_PIN 6
#define BUTTON 4
Adafruit_NeoPixel strip(PIXEL_COUNT, PIXEL_PIN, NEO_GRB + NEO_KHZ800);
int mode = 0;
int state = 0;
int buttonState = 1;
void setup() {
strip.begin(); // Initialize NeoPixel strip object (REQUIRED)
st... | [
"shionn@gmail.com"
] | shionn@gmail.com |
116e141da1f82a0a8957bf1f433722efb4ef0ce1 | 107d79f2c1802a3ff66d300d5d1ab2d413bac375 | /src/eepp/window/backend/SDL/cbackendsdl.hpp | b30e185f4a2bf0abd7a7704f612c134be24425cb | [
"MIT"
] | permissive | weimingtom/eepp | 2030ab0b2a6231358f8433304f90611499b6461e | dd672ff0e108ae1e08449ca918dc144018fb4ba4 | refs/heads/master | 2021-01-10T01:36:39.879179 | 2014-06-02T02:46:33 | 2014-06-02T02:46:33 | 46,509,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | hpp | #ifndef EE_WINDOWCBACKENDSDL_HPP
#define EE_WINDOWCBACKENDSDL_HPP
#include <eepp/window/cbackend.hpp>
#include <eepp/window/backend/SDL/base.hpp>
#ifdef EE_BACKEND_SDL_1_2
#include <eepp/window/backend/SDL/cwindowsdl.hpp>
namespace EE { namespace Window { namespace Backend { namespace SDL {
class EE_API cBackendSD... | [
"spartanj@gmail.com"
] | spartanj@gmail.com |
7386567c8ec7748c7634d8a503f5f871cbbb7f12 | 7a138fa71d3e08958d8443992e2d57d504bb593a | /peg/assignments/mirrored_pairs.cpp | f6f88493370492c1582720b1192b5481d6ecbfb2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sustcoderboy/competitive-programming-archive | 8a254e7542d9f616df73d8aaa9ca23d6242dec9b | 2cd3237f376c609b7c4e87804e36a8cac7ec3402 | refs/heads/master | 2021-01-22T17:38:41.565826 | 2015-11-22T03:50:00 | 2015-11-22T03:50:00 | 46,705,756 | 1 | 0 | null | 2015-11-23T08:10:07 | 2015-11-23T08:10:07 | null | UTF-8 | C++ | false | false | 576 | cpp | #include <iostream>
#include <set>
#include <string>
using namespace std;
const set<string> mirrored_pairs {"pq", "qp", "bd", "db"};
inline
void use_io_optimizations()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
int main()
{
use_io_optimizations();
cout << "Ready\n";
for (string pa... | [
"gsshopov@gmail.com"
] | gsshopov@gmail.com |
c20f37b5ce449778437e336312c9d55232046da2 | c5553524da92ea50ecdb4c735e4df645b2453963 | /vol 115/p11565.cpp | 4eac3b508fa36801e953889a711c32e0799e41a6 | [] | no_license | hk-117/UVa_solves | d68720287f05e6e997ffe3b2924b4b7db05e914f | 692be8a95f438cd107149186ac2f6a0df4728f5d | refs/heads/master | 2023-04-16T16:46:55.112583 | 2023-04-12T06:42:58 | 2023-04-12T06:42:58 | 210,403,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
while(n--){
int A,B,C;
cin>>A>>B>>C;
bool solved=false;
for(int x=-22;x<=22 && !solved;x++){
if(x*x <= C){
for(int y=-100;y<=100 && !solved;y++){
if(y!=x &&... | [
"noreply@github.com"
] | hk-117.noreply@github.com |
5b457fd284b8d4a5f7c80a1f2f680da1d1d0e3c3 | 9afbec90ab8a66ad58160f037e5f6a88d135608f | /src/compat/glibc_compat.cpp | d0817fb4f43368a5546a4276d9212fb4cd11e3d5 | [] | no_license | campuscoindev/CC | 8b96151e93562d33855b58723b96e5785cc72fcb | 7d6f586e458558199c68e9d47fe36a416cc6a07b | refs/heads/master | 2023-08-03T09:38:11.470626 | 2023-07-20T15:36:45 | 2023-07-20T15:36:45 | 165,657,914 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/cc-config.h"
#endif
#include <cstddef>
#if defined(HAVE_SYS_SELECT_H)
#include <sys/... | [
"webframes@gmail.com"
] | webframes@gmail.com |
2d5ab229aa9e25afb5cc5b78ad06656459b99879 | 5cb82722442bb6e888f1cea59544d0d6fd01bf2f | /Source/Renderer/Public/Resource/Material/MaterialResource.cpp | 6c145a61c8a68e048b912e298a440edce0ea931d | [
"MIT"
] | permissive | RobertoMalatesta/unrimp | d9a137c5041adcc5e8b9f075586effec70eda2c6 | 90310657f106eb83f3a9688329b78619255a1042 | refs/heads/master | 2023-07-28T08:31:36.699889 | 2021-09-09T18:24:26 | 2021-09-09T19:03:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,513 | cpp | /*********************************************************\
* Copyright (c) 2012-2021 The Unrimp Team
*
* 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
* restriction, including wit... | [
"cofenberg@gmail.com"
] | cofenberg@gmail.com |
44f5d6893236a1fb6ff716204a4dfe521cd9b3ed | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/inetsrv/iis/config/src/core/catutil/precomp.hxx | e171741e5158679bf57dc3cad5495c959f08b998 | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | hxx | /*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
precomp.hxx
Abstract:
Master include file for the schemagen
Author:
Ivan Pashov (IvanPash) 02-Apr-2002
Revision History:
--*/
#pragma once
#include <windows.h>
#include <stdio.h>
#include <olectl.h>
#include <xmlparser.h>
#includ... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
cf7f539047488e3056324559d2ca21c0b801fcaa | 2ddc2dbf5340a56d7a9edf969ff430edf0461326 | /Triangle Types_1045.cpp | c507e458be374b99e7bc8757ff797a215c5c76dc | [] | no_license | babu12f/uri_problem_solved | 791df063744bf4319014779f68d9264f5bb6461f | 768c6f4ed7a31f361fba1843f1a5707b12476644 | refs/heads/master | 2021-05-08T07:13:03.025964 | 2017-10-16T18:08:59 | 2017-10-16T18:08:59 | 106,715,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <iomanip>
#include <stdio.h>
#include <functional>
#define pf printf
#define sf scanf
using namespace std;
int main()
{
double a, b, c, arr[3];
int i, j, n;
cin>>arr[0]>>arr[1]>>arr[2];
sort(arr, arr+3, greater<do... | [
"babu_12f@yahoo.com"
] | babu_12f@yahoo.com |
6b5f4339f3a738dfcc79194ea90f1b2ff8a2cd12 | 142620600b8fb59f3b38079e7703c28c55eeac65 | /lib/Parallelization/Tasks/JunkDetectionTask.cpp | faa62198017a062f2d0d812fa25ba897cf668dcd | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | dmark1021/mull | 289d7b17b93c3999e870297bbefc89fb49ffbd4a | 0eac81abd7efaf2a793e6586a2d1c0c79271b388 | refs/heads/master | 2020-04-20T04:39:29.563988 | 2019-01-29T22:19:09 | 2019-01-29T22:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | #include "Parallelization/Tasks/JunkDetectionTask.h"
#include "Parallelization/Progress.h"
#include "JunkDetection/JunkDetector.h"
using namespace mull;
JunkDetectionTask::JunkDetectionTask(JunkDetector &detector)
: detector(detector) {}
void JunkDetectionTask::operator()(iterator begin, iterator end,
... | [
"1101.debian@gmail.com"
] | 1101.debian@gmail.com |
281c70e7c2ca7a0d7271d91f467dba9ff9597b05 | 28dba754ddf8211d754dd4a6b0704bbedb2bd373 | /Ural/P1277.cpp | d1d918f48d3aa712a21c2ec0db9d1a9e87e7593d | [] | no_license | zjsxzy/algo | 599354679bd72ef20c724bb50b42fce65ceab76f | a84494969952f981bfdc38003f7269e5c80a142e | refs/heads/master | 2023-08-31T17:00:53.393421 | 2023-08-19T14:20:31 | 2023-08-19T14:20:31 | 10,140,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,310 | cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
const int MAXN = 200 + 10;
const int inf = 0x3f3f3f3f;
struct SAP
{
int cap[MAXN][MAXN], flow[MAXN][MAXN], g[MAXN][MAXN];
int n;
int h[MAXN], vh[MAXN], source, sink;
int mk[MAXN];
void init(int n)
... | [
"zjsxzy@gmail.com"
] | zjsxzy@gmail.com |
279c3ab66a21e3e833f312f2a3476c5f650b7a67 | 285b4638f208afcb523feeea18bc5c6ad1ff0adc | /Backjoon/Dynamic Programming/(11055)가장_큰_증가_부분_수열.cpp | 441b56fa927d9f0344791d7c3513a29798a7193c | [] | no_license | Kuril951/ICPC_Study | 8941b8b86e3c12eef3858e2cbf880f84523bac7a | 78cd99b50fe05983e459672ae2f1c5ec6011cd17 | refs/heads/master | 2018-10-21T12:42:44.542883 | 2018-10-04T07:05:18 | 2018-10-04T07:05:18 | 116,656,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp | #include<iostream>
using namespace std;
int main()
{
int N, dp[1001] = { 0 }, res = 0;
int num[1001];
scanf("%d", &N);
for (int i = 0; i < N; i++) {
int maxN = 0, tmp;
scanf("%d", &tmp);
num[i] = dp[i] = tmp;
for (int j = 0; j < i; j++) {
if (num[j] < tmp && maxN < dp[j])
maxN = dp[j];
}
dp[i... | [
"viodle238@naver.com"
] | viodle238@naver.com |
62bbf01038639d94938b8490447c838dfb620c03 | 7e0ab9f52aa73962260411656903e217ccc34757 | /src/Analysis.hpp | 7e178ad2962317c9430f824d0dbe08a1fed32907 | [
"Apache-2.0"
] | permissive | vishalbelsare/OpenABL | 5a46f1e6d61e6317c905f82cc5bd6d7e318abbac | eb08ef86df0b9c0532cb8fd6b714bde5e8551923 | refs/heads/master | 2021-06-05T14:55:52.644766 | 2019-08-12T09:03:53 | 2019-08-12T09:03:53 | 141,203,558 | 0 | 0 | Apache-2.0 | 2021-04-04T17:43:16 | 2018-07-16T22:57:37 | C++ | UTF-8 | C++ | false | false | 5,847 | hpp | /* Copyright 2017 OpenABL Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | [
"nikita.ppv@gmail.com"
] | nikita.ppv@gmail.com |
c89e90136cab3a60b50a29ee3dc325cbea133af1 | 7716aa9c07f9b98d73162aecf58fc19440556ee8 | /Sensors.h | 2facafdc937ccd1e622f3cf3608eb59038292a9f | [] | no_license | kara-te-kid/robot_dance | e11e6b4e6bede648c5350cb9ac220fc3042dc960 | 247dcf62be551d8a3031aa1c7d00f7e33d2c48a5 | refs/heads/main | 2023-07-02T22:02:41.206339 | 2021-08-09T04:21:11 | 2021-08-09T04:21:11 | 394,146,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,631 | h | #ifndef Sensors_h
#define Sensors_h
/*
TODO: pin as parameters
update orientation separately
*/
class Sensors
{
public:
typedef enum
{
White,
Edge,
Black
} StateSequence;
Sensors()
{
MIDDLE_State = Black;
OUTER_State = White;
};
void readSensors()
{
R_OUTER = ... | [
"noreply@github.com"
] | kara-te-kid.noreply@github.com |
eacca4277594a975518cdc4b0e9098e07eb9be1e | 2b46f6f8143912a2992773f11f032eca5e794ddf | /3rdparty/stout/include/stout/os/windows/read.hpp | cb0abf70307f0dbba0b8f68e884df199b0359186 | [
"Apache-2.0",
"PSF-2.0",
"BSD-3-Clause",
"MIT",
"GPL-2.0-or-later",
"BSL-1.0",
"LicenseRef-scancode-protobuf",
"BSD-2-Clause"
] | permissive | cloudflare/mesos | 58fa931856afb2c7a6503d70e170f19736b3940e | e5358ed1c132923d5fa357d1e337e037d1f29c8a | refs/heads/master | 2023-08-13T04:14:31.024391 | 2016-06-07T01:05:15 | 2016-06-07T16:14:22 | 42,358,969 | 3 | 1 | Apache-2.0 | 2022-07-22T09:14:56 | 2015-09-12T14:02:06 | C++ | UTF-8 | C++ | false | false | 1,485 | hpp | // 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 writing, software
// distributed und... | [
"joris.van.remoortere@gmail.com"
] | joris.van.remoortere@gmail.com |
d3442873e65e3cf548e6a539cd4918ccfec402a3 | 5d334d89e22028b95d4924a42bc0623fe013316d | /modules/util/source/Color.cpp | 0cc04e61ab009e51762b62f8ee81268f233c833b | [] | no_license | alxarsenault/axlib | e2369e20664c01f004e989e24e595475bdf85e5d | b4b4241ffc9b58849925fe4e8b966e8199990c35 | refs/heads/master | 2021-06-18T12:23:08.901204 | 2017-07-13T17:26:40 | 2017-07-13T17:26:40 | 64,876,596 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,565 | cpp | /*
* Copyright (c) 2016 Alexandre Arsenault.
*
* This file is part of axLib.
*
* axLib is free or commercial 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 or any later version of the
* Licen... | [
"aarsenault@erftcomposites.com"
] | aarsenault@erftcomposites.com |
ea3724c52872965a0ea4acf2a6f2bdf880266333 | 456551bbf0c752075d23e2dd348d9bf09533c40f | /ABC/146/c.cpp | 5ede690b89b03ad52025de6bc22f279bc03acb31 | [] | no_license | skjmp/ProCon | 5bed08c6efdc202d5f7d6038cd7a99d9c59d58f0 | b9971b374d45499f22e6eb0107473ca37ca46591 | refs/heads/master | 2020-03-27T20:12:38.044762 | 2020-03-01T11:42:03 | 2020-03-01T13:49:31 | 147,048,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,858 | cpp | #include <bits/stdc++.h>
#define REP(i, a, n) for (long long i = (a); i < (long long)(n); ++i)
#define REPC(i, a, n) for (long long i = (a); i <= (long long)(n); ++i)
#define ALL(t) t.begin(), t.end()
#define RALL(t) t.rbegin(), t.rend()
#define MATINIT(type, row, col, init) \
vector<vector<type>>(row, vector<type>(c... | [
"2036oshmkufafg36@gmail.com"
] | 2036oshmkufafg36@gmail.com |
c8e1a4b43eb56a31287e5dcdc569f1237db0fd5d | eaf717be88ef3c0186b2a765ff4ad68610cbe270 | /File.cpp | 95df7e7b357b0d6b8d769da314d2b279cf639602 | [
"MIT"
] | permissive | MMagueta/BackupSystem | a417a2ed45376c95daa8df9f4f6ab1c83684c391 | f9116a3ed46fcc47396e868e75df533a5589442a | refs/heads/master | 2020-04-04T22:12:52.347574 | 2018-11-10T16:07:16 | 2018-11-10T16:07:16 | 156,314,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include "File.h"
File::File(std::string path){
stat(path.c_str() , &this->Stat);
int div = this->Stat.st_size/BLOCO;
int block_1 = 0;
int block_2 = BLOCO;
for(int i = 0; i <= div; i++){
this->Blocks.push_back(std::vector<int>{block_1, block_2});
this->Flags.push_back(false);
block_1 += BLOCO;
block_2 += ... | [
"maguetamarcos@gmail.com"
] | maguetamarcos@gmail.com |
59ca68a412eeb77e8f5b3534e281ef67df80c070 | 5be504e32c1d8c003b71ade91804fdee7487b046 | /display_list/display_list_mask_filter_unittests.cc | ea79eee36fb6f2855dc7934d157d6af3deff14c1 | [
"BSD-3-Clause"
] | permissive | linxuebin1990/engine | be83486c4e445b5a376c9fcc201721fcf2b0d106 | 4a358030cb0742491af5acc91ece40ee445ff027 | refs/heads/master | 2023-03-08T17:06:20.320016 | 2022-05-07T07:14:02 | 2022-05-07T07:14:02 | 241,888,547 | 2 | 1 | BSD-3-Clause | 2023-02-27T16:12:47 | 2020-02-20T13:18:16 | C++ | UTF-8 | C++ | false | false | 7,803 | cc | // Copyright 2013 The Flutter 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 "flutter/display_list/display_list_attributes_testing.h"
#include "flutter/display_list/display_list_builder.h"
#include "flutter/display_list/dis... | [
"noreply@github.com"
] | linxuebin1990.noreply@github.com |
2071be5f20b72ff9959f49c579b2295dca33e77c | 0342fe0e71b63481ffa104eb0f2d127409021bae | /export/mac64/cpp/obj/src/flixel/group/FlxTypedSpriteGroup.cpp | 0ac67c69b8c112438e392644b8b0cec507e6e639 | [] | no_license | azlen/LD36 | a063027afe49a219eb0a3711e12a3a9f553bc410 | 2b800e01ee491631974a6abd28a12f5019cb430a | refs/heads/master | 2020-12-02T17:10:09.618613 | 2016-08-29T02:02:00 | 2016-08-29T02:02:00 | 66,799,278 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | true | 99,378 | cpp | // Generated by Haxe 3.3.0
#include <hxcpp.h>
#include "hxMath.h"
#ifndef INCLUDED_flixel_FlxBasic
#include <flixel/FlxBasic.h>
#endif
#ifndef INCLUDED_flixel_FlxCamera
#include <flixel/FlxCamera.h>
#endif
#ifndef INCLUDED_flixel_FlxObject
#include <flixel/FlxObject.h>
#endif
#ifndef INCLUDED_flixel_FlxSprite
#include... | [
"azlen@livingcode.org"
] | azlen@livingcode.org |
15419330440fd257f86d1382598aa93972373ac0 | 87febda1eb6c6d1f28374414f3485f4ac7bc7b90 | /i2c/i2c.h | 4d08ce0d5c3816b78de0f1e41218fa5f34b71a9c | [
"BSD-2-Clause"
] | permissive | pgbaum/bbExamples | 3e7a72d5edc4a8ee9e709449bd94769db306381e | 9c90dedd6e993f6c13114e0973913b66f83e8787 | refs/heads/master | 2020-05-19T10:52:09.943913 | 2014-03-11T20:25:10 | 2014-03-11T20:25:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | h | #ifndef I2C_H_INCLUDED
#define I2C_H_INCLUDED
#include <cstdint>
class I2C
{
private:
int dev;
void registerClient( int addr );
public:
// TODO: allow more than one device
I2C( const char *device, int address );
~I2C( );
void write1( uint8_t cmd, uint8_t val )
{
write( cmd, &val, 1 );
... | [
"peter@dr-baum.net"
] | peter@dr-baum.net |
6f17c6b5f24d51bc2676dae2c0cd7cd8757c00b8 | 792e697ba0f9c11ef10b7de81edb1161a5580cfb | /tools/clang/test/CodeGen/temporary-lifetime.cpp | af1907cb99158dc8b691c438dffcf8bfc60441f6 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | opencor/llvmclang | 9eb76cb6529b6a3aab2e6cd266ef9751b644f753 | 63b45a7928f2a8ff823db51648102ea4822b74a6 | refs/heads/master | 2023-08-26T04:52:56.472505 | 2022-11-02T04:35:46 | 2022-11-03T03:55:06 | 115,094,625 | 0 | 1 | Apache-2.0 | 2021-08-12T22:29:21 | 2017-12-22T08:29:14 | LLVM | UTF-8 | C++ | false | false | 6,262 | cpp | // RUN: %clang_cc1 -disable-noundef-analysis %s -std=c++11 -O1 -DWITH_DTOR -triple x86_64 -emit-llvm -o - | FileCheck -check-prefix=CHECK-DTOR %s
// RUN: %clang_cc1 -disable-noundef-analysis %s -std=c++11 -O1 -triple x86_64 -emit-llvm -o - | FileCheck -check-prefix=CHECK-NO-DTOR %s
struct A {
A();
#ifdef WITH_DTOR
... | [
"agarny@hellix.com"
] | agarny@hellix.com |
a0d880b2b88fd407f1e2d54855d71d6a3c1f6d42 | a7c4aca213a2a6450b37609d395a887c6a96e049 | /monsterbreaker/Classes/DoubleBrick.cpp | 4224b875b951715336c35d3fa43108b6f42bf472 | [] | no_license | ilhaeYe/MB | ba6172fbde53d1ca03b11e2243b6f4c797df29a7 | 9d4d6e9aa8fdfb6205ba5a6ebca7b6ec8f24e9e5 | refs/heads/master | 2020-12-25T17:56:14.480060 | 2018-07-15T20:45:27 | 2018-07-15T20:45:27 | 38,498,603 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,024 | cpp | #include "DoubleBrick.h"
USING_NS_CC;
DoubleBrick::DoubleBrick(const char * mapType, cocos2d::Layer * layer, int brickTypeID) : Brick(mapType, brickTypeID)
{
this->layer = layer;
b = false;
}
DoubleBrick::~DoubleBrick()
{
}
DoubleBrick* DoubleBrick::create(const char * mapType, cocos2d::Layer * layer, int brickType... | [
"yeaih89@gmail.com"
] | yeaih89@gmail.com |
b41122e6588fbf460da1a54840c13540644f09f2 | 0dc243cf9828bd1ca3acdefe02acf7febd7817fe | /src/Geometry_GeometricTests/GeometricPrimitives.cpp | 3d268a261d660eb8cfece2b10e5340dd609b3b8c | [
"BSD-3-Clause"
] | permissive | Akranar/daguerreo | c8b38eb43cf4f59497c2d2d13ced92911bd3cc5a | 20999144d2c62e54837cd60462cf0db2cfb2d5c8 | refs/heads/master | 2020-05-22T12:38:22.550303 | 2011-10-05T22:55:26 | 2011-10-05T22:55:26 | 2,337,599 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34 | cpp | #include "GeometricPrimitives.h"
| [
"akranar@gmail.com"
] | akranar@gmail.com |
11a57f0b69c78ae8acc7dfbf1dc48e3e84f23c81 | 99778425ab9564302e48e7acbd6cb27a3c93a7dc | /src/qt/sendcoinsdialog.cpp | c7bd80d092705190b0a4bfe8e6c25bde4eb452e3 | [
"MIT"
] | permissive | Tastigernet/thor-core | d5b4e48e9b38e7c61c36785bbc662e3a9d03e88b | dc60b5dfa97f382d138a38edb1fecb85d5baf0c2 | refs/heads/master | 2022-04-21T03:10:21.610332 | 2020-04-20T02:45:54 | 2020-04-20T02:45:54 | 256,633,996 | 0 | 0 | MIT | 2020-04-17T23:54:32 | 2020-04-17T23:54:31 | null | UTF-8 | C++ | false | false | 34,741 | cpp | // Copyright (c) 2011-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/sendcoinsdialog.h>
#include <qt/forms/ui_sendcoinsdialog.h>
#include <qt/addresstablemodel.h>
#include <qt/bitc... | [
"antoinebrulenew@gmail.com"
] | antoinebrulenew@gmail.com |
5a9d8a99ec74562f9aa8b8ef4170ff28407c32f6 | ce497b404b38bdf2e2708fdfb870edcdef81866b | /cpp/ProjectQServer/Desu3/GState.cpp | 5ee656ddebe6f8d1189f1c447f126ab00da815ac | [] | no_license | rjrivera/code-dojo | 00e8c9ef5e2d3b1912c74c3afa0de66624eaa0e7 | 083bf5a4a41e9055dd78bc9be0a2d3b6f29651c3 | refs/heads/master | 2020-04-06T05:42:06.276739 | 2020-03-08T20:57:30 | 2020-03-08T20:57:30 | 28,792,381 | 0 | 3 | null | 2017-02-01T07:17:18 | 2015-01-05T01:35:42 | C++ | UTF-8 | C++ | false | false | 648 | cpp | #include "GState.h"
#include "Event.cpp"
#include "Point.cpp"
GState::GState() : GPoint(new Point()){ // INFO: Point() defaults to X->0, Y->0;
}
//public
void GState::eventHandler(Event * curEvent){
switch(curEvent->eventType){
case 0:
GPoint->X(GPoint->X() + 1); // set the Point->X to Point->X + 1 via the p... | [
"riveratyrant@gmail.com"
] | riveratyrant@gmail.com |
9ee23ea1657d393e9d641eb83fce14b4ea544f55 | 3d4e859c1f15cc8a142026c9562a92ab4c28cf25 | /include/cppystruct/pack.h | e9fa462db61ab5be3515d78e19343c4c326ba421 | [] | no_license | houyawei-NO1/falldetection | cb99e8547e3cf29e300c24f75a049babb325e8aa | 362ee14a03e41846cb36b951b6ae7881802f6402 | refs/heads/main | 2023-07-04T22:44:07.855482 | 2021-08-25T10:22:10 | 2021-08-25T10:22:10 | 397,207,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,665 | h | #pragma once
#include <array>
#include "include/cppystruct/calcsize.h"
#include "include/cppystruct/data_view.h"
namespace pystruct {
template <typename Fmt, typename... Args>
constexpr auto pack(Fmt formatString, Args&&... args);
// Impl
namespace internal {
template <typename RepType>
constexpr int packElement... | [
"30817974+houyawei-NO1@users.noreply.github.com"
] | 30817974+houyawei-NO1@users.noreply.github.com |
0a536f4a3bfc55e0c17a548a6ab2d8d5154d9d58 | 045ad86b79d87f501cfd8252ecd8cc3c1ac960dd | /DCPS/Discovery/DiscoveryController.h | 77f11d2d82087eda2ff65b81875905e064de65b3 | [
"MIT"
] | permissive | intact-software-systems/cpp-software-patterns | 9513e4d988342d88c100e4d85a0e58a3dbd9909e | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | refs/heads/master | 2020-04-08T08:22:25.073672 | 2018-11-26T14:19:49 | 2018-11-26T14:19:49 | 159,176,259 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,569 | h | #ifndef DCPS_Discovery_DiscoveryController_h_IsIncluded
#define DCPS_Discovery_DiscoveryController_h_IsIncluded
#include"DCPS/CommonDefines.h"
#include"DCPS/Discovery/EndpointDiscoveryController.h"
#include"DCPS/Discovery/ParticipantDiscoveryController.h"
#include"DCPS/Export.h"
namespace DCPS { namespace Discovery
... | [
"intact.software.systems@gmail.com"
] | intact.software.systems@gmail.com |
efc5fb1eb3497eed78d59a2db8c748df2a85ae33 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /rocksdb-3.10/util/murmurhash.cc | b4563f7957235bb510cedcfcaaf0dc643e081605 | [
"BSD-3-Clause"
] | permissive | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 4,067 | cc | // Copyright (c) 2013, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
/*
Murmurhash from http... | [
"qinzuoyan@gmail.com"
] | qinzuoyan@gmail.com |
5c1fb0ce858062b6f984f7c6e59171610946aed7 | 53fa0759b46ff7493df721a874bd8ce6c2d6e3b8 | /catkin_ws/install/include/beginner_tutorials/AddTwoIntsRequest.h | 99dae067a0b12db6ee6e00e147aef6ab8750a8fc | [
"MIT"
] | permissive | allenwxf/ROS-TUTORIAL | 3367093da76f157be6b8516dc67ee6d90365c99f | 9dfee042ea90cf3d6a6ae7f7200aa0c8f1a6b000 | refs/heads/master | 2020-04-07T02:07:52.204874 | 2019-01-15T13:04:01 | 2019-01-15T13:04:01 | 157,964,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,417 | h | // Generated by gencpp from file beginner_tutorials/AddTwoIntsRequest.msg
// DO NOT EDIT!
#ifndef BEGINNER_TUTORIALS_MESSAGE_ADDTWOINTSREQUEST_H
#define BEGINNER_TUTORIALS_MESSAGE_ADDTWOINTSREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <... | [
"wxf@hdp-test.com"
] | wxf@hdp-test.com |
1de7363d3fb3fa5c793c4a2112360599f723c900 | 948df734bc05a4b816160067597f749913859340 | /include/G2PField.hh | 0070f7ea4b4004029d9c3f30d10a0d5d1cda0c70 | [] | no_license | zhupengjia/g2prec | 92c8f69eb27c6f99adadd72e5faacd3e9aba3b94 | 8c7d41705e1a2017ff25b1f595b25a6da042a949 | refs/heads/master | 2021-01-23T16:29:57.546245 | 2014-12-19T20:30:24 | 2014-12-19T20:30:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,529 | hh | // -*- C++ -*-
/* class G2PField
* Generate field map for HallB magnets.
* Calculate field strength of a particular point from the field map using Lagrange polynomial interpolation, default is 2nd order.
*
* Field map may have an angle respect to the lab coordinates.
* Use SetEulerAngle() to set this angle and th... | [
"guchao.pku@gmail.com"
] | guchao.pku@gmail.com |
c6936538f8af030df34c7847894f8d81f92cb120 | 992c8fa8d4b881e9ffd2055d6d42b98f8ea85b9d | /bodymaxIndex.cpp | 5cb0d4d59470becda35fed8a3e262f5d20f5636d | [] | no_license | jonadiazz/time-well-wasted | 6ebdcd937a04a506c19c924e45346c20f8aea8e2 | 8cdc8eaa60ceb54bdbb9045f8f5028cd64e418ef | refs/heads/master | 2021-01-01T18:29:12.758876 | 2015-01-30T00:55:27 | 2015-01-30T00:55:27 | 29,946,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | cpp | #include <iostream>
int main (void) {
std::cout << "Enter your weight: " << std::endl;
std::cout << "Enter your height: " << std::endl;
}
| [
"jonadiazz@hotmail.com"
] | jonadiazz@hotmail.com |
5c075fd54d136b145d6fac45fcba3612f098d37b | b7f1b4df5d350e0edf55521172091c81f02f639e | /chrome/services/media_gallery_util/media_gallery_util_service.cc | ce3c337ab58cec5e331f3c743c933e19215883e6 | [
"BSD-3-Clause"
] | permissive | blusno1/chromium-1 | f13b84547474da4d2702341228167328d8cd3083 | 9dd22fe142b48f14765a36f69344ed4dbc289eb3 | refs/heads/master | 2023-05-17T23:50:16.605396 | 2018-01-12T19:39:49 | 2018-01-12T19:39:49 | 117,339,342 | 4 | 2 | NOASSERTION | 2020-07-17T07:35:37 | 2018-01-13T11:48:57 | null | UTF-8 | C++ | false | false | 1,526 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/services/media_gallery_util/media_gallery_util_service.h"
#include "build/build_config.h"
#include "chrome/services/media_gallery_util/m... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e0215a98eb838cdf62f2c8d092dc032bbd8fe1f5 | 68931b5729575ee9cd236f33fa9b604867aff705 | /code/cli/buffer.cpp | 924fa22cd08e2098a35a5106e5f45ee61d87c59f | [] | no_license | zorggn/zcdt | fc7d9d0fc898234c365b26c7551f7458b0fac9d7 | dad9e4abd1640a11992ad1877b3ce4cd14adb86a | refs/heads/master | 2016-08-07T09:38:04.382254 | 2012-11-14T19:10:58 | 2012-11-14T19:10:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,645 | cpp | //implementation of the Atom buffer
#include "buffer.h";
//constructor: allocates length Atoms for a buffer
Buffer::Buffer(uint length) {
this.length = length;
this.index = 0;
this.buffer = new (nothrow) Atom[this.length];
if (this.buffer == 0)
{
cerr << "Error: Cannot allocate memory block length " << this.l... | [
"zorg@atw.hu"
] | zorg@atw.hu |
a7878c5924be11d6f4b9abdc6bbc71562afbfdc5 | bf569e5b23eb4799a540ff6765411c31ce1bccfa | /lab3/Constructor/Decorador herencia/Plantilla.h | 55cd51201c1b465cc8d56cd1040e4c33dbe98aa7 | [] | no_license | sebastianVUCR/LabsDiseno | af56f8efba3e474bb2f51e598d5debf5832b9b14 | 1da9651871b693bd7e64b26a7940ac8977c65c18 | refs/heads/master | 2022-11-13T06:25:49.128182 | 2020-07-14T06:11:24 | 2020-07-14T06:11:24 | 259,193,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | h | #pragma once
#include "Valor.h"
template <class T>
class Plantilla : public Valor
{
public:
Plantilla() {}
virtual ~Plantilla() {}
virtual T getValor() = 0;
virtual void setValor(T valor) = 0;
protected:
private:
};
| [
"sebastian.vargas.99@gmail.com"
] | sebastian.vargas.99@gmail.com |
1fce500be0a045485266b38e5a15ca4773cba23a | 4a8c93591269fba8e7f87ffacf2d1e18f049a682 | /Uva/10034.cpp | 636b95ff8cf160a68aab32acbf8b2040a5e79a20 | [] | no_license | Pooh1223/Online-Judge | fd3c237b21bd07396e841b4d077a997c51383d8a | afb208ccc5ecc6f3fa42693d190dc64e19195ff6 | refs/heads/master | 2020-07-25T19:28:30.163074 | 2020-06-29T15:15:32 | 2020-06-29T15:15:32 | 208,401,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | #include <bits/stdc++.h>
using namespace std;
double x[103];
double y[103];
vector<>
int main(){
cin.tie(0);
int t;
cin >> t;
while(t--){
int n;
cin >> n;
memset(x,0,sizeof(x));
memset(y,0,sizeof(y));
for(int i = 0;i < n;++i){
cin >> x[i] >> y[i];
}
}
return 0;
} | [
"leo891223@gmail.com"
] | leo891223@gmail.com |
00863f99989db7d6a89c457fee03a35f601827d4 | 64e25c9d67db2ce4b5abe1a980a070fb59a2f938 | /clang/compute_sdk/docs/cmtutorial/linear_walker1.cpp | 305ce0ee96e9e6d7d92b5bc30b93f165e4ff5f85 | [
"NCSA",
"MIT"
] | permissive | intel/cm-compiler | 22d8b56baefc26d5576572f5aab6b3ecb3033300 | 9b2e628b788344088d8fcfd97d406db576f608af | refs/heads/cmc_monorepo_80 | 2023-08-28T13:09:41.523730 | 2023-08-04T23:23:23 | 2023-08-04T23:23:23 | 111,158,121 | 141 | 60 | null | 2023-05-01T21:17:30 | 2017-11-17T22:50:46 | C++ | UTF-8 | C++ | false | false | 10,249 | cpp | /*========================== begin_copyright_notice ============================
Copyright (C) 2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#include <string>
// The only CM runtime header file that you need is cm_rt.h.
// It in... | [
"konstantin.vladimirov@intel.com"
] | konstantin.vladimirov@intel.com |
1d0ec7ad0ceaaf0cef3b0e73f53a924f7e4ad43b | 1490797b49fbadcdc17d6ebf4463535e3aee55f4 | /JS16_Bootloader/src/ApplicationFiles.cpp | 485ad58469da326c8f10c70dda16f0a68fb1f03a | [] | no_license | qiaozhou/usbdm-applications | 23347aa7a0aa101ac4cd30d88d4ce59f30de5c41 | 596a2a217f2ccc156890aa60540ec4423532e302 | refs/heads/master | 2020-05-20T09:46:38.162826 | 2012-08-20T00:20:02 | 2012-08-20T00:20:02 | 5,520,103 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,808 | cpp | /*! \file
\brief Provides Access to Application files
ApplicationFiles.cpp
\verbatim
USBDM
Copyright (C) 2009 Peter O'Donoghue
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software F... | [
"podonoghue@swin.edu.au"
] | podonoghue@swin.edu.au |
a4dc085b41d0cda7aa949d23c5e6b5ce44b8c07a | 23819413de400fa78bb813e62950682e57bb4dc0 | /Rounds/Round-688/d.cpp | a665dc3c7142488e5b8e92cddca711834786cd11 | [] | no_license | Manzood/CodeForces | 56144f36d73cd35d2f8644235a1f1958b735f224 | 578ed25ac51921465062e4bbff168359093d6ab6 | refs/heads/master | 2023-08-31T16:09:55.279615 | 2023-08-20T13:42:49 | 2023-08-20T13:42:49 | 242,544,327 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | #include "bits/stdc++.h"
using namespace std;
#define debug(x) cout << #x << " = " << x << endl;
int main() {
int t;
cin >> t;
while (t--) {
long long k;
scanf("%lld", &k);
if (k < 2) {
printf("-1\n");
continue;
}
k -= 2;
vector <int> ... | [
"manzood.naqvi@gmail.com"
] | manzood.naqvi@gmail.com |
042b4bd35302dccf3366a32cc6f8ff5e347fad53 | 9100a962129d21f9f61a27339d9220d11130db55 | /playground/function/function.cpp | 452bc7afc38b4a0aac214e7691c79e3dd30fd176 | [
"MIT"
] | permissive | llHoYall/Cpp_Playground | 55aa03b1cd94542a4ca232839e8b792a610bf2bb | 3f50237c7530e31be571e67ad2a627d1f33bbf51 | refs/heads/master | 2020-03-28T15:57:28.759632 | 2019-06-27T03:36:17 | 2019-06-27T03:36:17 | 148,643,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | /*******************************************************************************
* @brief Function in modern C++
* @author llHoYall <hoya128@gmail.com>
* @version v1.0
* @history
* 2018.12.23 Created.
******************************************************************************/
/* Include Headers ----------... | [
"hoya128@gmail.com"
] | hoya128@gmail.com |
5e7a35cde49e2eb20f760eed48091a153b9287bb | f3b5c4a5ce869dee94c3dfa8d110bab1b4be698b | /third_party/boost_1_48_0/boost/asio/local/connect_pair.hpp | a1a4d28bf0695efba678cec04019557a90842760 | [
"BSL-1.0"
] | permissive | pan2za/ctrl | 8f808fb4da117fce346ff3d54f80b4e3d6b86b52 | 1d49df03ec4577b014b7d7ef2557d76e795f6a1c | refs/heads/master | 2021-01-22T23:16:48.002959 | 2015-06-17T06:13:36 | 2015-06-17T06:13:36 | 37,454,161 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,426 | hpp | //
// local/connect_pair.hpp
// ~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef BOOST_ASIO_LOCA... | [
"pan2za@live.com"
] | pan2za@live.com |
bd762580596c86ab6d496220bbf0074bfa6c442a | 15f1b1e98f99531c7f286ddf854b776ee140e14d | /Sort/BubblingSort.cpp | 11fbeb3b7badc4f8d30b0d1b1a746d9821205bc9 | [] | no_license | bright-dusty/lintcode- | 7a59e5f341684e851fa2340dad81e63f5bed02f9 | 718bfd95fc0a0b6c42bc7acbbfc43b12ceebedd7 | refs/heads/master | 2021-04-27T04:37:15.114470 | 2018-03-11T05:06:07 | 2018-03-11T05:06:07 | 122,581,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include <cstdlib>
#include "swap.hpp"
template <typename T>
void _sort (T arr[], size_t n) {
for (size_t i=0; i < n-1; i++)
for (size_t j=0; j < n-1-i; j++)
if (arr[j] > arr[j+1])
swap<T>(arr[j], arr[j+1]);
}
| [
"qj p"
] | qj p |
6d16a4019fdcdf96202a3a651409991cae6da7e0 | 21b3663aaae0f7c5ab8c2c9d523bf23bc3d013e8 | /sketch_nov20a/sketch_nov20a.ino | 2c7a34ef7462fe0b2271618b83a1564a3242626e | [] | no_license | patpending/Arduino | 394218fdcca010d18309902195f95fc281f1a85e | 62151686fd6862231227a44e5d3e0f9800779c9c | refs/heads/master | 2020-12-14T09:54:24.002089 | 2018-11-05T20:31:01 | 2018-11-05T20:31:01 | 95,476,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | ino | void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.print("dsdasda");
delay(10000);
}
| [
"patrick.strobel@gmail.com"
] | patrick.strobel@gmail.com |
72fb7e9b743de162b4cd127f5d02d1755fbed4cf | eab87b164a2e44e23df9935dcb1563a00f8f0221 | /QController/comcpp/src/qqmlreadonlypropertymap.cpp | 7578b5317f20142928d33f472b64c8eeb0f7f4cb | [] | no_license | BMValeev/science | 6f140171c330fe535bdf5a8111757b8e384fb155 | 9f9bae33764bfc3afad96ab397f27525c25e1b28 | refs/heads/master | 2021-07-03T22:54:27.055596 | 2020-09-02T15:26:41 | 2020-09-02T15:26:41 | 161,135,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include "qqmlreadonlypropertymap.h"
QQmlReadonlyPropertyMap::QQmlReadonlyPropertyMap(QObject *parent)
: QQmlPropertyMap(this, parent)
{ }
QVariant QQmlReadonlyPropertyMap::updateValue(const QString &key, const QVariant &input)
{
// Prevent updates from QML
Q_UNUSED(input)
return value(key);
}
| [
"you@example.com"
] | you@example.com |
9a54907fb8bb5314c0402b819e8afd130c13851b | 4a19b7c7c3f06fb166d6f8ba3c08ac10cf20c601 | /Source/HeadsUpDisplay.cpp | ab40dbd70e02a57e21ef5acd4897d80fbf8bdcb9 | [
"MIT"
] | permissive | Trevor-Dych/The-God-Core | f3c6dd99cdb5acfab104c7147607837075e7d367 | 29b40cba0eab0608acd3ff6a4aff3435a2f71471 | refs/heads/master | 2021-01-18T05:17:25.077372 | 2015-09-09T23:03:56 | 2015-09-09T23:03:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,676 | cpp | /*************************************************************\
* HeadsUpDisplay.cpp *
* This file was created by Jeremy Greenburg *
* As part of The God Core game for the University of *
* Tennessee at Martin's University Scholars Organization *
* ... | [
"jrggb@yahoo.com"
] | jrggb@yahoo.com |
aa52362135346c8b8b1b26733e846a33128649af | ae0f1fff140e24076442a26ad6236b3c5527e601 | /NV8/bai1.cpp | ee59ae3aeddb2fd4bbbc9a1cf02102cf9a7c11e5 | [] | no_license | jackychun2002/T2008M-LBEP | cd61ca8a04e92d7722d449b5d30b8b325bdff357 | b2bfaf221d694c91654ddb42d5818b718c2909b5 | refs/heads/master | 2022-12-30T23:41:22.522590 | 2020-10-02T03:17:12 | 2020-10-02T03:17:12 | 293,971,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | #include<stdio.h>
int t(int n,int s=0){
if(n<2)
return false;
for(int i=2;i<=(n-1);i++){
if(n%i ==0){
return false;
}
return true;
}
}
void C(int n){
int i=n+1;
while(t(i)==false){
i++;
}
printf("%d",i);
}
int main(){
int n;
do{
printf("nhap n :");
scanf("%d",&n);
}while(n<=0);
printf("So ... | [
"chienbody2002@gmail.com"
] | chienbody2002@gmail.com |
19964d9c87feea7f93783576bcf9e3220b9fdd51 | e7be6f7963140443172518f8e0fd2a89056df3f7 | /cocos2dx-store/Soomla/data/CCVirtualCurrencyStorage.cpp | 1fdbfa0c7065fe0807fd9ac43d71799c690df44e | [
"Apache-2.0"
] | permissive | iscoolent/soomla-bundle | 1a0e9dd8a6e64a032e1370078b68a2f17cd09d86 | 75e5da7fc1c44d7bc4f75a9eb55aca6ac23ad341 | refs/heads/master | 2022-12-08T06:27:19.271918 | 2020-08-28T15:05:56 | 2020-08-28T16:37:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,497 | cpp | /*
Copyright (C) 2012-2014 Soomla 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/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing... | [
"julien.jorge@stuff-o-matic.com"
] | julien.jorge@stuff-o-matic.com |
075a2e8d7835c3556d1b659589404e319b1f281d | 198ab1db1be319ca3b1438cee13483bdb06e752f | /tags/iris-0.1.17/src/core/AcceptSignalWatcher.cpp | 4d70a9db65f971dc8e8304681cec91a58835b04e | [] | no_license | CommunicoPublic/iris | b11b366e244707d017ff55d6c952b7247d5ea1dc | b412f5db97ba7305f0b946e628709c1c6f976953 | refs/heads/master | 2020-05-30T10:04:24.953824 | 2015-06-30T10:02:39 | 2015-06-30T10:02:39 | 26,064,979 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,123 | cpp | /*-
* Copyright (c) Iris Dev. team. All rights reserved.
* See http://www.communico.pro/license for details.
*
*/
#include "AcceptSignalWatcher.hpp"
#include "AcceptLoopContext.hpp"
#include "GlobalContext.hpp"
#include "Logger.hpp"
#include "MainLoopContext.hpp"
#include "NetworkHandler.hpp"
#include "NetworkEve... | [
"root@ubuntu.communco.pro"
] | root@ubuntu.communco.pro |
de092a4ef3b7b450deeab404127625e27b073fd0 | d73974bcf6836de3a481f1452c2624c18094a539 | /src/Particle.hpp | 86fc5e7959747bc8b258089f022364f8097292d9 | [] | no_license | SexyParabola/Oscillo | 8e4d78a5b9288b520565ade0fa0c9258604da311 | e5ce9539e98a2cc165fb9ca28588f50aaf1c3360 | refs/heads/master | 2023-08-04T08:21:13.448953 | 2021-09-16T19:39:51 | 2021-09-16T19:39:51 | 249,865,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | hpp | #pragma once
#include <SFML/Graphics.hpp>
class Particle {
private:
public:
sf::Vector2f vel;
sf::Vector2f acc;
sf::CircleShape cir;
double mass = 1.0f;
Particle(sf::Vector2f P) { cir.setPosition( P ); }
void tick() {
// This here is the "BUG"..
cir.setPosition( cir.getPosition().x + vel.x, cir.getPo... | [
"ultrahoodsense@gmail.com"
] | ultrahoodsense@gmail.com |
622dd8fc926551a0a1f20501895de6eadaf24b1a | c65801f6dd31b0d4e30197266d60a6867f1e4459 | /源.cpp | 5f8d6dfbb23418a24ac33391c83da9fbcacc053e | [] | no_license | asLong72/afd | bcff0f01a2153ba418df4e3c18d8fabab869c9c8 | b3f4f3e8d35aa33fef833924465883f3db6da4c6 | refs/heads/master | 2020-09-02T22:21:30.384550 | 2019-11-03T15:12:33 | 2019-11-03T15:12:33 | 219,319,682 | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 4,096 | cpp | #include <stdio.h>
#include <math.h>
int a, b, c, d, e;
long l;
char ch;
double z, y, x, w;
int T1(void)
{
scanf_s("%d%d%d", &a, &b, &c);
if (a <= b && a <= c)
{
printf("%d\n", a);
}
else if (b <= a && b <= c)
{
printf("%d\n", b);
}
else
{
printf("%d\n", c);
}
return 0;
}
int T2(void)
{
int a;
scanf... | [
"1494854781@qq.com"
] | 1494854781@qq.com |
61f150e40f02cfaad57a55e21928151a04dd6b4f | ce18cf6bdb1a85a65a509597b4c0ec046b855186 | /斐波那契数.cpp | 9e7b3db09149123cea52e01ee33a5588ea9bb222 | [] | no_license | elssm/leetcode | e12e39faff1da5afb234be08e7d9db85fbee58f8 | a38103d2d93b34bc8bcf09f87c7ea698f99c4e36 | refs/heads/master | 2021-06-11T06:44:44.993905 | 2021-04-28T06:14:23 | 2021-04-28T06:14:23 | 171,072,054 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | #include<stdio.h>
int fib(int N) {
if(N<=1)
return N;
else
return fib(N-1)+fib(N-2);
}
int main(void){
int t=10;
int s=fib(t);
printf("%d\n",s);
}
| [
"329847986@qq.com"
] | 329847986@qq.com |
fac94be6c765f1100728978eba6f9b59ff3f79c4 | 6267120efd229c7d20dec7de0795bdb472a927dd | /LogicLayer/CasualGame/SFSendDBRequest.h | fde91a68d06fe89d3db9aacd7599cb72f97b8cd4 | [] | no_license | wkawkfk/CGSF | 77a1e643f164998772b371aaac777a30da1af9dd | 919c68bcf27996f06dc25017cf003b4aa7b8785b | refs/heads/master | 2020-12-25T12:17:22.557411 | 2012-11-30T13:08:33 | 2012-11-30T13:08:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | h | #pragma once
class SFPlayer;
class BasePacket;
class SFSendDBRequest
{
public:
static BOOL RequestLogin(SFPlayer* pPlayer);
static BOOL SendRequest(int RequestMsg, DWORD PlayerSerial, BasePacket* pPacket);
static SFMessage* GetInitMessage(int RequestMsg, DWORD PlayerSerial);
static BOOL Send(SFMessage* pMessage... | [
"juhang3@daum.net"
] | juhang3@daum.net |
6675e010cf62cc622aaa1feb1d3030509b31d27c | 60b040d794f1501085dbf78884ebb7f47e0fd61b | /DxEngine/source/TextureClass.h | 98a972d8dbada5a3c6de4d5d3478a131b54c4d50 | [] | no_license | Grave/DxEngine | 08807836103727377d231e435e95d3282a240cc4 | 6f532c96ff9db04210244bee49b0dd4d7653aa6c | refs/heads/master | 2021-01-19T04:50:54.330800 | 2014-07-30T19:21:41 | 2014-07-30T19:21:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | h | ////////////////////////////////////////////////////////////////////////////////
// Filename: TextureClass.h
////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "stdafx.h"
////////////////////////////////////////////////////////////////////////////////
// Class name:... | [
"guilhermecsrodrigues@gmail.com"
] | guilhermecsrodrigues@gmail.com |
fb654d15e2d0e513c8c7eda2b63811d4a496762d | cd697db374f06422b53f2319000f6591ed92e809 | /JoystickInput.h | e38bb2b0ef29375c6681050d1b9ca37112317f21 | [] | no_license | CML-lab/Utility_Task_cpp | d00b44104c07a9824415e7589a4e6a140873c73b | ea7a9dc830ed3d446ab0c930a5940fd8e1193df1 | refs/heads/master | 2023-07-15T13:23:32.918294 | 2021-08-25T18:02:51 | 2021-08-25T18:02:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | h | #ifndef JOYSTICKINPUT_H
#define JOYSTICKINPUT_H
#pragma once
#include "SDL.h"
#include "InputDevice.h"
static GLfloat jx;
static GLfloat jy;
static GLfloat jradius;
static GLfloat jangle;
// Handles joystick actions
class JoystickInput : public InputDevice
{
public:
JoystickInput() { }
~Joystick... | [
"cognitivemotorlab@gmail.com"
] | cognitivemotorlab@gmail.com |
df47736a6eebf57f80868d1e2ba600c79bed4ec8 | 5041bdc8ce649616b6dcf32aeade9ae27075ae2b | /net/http/mock_http_cache.h | 917aa20db15d8cbe471da5a54fe079e3e18b43c3 | [
"BSD-3-Clause"
] | permissive | aSeijiNagai/Readium-Chromium | a15a1ea421c797fab6e0876785f9ce4afb784e60 | 404328b0541dd3da835b288785aed080f73d85dd | refs/heads/master | 2021-01-16T22:00:32.748245 | 2012-09-24T07:57:13 | 2012-09-24T07:57:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,310 | h | // Copyright (c) 2011 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 a mock of the http cache and related testing classes. To be fair, it
// is not really a mock http cache given that it uses the real impleme... | [
"kerz@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c"
] | kerz@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c |
b8d0dd5864d4ba541b9bd71486d3ce01b5bf766e | c8fc2703cce588d28dd9583e523f7f78378e3fd3 | /practise/bfs_implementation.cpp | bae74fe03ebfdf534e28508da3d2548b0d098a17 | [] | no_license | ngangwar962/C_and_Cpp_Programs | e4da2951b1a8c0091df26e363227488e279a9caa | 396d4313d2451e073811c0657f068829db10bcd5 | refs/heads/master | 2020-06-19T14:20:19.749116 | 2019-08-10T16:54:09 | 2019-08-10T16:54:09 | 196,741,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | cpp | #include<bits/stdc++.h>
using namespace std;
#define MAX 10000
bool visited[MAX]={0};
int level[MAX]={0};
int vertices;
void addedge(vector<int> adj[],int v1,int v2)
{
adj[v1].push_back(v2);
adj[v2].push_back(v1);
return;
}
void printg(vector<int> adj[],int v)
{
cout<<v;
int i;
for(i=0;i<adj[v].size();i++)
{
c... | [
"ngangwar962@gmail.com"
] | ngangwar962@gmail.com |
9026da2258e1cdc8fd8a7d80badd0af0f68b16c9 | 785df77400157c058a934069298568e47950e40b | /TnbSectPx/TnbLib/SectPx/Entities/Shape/Profile/SectPx_ProfileShape.hxx | 8f2a1770ae21c8a68cd24e839fc439b288380e63 | [] | no_license | amir5200fx/Tonb | cb108de09bf59c5c7e139435e0be008a888d99d5 | ed679923dc4b2e69b12ffe621fc5a6c8e3652465 | refs/heads/master | 2023-08-31T08:59:00.366903 | 2023-08-31T07:42:24 | 2023-08-31T07:42:24 | 230,028,961 | 9 | 3 | null | 2023-07-20T16:53:31 | 2019-12-25T02:29:32 | C++ | UTF-8 | C++ | false | false | 914 | hxx | #pragma once
#ifndef _SectPx_ProfileShape_Header
#define _SectPx_ProfileShape_Header
#include <SectPx_Shape.hxx>
namespace tnbLib
{
// Forward Declarations
class SectPx_TopoSegment;
class SectPx_ProfileShape
: public SectPx_Shape
{
/*Private Data*/
std::shared_ptr<SectPx_TopoSegment> theSegment_;
publ... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
eff3f1499c7bb4de6960b41387829e21eaf85fdc | 3aa028649f6e9a26454a1caa4d0b89cbe341d660 | /GTRACT/Cmdline/gtractCoRegAnatomy.cxx | 58011354bcd488fb9255e5018f630c0abeb1c580 | [] | no_license | jcfr/BRAINSStandAlone | 2738b83213235c35148f291ad57d07bdeb30de07 | db8a912bbd19734968e4cf83752cb1facdba10eb | refs/heads/master | 2021-01-16T21:03:02.734435 | 2011-10-26T18:30:54 | 2011-10-26T18:30:54 | 2,634,574 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,453 | cxx | /*=========================================================================
Program: GTRACT (Guided Tensor Restore Anatomical Connectivity Tractography)
Module: $RCSfile: $
Language: C++
Date: $Date: 2010/05/03 14:53:40 $
Version: $Revision: 1.9 $
Copyright (c) University of Iowa Department of Ra... | [
"hans-johnson@uiowa.edu"
] | hans-johnson@uiowa.edu |
9a22a4512f9e1f7427347f8d34ab42b4b4994bde | ed9393909378b8c54911a144429953bc237aadb7 | /e-footbot/simulator/battery_sensor.cpp | 1f44ac3b33cdace46eeea19f8c0576f6c7fe7ffb | [] | no_license | isvogor-foi/argos-customizations | 714736175fa33aa7da850911f6c4a10890c8e54e | 71425e63788d9f42a3274dea562325705137ad39 | refs/heads/master | 2021-01-01T06:16:07.996225 | 2017-08-18T19:32:57 | 2017-08-18T19:32:57 | 97,398,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,629 | cpp | #include "battery_sensor.h"
#include <argos3/core/simulator/simulator.h>
#include <argos3/core/simulator/entity/composable_entity.h>
#include <argos3/core/simulator/entity/embodied_entity.h>
#include <argos3/plugins/simulator/entities/wheeled_entity.h>
#include <argos3/plugins/simulator/entities/led_equipped_entity.h>
... | [
"isvogor@gmail.com"
] | isvogor@gmail.com |
d4bfd69333bd935d49645a4c05cf117763bdb878 | a28af655fbfcd2939fe50e30f8f5294f07c106d2 | /Source/AudiusLib/Player/Playlist.h | 611a0289347baaebffa5fb0acf1b3e01865b4a8f | [] | no_license | cnsuhao/Audius | d365dac2f0be7fcc844c913901013d3a8b47ca1e | 22c3c61af6efdeb0ac92cc8fbad571e1694d4887 | refs/heads/master | 2021-05-26T16:59:25.928600 | 2012-10-06T14:51:20 | 2012-10-06T14:51:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,868 | h | #pragma once
////////////////////////////////////////////////////////////////////////////////////////
// File: Playlist.h
////////////////////////////////////////////////////////////////////////////////////////
// Description:
//
// A thread safe list of songs to play. The music player has a reference to this ... | [
"pontus.munck@gmail.com"
] | pontus.munck@gmail.com |
1302e85891fe478eb2fd2a415775bf71babf698c | 96598dd5455dff1bf94a98799851237908631842 | /Data Structures/week2_priority_queues_and_disjoint_sets/1_make_heap/build_heap.cpp | 7e5897ae5ceec0bf4aea36b8329c738851dba6be | [
"MIT"
] | permissive | 18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera | b31ed55edc76099eea28f861a49be75401fbe503 | 1d2f3a4ee390f0297de29de84205ef5f2a40f31d | refs/heads/master | 2022-12-08T19:31:26.642032 | 2020-08-31T19:45:10 | 2020-08-31T19:45:10 | 288,704,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
typedef long long int ll;
#define MOD 1000000007
#define MAX 1000000000000000000
#define ln "\n"
vector <pair<ll,ll>> v;
ll c=0;
void heapify(ll a[],ll n,ll i)
{
ll min=i,l=2*i+1,r=2*i+2;
if(l<n && a[min]>a[l])
mi... | [
"noreply@github.com"
] | 18Pranjul.noreply@github.com |
93e1bde93d50c752226de08e2071e77c34ef2f6a | 15ae3c07d969f1e75bc2af9555cf3e952be9bfff | /analysis/pragma_before/pragma_719.hpp | 958f49e784d8e32a0f2730c9d0389e5e60fba1e7 | [] | no_license | marroko/generators | d2d1855d9183cbc32f9cd67bdae8232aba2d1131 | 9e80511155444f42f11f25063c0176cb3b6f0a66 | refs/heads/master | 2023-02-01T16:55:03.955738 | 2020-12-12T14:11:17 | 2020-12-12T14:11:17 | 316,802,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62 | hpp | #ifndef FALYNYC_HPP
#define FALYNYC_HPP
#endif // FALYNYC_HPP | [
"marcus1.2.3@wp.pl"
] | marcus1.2.3@wp.pl |
1efb8eadd478c066d4f3dab23a2b07aa6d1867fb | 71ef8e94ca186e048e900f0e0d1401b25245bbfb | /Queue (array-based)/Queue.cpp | 9aba1e67f3ecb790598d876969abbfa79402341e | [] | no_license | AmrBumadian/Data-Structures-Implementation | 7c3cbf027c637b1a2d6ec56ffae8c167d9721372 | 814ad3d37fd2840cfbca097b3687d88e56507b7d | refs/heads/master | 2023-02-11T05:01:57.388522 | 2021-01-09T05:59:41 | 2021-01-09T05:59:41 | 267,096,161 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,759 | cpp | #include <assert.h>
#include <iostream>
#include "Queue.h"
using namespace std;
template<class T>
void Queue<T>::copy(const Queue<T> &other) {
f = other.f;
b = other.b;
length = other.length;
capacity = other.capacity;
array = new T[capacity];
for (int i = 0; i < capacity; ++i) {
arr... | [
"35141856+AmrBumadian@users.noreply.github.com"
] | 35141856+AmrBumadian@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.