text
stringlengths
4
6.14k
/* * Copyright (c) 2020-2021 Arm Limited. * * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * ri...
#include <stdio.h> #include <stdlib.h> int test_trueThreeFourths(int x) { long long int x3 = (long long int) x * 3LL; return (int) (x3/4LL); } int trueThreeFourths(int x) { int xs1 = x >> 1; int xs2 = x >> 2; /* Compute value from low-order 2 bits */ int bias = (x >> 31) & 0x3; int xl2 = x & 0x3; ...
/* * TODO * Implement loading what modules should be used from a file. * * Implement map from module ID to initiation function. * Initiation function should have a standardised "declaration" * * Module will be responsible for passing update command down to every active module * It means that ModuleManager will ...
/* The MIT License (MIT) Copyright (c) 2015 Apostol Dadachev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
/* * Copyright (c) 2014 Jason Kölker * */ #include "atheme.h" #include "uplink.h" DECLARE_MODULE_V1 ( "totes/ns_forceuser", false, _modinit, _moddeinit, "$Revision: 1 $", "Jason Kölker <jason@koelker.net>" ); static void hook_user_identify(user_t *u); void _modinit(module_t *m) { hook_add_event("user_identi...
// // QPTBaseModel.h // QiPinTong // // Created by 企聘通 on 2017/4/20. // Copyright © 2017年 ShiJiJiaLian. All rights reserved. // #import <Foundation/Foundation.h> @interface QPTBaseModel : NSObject //#pragma mark - 缓存 /** * 归档 - 存入模型 */ //- (void)archive; /** * 解档 - 取出模型 */ //- (id)unarchiver; /** * ...
#ifndef PP_GETADDRINFO_H #define PP_GETADDRINFO_H #define ANY (0) struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; size_t ai_addrlen; struct sockaddr* ai_addr; char* ai_canonname; /* canonical name */ struct addrinfo* ai_next...
#ifndef __GAME_SCENE_H__ #define __GAME_SCENE_H__ #include "cocos2d.h" #include "GameLayer.h" USING_NS_CC; class GameScene : public Layer { public: static Scene* createScene(); bool init(); CREATE_FUNC(GameScene); void startPlay(); void gameOver(); void update(float dt); void updateSco...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import <DVTKit/DVTDraggedImageStateTransitionView.h> @class NSAffineTransform; @interface DVTDraggedObjectsTransitionView : DVTDraggedImageStateTransitionView { NSAffineTrans...
#ifndef _IVM_APP_IAS_PARSER_H_ #define _IVM_APP_IAS_PARSER_H_ #include "pub/com.h" #include "pub/type.h" #include "pub/vm.h" #include "std/list.h" #include "gen.h" IVM_COM_HEADER ias_gen_env_t * ias_parser_parseSource(const ivm_char_t *src); IVM_COM_END #endif
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef mistcoin_WALLETDB_H #define mistcoin_WALLETDB_H #include "db.h" #include "...
/*********************************************************************************************************************************** HTTP Session ***********************************************************************************************************************************/ #include "build.auto.h" #include "common...
// // Licensed under the terms in LICENSE.txt // // Copyright 2014 Tom Dalling. All rights reserved. // @import Cocoa; @interface NSMenu(TDCocoaExtensions) +(NSMenu*) td_menuWithItems:(NSArray*)items; -(NSMenuItem*) td_itemWithRepresentedObject:(id)representedObject; @end @interface NSPopUpButton(TDCocoaExtensions) ...
#include "image.h" #include "histogram.h" struct cell { unsigned char B; cell next; }; struct histo_iter { int R,G; cell current; }; int main(int argc, char **argv) { image img=FAIRE_image(); int i=0; /* Param a afficher */ int R=0,G=0,B=0; int lum=0; int occ=0; histo histogram=cr...
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #pragma once #include "../EntityInterface/EntityInterface.h" #include "DelayedDeleteQueue.h" #include "CLIXAutoPtr.h" using namespace System...
/* * fibers.h * * Created on: Jan 24, 2013 * @author Ralph Schurade */ #ifndef FIBERS_H_ #define FIBERS_H_ #include <QVector> class DatasetFibers; class DatasetScalar; class Dataset3D; class Fibers { public: Fibers( DatasetFibers* ds ); virtual ~Fibers(); DatasetFibers* thinOut(); DatasetScala...
#import <UIKit/UIKit.h> @class BTUI; /** Represents a Venmo button */ @interface BTUIVenmoButton : UIControl @property (nonatomic, strong) BTUI *theme; @end
#ifndef XSUSBHUBINFO_H #define XSUSBHUBINFO_H #ifdef _WIN32 typedef int XsHubIdentifier; #else typedef const char* XsHubIdentifier; #endif struct XsUsbHubInfo; #ifndef __cplusplus #define XSUSBHUBINFO_INITIALIZER { 0 } typedef struct XsUsbHubInfo XsUsbHubInfo; #else extern "C" { #endif XDA_DLL_API void XsUsbHubInf...
/***************************************************************************************** * * * OpenSpace * * ...
/* * Copyright © 2012-2013 Graham Sellers * * This code is part of the OpenGL SuperBible, 6th Edition. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <iWorkImport/GQHState.h> @class GQHXML; // Not exported @interface GQHLassoState : GQHState { GQHXML *mNavigation; int mSheetCount; int mTableCount; str...
///////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009-2014 Alan Wright. All rights reserved. // Distributable under the terms of either the Apache License (Version 2.0) // or the GNU Lesser General Public License. ////////////////////////////////////////////////////////////...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "MMObject.h" #import "PBMessageObserverDelegate.h" @interface JumpToBizWebviewLogicHelper : MMObject <PBMessageObserverDelegate> { id <JumpToBizWebviewLogicHelperDeleg...
#import <Foundation/Foundation.h> #import "JOYButton.h" #import "JOYAxis.h" #import "JOYAxes2D.h" #import "JOYAxes3D.h" #import "JOYHat.h" static NSString const *JOYAxes2DEmulateButtonsKey = @"JOYAxes2DEmulateButtons"; static NSString const *JOYHatsEmulateButtonsKey = @"JOYHatsEmulateButtons"; @class JOYController; ...
#include <stdio.h> #include <math.h> #include <time.h> #include <string.h> #define ARRAY_SZ(_ax) (sizeof(_ax)/sizeof(_ax[0])) // NOTE! the array that `output` points to must be >= a_len+b_len-1 void convolution(const double* input_a, const int a_len, const double* input_b, const int b_len, ...
#pragma once #include "SceneGraphNode.h" class CGeometricPrimitive : public CSceneGraphNodeDrawable { private: bool needToUpdateVBO; bool isUsedExternalGeomData; float* geomData; const float* constGeomData; int geomDataLength; private: void clearGeomData(); public: const bool isNeedToUpdateVBO()const; void ...
/**************************************************************************** Copyright (c) 2013-2015 Scutgame.com http://www.scutgame.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software w...
#pragma once #include <torch/nn/module.h> #include <torch/types.h> #include <torch/utils.h> #include <ATen/core/TensorOptions.h> #include <c10/util/Exception.h> #include <memory> #include <utility> namespace torch { namespace nn { /// The `clone()` method in the base `Module` class does not have knowledge of /// th...
/* *Abstract:Init the device of System * */ /* Includes */ #include <stm32f10x_rcc.h> #include <stm32f10x_gpio.h> #include <stm32f10x_usart.h> #include <misc.h> /* Declare all init func */ void Rcc_Config(void); void Gpio_Config(void); void Usart_Config(void); void Nvic_Config(void); /* Realization init interfac...
//metadoc Debugger copyright Steve Dekorte 2002 //metadoc Debugger license BSD revised #ifndef IoDebugger_DEFINED #define IoDebugger_DEFINED 1 #include "IoObject.h" #ifdef __cplusplus extern "C" { #endif IoObject *IoDebugger_proto(void *state); #ifdef __cplusplus } #endif #endif
#pragma once #include "PlayerStrategy.h" class State; class HeroStrategy : public PlayerStrategy { public: double GetShowdownValue(State* statePtr) const; };
#include "stdio.h" #include "stdlib.h" #include "stddef.h" #include "tree.h" node* n_empty(){ node* n = (node*) malloc(sizeof(node)); if (n == NULL){ printf("ERROR: No available memory for new list"); exit(-1); } return n; } tree* t_empty(){ tree* t = (tree*) malloc(sizeof(tree)); if (t == NULL){ printf...
#define GLI_INCLUDE_ATI_TEXTURE_ENV_COMBINE3 enum Main { GL_MODULATE_ADD_ATI = 0x8744, GL_MODULATE_SIGNED_ADD_ATI = 0x8745, GL_MODULATE_SUBTRACT_ATI = 0x8746, };
// // RPBorderlessSegmentedControl.h // RPBorderlessSegmentedControlDemo // // Created by Brandon Evans on 2/10/2014. // Copyright (c) 2014 Robots and Pencils. All rights reserved. // @import Cocoa; @interface RPBorderlessSegmentedControl : NSSegmentedControl @end
/**************************************************************************//** * @file ustimer.h * @brief Microsecond delay function API definition. * @version 4.3.0 ****************************************************************************** * @section License * <b>(C) Copyright 2014 Silicon Labs, http://www...
#pragma once #include <gamelib/Circle.h> namespace Physics { struct DynamicCircle { Circle128C cirlce; __m128 prevPosition; }; }
#pragma once #include <Framework/Any.h> /// declaration of the template that has to be specialized for each visitable/visitor pair template <typename VISITABLE, typename VISITOR> struct visit; template <typename T> struct has_visit_return_type { typedef char yes[1]; typedef char no[2]; template <typena...
// // VKRSAppDelegate.h // AppSoundEngineDemo // // Created by Vilem Kurz on 3.11.2011. // Copyright (c) 2011 Cocoa Miners. All rights reserved. // #import <UIKit/UIKit.h> @class VKRSMainViewController; @interface VKRSAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *wind...
#ifndef SHA512_H #define SHA512_H #include <string.h> #include "macro_defines.h" #include "net.h" void sha512(const char *input, size_t ilen, char* output, int is384); /*@ requires [?f]crypto_chars(?kind, input, ilen, ?cs_pay) &*& chars(output, ?olen, _) &*& is384 == 0 && olen == 64 |...
// // DramaDetailViewController.h // d-addicts // // Created by Eigil Hansen on 11/04/13. // Copyright (c) 2013 Eigil Hansen. All rights reserved. // #import <UIKit/UIKit.h> @class Episode; @interface DramaDetailViewController : UIViewController @property (strong, nonatomic) NSArray *torrents; @property (nonato...
// // LLPushTableViewController.h // LLLottery // // Created by 李学林 on 16/2/1. // Copyright © 2016年 Upriver. All rights reserved. // #import <UIKit/UIKit.h> //@interface LLPushTableViewController : UITableViewController @interface LLPushTableViewController : LLBaseTableViewController @end
// // HBSNotesViewController.h // FetchedTableView // // Created by Anokhov Pavel on 29.02.16. // Copyright © 2016 IndependentLabs. All rights reserved. // #import "HBSRootFetchedTableViewController.h" @class HBSNotebook; @interface HBSNotesViewController : HBSRootFetchedTableViewController @property (nonatomic,...
// // ViewController.h // UAEOffroaders // // Created by Imthiaz Rafiq on 4/21/16. // Copyright © 2016 Imthiaz Rafiq. All rights reserved. // #import <UIKit/UIKit.h> @import CoreLocation; @import Mapbox; @import CoreLocation; @interface ViewController : UIViewController <CLLocationManagerDelegate,MGLMapViewDeleg...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSString.h" @interface NSString (WebNSURLExtras) - (id)_webkit_queryKeysAndValues; - (id)_webkit_unescapedQueryValue; - (id)_webkit_URLFragment; - (_Bool)_webkit_looksL...
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double SwiftSparklineVersionNumber; FOUNDATION_EXPORT const unsigned char SwiftSparklineVersionString[];
#pragma once #include <IO/FileSystem.h> #include "NpkTOC.h" // Original Nebula 2 NPK virtual file system. namespace IO { class CFileSystemNPK: public IFileSystem { protected: struct CNPKFile { CNpkTOCEntry* pTOCEntry; UPTR Offset; }; struct CNPKDir { CNpkTOCEntry* pTOCEntry; CNpkTOCEntry::CIterato...
#ifndef SOCKET_H #define SOCKET_H #include "types.h" #define SOCK_STREAM 1 /* stream socket */ #define SOCK_DGRAM 2 /* datagram socket */ #define SOCK_RAW 3 /* raw-protocol interface */ #define SOCK_RDM 4 /* reliably-delivered message */ #define SOCK_SEQPACKET 5 /* sequenced packet stream */ /* * Option flags p...
#ifndef __BSP_ILI9341_LCD_H #define __BSP_ILI9341_LCD_H #include "stm32f10x.h" /*************************************************************************************** 2^26 =0X0400 0000 = 64MB,ÿ¸ö BANK ÓÐ4*64MB = 256MB 64MB:FSMC_Bank1_NORSRAM1:0X6000 0000 ~ 0X63FF FFFF 64MB:FSMC_Bank1_NORSRAM2:0X6400 0000 ~ 0X67FF F...
// // PXSmallView.h // PXMultiForwarder // // Created by Spencer Phippen on 2015/09/09. // Copyright (c) 2015年 Spencer Phippen. All rights reserved. // #import <UIKit/UIKit.h> @interface PXSmallView : UIView @property UIButton* button; - (void) makeRandomColor; @end
#ifndef V1OOPC_VICTIM_H #define V1OOPC_VICTIM_H #include "rectangle.hpp" #include "iostream" class victim : public rectangle { private: vector start; vector end; public: bool touched; victim(window &w, const vector &start, const vector &end); void update() override; ...
// // UITextField+MoneyInput.h // ejlShop // // Created by xyy on 2017/5/11. // Copyright © 2017年 e键联. All rights reserved. // #import <UIKit/UIKit.h> @interface UITextField (MoneyInput) //是否只能属于金额默认为NO @property (nonatomic, assign) IBInspectable BOOL isMoney; @end
// ----------------------------------------------------------------------- // // // FILENAME: SSLogDestinationFile.h // AUTHOR: Steve Schaneville // CREATED: 15 Feb 2003, 18:25 // // PURPOSE: // // Copyright (c) 2003 // // ----------------------------------------------------------------------- // #ifn...
// // XQByrUserTable.h // ASByrApp // // Created by lixiangqian on 17/2/25. // Copyright © 2017年 andy. All rights reserved. // #import <Foundation/Foundation.h> #import "XQTableBaseExecutor.h" @interface XQByrUserTable : XQTableBaseExecutor extern NSString *XQByrDatabaseName; @end
#pragma once #include <GLFW/glfw3.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <ship.h> enum enemy_pattern { enemy_static, enemy_ver, enemy_hor, enemy_circ, enemy_sines, enemy_intense }; enum enemy_type { enemy_collider, enemy_shooter, enemy_fshooter, enemy_lase...
/* * zsummerX License * ----------- * * zsummerX is licensed under the terms of the MIT license reproduced below. * This means that zsummerX is free software and can be used for both academic * and commercial purposes at absolutely no cost. * * * =====================================================================...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "WXPBGeneratedMessage.h" @class NSString; @interface GameCenterSearchWebResultItem : WXPBGeneratedMessage { } + (void)initialize; // Remaining properties @property(retai...
#pragma once #include "track_description.h" namespace AIMPPlayer { class IPlaylistQueueManager { public: virtual void reloadQueuedEntries() = 0; // throws std::runtime_error /*! Track should be already queued. */ virtual void moveQueueEntry(TrackDescription track_desc, int n...
/* ----------------------------------------------------------------------------------------------- Copyright (C) 2013 Henry van Merode. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in...
/** * @file AOIntegrator.h * @author Sebastian Maisch <sebastian.maisch@googlemail.com> * @date 2021.21.05 * * @brief Class for the ambient occlusion integrator. */ #pragma once #include "gfx/RTIntegrator.h" namespace vkfw_app::gfx::rt { class AOIntegrator : public RTIntegrator { public: ...
// // SPMovieClip.h // Sparrow // // Created by Daniel Sperl on 01.05.10. // Copyright 2011-2014 Gamua. All rights reserved. // // This program is free software; you can redistribute it and/or modify // it under the terms of the Simplified BSD License. // #import <Foundation/Foundation.h> #import <Sparrow/SPAnim...
// // ThreadViewController.h // Network // // Created by 朱双泉 on 2018/9/26. // Copyright © 2018 Castie!. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface ThreadViewController : UITableViewController @end NS_ASSUME_NONNULL_END
#pragma once #include "Archs/MIPS/MipsOpcodes.h" #include "Commands/CAssemblerCommand.h" #include "Core/Expression.h" #include "Core/Types.h" enum class MipsRegisterType { Normal, Float, FpuControl, Cop0, Ps2Cop2, PsxCop2Data, PsxCop2Control, VfpuVector, VfpuMatrix, RspCop0, RspVector, RspVectorControl, ...
/********************************************************************** * $Id$ main.c *//** * @file main.c * @brief Write a program to create virtual keyboard on GLCD * and display input taken from it. * @version 1.0 * @date 09. Dec. 2013 * @author Dwijay.Edutech Learning Solutions ***************...
#ifndef INCLUDED_flash_net_URLLoader #define INCLUDED_flash_net_URLLoader #ifndef HXCPP_H #include <hxcpp.h> #endif #include <flash/events/EventDispatcher.h> HX_DECLARE_CLASS0(List) HX_DECLARE_CLASS2(flash,events,EventDispatcher) HX_DECLARE_CLASS2(flash,events,IEventDispatcher) HX_DECLARE_CLASS2(flash,net,URLLoader) ...
#ifndef STEngineHeader #define STEngineHeader #include <windows.h> #include <GL/gl.h> #include <stdio.h> #include "CPF.StandardTetris.STGame.h" #include "CPF.StandardTetris.STFileList.h" #include "CPF.StandardTetris.STVideoProcessing.h" #include "CPF.StandardTetris.STConsole.h" namespace CPF { namespace Sta...
// // KSRouterItem.h // Copyright (c) 2015 Krin-San. All rights reserved. // #import <Foundation/Foundation.h> @interface KSRouterItem : NSObject /// Main key to handle routing @property (nonatomic, strong, readonly, nonnull) NSString *key; /// Different string aliases that could point on this route @property (no...
/************************************************************************* * File Name: usart_cfg.h * Author: Michael Dobinson * Date Created: 2015-10-23 * * Sub-files: * usart_cfg.c * usart_callback.c * usart_ctrl.c * * Brief: * Provides configuration settings for USA...
#ifndef PONTO_H_ #define PONTO_H_ #include "geometria/ObjetoGeometrico.h" /** * Ponto. */ class Ponto : public ObjetoGeometrico { public: /** * Construtor. */ Ponto(); /** * Construtor. * @param ponto objeto a ser copiado. */ Ponto(const Ponto& ponto); /** * Construtor. * @param nome nome do o...
#pragma once #include <Win33/Application.h> #include <Win33/Window.h> #include <Win33/Dialog.h> #include <Win33/Button.h> #include <Win33/PopupBox.h> class Dialog : public Win33::Dialog<std::wstring> { public: Dialog( Win33::Window* parent ) : Win33::Dialog<std::wstring>( parent, Win33::Window::DefaultPos...
// // TKScrollPageViewController.h // XiaoNongDingClient // // Created by YueWen on 2017/9/4. // Copyright © 2017年 ryden. All rights reserved. // #import <UIKit/UIKit.h> #import "LLSegmentBar.h" NS_ASSUME_NONNULL_BEGIN /// UIPageViewControllerTransitionStyleScroll 模式下的UIPageViewController @interface TKScrollPage...
#import <Foundation/Foundation.h> #import "EICairoImage.h" // TODO: This should be a category on EICairoImage #ifndef CAIRO_HAS_PNG_FUNCTIONS #error Cairo does not have required PNG support #endif @interface EICairoPNGImage : EICairoImage - (id)initWithPath:(NSString *)image_path; @end
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <OfficeImport/CMDiagramShapeHierarchyMapper.h> @interface CMDiagramShapeHierarchyMapper (Private) - (struct ODIHRangeVector *)mapRangesForNode:(id)arg1; - (void)setAbsol...
/* * Network_manager.h * * Created on: 23 lut 2015 * Author: ky3orr */ #ifndef NETWORK_MANAGER_H_ #define NETWORK_MANAGER_H_ #define NET_SYNC_CODE_1 0x5C // OSN id code #define NET_SYNC_CODE_2 0x3A // OSN id code #endif /* NETWORK_MANAGER_H_ */
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSObject.h" // Not exported @interface TSCEArgumentToken : NSObject { } + (_Bool)isStringValidArgumentToken:(id)arg1; @end
// // TTMutableProxy.h // ZhaoCaiHuiBaoRt // // Created by apple on 2017/8/3. // Copyright © 2017年 ttayaa. All rights reserved. // #import <Foundation/Foundation.h> @interface TTMutableProxy : NSObject /** The array of registered delegates. */ @property (readonly, nonatomic) NSPointerArray* delegates; /** S...
#import "CPTDefinitions.h" #import "CPTPlot.h" /// @file @class CPTColor; @class CPTFill; @class CPTMutableNumericData; @class CPTNumericData; @class CPTPieChart; @class CPTTextLayer; @class CPTLineStyle; /// @ingroup plotBindingsPieChart /// @{ extern NSString *const CPTPieChartBindingPieSliceWidthValues; extern NS...
//===--------------------------------------------------------------------------------*- C++ -*-===// // _ // | | // __| | __ ___ ___ ___ // / _` |/ _` \ \ /\ / / '_ | // | (_| | (_| |\ V V /| | | | // ...
/* * * Copyright 2014 Flavio Negrão Torres * * 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) 2010, Jonathan Wayne Parrott Please see the license.txt file included with this source distribution for more information. */ #ifndef __PHBATCHGEOMETRYCOMP_H__ #define __PHBATCHGEOMETRYCOMP_H__ #include "BatchGeometry.h" namespace phoenix { //! Batch Geometry Composite Class. ...
#ifndef PHOTONCONTAINER_H #define PHOTONCONTAINER_H #include "Container.h" #include "Photon.h" declareContainer(Photon, photon) #endif // PHOTONCONTAINER_H
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSObject.h" #import "OADClient-Protocol.h" #import "OADTextClient-Protocol.h" @class OADDrawable, WDAAnchor, WDATextBox; // Not exported @interface WDAContent : NSObj...
// // This file is part of nunn Library // Copyright (c) Antonino Calderone (antonino.calderone@gmail.com) // All rights reserved. // Licensed under the MIT License. // See COPYING file in the project root for full license information. // /* -------------------------------------------------------------------------...
/*========================================================================= Program: Visualization Toolkit Module: vtkPistonSort.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This soft...
#define TINYCBOR_VERSION_MAJOR 0 #define TINYCBOR_VERSION_MINOR 5 #define TINYCBOR_VERSION_PATCH 4
// // XBAchivementDetailsParser.h // Xbox Live Friends // // Created by Wil Gieseler on 8/7/06. // Copyright 2006 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> @interface XBAchievementDetailsParser : NSObject { } + (NSArray *)fetchWithGameID:(NSString *)gameID tag:(NSString *)tag; + (NSAr...
#ifndef _BLP_H_ #define _BLP_H_ #include <stdint.h> #include <stdio.h> #include <string> #ifdef __cplusplus extern "C" { #endif #ifdef _WIN32 # ifdef blp_EXPORTS # define MODULE_API __declspec(dllexport) # else # define MODULE_API # endif #else # define MODULE_API #endif struct tBGRAPixel { uint8_t b; uin...
// This file was generated based on 'C:\ProgramData\Uno\Packages\Fuse.Animations\0.11.3\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #ifndef __APP_FUSE_ANIMATIONS_AVERAGE_MASTER_PROPERTY__FUSE_ELEMENTS_STRETCH_MODE_H__ #define __APP_FUSE_ANIMATIONS_AVERAGE_MASTER_PROPERTY__FUSE_ELEMENTS_ST...
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
// The MIT License (MIT) // // Copyright (c) 2015 Sergey Makeev, Vadim Slyusarev // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitat...
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class com_waicool20_skrypton_jni_objects_SKryptonMouseEvent_Companion */ #ifndef _Included_com_waicool20_skrypton_jni_objects_SKryptonMouseEvent_Companion #define _Included_com_waicool20_skrypton_jni_objects_SKryptonMouseEvent_Compani...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double Pods_LXModuleDemoVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_LXModuleDemoVersionStrin...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
#ifndef VECTORS_H #define VECTORS_H #include <stdlib.h> #include "common.h" typedef struct vector_m { real *storage; size_t dimension; } *vector; vector new_vector(size_t n); void delete_vector(vector vec); #define vidx(vec, idx) vec->storage[idx] #endif
#pragma once #include "State.h" #include "World.h" #include "Container.h" #include "OptionContainer.h" class StateStack; class OptionState : public State{ public: OptionState(StateStack &stack, Context context); void draw(); bool update(sf::Time deltaTime); bool handleEvent(const sf::Event &event); ...
#pragma once #include <vector> #include <memory> #include <functional> #include <set> #include <list> #include <assert.h> #include <Engine/GlobalEnv.h> extern fastbird::GlobalEnv* gFBEnv; namespace fastbird { void Log(const char* szFmt, ...); void Error(const char* szFmt, ...); typedef std::vector<char> BYTE_BUFFE...
// // PAYErrorCodes.h // PAYFormBuilder // // Created by Simon Seyer on 10.07.14. // Copyright (c) 2014 Paij. All rights reserved. // #import <Foundation/Foundation.h> /** * Different error codes that are used to mark validation errors */ typedef enum { /** * Used to mark generic validation errors ...
#include <stdio.h> #include <errno.h> void errno_msg(char *filename) { fprintf(stderr, "Error opening file: %s\n", filename); switch (errno) { case EACCES: fprintf(stderr, "Permission denied\n"); break; case ENOENT: fprintf(stderr, "No such file\n"); ...
// // GhostEventFrameOSX.h // GhostEventFrameOSX // // Created by Eneko Alonso on 2/5/16. // Copyright © 2016 Eneko Alonso. All rights reserved. // #import <Cocoa/Cocoa.h> //! Project version number for GhostEventFrameOSX. FOUNDATION_EXPORT double GhostEventFrameOSXVersionNumber; //! Project version string for G...
// // NewThemeTableViewCell.h // LEEThemeDemo // // Created by 李响 on 2017/6/1. // Copyright © 2017年 lee. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, NewThemeState) { NewThemeStateDownload, NewThemeStateStart, NewThemeStateRemove }; @interface NewThemeTabl...
#pragma once #if PHYSX_ENABLED #include "glm\glm.hpp" #include "glm\gtx\quaternion.hpp" #include "Physics/GenericRigidBody.h" #include "Physics/PhysicsTypes.h" #include "physx\PxPhysicsAPI.h" #include "Core/Transform.h" class PhysxRigidbody : public GenericRigidBody { public: ~PhysxRigidbody(); PhysxRigidbody(EBodyTy...