text stringlengths 4 6.14k |
|---|
//
// BaseViewController.h
// RouterManager
//
// Created by 周际航 on 2017/8/14.
// Copyright © 2017年 周际航. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XZRouterManager.h"
@interface BaseViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, XZRoutableProtocol>
@property (nonatom... |
//
// YYReturnResultModel.h
// BikeRental
//
// Created by yunyuchen on 2017/5/25.
// Copyright © 2017年 xinghu. All rights reserved.
//
#import "YYBaseModel.h"
@interface YYReturnResultModel : YYBaseModel
@property (nonatomic,assign) CGFloat price;
@property (nonatomic,assign) NSInteger keep;
@property (nonato... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#define TILE_W 4
#define TILE_H 8
#define NTILES_W 32
#define NTILES_H 32
#define TILESET_SIZE 93
int compare_tile(uint8_t *tile, uint8_t *level, int x, int y)
{
int row;
uint8_t buffer[32];
for(row = 0; row < TILE_H; ++row... |
//
// TableViewCellTemplate.h
// SQTemplate
//
// Created by 双泉 朱 on 17/5/11.
// Copyright © 2017年 Doubles_Z. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "HYBlockOneCellAdapter.h"
@interface HYBlockOneCell : UITableViewCell
@property (nonatomic,strong) id<HYBlockOneCellAdapter> adapter;
+ (instancet... |
//
// KontaktSDK
// Version: 3.0.4
//
// Copyright (c) 2015 Kontakt.io. All rights reserved.
//
#import "KTKEddystoneRegion.h"
NS_ASSUME_NONNULL_BEGIN
#pragma mark - KTKSecureEddystoneRegion (Interface)
@interface KTKSecureEddystoneRegion : KTKEddystoneRegion <NSCopying, NSSecureCoding>
#pragma mark - Secure Edd... |
#ifndef PARSER_SIGNATURES_H
#define PARSER_SIGNATURES_H
#include "parser_state.h"
void *ParseAlloc(void *(*allocProc) (size_t));
void Parse(void *, int, const char *, struct parser_state *);
void ParseFree(void *, void (*freeProc) (void *));
#endif
|
#pragma once
#include "chash.h"
template<class key_t, class unique_t, class hasher_t, class key_equal_t, class allocator_t>
struct chash_set_config_t
{
typedef key_t key_type;
typedef key_t mapped_type;
typedef key_t value_type;
typedef hasher_t hasher;
typedef key_equal_t key_equal;
typedef ... |
//
// WQTest1VC.h
// WQRoute
//
// Created by 青秀斌 on 17/1/21.
// Copyright © 2017年 woqugame. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WQTest1VC : BSViewController
@end
|
/* library based on jeelabs RTClib [original library at https://github.com/jcw/rtclib ] altered to support Microchip MCP7940M RTC, used in Arduino
based embedded environments. To use this library, add #include <MCP7940.h> to the top of your program.*/
class DateTime { //DateTime class constructs the variable to store... |
//
// AccessRecordCell.h
// SkyNet
//
// Created by 魏乔森 on 2017/10/16.
// Copyright © 2017年 xrg. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "VillageApplyModel.h"
@interface AccessRecordCell : UITableViewCell
+ (instancetype)cellWithTableView:(UITableView *)tableView;
@property (nonatomic, strong)Villa... |
//
// ViewController.h
// CulveDisplay
//
// Created by 王源果 on 14/12/15.
// Copyright (c) 2014年 g4idrijs. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
//
// WtDemoWebViewController.h
// WtCore_Example
//
// Created by wtfan on 2017/9/1.
// Copyright © 2017年 JaonFanwt. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WtDemoWebViewController : UIViewController
@property (nonatomic, assign) BOOL useThunder;
@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/TSDImageFill.h>
@class TSPData, TSUColor;
// Not exported
@interface TSDMutableImageFill : TSDImageFill
{
}
- (void)setScale:(double)arg1;
@property(nonat... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <HomeSharing/HSRequest.h>
@interface HSBulkRemovePlaylistRequest : HSRequest
{
}
+ (id)requestWithDatabaseID:(unsigned int)arg1 sessionID:(unsigned int)arg2 containerID... |
@import Foundation;
@interface DSMessageContext: NSObject<NSCoding>
@end
|
#ifndef __THREADS_H__
#define __THREADS_H__
#include <lpc_types.h>
void thread_init(uint32_t quantaUs);
void thread_go(); // THIS WILL NEVER RETURN
int thread_create(void (*run)(void*), void* userdata);
void thread_kill(int thread_id);
void thread_self_term();
#endif
|
/*
* getdents64.c
* by WN @ Aug. 03, 2010
*/
#include "syscall_handler.h"
#include <common/debug.h>
#ifndef PRE_LIBRARY
DEF_HANDLER(getdents64)
{
TRACE(LOG_SYSCALL, "getdents64\n");
int r = regs->eax;
if (r > 0)
BUFFER((void*)(regs->ecx), r);
return 0;
}
#endif
// vim:ts=4:sw=4
|
#pragma once
#include "mesh/Mesh.h"
#include <string>
#include <fstream>
#include <map>
NS_BEGIN_NAMESPACE
enum VTKOutputOptions
{
VOO_ElementDeterminant = 0x1,
VOO_ElementMatrix = 0x2,
VOO_ElementGradient = 0x4,
VOO_VertexBoundaryLabel = 0x8,
VOO_VertexImplicitLabel = 0x10,
VOO_IsQuadratic = 0x80
};
templa... |
#include <stdio.h>
#include "list.h"
#define N 10
void visit(link);
int main(void) {
int i;
link head, x;
// Population
head = new_link(0);
x = head;
for (i = 1; i < N; ++i) {
x = insert_after(x, new_link(i));
}
// Recursive Traversal
traverse(head, visit);
return 0;
}
void visit(link x) {
printf... |
//
// ASCenterLayoutSpec.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PAT... |
//
// WYJForecastView.h
// Jingjingweather
//
// Created by 王亚静 on 2017/5/5.
// Copyright © 2017年 Wong. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WYJForecastView : UIView
@property (nonatomic, copy) NSArray *forecasts;
@end
|
#pragma once
#include <boost/noncopyable.hpp>
#include "../OpenGLInclude.h"
class LightFactory: boost::noncopyable {
public:
LightFactory() :
m_currentLight(GL_LIGHT0) {
}
GLenum getNextLight() {
m_currentLight++;
return m_currentLight;
}
void returnLight(GLenum light) {
// todo
}
private:
int m_c... |
//
// WBLeaderBoardFavoriteDataSource.h
// WestBlueGolf
//
// Created by Mike Harlow on 3/6/14.
// Copyright (c) 2014 Mike Harlow. All rights reserved.
//
#import "WBLeaderBoardDataSource.h"
@interface WBLeaderBoardFavoriteDataSource : WBLeaderBoardDataSource
@end
|
//===--------------------------------------------------------------------------------*- C++ -*-===//
// _____ _
// / ____| (_)
// | (___ ___ __ _ _ _ ___ _ __ _
// \___ \ / _ \... |
#include <stdio.h>
#include "minunit.h"
#include "FIZZBUZZ.h"
#define KNRM "\x1B[0m"
#define KRED "\x1B[31m"
#define KGRN "\x1B[32m"
#define KYEL "\x1B[33m"
#define KBLU "\x1B[34m"
#define KMAG "\x1B[35m"
#define KCYN "\x1B[36m"
#define KWHT "\x1B[37m"
#define RESET "\033[0m"
int testsRun = 0;
static char * ... |
//
// PicView.h
// BirdFight
//
// Created by 聚米 on 16/11/7.
// Copyright © 2016年 聚米. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void (^TapBlcok)(NSInteger index,NSArray *dataSource,NSIndexPath *indexpath);
@interface PicView : UIView
@property (nonatomic, copy)TapBlcok tapBlock;
@property (nonat... |
/*
* Open Surge Engine
* loop.h - loop system
* Copyright (C) 2011 Alexandre Martins <alemartf(at)gmail(dot)com>
* http://opensnc.sourceforge.net
*
* 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 F... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "UIView.h"
#import "MPVolumeControllerDelegate-Protocol.h"
@class MPVolumeController, NSTimer, UISlider;
@interface MPUMediaControlsVolumeView : UIView <MPVolumeContro... |
/*
* Generated by class-dump 3.3.3 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard.
*/
#import "Assistant.h"
@class ActivityMonitor, NSButton, NSProgressIndicator, NSTextField, NSTimer, NSView;
@interface LibraryImportAssistant : Assistant
{
NSView *_introVie... |
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "omahaodds.h"
int main( int argc, char *argv[] ) {
card *hand = malloc(sizeof(card) * 5);
get_hand_rank(hand);
return 0;
}
|
/*
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
* Copyright (C) 2006-2013 Kim Woelders
*
* 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 r... |
/*
** A stack implemented with a dynamically allocated array.
** The array size is given when create is called, which must
** happen before any other stack operations are attempted.
*/
#include "stack.h"
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <assert.h>
/*
** The array that holds the value... |
//
// ElementView.h
// MobileFramework
//
// Created by Think on 14-5-27.
// Copyright (c) 2014年 wt. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "NodeVO.h"
@protocol elementDelegate <NSObject>
-(void)selectButton:(NodeVO *)vo;
@end
@interface ElementView : UIView<UIGestureRecognizerDelegate>
@proper... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "SBIcon.h"
@interface SBIcon (SBFolderIcon)
- (_Bool)hasFolderIconView;
- (id)folder;
- (_Bool)isFolderIcon;
@end
|
#ifndef __EEPROM_H
#define __EEPROM_H
#include "ConfigApp.h"
#include "GenericTypeDefs.h"
#include "Compiler.h"
#define SPI_WRT_STATUS 0x01
#define SPI_WRITE 0x02
#define SPI_READ 0x03
#define SPI_DIS_WRT 0x04
#define SPI_RD_STATUS 0x05
... |
/*
Fontname: -FreeType-PC Senior-Medium-R-Normal--8-80-72-72-P-48-ISO10646-1
Copyright: TrueType conversion © 2001 codeman38.
Glyphs: 18/260
BBX Build Mode: 3
*/
const uint8_t u8g2_font_pcsenior_8n[237] U8X8_FONT_SECTION("u8g2_font_pcsenior_8n") =
"\22\3\3\3\4\4\1\2\5\10\7\0\376\6\376\6\377\0\0\0\0\0\... |
#ifndef __CF_TIMER_H_
#define __CF_TIMER_H_
#include <stdint.h>
#include <stdlib.h>
#include "cf_object_pool.h"
#include "cf_list.h"
typedef void(*time_cb_f)(void* param, uint32_t timer_id);
typedef void(*free_param_f)(void* param);
typedef struct
{
uint32_t id;
uint64_t ts; /*³¬Ê±Ê±¼ä*/
void* param;
tim... |
#pragma once
#include "PoolAllocatorTest.h"
#include "StackAllocatorTest.h"
#include "GeneralPurposeAllocatorTest.h"
#include "DefragmentationAllocatorTest.h"
#include "StringTest.h"
#include "DataStructures/ListTest.h"
#include "DataStructures/HashMapTest.h"
#include "DataStructures/StackTest.h"
#include "DataStruct... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <DTGraphKit/DTGraph.h>
@interface DTBarGraph : DTGraph
{
BOOL _hasWidthOrSpacingAttribute;
long long _maxX;
long long _minX;
long long _maxY;
long long ... |
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#pragma once
#include "PredictionContext.h"
namespace antlr4 {
namespace atn {
class ANTLR4CPP_PUBLIC SingletonPredic... |
//
// UIColor+SZGradient.h
// SZCategories
//
// Created by 陈圣治 on 16/6/21.
// Copyright © 2016年 陈圣治. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIColor (SZGradient)
//渐变
+ (UIColor *)sz_gradientFromColor:(UIColor *)fromColor toColor:(UIColor *)toColor withHeight:(int)height;
@end
|
#ifndef GL_HELPER_H
#define GL_HELPER_H
#include <OpenGL/OpenGL.h>
#include <GLUT/GLUT.h>
#include "SOIL.h"
#include <map>
#include <string>
#include <iostream>
using namespace std;
class gl_helper
{
private:
/****************************************************************
public
*****************... |
/*
* SeriouslyConstants.h
* Seriously
*
* Created by Corey Johnson on 7/6/10.
* Copyright 2010 Probably Interactive. All rights reserved.
*
*/
@class SeriouslyOperation;
@class SeriouslyOAuthOperation;
typedef void(^SeriouslyHandler)(id data, NSHTTPURLResponse *response, NSError *error);
typedef void(^Seri... |
#ifndef MERCURY_INI_H
#define MERCURY_INI_H
#include <map>
#include <vector>
#include "MercuryString.h"
#if defined(WIN32)
#define PROPERRETURN "\r\n"
#else
#define PROPERRETURN "\n"
#endif
///Framework for INI files
class MercuryINI
{
public:
MercuryINI( ) { m_bSaveOnExit = false; }
MercuryINI( const MString &sFi... |
//
// EXTRuntimeExtensions.h
// extobjc
//
// Created by Justin Spahr-Summers on 2011-03-05.
// Copyright (C) 2012 Justin Spahr-Summers.
// Released under the MIT license.
//
#import <objc/runtime.h>
/**
* Describes the memory management policy of a property.
*/
typedef enum {
/**
* The value is assigne... |
#ifndef NEWCONNECTIONDIALOG_H
#define NEWCONNECTIONDIALOG_H
#include <QDialog>
#include <QCanBusDeviceInfo>
#include <QSerialPortInfo>
#include <QDebug>
#include <QUdpSocket>
#include "canconnectionmodel.h"
#include "connections/canconnection.h"
namespace Ui {
class NewConnectionDialog;
}
class NewConnectionDialog :... |
//
// Created by agondek on 12/01/16.
//
#ifndef GUT_MONTE_CARLO_TREE_SEARCH_WITHUCTSORTROOTPARALLELIZATION_H
#define GUT_MONTE_CARLO_TREE_SEARCH_WITHUCTSORTROOTPARALLELIZATION_H
#include "../MctsCommon.h"
#include "../games/IGameState.h"
#include "../tree/Node.h"
#include "../utils/OmpHelpers.h"
namespace Mcts
{
... |
#ifndef FSL_CACHE_H
#define FSL_CACHE_H
#define FSL_IO_CACHE_ENTS 512 /* 16KB */
//#define FSL_IO_CACHE_ENTS (4097)
#define FSL_IO_CACHE_BYTES 32
#define FSL_IO_CACHE_BITS (FSL_IO_CACHE_BYTES*8)
#define byte_to_line(x) ((x)/FSL_IO_CACHE_BYTES)
#define bit_to_line(x) ((x)/FSL_IO_CACHE_BITS)
#define byte_to_cache_addr... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <SAObjects/SASettingGetBool.h>
@interface SASettingGetDoNotDisturb : SASettingGetBool
{
}
+ (id)getDoNotDisturbWithDictionary:(id)arg1 context:(id)arg2;
+ (id)getDoNotD... |
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Finding_BaseFindingServiceRequest.h"
@class Finding_ProductId;
@class Finding_ItemFilter;
/**
... |
//
// ARNLiveBlurView.h
// ARNLiveBlurView
//
// Created by Airin on 2014/05/22.
// Copyright (c) 2014 Airin. All rights reserved.
//
#import <UIKit/UIKit.h>
@class ARNLiveBlurView;
typedef void (^ARNObservingScrollViewBlock) (ARNLiveBlurView *blurredView, UIScrollView *observingView);
@interface ARNLiveBlurVie... |
//
// Created by Neo on 16/9/13.
//
#ifndef RAYTRACING_CL_GRADIENT_H
#define RAYTRACING_CL_GRADIENT_H
#include <string>
#include "cl_utils/context.h"
#include "cl_utils/kernel.h"
#include "volume_data.h"
class CLGradient {
public:
CLGradient(std::string kernel_path,
std::string kernel_... |
#pragma once
class Resources
{
public:
Resources(int mineralPatches = 9, int gasGeysers = 1, char race = 't');
void addExpansion(int mineralPatches = 7, int gasGeysers = 1);
int getMinerals() const { return mMinerals; }
int getGas() const { return mGas; }
int getSupply() const { return mSupply; }
int ge... |
//
// SCAboutNode.h
// Scnr
//
// Created by Steve Dekorte .
// Copyright (c) Steve Dekorte. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <NavKit/NavKit.h>
#import "SCArtists.h"
#import "SCUnpurchased.h"
@interface SCRootNode : NavInfoNode
+ (SCRootNode *)sharedSCRootNode;
@property (strong, nonatomic... |
/*
* Copyright (c) 2006-2007 Christopher J. W. Lloyd
*
* 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, mo... |
extern zend_class_entry *zendframework_view_exception_invalidhelperexception_ce;
ZEPHIR_INIT_CLASS(ZendFramework_View_Exception_InvalidHelperException);
|
#ifndef CARD_H
#define CARD_H
#include <string>
#include <vector>
using namespace std;
/* Represents a single chance or community chest card */
class Card {
public:
// Basic card, no actions
Card(const string& name, const string& type);
// Card that can advance to a specific space (or negative if relative)
Ca... |
#ifndef _ROS_SERVICE_AssignTask_h
#define _ROS_SERVICE_AssignTask_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace auto_warehousing
{
static const char ASSIGNTASK[] = "auto_warehousing/AssignTask";
class AssignTaskRequest : public ros::Msg
{
public:
typedef u... |
/**
* @file
* @brief Contains the TPZConsLawTest class for test. Material as conservation law
*/
#ifndef CONSLAWTESTHPP
#define CONSLAWTESTHPP
#include <iostream>
#include "pzmaterial.h"
#include "pzfmatrix.h"
#include "pzvec.h"
#include "pzconslaw.h"
/**
* @brief Only to test a material as conser... |
/*
* Copyright (C) 2013 by Glenn Hickey (hickey@soe.ucsc.edu)
* Copyright (C) 2012-2019 by UCSC Computational Genomics Lab
*
* Released under the MIT license, see LICENSE.txt
*/
#ifndef _HALPHYLOPBED_H
#define _HALPHYLOPBED_H
#include "halBedScanner.h"
#include "halPhyloP.h"
#include <iostream>
#include <set>
#i... |
#pragma once
#include <memory>
namespace fas
{
/**
* @brief Holds a shared inner executor, which can be copied
*/
template <class Executor> class ExecutorPtr
{
public:
ExecutorPtr(std::shared_ptr<Executor> innerExecutor) : _innerExecutor(std::move(innerExecutor)) {}
template <class Fn> void spa... |
/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 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 "Software"),
to d... |
#ifndef EXP_H
#define EXP_H
template<typename R>
struct Exp : StaticInterface<Exp<R> >, UnaryOperation<R> {
using UnaryOperation<R>::Right;
using UnaryOperation<R>::Operation::Value;
INLINE_MODE
Exp(const R& right) :
UnaryOperation<R> (right, exp(right.Value)) {}
template<unsigned GradLev... |
//
// DropboxDownloadTaskDelegate.h
// Pods
//
// Created by Михаил Мотыженков on 13.05.16.
//
//
#import <Foundation/Foundation.h>
@protocol DropboxDownloadTaskDelegate <NSObject>
- (void)downloadTaskDidResumeWithOldTask:(NSURLSessionDownloadTask *)oldTask newTask:(NSURLSessionDownloadTask *)newTask session:(NSU... |
#include "nv_core.h"
#include "nv_ml.h"
#include "nv_num.h"
// k-means++
// Selecting class with minimum distance
static int nv_kmeans_bmc(const nv_matrix_t *mat, int mk,
const nv_matrix_t *vec, int vm)
{
int k;
int min_k = -1;
float min_dist = FLT_MAX;
for (k = 0; k < mk; ++k) {
float dist = n... |
/*
* Copyright (c) 2016, 2017, 2020 Konstantin Tcholokachvili
* All rights reserved.
* Use of this source code is governed by a MIT license that can be
* found in the LICENSE file.
*/
#pragma once
#include <io/console.h>
#define FORTH_DICTIONARY 0
#define MACRO_DICTIONARY 1
typedef int32_t cell_t;
typedef str... |
/*!
*************************************************************************************
* \file sei.h
*
* \brief
* Prototypes for sei.c
*************************************************************************************
*/
#ifndef SEI_H
#define SEI_H
typedef enum {
SEI_BUFFERING_PERIOD = 0,
SEI_PIC_TIMING,
... |
#ifndef SFUI_APPWINDOW_H
#define SFUI_APPWINDOW_H
////////////////////////////////////////////////////////////
//
// MIT License
//
// Copyright(c) 2017 Kurt Slagle - kurt_slagle@yahoo.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentati... |
#ifndef UTILS_H
#define UTILS_H
#include <algorithm>
#include <functional>
#include <cctype>
#include <locale>
namespace renderlib{
// A macro to disallow the copy constructor and operator= functions
// This should be used in the private: declarations for a class
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
TypeNa... |
/**
* This header is generated by class-dump-z 0.1-11o.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*/
#import "UIKit-Structs.h"
#import <UIKit/UIView.h>
@interface UITabBarButtonBadge : UIView {
UIView* _value;
UIView* _background;
UIView* _alternate;
}
-(id)initWithValue:(id)value... |
//
// GameManager.h
// spaceViking_1_0_1
//
// Created by Mac Owner on 1/27/13.
//
//
#import <Foundation/Foundation.h>
#import "Constants.h"
#import "SimpleAudioEngine.h"
@interface GameManager : NSObject
{
BOOL isMusicON;
BOOL isSoundEffectsON;
BOOL hasPlayerDied;
SceneTypes currentScene;
NSUInteger counterKill... |
//*********************** Lab 1 **************************
// Program written by:
// - Steven Prickett EID: srp2389
// - Kelvin Le EID: kl24956
// Date Created: 1/22/2015
// Date Modified: 1/25/2015
//
// Lab number: 1
//
// Brief description of the program:
// -
//
// Hardware connections:
// - Outputs:
//... |
//
// AppDelegate.h
// CleverRoad
//
// Created by Admin on 1/25/15.
// Copyright (c) 2015 leonidkokhnovych. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (reado... |
//
// HMNavigateController.h
// HMMeiTuanHD19
//
// Created by heima on 16/9/14.
// Copyright © 2016年 heima. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HMNavigateController : UINavigationController
@end
|
/* A Bison parser, made by GNU Bison 2.3. */
/* Skeleton interface for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define TRUE 1
#define FALSE 0
#define REI 'A'
#define HAKUSYU 'B'
int main(int argc, char const *argv[]) {
char input[63], *data, output;
int n, isREI = TRUE;
scanf("%[^\n]", input); // 1 2 3
data = strtok(input, " ");
while (data != NULL) {
... |
//
// AppDelegate.h
// multiplicationTable
//
// Created by Olivier Delecueillerie on 19/12/2014.
// Copyright (c) 2014 lagspoon. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
#import <SpriteKit/SpriteKit.h>
@interface FFGameOverScene : SKScene
@end
|
#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_SBrick_iOS_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SBrick_iOS_Example... |
\n
static inline void mapping_set_error(struct address_space *mapping, int error)
static inline void mapping_set_unevictable(struct address_space *mapping)
static inline void mapping_clear_unevictable(struct address_space *mapping)
static inline int mapping_unevictable(struct address_space *mapping)
static inline void... |
/*
* Copyright (c) 2020 Pedro Falcato
* This file is part of Onyx, and is released under the terms of the MIT License
* check LICENSE at the root directory for more information
*/
#ifndef _ONYX_CRED_H
#define _ONYX_CRED_H
#include <string.h>
#include <sys/types.h>
#include <onyx/groups.h>
#include <onyx/rwlock.h>... |
/**HEADER********************************************************************
*
* Copyright (c) 2008, 2013 Freescale Semiconductor;
* All Rights Reserved
*
*
***************************************************************************
*
* THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" AND ANY EXPRESSED OR
* ... |
//
// PathController_Private.h
// DropboxLib
//
// Created by Jesse Grosjean on 3/7/11.
// Copyright 2011 Hog Bay Software. All rights reserved.
//
#import "PathController.h"
@interface PathController (Private)
- (NSString *)serverPathToLocal:(NSString *)serverPath;
- (NSString *)localPathToServer:(NSString *)lo... |
//
// TwitterDetailedViewController.h
// BBCSherlock
//
// Created by B.H.Liu appublisher on 11-12-20.
// Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "OHAttributedLabel.h"
#import "NSAttributedString+Attributes.h"
#import "AsyncImageView.h"
@interface TwitterDeta... |
//
// UIScrollView+YXDExtension.h
// YXDExtensionDemo
//
// Copyright (c) 2015年 YangXudong. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, YXDLoadStatus) {
YXDLoadStatusLoading = 1,
YXDLoadStatusSuccess = 2,
YXDLoadStatusEmpty = 3,
YXDLoadStatusFailed = 4,
};
... |
//////////////////////////////////////////////////////////////////////////////
//
// 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 installation or download, or which
// otherwise accompanies... |
/*
* Copyright 2013 MongoDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
#ifndef BUFFER_H
#define BUFFER_H
#include <algorithm>
#include <cstdint>
#include <iosfwd>
#include <string>
class Buffer {
public:
const std::size_t size;
char *const data;
Buffer() : Buffer(0) {}
Buffer(const std::size_t size) : size(size), data(new char[size]) {}
Buffer(const Buffer &other) : Buffer... |
#include <stdio.h>
main()
{
char current_char = EOF;
while ((current_char = getchar()) != EOF)
{
if (current_char == '\t')
{
printf("\\t");
}
else if (current_char == '\b')
{
printf("\\b");
}
else if (current_char == '\\')
... |
/*
**
** File: mission8.h
**
** Author: Adam Davison
**
** Description:
** Header file for the training library "Mission Nan" interface.
**
** History:
*/
#ifndef _MISSION_NAN_H_
#define _MISSION_NAN_H_
#ifndef _TRAINING_MISSION_H_
#include "TrainingMission.h"
#endif
#ifndef _GOAL_H_
#include "Goal.h"
#end... |
#ifndef _EASYPSEUDO3D_H_
#define _EASYPSEUDO3D_H_
#include "libpseudo3d/config.h"
#include "libpseudo3d/StageCanvas3D.h"
#include "libpseudo3d/StageCanvas2D.h"
#include "libpseudo3d/Proj2DEditOP.h"
#endif // _EASYPSEUDO3D_H_ |
/*
* print_chart.h
* Kevin Coltin
*
* Contains functions for printing a chart of blackjack strategy to Latex.
*/
#ifndef PRINT_CHART_H
#define PRINT_CHART_H
#include <stdio.h>
#include "bj_sims.h"
#include "bj_strat.h"
void printChart (Strategy **chart, const char *filename, int showWinPct,
... |
/**
* Copyright (c) 2015 Alexandre Vaillancourt. See full MIT license at the root of the repository.
*/
#pragma once
#include <stdint.h>
class DirtMap
{
public:
DirtMap(
float aWorldWidth,
float aWorldHeight,
int aCanvasWidth,
int aCanvasHeight,
float aDirtRate);
~DirtMap();
void ... |
#ifndef _KERNEL_VESA_H_
#define _KERNEL_VESA_H_
#include <Kernel/Kernel.h>
struct VbeInfo
{
char Signature[4];
struct
{
u8 Minor;
u8 Major;
} Version;
u16 Oem[2];
u8 Capabilities[4];
u16 VideoModes[2];
u16 TotalMemory;
};
struct VbeModeInfo
{
u16 Attribut... |
// This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.13.2\Source\Uno\Compiler\ShaderGenerator\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_UNO_COMPILER_SHADER_GENERATOR_SHADER_STAGE_INLINE_ATTRIBUTE_H__
#define __APP_UNO_COMPILER_SHADER_GENERATOR_SHADER_... |
#include <stdio.h>
#include <stdlib.h>
void next_generation(int *current, int *next, int length);
int main()
{
int i, j, sum;
int n,current[20], next[20];
do{
scanf("%d", &n);
}while(n < 0 && n > 20);
for(i=0;i<n;i++)
scanf(" %d", ¤t[i]);
next[0]=0;
next[n-1]=0;
... |
//
// PhotoCardViewController.h
// Whetstone-iOS
//
// Created by Philip James on 11/24/13.
// Copyright (c) 2013 Philip James. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface PhotoCardViewController : UIViewController
@property (nonatomic) float duration;
@end
|
/*
* protos.h
* by WN @ May. 27, 2010
*/
#ifndef PROTOS_H
#define PROTOS_H
#ifndef ATTR_HIDDEN
# define ATTR_HIDDEN __attribute__((visibility ("hidden")))
#endif
#include <xasm/unistd_32.h>
#include "syscall_table.h"
/* provide prototypes of system call handlers */
extern int
trivial_pre_handler(struct pusha_r... |
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import <GPUImage.h>
#import <GPUImage/GPUImageFASTCornerDetectionFilter.h>
|
//
// DDPVolumeView.h
// DanDanPlayForiOS
//
// Created by JimHuang on 2017/10/2.
// Copyright © 2017年 JimHuang. All rights reserved.
//
#import <MediaPlayer/MediaPlayer.h>
@interface DDPVolumeView : MPVolumeView
@property (assign, nonatomic) CGFloat ddp_volume;
@end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.