text stringlengths 4 6.14k |
|---|
typedef struct Occupant {
char name[60];
int age;
char gender;
} Occupant;
|
//
// GORuleObject.h
// Gobi
//
// Created by Wojtek Kordylewski on 20.01.14.
// Copyright (c) 2014 Gobi. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GORuleConditionAssociationObject.h"
@interface GORuleObject : NSObject
@property (nonatomic) uint _id;
@property (nonatomic, copy) NSString ... |
#ifndef FIX42_MASSQUOTE_H
#define FIX42_MASSQUOTE_H
#include "Message.h"
namespace FIX42
{
class MassQuote : public Message
{
public:
MassQuote() : Message(MsgType()) {}
MassQuote(const FIX::Message& m) : Message(m) {}
MassQuote(const Message& m) : Message(m) {}
MassQuote(const MassQuote& m) : ... |
#ifndef LOGGING_ILOGOUTPUT_H
#define LOGGING_ILOGOUTPUT_H
#include <string>
class ILogOutput
{
public:
/// virtual destructor
virtual inline ~ILogOutput () {};
/**
* @brief Writes a normal log to the output (pure virtual)
*
* @param Message The message to be written
*/
virtual void Write ( const std ... |
#ifndef __MAD_MESSAGE__H__
#define __MAD_MESSAGE__H__
#include "MadSemaphore.h"
typedef void(*madMsgFree_Callback)(MadVptr p);
typedef struct _MadMsgQCB_t {
MadU16 rdyg;
MadU16 rdy[MAD_THREAD_RDY_NUM];
MadU8 **top;
MadU8 **bottom;
MadU8 **head;
MadU8 **tail;
Ma... |
/**
* @cond ___LICENSE___
*
* Copyright (c) 2016-2018 Zefiros 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 without limitation the rights
... |
//
// Notes.h
// awAcmeNotes
//
// Created by Bill DeWeese on 8/25/13.
// Copyright (c) 2013 AirWatch. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Notes : NSObject
+(NSMutableDictionary *)getAllNotes;
+(void)setCurrentKey:(NSString *)key;
+(NSString *)getCurrentKey;
+(void)setNoteForCurr... |
#ifndef INCLUDED_PENDULUM
#define INCLUDED_PENDULUM
#include <DRDSP/types.h>
#include <DRDSP/dynamics/model.h>
using namespace DRDSP;
struct PendulumWrap {
void operator()( VectorXd& x ) const;
};
struct Pendulum : Model<> {
Pendulum() : Model<>(5) {}
VectorXd operator()( const VectorXd& state ) const;
MatrixX... |
#ifndef GUIUTIL_H
#define GUIUTIL_H
#include <QString>
#include <QObject>
#include <QMessageBox>
class SendCoinsRecipient;
QT_BEGIN_NAMESPACE
class QFont;
class QLineEdit;
class QWidget;
class QDateTime;
class QUrl;
class QAbstractItemView;
QT_END_NAMESPACE
/** Utility functions used by the Bitcoin Qt UI.
*/
names... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_signal.c :+: :+: :+: ... |
//==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file apExceptionEvent.h
///
//==================================================================================
/... |
//
// UIImage+SuExt.h
// SuUtility
//
// Created by KevinSu on 15/10/17.
// Copyright (c) 2015年 SuXiaoMing. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (SU)
/**
* 加载图片
*
* @param imageName 图片名
*
* @return 适配系统的图片
*/
+ (instancetype)imageWithName:(NSString *)imageName;
/**
* 返回一... |
//
// DateMonger.h
// DateMonger
//
// Created by edwardtoday on 12/22/14.
// Copyright (c) 2014 edwardtoday. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDate (DateMonger)
+ (instancetype)bnrDateMongerWithYear:(int)y month:(int)m day:(int)d;
@end
|
#ifndef EventVec3_H
#define EventVec3_H
#include "nau/event/iEventData.h"
#include "nau/math/vec3.h"
namespace nau
{
namespace event_
{
class EventVec3: public IEventData
{
friend class EventFactory;
public:
~EventVec3(void);
void setData(void *data);
void *getData(void);
... |
/*
* Copyright (c) 2012 Israel Jacquez
* See LICENSE for details.
*
* Israel Jacquez <mrkotfw@gmail.com>
*/
#include <stddef.h>
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <bus/cpu/cpu.h>
#include "irq-mux.h"
static irq_mux_handle_t *irq_mux_handle_alloc(void);
static void irq_mux_han... |
/*
* Copyright (C) Narf Industries <info@narfindustries.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 to use, cop... |
// Contents of DLLDefines.h
#ifndef _cn_cbor_DLLDEFINES_H_
#define _cn_cbor_DLLDEFINES_H_
/* Cmake will define cn_cbor_EXPORTS on Windows when it
configures to build a shared library. If you are going to use
another build system on windows or create the visual studio
projects by hand you need to define cn_cbor_EXPORTS... |
/*
*
* Copyright (c) 2016 Simon Schmidt
*
* 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, ... |
#import "MOBProjection.h"
@interface MOBProjectionEPSG2719 : MOBProjection
@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 "NSObject.h"
#import "NSSecureCoding-Protocol.h"
@class NSData, NSObject<OS_dispatch_queue>;
@interface PKImage : NSObject <NSSecureCoding>
{
NSObject<OS_dispatch_... |
/*
* WARNING: do not edit!
* Generated by makefile from include/openssl/opensslconf.h.in
*
* Copyright 2016-2018 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
* ... |
/*******************************************************************************
* File Name: Enc_L.h
* Version 2.20
*
* Description:
* This file contains the Alias definitions for Per-Pin APIs in cypins.h.
* Information on using these APIs can be found in the System Reference Guide.
*
* Note:
*
******************... |
//
// Copyright (c) 2008-2014 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... |
//
// UIMessageInputViewController.h
// DouPaiwo
//
// Created by J006 on 15/6/27.
// Copyright (c) 2015年 paiwo.co. All rights reserved.
//
#import "BaseViewController.h"
#import "UserInstance.h"
#define kKeyboardView_Height 216.0
#define kMessageInputView_Height 50.0
#define kMessageInputView_HeightMax 120.0
#def... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include "lab4.h"
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
#include "driverlib/adc.h"
#include "driverlib/debug.h"
#include "driverlib/gpio.h"
#include "driverlib/pwm.h"
#include "driverlib/sysctl.h"
// FFT
#include "optfft.h"
/* Scheduler includes... |
//
// UIBarButtonItem+YRJBarButtonItem.h
// YRJKit
//
// Created by YURENJIE on 2018/3/7.
// Copyright © 2018年 yurenjie. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIBarButtonItem (YRJBarButtonItem)
@property (nullable, nonatomic, copy) void (^actionBlock)(id);
@end
|
#ifndef GXX_INET2_SOCKET_H
#define GXX_INET2_SOCKET_H
#include <exception>
namespace gxx {
namespace inet2 {
struct socket_exception : std::exception {
int errno;
const char* what() const {
return strerror(errno);
}
}
enum class socktype {
tcp,
udp,
unix,
};
class socket {
inet::... |
//
// RSSFeedItemXML.h
// RssReader
//
// Created by YannickL on 10/03/14.
// Copyright (c) 2014 Yannick Loriot. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface RSSFeedItemXML : NSObject
@property (nonatomic, strong) NSString *guid;
@property (nonatomic, strong) NSString *summary;
@property (... |
/* CpuArch.h -- CPU specific code
2015-10-31: Igor Pavlov : Public domain */
#ifndef __CPU_ARCH_H
#define __CPU_ARCH_H
#include "7zTypes.h"
EXTERN_C_BEGIN
/*
MY_CPU_LE means that CPU is LITTLE ENDIAN.
MY_CPU_BE means that CPU is BIG ENDIAN.
If MY_CPU_LE and MY_CPU_BE are not defined, we don't know abou... |
#ifndef SANDBOX_MY_SANDBOX_APPS_BLASTX_OWN_FUNCTIONS_
//parse_arguments.cpp
int PARSE_ARGUMENTS(int argc,char const ** argv,Values comVal)
#define SANDBOX_MY_SANDBOX_APPS_DNA_SIMULATION_MY_HEADER_
#endif // #ifndef SANDBOX_MY_SANDBOX_APPS_DNA_SIMULATION_MY_HEADER_ |
@interface MSPair : NSObject
{
id first; // 8 = 0x8
id second; // 16 = 0x10
}
+ (id)pairWith:(id)arg1 and:(id)arg2;
@property(retain, nonatomic) id second; // @synthesize second;
@property(retain, nonatomic) id first; // @synthesize first;
- (void).cxx_destruct;
@end
|
//
// BKBBaseItem+Misc.h
// BlurgKnowledgeBase (BKB)
//
// Created by Viktor Antonov on 02/01/2018.
// Copyright © 2018 Viktor Antonov. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal... |
/***
* Inferno Engine v4 2015-2017
* Written by Tomasz "Rex Dex" Jonarski
*
* [# filter: input\generic #]
***/
#pragma once
#include "inputDevice.h"
#include "inputStructures.h"
namespace base
{
namespace input
{
/// generic keyboard device
class BASE_INPUT_API GenericKeyboard : public NoCop... |
//
// MVADataBus.h
// VisitBCN
//
// Created by Mauro Vime Castillo on 14/11/14.
// Copyright (c) 2014 Mauro Vime Castillo. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CHCSVParser.h"
#import "MVABusSeq.h"
#import "MVAStop.h"
#import "MVARoute.h"
#import "MVAFrequencies.h"
/**
* This class... |
//
// AnimationDef.h
// SpaceStationKeeper
//
// Created by Sean Dawson on 21/05/2014.
//
//
#ifndef SpaceStationKeeper_AnimationDef_h
#define SpaceStationKeeper_AnimationDef_h
#include "TextureDef.h"
using namespace std;
class AnimationDef : public TextureDef {
public:
// Constructors/Destructors
AnimationD... |
#ifndef _CST_VITERBI_H__
#define _CST_VITERBI_H__
#include "cst_file.h"
#include "cst_math.h"
#include "cst_utterance.h"
typedef struct cst_vit_cand_struct {
int score;
cst_val *val;
int ival, pos;
cst_item *item;
struct cst_vit_cand_struct *next;
} cst_vit_cand;
cst_vit_cand *new_vit_cand();
void... |
//
// Tomato Media Core
// ±àÂë̽²â
// ×÷ÕߣºSunnyCase
// ´´½¨Ê±¼ä£º2015-12-31
//
#pragma once
#include "Tomato.Core/Tomato.Core.h"
#include <MLang.h>
DEFINE_NS_CORE
class EncodingDetector
{
public:
EncodingDetector();
~EncodingDetector();
DWORD DetectCodePage(const std::string& text);
private:
WRL::ComPtr<IMult... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2017-2018 Esteban Tovagliari, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any perso... |
// System call numbers
#define SYS_fork 1
#define SYS_exit 2
#define SYS_wait 3
#define SYS_pipe 4
#define SYS_read 5
#define SYS_kill 6
#define SYS_exec 7
#define SYS_fstat 8
#define SYS_chdir 9
#define SYS_dup 10
#define SYS_getpid 11
#define SYS_sbrk 12
#define SYS_sleep 13
#define SYS... |
//
// Copyright (c) 2014 Roland Sorel
// See LICENSE.md
//
#ifndef CBEATMODEL_H
#define CBEATMODEL_H
#include <set>
#include "IBeatModel.h"
class CBeatModelObject;
// This is the base class for the beat model.
// It implements the IBeatModel api along with its
// own behavior.
class CBeatModel : public IBeatModel
{
... |
// Copyright (c) 2011-2015 The Deuscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DEUSCOIN_QT_ADDRESSTABLEMODEL_H
#define DEUSCOIN_QT_ADDRESSTABLEMODEL_H
#include <QAbstractTableModel>
#include <QS... |
#ifndef TWO_DEE_H_INCLUDED
#define TWO_DEE_H_INCLUDED
namespace venk {
class Matrix33;
class Vector2d : public Tuple<float, 2> {
private:
static const int X = 0;
static const int Y = 1;
static const int U = 0;
static const int V = 1;
public:
static const std::size_t tuple_size = 2;
static const eScalarType elem... |
/* Implementation of the server prototype
MIT License
Copyright (c) [2017] [Neilson P. Marcil]
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... |
//
// HomeworkViewController.h
// FinalProject
//
// Created by chengjie yin on 12/2/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@class Task;
@class TaskViewController;
@class Course;
@interface HomeworkViewController : UITableViewController <UITableViewDelegate, UITa... |
#ifndef INPUTDATA_H
#define INPUTDATA_H
#include "Driver.h"
#include "Trailer.h"
#include "Location.h"
#include "Base.h"
#include "Source.h"
#include "Customer.h"
class InputData
{
public:
InputData();
static InputData* getInstance();
static std::vector<Driver*>* getDrivers();
st... |
#ifndef _H_ICP_
#define _H_ICP_
#include <gpc/gpc.h>
#include "../csm_all.h"
/** This sets the stage. */
void sm_icp(struct sm_params*params, struct sm_result*res);
/** This is the meat */
int icp_loop(struct sm_params*params, const double*q0, double*x_new,
double*total_error, int*nvalid, int*iterations);
/** ... |
/**
** edwin.lzh@gmail.com
**/
#include "wordcheck/platform.h"
#include "wordcheck/utils.h"
char *wordcheck_utils_ltrim(char *s)
{
while (isspace(*s)) s++;
return s;
}
char *wordcheck_utils_rtrim(char *s)
{
char *back = s + strlen(s);
while (isspace(*--back))
;
*(back + 1) = '\0';
r... |
//
// MKMapView+Zooming.h
// FoursquareTest
//
// Updated by Egor Dovzhenko on 24.07.13.
//
#import <MapKit/MapKit.h>
@interface MKMapView (Zooming)
- (void)setCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate zoomLevel:(NSUInteger)zoomLevel animated:(BOOL)animated;
@end
|
#include "wayland-desktop-shell-client-protocol.h"
#include <stdio.h>
#include <stdlib.h>
#include <wayland-client.h>
#include <time.h>
#include <string.h>
#include "client/window.h"
#include "client/registry.h"
#include "log.h"
#include "list.h"
list_t *surfaces;
struct registry *registry;
enum scaling_mode {
SCAL... |
#include "dbg.h"
#include "halmos.h"
#include "preproc.h"
#include "verifier.h"
#include <errno.h>
#include <stdio.h>
#include <time.h>
static const char* flags[halmosflag_size] = {
"",
"--verbose",
"--summary",
"--preproc",
"--no-preproc",
"--no-verify",
"--report-count",
"--report-hash",
"--report-... |
#ifndef KP_CPUID_H
#define KP_CPUID_H
// SIMD Instruction Flags ////
#define CPU_FEATURE_MMX 0x0001 // MMX
#define CPU_FEATURE_SSE 0x0002 // Streaming SIMD Extension
#define CPU_FEATURE_SSE2 0x0004 // Streaming SIMD Extension 2
#define CPU_FEATURE_SSE3 0x0008 // Streaming SIMD Extension 3
#define CPU_FEATURE_SSSE... |
#pragma once
#ifndef MAINH
#define MAINH
extern void DoClock(int state);
extern volatile int measured;
enum
{
ADC_A,
ADC_D,
ADC_S,
ADC_R,
ADC_CURVATURE,
ADC_VELOCITY,
ADC_Count
};
extern int clockup;
extern int Measure;
extern int timesincelastclocktick;
extern int adcchannels[ADC_Count];
extern void doTimer(... |
// Copyright 2016 The Draco Authors.
//
// 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 agree... |
#ifndef __GTHREE_AREA_H__
#define __GTHREE_AREA_H__
#include <gtk/gtk.h>
#include <gthree/gthree.h>
G_BEGIN_DECLS
#define GTHREE_TYPE_AREA (gthree_area_get_type ())
#define GTHREE_AREA(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTHREE_TYPE_AREA,... |
// Copyright (c) 2015-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_TEST_TEST_BITCOIN_H
#define BITCOIN_TEST_TEST_BITCOIN_H
#include <chainparamsbase.h>
#include <fs.h>
#includ... |
#include <stdio.h>
#include <stdlib.h>
#include "rbtree.h"
struct rbtree_learn {
struct rb_node rbtree_learn_node;
int num;
};
struct rbtree_learn *
rbtree_learn_search(struct rb_root *root, int num)
{
struct rb_node *node = root->rb_node;
while (node) {
struct rbtree_learn *data =
... |
/*
* POSIX library for Lua 5.1, 5.2, 5.3 & 5.4.
* Copyright (C) 2013-2022 Gary V. Vaughan
* Copyright (C) 2010-2013 Reuben Thomas <rrt@sc3d.org>
* Copyright (C) 2008-2010 Natanael Copa <natanael.copa@gmail.com>
* Clean up and bug fixes by Leo Razoumov <slonik.az@gmail.com> 2006-10-11
* Luiz Henrique de Figueiredo... |
#pragma once
#include "block.h"
class CTetrisDlg : public CDialog
{
public:
CTetrisDlg(CWnd* pParent = NULL);
~CTetrisDlg();
enum
{
IDD = IDD_TETRIS_DIALOG,
ROW = 20,
COL = 10,
WIDTH = COL << 5,
HEIGHT = ROW << 5
};
protected:
BOOL PreTranslateMessage(MSG *pM... |
#ifndef F2IRSENSORS_H
#define F2IRSENSORS_H
#include <stdint.h>
namespace rcr {
namespace robots {
namespace scribbler2 {
class Scribbler2;
class F2IRSensors
{
private:
Scribbler2 &s2;
public:
F2IRSensors( Scribbler2& s2_ );
~F2IRSensors();
void setIRPower( int pwm );
uint16_t getIR();
};
}}}... |
#include "parser.h"
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "item.h"
typedef struct {
#define FILEPATH_LEN 256
char filepath[256];
FILE *file;
} Parser;
void init(Parser *m, const char *filepath);
bool open_file(Parser *m);
bool read_all(Parser *m);
void pa... |
/*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#ifndef VC4C_TEST_STDLIB_H
#define VC4C_TEST_STDLIB_H
#include "cpptest.h"
#include "config.h"
class TestMathFunctions : public Test::Suite
{
public:
TestMathFunctions(const vc4c::Configuration& config = {});
vo... |
/************************************************************************
*
* CppSharp
* Licensed under the simplified BSD license. All rights reserved.
*
************************************************************************/
#pragma once
#include <llvm/Object/ELF.h>
namespace CppSharp { namespace CppParser {
te... |
//
// THJModalViewController.h
//
// THJAlertController
//
// Created by Thanyaluk on 18/08/15.
// Copyright (c) 2015 Thanyaluk Jirapech-umpai. All rights reserved.
//
@import UIKit;
@interface THJModalViewController : UIViewController
@end |
// For License please refer to LICENSE file in the root of YALField project
#import "YALFieldConfigurator.h"
@interface YALRegistrationConfigurator : YALFieldConfigurator
@end
|
#include <stdio.h>
int contains(char *s, char *t);
int main(void)
{
printf ("%d\n", contains ("I wanna shoot something", "thing"));
printf ("%d\n", contains ("I wanna shoot somethingthing", "thing"));
printf ("%d\n", contains ("I wanna shoot somethingthingthin", "thing"));
printf ("%d\n", contains ("Let's get... |
//
// SWAppDelegate.h
// SWToolbox
//
// Created by CocoaPods on 03/14/2015.
// Copyright (c) 2014 Sarun Wongpatcharapakorn. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SWAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
//
// ContactGrabber.h
// glimpse
//
// Created by Rebecca Vessal on 2/2/14.
// Copyright (c) 2014 Student. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>
@protocol ContactGrabberDelegate <NSObject>
@required
-(void)showContacts;
@end
@interface ContactGrabber : NS... |
#include <stdio.h>
int main() {
int a = 0;
#define M1(x) x+1 // <def-atom>
3*M1(2); // <use-atom>
#define M2(x) (-2*x) // <def-atom>
3*M2(2); // <no-atom>
3*M2(3+2); // <use-atom>
#define M3(x, y) x*y // <def-atom>
M3(2+3, 4+5); // <use-atom>
M3((2+3), (4+5)); // ... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <SDL/SDL_ttf.h>
#include <SDL/SDL.h>
#include <SDL/SDL_gfxPrimitives.h>
#include <SDL/SDL_rotozoom.h>
#include <SDL/SDL_image.h>
#include <float.h>
#include <string.h>
#ifndef CONSTANTE_H
#define CONSTANTE_H
#define TRUE 1
#define FALSE 0
#define CP_W... |
#ifndef SCENE_H
#define SCENE_H
#include <boost/optional.hpp>
#include <unordered_map>
#include "camera.h"
#include "game_object.h"
#include "light.h"
#include "sky.h"
#include "terrain.h"
class Scene {
public:
const std::shared_ptr<Sky> sky;
Terrain terrain;
Scene(const std::shared_ptr<Sky> sky) : sky(sky... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "TyphoonConfigPostProcessor+Internal.h"
#import "TyphoonConfigPostProcessor.h"
#import "TyphoonConfiguration.h"
#import "TyphoonJsonStyleConfiguration.h"
#import "TyphoonPlistStyleConfiguration.h"
#import "TyphoonPropertyStyleConfiguration.h"
#import "TyphoonDefin... |
#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 EMFRAMEVersionNumber;
FOUNDATION_EXPORT const unsigned char EMFRAMEVersionString[];
|
//
// UIButton+ZDCountDown.h
// ZDKonw
//
// Created by Alexcai on 15/8/11.
// Copyright (c) 2015年 zhidier. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIButton (ZDCountDown)
/**
* 按钮倒计时方法
*
* @param second 倒计时长(秒)
*/
- (void)beginCountDownWithSecond:(NSInteger)second;
/**
* 停止倒计时,并清空计时
*/... |
//
// ZOEActionSheet.h
// AiyoyouCocoapods
//
// Created by aiyoyou on 2017/6/7.
// Copyright © 2017年 zoenet. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZOEActionSheet : UIView
@property (nonatomic) CGFloat titleFontSize;//titleLabel font size,default is 18.
@property (nonatomic)... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ELECTRUM_QT_EDITADDRESSDIALOG_H
#define ELECTRUM_QT_EDITADDRESSDIALOG_H
#include <QDialog>
class AddressTableModel;... |
//
// YSCoreTextAttachmentProtocol.h
// YSCoreTextViewExample
//
// Created by Yu Sugawara on 2014/03/19.
// Copyright (c) 2014年 Yu Sugawara. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol YSCoreTextAttachmentProtocol <NSObject>
- (NSAttributedString*)attachmentString;
- (CGFloat)ascent;
- ... |
//
// VisualScreenSpace.h
//
//
// Created by Narendra Umate on 7/15/17.
//
//
#pragma once
#include "Buffer.h"
class VisualScreenSpace {
public:
VisualScreenSpace(const Effect& effect);
virtual ~VisualScreenSpace();
VisualEffect* getVisualEffect() {
return m_visualEffect;
}
VertexBuffer* getVertexBuffer(... |
//
// CloudFolder.h
// arc
//
// Created by Jerome Cheng on 15/4/13.
// Copyright (c) 2013 nus.cs3217. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Folder.h"
#import "CloudFolderDelegate.h"
@protocol CloudFolder <NSObject, Folder>
@property (weak, nonatomic) id<CloudFolderDelegate> delegate... |
#pragma once
namespace detail {
template<typename T>
using IsSimpleComponent = typename std::enable_if<std::is_base_of<juce::Component, T>::value && !std::is_base_of<juce::ImageComponent, T>::value && !std::is_base_of<juce::Button, T>::value && !std::is_base_of<juce::Label, T>::value && !std::is_base_of<juce::Slider, ... |
/*
POSIX getopt for Windows
AT&T Public License
Code given out at the 1985 UNIFORUM conference in Dallas.
*/
#ifndef __GNUC__
#include "wingetopt.h"
#include "config.h"
//#define NULL 0
#define EOF (-1)
#define ERR(s, c) if(opterr){\
char errbuf[2];\
errbuf[0] = c; errbuf[1] = '\n';\
fputs(argv[0], stderr);\
... |
#include "input.h"
void catch_signal(int signal) { quit = true; }
void setup_input() {
max_speed = 3;
accel = malloc(sizeof(directions));
speed = malloc(sizeof(directions));
pressed_keys = malloc(sizeof(keys));
pressed_keys->up = false;
pressed_keys->down = false;
pressed_keys->left = false;
pressed... |
#pragma once
#include <math.h>
namespace piLibs {
static inline float clamp01( float x )
{
if( x<0.0f ) return 0.0f;
if( x>1.0f ) return 1.0f;
return x;
}
static inline float fminf( float a, float b ) { return (a<b)?a:b; }
static inline float fmaxf( float a, float b ) { return (a>b)?a:b; }
static flo... |
#ifndef CARDWIDGET_H
#define CARDWIDGET_H
#include <QWidget>
namespace Ui {
class CardWidget;
}
class Card;
class CardWidget : public QWidget
{
Q_OBJECT
public:
explicit CardWidget(Card* c, QWidget *parent = NULL);
~CardWidget();
void refresh();
void highlight(bool hl);
QString tooltipStri... |
// Copyright 2016 Mitchell Kember. Subject to the MIT License.
#ifndef SET_H
#define SET_H
#include "intern.h"
#include <stdbool.h>
struct Set;
// Creates a new empty set.
struct Set *new_set(void);
// Attempts to add 'id' to the set. If 'id' is not already in the set, adds it
// and returns true. Otherwise, retu... |
#ifndef Py_OPCODE_H
#define Py_OPCODE_H
#define POP_TOP 1
#define UNARY_NOT 12
#define BINARY_MODULO 22
#define BINARY_ADD 23
#define BINARY_SUBSCR 25
#define STORE_SLICE 40
#define STORE_SUBSCR 60
#define BINARY_AND 64
#define PRINT_ITEM 71
#define PRINT_NEWLINE 72
#define RETURN_VALUE 83
#define POP_BLOCK... |
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkDecodingImageGenerator_DEFINED
#define SkDecodingImageGenerator_DEFINED
#include "SkBitmap.h"
#include "SkImageGenerator.h"
class SkData;
class SkStreamRewindable;... |
//----------------------------------------------------------------------------
#ifndef RequestIntDlgH
#define RequestIntDlgH
//----------------------------------------------------------------------------
#include <vcl\System.hpp>
#include <vcl\Windows.hpp>
#include <vcl\SysUtils.hpp>
#include <vcl\Classes.hpp>
... |
#pragma once
namespace hackerrank {
namespace bmgandre {
namespace regex {
namespace applications {
class valid_pan_format {
public:
static void solve();
};
} // namespace applications
} // namespace regex
} // namespace bmgandre
} // namespace hackerrank
|
//
// The MIT License(MIT)
//
// Copyright(c) 2014 Demonsaw LLC
//
// 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, c... |
["Land_CncBarrier_F",0,0,0],
["Land_CncBarrierMedium_F",0,0,0],
["Land_CncBarrierMedium4_F",0,0,0],
["Land_CncBarrier_stripes_F",0,0,0],
["Land_CncWall4_F",0,0,0],
["Land_CncShelter_F",0,0,0], |
#include "io.h"
#include "panic.h"
#include "pit.h"
#define PIT_CLOCK_FREQUENCY 1193180
void
pit_set_frequency(uint32_t hz)
{
uint32_t divisor = PIT_CLOCK_FREQUENCY / hz;
if(divisor > 0xffff) {
panic("frequency too low");
}
outb(0x43, 0x36);
outb(0x40, divisor & 0xff);
outb(0x40, (di... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <AirPortAssistant/StepByStepUIViewController_DevicePicker.h>
#import "StepByStepUIDevicePicker-Protocol.h"
@class NSString;
@interface StepByStepUIViewController_Join_... |
//
// STXCommentCell.h
// STXDynamicTableViewExample
//
// Created by Jesse Armand on 10/4/14.
// Copyright (c) 2014 2359 Media Pte Ltd. All rights reserved.
//
@import UIKit;
#import "STXCommentItem.h"
typedef NS_ENUM(int16_t, STXCommentCellStyle) {
STXCommentCellStyleSingleComment,
STXCommentCellStyleSh... |
//
// UIColor+Palette.h
// ZhongRongJinFu
//
// Created by erongdu_cxk on 15/9/29.
// Copyright (c) 2015年 Yosef Lin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIColor (Palette)
/**
*
* 十六进制加透明度
*
* @param hexString 颜色的十六进制
* @param alpha 透明度
*
* @return 返回UIColor
*/
+ (instancety... |
//
// Created by Dani Postigo on 2/5/14.
//
#import <Foundation/Foundation.h>
#import <DPObject/BasicDelegater.h>
@interface DPObjectObserver : BasicDelegater {
NSMutableArray *objects;
NSMutableArray *objectKeys;
}
@property(nonatomic, strong) NSMutableArray *objects;
@property(nonatomic, strong) NSMutableA... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
char word[200];
int next_found = 0;
int n;
int cmp_char(const void * p1, const void * p2) {
return (int)(*(char *)p1) - (int)(*(char *)p2);
}
int find(int id) {
int i;
int ans = -1;
int d = 99;
for (i = id +1; i < n; i++)
if ( ((int)word[i] > (i... |
#ifndef _TOYOTA_ALARM_CEASAR_TELEMATIC_H_
#define _TOYOTA_ALARM_CEASAR_TELEMATIC_H_
#include "GlobalDef.h"
//*******************************************************************************/
// TL2/6/7 639 xx xx xF xx xx xx xx xx (AlarmState)
//**********************************************************... |
/*
* st_trace.c, part of "klib" project.
*
* Created on: 30.05.2016, 16:54
* Author: Vsevolod Lutovinov <klopp@yandex.ru>
*/
#include "st_trace.h"
#include "list.h"
#include "_lock.h"
#include "sig.h"
#ifndef NDEBUG
/* ---------------------------------------------------------------------------*/
typedef s... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#ifndef darktoken_TXDB_H
#define darktoken_TXDB_H
#include "txdb-leveldb.h"
... |
/*
* Descriptors.h
* (c) 2014 flabbergast
* USB Descriptors.
* Most code comes from a LUFA library Demo (license below).
*/
/*
LUFA Library
Copyright (C) Dean Camera, 2014.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2014 Dean Camera (dean [at] four... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.