blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cbadcf04dd734d0dd9e21631d782c01139b8c91e | 41f8be8ecd6a6b939f3d846a0cc0919ab2c8d638 | /project/Fkbd/src/main/main.cpp | 1399233799656419541cca5d8d682eeae6ce15cd | [] | no_license | lsy1599/WorkSpace | 4ca5132c7ebd2b3a9e9f2fdab5e13d69a51e28fc | 680d03ddb6e35a22a43e103116d2949044cc4e02 | refs/heads/master | 2020-05-14T15:11:16.909045 | 2017-02-21T07:24:44 | 2017-02-21T07:24:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | cpp | #include <QApplication>
#include <QIcon>
#include <QSystemTrayIcon>
#include <QMenu>
#include <QDeclarativeContext>
#include <QUuid>
#include <stdio.h>
#include "vkbd.h"
#include "keyboardapplication.h"
FILE * out = stderr;
void myMessageOutput(QtMsgType type, const char *msg)
{
QDateTime dateTime = QDateTim... | [
"qiankun@nfschina.com"
] | qiankun@nfschina.com |
97af8e6b7abbde1dee26b661dc4df9638e86d013 | 081a545c4d9e3491207cc3bd4c3bdf9a4bb5d22b | /src/lib/utils/parsing.cpp | cd0c2409e0cb397f4109b32f84c3c71637b2cf36 | [
"BSD-2-Clause"
] | permissive | drozel/conan_botan | 7edfd027ff800e554d349c788236fee6b7e1aad4 | 327b252f525325980e33de0349ec8ca0bda4ae2f | refs/heads/master | 2020-06-24T15:16:52.225675 | 2017-07-11T22:14:37 | 2017-07-11T22:14:37 | 96,941,530 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,267 | cpp | /*
* Various string utils and parsing functions
* (C) 1999-2007,2013,2014,2015 Jack Lloyd
* (C) 2015 Simon Warta (Kullo GmbH)
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/parsing.h>
#include <botan/exceptn.h>
#include <botan/charset.h>
#include <botan/loadstor.h>
#include... | [
"vitaly.kolmakov@kinexon.com"
] | vitaly.kolmakov@kinexon.com |
0a6a666f2b2a09504b3585829329ef0582439b44 | ea5ca22a6bbc361358a4b13e59dfdc1f66f2df01 | /[leetcode-0088]合并两个有序数组.cpp | ac2b8259766cf2417ddf0b7ab4f8df82a3b0db3a | [] | no_license | SmileLingyong/Code | d85ed787f3379140ecdc4a7afc5750af02ead441 | 3b831ec901518d0de40bb128985b655ecace0531 | refs/heads/master | 2022-11-24T23:35:42.133791 | 2020-07-26T06:15:02 | 2020-07-26T06:15:02 | 282,587,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | /**
* Creation : 2019.08.07 00:41
* Last Reversion : 2019.08.07 00:58
* Author : Lingyong Smile {smilelingyong@163.com}
* File Type : cpp
* -----------------------------------------------------------------
merge (合并两个有序数组)
给定两个有序整数数组 nums1 和 nums2,将 nums2 合并到 nums... | [
"smilelingyong@163.com"
] | smilelingyong@163.com |
d4f246ba1eea9eacfc98620537c0aa6883f70921 | 42e6b2003c19a4152a27370e0eeb1014b27ed8b3 | /src/usecases/NQ8FW.hpp | 821945b01a847ae55b97ce1a47d4e24669eae591 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | DonTassettitos/AIR | 71510f43a4fbaf1ccf4f2a1fa843ca64c4a79d6e | 92c93f05d6f15095d403dcbbe7ebe16563198697 | refs/heads/master | 2022-12-18T11:15:59.051265 | 2020-09-16T11:43:20 | 2020-09-16T11:43:20 | 296,014,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | hpp | #pragma once
#include "../dataflow/Dataflow.hpp"
using namespace std;
namespace nexmark {
/**
* COUNT (FLOW-WRAPPING)
*
* Implementation of NEXMark benchmark's query 8
* using wrapping units on top of the messages, instead
* of an internal implementation of the message counting
*/
class NQ8FW:... | [
"pro.damien.tassetti@gmail.com"
] | pro.damien.tassetti@gmail.com |
00476c604b291cb7fde5483105a62a2ca15daf8d | 81d8d99c64a901bbec13676cd5342c6605f17eab | /src/config/CmdManager.cpp | 82997425557fe0e022604256ac4e8d3243d477cb | [
"Apache-2.0"
] | permissive | vyouyou/kof | a6cfb17355efbffd41d9816ee21d07948329ca11 | fb7340b7eb61779cc299d135189b65550685b625 | refs/heads/master | 2022-12-28T21:05:40.376525 | 2020-09-23T04:05:32 | 2020-09-23T04:05:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,747 | cpp | /*******************************************************************************
author : ljc
version : <1.0>
--------------------------------------------------------------------------------
info :
--------------------------------------------------------------------------------
******************************... | [
"lijinchao2007@gmail.com"
] | lijinchao2007@gmail.com |
ae4eec0ef518cce26dfc2d2d9d6c955b8e3c36b5 | aea795afa5342f8ac7dfa813b16ecb99a83a8e19 | /core/fpdfapi/edit/cpdf_pagecontentmanager.h | b4e03b213e5eeca02439a4b283587269a3a39598 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | zxnxzf/pdfium | 9e1bb28d4f42c7c1da2997b325cea0c111d2e301 | 9b4b8df17bcae28b85c112dfab687ab437547bd1 | refs/heads/master | 2023-05-26T18:00:40.358684 | 2021-06-12T06:38:48 | 2021-06-12T06:38:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,695 | h | // Copyright 2018 PDFium 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 CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTMANAGER_H_
#define CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTMANAGER_H_
#include <iosfwd>
#include <set>
#include "core/fxcr... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0b91d9e6573ce2647c239c82120de74bf9062025 | 0417720a0c8e977a7aeddfe047422c408deaee24 | /include/ossim/imaging/ossimAnnotationSource.h | ae6060a761e73988f6bd897acd023aeea1996da4 | [
"MIT"
] | permissive | ossimlabs/ossim | e093899a1e001cf8db16fb6da121ec174a7bc6ff | 3eda6223501b5d1c566e91261b832bc24975cf32 | refs/heads/dev | 2023-06-21T21:54:22.889489 | 2023-06-15T23:33:36 | 2023-06-15T23:33:36 | 41,825,646 | 300 | 161 | MIT | 2023-08-29T20:15:07 | 2015-09-02T20:20:52 | C++ | UTF-8 | C++ | false | false | 4,571 | h | //*******************************************************************
//
// License: See LICENSE.txt file in the top level directory.
//
// Author: Garrett Potts
//
// Description:
//
// Class to annotate or draw things on tiles like text, ellipses and so on.
//
// Notes:
// 1) The output scalar type of this object is... | [
"okramer@radiantblue.com"
] | okramer@radiantblue.com |
fc6122a0eaf2a857f10195499647b3730b87ebf7 | 05d8a212d29c310157dbf6b3fbb1379055468309 | /components/image_fetcher/core/reduced_mode_image_fetcher_unittest.cc | 0ffd8913241f9a546c709a1f155f37ce8ba908e4 | [
"BSD-3-Clause"
] | permissive | zjj6029/chromium | 1e9743a8a4698831d0b9cf094c67216e7e4df27a | 80b54fd5b182936eab1fc1ac5c247857e66d5cbe | refs/heads/master | 2023-03-18T13:33:54.559462 | 2019-08-21T15:54:01 | 2019-08-21T15:54:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,594 | cc | // Copyright 2019 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 "components/image_fetcher/core/reduced_mode_image_fetcher.h"
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vec... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
98b5fbf519ef050bde410c8a76ce4e2b62099510 | f652e124a2da99c8245e3c52655572b7bc3d434e | /section2/3/01.cpp | 7e42ff2e12ca796ec756662f13d6d2cd81eb1e30 | [] | no_license | Stomach-ache/USACO-Solution | f0911896031433a9a1e08a8bbe84e8c9be32f3f8 | 42cf10fe1392d886d48f0dd33ef13b2e09add512 | refs/heads/master | 2016-08-12T12:03:13.954182 | 2016-02-23T04:53:09 | 2016-02-23T04:53:09 | 52,250,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | /*
ID: sudawei1
PROG: prefix
LANG: C++11
*/
#include <algorithm>
#include <iostream>
#include <fstream>
#include <cstring>
#include <climits>
#include <string>
#include <cstdio>
#include <vector>
#include <cmath>
#include <map>
#include <unordered_set>
using namespace std;
bool dp[200010];
#define __DEBUGE
int main() ... | [
"sudaweitong@gmail.com"
] | sudaweitong@gmail.com |
4364ec3b230072097c7dcfab79b79cce2f478ac4 | 792e697ba0f9c11ef10b7de81edb1161a5580cfb | /utils/unittest/googletest/include/gtest/gtest-message.h | cbabe5defd77d37e7a2393b18d0a204f0065de27 | [
"NCSA",
"BSD-3-Clause",
"LLVM-exception",
"Apache-2.0"
] | 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 | 8,104 | h | // Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | [
"agarny@hellix.com"
] | agarny@hellix.com |
de4d949f6d0e01310613eea42362bdff63dc4f28 | 93e43aa8712d24f794de6ee345c993d079a2c278 | /prozy.cpp | add89d5e268c9e961c93924e6db85b439ba5ee8e | [] | no_license | mareksubocz/Proz | bad408dad4c6ba906d6d904e470183f32a1b4c8a | f8afeb43edca1285219a26555eeb90c861606e8c | refs/heads/master | 2022-12-27T12:30:28.203944 | 2020-10-07T15:52:35 | 2020-10-07T15:52:35 | 256,579,606 | 0 | 1 | null | 2020-06-19T19:48:43 | 2020-04-17T18:25:35 | null | UTF-8 | C++ | false | false | 12,193 | cpp | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <mpi.h>
#include <pthread.h>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#define PYRKON_REQ 100
#define PYRKON_ACK ... | [
"marsub@wp.pl"
] | marsub@wp.pl |
7ae70762c2d003634cb65b9b3e8d01fa5f65e5e4 | 97e0d023d36c14a1b7d8c5ae4d579066492b5c58 | /杂题/zoj5351.cpp | ca813b7bcf278330c1feec0309a9d3b6a0f40951 | [] | no_license | gmy987/ACM | f6f809811b54a1e106624b83eda56120ac85d852 | 4b807f61b35d07db0d35e2195a8d93cff648b7bb | refs/heads/master | 2021-01-13T01:28:55.209296 | 2015-09-03T07:09:28 | 2015-09-03T07:09:28 | 41,202,863 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 669 | cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#define eps 1e-8
using namespace std;
int t,n,m;
int main()
{
scanf("%d",&t);
while(t--)
{
scanf("%d%d",&n,&m);
int sum1 = 0 , sum2 = 0;
int a;
for( int i = 0 ; i < n-1 ; i++ )
{
scanf("%d",&a);
... | [
"46922547@qq.com"
] | 46922547@qq.com |
5b4f6d457d823776f1d7c2f2021c8861d31e66ea | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch.alternative.numerics/eulerVortex.cyclic.twitch.moving/2.81/meshPhi | ffacb86f033a4de9558a3858f3badb158848b45c | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438,302 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
dd5a252d74acdbea35168e0046b311c075d81b3b | 39fe085377f3c7327e82d92dcb38083d039d8447 | /core/sqf/src/seabed/test/t141ms.cpp | 93b3163a6380836400ca9eda32b2c8332d903895 | [
"Apache-2.0"
] | permissive | naveenmahadevuni/incubator-trafodion | 0da8d4c7d13a47d3247f260b4e67618c0fae1539 | ed24b19436530b2c214e4bf73280bc8e3f419669 | refs/heads/master | 2021-01-22T04:40:52.402291 | 2015-07-16T00:02:50 | 2015-07-16T00:02:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,152 | cpp | //------------------------------------------------------------------
//
// @@@ START COPYRIGHT @@@
//
// (C) Copyright 2006-2014 Hewlett-Packard Development Company, L.P.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You m... | [
"gonzalo.correa@hp.com"
] | gonzalo.correa@hp.com |
efc7fe8724516302233ee166162bbe53c5395b5d | dfca9515e1b310312815f44d99807c70108454b2 | /health_class.cpp | ae78067b5da335d0a9a1189f01845cd15e5e38f3 | [] | no_license | strykejern/tank-wars | a917d4b1d36eeb75f0792249c59170f40ae2ac88 | 46e6af4eab22c07be4e65ac3bc9404759c2c1542 | refs/heads/master | 2021-01-19T20:18:35.761755 | 2008-12-02T13:23:06 | 2008-12-02T13:23:06 | 38,510,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | cpp | struct health_class {
float health;
health_class(float Health) {
health = Health;
}
health_class() {
health = 1;
}
void damage(float dmg) {
health -= dmg;
}
int health_int() {
return (int)health;
}
bool alive() {
return health > 0;
}
};
| [
"strykejernene@61e7bf3a-b8bb-11dd-8584-61fb05dc49a7"
] | strykejernene@61e7bf3a-b8bb-11dd-8584-61fb05dc49a7 |
f1d4021cc41c6b1fd472b016f6850f3299bb2fac | d0966bf382f0eb739bf59d61ae967e0f83d004cc | /md/compiler/disp.h | 3347dd37cb5513f34d04986fcaeb0dd14d56b255 | [] | no_license | mattwarren/GenericsInDotNet | 7b6f871808c411cbd05c538c5652618ddf162e20 | 2714ccac6f18f0f6ff885567b90484013b31e007 | refs/heads/master | 2021-04-30T04:56:03.409728 | 2018-02-13T16:09:33 | 2018-02-13T16:09:33 | 121,404,138 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,247 | h | // ==++==
//
//
// Copyright (c) 2002 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to ... | [
"matt.warren@live.co.uk"
] | matt.warren@live.co.uk |
fbbe295b19fc9ff2b3c48528dd411fdf139ec583 | 2acbfdf0d2bb09ba535d71e5f00a2a41335bc6f5 | /headers/Node54.hpp | 42c7f7a427ff1c0eaa2a50b09249ea088cf2ff8d | [] | no_license | Adikso/NecroDancerHeaders | d5ddc01df881d082230506ddc2bdfaf3e56c0df3 | 228e14c0e0420105366b552228e25a8b6a63b8c0 | refs/heads/master | 2020-04-02T23:03:05.824455 | 2018-11-16T20:00:27 | 2018-11-16T20:00:27 | 154,854,162 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,231 | hpp | // Generated automatically. Do not edit!
#ifndef _Node54_
#define _Node54_
class Point;
#include "Object.hpp"
class Node54 : public Object {
public:
Node54 * _succ;
Node54 * _pred;
Point * _data;
// Wrappers
inline Node54 * _New(Node54 * arg1, Node54 * arg2, Point * arg3) { return ptr::_New(this,... | [
"adam@zambrzycki.net"
] | adam@zambrzycki.net |
f49301f51dcde402486eb1ce6a68d172392d13d0 | 05f66db47fdb07e6001f5c1356ada68244c5a1d8 | /Fundamentos Programacion/Apuntes/Funciones/funcion_6.cpp | 7ad06b546d4e582cac404cd27fe9c52fbd60b024 | [] | no_license | Portilloglez95/Lenguaje-c | 197011f0daa89622893de70b3a904801c495d9fb | 0c363b8962dfde684e955c98eb492d1d2da203d8 | refs/heads/master | 2020-04-08T04:00:59.314927 | 2017-11-15T13:20:08 | 2017-11-15T13:20:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | /*
* Fecha: 24/05/2016
*
* Ejemplo de funcion con dominio vacio (void)
* con argumento por referencia
*
* Para utilizar un argumento por referencia utilizamos un amperson (&)
* anteponiendolo al nombre de la variable.
*/
#include <cstdio>
// Prototipo de la funcion
void inc(int &);
int main()
{
int x = 5;
/... | [
"source.compu@gmail.com"
] | source.compu@gmail.com |
64aa0414c269b4437e12ee9c3782515248480542 | f20dcefaed51837c60429da518f80c765b72ca87 | /OpenGLFramework/lkogl/camera/camera.h | 968cf011ca56eb4e22c5c49f4e7aabe82fa37933 | [] | no_license | ReiiSky/opengl-framework-1 | f77c63b6a23704ca6ffc38e3d1121bd6bc9e2b73 | bab262ec45951bdc5feae9bdc4f285431b75b652 | refs/heads/master | 2023-01-09T16:18:50.581266 | 2017-12-30T18:44:01 | 2017-12-30T18:44:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | h | //
// camera.h
// OpenGLFramework
//
// Created by Laszlo Korte on 10.08.14.
// Copyright (c) 2014 Laszlo Korte. All rights reserved.
//
#ifndef __OpenGLFramework__camera__
#define __OpenGLFramework__camera__
#include "../math/math.h"
#include "./perspective.h"
namespace lkogl {
namespace camera {
cl... | [
"me@laszlokorte.de"
] | me@laszlokorte.de |
fffb5a9efaf10c71bf884cccba8bf6656b1d7e4f | 15659252066ce32e21628128353010e1a50ddec3 | /src/modelcentral/autre/Creneau.cpp | 12df445d5fd3d92aeba8ce71e90cf1e130e05de3 | [] | no_license | jbailleux/LibraryManager | d113fd98e0eb03f0554479a21e3472fac5a42029 | 715b02897e5cc33abda8ea46dea5557e2dc643ed | refs/heads/master | 2020-12-24T12:05:24.971774 | 2016-11-07T12:39:16 | 2016-11-07T12:39:16 | 73,076,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | cpp | #include "Creneau.hpp"
#include <string>
#include <iostream>
#include "Date.hpp"
using namespace std;
string Creneau::premiereDate(std::string const c)const{
size_t pos =c.find(" ");
string p=c.substr(0,pos);
return p;
}
string Creneau::deuxiemeDate(std::string const c)const{
size_t pos =c.find(" ");
string p=c... | [
"jeremy.bailleux@insa-rouen.fr"
] | jeremy.bailleux@insa-rouen.fr |
c60a9c38459c8ed3083be48b491ebffa5099ba21 | 3bb9c26ee9d66fd22aac4784bba5a8238e9cd28e | /C++/AtCoder Problems/alphabet.cpp | f6c50bfde531237bfb174a1306e201eeb574b8d0 | [] | no_license | lokeshbisht/Competitive-Programming | 75216cffbcc1ed42b7c342cd35c48d0fe3b083ae | 210e18f6aedc02b97b654533342f3aced45a895a | refs/heads/master | 2021-04-01T06:51:53.599569 | 2020-10-23T09:34:06 | 2020-10-23T09:34:06 | 248,165,695 | 3 | 5 | null | 2020-10-23T09:34:07 | 2020-03-18T07:29:34 | C++ | UTF-8 | C++ | false | false | 150 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
char in;
cin>>in;
if (isupper(in)) {
cout<<"A";
} else {
cout<<"a";
}
}
| [
"31874727+lokeshbisht@users.noreply.github.com"
] | 31874727+lokeshbisht@users.noreply.github.com |
95e36d315fbb60acfcfaaa7e90e35811e16e74f7 | 1d32b9555f4a6a967453523144a4b7b3edfcf8b3 | /interbotix_sdk/include/interbotix_sdk/arm_poses.h | 400ed0f8a9e0edc41feb94e66afb2a3258032049 | [
"BSD-2-Clause"
] | permissive | bharatm11/interbotix_ros_arms | 3428c784b54cf02c1c520de73cd7dc9087024f00 | 490a01074b387ce89fb06529c613769a9f9c8089 | refs/heads/master | 2020-09-07T09:59:03.820513 | 2019-10-23T21:32:09 | 2019-10-23T21:32:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | h | #ifndef ROBOT_ARM_POSES_H_
#define ROBOT_ARM_POSES_H_
#include <map>
#include <string>
namespace arm_poses
{
// 'Home' positions for each robot. All joints are commanded to go to '0' radians
const std::map<std::string, std::vector<double>> home_positions = {
{"px100", {0, 0, 0, 0}},
{"px150", {0, 0, 0, 0,... | [
"solomon@trossenrobotics.com"
] | solomon@trossenrobotics.com |
3fed80bafbe4d3739779a9b94f4202a0f45fb5c1 | 5746b4e85b7907d11dfd07380badfcfac85c1ae5 | /apps/c/CloverLeaf_3D_HDF5/OpenACC/update_halo_kernel2_xvel_minus_4_right_openacc_kernel.cpp | 65e5ed3d73967cdf42e026b88c5ef615c56cf489 | [] | no_license | zyex1108/OPS | b3d1c2c023f93527145558e7941314161402b6b0 | 27bb6e424e6c31ab92b73aac91ed8d1500a35976 | refs/heads/master | 2020-12-25T23:09:44.913930 | 2016-08-25T14:08:05 | 2016-08-25T14:08:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,829 | cpp | //
// auto-generated by ops.py
//
#include "./OpenACC/clover_leaf_common.h"
#define OPS_GPU
extern int xdim0_update_halo_kernel2_xvel_minus_4_right;
int xdim0_update_halo_kernel2_xvel_minus_4_right_h = -1;
extern int ydim0_update_halo_kernel2_xvel_minus_4_right;
int ydim0_update_halo_kernel2_xvel_minus_4_right_h = -1... | [
"mudalige@octon.arc.ox.ac.uk"
] | mudalige@octon.arc.ox.ac.uk |
f758861eec63984b05a375fda4e1e7aa29fbd3ae | 38c10c01007624cd2056884f25e0d6ab85442194 | /components/signin/core/browser/account_info_fetcher.cc | a22fc32090073ad3a32718d7f557f0868ac31b45 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 3,365 | cc | // Copyright 2015 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 "components/signin/core/browser/account_info_fetcher.h"
#include "base/trace_event/trace_event.h"
#include "components/signin/core/browser/accou... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
1c3582fea072783c5ccb4aa3e18797462de49691 | 0246b89bf46613200edeb6c4ff78eecf3fcd8b38 | /Graph Algorithms/FlightDiscount.cpp | 72245f189ef7d08c8528ea538d68de2a1c553aee | [] | no_license | truongcongthanh2000/CSES-Solutions | 743ab3744dca06743e87db053a02d5303b423c0a | adfae870f27fa6a73f9f9cfb9647ea9c5c8ce223 | refs/heads/master | 2022-12-09T15:07:53.953745 | 2020-09-08T15:20:53 | 2020-09-08T15:20:53 | 293,259,234 | 10 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | cpp | #pragma GCC diagnostic ignored "-Wunused-parameter"
#include <bits/stdc++.h>
using namespace std;
#define INP "solve"
#define OUT "solve"
const long long INF_LL = 1e17;
const int INF = 1e9 + 100;
const int MOD = 1e9 + 7;
const int Base = 30;
const long double EPS = 1e-9;
const int BLOCK = 1000;
mt19937 rnd(chrono::s... | [
"truongcongthanh2000@gmail.com"
] | truongcongthanh2000@gmail.com |
53d25e2cc7bfa459c00816a7d9071849f0f93d6a | 4a6235d24916184b7a1a2103be6dbfbcdfc99ea4 | /vs2010/pixLogistic/pixLogisticTest/stdafx.cpp | 42dcea53e7d72815c6516b2847115d72322844cc | [
"MIT"
] | permissive | Birnd/arma3-coop-persistent-campaign | 20427f5c3a62fd80df1910a6467b6860cc7c18dc | 278c9823e668a802ea088e3356079c591f29f7d1 | refs/heads/master | 2020-12-24T18:54:48.640682 | 2014-07-08T13:11:16 | 2014-07-08T13:11:16 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 322 | cpp | // stdafx.cpp : Quelldatei, die nur die Standard-Includes einbindet.
// pixLogisticTest.pch ist der vorkompilierte Header.
// stdafx.obj enthält die vorkompilierten Typinformationen.
#include "stdafx.h"
// TODO: Auf zusätzliche Header verweisen, die in STDAFX.H
// und nicht in dieser Datei erforderlich sind.
| [
"pixinger77@gmail.com"
] | pixinger77@gmail.com |
d2e67d18128001aa052fde137b90b0c06d5f9a0b | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /libPr3/warrantmanager.h | a0fe8e2d31dbd989b88676202da7b3286402464f | [] | no_license | allenck/DecoderPro_app | 43aeb9561fe3fe9753684f7d6d76146097d78e88 | 226c7f245aeb6951528d970f773776d50ae2c1dc | refs/heads/master | 2023-05-12T07:36:18.153909 | 2023-05-10T21:17:40 | 2023-05-10T21:17:40 | 61,044,197 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,227 | h | #ifndef WARRANTMANAGER_H
#define WARRANTMANAGER_H
#include "abstractmanager.h"
#include "libPr3_global.h"
#include "instancemanagerautodefault.h"
class OBlock;
class OPath;
class Portal;
class RosterSpeedProfile;
class Warrant;
class LIBPR3SHARED_EXPORT WarrantManager : public AbstractManager, public InstanceManagerAu... | [
"allenck@windstream.net"
] | allenck@windstream.net |
eb55d326f219535e3890cfed1f5650205e97283b | 12803a1d2a0a0e209ec94207a9d48eddc83eb6d6 | /src/descriptors.cpp | 96531fabadd66a35566da1661e6b412ba11fbb0d | [] | no_license | fulrbuaa/faceSketchRecognition | 1f14d22ea6e5154392f42f6834ad36122d03e07c | 8494793b990ccb58cc829becb0b763968989fc34 | refs/heads/master | 2021-01-18T10:17:22.616870 | 2013-11-23T03:43:32 | 2013-11-23T03:43:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,382 | cpp | #include "descriptors.hpp"
int UniformPattern59[256] = {
1, 2, 3, 4, 5, 0, 6, 7, 8, 0, 0, 0, 9, 0, 10, 11,
12, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 14, 0, 15, 16,
17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
18, 0, 0, 0... | [
"marcoantonio.maas@gmail.com"
] | marcoantonio.maas@gmail.com |
e42fa70760b973f76176e1788becda029a30f2ec | 7789f3dc2f6bdb4088cf1767c560aefa13de96ad | /huffman.h | 96c68d716115cd77f9853d88cce67391f2ccccee | [] | no_license | anton337/HuffmanCode | 7171a38f107923224a0e6dd2ec4a36efa1868606 | 38d21afc1411f859efb0ecefb9a738445c04c2d1 | refs/heads/master | 2021-01-20T21:07:03.334598 | 2016-08-05T04:22:00 | 2016-08-05T04:22:00 | 64,716,358 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,799 | h | //***************************************************************************************//
//
// Author: Anton Kodochygov
//
// File: huffman.h
//
// Description: Implements Huffman Code.
//
//
//***************************************************************************************//
#ifndef ... | [
"bricks@hotmail.com"
] | bricks@hotmail.com |
ce8999b8246ba62ecf455e0176b6a773b2494256 | 0ca3d403b5794f55ef3999a4f9c5bb44fa4c602d | /tests/xtd.core.unit_tests/src/platform_not_supported_exception.cpp | 44e8bfdec333bc9ecb5fddd1be936d9b67dca96b | [
"MIT"
] | permissive | ExternalRepositories/xtd | 3bf26ff9bced18263f4d1a9bd551addd9976e115 | 5889d69900ad22a00fcb640d7850a1d599cf593a | refs/heads/master | 2023-07-15T16:52:14.008306 | 2021-08-26T20:25:22 | 2021-08-26T20:25:22 | 375,167,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,908 | cpp | #include <xtd/platform_not_supported_exception.h>
#include <xtd/xtd.tunit>
using namespace xtd;
using namespace xtd::tunit;
namespace unit_tests {
class test_class_(test_platform_not_supported_exception) {
public:
void test_method_(default_creator) {
platform_not_supported_exception e;
assert::are... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
711b521cedf56edfac5fcf8ed89805b722a54161 | 8cf5890812baa2724b51c6ca17d16e2a4ee460e4 | /d04/ex02/AssaultTerminator.cpp | 3cd057477192ec0c1257def248b52d1c63d0f398 | [] | no_license | akorchyn/cpp-pool | 71a1f0aeba123278a9ad0d709110035fa4d6b5de | f958548168bb08b928890b21e69700282a767023 | refs/heads/master | 2020-05-16T20:14:37.938083 | 2019-04-24T18:12:10 | 2019-04-24T18:12:10 | 183,279,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | #include "AssaultTerminator.hpp"
AssaultTerminator::AssaultTerminator()
{
std::cout << "* teleports from space *" << std::endl;
}
AssaultTerminator::AssaultTerminator(AssaultTerminator const &x)
{
*this = x;
std::cout << "* teleports from space *" << std::endl;
}
AssaultTerminator &AssaultTerminator::operator=(co... | [
"akorchyn@student.unit.ua"
] | akorchyn@student.unit.ua |
1e36ec220997434ad12b421a3958ad677c6522ae | f262085a295c6a12b5f4f86b1a36d92e2e254b3d | /prebuilts/linux/gcc-arm-none-eabi/arm-none-eabi/include/c++/7.2.1/tr1/gamma.tcc | 45420a6696743b7df108c18e4ae959d7a2c57663 | [] | no_license | fxsheep/8910DM_LVGL | a7419a0ec4ff8b0612200b0073759c7beb7fad5e | 652a91d7ebda374be58fbb927714263234a78698 | refs/heads/master | 2023-07-09T16:37:09.962057 | 2021-08-11T07:18:47 | 2021-08-11T07:18:47 | 391,400,407 | 2 | 0 | null | 2021-07-31T15:55:06 | 2021-07-31T15:55:06 | null | UTF-8 | C++ | false | false | 15,165 | tcc | // Special functions -*- C++ -*-
// Copyright (C) 2006-2017 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Fou... | [
"864876693@qq.com"
] | 864876693@qq.com |
8c72ecca1cf51ac67c9e81546f4aa862e0384ed3 | d572eaec356b02d2f8eee85d3b8e75e1a8994159 | /Libs/MRMLLogic/Testing/Cxx/vtkMRMLSliceLogicTest1.cxx | ee5bb4d0485a695d1696b6e8c52e1bade78bbcaf | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-3dslicer-1.0",
"BSD-3-Clause"
] | permissive | KongCang/Slicer4 | 8dea8180ff78c98c6a9c3b433c5850a2adf3614e | 1fff370f943560811ba82450e547714e98a360a1 | refs/heads/master | 2021-01-11T09:00:54.632479 | 2010-12-03T22:00:48 | 2010-12-03T22:00:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,276 | cxx | /*=auto=========================================================================
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH)
All Rights Reserved.
See Doc/copyright/copyright.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Program: 3D Slicer
=========================... | [
"jcfr@3bd1e089-480b-0410-8dfb-8563597acbee"
] | jcfr@3bd1e089-480b-0410-8dfb-8563597acbee |
4cd4d40163ae4adf4c1d39792f814933cf2bea4a | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Game Programming Gems 4/01 General Programming/13 Price/source/XDSLiteAPI/XDSRead.cpp | d3aec84a413416950cf0edc1d1f6deb13a13b8e1 | [] | 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 | 5,299 | cpp | // ----------------------------------------------------------------------------
//
// This file is part of the XDS Toolkit, Copyright (C) 2003 Mark T. Price
// For conditions of distribution and use, see XdsLicense.h
//
// ----------------------------------------------------------------------------
#include "XDSinter... | [
"alec.nunn@gmail.com"
] | alec.nunn@gmail.com |
ee0b47d4c9e51f7a2583ee857d9fb419d78676ec | 291d3f5169a4c7b19e115832825e37198f737218 | /Trees/Vertical Order traversal of Binary Tree.cpp | c4c3d405789377b099ab398edd94e1d4a08faaff | [] | no_license | Rashi-Singh1/InterviewBit-Solutions | 012326ebb49cf3fd3e39dfffa141f4a964264913 | 896df18ea2a5c1543c74857eb2e0d0e1b693b831 | refs/heads/master | 2022-12-17T02:03:27.134743 | 2020-09-20T10:45:07 | 2020-09-20T10:45:07 | 194,733,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
vector<vector<int> > Solution::verticalOrderTraversal(TreeNode* A) {
map<int, vector<int> > s;
queue<pair<TreeNode*, int> > ... | [
"rashi170101052@iitg.ac.in"
] | rashi170101052@iitg.ac.in |
e0bd94590a187507abbe4692472cd9e2e52c3466 | e4d45db21c72f83e4a58052230c535ff81844413 | /CDM/lab2/code/lab2.cpp | 5b3bf7d8489a7f0db3480fb786f724132b0e3240 | [] | no_license | DDDDDDDOU/POKER | 8055ee0282df32f2cc807aa378bc804c180dcecd | 6868ee3284231293f9bc2dd129bd09dd5c06e98f | refs/heads/main | 2023-05-31T09:50:00.591463 | 2021-06-15T11:26:04 | 2021-06-15T11:26:04 | 304,549,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | cpp | #include "common.h"
using namespace z3;
bool func1(int data[4][5], int answer[4])
{
context con;
expr a = con.int_const("a");
expr b = con.int_const("b");
expr c = con.int_const("c");
expr d = con.int_const("d");
solver s(con);
//TODO : your solution here
assert(0);
... | [
"1047666945@qq.com"
] | 1047666945@qq.com |
8084b359a26a524173d37c84e1ffc6bb96a9169e | b121063eef3bb6b044d65f7419c97adb30cdf194 | /engine/core/render/base/editor/panel/TextureAtlasPanel.h | 8f90de542232f01ebf35ea3b3c8a6cde37da7c87 | [
"MIT"
] | permissive | MORTAL2000/echo | 29267c2e97ca012103b22ef980508149506eedfe | 0a2ec642ab60107427c8425133418ff442404c68 | refs/heads/master | 2021-04-05T17:44:07.389536 | 2020-03-14T14:18:10 | 2020-03-14T14:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | h | #pragma once
#include "engine/core/util/Array.hpp"
#include "engine/core/editor/bottom_panel_tab.h"
#include "../../TextureAtlas.h"
#ifdef ECHO_EDITOR_MODE
namespace Echo
{
class TextureAtlasPanel : public BottomPanelTab
{
typedef vector<QGraphicsItem*>::type QGraphicsItemArray;
typedef vector<QGraphicsProxyWi... | [
"qq79402005@gmail.com"
] | qq79402005@gmail.com |
ce71042145634f8ef847778cb461eaedb4fa0b80 | 2fc3345c0cf7b0381edd7df40fddacb43fcd70c5 | /indepthcpp_6/main.cpp | 7edd69d45cfe197f67693e9315fe500212683bee | [] | no_license | wlnetman/bpmbase | 6e8846d3fa92f998a737f8448a0b97ba2af5e771 | 0e2bbb9312c4b1ac5847dde8f74a832ccd2c6ec9 | refs/heads/master | 2021-05-06T18:34:17.610684 | 2018-01-15T16:18:23 | 2018-01-15T16:18:23 | 111,930,957 | 0 | 0 | null | 2017-11-24T15:10:57 | 2017-11-24T15:10:56 | null | UTF-8 | C++ | false | false | 4,856 | cpp | #include <iostream>
#include <string>
#include <chrono>
#include <typeinfo>
#include <ctime>
#include <iomanip>
#include <codecvt>
#include "timer.h"
/*
深入应用c++11
chapter6 使用c++11中的便利的工具
2017-12-27 by wlnetman@icloud.com
*/
void TestChrono()
{
std::chrono::duration<double, std::ratio<9,7>> d1(3... | [
"wlnetman@gmail.com"
] | wlnetman@gmail.com |
a96ea898f7d1d17fbc733a1a9dd37f7ddec92765 | 037d518773420f21d74079ee492827212ba6e434 | /blazetest/src/mathtest/tsvecsmatmult/VCbMIa.cpp | ca5cdf1f749b06434f56c46b0ce3027efe146949 | [
"BSD-3-Clause"
] | permissive | chkob/forked-blaze | 8d228f3e8d1f305a9cf43ceaba9d5fcd603ecca8 | b0ce91c821608e498b3c861e956951afc55c31eb | refs/heads/master | 2021-09-05T11:52:03.715469 | 2018-01-27T02:31:51 | 2018-01-27T02:31:51 | 112,014,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,078 | cpp | //=================================================================================================
/*!
// \file src/mathtest/tsvecsmatmult/VCbMIa.cpp
// \brief Source file for the VCbMIa sparse vector/sparse matrix multiplication math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// T... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
ef47bc2a7481f52765c177728c0e961b8b75827e | 8f0f32d9627c31bacfac2fbe773bc00614275a86 | /Source/Core/IUpdater.cpp | 3e2c342f56f87e7dce13bf99991721b875406bc5 | [
"MIT",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Raven3301/Telegram-Anti-Revoke | 5b52b038a19ace027e00f10cd4f31f2826501100 | c89b0c7fdaaf04909709b7442c3b5cc906494159 | refs/heads/master | 2023-07-17T00:07:16.049964 | 2021-08-09T01:07:50 | 2021-08-09T01:07:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,010 | cpp | #include "IUpdater.h"
#include <fstream>
#include <Windows.h>
#include <wininet.h>
#include <nlohmann/json.hpp>
#include <spdlog/spdlog.h>
#include "Config.h"
#include "Utils.h"
using json = nlohmann::json;
IUpdater& IUpdater::GetInstance()
{
static IUpdater i;
return i;
}
bool IUpdater::CheckUpdate()
{
... | [
"SpriteOvO@gmail.com"
] | SpriteOvO@gmail.com |
e53765d0e6ff172e3d25da5629a42aaf5b560fa3 | 7579d827cb7b50b438dfd9ef6fa80ba2797848c9 | /sources/plug_wx/src/luna/bind_wxAuiTabArt.cpp | fecb660c6ee7424e40fdf3e6403309b891a62542 | [] | no_license | roche-emmanuel/sgt | 809d00b056e36b7799bbb438b8099e3036377377 | ee3a550f6172c7d14179d9d171e0124306495e45 | refs/heads/master | 2021-05-01T12:51:39.983104 | 2014-09-08T03:35:15 | 2014-09-08T03:35:15 | 79,538,908 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,779 | cpp | #include <plug_common.h>
#include <luna/wrappers/wrapper_wxAuiTabArt.h>
class luna_wrapper_wxAuiTabArt {
public:
typedef Luna< wxAuiTabArt > luna_t;
inline static bool _lg_typecheck_getTable(lua_State *L) {
if( lua_gettop(L)!=1 ) return false;
return true;
}
static int _bind_getTable(lua_State... | [
"roche.emmanuel@gmail.com"
] | roche.emmanuel@gmail.com |
32e3a084ee2296061a9f6ef0d21f80b84048a659 | 28c2ed3928906fdf86eeddee1df535e88840a09c | /Engine/include/AI/Pathing/icAStar.h | 8ea200dcd60311db6c3dfc9e23923775bba50de3 | [
"MIT"
] | permissive | binofet/ice | 567332ffeb01a8e173b474d99f53114aa34ce7ae | dee91da76df8b4f46ed4727d901819d8d20aefe3 | refs/heads/master | 2020-04-16T16:28:30.530556 | 2015-08-16T03:05:46 | 2015-08-16T03:05:46 | 40,782,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,356 | h | #ifndef __IC_A_STAR_H__
#define __IC_A_STAR_H__
#include "AI/Pathing/icAStarCommon.h"
#include "AI/Pathing/icPathingSystemI.h"
/*! This class implements Astar for the Pathing interface
**/
class icAStar : public icPathingSystemI
{
public:
//////////////////////////////////////////////////////////////////////////
/... | [
"joel.larsen@gmail.com"
] | joel.larsen@gmail.com |
131dca85c55c2c62a0613d81050668e30e3712f9 | c56bcde04453ba80f618042f4fd79e37e3880b57 | /src/Scene.cpp | d2c64f30f225ce411917851f41b82595c5f75e86 | [] | no_license | jack111331/Ray | aa71a346d558b36fe13257de00cbcf75865c4ec3 | c174783f9c98ac420f934b042f918c6239281452 | refs/heads/master | 2023-06-21T00:20:04.207217 | 2021-07-08T09:04:49 | 2021-07-08T09:04:49 | 307,962,200 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,352 | cpp | //
// Created by Edge on 2020/7/8.
//
#include <Photon.h>
#include <Dielectric.h>
#include "Scene.h"
#include "GroupObj.h"
#include "IllumModel.h"
#include <Lambertian.h>
#include <Sphere.h>
#include "AreaLight.h"
#include "ObjectNode.h"
bool Scene::readSceneInfo(const YAML::Node &node) {
m_group = new GroupObj()... | [
"jack111331@gmail.com"
] | jack111331@gmail.com |
003e1ddbb93952a2e27a914aec2f3a8e1c9ca20f | 5456502f97627278cbd6e16d002d50f1de3da7bb | /sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h | a374be4bc0c7d653f5bcaafd09c81f3cd9645de2 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | 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 SANDBOX_LINUX_SECCOMP_BPF_BPF_TESTER_COMPATIBILITY_DELEGATE_H_
#define SANDBOX_LINUX_SECCOMP_BPF_BPF_TESTER_COMPATIBILITY_DELEGATE_H_
#inc... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
6a9e14b97d145a8aa3c4fe66ed54407c3b8a6cb3 | 49f36a8d5bc32bfce0575795e55ecaa3ae600305 | /Project/OOP_Project/mover.cpp | a586ec637be0eee88d6e61fd42d3c31c513a91dc | [] | no_license | tkeom0114/OOP | c2a6652c68f3410289d4718f620db43f6e72832e | 9763a4e61370f2445e06f32c8387c0c131b0946c | refs/heads/master | 2020-05-01T17:27:26.388992 | 2019-04-28T03:10:24 | 2019-04-28T03:10:24 | 177,599,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | cpp | #include "mover.h"
#include "player.h"
#include "mainwindow.h"
#include <cmath>
#include <iostream>
#include <vector>
using std::vector;
using namespace game;
Mover::Mover(int _name):Thing(_name)
{
}
int &Mover::getHP()
{
return hp;
}
int &Mover::getDeal()
{
return deal;
}
int &Mover::getDefense()
{
r... | [
"tkeom0114@postech.ac.kr"
] | tkeom0114@postech.ac.kr |
e535916e7b3d6cb60e62aee25021558260bd3738 | c9de5d4c5168d5cb863744010dbcebc073b6ea8f | /Engine/CRSpline.cpp | c68ee9327606b5248df18ecb88a12a2e3eff4df6 | [] | no_license | ADFLin/GameProject | b869e246a4ec7beb37c278c4d23a0004543a688a | 56b622371271beb95becbf381534f3332ef870d5 | refs/heads/master | 2023-08-22T06:29:44.852204 | 2023-08-15T15:56:17 | 2023-08-15T15:56:17 | 47,371,197 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | #include "CRSpline.h"
void CRSpline2D::getValue( int numPoint,float* pXVal ,float* pYVal ,int numData )
{
Vec2D p1 = getPoint(0.0f);
float const dx = ( getPoint(1.0f) - p1 ).x/(numData);
float const dt = 1.0f / numPoint;
float x = p1.x;
float t = 0.0f;
int n=0;
for( int i = 0; i< numPoint; ++ i)
{
t+=dt;... | [
"adfhugo@gmail.com"
] | adfhugo@gmail.com |
2f6487f5539ec91423b017a4bda5c3d5139c9ec3 | 9ed111bc1e593d744ef44600689f34fab05ba362 | /tests/viewmodel/TestToyShapeGroupItem.cpp | 59b17fd314a6d462e5b1e1b5de55f7d4b4054be8 | [] | no_license | DmitryYurov/qt-mvvm | 6cd2b0f6c420cad0ce021f856aebfaeb6ace6399 | 95dbaecc427dbf11180973443b212a370ba19f91 | refs/heads/master | 2020-05-09T21:34:08.013574 | 2019-10-28T14:04:15 | 2019-10-28T14:04:15 | 181,447,139 | 0 | 0 | null | 2019-04-15T08:42:54 | 2019-04-15T08:42:54 | null | UTF-8 | C++ | false | false | 10,432 | cpp | #include "comboproperty.h"
#include "defaultviewmodel.h"
#include "google_test.h"
#include "propertyviewmodel.h"
#include "toy_includes.h"
#include "viewitems.h"
#include "viewdataitem.h"
#include <QSignalSpy>
using namespace ModelView;
//! Tests of toy ShapeGroup in the context of model and viewmodel.
class TestToy... | [
"g.pospelov@fz-juelich.de"
] | g.pospelov@fz-juelich.de |
a67bbda4fce995942db77d4b269b6ec22e385083 | fce0fa6795fcb0444f3f899273e27b54207009a0 | /609/D.cpp | 569bd917dd8378201cf33c9fe7e03d6f0157e65e | [] | no_license | HideLord/Codeforces | 6b4576b3358110994fe7950738c24af10017dda4 | ae9ee4f8e25a702d64a9553479cb3214a39606a5 | refs/heads/master | 2020-07-22T09:18:01.501820 | 2020-01-27T15:24:42 | 2020-01-27T15:24:42 | 207,147,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | cpp | #include <bits/stdc++.h>
#define all(x) (x).begin(),(x).end()
#define sz(x) (int)((x).size())
#define mp make_pair
using namespace std;
typedef unsigned long long ull;
typedef pair<int,int> ii;
template<class U,class T>ostream& operator<<(ostream& out, pair<U,T> & P){
return out << "[" << P.first << ", " << P.se... | [
"polimonom@gmail.com"
] | polimonom@gmail.com |
9aadf4e63ea26944d809d0243ab737dae37e7d7c | f2374562d7eb37bdfe41b5cae87c4168d852cc78 | /src/opengl_object.h | 308ead0a8d79270d04e217db171d18cf32124766 | [
"MIT"
] | permissive | xeekworx/sdfgen | 1bcb6ae3ad4d08c310115219cae1801375bb38de | 5a018520313312f9404afa3d2279b0b82b35acc3 | refs/heads/master | 2021-05-06T02:03:42.219488 | 2017-12-16T22:26:13 | 2017-12-16T22:26:13 | 114,485,147 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | h | #pragma once
#include <memory>
#include <string>
#include <sstream>
#include <stdint.h>
namespace sdfgen {
enum class opengl_object_type {
SHADER, SHADER_PROGRAM, TEXTURE2D, VBO, VAO
};
class opengl_object {
private:
std::string m_name;
uint32_t m_id;
opengl_object_type m_type;
public:
opengl_object(... | [
"xeek@xeekworx.com"
] | xeek@xeekworx.com |
3af4bdffbbae3059eaeb97a3a0de9011cc96bc07 | 81361fbb260f3a43f2dfd05474c1bb06c5160d9c | /lightoj/Accepted/1241 - Pinocchio.cpp | 09a54ab0e8f9a02e252179acda703a231dff66f2 | [] | no_license | enamcse/ACM-Programming-Codes | 9307a22aafb0be6d8f64920e46144f2f813c493a | 70b57c35ec551eae6322959857b3ac37bcf615fa | refs/heads/master | 2022-10-09T19:35:54.894241 | 2022-09-30T01:26:24 | 2022-09-30T01:26:24 | 33,211,745 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 974 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <queue>
#include <vector>
#include <algorithm>
#include <cctype>
#include <fstream>
#include <map>
#include <list>
#include <set>
#include <stack>
#define sz 100
#define pb(a) push_back(a)
#define pp pop_back()
#defin... | [
"enamsustcse@gmail.com"
] | enamsustcse@gmail.com |
c853ea74c9a9ce1fc9e610ecaa8c56af30d7eac2 | d2e0fb3fdad7fc2cb70894591d358f40d8db13d2 | /kernel/src/conf.cpp | 61c944ff33e26f8c7f1b29f8f46c4a95b958a66c | [
"ISC",
"MIT"
] | permissive | dennis95/dennix | 54c568485862a0799664033eb0717abb028d3924 | f898bb2d27346f6257df1650a002ee929e66e7fa | refs/heads/master | 2023-08-17T06:54:17.274650 | 2023-07-10T16:06:35 | 2023-07-10T16:06:35 | 55,073,371 | 168 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | cpp | /* Copyright (c) 2017, 2019 Dennis Wölfing
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR D... | [
"denniswoelfing@gmx.de"
] | denniswoelfing@gmx.de |
d6d448d177636e9cc429b3405a3cc12a5fa3f686 | ef83a69f758e22708da1ca2f0a2ab2f855bcf38f | /WebKit-IFC/Source/WebKit/blackberry/WebCoreSupport/SelectPopupClient.h | fc2f446bad96d22630d100017d1fe8a23ad05f61 | [
"BSD-2-Clause"
] | permissive | bichhawat/ifc4bc | 14446efad82b8cec530e7f7cb4d23236484d08b6 | 31d3184d14a112030c1bc0941ff5168f2eece797 | refs/heads/master | 2021-01-13T07:53:07.848605 | 2017-06-21T10:32:43 | 2017-06-21T10:32:43 | 94,991,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,236 | h | /*
* Copyright (C) 2012 Research In Motion Limited. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... | [
"abhishekbichhawat@gmail.com"
] | abhishekbichhawat@gmail.com |
7da79ba24f3e6c26c7cc2562d77200ae5a1cfd4a | 2b00823785bb182898609d5565d39cba92036840 | /src/game/client/fx.cpp | 243212917e8f78277b081fe2c3ebd3feef1d8ed9 | [] | no_license | rlabrecque/Source2007SDKTemplate | 4d401595c0381b6fb46cef5bbfc2bcd31fe2a12d | 2e3c7e4847342f575d145452c6246b296e6eee67 | refs/heads/master | 2021-01-10T20:44:46.700845 | 2012-10-18T23:47:21 | 2012-10-18T23:47:21 | 5,194,511 | 3 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 41,512 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "engine/IEngineSound.h"
#include "particles_simple.h"
... | [
"rileylabrecque@gmail.com"
] | rileylabrecque@gmail.com |
0e21e910ce6aa8cbe2c257e82cc3f5124f40751f | 71b7e57e067e1baf40cb90db72f77093ec8de2f0 | /ParallelCoordHybrid/src/Scatterplot.cpp | c340856499e68e46403b8bb7d4e762fdc765d96d | [] | no_license | SavanK/DataVisualizations | 7eb6e88cc30408ec643d954d998053d9443e44ab | 7afa686f4ee4e89429ab73d8b60eaeec80ed3a96 | refs/heads/master | 2021-01-01T06:02:13.154066 | 2017-07-26T17:48:07 | 2017-07-26T17:48:07 | 97,336,464 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,854 | cpp | #include "Scatterplot.h"
Scatterplot::Scatterplot()
{
mouse_mode = Scatterplot::MOUSE_MODE_INVALID;
which_slider = Scatterplot::SLIDER_NONE;
}
Scatterplot::~Scatterplot()
{
}
void Scatterplot::setup(float x_pos, float y_pos, float width, float height, int num_steps)
{
x_offset = y_offset = 0.1 * height;
this->w... | [
"savankiran@email.arizona.edu"
] | savankiran@email.arizona.edu |
2d88f409dd04dbd96ed7a0c18967f806421133fd | 5338cd4e316f9ba4b7993c3b4db1b514a4ac6d45 | /cf/misc/bulgogi.cpp | ed2f4e05434fd1fea298ca4bf39ec4a3d436ff69 | [] | no_license | exopeng/Competitive-Programming | 5371ed2ee7b585b36cf232b5557ed30c50ce67de | 5d28c21d3e5df5fe50a86ec6251dbc2b7018da61 | refs/heads/main | 2023-07-08T13:20:23.946747 | 2021-08-15T17:43:28 | 2021-08-15T17:43:28 | 396,431,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,084 | cpp | #include <bits/stdc++.h>
using namespace std;
//store test cases here
/*
*/
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int t;
cin >> t;
while (t--) {
string ans = "NO";
int n,m;
int time[100];
int temp[100][2];
int dp[100][2];
bool bad = false;
cin... | [
"100023497@mvla.net"
] | 100023497@mvla.net |
88d2d9134f28482557902c99bdaacbd07aee6fa2 | ac2529383cd8592c98b810f6bee0b192404980c8 | /src/collaborative-robotic-sanding/crs_application/src/common/simulation_object_spawner.cpp | d6406a34fe178a3a4f4ce19f9b1c0ecdd78e6539 | [
"BSD-3-Clause",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Surfacerobot/crs_application_sizen | 3ff1fa79ad6e9b2f065699e9fab28a3ed458feeb | 6864fc42be96c514fc3d1fac7b77386781764471 | refs/heads/master | 2023-08-23T20:44:08.862661 | 2021-10-17T06:18:47 | 2021-10-17T06:18:47 | 416,222,005 | 1 | 0 | null | 2021-10-17T06:18:48 | 2021-10-12T07:03:52 | C++ | UTF-8 | C++ | false | false | 7,001 | cpp | /*
* @author Jorge Nicho
* @file simulation_object_spawner.cpp
* @date May 4, 2020
* @copyright Copyright (c) 2020, Southwest Research Institute
* Software License Agreement (BSD License)
*
* Copyright (c) 2020, Southwest Research Institute
* All rights reserved.
*
* Redistribution and use in source and binar... | [
"shizeng007@gmail.com"
] | shizeng007@gmail.com |
741156ad1a568919d6e0065241d9705c25effc89 | 1673fddc4307dc9703a93bdef55df3ecd3f2efbd | /cquery_snapshots/cquery_0/libclangmm/SourceLocation.h | 9d2c21384d2aec39404d321f1989598ddb8bbc9d | [] | no_license | openjamoses/projects_snapshots_1 | 69e77c20e72d6d3e65faba21a51a2adb18fa7bb4 | a6aea1a68044968681068cd16d119c231e45d7e2 | refs/heads/master | 2022-12-17T19:51:29.159524 | 2020-09-26T23:30:46 | 2020-09-26T23:30:46 | 298,916,205 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | h | #ifndef SOURCELOCATION_H_
#define SOURCELOCATION_H_
#include <clang-c/Index.h>
#include <string>
namespace clang {
class Offset {
public:
Offset() {}
Offset(unsigned line, unsigned index) : line(line), index(index) {}
bool operator==(const clang::Offset &o) { return (line == o.line && index == o.index); }
bo... | [
"mosesopenja@Mosess-MacBook-Air.local"
] | mosesopenja@Mosess-MacBook-Air.local |
113e628d4bea8d112665df384c73a7721b4b572e | 6693c202f4aa960b05d7dfd0ac8e19a0d1199a16 | /COJ/eliogovea-cojAC/eliogovea-p2815-Accepted-s628031.cpp | 3976875c22d90fe833ab29f809b8900acd47b60f | [] | no_license | eliogovea/solutions_cp | 001cf73566ee819990065ea054e5f110d3187777 | 088e45dc48bfb4d06be8a03f4b38e9211a5039df | refs/heads/master | 2020-09-11T11:13:47.691359 | 2019-11-17T19:30:57 | 2019-11-17T19:30:57 | 222,045,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <bits/stdc++.h>
using namespace std;
string a, b, aux;
bool match() {
int sa = a.size(), sb = b.size();
if (sa < sb) return false;
for (int i = 0; i <= sa - sb; i++) {
bool m = true;
for (int j = 0; j < sb; j++)
if (a[i + j] != b[j]) {
m = false;
break;
}
if (m) {
au... | [
"eliogovea1993@gmail.com"
] | eliogovea1993@gmail.com |
a34a44bab881b59c8c1d40055ea71d0db5ed6ef1 | 12d2ed7bdd289044339db9f047d6266af586c0a8 | /snf/include/Exception.h | a21179197da162e7886a34ffefd081a327c68c29 | [] | no_license | Nicoretti/nc-network-sniffer | 82d240a6e6d520498ea1b421034f92d0f67efbf1 | f966d4235e2522dbed2ba9cd18747c6263a1a8b3 | refs/heads/master | 2021-03-12T19:45:47.517145 | 2015-07-22T22:07:32 | 2015-07-22T22:07:32 | 4,994,725 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | h | /**
* Copyright (C) 2012, Nicola Coretti
*
* Author: Nicola Coretti
* Version: 0.1.0
* Contact: nico.coretti@googlemail.com
*/
#ifndef EXCEPTION_H
#define EXCEPTION_H
#include <string>
/**
* Base class for all exceptions.
*/
class Exception {
protected:
/**
* If NULL/0 it indicates that the cause i... | [
"nico.coretti@googlemail.com"
] | nico.coretti@googlemail.com |
6ab2bd1db71b9ee4ca4536ef1730bcc9ee5c56b1 | 67c2e1ce81b343952e96b09e2eaf1ddc7f3888fc | /Windowing/WindowingPch.cpp | 1f8f67823c1eac835a94296f45a1088f6803bd43 | [] | no_license | aclysma/Helium | 806c5a3954ecd162a1a7137562bd0f71e084423a | a009248596b2e537ccb8e7c3e587628b8bda8b7a | refs/heads/master | 2021-01-18T05:31:57.004647 | 2011-06-07T04:49:10 | 2011-06-07T04:49:10 | 1,301,697 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp | //----------------------------------------------------------------------------------------------------------------------
// WindowingPch.cpp
//
// Copyright (C) 2010 WhiteMoon Dreams, Inc.
// All Rights Reserved
//----------------------------------------------------------------------------------------------------------... | [
"tcipicchio@gmail.com"
] | tcipicchio@gmail.com |
9f7dbcc9a290e98d8d87575aa8d3f2481d746af3 | ce0dac33cf7320af6691ad17064e379d70780998 | /src/scene/simpleScene/movementScene.h | d9588cc7fb85080712fd75eb93f226e87b660f08 | [] | no_license | ofZach/3dMovieVisualizer | b72421f6b7a8c2239ba8b77e82e6d36abd1703aa | 34ac23c1654fbd838d2f1ae2997711c1c1fe4e23 | refs/heads/master | 2021-01-23T13:16:54.652002 | 2010-10-31T04:43:27 | 2010-10-31T04:43:27 | 1,024,838 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | h | /*
* simpleScene.h
* openFrameworks
*
* Created by Zach Lieberman on 9/23/09.
* Copyright 2009 __MyCompanyName__. All rights reserved.
*
*/
#pragma once;
#include "ofMain.h"
#include "baseScene.h"
#include "ofx3DUtils.h"
#include "ofxCvOpticalFlowLK.h"
#include "particle.h"
#include "ofxShader.h"
#include ... | [
"zach@eyebeam.org"
] | zach@eyebeam.org |
4d5030d38f913961e7dd1fb5ec49f519fc0d7373 | b4441cab958afcea4727ccdf02aea01a109c7ac0 | /pgf+/src/UnknownLanguageException.cpp | ac94b31a185e007a01983e468cbb8c98577a3437 | [
"BSD-2-Clause"
] | permissive | egladil/mscthesis | 7084493affb2d3bf457e631ebc650b76a441485d | d6f0c9b1b1e73b749894405372f2edf01e746920 | refs/heads/master | 2016-09-06T19:10:29.364668 | 2013-09-13T16:11:00 | 2013-09-13T16:11:00 | 31,724,719 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | //
// UnknownLanguageException.cpp
// pgf+
//
// Created by Emil Djupfeldt on 2012-06-26.
// Copyright (c) 2012 Chalmers University of Technology. All rights reserved.
//
#include <gf/UnknownLanguageException.h>
namespace gf {
UnknownLanguageException::UnknownLanguageException(const std::string& language... | [
"emil@djupfeldt.se"
] | emil@djupfeldt.se |
cc0c3a9c742d35a7d46c97620e98a779b9be8500 | dde53b201bb9166b822c5c11835adce4f0a2f029 | /src/TextBoxRoll.cpp | b7fcdb5923166de202b30e678ab5b0d2e9d87312 | [
"Zlib"
] | permissive | ClarkGuan/kys-cpp | 4cb77dd276855cc659a6d156b735a0c8847380aa | 11db05e5e45f2d4889f8487765258255d7f2ee63 | refs/heads/master | 2021-12-02T22:48:48.167645 | 2021-11-26T06:12:58 | 2021-11-26T06:12:58 | 139,943,872 | 0 | 0 | null | 2020-03-01T11:24:23 | 2018-07-06T06:41:36 | C++ | UTF-8 | C++ | false | false | 1,165 | cpp | #include "TextBoxRoll.h"
#include "Font.h"
#include "GameUtil.h"
TextBoxRoll::TextBoxRoll()
{
}
TextBoxRoll::~TextBoxRoll()
{
}
void TextBoxRoll::draw()
{
int x = x_, y = y_;
int i = -1, line_count = 0; //初值
for (auto& line : texts_)
{
i++;
if (i < begin_line_)
{
... | [
"scarsty@gmail.com"
] | scarsty@gmail.com |
ecfea3fc6d813355f321e1cdfbf79a0b58118e5c | 385cb811d346a4d7a285fc087a50aaced1482851 | /codeforces/34/D/main.cpp | a4d16f7c958213db521dbba2b99adcdc73cd1b8f | [] | no_license | NoureldinYosri/competitive-programming | aa19f0479420d8d1b10605536e916f0f568acaec | 7739344404bdf4709c69a97f61dc3c0b9deb603c | refs/heads/master | 2022-11-22T23:38:12.853482 | 2022-11-10T20:32:28 | 2022-11-10T20:32:28 | 40,174,513 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,381 | cpp | #include <bits/stdc++.h>
#define loop(i,n) for(int i = 0;i < (n);i++)
#define range(i,a,b) for(int i = (a);i <= (b);i++)
#define rrep(i,n) for(int i = (n);i >= 0;i--)
#define rran(i,a,b) for(int i = (b);i >= (a);i--)
#define all(A) A.begin(),A.end()
#define PI acos(-1)
#define pb push_back
#define mp make_pair
#define ... | [
"noureldinyosri@gmail.com"
] | noureldinyosri@gmail.com |
33055eef6118990e1845f40dc26e3b570dc1175d | 25946155d96d444c11ce882af4e8d7b4b2395a82 | /Arduino/es 1/intensit__led/intensit__led.ino | 88165ba69be60fdbc93f9bc965a6e23869f1e483 | [] | no_license | ciminogiuseppe/mect08 | b153b77cdf240e1e704fec5646e15e37e1c670d6 | 894df0b0db75366bc2fc7f7af25dd0180356eb44 | refs/heads/master | 2020-04-24T04:25:20.178112 | 2019-03-11T15:01:39 | 2019-03-11T15:01:39 | 171,702,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | ino | int Ledpin = 4; //definiamo il pin 4 con il nome ledpin
void setup() {
pinMode(Ledpin, OUTPUT);
}
void loop() {
int t = analogRead(A0)/50;
digitalWrite(Ledpin, HIGH);
delay(t);
digitalWrite(Ledpin, LOW);
delay(21-t);
}
| [
"46967698+ciminogiuseppe@users.noreply.github.com"
] | 46967698+ciminogiuseppe@users.noreply.github.com |
81157222108e56d8f8685a7e8d9c8898790c54ac | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/lib/ExecutionEngine/Orc/Speculation.cpp | b52d01318c0dd366b66eda36b3b7d9b00ecd430b | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 5,908 | cpp | //===---------- speculation.cpp - Utilities for Speculation ----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===--------------------------------... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
1bd32cd33126037d7c7e50e6e6586edfe85a55e7 | 9dfaeac1f8a68c4825e93d3e1ad11a4353d89c89 | /Stack/Stack/AStack.h | 876129e10c740b8ec98cfea1bac0e0a0d7db1dfc | [] | no_license | Junios/201906DS | d8e48cdea473a849f987af2f1c8540e5785e5a03 | c00c38d6d51f30afabea6d82ba29e71e112a9d08 | refs/heads/master | 2020-06-03T19:20:28.372436 | 2019-06-28T07:29:58 | 2019-06-28T07:29:58 | 191,700,331 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 621 | h | #pragma once
template<typename T>
class AStack
{
public:
AStack(unsigned int DefaultSize = 10)
{
MaxSize = DefaultSize;
Data = new T[MaxSize];
Size = 0;
Cursor = 0;
}
virtual ~AStack()
{
delete[] Data;
}
void Push(T NewData)
{
if (Size < MaxSize)
{
Data[Cursor] = NewData;
Size++;
Curso... | [
"junis@junios.net"
] | junis@junios.net |
55a761d3be0f3457061a7b9d0741a13abbe0d98e | eee67bc1322e3e7751cf837e2ecaec6e71141245 | /BlayneKinect3D/Dependencies/include/ogldev/mesh.h | 78d561ddb23dc47b7ae8e7b640a187e62319519e | [] | no_license | BBlayne/BlayneKinectProject | 5208acaa239ea09989f31c2a08afa0fb86a68014 | 91b0b089fc6c5a8655cc214d165aaaca64f3b65a | refs/heads/master | 2020-06-14T12:20:26.163872 | 2017-01-01T03:48:33 | 2017-01-01T03:48:33 | 75,027,233 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | h | /*
Copyright 2011 Etay Meiri
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed... | [
"blayne.bradley@gmail.com"
] | blayne.bradley@gmail.com |
9039f91d65da764a03284067b45a50472439467c | f14436cc5186ee7ca502092642e06fd765044e11 | /src/data.1.cpp | 6f4ff88f6ea23ec8f9cac6536cd3fe3fd1b3918a | [] | no_license | sriramsr/dating | 39b4072c6756d29e3a1a60e75dcb2bf2f5621b58 | 1e0d1076298a826af13bf09872445a7e6f82aeb9 | refs/heads/master | 2023-01-09T06:39:11.980469 | 2016-04-21T00:25:19 | 2016-04-21T00:25:19 | 56,657,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,950 | cpp | #include "std.h"
#include "data.1.h"
#include "io.h"
data::data (string filename){
read_config(filename);
}
void data::read_config (string filename){
ifstream inp (filename.c_str());
if (!inp.is_open()){
cerr << "Error reading file "<< filename <<endl;
exit(1);
}
string line;
while ( std::getline (inp, lin... | [
"sriram.sankararaman@gmail.com"
] | sriram.sankararaman@gmail.com |
67bf9a6f2875200eb5b072dea326ee9f35164957 | b0d48608db249bab0a551a6185281ec8d5250139 | /install/include/intera_core_msgs/IOComponentCommandSrvRequest.h | fa5cb8752fa75921cfc777290fd512b035304dcd | [] | no_license | zzz622848/Sawyer_Ping_Pong | a4e5c03249f59991e467908ecd34b095c07b3e9d | 95077824f310b2eaaf032aa2bbcb622dc51c9712 | refs/heads/master | 2022-04-11T02:26:37.857852 | 2020-03-21T00:42:27 | 2020-03-21T00:42:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,707 | h | // Generated by gencpp from file intera_core_msgs/IOComponentCommandSrvRequest.msg
// DO NOT EDIT!
#ifndef INTERA_CORE_MSGS_MESSAGE_IOCOMPONENTCOMMANDSRVREQUEST_H
#define INTERA_CORE_MSGS_MESSAGE_IOCOMPONENTCOMMANDSRVREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/... | [
"peterpennrichjochem@gmail.com"
] | peterpennrichjochem@gmail.com |
948b71ec2af454cf83b285a1bb0133d4aefe433d | fc9b91c05b8d616f08fe847e87d51388eedf92b4 | /jsbinding.cpp | 4067eb14f9bfd16579543ffb4f27f7ecc52bf4c4 | [] | no_license | iffy/node-gyp-windows-staticlib | 9a72ed670cb27b08b898eec1694cd15f9fb13d7c | e873b71a0729d4c123b54a527288c23d6cbb7c03 | refs/heads/master | 2020-04-24T13:34:31.847620 | 2019-02-22T04:05:57 | 2019-02-22T04:05:57 | 171,992,304 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include "napi.h"
#include "foo.h"
#include <iostream>
using namespace std;
using namespace Napi;
Value do_foo_thing(const CallbackInfo& info) {
Env env = info.Env();
foo_thing();
return env.Undefined();
}
Object Init(Env env, Object exports) {
exports["do_foo_thing"] = Function::New(env, do_foo_thing);
re... | [
"haggardii@gmail.com"
] | haggardii@gmail.com |
bac2db137a9278c8c84ae6f531c5c69b3774a242 | 1aff08b2f1086719a3632d21316ac90a33653bf0 | /external/SoWin/build/msvc9/src/Inventor/Win/nodes/SoGuiSlider2.h | ee9271cad5843bdc768fc1c065546ee358e4cf91 | [
"BSD-3-Clause",
"MIT"
] | permissive | jsenn/ifcplusplus | e95150133e2d57f3aed4acfab17d367e006c2947 | ec2fd1ab037dada1a6d0c1772fe6d600d32848bd | refs/heads/master | 2022-05-06T12:52:05.767310 | 2020-08-25T18:10:26 | 2020-08-25T18:10:26 | 158,419,869 | 1 | 0 | MIT | 2018-11-20T16:30:48 | 2018-11-20T16:30:48 | null | UTF-8 | C++ | false | false | 2,984 | h | #ifndef COIN_SOGUISLIDER2_H
#define COIN_SOGUISLIDER2_H
// src\Inventor\Win\nodes\SoGuiSlider2.h. Generated from Slider2.h.in by configure.
/**************************************************************************\
* Copyright (c) Kongsberg Oil & Gas Technologies AS
* All rights reserved.
*
* Redistribution a... | [
"fabian.gerold@gmail.com"
] | fabian.gerold@gmail.com |
78219ca99a4a078ed808d10eb039983c7c5238a3 | 82b2885eee936f651548e6e900b0b0e7b0d1eeb7 | /src/qt/guiutil.h | 0f36a187de5e0c29224002721e8c33caf1d2913a | [
"MIT"
] | permissive | dogenex/dogeshares | 451a4e8d3fadc3201a6ade192de8116fd8c6614c | 2ebc52e764881f6fcb275b7d930f157047e3c8b9 | refs/heads/master | 2021-03-12T22:52:28.477698 | 2014-02-24T01:44:30 | 2014-02-24T01:44:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,227 | h | #ifndef GUIUTIL_H
#define GUIUTIL_H
#include <QString>
#include <QObject>
#include <QMessageBox>
QT_BEGIN_NAMESPACE
class QFont;
class QLineEdit;
class QWidget;
class QDateTime;
class QUrl;
class QAbstractItemView;
QT_END_NAMESPACE
class SendCoinsRecipient;
/** Utility functions used by the dogeshares-qt UI.
*/
nam... | [
"carlos@carlos-VirtualBox.(none)"
] | carlos@carlos-VirtualBox.(none) |
6c1d50d4e4b569afa9973bab1fbf324534bf8ba0 | 8648e8e1034b55d63e34a60afd1e7ada4a72ee6b | /ShootingGame/EnemyBullet.cpp | 19ee59f3e13f0d65965b1ae50d3d79777454e462 | [] | no_license | taityo/ShootingGame | 5270b5ff58143b7b9e97eb6073585addafa69c10 | aac6bc13413772568e45e434358e138fa5c826a9 | refs/heads/master | 2021-07-16T19:20:40.427382 | 2017-10-24T14:59:54 | 2017-10-24T14:59:54 | 107,782,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include "EnemyBullet.h"
EnemyBullet::EnemyBullet(double x, double y, double radius, double xs, double ys) :
Bullet(x, y, radius, xs, ys)
{
}
EnemyBullet::~EnemyBullet()
{
}
void EnemyBullet::draw() {
Circle(pos, radius).draw(Color(255, 0, 0));
} | [
"c0116040f6@edu.teu.ac.jp"
] | c0116040f6@edu.teu.ac.jp |
a404313ccff4fc844b0a89ad6f09c03f348c9702 | fa9c2d22189e2830033fc06a634d4f8d1c667436 | /lib/Dirac_ops/dirac_wilson_FiniteDensity.cpp | 5a8aaa0ca332caf487f207052710e17c9ee99638 | [] | no_license | yonggwi-cho/IroIro | b8c8cf4f6642daaaec9ebe8a2a430133b63a02fc | 2c3126b2995e1fd8fcabb925bcf1a7f9f5affc78 | refs/heads/master | 2020-04-17T04:41:17.778864 | 2016-10-11T10:49:48 | 2016-10-11T10:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,081 | cpp | /*! @file dirac_wilson_FiniteDensity.cpp
* @brief memberfuncs of Dirac_Wilson_FiniteDensity class
Time-stamp: <2014-08-29 20:52:48 noaki>
*/
#include "dirac_wilson_FiniteDensity.hpp"
using namespace std;
/// initialization of the generalized slices for the absolute boundaries
void Dirac_Wilson_FiniteDensity::init_T... | [
"noaki@post.kek.jp"
] | noaki@post.kek.jp |
8f7a18d44b48b725661904f0836efce6d26b4894 | 546d00dd96099d7ad669373f5771b9b200938f6e | /Sources/MultiServer/Intercessor/GameServer.cpp | ffa56852f258fe0b63620718d1c41541cb5182cc | [] | no_license | lubing521/mmo-resourse | 74f6bcbd78aba61de0e8a681c4c6850f564e08d8 | 94fc594acba9bba9a9c3d0a5ecbca7a6363b42a5 | refs/heads/master | 2021-01-22T01:43:29.825927 | 2015-03-17T02:24:16 | 2015-03-17T02:24:16 | 36,480,084 | 2 | 1 | null | 2015-05-29T03:16:18 | 2015-05-29T03:16:18 | null | UTF-8 | C++ | false | false | 926 | cpp | #include "Stdafx.h"
#include "GameServer.h"
OnlineGameLib::Win32::CBuffer::Allocator CGameServer::m_theGlobalAllocator( 1024 * 64, 20 );
/*
* CGamePlayer Global Function
*/
bool CGameServer::SetupGlobalAllocator( size_t bufferSize, size_t maxFreeBuffers )
{
return CGameServer::m_theGlobalAllocator.ReSet(... | [
"ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c"
] | ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c |
e2be8dd07ed0d2dbc3c7507e05ca431853bb47c6 | b6eb0308eeed42ef7c6e131889da696e06642e91 | /QPLCsim/QSyntaxHL.cpp | 8a582a43f0084e98ac2179eb0a2239286c485c30 | [
"MIT"
] | permissive | Strongc/PLCsimulator | a3024da7503b91c7b268f517bba66d5455a7dc00 | 494cd0f4b1758af56b1a967c1668448858d9e1f7 | refs/heads/master | 2021-01-15T13:42:54.050891 | 2015-08-23T19:11:33 | 2015-08-23T19:11:33 | 49,043,389 | 0 | 1 | null | 2016-01-05T05:08:34 | 2016-01-05T05:08:33 | null | UTF-8 | C++ | false | false | 2,032 | cpp | #include "QSyntaxHL.h"
#include <QtGui>
using namespace std;
QSyntaxHL::QSyntaxHL(QTextDocument *parent)
: QSyntaxHighlighter(parent)
{
HighlightingRule rule;
keywordFormat.setForeground(Qt::darkBlue);
keywordFormat.setFontWeight(QFont::Bold);
QStringList keywordPatterns;
keywordPatterns
<< "\\bAND... | [
"jos.onokiewicz@han.nl"
] | jos.onokiewicz@han.nl |
b73d1bf3287e8366229d3ac81744250a1903c6d3 | 4fa808eb00495634b8196904a6a76244a40efc6a | /AuthenticationClient/Include/CryptoSymmetric/AesModeCBC.h | 1d70f737891561921bc7083f62c48510234c07ad | [] | no_license | NeutralGender/Authentification | 56a717d2db02819eae4b7b2a14300d7acb44897e | 88151cd561f37967cd80fff308a9a113202622ea | refs/heads/master | 2021-01-07T12:24:27.256475 | 2020-02-21T08:42:51 | 2020-02-21T08:42:51 | 241,691,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | h | #ifndef _AES_MODE_CBC
#define _AES_MODE_CBC
#include "CryptoAes.h"
#include "crypto++/aes.h"
#include "crypto++/ccm.h"
#include "crypto++/modes.h"
#include "crypto++/filters.h"
#include "crypto++/secblock.h"
using CryptoPP::AES;
using CryptoPP::Exception;
using CryptoPP::CBC_Mode;
using CryptoPP::StringSource;
usi... | [
"sd12@sg.com.ua"
] | sd12@sg.com.ua |
7d01d45022e68a3eb5f6a29acd031600d9695fd4 | 0ba77ca35d775341aac6c8dbd81be6c0cc694df4 | /ch14OperatorOverload/MemberVsNonMember.cpp | 8e8e3a2280f4f6aa141204882741232cc12e40f9 | [] | no_license | gutsavgupta/CodeCpp | 24f6856f49818c827f249df8cfb23b0c18809266 | 3bc1f57838df06ae90272da9eb4e90f319e03300 | refs/heads/master | 2021-06-28T09:23:36.889521 | 2020-12-26T20:39:32 | 2020-12-26T20:44:12 | 182,865,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | cpp | #include <iostream>
#include <string>
class boo {
public:
char varboo4;
boo* operator->() { return this; }
};
class foo {
public:
long va1, var2;
char var3;
boo var4;
boo& operator->() { return var4; }
};
class woo {
public:
woo(const char* a){};
};
bool operator==(const woo& l... | [
"gutsavgupta@gmail.com"
] | gutsavgupta@gmail.com |
85525aed28f66f6125ec511f7b93a36a3b8a862f | 86bf5ce19538b120467b2674324b44ac79854e2b | /src/control/jointdmplearner.cpp | 3b22ced359e336eea964bb17ea440ca5c2f63fcd | [] | no_license | squirrel-project/kukadu | 2294b56e55a9577e5847e3c76330abf12a5673c0 | 530054db8c409fdef97ed3927e55d63b0cb8f152 | refs/heads/master | 2021-01-18T02:48:59.742813 | 2017-03-25T17:54:39 | 2017-03-25T17:54:39 | 53,591,719 | 0 | 8 | null | 2017-03-25T17:54:40 | 2016-03-10T14:40:04 | C++ | UTF-8 | C++ | false | false | 1,813 | cpp | #include <kukadu/control/jointdmplearner.hpp>
#include <kukadu/types/jointdmp.hpp>
using namespace std;
using namespace arma;
namespace kukadu {
JointDMPLearner::JointDMPLearner(std::vector<DMPBase> dmpBase, double tau, double az, double bz, double ax, arma::mat joints) : GeneralDmpLearner(dmpBase, tau, az, bz, ... | [
"simon.hangl@uibk.ac.at"
] | simon.hangl@uibk.ac.at |
d4effac5d482b8461733d6ac69b54209ae31b10a | f6d59e86bef82eb7c6f97d95e3b4c9c293204d25 | /spg/spg/spg/stdafx.cpp | 2b9bfbbfd16de2c13d549bd1ed3ba555d2c9342c | [] | no_license | ShaoxunJin/work_test_code | b7e9acf1f9f1045aeb97515bae9e7ad6ac48ab9f | 18127bd2b425c13b63a8c0d600ec2152559cde9e | refs/heads/master | 2020-03-17T18:22:39.365026 | 2018-05-17T13:43:16 | 2018-05-17T13:44:25 | 133,819,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | // stdafx.cpp : source file that includes just the standard includes
// spg.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"jinshaoxun@126.com"
] | jinshaoxun@126.com |
6507234dec0d78e1e2704924cc00a75b58a51af3 | f5ad041e88412641162f46e8efe8a20c912a1ebf | /android/headers/stone/18/frameworks/av/include/media/IMediaPlayer.h | 4684abeaee13a8f827aafa3f558faef3460a032f | [] | no_license | BAT6188/webrtc_module_core | cef0726e7a113589a3c768ab7909159782d744f6 | e58d71f5a90609ac7bf5f5b91d12533e5d8a6c60 | refs/heads/master | 2023-05-24T06:49:20.606529 | 2016-05-28T03:39:17 | 2016-05-28T03:50:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,047 | h | /*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 requir... | [
"lichao@kedacom.com"
] | lichao@kedacom.com |
0fd3f8659af3004f4db1c20f0ffa446e524fa0c5 | bc5a1471f0de73e955b5362fcc30f6b53098b802 | /src/libmv/multiview/similarity.cc | c050b4781d7e30bb34a22a94f3b31b2109ff5945 | [
"DOC",
"MIT"
] | permissive | Chiur/libmv | ab7da9627a5ccca019914fcb74960e6e3c09ae98 | 8040c0f6fa8e03547fd4fbfdfaf6d8ffd5d1988b | refs/heads/master | 2020-12-03T05:10:11.008744 | 2014-10-09T07:59:29 | 2014-10-09T07:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,647 | cc | // Copyright (c) 2011 libmv authors.
//
// 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 without limitation the
// rights to use, copy, modify, merge, publish... | [
"julien.michot.fr@gmail.com"
] | julien.michot.fr@gmail.com |
f5574f63e1155392741cd891a8852de401026cf0 | c31792ecc2f4558530aea33c2692773932e6cf50 | /bulletgba/generator/data/code/esp_rade/round_5_alice_clone.cpp | f73ce47fd3fa5deedd22b5e983cf429388e01788 | [
"Unlicense"
] | permissive | pqrs-org/BulletGBA | f65e4e7b964b5bb021a8b95dd7727852e62a866c | a294007902970242b496f2528b4762cfef22bc86 | refs/heads/main | 2021-08-29T02:12:55.680153 | 2020-03-22T05:50:28 | 2020-03-22T05:50:28 | 249,121,625 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,894 | cpp | // XXX uniqID XXX 4a6493fa3cb4851af1c5f0c2dce63c78 XXX
#include <gba_types.h>
#include "bullet.hpp"
#include "fixed.hpp"
#include "esp_rade/round_5_alice_clone.hpp"
extern const BulletStepFunc bullet_04d55bd18af5cc65e3753821d39b0c7b_4a6493fa3cb4851af1c5f0c2dce63c78[] = {
stepfunc_e2f2d38c94ef4cdb1e0b45f60d9374c0... | [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
529dfb759bcaac0bb08fc86067f23afa04672c7f | 205c7f8986ec135e58f328d4cecd36a7cf59fde1 | /src/api/EnchantmentFrameworkAPI.h | c7019d5f2be27f7405c72f58b9691421cec5d359 | [] | no_license | Climbatiz/EnchantmentFramework | 4a58f373fcdf9f240966c51df078ac223e3dfd7b | 724ca79e227af36669b8f99c5c13c7706091dee7 | refs/heads/master | 2020-03-17T07:55:50.306648 | 2014-09-17T03:52:12 | 2014-09-17T03:52:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | #pragma once
#include <vector>
class EnchantmentItem;
struct EnchantmentFrameworkInterface
{
enum { kInterfaceVersion = 1 };
UInt32 version;
//These functions currently only work for weapon enchantments. May add armor enchantment support later.
std::vector<EnchantmentItem*> (* GetAllCraftedEnchantments)(); //... | [
"egocaribx@gmail.com"
] | egocaribx@gmail.com |
e5ab5096e49c47afaf55efd0db80acf9a133d54d | 98819d62d5b7e901975bb01b34b38dbc3cb2f422 | /src/286_Walls_and_Gates.cpp | f236b3a5fafeb738b25f09810486a50d7c70115a | [] | no_license | Liuyi-Wang/LeetCode | 78666c34dd6de9fbed611fb7a53fb522fe823b7c | c4f86881cab16b09eafcad0745b59b334dae2ae5 | refs/heads/master | 2022-02-04T03:29:29.606869 | 2022-02-01T00:52:43 | 2022-02-01T00:52:43 | 196,485,970 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | cpp | static int __ = []() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
std::cout.tie(nullptr);
return 0;
}();
class Solution {
public:
void wallsAndGates(vector<vector<int>>& rooms) {
d_i = {-1, 0, 1, 0};
d_j = {0, 1, 0, -1};
for (int i = 0; i < rooms.size(); ++i) {
... | [
"wangliuy@umich.edu"
] | wangliuy@umich.edu |
9d08fcd2d5f071039f6ea3b4631f8b657a736cbd | 20b49a6ef1fa417d67abef2d29a598c9e41c478e | /CodeForces/Contests/CF Round 711/C.cpp | a3efa93d8d1b4f5d3ebdf6d42f5185560e3a7200 | [] | no_license | switchpiggy/Competitive_Programming | 956dac4a71fdf65de2959dd142a2032e2f0710e1 | beaaae4ece70889b0af1494d68c630a6e053558a | refs/heads/master | 2023-04-15T19:13:12.348433 | 2021-04-04T06:12:29 | 2021-04-04T06:12:29 | 290,905,106 | 1 | 3 | null | 2020-10-05T20:16:53 | 2020-08-27T23:38:48 | C++ | UTF-8 | C++ | false | false | 1,335 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define benq queue
#define pbenq priority_queue
#define all(x) x.begin(), x.end()
#define sz(x) (ll)x.size()
#define m1(x) memset(x, 1, sizeof(x))
#define m0(x) memset(x, 0, sizeof(x))
#define inf(x) memset(x, 0x3f, sizeof(... | [
"switchpiggy@users.noreply.github.com"
] | switchpiggy@users.noreply.github.com |
54c163453f0db0b5bf35f6d36914a0bebd80990b | 3079356ad80009d009782a2386a6bdc2ef59f2fd | /Ivan/lab5/lab5/Header.h | 94e1f60630d85867d1310ea8fd7382951a5e3719 | [] | no_license | mrkriv/Laboratory | 3cadd98b805e316a2e3f8dc262ec4c85f0c55d4f | f453bdf7381c4b06dcb423778a2292b80e7a685c | refs/heads/master | 2020-05-21T12:27:47.820844 | 2017-10-01T15:07:44 | 2017-10-01T15:07:44 | 54,062,460 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 490 | h | #pragma once
#define _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_SECURE_NO_WARNINGS
#include "iostream"
#include "string"
#include "conio.h"
using namespace std;
struct Node
{
Node* next;
int id, date, cost, retDate;
bool ret;
};
Node* readNode();
Node* clone(Node*);
void copy(Node*, Node*);
void insert(Node*&, Nod... | [
"virus_450@mail.ru"
] | virus_450@mail.ru |
c0316252086c22f879df40213b198a956ca15d50 | 9e19c5d659863918615e913b39b8a673fba1cf30 | /NSTEPS - Number Steps.cpp | a6e963e909b95095b5059deca1a94c78c9ace4fe | [] | no_license | avichauhan6832/SPOJ-Solutions | 10a76040139d08526e7e83db4f6277ead78bd014 | c901b66b3216dc7dcd906978ca964fea4da7d4da | refs/heads/master | 2020-12-13T04:24:56.257192 | 2020-02-10T16:18:47 | 2020-02-10T16:18:47 | 234,313,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | cpp | #include <bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define int long long
const string normalChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 ";
const int N=1e6+5;
int32_t main()
{
IOS;
/*freopen("apache.in","r",stdin)... | [
"avi.r.chauhan6832@gmail.com"
] | avi.r.chauhan6832@gmail.com |
5d2fb6054053a7b3c51a053ce89bb61a67addc3c | ed20cf1539dbc0aa2f57f3451f0aba2c77e02eb8 | /week-02/Day-3/Diagonals/main.cpp | 376948f5b0c3dc70d0e12b49e993f0622c838061 | [] | no_license | green-fox-academy/Joco456 | 60b0090dcc9f368240cca045eea4b3f67df69f83 | 3b98cdb39f26010246ecc38837b62e4f37d00b91 | refs/heads/master | 2020-05-04T08:59:18.192461 | 2019-10-03T09:17:11 | 2019-10-03T09:17:11 | 179,058,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,769 | cpp | #include <iostream>
#include <SDL.h>
//Screen dimension constants
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
//Draws geometry on the canvas
void draw();
//Starts up SDL and creates window
bool init();
//Frees media and shuts down SDL
void close();
//The window we'll be rendering to
SDL_Window* gW... | [
"jozsef.varga.123@gmail.com"
] | jozsef.varga.123@gmail.com |
3b11b8021ab34d65589a03144364d3f643ae1452 | 1f7e2b9d209a04542d0a04524a129a74215eae25 | /PAD2_Praktikum5_lars/traveldialog.h | abf390fbaafe270a5151648414ffc9abc5994022 | [] | no_license | panexe/h_da_PAD2_Malcherek | 346540ea4500768352efa197029b6cd5b528c735 | 49830bc756b8ce2eb5659b182d2776c259d7e31b | refs/heads/master | 2020-05-04T15:41:13.810127 | 2019-06-15T13:19:03 | 2019-06-15T13:19:03 | 179,252,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | h | #ifndef TRAVELDIALOG_H
#define TRAVELDIALOG_H
#include <QDialog>
#include "travelagency.h"
#include "tablemodel_travel.h"
namespace Ui {
class TravelDialog;
}
class TravelDialog : public QDialog
{
Q_OBJECT
public:
explicit TravelDialog(QWidget *parent = nullptr, TravelAgency* travelAgency = nullptr);
~T... | [
"larslpt@gmail.com"
] | larslpt@gmail.com |
52de733995774cb2e0669dbe5331ada5f59e37ea | 68e0c825c2baa638c86f7a2654513ba8c3ebf54c | /src/LcdSDL.h | 86495e31b1b135a9eecda1f0395d7a7c5ffca1d7 | [] | no_license | mirecta/Adafruit-GFX-SDL | b157a2fbfec77d0b24e4cac7536ecd7a23f242dc | be0e1d64a5057d122447ab6d6831ddbc8afc726c | refs/heads/main | 2023-03-21T03:13:11.554118 | 2021-03-10T15:59:35 | 2021-03-10T15:59:35 | 346,409,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | h | #include <SDL2/SDL.h>
#include "Adafruit_GFX.h"
#include <stdio.h>
class LcdSDL :public Adafruit_GFX {
public:
LcdSDL(int16_t width,int16_t height);
~LcdSDL();
void update();
void setColor(uint16_t color);
virtual void drawPixel(int16_t x, int16_t y, uint16_t color);
... | [
"miroslav.talasek@seznam.cz"
] | miroslav.talasek@seznam.cz |
f2aeb6352ff3e48e9243a8bdfc0a8f5f6f66ba15 | fb981a1c16a202d92935858922fe3c5a425167ac | /gamry-600-reference/src/GamryExperimentControlAndVisualizationClassTestUI/gamrywidget.hpp | 02317efcc218f15a072984e539a742bac3059772 | [] | no_license | atraastrum/project-a-elec-e8002 | c1dbbf3130cd7fa9c1c67c91b3c461015c0c90ca | ad9897241e4ddc3dced26622f35b62f4babccb20 | refs/heads/master | 2021-01-11T15:28:48.437175 | 2017-05-04T11:02:31 | 2017-05-04T11:02:31 | 80,354,659 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | hpp | #ifndef GAMRYWIDGET_HPP
#define GAMRYWIDGET_HPP
#include <QWidget>
#include "../GamryChronoAmperometrySimpleUI/gamry.hpp"
class QCustomPlot;
class QVBoxLayout;
class QPushButton;
namespace Gamry {
class QPotentiostat;
class GamryWidget : public QWidget
{
Q_OBJECT
public:
explicit GamryWidget(QWidge... | [
"borys.plyenkov@gmail.com"
] | borys.plyenkov@gmail.com |
b90f270c7b6cf5bea43dc0bfc958e4df4446ee62 | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/game/client/library/swgClientUserInterface/src/shared/page/SwgCuiResourceExtraction_SetResource_TableModel.cpp | 0286ee96f83eacc5b7eddd3ccf26e203d7264d99 | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 11,834 | cpp | //======================================================================
//
// SwgCuiResourceExtraction_SetResource_TableModel.cpp
// copyright (c) 2002 Sony Online Entertainment
//
//======================================================================
#include "swgClientUserInterface/FirstSwgClientUserInterface.h"
... | [
"swgmaster@india.com"
] | swgmaster@india.com |
ba7ddc1f5de28dd8300b372b7b7fe8d4d8f09960 | cfb156de35a7f3987f88d6b025c762921f5e9931 | /tests/libs/dlopen_2_parents_reloc_answer.cpp | 036670bee51f8a53a139eb65892553ec62edff26 | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | aosp-mirror/platform_bionic | 6faa82304cb67f3347a9b04f2f0eb712444d764a | 143f3cea320becbfc836309fade5dfa1074731d0 | refs/heads/master | 2023-07-08T07:44:02.618070 | 2023-06-26T23:35:08 | 2023-06-26T23:35:08 | 65,830 | 300 | 131 | null | 2018-11-05T20:53:52 | 2008-10-21T18:19:55 | Objective-C | UTF-8 | C++ | false | false | 807 | cpp | /*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 app... | [
"dimitry@google.com"
] | dimitry@google.com |
0e01de5fee64cc8bb77661ba89870a5cc202359d | 67413e30303ec2d0f8d425bf1c2afab599c376e1 | /1000-1999/1388.cpp | f3a39e3defe8a6592d03dec4d037aa8ce573de9d | [] | no_license | ricglz/COJ-Problems | 5d2eb9dbdd8c79cf18cb78df25a52fce1bc38010 | 7a0304107cf229d397fbcd78fc8a26a25e8d6ca6 | refs/heads/master | 2021-09-26T19:57:31.750331 | 2018-11-01T18:06:37 | 2018-11-01T18:06:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | cpp | #include <cstdio>
typedef long long int LL;
using namespace std;
int main(int argc, char const *argv[]){
int testCases;
scanf("%i",&testCases);
for (int i = 0; i < testCases; ++i){
int a;
LL b;
scanf("%i%lli", &a, &b);
a%=10;
if (b!=0){
switch(a){
case 0:
printf("%i\n", 0);
break;
case ... | [
"rjgcastillo@hotmail.com"
] | rjgcastillo@hotmail.com |
651b6570e145803427c328c4c9a297a63a9ca61b | 37e81384df25d9de4f764a72af0d4ad94eccc483 | /beajoon/1019/main.cpp | c588798980f21f3fe305d6cf11376c2d0f64b699 | [] | no_license | grayhacker91/Algorithm | b43b100e06b99012837c3842d112159aae1ecb28 | 20cdb8755b11edcbd15f50f44e54e23177487963 | refs/heads/master | 2021-01-11T02:40:00.364098 | 2018-08-14T08:43:12 | 2018-08-14T08:43:12 | 70,912,286 | 0 | 0 | null | 2016-12-17T01:30:23 | 2016-10-14T13:23:04 | C++ | UHC | C++ | false | false | 1,430 | cpp | #include<iostream>
#define MAX 10
using namespace std;
int result[MAX]; //결과 값
int numCount[10]; //각 자릿수의 수
int val[11]; //각 자릿수의 10^(n-1) 값(0은 배열은 제외)
int main() {
int n;
cin >> n;
int cnt = 0;
bool isNine = true;
for (int i = n; ; i = i / 10) {
int temp = i % 10;
if (i == 0 && temp == 0) {
break... | [
"grayhacker91@gmail.com"
] | grayhacker91@gmail.com |
2d8961958b7989a967435792ab25eda31d06c0da | 4ca058074a848d79aa909aef9baea03534de179c | /include/point.hpp | b2a84d966ac340b0033b8c069c465abd2b343d6c | [
"MIT"
] | permissive | reggie2010/cpp-A_star | 11f9fd2897126882c75a94ee6b1b65295ec3f12e | 784b2ee1ba885bfb76eb17bef2da3c9ad383d1f4 | refs/heads/master | 2021-07-14T06:24:49.062731 | 2017-10-18T03:46:19 | 2017-10-18T03:46:19 | 106,341,181 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | hpp | /**
*
* @file point.hpp
* @brief Point class hearder file
* @author Vontrelle Collins
* @copyright MIT License
*
**/
#ifndef POINT_H
#define POINT_H
#include <iostream>
class Point {
public:
Point();
Point(int x, int y);
int getX();
int getY();
void setX(int x);
void setY(int y)... | [
"trelle823@msn.com"
] | trelle823@msn.com |
052052efc17884942f64fa14c749a7570032733a | 94c90b5dd1466c11ebbc2b49e9bb58b696e654b6 | /SimulationManager.cpp | 9b91d1f0739231b51823d64801178526738902a9 | [] | no_license | tafulop/ZMQCppServer | f9298c4e5129275e490c99662b408a57ad667d76 | feaab1a6973b898862a34894ec66abc018b2acad | refs/heads/master | 2020-12-11T22:17:55.456907 | 2016-05-01T12:07:42 | 2016-05-01T12:07:42 | 53,863,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: SimulationManager.cpp
* Author: fulop
*
* Created on March 26, 2016, 8:08 PM
*/
#include "SimulationManager.h"
S... | [
"tamas.flp@gmail.com"
] | tamas.flp@gmail.com |
56d3a97a8e587f6f2bd874929d7c92a2288471f6 | 59a75e12801691f042ff6d6d6430d228c91953ae | /StarDisplay/val2TexCoord.hpp | 1d27fd2a276e7e7d3e2cbf3c49f280e9636f02c5 | [] | no_license | merovingiano/StarDisplay | 07800bc40addcf9b6a54846d5c200585a39cc429 | d08878e6eb9097565ff61ce5037f6b9d2a49af55 | refs/heads/master | 2021-01-21T04:36:29.145377 | 2016-03-14T13:54:29 | 2016-03-14T13:54:29 | 32,023,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | hpp | #ifndef VAL2TEXCOORD_HPP_INCLUDED
#define VAL2TEXCOORD_HPP_INCLUDED
struct val2TexCoord
{
val2TexCoord(float minValue, float maxValue)
: minVal(minValue), maxVal(maxValue), scale(1.0f / (maxValue - minValue))
{}
float operator()(float value) const { return scale * (value - minVal); }
float inverse(flo... | [
"robin.mills.27@gmail.com"
] | robin.mills.27@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.