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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ca6c7492048501678e1ba6e5a79991e370279e6a | 3ead41a4c3d7f5e9dea45c8409341ac53dceecb1 | /uart_frame.h | f1a742538301e87cf7e32c916a6ea5792c9c1f18 | [] | no_license | acx0/beehive | 03a5e15e2c2b6c0a57d4028374988eda98b2082a | d60b13aac05967267dc3cf81948be9f8c35c18ce | refs/heads/master | 2020-03-19T04:51:15.782788 | 2017-12-11T00:07:34 | 2017-12-11T00:07:34 | 135,874,801 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | h | #ifndef UART_FRAME_H
#define UART_FRAME_H
#include <cstdint>
#include <iterator>
#include <memory>
#include <numeric>
#include <vector>
#include "at_command_response_frame.h"
#include "frame_data.h"
#include "logger.h"
#include "rx_packet_64_frame.h"
#include "tx_request_64_frame.h"
#include "tx_status_frame.h"
#incl... | [
"sam.lidder@gmail.com"
] | sam.lidder@gmail.com |
ee77ad583c4763f8c836d9da9700fb26c6918a30 | 5ddd0ec20099a9c3ffe865c835dcceb5b7fd0332 | /of_v0.8.0_vs_release-gesture-recognizer/libs/openFrameworks/types/ofColor.cpp | c651d631dd9ebe97256b195dfd67459d67870172 | [
"MIT"
] | permissive | MarkusKonk/Geographic-Interaction | af81f9f4c7c201dd55843d4dd0d369f2f407d480 | b74f6f04656611df8dc4ebdea43f263cea67b366 | refs/heads/master | 2020-12-30T10:36:34.414880 | 2014-02-03T12:37:45 | 2014-02-03T12:37:45 | 13,868,029 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 32,637 | cpp | #include "ofColor.h"
#include "ofConstants.h"
template<typename PixelType> const ofColor_<PixelType> ofColor_<PixelType>::gray(limit() / 2, limit() / 2, limit() / 2);
template<typename PixelType> const ofColor_<PixelType> ofColor_<PixelType>::white(limit(), limit(), limit());
template<typename PixelType> const ofColor... | [
"matthias.m.hinz@googlemail.com"
] | matthias.m.hinz@googlemail.com |
c3ac7b699d75b5a5fd256fbb7bd125f079e65ced | ab1c643f224197ca8c44ebd562953f0984df321e | /wmi/wbem/providers/win32provider/cimwin32a/win32_controllerhashub.cpp | e6ccdba949a52b3fce98fdb7c65fab2cbbf5c7f4 | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_admin | e162e0452fb2067f0675745f2273d5c569798709 | d36e522f16bd866384bec440517f954a1a5c4a4d | refs/heads/master | 2023-04-12T13:25:45.807158 | 2021-04-13T16:33:59 | 2021-04-13T16:33:59 | 357,613,696 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,099 | cpp | //=================================================================
//
// Win32_ControllerHasHub.cpp -- Controller to usb hub assoc
//
// Copyright (c) 2000-2001 Microsoft Corporation, All Rights Reserved
//
//=================================================================
#include "precomp.h"
#include <Binding... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
7b20d17896b84814f3ee2ab170f65cfc2c6a17cb | 90047daeb462598a924d76ddf4288e832e86417c | /third_party/WebKit/Source/platform/loader/fetch/ResourceRequestTest.cpp | d769c49386158941afe21b2451a0018d290dd117 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 7,103 | cpp | // 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.
#include "platform/loader/fetch/ResourceRequest.h"
#include <memory>
#include "platform/network/EncodedFormData.h"
#include "platform/weborigin/KURL.h"
#... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
66b03ee6eec72ce6cfacc16b81a55cc6ad1d0a1d | 157ee4d0f6d8834bc06baf15d4c9b0ed43bad0fe | /cat/applicative/optional.hpp | f6df26ef90574e4648cf5c13d8fadd0491425ebf | [] | no_license | antmd/cat | f75ba86bce82c639b6999c7595a755a836ffe526 | e4f37e7a8c28b177765106745724129a4e5f869e | refs/heads/master | 2021-01-21T16:31:33.468526 | 2015-04-30T07:53:29 | 2015-04-30T07:53:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,873 | hpp | /******************************************************************************
*
* The MIT License (MIT)
*
* Copyright (c) 2014-15 Nicola Bonelli <nicola@pfq.io>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"... | [
"nicola.bonelli@gmail.com"
] | nicola.bonelli@gmail.com |
0a4af763a4a67f2021cbd9b1e8f321610d7d8878 | 5647bc026240464efd3e3a0a6ab88744d3fa3618 | /src/iucore/convert.cpp | a6a71be0427102e6c463c909eba371b9e40d97c9 | [] | no_license | nemobtx/imageutilities | 94f2605a970bed5988481fd14ec93bc7247dce0e | 96901c94045890e97ea859dc9bb8cd6dfcaee088 | refs/heads/master | 2020-12-02T19:22:29.090868 | 2016-03-06T19:59:10 | 2016-03-06T19:59:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,793 | cpp | /*
* Copyright (c) ICG. All rights reserved.
*
* Institute for Computer Graphics and Vision
* Graz University of Technology / Austria
*
*
* This software is distributed WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the above copyright n... | [
"handa.ankur@gmail.com"
] | handa.ankur@gmail.com |
3684903d2cb295cc5b75d90c70f9672c837927a4 | ae089b04d461f964fb1c63f0d3ad6c5dba4ddeb7 | /src/arrow/util.h | 132c282e3c4e82238aeaabea09a6a53979c5d48c | [
"Apache-2.0"
] | permissive | grundprinzip/arrow | 63c10c442933a30ac498d3d91576c753dbf59e45 | bab4dbf5151fb4c036b331fb314652e975da5822 | refs/heads/master | 2020-07-10T17:35:17.688702 | 2015-12-23T21:35:39 | 2015-12-23T22:22:00 | 48,502,960 | 0 | 0 | null | 2015-12-23T17:33:49 | 2015-12-23T17:33:49 | null | UTF-8 | C++ | false | false | 1,855 | h | // Copyright 2015 Cloudera 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 wr... | [
"wes@cloudera.com"
] | wes@cloudera.com |
718ae6118150e3cff7898d8f4fbb577d550c6d30 | 48de99b1f76dc847fd0366e68095103184c870ce | /torch_ipex/csrc/jit/accelerated_ops.h | 3d4b6944b5d3148822e017272a5e04a785a8b2e6 | [
"Apache-2.0"
] | permissive | jiayisunx/intel-extension-for-pytorch | d18310d74035fc3bbdf580790829059a8aca7251 | ed82813091b8a49bd2db2d87280e7be5e7821335 | refs/heads/master | 2022-11-16T05:09:32.667007 | 2020-07-03T07:36:46 | 2020-07-06T02:16:01 | 262,252,437 | 0 | 0 | Apache-2.0 | 2020-05-08T07:09:24 | 2020-05-08T07:09:24 | null | UTF-8 | C++ | false | false | 2,141 | h | #pragma once
#include <ideep.hpp>
#include <torch/csrc/jit/runtime/custom_operator.h>
namespace torch { namespace jit {
// XXX: PyTorch does not support nesting namespace
// And the alias analysis is not working for namespace other than aten ...
// So we fake some op namespaces to workaround that.
namespace dnnl {
... | [
"eikan.wang@intel.com"
] | eikan.wang@intel.com |
bd9c3f65b0e4f07432db91edc7575a78c23931a8 | ead07f20ab683e03ec84f6dc59640a38ff3dde15 | /GameEngine2D/ParticleBatch2D.cpp | 49c410edd8abd3f1f9189d7ff85bc563ed01f19c | [] | no_license | dmauk/2DGameEngine | 62ecb8c95b05c9632022abc5c0bf9e6f7fdd84c2 | a89439dcf9e5b996819805a93db20f6c23e086b2 | refs/heads/master | 2021-01-15T15:31:19.441516 | 2016-07-05T19:19:34 | 2016-07-05T19:19:34 | 52,846,900 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,080 | cpp | #include "ParticleBatch2D.h"
namespace GameEngine2D {
ParticleBatch2D::ParticleBatch2D()
{
//Empty
}
ParticleBatch2D::~ParticleBatch2D()
{
delete[] m_particles;
}
void ParticleBatch2D::init(int maxParticles, float decayRate, GLTexture texture, function<void(Particle2D&, float)> updateFunction /* = defau... | [
"dmauk@fau.edu"
] | dmauk@fau.edu |
47adedb6c0ae818c7d24ce985ca78334869260f3 | ab95572e01fce409bc413d8d0f5320dd61b62c85 | /software/modules/cv_utils/FindCameraMatrices.cpp | dd2a1d26aadc3cc7059c37087621b168acbcbab3 | [] | no_license | spillai/articulation_learning | 8615413ab8c70c367bd3d1e2dc5675db2f59e068 | 4bae0b55813fb9e3683cee363268c51b9b195002 | refs/heads/master | 2021-05-19T22:53:35.725923 | 2015-10-17T21:42:21 | 2015-10-17T21:42:21 | 38,456,267 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,412 | cpp | /*****************************************************************************
* ExploringSfMWithOpenCV
******************************************************************************
* by Roy Shilkrot, 5th Dec 2012
* http://www.morethantechnical.com/
***************************************************************... | [
"spillai@csail.mit.edu"
] | spillai@csail.mit.edu |
ad9654ff488506cbb37d862f39e6d5e8ce72a4df | 1b4d6be8363951e1ce7516d3e1d9b1ac6038af8c | /source/XmlTileDeclaration.cpp | 78c2c66c973c9cfd71a127b0c1e973a06fcc3734 | [] | no_license | adamjjablonski/cse335-tower-defense | dde028a9a3d9b2719a30e8ecde3b5c514521d74a | b6a5bd9673cb84afd2e9e1d359b560978e57001c | refs/heads/main | 2023-06-09T18:18:18.199958 | 2021-06-21T23:09:14 | 2021-06-21T23:09:14 | 379,081,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | /**
* \file XmlTileDeclaration.cpp
*
* \author Adam Jablonski
*/
#include "pch.h"
#include "XmlTileDeclaration.h"
/**
* Custom constructor
* \param node The XML node used to create this declaration
*/
CXmlTileDeclaration::CXmlTileDeclaration(shared_ptr<CXmlNode> node)
{
mId = node->GetAttribute... | [
"noreply@github.com"
] | adamjjablonski.noreply@github.com |
9f6a02f334aa407f5c10789113bd6dd4cbb60431 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tcss/src/v20201101/model/DescribeValueAddedSrvInfoRequest.cpp | d121cabdfff72dd228dab00111f23f9f0642f5c9 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 1,390 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
4e99686c8f5efc6dd28f4e9a1844b3e0738069d2 | 71dfa11149953a0d6724a0ba5a945b952df6f01e | /src/icp/icp.cpp | 651ebe3ddee2e9fb0b353ac358589e7b789e40ed | [
"BSD-3-Clause"
] | permissive | erickulcyk/strawberrypeaches | db892b985e9d020e2b1a4ad966ad988a19664b5d | 9e78a354da855460e4f6005c7da7d3fb809252f4 | refs/heads/master | 2020-05-29T23:19:24.003719 | 2014-02-02T04:19:22 | 2014-02-02T04:19:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,641 | cpp | #include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/registration/icp.h>
#include <pcl/visualization/cloud_viewer.h>
void ShowCloud (pcl::PointCloud<pcl::PointXYZRGBA>::Ptr cloud, int index)
{
stringstream title;
title << "Cloud "<<index;
pcl::visualization::Clo... | [
"erickulcyk@gmail.com"
] | erickulcyk@gmail.com |
0899b932d60ddee3eae6c8e04a2b6aa7217845ce | 74cd4e6098029ee5d168f45ba73e0479ac8ae09f | /src1.3/Tree.h | 2a6866d167ca3160d0e00d1e9c7b600f695c609c | [] | no_license | gilles-didier/TDALP | e19130f5ff7499741a9c77fd9960147b6f215b3b | 280937ca31a50b7481c90d498359ada2f4eeced8 | refs/heads/master | 2020-06-26T16:41:56.129091 | 2016-11-27T15:29:42 | 2016-11-27T15:29:42 | 74,549,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,919 | h | /*
'tdalp' computes the time-dependent-asymmetric-linear-parsimony parametric reconstruction of a phylogenetic tree.
Copyright (C) 2016 Gilles DIDIER
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 ... | [
"gilles.didier@free.fr"
] | gilles.didier@free.fr |
0ef96d4163b2c8c9439f161629bc610ee5e3c754 | f7587c0be83c5b9b9cc2dc4c9bf3bacc275dd3a3 | /chromecast/browser/display_configurator_observer.cc | caabcd3006d4ae47a4f2f5f0c707c3c4eedf9608 | [
"BSD-3-Clause"
] | permissive | bramus/chromium | 64e7cf1e8e4a8ddb28964bd0ff54c8b1082faa76 | 43139ddcc7e184a66bdaf1b6b8f23561675be819 | refs/heads/main | 2023-04-13T15:27:32.890558 | 2021-04-18T10:14:28 | 2021-04-18T10:14:28 | 359,112,142 | 1 | 0 | BSD-3-Clause | 2021-04-18T10:30:23 | 2021-04-18T10:30:22 | null | UTF-8 | C++ | false | false | 840 | cc | // Copyright 2021 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 "display_configurator_observer.h"
namespace chromecast {
DisplayConfiguratorObserver::DisplayConfiguratorObserver(
chromecast::shell::CastD... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
c81cfef22c1e8cad1210546e18e7c2409457e672 | 31e6e1b72ebc27339b4e65b71c62f5f392e897b9 | /IODEVICES.h | 8868a80e3623d88ccd8270c778c83616a03f8b65 | [] | no_license | ramitix/OS-Simulator | b088a34660ae01bf1480110bd854ccd363547aad | b3333c906c0d5a35f37f36cf18b5ba1b42be2443 | refs/heads/master | 2021-01-11T22:30:40.866480 | 2017-01-15T00:13:06 | 2017-01-15T00:13:09 | 78,977,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | h | //Ramy Atalla
#ifndef IODEVICES_H
#define IODEVICES_H
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <iomanip>
#include <vector>
#include <string>
#include <list>
#include <queue>
#include <algorithm>
#include "PCB.h"
#include "Memory.h"
#include "CPU.h"
using namespace std;
class PCB;
class CPU;
... | [
"ramitix@ramys-Air.home"
] | ramitix@ramys-Air.home |
428f49d711cccdb73ceb1d0297e8e06bbf973841 | d73eb9e6b9450f5456d92c710c457fb36bbe8d59 | /cdcAnim/AnimNodes/AnimSmartMovementNode.h | fcc4c551c21a877a9b9ffbca403b9c812ea5f5b0 | [] | no_license | rrika/cdcEngineDXHR | 110cb9314f242e0cfe07c51d439da1045aec78a0 | ff312d19663ca1f68881b46089c4a856c2ced0f5 | refs/heads/main | 2023-08-31T05:09:34.118694 | 2023-08-30T23:49:39 | 2023-08-30T23:49:39 | 474,729,623 | 192 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 135 | h | #pragma once
#include "../AnimPipelineNode.h"
namespace cdc {
class AnimSmartMovementNode : public AnimPipelineNode {
// TODO
};
}
| [
"adam.jensen@si.det.usa"
] | adam.jensen@si.det.usa |
65fc964b1b30b6365060858ea48baa62a57d08dc | b17b253b5f12903ce0d2531541fd390247379394 | /04/main2.cpp | ae0619e60b4debb5ab3ffb93f894f672d5151bd5 | [] | no_license | Worthy-Wang/Sword2Offer | 5fa73636448c0dbdb8f82a769e1792d28f3c32de | 6e69bca7318784c3debb569ea24c72e70fb7effb | refs/heads/master | 2022-11-27T14:29:40.106119 | 2020-08-05T06:23:05 | 2020-08-05T06:23:05 | 283,200,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | cpp | #include <iostream>
#include <algorithm>
#include <map>
#include <unordered_map>
#include <queue>
#include <set>
#include <vector>
#include <fstream>
#include <sstream>
#include <string.h>
#include <memory>
#include <limits>
#include <list>
using namespace std;
/*
begin: 15:06
end: 15:22
Time Complexity: O(M+N)... | [
"you@example.com"
] | you@example.com |
a348d08e081ee69cc9b14de138c6eed22c052574 | f715f25577cfe5cf9fa5281cf7ff109487ebf363 | /L2_CustomWidgets/Lesson5/build-PromoteWidget-Desktop_Qt_5_12_8_MSVC2017_64bit-Debug/debug/moc_indicator.cpp | 2a02c20248e5eec2efcdffe2b44601593c888680 | [] | no_license | sid1980/CppQtProjects | b01a05e3760680e009d2e08884f3453329e3e035 | 8b397d2b39dc38080f6f17dc9cbeb7280ffc6ec8 | refs/heads/master | 2023-04-01T01:56:01.661748 | 2021-03-27T19:07:27 | 2021-03-27T19:07:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,737 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'indicator.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.8)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"akashkumarsinha007@gmail.com"
] | akashkumarsinha007@gmail.com |
6e6eab19244ef589c2b709e56378c7f6ca3f87e0 | d94aeeb531ca5866f91ef4ee7bd696e2b09be061 | /infoarena/fallingb/fallingb.cpp | 09f5c64574c10edb9bb7ba53a2f890065549b96d | [] | no_license | alexvelea/competitive | ffbe56d05a41941f39d8fa8e3fc366e97c73c2e0 | f1582ba49174ca956359de6f68e26f6b30306a4d | refs/heads/master | 2022-10-20T17:04:25.483158 | 2020-06-18T23:33:25 | 2020-06-18T23:33:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | cpp | #include <fstream>
#include <iostream>
using namespace std;
const int MOD = 9901;
ifstream in("fallingb.in");
ofstream out("fallingb.out");
int nr[125][1000];
int rez[125];
int l, add;
void bt(int p, int lst, int nxt) {
if (p == 8) {
nr[l + 1][nxt] += add;
nr[l + 1][nxt] %= MOD;
return ;
}
if (lst & (1 <<... | [
"veleandu@yahoo.com"
] | veleandu@yahoo.com |
d92b3346654b762f02ea268efc49df5fd8b56d9a | ef9876a305a6c5b4f93f68e0fed0ba01761df5c2 | /AcCoRD2/src/mesoscopic_region.cpp | 0c13c41e21bcc72a78d670f41dff8cc7be1bb11f | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause",
"MIT"
] | permissive | Jackrekirby/AcCoRD2 | 4b2fd4f3847e7d2338b42f13d75988a998bcd5c9 | d712b3f7e73f32dc1894fcb79bec4510a13a9dce | refs/heads/master | 2023-03-23T10:59:13.544882 | 2021-03-16T15:49:25 | 2021-03-16T15:49:25 | 311,968,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,237 | cpp | // The AcCoRD 2 Simulator (Actor - based Communication via Reaction - Diffusion)
// Copyright 2021 Jack Kirby. All rights reserved.
// For license details, read LICENSE.txt in the root AcCoRD2 directory
#include "pch.h"
#include "mesoscopic_region.h"
#include "vec3d.h"
#include "vec3i.h"
#include "vec3b.h"
#include "... | [
"jackrekirby@gmail.com"
] | jackrekirby@gmail.com |
7c95b203a58d9ab5cdb9e67ed9df75be04c19a69 | c003995232de360da7332fc05b9df117e47b48fb | /Glitter/Headers/SimpleModel.hpp | 77bc40cef28ace5f778d8d1624ea2b92daf81265 | [
"MIT"
] | permissive | LegendaryZReborn/Glitter | 93fea30b9d0a689b50383b1fa33207816ccb1289 | 3bdca116eebf7886b03056afe81d38b68c387c36 | refs/heads/master | 2021-04-28T20:17:01.966987 | 2018-03-20T19:17:51 | 2018-03-20T19:17:51 | 121,920,372 | 0 | 0 | null | 2018-02-18T05:10:48 | 2018-02-18T05:10:48 | null | UTF-8 | C++ | false | false | 1,012 | hpp | #ifndef SIMPLEMODEL_H
#define SIMPLEMODEL_H
#include <glitter.hpp>
#include <vector>
#include "Material.hpp"
#include "Shader.hpp"
#include <sstream>
class SimpleModel {
friend class Loader;
friend class Renderer;
public:
SimpleModel();
SimpleModel(std::vector<glm::vec4> vertices, std::vector<glm::ve... | [
"cbrolegendz@gmail.com"
] | cbrolegendz@gmail.com |
da88d1d60fdbd14acb9d508542ae597bc21bcf87 | 161bb0e9067b46268acea4485cf94be11be676cc | /libraries/NDEF/MifareUltralight.cpp | 87d405053e22f3d11b3fb396fb0d2743c82d0d52 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | lnxz/BOTHackathon2017-Ditto | 9b9cb14760e1cb244200763419529f20a9bec8fc | 008712495c0f50cd0c7895864c3e158559d7d015 | refs/heads/master | 2020-12-30T13:28:45.654764 | 2017-05-14T15:22:01 | 2017-05-14T15:22:01 | 91,222,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,533 | cpp | #include <MifareUltralight.h>
#define ULTRALIGHT_PAGE_SIZE 4
#define ULTRALIGHT_READ_SIZE 4 // we should be able to read 16 bytes at a time
#define ULTRALIGHT_DATA_START_PAGE 4
#define ULTRALIGHT_MESSAGE_LENGTH_INDEX 1
#define ULTRALIGHT_DATA_START_INDEX 2
#define ULTRALIGHT_MAX_PAGE 63
#define NFC_FORUM_TAG_TYPE_2 ... | [
"lnx@live.com.sg"
] | lnx@live.com.sg |
01651835b157211250a9b03715c6145d49f34940 | c952a9dfde3ee42f919db607e05b06166ac5e0b9 | /codeforces/1338/A.cpp | f30664bd82137fcf9ae06c4456bb3e850fccc6f2 | [] | no_license | ntloi95/Codeforces | 1afaa753e3c84752907fb2e8bb79b0d1fc4e1a1b | 3fab8d5a0d00cafc74e392f1db6ee20b9e68d1d1 | refs/heads/master | 2023-05-23T17:51:47.532503 | 2021-06-26T07:59:47 | 2021-06-26T07:59:47 | 335,175,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | cpp | #include <bits/stdc++.h>
#define ll long long
#define ii pair<int, int>
#define fi first
#define se second
using namespace std;
const int N = 50;
int main()
{
ios::sync_with_stdio(false);
int t;
cin >> t;
while (t--)
{
int n;
cin >> n;
int mx;
cin >> mx;
int... | [
"ntloi95@gmail.com"
] | ntloi95@gmail.com |
3fcf2fdc7a2eb661e83726297657e3aa80e470b2 | 6477cf9ac119fe17d2c410ff3d8da60656179e3b | /Projects/openredalert/src/video/Dune2Image.h | 459b78b084ecbcc51af8afe2c361150deaddb6f5 | [] | no_license | crutchwalkfactory/motocakerteam | 1cce9f850d2c84faebfc87d0adbfdd23472d9f08 | 0747624a575fb41db53506379692973e5998f8fe | refs/heads/master | 2021-01-10T12:41:59.321840 | 2010-12-13T18:19:27 | 2010-12-13T18:19:27 | 46,494,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | h | // Dune2Image.h
// 1.0
// This file is part of OpenRedAlert.
//
// OpenRedAlert 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, version 2 of the License.
//
// OpenRedAlert is distri... | [
"cepiperez@gmail.com"
] | cepiperez@gmail.com |
17cd18a9b62ef9b0e1bbb95ae64b2e0707ca8a38 | 730455062efc93c01ce6a074339e86e1c7282ef4 | /gpuemutest/tests.cpp | 0e30dfcc06e227c4724ef7694838efed15302583 | [
"Apache-2.0"
] | permissive | veeYceeY/alice5 | 6a222658f002f3957147df2629a8f53bc0814563 | 6001088d432faf1b9e4b0498f6f3af32d7f8e294 | refs/heads/master | 2023-05-08T15:00:44.286299 | 2021-05-26T18:02:22 | 2021-05-26T18:02:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,162 | cpp | #include <vector>
#include <iostream>
#include <iomanip>
#include <cassert>
#include "gpuemu.h"
#include "riscv-disas.h"
void print_inst(uint64_t pc, uint32_t inst)
{
char buf[80] = { 0 };
disasm_inst(buf, sizeof(buf), rv64, pc, inst);
printf("%016" PRIx64 ": %s\n", pc, buf);
}
void dumpGPUCore(const GPU... | [
"grantham@plunk.org"
] | grantham@plunk.org |
45452ca12079b8c95c73c13dcfb9f860525bfe36 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/ash/system_web_apps/apps/camera_app/camera_app_untrusted_ui_config.h | 2ff78cf3b0d20f408cad984440276276b6cb46fe | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 969 | h | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_SYSTEM_WEB_APPS_APPS_CAMERA_APP_CAMERA_APP_UNTRUSTED_UI_CONFIG_H_
#define CHROME_BROWSER_ASH_SYSTEM_WEB_APPS_APPS_CAMERA_APP_CAMERA_APP_UNTRUSTED_UI_... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
a608f00ea8ca130c09265df7e48a79b54e554fd0 | 9cfa1b8858a11e347bf8b0e611b1d68e06780717 | /stasm/shapefile.cpp | fec04b47ac1ea55e6fb04944930608eeaa3315c2 | [] | no_license | tbian/aov | aaa1a20308afef7858ab34a309a7e867317abc53 | 3fd188d3c4d9d4355a58bedc6f87ab2a5c267a22 | refs/heads/master | 2021-01-22T23:53:36.038775 | 2012-07-12T05:35:48 | 2012-07-12T05:35:48 | 4,985,242 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,140 | cpp | // $shapefile.cpp 3.0 milbo$ routines for shape files
//-----------------------------------------------------------------------------
// 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 ve... | [
"tbian7@gmail.com"
] | tbian7@gmail.com |
f5cc6efb1b86de8efdee20ac402f9ab50245bfeb | b2fe6fffae49f594e63107f2f7fd14a7987943a1 | /InterviewQuestions/LeetCode/1_LinearList/1_2_9_ReverseNodesInKGroup.cpp | 5269762df928b9335c009e8e542bb6f212cc61b9 | [] | no_license | lawenliu/CodeInterview | 4852b97f61ca705274b6ccc45a16b8f99a247459 | 60b457971d064c6f72303a78798b279263392342 | refs/heads/master | 2021-05-02T18:33:03.722897 | 2017-12-20T23:42:48 | 2017-12-20T23:42:48 | 61,231,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,363 | cpp | /*********************************************************
* Given a lined list, reverse the nodes of a linked list k at a time
* and return its modified list.
* If the number of nodes is not a multiple of k then left-out nodes
* in the end should remain as it is.
* You may not alter the values in the nodes, only nodes... | [
"lwc541117@gmail.com"
] | lwc541117@gmail.com |
172714875d05008af8fe8a4d9abb84fdeb412d3b | e6c9adcd71fb805e09c91d9e1e07f6e7cf0a321a | /headers/mist-v1.6.0/test/singleton_test.cpp | 318e165c1aef2a72d71716b47180ced7aafbea06 | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | simizlab/atlas-guided-em-algorithm | a1c0f522c2daa0a7e53d0eb02eb7f7a8d73e19b0 | 54dd2df19f65724b1ac6957c06faca39d5b40215 | refs/heads/master | 2020-05-24T08:25:14.742300 | 2019-05-24T06:37:03 | 2019-05-24T06:37:03 | 187,184,512 | 4 | 0 | null | 2019-05-18T09:10:21 | 2019-05-17T09:07:52 | C++ | UTF-8 | C++ | false | false | 2,060 | cpp | //
// Copyright (c) 2003-2010, MIST Project, Nagoya University
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice... | [
"38281934+zEttOn86@users.noreply.github.com"
] | 38281934+zEttOn86@users.noreply.github.com |
cffbddf98aef2d1e860b7cda0c9619d1d605c434 | 8d937ba1412c30a08ffd2a1196d65d836486534c | /30 Day Leet Code Challenge/Find the Duplicate Number.cpp | 01c5ae7a6dc47326c025d78252bd2c34d0925b2e | [] | no_license | ArpitSingla/LeetCode | 5988f0a9f43c216ad2d61a847aca8b25ca2330be | 4bfe51209e66ce3cee233841de9d4baa97454415 | refs/heads/master | 2021-03-20T22:14:01.234679 | 2020-07-30T04:09:04 | 2020-07-30T04:09:04 | 247,238,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | class Solution {
public:
// Using Fast and Slow Pointer
int findDuplicate(vector<int>& nums) {
int fast=nums[0];
int slow=nums[0];
do{
fast=nums[nums[fast]];
slow=nums[slow];
}while(fast!=slow);
slow=nums[0];
while(fast!=slow){
... | [
"arpitsingla1999@gmail.com"
] | arpitsingla1999@gmail.com |
4b53f496a2ba145ef17bde0fcd5bd94a03bae60c | 671cdae7f9e5db17692e42a0fee96ddc87ce92ec | /Bus.h | b1fa0f0fcafbe1a3ae52960827e62b31c19b0216 | [] | no_license | Tonypony1496/newproject | 2448062c8544f0018afcb6e1f4dd48478017d47b | f624f9ac5a2cdb4c634c4c85d6de829db09101ee | refs/heads/master | 2020-06-07T22:02:32.076873 | 2019-06-21T13:42:48 | 2019-06-21T13:42:48 | 193,102,460 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 419 | h | #ifndef __Bus__
#define __Bus__
#include "Transport.h"
class Bus : public Transport
{
public:
short int passengerĐapacity;
void InData(ifstream& ifst);
void Out(ofstream& ofst);
Bus() {}
};
class BusFactory : public TransportFactory {
public:
BusFactory() :TransportFactory(2) { }
Transport... | [
"tony1496@yandex.ru"
] | tony1496@yandex.ru |
31a1a241223c55d76a0b38677128a70713739395 | 770718eaaa68c772c22613b5c745c1eff85f7c1a | /26/b.cpp | 9f0bbd52eb37d797c1a6d6020b216a8805daec95 | [] | no_license | duongptit14/GiaiNganHangCTDLGT | f77a280d753f89f139a581af4c8866b1eaca46e2 | b5461e1a212e7e3bd84d86e15f83ba37ad8ac842 | refs/heads/master | 2021-01-10T12:26:36.944302 | 2017-12-28T07:11:36 | 2017-12-28T07:11:36 | 55,380,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | #include <iostream>
#include<string.h>
using namespace std;
struct tree{//Moi phan tu cua cay la mot ky tu
char data;
tree *l, *r;
}*root = NULL, *p = NULL, *t = NULL, *y = NULL;
struct node {
struct tree *pt;
struct node *next;
}*top = NULL, *q = NULL, *np = NULL;
void push(tree *p... | [
"duongpv@PVDptit.net.fpt"
] | duongpv@PVDptit.net.fpt |
dcaaf339c0cebcf37d2b4080e1f20760c645dcd8 | 5521a03064928d63cc199e8034e4ea76264f76da | /fboss/agent/hw/bcm/BcmInterface.h | 8cfa22ab119a9054c189cf787581ff04e793feb6 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | facebook/fboss | df190fd304e0bf5bfe4b00af29f36b55fa00efad | 81e02db57903b4369200eec7ef22d882da93c311 | refs/heads/main | 2023-09-01T18:21:22.565059 | 2023-09-01T15:53:39 | 2023-09-01T15:53:39 | 31,927,407 | 925 | 353 | NOASSERTION | 2023-09-14T05:44:49 | 2015-03-09T23:04:15 | C++ | UTF-8 | C++ | false | false | 20,981 | h | #pragma once
#include "fboss/agent/hw/bcm/BcmSdkVer.h"
extern "C" {
#if (defined(IS_OPENNSA))
#define BCM_WARM_BOOT_SUPPORT
#endif
#include <bcm/cosq.h>
#include <bcm/error.h>
#include <bcm/init.h>
#include <bcm/knet.h>
#include <bcm/l2.h>
#include <bcm/l3.h>
#include <bcm/link.h>
#include <bcm/mpls.h>
#include <bcm... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
0461b9eafad8df8f3c5324500509c6d917983ef5 | d73dc790ef5d3968c60be25f1373bd10d3e74038 | /rpgEngine/main.cpp | 3b0dc26c9ed849e7f160c0055f64bcb72bfd6c6a | [] | no_license | rjavier441/PROJECT-indigo | f8906973995cf5f4882169dfdfd3b3025f7c86f1 | e1e15fbea9ea04ab982cdc453357c360e3148e24 | refs/heads/master | 2020-03-16T17:56:21.513945 | 2017-08-02T00:41:41 | 2017-08-02T00:41:41 | 132,853,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include "lib/Game.h"
using namespace std;
/* To compile: g++ -c *.h *.cpp
To link: g++ *.o -o game -lsfml-system -lsfml-window -lsfml-graphics -lsfml-audio
*/
int main(int argc, char* argv[]){
Game game("The Arc Stones");
game.Start();
return EXIT_SUCCESS;
}
| [
"rjavier441@gmail.com"
] | rjavier441@gmail.com |
06029b804538f1279ee5919f963fb225380e2a2c | ea71f6289415dfeb4b158a68a763515d0fb8f325 | /localAddons/ofxLight2D/src/Light2D.cpp | b568588b9700c580f96cd1a3af7bc19579262156 | [] | no_license | ofZach/funkyForms | dc043b9ad7a7cd46bb89887852f6ef192f9635a5 | 3a5b231be5382c1376bffb6890951aada24aded4 | refs/heads/master | 2020-04-06T07:07:21.303408 | 2016-08-28T00:11:45 | 2016-08-28T00:11:45 | 61,383,694 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,515 | cpp | // =============================================================================
//
// Copyright (c) 2014 Christopher Baker <http://christopherbaker.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | [
"qinzi.tan@newschool.edu"
] | qinzi.tan@newschool.edu |
43f38bf5038b25414264e6ddfdf37003b9c4d1ef | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /android_webview/browser/aw_javascript_dialog_manager.cc | 60ac537fb2942317d95e48b355669450aa3a0f17 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,981 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "android_webview/browser/aw_javascript_dialog_manager.h"
#include "android_webview/browser/aw_contents_client_bridge_base.h"
#include "conte... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
7cdc2fe9d0d85f14bc347e864678ae8c53dea88c | 5e3408fb807bf8514f73503d10e648f1dcaf674c | /src/qt/test/uritests.cpp | 60811d1b37c58e56e08c3bd953d7ee3cf8d0267c | [
"MIT"
] | permissive | DataSaverCoin/DSC | e6536901627a461a6d9098fb6b266d160c357a1f | 20b55e51d324db4201748bb5fa7539aa8c7f38af | refs/heads/master | 2021-05-02T07:46:06.450425 | 2018-07-10T13:16:21 | 2018-07-10T13:16:21 | 120,837,812 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,908 | cpp | #include "uritests.h"
#include "../guiutil.h"
#include "../walletmodel.h"
#include <QUrl>
void URITests::uriTests()
{
SendCoinsRecipient rv;
QUrl uri;
uri.setUrl(QString("datasavercoin:LQDPC5rbjDB72fGFVHu4enYhxGAZuRiFh9?req-dontexist="));
QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv));
uri.setUrl(Q... | [
"support@datasaver.org"
] | support@datasaver.org |
55c627a6abba53e2493713aee71899bdbcca3527 | ab9d3d4a9af4409906c7e322e59eecaac863115b | /thrift/gen-cpp/block_master_types.cpp | 2ca45698abc46e87f0d1ab0fb4f683ff87eb67c5 | [
"Apache-2.0"
] | permissive | pspringer/AlluxioWorker | 95e8a012e0f7e8076e2053970c8288246b8da957 | df07f554449c91b1e0f70abe2317b76903f97545 | refs/heads/master | 2021-05-14T10:06:48.340243 | 2018-01-30T00:00:44 | 2018-01-30T00:00:44 | 116,343,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 6,191 | cpp | /**
* Autogenerated by Thrift Compiler (0.10.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "block_master_types.h"
#include <algorithm>
#include <ostream>
#include <thrift/TToString.h>
WorkerInfo::~WorkerInfo() throw() {
}
void WorkerInfo::__set_id(const i... | [
"pspringer@emutechnology.com"
] | pspringer@emutechnology.com |
8008ebc4578c14213d91f6ada736122d508205e9 | 903f92ae4980c2b0ee864df451af586ef7e575e2 | /search/bfs.cpp | c906295abbbcf84accf6742b86d4a25eb44b307c | [] | no_license | anandr86/Search-Assignment | cad620807849b2a3d9f2f8a7d7deb2f7ef3647b6 | 5f4cc71237f6599944312314b27af187fc615cde | refs/heads/master | 2021-01-23T13:48:34.635942 | 2011-10-04T06:17:31 | 2011-10-04T06:17:31 | 2,454,326 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | cpp |
#include <bfs.hpp>
#include <search.hpp>
#include <state.hpp>
#include <string>
#include <vector>
#include <list>
#include <iterator>
#include <algorithm>
#include <memory>
using namespace std;
BFS::BFS(spState start) : Search(start)
{
}
shared_ptr<vector<spState>> BFS::run()
{
list<spState> open;
vector<spStat... | [
"anandr86@gmail.com"
] | anandr86@gmail.com |
22a7c6d7bf3cb9f9b7bb9438bad387c0ff40996a | 26507c02aedb3014ee03b4d796f15ce4ad8ee8be | /message.cpp | 4dbaa1ae36c572740401e57ee3efc1cb7ebeb05c | [] | no_license | Frost-fusion/P2P_Chord_DHT | 2ae261c7b5803b5afd9c211edc6141fea831f2b8 | 15ba1fd8ad6bbe3df8dfd28abab938893b624444 | refs/heads/master | 2022-04-16T13:56:33.467160 | 2015-05-03T06:47:55 | 2015-05-03T06:47:55 | 254,827,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | #include <cstring>
#include <chrono>
using namespace std;
class message
{
public:
int command;
int id;
int src;
int dest;
int finger_idx;
message() {};
message(int command, int id, int src, int dest, int finger_idx)
{
this->command = co... | [
"haojin2@460f2f80-ea7f-4ded-9ede-27a2d1ad010b"
] | haojin2@460f2f80-ea7f-4ded-9ede-27a2d1ad010b |
340ffab6d422d38e969540a652d837444abf9ed3 | 86316b629090c023d74104157dda99ca978c81ea | /src/testing/StaticTest.cpp | 903d2c12c032ee1947aa96e3777b363853100a7d | [
"Apache-2.0"
] | permissive | amb/LeapCxx | 5473731375e1972237e3d35a85fd24734c18efa6 | adee8ab2d277edfade3c385b0e6e3dff1445774e | refs/heads/master | 2022-11-22T09:51:12.531577 | 2020-06-13T04:52:10 | 2020-06-13T04:52:10 | 271,942,389 | 0 | 0 | Apache-2.0 | 2020-06-13T04:50:02 | 2020-06-13T04:50:01 | null | UTF-8 | C++ | false | false | 619 | cpp | #include "LeapC++/LeapC++.h"
#include "PipelineInterface/ScorchReason.h"
#define ASSERT_ENUM_EQ(a, b) static_assert((int)a == (int)b, "Mismatched Enums: " #a " != " #b)
ASSERT_ENUM_EQ(Leap::FailedDevice::FAIL_UNKNOWN, ScorchReason::UNKNOWN);
ASSERT_ENUM_EQ(Leap::FailedDevice::FAIL_CALIBRATION, ScorchReason::CALIBRATI... | [
"wgray@leapmotion.com"
] | wgray@leapmotion.com |
ff63d3bb668c32e9ef0eb84524876d4a98e71469 | c25e6270534473111e2a4c7fbd81ac39cef8021d | /OspedaleP2-master/GUI/header/view_medico.h | 0103a2f328939ce05a492ad78e6377eef1b8bb78 | [] | no_license | wahad88/ProgOgettiQT | 4de7021bf7e2dfd28aa7692b539e84c61b8c3098 | 6cc8a70b3b04bdfd296f0901cf331431c2e56713 | refs/heads/master | 2023-03-22T01:27:24.720938 | 2021-03-20T14:42:53 | 2021-03-20T14:42:53 | 263,770,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | h | #ifndef VIEW_MEDICO_H
#define VIEW_MEDICO_H
#include <QWidget>
#include <QLineEdit>
#include <QComboBox>
#include "../../MODEL/header/persona.h"
#include "../../MODEL/header/medico.h"
#include "../../MODEL/header/queuepersone.h"
#include "view_persona.h"
class view_medico : public view_persona{
public... | [
"wahad88@gmail.com"
] | wahad88@gmail.com |
ade1c0ba374201aa542071a590d0df681d5745ad | c22d3119bf967a1c0690c3c63fe92289ab57064f | /codeforces/Digit Game.cpp | 5a90cafd268f18a7dc10634c52316b862761e6f3 | [] | no_license | mandalsudipti/competitive_programming | b33b599965f073d7c4654fa53d87ae0b1e3b2df0 | 74e7e0c281450acdb130c7ae4d4dde0fec596315 | refs/heads/master | 2021-12-11T00:31:33.601820 | 2021-10-31T15:19:37 | 2021-10-31T15:19:37 | 236,663,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int T;
cin>>T;
while(T--)
{
int n ;
string S;
cin>>n>>S;
vector<int>A;
vector<int>B;
for(int i=0;i<S.length();i+=2)
{
A.push_back(S[i]-'0');
if(i+1<S.length... | [
"noreply@github.com"
] | mandalsudipti.noreply@github.com |
3da1108a2353f91435e09ea1f6aedf246c5e10f7 | 72852e07bb30adbee608275d6048b2121a5b9d82 | /algorithms/problem_0908/other2.cpp | a07d8596aed36c85c436ecc256a81735dca93ae5 | [] | no_license | drlongle/leetcode | e172ae29ea63911ccc3afb815f6dbff041609939 | 8e61ddf06fb3a4fb4a4e3d8466f3367ee1f27e13 | refs/heads/master | 2023-01-08T16:26:12.370098 | 2023-01-03T09:08:24 | 2023-01-03T09:08:24 | 81,335,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | class Solution {
public:
int smallestRangeI(vector<int>& A, int K) {
// Determine the min and max of A
int minA = A[0];
int maxA = A[0];
for(int i = 1; i < A.size(); i++)
{
minA = min(A[i], minA);
maxA = max(A[i], maxA);
}
// Calculat... | [
"drlongle@gmail.com"
] | drlongle@gmail.com |
01eae55178c390b7ee63b0df38bf3ba422362e47 | 3857cab3b6b98612ebd4b87eb0e36c778bacef53 | /NeutrinoPhysics/nueoscilib/src/nuN_interpxsec.h | 5ebdc86ae3256efcd6843b4ca72ca6aeddcc97c8 | [] | no_license | andres0sorio/GRBsWork | 83b23ef6e579b026c58c0561facb66188f64d9ac | 10c899a110afa81ef3ec195181ed7e0a48360a06 | refs/heads/master | 2021-01-10T14:30:37.130283 | 2015-10-26T04:56:27 | 2015-10-26T04:56:27 | 8,447,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | h | #ifndef NUN_XSEC_H
#define NUN_XSEC_H 1
// Include files
#include "RootCommon.h"
#include "GSLHelpers.h"
#include <Math/Interpolator.h>
#include <iterator>
class Interpolation {
public:
Interpolation();
Interpolation(const char *);
virtual ~Interpolation();
double evaluateCC( double );
double eva... | [
"osorio.af@gmail.com"
] | osorio.af@gmail.com |
4ba9b2c252a4f6604e0b56582fdbae8528a83843 | 6bdd937425077cba9d4855a81da5ddba3affdf4b | /Projects/Ibrahim/Ibrahim/Source.cpp | 1194884669c38bdca52392024ae603cf7b66ca39 | [] | no_license | faksam/My_FPT_C-Sharp | 927a18fa3f4c1fabc7ccd2649f7ed1b61789e274 | 9de7581d15efbc3a23b5e74b7b3f6fe403983807 | refs/heads/master | 2016-09-08T02:41:59.983101 | 2015-10-22T19:15:51 | 2015-10-22T19:15:51 | 38,954,961 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include <iostream>
#include<cstdlib>
using namespace std;
struct ISE802
{
string name;
int age;
string idnum;
};
int main()
{
ISE802 ibrahim, tung, john;
ibrahim.name = "ibrahim akoji";
john.name = "john love adebiyi";
tung.name = "tung bad boy";
int ibrahim, tung, john;
ibrahim.age = 19;
john.age = 98;
... | [
"fakunlesamuel@gmail.com"
] | fakunlesamuel@gmail.com |
9d48b3372a2b4aed3b1cc893874f68c02f755179 | e0bf5836e4f0d75b28b1f787446e655cdeeb8b03 | /files/test.cpp | 768b8a5b1d3e36276ca2bb7d72452bfe4b6566ef | [] | no_license | arunnsit/allcodes | 3f0b73facdee06e802455c6c3fb5de7baae702c2 | 5e6a8bf3883d0c5f67dfa7cc3dc026dbb4c63a71 | refs/heads/master | 2021-01-10T13:58:24.900593 | 2017-10-03T18:11:34 | 2017-10-03T18:11:34 | 50,598,937 | 0 | 2 | null | 2019-09-30T20:16:32 | 2016-01-28T17:06:03 | C++ | UTF-8 | C++ | false | false | 2,251 | cpp | #include<iostream>
#include<vector>
#include<unordered_map>
#include<algorithm>
using namespace std;
vector<int>v[80000];
vector<int>ancestor[80000];
int a[80000],b[80000];
int L[100000];
int ances(int start,int parent,int len)
{
L[start]=len;
for(int i=0;i<v[start].size();i++)
{ if(v[start][i]!=parent)
{... | [
"arun.yad96@gmail.com"
] | arun.yad96@gmail.com |
c23f8b0c98fd713e15126c9b6be3a42be3c43009 | e782c47af0b5d5759de534e532cbe10f13da2515 | /New/Classes/Controller/UIController.cpp | 57da108f1b8c3365fb47c641a0c49d8b7e11dc83 | [] | no_license | ambroseL/Architecture_Pattern | 44ef9b39ca83a46e6a93958b11fa4f1ebdec8dd7 | 8d30fa2ef0ac0517b10ba2247a4410c42de03d3d | refs/heads/master | 2021-01-18T22:23:13.719029 | 2016-12-07T03:19:48 | 2016-12-07T03:19:48 | 72,494,363 | 1 | 1 | null | 2016-12-06T14:20:41 | 2016-11-01T01:55:15 | C++ | GB18030 | C++ | false | false | 820 | cpp | #include "UIController.h"
#include "deprecated/CCDeprecated.h"
#include "SimpleAudioEngine.h"
#include "GameLayer.h"
UIController::UIController():layer(nullptr)
{
}
UIController::~UIController()
{
}
void UIController::setLayer(GameLayer* layer)
{
this->layer = layer;
}
void UIController::updateLif... | [
"ambrose2015@icloud.com"
] | ambrose2015@icloud.com |
c40fd3ec8ad740bbf61d3ec4555ee29a3eb64efd | cb4e40043a362288616fdcf784c284147a06086e | /牛客网吉大/堆栈的使用.cpp | c7820d88adac2f5e1ae7f4273db920f97c9a0bde | [] | no_license | stArl23/onlineJudgeExam | aaab6c47ab0cae3eb52dd940e89c08b3301565d0 | c8b7d1f38b0f6463fbd56be08a212084cd96cdde | refs/heads/master | 2021-10-22T11:12:45.783087 | 2019-03-10T05:24:04 | 2019-03-10T05:24:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 543 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main(){
int n;
while(cin>>n&&n>0){
string operation;
int num;
vector<int> s1;
for(int i=0;i<n;i++){
cin>>operation;
if(operation=="A"){
if(s1.empty()){
cout<<"E"<<endl;
}else{
//使用 stack[stack.size()-1] 可能会数组越
cout<<(... | [
"wanghuidi@841417348@qq.com"
] | wanghuidi@841417348@qq.com |
3cbd20a1d9783ccea1e45f58bced9b8f18b97639 | 5d54ae7bfc22d84541d737cee8512569824094a6 | /src/psvrservice/Service/ServiceRequestHandler.h | 57c46f831717f7a82520b49faabf25e4a8794f20 | [
"MIT"
] | permissive | cooperate/WMRTracker | 9086f2cdd4d68311a25418e84f5e1e5b5174d3c2 | ce2937734bf09f435d6af6307cb9fb0f73f57c59 | refs/heads/master | 2020-04-24T07:43:30.399429 | 2018-11-10T08:56:58 | 2018-11-10T08:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,740 | h | #ifndef SERVICE_REQUEST_HANDLER_H
#define SERVICE_REQUEST_HANDLER_H
// -- includes -----
#include "PSVRClient_CAPI.h"
#include "PSVRServiceInterface.h"
#include <bitset>
// -- pre-declarations -----
class DeviceManager;
// -- definitions -----
struct ControllerStreamInfo
{
bool include_position_data;
bool in... | [
"hipstersloth908@gmail.com"
] | hipstersloth908@gmail.com |
724c1c97f159a1b14d002fc8a7c19e87e8e0f16f | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/openexr/IlmBase/ImathTest/testRandom.cpp | 7798c00cabb5bea7d064121acd2feba438f2caa6 | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 6,592 | cpp | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2002, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
5c6f887337824618329f5a17ec04c9db37b0a976 | ed649693468835126ae0bc56a9a9745cbbe02750 | /win8_apps/cpp/Basic/Signal_Service/SignalService/App.xaml.cpp | 4e34baa4bdc7b53bd176eaa2adc81dd960294a27 | [] | no_license | tkellogg/alljoyn-core | 982304d78da73f07f888c7cbd56731342585d9a5 | 931ed98b3f5e5dbd40ffb529a78825f28cc59037 | refs/heads/master | 2020-12-25T18:22:32.166135 | 2014-07-17T13:56:18 | 2014-07-17T13:58:56 | 21,984,205 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,068 | cpp | //-----------------------------------------------------------------------
// <copyright file="App.xaml.cpp" company="AllSeen Alliance.">
// Copyright (c) 2012, AllSeen Alliance. All rights reserved.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or with... | [
"gerritadmin@allseenalliance.org"
] | gerritadmin@allseenalliance.org |
d1d84e3d95d31a891d3a090149b8fa1d32696901 | 348600b290ab52f04235688e91d2d4e2baf37e99 | /cbaseclientfsm.h | c7f8fb4fb89fff3d11887678a6f66dcf8ed7b2b3 | [] | no_license | dontearbegmail/ydd-fsm | 05112bb1381f6dbdfcf49e1d2dabe24816aa4654 | 5eea0e41cfe955b7f644c9f769e3a1299e6ad988 | refs/heads/master | 2021-05-31T11:16:48.976010 | 2016-03-22T18:03:35 | 2016-03-22T18:03:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | #ifndef CBASECLIENTFSM_H
#define CBASECLIENTFSM_H
#include "csocketfsm.h"
namespace ydd
{
class CBaseClientFsm : public CSocketFsm
{
public:
static const size_t NUM_STATES = 0;
void q_ConnectPending();
void q_Connect();
void q_ConnectCheck();
};
}
#endif /* CBASECLIENTFSM_H */
| [
"dmitry.moukharsky@gmail.com"
] | dmitry.moukharsky@gmail.com |
51573835a0a79f6dba6c1935cb8590d7aa54a2e3 | bbcda48854d6890ad029d5973e011d4784d248d2 | /trunk/win/Source/Includes/QtIncludes/src/3rdparty/webkit/WebCore/dom/ErrorEvent.h | 800767c155f230d267deee415b5b419491aabe02 | [
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only",
"MIT",
"curl",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"Zlib",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference",
"MS-LPL"
] | permissive | dyzmapl/BumpTop | 9c396f876e6a9ace1099b3b32e45612a388943ff | 1329ea41411c7368516b942d19add694af3d602f | refs/heads/master | 2020-12-20T22:42:55.100473 | 2020-01-25T21:00:08 | 2020-01-25T21:00:08 | 236,229,087 | 0 | 0 | Apache-2.0 | 2020-01-25T20:58:59 | 2020-01-25T20:58:58 | null | UTF-8 | C++ | false | false | 2,849 | h | /*
* Copyright (C) 2009 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 ... | [
"anandx@google.com"
] | anandx@google.com |
4dc10e7de0f8f73d20b3be12a2870e77c6e5e9e7 | 833bf3448d536cc66e99f15febd428cf465c9797 | /Mis2x265.cpp | 6cd0f2d8a2d5ec87198f1dbcaf6bf88da7cdbd16 | [] | no_license | Selur/Mis2x265 | dd4a3e67b426fc71e8fdd73baa2545df86b2b203 | 77639e806d3217aaa39a9513a29ffd7d0d9d5631 | refs/heads/master | 2021-01-01T06:12:08.302675 | 2015-07-30T18:43:47 | 2015-07-30T18:43:47 | 39,966,517 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,541 | cpp | #include "Mis2x265.h"
#include <QString>
#include <QMessageBox>
#include <QFileDialog>
Mis2x265::Mis2x265(QWidget *parent)
: QMainWindow(parent), m_simple(), m_special(), m_mediainfo(), m_process(nullptr),
m_mediainfoOutput()
{
ui.setupUi(this);
this->setWindowTitle("Mis2x265 " + QString::fromLocal8Bi... | [
"hybrid@selur.de"
] | hybrid@selur.de |
dc70bedd1603da96a9f29c6774e418d24850e955 | 692b41e057fb88fd24ee3591cd182a7cc81c8375 | /寒假多校1/A.cpp | e7de4bce570d60bc4d695cef3d36aeef41d307df | [] | no_license | hhu1506010220/ACM_Repository | 509c3b677cbc741981982fd128037a5163e2edac | 873c64733839db49557230d84e83589650e0c6d8 | refs/heads/master | 2021-07-05T22:16:32.164128 | 2018-11-21T13:38:22 | 2018-11-21T13:38:22 | 109,234,665 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | cpp | #include<bits/stdc++.h>
using namespace std;
struct gunn{
int p;
int k;
int kind[1005];
}gun[1005];
struct peijian{
int q;
double b;
}item[1005];
int main(){
int n,m;
int tem;
double temp;
while(~scanf("%d%d",&n,&m)){
memset(gun,0,sizeof(gun));
memset(item,0,sizeof(item));
for(int i=0;i<n;i++){
... | [
"598646152@qq.com"
] | 598646152@qq.com |
3c3e3c406d67d1a5d912ffb385b45070da83966f | 27314393ba3efd6fb8c872687b32ccf8dae11a6f | /Team.cc | 5fe4a6f094c84e1a6bf1ad8d5c98cd9995a27f52 | [] | no_license | Angus-Leung/Del2 | 769884aafd38b0dc03c3b134f23eb4263c21087c | a056f09db420033725c339c27aee98f4db99230b | refs/heads/master | 2021-01-13T00:52:57.413725 | 2015-10-30T04:58:52 | 2015-10-30T04:58:52 | 44,989,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cc | #include "Team.h"
//Default ctor
Team::Team(){ name = "Default Team Name"; }
//team ctor
Team::Team(string n){ name = n ; }
//Function to print students in the team
void Team::printRoster(){
cout << "\nRoster for Team '" << name << "':\n";
for(int i = 0; roster[i] != NULL; i++)
cout << " " << i << ") " << *... | [
"dule.rozman@gmail.com"
] | dule.rozman@gmail.com |
5f428a391c4d00e7d695059498e0696acea48036 | e5a1b2b423358df3dc6f3f04c116a2e836991a0e | /C++/Complex/Complex.cpp | dc7ddacabe8dea2f5af79dd00ffd4057682d6ae6 | [] | no_license | liuyepku/Code | 9071d8fba6e4751036e6bc5e3e7c041d28cb3901 | f4f4f0d3ef175c4520e17b7ba806dc005708d175 | refs/heads/master | 2023-04-14T16:53:44.069722 | 2013-12-20T11:54:56 | 2013-12-20T11:54:56 | 15,337,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | cpp | #include<iostream>
#include"Complex.h"
using namespace std;
Complex::Complex(const Complex &c)
{
real = c.real;
virt = c.virt;
}
Complex::~Complex()
{
std::cout<<"it is just a joke!!!!!!"<<std::endl;
}
Complex& Complex::operator=(const Complex &c)
{
real = c.real;
virt = c.virt;
return *this;
}
Complex Compl... | [
"liuye.cis@gmail.com"
] | liuye.cis@gmail.com |
ff1ac09149a5cb71567d4007ad4a6c41fe5c3211 | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/wave/preprocessing_hooks.hpp | 18988b57c780b3867e2f53cfab2a8b1241467f7b | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70 | hpp | #include "thirdparty/boost_1_55_0/boost/wave/preprocessing_hooks.hpp"
| [
"liuhuahang@xiaomi.com"
] | liuhuahang@xiaomi.com |
aa787e33f117176927a8cd96dc4567f69bbee339 | 76c86c75ff1356495ff9394506d8c6893e4157b0 | /VehicleTemplate/Source/VehicleTemplate/NukePowerup.cpp | 1e38927ff8565f317e237953ebc1c01c7a8c4287 | [] | no_license | Luke-DJ/Unreal-AI-Vehicles-Project | 4b8e0d9f00540ceddbb37b65cc503dfa0093f272 | c11fa3d63b439990819318dc7988f5a5e77ccf13 | refs/heads/master | 2020-04-21T21:53:10.328148 | 2019-02-12T04:16:24 | 2019-02-12T04:16:24 | 169,893,231 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include <NukePowerup.h>
#include <EngineUtils.h>
#include <VehicleTemplatePawn.h>
#include <AIWheeledVehicle.h>
void ANukePowerup::OnBeginOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherCom... | [
"u1752044@unimail.hud.ac.uk"
] | u1752044@unimail.hud.ac.uk |
7eb9b6db405d3045e88e1f588d1a19d63950d36b | 09d4a5e0cdfca682a97071fdff92ad06fe6cf363 | /P155PROD-src.cpp | 1c9142197712f82821e8553159519c73a3b30b51 | [] | no_license | capcoders/SPOJ_PTIT | 026463ac24744b3a8116b0153855b1c4595409bb | 5c65a961132cca252642fd71f71f92eaf35282d9 | refs/heads/master | 2020-04-16T16:58:04.797328 | 2018-05-25T12:21:44 | 2018-05-25T12:21:44 | 165,757,372 | 1 | 0 | null | 2019-01-15T00:32:44 | 2019-01-15T00:32:43 | null | UTF-8 | C++ | false | false | 1,115 | cpp | #include <iostream>
#include <string>
using namespace std;
int m, n, d[500][500];
string s[500];
int res;
void Init()
{
for (int i = 0; i <= m; i++)
for (int j = 0; j <= n; j++) d[i][j] = 0;
res = 0;
}
int type(char x)
{
if (x == '.') return 1;
return 0;
}
void BuildD()
{
for (int i = 1; i <= m; i++)
for... | [
"noreply@github.com"
] | capcoders.noreply@github.com |
292e321f5da63a32fd44f66b098ee70b22ca724a | 0e8d57f10639b0bdcab2c89b307029697c909863 | /atcoder/abc106/B/main.cpp | 7a611bfdec872d7ee0bab0f2c17ea9f9e8f11a02 | [
"Apache-2.0"
] | permissive | xirc/cp-algorithm | 07a6faf5228e07037920f5011326c16091a9157d | e83ea891e9f8994fdd6f704819c0c69f5edd699a | refs/heads/main | 2021-12-25T16:19:57.617683 | 2021-12-22T12:06:49 | 2021-12-22T12:06:49 | 226,591,291 | 15 | 1 | Apache-2.0 | 2021-12-22T12:06:50 | 2019-12-07T23:53:18 | C++ | UTF-8 | C++ | false | false | 480 | cpp | #include <bits/stdc++.h>
using namespace std;
int nrf(int N) {
int ans = 0;
for (int i = 1; i <= N; ++i) {
if (N % i == 0) ++ans;
}
return ans;
}
int solve(int N) {
int ans = 0;
for (int i = 1; i <= N; i += 2) {
if (nrf(i) == 8) {
++ans;
}
}
return ... | [
"xirckey@gmail.com"
] | xirckey@gmail.com |
d79480cd90fd27dcf25f5f889063aaff8fe7436b | 46f53e9a564192eed2f40dc927af6448f8608d13 | /ui/base/font_helper_chromeos.h | e2013ce2e23bcb4c68f4d38a514807c423556ae9 | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 841 | 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 UI_BASE_FONT_HELPER_CHROMEOS_H
#define UI_BASE_FONT_HELPER_CHROMEOS_H
#include <string>
namespace ui {
// This is a temporary helper function f... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
4d62a9eff7f4c2bb79b8ef9cfb3f99c2669f2624 | 193d1044c96037179f008df62ae1af106ca9a91d | /prograaming_Practice_1003/vector_ex.cpp | d6bf816ccf7b2f2ab7b3f7003454c8f81254621a | [] | no_license | eunsooLim/BeakJoon_algorithm_problem | eb1f9e05604c94119c22221ec573b1e45c7b2028 | 7d759b32bc85de49c8cd548aab80f23ffbba6fe4 | refs/heads/master | 2021-01-21T06:33:15.034631 | 2017-10-22T01:55:26 | 2017-10-22T01:55:26 | 83,253,599 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 1,280 | cpp | #include<iostream>
#include<vector>
#include<string>
#include<map>
using namespace std;
typedef struct node {
int key;
string data;
}happp;
void show(vector<node> nodes) {
for (int i = 0; i < nodes.size(); i++) {
cout << (i + 1) << "번째 노드의 키와 데이터" << nodes[i].key << "," << nodes[i].data << endl;... | [
"noreply@github.com"
] | eunsooLim.noreply@github.com |
8d4d7244e6fdf552e2b8b02731417dd31171f613 | 6f0a3720f8a34b62215e2c5b8aac8baffc03b1f3 | /premake/src/animationbase.cpp | 6edca236699e66a0ca3f86fce57fa169fad2026e | [] | no_license | Serebriakov/premake | 78a722841fa0b97bf8fb96b0e4481dfbb159798e | 95c7d8b8e81bdbfed37a2a301cfb95dddb1461ce | refs/heads/master | 2021-01-10T18:41:33.933658 | 2013-09-02T01:42:09 | 2013-09-02T01:42:09 | 42,235,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | #include "animationbase.h"
AnimationBase::AnimationBase(Uint32 Lifetime)
{
m_Timer = new Stopwatch(Lifetime);
}
AnimationBase::AnimationBase(const AnimationBase &Other)
{
m_Timer = new Stopwatch(*(Other.m_Timer));
}
AnimationBase::~AnimationBase()
{
delete m_Timer;
}
void AnimationBase::ResetT... | [
"farkasgabor.mail@gmail.com"
] | farkasgabor.mail@gmail.com |
38e0e7888c7907fb99769b7311db7aa574898077 | bda16d3ee4e6e25d2aeb19fd977fe89f728c90e5 | /src/qt/test/paymentservertests.h | 412566849391df1e41e907bf182c34b70a0933bf | [
"MIT"
] | permissive | OndraDvorak/predator | 30f791c9d76e3e59526b30dfe734b5fd0fbbaa83 | 0688290ac472d871e0bb8fa574deaba6a31b0d00 | refs/heads/master | 2022-06-09T00:44:13.524192 | 2018-12-04T18:40:06 | 2018-12-04T18:40:06 | 260,152,184 | 0 | 0 | MIT | 2020-04-30T08:13:50 | 2020-04-30T08:13:49 | null | UTF-8 | C++ | false | false | 820 | h | // Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_TEST_PAYPRDTSERVERTESTS_H
#define BITCOIN_QT_TEST_PAYPRDTSERVERTESTS_H
#include "../paymentserver.h"
#in... | [
"ptordev@gmail.com"
] | ptordev@gmail.com |
8096d27b26f1cb9c062d10ec1e1748af3cda553d | 217ce39a71141dc051d9f802706ad6e71fc8b208 | /DareEngine2/MappedValues.h | 2145b143906aa620545f8b221f45ee2767986320 | [] | no_license | Heikki00/DareEngine2 | c52c57b0e14fb9926a4db0399d28c99d5d5f511f | 9464c945ef3bccf6f4ddb55c49a88b404570c353 | refs/heads/master | 2016-08-12T21:45:46.442798 | 2015-10-16T12:09:35 | 2015-10-16T12:09:35 | 43,959,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | h | #pragma once
#include <unordered_map>
#include <string>
#include "FestusMath.h"
#include <memory>
class Texture;
class MappedValues{
public:
~MappedValues();
void setVector(const std::string& name, const Vector3& value);
void setFloat(const std::string& name, float value);
void setTexture(const std::string& nam... | [
"heikki.simojoki@gmail.com"
] | heikki.simojoki@gmail.com |
230ebae5c01c44de2201929ca9baa32b16523a04 | 44c1bfa4e8de604356672ba767e972f59c75418a | /game/Animation.cpp | 23002c04be889f17ce05c8c61a645757773d9b91 | [] | no_license | jzsampaio/EmotionalFreneticTyper | 9d9bb1b79da1361dce62f2e0337ffd9dde4daec8 | 86aabe6e6a42e05d7fd55ed56d8a081358f117d5 | refs/heads/master | 2021-06-03T11:08:10.460098 | 2016-07-08T16:37:52 | 2016-07-08T16:37:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,682 | cpp | //
// Created by jasf on 5/8/16.
//
#include "Animation.h"
#include "Camera.h"
Animation::Animation(float centerX, float centerY, float rotation, string sprite, float timeLimit, bool ends,
int frameCount,
float frameTime)
: timeLimit(timeLimit), oneTimeOnly(ends), sp(... | [
"juarez.asf@gmail.com"
] | juarez.asf@gmail.com |
11026cfa77cb141fa668a31f9058d25312c5a806 | ed6dd8af385c41c7237c65f9671e23919d48f7b8 | /cs235/Lab 1 - CS 142 RPG Review/Student_Code/Arena.cpp | 0d692f510bed67d87f36824a32f408ebd50fc8fe | [] | no_license | ty-abbott/byu_cs | 7f781f18130ea474a6afe8fa33b7c86daf36886e | 7e06798ab40b326f03ad087f692b3ba8be0819c5 | refs/heads/master | 2021-06-01T08:33:44.066389 | 2016-01-17T07:35:00 | 2016-01-17T07:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,157 | cpp | //
// Arena.cpp
// CS 142 RPG Review
//
#include "Arena.h"
#include <sstream>
#include <vector>
#include <algorithm>
/*
* addFighter(string)
*
* Adds a new fighter to the collection of fighters in the arena. Do not allow
* duplicate names. Reject any string that does not adhere to the format
* outlined in th... | [
"byoung888@gmail.com"
] | byoung888@gmail.com |
84bbbaf2228f7b638bc1276420e04855433634dd | 39921d049a882220193fb45f4023a6831fb79908 | /Pods/gRPC-Core/src/core/lib/gpr/env_linux.cc | 7f8a59e1d49b628ef9dbd364a1d716d6b761042a | [] | no_license | furydeveloper/SearchCoinKaraoke | a48bb7f0a4032735a2fc8895bd6bb02626b392b3 | 98043d3e280814f75c4f6c7957e6c0eee320a9b9 | refs/heads/master | 2023-08-10T23:24:28.780365 | 2021-10-03T02:51:57 | 2021-10-03T02:51:57 | 409,012,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cc | version https://git-lfs.github.com/spec/v1
oid sha256:38d4c365805642e09ddcf3fb4356e597459685b4148fc71e7a92612d2660297c
size 2050
| [
"furysecu@gmail.com"
] | furysecu@gmail.com |
583aa2541abd8ccbb9b13bb72ee262c4b454fffd | cb77dcbbce6c480f68c3dcb8610743f027bee95c | /android/art/runtime/dexopt_test.cc | 5994bed3e95118faac90f3ec2805a4bcfa1333d4 | [
"MIT",
"Apache-2.0",
"NCSA"
] | permissive | fengjixuchui/deoptfuscator | c888b93361d837ef619b9eb95ffd4b01a4bef51a | dec8fbf2b59f8dddf2dbd10868726b255364e1c5 | refs/heads/master | 2023-03-17T11:49:00.988260 | 2023-03-09T02:01:47 | 2023-03-09T02:01:47 | 333,074,914 | 0 | 0 | MIT | 2023-03-09T02:01:48 | 2021-01-26T12:16:31 | null | UTF-8 | C++ | false | false | 10,237 | cc | /*
* Copyright (C) 2017 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... | [
"gyoonus@gmail.com"
] | gyoonus@gmail.com |
e5999e8fcf7dbb9367942027c8121c8aa9edc375 | 47ab511d1e5f2418745f6319b7584221e578a705 | /CardSol/main.cpp | 6fc91220356fa4fc57c64e5986c061b7c34ac25b | [] | no_license | sdaingade/cpplabs | f460936a6e2e4d68e13a9745b6edaae9aa75ba83 | fa6e644c1f83cbd73d4d6494a1d07f942915b62f | refs/heads/master | 2021-05-29T23:53:37.281887 | 2015-10-04T16:14:06 | 2015-10-04T16:14:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | /**************************************************************
*
* File: main.cpp
*
* Description: Main for Card Test Program
*
* Author: SciSpike
*
* Modification History:
*
***************************************************************/
/* Include Files */
#include <iostream>
#include "card.h"
using n... | [
"petter.graff@scispike.com"
] | petter.graff@scispike.com |
9da99727690e41979e5829ef026d13788de8d4ff | 04adc20411e1d9eaa19a8c1bf6ff3ce200cf0907 | /src/aqdata/aq_lsgc.h | 22d6fa00b96b59a0340e751a0781e788240948f0 | [
"MIT"
] | permissive | rachelslaybaugh/BART | a0a5c365fe5b6028ae25368597570749824bf8fb | 8145c3a0647423a499674799138066f5dcd1ab78 | refs/heads/master | 2021-08-16T04:43:16.600379 | 2017-08-20T14:28:33 | 2017-08-20T14:28:33 | 96,478,643 | 0 | 0 | null | 2017-07-06T22:59:21 | 2017-07-06T22:59:21 | null | UTF-8 | C++ | false | false | 264 | h | #ifndef __aq_lsgc_h__
#define __aq_lsgc_h__
#include "aq_base.h"
using namespace dealii;
template <int dim>
class AQLSGC : public AQBase<dim>
{
public:
AQLSGC (ParameterHandler &prm);
~AQLSGC ();
void produce_angular_quad ();
};
#endif//__aq_lsgc_h__
| [
"weixiong.zheng@berkeley.edu"
] | weixiong.zheng@berkeley.edu |
aaf0ddeaf6adc6c12de181e8e4d5733b7ccfb87b | d2af2477ac51fca468ea1e311a768dd6eaa30c3a | /test/openssl/openssl_rsa_bak_1/rsa2.cpp | 2a909f065d3f7ea03307d54d4b5bf93e0975fe41 | [
"MIT"
] | permissive | yefy/skp | 35f43fe8312a4418ae19e5eb4df08509753f6c5d | a9fafa09eacd6a0a802ea6550efd30ace79e4a4f | refs/heads/master | 2021-01-10T01:06:11.511514 | 2016-04-07T08:15:06 | 2016-04-07T08:15:06 | 54,396,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,207 | cpp | #include "rsa2.h"
/* filename: tmp.c
*/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<openssl/rsa.h>
#include<openssl/pem.h>
#include<openssl/err.h>
//openssl genrsa -out plainPrv.key 1024
//openssl rsa -in plainPrv.key -pubout -out plainPub.key
//openssl rsa -in plainPrv.key -RSAPublicKey_out -out ... | [
"yefy@localhost.localdomain"
] | yefy@localhost.localdomain |
2879b2e7934f4c003d4ba7ef450bdf69356ee3cb | 6ce22059ff64ecf67d7f4ff29b26d3f1de063f8e | /src/gui/solarsys/CelestialBodyOrbitPanel.cpp | e2d67d2894ba24577086ed9da53eb7ca96efa20e | [
"Apache-2.0"
] | permissive | spacecraft-ai/GMAT-R2016a | dec5e0124369bb3642d29d339fc267f991362b04 | d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5 | refs/heads/master | 2021-01-23T12:47:19.009911 | 2017-06-05T08:24:32 | 2017-06-05T08:24:32 | 93,201,082 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 47,838 | cpp | //$Id$
//------------------------------------------------------------------------------
// CelestialBodyOrbitPanel
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool.
//
// Copyright (c) 2002 - 2015 United States Gover... | [
"eabesea@rambler.ru"
] | eabesea@rambler.ru |
f8e7ed5ae7bc75713964baf7a44aa76eba662649 | 17ac3acc1f0e89f24e83fba83d7b5ecba9e8917a | /La torre de hanoi.cpp | ff150af135efbe76cb5ea80c0e8081da8ddb4673 | [] | no_license | medranosteven/parcial-2-de-progra | 4c1530d89b2e30d0f00977cc8cb5188cd79bd885 | 86190f572ad15f8d3929dd4869d867796379d2f1 | refs/heads/master | 2020-04-08T18:08:05.847631 | 2018-11-29T02:23:30 | 2018-11-29T02:23:30 | 159,594,796 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,755 | cpp | //Las Torres de Hanoi
// Programa hecho por: JESUS STEVEN MEDRANO CARBALLO
//carnet: MC18055
//segundo parcial de programacion I
//Fecha de entrega 28-nov-2018; hora limite de entrega: 9:00 PM
#include<iostream> //libreria que es utilizado para operaciones de entrada/salida
#include <stdlib.h> //libreria es el ... | [
"noreply@github.com"
] | medranosteven.noreply@github.com |
8d2deb39a15171bc7047ceee367fed311bac2875 | 7b8b0ce0d542aafe56f75bed3c2b79cb94f2839f | /Homework1/Map.cpp | 9b7d6d8cd27915dcd32eb98dbae3f734ef6e5d10 | [] | no_license | ZhimingZhuang/CS32 | ee2e4c4c1bb1842391887bdf7d57ae26683e7a88 | 7ee74bd16c5dc1fd3025d8001092802d3ca54724 | refs/heads/master | 2021-01-10T14:46:17.958508 | 2016-04-05T00:19:59 | 2016-04-05T00:19:59 | 55,454,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,096 | cpp | //
// Map.cpp
// hw1
//
// Created by ZhimingZhuang on 1/14/16.
// Copyright (c) 2016 ZhimingZhuang. All rights reserved.
//
#include "Map.h"
Map::Map(){
mapsize = 0;
}
bool Map::empty() const{
if (mapsize == 0)
return true;
else
return false;
}
int Map::size() const{
return map... | [
"jimmyzhuang0429@gmail.com"
] | jimmyzhuang0429@gmail.com |
1dc6e80faf587663358c1dc68075f300c3c3d80a | 8e889301595dd44d8ff691addd656da45d6c8250 | /Air/case/case4/system/decomposeParDict | b03ab30043c05e92b99780751143cd7b305809ab | [] | no_license | tkk96/study | eb86813bd98f9d6deceeff815e6816692c361ea5 | 641ff0c4b3dca411f909a84788c43095864da972 | refs/heads/master | 2021-02-17T15:36:47.001408 | 2020-04-09T03:42:00 | 2020-04-09T03:42:00 | 245,107,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v3.0+ |
... | [
"noreply@github.com"
] | tkk96.noreply@github.com | |
14f7db0cc019260811221001cb3ae4d471216427 | 2f78e134c5b55c816fa8ee939f54bde4918696a5 | /code_pc/gfx/pictureinpicture_pc.cpp | a11fa5c82752e848dbf582ddc90a15813b25a9a3 | [] | no_license | narayanr7/HeavenlySword | b53afa6a7a6c344e9a139279fbbd74bfbe70350c | a255b26020933e2336f024558fefcdddb48038b2 | refs/heads/master | 2022-08-23T01:32:46.029376 | 2020-05-26T04:45:56 | 2020-05-26T04:45:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,299 | cpp | //--------------------------------------------------
//!
//! \file pictureinpicture.cpp
//! objects managing final back buffer compositing
//! of multiple viewports.
//!
//--------------------------------------------------
#include "game/capturesystem.h"
#include "gfx/pictureinpicture.h"
#include "gfx/shader.h"
#inclu... | [
"hopefullyidontgetbanned735@gmail.com"
] | hopefullyidontgetbanned735@gmail.com |
02e23a75f53b08902f660ba80960ca9f55405da4 | e5cc09797173431e91ce276b01efc4910d3924d1 | /Tutorial_7.cpp/06_pointer_to_derived_class.cpp | 3aee53d0d6f2ee0da56e0b00199e547269ab301e | [] | no_license | abbhowmik/CPP-Total-Course | 11a49a705152a1b7edd38dcb162d9785c1b8839f | d7a331e905903779e70e34d8f5ceddc2fcacd849 | refs/heads/main | 2023-06-10T05:41:45.996067 | 2021-06-29T17:52:47 | 2021-06-29T17:52:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | cpp | #include <iostream>
using namespace std;
class BaseClass
{
public:
int var_base;
void display()
{
cout << "Displaying Base class variable var_base " << var_base << endl;
}
};
class DerivedClass : public BaseClass
{
public:
int var_derived;
void display()
{
... | [
"noreply@github.com"
] | abbhowmik.noreply@github.com |
eac9b9584f35564d4fcd232bbfd66ef585064c35 | 036e7d90cd96d2f1e9aa78722fa8f001ba37cf2e | /DM2122 Prac/Source/MeshBuilder.cpp | f387ab90e5d729294e2afae9352b8b38764298ec | [] | no_license | Cawe321/SP2 | c4906b22917816322c59a4ccb14c5e4378019fe0 | 6e343c07ff5df142f7338e004414ea68c2b314f8 | refs/heads/master | 2022-04-13T04:08:52.081565 | 2020-03-01T13:37:10 | 2020-03-01T13:37:10 | 240,672,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,675 | cpp | #include "MeshBuilder.h"
#include <GL\glew.h>
#include <vector>
#include <MyMath.h>
#include "LoadOBJ.h"
/******************************************************************************/
/*!
\brief
Generate the vertices of a reference Axes; Use red for x-axis, green for y-axis, blue for z-axis
Then generate t... | [
"noreply@github.com"
] | Cawe321.noreply@github.com |
1b7ae7914897563d099e73770de848ee7c45a027 | 55f4ff87aab485953eece1fd0fa019a9c88d3998 | /CountingSort.cpp | b2b439731d96e33555982b3abe2594796f0a0780 | [] | no_license | jsl0149/AlgorithmStudy | 70215a948fbafabbc92ba3229574eccd0d1feccb | a003a2b29533b18f3edca2e8bb1fdb63652ac2b3 | refs/heads/master | 2023-03-19T02:21:00.430662 | 2021-03-01T13:38:43 | 2021-03-01T13:38:43 | 343,424,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
using namespace std;
int main() {
int num = 0; int X2 = 0;;
int count[10001] = { 0, };
scanf("%d", &X2);
for (int i = 0; i < X2; i++) {
scanf("%d", &num);
count[num-1]++;
}
for (int i = 0; i < 10001; i++) {
if (count[i... | [
"noreply@github.com"
] | jsl0149.noreply@github.com |
2c730c90b8cf341840c4ee379371bec55132e9f7 | a796d62943524337fffd2ff594f494390ae84c5e | /src/game/server/vehicle_baseserver.cpp | 00d2683e806c81076fa7aa79e61b088fb902d500 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | blockspacer/source-asw-sdk | 12c4be5e05f76f8b5a1b0e6671d34b66d6385a68 | 88156ac5a4204becb06c6d383e2a947c8b2b27a3 | refs/heads/master | 2021-09-10T09:49:32.508970 | 2018-03-23T23:10:13 | 2018-03-23T23:10:13 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 85,356 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "vcollide_parse.h"
#include "vehicle_base.h"
#include "npc_vehicledriver.h"
#include "in_buttons.h"
... | [
"demizexp@gmail.com"
] | demizexp@gmail.com |
8a9cdb99278c900c1051e73ac1956f06b8b5ea97 | cbcc01c6ac83c12ee1283122685c8aa59d7f2469 | /MAGE/MAGE/src/model/model.cpp | 2bbe6256322c3ef089a040236bbb084c445d3185 | [] | no_license | sienaiwun/MAGE | ece6ff3072f1d2d89c3fa8abd223700e3d11fda1 | e3fda321f08e4c69d416bfd1aa0414cfab63490b | refs/heads/master | 2021-01-01T05:53:46.678567 | 2017-07-02T18:24:30 | 2017-07-02T18:24:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | //-----------------------------------------------------------------------------
// Engine Includes
//-----------------------------------------------------------------------------
#pragma region
#include "model\model.hpp"
#pragma endregion
//----------------------------------------------------------------------------... | [
"matthias.moulin@gmail.com"
] | matthias.moulin@gmail.com |
4b973ca36d6178f090afac629ac1500076d8f80d | da7a86697bf357a2389b776ea1c18ae5c36ba75b | /source/StandardDragDropHandler.cpp | 6073566cc57e0e1bf4a5c63648a41e06e4a95cfd | [
"BSD-3-Clause"
] | permissive | Vistaus/gpick | c99bd993907edb1963ef525fa7402b561a570ea2 | 0e858d33fd28d98d2689d0ebb92c975729a9f7bc | refs/heads/master | 2023-04-25T16:35:49.363198 | 2021-05-28T17:31:13 | 2021-05-29T05:58:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,428 | cpp | /*
* Copyright (c) 2009-2020, Albertas Vyšniauskas
* 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... | [
"thezbyg@gmail.com"
] | thezbyg@gmail.com |
d08ac8859df331e68556d9f187db59328cfe8385 | 32cb2f19760079beea29f16bfadaefe675476623 | /recursive-algorithms/1703.cpp | 9317e9cd0679e9291a4916bd02e7e5aa3053d17b | [] | no_license | junkkerrigan/algorithmics | d00b438ebd9909c0afc73a1a6e0bdd0579b2c240 | a7493bcefb2a09987a4891b6de955db57ac9ed8a | refs/heads/master | 2021-05-23T14:06:12.730092 | 2020-06-08T17:59:31 | 2020-06-08T17:59:31 | 253,329,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include <iostream>
using namespace std;
int n, answer = 0;
char S[100];
int main()
{
cin >> n;
gets(S);
for (int i = 0; i < n; i++)
{
gets(S);
if (S[0] == S[3])
answer++;
}
cout << answer << endl;
} | [
"andriipav@wix.com"
] | andriipav@wix.com |
3c11dd547abacf8297edd2d186b2a2dd7cd38079 | 88885e8e59855530c09ac930ae57914cbe4fe0f8 | /Source/privateinclude/ObjectTmpl.inl | 0b96579f60e1479a4ee94047600babebaaef777d | [] | no_license | klainqin/LandXmlSDK | 8767c46c36b2257d388e50a25e64956c7c6ed020 | ca52863d66d172b00835f66cef636790e668a52f | refs/heads/master | 2021-01-10T08:30:45.007060 | 2015-11-25T10:20:13 | 2015-11-25T10:20:13 | 46,108,934 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,821 | inl | #if !defined(__LX_OBJECTTMPL_INL)
#define __LX_OBJECTTMPL_INL
#include "stdafx.h"
#include "ObjectTmpl.h"
#include "DocumentImpl.h"
#include "Exception.h"
/////////////////////////////////////////////////////////////////////////////
//
// File: Object.cpp
//
// Description:
// Contains the implementati... | [
"qink@shac02q6273g8wn.ads.autodesk.com"
] | qink@shac02q6273g8wn.ads.autodesk.com |
209549ce4ff16703690345bd38aaefccfcb46837 | 8fc42a7b9d1b311279325c277af49883062b673f | /PoC/main.cpp | 37962bbeacbe763b24f79347f7716e19863d39a5 | [] | no_license | wpehrett/adamark | cc6b526774caaa5d4cefc19fd070225ff71cbd39 | 6be741f24dd97334572d694c562306b370de6fef | refs/heads/master | 2020-04-01T15:38:51.487971 | 2018-11-19T17:40:03 | 2018-11-19T17:40:03 | 153,345,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,780 | cpp | //FIXME Warning: EVERYWHERE: ensure created objects are eventually delete'd ("delete <objname>;")!
#include <stdio.h>
#include <stdlib.h>
#include <cstring>
#include <iostream>
#include <list>
#include <vector>
#include <algorithm>
//Required headers for simulator operation
#include "prototypes.hpp"
//#include your ... | [
"wpehrett@umich.edu"
] | wpehrett@umich.edu |
3581ba6800d748d36cfbcdb3478cff06dc5b1429 | 66dcd8757e7c865d1147978bbdb29ed8eeea0a7a | /game-specific/Final Fantasy PSP/tests/LZ77Tests/main.cpp | a38ae5e6b903181269d0dcf7d55e46165e450fff | [] | no_license | YAGAMI55/consolgames-tools | 9f03106c10161dad130cf0e6f47fa4871c2dfdec | 9cb5b20e0411ef3708fc1f747823246e5bfcc40d | refs/heads/master | 2022-04-12T11:50:58.730962 | 2019-03-13T21:14:54 | 2019-03-13T21:14:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | cpp | #include "LZ77DecoderTests.h"
#include "LZ77EncoderTests.h"
#include <QtTest>
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
QTest::qExec(&LZ77DecoderTests());
QTest::qExec(&LZ77EncoderTests());
return 0;
}
| [
"mbystryantsev@users.noreply.github.com"
] | mbystryantsev@users.noreply.github.com |
6e75f9af3b981aa713871766130a5e285ce5e91c | 5386865e2ea964397b8127aba4b2592d939cd9f2 | /shkola_razgrad/strings/hash.cpp | 2a0133294eda3fb946bb72e8135c6c0e35cf9430 | [] | no_license | HekpoMaH/Olimpiads | e380538b3de39ada60b3572451ae53e6edbde1be | d358333e606e60ea83e0f4b47b61f649bd27890b | refs/heads/master | 2021-07-07T14:51:03.193642 | 2017-10-04T16:38:11 | 2017-10-04T16:38:11 | 105,790,126 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include<iostream>
#include<string>
using namespace std;
unsigned long long h1[100005],h2[100005],p=29,mod=122345540;
string a,b;
unsigned long long pp,br;
int main()
{
cin>>a>>b;
h1[0]=(int)(a[0]-'a'+1);
for(int i=1;i<a.size();i++)
{
h1[i]=h1[i-1]*p;
h1[i]+=(int)(a[i]-'a'+1... | [
"dgg30"
] | dgg30 |
c4cf784275bdc0a8275fda632d60906b0795dcbe | aae79375bee5bbcaff765fc319a799f843b75bac | /srm_6xx/srm_630/Egalitarianism3.cpp | c65bd108167c113bb17ea5c31d485fec98635ae1 | [] | no_license | firewood/topcoder | b50b6a709ea0f5d521c2c8870012940f7adc6b19 | 4ad02fc500bd63bc4b29750f97d4642eeab36079 | refs/heads/master | 2023-08-17T18:50:01.575463 | 2023-08-11T10:28:59 | 2023-08-11T10:28:59 | 1,628,606 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 4,840 | cpp | // BEGIN CUT HERE
/*
SRM 630 Div1 Easy (250)
問題
-N個の都市がある
-それぞれの都市はN-1本の道路で接続されておりそれぞれの長さが与えられる
-どの2都市の距離も全て等しいという条件を満たす最大の都市数を求める
*/
// END CUT HERE
#include <algorithm>
#include <string>
#include <set>
#include <vector>
#include <iostream>
#include <sstream>
#include <string.h>
using namespace std;
typedef set<in... | [
"karamaki@gmail.com"
] | karamaki@gmail.com |
29707f648335a2c2089e5bcc7b8d2c71976c1c8b | e8389dfaf892a410909f9fa975a30e8c83689b38 | /engines/ep/src/conn_store_fwd.h | e09255352fced3011605cdcdf6cc8a734e643038 | [
"Apache-2.0"
] | permissive | daverigby/kv_engine | 9c03f13d6388e1f564a37eff125fda733d0caff8 | 82f8b20bcd3851bf31c196bd0f228b8c45eb0632 | refs/heads/master | 2022-12-10T12:36:36.917117 | 2020-08-05T10:18:24 | 2020-09-09T10:55:49 | 91,691,505 | 0 | 2 | BSD-3-Clause | 2019-10-11T14:02:25 | 2017-05-18T12:37:22 | C++ | UTF-8 | C++ | false | false | 975 | h | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2020 Couchbase, 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
*
* h... | [
"daver@couchbase.com"
] | daver@couchbase.com |
c115348e6dbc9cef4ded1e2cd3f143e5128bf1b6 | 739732d3a6b548404f432ad8ff918841249a18ec | /src/LanguageTools/thai/Perceptron.cpp | c75c3b7d76e6732acbea4a25aecf27e5dbcc192f | [] | no_license | yiique/TranslationSystemSimple | 9417e14c198c9622fbb9e1f046445ba1462b458f | 62a9eea538bae1739b7a4e2bfa39fd0e27d8967d | refs/heads/master | 2020-04-09T21:25:23.550131 | 2016-09-12T12:59:12 | 2016-09-12T12:59:12 | 68,007,511 | 0 | 0 | null | 2016-09-12T12:59:12 | 2016-09-12T12:37:25 | C++ | GB18030 | C++ | false | false | 910 | cpp | #include <fstream>
#include <iostream>
#include "Perceptron.h"
using namespace thaiSeg;
CPerceptron::CPerceptron()
{
}
CPerceptron::~CPerceptron()
{
}
//初始化
bool CPerceptron::Initialize(const string &model)
{
ifstream fin(model.c_str());
if (!fin)
{
cout << "Can not open model file: " << model << endl;
retur... | [
"liushuman@liushumandeMBP.lan"
] | liushuman@liushumandeMBP.lan |
3cdf6cfa74119a45cbc32aafb9a0e0d5d826fe9c | 321cccc759a2982afa70b67a349087ac4c86513d | /src/shared/linux_waitpid.h | e0841ccf55f4135b577454aeb63dcafce996bee0 | [
"MIT"
] | permissive | martykadlcek/trading-bot | 3037887d667556ea125f8ba9e8fba56e5dc6111c | c2f34ef1e6746f02642dde3cb3d11010213f0121 | refs/heads/master | 2022-04-19T23:41:04.354678 | 2020-04-20T15:26:40 | 2020-04-20T15:26:40 | 257,055,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,885 | h | /*
* linux_waitpid.h
*
* Created on: 16. 10. 2019
* Author: ondra
*/
#ifndef ONDRA_SHARED_SRC_SHARED_LINUX_WAITPID_H_6876910645
#define ONDRA_SHARED_SRC_SHARED_LINUX_WAITPID_H_6876910645
#include <signal.h>
#include <mutex>
#include <errno.h>
#include <semaphore.h>
#include "linear_map.h"
namespace ondra_s... | [
"martinkadlcek.mk@gmail.com"
] | martinkadlcek.mk@gmail.com |
9ababd4439640dcdb1e3b4daab0fc5d864941162 | fc259edfee10c8e2517c32f9fba147be132655f7 | /catkin_ws/src/yara_controller/src/YaraLowLevelComm.cpp | 38dc38af20d35357659c7e93f046d971655128a0 | [] | no_license | fpadula/Yara_ROS | c664b0ce2fdaa45be71347587da505a075f0cf96 | 8dae7cedecd0795d1bb1fed372fe311ed6e4aeb4 | refs/heads/master | 2023-07-11T14:25:15.142058 | 2021-08-11T20:31:12 | 2021-08-11T20:31:12 | 305,587,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,300 | cpp | #include <YaraLowLevelComm.h>
YaraLowLevelComm::YaraLowLevelComm(const char *hostname, uint16_t port){
this->hostname = hostname;
this->port = port;
this->send_msg = false;
this->send_t_msg = false;
this->position_set = false;
this->terminate = false;
this->connect_to_socket();
this->co... | [
"fpadula92@gmail.com"
] | fpadula92@gmail.com |
4622c9c3a0a6d333312f01e975a42a587ce7e080 | 47c1ed4c7eb0a52642f259ddf783279baf638325 | /kmp.cpp | f638daa37065b5982f410d0a5195bc2b8457638c | [] | no_license | Aaaazdy/datastructure | c46b86ccbb29df1e41e8151a6d93fa06c7342b83 | 1fe6d27bcf56f715f0979eff221fe5b8bc7b76de | refs/heads/master | 2023-07-04T19:42:44.035716 | 2021-08-30T07:52:24 | 2021-08-30T07:52:24 | 393,696,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
void getnext(char*t,int *next)
{
int length=strlen(t);
int j=0;
int i=-1;
next[0]=-1;
while(j<length)
{
if(i==-1||t[i]==t[j])
{
i++;
j++;
next[j]=i;
}
else
i=next[i];
}
}
int kmp(char*s,char*t,int pos,int *next)
{
int length... | [
"1169400012@qq.com"
] | 1169400012@qq.com |
81926cd14901772b046d6bcf81fa7e8ea8f1f355 | 96b635859636dd1ba03994f42e9d87db21e348ce | /src/devices/bin/driver_manager/driver_runner_test.cc | c6845ec96d8f48ca0651e9a7c8e96adbe9b57cd4 | [
"BSD-3-Clause"
] | permissive | lypenghao/fuchsia | bf6c87e4ffe5825027876c5b2069082a65236374 | e5b73c2600ca4b82f7b93f11602df44bfc349e48 | refs/heads/master | 2023-01-08T10:21:36.843784 | 2020-11-18T09:20:42 | 2020-11-18T09:20:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,836 | cc | // Copyright 2020 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 "src/devices/bin/driver_manager/driver_runner.h"
#include <fuchsia/driver/framework/cpp/fidl_test_base.h>
#include <fuchsia/io/cpp/fidl_test_base... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
af34f491e1c095e1ff64d8f4bf1b127f60b55839 | 3282ccae547452b96c4409e6b5a447f34b8fdf64 | /SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimSlabType.hxx | 6c3ed4a4bc9ec83c6bc88bb21b1e4dbca5dba7a0 | [
"MIT"
] | permissive | EnEff-BIM/EnEffBIM-Framework | c8bde8178bb9ed7d5e3e5cdf6d469a009bcb52de | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | refs/heads/master | 2021-01-18T00:16:06.546875 | 2017-04-18T08:03:40 | 2017-04-18T08:03:40 | 28,960,534 | 3 | 0 | null | 2017-04-18T08:03:40 | 2015-01-08T10:19:18 | C++ | UTF-8 | C++ | false | false | 11,293 | hxx | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Fre... | [
"PRemmen@eonerc.rwth-aachen.de"
] | PRemmen@eonerc.rwth-aachen.de |
44367549ebbdcab26927b7228e12b0aa8eeee962 | bb90ad20468f9fe2039b8c16858bd8eae8bbc050 | /src/node/rpc/node_operation_interface.h | 4b09c5efb42476b3daa352b54a0ab92aa7693c89 | [
"Apache-2.0"
] | permissive | microsoft/CCF | 0997fd81a924d36d775b219720b26b4ff196b18a | 2fbf87840b9e8334c141f4a9c9b25aae979b0540 | refs/heads/main | 2023-09-05T15:39:37.265089 | 2023-09-05T15:27:25 | 2023-09-05T15:27:25 | 180,112,558 | 687 | 229 | Apache-2.0 | 2023-09-14T14:28:39 | 2019-04-08T09:13:04 | C++ | UTF-8 | C++ | false | false | 1,874 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#pragma once
#include "ccf/crypto/pem.h"
#include "ccf/ds/quote_info.h"
#include "ccf/node/quote.h"
#include "ccf/node_startup_state.h"
#include "ccf/node_subsystem_interface.h"
#include "ccf/service/tables/code_id.h... | [
"noreply@github.com"
] | microsoft.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.