text
stringlengths
4
6.14k
#include <pebble.h> #include "enamel.h" #include <pebble-events/pebble-events.h> static Window *s_main_window; static TextLayer *s_time_layer; static void main_window_load(Window *window) { // Get information about the Window Layer *window_layer = window_get_root_layer(window); GRect bounds = layer_get_bounds(win...
/* vim: set tabstop=2 expandtab: */ #ifndef MTAB_CHECK_LOOP_H #define MTAB_CHECK_LOOP_H #include "util/configure.h" #include "util/srv.h" #include "mtab_checker.h" void ST_init_check_loop( ST_CONFIG c, ST_SRV_BUFF b, ST_MTAB_ENTRIES me ); void ST_check_loop(void); void ST_break_check_loop(vo...
#ifndef INPUT_H_INCLUDED #define INPUT_H_INCLUDED int handle_key(Eria *state, char const *s); int handle_text(Eria *state, char const *s); #endif
/* * PCDReader.h * * Created on: 2014.04.02. * Author: Balint */ #ifndef PCDREADER_H_ #define PCDREADER_H_ #include <opencv2/core/core.hpp> #include <sstream> #include <iostream> #include <fstream> class PCDReader { public: PCDReader(); virtual ~PCDReader(); void read(const char * ...
// // NearLifeViewController.h // QiPinTong // // Created by taylor on 2017/3/25. // Copyright © 2017年 ShiJiJiaLian. All rights reserved. // #import <UIKit/UIKit.h> @interface NearLifeViewController : UIViewController @end
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "GameFramework/GameModeBase.h" #include "EnvSearcherGameModeBase.generated.h" /** * */ UCLASS() class ENVSEARCHER_API AEnvSearcherGameModeBase : public AGameModeBase { GENERATED_BODY() };
/* * Copyright (c) 2013-2014 ADTECH GmbH * Licensed under MIT (https://github.com/adtechlabs/libtasks/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _TASKS_DISPOSABLE_H_ #define _TASKS_DISPOSABLE_H_ #include <atomic> namespace tasks { /*! * \brief Base class for objects/tasks that can be deleted. *...
// // NNReloadMapper.h // UIKitWorkarounds // // Created by Nick Tymchenko on 26/01/16. // Copyright © 2016 Nick Tymchenko. All rights reserved. // #import <Foundation/Foundation.h> @class NNReloadOperations; NS_ASSUME_NONNULL_BEGIN @interface NNReloadMapper : NSObject - (instancetype)initWithReloadOperations...
/** * 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/UILabel.h> #import "UIKit-Structs.h" @class NSString; @interface UITableViewCountView : UILabel { NSString* _countString; int _count; } -(id)initWithFrame:(CGRect)fra...
/* Copyright (c) 2008-2014 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "array.h" #include "ioloop.h" #include "str.h" #include "var-expand.h" #include "acl-plugin.h" #include "acl-lookup-dict.h" #include "acl-shared-storage.h" #include "index/shared/shared-storage.h" #define SHARED_NS_...
// // MTActionCell.h // MTCellControl // // Created by Misha Tavkhelidze on 04/05/2014. // Copyright (c) 2014 misha.tavkhelidze@gmail.com. All rights reserved. // #import <Cocoa/Cocoa.h> @interface MTActionCell : NSActionCell @end
// // STHomeViewController.h // 0120-网易新闻首页框架 // // Created by 李松涛 on 15-1-30. // Copyright (c) 2015年 lst. All rights reserved. // #import <UIKit/UIKit.h> @interface STHomeViewController : UIViewController @end
// // GJStaticTableCellMaker.h // StaticTableView // // Created by zhangxudong on 2017/11/1. // Copyright © 2017年 xudongzhang. All rights reserved. // #import <Foundation/Foundation.h> #import "GCStaticCellMakerProtocol.h" @interface GJStaticTableCellMaker : NSObject <GCStaticCellMakerProtocol> @property (nonatomi...
/******************************************************************************* USB Peripheral Library Template Implementation File Name: usb_ALL_Interrupt_Default.h Summary: USB PLIB Template Implementation Description: This header file contains template implementations For Feature : ALL_In...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: /Users/tball/tmp/j2objc/junit/build_result/java/junit/textui/TestRunner.java // #ifndef _JunitTextuiTestRunner_H_ #define _JunitTextuiTestRunner_H_ #include "J2ObjC_header.h" #include "junit/runner/BaseTestRunner.h" @class IOSClass; @class IOSObjec...
// // AppDelegate.h // NGFramework // // Created by Kyle Turner on 9/24/14. // Copyright (c) 2014 nGen Works. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #define ROL(x, c) (((x) << (c)) | ((x) >> (32 - (c)))) const uint32_t constants[64] = { 0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee , 0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501 , 0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be , 0x6...
//================================================================================================= /*! // \file blaze/util/TypeList.h // \brief Header file for the Unique class template // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You can redistr...
#include <stdio.h> #include <apr_general.h> #include <apr_file_io.h> #include <apr_strings.h> #define BUF_SIZE 1024 int main(int argc,const char *argv[]) { apr_status_t rv; apr_pool_t *mp; apr_size_t fsize; apr_file_t *fp; const char *fname; if(argc<2) { printf("usage %s \n",argv[0]); retur...
// // APExtension.h // Captain Black // // Created by Captain Black on 16/6/1. // Copyright © 2016年 www.aipai.com. All rights reserved. // #ifndef APExtension_h #define APExtension_h #import "UIColor+APExtension.h" #import "UIImage+APExtension.h" #import "UIWindow+APExtension.h" #import "UIView+APExtension.h" #im...
/* * Generated by class-dump 3.3.3 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard. */ #import <Message/MFMessageSortingValue.h> @interface _MFMessageSortingValueDateReceived : MFMessageSortingValue { double _dateReceivedAsTimeIntervalSince1970; } - (double)d...
C $Header$ C $Name$ #ifdef ALLOW_PTRACERS # ifdef AUTODIFF_PTRACERS_SPLIT_FILES CADJ STORE pTracer(:,:,:,:,:,1:PTRACERS_num) CADJ & = tapelev4, key = ilev_4 CADJ STORE gpTrNm1(:,:,:,:,:,1:PTRACERS_num) CADJ & = tapelev4, key = ilev_4 # else CADJ STORE pTracer = tapelev4, key = ilev_4 CADJ STORE gpTrNm1 = tapel...
// Copyright (c) 2016 Antony Arciuolo. See License.txt regarding use. // Standard structs and definitions for the bitmap (.bmp) image file format. #pragma once #include <cstdint> #include <cassert> static const uint16_t bmp_signature = 0x4d42; // 'BM' enum bmp_compression { rgb = 0, rle8 = 1, rle4 = 2, bitfield...
@class NSString, NSObject; #import "../O2GEnum.h" #import "../O2GRequestParamsEnum.h" #import "O2GOrderType.h" #import "IAddRef.h" #import "IO2GRow.h" #import "IO2GColumn.h" #import "io2gtable.h" #import "IO2GTimeFrame.h" #import "IO2GRequest.h" #import "./Readers/IO2GSystemProperties.h" #import "./Readers/IO2GMarket...
#include "message.h" PUBLIC void make_msg(struct MESSAGE *msg,u_int32 send_pid,u_int32 recv_pid,u_int32 type,u_int32 block){ msg->send_pid=send_pid; msg->recv_pid=recv_pid; msg->type=type; msg->msg_status=MSG_STATUS_VALID; msg->block=block; }
/* * rt_round_snf.h * * Real-Time Workshop code generation for Simulink model "Template_test.mdl". * * Model Version : 1.13 * Real-Time Workshop version : 7.3 (R2009a) 15-Jan-2009 * C source code generated on : Thu Mar 20 15:08:38 2014 * * Target selection: nidll_vxworks.tlc * Note: GRT inclu...
// // VideoPlayerControlDelegate.h // VideoPlayer // // Created by 陈阳阳 on 2017/6/26. // Copyright © 2017年 cyy. All rights reserved. // #import <Foundation/Foundation.h> @class VideoPlayerControl; @protocol VideoPlayerControlDelegate <NSObject> // 播放 - (void)play:(UIButton *)playButton; // 暂停 - (void)pause:(UIBu...
#ifndef INCLUDE_GUARD_C9909392_C859_4CE1_9899_FAB3645CFAB9 #define INCLUDE_GUARD_C9909392_C859_4CE1_9899_FAB3645CFAB9 #include "icon.h" #define CLOCK_ICON 9 typedef struct { icon_data mBase; int32_t h; int32_t m; int32_t s; } clock_icon_data; typedef Icon ClockIcon; ClockIcon *clock_icon_create(GRect aFromFr...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdbool.h> bool isUnique(char str[]) { //one of the most brilliant ideas was that instead of a dictionary // histogram we would use in any of the other languages, we can avoid that // implementation by just using an array, assuming ASCII ...
// // NSDictionary+VDEnhance.h // NSDictionary-Enhance // // Created by vilyever on 15/8/11. // Copyright (c) 2015年 vilyever. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDictionary (VDEnhance) #pragma mark Methods #pragma mark Public Class Method + (NSDictionary *)vd_dictionaryWithDic...
// // LFHButton.h // LoveFlyHome // // Created by Lefeng on 16/5/31. // Copyright © 2016年 Lefeng. All rights reserved. // #import <UIKit/UIKit.h> @interface LFHButton : UIButton - (void)LFHButtonontentWithImage:(NSString *)images Title:(NSString *)title width:(CGFloat)width height:(CGFloat)height; @end
// // STGSoundPicker.h // Coco Storage // // Created by Lukas Tenbrink on 09.09.14. // Copyright (c) 2014 Lukas Tenbrink. All rights reserved. // #import <Cocoa/Cocoa.h> @class STGSoundPicker; @protocol STGSoundPickerDelegate <NSObject> @optional - (void)soundPicker:(STGSoundPicker *)view choseSound:(NSString *)...
/** * Created by TekuConcept on 8/3/2016. */ #ifndef C_THRUSTERS_H #define C_THRUSTERS_H #include <Arduino.h> #include <Servo.h> //#define DEBUG #ifdef DEBUG #define DMSG(msg) Serial.println(msg); #else #define DMSG(msg) (void)(msg); #endif #define HW_MOD_LIN1 0 #define HW_MOD_ANG1 1 #define HW_MOD_LIN2 2 #d...
/* Copyright (c) 2015 Heinrich Fink <hfink@toolsonair.com> * Copyright (c) 2014 ToolsOnAir Broadcast Engineering GmbH * * 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 restrictio...
#pragma once #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #include <Windows.h> #include <system_error> namespace CryptoApi { static void ThrowSysError() { auto code = ::GetLastError(); auto err = std::error_code(code, std::system_category()); throw std::system_error(err); } stati...
#pragma once class State { public: State(){}; virtual ~State(){}; int getCurrentID() { return currentID; } protected: State(int id); int currentID; };
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Beardcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_ECCRYPTOVERIFY_H #define BITCOIN_ECCRYPTOVERIFY_H #include <ve...
/* * Options - processing command line arguments * Copyright (c) 2016 rksdna * * 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 righ...
#ifndef __PDDL__CONTEXT_H #define __PDDL__CONTEXT_H #include <functional> #include <pddl/Mode.h> #include <pddl/Tokenizer.h> namespace pddl { //////////////////////////////////////////////////////////////////////////////////////////////////// // // Context // ////////////////////////////////////////////////////////...
/* Unicamp - Universidade Estadual de Campinas FT - Faculdade de Tecnologia Limeira - SP Prof. Dr. Andre F. de Angelis Maio/2015 */ #ifndef MENU_H #define MENU_H #include <string> #include <vector> using namespace std; class Menu { private: string titulo; vector<string> opcoes; pu...
/* kernel.c It's the common kernel, each CPU family has it's own implementation of the kernel in boot/bootloader/?/kernel.c which call this kernel. */ #include <prototype-os/boot/bootloader/x86/asm.h> #include <prototype-os/types.h> #include <prototype-os/kernel.h> po_kernel __kernel; void show_cursor(void)...
/* * test-rtc.h * * Copyright (c) 2017 Lix N. Paulian (lix@paulian.net) * * 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 right...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @class NSString; @interface Xcode3SourceTreeDescriptor : NSObject { NSString *_settingName; NSString *_displayName; NSString *_path; } - (void).c...
#ifndef SHOWDESIGNER_H #define SHOWDESIGNER_H #include "Fixture.h" #include <QThread> #include <QSerialPort> #include <QString> #include <QList> #include <QByteArray> #include <QMutex> /** * @brief The ShowDesigner class interfaces to the Elation Show Designer 2 lighting controller. * * */ class ShowDesigner : p...
// // WXOMessageInputView.h // testFreeOpenIM // // Created by Jai Chen on 15/1/13. // Copyright (c) 2015年 taobao. All rights reserved. // #import <UIKit/UIKit.h> #import "YWInputViewPlugin.h" @class YWIMKit; #define kWXOMessageInputViewMinRecordLenght 1.0 @interface YWMessageInputView : UIView /** * ...
#include "_css_draw.h" static inline void _update_shift( int vox[3], const struct DrawObj *draw_obj, const struct ShiftDrawPair *pair) { const int shift = pair->shift; const struct DrawObj *child_obj = pair->obj; struct SeriesObj *obj = draw_obj->obj; switch(obj->fill_direction...
/******************************************************************************* Copyright (c) The Taichi MPM Authors (2018- ). All Rights Reserved. The use of this software is governed by the LICENSE file. *******************************************************************************/ #pragma once #include ...
// // RKVersioningCommand.h // RobotKit // // Created by Brian Smith on 5/27/11. // Copyright 2011 Orbotix Inc. All rights reserved. // /*! @file */ #import <Foundation/Foundation.h> #import <RobotKit/RKDeviceCommand.h> @class RKRobot; /*! * @brief Class that encapsulates a request for version information from...
// // Line.h // Memetro // // Created by Christian Bongardt on 25/09/13. // Copyright (c) 2013 memetro. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @interface Line : NSManagedObject @property (nonatomic, retain) NSNumber * transport_id; @property (nonatomic, retain) N...
// // MAFShareTool.h // ShareHelp // // Created by 高赛 on 2017/7/12. // Copyright © 2017年 高赛. All rights reserved. // #import <Foundation/Foundation.h> /** 登陆授权回调 0 成功,1 取消授权,2 授权失败,3 没有网络 */ typedef void (^LoginBlock)(int status, NSString *accessToken, NSString *openID); /** 获取用户信息回调 0 成功,1 失败 */ typedef v...
// // XYPlaceholderTextView.h // MyWeiboJingXuan // // Created by yuan on 16/7/29. // Copyright (c) 2016年 袁小荣. All rights reserved. // 拥有占位文字功能的TextView #import <UIKit/UIKit.h> @interface XYPlaceholderTextView : UITextView /** 占位文字 */ @property (nonatomic, strong) NSString *placeholder; /** 占位文字的颜色 */ @property...
// // AppDelegate.h // UITextFieldShowcases // // Created by Ryan Lee on 22/3/2016. // Copyright © 2016 Ryan Lee. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
extern int __VERIFIER_nondet_int(); extern void __VERIFIER_error(); int id(int x) { if (x==0) return 0; int ret = id(x-1) + 1; if (ret > 3) return 3; return ret; } void main() { int input = __VERIFIER_nondet_int(); int result = id(input); if (result == 5) { __VERIFIER_error(); } }
// // UIColor+JLColorKit.h // JLToolsAndCategories // // Created by Long Jiang on 16/4/14. // Copyright © 2016年 Long. All rights reserved. // #import <UIKit/UIKit.h> @interface UIColor (JLColorKit) ///根据hex字符串得到颜色 + (UIColor *)jl_colorWithHex:(NSString *)string; @end
#include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> MODULE_LICENSE("GPL"); MODULE_AUTHOR("Andrii Tymkiv"); MODULE_DESCRIPTION("Say hello and goodbye"); MODULE_VERSION("0.22"); static char *name = "user"; module_param(name, charp, S_IRUGO); //just can be read MODULE_PARM_DESC(name, "The name ...
// // YCJobDeViewController.h // 家长界 // // Created by taylor on 2016/12/19. // Copyright © 2016年 西部家联. All rights reserved. // #import <UIKit/UIKit.h> #import "QPTBaseViewController.h" @interface YCComDeViewController : QPTBaseViewController @end
// // NSString+YCYSize.h // // Created by Jakey on 15/5/22. // Copyright (c) 2015年 www.skyfox.org. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface NSString (YCYSize) /** * @brief 计算文字的高度 * * @param font 字体(默认为系统字体) * @param width 约束宽度 */ - (CGFloat)ycy_heightWit...
/* * USBUsart.h * * Created: 02.12.2012 07:30:52 * Author: Jörg */ #ifndef USBUSART_H_ #define USBUSART_H_ #include "ByteReceiver.h" typedef void (*pfCharReceived)( char ch ); class USBUsart : public ByteReceiver { public: USBUsart( pfCharReceived _receivedFunc ); USBUsart( ByteReceiver *byteReceiver )...
/* * Copyright (C) 2011 Igalia S.L. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following dis...
/* Copyright (c) 2013, Rasmus Zakarias, Aarhus University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condition...
// // DataParser.h // Memetro // // Created by Christian Bongardt on 19/09/13. // Copyright (c) 2013 memetro. All rights reserved. // #import <Foundation/Foundation.h> @class User; @class City; @class Country; @class Transport; @class Line; @class Station; @interface DataParser : NSObject + (instancetype)sharedIns...
// // SFScene.h // GLES // // Created by Justin Van Eaton on 9/27/10. // Copyright 2010 Stinware. All rights reserved. // #import <Foundation/Foundation.h> #import "SFCommon.h" #import "SFLayer.h" @class SFLayer; @interface SFScene : NSObject { NSMutableArray *layers; GLfloat backgroundRed; GLfloat bac...
#include <CLuce/Component/Point2.h> CLUCE_MACRO_EXPORT Luce_Point2 Luce_Point2_Create() { return Luce_Component_Point2_Create(); } CLUCE_MACRO_EXPORT int Luce_Point2_Destroy(Luce_Point2* location) { return Luce_Component_Point2_Destroy(location); } CLUCE_MACRO_EXPORT int Luce_Point2_Initializer(void* memory) { retu...
/* Copyright (c) 2015 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "mail-storage.h" #include "push-notification-drivers.h" #include "push-notification-events.h" #include "push-notification-event-mailboxsubscribe.h" #include "push-notification-txn-mbox.h" #define EVENT_NAME "MailboxSub...
#pragma once #include <vector> #include <queue> #include <string> #include <climits> #include <cmath> #include <stack> #include <set> #include <sstream> #include <algorithm> #include <unordered_map> using namespace std; class TrieNode { public: TrieNode() { for (int i = 0; i < 26; i++) child[i] = NULL; isWord...
/* -*- C -*- *********************************************** Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby gran...
/* * LintillaIvm.h * * Created on: 23.01.2014 * Author: niklausd */ #ifndef LINTILLAIVM_H_ #define LINTILLAIVM_H_ #include <Ivm.h> const int wlan_max_length = 32; /** * Lintilla Inventory Management Capabilities (cumulative) * - Version 0: DeviceId (addr 0) * - Version 1: IVMVersion (addr 1) * - Vers...
/* Copyright © 2014 Bart Massey */ /* Fibonacci Numbers via recursion. */ #include <assert.h> #include <stdio.h> #include <stdlib.h> int fib(int n) { if (n == 0 || n == 1) return 1; return fib(n - 2) + fib(n - 1); } int main(int argc, char *argv[]) { int n; assert(argc == 2); n = atoi(ar...
//////////////////////////////////////////////////////////////////////////////// // Effect.h // Furiosity // // Created by Bojan Endrovski on 04/07/14. // Copyright (c) 2014 Bojan Endrovski. All rights reserved. //////////////////////////////////////////////////////////////////////////////// #pragma once // STL #...
// // MKRole.h // MKSDK // // Created by 熙文 张 on 17/6/16. // Copyright © 2017年 张熙文. All rights reserved. // #import <Foundation/Foundation.h> @interface MKRole : NSObject /** * 服务器Id */ @property (nonatomic, strong) NSString *serverId; /** * 服务器名称 */ @property (nonatomic, strong) NSString *serverName; /...
// ==== Keys ========================================================================= #define KEYS_PIN A0 #define DEBOUNCE_DELAY 50 uint8_t lastKeyPressed = 0; int lastKeyReading = 0; int stableKeyReading = 0; // No key pressed long lastDebounceTime = 0; long key_pressed_time = -100000; void loop_keys() ...
/* * minisat.h - Python binding for MiniSat * * This source code is licensed under the MIT License. * See the file COPYING for more details. * * @author: Taku Fukushima <tfukushima@dcl.info.waseda.ac.jp> */ #ifndef PYTHON_MINISAT_H_ #define PYTHON_MINISAT_H_ #ifdef __cplusplus extern "C" { #endif typedef ...
/** * The MIT License (MIT) * * Copyright (c) 2013-2018 Igor Zinken - http://www.igorski.nl * * 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 lim...
//%2005//////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; // IBM Corp.; EMC Cor...
// // SSMessagesViewController.h // Messages // // Created by Sam Soffes on 3/10/10. // Copyright 2010-2011 Sam Soffes. All rights reserved. // // This is an abstract class for displaying a UI similar to Apple's SMS application. A subclass should override the // messageStyleForRowAtIndexPath: and textForRowAtIndex...
#ifndef BUDGETWIN_H #define BUDGETWIN_H #include <Window.h> #include <Box.h> #include <TextControl.h> #include <ListView.h> #include <ListItem.h> #include <ScrollView.h> #include <time.h> #include "ColumnListView.h" #include <Button.h> #include <MenuField.h> #include <Menu.h> #include <MenuItem.h> #include <StringView...
#ifndef ROM_H #define ROM_H #include <array> #include <cstdint> #include "iomemorymapped.h" template <std::size_t N> class ROM : public IOMemoryMapped { std::array<uint8_t, N>& rom; public: ROM(std::array<uint8_t, N>& rom); ~ROM(); uint8_t read(uint16_t addr); void write(uint16_t addr, uint8_t val...
/****************************************************************************************/ /* */ /* Pegasus */ /* ...
// // ProductDescriptionCell.h // Mobile Buy SDK // // Created by Shopify. // Copyright (c) 2015 Shopify Inc. 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 // in the Software...
// // Unicorn.h // Unicorn // // Created by retriable on 2018/2/1. // Copyright © 2018年 retriable. All rights reserved. // #import <Unicorn/NSObject+Uni.h> //! Project version number for Unicorn. FOUNDATION_EXPORT double UnicornVersionNumber; //! Project version string for Unicorn. FOUNDATION_EXPORT const unsign...
// // Global.h // Kata.LoanPrediction.C++ // // Created by retroburst [Andrew D] on 3/09/2015. // Copyright (c) 2015 retroburst [Andrew D]. All rights reserved. // #ifndef __Kata_LoanPrediction_C____Global__ #define __Kata_LoanPrediction_C____Global__ #include <stdio.h> #include <time.h> #include <string> using ...
// // UIView+ACExtensions.h // ACFloatingInput // // Created by Robert Mietelski on 13.12.2016. // Copyright © 2016 mietelski-robert. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (ACExtensions) @property (nonatomic, assign) IBInspectable CGFloat corrnerRadius; @property (nonatomic, assign) I...
#include <stdio.h> #include <stdlib.h> #include "list.h" void bubble_sort(List **head){ if(head == NULL||(*head == NULL)) return ; int num_list = 0; int i = 0; int sub_i; int sub_for_times; int sub_for_Max; List **pre_sub_head = head; List *sub_head; sub_head = *head; for(;sub_head && sub_head->next;){ if(s...
/* * communication.h * * Created on: 11 Mar 2016 * Author: raffael */ #ifndef COMMUNICATION_H_ #define COMMUNICATION_H_ #include <stdint.h> #include "module_control.h" typedef struct _eps_status { //stores the answers to be sent to an eventual i2c request uint16_t v_bat; uint16_t t_bat; uint16_t v_sola...
#pragma once #include "inodehandler.h" namespace Syntax { namespace GraphicsCompiler { class LabelsHandler : public Syntax::Compiler::INodeHandler { public: LabelsHandler(void); virtual ~LabelsHandler(void); virtual std::wstring Handles() {return L"labels";} virtual std::wstring Parent() {return...
/* * Copyright(c) Sophist Solutions, Inc. 1990-2022. All rights reserved */ #ifndef _Stroika_Foundation_Common_GUID_h_ #define _Stroika_Foundation_Common_GUID_h_ 1 #include "../StroikaPreComp.h" #if defined(__cpp_impl_three_way_comparison) #include <compare> #endif #if qPlatform_Windows #include <guiddef.h> #endi...
// // PlayerStatusIndicator.h // Outlander // // Created by Joseph McBride on 6/13/14. // Copyright (c) 2014 Joe McBride. All rights reserved. // @interface PlayerStatusIndicator : NSObject @property (nonatomic, copy) NSString *name; @property (nonatomic, copy) NSString *value; @end
#include "serial.h" #include "ioport.h" #include "defs.h" #include "idt.h" #define COM_PORT 0x3F8 #define COM_IRQ 4 #define CLOCK_FREQ 115200 #define UART_SPEED 9600 #define CLOCK_FDIV (CLOCK_FREQ / UART_SPEED) #define DLB_REG 0 #define DHB_REG 1 #define TX_DATA_REG 0 #de...
/***************************************************************************************** * * * OpenSpace * * ...
#ifndef RSD_H #define RSD_H #include "SolversLS.h" #include "def.h" class RSD : public SolversLS{ public: RSD(const Problem *prob, const Variable *initialx); protected: virtual void GetSearchDir(); }; #endif // end of RSD_H
/* * CheckSyntax.c * * Created on: Sep 24, 2016 * Author: brad rust * Used to ensure rules in Kata exercise are followed * w.r.t I, X, C == MAX(3) * V, L, D == MAX(1) * char array size is not dynamic since * maximum roman numeral is 3999 * ie, strings are always fairly short */ #include "ch...
#ifndef SAKI_AI_STUB_H #define SAKI_AI_STUB_H #include "ai.h" namespace saki { class AiStub : public Ai { public: Action think(const TableView &view, Limits &limits) override; }; } // namespace saki #endif // SAKI_AI_STUB_H
// // YOSRefreshConst.h // god // // Created by yangyang on 2016/11/16. // Copyright © 2016年 shoppingm.cn. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, YOSRefreshStatus) { YOSRefreshStatusNormal = 0, // 普通 YOSRefreshStatusPulling = 1, // 下拉 YOSRefre...
// // STNaviBar.h // STNavigationBarDemo // // Created by bopeng on 2017/9/28. // Copyright © 2017年 Scott. All rights reserved. // #import <UIKit/UIKit.h> @interface STNaviBar : UINavigationBar @end
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2017 The PIVX developers // Copyright (c) 2018-2019 The Ion developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or ...
#ifndef TCPSERVER_GLOBAL_H_ #define TCPSERVER_GLOBAL_H_ #include "../util/logger.h" extern util::Logger *logger; #endif
// // ZHUseFDModel.h // testAutoCalculateCellHeight // // Created by aimoke on 16/8/3. // Copyright © 2016年 zhuo. All rights reserved. // #import <Foundation/Foundation.h> @interface ZHUseFDModel : NSObject @property (nonatomic, strong) NSString *title; @property (nonatomic, strong) NSString *content; @property ...
// // UIPickerView+IDNPickDate.h // IDNFramework // // Created by photondragon on 15/6/23. // Copyright (c) 2015年 iosdev.net. All rights reserved. // #import <UIKit/UIKit.h> @interface UIPickerView(IDNPickDate) /** 在[[UIApplication sharedApplication].delegate window]里显示UIPickerView,内部只是 简单调用了UIView(IDNPickDate...
/* * The MIT License (MIT) * Copyright (c) 2015 Peter Vanusanik <admin@en-circle.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitati...
/* Copyright (C) 2011 by Ivan Safrin 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, distri...