text
stringlengths
4
6.14k
/* * CocosBuilder: http://www.CocosBuilder.com * * Copyright (c) 2012 Zynga Inc. * * 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...
/** * token.h * * Define all token types. */ #ifndef TOKEN_H #define TOKEN_H /* The following enum contains all token names with the names 'TOK_*' */ enum { #define X(x) x, # include "token.include" #undef X __token_dummy__ /* Dummy element for trailing comma */ }; /* These names can be indexed via the above ...
/* Copyright (c) 2012, 2013 Kajetan Swierk <k0zmo@outlook.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 without restriction, including without limitation the rights ...
// // DDAreaPickerView.h // AreaPicker // // Created by SuperDanny on 15/11/10. // Copyright © 2015年 SuperDanny. All rights reserved. // #import <UIKit/UIKit.h> #import "DDLocation.h" typedef enum { DDAreaPickerWithStateAndCity, DDAreaPickerWithStateAndCityAndDistrict } DDAreaPickerStyle; @class DDAreaPi...
/* * The MIT License (MIT) * * Copyright (c) 2014 Egbert Verhage * * 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 us...
#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 OrangeLabelVersionNumber; FOUNDATION_EXPORT const unsigned char OrangeLabelVersionString[];
#pragma once // ApplicationDialog dialog /*struct buttonSet { CString name; CButton* ctrlCheckButton; CButton* altCheckButton; CComboBox* VKBox; };*///This actually seemed to crash windows????? class ApplicationDialog : public CDialog { DECLARE_DYNAMIC(ApplicationDialog) public: ApplicationDi...
/**************************************************************************************** Copyright (C) 2014 Autodesk, Inc. All rights reserved. Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download, or which otherwise accom...
#pragma once #include "def.h" class fsm :public boost::enable_shared_from_this<fsm> { std::map<string,ptr_state_unit> m_stateunitmap; void* m_userdata; // room , game_user , user...... ptr_state_unit m_curstateunit; public: fsm(); ~fsm(); void add(string arg_name, ptr_state_unit arg_state_unit) { m_st...
#include "learnuv.h" int main() { int err; double uptime; err = uv_uptime(&uptime); CHECK(err, "uv_uptime"); log_info("Uptime: %f", uptime); log_report("Uptime: %f", uptime); size_t resident_set_memory; err = uv_resident_set_memory(&resident_set_memory); CHECK(err, "uv_resident_set_memory"); log_...
/******************************************************************************* MIT License Copyright (c) 2017 Jeff Kubascik 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, ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #pragma once #include "cpprest/base_uri.h" #include "web_request.h" namespace signalr { class web_request_factory { public: virtua...
/* * */ #include <stdint.h> #include "unix/constant.h" #include "encode.h" #include "invoke.h" #include "poll.h" #define ONCE_PER_SECOND 100 enum { ENABLED = (1 << 0), /* else disabled */ STARTED = (1 << 1), /* else stopped */ }; static uint8_t flag = 0; void poll_init () { flag = 0; ...
extern int js_add(int, int); int add(int a, int b) { return js_add(a, b); }
#ifndef TECH_UI_WINDOWSYSTEM_H #define TECH_UI_WINDOWSYSTEM_H #include <tech/pimpl.h> #include <tech/string.h> #include <tech/types.h> #include <tech/ui/rect.h> #include <tech/ui/timer.h> #include <tech/ui/widget.h> namespace Tech { class WindowSystemPrivate; class WindowSystem final : public Interface<WindowSys...
// // ExampleTableViewController.h // WDIOSLibrary // // Created by Dhanu Saksrisathaporn on 9/13/2559 BE. // Copyright © 2559 Dhanu Saksrisathaporn. All rights reserved. // @import WDIOSLibrary; @interface ExampleTableViewController : WDIOSTableViewController @end
#define SOKOL_IMPL #include "sokol_args.h" void use_args_impl(void) { sargs_setup(&(sargs_desc){0}); }
// *********************************************************************** // Filename : StopWatch.h // Author : LIZHENG // Created : 2014-04-28 // Description : 高精度计时器 // // Copyright (c) lizhenghn@gmail.com. All rights reserved. // ******************************************************...
/** * * Description: Simple Chat Server. * Author: Deric Fagnan * * * */ #include <stdio.h> #include <stdlib.h> #include <string.h> //strlen #include <unistd.h> //write #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> //inet_addr #include <pthread.h> //for threading , l...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #define PACKET_SIZE 256 #define THRESHOLD_VAL 10 // Performs thresholding with <THRESHOLD_VAL> and performs zero-length encoding // @data: pointer to the dataset to encode; encodes <PACKET_SIZE> bytes at a time // @output: pointer to the output buffer; ...
// // MenuViewController.h // MBXMapKit // // Created by Gevorg Ghukasyan on 2/9/15. // Copyright (c) 2015 MapBox. All rights reserved. // #import <UIKit/UIKit.h> @interface MenuViewController : UIViewController @end
// Langevin.h -- The Velocity Verlet molecular dynamics algorithm. // -*- c++ -*- // // Copyright (C) 2001-2011 Jakob Schiotz and Center for Individual // Nanoparticle Functionality, Department of Physics, Technical // University of Denmark. Email: schiotz@fysik.dtu.dk // // This file is part of Asap version 3. // /...
#include <check.h> #include "check_ace_string.h" #include "../src/ace_string.h" // unit tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ START_TEST (join_two_strings) { char *result = ace_str_join_2 ("hello", " world"); ck_assert_str_eq (result, "hello world"); } END_TEST START_TEST (join...
#ifndef QMLTAB_H #define QMLTAB_H #include <QWidget> #include <QLayout> #include <QQuickView> #include <QQmlEngine> #include <QQuickItem> #include <QQmlComponent> #include <QVariantList> #include <QApplication> #include <memory> #include "dbi/dbi.h" class QmlTab : public QWidget { Q_OBJECT public: explicit Qm...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include "targetver.h" #define AWS_UTIL_EXPORT __declspec(dllexport) ///#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff fr...
/***************************************************************************** The following code is derived, directly or indirectly, from the SystemC source code Copyright (c) 1996-2006 by all Contributors. All Rights reserved. The contents of this file are subject to the restrictions and limitations ...
#import "MOBProjection.h" @interface MOBProjectionEPSG4966 : MOBProjection @end
/**\file * * \copyright * Copyright (c) 2008-2014, Kyuba Project Members * \copyright * 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 ...
/* * Functions used to build the ast */ #pragma once #include "structures.h" /* TreeNode, NodeList and such*/ #include <stdio.h> /*printfs*/ #include <stdlib.h> /*mallocs et all*/ #include <string.h> /*strcmp*/ TreeNode* InitTreeNode(enum NodeType type); NodeList* InitNodeList(TreeNode* node); TreeNode* InsertTermin...
/* * The MIT License (MIT) * Copyright (c) 2015 Peter Vanusanik <admin@en-circle.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 without restriction, including without limitati...
// // JWTClaimVerifierBase.h // JWT // // Created by Dmitry Lobanov on 30.05.2021. // Copyright © 2021 JWTIO. All rights reserved. // #import <Foundation/Foundation.h> #import <JWT/JWTClaimsSetsProtocols.h> NS_ASSUME_NONNULL_BEGIN @interface JWTClaimVerifierBase : NSObject <JWTClaimVerifierProtocol> @end NS_AS...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @protocol WCCardPkgBackTableViewDelegate <NSObject> - (void)WXCardPkgTableViewHeight:(double)arg1 scrollEnabled:(_Bool)arg2; - (double)WXCardPkgTableViewMaxHei...
// This file was generated based on 'C:\ProgramData\Uno\Packages\Fuse.Drawing\0.11.3\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #ifndef __APP_FUSE_DRAWING_WINDING_RULES_H__ #define __APP_FUSE_DRAWING_WINDING_RULES_H__ #include <Uno.h> namespace app { namespace Fuse { namespace Drawing ...
/********************************************************************* ** Copyright (C) 2003 Terabit Pty Ltd. All rights reserved. ** ** This file is part of the POSIX-Proactor module. ** ** @file SslChannel.h ** ** ** @author Alexander Libman <libman@terabit.com.au> ** ** ** *********************************...
/* * 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/TSDBezierPath.h> @interface TSDBezierPath (LivarotPrivate) + (id)p_booleanWithBezierPaths:(id)arg1 operation:(int)arg2; + (struct CGRect)p_pathToBounds:(Pat...
// // c_language_demo.c // swift4demo // // Created by hzyuxiaohua on 2017/6/29. // Copyright © 2017年 XY Network Co., Ltd. All rights reserved. // #include "c_language_demo.h" #include "stdlib.h" int uninitialized_value_demo() { int a; return a + 42; } int dereference_demo(int *value) { int tmp...
#ifdef __cplusplus extern "C" { #endif typedef struct mData { int chan; int note; int vel; } mData; extern void __stdcall mPlay(void *); extern void __stdcall mStop(); extern void __stdcall mGetData(mData *,int,int); //first int is a channel number, second int is 'fake velocity' fadeout (from max to ...
#ifndef __ACTOR_H__ #define __ACTOR_H__ /* // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // -- // -- File Name: FOUR.Actor.h // -- // -- Author(s): Paul Nispel // -- // -- Creation Date: 4/17/2013 // -- /...
//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by Text.rc // #define IDS_STRING1 1 #define IDS_STRING2 2 #define IDS_STRING3 3 #define IDS_STRING4 4 #define IDS_STRING5 5 #define IDS_...
// // OCLogService.h // OCLogService // // Created by Dmitry Fantastik on 11/16/13. // Copyright (c) 2013 fantastik. All rights reserved. // #import <OCLogService/OCLogServiceConfigurator.h> #import <OCLogService/OCLogObject.h> #import <OCLogService/OCLogNestedObject.h> #import <OCLogService/OCApiBatchObject.h> #i...
#pragma once #include "StockTypeMacro.h" #include "BigNumber/BigNumberAPI.h" #include <vector> #include <memory> #include "IntDateTime/IntDateTimeAPI.h" enum FilterType { FILTER_INIT, ALL_STOCK, RISE_UP, FALL_DOWN, }; enum StrategyType { STRATEGY_INIT, SAR_RISE_BACK_COUNT, SAR_RISE...
// // SimpleAuthGooglePlusLoginViewController.h // SimpleAuth // // Created by Martin Pilch on 16/5/15. // Copyright (c) 2015 Martin Pilch, All rights reserved. // #import "SimpleAuthWebViewController.h" @interface SimpleAuthGooglePlusLoginViewController : SimpleAuthWebViewController @end
#ifndef _LINUX_AUXVEC_H #define _LINUX_AUXVEC_H //lux 辅助信息常量定义,在加载可执行文件时用到,see binfmt_elf.c #include <asm/auxvec.h> /* Symbolic values for the entries in the auxiliary table put on the initial stack */ #define AT_NULL 0 /* end of vector */ #define AT_IGNORE 1 /* entry should be ignored */ #define AT_EXECFD 2 /* f...
/* * Generated by class-dump 3.3.3 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard. */ #import "MTMMessage.h" @class NSDictionary; @interface MTMFakeMessage : MTMMessage { NSDictionary *_messageDescription; } - (id)initWithDescription:(id)arg1; - (void)deall...
/*** * Inferno Engine v4 2015-2017 * Written by Tomasz "Rex Dex" Jonarski * * [# filter: actions #] ***/ #pragma once #include "sceneEditorStructure.h" #include "sceneEditorStructureNode.h" #include "sceneEditorStructureLayer.h" #include "sceneEditorStructureGroup.h" #include "sceneEditorStructureWorldRoot.h" #includ...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
#include "skynet.h" #include "skynet_monitor.h" #include "skynet_server.h" #include "skynet.h" #include "atomic.h" #include <stdlib.h> #include <string.h> struct skynet_monitor { int version; int check_version; uint32_t source; uint32_t destination; }; struct skynet_monitor *skynet_monitor_new() { struct sky...
// // DemoCell.h // SwpCateGoryDemo // // Created by swp_song on 2017/6/20. // Copyright © 2017年 swp-song. All rights reserved. // #import <UIKit/UIKit.h> @class DemoModel; NS_ASSUME_NONNULL_BEGIN @interface DemoCell : UITableViewCell /**! * @author swp_song * * @brief demoCellWihtTableView:forCellReuseId...
/* * 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" @class NSArray, NSDate, NSMutableDictionary, NSString; @interface XCSnapshot : NSObject { NSArray *_sourceDirs; NSArray *_archiveDirs; long lon...
// // UserCell.h // searchDemo // // Created by GuanFeng on 2017/4/27. // Copyright © 2017年 GuanFeng. All rights reserved. // #import <UIKit/UIKit.h> @class UserInfo; @interface UserCell : UITableViewCell @property (nonatomic, strong) UserInfo *info; @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 <iWorkImport/TSDStyledInfoSetStyleCommand.h> @class NSObject<TSSPreset>; // Not exported @interface TSDMediaApplyPresetCommand : TSDStyledInfoSetStyleCommand { NSOb...
// Copyright (c) 2014 rokob. All rights reserved. #import <Foundation/Foundation.h> #import "RKAuthClientServices.h" @class FirebaseSimpleLogin; @interface RKAuthClientFirebaseFacebookHandler : NSObject <RKAuthClientFacebook> - (instancetype)initWithSimpleLogin:(FirebaseSimpleLogin *)simpleLogin; @end
// // CommunityDetailsTableView.h // MierMilitaryNews // // Created by 李响 on 2016/10/28. // Copyright © 2016年 miercn. All rights reserved. // #import <UIKit/UIKit.h> #import "CommunityDetailsModel.h" @class CommunityCommentModel; typedef void(^OpenUserHomeVCBlock)(NSString *uid , NSString *userName); typedef v...
// // SearchAdvanceOpportunityViewController.h // OfficeOneMB // // Created by Dao Xuan Luong on 12/15/14. // // #import "BaseViewController.h" @protocol SearchAdvanceDelegate <NSObject> -(void) actionSearchAdvance :(NSString*)keyword addStartDate:(NSDate*)startDate addEndDate:(NSDate*)endDate userType:(int)type...
/* * Generated by util/mkerr.pl DO NOT EDIT * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or...
/*********************************************************************/ /* */ /* Equilibrate matrix A using LAPACK subroutine SGEEQU */ /* */ /* -- Created ...
// // NSDictionary+StolpersteinParsing.h // Stolpersteine // // Copyright (C) 2013 Option-U Software // // 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...
// LAF Base Library // Copyright (c) 2001-2016 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #ifndef BASE_MEMORY_DUMP_H_INCLUDED #define BASE_MEMORY_DUMP_H_INCLUDED #pragma once #include <string> namespace base { class MemoryDump { public: ...
typedef enum {false,true} bool; extern int __VERIFIER_nondet_int(void); int main() { int i; i = __VERIFIER_nondet_int(); while (i > 5) { if (i != 10) { i = i-1; } } return 0; }
#include <assert.h> #include "cm_err.h" #include "cm_object.h" #include "cm_manager.h" #include "cm_manager_obj.h" struct cm_manager * cm_manager_new(cm_err_t *err) { return cm_manager_obj_new(NULL, err); } void cm_manager_new_async(cm_manager_new_done done, void *userdata) { cm_manager_obj_new_async(NULL, don...
#pragma once #include <Windows.h> #include <exception> #include "OSGFInputElement.h" class InputSystem { public: InputSystem(); InputSystem(RAWINPUTDEVICE* devs,UINT count); void SetKeyboard(OSGFInputElement* keyboard) { mInputElements[RIM_TYPEKEYBOARD] = keyboard; } void SetMouse(OSGFInputElement*...
// // EtherJsonController.h // etherpad-lite-objc // // Copyright (c) 2012 Alexander Zautke. // This code is released under the MIT License (MIT). // For conditions of distribution and use, see the disclaimer and license in EtherpadController.h // #import <Foundation/Foundation.h> @interface EtherJsonController ...
// // AppRouterAutoPanUp.h // objcTempDemo // // Created by Deng on 16/7/8. // Copyright © Deng. All rights reserved. // #import "AppRouter.h" @class AppRouterAutoPanUp; @interface AppRouterAutoPanUp : AppRouter #pragma mark Public Method #pragma mark Properties @end
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* card_to_rom.c :+: :+: :+: ...
// // PromotionAudienceViewController.h // ShnergleApp // // Created by Adam Hani Schakaki on 25/07/2013. // Copyright (c) 2013 Shnergle. All rights reserved. // #import "CustomBackViewController.h" @interface PromotionAudienceViewController : CustomBackViewController <UITableViewDataSource, UITableViewDelegate> ...
/* * * Servo.c * * Created: April 30 2016 * Authors: Yuqi (Mark) Zhao and Claire Chen */ #include "Servo.h" /* * Configure ports PTD0 and PTD2 as the GPIO output pins for both servos. */ void servo_init(void){ //Enable power to port D SIM->SCGC5 |= SIM_SCGC5_PORTD_MASK; //Set up each pin as GPIO output PORTD...
#ifndef GUYGRAPHICSCOMPONENT_H #define GUYGRAPHICSCOMPONENT_H #include <string> #include "zombie_walk.h" #include "graphics_component.h" #include "graphics.h" #include "Entity.h" #include "AnimatedSprite.h" class GuyGraphicsComponent : public GraphicsComponent { public: GuyGraphicsComponent(Graphics &g...
// // BMArchive // Bitmessage // // Created by Steve Dekorte on 4/8/14. // Copyright (c) 2014 voluntary.net. All rights reserved. // #import <Foundation/Foundation.h> @interface BMArchive : NSObject - (void)archiveFromPath:(NSString *)inPath toPath:(NSString *)outPath; - (void)unarchiveFromPath:(NSString *)inP...
#pragma once #include <SDL.h> #include <vector> // class LuckyComponent; // class LuckyWindow; // class LuckyContent; // class LuckyText; //GENERIC COMPONENT CLASS class LuckyComponent { protected: SDL_Rect bounds; public: SDL_Rect* parent_bounds; LuckyComponent(int x, int y, int w = 0, int h = 0) ...
// // DZVideoPlayerUiProtocol.h // #ifndef DZVideoPlayerUiProtocol_h #define DZVideoPlayerUiProtocol_h #import "DZPlayerView.h" #import "DZProgressIndicatorSlider.h" @protocol DZVideoPlayerUiProtocol -(DZPlayerView *)playerView; -(UIActivityIndicatorView *)activityIndicatorView; -(UIView *)topToolbarView; -(UIVi...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/times.h> #include "clock.h" /* Routines for using cycle counter */ /* Detect whether running on Alpha */ #ifdef __alpha #define IS_ALPHA 1 #else #define IS_ALPHA 0 #endif /* Detect whether running on x86 */ #ifdef __i386__ #define IS_x86 1 #el...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #ifdef _OPENACC #include <openacc.h> #endif // Utility routine for allocating a two dimensional array float **malloc_2d(int nx, int ny) { float **array; int i; array = (float **) malloc(nx * sizeof(float *)); array[0] = (float ...
// // SimpleNetwork.h // SimpleNetwork // // Created by hanbing on 15/3/3. // Copyright (c) 2015年 fly. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for SimpleNetwork. FOUNDATION_EXPORT double SimpleNetworkVersionNumber; //! Project version string for SimpleNetwork. FOUNDATION_EXPORT...
/*@self.public()*/ /** @file Compatibility header for `aligned_alloc`. */ #if !defined CAL_ALIGNED_ALLOC_DEFINED # error "must not include end header without matching begin" #elif CAL_ALIGNED_ALLOC_DEFINED # undef aligned_alloc #endif #undef CAL_ALIGNAS_DEFINED
#ifndef __BINARY_JSON__ #define __BINARY_JSON__ #include <XeCore/Common/Buffer.h> #include <json/json.h> namespace BinaryJson { typedef XeCore::Common::ByteBuffer Buffer; bool jsonToBinary( Json::Value& root, Buffer* buff, dword keyhash = 0, bool dontClearBuffer = false ); bool binaryToJson( Buffer* buff...
/* * 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" @class MPVolumeView, NSMutableDictionary, NSNumberFormatter, NSString, NSTimer, QLArchiveViewer, QLPreviewItemsSource, UIBarButtonItem, UIDocumentInteractio...
#pragma once #include <cctype> #include <cstddef> namespace mlfe{ namespace cuda_kernel{ template <typename T> void broadcast( const T *x, T *y, int Nx, int Cx, int Hx, int Wx, int Ny, int Cy, int Hy, int Wy); template <typename T> void broadcast_gradient( const T *dy, T *dx, int Ny, int Cy, int ...
#pragma once #include "Assist/Common.h" #include "BL/DisplayCamera.h" class SceneObject; class Scene : public PropertyOwner { public: Scene(); DISABLE_COPY(Scene); ~Scene(); private: DisplayCamera* mDisplayCamera; Array<SceneObject*> mSceneObjects; };
// // AnnotatedImage+Create.h // DetectMe // // Created by Josep Marc Mingot Hidalgo on 11/10/13. // Copyright (c) 2013 Josep Marc Mingot Hidalgo. All rights reserved. // #import <CoreLocation/CoreLocation.h> #import <coreMotion/CoreMotion.h> #import "AnnotatedImage.h" #import "Detector.h" #import "Box.h" @interf...
#ifndef PIGEON_H_ #define PIGEON_H_ #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif #define PIGEON_ALIGNSIZE 4 #define PIGEON_LINESIZE 80 // Typedefs {{{ typedef void (*PortalEntryHandler)(void * target, char * message, char * response); typedef char * (*PigeonIn)(char * buffer, int maxSize); // g...
#include "pi_SharedTypes_0.h" #include "GenericSharedDeclarations.h" #include "queue_SharedTypes_0.h" void pi_SharedTypes_0_mutexDestroy_3(pi_SharedTypes_0_FlaggedQueue_t* var) { pthread_mutex_destroy(&var->itemCount.mutex); queue_SharedTypes_0_mutexDestroy_2(&var->queue); pthread_mutex_destroy(&var->isFull.m...
// // RootViewController.h // NavigationControllerTransitions // // Created by Kirby Turner on 4/14/11. // Copyright 2011 White Peak Software Inc. All rights reserved. // #import <UIKit/UIKit.h> @interface RootViewController : UITableViewController { } @end
#pragma once #include "sprite.h" #include "timer.h" class Medal : public Sprite { public: static Texture image_; Medal(float x, float y); static void loadContent(Graphics &graphics); void update(std::chrono::milliseconds delta); void draw(Graphics &graphics); bool o...
/* Quinta questão da prova */ #include <stdio.h> #include <stdio.h> int main() { unsigned char entrada; printf("Entrada: "); scanf("%c", &entrada); printf("Dado: %X\n", entrada); // Limpar 3 algarismos menos significativos entrada = entrada & 0xF8; // 1111 1000 // Inverter o mais significativo entrada =...
#include "mex.h" #include <math.h> #include "float.h" void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray*prhs[]) { // // Usage // ----- // flag = same_diff(data,tolerance_multiplier) // // - data is assumed to be 1d (this could be verified ...) // /...
/* * NodeTest.h * * Created on: Aug 11, 2008 * Author: yamokosk */ #ifndef NODETEST_H_ #define NODETEST_H_ // Logging #include <log4cxx/logger.h> // CppUnit #include <cppunit/extensions/HelperMacros.h> // Class to test #include "SceneNode.h" class NodeTest : public CppUnit::TestFixture {...
#ifndef RECTANGLE_H #define RECTANGLE_H #include "Polygon.h" class Rectangle : public Polygon { public: Rectangle(int width, int height); int getArea(); protected: private: }; #endif // RECTANGLE_H
#ifndef CtreCanNode_H_ #define CtreCanNode_H_ #include "ctre.h" //BIT Defines + Typedefs #include <pthread.h> #include <map> #include <string.h> // memcpy #include <sys/time.h> class CtreCanNode { public: CtreCanNode(UINT8 deviceNumber); ~CtreCanNode(); UINT8 GetDeviceNumber() { return _deviceNumber; } pr...
/* FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd. FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...
#ifndef ossimPlanetStandardTextureLayerFactory_HEADER #define ossimPlanetStandardTextureLayerFactory_HEADER #include <ossimPlanet/ossimPlanetTextureLayerFactory.h> #include <ossim/base/ossimFilename.h> #include <ossim/base/ossimKeywordlist.h> #include <ossimPlanet/ossimPlanetExport.h> #include <mutex> class OSSIMPLANE...
// // Created by erik on 10/2/16. // #ifndef SOI_DIMENSIONS_H_H #define SOI_DIMENSIONS_H_H #include <ratio> #include <iosfwd> namespace std { template<class O, intmax_t N, intmax_t D> basic_ostream<O>& operator<<( basic_ostream<O>& stream, ratio<N, D> ratio ); } namespace spatacs { namespace physics ...
#ifndef REVOLC_GLOBAL_MODULE_H #define REVOLC_GLOBAL_MODULE_H #include "build.h" #include "core/dll.h" #include "core/cson.h" #include "global/cfg.h" #include "resources/resource.h" struct World; typedef void (*InitModuleImpl)(); typedef void (*DeinitModuleImpl)(); typedef void (*WorldGenModuleImpl)(struc...
#ifndef MEMBERSHIP_MANAGEMENT_H_INCLUDED #define MEMBERSHIP_MANAGEMENT_H_INCLUDED #include "buses_management.h" #include "depots_management.h" #include "messages.h" #include "extracting.h" void assign_to(char*, int); void assign_structs_to(Depot*, Bus*); void remove_assignment_from(char*, int); void remove_assignment...
//****************************************************************************************** // Anubis Editor 1.0 - A 3D Adventure Game Engine. // Copyright (C) 2006-2007 Gorka Suárez García // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public Lice...
/* * $QNXLicenseC: * Copyright 2008, QNX Software Systems. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not reproduce, modify or distribute this software except in * compliance with the License. You may obtain a copy of the License * at: http://www.apache.org/licenses/LICENS...
// // 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" @interface DelFavItemRsp : WXPBGeneratedMessage { } + (void)initialize; // Remaining properties @property(nonatomic) unsigned int favId; // @dyna...
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2009-2012, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are p...
/* ---------------------------------------------------------------------------- ** Copyright (c) 2016 Austin Brunkhorst, All Rights Reserved. ** ** Destructor.h ** --------------------------------------------------------------------------*/ #pragma once #include "Invokable.h" #include "DestructorInvoker.h" namespac...
/*MIT License Copyright (c) 2018 MTA SZTAKI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
#ifndef TYPETOSTR_H #define TYPETOSTR_H #include <string> #include <typeinfo> #include <stdio.h> #include <sstream> // just for testing purposes template<typename F> std::string typetostr() { //cout << (string("echo ")+typeid(F).name()+"c++filt -t").c_str() << endl; FILE *pipe = popen((std::string("echo ")+typeid(F...