text
stringlengths
4
6.14k
/** * Definition for singly-linked list. * struct ListNode { * int val; * struct ListNode *next; * }; */ struct ListNode { int val; struct ListNode *next; }; static struct ListNode* merge2Lists(struct ListNode* l1, struct ListNode* l2) { struct ListNode* head; struct ListNode* tail; struc...
// // LZLTabBar.h // 第一天 // // Created by 罗志林 on 15/9/28. // Copyright © 2015年 luozhilin. All rights reserved. // #import <UIKit/UIKit.h> @interface LZLTabBar : UITabBar @end
/* * Matrix.h * MEDSR * * Created by Master.G on 14-4-15. * Copyright (c) 2014 MED. All rights reserved. */ #ifndef KITSUNE_MATRIX_H_ #define KITSUNE_MATRIX_H_ #include "MathUtil.h" /* * column-major matrix * 0 4 8 12 * 1 5 9 13 * 2 6 10 14 * 3 7 11 15 */ extern mat_t MatrixIdentit...
/* * 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...
// // UITextField+Add.h // portal // // Created by Store on 2017/9/27. // Copyright © 2017年 qxc122@126.com. All rights reserved. // #import <UIKit/UIKit.h> #import "HeaderAll.h" @interface UITextField (Add) - (instancetype)initWithColor:(unsigned long)color Alpha:(float)alpha Font:(NSInteger)font ROrM:(NSString *)...
#include <stdio.h> #include <stdlib.h> //Declares a new node struct node { int data; struct node *left; struct node *right; }; //Allocates a new node struct node* newNode(int data) { struct node* node = (struct node*)malloc(sizeof(struct node)); node -> data = data; node -> left = NULL; node -> right = NULL; ...
/* ** $Id: lvm.h,v 2.41 2016/12/22 13:08:50 roberto Exp $ ** Lua virtual machine ** See Copyright Notice in lua.h */ #ifndef lvm_h #define lvm_h #include "ldo.h" #include "lobject.h" #include "ltm.h" #if !defined(LUA_NOCVTN2S) #define cvt2str(o) ttisnumber(o) #else #define cvt2str(o) 0 /* no conv...
// // Created by hayashi311 on 11/10/13. // Copyright (c) 2013 IFTTT Inc. All rights reserved. // #import "IFTTTAnimation.h" @interface IFTTTTransformAnimation : IFTTTAnimation @end
// // INCatalogueViewController.h // InDoorNavigation // // Created by Roman Temchenko on 2015-11-14. // Copyright © 2015 Temkal. All rights reserved. // #import <UIKit/UIKit.h> #import "INCatalogueControllerDelegate.h" @class INCatalogue; @interface INCatalogueViewController : UIViewController <UITableViewDataS...
/** * This is a generated file. Do not edit or your changes will be lost */ @interface TiGeoloqiModuleAssets : NSObject { } - (NSData*) moduleAsset; @end
#import "MOBProjection.h" @interface MOBProjectionEPSG5802 : MOBProjection @end
/* * This file is part of the µOS++ distribution. * (https://github.com/micro-os-plus) * Copyright (c) 2015 Liviu Ionescu. * * 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 ...
// // SwiftlyRater.h // SwiftlyRater // // Created by Gianluca Di Maggio on 1/2/17. // Copyright © 2017 dima. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for SwiftlyRater. FOUNDATION_EXPORT double SwiftlyRaterVersionNumber; //! Project version string for SwiftlyRater. FOUNDATION_EX...
#ifndef LINUXFFBEFFECT_H #define LINUXFFBEFFECT_H #include "ffbeffect.h" #include <linux/input.h> class LinuxFFBEffect : public FFBEffect { public: explicit LinuxFFBEffect(FFBEffectTypes type); virtual struct ff_effect* createFFStruct() = 0; inline int internalIdx() const { return m_internalIdx; } inline void...
#pragma once #include <cstdint> #include <si_app/pipeline/pipeline_base.h> #include <si_base/math/math_declare.h> namespace SI { namespace APP003 { class Pipeline : public PipelineBase { public: explicit Pipeline(int observerSortKey); virtual ~Pipeline(); int OnInitialize(const AppInitializeInfo&) overrid...
// // YPLeftMenuController.h // YPReusableController // // Created by MichaelPPP on 16/1/25. // Copyright © 2016年 tyiti. All rights reserved. // 侧滑菜单控制器 #import <UIKit/UIKit.h> @interface YPLeftMenuController : UIViewController @end
// // Countries.h // WorldCountries // // Created by Pablo Roberto Carrera Estrada on 11/30/13. // Copyright (c) 2013 Pablo Roberto Carrera Estrada. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @class Continents; @interface Countries : NSManagedObject @property (nonato...
// // DLRCheckpointNavigationController.h // DLRCheckpointNavigationController // // Created by Nate Walczak on 2/6/15. // Copyright (c) 2015 Detroit Labs, LLC. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for DLRCheckpointNavigationController. FOUNDATION_EXPORT double DLRCheckpointN...
#ifndef __BASE_SYS_INC_SERVERCONN_H__ #define __BASE_SYS_INC_SERVERCONN_H__ #include <cstdint> #include <cstddef> #include "connBase.h" namespace parrot { struct ConnConfig; class ProtocolBase; class ServerConn : public ConnBase { protected: enum class eConnState : uint8_t { None, Opened, ...
#include <ruby.h> #include <stdio.h> #include <math.h> #define _USE_MATH_DEFINES const double EARTH_RADIUS = 3958.75587; const double MILES_TO_METERS = 1609.344; const double MILES_TO_KM = 1.609344; const double MILES_TO_NAUTIC_MILES = 0.8684; const double DEGREES_TO_RADIANS = M_PI / 180; const double RADIANS_TO_DEGR...
// -*- c++ -*- // Generated by gmmproc 2.47.3.1 -- DO NOT MODIFY! #ifndef _ATKMM_TEXT_P_H #define _ATKMM_TEXT_P_H #include <glibmm/private/interface_p.h> namespace Atk { class Text_Class : public Glib::Interface_Class { public: typedef Text CppObjectType; typedef AtkText BaseObjectType; typedef AtkTextIface B...
#ifndef _SNF_HTTP_CMN_CHARSET_H_ #define _SNF_HTTP_CMN_CHARSET_H_ #include <cctype> namespace snf { namespace http { inline bool is_tchar(int c) noexcept { bool valid = false; if (std::isalpha(c) || std::isdigit(c)) { valid = true; } else { switch (c) { case '!': case '#': case '$': case '%': case '&':...
// // ReviewPushClient.h // Review Push For Business // // Created by Michael Orcutt on 7/29/15. // Copyright (c) 2015 ReviewPush. All rights reserved. // #import <AFNetworking/AFHTTPRequestOperationManager.h> #import <CoreLocation/CoreLocation.h> #import "Feedback.h" #import "RPLocation.h" @interface RPFeedbac...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* parce_it.c :+: :+: :+: ...
#include "parse/scientificf.h" #include <stdint.h> typedef float Scalar; typedef uint32_t Bitset; #include "parse/float.h" float strtof(const char s[restrict static 1], char** restrict end) { return parsefloat_(s, end); }
#pragma once #include <string.h> // some forward declarations for cross includes class Network; class MemoryManager; class SyscallClient; class PerformanceModel; // FIXME: Move this out of here eventually class PinMemoryManager; #include "mem_component.h" #include "fixed_types.h" #include "config.h" #include "perfor...
#ifndef __SETTINGS_H__ #define __SETTINGS_H__ #include "flags/FlagSingle.h" #include "flags/FlagsParser.h" #include "flags/FlagList.h" #include "flags/FlagNone.h" #include <string> class Settings { public: std::string input; std::string baseName; std::vector<int> xySlices; std::vector<int> xzSlices; std...
#include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <iostream> #include <sstream> using namespace std; int main(int argc, char *argv[], char *envp[]){ int fd[2], result; size_t size; char resstring[14]; string str; if(pipe(fd) < 0){ ...
// // cdefs.h // Firedrake // // Created by Sidney Just // Copyright (c) 2014 by Sidney Just // 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 limi...
#ifndef BULLETDEBUGGER_H #define BULLETDEBUGGER_H #include "LinearMath/btIDebugDraw.h" #include "nau/scene/iScene.h" #include "nau/material/iBuffer.h" namespace nau { namespace world { class BulletDebugger : public btIDebugDraw { int m_debugMode; private: nau::scene::IScene *scene; nau::material::IBuff...
///////////////////////////////////////////////////////////////////////////// // Name: font.h // Purpose: wxFont class // Author: Julian Smart // Modified by: // Created: 01/02/97 // RCS-ID: $Id: font.h,v 1.6 2005/01/27 10:57:10 SC Exp $ // Copyright: (c) Julian Smart // Licence: wxWindow...
#import <Foundation/Foundation.h> #ifdef __cplusplus extern "C" { #endif id UDObject(NSString *key); NSInteger UDInt(NSString *key); BOOL UDBool(NSString *key); float UDFloat(NSString *key); NSString *UDString(NSString *key); NSData *UDData(NSString *key); NSArray *UDArray(NSString *key); NSDictionary *UDDiction...
#pragma once #include <Frontier.h> #include "Action.h" #include <queue> NS_FT_BEGIN class ActionSequence : public Action { public: ActionSequence(); virtual ~ActionSequence(); void addAction(std::unique_ptr<Action>&& action); virtual void onStart(Node* node) override; virtual void onUpdate...
/* * Copyright (C) 2007-2013 Gil Mendes * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DIS...
// // LLAppDelegate.h // LLRoundSwitchDemo // // Created by Daniel Giralte on 12/5/11. // Copyright (c) 2011 none. All rights reserved. // #import <UIKit/UIKit.h> @class LLRoundSwitchDemoViewController; @interface LLRoundSwitchDemoAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) U...
#pragma once class ChannelBlock { public: ChannelBlock():_width(0), _height(0) {} ChannelBlock(std::string& name, uint32_t w, uint32_t h) : _name(name), _width(w), _height(h) { } std::string name() const { return _name; } uint32_t width() const { return _width; } uint32_t height() con...
// // XFWeiboUserInterfacePort.h // XFLegoVIPERExample // // Created by Yizzuide on 2016/10/27. // Copyright © 2016年 Yizzuide. All rights reserved. // #import <Foundation/Foundation.h> #import "XFUserInterfacePort.h" @protocol XFWeiboUserInterfacePort <XFUserInterfacePort> @end
/** * tcpkit -- toolkit to analyze tcp packet * Copyright (C) 2018 @git-hulk * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your...
// // MCKeyValueDisplayCell.h // mapcache-ios // // Created by Tyler Burgett on 4/20/20. // Copyright © 2020 NGA. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface MCKeyValueDisplayCell : UITableViewCell @property (weak, nonatomic) IBOutlet UILabel *keyLabel; @property (weak, no...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "UISlider.h" @class NSMutableArray, UIView; @interface EmoticonBoardSliderView : UISlider { NSMutableArray *m_dotLayers; UIView *m_trackView; _Bool m_isTrackMo...
#ifndef __PROJECT_CHAT_BACKSRV_INC_BACKSRVCONFIG_H__ #define __PROJECT_CHAT_BACKSRV_INC_BACKSRVCONFIG_H__ #include "config.h" namespace chat { struct BackSrvConfig : public parrot::Config { uint32_t _logicThreadPoolSize = 1; }; } #endif
// // AppDelegate.h // LGPhotoBrowser // // Created by ligang on 15/10/27. // Copyright (c) 2015年 L&G. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
// // EMErrorHelper.h // ProtoComicApp // // Created by Doug Banks on 5/9/14. // Copyright (c) 2014 Luca Prasso Edmodo. All rights reserved. // #import <Foundation/Foundation.h> #import "EMBlockTypes.h" @interface EMErrorHelper : NSObject // Wrapper function: make an NSError with given string and custom domain...
/** * $Id$ * * Software License Agreement (GNU General Public License) * * Copyright (C) 2015: * * Johann Prankl, prankl@acin.tuwien.ac.at * Aitor Aldoma, aldoma@acin.tuwien.ac.at * * Automation and Control Institute * Vienna University of Technology * Gusshausstraße 25-29 * 117...
// // UIViewController+WLRRoute.h // Pods // // Created by Neo on 2016/12/16. // // #import <UIKit/UIKit.h> @class WLRRouteRequest; @interface UIViewController (WLRRoute) @property(nonatomic,strong)WLRRouteRequest * wlr_request; @end
// // JDAmuseViewCell.h // 百思不得姐 // // Created by helangxin on 16/4/29. // Copyright © 2016年 helangxin. All rights reserved. // #import <UIKit/UIKit.h> #import "JDAmuseModel.h" @interface JDAmuseViewCell : UITableViewCell /** 模型 */ @property (nonatomic, strong) JDAmuseModel *amuseModel; @end
// SceneData.h #pragma once #include <memory> #include <unordered_map> #include <Core/Memory/Buffers/MultiStackBuffer.h> #include "Component.h" #include "Node.h" #include "SceneMod.h" #include "Lightmap.h" namespace sge { struct SGE_ENGINE_API SceneData { //////////////////////// /// Constru...
#ifndef PREPROCESSORSTATISTICS_H #define PREPROCESSORSTATISTICS_H class cPreProcessorStatisticsDummy : public IPreProcessorStatistics { public: void AddInclude(const char* strInclude, const cFileInfo& FileInfo){}; void AddDefine(const char* strDefine, const cFileInfo& FileInfo){}; void UseDefine(const char* strD...
#include <stdlib.h> #include <stdint.h> #include <assert.h> #include "nlr.h" #include "misc.h" #include "mpconfig.h" #include "obj.h" #include "runtime.h" typedef struct _mp_obj_cell_t { mp_obj_base_t base; mp_obj_t obj; } mp_obj_cell_t; mp_obj_t mp_obj_cell_get(mp_obj_t self_in) { mp_obj_cell_t *self = ...
/** * \file arcade.h * A single header that can include the entire project */ #include "geom.h" #include "graphics.h" #include "input.h" #include "simulation.h" #include "sound.h" #undef main
// // LabeledCollectionUtil.h // CollectionLayoutTest // // Created by kura on 2015/08/31. // Copyright (c) 2015年 kura. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @class SectionIndexView; @interface LabeledCollectionUtil : NSObject @property (nonatomic, assign) CGFloat pad...
#ifndef CoatingBSDFOverride_H #define CoatingBSDFOverride_H //- // =========================================================================== // Copyright 2012 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installati...
//AtCoder Regular 22 B #include <stdio.h> #include <stdlib.h> void clear_array( char *array , int length ){ int i; for( i = 0; i < length; i++ ) array[i] = 0; } int main( void ){ int i; int j; int cursor = 0; int num; int taste_long = 0; int longest = 0; char buf[2048]; ...
// // NSData+Bigendian.h // Ase2Clr // // Created by Ramon Poca on 12/02/14. // Copyright (c) 2014 Ramon Poca. All rights reserved. // #import <Foundation/Foundation.h> @interface NSData (Bigendian) - (UInt16) bigEndianUInt16; - (UInt32) bigEndianUInt32; - (Float32) bigEndianFloat32; + (NSData *) float32SwappedTo...
/* write.h * * This is the main package file. Include this file in other projects. * Only modify inside the header-end and body-end sections. */ #ifndef WRITE_H #define WRITE_H #include <corto/corto.h> #include <corto/corto.h> #include <include/_project.h> #include <corto/c/c.h> /* $header() */ /* Enter addition...
// // OEBaseViewController.h // OpinionExplorer // // Created by Andrii Bugaiov on 2015-01-05. // Copyright (c) 2015 MyCompany. All rights reserved. // #import <UIKit/UIKit.h> @interface OEBaseViewController : UIViewController @end
#include <stdio.h> #define C 30 #define L 23 void print_maze (char maze[L][C]) { int i, j,k; printf(" "); for (i=0; i<C; i++) { if (i < 10) { printf(" %d ", i); }else { printf("%d ", i); } } printf("\n"); k = 0; for ( i = 0; i < L; i++ ) { if (k < 10) { printf("%d ", k++); }el...
// // BtnViewController.h // TongDaoShow // // Created by bin jin on 5/12/15. // Copyright (c) 2015 Tongdao. All rights reserved. // #import <UIKit/UIKit.h> #import "BaseViewController.h" #import "TransferBean.h" typedef void (^AddBtnBlock)(TransferBean* bean); @interface BtnViewController : UIViewController @p...
#include "../../src/animation/panimationmanager.h"
/*The MIT License (MIT) Copyright (c) Baptiste Burles, Evotion SAS, 2015 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...
#ifndef PERFT__H_ #define PERFT__H_ #include <stdint.h> #include "move.h" #include "position.h" extern int perft_test(const struct position *restrict pos, int depth, uint64_t *nodes, uint64_t *captures, uint64_t *eps, uint64_t *castles, uint64_t *promos, uint64_...
// // iService.h // iService // // Created by jzaczek on 19.12.2015. // Copyright © 2015 jzaczek. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for iService. FOUNDATION_EXPORT double iServiceVersionNumber; //! Project version string for iService. FOUNDATION_EXPORT const unsigned char...
/* ---------------------------------------- * Author: Sandeep Kalra * License: MIT License. * Copyright(c) 2013 Sandeep.Kalra@gmail.com */ #ifndef __PHONEBOOK_H_ #define __PHONEBOOK_H_ #include <iostream> #include <map> #include <string> using namespace std; // ref: http://www.gotw.ca/gotw/029.htm struct ci_char...
// // InstagramDataModel.h // DemoApp // // Created by Bilal Arslan on 18/06/15. // Copyright (c) 2015 Bilal Arslan. All rights reserved. // #import "JSONModel.h" #import "DataModel.h" #import "PaginationModel.h" @interface InstagramDataModel : JSONModel @property(strong, nonatomic) NSArray<DataModel> *data; @e...
<<<<<<< HEAD // Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. ======= /* * Qt4 bitcoin GUI. * * W.J. van der Laan 2011-2012 * The Bitcoin Developers 2011-2013 */ >>>>>>> ...
#ifndef SETTINGS_H #define SETTINGS_H #include <QObject> class Settings : public QObject { Q_OBJECT public: explicit Settings(QObject *parent = 0); public slots: void set(QString key, QString value); QString get(QString key); }; #endif // SETTINGS_H
/* connector for fork */ #include <reent.h> int fork () { #ifdef REENTRANT_SYSCALLS_PROVIDED return _fork_r (_REENT); #else return _fork (); #endif }
#ifndef HKBCLIPGENERATOR_H #define HKBCLIPGENERATOR_H #include "hkbgenerator.h" #include "src/animData/skyrimclipgeneratodata.h" class hkbClipTriggerArray; class hkbClipGenerator final: public hkbGenerator { friend class ClipGeneratorUI; public: hkbClipGenerator(HkxFile *parent, long ref = 0, bool addToAnimD...
// // EWLPlayerViewController.h // EasyWayLyrics // // Created by Paulo Almeida on 3/28/14. // Copyright (c) 2014 Loducca Publicidade. All rights reserved. // #import <UIKit/UIKit.h> //Libraries #import <MediaPlayer/MediaPlayer.h> #import <MBProgressHUD/MBProgressHUD.h> //Categories #import "UILabel+UtilityAttri...
/* * Copyright 2017 - KBC Group NV - Franky Braem - The MIT license * 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...
namespace ashgkwd { #ifndef H_STACK_ASHGKWD #define H_STACK_ASHGKWD 8 class Stack { private: static const int MAX = 10; int store[MAX]; int top; public: Stack(); bool push(int value); int pop(); bool is_empty(); bool is_full(); }; #endif }
/************************************************************************/ /* */ /* Copyright 2008-2017 by Benjamin Seppke */ /* Cognitive Systems Group, University of Hamburg, Germany */ /* ...
// // BRPreviewViewController.h // AssetsLibraryDemo // // Created by Brammanand Soni on 5/1/15. // Copyright (c) 2015 Brammanand Soni. All rights reserved. // #import <UIKit/UIKit.h> @class BRPreviewViewController; @protocol BRPreviewViewControllerDelegate <NSObject> - (void)previewViewDidCancel:(BRPreviewView...
// // UMComComment+UMComManagedObject.h // UMCommunity // // Created by Gavin Ye on 11/17/14. // Copyright (c) 2014 Umeng. All rights reserved. // #import "UMComComment.h" void printComment(); @interface UMComComment (UMComManagedObject) /** 通过评论commentId获取到本地 UMComComment 对象的方法,如果本地没有, 则会新建一个 @param comme...
/* Copyright (c) 2014 Sam Hardeman 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, distribut...
#include "DataTypes/Containers/Nodes.h" SingleLinkedNode_t BuildSingleLinkNode(DataType_t type, void * data, int size) { SingleLinkedNode_t sln; sln.runtime_data = BuildRuntimeData(type); bool *bData = NULL; int *iData = NULL; unsigned int *uiData = NULL; float *fData = NULL; char *cData = NU...
#ifndef _CARMELAREPORT_H_ #define _CARMELAREPORT_H_ extern int leftfrontCntTmp,rightfrontCntTmp; extern int leftrearCntTmp,rightrearCntTmp; extern void report(); #endif // _REPORT_H_
// // TFPictureView.h // TFFinder // // Created by teanfoo on 16/12/23. // Copyright © 2016 TeanFoo. All rights reserved. // #import <UIKit/UIKit.h> @interface TFPictureView : UIScrollView /** 图片视图 */ @property (weak, nonatomic) UIImageView *imgView; - (instancetype)initWithFrame:(CGRect)frame andImageUrl:(NSStr...
// // KWProgressView.h // KWCodeLibrary // // Created by 凯文马 on 16/8/25. // Copyright © 2016年 kevin-meili-inc. All rights reserved. // #import <Cocoa/Cocoa.h> @interface KWProgressView : NSView + (instancetype)commonView; - (void)updateWithTotal:(NSInteger)total andProgress:(NSInteger)progress; @end
#pragma once #include "override/spriterfileelementwrapper.h" #include "XmlFile.h" using namespace SpriterEngine; class UESpriterFileElementWrapper : public SpriterFileElementWrapper { public: UESpriterFileElementWrapper(FXmlNode *node); std::string getName() override; bool isValid() override; void advanceToNe...
// // SKDatasource.h // JSONExample // // Created by Oscar Cardona on 30/03/14. // Copyright (c) 2014 TocTocSoft. All rights reserved. // #import <Foundation/Foundation.h> #import "SKPostsItems.h" typedef void (^downloadEventsSuccess)(SKPostsItems *items, NSError *error); typedef void (^downloadEventsError)(NSErr...
// // ABRequestFactory.h // Request Manager // // Created by Alexey Belkevich on 12/31/12. // Copyright (c) 2012 Okolodev. All rights reserved. // #import <Foundation/Foundation.h> #import "ABMultitonProtocol.h" @class ABRequestOptions; @interface ABRequestFactory : NSObject <ABMultitonProtocol> @property (nona...
#pragma once #include <boost/signals2.hpp> namespace vosvideo { namespace archive { class ChangesNotifier { public: ChangesNotifier(); virtual ~ChangesNotifier() = 0; boost::signals2::connection ConnectToChangesSignal(boost::signals2::signal<void (const std::wstring&)>::slot_function_typ...
#pragma once #include <stdint.h> typedef struct NPCTradeDealWindow NPCTradeDealWindow; struct NPCTradeDealWindow { int32_t unknown[0]; };
#pragma once #include "splay_tree.h" namespace fwk { template <typename T> class set { public: set(); set(const set &s); ~set(); set& operator=(const set &s); bool empty() const; size_t size() const; bool in(const T &t); void add(const T &t);...
#define SW1 RB0_bit #define SW2 RB1_bit #define SW3 RB2_bit #define SW4 RB3_bit #define ENABLE RC5_bit #define DIR RC6_bit #define PULSE RC2_bit void dynamic_delay_ms(unsigned int delay); void main() { unsigned int frequency=0; TRISB0_bit=1; TRISB1_bit=1; TR...
/* * Copyright © 2017 - Vitaliy Perevertun * * This file is part of udev. * * This file is licensed under the MIT license. * See the file LICENSE. */ #ifndef _UDEV_DEVICE_H_ #define _UDEV_DEVICE_H_ #include "libudev0.h" struct device { int action; }; int device_action(const char *action); #endif /* _UDEV...
/** * Copyright (c) 2016-2018 Christian Uhsat <christian@uhsat.de> * 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, ...
// // PPPatchItem.h // PPPatch // // Created by 崔 明辉 on 15-5-24. // Copyright (c) 2015年 崔 明辉. All rights reserved. // #import <Foundation/Foundation.h> /** * PPPatch Type */ typedef NS_ENUM(NSInteger, PPPatchType){ /** * Unknown Type */ PPPatchTypeUnknown = 0, /** * Invalid a class...
#include "rand.h" #include <stdlib.h> #include <string.h> #include <math.h> #include <stdio.h> #include <ctype.h> int rand_born(int min, int max) { if (max - min != 0) return (rand() % (max - min) + min); return 0; } int rolld100(void) { int a, b; a = rand_born(0, 9); b = rand_born(0, 9); a += b * 10; ...
// // EventDetailHeadView.h // Cooking // // Created by 李永方 on 16/3/8. // Copyright © 2016年 DoOpen. All rights reserved. // #import <UIKit/UIKit.h> @class mcookEventDetail; @interface EventDetailHeadView : UICollectionReusableView @property (nonatomic,strong)mcookEventDetail *eventDetailM; +(instancetype)event...
#import <UIKit/UIKit.h> @class WMFCVLMetrics; /*! @class WMFColumnarCollectionViewLayout @abstract A WMFColumnarCollectionViewLayout organizes a collection view into columns grouped by section - all items from the same section will be in the same column. @discussion ... */ @interface WMFColumnarColle...
/***************************************************************************************** * * * OpenSpace * * ...
// // InputInjector.h // DoThisNow // // Created by Chris Burns on 4/30/14. // Copyright (c) 2014 Chris Burns. All rights reserved. // #import <Foundation/Foundation.h> @class CBSocket; @interface CBInputReceiver : NSObject - (instancetype)initWithSharedViewController:(UIViewController *) sharedController socke...
#ifndef SEMANTICS_H #define SEMANTICS_H #include <string> #include <iostream> #include <cstdlib> enum type { Natural, Bool }; struct variable_def { int line; type varType; variable_def(int l = 0, type t = Natural) : line(l), varType(t) {} }; struct expression_def { int line; type expType; expressi...
#pragma once #include "graphics/helpers/InstanceWrapper.h" #include "vma/vk_mem_alloc.h" #include <vulkan/vulkan.h> struct SAllocatedBuffer { VkBuffer Buffer = nullptr; VmaAllocation Allocation = nullptr; }; struct SAllocatedImage { VkImage Image = nullptr; VmaAllocation Allocation = nullptr; }; class GPUAlloc...
/* kmem.h : Static memory allocation. (C)2012-2013 Marisa Kirisame, UnSX Team. Part of AliceOS, the Alice Operating System. Released under the MIT License. */ /* memory allocation functions */ void *kmalloc_global( uint32_t sz, uint8_t alg, uint32_t *phys ); void *kmalloc_a( uint32_t sz ); void *kmalloc_ap( uint32_...
/* -------------------------------------------------------------------------- * * File Ch1_PaletteSwapping.h * Ported By Young-Hwan Mun * Contact xmsoft77@gmail.com * * Created By Nate Burba * Contact Cocos2dCookbook@gmail.com * * ---------------...
/* * ===================================================================================== * * Filename: ex01-06.c * * Description: Verify EOF * * Version: 1.0 * Created: 11/21/2013 11:56:41 AM * Revision: none * Compiler: gcc * * Author: Cianan ...
/** * This header is generated by class-dump-z 0.2a. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. * * Source: (null) */ #import "AWSMobileAnalyticsUniqueIdGenerator.h" #import <XXUnknownSuperclass.h> // Unknown library @class NSString; @interface AWSMobileAnalyticsRandomUUIDGenerator ...