repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
Winens/coffee_kernel
kernel/drivers/graphics/graphics.c
// // Created by winens on 2/15/22. // #include <drivers/graphics/graphics.h> #include <boot/stivale2.h> #include <boot/stivale2_funcs.h> #include <drivers/graphics/_font.h> #include <stdint.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> uint32_t *_framebuffer; uint16_t _w, _h, _pitch; uint8_t *_font...
Winens/coffee_kernel
kernel/mm/mm.c
// // Created by winens on 2/15/22. // #include <mm/mm.h> #include <stdint.h> #include <stddef.h> #include <stdio.h> #include <boot/stivale2.h> struct stivale2_struct_tag_memmap *_mmap; void Memory_Map_Exec(uint32_t *mmap){ _mmap = mmap; _kernel_log("Physical Memory", __COL_SUCCESS, "Initalizing Finished wi...
Winens/coffee_kernel
kernel/dev/stdio.c
// // Created by winens on 2/16/22. // #include <stdio.h> #include <stdint.h> #include <stdbool.h> #include <stdarg.h> #include <stddef.h> #include <drivers/graphics/graphics.h> size_t strlen(const char* str) { size_t length = 0; while(str[length]) length++; return length; } void* memmove(void* d...
soixantecircuits/ofxSocketIO
src/ofxSocketIOData.h
<filename>src/ofxSocketIOData.h #pragma once #include "ofMain.h" #if defined(_MSC_VER) || defined(_WIN32) || defined(WIN32) || defined(__MINGW32__) // Windows stuff #else // Linux and OSX here #include <sio_client.h> #endif class ofxSocketIOData : public ofEventArgs { private : sio::message::ptr _data; publi...
jinweizhao/NewProjectPrepare
NewProjectPrepareDemo/NewProjectPrepareDemo/ViewController.h
// // ViewController.h // NewProjectPrepareDemo // // Created by KDB on 16/7/27. // Copyright © 2016年 Will-Z. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
jinweizhao/NewProjectPrepare
NewProjectPrepareDemo/NewProjectPrepareDemo/WZNetManager/WZNetManager.h
<reponame>jinweizhao/NewProjectPrepare // // WZNetManager.h // NewProjectPrepareDemo // // Created by KDB on 2017/2/8. // Copyright © 2017年 Will-Z. All rights reserved. // #import <Foundation/Foundation.h> @interface WZNetManager : NSObject +(instancetype)sharedManager; -(void)getUrl:(NSString *)strUrl params:(N...
egcode/facerec-cpp
mtcnn/face.h
#ifndef _include_opencv_mtcnn_face_h_ #define _include_opencv_mtcnn_face_h_ #include <opencv2/opencv.hpp> #include <torch/torch.h> #define NUM_REGRESSIONS 4 #define NUM_PTS 5 struct BBox { float x1; float y1; float x2; float y2; cv::Rect getRect() const { return cv::Rect(x1, y1, x2 - x1, y2 - y1); } BB...
egcode/facerec-cpp
dataset_face/face_dataset.pb.h
<gh_stars>1-10 // Generated by the protocol buffer compiler. DO NOT EDIT! // source: face_dataset.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_face_5fdataset_2eproto #define GOOGLE_PROTOBUF_INCLUDED_face_5fdataset_2eproto #include <limits> #include <string> #include <google/protobuf/port_def.inc> #if PROTOBUF_VERSION < 3...
microdotblog/microblog-ios
Snippets/Source/RFAppDelegate.h
<filename>Snippets/Source/RFAppDelegate.h // // RFAppDelegate.h // Snippets // // Created by <NAME> on 6/4/15. // Copyright (c) 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @class RFSignInController; @class RFMenuController; @class RFTimelineController; @interface RFAppDelegate : UIRe...
microdotblog/microblog-ios
Snippets/Source/RFBlogTableViewCell.h
<reponame>microdotblog/microblog-ios // // RFBlogTableViewCell.h // Micro.blog // // Created by <NAME> on 4/26/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFBlogTableViewCell : UITableViewCell @property (strong, nonatomic) IBOutlet UILabel* nameField; @p...
microdotblog/microblog-ios
Snippets/Source/RFAllUploadsController.h
// // RFAllUploadsController.h // Micro.blog // // Created by <NAME> on 8/14/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @class RFNYTPhoto; @class NYTPhotosViewController; NS_ASSUME_NONNULL_BEGIN @interface RFAllUploadsController : UIViewController <UICollectionVi...
microdotblog/microblog-ios
Snippets/Source/RFFeaturedPhotoCell.h
<gh_stars>10-100 // // RFFeaturedPhotoCell.h // Micro.blog // // Created by <NAME> on 5/23/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import "RFFeaturedPhoto.h" @interface RFFeaturedPhotoCell : UICollectionViewCell @property (strong, nonatomic) IBOutlet UIImageV...
microdotblog/microblog-ios
Snippets/Source/RFViewController.h
<filename>Snippets/Source/RFViewController.h // // RFViewController.h // Micro.blog // // Created by <NAME> on 4/26/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFViewController : UIViewController @end
microdotblog/microblog-ios
Snippets/Source/RFAllPostsController.h
// // RFAllPostsController.h // Micro.blog // // Created by <NAME> on 3/12/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @class RFPost; @interface RFAllPostsController : UIViewController <UITableViewDelegate, UITableViewDataSource, UITextFiel...
microdotblog/microblog-ios
Snippets/Source/RFTimelineController.h
<reponame>microdotblog/microblog-ios<filename>Snippets/Source/RFTimelineController.h // // RFTimelineController.h // Snippets // // Created by <NAME> on 6/4/15. // Copyright (c) 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import "RFOptionsController.h" #import "RFViewController.h" @...
microdotblog/microblog-ios
Snippets/Source/RFWordpressController.h
// // RFWordpressController.h // Snippets // // Created by <NAME> on 8/30/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFWordpressController : RFViewController <UIScrollViewDelegate, UITextFieldDelegate> @property (strong, nonatomic) IBOutlet UITextField*...
microdotblog/microblog-ios
Snippets/Source/RFHighlightCell.h
// // RFHighlightCell.h // Micro.blog // // Created by <NAME> on 9/12/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFHighlightCell : UITableViewCell @property (strong, nonatomic) IBOutlet UILabel* selectionField; @property (strong...
microdotblog/microblog-ios
Shared/UUToolbox/UUAlert.h
// // UUAlert.h // Useful Utilities - UIAlertView extensions // // License: // You are free to use this code for whatever purposes you desire. The only requirement is that you smile everytime you use it. // // Contact: @cheesemaker or <EMAIL> #import <UIKit/UIKit.h> @interface UUAlertViewController : NSObject //...
microdotblog/microblog-ios
Snippets/Source/RFHighlightsController.h
// // RFHighlightsController.h // Micro.blog // // Created by <NAME> on 9/12/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @class RFHighlight; @interface RFHighlightsController : UIViewController <UITableViewDataSource, UITableViewDelegate> ...
microdotblog/microblog-ios
Snippets/Source/RFSelectBlogViewController.h
<filename>Snippets/Source/RFSelectBlogViewController.h<gh_stars>10-100 // // RFSelectBlogViewController.h // Micro.blog // // Created by <NAME> on 4/26/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #define kPostToBlogSelectedNotification @"kPostToBlogSelectedNotificat...
microdotblog/microblog-ios
Snippets/Source/UIFont+Extras.h
<reponame>microdotblog/microblog-ios<gh_stars>10-100 // // UIFont+Extras.h // Micro.blog // // Created by <NAME> on 7/5/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface UIFont (Extras) + (CGFloat) rf_preferredTimelineFontSize; + (CGFloat) rf_preferredPostingF...
microdotblog/microblog-ios
Snippets/Source/RFUserCache.h
<gh_stars>10-100 // // RFUserCache.h // Micro.blog // // Created by <NAME> on 12/1/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFUserCache : NSObject + (NSDictionary*) user:(NSString*)user; + (void) setCache:(NSDictionary...
microdotblog/microblog-ios
Snippets/Source/RFSettingChoiceCell.h
<gh_stars>10-100 // // RFSettingChoiceCell.h // Snippets // // Created by <NAME> on 8/31/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFSettingChoiceCell : UITableViewCell @property (strong, nonatomic) IBOutlet UILabel* nameField; @property (strong, nonat...
microdotblog/microblog-ios
Snippets/Source/RFAccount.h
<gh_stars>10-100 // // RFAccount.h // Micro.blog // // Created by <NAME> on 9/5/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface RFAccount : NSObject @property (strong, nonatomic) NSString* username; + (NSArray *) allAccoun...
microdotblog/microblog-ios
Snippets/Source/RFAccountCell.h
// // RFAccountCell.h // Micro.blog // // Created by <NAME> on 9/5/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @class RFAccount; @interface RFAccountCell : UITableViewCell @property (strong, nonatomic) IBOutlet UIImageView* profileImageVie...
microdotblog/microblog-ios
Snippets/Source/RFBrowserActivity.h
<reponame>microdotblog/microblog-ios // // RFBrowserActivity.h // Micro.blog // // Created by <NAME> on 9/11/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFBrowserActivity : UIActivity @property (strong, nonatomic) NSURL* activityURL; @end
microdotblog/microblog-ios
Snippets/Source/RFFeedCell.h
// // RFFeedCell.h // Micro.blog // // Created by <NAME> on 2/2/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFFeedCell : UITableViewCell @property (strong, nonatomic) IBOutlet UILabel* urlField; @property (strong, nonatomic) IBOutlet UILabel* usernamesFi...
microdotblog/microblog-ios
Snippets/Source/RFExternalController.h
// // RFExternalController.h // Micro.blog // // Created by <NAME> on 2/27/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFExternalController : RFViewController <UITextFieldDelegate> @property (strong, nonatomic) IBOutlet UITextField* websiteField; @proper...
microdotblog/microblog-ios
Snippets/Source/RFTagmojiCell.h
// // RFTagmojiCell.h // Micro.blog // // Created by <NAME> on 8/9/19. // Copyright © 2019 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFTagmojiCell : UICollectionViewCell @property (strong, nonatomic) IBOutlet UILabel* emojiField; @property (strong, no...
microdotblog/microblog-ios
Snippets/Source/RFHelpController.h
// // RFHelpController.h // Snippets // // Created by <NAME> on 8/21/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import <MessageUI/MessageUI.h> @interface RFHelpController : RFViewController <MFMailComposeViewControllerDelegate> @property (strong, nonatomic) IBOut...
microdotblog/microblog-ios
Snippets/Source/RFMenuView.h
// // RFMenuView.h // Micro.blog // // Created by <NAME> on 6/30/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFMenuView : UIView @end
microdotblog/microblog-ios
Snippets/Source/RFUserController.h
<filename>Snippets/Source/RFUserController.h // // RFUserController.h // Snippets // // Created by <NAME> on 11/15/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import "RFTimelineController.h" @interface RFUserController : RFTimelineController @property (strong, nonatomic) NSString* userna...
microdotblog/microblog-ios
Snippets/Source/RFPhotosController.h
// // RFPhotosController.h // Micro.blog // // Created by <NAME> on 3/22/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import <Photos/Photos.h> #import <PhotosUI/PhotosUI.h> static NSString* const kPhotosDidCloseNotification = @"RFPhotosDidCloseNotification"; @inter...
microdotblog/microblog-ios
Snippets/Source/RFFiltersController.h
<gh_stars>10-100 // // RFFiltersController.h // Micro.blog // // Created by <NAME> on 3/26/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @class RFPhoto; @interface RFFiltersController : RFViewController <UIScrollViewDelegate> @property (strong, nonatomic) IBOutlet U...
microdotblog/microblog-ios
Snippets/Source/RFMenuController.h
// // RFMenuController.h // Snippets // // Created by <NAME> on 8/18/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import "RFViewController.h" @interface RFMenuController : RFViewController <UITableViewDelegate, UITableViewDataSource> @property (strong, nonatomic) I...
microdotblog/microblog-ios
Micro.blog Sharing/RFShareController.h
// // RFShareController.h // Micro.blog Sharing // // Created by <NAME> on 9/11/19. // Copyright © 2019 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFShareController : UINavigationController @end NS_ASSUME_NONNULL_END
microdotblog/microblog-ios
Shared/UUToolbox/UUImageView.h
<filename>Shared/UUToolbox/UUImageView.h // // UUImageView.h // Useful Utilities - UIImageView extensions // // (c) 2013, <NAME>. All Rights Reserved. // // Smile License: // You are free to use this code for whatever purposes you desire. The only requirement is that you smile everytime you use it. // // Contact: ...
microdotblog/microblog-ios
Snippets/Source/UIBarButtonItem+Extras.h
// // UIBarButtonItem+Extras.h // Snippets // // Created by <NAME> on 8/18/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface UIBarButtonItem (Extras) + (UIBarButtonItem *) rf_barButtonWithImageNamed:(NSString *)imageName targe...
microdotblog/microblog-ios
Snippets/Source/RFAutoCompleteCollectionViewCell.h
// // RFAutoCompleteCollectionViewCell.h // Micro.blog // // Created by <NAME> on 12/1/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFAutoCompleteCollectionViewCell : UICollectionViewCell @property(nonatomic, strong) IBOutlet UIIm...
microdotblog/microblog-ios
Snippets/Source/RFSettingsController.h
<reponame>microdotblog/microblog-ios // // RFSettingsController.h // Snippets // // Created by <NAME> on 9/1/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFSettingsController : RFViewController <UITableViewDataSource, UITableViewDelegate> @property (stron...
microdotblog/microblog-ios
Snippets/Source/RFFilterCell.h
<reponame>microdotblog/microblog-ios // // RFFilterCell.h // Micro.blog // // Created by <NAME> on 3/26/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @class RFPhoto; @class RFFilter; @interface RFFilterCell : UICollectionViewCell @property (strong, nonatomic) IBOutl...
microdotblog/microblog-ios
Snippets/Source/UIView+Extras.h
// // UIView+Extras.h // Micro.blog // // Created by <NAME> on 12/2/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UIView (Extras) - (CGFloat) rf_statusBarHeight; - (CGFloat) rf_statusBarAndNavigationHeight; - (CGFloat) rf_bottomSaf...
microdotblog/microblog-ios
Snippets/Source/RFThinLineView.h
// // RFThinLineView.h // Snippets // // Created by <NAME> on 8/22/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFThinLineView : UIView @property (strong, nonatomic) UIColor* lineColor; @property (assign, nonatomic) CGFloat offset; - (void) setupLineColo...
microdotblog/microblog-ios
Snippets/Source/RFFeedsController.h
// // RFFeedsController.h // Micro.blog // // Created by <NAME> on 2/2/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFFeedsController : RFViewController @property (strong, nonatomic) IBOutlet UITableView* draftOrPublishTable; @property (strong, nonatomic)...
microdotblog/microblog-ios
Shared/Carthage/ImagePicker.framework/Headers/ImagePicker-Swift.h
<filename>Shared/Carthage/ImagePicker.framework/Headers/ImagePicker-Swift.h // Generated by Apple Swift version 4.2.1 effective-4.1.50 (swiftlang-1000.11.42 clang-1000.11.45.1) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" #if !defined(__has_include) # define __has_include(x) 0 #endif #...
microdotblog/microblog-ios
Snippets/Source/RFBookmarkController.h
<reponame>microdotblog/microblog-ios // // RFBookmarkController.h // Micro.blog // // Created by <NAME> on 9/5/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFBookmarkController : UIViewController @property (strong, nonatomic) IBOu...
microdotblog/microblog-ios
Snippets/Source/RFNYTPhoto.h
// // RFNYTPhoto.h // Micro.blog // // Created by <NAME> on 8/14/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @import NYTPhotoViewer; NS_ASSUME_NONNULL_BEGIN @interface RFNYTPhoto : NSObject <NYTPhoto> // Redeclare all the properties as readwrite for sample/testin...
microdotblog/microblog-ios
Snippets/Source/RFCategoriesController.h
<gh_stars>10-100 // // RFCategoriesController.h // Snippets // // Created by <NAME> on 8/31/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFCategoriesController : RFViewController <UITableViewDataSource, UITableViewDelegate> @property (strong, nonatomic) I...
microdotblog/microblog-ios
Shared/UUToolbox/UUImage.h
<reponame>microdotblog/microblog-ios // // UUImage.h // Useful Utilities - UIImage extensions // // Created by Jonathan on 3/11/13. // // License: // You are free to use this code for whatever purposes you desire. The only requirement is that you smile everytime you use it. // // Contact: @cheesemaker or <EMAIL> ...
microdotblog/microblog-ios
Snippets/Source/RFFilter.h
// // RFFilter.h // Micro.blog // // Created by <NAME> on 3/26/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFFilter : NSObject @property (strong) NSString* name; @property (strong) CIFilter* ciFilter; + (RFFilter*) filterFromDictionary:(NSDictionary*)fi...
microdotblog/microblog-ios
Snippets/Source/RFPopupNotificationViewController.h
// // RFPopupNotificationViewController.h // Micro.blog // // Created by <NAME> on 5/17/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFPopupNotificationViewController : UIViewController + (void) show:(NSString*)body fromUsername:(NSString *)username inCon...
microdotblog/microblog-ios
Snippets/Source/RFHighlight.h
<filename>Snippets/Source/RFHighlight.h // // RFHighlight.h // Micro.blog // // Created by <NAME> on 9/12/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface RFHighlight : NSObject @property (strong, nonatomic) NSNumber* highli...
microdotblog/microblog-ios
Snippets/Source/RFAutoCompleteCache.h
<reponame>microdotblog/microblog-ios<filename>Snippets/Source/RFAutoCompleteCache.h // // RFAutoCompleteCache.h // Micro.blog // // Created by <NAME> on 11/30/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface RFAutoCompleteCac...
microdotblog/microblog-ios
Shared/UnzipKit/UZKFileInfo_Private.h
<filename>Shared/UnzipKit/UZKFileInfo_Private.h<gh_stars>10-100 // // UZKFileInfo_Private.h // UnzipKit // // @import Foundation; #import "unzip.h" @interface UZKFileInfo (Private) /** * Returns a UZKFileInfo instance for the given extended header data * * @param fileInfo The header data for a Zip file * @...
microdotblog/microblog-ios
Snippets/Source/RFConstants.h
// // RFConstants.h // Snippets // // Created by <NAME> on 8/25/15. // Copyright © 2015 Riverfold Software. All rights reserved. // static NSString* const kLoadTimelineNotification = @"RFLoadTimeline"; static NSString* const kOpenPostingNotification = @"RFOpenPosting"; static NSString* const kClosePostingNotificat...
microdotblog/microblog-ios
Snippets/Source/RFMacros.h
// // RFMacros.h // Snippets // // Created by <NAME> on 8/21/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #define RFDispatchThread(the_block) dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), the_block) #define RFDispatchMain(the_block) dispatch_sync(dispatch_get_...
microdotblog/microblog-ios
Snippets/Source/RFFeed.h
<reponame>microdotblog/microblog-ios // // RFFeed.h // Micro.blog // // Created by <NAME> on 2/4/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> @interface RFFeed : NSObject @property (strong) NSNumber* feedID; @property (strong) NSString* url; @property (str...
microdotblog/microblog-ios
Snippets/Source/RFMenuCell.h
<filename>Snippets/Source/RFMenuCell.h<gh_stars>10-100 // // RFMenuCell.h // Micro.blog // // Created by <NAME> on 8/12/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFMenuCell : UITableViewCell @property (strong, nonatomic) IBOutl...
microdotblog/microblog-ios
Snippets/Source/RFPostCell.h
// // RFPostCell.h // Micro.blog // // Created by <NAME> on 3/12/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @class RFPost; @interface RFPostCell : UITableViewCell <UICollectionViewDataSource, UICollectionViewDelegate> @property (strong, n...
microdotblog/microblog-ios
Snippets/Source/RFFeaturedPhoto.h
// // RFFeaturedPhoto.h // Micro.blog // // Created by <NAME> on 5/23/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> @interface RFFeaturedPhoto : NSObject @property (strong) NSString* username; @property (strong) NSString* imageURL; @end
microdotblog/microblog-ios
Snippets/Source/RFUpgradeController.h
<reponame>microdotblog/microblog-ios<gh_stars>10-100 // // RFUpgradeController.h // Micro.blog // // Created by <NAME> on 4/1/19. // Copyright © 2019 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN typedef void (^RFUpgradeCompletion)(BOOL canUpload); @interface RFUpgr...
microdotblog/microblog-ios
Snippets/Source/NYTPhotoViewer+Extras.h
// // NYTPhotoViewer+Extras.h // Micro.blog // // Created by <NAME> on 5/20/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> @import NYTPhotoViewer; NS_ASSUME_NONNULL_BEGIN @interface NYTPhotosViewController (Extras) @end NS_ASSUME_NONNULL_END
microdotblog/microblog-ios
Snippets/Source/RFReaderController.h
<gh_stars>10-100 // // RFReaderController.h // Micro.blog // // Created by <NAME> on 9/12/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFReaderController : UIViewController <UIWebViewDelegate> @property (strong, nonatomic) IBOutle...
microdotblog/microblog-ios
Snippets/Source/RFOptionsController.h
<reponame>microdotblog/microblog-ios // // RFOptionsController.h // Snippets // // Created by <NAME> on 8/25/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import "RFViewController.h" typedef enum { kOptionsPopoverDefault = 0, kOptionsPopoverWithUnfavorite = 1, kOp...
microdotblog/microblog-ios
Snippets/Source/RFMenuButton.h
<filename>Snippets/Source/RFMenuButton.h<gh_stars>10-100 // // RFMenuButton.h // Micro.blog // // Created by <NAME> on 4/28/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFMenuButton : UIButton @end
microdotblog/microblog-ios
Snippets/Source/RFAccountsController.h
// // RFAccountsController.h // Micro.blog // // Created by <NAME> on 9/4/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFAccountsController : UIViewController <UITableViewDataSource, UITableViewDelegate> @property (strong, nonatom...
microdotblog/microblog-ios
Snippets/Source/RFPhoto.h
// // RFPhoto.h // Micro.blog // // Created by <NAME> on 3/22/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import <Photos/Photos.h> #import <PhotosUI/PhotosUI.h> static NSString* const kAttachVideoNotification = @"RFAttachVideoNotification"; static NSString* const k...
microdotblog/microblog-ios
Snippets/Source/RFSwipeNavigationController.h
// // RFSwipeNavigationController.h // Micro.blog // // Created by <NAME> on 2/5/18. // Copyright © 2018 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> @interface RFSwipeNavigationController : UINavigationController @property (strong, nonatomic) UIPanGestureRecognizer* panGesture; @property ...
microdotblog/microblog-ios
CTidy/CTidy.h
<filename>CTidy/CTidy.h<gh_stars>10-100 // // CTidy.h // CTidy // // Created by <NAME> on 10/23/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> @interface CTidy : NSObject @end
microdotblog/microblog-ios
Snippets/Source/RFPhotoCell.h
// // RFPhotoCell.h // Micro.blog // // Created by <NAME> on 3/22/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import <Photos/Photos.h> #import <PhotosUI/PhotosUI.h> @class RFPhoto; @interface RFPhotoCell : UICollectionViewCell @property (strong, nonnull) IBOutlet...
microdotblog/microblog-ios
Snippets/Source/RFSignInController.h
// // RFSignInController.h // Snippets // // Created by <NAME> on 8/18/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import "RFViewController.h" @interface RFSignInController : UIViewController <UITextFieldDelegate> @property (strong, nonatomic) IBOutlet UITextField...
microdotblog/microblog-ios
Shared/UUToolbox/UUHttpClient.h
<reponame>microdotblog/microblog-ios<gh_stars>10-100 // // UUHttpClient.h // Useful Utilities - Lightweight Objective C HTTP Client // // License: // You are free to use this code for whatever purposes you desire. The only requirement is that you smile everytime you use it. // // Contact: @cheesemaker or <EMAIL> //...
microdotblog/microblog-ios
Snippets/RFSearchController.h
<filename>Snippets/RFSearchController.h // // RFSearchController.h // Micro.blog // // Created by <NAME> on 9/6/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import "RFTimelineController.h" NS_ASSUME_NONNULL_BEGIN @interface RFSearchController : RFTimelineController <UISearchBarDelegate> ...
microdotblog/microblog-ios
Snippets/Micro.blog-Bridging-Header.h
// // Use this file to import your target's public headers that you would like to expose to Swift. // #import "RFMenuView.h" #import "RFConstants.h"
microdotblog/microblog-ios
Snippets/Source/UITraitCollection+Extras.h
<filename>Snippets/Source/UITraitCollection+Extras.h<gh_stars>10-100 // // UITraitCollection+Extras.h // Micro.blog // // Created by <NAME> on 8/8/19. // Copyright © 2019 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UITraitCollection (Extras) + (BOOL) rf...
microdotblog/microblog-ios
Snippets/Source/RFTagmojiController.h
// // RFTagmojiController.h // Micro.blog // // Created by <NAME> on 8/9/19. // Copyright © 2019 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFTagmojiController : UIViewController <UICollectionViewDelegate, UICollectionViewDataSource> @property (strong,...
microdotblog/microblog-ios
Snippets/Source/RFDraftOrPublishCell.h
// // RFDraftOrPublishCell.h // Micro.blog // // Created by <NAME> on 4/18/21. // Copyright © 2021 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFDraftOrPublishCell : UITableViewCell @property (strong, nonatomic) IBOutlet UILabel* nameField; @property (s...
microdotblog/microblog-ios
Snippets/Source/RFSettings.h
// // RFSettings.h // Micro.blog // // Created by <NAME> on 5/13/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> @interface RFSettings : NSObject + (void) clearAllSettings; //BE VERY CAREFUL WITH THIS!!! + (BOOL) hasExternalBlog; + (BOOL) hasMicropubBlog; + ...
microdotblog/microblog-ios
Snippets/Source/RFPostController.h
// // RFPostController.h // Snippets // // Created by <NAME> on 8/18/15. // Copyright © 2015 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import <Social/Social.h> #import "RFViewController.h" @class RFFeedsController; @interface RFPostController : RFViewController <UITextViewDelegate, UID...
microdotblog/microblog-ios
Micro.blog Sharing/ShareViewController.h
// // ShareViewController.h // Micro.blog Sharing // // Created by <NAME> on 10/6/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> #import <Social/Social.h> @interface ShareViewController : SLComposeServiceViewController @end
microdotblog/microblog-ios
Snippets/Source/RFCategoryCell.h
<filename>Snippets/Source/RFCategoryCell.h // // RFCategoryCell.h // Micro.blog // // Created by <NAME> on 2/4/19. // Copyright © 2019 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFCategoryCell : UITableViewCell @property (strong, nonatomic) IBOutlet UI...
microdotblog/microblog-ios
Shared/UUToolbox/UUActionSheet.h
// // UUActionSheet.h // Useful Utilities - UIActionSheet extensions // // License: // You are free to use this code for whatever purposes you desire. The only requirement is that you smile everytime you use it. // // Contact: @cheesemaker or <EMAIL> #import <UIKit/UIKit.h> typedef void (^UUActionSheetDelegateBl...
microdotblog/microblog-ios
Snippets/Source/RFReaderWebView.h
<filename>Snippets/Source/RFReaderWebView.h // // RFReaderWebView.h // Micro.blog // // Created by <NAME> on 9/12/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFReaderWebView : UIWebView @end NS_ASSUME_NONNULL_END
microdotblog/microblog-ios
Snippets/Source/RFPost.h
<reponame>microdotblog/microblog-ios // // RFPost.h // Snippets // // Created by <NAME> on 3/24/19. // Copyright © 2019 Riverfold Software. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface RFPost : NSObject @property (strong) NSNumber* postID; @property (strong) NSStr...
microdotblog/microblog-ios
Snippets/Source/RFUsernameController.h
// // RFUsernameController.h // Micro.blog // // Created by <NAME> on 9/9/19. // Copyright © 2019 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RFUsernameController : UIViewController @property (strong, nonatomic) IBOutlet UITextField* usernameField; @pro...
microdotblog/microblog-ios
Snippets/Source/RFAllRepliesController.h
<gh_stars>10-100 // // AllRepliesController.h // Micro.blog // // Created by <NAME> on 4/22/21. // Copyright © 2021 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @class RFPost; @interface RFAllRepliesController : UIViewController <UITableViewDelegate, UITableViewDat...
microdotblog/microblog-ios
Snippets/Source/RFDiscoverController.h
// // RFDiscoverController.h // Micro.blog // // Created by <NAME> on 4/28/17. // Copyright © 2017 Riverfold Software. All rights reserved. // #import "RFTimelineController.h" @class RFTagmojiController; @interface RFDiscoverController : RFTimelineController <UICollectionViewDelegate, UICollectionViewDataSource,...
microdotblog/microblog-ios
Snippets/Source/RFEditPostController.h
<filename>Snippets/Source/RFEditPostController.h<gh_stars>10-100 // // RFEditPostController.h // Micro.blog // // Created by <NAME> on 3/25/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @class RFPost; @interface RFEditPostController : UIViewC...
microdotblog/microblog-ios
Snippets/Source/RFBookmarksController.h
// // RFBookmarksController.h // Micro.blog // // Created by <NAME> on 9/12/20. // Copyright © 2020 Riverfold Software. All rights reserved. // #import "RFTimelineController.h" NS_ASSUME_NONNULL_BEGIN @interface RFBookmarksController : RFTimelineController @property (strong, nonatomic) IBOutlet UIButton* highli...
mshobeyri/Pl-illustrator
src/fileio.h
<gh_stars>10-100 #ifndef FILEIO_H #define FILEIO_H #include <QObject> #include <QTemporaryDir> class FileIO : public QObject { Q_OBJECT public: Q_INVOKABLE QString read(const QString& filePath) const; Q_INVOKABLE bool write( const QString& filePath, const QString& jsonFi...
mshobeyri/Pl-illustrator
src/upnpmanager.h
#ifndef UPNPMANAGER_H #define UPNPMANAGER_H #include <QTimer> #include <QUdpSocket> class UpnpManager : public QUdpSocket { Q_OBJECT public: UpnpManager(); Q_INVOKABLE QString urls(); Q_INVOKABLE int freePort(); Q_INVOKABLE void startDiscovery(); Q_INVOKABLE void stopDiscovery(); void writ...
wgauvin/test_gps_client
test_gps.h
#ifndef __TEST_GPS_H__ #include <memory> #include <libgpsmm.h> namespace astrogruff { namespace gps { class GPSD { private: std::unique_ptr<gpsmm> gps; public: bool connect(); void poll(); }; } } #endif
graetzer/android-MensaPlanner
app/src/main/jni/de_rwth_aachen_comsys_assignment2_data_MealPlan.h
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class de_rwth_aachen_comsys_assignment2_data_MealPlan */ #ifndef _Included_de_rwth_aachen_comsys_assignment2_data_MealPlan #define _Included_de_rwth_aachen_comsys_assignment2_data_MealPlan #ifdef __cplusplus extern "C" { #endif /* * ...
graetzer/android-MensaPlanner
app/src/main/jni/HttpClient.c
#include "de_rwth_aachen_comsys_assignment2_data_MealPlan.h" #include <sys/time.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <arpa/inet.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include <stdbool.h> #include <zlib.h> #include <android/log.h> #de...
aakshintala/p2p-data-movement-benchmarks
Timer.h
<reponame>aakshintala/p2p-data-movement-benchmarks #pragma once #include <chrono> class Timer { public: Timer() { this->reset(); } void reset() { this->time = std::chrono::high_resolution_clock::now(); } double getElapsedMicroseconds() const { return std::chrono::duration_cast<std::chrono::microseconds...
aakshintala/p2p-data-movement-benchmarks
cudaUtils.h
/* * Copyright (c) 2017, NVIDIA CORPORATION. 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 without restriction, including without limitation * the rights to use...
ablevm/libable
host.h
typedef struct { void *n; able_port_t *p; uint32_t pc; void **l; uint32_t lc; able_core_t c; uint64_t ts; } able_host_t; int able_host_exec(able_host_t *host); int able_host_node_wait_shim(void *node, able_edge_t *edge, const struct timespec *time); int able_host_link_send_shim(void *link, void *data, size_t ...
ablevm/libable
link.h
<filename>link.h typedef struct { atomic_bool sl; able_port_t *p; uint32_t i; void *n; } able_link_t; int able_link_send_hold(able_link_t *link, uint16_t size, void **data); int able_link_send_done(able_link_t *link, uint16_t size); int able_link_send(able_link_t *link, void *data, uint16_t size); int able_link...
ablevm/libable
core.h
<filename>core.h typedef struct { uint8_t *b; size_t bc; uint64_t p; uint8_t i; int64_t *d; uint16_t dc; uint8_t dp; uint64_t *c; uint16_t cc; uint8_t cp; uint64_t *r; uint8_t rc; uint64_t ts; } able_core_t; int able_core_exec(able_core_t *core); #define ABLE_CORE_A(S, V) \ (((V) + ((S) - 1)) & -(S)) #...
ablevm/libable
edge.c
<reponame>ablevm/libable #include <stdatomic.h> #include "edge.h" #include <string.h> int able_edge_clip(able_edge_t *edge, void *data, size_t size) { if (atomic_load(&edge->rc) > 0) return 1; int z; z = 0; while (!atomic_compare_exchange_weak(&edge->sl, &z, 1)) { if (z == 2) return -1; z = 0; } if (ato...