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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8abe5102c129f140d025ce070b78df88d6f537bb | a7e3dac1fff4bb7f6b3af4bd33b84f5fefdfe9fe | /ABC/abc142/abc142_a_7737991.cpp | ab00b5e72b3eb5b7fb1895d98af2679587190f6f | [] | no_license | 2019Shun/atcoder_submission | b6794a0bb1e8d2aa5c4663a15ae561dbe59d50cb | a511da6de51ed4eabd25bf2f823b9867f7650649 | refs/heads/master | 2023-04-01T14:53:46.164877 | 2021-03-28T15:00:13 | 2021-03-28T15:00:13 | 316,533,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | #include <bits/stdc++.h>
#include <vector>
#include <numeric>
#define PI 3.14159265358979323846
#define MAXINF (1e18L)
#define INF (1e9L)
#define EPS (1e-9)
#define MOD ((ll)(1e9+7))
#define REP(i, n) for(int i=0;i<int(n);++i)
#define Rep(i,sta,n) for(int i=sta;i<n;i++)
#define RREP(i, n) for(int i=int(n)-1;i... | [
"taka.shun.2018@gmail.com"
] | taka.shun.2018@gmail.com |
99553430e70bad87633fb5cb14ca007b032096e2 | 0c932e8b19bb725c4bc1689b345e891383a1b59e | /ExerciseStructs/ExerciseStructs.cpp | d79e29ccbe18afbf75cdb5a2e338cc072cf4aaa6 | [] | no_license | erikborsi/F1GameWithStructs | 78642f25ea796513ddf61a46462906aa6acf25d9 | 0ce3d25f4de4aceb26e2ae4d990e333cc9f02f01 | refs/heads/master | 2023-03-12T14:38:17.284589 | 2021-02-26T13:39:36 | 2021-02-26T13:39:36 | 342,583,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,366 | cpp | #include <iostream>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <chrono>
#include <thread>
using namespace std;
struct Garage
{
string nameOfTheTeam;
int distance;
};
struct Driver
{
string nameOfDriver;
int ageOfDriver;
int skillLevelOfDriver;
Garage ... | [
"erikborsi@users.noreply.github.com"
] | erikborsi@users.noreply.github.com |
492860201e48b6bff5195f290d09809b411bed92 | f8f50c82c5ae33dbdd6413f7769e0599339b58ea | /protoEngine/src/Material.cpp | b50b708e3b2c28fd7c720b7b2a5ad67b84ed8a61 | [] | no_license | joelpp/LigumX | 40678143cd80cacd8c2cc2f54d8f336d2e8e54ea | c07276b54345fd2b849175dbdd2b4b62752568fd | refs/heads/master | 2021-03-19T10:21:33.313450 | 2016-08-20T17:12:49 | 2016-08-20T17:12:49 | 32,944,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | cpp | #include "Material.h"
#include "fstream"
MaterialMap Material::MaterialList;
Material* Material::Get(std::string materialName)
{
return MaterialList.at(materialName);
}
Material::Material()
{
}
Material::Material(ProgramPipeline* programPipeline, glm::vec3 albedo)
{
m_programPipeline = programPipeline;
m_... | [
"joelpolardperron@gmail.com"
] | joelpolardperron@gmail.com |
2d4b9b442152707edaba4ec168791d3b8b60411d | 6da2269b8c538be5f061f544c0fd651fbea303fa | /packagemodel.cpp | a547fbfc64deefd291f2bdd66672be3fa311598f | [] | no_license | ruphy/plasma-studio | b087ab4c67bc3cccecc0eef9b04d3b5752a9c1f4 | 3f1c7a8fc91247f58b1066d004c835d7e6586985 | refs/heads/master | 2016-08-03T18:57:13.074705 | 2009-02-14T03:17:55 | 2009-02-14T03:17:55 | 112,740 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,324 | cpp |
#include <packagemodel.h>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <KDirWatch>
#include <KIcon>
#include <KUser>
#include <Plasma/Package>
#include <Plasma/PackageMetadata>
PackageModel::PackageModel(QObject *parent)
: QAbstractItemModel(parent),
m_directory(0),
m_structure(0)... | [
"aseigo@kde.org"
] | aseigo@kde.org |
1b8256c1ef93318ab57b19296318f34d94792ad1 | c05154248c4036ec2f010ff983438e86cd3a7a81 | /HDRPlus/dngsdk/dng_filter_task.cpp | 13e09586c2562931982173ed66f08079bfae2f08 | [] | no_license | lealzhan/dngsdk_CVDemo | 1a8d5864668a947df6a382951768cea8d0cb8f2f | feef6bfdeb2395e1b02ebb55096603899d626d74 | refs/heads/master | 2023-09-04T10:59:51.559418 | 2020-08-12T09:53:14 | 2020-08-12T09:53:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,622 | cpp | /*****************************************************************************/
// Copyright 2006-2019 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in
// accordance with the terms of the Adobe license agreement accompanying it.
/***********... | [
"wj.jiang@outlook.com"
] | wj.jiang@outlook.com |
c6d720eda0644350496838e6588e3c95168859fb | d20cf7de868dfb2c53578a70d0dda21306167d72 | /data/raw/train/student_20/1527/1520/CNormalZombie.cpp | d07991f27c034e4a1862c5a09338c0b37d019997 | [] | no_license | bulacu-magda/Alemia | 905a84ca79157fb657eb424e337b0303fd3323bd | 0fd019c4517064d300399feb94dbcb0f467e8d48 | refs/heads/main | 2023-03-01T17:41:08.788500 | 2021-02-05T08:00:35 | 2021-02-05T08:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | #include "CNormalZombie.h"
| [
"ionutm.bajan@yahoo.com"
] | ionutm.bajan@yahoo.com |
ed7ee2db29080862a07bdf9b8ee615740df36981 | b2b10f8ba5b3a2b023fe3dbfb9fe9900c111a8e7 | /clients/im_contact_list/PeopleColumnListView.h | 3dae63ebeca67a76a572a2d66e6aa9e3f6be1512 | [
"BSD-3-Clause"
] | permissive | HaikuArchives/IMKit | 0759451f29a15502838e9102c0c4566a436fd9c0 | 9c80ad110de77481717d855f503d3de6ce65e4d8 | refs/heads/master | 2021-01-19T03:14:00.562465 | 2009-11-27T16:17:29 | 2009-11-27T16:17:29 | 12,183,169 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | h | /*
* Copyright 2004-2009, IM Kit Team. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _PEOPLE_COLUMN_LIST_VIEW_H
#define _PEOPLE_COLUMN_LIST_VIEW_H
#include <map>
#ifdef __HAIKU__
# include <common/columnlistview/haiku/ColumnListView.h>
# include <common/columnlistview/haiku/Colu... | [
"plfiorini@8f1b5804-98cd-0310-9b8b-c217470a4c7c"
] | plfiorini@8f1b5804-98cd-0310-9b8b-c217470a4c7c |
a0d735fda71e1901a41f56fdfe0c13233c3b6cbc | a9e99d6a5e3a289a93428f5173d38eae811eb923 | /nodes/expression/FunCallNode.h | 7f9010bb0ea034235216d66e0c74d09e13602874 | [] | no_license | DiogoReisPinto/MayflyLaguage | 1331133e037e9d21b14d3b080505914ed2246664 | 5fb6019a9c3b258d5537a3a4af0c2a5802cf52d1 | refs/heads/master | 2016-09-09T23:43:56.222924 | 2014-02-06T20:07:12 | 2014-02-06T20:07:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | h | #ifndef __MF_FUNCALLNODE_H__
#define __MF_FUNCALLNODE_H__
#include <string>
#include <cdk/nodes/Node.h>
#include <cdk/nodes/expressions/Expression.h>
#include <cdk/nodes/expressions/Identifier.h>
namespace mayfly {
namespace node {
namespace expression{
/**
* Class for describing for nodes.
*/
... | [
"Diogo.Reis.Pinto@gmail.com"
] | Diogo.Reis.Pinto@gmail.com |
eb4601a8893409b0072ffeb336ed34ed96a06953 | df3f0c768464eded073c1d32fb835a86112beafa | /llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h | 23e0c597a33ed12b23a689c416afec7d859ac7fd | [
"BSD-2-Clause",
"NCSA"
] | permissive | mitchty/ellcc-mirror | 6d9e6fd45b8087f641ba556e659f9dad3fcd8066 | b03a4afac74d50cf0987554b8c0cd8209bcb92a2 | refs/heads/master | 2021-01-10T06:47:27.028119 | 2015-10-19T11:36:17 | 2015-10-19T11:36:17 | 44,582,115 | 1 | 2 | NOASSERTION | 2020-03-07T21:40:07 | 2015-10-20T04:27:47 | C | UTF-8 | C++ | false | false | 3,204 | h | //- WebAssemblyISelLowering.h - WebAssembly DAG Lowering Interface -*- C++ -*-//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"rich@82857169-6e38-49d7-aaa8-07fb558f12fc"
] | rich@82857169-6e38-49d7-aaa8-07fb558f12fc |
1e226539c160a6f543fd4049bc8629ba3f718a33 | b32463e40286e85afb7602643a416b57c49e9ad2 | /src/alisign.cpp | 2367f5b74cc81d5675ca3280acc1bc8c0b8f85fd | [] | no_license | huming516520/lua-alisign | 70d71cf4bb7e123091545d3d2d5ad668de933b69 | 8b7efce5f4910cecdf16b04d7add71237df8bf6c | refs/heads/master | 2020-04-09T04:59:35.897098 | 2018-11-28T10:57:47 | 2018-11-28T10:57:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | cpp | #include "alisign.hpp"
#include "sign.hpp"
namespace {
int alisign_sign(lua_State* L) {
size_t data_len;
auto data = reinterpret_cast<const uint8_t*>(lua_tolstring(L, 1, &data_len));
auto sign_type = lua_tostring(L, 2);
auto private_key = lua_tostring(L, 3);
auto result = alisign::sign(data, data_len, sign_... | [
"ufownl@gmail.com"
] | ufownl@gmail.com |
fbb255f0af1e4b5aed193b26ad5b60cc3bcc833a | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /config/include/alibabacloud/config/model/GenerateConfigRulesReportResult.h | 95ea9df446a3350a6f537261d0e4f271a4dbadbd | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,465 | h | /*
* Copyright 2009-2017 Alibaba Cloud 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
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
ca94bdfbcca2da769b437de3d209bc69e2fcdcd1 | 714d4d2796e9b5771a1850a62c9ef818239f5e77 | /chrome/browser/ui/website_settings/website_settings_unittest.cc | 3a24c7d1013d8363edbdc3054b60ed73874bce0f | [
"BSD-3-Clause"
] | permissive | CapOM/ChromiumGStreamerBackend | 6c772341f815d62d4b3c4802df3920ffa815d52a | 1dde005bd5d807839b5d45271e9f2699df5c54c9 | refs/heads/master | 2020-12-28T19:34:06.165451 | 2015-10-21T15:42:34 | 2015-10-23T11:00:45 | 45,056,006 | 2 | 0 | null | 2015-10-27T16:58:16 | 2015-10-27T16:58:16 | null | UTF-8 | C++ | false | false | 18,286 | 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 "chrome/browser/ui/website_settings/website_settings.h"
#include "base/at_exit.h"
#include "base/message_loop/message_loop.h"
#include "base... | [
"j.isorce@samsung.com"
] | j.isorce@samsung.com |
6c9a37e56f87dbc4a9fbb6db212f5c2c742c3e93 | d3c5d69c941ecd15e2afffed631a50062bc648f2 | /tutorials/QHDFoam/2D/backwardFacingStep/constant/thermophysicalProperties | a250395e32995bc496cfc3b6109e1c68667355bc | [] | no_license | kanorianec/QGDsolver | 6fc912f2552efa7637f6222d2efdfdf7edc1f029 | ebcef854d4d15470dca4ab2c3731136936efa350 | refs/heads/exper/digitef-dev | 2023-05-27T02:14:42.614125 | 2021-05-27T13:58:42 | 2021-05-27T13:58:42 | 254,143,322 | 0 | 0 | null | 2023-05-15T18:47:16 | 2020-04-08T16:33:25 | C++ | UTF-8 | C++ | false | false | 1,641 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"av.ivanov@ispras.ru"
] | av.ivanov@ispras.ru | |
7dca1c4df9efdef08cde9aa220a9178246a2dc8c | 29a0ef622e7703a417a080ab26f19dcd111e6520 | /PX14400.2.20.46/PX14400/examples/RamAcqPX14/RamAcqPX14.cpp | 2e261fd62afd81f05871d746c03f317c872475eb | [] | no_license | nmahesh1412/EDGES-calibration | 54d3e97f2e001cc4e49c04b77e11b5de39b41949 | 77e16442d62893e08e5e6151ada724405ef319b0 | refs/heads/master | 2020-03-06T20:05:02.650166 | 2018-04-03T22:53:33 | 2018-04-03T22:53:33 | 127,044,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,537 | cpp | /** @file RamAcqPX14.cpp
@brief PX14400 RAM Acquisition Example
@author Mike DeKoker
@date 1/14/2010 (Created)
This application demonstrates how to do a PX14400 RAM acquisition
and optionally save the data to disk using PX14400 library functions
-- Version 1.1
- Updates
o Using DumpLib... | [
"nmahesh@enteprise.sese.asu.edu"
] | nmahesh@enteprise.sese.asu.edu |
9e17fb831eff430fde82202813e00703d42c5a73 | 92a76c218d7f794aea968955da2e9bb171a9f905 | /test6/Importer.hpp | 7fe830221f6957ded1aae5c0186c431e6189d540 | [] | no_license | eryeden/OpenGL_tests | 5bec4d7ae84fff0dc7cff8b70bb0da3552373648 | 8066aab16c886ff864481ea46530415a65999d1f | refs/heads/master | 2021-01-10T20:06:48.385598 | 2015-10-14T08:26:23 | 2015-10-14T08:26:23 | 42,817,275 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 5,786 | hpp | #ifndef IMPORTER_HPP
#define IMPORTER_HPP
////Widnowsの場合
//#ifdef _MSC_VER
//#pragma comment(lib, "glfw3.lib")
//#pragma comment(lib, "opengl32.lib")
//#pragma comment(lib, "GlU32.Lib")
//#pragma comment(lib, "assimp-vc120-mt.lib")
//#pragma comment(lib, "glew32.lib")
//#include <gl/glew.h>
//#define _CRT_SECURE_NO_WA... | [
"ery.eden@gmail.com"
] | ery.eden@gmail.com |
cc1d6537214d1d3ffb0b86b1b7ee27b8cd221936 | 1c390cd4fd3605046914767485b49a929198b470 | /luogu/P1055.cpp | 8044a844f3c2efbda25e932b737cef2a0d1696af | [] | no_license | wwwwodddd/Zukunft | f87fe736b53506f69ab18db674311dd60de04a43 | 03ffffee9a76e99f6e00bba6dbae91abc6994a34 | refs/heads/master | 2023-01-24T06:14:35.691292 | 2023-01-21T15:42:32 | 2023-01-21T15:42:32 | 163,685,977 | 7 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | #include <bits/stdc++.h>
using namespace std;
char s[14];
int z, a[14] = {1, 0, 2, 3, 4, 0, 5, 6, 7, 8, 9};
int main() {
scanf("%s", s);
for (int i = 0; i < 14; i++) {
z += s[i] * a[i];
}
z += 7;
z %= 11;
if (z == 10) {
z = 'X';
} else {
z += '0';
}
if (z == s[12]) {
printf("Right\n");
} else {
s[12... | [
"wwwwodddd@gmail.com"
] | wwwwodddd@gmail.com |
7bbf4b02c6ea4296c1a39f6cf6fc01a8ec034dcb | 09e0347fa988563a252d9f0b49ba1cf54cca30a1 | /soemetadbcli/src/metadbcliasynciosession.hpp | 2454c7a9e54df4314fcb4710c432633613c04370 | [] | no_license | janlt/SOE | 501b94a94fe8d53a3289db057b34bb2ad907b33e | 883ea8fb5b04393e387a8af819d7eb500269d6fe | refs/heads/master | 2020-09-19T03:10:07.868212 | 2020-03-21T07:19:38 | 2020-03-21T07:19:38 | 224,192,571 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,157 | hpp | /**
* @file metadbcliasynciosession.hpp
* @author Jan Lisowiec <jlisowiec@gmail.com>
* @version 1.0
* @brief Soe Session API
*
*
* @section Copyright
*
* Copyright Notice:
*
* Copyright 2014-2019 Jan Lisowiec jlisowiec@gmail.com,
*
*
* This product is free software; you ca... | [
"jan.lisowiec@intel.com"
] | jan.lisowiec@intel.com |
5bc6cfc5959d66e96c186610d7541103f08e69cf | 44ab82865bf22f2c231aabc1786766fc82bdfc79 | /src/main.cc | 0d6f6cafae65abcc8cd9465376062bf2d97b5aef | [
"MIT"
] | permissive | aberry-21/DepthOfMarket | 9d365e8fb3ec11d6c57c8a5445a0ae6ca09ee1ce | 8f9c44af86f474022838a52d2e6be9d3cc0881fb | refs/heads/main | 2023-05-01T21:37:23.333553 | 2021-05-25T21:52:51 | 2021-05-25T21:52:51 | 370,370,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,799 | cc | //
// Created by Aaron Berry on 5/24/21.
//
#include <random>
#include <iostream>
#include <map>
#include <thread>
#include "includes/DepthOfMarket.h"
#include "includes/LogDuration.h"
constexpr std::uint32_t FLOAT_MIN = 0;
constexpr std::uint32_t FLOAT_MAX = 100;
static std::shared_ptr<std::vector<std::tuple<std::u... | [
"lot.lebedevok@gmail.com"
] | lot.lebedevok@gmail.com |
95a137e515b96a77eb5b1b87a5a2ff383b2bd636 | bb533ddb1386ea16010c8180b77d1d26567b1681 | /Pina_Arevalo_Ivan/P4/articulo.cpp | 7c504ce5053173118e8c6dec2d54c597cf0fcf78 | [] | no_license | IvanPinna/POO | 4cc43776725f3751a4c4649a407ef0425e498020 | 07d55b75fd7551ecc80d4e91015c2d9e843c624d | refs/heads/master | 2021-03-13T00:07:12.674053 | 2017-05-30T15:12:28 | 2017-05-30T15:12:28 | 91,465,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include "articulo.hpp"
#include <iomanip>
#include <iostream>
ostream& operator<<(ostream& os, const Articulo& a)
{
os << "[" << a.referencia() << "] \"" << a.titulo()
<< "\", " << a.f_publi().anno() << ". "
<< fixed << setprecision(2) << a.precio() << " €\n";
a.impresion_especifica(os);
return o... | [
"ivanpinaarevalo@gmail.com"
] | ivanpinaarevalo@gmail.com |
db25f0f5e4710f57a813a5ff45a6c514610267a4 | ad99308660fdc88a292fb4366956f801e4a94c9c | /lab4-Dijkstra/cpp/my_defs.h | 6f3a1c8e975153cb10213094848beaf275d0b67d | [] | no_license | dxahtepb/itmo-multithread | 0062b4c260ecaffdd2d8785b6817ac072d82690b | dc6dc45853c03975d05c021f41acbe746cdb8bba | refs/heads/master | 2021-02-11T11:17:21.553466 | 2020-06-15T12:12:25 | 2020-06-15T12:12:25 | 244,486,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | h | #pragma once
#include <vector>
#include <unordered_map>
struct Edge {
int to;
int weight;
Edge(int to, int weight) : to(to), weight(weight) {}
Edge(Edge&&) = default;
Edge(const Edge&) = default;
Edge& operator=(const Edge&) = default;
Edge& operator=(Edge&&) = default;
};
using Adjacency... | [
"dxahtepb@gmail.com"
] | dxahtepb@gmail.com |
75a2a5e91dcb865fa304518bba00168291655860 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/InnerDetector/InDetRawEvent/InDetSimData/InDetSimData/TRT_SimHelper.h | f80840bdddfef7bd540f6d0e3e977c60c1a61d8c | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,145 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
/***************************************************************************
InDetSimData helper for TRT
This is based on the G3/RD-event. The digitization packages may permit or
require more possibilities
-----------------------------... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
cc588b564e01711aba9e5c61e6e4519f20002cb4 | 483b9421bde5290e18c3288f58f194ff2b0931d4 | /src/sharpiso/sharpiso_get_gradients.h | c1007475fac36bef9f6e2cab6275b7919c1c9e31 | [] | no_license | swederik/sharpiso | 3432d50a00ee6338c0fb55f8bcff96893b8f69cf | 40155a764499fa57674a4abf5daa0ba55b25bf13 | refs/heads/master | 2021-01-15T09:27:57.317427 | 2014-12-03T20:24:53 | 2014-12-03T20:24:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,241 | h | /// \file sharpiso_get_gradients.h
/// Get gradients in cube and cube neighbors.
/// Version v0.1.1
/*
IJK: Isosurface Jeneration Code
Copyright (C) 2012-2014 Rephael Wenger
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
(LGPL) as... | [
"wenger@cse.ohio-state.edu"
] | wenger@cse.ohio-state.edu |
cc571c0cd2e7f74d84429a2b56de07d6e2c29c49 | 239e93243ff9df4baf5278fbe9a8121a024d033f | /devel/include/msgs_demo/MoveBaseGoal.h | 12da0d0c7ede1a5f2ee57d85475edda58f43bec1 | [] | no_license | lhtsw1/experiment_at_1124 | 7192554d813a0fab320e721db42fba2ab77fb6f2 | 5c3016f903cc8baccef5af76cb4d050dc740e4e6 | refs/heads/master | 2020-09-16T09:54:37.433261 | 2019-11-24T11:23:18 | 2019-11-24T11:23:18 | 223,732,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,115 | h | // Generated by gencpp from file msgs_demo/MoveBaseGoal.msg
// DO NOT EDIT!
#ifndef MSGS_DEMO_MESSAGE_MOVEBASEGOAL_H
#define MSGS_DEMO_MESSAGE_MOVEBASEGOAL_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ro... | [
"lhtsw1@sjtu.edu.cn"
] | lhtsw1@sjtu.edu.cn |
8a50ca5e61a7d1c8ad057428331bd2eed0fa1788 | 1cb47f75913f8c36fb97c61e8e798724111790aa | /Temp/StagingArea/Data/il2cppOutput/AssemblyU2DCSharp_OneWayScript950159792.h | 4a050ed8d19fd4c7c7ed762481a4c17d7d8fc8b5 | [] | no_license | jacobpelletier/DuckBo_v1 | 65b6dc275a0e5764c61ac7f52f8ef779aeb6b398 | 3088e547d2df59c32af8a71d50c6f39926753007 | refs/heads/master | 2021-01-02T22:48:53.443555 | 2017-10-30T19:41:55 | 2017-10-30T19:41:55 | 99,397,710 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "UnityEngine_UnityEngine_MonoBehaviour1158329972.h"
// UnityEngine.BoxCollider2D
struct BoxCollider2D_t948534547;
#ifdef __clang__
#pragma clang diagnostic push
#pragma ... | [
"jacob.pelletier@pondurance.com"
] | jacob.pelletier@pondurance.com |
fa49cb34e2d413a29f7d98318c9024aff8b75349 | 78b56332ebc8fdb14e9a9433c031f5ed35f43c94 | /src/server/Regist/regist.cpp | 1e3410c5a805aa13e2a7fd65328d530d38501f54 | [] | no_license | xiezhaoHi/guolujiance_server | 0b43c193d32851f8e59af21a8b58cd4335138e5f | e3ac88b95cadc2eaa8aea167e17b356cdc32708f | refs/heads/master | 2021-05-14T14:21:26.081310 | 2018-12-11T08:39:54 | 2018-12-11T08:39:54 | 115,968,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | cpp | #include "regist.h"
#include <QLabel>
#include <QGridLayout>
#include <QGroupBox>
Regist::Regist(QWidget *parent)
: QMainWindow(parent)
{
QLabel *lb_local = new QLabel(tr("Local Host"), this );
m_LocalHost = new QLineEdit( this );
QLabel *lb_regist = new QLabel(tr("Regist code"), this );
m_RegistCode = new QLin... | [
"15182911195@163.com"
] | 15182911195@163.com |
7388fee6808ee65e3c59c49ba93fafa055610544 | f8eb31d440fb59c2258f77ba9bc197a4de5d27fd | /src/uvmsc/factory/uvm_factory.h | 5d5c1b234bd0718cc6590a9acc5c6a4e404dde1b | [
"Apache-2.0"
] | permissive | ezchi/uvm-systemc | cdb34665c6a10c17b83cf82b52725f44531a5666 | 3f9954745cedaea5a75293c8e9923502bf74d67e | refs/heads/master | 2023-05-26T08:42:36.716166 | 2023-05-15T11:13:42 | 2023-05-15T11:13:42 | 117,504,426 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,584 | h | //----------------------------------------------------------------------------
// Copyright 2012-2020 NXP B.V.
// Copyright 2007-2011 Mentor Graphics Corporation
// Copyright 2007-2011 Cadence Design Systems, Inc.
// Copyright 2010-2011 Synopsys, Inc.
// All Rights Reserved Worldwide
//
// Licensed under th... | [
"enze.chi@gmail.com"
] | enze.chi@gmail.com |
21ac2e6aaf21dc7b1da34c4d366704f250be85e2 | e1e4a7209e29c359a359e1bfa30b2b51e233d446 | /src/chocolog10/ui.ino | 970f11d8289528e308c5f89c9e3039b2b2004bee | [] | no_license | michaelpantic/chocolog | 4ede35092ed35c0099c3c260ecfbd86953ba8014 | 1834aca54b6b548d48a8a75ae555f380b3cf01ef | refs/heads/master | 2021-07-15T13:00:47.946371 | 2017-08-27T19:13:00 | 2017-08-27T19:13:00 | 52,536,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,139 | ino | #include <SPI.h>
#include <LiquidCrystal.h>
//Definitions
#define PAGE_MEMORY_COUNT 6 //number of display pages
#define UI_BUTTON_DEBOUNCE 350
// PIN Configurations
#define UI_LCD_SLAVE_SELECT_PIN 10
#define UI_LCD_BACKLIGHT_PIN 7
#define UI_BLUE_BUTTON_LED_PIN A1
#define UI_RED_BUTTON_LED_PIN A0
#define UI_BLUE_BUT... | [
"mpantic@student.ethz.ch"
] | mpantic@student.ethz.ch |
8fc5ff29f4f5e1a2a834ee74fb2cbdbc5fb1b2f0 | db9725ce1d54541a82a4bb03bfbdc2ea6b9c7fe7 | /inputanalog.cpp | cc55586a42ef7a3d51a688959182070a8e976a97 | [] | no_license | Dafnirinas/Raspberry | 25c488b3d5b0f7c0c137ea547ea640064ca20af4 | d4d94da38f7e579b2cdb382ff5963c10a75c6d65 | refs/heads/master | 2020-12-24T09:22:55.856010 | 2016-11-09T17:25:23 | 2016-11-09T17:25:23 | 73,296,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,755 | cpp | #include "inputanalog.h"
InputAnalog::InputAnalog()
{
}
/**
* @brief InputAnalog::InputAnalog
* @param info- "name"" ""pin"
*/
InputAnalog::InputAnalog(std::vector<char> info) {
Device(info);
}
CORBA::Any* InputAnalog::pull() {
// Если подошло время следующего момента для отслеживания(мониторинг влажност... | [
"Dafnirinas@gmail.com"
] | Dafnirinas@gmail.com |
0b510ee7fb6f67503cf3b69071703669ca778dea | 6aa3a19d73c511a98fc5a24f28b3eb1d445917d6 | /hash_name.cpp | 88e84844196b4969310a2030354227fcccf92b7e | [] | no_license | likeyiyy/Simple_Interpreter | 8eac6b4d14abf07822e1e095b505aebf8e413c6c | 305cef582b7b0468954a7acd39d0445aa3018ee6 | refs/heads/master | 2021-01-23T11:20:02.792036 | 2020-12-04T01:23:34 | 2020-12-04T01:23:34 | 14,255,347 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,834 | cpp | #include "includes.h"
HASH symbol;
void CreatHashTable(HASH * symbol_ptr,size_t size)
{
size_t i = 0;
symbol_ptr->hash_s = (HASH_HEAD *)malloc(size*sizeof(HASH_HEAD));
if(symbol_ptr->hash_s == NULL)
{
printf("hello world\n");
exit(-1);
}
symbol_ptr->size = size;
for(i = 0; i < size; i++)
{... | [
"929812468@qq.com"
] | 929812468@qq.com |
9a8f1085a325b0b95de1e9974d08a4269779bb0c | 5386865e2ea964397b8127aba4b2592d939cd9f2 | /grupa C/olimpiada/oblasten/2011/raboti/Pleven/Pleven/A/MBP/frog.cpp | d70b1f3f33de2c4a4c80753d8f7641504a9aa0c3 | [] | 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 | 1,547 | cpp | #include<iostream>
#include<vector>
#define A first
#define B second
using namespace std;
long n,br,br1,x,y,possible,trip,best_trip=9999999;
pair<long, long> dots[16];
vector<long> v[16],road[16];
long used[16];
long abs1(long x)
{
if(x<0) return -x;
return x;
}
long distance1(long x, long y)
... | [
"dgg30"
] | dgg30 |
7ae04f11b16a2d0a2930fc6a578559bd267f0cc3 | 87b67709b668b042698663410f9486c137c51071 | /Breed Proximity/Breed Proximity/main.cpp | ec4b7f0cefe2e80821a1831e712cc4c703460e20 | [] | no_license | dannybess/USACO | 0254ff30b850eb0e382e37971ff46330f5a360e5 | ddd464a4723b949bd8f6745df88c210e10f04f21 | refs/heads/master | 2020-06-18T23:42:19.143072 | 2016-12-31T21:59:41 | 2016-12-31T21:59:41 | 74,934,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | //
// main.cpp
// Breed Proximity
//
// Created by Daniel Bessonov on 6/24/15.
// Copyright (c) 2015 Daniel Bessonov. All rights reserved.
//
#include <iostream>
#include <cstdio>
using namespace std;
int window[1000000], num;
int N, K, cows[50000], ans;
int main() {
freopen("proximity.in", "r", stdin);
... | [
"danyabessonov@hotmail.com"
] | danyabessonov@hotmail.com |
d1f3ebd78f2060487abf8e93992f1f8d2ccffe6b | 293d62b2afbcfe0ca3f06f21320022afd802cafe | /RenderCore/render/wml/platform/darwin/cf_utils.h | 551fb4288ccb7466465d1aa26fe37ba391f6af75 | [
"Apache-2.0"
] | permissive | pouloghost/weexuikit | 9b2e911a3cc34f3b8ab9cf0b3c9e57d245583a4e | 2eaf54e4c1f4a1c94398b0990ad9767e3ffb9213 | refs/heads/master | 2022-02-20T05:49:23.025281 | 2019-08-14T03:17:52 | 2019-08-14T03:17:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEEX_UIKIT_WML_PLATFORM_DARWIN_CF_UTILS_H_
#define WEEX_UIKIT_WML_PLATFORM_DARWIN_CF_UTILS_H_
#include <CoreFoundation/CoreFoundation.h>
#includ... | [
"jianbai.gbj@taobao.com"
] | jianbai.gbj@taobao.com |
8169e05c2e5312868fbb7688fe7c7253ea3cc0e9 | 3bacf23c07f0d866a66c9d723bad530a8cf19973 | /htmldoc/NcSample.h | 04da0a415788d56097d3c7f9df9c4a04f8519606 | [] | no_license | nick-ve/hello-world | ae62e4cc94c3f7b7b5268c8812c44f35224171e2 | e99c7c3e0d565c2763ad42c59f42a20b96de4b9e | refs/heads/master | 2023-06-01T10:04:38.884156 | 2023-05-17T20:01:19 | 2023-05-17T20:01:23 | 87,785,720 | 0 | 0 | null | 2017-04-10T08:42:23 | 2017-04-10T08:25:47 | null | UTF-8 | C++ | false | false | 4,711 | h | #ifndef NcSample_h
#define NcSample_h
// Copyright(c) 1997-2019, NCFS/IIHE, All Rights Reserved.
// See cxx source for full Copyright notice.
// $Id: NcSample.h 69 2012-10-05 16:31:56Z nickve $
#include <math.h>
#include "Rtypes.h"
#include "TArrayD.h"
#include "TH1.h"
class NcSample
{
public:
NcSample(); ... | [
"nickve.nl@gmail.com"
] | nickve.nl@gmail.com |
760623439ed80a372320aceb8db55c0889516c9b | e67f41f3f20082404e6a8035746c3a12d212df02 | /C_PLUS_PLUS/Chapter_2/following_execution.cpp | 2ca6cbcc5b11c73aa2f7f9512e3e026a362b9f33 | [] | no_license | nartr1/Programming-Practice | a1f443f11c0f7993c2ee474b9d1cdc28be525eb0 | a980b3cda1b4ff3563afc1324c42d00f1893b8af | refs/heads/master | 2021-07-17T10:03:40.125557 | 2020-06-08T21:57:03 | 2020-06-08T21:57:03 | 169,001,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include <iostream>
void doB(){
std::cout << "In doB()\n";
}
void doA(){
std::cout << "In doA()\n";
doB();
std::cout << "Ending doA()\n";
}
int main(){
std::cout << "Starting main()\n";
doA();
std::cout <<"Ending main()\n";
return 0;
}
| [
"nartr@mail.com"
] | nartr@mail.com |
b1e2866598437fbce6a8829c35771f92985bc9fb | 3245f103c9d81f8b547f8b6a05bbe4b9eb6d1848 | /src/rv/RangeParameter.h | 3c1888aa10ba3868a1dd02b6b22af1d49a81d14c | [
"MIT"
] | permissive | Lyusijie/SuMa | 52a22e51cd46a668a6fa852f0253cd3bb6f5dbd5 | 1df69e8351e6d6cc296c6eb9084b9d86ae73f7d6 | refs/heads/master | 2020-05-02T11:20:44.230637 | 2019-04-05T09:37:05 | 2019-04-05T09:37:05 | 177,926,718 | 1 | 0 | MIT | 2019-03-27T05:50:20 | 2019-03-27T05:50:19 | null | UTF-8 | C++ | false | false | 3,575 | h | #ifndef RANGEPARAMETER_H_
#define RANGEPARAMETER_H_
#include "Parameter.h"
#include "CompositeParameter.h"
#include <iterator>
#include <list>
namespace rv
{
/*****************************************************************************\
rose
\headerfile RangeParameter.h
\brief A RangeParameter is defined by arb... | [
"jens.behley@igg.uni-bonn.de"
] | jens.behley@igg.uni-bonn.de |
93a078bfb0393a9f9e635bf14f4b98de02904464 | 58c7cf9981a9cef6b5dbee071d3b73be71d6196b | /cpp/mul_list.cpp | b74156583ef4ab9202cdce651123abc63f5ea931 | [] | no_license | AshaRangappa/cpp_files | 86479cec88509581fec95c57b4ce88e2fe931988 | 303c0172d4370085a446a25b2eca6f962255ec99 | refs/heads/master | 2020-12-15T06:46:15.732039 | 2020-01-30T06:08:24 | 2020-01-30T06:08:24 | 235,024,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cpp | #include <iostream>
#include <thread>
#include <list>
#include <mutex>
#include <condition_variable>
using namespace std;
mutex mu;
bool ready=false;
condition_variable cv;
// a global variable
list<int>myList;
void addToList(int max, int interval)
{
unique_lock<mutex>ulck(mu);
cout <<"test "<<this_thread::get_id() ... | [
"root@asha-1.us-central1-a.c.propane-flow-234418.internal"
] | root@asha-1.us-central1-a.c.propane-flow-234418.internal |
cb5dd5b92ec3efc2963690281b7932d833aeb719 | 70441dcb7a8917a5574dd74c5afdeeaed3672a7a | /AtCoder Beginner Contest 027/B - 島と橋/main.cpp | 9ce3cba848aa473ae714e08fdb421208445ce113 | [] | no_license | tmyksj/atcoder | f12ecf6255b668792d83621369194195f06c10f6 | 419165e85d8a9a0614e5544232da371d8a2f2f85 | refs/heads/master | 2023-03-05T12:14:14.945257 | 2023-02-26T10:10:20 | 2023-02-26T10:10:20 | 195,034,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> a(n);
for (int i = 0; i < n; i++) {
cin >> a[i];
}
int a_sum = 0;
for (int i = 0; i < n; i++) {
a_sum += a[i];
}
int res = -1;
if (a_sum % n == 0) {
r... | [
"33417830+tmyksj@users.noreply.github.com"
] | 33417830+tmyksj@users.noreply.github.com |
4e3a2bdf4f86b0c31ec2265b1749799cfbdd18f3 | 5e81755e1e9a8c199b4781ba07654bfbdba7dd2c | /produce.cpp | 1165cd155d35c9163dcb5ca162de7616834d9e82 | [] | no_license | antoniocarrion11/the-legacy | 79170ebdc2ac6216869168f5bca5a6457cb6739f | 347b77fc0066501ff1d6b0c0e1a0b22a00355e66 | refs/heads/master | 2021-01-21T12:10:45.629618 | 2015-10-04T23:00:50 | 2015-10-04T23:00:50 | 31,242,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,517 | cpp | //Antonio Carrion SER 221
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <time.h>
using namespace std;
class BoxOfProduce{
public:
//Max Value for Array
static const int m_MAX = 3;
//No arg Default Constructor
BoxOfProduce();
//arg constructor
BoxOfProduce(string box[]){
for... | [
"antoniocarrion11@gmail.com"
] | antoniocarrion11@gmail.com |
16579d8f1fab0e3f4cee6d5c8bec7dfbc848ffdd | 43a54d76227b48d851a11cc30bbe4212f59e1154 | /cii/src/v20210408/model/ReviewDataTaskInfo.cpp | 06543ec5465ee727c247a3b091ddd6e5d7bd5303 | [
"Apache-2.0"
] | permissive | make1122/tencentcloud-sdk-cpp | 175ce4d143c90d7ea06f2034dabdb348697a6c1c | 2af6954b2ee6c9c9f61489472b800c8ce00fb949 | refs/heads/master | 2023-06-04T03:18:47.169750 | 2021-06-18T03:00:01 | 2021-06-18T03:00:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,153 | 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@tenent.com"
] | tencentcloudapi@tenent.com |
38113e331a616c6a0684169704b6548e17106688 | fb282b87fc96c6c2a7cf5d3fcea02936f0ca5f29 | /InterviewQuestions/14_ReorderArray/ReorderArray.cpp | aa891d0c791438e8aebfca91b9ba94bc6212dc3e | [] | no_license | ChanghuiN/Exercise | 3d4a7a29aa6b258bb45e557f49011e0ec5ff5871 | bd3ed40e2b0e741e4c9c581eabe5c136b80f5fc5 | refs/heads/master | 2021-09-07T02:47:10.639153 | 2018-02-16T03:31:31 | 2018-02-16T03:31:31 | 110,804,414 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,146 | cpp | //
// Created by ChanghuiN on 2018/1/4.
//
#include <cstdio>
#include "ReorderArray.h"
void PrintArray(int numbers[], int length);
void ReorderOddEven_1(int *pData, unsigned int length) {
if (length <= 0)
return;
int *pBegin = pData;
int *pEnd = pData + length - 1;
while (pBegin < pEnd) {
... | [
"changhui_he@163.com"
] | changhui_he@163.com |
551ea0f9f5d7a559a6457ee0a596c67faadd4666 | c497942b041a006719d2dc57d37e5bcb5048b44e | /past_question_D/ABC148D1.cpp | 0887c8a8d5dddf20195488e9ebd4c6e19e67716d | [] | no_license | esakiryota/atcoder | 174743a27abe2918223930743a34fc01a9ee6f01 | d2ddd653ab4aac6091074cf183ecb5a16052a267 | refs/heads/master | 2023-04-25T12:28:57.154176 | 2021-05-18T02:27:46 | 2021-05-18T02:27:46 | 345,285,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | #include <stdio.h>
#include<iostream>
#include <vector>
#include <set>
#define rep(i,n) for (int i = 0; i < (n); i++)
using namespace std;
const int INF = 1001001001;
typedef long long ll;
int main() {
int n;
cin >> n;
vector<int> v(n);
rep(i,n) cin >> v[i];
int j = 1;
int sum = 0;
rep(i,n) {
if (v[i... | [
"esaki1217@gmail.com"
] | esaki1217@gmail.com |
1bfa9c03dde82418c8c5e9b0a878c5514bf89171 | 5c6ca94da6a9ede4ac993d642e84ac9e0db2370d | /LedPolsador/LedPolsador.ino | cd85ff9e4785d118d9dd6c945d1bf1cea5ce1423 | [] | no_license | CarlesBosch/Els-5-primers-programes | e6d5c4a37288bc1378677167c761b9a1c1c223f1 | 09bb1c46eb7311b4c5f4eda04a6b92140b2301cf | refs/heads/master | 2021-05-01T01:32:45.497953 | 2017-03-06T19:17:35 | 2017-03-06T19:17:35 | 79,810,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,381 | ino | /**********************************************************************************
** **
** LedPolsador **
** ... | [
"carlesbosch21@gmail.com"
] | carlesbosch21@gmail.com |
f03e38cb4f6961b97f25a097c763451e6a452f0e | 2ab1b7b84a66466e4769d97182d9d643e71583bf | /xpam/bnethash.h | d3f722a58555b9238384d82d99d47495d43e750e | [
"BSD-2-Clause"
] | permissive | cen1/xpam-client | 6649de5757d3c4e43490037f624377662892bff0 | 839b652eba29ab3d01538969e483200b2ac32fb8 | refs/heads/master | 2023-03-07T23:03:24.287048 | 2023-03-01T21:52:39 | 2023-03-01T21:52:39 | 53,852,080 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,476 | h | #ifndef BNETHASHCPP_H
#define BNETHASHCPP_H
#include <stdint.h>
#include <QDebug>
#define ROTL(x,n,w) (((x)<<((n)&(w-1))) | ((x)>>(((-(n))&(w-1)))))
#define ROTL32(x,n) ROTL(x,n,32)
#define ROTL16(x,n) ROTL(x,n,16)
typedef uint8_t bn_basic;
typedef bn_basic bn_byte[1];
typedef bn_basic bn_short[2];
typ... | [
"cen.is.imba@gmail.com"
] | cen.is.imba@gmail.com |
730e5786ab267c587c23b932f9e20e6baa5e06b0 | e223dd342629b52d71c0c822fa84c97e437d48a8 | /libnhttp/nhttp/server/http_params.hpp | 60ec56edfee16f91d7e7758a07fa244fed0fcc63 | [
"MIT",
"Unlicense"
] | permissive | jay94ks/libnhttp | e43d3ce46fc8c0d7ac3c302cf658f2af01448c69 | a244eb2d04c339454ef4831b43d1ab270ee7d13d | refs/heads/main | 2023-04-12T22:48:27.319614 | 2021-04-17T14:54:23 | 2021-04-17T14:54:23 | 356,216,874 | 5 | 1 | MIT | 2021-04-17T14:54:23 | 2021-04-09T09:39:31 | HTML | UTF-8 | C++ | false | false | 993 | hpp | #pragma once
#include "../types.hpp"
namespace nhttp {
namespace server {
/**
* struct http_params.
* basic parameters for http_raw_listener.
*/
struct http_params {
/* worker count*/
int32_t worker_count = 2;
/* request timeout in second. */
int32_t timeout = 5;
/* protocol buffer size in kbytes. ... | [
"jay94ks@gmail.com"
] | jay94ks@gmail.com |
433436afa943d820dad023bec3225fe8359b8213 | 0515b8da4fc3e5739e5e7760f02f1eed1f604479 | /StateReady.cpp | 65d0050739bd0884c0205dcd94929a7913e7a787 | [] | no_license | mayuqiang2019/printdrv_fl_psa66st2r_x64_v1 | a363b254846c5ee5158d24c4149c15c660cb2f7e | ae060a392a8781a728931ee7a7c168f3a73dcab7 | refs/heads/master | 2020-09-15T03:49:11.063303 | 2019-11-22T06:50:07 | 2019-11-22T06:50:07 | 223,341,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,822 | cpp | #include "stdafx.h"
#include "state.h"
#define CREATE_CHILD_STATE(state)\
pChild = new state(pStateMach, pContext, this);\
if(pChild == NULL) { throw wcl::COutOfMemoryException(); }\
m_Children.AddTail(pChild)
/// <summary>Constructor.</summary>
/// <param name="pStateMach">Pointer to owner state machine.</para... | [
"57613580+mayuqiang2019@users.noreply.github.com"
] | 57613580+mayuqiang2019@users.noreply.github.com |
5bcae88151ebf1ca13a8fd7af1cbacefdcfcfe52 | ffa83215d4a44581f44173100331bda1900b24fe | /build/Android/Preview/app/src/main/include/Fuse.Triggers.Actions.Pause.h | 0378472fba44ab6eaf5e038308df5516b869b9f4 | [] | no_license | imkimbosung/ARkit_fuse | 167d1c77ee497d5b626e69af16e0e84b13c54457 | 3b378d6408551d6867f2e5b3d7d8b6f5114e7f69 | refs/heads/master | 2020-04-19T02:34:33.970273 | 2019-02-04T08:26:54 | 2019-02-04T08:26:54 | 167,907,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Triggers/1.9.0/Actions/Playback.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.ISourceLocation.h>
#include <Fuse.Triggers.Actions-baf069a8.h>
namespace g{namespace Fuse{namespace Triggers{namespac... | [
"ghalsru@naver.com"
] | ghalsru@naver.com |
e4799567b8eef714431b7e7a33c55366d119bbfd | 2e4db5f5384342a5f58c1d497d94b4aa234d1ab0 | /ThrowIt/Texture.cpp | c3c2adcbe7770331a8c40b89fec555992bfa2cf7 | [] | no_license | Honesch/ThrowIt | a0883f2b988ca95c68f92ae64f8381e8a3035bce | 22a276f0bec9961dbe6423760a600bc96e1b466d | refs/heads/master | 2020-05-18T11:40:52.372243 | 2015-07-21T09:11:37 | 2015-07-21T09:11:37 | 38,536,878 | 0 | 0 | null | 2015-07-04T15:58:32 | 2015-07-04T14:41:25 | null | UTF-8 | C++ | false | false | 8,085 | cpp | #include "Texture.h"
#include <FreeImage.h>
Texture::Texture(/*const std::string& path*/)
{
//glGenTextures(1, &handle);
//glActiveTexture(GL_TEXTURE0);
//glBindTexture(GL_TEXTURE_2D, handle);
// unsigned int width, height;
//unsigned char * data = LoadTexture
}
std::vector<GLuint> Texture::loadMaterialTextu... | [
"e1326761@student.tuwien.ac.at"
] | e1326761@student.tuwien.ac.at |
2766b5d5b6b942a6ebf729c23e8a9f8cdb770494 | a5b44e5ee175d611c658e51261cc60d308cefa47 | /Code/gui/menu.cpp | 032edbaed48d7f185450fc1b38f54e0844580d88 | [] | no_license | foow/Aurora | 78d7a63ec56390ac2ea0779d726198949167b41e | ad44e1161b6fa6fb06784851029b4f38bcfccedc | refs/heads/master | 2021-05-28T23:16:28.387713 | 2015-05-31T03:38:39 | 2015-05-31T03:38:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | #include "element.h"
#include "menu.h"
namespace aurora {
namespace gui {
int Menu::Construct() {
writer_.Initialize(context_);
writer_.PrepareWrite(512);
return 0;
}
int Menu::BuildTransform() {
return Shape::BuildTransform();
}
int Menu::Draw() {
return 0;
}
void Menu::AddItem(char* caption) {
strcpy... | [
"noplace@gmail.com"
] | noplace@gmail.com |
ba87a5c7f012e54780c112812840756ce5a7f166 | 368dac6c28dc44bd28288bce651c32f1f640dc91 | /virtual/client/chime/ChimeSystemDriver.cpp | af6e594f154113d0013fd546bbe5d0e8a708b991 | [] | no_license | Programming-Systems-Lab/archived-memento | 8fbaa9387329d1d11ae4e8c1c20a92aeadeb86e0 | 084c56a679585c60b5fc418cd69b98c00cf2c81e | refs/heads/master | 2020-12-02T12:21:04.667537 | 2003-11-04T17:08:35 | 2003-11-04T17:08:35 | 67,139,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,649 | cpp | /*******************************************************************
ChimeSystemDriver.cpp
Author: Mark Galagan @ 2002
Main driver for the CHIME system. It creates the system,
as well as plugins. It also holds together all the components
of the system. Its run-time functions include listening
to user events a... | [
"dp2041"
] | dp2041 |
4e785c3257ea26d50f76a8a6c50781ec6e4a02cf | e516d1935d323d5d68f1856b85b30d7788c98f49 | /Praticas/c++/main.cpp | 285cd89129e3b6e9eda949e916a4dbc43714e5c4 | [] | no_license | Dpac99/Praticas_PO | 4550e3ef0bd083ab4ec6fa3341aeefc62b0b9b20 | f36e87cb1a73753d1bbb53bd30839c2aaa272372 | refs/heads/master | 2021-10-02T22:33:48.340674 | 2018-12-02T01:06:33 | 2018-12-02T01:06:33 | 155,294,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp | #include "gato.h"
#include <iostream>
int main(){
gato g;
std::cout << g << std::endl;
} | [
"diogo.a.pacheco@tecnico.ulisboa.pt"
] | diogo.a.pacheco@tecnico.ulisboa.pt |
2a8d94d9d12793ac852b597a9df1e01194cd54d1 | 3531dd9f52b11ae26d0c5f624a815538bf4c1964 | /templates/CPP_From_Beginner_to_Expert/11 Structures and Classes - Object Oriented Programming/048 C-SOURCE-CODE-for-Converting-Constructor-and-Overloading-Operators/integer/integer.cpp | 127e2664e0da1101eacde01e0a6d2aa5cc1f1164 | [] | no_license | syurskyi/CPP_Topics | b9a481fa828fb763fe4e21388cd04b4e90c2cd96 | c9851ab9e254e2fc01ab1bb819ca1d642f623fae | refs/heads/master | 2022-12-11T16:12:49.219989 | 2020-09-01T22:36:08 | 2020-09-01T22:36:08 | 277,678,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp | ? "integer.h"
? |i..
u.. s..
in.eger::in.eger(in. nr)
{
t..__nr _ nrsy.. p..
}
in.eger::op.. in.()
{
r_ t..__nrsy.. p..
}
in. in.eger::op..+_(in.eger o)
{
t..__nr _ o.getNr() + t..__nrsy.. p..
r_ t..__nrsy.. p..
}
| [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
f295db60188e6d8b7941de2eef56eb2ad906ec70 | 7f335c36cf1475ce28e57aff7745c11b743f5089 | /test/test.hpp | 2ee5a6950c9738d25efa3db2831b97c5a02e7eab | [
"BSD-3-Clause"
] | permissive | mavam/libbf | e966a90c67a87c27b4e2bea6cfb897e6dfa30d4d | 4c9efc1a4db7ed1ccf54cf0bd3a3641ce579206c | refs/heads/master | 2023-06-15T16:34:12.784086 | 2021-12-19T05:25:56 | 2021-12-19T05:32:58 | 1,764,600 | 313 | 89 | BSD-3-Clause | 2020-06-28T18:53:43 | 2011-05-18T05:36:26 | C++ | UTF-8 | C++ | false | false | 590 | hpp | #ifndef TEST_TEST_H
#define TEST_TEST_H
#ifdef SUITE
#define CAF_SUITE SUITE
#endif
#include "unit_test_impl.hpp"
// Logging
#define ERROR CAF_TEST_ERROR
#define INFO CAF_TEST_INFO
#define VERBOSE CAF_TEST_VERBOSE
#define MESSAGE CAF_TEST_VERBOSE
// Test setup
#define TEST CAF_TEST
#define FIXTURE_SCOPE CAF_TEST_FI... | [
"vallentin@icir.org"
] | vallentin@icir.org |
70e66fe4442649d88d2c80f7fc2352faf2c820eb | 70a790e8adc05444c6bf6854c9602bcc8343ebf3 | /task3c/matrix.h | 3347d4c254b1365c6cf898773a91b49d003a1367 | [] | no_license | via96/InfoSecurity | cc4774cfddb3240d3ad27d26da36939948f17547 | 151a612c999e95e754478cb11fe10298279016c4 | refs/heads/master | 2021-01-19T10:34:29.803393 | 2017-03-01T17:53:06 | 2017-03-01T17:53:06 | 82,210,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | #ifndef MATRIX_H
#define MATRIX_H
#include <QCoreApplication>
#include <QSet>
#include <ctime>
class Matrix
{
public:
Matrix();
bool EncodeWord(QString inputStr);
QString DecodeWord(QString inputStr);
QString GetCodeWord();
private:
bool mask[4][4];
QChar code[4][4];
void FillMask();
vo... | [
"via96rus@gmail.com"
] | via96rus@gmail.com |
4a137184473bb28bf65b007f77dd4486a50c9764 | a20ebea1166b7dd094b9b6ee88626ab74ff315a4 | /source_code/Scenes/Game/wall_collision_checker.cpp | c1a25d1d2ac7d326e8c0daf281eddc9f6495159f | [
"MIT"
] | permissive | sd2017/Pac-Man | 286db700a59dc915455be9a565cc72890de8ff85 | 46b15ee00a4159696686080ea20f119736f15f45 | refs/heads/master | 2022-02-12T20:26:38.576630 | 2017-03-14T21:14:24 | 2017-03-14T21:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,049 | cpp | #include "game.h"
int collider_wall_index;
bool is_collide_when_right_walking()
{
for(int i = 0; i < WallsManager::NumberOfWalls(); i++ )
{
if( PacMan::GetX() + PacMan::GetWidth() >= WallsManager::Get(i).x - ((GamePanel::GetHeight() / 30 - PacMan::GetWidth()) / 2))
{
if( PacMan::Ge... | [
"georgi.dancheff@gmail.com"
] | georgi.dancheff@gmail.com |
ea4762e4b5aa280c5a2f3ef296bc1a57369a633c | 70d468df1bb8b959a6964dbde0b7af56bc5a47f2 | /text_generator.h | f22fab39a077c10f1bab27798604eb4be69fc71f | [] | no_license | darkraven74/TextGenerator | e4bbc43266ab7ff7523b95c64686cd83605631fd | 341e7ee8411ff93b406bc920ba2e05b87a2b9f0c | refs/heads/master | 2016-08-11T13:26:36.915324 | 2015-12-09T10:52:14 | 2015-12-09T10:52:14 | 47,180,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | //
// Created by darkraven on 01.12.15.
//
#ifndef TEXTGENERATOR_TEXT_GENERATOR_H
#define TEXTGENERATOR_TEXT_GENERATOR_H
#include <string>
#include <vector>
#include <map>
class text_generator
{
public:
text_generator(std::string input_file);
std::vector<std::string> generate(int output_size);
private:
... | [
"darkraven8@gmail.com"
] | darkraven8@gmail.com |
08b96d86045a091d6c76e02247deb24eaedd1732 | fb5bcb71d446721803ad653e1dced31d3d3c71ca | /tests/c/timelib_decimal_hour.cpp | cf7877f56d677f8c699928962523112759fd129d | [
"MIT"
] | permissive | derickr/timelib | 4eef46596112b626c084a94449bd1e7a32dffb86 | d367c1202da2f7871265d006287fe5137ceea310 | refs/heads/master | 2023-09-03T12:55:56.206840 | 2023-08-03T08:29:56 | 2023-08-03T08:29:56 | 25,979,462 | 109 | 81 | MIT | 2023-08-03T08:31:29 | 2014-10-30T16:24:11 | C | UTF-8 | C++ | false | false | 3,002 | cpp | #include "CppUTest/TestHarness.h"
#include "timelib.h"
TEST_GROUP(decimal_hour)
{
};
TEST(decimal_hour, convertPositiveHMSToDecimal)
{
int hour = 2, min = 19, sec = 48;
double d;
timelib_hms_to_decimal_hour(hour, min, sec, &d);
DOUBLES_EQUAL(2.33, d, 0.00001);
}
TEST(decimal_hour, convertZeroHMSToDecimal)
{
i... | [
"github@derickrethans.nl"
] | github@derickrethans.nl |
5fdf43d524f3ff7596808e9783e8e3c897103048 | 0edbcda83b7a9542f15f706573a8e21da51f6020 | /private/shell/ext/ratings/msrating/picsuser.cpp | 87740ee4ef76005cc34dd538e649746e805a2e75 | [] | no_license | yair-k/Win2000SRC | fe9f6f62e60e9bece135af15359bb80d3b65dc6a | fd809a81098565b33f52d0f65925159de8f4c337 | refs/heads/main | 2023-04-12T08:28:31.485426 | 2021-05-08T22:47:00 | 2021-05-08T22:47:00 | 365,623,923 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 13,490 | cpp | /****************************************************************************\
*
* PICSUSER.C -- Structure for holding user information
*
* Created: 02/29/96 gregj
* from original sources by t-jasont
*
\****************************************************************************/
/*Includes------------... | [
"ykorokhov@pace.ca"
] | ykorokhov@pace.ca |
eedb75c2d73a1b818411b4a07cdff89925dfb9d5 | cc6f5216f460f06bdc047fed39ac0e7cebd73cfa | /NTHU_OJ_Codes/7506_-_Help_is_needed_for_Kerker.cpp | 06d827dc5ef0601c0b33332edb3cf0975ed54c11 | [] | no_license | henryyang42/C_CPP_Codes | e90d01b03f248c0fbac55542c3c39083ff8a6fe2 | 8d4a686f49f4d565427f68b46039ad5d5626dc38 | refs/heads/master | 2021-01-18T21:43:28.614381 | 2016-04-10T05:38:00 | 2016-04-10T05:38:00 | 16,172,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | #include<stdio.h>
int main(){
int n, i;
while(scanf("%d", &n) > 0){
for(i = 0; i < 32; i++)
if(!(n >> i))
break;
printf("%d\n", i);
}
return 0;
}
| [
"henry@HenryAlmighty.(none)"
] | henry@HenryAlmighty.(none) |
afead58bb58ece46b4e11b76137b97324c00501c | dc88766d67755aaed03b653a9b9a71993b8d1863 | /ctl/dbmigrations/m0003_create_usersettings_table.h | 640a1e73f253ce15ff16b41e12f80d2ffd2df128 | [] | no_license | Huessenbergnetz/Meldari | 1b6dd91fe9422e9f46db3aa33bc8d1f0f20725b1 | fe00233ef723b91f4a685acec5212848459c35bf | refs/heads/master | 2023-02-23T09:33:50.088039 | 2023-02-12T08:49:26 | 2023-02-12T08:49:26 | 166,388,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | h | /*
* SPDX-FileCopyrightText: (C) 2022 Matthias Fehring <https://www.huessenbergnetz.de>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#ifndef M0003_CREATE_USERSETTINGS_TABLE_H
#define M0003_CREATE_USERSETTINGS_TABLE_H
#include <Firfuorida/Migration>
class M0003_Create_Usersettings_Table final : public Firfuorid... | [
"mf@huessenbergnetz.de"
] | mf@huessenbergnetz.de |
5a9735f2f34849402c42a1d2d4f1a74a0342b42c | 389bb6ba4bab2734d349e4e33aba8f1f03214743 | /third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/formatutils9.h | f0a56917d29844b990ea093e8bd80b0e9f88f492 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zhaodm/skia_sdl | cf4969c28fe5c887b2eb6fa2e63e7c4b973d951e | 8724ae26584df523eb7bb814ffe7aec5f597d187 | refs/heads/master | 2021-01-22T01:55:17.273074 | 2015-01-05T08:06:42 | 2015-01-05T08:06:42 | 28,795,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | h | //
// Copyright (c) 2013-2014 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// formatutils9.h: Queries for GL image formats and their translations to D3D9
// formats.
#ifndef LIBANGLE_RENDERER_D3D_D3D9_FORMATU... | [
"zhaodemin2010@gmail.com"
] | zhaodemin2010@gmail.com |
fa11261ae78548b2577d8f8a0316f9017c92cbef | 4bf2ee10c6594f70c32feb3bcb50eec186daa9cf | /solutions/2515/2515.cpp14.cpp | 53b38d8343a9102bb77b0e7ac7928595a92329df | [] | no_license | jwvg0425/boj | 7674928dc012ba3c404cef3a76aa753828e09761 | 4b7e7389cbe55270bd0dab546d6e84817477b0f1 | refs/heads/master | 2020-07-14T02:37:36.658675 | 2017-07-13T06:11:44 | 2017-07-13T06:11:44 | 94,295,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | cpp | #include<stdio.h>
#include<stdlib.h>
int N,S,cost[300000],next[300000],m[300001];
struct picture
{
int h,c;
};
picture pic[300000];
int max(int a,int b){return (a>b)?a:b;}
int compare(const void* a,const void* b)
{
return ((picture*)a)->h-((picture*)b)->h;
}
int show(int selected)
{
if(cost[selected]!=0)r... | [
"jwvg0425@naver.com"
] | jwvg0425@naver.com |
cef443f5d26f0895c6a14ed6561dc10a72e25aa6 | 02ffa7f4adb5bc2ea4c7e3077f985e81033eeb26 | /src/audiosystems/OpenSLES/OpenSLES_Player.h | 7acbb9b1b66418bf97c373422ad926fbdab78389 | [
"BSD-3-Clause"
] | permissive | gerasim13/libxal | eb4b3f8e5f248b2f18ac3d1ff411725970660140 | 8a685456e1d01154597e6e0f1bf37ae73d769401 | refs/heads/master | 2023-04-07T13:25:15.125788 | 2014-07-30T13:22:03 | 2014-07-30T13:22:03 | 24,917,155 | 0 | 0 | BSD-3-Clause | 2023-04-04T01:10:21 | 2014-10-08T00:04:20 | null | UTF-8 | C++ | false | false | 1,690 | h | /// @file
/// @version 3.2
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
///
/// @section DESCRIPTION
///
/// Represents an implementation of the Player for OpenSLES.
#ifde... | [
"boris.blizzard@ea0b51eb-d998-e50a-db7b-7bccbe951d2a"
] | boris.blizzard@ea0b51eb-d998-e50a-db7b-7bccbe951d2a |
b4e9ddfd89219d141fc7e90fc5ba0c6a2117b872 | f933e1a6fd141d1ed1d6348e80bc86cc419e127e | /dump_imu_data_for_calibration_with_imutk/src/dump_imu_data_for_calibration_with_imutk_alg.cpp | a5eb8a8d61a86c8ea44570e91ba43a95a41e967e | [] | no_license | XiaoJake/aurova_preprocessed | b3b98d5927813fe98904d438b77c09245f82fa41 | 928888536e0ceb5366879768d7deaadd80d437b9 | refs/heads/master | 2023-03-01T10:13:29.807490 | 2021-01-15T11:14:34 | 2021-01-15T11:14:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | #include "dump_imu_data_for_calibration_with_imutk_alg.h"
DumpImuDataForCalibrationWithImutkAlgorithm::DumpImuDataForCalibrationWithImutkAlgorithm(void)
{
pthread_mutex_init(&this->access_,NULL);
}
DumpImuDataForCalibrationWithImutkAlgorithm::~DumpImuDataForCalibrationWithImutkAlgorithm(void)
{
pthread_mutex_dest... | [
"idelpino@iri.upc.edu"
] | idelpino@iri.upc.edu |
b3f10fdd0f2cca439deb58caac1e33ae5e7fc3e8 | 26e0f1ce7789dd6b5eb9c0971c3438c666f42880 | /list/141.linked-list-cycle.cpp | 352875df88c6bf0738887719faab44975e4deed6 | [] | no_license | yanmulin/leetcode | 81ee38bb8fbe8ca208bc68683d0ffb96b20f2b68 | 7cc1f650e1ba4d68fb3104aecf3dfbb093ad9c1d | refs/heads/master | 2020-12-05T01:39:32.290473 | 2020-08-19T03:47:23 | 2020-08-19T03:47:23 | 231,969,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
bool hasCycle(ListNode *head) {
unordered_set<ListNode*> seen;
ListNode *p = head;
while (p) {
i... | [
"yans1996@outlook.com"
] | yans1996@outlook.com |
c55f9ee89039a4ee0db0758e488676042057c5aa | 6c849c1bf9176b4a63a767b0b27f84fb48c45157 | /trunk/src/lib/libInText/XMLView.cpp | 315a5cd7fdffd0a7eb2a1a157aaf1a8ba1748537 | [] | no_license | BackupTheBerlios/osim-svn | cd462e369ba46acfb32c8680a6684b55a1aaee1d | c3c3b9cfa974f77051ec16cbe57c46d1383a15ff | refs/heads/master | 2020-05-29T19:02:40.697175 | 2006-04-28T20:59:21 | 2006-04-28T20:59:21 | 40,802,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,210 | cpp | /*
Copyright (c) 2004 Bart Upchurch
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, distribut... | [
"bbsterling@dfb06f3c-80fc-0310-805d-ffdc86474b6d"
] | bbsterling@dfb06f3c-80fc-0310-805d-ffdc86474b6d |
fe997cbeb11a97f42c0a4b8f11ccb4df7d199339 | dccaab4cb32470d58399750d457d89f3874a99e3 | /3rdparty/include/Poco/FormattingChannel.h | 61c10129d5cba14ad97801f335e403d2110e263b | [] | no_license | Pan-Rongtao/mycar | 44832b0b5fdbb6fb713fddff98afbbe90ced6415 | 05b1f0f52c309607c4c64a06b97580101e30d424 | refs/heads/master | 2020-07-15T20:31:28.183703 | 2019-12-20T07:45:00 | 2019-12-20T07:45:00 | 205,642,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,483 | h | //
// FormattingChannel.h
//
// Library: Foundation
// Package: Logging
// Module: Formatter
//
// Definition of the FormattingChannel class.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef Foundation... | [
"Rongtao.Pan@desay-svautomotive.com"
] | Rongtao.Pan@desay-svautomotive.com |
fab2ed51b520ae5b2786d56bd25b49b9b86f2ceb | c842c4f5699dc8c9648e534115874c3c04ab5ed2 | /output/android/obj/include/com/arm/demo/components/bunnymark/BunnymarkView.h | b49eb44842efe8382f41dd0daca43d0d111c5ebf | [] | no_license | adireddy/fluid | 70641cc166cf6e4602098043e12b130779ad3edd | 7c92e27810ad7712969828ed7d55e9ec12737987 | refs/heads/master | 2021-01-17T07:19:24.552279 | 2014-11-05T13:08:48 | 2014-11-05T13:08:48 | 26,075,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,112 | h | #ifndef INCLUDED_com_arm_demo_components_bunnymark_BunnymarkView
#define INCLUDED_com_arm_demo_components_bunnymark_BunnymarkView
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#include <com/arm/demo/components/GameComponentView.h>
HX_DECLARE_CLASS4(com,arm,demo,components,GameComponentView)
HX_DECLARE_CLASS5(com,arm,demo... | [
"Adi.Mora@Gamesys.co.uk"
] | Adi.Mora@Gamesys.co.uk |
efe102944f779aa1827418cf7ecae183cfa6a09d | 56f4e6db361740d668d2f5d0151a54f80153575e | /clibalgserver/code/exe/cat.cpp | 020e71431a9173dd26936bbb53f93edfc292162e | [
"MIT"
] | permissive | zhangbinghua/clibalgserver | 0fdde11ba4f497c636bb1f13c43263dd1a7e139f | 0a464b1657c70244d18345ab8b2a4f222b32c18a | refs/heads/master | 2022-03-03T21:22:35.466388 | 2019-10-08T02:29:38 | 2019-10-08T02:29:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | #include "/include/io"
#include "/include/fs"
int read_file(int handle) {
int c;
while (c = read(handle), c < 0x1000) {
put_char(c);
}
switch (c) {
case 0x2000:
// put_string("[INFO] Read to the end.");
break;
case 0x2001:
set_fg(240, 0, 0);
... | [
"bajdcc@foxmail.com"
] | bajdcc@foxmail.com |
f54ead47b7c6a885f933db64943000bfee1df495 | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /PYTHIA8/pythia8243/examples/main71.cc | 35e18fd271657a3303a5600ceb6b26b1a8cbab69 | [
"GPL-2.0-only",
"GPL-1.0-or-later"
] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 8,307 | cc | // main71.cc is a part of the PYTHIA event generator.
// Copyright (C) 2019 Richard Corke.
// PYTHIA is licenced under the GNU GPL v2 or later, see COPYING for details.
// Please respect the MCnet Guidelines, see GUIDELINES for details.
/*
* Simple example of fastjet analysis. Roughly follows analysis of:
* T. Aalto... | [
"pzhristov@users.noreply.github.com"
] | pzhristov@users.noreply.github.com |
1760ff0fc5f47aa0f8cea56920bea3819513f406 | 06e45aba26b42f13e4fa111cf7e7701433fb5a82 | /Firmware/New_Servo/Version_5.0/FFRDFirmware_newServo/ServoCds55.cpp | b1db31a0a07bfb4298f250428a3b309555c5323b | [] | no_license | sdasd12312wasdasd/DaVinci | 860a50fe4d51594acd7a055d394d352dbb348ea9 | 9bca36f8e547e2e505c937dcf3a9f7fa71c239df | refs/heads/master | 2021-06-16T21:39:11.016047 | 2017-05-26T04:10:50 | 2017-05-26T04:10:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,196 | cpp | /*
----------------------------------------------------------------------------------------
"Copyright 2014-2015 Intel Corporation.
The source code, information and material ("Material") contained herein is owned by Intel Corporation
or its suppliers or licensors, and title to such Material remains with Intel Cor... | [
"davinci.core@intel.com"
] | davinci.core@intel.com |
4bd2721ccd0d194ba3479e36d9a3098f221461c5 | 37f96d33bde8dcb88a11c1149c306844a2b81a38 | /ZetaCore/src/util/mathutil.h | a0bbb1bfe5318fe3c08ac430c39902b91542cada | [] | no_license | OlisProgramming/Zeta | f9f680e4c6897e69718c3c93070eb7c3f889fb46 | 79a8d558ceda04a1839af94be878c0991fc96854 | refs/heads/master | 2021-01-22T07:52:26.421267 | 2017-07-02T15:56:22 | 2017-07-02T15:56:22 | 92,582,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | h | #pragma once
#define pi_f 3.14159265358979f
#define pi_d 3.14159265358979
#define pi pi_f
namespace zeta {
namespace util {
template<typename T> inline static T clamp(T value, T minimum, T maximum) { return min(max(value, minimum), maximum); }
template<typename T> inline static T clamp01(T value) { return min(m... | [
"oli.wilshaw@gmail.com"
] | oli.wilshaw@gmail.com |
e474c3356b2cbe66cc4a7b58b74ccc7aed8c5421 | 38c10c01007624cd2056884f25e0d6ab85442194 | /third_party/WebKit/Source/modules/bluetooth/BluetoothGATTRemoteServer.h | 6c1f74c5f08ec1219050f27179c36187ad21d0b1 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | 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 | 1,825 | h | // 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.
#ifndef BluetoothGATTRemoteServer_h
#define BluetoothGATTRemoteServer_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/modules/v8/Union... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
230c7179fca376d8820d843fe35efa98d2390256 | 22c0563cebd618cc7cd41f6639443208c8db365d | /146-LRU Cache.cpp | 243d2035e98156ea4f710cd9acdd5daaaf01251a | [
"MIT"
] | permissive | iaxax/leetcode | 21e8799383380eaaf9c91a23d53ddb11637b3106 | 47f0ed33fe943c40c31e237453b82731688b70ce | refs/heads/master | 2021-07-16T19:07:12.610850 | 2019-01-13T08:26:56 | 2019-01-13T08:26:56 | 112,853,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | cpp | class LRUCache {
public:
LRUCache(int capacity) {
this->capacity = capacity;
}
int get(int key) {
if (cache.find(key) != cache.end()) {
touch(key);
return cache[key];
}
else {
return -1;
}
}
void pu... | [
"1483809252@qq.com"
] | 1483809252@qq.com |
4bd9e0024a656a98c6dfbc7a5eb4c50d4f46f745 | fcfd45b739fb5118cb605fc5f9967a6f6d5dfd4c | /Enemy.h | 33ca8a51c39f6dddf58159aa5fa3dcb1e2541732 | [] | no_license | ReinaArionAlkira/King-Of-The-Targor-Mountain | 339d3fe344a80060d6b05c2855c5a05f21f9c7ef | 7c9aaec5f41ea1e560499b32c274d7d1416bf6fa | refs/heads/main | 2023-03-09T20:12:23.936056 | 2021-02-06T10:08:15 | 2021-02-06T10:08:15 | 327,671,369 | 2 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 513 | h | #pragma once
#include "GlobalFunctions.h"
class Enemy {
private:
int index;
string name;
int strength;
//dodatkowe lub ujemne obrażenia przeciw danej klasie
int clasAd;
int adds;
public:
Enemy(int idx = 0, string = "mobs.txt");
virtual ~Enemy();
//Functions
inline bool isAlive() { return this->strength != ... | [
"Renatis.wes00@gmail.com"
] | Renatis.wes00@gmail.com |
ba1252a931a844bb2f17645e002a353f3af41efc | a4ace471f3a34bfe7bd9aa57470aaa6e131012a9 | /LintCode/200_Longest-Palindromic-Substring/200_Longest-Palindromic-Substring-V5.cpp | 9705107a36a3e7812722f98641671f4cb6304127 | [] | no_license | luqian2017/Algorithm | 52beca787056e8418f74d383f4ea697f5f8934b7 | 17f281fb1400f165b4c5f8bdd3e0500f6c765b45 | refs/heads/master | 2023-08-17T05:37:14.886220 | 2023-08-08T06:10:28 | 2023-08-08T06:10:28 | 143,100,735 | 1 | 3 | null | 2020-10-19T07:05:21 | 2018-08-01T03:45:48 | C++ | UTF-8 | C++ | false | false | 811 | cpp | class Solution {
public:
/**
* @param s: input string
* @return: the longest palindromic substring
*/
string longestPalindrome(string &s) {
int len = s.size();
int new_len = len * 2 - 1;
string longest_palindrome;
int longest_len = 0;
//assume abc=>a#b#c
... | [
"luqian.ncsu@gmail.com"
] | luqian.ncsu@gmail.com |
eb484e0ba48d851d42dc681c7e74bb2af9c3a05e | 2c4723adc671096367d969288da1edd617a69384 | /LastStand/FSpotLightComponent.h | e7eafcd802884c5f99dbc024c0fb6275c2845205 | [] | no_license | Jorjatorz/LastStand | 0de83703136ca1622dd994683a94bbd22ab358f8 | ffcf7a4edaeecbbf6bcf5b2a3a06552d7fb332fe | refs/heads/master | 2020-06-06T06:28:05.965514 | 2015-12-27T19:43:01 | 2015-12-27T19:43:01 | 28,826,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | h | #pragma once
#include "FLightComponent.h"
//Component that creates a spot light. This light illuminates in a direction from a discrete source point in world.
class FSpotLightComponent : public FLightComponent
{
public:
FSpotLightComponent(std::string name, FActor* actor);
~FSpotLightComponent();
virtual lightType... | [
"jorjatorz@gmail.com"
] | jorjatorz@gmail.com |
8dae873995318bae529f7e8893b151188531754b | abff3f461cd7d740cfc1e675b23616ee638e3f1e | /opencascade/StepVisual_TextLiteral.hxx | c60783f7b46bc1d2aa1c47acecfda578747a7298 | [
"Apache-2.0"
] | permissive | CadQuery/pywrap | 4f93a4191d3f033f67e1fc209038fc7f89d53a15 | f3bcde70fd66a2d884fa60a7a9d9f6aa7c3b6e16 | refs/heads/master | 2023-04-27T04:49:58.222609 | 2023-02-10T07:56:06 | 2023-02-10T07:56:06 | 146,502,084 | 22 | 25 | Apache-2.0 | 2023-05-01T12:14:52 | 2018-08-28T20:18:59 | C++ | UTF-8 | C++ | false | false | 2,814 | hxx | // Created on: 1995-12-01
// Created by: EXPRESS->CDL V0.2 Translator
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the te... | [
"adam.jan.urbanczyk@gmail.com"
] | adam.jan.urbanczyk@gmail.com |
d7b135de96bd2c85d207a23a7b06183a42402f0f | da86d9f9cf875db42fd912e3366cfe9e0aa392c6 | /2020/solutions/D/AMM-Sofia-smg/AMM/password.cpp | 5e3eb34060efae913fa1ad3b938b088e24e8c17f | [] | no_license | Alaxe/noi2-ranking | 0c98ea9af9fc3bd22798cab523f38fd75ed97634 | bb671bacd369b0924a1bfa313acb259f97947d05 | refs/heads/master | 2021-01-22T23:33:43.481107 | 2020-02-15T17:33:25 | 2020-02-15T17:33:25 | 85,631,202 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,016 | cpp | #include <bits/stdc++.h>
using namespace std;
string a;
int s[26];
int main ()
{
int i,br=1,k,j=0-1;
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin>>a;
for(i=0;i<a.size();i++)
{
s[a[i]-'a']++;
}
for(i=0;i<a.size()-1;i++)
{
if(a[i]==a[i+1])
... | [
"aleks.tcr@gmail.com"
] | aleks.tcr@gmail.com |
b1e9c64397970d4b3065f559954bf1342a6ff66b | 73a351922296369f9f4efc843064e9b92271b2d8 | /ImageViewerUI/CircularList.h | bb8fced92308f001371a7d6df1067104a6c574bc | [] | no_license | amannan-123/ImageViewer | 7153cae17ef41ae17c83977110dc4de3e479ae35 | c5a8e4f60aaf9aabd823bbbddca7080417845ef6 | refs/heads/master | 2023-02-22T04:28:10.706889 | 2021-01-22T18:31:30 | 2021-01-22T18:31:30 | 332,031,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,627 | h | /*
Project: Image Viewer App using Circular Doubly Linked List
Author: Abdul Mannan
*/
using namespace System;
namespace ImageViewerUI {
#pragma region Struct
#pragma unmanaged
template <typename T>
struct ListNode
{
public:
int key = -1;
T data;
ListNode<T>* next = nullptr;
ListNode<T>* prev = nullptr;
... | [
"tanveer6110@gmail.com"
] | tanveer6110@gmail.com |
db7b0e6c15fbd3b0cb20bd30680b53248d377d33 | 24fa8baf88e25d9afaf2670c566b48b8d0375b8e | /CalendarTest/inc/Form1.h | b8fdc14314c98304ce2e4e7e9f4420d9e901680f | [] | no_license | iRail/BeTrains.Bada | 0490fcb832f26d1ba2747cadf72e7c3bf6275875 | 6f83b587c11f8003c61826e894a7372bc909bb5f | refs/heads/master | 2016-09-10T15:05:06.758587 | 2011-10-02T18:44:47 | 2011-10-02T18:44:47 | 1,099,831 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | #ifndef _FORM1_H_
#define _FORM1_H_
#include <FBase.h>
#include <FUi.h>
class Form1 :
public Osp::Ui::Controls::Form,
public Osp::Ui::IActionEventListener
{
// Construction
public:
Form1(void);
virtual ~Form1(void);
bool Initialize(void);
// Implementation
protected:
static const int ID_BUTTON_OK = 101;
Osp:... | [
"bart.bruynooghe@gmail.com"
] | bart.bruynooghe@gmail.com |
a139de77dce8ec0501389cfc477d5f42a3218f9c | 1901bdbaf57584e7c5ec21643db340f9d98d6807 | /training/src/compiler/training/base/optimizers/RMSprop.h | beb208b2aed66f5e65d944b35f168402346b4ab2 | [
"MIT"
] | permissive | huawei-noah/bolt | 2a4febe5f5cce64e3589c2782c489d59975eb6a3 | cf4ca8f8646a8e30ddf91c29a18743d75ac1c172 | refs/heads/master | 2023-08-28T13:36:34.815244 | 2023-06-12T01:24:41 | 2023-06-12T01:24:41 | 225,365,905 | 889 | 168 | MIT | 2023-06-12T01:24:42 | 2019-12-02T12:06:12 | C++ | UTF-8 | C++ | false | false | 2,631 | h | // Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved.
// 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,... | [
"jianfeifeng@outlook.com"
] | jianfeifeng@outlook.com |
61166abe3468fb4874506a4a9c06608d00b09c99 | 7dc3648dca4bd22c3ac5a59c96687fc8baf72d02 | /APro4/examples/cbuilder/ExMDI1.h | 6ba18110d8f661276afb63a765d43f6cd0771164 | [] | no_license | bravesoftdz/work | 53fd5aa2baa79751b32645557352a0af262e8c76 | c9d1bc8645dced6db136b50fe0ec80743a1adb3c | refs/heads/master | 2020-03-25T10:21:18.478804 | 2018-08-04T18:12:56 | 2018-08-04T18:12:56 | 143,691,114 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,949 | h | // ***** BEGIN LICENSE BLOCK *****
// * Version: MPL 1.1
// *
// * The contents of this file are subject to the Mozilla Public License Version
// * 1.1 (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.mozilla.org/MPL/
// *
// ... | [
"asouza@pinogy.com"
] | asouza@pinogy.com |
f3e3e43f024513869185df3359d1736113ee10dc | e8ce6d40f69b614e7420c64edce4ef0cce79893d | /1437.cpp | e66e9fd2303d6de1c6135f33b65bf481cc408a60 | [] | no_license | Eberty/CodigosURI | 1a23af25454bc059f9cfabce1678c7d2b053aec9 | 65a43c59a8594940312cc4526fe63536b2ca31f2 | refs/heads/master | 2020-05-14T02:04:55.348762 | 2019-08-05T03:00:45 | 2019-08-05T03:00:45 | 181,687,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, pos;
string str;
cin >> n;
while (n){
pos = 0;
cin >> str;
for(int i=0; i<n; i++){
if (str[i] == 'D')
pos = (pos+1)%4;
else
pos--;
if (pos < 0)
pos = 3;
}
if (pos == 0)
printf("N\n");
else if (pos == 1)
... | [
"eberty.silva@hotmail.com"
] | eberty.silva@hotmail.com |
c1a70b7be41689e09d5dc120478c3d2a18047497 | 0897560a7ebde50481f950c9a441e2fc3c34ba04 | /10.0.15042.0/winrt/internal/Windows.System.Diagnostics.TraceReporting.3.h | 0ab25e277e8b8622d1edb90efc65870cd84a8add | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | dngoins/cppwinrt | 338f01171153cbca14a723217129ed36b6ce2c9d | 0bb7a57392673f793ba99978738490100a9684ec | refs/heads/master | 2021-01-19T19:14:59.993078 | 2017-03-01T22:14:18 | 2017-03-01T22:14:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,358 | h | // C++ for the Windows Runtime v1.0.private
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "Windows.System.Diagnostics.TraceReporting.2.h"
WINRT_EXPORT namespace winrt {
namespace Windows::System::Diagnostics::TraceReporting {
struct PlatformDiagnosticActions
{
Platform... | [
"kwelton@microsoft.com"
] | kwelton@microsoft.com |
f9161ac6bccb4f448033f5b4c1961e15beb087e0 | 43f42ad2f03d91cd293c5d877c5008b200a518fc | /VS_test/alpha_weight.cpp | 6ab85c9454f53b0d18f193550ac7f35011bda9cb | [] | no_license | galijunjun/MYOpenCV | 6f6dc19c92bccf7ae3590b9096fcadaab8acffe0 | 8c611d52a37d1dc34acf880a058359b8e64a69d8 | refs/heads/master | 2021-04-07T14:11:28.133795 | 2020-03-20T07:12:56 | 2020-03-20T07:12:56 | 248,682,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | #include<iostream>
#include<opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int alpha=10;
int max_alpha=100;
Mat src1;
Mat src2;
Mat roi;
Mat dst;
char barname[50];
void onchange(int,void*);
int main()
{
src1=imread("fj1.jpeg");
src2=imread("fj2.jpg");
imshow("1",src1);
imshow("2",src2);
... | [
"2939739985@qq.com"
] | 2939739985@qq.com |
ca0a3c0ebb79431cf2f08479d43c4d07c33a2087 | 73b54d7ec2207967fc68839202c960858f3860bb | /project/getaddressforsave.cpp | 84f84f26d79e033a9d0723e3132b9ba991873631 | [] | no_license | mehrdad76/memari | a5abbd7ee7a89ce96700a8efd3fe25834fafb4cd | edbed8aca0e7d81fe9564dc0858e1c4227aded29 | refs/heads/master | 2023-06-05T09:34:22.361016 | 2021-06-25T22:13:10 | 2021-06-25T22:13:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | #include "getaddressforsave.h"
#include "ui_getaddressforsave.h"
#include "mainwindow.h"
using namespace std;
getAddressForSave::getAddressForSave(QWidget *parent) :
QDialog(parent),
ui(new Ui::getAddressForSave)
{
ui->setupUi(this);
}
getAddressForSave::~getAddressForSave()
{
delete ui;
}
void getA... | [
"mehrdadkarrabi1997@gmail.com"
] | mehrdadkarrabi1997@gmail.com |
5bdb6a8b16879eec5d5408da55ca6ab052008c68 | 9246a454516df6c73a2c2e64258bbebf08d905cc | /Rixie.cpp | a12cc634cc556794d3c7acbfa5a0dde9f896a32c | [] | no_license | Frama-99/Rixie | 884c6b6aef0d9928d10664bef198b51637e434d2 | c05bc80a1c4232cfc578e2ae1dd1a02784f96da1 | refs/heads/main | 2023-04-09T22:55:48.155221 | 2021-04-05T13:40:51 | 2021-04-05T13:40:51 | 354,846,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,659 | cpp | #include "Rixie.h"
#include <Thread.h>
#include <ThreadController.h>
Rixie::Rixie(int numPixels, int dataPin, std::vector<std::vector<int>> numToPix)
{
_pixels = new Adafruit_NeoPixel(numPixels, dataPin, NEO_GRB + NEO_KHZ800);
_numToPix = numToPix;
}
void Rixie::begin()
{
_pixels->begin();
}
void Rixie::... | [
"ma990801@gmail.com"
] | ma990801@gmail.com |
0cec313d6f0e241f6d6247c916e41d0ab74aa05d | 47cb4a8a7592d2df3d7b4ddb2d8db7f155523bac | /libel/base/Mutex.cpp | 097e92356759be1e66a7eb2efae60de244506774 | [] | no_license | irvingow/libel | 05d7d167d92688edc46a519576d63e8b88a994fe | 967122566b1b1fd79f86f9ca7149c217c6782996 | refs/heads/main | 2023-02-27T16:19:16.027148 | 2021-01-21T11:06:06 | 2021-01-21T11:06:06 | 321,997,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63 | cpp | //
// Created by kaymind on 2020/11/20.
//
#include "Mutex.h"
| [
"lwj102153@gmail.com"
] | lwj102153@gmail.com |
e6ef8b14333a19a2252138d56d12bec2f13076f7 | 09e5cfe06e437989a2ccf2aeecb9c73eb998a36c | /modules/cctbx_project/xfel/mono_simulation/bandpass_gaussian.h | 7228d2fe4dd05c1d1b7c81559d8aea48be7fd980 | [
"BSD-3-Clause-LBNL",
"BSD-3-Clause"
] | permissive | jorgediazjr/dials-dev20191018 | b81b19653624cee39207b7cefb8dfcb2e99b79eb | 77d66c719b5746f37af51ad593e2941ed6fbba17 | refs/heads/master | 2020-08-21T02:48:54.719532 | 2020-01-25T01:41:37 | 2020-01-25T01:41:37 | 216,089,955 | 0 | 1 | BSD-3-Clause | 2020-01-25T01:41:39 | 2019-10-18T19:03:17 | Python | UTF-8 | C++ | false | false | 27,587 | h | #ifndef SCALE_BANDPASS_GAUSSIAN_H
#define SCALE_BANDPASS_GAUSSIAN_H
#include <cmath>
#include <rstbx/bandpass/parameters.h>
#include <xfel/mono_simulation/vector_collection.h>
#include <scitbx/array_family/flex_types.h>
#include <scitbx/lbfgs.h>
#include <scitbx/mat2.h>
#include <rstbx/bandpass/subpixel_joint_model.h>
... | [
"jorge7soccer@gmail.com"
] | jorge7soccer@gmail.com |
fb98b5f98bdb338f7e92c706fecb0063d7e965ad | e761acbd47c995486b61f2d78fb3fce1c207310c | /RTPHeaderTest/main.cpp | 56ae094490f05eb7abdf43609c7ab1389de390b8 | [] | no_license | zhenyouluo/RTPHeaderTest | 411d1eca1ceb7f4d67f6ff3a700ac3801be3c9ec | cb11f21d4e4d2fb5588f4bcfe67005a120980c3c | refs/heads/master | 2021-01-18T12:33:13.838779 | 2015-11-25T21:20:22 | 2015-11-25T21:20:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,267 | cpp | //
// main.cpp
// RTPHeaderTest
//
#include <iostream>
#include "RtpHeaders.h"
#include <inttypes.h>
using namespace std;
// 0 1 2 3
// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+... | [
"jay.prall@affectiva.com"
] | jay.prall@affectiva.com |
8d80b6c755da356e3f92a51d8c5e30ad296f68b4 | 4a4f7519db3e10911e42d842dfc290a69249c498 | /MSCL/source/mscl/MicroStrain/Wireless/Commands/BaseStation_WriteEeprom.h | 3f06f5a7ad9fade10714826e6f7a24c11e07355d | [
"MIT"
] | permissive | ezhangle/MSCL | b41ae0b3e2124c050c18ed21cac83c2bd686b284 | c74c1faddc40a070dd0555c1c42a38a44dc7476b | refs/heads/master | 2021-07-09T16:58:41.216070 | 2017-10-04T18:09:41 | 2017-10-04T18:09:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,175 | h | /*******************************************************************************
Copyright(c) 2015-2017 LORD Corporation. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
#pragma once
#i... | [
"richard.stoneback@lord.com"
] | richard.stoneback@lord.com |
78f6c59baf366c1b438fe0fdeb2692034196e73e | 46217d0a7504d76c429f212a0f2d0f43bb4940fc | /src/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp | 97e8a26687bee4ac5109e5a2dc0c9f2a1bfc7da8 | [] | no_license | maiermic/trajecmp | b52355af45ab460a7a128d521a3e3115073f47cc | f0efb219ed8fd183cd40b2a7a359ee967f3f6160 | refs/heads/master | 2021-01-19T12:51:04.628522 | 2018-02-18T20:58:57 | 2018-02-18T20:58:57 | 88,049,544 | 1 | 0 | null | 2017-10-25T14:35:09 | 2017-04-12T12:31:47 | C++ | UTF-8 | C++ | false | false | 47,531 | hpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2012-2014 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifnd... | [
"maiermic@cip.ifi.lmu.de"
] | maiermic@cip.ifi.lmu.de |
a0bc0e618858f177f05c863c84fb259ecf43bfe6 | 9f6c936aa3288ccf3a52cf59e71642fb185cade9 | /IndyGL/src/Shader/GLSLShader.cpp | e075c93d9afa1d7e8abd7aef76f2b87b5b36eff7 | [
"MIT"
] | permissive | JJoosten/IndyFramework | 921389f8c7c4e4f7c117a5ed240773897e88078e | 7f9441de8baf5c43370357f463d39f4aa60f38a0 | refs/heads/master | 2020-12-26T02:21:58.748423 | 2015-10-08T21:46:05 | 2015-10-08T21:46:05 | 14,282,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,880 | cpp | // Juul Joosten 2013
#include "GLSLShader.h"
#include "GLSLShaderPreprocessor.h"
namespace Indy
{
GLSLShader::GLSLShader( void)
:
m_shaderID(0),
m_shaderType(),
m_shaderSource(NULL),
m_shaderSourceSizeInBytes(0),
m_usageCounter(0)
{
}
GLSLShader::~GLSLShader( void)
{
if(m_shaderSource != NULL)
BRE... | [
"Joosten.Juul@gmail.com"
] | Joosten.Juul@gmail.com |
815a0506310bb9b7498a507be68ea88f67eb6ea8 | 1cc4b0d72bd372157d21fadef718255de1066e6c | /BloomFilter/BloomFilter/BitMap.h | fa9028dd0c8af7cbc53c3c3f3b1392c927ead8e2 | [] | no_license | xyzbaihaiping/DataStructure | 93f64e2e5dccaf6c614332dc50921bde457a30e3 | 2e09ed6cad4f7fb5f7e5d83f10a58eb0106f6efb | refs/heads/master | 2021-01-21T15:07:22.998370 | 2016-07-25T13:44:55 | 2016-07-25T13:44:55 | 56,133,624 | 3 | 6 | null | 2016-05-24T12:47:25 | 2016-04-13T08:16:18 | C++ | UTF-8 | C++ | false | false | 581 | h | #pragma once
#include<vector>
using namespace std;
template<class K>
struct HashFunc
{
size_t operator()(const K& key)
{
return key;
}
};
template<class K>
class BitMap
{
public:
BitMap(size_t size)
{
_a.resize((size >> 5) + 1);
}
void Set(const K& key)
{
int num = key >> 5;
int bit = key % 32;
_a[... | [
"bhp16333177100@sina.com"
] | bhp16333177100@sina.com |
34e688f159498d6ce5f8283de21003fe6b75f158 | 6b5d6690678f05a71837b85016db3da52359a2f6 | /src/mojo/shell/runner/host/child_process.cc | 260dc66edc70f0fc7f6073d41e8c16aa32de948a | [
"BSD-3-Clause",
"MIT"
] | permissive | bopopescu/MQUIC | eda5477bacc68f30656488e3cef243af6f7460e6 | 703e944ec981366cfd2528943b1def2c72b7e49d | refs/heads/master | 2022-11-22T07:41:11.374401 | 2016-04-08T22:27:32 | 2016-04-08T22:27:32 | 282,352,335 | 0 | 0 | MIT | 2020-07-25T02:05:49 | 2020-07-25T02:05:49 | null | UTF-8 | C++ | false | false | 4,254 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mojo/shell/runner/host/child_process.h"
#include <stdint.h>
#include <utility>
#include "base/base_switches.h"
#include "base/bind.h"
#includ... | [
"junhuac@hotmail.com"
] | junhuac@hotmail.com |
97100eee5f84a4f744bfc01d409f10c826cc933b | 01bcef56ade123623725ca78d233ac8653a91ece | /public/movieobjects/dmeeditortypedictionary.h | 796ec42af227a4123667607ef96f64ddc1ef4390 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SwagSoftware/Kisak-Strike | 1085ba3c6003e622dac5ebc0c9424cb16ef58467 | 4c2fdc31432b4f5b911546c8c0d499a9cff68a85 | refs/heads/master | 2023-09-01T02:06:59.187775 | 2022-09-05T00:51:46 | 2022-09-05T00:51:46 | 266,676,410 | 921 | 123 | null | 2022-10-01T16:26:41 | 2020-05-25T03:41:35 | C++ | WINDOWS-1252 | C++ | false | false | 4,341 | h | //====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======//
//
// Contains a bunch of information about editor types
//
// $NoKeywords: $
//
//=============================================================================//
#ifndef DMEEDITORTYPEDICTIONARY_H
#define DMEEDITORTYPEDICTIONARY_H
#ifde... | [
"bbchallenger100@gmail.com"
] | bbchallenger100@gmail.com |
8b422b8fc49d34fcfe0046481af31913bc7452c0 | 53a3a3d6dcd7d0d54fa4604d708c5525197a53a1 | /Lab10/mainwindow.h | 69ea75982faf559c32eab812a10efaaddb411143 | [] | no_license | MrPipiKado/OOP | d73e61230749564e776584ef826d2f623ba3277c | 78a821fab311b0a442c512e792c91de4e1a5385a | refs/heads/master | 2021-01-03T07:56:16.749862 | 2020-05-14T16:28:19 | 2020-05-14T16:28:19 | 239,989,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "set.h"
#include "complex.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
... | [
"ammamm23102310@gmail.com"
] | ammamm23102310@gmail.com |
5209849fd370f0bf687e0b12dec82335ea7f1898 | 013caff69e41c36c4efe9359c8ce2ecfb5f659ab | /黑白图像压缩.cpp | fc8613fadeb300e713a8ed72c613c065a9534f51 | [] | no_license | iamsile/ACM | cbe5754bed56b1abb3cfaed6b25b9bffa1ec04a5 | d51e43780e33b51c70007ba0702448909f9d0553 | refs/heads/master | 2016-08-04T02:31:51.523885 | 2013-09-09T05:36:35 | 2013-09-09T05:36:35 | 12,693,702 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,524 | cpp | #include <iostream>
using namespace::std;
int a[80000],b[80000];
int main()
{
long int m;
int i,j,n,k=0,lab;
cin >> m;
n=m/8;
for(i=0;i<n;i++)
cin >> a[i];
for(i=0;i<n;i++)
for(j=7;j>=0;j--)
{
k=i*8+j;
b[k]=a[i]%2;
a[i]/=2;
}
for(i=1,lab=1;i<m;i++)
{
if(b[i]!=b[i-1])
{
if(b[i-1]==1)
... | [
"iamsai007@sina.com"
] | iamsai007@sina.com |
bd171986118ba9c110ed86ee8b8a66bf3878c1bc | f8da6c04464297a5443d2bba2d1e0bc1fbe3c825 | /monitor/monitor_handlers.cpp | 71f81bdb32e1870eea143d74e4039dc041dfc19c | [] | no_license | mauronz/whack_a_proc | bccc049a33d5f89939678c2d3603650b1c391148 | bf7414769fe84983165916e2fb7ee99f1a905eb7 | refs/heads/master | 2023-07-20T20:28:36.862337 | 2021-09-03T22:51:42 | 2021-09-03T22:51:42 | 341,335,140 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,065 | cpp | #include "communication.h"
#include "log.h"
#include "include/pe_sieve_api.h"
#include "monitor.h"
#include <stdio.h>
#define BUFSIZE 1024
extern INJECT_CONFIG config;
LPCSTR GetCodeString(MessageCode code) {
switch (code) {
case CODE_ERROR:
return "ERROR";
case CODE_OK:
return "OK";
case COD... | [
"fra_mur@hotmail.it"
] | fra_mur@hotmail.it |
554e5fd59f8245d1e4aaf69ee69fe521bf2f2576 | a8838d0b38ada760b673874a8b76403de808c532 | /gui/window_state.h++ | 80ac64ed2c2d76843c2f2c91ecb39c797ed6e38f | [
"MIT"
] | permissive | gubaojian/skui | 99e30a54733ffd9908492330a5915d73bc0af7c5 | e2ffe2ef06aaf833d28445027ee6eb5f103ef717 | refs/heads/master | 2020-03-13T18:54:29.302449 | 2017-12-22T18:56:58 | 2017-12-22T18:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,436 | /**
* The MIT License (MIT)
*
* Copyright (c) 2017 Ruben Van Boxem
*
* 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 ... | [
"vanboxem.ruben@gmail.com"
] | vanboxem.ruben@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.