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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f9b5ca0cc955310239e328ec62576564519c0b0d | 5cf7bb9a74875cd2a110fa3e1243b7c3f2e54753 | /EXTERNAL/MMPS_245/MMPS_245/cpp/fsurf_tools/randsurfsmooth.cpp | b620f5bf9e6199f921d8eeb7db457832a4c73dcd | [] | no_license | ekaestner/MMIL | 5c7dd8045550fe9cee41b1477f7c188916f29a5e | ce9d5bd01a38fd622719a787f28eb10dd66dff15 | refs/heads/master | 2023-04-27T20:36:30.815437 | 2023-04-23T17:49:53 | 2023-04-23T17:49:53 | 155,797,098 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,918 | cpp | /* randsurfsmooth.cpp: generate value at random vertex, smooth, calculate fwhm
created: 02/11/05 DH
last mod: 04/16/13 DH
purpose:
calculating fwhm for different smoothing steps
input:
options only
output:
stdout only
acknowledgements:
*/
#include "surflib.h"
#include "clustl... | [
"erik.kaestner@gmail.com"
] | erik.kaestner@gmail.com |
447c0c59a9bd4a00639a1ba66d68e548d1c94105 | 6de7f1f0d9be7d0659902dc60c77dcaf332e927e | /src/libtsduck/dtv/descriptors/tsTargetSmartcardDescriptor.h | 595c17ab8eeffd5a2d25efcbdb455c30ba8488ca | [
"BSD-2-Clause"
] | permissive | ConnectionMaster/tsduck | ed41cd625c894dca96f9b64f7e18cc265ef7f394 | 32732db5fed5f663dfe68ffb6213a469addc9342 | refs/heads/master | 2023-08-31T20:01:00.538543 | 2022-09-30T05:25:02 | 2022-09-30T08:14:43 | 183,097,216 | 1 | 0 | BSD-2-Clause | 2023-04-03T23:24:45 | 2019-04-23T21:15:45 | C++ | UTF-8 | C++ | false | false | 3,314 | h | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2022, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
1e7eef25e1e50dbf48594241a544445bf203aa1c | d4e96aa48ddff651558a3fe2212ebb3a3afe5ac3 | /Modules/Core/Common/include/itkTreeIteratorClone.h | 47bcafc6a92a3271a6c4791048fbb4003e1833b4 | [
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"NTP",
"IJG",
"GPL-1.0-or-later",
"libtiff",
"BSD-4.3TAHOE",
"... | permissive | nalinimsingh/ITK_4D | 18e8929672df64df58a6446f047e6ec04d3c2616 | 95a2eacaeaffe572889832ef0894239f89e3f303 | refs/heads/master | 2020-03-17T18:58:50.953317 | 2018-10-01T20:46:43 | 2018-10-01T21:21:01 | 133,841,430 | 0 | 0 | Apache-2.0 | 2018-05-17T16:34:54 | 2018-05-17T16:34:53 | null | UTF-8 | C++ | false | false | 4,725 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | [
"ruizhi@csail.mit.edu"
] | ruizhi@csail.mit.edu |
2e4bee36b192d11b3a4515b4d9311c5606678953 | 86ec1329a33c7071267fc973023d988603b74387 | /include/Redis.h | 68e171e5aad24f226f62266dc2a712d8cbd14f71 | [] | no_license | xuaokun/spellCorrect | 0a0da9d64c9ed1caf0fb8df311054d960e15c3cd | e29a388d182aa1dffe349b569d78e73486b4807d | refs/heads/master | 2020-07-23T08:13:50.058184 | 2019-09-10T08:56:53 | 2019-09-10T08:56:53 | 203,904,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | h | #ifndef _REDIS_H_
#define _REDIS_H_
#include <iostream>
#include <string.h>
#include <string>
#include <stdio.h>
#include <hiredis/hiredis.h>
using std::string;
class Redis{
public:
Redis()
:_connect(nullptr)
,_reply(nullptr)
{}
~Redis(){
if(_connect){
redisFree(_connect);
... | [
"xuaokun1997@163.com"
] | xuaokun1997@163.com |
621676212529cfc00440025d1a550f09fccf67a8 | e11d62362decf103d16b5469a09f0d575bb5ccce | /ui/views/widget/desktop_aura/desktop_window_tree_host_platform.h | 7e426b43b21844c7df85202a1e008da6e6426d6b | [
"BSD-3-Clause"
] | permissive | nhiroki/chromium | 1e35fd8511c52e66f62e810c2f0aee54a20215c9 | e65402bb161a854e42c0140ac1ab3217f39c134e | refs/heads/master | 2023-03-13T18:09:40.765227 | 2019-09-10T06:06:31 | 2019-09-10T06:06:31 | 207,478,927 | 0 | 0 | BSD-3-Clause | 2019-09-10T06:12:21 | 2019-09-10T06:12:20 | null | UTF-8 | C++ | false | false | 6,551 | h | // Copyright 2018 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_PLATFORM_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_PLATFORM_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
27c3e8b068c3e05231ef3f1fbd203ae19a3a897e | 5aecd1098bf6941216e19825059babf35306b0ea | /cvs/objects/util/base/include/data_definition_util.h | 5d22a5fe3cf98cff9d7273c60fcd919c0dd120fc | [
"ECL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Silviameteoro/gcam-core | 151f3f8a850918a3ad74c1d95fd3ec52273a17eb | cc0ed1f976fb625ce34ef23b92e917922f4c0bd4 | refs/heads/master | 2023-08-09T14:39:38.278457 | 2021-09-13T14:35:12 | 2021-09-13T14:35:12 | 285,346,443 | 0 | 0 | NOASSERTION | 2020-08-05T16:29:50 | 2020-08-05T16:29:49 | null | UTF-8 | C++ | false | false | 17,678 | h | #ifndef _DATA_DEFINITION_UTIL_H_
#define _DATA_DEFINITION_UTIL_H_
#if defined(_MSC_VER)
#pragma once
#endif
/*
* LEGAL NOTICE
* This computer software was prepared by Battelle Memorial Institute,
* hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830
* with the Department of Energy (DOE). NEITHER THE ... | [
"pralit.patel@pnnl.gov"
] | pralit.patel@pnnl.gov |
23c8ddc8bf56f1d0381e2669faa7cb8f50acf99a | da0513732e6f512975be831bc4ee820ba04b3c19 | /chap_2/include/Rifle.h | cce9076b836bf9c4ae64704fcb9e5d7241e08be2 | [] | no_license | yepeichu123/design_patterns | 6cea819fccc536b2da9a0a28dd8ec75bb96c976c | 32bdd014040f08202dee68152e2703ffd348a029 | refs/heads/master | 2022-12-18T13:32:15.538354 | 2020-07-30T06:54:13 | 2020-07-30T06:54:13 | 282,859,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | h | #ifndef RIFLE_H
#define RIFLE_H
#include "AbstractGun.h"
class CRifle: public CAbstractGun {
public:
CRifle();
~CRifle();
void shoot();
};
#endif /* RIFLE_H */ | [
"peichu.ye@gmail.com"
] | peichu.ye@gmail.com |
36c23c73350218373751b7eacc1d3f11b46517e2 | 89ba283b2d655e569f945974c21e12440fb623df | /source/core/event_translators/axis/axis2btns.h | 4a781d8fc48bd0c2c9fd83c456c10e9a2ea8b54b | [
"MIT"
] | permissive | swipi-retro/MoltenGamepad | 20b35e8e50e2f9400708d278cf11c8bccf02a7fb | b5aebecd3112a65394841e45a27cda4dd9f4a1e8 | refs/heads/master | 2020-03-22T06:09:06.657599 | 2018-07-03T17:19:01 | 2018-07-03T17:19:01 | 139,614,620 | 0 | 0 | MIT | 2018-07-03T17:10:10 | 2018-07-03T17:10:09 | null | UTF-8 | C++ | false | false | 495 | h | #pragma once
#include "../event_change.h"
class axis2btns : public event_translator {
public:
int neg_btn;
int pos_btn;
int neg_cache = 0;
int pos_cache = 0;
axis2btns(int neg_btn, int pos_btn) : neg_btn(neg_btn), pos_btn(pos_btn) {
}
virtual void process(struct mg_ev ev, output_slot* out);
virtual ... | [
"josephgeumlek@gmail.com"
] | josephgeumlek@gmail.com |
462b4953ebc6cf88a2acd8e21f98c179dc95dae6 | fe5db3014317f062330a6c9fab3e9d941a84689c | /cube2.cpp | 30b4b9177e90163dc91cf8738f169c7ff694f381 | [] | no_license | mkutlu/ShaderBasedDraws | 932b410bbf0771725b9d268bc3c091f1f499d0e1 | 7898fb33974dee349bc3a25c723d292ee3029e8d | refs/heads/master | 2020-12-25T18:53:03.751103 | 2017-06-12T18:36:57 | 2017-06-12T18:36:57 | 94,010,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,382 | cpp | //
// Display a color cube
//
// Colors are assigned to each vertex and then the rasterizer interpolates
// those colors across the triangles. We us an orthographic projection
// as the default projetion.
#include "Angel.h"
typedef Angel::vec4 color4;
typedef Angel::vec4 point4;
const int NumVertices = 36; //... | [
"mkutlu13@gmail.com"
] | mkutlu13@gmail.com |
290b63702b731ec513028e85b9913ab623bd0a27 | 1810a26cd8db1da2263889067d93a48750dcb50a | /any.cpp | 6955aa688b94aa9b7e93fa39dd147df49964d093 | [] | no_license | spurnaye/cpp_algorithms | 4f63e559c94b1b3b30c32105a3cb17cac85f598f | 87fe47a24a7e80d31cb55a30dd0dcf0c91d3bc1a | refs/heads/master | 2020-03-08T02:04:49.650375 | 2018-10-22T04:22:03 | 2018-10-22T04:22:03 | 127,849,116 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include <any>
#include <iostream>
#include <vector>
int main(){
std::any a = 1;
std::vector<std::any> v{1,2,3,4.5,6.7,"some string"};
auto x = std::any_cast<float>(v[0]);
} | [
"spurnaye@gmail.com"
] | spurnaye@gmail.com |
f6bd926660705a781e82078ade25abaa29e6e3e4 | f8b56b711317fcaeb0fb606fb716f6e1fe5e75df | /Internal/SDK/BP_FishingFish_AncientScale_05_Colour_02_Sapphire_classes.h | 0936daf43fc17391e41695cf0caa46b123fb6db3 | [] | no_license | zanzo420/SoT-SDK-CG | a5bba7c49a98fee71f35ce69a92b6966742106b4 | 2284b0680dcb86207d197e0fab6a76e9db573a48 | refs/heads/main | 2023-06-18T09:20:47.505777 | 2021-07-13T12:35:51 | 2021-07-13T12:35:51 | 385,600,112 | 0 | 0 | null | 2021-07-13T12:42:45 | 2021-07-13T12:42:44 | null | UTF-8 | C++ | false | false | 949 | h | #pragma once
// Name: Sea of Thieves, Version: 2.2.0.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
67c9d453adb00745905766ae9048094df455c4bc | 5db5ddf10fb0b71f1fd19cb93f874f7e539e33eb | /Tech/src/foundation/modules/event/peventmanager.cpp | ac97e0670c7582a5917c4e54de6751964da99777 | [] | no_license | softwarekid/FutureInterface | 13b290435c552a3feca0f97ecd930aa05fa2fb25 | 55583a58297a5e265953c36c72f41ccb8bac3015 | refs/heads/master | 2020-04-08T04:42:21.041081 | 2014-07-25T01:14:34 | 2014-07-25T01:14:34 | 22,280,531 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,741 | cpp | // peventmanager.cpp
// The event manager
//
// Copyright 2012 - 2014 by Future Interface.
// This software is licensed under the terms of the MIT license.
//
// Hongwei Li lihw81@gmail.com
//
//
#include "peventmanager.h"
#include <PFoundation/pevent.h>
#include <PFoundation/pcontext.h>
#include <PFoundation//po... | [
"lihw81@gmail.com"
] | lihw81@gmail.com |
f26812631cd687e678cb07125d646b93724896a7 | 8a1d056a516831d99ccb4eb52053d1cffd97c9e9 | /src/gamed/gs/player/subsys/player_prop_reinforce.h | bf05a5ebb6126b9d9f03bdf36830d57707a4c113 | [] | no_license | 289/a | b964481d2552f11f300b1199062ca62b71edf76e | 43d28da99387ba225b476fe51bd7a13245f49d5e | refs/heads/master | 2020-04-17T04:22:23.226951 | 2018-03-21T14:17:08 | 2018-03-21T14:17:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,275 | h | #ifndef GAMED_GS_SUBSYS_PLAYER_PROP_REINFORCE_H_
#define GAMED_GS_SUBSYS_PLAYER_PROP_REINFORCE_H_
#include "gs/player/player_subsys.h"
namespace gamed {
/**
* @brief:player属性强化子系统(初阶属性强化等)
*/
class PlayerPropReinforce : public PlayerSubSystem
{
public:
PlayerPropReinforce(Player& player);
virtual ~PlayerPropRei... | [
"18842636481@qq.com"
] | 18842636481@qq.com |
b0d49f17931cf066425441ef6e2b0fce63233454 | bdaa8f6fa3627232dd8129499b7603f1e30647e9 | /Login_ConnectDataBase/Login_ConnectDataBase/ChangeCode.h | f14687ca42b716af2839cbe1d7d8fb58dc9fb437 | [] | no_license | tianyunzqs/C_C_plus_plus_algorithm | 3e5b8258af86c8b8b95e3c6a1a879f70478f68e8 | d4e95e33129865f1baf4eefdbc996ac59882141e | refs/heads/master | 2020-12-02T05:24:43.977114 | 2017-07-11T13:41:46 | 2017-07-11T13:41:46 | 96,889,940 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 479 | h | #pragma once
// CChangeCode 对话框
class CChangeCode : public CDialog
{
DECLARE_DYNAMIC(CChangeCode)
public:
CChangeCode(CWnd* pParent = NULL); // 标准构造函数
virtual ~CChangeCode();
// 对话框数据
enum { IDD = IDD_CHANGECODE };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSA... | [
"tianyunzqs@sina.com"
] | tianyunzqs@sina.com |
52f7f33ba90ecb9be6b17eb32350559ce7acfaeb | 50ada458f964ade9515b8405fc75ac0ed42ca3cd | /Level 1/Section 1.5/Exercise 1/Exercise 1/Exercise 1.cpp | 8e0a7e8741f7a20779c994dec9b384b8468a85de | [] | no_license | CPP-Muggle/C_Github | f7a224ee61cd98c5b3ae1142bc4956f44334622e | e860fe3c189c1821f93c7c6d6bea2d82ec60a089 | refs/heads/master | 2021-01-01T19:37:44.414099 | 2015-11-28T16:30:56 | 2015-11-28T16:30:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | cpp | #include <stdio.h>
float minus(float a, float b){
return a - b;
}
void main(){
float a, b;
printf("Enter the first number ");
scanf_s("%f", &a);
printf("Enter the second number ");
scanf_s("%f", &b);
printf("The difference between two numbers is %.4f", minus(a, b));
}
| [
"jz2631@columbia.edu"
] | jz2631@columbia.edu |
1771468770fd2b916cc3faeda3c3fac137591d68 | 7add42e3fffa26c8aea222eca87791c89c7d84bd | /scenario/grid/GridSpectrum.cpp | bae10d12643975534f40a4f21df4935ebbcb804c | [] | no_license | mr-oroboto/Waveguide | 1f15417f43551dded241be66505a73900c075fd1 | d2921b065386a9f79830d6094b944f1b93b515ad | refs/heads/master | 2022-10-20T02:45:03.016262 | 2022-10-09T05:10:10 | 2022-10-09T05:10:10 | 235,275,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,188 | cpp | #include "GridSpectrum.h"
#include <iostream>
GridSpectrum::GridSpectrum(insight::WindowManager* window_manager, sdr::SpectrumSampler* sampler, uint32_t bin_coalesce_factor)
: SimpleSpectrum(window_manager, sampler, bin_coalesce_factor)
{
}
void GridSpectrum::run()
{
resetState();
display_manager_->... | [
"jsmtp@protonmail.com"
] | jsmtp@protonmail.com |
19826386c9b011a4d9a57c3eea4b84e641f96f1a | 43acc519d1eb85c654776f28ef8ec06ca11fc7d0 | /robo/robo.ino | 243f4078262057914267f20f675c15208c9bc246 | [] | no_license | Rphmelo/robo-explorador | 2701888b85713235a6571563e3fe31649bc24c76 | 636d00f3876a70614d6e5e264a9379b0dc8975d8 | refs/heads/master | 2021-07-10T14:05:33.598034 | 2017-10-10T17:56:58 | 2017-10-10T17:56:58 | 105,097,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,349 | ino | #include <AFMotor.h>
#include <DHT.h>
#define DHTPIN 24
#define DHTTYPE DHT11
#define LED 22
DHT dht(DHTPIN, DHTTYPE);
float umidade;
float temperatura;
int ldrValue;
class Robo {
char comando;
int velocidade;
AF_DCMotor *rodaDD; //Dianteira Direita
AF_DCMotor *rodaDE; //Dianteira Esquerda
AF_DCMot... | [
"r.de.melo.silva@accenture.com"
] | r.de.melo.silva@accenture.com |
7d0439776dfbc40b8079872a3030ee1ae91f9b0b | 55c81da8a1d0e98fe426b7b5c3ce7a9646ffdbe8 | /samples/Test/Classes/CDNewsViewController.cpp | 58cce061bc006658ab286accd2c85e63b901b5e3 | [] | no_license | babyliynfg/nano-CrossApp | e40c1b209e30b47bea588b981f4f15aedc638266 | e0c0e45c500d2647d330131b68474b67f0dfaae2 | refs/heads/master | 2021-01-18T03:04:08.540737 | 2017-03-14T03:47:06 | 2017-03-14T03:47:06 | 68,501,961 | 38 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 18,542 | cpp | //
// CDNewsViewController.cpp
// Test
//
// Created by renhongguang on 15/4/16.
//
//
#include "CDNewsViewController.h"
#include "CDWebViewController.h"
extern int page_index;
float temp_time = 0;
CDNewsTableCell::CDNewsTableCell()
:theTitle(NULL),
theDesc(NULL),
theImage(NULL)
{
this->setAllowsSelected(fals... | [
"278688386@qq.com"
] | 278688386@qq.com |
e30c170753170bbea3cd028247870192a6a10b79 | e393699b9e089fc864cab670c157145e625e118e | /dev/ScrollPresenter/ScrollingScrollCompletedEventArgs.h | 82e6bc90540dfee143e95488cb953592e77ea886 | [
"MIT"
] | permissive | yoshiask/microsoft-ui-xaml | dd01cded7ae15f2306247e422560a73cbf9be580 | 0f0a19654b833e1a50b9db172041d23e7c9aff38 | refs/heads/master | 2023-07-06T06:34:39.799972 | 2020-06-29T05:39:33 | 2020-06-29T05:39:33 | 275,098,738 | 1 | 0 | MIT | 2020-06-26T07:31:11 | 2020-06-26T07:31:11 | null | UTF-8 | C++ | false | false | 1,051 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#pragma once
#include "ScrollPresenter.h"
#include "ScrollingScrollCompletedEventArgs.g.h"
class ScrollingScrollCompletedEventArgs :
public winrt::implementati... | [
"noreply@github.com"
] | yoshiask.noreply@github.com |
23dce32bae5ecd77a4eb93240c163b8759e6bbd0 | 992f1b4fef76853e256e7c54280139753c5a6192 | /leet/test/leet0013_test.cpp | ac08bc0f348f343bdc2ee208127fa34e5c39553e | [] | no_license | lcllkzdzq/leet | ce19526a5a4c2f94403a7e3c3dcdd4fffd912d2f | 7ea46a37e365c0d55435dfbb5a167a33c8c3e7a2 | refs/heads/master | 2021-04-06T13:32:08.580309 | 2018-07-19T15:31:11 | 2018-07-19T15:31:11 | 124,920,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include <gtest/gtest.h>
#include "leet0013.hpp"
TEST(Leet0013, less_than_10)
{
Leet0013Solution s;
EXPECT_EQ(s.romanToInt("IV"), 4);
}
TEST(Leet0013, 10_to_100)
{
Leet0013Solution s;
EXPECT_EQ(s.romanToInt("XLIII"), 43);
}
TEST(Leet0013, 100_to_1000)
{
Leet0013Solution s;
EXPECT_EQ(s.roman... | [
"lunarwaterfox@gmail.com"
] | lunarwaterfox@gmail.com |
a9dfd063e51f04e7c148083bad9f3b955ed54d65 | 09a8696421a8edc1fbb33aca63f42eb70a6b43b5 | /Class(III)/7-1-1.cpp | 52b67eca845c216f48b83122d3ca03f5880f3dd8 | [] | no_license | chris0765/CppPrograming | be35e6f7be37566d74ef3bafcbc01f8ef017772a | 726536c3c9cb18d281535b2a32256db1e8cf5f2b | refs/heads/main | 2023-05-13T23:26:55.650267 | 2021-06-03T14:43:54 | 2021-06-03T14:43:54 | 348,203,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | #include <iostream>
using namespace std;
class Complex{
double re, im;
public:
Complex(double r = 0, double i = 0): re(r), im(i){}
~Complex(){}
double real() {return re;}
double imag() {return im;}
Complex add(const Complex& c) const;
friend Complex operator+(const Complex& c, const Comple... | [
"chris0765@kookmin.ac.kr"
] | chris0765@kookmin.ac.kr |
268d858714123c4d3d931b93c081e6ef17e5c5f1 | adb583595faf6167a4e12323ee1b6dccd306276c | /Micro_Servo.ino | 4f5c03df441f4cc3a70e5ad44a3a6ca3fec76e9e | [] | no_license | Martin-Mesias/Laboratorio-N-3-de-robotica | ef5febf0778b944117d1ab9f506a349e0c249676 | 0093770e52b104a2c54ef4df3be36a8ca7f30394 | refs/heads/master | 2020-08-07T13:53:11.200483 | 2019-11-29T19:16:58 | 2019-11-29T19:16:58 | 213,477,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | ino | #include <Servo.h>
Servo servo1;
int PINSERVO = 2;
int PULSOMIN = 500; // equivale a 0 grados
int PULSOMAX = 2300; // equivale a 180 grados
int VALORPOT;
int ANGULO;
int POT = 0;
void setup (){
servo1.attach(PINSERVO, PULSOMIN,PULSOMAX);
}
void loop (){
VALORPOT = analogRead(POT);
ANGULO = ma... | [
"noreply@github.com"
] | Martin-Mesias.noreply@github.com |
777c54650e914c05d972a3460235d8dabb3f4a79 | aea82ce20a77e329d84139e19f4f761b3af5df55 | /vulkan/vulkan_utilities.cc | 2ad904bdfe877a55d66df5688f1cb7a3936c3d76 | [
"BSD-3-Clause"
] | permissive | hanagm/engine | 3bda732ec48c1bd0fadf750641a34e33a105d546 | 36db6cfdd1b072ba6251e2ad87e56b698352a2a8 | refs/heads/master | 2022-11-29T06:29:14.361445 | 2020-08-06T08:41:02 | 2020-08-06T08:41:02 | 285,538,291 | 1 | 0 | BSD-3-Clause | 2020-08-06T10:11:03 | 2020-08-06T10:11:02 | null | UTF-8 | C++ | false | false | 3,461 | cc | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// FLUTTER_NOLINT
#include "vulkan_utilities.h"
#include "flutter/fml/build_config.h"
#include <algorithm>
#include <unordered_set>
namespace vulkan {
/... | [
"noreply@github.com"
] | hanagm.noreply@github.com |
3a794bc08ae9ccdb3cba751b38e514ad047a8f58 | bb9b83b2526d3ff8a932a1992885a3fac7ee064d | /src/modules/osg/generated_code/Projection.pypp.hpp | 1d2fcfebffa4444825eb24c23f299906cbee207f | [] | no_license | JaneliaSciComp/osgpyplusplus | 4ceb65237772fe6686ddc0805b8c77d7b4b61b40 | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | refs/heads/master | 2021-01-10T19:12:31.756663 | 2015-09-09T19:10:16 | 2015-09-09T19:10:16 | 23,578,052 | 20 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 207 | hpp | // This file has been generated by Py++.
#ifndef Projection_hpp__pyplusplus_wrapper
#define Projection_hpp__pyplusplus_wrapper
void register_Projection_class();
#endif//Projection_hpp__pyplusplus_wrapper
| [
"brunsc@janelia.hhmi.org"
] | brunsc@janelia.hhmi.org |
6a59f0dd5bb54d2b26d30ed38650291eb59e3bec | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-10.0/llvm/lib/Target/ARM/Thumb2InstrInfo.h | 7d8dff14e1e72de01db5f990b13d4ff6beb01ab6 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 3,284 | h | //===-- Thumb2InstrInfo.h - Thumb-2 Instruction Information -----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"bclayton@google.com"
] | bclayton@google.com |
76c7f0199fe875a62ecfc0d1f5263b5d5bfb92af | 2348000ede440b3513010c29a154ca70b22eb88e | /src/CPP/src/pratice/ReverseWordsInAString.cpp | ea103cf7c69443a4b5fc68e39dde58502fd01294 | [] | no_license | ZhenyingZhu/ClassicAlgorithms | 76438e02ecc813b75646df87f56d9588ffa256df | 86c90c23ea7ed91e8ce5278f334f0ce6e034a38c | refs/heads/master | 2023-08-27T20:34:18.427614 | 2023-08-25T06:08:00 | 2023-08-25T06:08:00 | 24,016,875 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cpp | #include <iostream>
using namespace std;
// [Source]: https://leetcode.com/problems/reverse-words-in-a-string/
// http://www.1point3acres.com/bbs/forum.php?mod=viewthread&tid=212481
class Solution {
public:
void reverseWords(string &s) {
if (s.empty())
return;
removeTrailingSpaces(s)... | [
"zz2283@columbia.edu"
] | zz2283@columbia.edu |
1fdbbbdb7b020f222da85fccd1e4da8b7a336e27 | 2485ffe62134cd39d4c5cf12f8e73ca9ef781dd1 | /contrib/boost/iterator/test/function_input_iterator_test.cpp | f64e9f59d6111b1aabc22365483b734d20daa66d | [
"MIT",
"BSL-1.0"
] | permissive | alesapin/XMorphy | 1aed0c8e0f8e74efac9523f4d6e585e5223105ee | aaf1d5561cc9227691331a515ca3bc94ed6cc0f1 | refs/heads/master | 2023-04-16T09:27:58.731844 | 2023-04-08T17:15:26 | 2023-04-08T17:15:26 | 97,373,549 | 37 | 5 | MIT | 2023-04-08T17:15:27 | 2017-07-16T09:35:41 | C++ | UTF-8 | C++ | false | false | 3,974 | cpp | // Copyright 2010 (c) Dean Michael Berris
// Distributed under the Boost Software License Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <cstddef>
#include <algorithm>
#include <iterator>
#include <vector>
#include <boost/config.hpp>
#if !defined(... | [
"alesapin@gmail.com"
] | alesapin@gmail.com |
338c31bdc9a9460a90248dc30619602322741e6d | 9214736766cce5399cf0d178b1398438fc40357d | /libs/tgp/src/temper.cc | b27343406597fe57db91773a300c681a916f1019 | [] | no_license | CustomComputingGroup/MLO | daaa391984a7b795354e518563733c98692b460c | 3af52321da6a5bfb3b3cc04df714eb04250e157c | refs/heads/master | 2021-01-01T19:34:15.891410 | 2013-05-21T16:23:26 | 2013-05-21T16:23:26 | 7,650,010 | 0 | 1 | null | 2019-01-21T19:53:47 | 2013-01-16T17:12:56 | Python | UTF-8 | C++ | false | false | 21,432 | cc |
/********************************************************************************
*
* Bayesian Regression and Adaptive Sampling with Gaussian Process Trees
* Copyright (C) 2005, University of California
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Les... | [
"liutianchi@yahoo.com"
] | liutianchi@yahoo.com |
e58bc7c45ef7ad0488f5d5a644e4d6710bfc9649 | fc7d9bbe049114ad5a94a6107321bdc09d3ccf53 | /.history/Maze_20210919224931.cpp | 573be8375c565b4a0b90910a5f0b7c42d540c2e3 | [] | no_license | xich4932/3010_maze | 2dbf7bb0f2be75d014a384cbefc4095779d525b5 | 72be8a7d9911efed5bc78be681486b2532c08ad8 | refs/heads/main | 2023-08-11T00:42:18.085853 | 2021-09-22T03:29:40 | 2021-09-22T03:29:40 | 408,272,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,434 | cpp | #include<iostream>
#include<vector>
#include<cstdlib>
#include<array>
#include"Maze.h"
#include<time.h>
//using namespace std;
//return true when the path is not in the vector
bool checkInPath(const int num, const std::vector<int> &vec){
for(int d =0; d < vec.size(); d++){
if(vec[d] == num) return true;
... | [
"xich4932@colorado.edu"
] | xich4932@colorado.edu |
7ee7312a0cdfcc6826d5a643418d9854eaed6c04 | 219bf71bde7b12219656ec333f2329109b3d0c73 | /Source/RHI/OpenRLRHI/RLVertexBufferLayout.cpp | d4e276fda4583b3ef9c6fcafc2b5cb32250fc16c | [] | no_license | blizmax/OpenRL_Baker | 958e96f88efe35e4c7c795f8a1706d1990b6c074 | 8ef3e2c60854088500aa00874447aff61650ee4b | refs/heads/master | 2022-01-13T02:05:14.378677 | 2019-03-11T08:28:24 | 2019-03-11T08:28:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include "RLVertexBufferLayout.h"
namespace Core
{
RLVertexBufferLayout::RLVertexBufferLayout()
{
}
void RLVertexBufferLayout::SetSlotElement(uint32 index, int32 size, RLDataType dataType, Bool normalized, uint32 stride, uint32 offset) const
{
// rlGetAttribLocation(program, "positionAttribute")
rlVertexAtt... | [
"1989punk@gmail.com"
] | 1989punk@gmail.com |
bb06ab64b895169d467557df06c044aa519c0824 | fd8bb910d54c981157bfc2748ed5078760bd8be6 | /tensorflow_impl/applications/Garfield_legacy/native/so_threadpool/threadpool.cpp | e7a6c25049e594705e749d288b0b00ce38ee25dd | [
"MIT"
] | permissive | yanlili1995/Garfield | 7ac5941ebb78807e4ef53a24f0327f80599fb83c | f784cfd4cc2f34879abb287ef32c586243ee5b0c | refs/heads/master | 2023-08-05T18:20:04.547095 | 2021-09-24T08:27:55 | 2021-09-24T08:27:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,760 | cpp | /**
* @file threadpool.cpp
* @author Sébastien Rouault <sebastien.rouault@alumni.epfl.ch>
*
* @section LICENSE
*
* Copyright © 2018-2019 École Polytechnique Fédérale de Lausanne (EPFL).
* See LICENSE file.
*
* @section DESCRIPTION
*
* Another thread pool management class, with parallel for-loop helper.
**/... | [
"sebastien.rouault@alumni.epfl.ch"
] | sebastien.rouault@alumni.epfl.ch |
5dcfc142474bcde5cf20a4cc9e99cdc523250bf3 | 6fbf5d53f59b8c9de18f91effb8d223eaf9dbc45 | /copy_elision/main.cpp | b2c03cb04462dcb6fbc91ad061179036566fe9db | [] | no_license | yajnas07/cppmunchies | 9f50da6ce751e32d43324e8de83eb4cbcd67478b | 6e2f532fc5f4fe6187c88320fa0ce823ae96b492 | refs/heads/master | 2021-12-23T21:09:51.146283 | 2021-08-05T19:31:36 | 2021-08-05T19:31:36 | 91,421,906 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cpp | #include<iostream>
using namespace std;
class copiable_class {
public:
copiable_class() {
cout << "Inside constructor" << endl;
}
copiable_class(const copiable_class & other){
cout << "Copying.." << endl;
}
};
//Invokes copy constructor, Named return value optimization
copiable_class... | [
"email.yajnas@gmail.com"
] | email.yajnas@gmail.com |
3bfdde37d9a152ea31bcedb241d9976ee1b84030 | de70d532402c2c419a2057cd10df5405a81989d8 | /prac10/src/ofApp.cpp | cf9cca5ee7b481bd8757f8089e624fe0940f9a25 | [] | no_license | Lacty/of_practice | 083fdc0c6b5c776348e4b429f4fb69cb4584e122 | adcf0cbc89616e13eda7889c673318d155fbc2dd | refs/heads/master | 2021-01-12T16:16:14.045576 | 2016-11-19T10:09:41 | 2016-11-19T10:09:41 | 71,971,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,007 | cpp |
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup() {
ofSetCircleResolution(32);
}
//--------------------------------------------------------------
void ofApp::update() {
for (auto& part : particles) {
part.update(true, 0, 460, 0, 300);
}
}
//----------... | [
"akira206@gmail.com"
] | akira206@gmail.com |
5e345746d4d6bf90ea914d006cb8bb979c119a51 | e9d07cf8619f043ab051bd9a584f690fdb136b95 | /modules/fit_signal/fit_signal.h | 5234d2eb592741f7294745dadf8bc22b59f32464 | [] | no_license | slazav/pico_osc | 0465defae427c88bd33de2c659d60c8367aee08a | b98e13b8ea03d07b8d00d8836c74926c0b195593 | refs/heads/master | 2023-02-09T21:58:45.238122 | 2023-02-09T12:33:00 | 2023-02-09T12:33:00 | 29,144,427 | 1 | 1 | null | 2019-12-05T16:05:55 | 2015-01-12T16:22:45 | C++ | UTF-8 | C++ | false | false | 926 | h | #include <vector>
#include <stdint.h>
/*
Fit a signal by a model:
amp * exp(-t/tau) * sin(2*pi*fre*t + ph),
it also works for a non-decaying signals with 1/tau=0,
(TODO: fix boundary conditions!)
output: a vector with 4 double values:
fre, 1/tau, amp, ph
input:
buf -- signal data array
len -- array length
... | [
"slazav@altlinux.org"
] | slazav@altlinux.org |
41cfc04ba182c6f4a1c9e2b53e274f234496422d | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/ui/search/instant_theme_browsertest.cc | 9a6115bbe46b4d0a90a5e8fc84e48395d363689a | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 12,619 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/macros.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chro... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
4df8d2385ab5ea180d37426faed849bfea0bee9a | d8e7a11322f6d1b514c85b0c713bacca8f743ff5 | /7.6.00.32/V76_00_32/MaxDB_ORG/sys/src/SAPDB/SystemViews/SysView_OMSLocks.cpp | 817f46524a67b44085c06a57de6aad1db8889f95 | [] | no_license | zhaonaiy/MaxDB_GPL_Releases | a224f86c0edf76e935d8951d1dd32f5376c04153 | 15821507c20bd1cd251cf4e7c60610ac9cabc06d | refs/heads/master | 2022-11-08T21:14:22.774394 | 2020-07-07T00:52:44 | 2020-07-07T00:52:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,236 | cpp | /****************************************************************************/
/*!
@file SysView_OMSLocks.cpp
-------------------------------------------------------------------------
@author ElkeZ
@ingroup SystemViews
@brief This module implements the "OMSLocks" view class.
@see ... | [
"gunter.mueller@gmail.com"
] | gunter.mueller@gmail.com |
f1df8ce8fefa15ecf47a8c45b38a61bbf7c86415 | a0f8610bcb61463ef9982007dfb877408c3b1a78 | /Microwaving Lunch Boxes/Microwaving Lunch Boxes/main.cpp | 53c54e5610c068c9a3188ecfe75f13f32b1cac0b | [] | no_license | kiswiss777/Algorithm-SourceCode | 75669371f5e9a9a6895543c398bf4a9bfe76c99d | 08f01aa3bb1a524e687677a2c8723f1682516dd5 | refs/heads/master | 2020-04-30T20:50:29.569344 | 2019-06-14T07:11:15 | 2019-06-14T07:11:15 | 177,079,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | #include<vector>
#include<iostream>
#include<algorithm>
#include<functional>
using namespace std;
const int MAX = 10000;
int boxNum;
vector<int> eat_t, micro_t;
int microwave(void)
{
vector<pair<int, int>> order;
for (int i = 0; i < boxNum; i++)
order.push_back(make_pair(-eat_t[i], i));
sort(order.begin(), o... | [
"kiswiss77477@naver.com"
] | kiswiss77477@naver.com |
de10269f4d283bacbeaf31487398b4504b54e0ae | f03cc2d3b830f6a616af40815815020ead38b992 | /FairyEngine/Source/F3DEngine/F3DTrack.h | 666fdc4efd8e605f073f7bf5e4a824cef51cedb3 | [] | no_license | yish0000/Fairy3D | 18d88d13e2a3a3e466d65db7aea06a8b111118ba | 6b84c6cb6c58a383e53a6a7f64676667c159c76b | refs/heads/master | 2021-07-01T16:37:14.887464 | 2020-11-08T14:52:01 | 2020-11-08T14:52:01 | 12,029,469 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,189 | h | /*
* ------------------------------------------------------------------------
* Name: F3DTrack.h
* Desc: 本文件定义了一个引擎所需的轨迹类。
* Author: Yish
* Date: 2010/11/12
* ----------------------------------------------------------------------
* CopyRight (C) YishSoft. 2010 All right Observed.
* ---------... | [
"yish0000@foxmail.com"
] | yish0000@foxmail.com |
13528504887bf30d111bff07b3a9061c3f63bafc | 21b7f040298ba542d9cb8df906444120f27b3e84 | /PoissonSolver.h | 4165156c999c4aa9f5cccfc6b99aff0c87bf09d1 | [] | no_license | JoWayne94/High-Performance-Computing-Portfolio | 7606cc18862b59e101844b86069583b56ac6e076 | b977c55ec2adcc1f3d332f27518392112d24a082 | refs/heads/master | 2023-04-12T18:29:09.952656 | 2021-05-03T18:12:51 | 2021-05-03T18:12:51 | 295,102,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,116 | h | /**
* @file PoissonSolver.h
*
* High-performance Computing
*
* Header file for PoissonSolver.cpp
*
* Defines the Poisson solver object
*/
#ifndef POISSONSOLVER_H
#define POISSONSOLVER_H
#pragma once
#include <string>
using namespace std;
/* For the 2D solver, we assume a problem of [A]{x} = {b}. Since the bou... | [
"noreply@github.com"
] | JoWayne94.noreply@github.com |
66159bc3e47a4ff4502f507ed98fe086fb59c68f | ca978c8ad2a77677635df5042aa9139a727172dc | /src/backend/src/generated/follow_me/follow_me.pb.h | f7641d02ea4dfbf7381a190baf59b6514bc2443a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hrnbot/MAVSDK | e5541d60be3b32bf12bf0ea5afefc91a27b810a9 | 68ab0c5d50bb2e7e8f1e7ce565603f9e3f2c772f | refs/heads/master | 2023-01-05T17:58:22.994430 | 2020-10-12T10:59:14 | 2020-10-12T10:59:14 | 287,504,011 | 0 | 0 | BSD-3-Clause | 2020-10-07T10:06:05 | 2020-08-14T10:11:29 | C++ | UTF-8 | C++ | false | true | 131,215 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: follow_me/follow_me.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_follow_5fme_2ffollow_5fme_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_follow_5fme_2ffollow_5fme_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOB... | [
"julian@oes.ch"
] | julian@oes.ch |
1fc956a27599f55ef7a4fe04ebadda48d5feb075 | 523a1f9f9628cd1f374f2abf75c78fd7d3f2af33 | /include/queue.h | 4c4cf74864a65e73145f85ea04bf8d9b95005f1a | [
"MIT"
] | permissive | wari/sandbox | c2271fea319df56744c802f620c70ffc4d770ed8 | 13f37d2eb45571d6b34fab65cfc965b443621697 | refs/heads/master | 2020-05-09T09:26:25.613873 | 2014-02-05T05:20:12 | 2014-02-05T05:20:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | h | class Queue {
struct Node {
int* data;
Node *next;
};
Node *front;
Node *back;
public:
Queue();
void put(int);
int* get();
};
| [
"wahabmw@i2r.a-star.edu.sg"
] | wahabmw@i2r.a-star.edu.sg |
1b421321dc11fda00a3fb36db20be76cfb6ba651 | 8ba3820b70bf3808dc96ac393f96e859c17e69e7 | /codeforces/1341/A.cpp | 07527de9e42f8af5b1a23bea2d47eb44df21e8b0 | [] | no_license | anikxt/Competitive_Programming | d92767247c358a093d8de04933c8fda4abeb42c0 | e464bd2b480ccc4f469bdbe1609af921ef93c723 | refs/heads/master | 2023-03-24T13:56:38.442334 | 2021-02-14T18:14:00 | 2021-03-19T19:19:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | //#pragma GCC optimize "trapv"
#include<bits/stdc++.h>
#define ll long long
#define fab(a,b,i) for(int i=a;i<b;i++)
#define pb push_back
#define db double
#define mp make_pair
#define endl "\n"
#define f first
#define se second
#define all(x) x.begin(),x.end()
#define MOD 1000000007
#define quick ios_base::sync_with_s... | [
"nishitsharma0@gmail.com"
] | nishitsharma0@gmail.com |
226f6e49e7ded97fbaaddaaee35d17131215c53c | b0e233b9b173a866cf78f6e74a9b95c1e64eeb51 | /Code/Server/AutoLuaBind/cpp/LuaBind_GameLogic_SkillBase.cpp | 70019f9b1f787463cb4f0d73868e242abe31a6e5 | [] | no_license | xiaol-luo/Utopia | 47a6e987ebd6aaebb7759b736a4590859a6c4eb3 | 798741067114467680c6bcf9d22301f12f127f02 | refs/heads/master | 2021-07-10T13:21:24.547069 | 2019-01-14T14:03:31 | 2019-01-14T14:03:31 | 100,261,666 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,179 | cpp | #include "SolLuaBindUtils.h"
#include <sol.hpp>
#include "Logic/LogicModules/GameLogic/Scene/SceneUnitModules/SceneUnitSkills/SceneUnitSkills.h"
#include "Logic/LogicModules/GameLogic/Scene/Defines/EffectDefine.h"
#include "Logic/LogicModules/GameLogic/Scene/Defines/SceneDefine.h"
#include "Logic/LogicModules/GameL... | [
"xiaol.luo@163.com"
] | xiaol.luo@163.com |
a69c194e832d0e67183b7d72487be01c9ec5a830 | 3f5179150584730cc0ee2ddc8f232b5e372d84aa | /Source/ProjectR/Private/UI/RacePlayerUI.cpp | 6a5a2d52c1c5da7aefe0a8ef63178e03449ccdd7 | [] | no_license | poettlr/ProjectR | 4e8963c006bc0e5a2f7ffe72b89e5f65355d5dde | 1b92b4c034c36f0cbb0ef8c2e02972dd86a3e1e1 | refs/heads/master | 2023-06-16T02:37:39.782708 | 2021-06-29T00:07:41 | 2021-06-29T00:07:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,546 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "UI/RacePlayerUI.h"
#include "Components/TextBlock.h"
int URacePlayerUI::currentLap()
{
return FCString::Atoi(*currentLapText->GetText().ToString());
}
int URacePlayerUI::totalLaps()
{
return FCString::Atoi(*totalLapsText->Get... | [
"betomiku@gmail.com"
] | betomiku@gmail.com |
ab051ff4bec4499901de3b8cbb3e1fab6bac12e3 | 9e99984a3e8a5582ce2f32beb8e7bbcaf6f71fb3 | /src/points.h | 1bfabf8bcfded8e024c6c109377217c65246c1cb | [] | no_license | alirezagoli/dots-game | 1176985b0cc7ff88478a1b5b3218c25177006fc0 | 5899c7dc7a3b0d208e17210f51a9cac4528ed3e8 | refs/heads/main | 2023-02-09T09:17:21.247788 | 2021-01-02T09:57:48 | 2021-01-02T09:57:48 | 326,098,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | h | #ifndef POINTS_H
#define POINTS_H
#include <QGraphicsScene>
#include<QGraphicsEllipseItem>
#include<QList>
#include<QMessageBox>
#include<QBrush>
#include"show_winner.h"
enum playerTurn{player1,player2};
struct PointStatus
{
PointStatus *up;
PointStatus *down;
PointStatus *right;
PointStatus *left;
};
... | [
"alirezagoli.mail@gmail.com"
] | alirezagoli.mail@gmail.com |
b0e2f650cd34efb34c1377db7926cc86a6941c42 | 6e60698f107a9a6da687a8f4fa639f3bb12467c7 | /thirdparty/IntervalTree/test/countouterintervals.cpp | ead7e045c5b69781420eab899d1602ff5319f962 | [
"MIT"
] | permissive | nikitaresh/rectangles_intersections | 710769a7512bfc47639bd2db96f68ab16e7d0841 | 3108e12ccd89e2d0d538e83689c96c1d2543fee2 | refs/heads/master | 2020-03-20T20:24:23.059300 | 2018-12-05T16:43:28 | 2018-12-05T16:43:28 | 137,685,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,387 | cpp | #include "catch.hpp"
#include "intervals.h"
TEST_CASE("Count outer intervals")
{
SECTION("Empty tree")
{
const IntervalTree tree;
const auto count = tree.countOuterIntervals(Test::interval());
REQUIRE(tree.isEmpty());
REQUIRE(0 == count);
}
SECTION("Boundary interval... | [
"nikitaresh@mail.ru"
] | nikitaresh@mail.ru |
ff13b6eec7e704e653491ac29d62ee37b71c27ef | d38c0e1b1fa45e3dd9ed101db047831ac740f085 | /src/BinaryHelper.cpp | d4f91bb8bdefea3e9611535f7a3d12b6c0c19751 | [] | no_license | igornfaustino/Huffman_algoritmo | b39df1cf078794df45eee949e1c77aa32c6e8ab1 | 5c3d8eb5e4e22387019eda8209e319daf648709e | refs/heads/master | 2021-11-08T16:46:52.761091 | 2021-10-26T16:29:40 | 2021-10-26T16:29:40 | 92,450,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | #include "BinaryHelper.h"
unsigned int BinaryHelper::setBitToOne(unsigned int num)
{
return ((num & mask) | mask_one);
}
unsigned int BinaryHelper::setBitToZero(unsigned int num)
{
return ((num & mask) | mask_zero);
}
unsigned int BinaryHelper::getCurrentBit(unsigned int num)
{
return (num & mask_one);
}
unsigne... | [
"igor@nfaustino.com"
] | igor@nfaustino.com |
b85412dd32248222bc252ad00d9625e126bedd46 | 65cdc3ced737400cef283915d70d87fe42b70632 | /src/cGame.cpp | 19c8f9c20e3ba242d1afef1a8bc4b25e4a570a35 | [] | no_license | alexgg-developer/sdlbaseforgame | 1f2f5cc70557412ab30d58b5ea9d0994e2b0e0df | 1e16c9d7aa464d95d07d5483adabe949331f64f0 | refs/heads/master | 2020-03-30T04:35:32.781620 | 2014-05-08T21:25:10 | 2014-05-08T21:25:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,343 | cpp | #include "cGame.hpp"
#include "cTexture.hpp"
#include "vec3.hpp"
#include "cAnimation2D.hpp"
#include "cText.hpp"
#include "TypesDefined.hpp"
#include "SDL_ttf.h"
#include "SDL_mixer.h"
#include "cMusic.hpp"
#include "cSound.hpp"
#include <sstream>
Game::Game()
{}
int Game::init()
{
int error = initSDL();
if(erro... | [
"alexgg.developer@gmail.com"
] | alexgg.developer@gmail.com |
09d641424b38b5fa5cce4b791a6541e92f9d58c6 | 84a96dbd96e926ebb5c658e3cb897db276c32d6c | /tensorflow/core/common_runtime/process_state.cc | 19f7a985f3e3bcc3647c6d0358738527840cc818 | [
"Apache-2.0"
] | permissive | MothCreations/gavlanWheels | bc9189092847369ad291d1c7d3f4144dd2239359 | 01d8a43b45a26afec27b971f686f79c108fe08f9 | refs/heads/master | 2022-12-06T09:27:49.458800 | 2020-10-13T21:56:40 | 2020-10-13T21:56:40 | 249,206,716 | 6 | 5 | Apache-2.0 | 2022-11-21T22:39:47 | 2020-03-22T14:57:45 | C++ | UTF-8 | C++ | false | false | 6,027 | cc | /* Copyright 2015 The TensorFlow Authors. 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 by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
9799de56b81b66934c75c38e50c76d34ea7e6379 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /gse/include/tencentcloud/gse/v20191112/model/DeleteScalingPolicyResponse.h | 141bb3c22118c26292bf39a6888c795e3ca9be06 | [
"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,637 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
b4c9883e2dfe8c12262f42960cd4e05748b90d15 | 6391f2ba00ee3273518af0a02be01c1141ad667c | /include/GameState.hpp | 8ae628ed79040938c6fd286e19fcd844ae004305 | [] | no_license | linorabolini/Dungeon | d1847f8fc368b0f09e5a79866a00aab60f85cbae | d23bec2a94b84636d4daec91f826b8fd11bd318c | refs/heads/master | 2020-01-23T21:34:01.506515 | 2017-02-02T23:26:40 | 2017-02-02T23:26:40 | 74,698,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | hpp | #pragma once
struct GameState
{
int floorsCleared = 0;
int enemiesKilled = 0;
int chestsOpened = 0;
};
| [
"linorabolini@gmail.com"
] | linorabolini@gmail.com |
4355740daf6a988512d75ae7975e7b7af538f1ff | 632b94beca62f7c8af5ae1d1e8e095a352600429 | /devel/include/control_msgs/FollowJointTrajectoryAction.h | fb65b86db7ea7b7e96f1ccbdd14fd0b549592ff7 | [] | no_license | Haoran-Zhao/US_UR3 | d9eb17a7eceed75bc623be4f4db417a38f5a9f8d | a0c25e1daf613bb45dbd08075e3185cb9cd03657 | refs/heads/master | 2020-08-31T07:02:45.403001 | 2020-05-27T16:58:52 | 2020-05-27T16:58:52 | 218,629,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,549 | h | // Generated by gencpp from file control_msgs/FollowJointTrajectoryAction.msg
// DO NOT EDIT!
#ifndef CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYACTION_H
#define CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYACTION_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h... | [
"zhaohaorandl@gmail.com"
] | zhaohaorandl@gmail.com |
1508f3e698bacd4793a59f3acaa5091a638d2429 | 08234a09fbb5efc56ac886c1dcb0d6e68f680735 | /benchmarks/benchmark-tsv.cpp | 56ae150021d6849de55867bcb99429513995449b | [] | no_license | sramas15/snapr | d861f3a7d3329aaa296c6a73ec2498a5d1eaa004 | b873101d87d1081cbfec28ceffdaf33411da5773 | refs/heads/master | 2021-01-14T12:47:14.937481 | 2015-03-11T21:46:41 | 2015-03-11T21:46:41 | 25,495,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | #include <stdio.h>
#include "Snap.h"
int main(int argc, char* argv[]) {
TFIn LoadF("attr/save-vec.bin");
double start = omp_get_wtime();
PNSparseNet Net = TNSparseNet::Load(LoadF);
double end = omp_get_wtime();
printf("Time to read from binary: %f\n", (end-start));
start = omp_get_wtime();
FILE *fp = fo... | [
"ramasshe@cs.stanford.edu"
] | ramasshe@cs.stanford.edu |
d46339589bbf7fa89b60df847d29bf8e862e06ad | c80bd757f18735452eef1f0f7cd7bd305d4313c7 | /src/Dataflow/Serialization/Network/ModuleDescriptionSerialization.cc | bbf1c5a3aab7428d015fcf682a749aa9b73d22f5 | [
"MIT"
] | permissive | kenlouie/SCIRunGUIPrototype | 956449f4b4ce3ed76ccc1fa23a6656f084c3a9b1 | 062ff605839b076177c4e50f08cf36d83a6a9220 | refs/heads/master | 2020-12-25T03:11:44.510875 | 2013-10-01T05:51:39 | 2013-10-01T05:51:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,990 | cc | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2012 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, to any person o... | [
"dwhite@sci.utah.edu"
] | dwhite@sci.utah.edu |
c9b6194f6e1b936a48ed37cc85d6fa16de7d8fb7 | 3cc1092ed190a1c8a8ad51db38cf21324a29265d | /bin/cpp/include/haxe/IMap.h | 31d4a3948c3f3585ffc3a4ea9b4e036c1406591a | [] | no_license | civo/client-haxe | cab0e890103b4b27a0cbdad65a81aa36746a5d27 | 6542bef8d0ae635e7d7d82aa281efa87fdd04053 | refs/heads/master | 2023-01-08T21:10:00.029740 | 2019-11-27T21:48:54 | 2019-11-27T21:48:54 | 223,903,648 | 1 | 0 | null | 2023-01-05T01:38:54 | 2019-11-25T08:55:54 | C++ | UTF-8 | C++ | false | true | 337 | h | // Generated by Haxe 4.0.2
#ifndef INCLUDED_haxe_IMap
#define INCLUDED_haxe_IMap
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES IMap_obj {
public:
typedef hx::Object super;
HX_DO_INTERFACE_RTTI;
};
} // end namespace haxe
#endif /* INCLUD... | [
"lee.sylvester@gmail.com"
] | lee.sylvester@gmail.com |
d99d743af97c21e8fee84e101560d3543ceefa62 | 7e96610cc01da9082e6c00c2f8304da78fee5af0 | /src/server/game/Handlers/CollectionsHandler.cpp | 0679ef9b90396dd4c6e0b048e0fdc5f75c02b548 | [] | no_license | ralphhorizon/bfacore-1 | f945d24bafcb84f12d875c17aa8e948bddcb46ed | 8085d551669a164aa7fbade55081058451cb8024 | refs/heads/master | 2023-01-06T23:21:35.959674 | 2020-10-24T20:17:16 | 2020-10-24T20:17:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,707 | cpp | /*
* Copyright (C) 2020 BfaCore
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distribute... | [
"zemetskia@gmail.com"
] | zemetskia@gmail.com |
23be59e8658cc959eace12dbcd456402344c6c0f | 7ea45377de05a91d447687c53e1a836cfaec4b11 | /forces_code/con221/d.cpp | f1280decfc9b415ae84c440244ba9a03b04779e9 | [] | no_license | saikrishna17394/Code | d2b71efe5e3e932824339149008c3ea33dff6acb | 1213f951233a502ae6ecf2df337f340d8d65d498 | refs/heads/master | 2020-05-19T14:16:49.037709 | 2017-01-26T17:17:13 | 2017-01-26T17:17:13 | 24,478,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <vector>
#include <cstring>
#include <map>
using namespace std;
#define inf 99999999
typedef long long int lli;
typedef pair<int,int> ii;
char s[5010][5010];
int dp[5000][5000],n,m,ans,A[5000];
int main() {
// cin>>n>>m;
scanf("%d ... | [
"saikrishna17394@gmail.com"
] | saikrishna17394@gmail.com |
44d5470f9a69c2352894cc5fcee5d324a1f88358 | eb580526d1c04da0a1f3ed4146b9b68609cef3ea | /D/630.cpp | 9452914d5b118ab04d1f7a282befd7240a82324f | [] | no_license | bhaveshgawri/codeforces | bc34e7b688ee1e7ddc7efbdd758839454ba40524 | 22b8b7e0f3432051ddc1132b6bb84e0b25781347 | refs/heads/master | 2021-01-12T03:32:58.452769 | 2018-01-13T09:01:14 | 2018-01-13T09:01:14 | 78,229,124 | 0 | 1 | null | 2017-10-28T17:06:10 | 2017-01-06T18:31:40 | C++ | UTF-8 | C++ | false | false | 113 | cpp | #include <iostream>
int main(){
unsigned long long int n;
std::cin>>n;
std::cout<<3*n*n+3*n+1;
} | [
"4bhaveshgawri@gmail.com"
] | 4bhaveshgawri@gmail.com |
fb4b9cce15a058d278f4c1621d358aba606810cc | 2f0fa24dac268978f9fb24c9369d5127b898dfe8 | /Classes/SlitherMap.cpp | 95273dfe3dda40c9927ee69982ab5aa9da4e8c6e | [] | no_license | tomcat2088/slitherApp | fc2f7dea3a2719514afc20f50f884ab283eaf136 | b501e32505d265bfc6c26f5163124128e4a1cfb7 | refs/heads/master | 2016-09-13T09:33:34.559016 | 2016-05-31T15:58:35 | 2016-05-31T15:58:35 | 56,503,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109 | cpp | //
// SlitherMap.cpp
// slitherApp
//
// Created by wangyang on 16/4/21.
//
//
#include "SlitherMap.hpp"
| [
"tomcat1991@126.com"
] | tomcat1991@126.com |
306fa7907dcf8dad4a707e085706d9f3ada99843 | b5c338541fb8102293d4f93d1ba18d86e0a6dec9 | /main/src/Math/Matrix.h | 0b7ff6dd78b87b84a17aac16d9c8df26b1bba602 | [] | no_license | robinvierich/engine | e894870e2559b9b862cdfc92975cc022681b3816 | e5cccdbac1e4d824b4047251286533f67950163d | refs/heads/master | 2021-01-10T04:23:57.133209 | 2017-11-06T00:58:05 | 2017-11-06T00:58:05 | 49,519,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | #pragma once
#include "Math/Vector.h"
class Matrix4
{
private:
Vector4 m_columns[4];
const static Matrix4 s_identity;
public:
static const Matrix4& Identity() { return s_identity; }
static Matrix4 Matrix4::CreateProjectionMatrix(const float fov, const float farPlane, const float nearPlane);
M... | [
"robinvierich@gmail.com"
] | robinvierich@gmail.com |
1443fcde15aabbacf587f07365df5ea6cbd1e7f1 | 833b0ad8f71cd1a2cd0a0f761edb059a86a79e55 | /BOJ/1000~/2455.cpp | 322b919221e0731815fac060b7aa4aed831bfe76 | [] | no_license | kin16742/Problem-Solving | 339c0be925eeaab82c2715bbcb571d32ffd00b8c | f549bdf05f16d3179fcc7a177378241b405db56e | refs/heads/master | 2022-12-28T14:29:58.613114 | 2020-10-07T12:24:47 | 2020-10-07T12:24:47 | 185,807,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | #include <iostream>
#include <algorithm>
#include <string.h>
using namespace std;
int main() {
std::ios::sync_with_stdio(false);
cin.tie(NULL);
int a, b, result = 0, people = 0;
for (int i = 0; i < 4; i++) {
cin >> a >> b;
people = people - a + b;
result = max(result, people);
}
cout << result << '\n';
re... | [
"kin16742@naver.com"
] | kin16742@naver.com |
1393776d3103dda6b4caeef8ab410746ee831133 | dbfb77666a87e0d9dc89f2f50db89e7173f1f0d8 | /source/cpp_utils/data/ArrayView.hpp | 714ae5194ef47b502b5c8995d539f2f16ab00f78 | [] | no_license | VladasZ/cpp_utils | b7b248933e1711c6586be2a836d56c9383c5d96c | 76e7246f6b31e8a189e5fbbb943c733792815f9e | refs/heads/master | 2021-06-10T11:14:16.895833 | 2021-03-31T19:50:32 | 2021-03-31T19:50:32 | 157,543,516 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | hpp | //
// ArrayView.hpp
// cpp_utils
//
// Created by Vladas Zakrevskis on 03/05/20.
// Copyright © 2020 VladasZ. All rights reserved.
//
#pragma once
#include <stdlib.h>
namespace cu {
template<class T>
class ArrayView {
private:
const T* const _data;
const size_t _size;
public:... | [
"146100@gmail.com"
] | 146100@gmail.com |
b608a829a99668b69478286f3cd72aa6fce9343f | aac5c40093e690689091844dd0bfe497a343a3cb | /EscalonadorEstruct.cpp | 910ce457bc3f02bb3c3199b6e9e9ce1e0c55d704 | [] | no_license | jlopezsa/escalonadorJulianTesteEscaClassMaq | 4d69d6a15b3ef6684a0dc8826d633ae488612d63 | e8df6770c128e91d2bf3469e7c13908946641f9e | refs/heads/master | 2020-09-21T05:54:18.320412 | 2019-11-28T17:32:29 | 2019-11-28T17:32:29 | 224,701,124 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,573 | cpp | #include <iostream>
#include <stdio.h>
#include <iomanip>
using namespace std;
#include "EscalonadorEstruct.h"
#include "Lista.cpp"
#include "Timer.cpp"
//template<typename TYPEFUNC,typename TASKTYPE,typename OBJECTTYPE>
EscalonadorEstruct::EscalonadorEstruct()
{
schedulerStates = 0;
};
//
//tem... | [
"jlopezsa@gmail.com"
] | jlopezsa@gmail.com |
6e95a1d5585eabb74ab3aaca63f00d47e4a2c815 | b9b17fcfac43774e730ecf221bc26164598010b6 | /src/ncmdline.h | 85cf03f86fa4e7414fb082793ac98677692bc5f9 | [
"BSD-3-Clause"
] | permissive | taviso/mpgravity | e2334e77e9d5e9769e05d24609e4bbed00f23b5c | f6a2a7a02014b19047e44db76ae551bd689c16ac | refs/heads/master | 2023-07-26T00:49:37.297106 | 2020-04-24T06:15:10 | 2020-04-24T06:15:10 | 251,759,803 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,521 | h | /*****************************************************************************/
/* SOURCE CONTROL VERSIONS */
/*---------------------------------------------------------------------------*/
/* ... | [
"taviso@gmail.com"
] | taviso@gmail.com |
db6c8e41dfb571b9a639583604b5a6d126af5a10 | e47f3bc67c0dbfa194e7ec57044a8e16f2410200 | /ReservasHotel/sources/habitacion.hpp | 8d915ef2264ed7755ae14d339db7988abf17d420 | [
"MIT"
] | permissive | rocammo/object-oriented-programming-i | 5afee2b05b7c6495562512b7dd0f53e43a71e69b | e1c7b4c060e843d9358b501ab64a4d83d8bf2f89 | refs/heads/master | 2020-04-28T01:44:58.695737 | 2019-03-10T21:04:29 | 2019-03-10T21:04:29 | 174,869,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | hpp | /**
* habitacion.hpp
*
* @author: Rodrigo Casamayor <alu.89657@usj.es>
* @date: 14 ene. 2019
*/
#pragma once
class Habitacion {
private:
int plazas;
bool ocupada;
private:
long idHabitacion;
int numHabitacion;
public:
Habitacion();
int getPlazas() const;
void setPlazas(int plazas... | [
"rodrigo.casamayor@gmail.com"
] | rodrigo.casamayor@gmail.com |
97289ac790d13a19f7ab578edcd3386a255569c8 | 48da32f6a426262cc2c8107f7e31c9d62ffb619b | /main.cpp | 24f64717060034bc945a928102953587ae3c8316 | [] | no_license | Garcia6l20/qtsignalgraph | afbeddcaa2a1dab3d0188aabf82e2c14601c3fcd | 3cd065a1bde9255f6a0dce733d69e858cf049557 | refs/heads/master | 2020-09-30T00:36:45.914262 | 2019-12-17T18:38:38 | 2019-12-17T18:38:38 | 227,157,779 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | cpp | // Copyright (c) 2019 Schneider-Electric. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
| [
"garcia.6l20@gmail.com"
] | garcia.6l20@gmail.com |
890333a478a749b189477819261d9655c22a50dc | e5645099723739972ac8965819a6eb15e3d6d6b0 | /URI_Online_Judge/1136uri.cpp | cf199c1545eeac1f0c2bd6e953c1d3086f2a19bb | [] | no_license | arleyribeiro/Maratona | a3ab602bf025e4565a53af8c724f266fd7d0c989 | f60ae7f07d74e33683ea1b48e72770e3707e1874 | refs/heads/master | 2016-08-12T03:43:59.984403 | 2016-04-23T18:09:42 | 2016-04-23T18:09:42 | 55,017,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | cpp | #include <bits/stdc++.h>
#define TAM 92
int main() {
int n=0,b=0,d;
while(scanf("%d %d",&n,&b)==2, n+b) {
int v[TAM]={0};
int bo[TAM]={0};
for(int i=0;i<b;i++) {
scanf("%d",&bo[i]); }
for(int i=0;i<b;i++){
for(int j=0;j<b;j++) {
d=abs(bo[i]-bo[j]);
if(!v[d]) {
v[d]=1;... | [
"arley.sribeiro@gmail.com"
] | arley.sribeiro@gmail.com |
266d94774bcb32a0b78bb999ebfffa8fe0ea2b6b | baa9fffc817a2a993d4ecc774d3f277783308c20 | /test/gtest/common/googletest/gtest-matchers.h | f28d10eafabad8fc44fa11875d0ff72d9e24aed6 | [
"BSD-3-Clause"
] | permissive | openucx/ucx | 9a0f2205295afbdf3cff14b5d24af781b123f5ea | 73a48700badb7cbace64d94b82f408e2a26fca32 | refs/heads/master | 2023-09-01T16:51:26.913950 | 2023-09-01T13:02:25 | 2023-09-01T13:02:25 | 25,379,390 | 966 | 420 | NOASSERTION | 2023-09-14T12:29:35 | 2014-10-17T22:17:24 | C | UTF-8 | C++ | false | false | 27,021 | h | // Copyright 2007, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | [
"lgenkin@nvidia.com"
] | lgenkin@nvidia.com |
18bfb159b1f6190a516119da4d34b3468af048d6 | b54847ee4898fb3272a38daabf60d1a02646dd05 | /exams/exam_part2/Button.h | b87b74fd22cde26e886581b871293249c483d61c | [] | no_license | IvanFilipov/FMI-OOP | 4d7b97e92b14949d6edf269bedef95d0b86ed97d | 92a8c5a8cf1e73f3da640928c46965affba7e57e | refs/heads/master | 2023-04-21T10:13:18.911124 | 2018-06-05T10:57:08 | 2018-06-05T10:57:08 | 52,727,858 | 19 | 9 | null | 2023-04-06T23:14:31 | 2016-02-28T15:27:39 | C++ | UTF-8 | C++ | false | false | 231 | h | #pragma once
#include "Element.h"
class Button : public Element{
public:
Button(const char*);
Button(const Button&);
Button& operator= (const Button&);
virtual const char* convertToHtml();
virtual Element* clone();
};
| [
"vanaka1189@gmail.com"
] | vanaka1189@gmail.com |
3b23f675a82d35706ba8b2400b39b40fee517ab6 | 2112057af069a78e75adfd244a3f5b224fbab321 | /branches/ref1/src-root/src/common/world/client_zone.cpp | 0f6076b8fb3308af47100ffb40c7b2d1bfa35067 | [] | no_license | blockspacer/ireon | 120bde79e39fb107c961697985a1fe4cb309bd81 | a89fa30b369a0b21661c992da2c4ec1087aac312 | refs/heads/master | 2023-04-15T00:22:02.905112 | 2010-01-07T20:31:07 | 2010-01-07T20:31:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,274 | cpp | /**
* @file client_zone.cpp
* Client-side zone class
*/
/* Copyright (C) 2005 ireon.org developers council
* $Id$
* 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 versio... | [
"psavichev@gmail.com"
] | psavichev@gmail.com |
25ed7c4738159902023acc11edec4cb66ebad103 | db04ecf258aef8a187823b8e47f4a1ae908e5897 | /Cplus/LastMomentBeforeAllAntsFallOutofaPlank.cpp | 03a60ce5fb3324f2e9ee69a7d4c4f3bf5e1c5e94 | [
"MIT"
] | permissive | JumHorn/leetcode | 9612a26e531ceae7f25e2a749600632da6882075 | abf145686dcfac860b0f6b26a04e3edd133b238c | refs/heads/master | 2023-08-03T21:12:13.945602 | 2023-07-30T07:00:50 | 2023-07-30T07:00:50 | 74,735,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | #include <algorithm>
#include <vector>
using namespace std;
class Solution
{
public:
int getLastMoment(int n, vector<int> &left, vector<int> &right)
{
int res = 0, l = 0, r = 0;
if (!left.empty())
{
l = *max_element(left.begin(), left.end());
res = max(res, l);
}
if (!right.empty())
{
r = *min_e... | [
"JumHorn@gmail.com"
] | JumHorn@gmail.com |
32aba7c26130efcbfb2358267d8900a725353ffb | 4bc40d60c146300030512b11e375cb8abbf2f5b3 | /LiteX/software/Doom/mc1-doom/src/i_video_mc1.c | 2a236239853956be6fd01e54612d3112cdc7efe5 | [
"BSD-3-Clause",
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license"
] | permissive | BrunoLevy/learn-fpga | fd18ea8a67cfc46d29fac9ad417ae7990b135118 | fd954b06f6dc57ee042d0c82e9418e83c4b261b4 | refs/heads/master | 2023-08-23T06:15:43.195975 | 2023-08-04T06:41:22 | 2023-08-04T06:41:22 | 267,350,664 | 2,036 | 191 | BSD-3-Clause | 2023-06-23T13:41:44 | 2020-05-27T15:04:05 | C++ | UTF-8 | C++ | false | false | 11,164 | c | // Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// Copyright (C) 1993-1996 by id Software, Inc.
// Copyright (C) 2020 by Marcus Geelnard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU... | [
"Bruno.Levy@inria.fr"
] | Bruno.Levy@inria.fr |
a696952ddc3578d4c85a555ef1a6a9074aa120f5 | 8c910789637e15021cc169fe3c6ab8f29487daf1 | /Linux_ex_box/build-Linux_ex_box-Desktop_Qt_5_1_0_GCC_64bit-Debug/ui_mymainwindow.h | 841a5896cabe8a5e61f3d06cb8fd46f9ea49d5cc | [] | no_license | Dufferent/Qt-Work | 498c6b9251cbb43fdcaeec273ce0878722a0d40b | 245481420d7a511511fc8906a4955f4727806446 | refs/heads/master | 2023-01-11T00:54:01.533118 | 2020-10-29T08:53:22 | 2020-10-29T08:53:22 | 287,864,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | h | /********************************************************************************
** Form generated from reading UI file 'mymainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.1.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**************************************... | [
"2269969490@qq.com"
] | 2269969490@qq.com |
43b7fcaad12c788e099ed7b44642527ad17e47b1 | fd05fd318468dfddb80a3af1b413fca06e9fae90 | /SMJS_GameRulesProps.h | 8285328acf0ac0297a08a182fec89f38d837c97b | [] | no_license | Sarzhevsky/SourceMod.js | 6a6c7df9ae0d3ef7f1beffc40efb36186d8b90f9 | 639c0cb3dd60c6034f8fccea4be8ac6127f74f44 | refs/heads/master | 2021-01-22T03:23:26.301192 | 2013-11-17T21:30:52 | 2013-11-17T21:30:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | h | #ifndef _INCLUDE_SMJS_GAMERULESPROPS_H_
#define _INCLUDE_SMJS_GAMERULESPROPS_H_
#include "SMJS.h"
#include "SMJS_BaseWrapped.h"
#include "SMJS_Netprops.h"
class SMJS_GameRulesProps : public SMJS_BaseWrapped, public SMJS_NPValueCacher {
public:
void *gamerules;
void *proxy;
SMJS_GameRulesProps();
WRAPPED_CLS(SMJ... | [
"matheusavs3@gmail.com"
] | matheusavs3@gmail.com |
fd8e8d9f0a038c6bbbf3f6209580f9a5b1431a84 | 7e791eccdc4d41ba225a90b3918ba48e356fdd78 | /chromium/src/mojo/edk/test/multiprocess_test_helper.cc | 0490119abbc227a32bdedcccd05c685379e7b834 | [
"BSD-3-Clause"
] | permissive | WiViClass/cef-3.2623 | 4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885 | 17fe881e9e481ef368d9f26e903e00a6b7bdc018 | refs/heads/master | 2021-01-25T04:38:14.941623 | 2017-06-09T07:37:43 | 2017-06-09T07:37:43 | 93,824,379 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,037 | cc | // Copyright 2013 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/edk/test/multiprocess_test_helper.h"
#include <utility>
#include "base/command_line.h"
#include "base/logging.h"
#include "base/process/k... | [
"1480868058@qq.com"
] | 1480868058@qq.com |
9c01007ded74b8ef3e8088874d50ece6fde219d6 | b9048652f15be10232888d2af78ef7e6eb363893 | /include/qxt/qxtletterboxwidget_p.h | dcd81e9b2a0f47d45568dabeae9c59ee268f724d | [] | no_license | vghost2008/wlib | 0457b1e191f2d461caf100486521c89f2abbf9f1 | ab7ae25eef6427df21d7022f3376ec601beec28f | refs/heads/master | 2022-05-09T11:49:07.802162 | 2019-05-07T11:39:39 | 2019-05-07T11:39:39 | 185,389,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | h | /********************************************************************************
* License :
* Author : WangJie bluetornado@zju.edu.cn
* Description :
********************************************************************************/
#ifndef QXTLETTERBOXWIDGET_P_H
/*********************************... | [
"bluetornado@zju.edu.cn"
] | bluetornado@zju.edu.cn |
ac01dbb0756b955213bc4131cb000ff1ffde511f | e773d41ff293c1c0b7f1968a26cc5764e00667bb | /cefclient/browser/main_context_impl_win.cc | d59788a8b7a73af33767949f5a20e3de85da8ec1 | [] | no_license | yufanghu/fec | 43794ac187d3c1aa84bd4e660f5272c8addf830a | 87be1c1238ff638ed4c5488cf5f0701b78e4b82f | refs/heads/master | 2021-03-27T12:33:52.573027 | 2017-12-01T10:18:38 | 2017-12-01T10:18:38 | 108,273,897 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,073 | cc | // Copyright (c) 2015 The Chromium Embedded Framework 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 "cefclient/browser/main_context_impl.h"
#include <direct.h>
#include <shlobj.h>
namespace client {
std::string MainCont... | [
"fibonacci2016@126.com"
] | fibonacci2016@126.com |
891e146acf8e21249e293693c0daac6d5c9dab8f | e3d917181ee947fe596df4b66e1bdc066e9f9e02 | /windowsbuild/MSVC2022/Qt/6.4.2/include/QtCore/qstandardpaths.h | ca1e37d92c406087ddb68649ba30539d992efa6d | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | visit-dav/visit-deps | d1be0023fa4c91c02589e5d87ab4e48c99145bb5 | d779eb48a12e667c3b759cedd3732053d7676abf | refs/heads/master | 2023-08-08T15:30:28.412508 | 2023-07-31T22:34:52 | 2023-07-31T22:34:52 | 174,021,407 | 2 | 3 | NOASSERTION | 2023-07-06T16:07:22 | 2019-03-05T21:12:14 | C++ | UTF-8 | C++ | false | false | 2,009 | h | // Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QSTANDARDPATHS_H
#define QSTANDARDPATHS_H
#include <QtCore/qstringlist.h>
#include <QtCore/qobjectdefs.h>
QT_BEGIN_NAMESPACE
#ifndef QT_NO_STANDARDPATHS
class Q_C... | [
"noreply@github.com"
] | visit-dav.noreply@github.com |
b532c0d8db525bccbc32a4a011db755b9eccce11 | 1095cfe2e29ddf4e4c5e12d713bd12f45c9b6f7d | /ext/systemc/src/sysc/datatypes/fx/scfx_pow10.h | c9b278561f747424d113f608bdbcec18f19550fe | [
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | gem5/gem5 | 9ec715ae036c2e08807b5919f114e1d38d189bce | 48a40cf2f5182a82de360b7efa497d82e06b1631 | refs/heads/stable | 2023-09-03T15:56:25.819189 | 2023-08-31T05:53:03 | 2023-08-31T05:53:03 | 27,425,638 | 1,185 | 1,177 | BSD-3-Clause | 2023-09-14T08:29:31 | 2014-12-02T09:46:00 | C++ | UTF-8 | C++ | false | false | 2,543 | h | /*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | [
"jungma@eit.uni-kl.de"
] | jungma@eit.uni-kl.de |
70126879b03599750b7c5c708cfc0def2003f2dd | 04b886bcb4eae8b4cd656b2917a82a13067ca2b7 | /src/cpp/oclint/oclint-rules/test/custom2/CommaMissingInIntArrayInitRuleTest.cpp | 374b3dd1ebf54f51e850a54bcb5bcd208e3e3eaa | [
"BSD-3-Clause"
] | permissive | terryhu08/MachingLearning | 4d01ba9c72e931a82db0992ea58ad1bd425f1544 | 45ccc79ee906e072bb40552c211579e2c677f459 | refs/heads/master | 2021-09-16T01:38:10.364942 | 2018-06-14T13:45:39 | 2018-06-14T13:45:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | cpp | #include "TestRuleOnCode.h"
#include "rules/custom2/CommaMissingInIntArrayInitRule.cpp"
TEST(CommaMissingInIntArrayInitRuleTest, PropertyTest)
{
CommaMissingInIntArrayInitRule rule;
EXPECT_EQ(3, rule.priority());
EXPECT_EQ("comma missing in int array init", rule.name());
EXPECT_EQ("custom2", rule.categ... | [
"dhfang812@163.com"
] | dhfang812@163.com |
2789ade5b65463402ebfc694f29169ffcf47b495 | 2e3d9d4b286b7b3d0b367181f5d1c2c154fb9b28 | /Math/BottomUpResultOut/solver.cpp | c4106aea156899b69147dbaedf2d0ab426625cd9 | [] | no_license | squirrelClare/algorithm_cplusplus | 8237baf5cea6f79889eaad6360b2dadd7a1b3624 | 312a63851182962d014b6b5fba28bdd51decb033 | refs/heads/master | 2021-01-10T03:38:40.434217 | 2015-10-22T17:36:57 | 2015-10-22T17:36:57 | 44,685,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,680 | cpp | #include "solver.h"
#include<QDebug>
/**
与SteelBarCut中的不同之处在于,
该算法将每次局部最优解存储起来,
以便再次需要求解该局部最优解的
时候直接从记录中调取。以牺牲内存
为代价获得运行时间上的提升*/
Solver::Solver()
{
}
Solver::Solver(const QList<int> lengthList, const QList<int> valueList, const int totalLength)
{
/*lengthList为可以切割的长度选项
valueList为每个长度对应的价... | [
"zcc136314853@hotmail.com"
] | zcc136314853@hotmail.com |
3a46c72c714cdae9bc1f2bee34dbe79b73cebe9e | e540d777e71d94f34cbac8fcfdc99d5ffd174b3e | /SpaceShooter/view.cpp | 522410772cf588f14fe94a76fe401770d2ed4407 | [] | no_license | N4G1/SpaceShooter | 3c4f0cb3d5cf98e4aff690ca3da256cb066a094f | e173b9628cd6572efed8791e4d8af662da57752f | refs/heads/master | 2020-04-02T04:48:55.904322 | 2018-10-21T19:09:31 | 2018-10-21T19:09:31 | 154,036,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | cpp | #include "view.h"
view::view()
{
//window.create(sf::VideoMode(800, 1000), "Space Shooter"); //creating window
//window.setPosition(sf::Vector2i((1920 / 2) - (800 / 2), 0));
//window.setFramerateLimit(60);
}
view::~view()
{
}
void view::setFramerate(int fps)
{
window.setFramerateLimit(fps);
}
... | [
"noreply@github.com"
] | N4G1.noreply@github.com |
f11299f4f177bb08528eafc5a291f89e623efd6d | bf53c9dc6851b501b13fa89c6e2bd2cf775b0d67 | /src/WaterSurface.cpp | 698ebd16de31516b1b6fa25c35163267e77800c8 | [] | no_license | xchuki00/PGP | 2ca971dc9af7858b57407502c777c2819d56d689 | 3f4990f84260734b5758e3731bd088e099d00575 | refs/heads/master | 2023-01-28T09:57:57.710541 | 2020-11-23T14:05:08 | 2020-11-23T14:05:08 | 315,334,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,746 | cpp | #pragma once
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <GPUEngine/geGL/StaticCalls.h>
#include <GPUEngine/geGL/geGL.h>
#include <GPUEngine/geAd/SDLWindow/SDLWindow.h>
#include <GPUEngine/geAd/SDLWindow/SDLMainLoop.h>
#include<glm/glm.hpp>
#include<glm/gtc/matrix_transform.hpp>
#incl... | [
"p.chukir@gmail.com"
] | p.chukir@gmail.com |
34b32e0ebddb7e497561bfa6cfd433687b80057a | 4bc21b62a346c48cbe29b898b7fe331d6dedc023 | /src/rpcserver.h | 914de9fc73b3017f1d06ef8829a1926a1a79d169 | [
"MIT"
] | permissive | dachcoin/dach | 0bc1f57a2be087c81a847b8114d8d38cb211d39b | 57c2b4af4005e8deba7932e81bd6ccdfbfe7f6bf | refs/heads/master | 2020-04-12T22:36:32.451311 | 2019-01-30T05:54:04 | 2019-01-30T05:54:04 | 162,793,444 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,802 | h | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_RPCSERVER_H
#define BITCOIN_... | [
"media@dachcoin.live"
] | media@dachcoin.live |
a1a2ea4f364cf96de37277b7b564c5f2d5da6fad | fb2337d616b5e121d66b0b59b4222d2eec9d7290 | /src/cpp/206. Reverse Linked List.cpp | caa3f84ef6dc520dd0a296f68c36af248f0f1356 | [
"MIT"
] | permissive | asdlei99/D.S.A-Leet | 02348b33bf4a7a8a4f673de9a087d8557471af59 | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | refs/heads/master | 2020-09-24T15:47:03.756271 | 2019-03-29T01:34:37 | 2019-03-29T01:34:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | /*
Reverse a singly linked list.
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
#include <common.hpp>
class Solution
{
public:
ListNode *reverseList(ListNode *head)
{
if (head == NULL)
... | [
"x-jj@foxmail.com"
] | x-jj@foxmail.com |
4742cc34346ab3cb9c825d5380f5e6641c45b72f | ecc8548a48d60469f5bf3d433dbe3128bf860348 | /src/lib/drishti/face/FaceTracker.h | bd2abcd053e5b058deaf9bdf70e9801eca9d345b | [
"BSD-3-Clause"
] | permissive | kumaakh/drishti | 58b4ca5da590d7fa1efaae335e767fdf9f4fe04c | 2f38fc0228437f77e04e09fee3528a800085d930 | refs/heads/master | 2021-05-15T15:43:07.919235 | 2017-11-06T10:06:48 | 2017-11-06T10:06:48 | 107,410,936 | 0 | 0 | null | 2017-10-18T13:19:57 | 2017-10-18T13:19:57 | null | UTF-8 | C++ | false | false | 1,667 | h | /*! -*-c++-*-
@file FaceTracker.h
@author David Hirvonen
@brief Declaration of a face landmark tracker.
\copyright Copyright 2017 Elucideye, Inc. All rights reserved.
\license{This project is released under the 3 Clause BSD License.}
*/
#ifndef __drishti_face_FaceTracker_h__
#define __drishti_face_FaceT... | [
"noreply@github.com"
] | kumaakh.noreply@github.com |
2c5a747a79e80d3fbf7e81763656c376af17dc7b | 212d4a1c13f8ccbce673982df770258c03f9abcc | /libnmm/sml/sml-tools/Helper.cc | 067e36e2142577748d5aa6e7a04719cea41209f3 | [] | no_license | ShravanTata/Mouse_Webots_BenchMarking | 0c3d62cd1d15c82134b8bdb8605f4e83d783875d | 90d838f42675752d68190e62c47693e45b6038e0 | refs/heads/master | 2020-12-30T15:07:40.042027 | 2017-05-29T15:47:37 | 2017-05-29T15:47:37 | 91,102,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cc | #include "Helper.hh"
#include <boost/random/normal_distribution.hpp>
#include <boost/random.hpp>
//constructor
typedef boost::mt19937 RandomGenerator;
static RandomGenerator rng(static_cast<unsigned> (time(0)));
// Gaussian
typedef boost::normal_distribution<double> NormalDistribution;
typedef boost::variate_gener... | [
"tatarama@biorobpc4.epfl.ch"
] | tatarama@biorobpc4.epfl.ch |
f1bf06e81bbe9e48552823d8f040ccc6bff88791 | 763269f66f7e34a21b4cf1eee065984d9ab43406 | /RC_S620S_Test/RC_S620S_Test.ino | 04d9ee7dc3380ce9235fd37ae5ba6f0070133a6e | [] | no_license | yukusakabe/HomeSensorNetwork | 44ad57f8fadc8f12d8ed36b9d340fc8eb786ff97 | 098f751b0315fbf9fdbff1ab09d9019a15de40fa | refs/heads/master | 2020-05-20T00:23:33.841505 | 2013-06-10T19:59:07 | 2013-06-10T19:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | ino | #include <SoftwareSerial.h>
#include <TypeDefinition.h>
#include <LiquidCrystal.h>
#include <libRCS620S.h>
#define COMMAND_TIMEOUT 400
#define POLLING_INTERVAL 1000
#define LED_PIN 13
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
RCS620S rcs620s(NULL);
void setup() {
int ret;
pinMode(LED_PIN, OUTPUT); // for Po... | [
"yu@kskb.jp"
] | yu@kskb.jp |
a5978e3ee825e8c0a636da529925b087fb92e632 | dfc05885f375d723c767e85c303b706890e9bba9 | /hashmap/main.cpp | ffb749d5a8d9f2a19fd5cb476064d9abbbe91b2c | [] | no_license | z847299324/demo | 417f3f11118e38f93a4263485361ca4334bb8616 | 0f7649f5834682c4f5d32885621f4033a34e0604 | refs/heads/master | 2018-10-19T22:31:48.323534 | 2018-09-20T01:27:17 | 2018-09-20T01:27:17 | 99,782,273 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,947 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[])
{
char ch;
int flag = 0;//设置标志位
char *infilename ="in", *outfilename = "out"; // 初始化的输入输出文件名
FILE *infile, *outfile;//文件指针
if (argc == 2)
strcpy(infilename, argv[1]);
else if (argc == 3) /... | [
"123456@qq.com"
] | 123456@qq.com |
3665d4f7b455df893765c1e38391e9757ade0639 | f65ce9e212064d6c27c7f9bd13684b83fef58d83 | /Softrast/src/App.h | 8d3a8653f6b115cf7b6858a00f8fd674953d9749 | [
"MIT"
] | permissive | RickvanMiltenburg/SoftRast | 9722d2bda7b9fcfe2bf5494b09de6bbf99e27237 | e14b74804c052bb448058808cbb6dd06616ba585 | refs/heads/master | 2020-05-18T18:00:55.752279 | 2015-05-18T14:05:28 | 2015-05-18T14:05:28 | 35,819,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | h | #pragma once
#include <stdint.h>
#include <d3d11.h>
#include "RenderTarget.h"
class App
{
public:
App ( ID3D11Device* device, ID3D11DeviceContext* deviceContext, ID3D11RenderTargetView** backBuffer, ID3D11Texture2D** backBufferTexture );
~App ( );
bool LoadModel ( const char* path );
void OnResize ( uint32_t ... | [
"rick@milty.nl"
] | rick@milty.nl |
9e57ed1f90551bf84fd2f2fa7e480b440b16e419 | 6b5d6690678f05a71837b85016db3da52359a2f6 | /src/net/ftp/ftp_network_transaction.h | ec0c1f8de2b39a52ee073dc70106b6d65422b117 | [
"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 | 7,990 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_FTP_FTP_NETWORK_TRANSACTION_H_
#define NET_FTP_FTP_NETWORK_TRANSACTION_H_
#include <stdint.h>
#include <string>
#include <utility>
#inc... | [
"junhuac@hotmail.com"
] | junhuac@hotmail.com |
4c144649924ed465079b211bde3170611940e0f9 | f3cc7fafad9d507bd608fb1c15fc792fd07f4615 | /src/Collisions/CollisionalFusionDD.cpp | 770e262337b3cf79624f5615f01e9271855fee47 | [] | no_license | michaeltouati/Smilei | 2eb3367b950bc4defe7a023bc802e169f6bf95a9 | e551c9640859e11df33211c37d06f83b65773132 | refs/heads/master | 2021-11-29T22:35:00.808182 | 2021-10-08T13:07:14 | 2021-10-08T13:07:14 | 235,618,233 | 0 | 0 | null | 2020-01-22T16:45:01 | 2020-01-22T16:45:00 | null | UTF-8 | C++ | false | false | 4,079 | cpp | #include "CollisionalFusionDD.h"
#include "Collisions.h"
#include "Species.h"
#include "Patch.h"
#include <cmath>
using namespace std;
// Coefficients used for energy interpolation
// The list of energies is in logarithmic scale,
// with Emin=1 keV, Emax=631 MeV and npoints=50.
const int CollisionalFusionDD::np... | [
"frederic.perez@polytechnique.edu"
] | frederic.perez@polytechnique.edu |
d42c8deff676e637fed89c4e7e2a62848f769323 | 76957b84c5c97ac08dd2baea6cd3d5db96d26012 | /common_project/nim/nim_doc/callback/doc_callback.h | 4c062c88ae2734f183bbc7743fddb5d21976e41b | [] | no_license | luchengbiao/base | 4e14e71b9c17ff4d2f2c064ec4f5eb7e9ce09ac8 | f8af675e01b0fee31a2b648eb0b95d0c115d68ff | refs/heads/master | 2021-06-27T12:04:29.620264 | 2019-04-29T02:39:32 | 2019-04-29T02:39:32 | 136,405,188 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | #pragma once
#include <stdint.h>
#include <list>
#include "nim_sdk_manager\helper\nim_doc_trans_helper.h"
namespace nim_comp
{
/** @class DocTransCallback
* @brief 文档传输回调类
* @copyright (c) 2016, NetEase Inc. All rights reserved
* @author redrain
* @date 2016/12/15
*/
class DocTransCallback
{
public:
/**
... | [
"993925668@qq.com"
] | 993925668@qq.com |
eab58b1d187bbc8260bb2f0bfad521cf86d7c74a | 68c0596591ca804f3f5d4cebc1332704ab89fd14 | /BibliotecaSTL/Pilha.cpp | bc75838c2e941dcbc0e0f908ee297b993874ee39 | [] | no_license | Daniel-Fonseca-da-Silva/C-Basic-Codes | dcf6cbb3145f5fdcba1465f8a92c498400bef2bd | f20af5e636a236e07f35c4c49d12d2a8fb47ac5c | refs/heads/master | 2020-06-23T08:37:00.501384 | 2019-07-29T03:56:23 | 2019-07-29T03:56:23 | 198,572,860 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | #include <iostream>
#include <stack> // pilha
// Pilha retira o primeiro elemento do topo
// Primeiro que entra é o último que sai (first in last out)
using namespace std;
int main()
{
stack<double> pilha;
pilha.push(3.14);
pilha.push(5.123);
pilha.push(10.56);
pilha.pop(); // Retira 3.14 do topo
cout << "T... | [
"developer-web@programmer.net"
] | developer-web@programmer.net |
010fbde138ce792da167028ff08cf326c7859740 | 755e7b5e73c5aa3b9702ba97ec33ca30c9e4e667 | /CFEM/PhyElementBar.cpp | b769156b8bb4823dda83c03c2b51522255fa7db5 | [] | no_license | JohnDTill/QtFEM | a18733aed7a42f50874c6a098b1128327e2dbb2c | 95ed1ba67e95760209f20733aee2d6be085b91cb | refs/heads/master | 2022-11-08T02:03:33.570951 | 2020-06-10T01:27:05 | 2020-06-10T01:27:05 | 174,175,275 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include "PhyElementBar.h"
#include "PhyNode.h"
void PhyElementBar::setGeometry(){
L = fabs(eNodePtrs[1]->coordinate(0) - eNodePtrs[0]->coordinate(0));
}
void PhyElementBar::setInternalMaterialProperties(VectorXd& pMat){
A = pMat(mpb_A);
E = pMat(mpb_E);
}
void PhyElementBar::Calculate_ElementStiffness(){
... | [
"JohnDTill@gmail.com"
] | JohnDTill@gmail.com |
95a21d796bda56e0e7ea2fd477905e76111afe4b | 2586a6db26d414dfbfeee28d9eeeaf50c13a3941 | /strobingled.ino | d2ddf66d9dc3eb0d969ffbc35aae9fe2527cffa8 | [] | no_license | minakhan01/ClockArduinoCode | 334b6e9221d499498978611b6402494fda45d452 | 68043e47fefe239de9ed1c81c5539668119f1fb1 | refs/heads/master | 2021-01-20T06:59:55.981210 | 2017-05-02T19:29:10 | 2017-05-02T19:29:10 | 89,946,412 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,124 | ino | // Stroboscopic Tachometer
// Ed Nisley - KE4ANU - December 2012
//----------
// Pin assignments
const byte PIN_KNOB_A = 2; // knob A switch - must be on ext interrupt 2
const byte PIN_KNOB_B = 4; // .. B switch
const byte PIN_BUTTONS = A5; // .. push-close momentary switches
const byte... | [
"gordo@ALIENWARE-15-R3.mit.edu"
] | gordo@ALIENWARE-15-R3.mit.edu |
137e6ba78c4bd25145f987530a4b8f4daf98a295 | 59515f3d82033ed774c135a5310ed86f7db8b7f7 | /mainwindow.h | 8c77496833d1743f0fa21a1c3b628cb6df0835b4 | [] | no_license | CyberMakaron/2019_VT-22_Klesov_Makar_2 | e3295a27466debe43295686e46987a5937a25fa1 | e9c2de2618e906783929f301b9c2d30d276dcd20 | refs/heads/master | 2020-05-23T19:18:39.123124 | 2019-05-22T21:12:50 | 2019-05-22T21:12:50 | 186,909,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QString>
#include <QPixmap>
#include "dir_imagesworker.h"
#include "shortcutworker.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
voi... | [
"makrusim@yandex.ru"
] | makrusim@yandex.ru |
562386b22cb290f536bf08ae70457fa8816770fe | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /components/safe_browsing/core/common/safe_browsing_prefs.cc | e0b3f4727e8d5b419b756fedb9ed9953ca61da84 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 16,705 | cc | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "base/check_op.h"
#include "base/command_line.h"
#include "base/metric... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3167ccf6e5b50889cd259f7d2e9fe70f35c7ba2f | 7fc9ca1aa8c9281160105c7f2b3a96007630add7 | /template.cpp | 3076c5a8cd36ce2830193cc88ca60a1cc58f617a | [] | no_license | PatelManav/Codeforces_Backup | 9b2318d02c42d8402c9874ae0c570d4176348857 | 9671a37b9de20f0f9d9849cd74e00c18de780498 | refs/heads/master | 2023-01-04T03:18:14.823128 | 2020-10-27T12:07:22 | 2020-10-27T12:07:22 | 300,317,389 | 2 | 1 | null | 2020-10-27T12:07:23 | 2020-10-01T14:54:31 | C++ | UTF-8 | C++ | false | false | 462 | cpp | /*May The Force Be With Me*/
#include <bits/stdc++.h>
#define ll long long
#define MOD 1000000007
#define endl '\n'
using namespace std;
ll N;
vector<ll> arr;
void Input(){
cin >> N, arr.clear(), arr.resize(N);
for(ll i = 0; i < N; i++)
cin >> arr[i];
}
void Solve(){
}
int main(){
ios_base::syn... | [
"helewrer3@gmail.com"
] | helewrer3@gmail.com |
144ffdbbbf1c194afd07c31ea87856ddb6f41d95 | 37097fdaecb287e965273b1eeb089db69d4c0ce1 | /src/planning/knowledge_representation/src/kdb_node.cpp | df7cfc6d35fa9ad88c49df2dc0b8cad7e5054319 | [
"BSD-3-Clause-Clear",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | RobotJustina/tmc_justina_docker | 9d5fc63188238608bc47ec896aae0fdd9e490223 | 8aa968a81ae4526f6f6c2d55b83954b57b28ea92 | refs/heads/main | 2023-06-01T04:37:55.193899 | 2021-06-27T04:23:21 | 2021-06-27T04:23:21 | 361,206,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,800 | cpp | #include <iostream>
#include <sstream>
#include "ros/ros.h"
#include "knowledge_msgs/kdbFilePath.h"
#include "std_msgs/Bool.h"
#include "std_msgs/Empty.h"
#include "std_msgs/String.h"
#include "std_msgs/ColorRGBA.h"
std::string locationsFilePath;
std::string objectsFilePath;
std::string categoriesFilePath;
std::str... | [
"jc.shogun.t6s@gmail.com"
] | jc.shogun.t6s@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.