repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
nickmain/swipl-devel
src/os/pl-buffer.c
/* Part of SWI-Prolog Author: <NAME> E-mail: <EMAIL> WWW: http://www.swi-prolog.org Copyright (c) 2011-2020, University of Amsterdam CWI, Amsterdam All rights reserved. Redistribution and use in source and binary forms, with or without modification, are p...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/TakePictures/DFImageUnitView.h
<filename>LZEasemob3/Classes/View/Discover/Moments/TakePictures/DFImageUnitView.h // // DFImageUnitView.h // DFTimelineView // // Created by <NAME> on 15/9/27. // Copyright (c) 2015年 Datafans, Inc. All rights reserved. // #import <UIKit/UIKit.h> @interface DFImageUnitView : UIView @property (nonatomic, strong) U...
tianqin0414/ios1
LZEasemob3/Classes/View/Common/Category/UIImageView+HeadImage.h
<filename>LZEasemob3/Classes/View/Common/Category/UIImageView+HeadImage.h /************************************************************ * * Hyphenate CONFIDENTIAL * __________________ * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * * NOTICE: All information contained herein is, and remains * the prope...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/CommentView/LZMomentsCellCommentViewCell.h
<reponame>tianqin0414/ios1 // // LZMomentsCellCommentViewCell.h // LZEasemob // // Created by nacker on 16/4/5. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @class LZMomentsCellCommentItemModel; @interface LZMomentsCellCommentViewCell : UITableViewCell @property (nonatomi...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/PhotoContainer/LZPhotoContainerView.h
// // LZPhotoContainerView.h // LZEasemob // // Created by nacker on 16/3/14. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface LZPhotoContainerView : UICollectionView @property (nonatomic, strong) NSArray *urls; @end
tianqin0414/ios1
LZEasemob3/Classes/UI/Contacts/ContactListViewController.h
/************************************************************ * * Hyphenate CONFIDENTIAL * __________________ * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * * NOTICE: All information contained herein is, and remains * the property of Hyphenate Inc. * Dissemination of this information or reproduction...
tianqin0414/ios1
LZEasemob3/Classes/Other/Tools/LZUIHelper.h
// // LZUIHelper.h // LZEasemob // // Created by nacker on 16/4/14. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <Foundation/Foundation.h> #import "LZContactsGrounp.h" @interface LZUIHelper : NSObject + (NSMutableArray *)getFriensListItemsGroup; @end
tianqin0414/ios1
LZEasemob3/Classes/Other/Category/UIImage+Extension.h
// // UIImage+Extension.h // // // Created by nacker on 15-3-9. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (Extension) + (UIImage *)imageWithName:(NSString *)name; + (UIImage *)resizedImage:(NSString *)name; + (UIImage *)resizedImage:(NSString *)nam...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/HeadView/LZMomentsHeaderView.h
// // LZMomentsHeaderView.h // LZEasemob // // Created by nacker on 16/3/11. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface LZMomentsHeaderView : UIView @property (nonatomic, copy) void (^iconButtonClick)(); - (void)updateHeight:(CGFloat)height; @end
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/TakePictures/DFPlainGridImageView.h
// // DFPlainGridImageView.h // DFTimelineView // // Created by <NAME> on 16/2/15. // Copyright © 2016年 Datafans, Inc. All rights reserved. // #import <UIKit/UIKit.h> @protocol DFPlainGridImageViewDelegate <NSObject> @optional -(void) onClick:(NSUInteger) index; -(void) onLongPress:(NSUInteger) index; @end @in...
tianqin0414/ios1
LZEasemob3/Classes/Other/Tools/LZTimeTool.h
// // LZTimeTool.h // testhuanxin // // Created by nacker on 15-3-9. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <Foundation/Foundation.h> @interface LZTimeTool : NSObject /** * 时间戳返回时间 */ +(NSString *)timeStr:(long long)timestamp; @end
tianqin0414/ios1
LZEasemob3/Classes/UI/RedacketSDK/RedpacketStaticLib/RedpacketLib.h
<reponame>tianqin0414/ios1 // // RedpacketLib.h // RedpacketLib // // Created by Mr.Yang on 16/9/20. // Copyright © 2016年 Mr.Yang. All rights reserved. // #ifndef RedpacketLib_h #define RedpacketLib_h #import <Foundation/Foundation.h> #if TARGET_OS_IPHONE #import "YZHRedpacketBridge.h" #import "YZHRedpacketBrid...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/TimeLine/LZMomentsTimeLineViewController.h
// // LZMomentsTimeLineViewController.h // LZEasemob // // Created by nacker on 16/4/14. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface LZMomentsTimeLineViewController : UITableViewController @end
tianqin0414/ios1
LZEasemob3/Classes/Other/Tools/LZContactsDataHelper.h
<filename>LZEasemob3/Classes/Other/Tools/LZContactsDataHelper.h // // LZContactsDataHelper.h // LZEasemob // // Created by nacker on 16/4/14. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <Foundation/Foundation.h> @interface LZContactsDataHelper : NSObject /** * 格式化好友列表 */ + (NSMutableA...
tianqin0414/ios1
LZEasemob3/Classes/View/Conversation/LZConversationViewController.h
<gh_stars>1-10 // // LZConversationViewController.h // LZEasemob3 // // Created by nacker on 16/7/18. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> #import "ConversationListController.h" @interface LZConversationViewController : ConversationListController @end
tianqin0414/ios1
LZEasemob3/Classes/UI/RedacketSDK/RedpacketStaticLib/RedpacketViewControl.h
<filename>LZEasemob3/Classes/UI/RedacketSDK/RedpacketStaticLib/RedpacketViewControl.h<gh_stars>1-10 // // RedpacketViewControl.h // ChatDemo-UI3.0 // // Created by Mr.Yang on 16/3/8. // Copyright © 2016年 Mr.Yang. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "RedpacketMe...
tianqin0414/ios1
LZEasemob3/Classes/View/Common/View/EMRemarkImageView.h
/************************************************************ * * Hyphenate CONFIDENTIAL * __________________ * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * * NOTICE: All information contained herein is, and remains * the property of Hyphenate Inc. * Dissemination of this information or...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/LZMomentsCell.h
<gh_stars>1-10 // // LZMomentsCell.h // LZEasemob // // Created by nacker on 16/3/11. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> #import "LZMomentsOriginalView.h" @class LZMomentsViewModel,LZMomentsCell; @protocol LZMomentsCellDelegate <NSObject> - (void)didClickLickBut...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/Refresh/SDTimeLineRefreshHeader.h
// // SDTimeLineRefreshHeader.h // GSD_WeiXin(wechat) // // Created by gsd on 16/3/5. // Copyright © 2016年 GSD. All rights reserved. // /* ********************************************************************************* * * GSD_WeiXin * * QQ交流群: 362419100(2群) 459274049(1群已满) * Email : <EMAIL> * GitHub: h...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Shake/LZFoundationMacro.h
<gh_stars>1-10 #define kVoiceRecorderTotalTime 60.0 // iPad #define kIsiPad (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) #define kIs_iPhone (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) #define kIs_iPhone_6 (kIs_iPhone && MDK_SCREEN_HEIGHT == 667.0) #define kIs_iPhone_6P (kIs_iPhone && MDK_SCREEN_...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/CommentView/LZMomentsCellCommentBgView.h
<filename>LZEasemob3/Classes/View/Discover/Moments/CommentView/LZMomentsCellCommentBgView.h // // LZMomentsCellCommentBgView.h // LZEasemob // // Created by nacker on 16/4/8. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @class LZMomentsViewModel; @interface LZMomentsCellCo...
tianqin0414/ios1
LZEasemob3/Classes/Model/LZApplyUserModel.h
<reponame>tianqin0414/ios1 // // LZApplyUserModel.h // LZEasemob3 // // Created by nacker on 16/7/19. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <Foundation/Foundation.h> #import "JKDBModel.h" @interface LZApplyUserModel : JKDBModel @property (nonatomic, copy) NSString *name; @property...
tianqin0414/ios1
LZEasemob3/LZNotificationWorkstation.h
<gh_stars>1-10 //=============================================================== /** * ━━━━━━神兽出没━━━━━━ *    ┏┓   ┏┓ *   ┏┛┻━━━┛┻┓ *   ┃       ┃ *   ┃   ━   ┃ *   ┃ ┳┛ ┗┳ ┃ *   ┃       ┃ *   ┃   ┻   ┃ *   ┃       ┃ *   ┗━┓   ┏━┛Code is far away from bug with the animal protecting *     ┃   ┃ 神兽保佑,代码无bug ...
tianqin0414/ios1
LZEasemob3/AppDelegate.h
// // AppDelegate.h // LZEasemob3 /** * ━━━━━━神兽出没━━━━━━ *    ┏┓   ┏┓ *   ┏┛┻━━━┛┻┓ *   ┃       ┃ *   ┃   ━   ┃ *   ┃ ┳┛ ┗┳ ┃ *   ┃       ┃ *   ┃   ┻   ┃ *   ┃       ┃ *   ┗━┓   ┏━┛Code is far away from bug with the animal protecting *     ┃   ┃ 神兽保佑,代码无bug *     ┃   ┃ *     ┃   ┗━━━┓ *     ┃       ┣...
tianqin0414/ios1
LZEasemob3/Classes/View/Contacts/LZContactsViewController.h
<gh_stars>1-10 // // LZContactsViewController.h // LZEasemob3 // // Created by nacker on 16/7/18. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> #import "ContactListViewController.h" @interface LZContactsViewController : ContactListViewController @end
tianqin0414/ios1
LZEasemob3/Classes/View/Common/BadgeView/LZBadgeView.h
// // LZBadgeView.h // HXClient // // Created by nacker on 16/6/3. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface LZBadgeView : UIButton @property (nonatomic, copy) NSString *badgeValue; @end
tianqin0414/ios1
LZEasemob3/Classes/View/Common/ActionSheet/LZActionSheet.h
<gh_stars>1-10 // // LZActionSheet.h // HXClient // // Created by nacker on 16/2/29. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @class LZActionSheet; typedef void(^LZActionSheetBlock)(NSInteger buttonIndex); @protocol LZActionSheetDelegate <NSObject> @optional - (void)...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Shake/LZShakeBottomView.h
<reponame>tianqin0414/ios1 // // LZShakeBottomView.h // Easemob // // Created by nacker on 15/12/24. // Copyright © 2015年 帶頭二哥. All rights reserved. // typedef enum { LZShakePeopleButton, LZShakeMusicButton, LZShakeTvButton } LZShakeButtonType; #import <UIKit/UIKit.h> @interface LZShakeBottomView : U...
tianqin0414/ios1
LZEasemob3/Classes/View/Common/View/GettingMoreFooterView.h
<filename>LZEasemob3/Classes/View/Common/View/GettingMoreFooterView.h // // GettingMoreFooterView.h // ChatDemo-UI3.0 // // Created by jiangwei on 2016/10/31. // Copyright © 2016年 jiangwei. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, GettingMoreFooterViewState){ eGettingMoreFoot...
tianqin0414/ios1
LZEasemob3/Classes/UI/Call/plugin/EMPluginVideoRecorder.h
<reponame>tianqin0414/ios1 // // EMPluginVideoRecorder.h // HyphenateSDK // // Created by XieYajie on 23/09/2016. // Copyright © 2016 <EMAIL>. All rights reserved. // #import <Foundation/Foundation.h> @class EMError; @interface EMPluginVideoRecorder : NSObject /*! * \~chinese * 获取插件实例 * * \~english * Ge...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/TakePictures/LZMomentsSendViewController.h
<filename>LZEasemob3/Classes/View/Discover/Moments/TakePictures/LZMomentsSendViewController.h // // LZMomentsSendViewController.h // LZEasemob // // Created by nacker on 16/4/1. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @class LZMomentsSendViewModel; //@protocol LZMomen...
tianqin0414/ios1
LZEasemob3/Classes/View/Common/ViewController/EMSearchDisplayController.h
/************************************************************ * * Hyphenate CONFIDENTIAL * __________________ * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * * NOTICE: All information contained herein is, and remains * the property of Hyphenate Inc. * Dissemination of this information or...
tianqin0414/ios1
LZEasemob3/Classes/View/Login/LZLoginViewController.h
// // LZLoginViewController.h // LZEasemob3 // // Created by nacker on 16/7/18. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface LZLoginViewController : UIViewController @end
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/PhotoContainer/LZMomentsPictureCell.h
<reponame>tianqin0414/ios1 // // LZMomentsPictureCell.h // LZEasemob // // Created by nacker on 16/3/14. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface LZMomentsPictureCell : UICollectionViewCell /// 图片 URL @property (nonatomic, strong) NSString *imageURL; @prop...
tianqin0414/ios1
LZEasemob3/Classes/View/Chat/LZChatViewController.h
// // LZChatViewController.h // LZEasemob3 // // Created by nacker on 16/7/18. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #define KNOTIFICATIONNAME_DELETEALLMESSAGE @"RemoveAllMessages" #import <UIKit/UIKit.h> @interface LZChatViewController : EaseMessageViewController <EaseMessageViewControlle...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/TakePictures/MomentsPublishPictureCell.h
// // MomentsPublishPictureCell.h // Moments // // Created by Thomson on 16/2/18. // Copyright © 2016年 Thomson. All rights reserved. // #import <UIKit/UIKit.h> @class LZMomentsSendViewModel; @protocol MomentsPublishPictureCellDelegate; @interface MomentsPublishPictureCell : UITableViewCell + (instancetype)cellW...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Shake/LZShakeViewController.h
// // LZShakeViewController.h // Easemob // // Created by nacker on 15/12/24. // Copyright © 2015年 帶頭二哥. All rights reserved. // #import <UIKit/UIKit.h> @interface LZShakeViewController : UIViewController @end
tianqin0414/ios1
LZEasemob3/Classes/UI/Call/CallViewController.h
/************************************************************ * * Hyphenate CONFIDENTIAL * __________________ * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * * NOTICE: All information contained herein is, and remains * the property of Hyphenate Inc. * Dissemination of this information or reproduction...
tianqin0414/ios1
LZEasemob3/Classes/UI/Settings/CallResolutionViewController.h
<reponame>tianqin0414/ios1 // // CallResolutionViewController.h // ChatDemo-UI3.0 // // Created by XieYajie on 9/19/16. // Copyright © 2016 XieYajie. All rights reserved. // #import <UIKit/UIKit.h> @interface CallResolutionViewController : UITableViewController @end
tianqin0414/ios1
LZEasemob3/Classes/ViewModel/LZMomentsViewModel.h
<filename>LZEasemob3/Classes/ViewModel/LZMomentsViewModel.h // // LZMomentsViewModel.h // LZEasemob // // Created by nacker on 16/3/14. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <Foundation/Foundation.h> #import "LZMoments.h" @interface LZMomentsViewModel : NSObject /// 微博模型 @property ...
tianqin0414/ios1
LZEasemob3/Classes/UI/RedacketSDK/RedpacketOpen/Redpacket.h
// // Redpacket.h // ChatDemo-UI3.0 // // Created by Mr.Yang on 16/3/17. // Copyright © 2016年 Mr.Yang. All rights reserved. // #import "RedpacketOpenConst.h" #import "RedPacketUserConfig.h" #import "ChatWithRedPacketViewController.h" #import "EaseBubbleView+RedPacket.h" #import "EaseRedBagCell.h" #import "Redpack...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/LZMomentsOriginalView.h
<reponame>tianqin0414/ios1 // // LZMomentsOriginalView.h // LZEasemob // // Created by nacker on 16/3/14. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @class LZMomentsViewModel; @interface LZMomentsOriginalView : UIView @property (nonatomic, strong) LZMomentsViewModel *vi...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/TakePictures/LZMomentsDefaultsCell.h
<reponame>tianqin0414/ios1 // // LZMomentsDefaultsCell.h // LZEasemob // // Created by nacker on 16/4/6. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface LZMomentsDefaultsCell : UITableViewCell + (instancetype)cellWithTableView:(UITableView *)tableView; @end
tianqin0414/ios1
LZEasemob3/Classes/View/Me/LZMeViewController.h
// // LZMeViewController.h // LZEasemob3 // // Created by nacker on 16/7/18. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface LZMeViewController : UIViewController @end
tianqin0414/ios1
LZEasemob3/Classes/Other/Category/UIImageView+Extension.h
<gh_stars>1-10 // // UIImageView+Extension.h // LZEasemob3 // // Created by nacker on 16/7/18. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImageView (Extension) - (void)getImageWithURL:(NSString *)url placeholder:(NSString *)placeholder; @end
tianqin0414/ios1
LZEasemob3/Classes/View/Common/TextView/EMTextView.h
// // LZTextView.h // 黑马微博 // // Created by nacker on 15/1/4. // Copyright (c) 2015年 nacker. All rights reserved. // #import <UIKit/UIKit.h> @interface EMTextView : UITextView { UIColor *_contentColor; BOOL _editing; } @property(strong, nonatomic) NSString *placeholder; @property(strong, nonatomic) UICo...
tianqin0414/ios1
LZEasemob3/Classes/UI/RedacketSDK/RedpacketOpen/RedpacketCell/TransferCell.h
// // TransferCell.h // ChatDemo-UI3.0 // // Created by Mr.Yan on 16/8/25. // Copyright © 2016年 Mr.Yan. All rights reserved. // #import "EaseBaseMessageCell.h" @interface TransferCell : EaseBaseMessageCell @end
tianqin0414/ios1
LZEasemob3/Classes/Other/Category/UIView+Extension.h
// // UIView+Extension.h // MJRefreshExample // // Created by nacker on 15-3-9. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (Extension) @property (assign, nonatomic) CGFloat x; @property (assign, nonatomic) CGFloat y; @property (assign, nonatomic) CGFloat...
tianqin0414/ios1
LZEasemob3/Classes/ViewModel/LZMomentsSendViewModel.h
// // LZMomentsSendViewModel.h // LZEasemob // // Created by nacker on 16/4/6. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // 发送朋友圈 #import <Foundation/Foundation.h> @interface LZMomentsSendViewModel : NSObject @property (nonatomic, strong) NSArray *assets; @property (nonatomic, copy) NSString *te...
tianqin0414/ios1
LZEasemob3/Classes/UI/RedacketSDK/RedpacketOpen/RedpacketCell/RedpacketMessageCell.h
// // RedpacketMessageCell.h // ChatDemo-UI3.0 // // Created by Mr.Yang on 16/2/28. // #import <UIKit/UIKit.h> /** * 红包消息的显示Cell */ @interface RedpacketMessageCell : UITableViewCell /** * 聊天消息Model */ @property (nonatomic, assign) id<IMessageModel> model; /** * 红包Cell被单击了的事件 */ @property (nonatomic, ...
tianqin0414/ios1
LZEasemob3/Classes/Model/LZContactsGrounp.h
// // LZContactsGrounp.h // LZEasemob // // Created by nacker on 16/4/14. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <Foundation/Foundation.h> @interface LZContactsGrounp : NSObject /* * 组头部标题 */ @property (nonatomic, strong) NSString *headerTitle; /* * 组尾部说明 */ @property (nonato...
tianqin0414/ios1
LZEasemob3/Classes/Other/Category/UILabel+Extension.h
<reponame>tianqin0414/ios1<gh_stars>1-10 // // UILabel+Extension.h // HXClient // // Created by nacker on 16/1/11. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface UILabel (Extension) + (UILabel *)labelWithText:(NSString *)text sizeFont:(UIFont *)sizeFont textColor:...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/LZMomentsViewController.h
// // LZMomentsViewController.h // LZEasemob // // Created by nacker on 16/3/11. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @interface LZMomentsViewController : UITableViewController @end
tianqin0414/ios1
LZEasemob3/Classes/View/Conversation/LZConversationCell.h
// // LZConversationCell.h // HXClient // // Created by nacker on 16/6/3. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @class EMConversation; @interface LZConversationCell : UITableViewCell + (instancetype)cellWithTableView:(UITableView *)tableView; @property (nonatomic,...
tianqin0414/ios1
LZEasemob3/Classes/View/Discover/Moments/CommentView/LZMomentsCellCommentTableView.h
// // LZMomentsCellCommentView.h // LZEasemob // // Created by nacker on 16/3/30. // Copyright © 2016年 帶頭二哥 QQ:648959. All rights reserved. // #import <UIKit/UIKit.h> @class LZMomentsViewModel; @interface LZMomentsCellCommentTableView : UITableView @property (nonatomic, strong) LZMomentsViewModel *viewModel; @...
azinman/CoreWebSocket
CoreWebSocket/CoreWebSocketTypes.h
// // CoreWebSocketTypes.h // CoreWebSocketCore // // Created by <NAME> on 07/03/2011. // Copyright 2011 Inteliv Ltd. All rights reserved. // #ifndef __CORE_WEB_SOCKET_TYPES__ #define __CORE_WEB_SOCKET_TYPES__ 1 #import "CoreWebSocketLib.h" #include <CoreFoundation/CoreFoundation.h> #define CoreWebSocketLog(fmt,...
azinman/CoreWebSocket
CoreWebSocket/CoreWebSocketClient.h
// // CoreWebSocketClient.h // CoreWebSocketCore // // Created by <NAME> on 07/03/2011. // Copyright 2011 Inteliv Ltd. All rights reserved. // #ifndef __CORE_WEB_SOCKET_CLIENT__ #define __CORE_WEB_SOCKET_CLIENT__ 1 #include "CoreWebSocket.h" #include "cuEnc64.h" #include <CommonCrypto/CommonDigest.h> #pragma mar...
azinman/CoreWebSocket
CoreWebSocket/CoreWebSocket.h
// // CoreWebSocket.h // CoreWebSocketCore // // Created by <NAME> on 07/03/2011. // Copyright 2011 Inteliv Ltd. All rights reserved. // #ifndef __CORE_WEB_SOCKET_WEB_SOCKET__ #define __CORE_WEB_SOCKET_WEB_SOCKET__ 1 #include "CoreWebSocketTypes.h" #define __CoreWebSocketMaxHeaderKeyLength 4096 #pragma mark Lif...
azinman/CoreWebSocket
CoreWebSocket/main.c
// // main.c // WebSocketCore // // Created by <NAME> on 07/03/2011. // Copyright 2011 Inteliv Ltd. All rights reserved. // #include "WebSocket.h" void myread(WebSocketRef webSocket, WebSocketClientRef client, CFDataRef data) { CFStringRef string = CFStringCreateWithBytes(NULL, CFDataGetBytePtr(data), CFDataGet...
azinman/CoreWebSocket
CoreWebSocket/CoreWebSocketLib.h
// // WebSocket.h // WebSocketCore // // Created by <NAME> on 07/03/2011. // Copyright 2011 Inteliv Ltd. All rights reserved. // #ifndef __CORE_WEB_SOCKET__ #define __CORE_WEB_SOCKET__ 1 #include <CoreFoundation/CoreFoundation.h> #include <unistd.h> #include <netdb.h> #import <CommonCrypto/CommonDigest.h> #if (...
vpadi/MH
P2/software/AGG_QAP/src/modulo_io.h
#include <iostream> #include <fstream> #include <string> #include <stdlib.h> #include <vector> using namespace std; /* Realiza la lectura de las matrices, las guarda en vectores de vectores de la stl y devuelve el tamaño del problema. */ int lecturaMatrices(vector<vector<int> > &m1, vector<vector<int> > &m2, f...
cutbm2015/NTUSTOOP_WKTai_Project3
Project_3/User.h
<gh_stars>0 #include <vector> #include <iostream> using namespace std; class User { public: User(); User createAccount(string username, string password,int permission); User createAccount(); User guestIn(); int userLogin(string username); int userLogin(); bool isUserExist(string); bool isUserExist(string...
cutbm2015/NTUSTOOP_WKTai_Project3
Project_3/Viewer.h
#include <string> #include <vector> #include "Board.h" using namespace std; class Viewer { public: void homepage(); void askLoginPassword(); void askRegUsername(); void askRegPassword(); void askRegPasswordAgain(); void askRegPermission(); void askBoardName(); void askBoardIntroduction(); void askPostTitle(...
cutbm2015/NTUSTOOP_WKTai_Project3
Project_3/BoardManager.h
#include <iostream> #include <string> #include <cstdlib> #include <ctime> #include <Windows.h> #include <vector> #include "Post.h" #include "Board.h" #include "User.h" #include "Viewer.h" using namespace std; enum BoardState { CREATE_POST, DELETE_POST, DELETE_BOARD, MENU, //default LOBBY, SELE...
cutbm2015/NTUSTOOP_WKTai_Project3
Project_3/Post.h
<filename>Project_3/Post.h #pragma once #include <vector> #include <string> #include <iostream> #include <fstream> #include <Windows.h> using namespace std; class Post { public: Post() {}; Post(int postID, int status, string boardName,string deleteReason, string author, string title,string timestamp, string conten...
cutbm2015/NTUSTOOP_WKTai_Project3
Project_3/Board.h
<gh_stars>0 #pragma once #include <iostream> #include <string> #include <vector> #include <Windows.h> #include <fstream> #include "Post.h" using namespace std; class Board { public: Board(); Board(string filename); static bool isValidBoardName(string name); static Board createBoard(string name, string intro); ...
melonshell/trafficserver
plugins/experimental/fastcgi/src/Profiler.h
<gh_stars>0 /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "Lic...
licl19/encryptAndDecrypt
AES_ios/AES/AES.h
<gh_stars>1-10 // // DES3Util.h // DES3 // // Created by lichanglai on 16/7/1. // Copyright © 2016年 lichanglai. All rights reserved. // #import <Foundation/Foundation.h> @interface AES : NSObject // 加密方法 + (NSString*)encrypt:(NSString*)plainText; // 解密方法 + (NSString*)decrypt:(NSString*)encryptText; // 加密方法 + (N...
licl19/encryptAndDecrypt
sha256_ios/NSString+SHA256.h
<gh_stars>1-10 // // NSString+SHA256.h // cloud_business // // Created by lichanglai on 16/5/9. // Copyright © 2016年 lichanglai. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (SHA256) + (NSString *)sha256:(NSString *)str; @end
harrain/XC
XC/ViewController.h
// // ViewController.h // XC // // Created by iron on 2017/11/25. // Copyright © 2017年 wangzhengang. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController - (NSString *)md5HexDigest:(NSString*)input; - (void)performanceExample; ////网络请求 + (void)networkRequestWithAPI...
lirui34/acrn-hypervisor
hypervisor/include/public/acrn_common.h
/* * common definition * * Copyright (C) 2017 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file acrn_common.h * * @brief acrn common data structure for hypercall or ioctl */ #ifndef ACRN_COMMON_H #define ACRN_COMMON_H #include <types.h> /* * Common structure...
lirui34/acrn-hypervisor
hypervisor/include/arch/x86/abl_seed_parse.h
<reponame>lirui34/acrn-hypervisor /* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ABL_SEED_PARSE_H_ #define ABL_SEED_PARSE_H_ bool abl_seed_parse(char *cmdline, char *out_arg, uint32_t out_len); #endif /* ABL_SEED_PARSE_H_ */
lirui34/acrn-hypervisor
hypervisor/include/arch/x86/sbl_seed_parse.h
<reponame>lirui34/acrn-hypervisor /* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SBL_SEED_PARSE_H_ #define SBL_SEED_PARSE_H_ bool sbl_seed_parse(bool vm_is_sos, char *cmdline, char *out_arg, uint32_t out_len); #endif /* SBL_SEED_PARSE_H_ */
Leont/rakudo
t/04-nativecall/07-writebarrier.c
<reponame>Leont/rakudo #include <stdlib.h> #include <string.h> #ifdef WIN32 #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT extern #endif typedef struct { long *ptr; } Structy; static Structy *saved = NULL; DLLEXPORT long _deref(long *ptr) { return *ptr; } DLLEXPORT long *make_ptr() { l...
Leont/rakudo
t/04-nativecall/12-sizeof.c
#ifdef WIN32 #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT extern #endif typedef struct { char foo1; int foo2; short foo3; short foo4; } Foo; typedef struct { char bar1; short bar2; char bar3; int bar4; short bar5; } Bar; typedef struct { char bar1; ...
Leont/rakudo
t/04-nativecall/10-cglobals.c
#include <stdio.h> #include <string.h> #ifdef WIN32 #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT extern #endif DLLEXPORT int GlobalInt; int GlobalInt = 101; DLLEXPORT short GlobalShort; short GlobalShort = 102; DLLEXPORT char GlobalByte; char GlobalByte = -103; DLLEXPORT double GlobalDouble; dou...
Leont/rakudo
t/04-nativecall/15-rw-args.c
<filename>t/04-nativecall/15-rw-args.c #ifdef _WIN32 #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT extern #endif DLLEXPORT void SetChar(signed char *chr) { *chr = 97; } DLLEXPORT void SetShort(short *sht) { *sht = 387; } DLLEXPORT void SetLong(long *lng) { *lng = 777; } DLLEXPORT void ...
Leont/rakudo
t/04-nativecall/04-pointers.c
#include <stdlib.h> #include <stdio.h> #include <string.h> #ifdef WIN32 #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT extern #endif DLLEXPORT void * ReturnSomePointer() { return strdup("Got passed back the pointer I returned"); } DLLEXPORT int CompareSomePointer(void *ptr) { int x = strcmp(...
Nakazona/operating_systems
ps.c
<reponame>Nakazona/operating_systems<filename>ps.c #ifdef CS333_P2 #include "types.h" #include "user.h" #include "uproc.h" int main(void) { struct uproc * table; int max = 30; int ret; table = malloc(sizeof(struct uproc)* max); ret = getprocs(max, table); printf(1, "\nPID\tName\t\tUID\tGID\tPPID\tElapsed\tC...
Nakazona/operating_systems
time.c
<reponame>Nakazona/operating_systems #ifdef CS333_P2 #include "types.h" #include "user.h" int main(int argc, char *argv[]) { --argc; if(argc >= 1) { int to_combine = argc; char * a; char * b; b = malloc(sizeof(argv[to_combine])); int size = strlen(argv[to_combine]); int i = 0; while(i...
zhaoruic-intel/pytorch
aten/src/ATen/cpu/vec/vec256/functional.h
<gh_stars>1-10 #pragma once #include <ATen/cpu/vec/vec256/functional_base.h> #if !defined(__VSX__) || !defined(CPU_CAPABILITY_VSX) #include <ATen/cpu/vec/vec256/functional_bfloat16.h> #endif
snosov1/opencv
3rdparty/libwebp/utils/huffman_encode.c
<filename>3rdparty/libwebp/utils/huffman_encode.c // Copyright 2011 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file P...
snosov1/opencv
3rdparty/libwebp/dec/layer.c
<filename>3rdparty/libwebp/dec/layer.c // Copyright 2011 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All...
snosov1/opencv
3rdparty/libwebp/dsp/cpu.c
<reponame>snosov1/opencv // Copyright 2011 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing ...
snosov1/opencv
3rdparty/tbb/android_additional.h
#include <cstdio> static inline int getPossibleCPUs() { FILE* cpuPossible = fopen("/sys/devices/system/cpu/possible", "r"); if(!cpuPossible) return 1; char buf[2000]; //big enough for 1000 CPUs in worst possible configuration char* pbuf = fgets(buf, sizeof(buf), cpuPossible); fclose(cpuPossible)...
snosov1/opencv
3rdparty/include/dshow/evcode.h
#ifndef _EVCODE_H #define _EVCODE_H #if __GNUC__ >=3 #pragma GCC system_header #endif #ifdef __cplusplus extern "C" { #endif /*--- DirectShow Reference - Constants and GUIDs - Event Notification Codes */ #define EC_ACTIVATE 0x0013 #define EC_BUFFERING_DATA 0x0011 #define EC_BUILT 0x0300 #define EC_CLOCK_CHANGED 0x000...
snosov1/opencv
3rdparty/libwebp/utils/quant_levels_dec.c
<reponame>snosov1/opencv<gh_stars>100-1000 // Copyright 2013 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS....
snosov1/opencv
3rdparty/openexr/IlmImf/ImfRational.h
<gh_stars>100-1000 /////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2006, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted pr...
snosov1/opencv
modules/calib3d/src/rho.h
/* IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By downloading, copying, installing or using the software you agree to this license. If you do not agree to this license, do not download, install, copy or use the software. BSD 3-Clause License Copyright (C) 201...
snosov1/opencv
include/opencv/cxmisc.h
<reponame>snosov1/opencv<filename>include/opencv/cxmisc.h<gh_stars>1000+ #ifndef __OPENCV_OLD_CXMISC_H__ #define __OPENCV_OLD_CXMISC_H__ #ifdef __cplusplus # include "opencv2/core/utility.hpp" #endif #endif
snosov1/opencv
include/opencv/cvwimage.h
<reponame>snosov1/opencv /////////////////////////////////////////////////////////////////////////////// // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to // this license. If you do not agree to this license, do not down...
snosov1/opencv
samples/cpp/tutorial_code/features2D/AKAZE_tracking/stats.h
#ifndef STATS_H #define STATS_H struct Stats { int matches; int inliers; double ratio; int keypoints; Stats() : matches(0), inliers(0), ratio(0), keypoints(0) {} Stats& operator+=(const Stats& op) { matches += op.matches; inliers += op.inliers; ...
snosov1/opencv
3rdparty/openexr/IlmImf/ImfAcesFile.h
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the fol...
snosov1/opencv
modules/flann/include/opencv2/flann/object_factory.h
/*********************************************************************** * Software License Agreement (BSD License) * * Copyright 2008-2009 <NAME> (<EMAIL>). All rights reserved. * Copyright 2008-2009 <NAME> (<EMAIL>). All rights reserved. * * THE BSD LICENSE * * Redistribution and use in source and binary fo...
snosov1/opencv
samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.h
<reponame>snosov1/opencv #ifndef CSVWRITER_H #define CSVWRITER_H #include <iostream> #include <fstream> #include <opencv2/core/core.hpp> #include "Utils.h" using namespace std; using namespace cv; class CsvWriter { public: CsvWriter(const string &path, const string &separator = " "); ~CsvWriter(); void writeXY...
snosov1/opencv
3rdparty/libjpeg/jconfig.h
#define HAVE_PROTOTYPES #define HAVE_UNSIGNED_CHAR #define HAVE_UNSIGNED_SHORT /* Define this if an ordinary "char" type is unsigned. * If you're not sure, leaving it undefined will work at some cost in speed. * If you defined HAVE_UNSIGNED_CHAR then the speed difference is minimal. */ #undef CHAR_IS_UNSIGNED #if ...
snosov1/opencv
modules/features2d/src/kaze/utils.h
#ifndef __OPENCV_FEATURES_2D_KAZE_UTILS_H__ #define __OPENCV_FEATURES_2D_KAZE_UTILS_H__ /* ************************************************************************* */ /** * @brief This function computes the angle from the vector given by (X Y). From 0 to 2*Pi */ inline float getAngle(float x, float y) { if (x >=...
snosov1/opencv
3rdparty/include/dshow/errors.h
<gh_stars>100-1000 #ifndef _ERRORS_H #define _ERRORS_H #if __GNUC__ >=3 #pragma GCC system_header #endif #ifdef __cplusplus extern "C" { #endif /*--- DirectShow Reference - Constants and GUIDs - Error and Success Codes */ #define VFW_S_NO_MORE_ITEMS 0x00040103 #define VFW_S_DUPLICATE_NAME 0x0004022D #define VFW_S_STA...
snosov1/opencv
3rdparty/include/dshow/bdatypes.h
#ifndef _BDATYPES_H #define _BDATYPES_H #if __GNUC__ >= 3 #pragma GCC system_header #endif #ifdef __cplusplus extern "C" { #endif /*--- DirectShow Reference - DirectShow Enumerated Types */ typedef enum { MEDIA_TRANSPORT_PACKET, MEDIA_ELEMENTARY_STREAM, MEDIA_MPEG2_PSI, MEDIA_TRANSPORT_PAYLOAD } MEDIA...
snosov1/opencv
3rdparty/libwebp/dsp/enc_neon.c
<filename>3rdparty/libwebp/dsp/enc_neon.c // Copyright 2012 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. ...