text stringlengths 4 6.14k |
|---|
//
// ExpandableSectionHeader.h
// ExpandableTableView
//
// Created by Zouhair on 17/05/13.
// Copyright (c) 2013 Zedenem. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ExpandableSectionHeader : UIControl
#pragma mark Properties
@property (nonatomic, retain) UILabel *textLabel;
#pragma mark Lifecy... |
/*
***********************************************************************************************************************
*
* Copyright (c) 2016-2021 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... |
/*============================================================================
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
Package, Release 3b, by John R. Hauser.
Copyright 2011, 2012, 2013, 2014, 2015 The Regents of the University of
California. All rights reserved.
Redistribution a... |
#pragma once
#include "PG/core/Point.h"
#include "PG/core/Size.h"
namespace PG {
//--------------------------------------------------------
struct PhysicsWorldParams
{
Size gravity = Size(0, 10);
Point forward = Point(2500, 0);
Point jumpForce = Point(0, -100);
Point minMovement = Point(-300, -4850);
Point ma... |
/*
** client.c -- a stream socket client demo
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <netdb.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#define PORT "3490" // the port client will be connecting... |
#include <malloc.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <error.h>
#include <strings.h>
#include <string.h>
#define SBRK_SCALE 100
#define CHECKSUM ~0
#define MALLOC_OVERHEAD 20
#define USED_OVERHEAD 8
#define LINKED_LIST_OVERHEAD 12
#define FREE_SIZE 0
#define NEXT_PTR 1
#define PREV_P... |
//
// SurveyEmailMessageBuilder.h
// QOLEB
//
// Created by Tullie Murrell on 25/01/2015.
// Copyright (c) 2015 Tullie Murrell. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SSEmailMessageBuilder : NSObject
- (SSEmailMessageBuilder *)username:(NSString *)username;
- (SSEmailMessageBuilder ... |
/**
* @file
* @brief Convert integer to string.
*
* @see stdlib.h
*
* @date 01.04.13
* @author Károly Oláh
* - Initial commit
*/
char *itoa( int num, char *buf, unsigned short int base )
{
char *p = buf;
char *p1, *p2;
int ud = 0;
*buf = '\0'; /* initialize buffer. In the case of an error, this ... |
#include "osloader/firmware/efi.h"
#include "osloader/console.h"
#include "osloader/memory.h"
static os_result_t
cs_private_input_console_create(cs_input_console_t* console)
{
OS_ASSERT(console != NULL);
(void)console;
return S_OK;
}
static os_result_t
cs_private_input_console_destroy(cs_input_console_t* ... |
#ifndef FDSASDF_H
#define FDSASDF_H
//http://www.unknowncheats.me/forum/1064093-post3.html
bool CompareByteArray(PBYTE Data, PBYTE Signature)
{
for (; *Signature; ++Signature, ++Data)
{
if (*Signature == '\x00')
{
continue;
}
if (*Data != *Signature)
{
return false;
}
}
return true;
}
PBYTE Fin... |
//
// NSMutableArray+IndexSelection.h
// SDForms
//
// Created by Rafal Kwiatkowski on 25.08.2014.
// Copyright (c) 2014 Snowdog sp. z o.o. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSMutableArray (IndexSelection)
- (BOOL)isIndexSelected:(NSInteger)index;
- (void)selectIndex:(NSInteger... |
#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_KnobGestureRecognizer_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_KnobGes... |
//
// NewsTableViewController.h
// 163News
//
// Created by 王冠阳 on 15/8/31.
// Copyright (c) 2015年 itcast. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NewsTableViewController : UITableViewController
@end
|
#include <gtk/gtk.h>
#include <string.h>
/* Stolen from gnome bugzilla (small hacks for my needs).
* Fsck you gnome guys for not adding this.
* The patch is there since 2004 goddamnit */
/**
* tbim: (text_buffer_insert_markup)
* @buffer: a #GtkTextBuffer
* @iter: a position in the buffer
* @markup: UTF-8 format... |
#ifndef __BATTLE_UI_H__
#define __BATTLE_UI_H__
#include "ui/CocosGUI.h"
#include "UIView.h"
#include "GameCharacter.h"
#include "InputManager.h"
#include "JoyStick.h"
#include "CircularProgress.h"
using namespace cocos2d;
using namespace ui;
/**
* Õ½¶·Ê±ºòµÄUI½çÃæ£¬Ö÷Òª¾ÍÊÇһЩ²Ù×÷ºÍһЩÐÅÏ¢µÄÏÔʾ£¬Í¬Ê±ËüÒ²¼Ì³Ð£¬×÷... |
//
// WQNavViewController.h
// SomeUIKit
//
// Created by WangQiang on 2017/5/2.
// Copyright © 2017年 WangQiang. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WQNavViewController : UINavigationController
@end
|
// 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.
#ifndef BITBREADCRUMB_QT_EDITADDRESSDIALOG_H
#define BITBREADCRUMB_QT_EDITADDRESSDIALOG_H
#include <QDialog>
class AddressTa... |
/**
* \file Path.h
* \brief Static class for path manipulation.
*
* Licensed under the MIT License (MIT)
* Copyright (c) 2014 Eder de Almeida Perez
*
* @author: Eder A. Perez.
*/
#ifndef PATH_H
#define PATH_H
#include <algorithm>
#include <sstream>
namespace nut
{
class Path
{
public:
... |
/*
* Copyright (C) 2013-2015
*
* @author jxfengzi@gmail.com
* @date 2013-11-19
*
* @file SwitchPower.h
*
* @remark
*
*/
#ifndef __SWITCH_POWER_H__
#define __SWITCH_POWER_H__
#include "tiny_base.h"
#include "UpnpService.h"
#include "UpnpRuntime.h"
TINY_BEGIN_DECLS
struct _SwitchPower;
typedef struct _SwitchPowe... |
//
// JobsListViewController.h
// Homeless Helper
//
// Created by Jessi Schoenleber on 4/12/12.
// Copyright (c) 2012 JJAppCo, LLC. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CustomListTableViewCell.h"
#import "JobProfileViewController.h"
@interface JobsListViewController : UIViewController <UITabl... |
///////////////////////////////////////////////////////////////////////////////
// MicroOrk (Orkid)
// Copyright 1996-2013, Michael T. Mayers
// Provided under the MIT License (see LICENSE.txt)
///////////////////////////////////////////////////////////////////////////////
#pragma once
///////////////////////... |
#pragma once
#include "analyze_RIFF_item_Base.h"
namespace analyze_RIFF
{
class item_LIST : public item_Base
{
public:
item_LIST(const container_RIFF* _image, uint64_t offset, uint64_t size);
virtual ~item_LIST();
virtual HRESULT getItemName(agaliaString** str) const override;
virtual HRESULT getItemProp... |
#pragma once
#include "inodecompiler.h"
namespace Syntax
{
namespace GraphicsCompiler
{
class MaterialsCompiler :
public Syntax::Compiler::INodeCompiler
{
public:
MaterialsCompiler(void);
virtual ~MaterialsCompiler(void);
virtual std::wstring IndexName() {return L"materials";}
};
}
}
|
// -*- c++ -*-
// Generated by gmmproc 2.46.2 -- DO NOT MODIFY!
#ifndef _GIOMM_MEMORYINPUTSTREAM_P_H
#define _GIOMM_MEMORYINPUTSTREAM_P_H
#include <giomm/private/inputstream_p.h>
#include <glibmm/class.h>
namespace Gio
{
class MemoryInputStream_Class : public Glib::Class
{
public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
... |
//----------------------------------------------------------------------------
// 프로그램명 : IMU 센서 관련 함수
//
// 만든이 : Cho Han Cheol(Baram)
//
// 날 짜 :
//
// 최종 수정 :
//
// MPU_Type :
//
// 파일명 : Hw_IMU.c
//----------------------------------------------------------------... |
#ifndef _SOUND_LIB_H_
#define _SOUBD_LIB_H_
#if defined(_Z8F6403)
extern rom char soundFX[15][8][5];
extern rom char music[4][128][5];
#endif
#endif |
//
// Constants.h
// ByrdFeed
//
// Created by Eddie Freeman on 6/24/14.
// Copyright (c) 2014 NinjaSudo Inc. All rights reserved.
//
#import "Crittercism.h"
// Notification Constants
static NSString *UserLoggedInNotification = @"UserLoggedInNotification";
static NSString *UserSignOutNotification = @"UserSignOutN... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <SceneKit/SCNGeometry.h>
@interface SCNCapsule : SCNGeometry
{
id _reserved;
double _capsulecapRadius;
double _capsuleheight;
long long _capsuleheightSegmen... |
//
// RCDTableViewController.h
// SealTalk
//
// Created by Sin on 2017/9/26.
// Copyright © 2017年 RongCloud. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RCDUtilities.h"
@interface RCDTableViewController : UITableViewController
@end
|
//
// HZYDatePicker.h
// CMM
//
// Created by Michael-Nine on 2017/4/26.
// Copyright © 2017年 zuozheng. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HZYDatePicker : UIView
+ (void)datePicker:(UIDatePickerMode)mode selectedHandler:(void(^)(NSDate *date, BOOL isCanceled))handler;
@end
|
//
// MSPair.h
// MYOrse
//
// Created by Marcin Stepnowski on 25/11/14.
// Copyright (c) 2014 siema. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "NSDictionary+MSPair.h"
#import "NSMutableDictionary+MSPair.h"
@interface MSPair : NSObject
@property (strong) id first;
@property (strong) id se... |
//===--------------------------------------------------------------------------------*- C++ -*-===//
// _
// | |
// __| | __ ___ ___ ___
// / _` |/ _` \ \ /\ / / '_ |
// | (_| | (_| |\ V V /| | | |
// ... |
//
// FLOperationQueue.h
// FishLampCocoa
//
// Created by Mike Fullerton on 4/20/13.
// Copyright (c) 2013 GreenTongue Software LLC, Mike Fullerton.
// The FishLamp Framework is released under the MIT License: http://fishlamp.com/license
//
#if DEPRECATED
#import "FLOrderedCollection.h"
#import "FLOperation.h"... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/tball/tmp/j2objc/guava/sources/com/google/common/collect/EmptyImmutableSetMultimap.java
//
#include "J2ObjC_header.h"
#pragma push_macro("ComGoogleCommonCollectEmptyImmutableSetMultimap_INCLUDE_ALL")
#if ComGoogleCommonCollectEmptyImmutableSe... |
#pragma once
#include <Core/Object.h>
#include <Core/HashString.h>
namespace uutRPG
{
using namespace uut;
class ItemType;
class Item : public Object
{
UUT_OBJECT(uutRPG, Item, Object)
public:
Item();
protected:
SharedPtr<ItemType> _itemType;
};
} |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef STRICT
#define STRICT
#endif
#include "targetver.h"
#define _ATL_APARTMENT_THREADED
#define _ATL_NO_AUTOMATIC_NAMESPACE
#define _ATL_CSTR... |
/*numPass=4, numTotal=4
Verdict:ACCEPTED, Visibility:1, Input:"2", ExpOutput:"2 -3 2 ", Output:"2 -3 2"
Verdict:ACCEPTED, Visibility:1, Input:"20", ExpOutput:"20 15 10 5 0 5 10 15 20 ", Output:"20 15 10 5 0 5 10 15 20"
Verdict:ACCEPTED, Visibility:1, Input:"4", ExpOutput:"4 -1 4 ", Output:"4 -1 4"
Verdict:ACCEPTED, Vis... |
//
// DarkShapesScene.h
// show
//
// Created by Chris Mullany on 02/09/2015.
//
//
#pragma once
#include "ofMain.h"
#include "SceneBase.h"
#include "ShapeRenderer.h"
#define MAX_ATTEMPTS 3
#define DARK_SHAPES_LXCUE_COUNT 10
#define DARK_SHAPES_TIMER_COUNT 8
// TODO: cv blob tracking and shape detection
//
class D... |
/*
* Copyright (c) Tomohiro Iizuka. All rights reserved.
* Licensed under the MIT license.
*/
#ifndef BASELIB_IO_CHARBUFFER_H_
#define BASELIB_IO_CHARBUFFER_H_
namespace java {
namespace nio {
using namespace alinous;
class CharBuffer : public virtual IObject {
public:
inline void* operator new(size_t size)... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2017 Johan Kanflo (github.com/kanflo)
*
* 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 t... |
//
// BXU.h
// Bit6UI
//
// Created by Carlos Thurber on 11/06/15.
// Copyright © 2015 Bit6. All rights reserved.
//
#ifndef _BIT6UI_H
#define _BIT6UI_H
#endif
#ifndef _BIT6_H
@import Bit6;
#endif
#import <UIKit/UIKit.h>
#import "BXUContactSource.h"
#import "BXUContactNameLabel.h"
#import "BXUConversationAvata... |
/*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... |
// 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 "../RenderCore/Metal/Forward.h"
#include "../Math/Vector.h"
namespace SceneEngine
{
class LightingParserContext;
... |
/*
* Copyright (c) 2012 - 2016 Kulykov Oleh <info@resident.name>
*
* 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
*... |
//
// ZXTableViewCell.h
// 1224_custom-cell-by-xib
//
// Created by zx on 12/24/14.
// Copyright (c) 2014 zuoxue@qq.com. All rights reserved.
//
#import <UIKit/UIKit.h>
@class ZXBookDataModel;
@interface ZXTableViewCell : UITableViewCell
@property(nonatomic,strong) UILabel * bookTitleLabel;
@property(nonatom... |
#pragma once
#include "MicroManager.h"
namespace UAlbertaBot
{
class DetectorManager : public MicroManager
{
std::map<BWAPI::Unit, bool> m_cloakedUnitMap;
BWAPI::Unit unitClosestToEnemy = nullptr;
bool isAssigned(BWAPI::Unit unit);
public:
DetectorManager();
void setUnitClosestToEnemy(BWAPI::U... |
//
// Created by Derek van Vliet on 2014-12-10.
// Copyright (c) 2015 Get Set Games Inc. All rights reserved.
//
#pragma once
#include "IAdColony.h"
// You should place include statements to your module's private header files here. You only need to
// add includes for headers that are used in most of your module'... |
// Copyright (c) 2009-2012 The Vegascoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef VEGASCOIN_CHECKPOINT_H
#define VEGASCOIN_CHECKPOINT_H
#include <map>
class uint256;
class CBlockIndex;
/** Block-c... |
/* fetchsamplelist.c, 8jun2016, from fetchsample.c, 7may106, from: samplestest.c, 26jan2015, from h5fetchsample.c, 25jan2015
Fetch a set of entire rows, alleles for all markers for the specified samples. */
/* 12jun16, Detect and handle different datatypes. */
#include "hdf5.h"
#include <stdio.h>
#include <string.h... |
//
// WASLoginButton.h
// YueXin
//
// Created by wangshuo on 16/5/19.
// Copyright © 2016年 wangshuo. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WASLoginButton : UIButton
- (instancetype)initLoginButtonWithButtonTitle:(NSString *)buttonTitle;
@end
|
/*
Copyright (c) 2016 Martin Sustrik
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, d... |
#ifndef SRL_ENVIRONMENT_H
#define SRL_ENVIRONMENT_H
#include "Value.h"
#include "Blocks.h"
#include "String.h"
#include "Hash.h"
#include "Parser.h"
#include "In.h"
#include "Out.h"
#include <list>
namespace Srl {
class Tree;
class Node;
namespace Lib {
template<class T> struct Link {
size_t h... |
/* vim: foldmethod=marker
* {{{ License header: MIT
* Copyright (c) 2014 Till Maas <opensource@till.name>
*
* 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, includin... |
#include <stdio.h>
int main(){
const int NK = 3;
const int NN = 5;
int sizes[NK] = { 5, 4, 4 };
int arr[NK][NN] = {
{4, 10, 15, 24, 26},
{0, 9, 12, 20},
{5, 18, 22, 30},
};
int indice[NK];
for( int k=0;k<NK;k++ ){
indice[k] = 0;
}
int min_k = 0;
int max_k = 0;
int range[2] = { ... |
//
// Created by Yaali on 15/4/18.
// Copyright © 2015年 Yaali. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "YLBlockType.h"
@interface UIView(UIView_YLKit)
@property (nonatomic,copy,setter=yl_setTapGesture:) yl_block_Void yl_tapGesture;
@property (nonatomic,strong,sett... |
//
// BKRadarCircle.h
// BKRadar
//
// Created by Bastian Kohlbauer on 22.04.14.
// Copyright (c) 2014 Bastian Kohlbauer. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BKRadarCircle : UIView
- (void)setAnimationAlphaForBeginning:(CGFloat)alpha;
- (void)setAnimationAlphaForEnding:(CGFloat)alpha;
- (v... |
//
// SRHTwitchUser.h
// StreamPerfect
//
// Created by Francois Courville on 2014-08-03.
// Copyright (c) 2014 Swift Synergy. All rights reserved.
//
#import <Foundation/Foundation.h>
@class RKObjectMapping;
@interface SRHTwitchUser : NSObject
@property(nonatomic, strong) NSString *displayName;
@property(nonat... |
#pragma once
#include "Arduino.h"
//Bean --> Computer
const uint8_t timeOutCodeBC = 0xBA;
const uint8_t dataAvailableBC = 0xBB;
const uint8_t endOfDataCodeBC = 0xBC;
const uint8_t clockNotSetCodeBC = 0xBD;
const uint8_t updatingDataBC = 0xBE;
const uint8_t StorageOverFlowBC = 0xBF;
//Computer --> Bean
const uint8_t... |
#include <stdio.h>
void unbufferstdout_() {setbuf(stdout,NULL);}
|
//
// AppDelegate.h
// MTLogDemo
//
// Created by Marin Todorov on 7/9/13.
// Copyright (c) 2013 Underplot ltd. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_HomeControlTestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_HomeControlTestsVersionString[];
|
//
// NSOperationViewController.h
// MultiThreading
//
// Created by Li Zhe on 10/15/16.
// Copyright © 2016 SH10. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NSOperationViewController : UIViewController
@end
|
//
// Attachment.h
// Helpifier
//
// Created by Sean Dougall on 1/29/11.
//
// Copyright (c) 2011 Figure 53 LLC, http://figure53.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 ... |
#pragma once
#include <Input/InputConditionEvent.h>
// Event condition that is triggered by ButtonDown of the corresponding button
namespace Input
{
class CInputConditionDown: public CInputConditionEvent
{
protected:
EDeviceType _DeviceType;
U8 _Button;
public:
CInputConditionDown(EDeviceType DeviceType, U8 ... |
#include "mex.h" /*--This one is required*/
/* Prototype for the Props function to be called. Can't use the CoolProp.h header because there are a lot of
c++ parts in the header that cannot be easily hidden when compiling */
double PropsSI(char *Output, char *Name1, double Prop1, char *Name2, double Prop2, char *... |
//
// UITableView+VDEnhance.h
// objcTemp
//
// Created by Deng on 16/7/7.
// Copyright © Deng. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UITableView (VDEnhance)
#pragma mark Public Method
- (void)vd_setDelaysContentTouches:(BOOL)delay;
@end
|
"ACE_RangeTable_82mm",
"ACE_fieldDressing",
"ACE_bloodIV_500",
"ACE_bloodIV_250",
"ACE_bloodIV",
"ACE_CableTie",
"ACE_DefusalKit",
"ACE_EntrenchingTool",
"ACE_epinephrine",
"ACE_Flashlight_MX991",
"ACE_Flashlight_KSF1",
"ACE_M26_Clacker",
"ACE_Clacker",
"ACE_Flashlight_XL50",
"ACE_MapTools",
"ACE_morphine",
"ACE_RangeC... |
//
// CueSheetDecoder.h
//
// Copyright (c) 2015 Jerry Wong
//
// 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,... |
//
// OTTypeDef.h
// Pomodoro
//
// Created by OpenThread on 12/3/11.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
typedef struct objc_ivar *Ivar;
typedef struct objc_property *objc_property_t;
typedef struct objc_method *Method;
typedef uintptr_t objc_AssociationPolicy;
|
/*
** $Id: lualib.h,v 1.44 2014/02/06 17:32:33 roberto Exp $
** Lua standard libraries
** See Copyright Notice in lua.h
*/
#ifndef lualib_h
#define lualib_h
#include "lua.h"
LUAMOD_API int (luaopen_base) (lua_State *L);
#define LUA_COLIBNAME "coroutine"
LUAMOD_API int (luaopen_coroutine) (lua_State *L);
#define... |
#pragma once
#ifndef Algorithm2DWrapper_h__20160813
#define Algorithm2DWrapper_h__20160813
#include "Interface/Implement/ProcessorImpl.h"
#include <complex>
namespace Yap
{
template<typename INPUT_TYPE, typename OUTPUT_TYPE>
class Algorithm2DWrapper :
public ProcessorImpl
{
public:
typedef void (*Processing... |
//
// Copyright (c) 2008-2022 the Urho3D project.
//
// 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, m... |
#pragma once
#ifndef EMANAGER_H
#define EMANAGER_H
#include "RManager.h"
#include "WorldUpdater.h"
#include "Game.h"
#include "WorldConstants.h"
#include "Features.h"
class EManager
{
public:
// Entities
static Entity *CreateEntity(EntityLayer pLayer, EntityType pType, int pX, int pY);
static void DeleteEntity... |
/* -*-C-*-
********************************************************************************
*
* File: plotedges.h (Formerly plotedges.h)
* Description: Convert the various data type into line lists
* Author: Mark Seaman, OCR Technology
* Created: Fri Jul 28 13:14:48 1989
* Modified: Mon M... |
//
// AppDelegate.h
// UIImageViewAniamtions
//
// Created by fangjiayou on 15/11/23.
// Copyright © 2015年 方. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
#pragma once
OC_NS_BG;
class Timer
{
public:
Timer();
// Total time in seconds (without paused duration)
float GetElapsed() const;
// Delta time between ticks in seconds
float GetDelta() const;
// Delta time between ticks in milliseconds
float GetDeltaMs() const;
void Start();
void Stop();
voi... |
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "mbedtls/base64.h"
#include "mbedtls/md.h"
#define WRITE_HEX_DUMPS 1
#if WRITE_HEX_DUMPS
extern void hex_dump (FILE* f, void *addr, int len);
#define HEX_DUMP( ... ) hex_dump(stdout, __VA_ARGS__)
#endif
#define REQUEST_STRING_F... |
// TODO: organize these: I'm getting a migraine header-ache!
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <limits.h>
#include <errno.h>
#include <err.h>
#include <netdb.h>
#include <dirent.h>
#include <pwd.h>
#include <magic.h>
#include ... |
//===--------------------------------------------------------------------------------*- C++ -*-===//
// _
// | |
// __| | __ ___ ___ ___
// / _` |/ _` \ \ /\ / / '_ |
// | (_| | (_| |\ V V /| | | |
// ... |
// 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"
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
#include <vector>
#include <algorithm>
#include <omp.h>
#incl... |
//
// routesTests.h
// routesTests
//
// Created by Diego Lafuente on 26/08/13.
// Copyright (c) 2013 Tui Travel A&D. All rights reserved.
//
#import <SenTestingKit/SenTestingKit.h>
@interface routesTests : SenTestCase
@end
|
//
// CKNotification.h
// CloudKit
//
// Copyright (c) 2014 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CloudKit/CKRecord.h>
@class CKRecordID, CKRecordZoneID;
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_10, 8_0)
@interface CKNotificationID : NSObject <NSCopying, NSSecureCodin... |
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, Intel Corporation
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to de... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*
UTProgress.h
The MIT License (MIT)
Copyright (c) 2014 Gregory Maksyuk (GregoryMaks)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated... |
# /* ********************************************************************
# * *
# * (C) Copyright Paul Mensonides 2003-2005. *
# * *
# * Distributed unde... |
#include <sys/compiler.h>
#include <sys/log.h>
#include <sys/types.h>
#include <sys/ldr.h>
#include <stdlib.h>
#include <stdio.h>
int
dladdr(void* s, Dl_info* i)
{
size_t bufSize = 40960;
struct ld_info* ldi;
void *buf;
int r;
debug4("sym at %lu", (ulong)s);
buf = (void *)malloc(bufSize);
if (!buf) {
i->dli... |
#include <SFML/Audio/Music.h>
void sfMusic_getDuration_helper (const sfMusic* music, sfTime* time)
{
*time = sfMusic_getDuration (music);
}
void sfMusic_getPlayingOffset_helper (const sfMusic* music, sfTime* time)
{
*time = sfMusic_getPlayingOffset (music);
}
void sfMusic_setPosition_helper (sfMusic* musi... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
/*
* =====================================================================================
*
* Filename: main.c
*
* Description: A basic little battle game, where you fight a bunch of enemies.
*
* Version: 1.0
* ... |
/*
* Created by suemi on 2016/12/7.
*/
#ifndef SLOG_CONFIGURATION_H
#define SLOG_CONFIGURATION_H
#include <string>
#include <unordered_map>
#include <memory>
#include "slog/utils/properties.h"
namespace slog {
class Filter;
class Logger;
class Appender;
class Layout;
class LogScheduler;
class Configurator {
p... |
//
// GDTUnifiedNativeAdView.h
// GDTMobSDK
//
// Created by nimomeng on 2018/10/10.
// Copyright © 2018 Tencent. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GDTLogoView.h"
#import "GDTMediaView.h"
#import "GDTUnifiedNativeAdDataObject.h"
#import "GDTSDKDefines.h"
@class GDTUnifiedNativeAdView;
//视频... |
//
// LoginViewController.h
// StackOverFlowClient
//
// Created by Bradley Johnson on 5/11/15.
// Copyright (c) 2015 BPJ. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LoginViewController : UIViewController
@end
|
/*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
//
// AppDelegate.h
// Lightroom Catalog Cleaner
//
// Created by Maxime Chaillou on 07/07/2015.
// Copyright (c) 2015 Maxime Chaillou. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject <NSApplicationDelegate>
@end
|
//
// ViewController.h
// TezButtonExample
//
// Created by Park Taesun on 2017. 2. 26..
// Copyright © 2017년 TezLab. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
#pragma once
#include "config.h"
class POGLDeferredRenderContext;
class POGLDeferredUniform : public IPOGLUniform, public IPOGLSamplerState
{
public:
POGLDeferredUniform(const POGL_STRING& name, POGLDeferredRenderContext* context);
virtual ~POGLDeferredUniform();
void Flush();
public:
void SetInt32(POGL_INT32 a)... |
#ifndef EXPORTABLETOLUA_H_
#define EXPORTABLETOLUA_H_
extern "C"
{
#include <lua-5.1/src/lua.h>
#include <lua-5.1/src/lualib.h>
#include <lua-5.1/src/lauxlib.h>
}
#include <luabind/luabind.hpp>
class ExportableToLua {
public:
ExportableToLua();
virtual ~ExportableToLua();
virtual void exportToLua(lua_State *... |
//
// ROChartViewController.h
// whitewolfdemo
//
// This App has been generated using IBM Mobile UI Builder
//
#import "ROViewController.h"
#import "ROChartView.h"
#import "RODataDelegate.h"
@protocol ROChartViewDelegate <NSObject>
/**
* Configure serie at index
*
* @param index Index
*/
- (void)configureS... |
#ifndef COMPRESS_KEYWORD_ENCODING_H_
#define COMPRESS_KEYWORD_ENCODING_H_
#include "compression_algorithm.h"
///! CompressKeywordEncoding class
/*!
Keyword Encoding Compression algorithm implementation
*/
class CompressKeywordEncoding : public CompressionAlgorithm
{
virtual bool CompressImpl(const ByteBuffer&... |
//
// COProject.h
//
#import <Foundation/Foundation.h>
#import <Mantle/Mantle.h>
#import "COUser.h"
#define OPProjectListReloadNotification @"OPProjectListReloadNotification"
@interface COProject : MTLModel<MTLJSONSerializing>
@property (nonatomic, assign) NSInteger lastUpdated;
@property (nonatomic, assign) BOOL p... |
#ifndef _SINGLE_PLAYER_CONTROLLER_H_
#define _SINGLE_PLAYER_CONTROLLER_H_
#include <nds.h>
#include "controllerbase.h"
#include "hardware.h"
#include "pad.h"
/**
* Watches the DS' buttons and reports their states appropriately.
*/
class SinglePlayerController : public ControllerBase {
public:
/**
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.