repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
phwd/newsyc | Classes/HNKit/HNSession.h | //
// HNSession.h
// newsyc
//
// Created by <NAME> on 3/13/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#include "HNSessionAuthenticator.h"
@class HNUser, HNEntry, HNSubmission;
@interface HNSession : NSObject <HNSessionAuthenticatorDelegate> {
BOOL loaded;
HNSessionToken token;
... |
phwd/newsyc | Classes/Controllers/SessionProfileController.h | //
// SessionProfileController.h
// newsyc
//
// Created by <NAME> on 3/29/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "HNKit.h"
#import "ProfileController.h"
#import "LoginController.h"
@interface SessionProfileController : ProfileController <LoginControllerDelegate, UIActionShe... |
phwd/newsyc | Classes/Controllers/LoadingController.h | //
// LoadingController.h
// newsyc
//
// Created by <NAME> on 3/4/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "HNKit.h"
#import "ActivityIndicatorItem.h"
#import "PlacardButton.h"
@class LoadingIndicatorView;
@interface LoadingController : UIViewController <UIActionSheetDelegate,... |
phwd/newsyc | Classes/DTAttributedTextView/NSAttributedString+HTML.h | //
// NSAttributedString+HTML.h
// CoreTextExtensions
//
// Created by <NAME> on 1/9/11.
// Copyright 2011 <EMAIL>. All rights reserved.
//
@class NSAttributedString;
extern NSString *NSBaseURLDocumentOption;
extern NSString *NSTextEncodingNameDocumentOption;
@interface NSAttributedString (HTML)
- (id)initWithH... |
phwd/newsyc | Classes/Controllers/MainTabBarController.h | //
// MainTabBarController.h
// newsyc
//
// Created by <NAME> on 3/30/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "LoginController.h"
@class SubmissionListController, SessionProfileController, MoreController;
@interface MainTabBarController : UITabBarController <UIActionSheetDele... |
phwd/newsyc | Classes/DTAttributedTextView/DTTextAttachment.h | //
// NSTextAttachment.h
// CoreTextExtensions
//
// Created by Oliver on 14.01.11.
// Copyright 2011 D<EMAIL>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface DTTextAttachment : NSObject {
CGSize size;
id contents;
}
@property (nonatomic, assign) CGSize size;
@property (nonatomic, retain... |
phwd/newsyc | Classes/Categories/NSURL+Parameters.h | //
// NSURL+Parameters.h
// Telekinesis
//
// Created by <NAME> on 6/14/07.
// Copyright 2007 Xuzz Productions, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSURL (Parameters)
- (NSArray *)parameterArray;
- (NSDictionary *)parameterDictionary;
@end
|
phwd/newsyc | Classes/Controllers/CommentListController.h | //
// CommentListController.h
// newsyc
//
// Created by <NAME> on 3/5/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "EntryListController.h"
#import "ComposeController.h"
#import "EntryActionsView.h"
#import "DetailsHeaderView.h"
#import "LoginController.h"
@interface CommentListCon... |
phwd/newsyc | Classes/HNKit/HNEntry.h | <reponame>phwd/newsyc
//
// HNEntry.h
// newsyc
//
// Created by <NAME> on 3/4/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "HNObject.h"
@class HNUser;
@interface HNEntry : HNObject {
int points;
int children;
HNUser *submitter;
NSString *body;
NSString *posted;... |
phwd/newsyc | Classes/DTAttributedTextView/NSCharacterSet+HTML.h | //
// NSCharacterSet+HTML.h
// CoreTextExtensions
//
// Created by <NAME> on 1/15/11.
// Copyright 2011 <EMAIL>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSCharacterSet (HTML)
+ (NSCharacterSet *)tagNameCharacterSet;
@end
|
phwd/newsyc | Classes/DTAttributedTextView/DTLinkButton.h | <filename>Classes/DTAttributedTextView/DTLinkButton.h
//
// DTLinkButton.h
// CoreTextExtensions
//
// Created by <NAME> on 1/16/11.
// Copyright 2011 <EMAIL>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface DTLinkButton : UIButton
{
NSURL *_url;
}
@property (nonatomic, retain) NSURL *url... |
phwd/newsyc | Classes/Controllers/EntryListController.h | <filename>Classes/Controllers/EntryListController.h
//
// EntryListController.h
// newsyc
//
// Created by <NAME> on 3/5/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "LoadingController.h"
@interface EntryListController : LoadingController <UITableViewDelegate, UITableViewDataSource... |
phwd/newsyc | Classes/HNKit/HNSubmission.h | //
// HNSubmission.h
// newsyc
//
// Created by <NAME> on 3/30/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "HNKit.h"
#import "HNAPISubmission.h"
#define kHNSubmissionSuccessNotification @"kHNSubmissionSuccessNotification"
#define kHNSubmissionFailureNotification @"kHNSubmissionFai... |
phwd/newsyc | Classes/XML/XMLDocument.h | <filename>Classes/XML/XMLDocument.h
//
// XMLDocument.h
// newsyc
//
// Created by <NAME> on 3/10/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import <libxml/tree.h>
#import <libxml/parser.h>
#import <libxml/HTMLparser.h>
#import <libxml/xpath.h>
#import <libxml/xpathInternals.h>
#import ... |
phwd/newsyc | Classes/HNKit/HNKit.h | <reponame>phwd/newsyc<filename>Classes/HNKit/HNKit.h
//
// HNKit.h
// newsyc
//
// Created by <NAME> on 3/4/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
// This is the main header file for the HNKit "framework",
// which has the singular purpose of scraping Hacker News.
//
// HNKit depends ... |
phwd/newsyc | Classes/Controllers/BrowserController.h | //
// BrowserController.h
// newsyc
//
// Created by <NAME> on 3/7/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "InstapaperRequest.h"
#import "InstapaperSession.h"
#import "InstapaperLoginController.h"
#import "ProgressHUD.h"
#import "ActivityIndicatorItem.h"
#define kReadabilityB... |
phwd/newsyc | Classes/HNKit/HNSessionAuthenticator.h | <gh_stars>1-10
//
// HNSessionAuthenticator.h
// newsyc
//
// Created by <NAME> on 3/21/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "HNSession.h"
@protocol HNSessionAuthenticatorDelegate;
@interface HNSessionAuthenticator : NSObject {
NSURLConnection *connection;
id<... |
phwd/newsyc | Classes/Cells/CommentTableCell.h | <reponame>phwd/newsyc
//
// CommentTableCell.h
// newsyc
//
// Created by <NAME> on 3/5/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "ABTableViewCell.h"
@class HNEntry;
@interface CommentTableCell : ABTableViewCell {
HNEntry *comment;
}
@property (nonatomic, retain) HNEntry *c... |
phwd/newsyc | Classes/Cells/LoadingTableCell.h | //
// LoadingTableCell.h
// newsyc
//
// Created by <NAME> on 5/28/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import "LoadingIndicatorView.h"
#import "ABTableViewCell.h"
@interface LoadingTableCell : ABTableViewCell {
LoadingIndicatorView *indicator;
}
@end
|
phwd/newsyc | Classes/DTAttributedTextView/UIColor+HTML.h | <filename>Classes/DTAttributedTextView/UIColor+HTML.h
//
// UIColor+HTML.h
// CoreTextExtensions
//
// Created by <NAME> on 1/9/11.
// Copyright 2011 <EMAIL>. All rights reserved.
//
@interface UIColor (HTML)
+ (UIColor *)colorWithHexString:(NSString *)hex;
+ (UIColor *)colorWithHTMLName:(NSString *)name;
- (CGF... |
phwd/newsyc | Classes/HNKit/HNAPIRequest.h | <filename>Classes/HNKit/HNAPIRequest.h
//
// HNAPIRequest.h
// newsyc
//
// Created by <NAME> on 3/4/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
@interface HNAPIRequest : NSObject {
id target;
SEL action;
NSMutableData *received;
NSURLConnection *connection;
HNPageType ... |
phwd/newsyc | Classes/Controllers/SubmissionURLComposeController.h | <gh_stars>1-10
//
// SubmissionURLComposeController.h
// newsyc
//
// Created by <NAME> on 3/31/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import "ComposeController.h"
#import "HNKit.h"
@interface SubmissionURLComposeController : ComposeController {
UITextField *titleField;
}
@end
|
phwd/newsyc | Classes/DTAttributedTextView/DTCoreTextLayoutFrame.h | //
// DTCoreTextLayoutFrame.h
// CoreTextExtensions
//
// Created by <NAME> on 1/24/11.
// Copyright 2011 <EMAIL>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreText/CoreText.h>
@class DTCoreTextLayouter;
@interface DTCoreTextLayoutFrame : NSObject
{
CGRect _frame;
CTFrameRef _textF... |
jamesreinders/syclacademy | Utilities/include/image_conv.h | /*
SYCL Academy (c)
SYCL Academy is licensed under a Creative Commons
Attribution-ShareAlike 4.0 International License.
You should have received a copy of the license along with this
work. If not, see <http://creativecommons.org/licenses/by-sa/4.0/>.
*/
#ifndef __IMAGE_CONV_H__
#define __IMAGE_CONV_H__
#define ... |
keonjoe/chrono | src/chrono_vehicle/wheeled_vehicle/tire/FialaTire.h | <gh_stars>1-10
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2015 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the... |
keonjoe/chrono | src/chrono_granular/utils/ChGranularSphereDecomp.h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2019 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
keonjoe/chrono | src/chrono_fsi/ChFsiInterface.h | <gh_stars>0
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the to... |
keonjoe/chrono | src/chrono_models/vehicle/hmmwv/HMMWV_PacejkaTire.h | <reponame>keonjoe/chrono
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE f... |
keonjoe/chrono | src/chrono_vehicle/tracked_vehicle/test_rig/ChTrackTestRig.h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
keonjoe/chrono | src/chrono_vehicle/wheeled_vehicle/suspension/ChHendricksonPRIMAXX.h | <filename>src/chrono_vehicle/wheeled_vehicle/suspension/ChHendricksonPRIMAXX.h
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a B... |
keonjoe/chrono | src/chrono/core/ChRealtimeStep.h | <filename>src/chrono/core/ChRealtimeStep.h
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
/... |
keonjoe/chrono | src/chrono_models/vehicle/hmmwv/HMMWV_DoubleWishbone.h | <filename>src/chrono_models/vehicle/hmmwv/HMMWV_DoubleWishbone.h<gh_stars>1-10
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a B... |
keonjoe/chrono | src/chrono/fea/ChVisualizationFEAmesh.h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
keonjoe/chrono | src/demos/fea/FEAcables.h | <reponame>keonjoe/chrono<filename>src/demos/fea/FEAcables.h<gh_stars>0
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style... |
keonjoe/chrono | src/chrono_vehicle/wheeled_vehicle/utils/ChWheeledVehicleIrrApp.h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
keonjoe/chrono | src/chrono_vehicle/utils/ChVehicleIrrApp.h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
keonjoe/chrono | src/chrono_vehicle/wheeled_vehicle/tire/Pac02Tire.h | <filename>src/chrono_vehicle/wheeled_vehicle/tire/Pac02Tire.h
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license ... |
keonjoe/chrono | src/demos/vehicle/demo_TractorTrailer/subsystems/TT_Tractor.h | <gh_stars>1-10
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the... |
keonjoe/chrono | src/chrono_models/vehicle/hmmwv/HMMWV_Pac89Tire.h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
keonjoe/chrono | src/chrono_vehicle/tracked_vehicle/ChIdler.h | <reponame>keonjoe/chrono
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE f... |
keonjoe/chrono | src/chrono_granular/physics/ChGranularTriMesh.h | <filename>src/chrono_granular/physics/ChGranularTriMesh.h
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2019 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that... |
keonjoe/chrono | src/chrono_vehicle/wheeled_vehicle/suspension/DoubleWishbone.h | <filename>src/chrono_vehicle/wheeled_vehicle/suspension/DoubleWishbone.h
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-sty... |
keonjoe/chrono | src/chrono/solver/ChIterativeSolverVI.h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
franc6/GetDataFromNomadJukeboxImage | getDataFromNomadJukeboxImage.c | <gh_stars>0
/*
* I have an old Creative Nomad Jukebox MP3 player. It still works, but I
* can't easily change or retrieve the contents -- the software for this
* doesn't work with modern operating systems, and is hard to find. There is a
* program for linux and macOS that is supposed to interface with the device,... |
SimonBolducBeaudoin/Omp_extra | src/omp_extra_py.h | #pragma once
#include <omp_extra.h>
#include <pybind11/pybind11.h>
namespace py = pybind11;
using namespace pybind11::literals;
// See : https://www.openmp.org/spec-html/5.0/openmpsu32.html#x51-710002.5.3
void init_omp_extra(py::module &m); |
SimonBolducBeaudoin/Omp_extra | src/omp_extra.h | #pragma once
#if defined(__CYGWIN__) || defined(__MINGW64__)
// see number from: sdkddkver.h
// https://docs.microsoft.com/fr-fr/windows/desktop/WinProg/using-the-windows-headers
#define _WIN32_WINNT 0x0602 // Windows 8
#define WIN32_LEAN_AND_MEAN //Faster compilation (remove some unused API)
#include <w... |
SimonBolducBeaudoin/Omp_extra | src/python_submodule.h | #pragma once
#include <omp_extra_py.h> |
dotnet-maestro-bot/core-setup | src/uwp/Host/UWPHost/UWPHost.h | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//
// Base class for UWP hosts WinRT and Exe hosts
//
#ifndef __UWPHOST_H__
#define __UWPHOST_H__
#include "HostEnvironment.h"
#include "corerror.h"
class UWPHo... |
dotnet-maestro-bot/core-setup | src/uwp/Host/UWPHost/HostEnvironment.h | <filename>src/uwp/Host/UWPHost/HostEnvironment.h
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//
// CoreCLR Host that is used in activating CoreCLR in
// UWP apps' F5/development time scenarios
//
#ifndef... |
caiomcg/GreedyAlgorithms | src/Greedy/Greedy.h | <filename>src/Greedy/Greedy.h<gh_stars>0
#pragma once
#include <vector>
#include "Graph.h"
class Greedy {
public:
Greedy(){}
virtual ~Greedy() {}
virtual std::vector<std::string> solve(Graph* graph) = 0;
}; |
caiomcg/GreedyAlgorithms | src/Greedy/Prim/Prim.h | <gh_stars>0
#pragma once
#include <vector>
#include "Greedy.h"
class Prim : public Greedy {
public:
~Prim() override;
std::vector<std::string> solve(Graph* graph) override;
}; |
caiomcg/GreedyAlgorithms | src/Graph/Graph.h | /**
* @file Graph.h
*
* @class Graph
*
* @brief Graph implementation
*
* @license
*
* MIT License
*
* Copyright (c) 2017 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Soft... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Network/UCTNetwork.h | //
// UCTNetwork.h
// UCToutiaoClone
//
// Created by lzy on 16/9/14.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
#define UCTNetworkManagerClassString @"UCTNetworkManager"
#define NETWORK_REQUEST_TIMEOUT_INTERVAL 20
@class UCTNetworkManager;
typedef NS_ENUM(NSUInteger, UCT... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Utils/ZYHArticleDateFormatter.h | <reponame>liuzhiyi1992/UCToutiaoClone<gh_stars>100-1000
//
// ZYHArticleDateFormatter.h
// UCToutiaoClone
//
// Created by lzy on 16/9/21.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ZYHArticleDateFormatter : NSObject
+ (NSDateFormatter *)shareFormatter;
+ (NSStr... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/CollectionViewCell/SpecialNewsCollectionViewCell.h | //
// SpecialNewsCollectionViewCell.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/20.
// Copyright © 2016年 lzy. All rights reserved.
//
#import "UCTNewsCollectionViewCell.h"
@interface SpecialNewsCollectionViewCell : UCTNewsCollectionViewCell
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/Home/SubscribeController.h | <reponame>liuzhiyi1992/UCToutiaoClone
//
// SubscribeController.h
// UCToutiaoClone
//
// Created by lzy on 16/10/9.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SubscribeController : UIViewController
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/CollectionViewCell/SingleImgNewsCollectionViewCell.h | <reponame>liuzhiyi1992/UCToutiaoClone
//
// SingleImgNewsCollectionViewCell.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/13.
// Copyright © 2016年 lzy. All rights reserved.
//
#import "UCTNewsCollectionViewCell.h"
@interface SingleImgNewsCollectionViewCell : UCTNewsCollectionViewCell
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Model/Home/ZYHArticleModel.h | <gh_stars>100-1000
//
// ZYHArticleModel.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/18.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ZYHArticleModel : NSObject
@property (copy, nonatomic) NSString *articleId;
@property (copy, nonatomic) NSString *recoid;
@... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Manager/MetadataManager.h | //
// MetadataManager.h
// UCToutiaoClone
//
// Created by zhiyi on 16/10/28.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
@interface MetadataManager : NSObject
+ (instancetype)shareManager;
- (void)prepareLocationInfo;
- (CLLocationCoor... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Model/Home/ZYHChannelModel.h | <reponame>liuzhiyi1992/UCToutiaoClone
//
// ZYHChannelModel.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/14.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ZYHChannelModel : NSObject
@property (copy, nonatomic) NSString *channelId;
@property (copy, nonatomic) ... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Network/NetworkManager.h | //
// NetworkManager.h
// UCToutiaoClone
//
// Created by lzy on 16/9/17.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NetworkManager : NSObject
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/TabBar/UCTAnimTabBarItem.h | <reponame>liuzhiyi1992/UCToutiaoClone
//
// UCTAnimTabBarItem.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/30.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UCTAnimTabBarItem : UIView
@property (strong, nonatomic) UIButton *mainButton;
@property (strong, nonatomic) UIL... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/UCTHomeSearchRefreshView.h | <filename>UCToutiaoClone/View/Home/UCTHomeSearchRefreshView.h
//
// UCTHomeSearchRefreshView.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/22.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UCTHomeSearchRefreshView : UIView
- (CGFloat)searchRefreshViewHeight;
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/CollectionViewCell/SingleTitleNewsCollectionViewCell.h | <reponame>liuzhiyi1992/UCToutiaoClone
//
// SingleTitleNewsCollectionViewCell.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/19.
// Copyright © 2016年 lzy. All rights reserved.
//
#import "UCTNewsCollectionViewCell.h"
@interface SingleTitleNewsCollectionViewCell : UCTNewsCollectionViewCell
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/WebView/UCTWebViewController.h | <reponame>liuzhiyi1992/UCToutiaoClone
//
// UCTWebViewController.h
// UCToutiaoClone
//
// Created by zhiyi on 16/10/12.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UCTViewController.h"
@interface UCTWebViewController : UCTViewController
- (instancetype)initWithRequestUrlStr... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/WeatherAnimatedView/UCTCloudWeatherView.h | //
// UCTCloudWeatherView.h
// UCToutiaoClone
//
// Created by zhiyi on 16/10/27.
// Copyright © 2016年 lzy. All rights reserved.
//
#import "UCTWeatherAnimatedView.h"
@interface UCTCloudWeatherView : UCTWeatherAnimatedView
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/TabBar/UCTHomeTabBarItem.h | //
// UCTHomeTabBarItem.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/30.
// Copyright © 2016年 lzy. All rights reserved.
//
#import "UCTAnimTabBarItem.h"
extern NSString * const NOTIFICATION_NAME_HOME_PAGE_DID_LOAD_DATA;
typedef NS_ENUM(NSUInteger, HomeTabBarItemStatus) {
HomeTabBarItemStatusWeather = 0... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/ZYHChannelItemCell.h | <reponame>liuzhiyi1992/UCToutiaoClone
//
// ZYHCategoryItemCell.h
// UCToutiaoClone
//
// Created by lzy on 16/9/13.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UCTCollectionViewCell.h"
@class ZYHChannelModel;
@interface ZYHChannelItemCell : UCTCollectionViewCell
@property (... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/Base/UCTViewController.h | <filename>UCToutiaoClone/Controller/Base/UCTViewController.h
//
// UCTViewController.h
// UCToutiaoClone
//
// Created by zhiyi on 16/10/12.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UCTViewController : UIViewController
- (void)configureNavigationBar;
- (void)clickBackBu... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/Home/ZYHPageTableViewController.h | //
// ZYHomePageTableViewController.h
// UCToutiaoClone
//
// Created by lzy on 16/9/12.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
extern const char kHomeTableViewCellClass;
@interface ZYHPageTableViewController : UIViewController
@property (copy, nonatomic) NSString *channelId;
- ... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/Home/MineController.h | <reponame>liuzhiyi1992/UCToutiaoClone<filename>UCToutiaoClone/Controller/Home/MineController.h
//
// MineController.h
// UCToutiaoClone
//
// Created by zhiyi on 16/10/10.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MineController : UIViewController
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/CollectionViewCell/UCTNewsCollectionViewCell.h | <filename>UCToutiaoClone/View/Home/CollectionViewCell/UCTNewsCollectionViewCell.h<gh_stars>100-1000
//
// UCTNewsTableViewCell.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/19.
// Copyright © 2016年 lzy. All rights reserved.
//
#import "UCTCollectionViewCell.h"
#import "UCTOPMarkView.h"
#define TITLE_LABEL_FO... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Network/Service/NewsService.h | //
// NewsService.h
// UCToutiaoClone
//
// Created by lzy on 16/9/14.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "UCTNetwork.h"
@interface NewsService : NSObject
+ (void)queryNavChannelWithcompletion:(void(^)(UCTNetworkResponseStatus status, NSArray *channelList))... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/CollectionViewCell/UCTCollectionViewCell.h | //
// UCTCollectionViewCell.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/14.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UCTCollectionViewCell : UICollectionViewCell
+ (NSString *)cellReuseIdentifier;
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/CollectionViewCell/ThreeImgNewsCollectionViewCell.h | <filename>UCToutiaoClone/View/Home/CollectionViewCell/ThreeImgNewsCollectionViewCell.h
//
// ThreeImgNewsCollectionViewCell.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/13.
// Copyright © 2016年 lzy. All rights reserved.
//
#import "UCTNewsCollectionViewCell.h"
@interface ThreeImgNewsCollectionViewCell : UCT... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/Home/VideoController.h | //
// VideoController.h
// UCToutiaoClone
//
// Created by zhiyi on 16/10/10.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VideoController : UIViewController
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/TabBar/UCTTabBarController.h | //
// UCTTabBarController.h
// UCToutiaoClone
//
// Created by lzy on 16/10/8.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UCTHomeTabBarItem.h"
@interface UCTTabBarController : UITabBarController
- (void)mainHomeTabBarItemChangeAnimStatus:(HomeTabBarItemStatus)status;
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Network/UCTNetworkManager.h | //
// UCTNetworkManager.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/14.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "UCTNetwork.h"
@interface UCTNetworkManager : NSObject <UCTNetworkDelegate>
+ (NSDictionary *)zyNetworkAppendDefaultParam:(NSDictionary *)param... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/TabBar/UCTSubscribeTabBarItem.h | //
// UCTSubscribeTabBarItem.h
// UCToutiaoClone
//
// Created by lzy on 16/10/9.
// Copyright © 2016年 lzy. All rights reserved.
//
#import "UCTAnimTabBarItem.h"
@interface UCTSubscribeTabBarItem : UCTAnimTabBarItem
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Network/Service/CommonService.h | //
// CommonService.h
// UCToutiaoClone
//
// Created by zhiyi on 16/10/27.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "UCTNetwork.h"
@interface CommonService : NSObject
+ (void)queryLocationInfoWithLatitude:(double)latitude
longitude:(d... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/TableViewCell/UCTTableViewCell.h | <reponame>liuzhiyi1992/UCToutiaoClone<gh_stars>100-1000
//
// UCTTableViewCell.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/19.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UCTTableViewCell : UITableViewCell
+ (NSString *)cellReuseIdentifier;
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/Base/UCTNavigationController.h | //
// UCTNavigationController.h
// UCToutiaoClone
//
// Created by zhiyi on 16/10/12.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UCTNavigationController : UINavigationController
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/Home/MainHomeController.h | //
// MainHomeController.h
// UCToutiaoClone
//
// Created by lzy on 16/9/12.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
#define INDEX_CHANNEL_ID @"100"
#define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width
#define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height
ex... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/ZYNavChannelView.h | <filename>UCToutiaoClone/View/Home/ZYNavChannelView.h
//
// ZYNavCategoryView.h
// UCToutiaoClone
//
// Created by lzy on 16/9/12.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZYNavChannelView : UICollectionView
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/UCTClipAnimatedView.h | //
// UCTClipAnimatedView.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/26.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UCTClipAnimatedView : UIView
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Network/Service/WeatherService.h | //
// WeatherService.h
// UCToutiaoClone
//
// Created by zhiyi on 16/10/27.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "UCTNetwork.h"
@interface WeatherService : NSObject
+ (void)queryWeatherInfoWithCity:(NSString *)city
completion:(void (^)(... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Controller/Home/ZYHPageCollectionViewController.h | <reponame>liuzhiyi1992/UCToutiaoClone<filename>UCToutiaoClone/Controller/Home/ZYHPageCollectionViewController.h
//
// ZYHPageCollectionViewController.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/21.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol ZYHPageCollectionViewCont... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/Utils/UICollectionView+Bounds.h | <gh_stars>100-1000
//
// UICollectionView+Bounds.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/22.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UICollectionView (Bounds)
@property (assign, nonatomic) BOOL isForbidSpringback; //是否禁止回弹状态
@property (assign, nonatom... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/UCTOPMarkView.h | <filename>UCToutiaoClone/View/Home/UCTOPMarkView.h
//
// UCTOPMarkView.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/30.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
#define OP_MARK_IMAGE_TITLE_MARGIN 2
@interface UCTOPMarkView : UIView
- (void)updateWithTitle:(NSString *)title ... |
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/TabBar/UCTMineTabBarItem.h | //
// UCTMineTabBarItem.h
// UCToutiaoClone
//
// Created by lzy on 16/10/9.
// Copyright © 2016年 lzy. All rights reserved.
//
#import "UCTAnimTabBarItem.h"
@interface UCTMineTabBarItem : UCTAnimTabBarItem
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/UCTHomeSearchBar.h | <filename>UCToutiaoClone/View/Home/UCTHomeSearchBar.h
//
// UCTHomeSearchBar.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/22.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UCTHomeSearchBar : UIView
@end
|
liuzhiyi1992/UCToutiaoClone | UCToutiaoClone/View/Home/WeatherAnimatedView/UCTWeatherAnimatedView.h | <filename>UCToutiaoClone/View/Home/WeatherAnimatedView/UCTWeatherAnimatedView.h<gh_stars>100-1000
//
// UCTWeatherAnimatedView.h
// UCToutiaoClone
//
// Created by zhiyi on 16/9/27.
// Copyright © 2016年 lzy. All rights reserved.
//
#import <UIKit/UIKit.h>
extern NSString * const NOTIFICATION_NAME_BEGIN_WEATHER_AN... |
lmyhit/x50-ABB | src/x50_interface/src/constants.h | /*
* License:The MIT License (MIT)
*
* Copyright (c) 2013,2014 <NAME>
* State Key Laboratory of Robotics and System, Harbin Institute of Technology
*
* 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 So... |
janmannsbart23/OBDShiftIndicator | Code/ESP32/OBDShiftIndicatorFirmware/src/EPINDefines.h | #ifndef PINDEFINES_H
#define PINDEFINES_H
namespace ePIN
{
typedef enum
{
CAN_RX = 34,
CAN_TX = 27,
CAN_EN = 25,
CAN_NSTB = 26,
I2C_SDA = 21,
I2C_SCL = 22,
DIGITAL_LEDS = 32,
GPIO2 = 13,
GPIO1 = 14,
GPIO0 = 33,
VSPI_CS = 5,
VSPI_CLK = 18,
VSPI_MISO = 19,
VSPI_MOSI = 23,
STATUS_LED = 17
} ... |
Diperblue/FunctionsAndPointersC | main.c | <filename>main.c
#include<stdio.h>
#include<stdlib.h>
char* get_string(size_t length) { // size_t = unsigned int, char* - Por que? Simples, o programa retornara um char point, é por isso o char devera ser um ponteiro.
char* my_str = calloc(length, sizeof(char)); // char* - Retornara um ponteiro para o endereço de me... |
manas0522/sci-cpy | C/Gauss Elimination/Gauss-elimination.c | # include <stdio.h>
# include <stdlib.h>
int main ()
{
int n,i,j,k,temp;
float div;
printf ("Enter the number of unknowns: ");
scanf("%d",&n);
float Soln[n], sum;
float **AugM=(float**)malloc((n)*sizeof(float*));
for (i=0;i<n;i++) {
AugM[i]=(float*)malloc((n+1)*sizeof(float));
printf ("Enter th... |
manas0522/sci-cpy | C/Simpson's Rule/simpson.c | <gh_stars>1-10
#include<stdio.h>
#include<math.h>
//Function we want to integrate
double f(double x){
double z=x+2; // we will change the operation we want here
return z;
}
void main(){
int s;
double a,b,y,x,sum=0,integral;
printf("Enter the no. of even sub-intervals: ");
scanf("%d",&s);
printf("\nEnt... |
manas0522/sci-cpy | C/Successive Bisection/SuccessiveBisection.c | <gh_stars>1-10
#include<stdio.h>
#include<math.h>
#include<process.h>
#include<stdlib.h>
//EPSILON is a very small quantity representing the maximun allowed error
#define EPSILON 0.000001
//Equation to be solved is f(x)=0
//Modify the equation to be solved by changing f(x)
//f(x) returns the value of f(x) at a given ... |
manas0522/sci-cpy | C/Newton Raphson/NewtonRaphson.c | #include<stdio.h>
#include<math.h>
#include<process.h>
#include<stdlib.h>
//EPSILON is a very small quantity representing the maximun allowed error
#define EPSILON 0.000001
//Equation to be solved is f(x)=0
//Modify the equation to be solved by changing f(x) and f1(x)
//f(x) returns the value of f(x) at a given value... |
manas0522/sci-cpy | C/Lagrange's Interpolation/Lagrange.c | <reponame>manas0522/sci-cpy<filename>C/Lagrange's Interpolation/Lagrange.c<gh_stars>1-10
# include <stdio.h>
# include <stdlib.h>
int main ()
{
int n,i,j;
printf("**** Lagrange's Method of Interpolation**** \n\n\n");
printf ("Enter the number of observations: ");
scanf("%d",&n);
float x[n],f[n],result=0.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.