text
stringlengths
4
6.14k
/* * portable IEEE float/double read/write functions * * Copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Fre...
// Declare.h : 放置各种全局变量和跨文件函数声明 #pragma once extern ProcArgs_t Args; extern PrintMessage_t PrintMessage; extern void PrintHelp(); extern void ProcessArgs(int, wchar_t*[]); extern void ProcConversion();
#include "tlist.h" #include <stdlib.h> #include <string.h> tlist* tlist_new(int size){ tlist* t=malloc(sizeof(tlist)); memset(t,0,sizeof(tlist)); return t; } void tlist_append(tlist* t,void* data,int size){ tlist* next=tlist_new(0); tlist* pos=t; while (pos && pos->next) { pos=pos->next; } ...
public: virtual void iconify(); void _iconify(); virtual void deiconify(); void _deiconify(); virtual void show(FXuint placement); void _show(FXuint placement);
#pragma once #include <czmq.h> /** Load a Configuration from a ZPL File * * Loads a configuration from a ZPL file. Does not affect the * configuration stack. * * filename: a path to a filename containing valid ZPL data * * Returns: zconfig_t * on success, NULL on failure */ zconfig_t * blackstrap_conf_load(co...
/* raw os - Copyright (C) Lingjun Chen(jorya_txj). This file is part of raw os. raw os is free software; you can redistribute it it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later ve...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/* * @BEGIN LICENSE * * Psi4: an open-source quantum chemistry software package * * Copyright (c) 2007-2017 The Psi4 Developers. * * The copyrights for code used from other parties are included in * the corresponding files. * * This file is part of Psi4. * * Psi4 is free software; you can redistribute it an...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
// Created file "Lib\src\Uuid\X64\oledbdat" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4,...
#ifndef _READ_H5ATTRS_H_ #define _READ_H5ATTRS_H_ #include <hdf5.h> int read_h5attrs(hid_t, char*, char*, ...); #endif /* _READ_H5ATTRS_H_ */
// Created file "Lib\src\dxguid\X64\d3d10guid" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, ...
#ifndef OUTPUTPOINTS_H #define OUTPUTPOINTS_H #ifndef GIS_H #include "gis.h" #endif #include <QString> class Crit3DOutputPoint : public gis::Crit3DPoint { public: Crit3DOutputPoint(); std::string id; double latitude; double longitude; bool act...
// Created file "Lib\src\Uuid\X64\d2d1iid" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, ...
/* * This file is part of matrix-glib-sdk * * matrix-glib-sdk is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later version. * * matrix...
/* * Copyright (c) 2011, The Iconfactory. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condi...
/* * This file is part of the TREZOR project. * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This ...
/* VS1053.h -- Library for vs1053 sound chip Copyright (c) 2015-2016 ARESPNO. */ #ifndef _VS1053_H #define _VS1053_H #include "Arduino.h" #define VS_WRITE_COMMAND 0x02 #define VS_READ_COMMAND 0x03 //VS1053 register #define SCI_MODE 0x00 #define SCI_STATUS 0x01 #define SCI_BASS ...
// Created file "Lib\src\Uuid\functiondiscovery" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3,...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/* * Definitions to silence compiler warnings about unused function attributes/parameters. * * Copyright (C) 2008-2022, Joachim Metz <joachim.metz@gmail.com> * * Refer to AUTHORS for acknowledgements. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser...
// Created file "Lib\src\sensorsapi\X64\sensorsapi" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, ...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/* radare - LGPL - 2015-2018 - a0rtega */ #include <r_types.h> #include <r_util.h> #include <r_lib.h> #include <r_bin.h> #include <string.h> #include "../format/nin/nds.h" static struct nds_hdr loaded_header; static bool check_bytes(const ut8 *buf, ut64 length) { ut8 ninlogohead[6]; if (!buf || length < sizeof(st...
// Created file "Lib\src\dxguid\X64\dxguid" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4,...
/** @defgroup ntp Network Time Protocol client * @brief Provides NTP client * @ingroup datetime * @ingroup udp * @{ */ #ifndef APP_NTPCLIENT_H_ #define APP_NTPCLIENT_H_ #include "UdpConnection.h" #include "../Platform/System.h" #include "../Timer.h" #include "../SystemClock.h" #include "../Platfo...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/* spindle_control.c - spindle control methods Part of Grbl Copyright (c) 2009-2011 Simen Svale Skogsrud Grbl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
//dcblock.c: /* * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2010 * * This file is part of libroardsp a part of RoarAudio, * a cross-platform sound system for both, home and professional use. * See README for details. * * This file is free software; you can redistribute it and/or modify * i...
/** * @file httpresponse.h * @brief Class to handle a response to an HTTP request * * @author Saint-Genest Gwenael <gwen@cowlab.fr> * @copyright Cowlab (c) 2017 * * @par Warning * CF71 is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License * vers...
/*+@@file@@----------------------------------------------------------------*//*! \file GdiPlusTypes.h \par Description Extension and update of headers for PellesC compiler suite. \par Project: PellesC Headers extension \date Created on Sun Jul 17 15:37:01 2016 \date Modified on Sun Ju...
// Created file "Lib\src\Svcguid\X64\iid" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, ...
#ifndef INCLUDE_OPTIONS_PARSER_H_ #define INCLUDE_OPTIONS_PARSER_H_ #include <boost/program_options.hpp> #include <boost/algorithm/string.hpp> #include <boost/regex.hpp> #include <fstream> #include <iostream> #include "../include/asltgv2recon4d.h" #include "../include/ictgv2.h" #include "../include/ictv.h" #include "...
/* Copyright (c) 2015, Zombie Rendering * ahmetbilgili@gmail.com * * This file is part of Livre <https://github.com/BlueBrain/Livre> * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License version 3.0 as published ...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
// Created file "Lib\src\ehstorguids\guids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4,...
// Created file "Lib\src\Uuid\guids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5, ...
/* Part of: Useless Containers Library Contents: unbalanced binary search tree Date: Mon Dec 6, 2010 Abstract Copyright (c) 2010, 2019 Marco Maggi <marco.maggi-ipsu@poste.it> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public ...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
// CMainFrame.h : interface of the CMainFrame class // #pragma once class CMainFrame : public CMDIFrameWnd { DECLARE_DYNAMIC(CMainFrame) public: CMainFrame(); // Overrides public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); // Implementation public: virtual ~CMainFrame(); #ifdef _DEBUG virtual vo...
/* moore_statemachine.h * this file is part of DTL * * Copyright (C) <2017> <Dominik Baack> * All rights reserved. * * This software may be modified and distributed under the terms * of the LGPL license. See the LICENSE file for details. */ #pragma once #include <tuple> #include <utility> #include "meta/index_seq...
/* * Insertion sort * -------------- * (using integer data type) */ #include <stdio.h> #include <stdlib.h> void printArray(const int* array, const size_t size); void isort(int* array, const size_t size); int main(int argc, char* argv[]) { if (argc < 2) { printf("isort : Usage is 'isort [arr...
/****************************************************************************** * PV` FileName: user_main.c *******************************************************************************/ #include "user_config.h" #include "bios.h" #include "sdk/add_func.h" #include "hw/esp8266.h" #include "user_interface.h" #includ...
#ifndef MODELDEMOWIDGET_H #define MODELDEMOWIDGET_H #include <QWidget> namespace Ui { class ModelDemoWidget; } class MSqlQueryModel; class ModelDemoWidget : public QWidget { Q_OBJECT public: explicit ModelDemoWidget(QWidget *parent = 0); ~ModelDemoWidget(); private: //connected to GUI butt...
#pragma once #include "displayimagetextmenu.h" #define GAMEMODECOUNT 6 class ChooseGameModeMenu : public DisplayImageTextMenu { protected: virtual void throwAction(); private: long lastRun; bool* traNext; bool* traPrev; int currmode; AbstractConsole* console; double transistion; int transistionDirection; ...
#include "RR.h" runStats * RRscheduler(Process ** queue, int length){ //sort the processes into the order they should be processed in int i, s = 1; Process * t; while (s) { s = 0; for (i = 1; i < length; i++) { if (queue[i]->arrivalTime < queue[i - 1]->arrivalTime) { ...
/* xxHash - Extremely Fast Hash algorithm Header File Copyright (C) 2012-2016, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions...
#ifndef CALCNUM_DETERMINANTE_H #define CALCNUM_DETERMINANTE_H #include "matriz.h" #include "vetor.h" #include "pivot.h" // Algoritmo DETERMINANTE template<typename T> T MatrizT<T>::Determinante() { const int n(m_); T temp, det = 1; for (int i = 1; i <= n && det != (T)0; ++i) { if (Pivot(i)) det *= -1; t...
// Copyright 2022 The Google Research 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...
#pragma once #include "CoreMinimal.h" #include "CoreShell.h"
#pragma once #include <atomic> template <typename Derived> class RefCnt { public: RefCnt() : m_counter(1) {;} Derived* ref() { ++m_counter; return static_cast<Derived*>(this); } void unref() { if (m_counter-- == 1) { delete static_cast<Derived*>(this); } } private: Re...
/* * 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 2019-2022 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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....
#ifndef CAR_H #define CAR_H //#include <arch/arch.h> #include "/usr/include/arch/arch.h" class Car { private: Object c; bool in; float rotate; float scale; float stutter; float vel; vector<Object> burn; int id; bool l,r,u,d; int wbounds, hbounds; public: Car(); void drive(); void getIn(); void getOut();...
/*! @header EaseMob.h @abstract 客户端基本类 @author EaseMob Inc. @version 1.00 2014/01/01 Creation (1.00) */ #import <Foundation/Foundation.h> #import <UIKit/UIApplication.h> #import "EaseMobHeaders.h" /*! @class @brief 该类声明了EMChatManager和EMDeviceManager @discussion SDK集成进工程后, 最先使用的类, 所有的类对象, 均是通过这个单实例来获取, 示例代码如下...
/* * 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...
/* $NetBSD: vsscanf.c,v 1.13 2003/08/07 16:43:35 agc Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Donn Seeley at UUNET Technologies, Inc. * * Redistribution and use in source and b...
/* =========================================================================== File: TYPEDEF.H v.2.3 - 30.Nov.2009 =========================================================================== ITU-T STL BASIC OPERATORS TYPE DEFINITION PROTOTYPES ...
///> [Serializable] #ifndef COMPOSITEEXPRESSION_H #define COMPOSITEEXPRESSION_H #include "Expression.h" #ifndef SVECTOR_H #include "SVector.h" #endif using namespace Serialization; ///> class=CompositeExpression ///> parent=Expression class CompositeExpression : public Expression { protected: ///> type=vector(E...
#ifndef __H_EW_EWC_BASE_PLUGIN_PLUGIN_WORKSPACE__ #define __H_EW_EWC_BASE_PLUGIN_PLUGIN_WORKSPACE__ #include "ewc_base/plugin/plugin_common.h" EW_ENTER class DLLIMPEXP_EWC_BASE PluginWorkspace : public PluginCommon2 { public: typedef PluginCommon2 basetype; PluginWorkspace(WndManager& w); virtual bool OnAttac...
#include <stdio.h> void p (unsigned char a, unsigned char b, unsigned char v) { if (v) printf ("\t%d / %d = %d\r\n", a, b, v); } void main () { unsigned char a; for (a=1; a; ++a) { p (a, 1, a / 1); p (a, 2, a / 2); p (a, 3, a / 3); p (a, 4, a / 4); p (a, 5, a / 5); p (a, 6, a / 6); p (a, 7, a / 7)...
#pragma once #include <string> enum RecommendationType { BUY, SELL, HOLD, NO_RECOMMENDATION }; class Recommendation { public: Recommendation(); Recommendation(const std::string &ticker, RecommendationType rec, double target); ~Recommendation(); Recommendation(const Recommendation &r); Recomme...
// Copyright 2019 The Pigweed 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
/************************************************************************** * * * Algorithmic C (tm) Math Library * * * * Software Ver...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2015 by Appcelerator, 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. ...
/* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary...
// // NSDictionary+nl_Kit.h // jobsradar // // Created by nathan@hoomic.com on 15/5/11. // Copyright (c) 2015年 Hoomic. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "NSDictionary+nl_Short.h" #import "NSMutableDictionary+nl_Short.h" @interface NSDictionary (nl_Kit) - (B...
/** @file * Copyright (c) 2018, Arm Limited or its affiliates. All rights reserved. * 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://...
// // Copyright (C) 2006 Andras Babos and Andras Varga // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // ...
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * ...
/* * Copyright 2013 Open Source Robotics Foundation * * 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 applicab...
/* * Copyright 2008-2010 Arsen Chaloyan * * 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 ag...
/*************************************************************************** * Copyright (C) 2005 by Francisco J. Ros * * fjrm@dif.um.es * * * * This pr...
// // SettingsViewController.h // example // // Created by Jake Farrell on 1/23/12. // Copyright (c) 2012 ONESite. All rights reserved. // #import <UIKit/UIKit.h> #import "DDSSocialAccounts.h" #import "Facebook.h" #import "TwitterSessionDelegate.h" @interface SettingsViewController : UITableViewController<UIActio...
/*========================================================================= * * 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 * * h...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/editor/idl/nsIURIRefObject.idl */ #ifndef __gen_nsIURIRefObject_h__ #define __gen_nsIURIRefObject_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif #ifndef __gen_domstubs_h__ #include "domstub...
// // MeetingDetailViewController.h // Meep // // Created by Alex Jarvis on 03/03/2011. // Copyright 2011 Alex Jarvis. All rights reserved. // #import <UIKit/UIKit.h> #import <Three20/Three20.h> #import "MeetingDetailCell.h" #import "AcceptMeetingRequestManager.h" #import "DeclineMeetingRequestManager.h" #import ...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.Array struct Il2CppArray; #include "mscorlib_System_ValueType4014882752.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offse...
#include <stdio.h> #include <string.h> #define maxx 2000010 char str1[maxx],str2[maxx]; int main() { int len1,len2,i,j,l,k; while(scanf("%s %s",str1,str2)==2) { len1 = strlen(str1); len2 = strlen(str2); l = 0,k=0; for(i=0; i<len1; i++) { fo...
// // Copyright 2009-2011 Facebook // // 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...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <vespa/searchlib/fef/blueprint.h> #include <vespa/searchlib/fef/table.h> #include "termdistancecalculator.h" namespace search::features { /** * This struct contains parameters used by the ...
#pragma once class ZN_API CRendererWoW : public RendererBase { public: CRendererWoW(IBaseManager& BaseManager, IScene& Scene); virtual ~CRendererWoW(); void InitializeForward(std::shared_ptr<IRenderTarget> OutputRenderTarget); void InitializeDeffered(std::shared_ptr<IRenderTarget> OutputRenderTarget); public: ...
// Weibo // // Created by Fay on 15/10/3. // Copyright (c) 2015年 Fay. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface NSString (Extension) - (CGSize)SizeWithFont:(UIFont *)font maxW:(CGFloat)maxW; - (CGSize)SizeWithFont:(UIFont *)font; @end // 版权属于原作者 // http://code4ap...
// // NSString+JWStringDeleteToURL.h // 吃货美食 // // Created by scjy on 16/5/11. // Copyright © 2016年 赵天. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (JWStringDeleteToURL) /** * string删除 * * @param string 原本的string * @param deleteString 要删的string * * @return 删除完的stri...
/* * test.h * * Header file for the test suite. * * Created on: Jan 16, 2017 * Author: pyk */ #include <stdint.h> #ifndef TEST_H_ #define TEST_H_ void test(); #endif /* TEST_H_ */
#ifndef POLARBEAR_H #define POLARBEAR_H #include "hibike_device.h" //to get the hibike framework #define NUM_PARAMS 15 typedef enum { MANUALDRIVE = 0, PID_VEL = 1, PID_POS = 2 } DriveModes; typedef enum { DUTY_CYCLE = 0, PID_POS_SETPOINT = 1, PID_POS_KP = 2, PID_POS_KI = 3, PID_POS_KD = 4, PID_VEL_...
// // YBHomePictuerDismissAnimatedTransitioning.h // weiBoOC // // Created by MAC on 15/12/5. // Copyright © 2015年 MAC. All rights reserved. // #import <UIKit/UIKit.h> @interface YBHomePictuerDismissAnimatedTransitioning : NSObject <UIViewControllerAnimatedTransitioning> @end
#ifndef FRUSTUM_H #define FRUSTUM_H #define deg2rad2(d) (M_PI*(d)/180) /////////////////////////////////////////////////////////////////////////////// // draw frustum /////////////////////////////////////////////////////////////////////////////// void drawFrustum(float fovY, float aspectRatio, float nearPlane, Vector...
/****************************************************************************** ** File Name: JpegDec_init.h * ** Author: Xiaowei Luo * ** DATE: 12/14/2006 ...
// // RenrenPackage.h // MobiSageSDK // // Created by Ryou Zhang on 11/9/11. // Copyright (c) 2011 mobiSage. All rights reserved. // #import "MobiSageSNSPackage.h" @interface MSRenrenPackage : MobiSageSNSPackage { @protected NSString* m_ClientID; NSString* m_SecretKey; NSSt...
/* * 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 Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "singlestringattribute.h" #include "postinglistattribute.h" namespace search { /** * Implementation of single value string attribute that in addition to enum store * uses an underlying po...
/** * \file seg_err.c * * Error information segment (ERR) accessors for the HL7 parser. * * \internal * Copyright (c) 2011 Juan Jose Comellas <juanjo@comellas.org> * * \warning DO NOT MODIFY THIS FILE. * * Autogenerated by the ./hl7segdef.py script on Mon Jun 6 12:54:47 2011 */ /* ------------------------------------...
// This may look like C code, but it is really -*- C++ -*- // // Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002 // Copyright Dirk Lemstra 2014 // // Blob reference class // // This is an internal implementation class that should not be // accessed by users. // #if !defined(Magick_Blob_header) #define Magick_Blob_he...
/** * Copyright 2007-2015, Kaazing Corporation. 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 require...
#include "str_cpy.h" #include <stdio.h> char* _strcpy(char* dest , const char *src) { char* temp = dest; while((*dest++ = *src++) != '\0'); return temp; }
// // SignupViewController.h // StudentCompanion // // Created by Pragya Pherwani on 7/18/14. // Copyright (c) 2014 Yahoo. All rights reserved. // #import <UIKit/UIKit.h> @interface SignupViewController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning> @property (w...
/* * 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...
#import <Cocoa/Cocoa.h> // Thanks to Dan Messing (Stunt Software) for this implementation @interface NSBezierPath (PNRoundedRectangle) + (NSBezierPath*)bezierPathWithRoundRectInRect:(NSRect)aRect radius:(float)radius; @end