text
stringlengths
4
6.14k
/* Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ] Solution: recursive impl of DFS. */ #include <vector> using namespace std; class Solution { public: vec...
#ifndef _AA0_H #define _AA0_H char const * aa0 (int x); #endif
// // Created by ShareSDK.cn on 13-1-14. // 官网地址:http://www.ShareSDK.cn // 技术支持邮箱:support@sharesdk.cn // 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) // 商务QQ:4006852216 // Copyright (c) 2013年 ShareSDK.cn. All rights reserved. // #import <UIKit/UIKit.h> /** * @br...
// Generated by gencpp from file robot_arm_aansturing/positionResult.msg // DO NOT EDIT! #ifndef ROBOT_ARM_AANSTURING_MESSAGE_POSITIONRESULT_H #define ROBOT_ARM_AANSTURING_MESSAGE_POSITIONRESULT_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros...
//////////////////////////////////////////////////////////////////////////////// /// @brief version request handler /// /// @file /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the ...
/*====================================================== //º¯ÊýÃû£ºsdminv //¹¦ÄÜÃèÊö£º¶Ô³ÆÕý¶¨¾ØÕóÔ­µØÇóÄæ //ÊäÈë²ÎÊý£ºmat Ö¸Ïò´ý·Ö½âµÄ¾ØÕóµÄÖ¸Õë n ¾ØÕó½×Êý //·µ»ØÖµ£ºÕûÐÍ¡£ÔËÐгɹ¦Ôò·µ»Ø1,ʧ°ÜÔò·µ»Ø0 =========================================================*/ #include "stdio.h" #include "stdlib.h" #include...
/** * Class describing a basic get ok frame * * @copyright 2014 Copernica BV */ /** * Set up namespace */ namespace AMQP{ /** * Class implementation */ class BasicGetOKFrame : public BasicFrame { private: /** * server-assigned and channel specific delivery tag * @var uint64_t */ u...
// Copyright 2013 Velodyne Acoustics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
/*------------------------------------------------------------------------- * * translator.c * Author: Ying Ni yni6@hawk.iit.edu * One-line description * * Here starts the more detailed description where we * explain in more detail how this works. * *----------------------------------------...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #ifdef WIN32 #ifdef _DEBUG #include <crtdbg.h> #define _CRTDBG_MAP_ALLOC #endif //#define _CRT_SECURE_NO_WARNINGS #define WIN32_LEAN_AND_MEAN ...
// // GADMAdapterNendNativeVideoAd.h // NendAdapter // // Copyright © 2019 FAN Communications. All rights reserved. // #import <Foundation/Foundation.h> #import <GoogleMobileAds/GoogleMobileAds.h> #import <NendAd/NendAd.h> @interface GADMAdapterNendNativeVideoAd : NSObject <GADMediationNativeAd> - (nonnull instan...
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
//////////////////////////////////////////////////////////////////////////////// // // TYPHOON REST CLIENT // Copyright 2015, Typhoon Rest Client Contributors // All Rights Reserved. // // NOTICE: The authors permit you to use, modify, and distribute this file // in accordance with the terms of the license agreeme...
#pragma once #include <iostream> #include "layer.h" class DummyLayer : public Layer { // dummy layer that adds delta to matrix when ff, and substracts when bp public: DummyLayer(FloatT delta_) : delta(delta_) {} virtual void forward_cpu( const std::vector<Blob> & inputs, const std::vector<Blob> & output...
/** * © Copyright 2013 Carl N. Baldwin * * 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 agr...
#import <Foundation/Foundation.h> #import "PBObject.h" /** * Location Intelligence APIs * Incorporate our extensive geodata into everyday applications, business processes and workflows. * * OpenAPI spec version: 8.5.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com...
// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // Fact Check Tools API (factchecktools/v1alpha1) // Documentation: // https://developers.google.com/fact-check/tools/api/ #if SWIFT_PACKAGE || GTLR_USE_MODULAR_IMPORT ...
/* BEGIN HEADER */ #ifndef t11_INCLUDE_ #define t11_INCLUDE_ #include <assert.h> #include <unordered_map> #include <utility> #include "classp.h" // Include files generated by bison #include "t11.yacc.hh" #include "location.hh" #include "position.hh" namespace t11 { using std::istream; using std::ostream; using clas...
// // IDevice.h // // Library: IoT/Devices // Package: Generated // Module: IDevice // // This file has been generated. // Warning: All changes to this will be lost when the file is re-generated. // // Copyright (c) 2014-2015, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-I...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
/* C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C * * C * copyright (c) 2011 by UCAR * C * * C * University Corp...
/* * Generated by asn1c-0.9.22.1409 (http://lionet.info/asn1c) * From ASN.1 module "SPNEGO" * found in "spnego.asn1" * `asn1c -fnative-types -fskeletons-copy -fcompound-names` */ #include "asn_internal.h" #include "MechTypeList.h" static asn_TYPE_member_t asn_MBR_MechTypeList_1[] = { { ATF_POINTER, 0, 0, (...
// // YGListDetailController.h // WangYe // // Created by 阳光 on 2017/2/13. // Copyright © 2017年 YG. All rights reserved. // #import <UIKit/UIKit.h> @interface YGListDetailController : UITableViewController /** 名称 */ @property(nonatomic, strong) NSString *listName; - (instancetype)initWithListName:(NSString *)list...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
// // BGAPublishPhotosView.h // WeiBo // // Created by bingoogol on 15/7/15. // Copyright (c) 2015年 bingoogolapple. All rights reserved. // #import <UIKit/UIKit.h> @interface BGAPublishPhotosView : UIView @property (nonatomic, strong, readonly) NSMutableArray *photos; - (void)addPhoto:(UIImage *)photo; // 默认会自...
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class com_ice_jni_registry_RegistryKey */ #ifndef _Included_com_ice_jni_registry_RegistryKey #define _Included_com_ice_jni_registry_RegistryKey #ifdef __cplusplus extern "C" { #endif /* * Class: com_ice_jni_registry_RegistryKey ...
// // LQModelShare.h // MiaoSha // // Created by liqiang on 16/7/20. // Copyright © 2016年 LiQiang. All rights reserved. // #import <Foundation/Foundation.h> @interface LQModelShare : NSObject @property (nonatomic, copy) NSString *sid; @property (nonatomic, copy) NSString *remarks; @property (nonatomic, copy) NSS...
#pragma once #include <QtWidgets/QWidget> class QPrivateWidgetChildren; class QPrivateWidget : public QWidget { Q_OBJECT public: QPrivateWidget(QWidget *parent = 0); protected: QPrivateWidgetChildren* children; };
// // CollectViewController.h // ViewLuoYang // // Created by scjy on 16/3/19. // Copyright © 2016年 秦俊珍. All rights reserved. // #import <UIKit/UIKit.h> @interface CollectViewController : UIViewController @property (nonatomic, strong) NSMutableArray *urlArray; @end
// Copyright 2022 DeepMind Technologies Limited.. // // 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 ...
/* Copyright 2012 Google Inc. 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 agreed to in ...
// // XQQVoicePlayAnimationTool.h // XQQChatProj // // Created by XQQ on 2016/11/25. // Copyright © 2016年 UIP. All rights reserved. // #import <UIKit/UIKit.h> #import "XQQChatBtn.h" @interface XQQVoicePlayAnimationTool : NSObject + (instancetype)sharedTool; /*开始动画*/ - (void)startAnimationWithBtn:(XQQChatBtn*)butt...
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. */ #include "tomcrypt_private.h" /** @file cry...
// // AppDelegate.h // ReportChart // // Created by fzhang on 16/3/30. // Copyright © 2016年 fzhang. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/** *Licensed to the Apache Software Foundation (ASF) under one *or more contributor license agreements. See the NOTICE file *distributed with this work for additional information *regarding copyright ownership. The ASF licenses this file *to you under the Apache License, Version 2.0 (the *"License"); you may n...
// // NSFetchedResultsController+DXHelper.h // DXHelper // // Created by doorxp on 2017/6/19. // Copyright © 2017年 doorxp. All rights reserved. // #import <CoreData/CoreData.h> @interface NSFetchedResultsController (DXHelper) + (nullable instancetype)fetchRequest:(nullable NSFetchRequest *)fetchRequest managedObj...
/* Copyright 2010-2013 SourceGear, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // Chrome UX Report API (chromeuxreport/v1) // Description: // The Chrome UX Report API lets you view real user experience data for // millions of websites. // Documen...
#include "libmockspotify.h" #include "util.h" sp_track * mocksp_track_create(const char *name, int num_artists, sp_artist **artists, sp_album *album, int duration, int popularity, int disc, int index, sp_error error, bool is_loaded, sp_track_availability availability, sp_track_o...
/* Copyright (c) 2019-2022, Arm Limited and Contributors * * SPDX-License-Identifier: Apache-2.0 * * 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/L...
// // WKListTableViewCell.h // Walking // // Created by lanou on 16/4/19. // Copyright © 2016年 xqy. All rights reserved. // #import <UIKit/UIKit.h> #import "WKRecommendListModel.h" @interface WKListTableViewCell : UITableViewCell @property (strong, nonatomic) IBOutlet UIImageView *backImageV; @property (strong,...
#ifndef WaSet_H #define WaSet_H #include "Synthesizer.h" #include "Orchestra.h" #include <string> #include <map> #define HAVE_WriteWaPlot 0 //! A vocal sound struct Wa { Synthesizer::Waveform waveform; float freq; // Frequency of wa in Hz float duration; // Duration of...
// // UIButton+BLBlock.h // MyFreeMall // // Created by boundlessocean on 16/11/11. // Copyright © 2016年 GXCloud. All rights reserved. // #import <UIKit/UIKit.h> typedef void (^BLButtonActionBlock)(id sender); @interface UIButton (BLBlock) /** * 处理事件 * * @param actionBlock 事件回调 * @param controlEvent 事件类型 ...
/* * Copyright 2008-2012 NVIDIA Corporation * * 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...
// // Generated by gen_resource_source.py // #ifndef _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_EBU_RES_H #define _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_EBU_RES_H static jbyte _com_ibm_icu_impl_data_icudt58b_zone_ebu_res[] = { 0x00, 0x20, 0xDA, 0x27, 0x00, 0x14, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, 0x52, 0x65, 0x73, 0x42,...
////////////////////////////////////////////////////////////////////////// // Name: plate_detect Header // Version: 1.2 // Date: 2014-09-28 // MDate: 2015-03-13 // Author: liuruoze // Copyright: liuruoze // Reference: Mastering OpenCV with Practical Computer Vision Projects // Reference: CSDN Bloger ...
/* * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef __CONFIG_H__ #define __CONFIG_H__ #ifdef CONFIG_NET_CONFIG_SETTINGS #ifdef CONFIG_NET_IPV6 #define ZEPHYR_ADDR CONFIG_NET_CONFIG_MY_IPV6_ADDR #define SERVER_ADDR CONFIG_NET_CONFIG_PEER_IPV6_ADDR #else #define ZEPHYR_ADD...
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the ); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, ...
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011 Zynga Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software ...
/* * Report.h * * Report AP information and environment to Manger * If Manger send command, execute proper action. */ #ifndef REPORT_H_ #define REPORT_H_ #include "Packet.h" #include "APInformation.h" #include "Socket.h" #include "hostap.h" #include "Database.h" #include "Action.h" #include <stdio.h> #include <s...
#ifndef __UTILS_H__ #define __UTILS_H__ /* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashGraph. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wit...
// // ViewController.h // examination // // Created by 李晓 on 15/9/7. // Copyright (c) 2015年 exam. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
#include "imesample.h" #include "helper.h" #include <stdarg.h> /**********************************************************************/ /* */ /* UI_IsIMEMessage(message) */ /* ...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2011 by colorPicker, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. *...
// Copyright 2011 Google Inc. 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...
/* * File: Consola.h * Author: Dmytro Yaremyshyn * * Created on 6 de Dezembro de 2016, 16:06 */ #ifndef CONSOLA_H #define CONSOLA_H #include <windows.h> class Consola { HANDLE hconsola; HANDLE hStdin; HWND hwnd; public: // para usar nas cores const static int PRETO = 0; const static int AZUL = 1; c...
/* * Copyright 2011-2012 the Redfish authors * * 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 ...
/* * Copyright (c) 2016 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_ASM_INLINE_GCC_H_ #define ZEPHYR_INCLUDE_ARCH_NIOS2_ASM_INLINE_GCC_H_ #ifdef __cplusplus extern "C" { #endif /* * The file must not be included directly * Include arch/cpu.h instead */ #ifnd...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright (C) 2017 Sergey Koshkin <koshkin.sergey@gmail.com> * 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 * * www.apache.org/licenses/LICENSE-2.0 * * Unl...
// // WGAsiaViewController.h // WeygoIPhone // // Created by muma on 2017/5/8. // Copyright © 2017年 weygo.com. All rights reserved. // #import "WGTabViewController.h" #import "WGHome.h" #import "WGHomeTabContentViewController.h" #import "WGHomeTabContentResponse.h" @interface WGTabAsiaViewController : WGTabViewCo...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/mediaconvert/MediaConvert_EXPORTS.h> #include <aws/mediaconvert/model/SrtStylePassthrough.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class J...
/* * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * * 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/license...
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- #ifndef File__ReferenceFilesHelpe...
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
/* Copyright 2008 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
#pragma once #include <memory> #include <BWAPI.h> #include "Common.h" namespace BlackCrow { class BlackCrow; class ScoutSquad; class AttackSquad; class Base; class Army { public: Army(BlackCrow &blackrow); void onStart(); void onFrame(); // Variables std::vector<SquadUnitPtr> sunits; std::vector<...
#include <stdio.h> #include <stdlib.h> #include <windows.h> int main() { HDC hDC = GetDC(GetConsoleWindow()); HPEN Pen = CreatePen( PS_SOLID, 2, RGB(255, 255, 255)); SelectObject( hDC, Pen ); MoveToEx( hDC, 20, 50, NULL ); LineTo( hDC, 100, 50 ); MoveToEx( hDC, 20, 60, NULL ); LineTo( hDC...
// // XWPlaceholderTextView.h // Spread // // Created by 邱学伟 on 16/4/18. // Copyright © 2016年 邱学伟. All rights reserved. // 有占位文字的UITextView #import <UIKit/UIKit.h> @interface XWPlaceholderTextView : UITextView /** * 占位文字 * 我们将根据您反馈的意见和问题, 提升产品的体验感! */ @property (nonatomic, copy) NSString *placeholderStr; /*...
#ifndef STATION_H #define STATION_H class Station { char *name; public: Station(const char* ptr); char* getName(); char* getName() const; void printName(); bool operator<(const Station &rhs) const; bool operator==(const Station &rhs) const; bool operator!=(const Station &rhs) const; }...
// // ViewController.h // LCEiTimerDiary // // Created by 妖狐小子 on 2017/9/26. // Copyright © 2017年 妖狐小子. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
// Copyright 2020 The MediaPipe Authors. // // 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...
/** * Appcelerator Titanium Mobile * Copyright (c) 2011 by BgooAppi, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. */ #if de...
#ifndef WEBGLPROGRAM_H #define WEBGLPROGRAM_H #include <napi.h> #include <GL/gl.h> namespace NodeBinding { class WebGLProgram : public Napi::ObjectWrap<WebGLProgram> { public: WebGLProgram(const Napi::CallbackInfo &info); static void Init(Napi::Env env); static Napi::Object NewInstan...
#ifndef PointTreeModel_H #define PointTreeModel_H #include <QAbstractItemModel> #include <QModelIndex> #include <QVariant> class PointTreeItem; class PointTreeModel : public QAbstractItemModel { Q_OBJECT public: PointTreeModel(const QStringList &headers, const QString &data, QObject *parent = 0); ~PointTreeMo...
void func(int a[], float b[]) { assert(a[0] == -1, "a[0] must be -1"); assert(a[1] == -2, "a[1] must be -2"); assert(a[2] == -3, "a[2] must be -3"); assert(b[0] == 0.000000, "b[0] must be 0.000000"); assert(b[1] == 0.000000, "b[1] must be 0.000000"); } void main() { func({ -1, -2, -3 }, { 0, 0 }); }
#ifndef LOCATION_H_ #define LOCATION_H_ #include <ostream> /* struct for representing locations in the grid. */ struct Location { int row, col; Location() { row = col = 0; } Location(int r, int c) { row = r; col = c; } bool operator==(const Location & o) const { return row == o.row && col == o....
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2011 by CardPuller, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. */...
/*Copyright 2015 Huawei Technologies Co., Ltd. All rights reserved. eSDK is 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 ...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
#include <stdio.h> #include <psec/encode.h> #include <psec/hash.h> #include <psec/kdf.h> int main(void) { unsigned char pass[] = "test"; unsigned char salt[] = "1234"; unsigned char digest[HASH_DIGEST_SIZE_TIGER2], encoded_digest[(HASH_DIGEST_SIZE_TIGER2 * 2) + 1]; int rounds = 10; size_t out_len = 0; kdf_pbkd...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/shield/Shield_EXPORTS.h> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Shield {...
#pragma once class DialogDirector; class MouseEvent; class Widget { public: Widget(DialogDirector *){}; virtual void Changed(); virtual void HandleMouse(MouseEvent &event); private: DialogDirector *_dorector; };
/*!The Treasure Box Library * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version ...
/* * File: ASTDropDoc.h * Copyright (C) 2009 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS) */ #ifndef _AST_DROP_DOC_H_ #define _AST_DROP_DOC_H_ #include "ASTNode.h" class ASTVisitor; class ASTDropDoc : public ASTNode { public: ASTNode *doc, *coll; public: ASTDropDoc(c...
#pragma once #include "../ui_widget.h" #include "halley/core/graphics/text/text_renderer.h" #include <climits> #include "halley/text/i18n.h" #include "halley/concurrency/future.h" namespace Halley { class UILabel : public UIWidget { public: explicit UILabel(String id, UIStyle style, LocalisedString text); explic...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2013 Zynga Inc. * Copyright 2011 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a co...
#pragma once #include "envoy/api/v2/discovery.pb.h" #include "envoy/config/grpc_mux.h" #include "envoy/config/subscription.h" #include "common/common/assert.h" #include "common/common/logger.h" #include "common/grpc/common.h" #include "common/protobuf/protobuf.h" #include "common/protobuf/utility.h" namespace Envoy ...
/******************************************************************************** ** Form generated from reading UI file 'configdlg.ui' ** ** Created: Wed Oct 21 15:22:21 2015 ** by: Qt User Interface Compiler version 4.8.2 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! *******...
/* Copyright (c) 2010, 2011, 2015 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright (c) 2018 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * * @brief CoAP implementation for Zephyr. */ #ifndef ZEPHYR_INCLUDE_NET_COAP_LINK_FORMAT_SOCK_H_ #define ZEPHYR_INCLUDE_NET_COAP_LINK_FORMAT_SOCK_H_ /** * @addtogroup coap_sock COAP Library over Sockets * @{ ...
/* * Copyright (c) 2005-2006 Institute for System Programming * Russian Academy of Sciences * 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://w...
/* UIImage+AverageColor.h */ @interface UIImage (AverageColor) - (UIColor *)facesPro_averageColor; @end
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: /Volumes/Personal/Documents/raspi-config/client-framework/build/j2oSources/com/google/common/io/ByteProcessor.java // #include "J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_ComGoogleCommonIoByteProcessor") #ifdef RESTRICT_ComGoogleCommonIoBytePr...
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed W...
/* ============================================================================ Name : settings.c Author : B. Eschrich Version : 1.00 Copyright : Copyright (c) 2016-2017 by B. Eschrich (EoF) Description : Global settings and command line options =================================================...
// ********************************************************************** // // Generated by the ORBacus IDL-to-C++ Translator // // Copyright (c) 2005 // IONA Technologies, Inc. // Waltham, MA, USA // // All Rights Reserved // // ********************************************************************** // Version: 4.3.2...