repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
robot-dreams/secp256k1-zkp | src/modules/musig/tests_impl.h | /**********************************************************************
* Copyright (c) 2018 <NAME> *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
****************************************... |
nvh/DataSourceable | DataSourceable/DataSourceable.h | <filename>DataSourceable/DataSourceable.h<gh_stars>10-100
//
// DataSourceable.h
// DataSourceable
//
// Created by <NAME> on 13/10/15.
// Copyright © 2015 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for DataSourceable.
FOUNDATION_EXPORT double DataSourceableVersionNumber;
... |
EverydayStep/ESAlbumManager | ESAlbumManager/ESAlbumManager/ESAlbumManager.h | //
// ESAlbumManager.h
// ESAlbumManager
//
// Created by codeLocker on 2017/7/26.
// Copyright © 2017年 codeLocker. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Photos/Photos.h>
@interface ESAlbumManager : NSObject
/**
相册当前访问权限
@return 访问权限
*/
+ (PHAuthorizationStatus)authorizationStat... |
EverydayStep/ESAlbumManager | ESAlbumManager/ESAlbumManager/ESAlbumManager+ESVideo.h | <reponame>EverydayStep/ESAlbumManager
//
// ESAlbumManager+ESVideo.h
// ESAlbumManager
//
// Created by codeLocker on 2017/7/27.
// Copyright © 2017年 codeLocker. All rights reserved.
//
#import "ESAlbumManager.h"
@interface ESAlbumManager (ESVideo)
#pragma mark - Image
/**
获取视屏的缩略图
@param asset 资源文件
@param t... |
EverydayStep/ESAlbumManager | ESAlbumManager/ESAlbumManager/ESAlbumManager+ESAsset.h | <filename>ESAlbumManager/ESAlbumManager/ESAlbumManager+ESAsset.h
//
// ESAlbumManager+ESAsset.h
// ESAlbumManager
//
// Created by codeLocker on 2017/7/27.
// Copyright © 2017年 codeLocker. All rights reserved.
//
#import "ESAlbumManager.h"
@interface ESAlbumManager (ESAsset)
#pragma mmark - Query Asset
/**
查询照片库... |
EverydayStep/ESAlbumManager | ESAlbumManager/ESAlbumManager/ESAlbumManager+ESImage.h | //
// ESAlbumManager+ESImage.h
// ESAlbumManager
//
// Created by codeLocker on 2017/7/27.
// Copyright © 2017年 codeLocker. All rights reserved.
//
#import "ESAlbumManager.h"
@interface ESAlbumManager (ESImage)
#pragma mark - 缩略图
/**
获取图片做略图
@param asset 资源文件
@param targetSize 缩略图的尺寸
@param isSync 是否线程同步执行
... |
EverydayStep/ESAlbumManager | ESAlbumManager/ESAlbumManager/ESAlbumManager+ESCollection.h | //
// ESAlbumManager+ESCollection.h
// ESAlbumManager
//
// Created by codeLocker on 2017/7/27.
// Copyright © 2017年 codeLocker. All rights reserved.
//
#import "ESAlbumManager.h"
@interface ESAlbumManager (ESCollection)
#pragma mark - 用户创建相册
/**
查询用户创建的标题为title的相册
@param title 相册标题
@return 用户创建的相册
*/
+ (PHF... |
EverydayStep/ESAlbumManager | ESAlbumManager/ESImageCell.h | <gh_stars>0
//
// ESImageCell.h
// ESAlbumManager
//
// Created by codeLocker on 2017/7/27.
// Copyright © 2017年 codeLocker. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ESImageCell : UICollectionViewCell
@property (nonatomic, strong) UIImageView *imageView;
@end
|
godlikezack/ScanQRCode | ScanQRCode/Lib/QRCodeViewController.h | <filename>ScanQRCode/Lib/QRCodeViewController.h<gh_stars>0
//
// QRCodeViewController.h
// ScanQRCode
//
// Created by zack on 2016/11/16.
// Copyright © 2016年 HF. All rights reserved.
//
#import <UIKit/UIKit.h>
@class QRCodeViewController;
@protocol QRCodeViewControllerDelegate <NSObject>
/**
* 读取到结果时会调用下面的代理... |
dionrhys/JAMasterServer | src/NetAdr.h | <reponame>dionrhys/JAMasterServer
#ifndef _NETADR_H
#define _NETADR_H
/**
* Possible host address types.
*/
enum NetAdrType
{
ADR_BAD,
ADR_IP,
ADR_IP6
};
/**
* Structure to uniquely identify a remote/local host.
*
* @warning Please remember that UDP packets are totally insecure and can
*... |
dionrhys/JAMasterServer | src/config.h | <gh_stars>1-10
#ifndef _CONFIG_H
#define _CONFIG_H
#include "jams_local.h"
typedef enum {
OPT_BOOL,
OPT_INT,
OPT_FLOAT,
OPT_STRING, // All parsed strings are malloc'd
} optionType_t;
typedef struct {
char *name;
char *defaultValue;
void *ptr;
optionType_t type;
} option_t;
/**
* All... |
dionrhys/JAMasterServer | src/InfoString.h |
#ifndef _INFOSTRING_H
#define _INFOSTRING_H
#include "jams_local.h"
class InfoString
{
public:
static const size_t MAX_INFO_STRING = 1024;
static const size_t MAX_INFO_KEY = 1024;
static const size_t MAX_INFO_VALUE = 1024;
InfoString(char *initialString);
void GetValue(const char *key, char *... |
dionrhys/JAMasterServer | src/rcon.h | <gh_stars>1-10
// JAMS RCON Command System
// <3 Q3
/**
* stop
* Gracefully shutdown the server remotely
*
* Usage:
* stop
*
* WARNING: You won't get it back up with rcon again :P
*/
/**
* restart
* Gracefully restart the server remotely
*
* Usage:
* restart
*/
/**
* ... |
dionrhys/JAMasterServer | src/platform.h |
#ifndef _SYS_PUBLIC_H
#define _SYS_PUBLIC_H
#include "jams_local.h"
// OS-dependent functions
// Initialise OS-dependent stuff
// Return non-zero for error
int Sys_Init(void);
typedef enum {
_PRINT_NONE,
PRINT_ERROR,
PRINT_WARNING,
PRINT_NORMAL, // Normal, Warning and Error logged/printed by ... |
dionrhys/JAMasterServer | src/Command.h | /**************************************************
*
* [ JAMasterServer by Didz ]
*
* Copyright (c) 2011, <NAME>
* All Rights Reserved.
*
* Stand-Alone Command Tokenizer - Header
*
* Heavily ported from Q3, should match JKA.
* You can spawn as many of these as you wish.
*
****************************... |
dionrhys/JAMasterServer | src/cJSON.h | /*
JSON framework for C
Copyright (c) 2010 Lourens "BobaFett" Elzinga
Based on cJSON by <NAME>
Changes:
* Cleaned up code formatting to make it much more readable
* Renamed print to serialize
* Serializer now uses a stringbuilder instead of a tremendous amount of mallocs
* Added usage of ... |
dionrhys/JAMasterServer | src/oob_cmds.h | <gh_stars>1-10
#ifndef _OOBCMDS_H
#define _OOBCMDS_H
#include "jams_local.h"
void JAMS_Heartbeat(Command *cmd, NetAdr *from, Q3OobMsg *msg);
void JAMS_StatusResponse(Command *cmd, NetAdr *from, Q3OobMsg *msg);
void JAMS_GetServers(Command *cmd, NetAdr *from, Q3OobMsg *msg);
#endif |
dionrhys/JAMasterServer | src/Server.h |
#ifndef _SERVER_H
#define _SERVER_H
#include "jams_local.h"
// * Servers should be stored in the heap with chunked/adjustive allocation
// (allocate more or less depending on traffic, needs some throttling of course)
// * Server spaces should be allocated in chunks of 256/512/1024?
// * A maximum amount... |
dionrhys/JAMasterServer | src/net.h |
#ifndef _NET_H
#define _NET_H
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <IPHlpApi.h>
#pragma comment(lib, "Ws2_32.lib")
#endif
#ifdef __linux__
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <a... |
dionrhys/JAMasterServer | src/Q3OobMsg.h | <reponame>dionrhys/JAMasterServer<gh_stars>1-10
// todo comments
// Q3OobMsg class for reading/writing Q3 oob messages
#ifndef _Q3OOBMSG_H
#define _Q3OOBMSG_H
#include "jams_local.h"
class Q3OobMsg
{
public:
Q3OobMsg(char *data, size_t length);
~Q3OobMsg();
// General Methods
size_t GetSize... |
dionrhys/JAMasterServer | src/utils.h |
#ifndef _UTILS_H
#define _UTILS_H
// strncpy with guaranteed trailing zero
void Strncpyz(char *dest, const char *src, size_t destsize);
// strcat with guaranteed trailing zero
void Strcat(char *dest, const char *src, size_t destsize);
// Compare two strings case-sensitive
int Strcmp(const char *s1, con... |
dionrhys/JAMasterServer | src/jams_local.h | <reponame>dionrhys/JAMasterServer<gh_stars>1-10
#ifndef _JAMS_LOCAL_H
#define _JAMS_LOCAL_H
/**
* Notes
*
* - On Windows, the window title should show current registered servers :)
* - On *nix, handle signals to shutdown the server gracefully
* - On Windows, use a control handler to shutdown
* - Col... |
hexiaole1994/llvm-frontend-pl0e | pl0e-jit.h | #ifndef LLVM_EXECUTIONENGINE_ORC_PL0JIT_H
#define LLVM_EXECUTIONENGINE_ORC_PL0JIT_H
#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Mangler.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/DynamicLibrary.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Execution... |
hexiaole1994/llvm-frontend-pl0e | pl0e-lib.c | <reponame>hexiaole1994/llvm-frontend-pl0e
//===------------------------------------------------===//
// The library for running the generated object file
// Usage: see readme file for details
//===-----------------------------------------------===//
#include <stdio.h>
#include <math.h>
void putf(double val)
{
printf("... |
atbj505/WebSocket | Socket/Socket/RYWebSocketManager.h | <filename>Socket/Socket/RYWebSocketManager.h
//
// RYWebSocketManager.h
// Socket
//
// Created by Robert on 2017/3/11.
// Copyright © 2017年 Robert. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface RYWebSocketManager : NSObject
+ (instancetype)shareInstance;
- (void)connect;
- (void)disConne... |
atbj505/WebSocket | Socket/Socket/RYSocketManager.h | <reponame>atbj505/WebSocket<gh_stars>0
//
// RYSocketManager.h
// Socket
//
// Created by Robert on 2017/1/11.
// Copyright © 2017年 Robert. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface RYSocketManager : NSObject
+ (instancetype)shareInstance;
- (void)connect;
- (void)disConnect;
- (void)... |
atbj505/WebSocket | Socket/Socket/ViewController.h | <gh_stars>0
//
// ViewController.h
// Socket
//
// Created by Robert on 2017/1/11.
// Copyright © 2017年 Robert. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
dvdmuckle/musikcube | src/musikcube/cursespp/Colors.h | //////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2017 musikcube team
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redist... |
dvdmuckle/musikcube | src/core/sdk/ISchema.h | <filename>src/core/sdk/ISchema.h
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2017 musikcube team
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following cond... |
dvdmuckle/musikcube | src/musikcube/app/version.h | <filename>src/musikcube/app/version.h
#pragma once
#include <string>
#define VERSION_MAJOR 0
#define VERSION_MINOR 51
#define VERSION_PATCH 0
#define VERSION "0.51.0"
namespace musik {
namespace cube {
static inline std::string userAgent() {
#ifdef WIN32
static const std::string PLATFORM = "w... |
dvdmuckle/musikcube | src/core/sdk/HttpClient.h | //////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2017 musikcube team
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redist... |
dvdmuckle/musikcube | src/musikcube/app/layout/MainLayout.h | <gh_stars>0
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2017 musikcube team
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//... |
ipasimulator/libobjc2 | asmconstants.h | #ifdef __LP64__
#define DTABLE_OFFSET 64
#define SMALLOBJ_BITS 3
#define SHIFT_OFFSET 0
#define DATA_OFFSET 8
#define SLOT_OFFSET 32
#else
#define DTABLE_OFFSET 32
#define SMALLOBJ_BITS 1
#define SHIFT_OFFSET 0
#define DATA_OFFSET 8
#define SLOT_OFFSET 16
#endif
#define SMALLOBJ_MASK ((1<<SMALLOBJ_... |
ipasimulator/libobjc2 | lock.h | <filename>lock.h<gh_stars>1-10
/**
* libobjc requires recursive mutexes. These are delegated to the underlying
* threading implementation. This file contains a VERY thin wrapper over the
* Windows and POSIX mutex APIs.
*/
#ifndef __LIBOBJC_LOCK_H_INCLUDED__
#define __LIBOBJC_LOCK_H_INCLUDED__
#ifdef WIN32
#defin... |
ipasimulator/libobjc2 | loader.c | #include <stdlib.h>
#include <assert.h>
#include "objc/runtime.h"
#include "objc/objc-auto.h"
#include "objc/objc-arc.h"
#include "lock.h"
#include "loader.h"
#include "visibility.h"
#ifdef ENABLE_GC
#include <gc/gc.h>
#endif
#include <stdio.h>
/**
* Runtime lock. This is exposed in
*/
PRIVATE mutex_t runtime_mute... |
ipasimulator/libobjc2 | dtable.c | <reponame>ipasimulator/libobjc2<gh_stars>1-10
#define __BSD_VISIBLE 1
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <errno.h>
#include "objc/runtime.h"
#include "objc/hooks.h"
#include "sarray2.h"
#include "selector.h"
#include "class.h"
#include "lock.h"
#include "method_list.h"
#include "slot_po... |
ipasimulator/libobjc2 | selector.h | #ifndef OBJC_SELECTOR_H_INCLUDED
#define OBJC_SELECTOR_H_INCLUDED
/**
* Structure used to store the types for a selector. This allows for a quick
* test to see whether a selector is polymorphic and allows enumeration of all
* type encodings for a given selector.
*
* This is <= the size of an objc_selector, so we ... |
ipasimulator/libobjc2 | msvc/block_to_imp_winobjc.c | <filename>msvc/block_to_imp_winobjc.c
#include "objc/runtime.h"
#include "../visibility.h"
/* These are stub implementations of the block->imp->block API functions.
* Until we can emit the block trampolines at build time (like iOS appears to),
* we'll have to live without these functions.
*/
IMP imp_implementation... |
ipasimulator/libobjc2 | msvc/debug_constants.h | <reponame>ipasimulator/libobjc2
#ifndef DBG_SKIP
// The line number 0xF00F00 (here in decimal) is a signal to the debugger that the following line should be skipped.
#define DBG_SKIP 15732480
#endif
#ifndef DBG_FOLLOW
// The line number 0xFEEFEE (in decimal below) signals to the debugger that the line should be skipped... |
ipasimulator/libobjc2 | class_table.c | #include "objc/runtime.h"
#include "objc/hooks.h"
#include "objc/developer.h"
#include "alias.h"
#include "class.h"
#include "method_list.h"
#include "selector.h"
#include "lock.h"
#include "ivar.h"
#include "dtable.h"
#include "visibility.h"
#include <stdlib.h>
#include <assert.h>
void objc_register_selectors_from_cl... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Model/UI/Botao/ButtonOn.h | <gh_stars>0
//
// ButtonOn.h
// DJI O-SDK
//
// Created by <NAME> on 29/08/18.
// Copyright © 2018 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ButtonOn : UIButton
@property (nonatomic, assign) BOOL inverterCorDePress;
@end
|
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Model/UI/Botao/ButtonOff.h | //
// ButtonOff.h
// DJI O-SDK
//
// Created by <NAME> on 29/08/18.
// Copyright © 2018 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ButtonOff : UIButton
@property (nonatomic, assign) BOOL inverterCorDePress;
@end
|
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Utils/Protocols/StatusProtocol.h | //
// StatusProtocol.h
// DJI O-SDK
//
// Created by <NAME> on 30/08/18.
// Copyright © 2018 DJI. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol IStatusProtocolDelegate <NSObject>
@optional
- (void) changeStatus:(BOOL) status;
@end
|
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/New Group/MOSJSONDynamicController.h | //
// MOSJSONDynamicController.h
// MOS
//
//
// Copyright © 2016 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "MOSSection.h"
@interface MOSJSONDynamicController : UITableViewController {
NSMutableDictionary * _dicCell;
}
@property (weak, nonatomic) AppDelegate *a... |
saulogatti/UX | Framework/DJIUXSDK.framework/Headers/DUXColorWaveformWidget.h | //
// DUXColorWaveformWidget.h
// DJIUXSDK
//
// Created by <NAME> on 5/7/18.
// Copyright © 2018 DJI. All rights reserved.
//
#import <DJIUXSDK/DJIUXSDK.h>
@class DUXFPVViewController;
/**
* Display:
* Widget to display color waveform of live video.
*/
@interface DUXColorWaveformWidget : DUXWidget
/**
... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Model/Objetos/TimerCommand.h | <filename>Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Model/Objetos/TimerCommand.h
//
// TimerCommand.h
// UXSDKOCSample
//
// Created by <NAME> on 03/01/19.
// Copyright © 2019 DJI. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface TimerCommand : NSObject
@prope... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Model/UI/MOSDynamicTableViewCell.h | <reponame>saulogatti/UX
//
// MOSDynamicTableViewCell.h
// MOS
//
//
// Copyright © 2016 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
@class MOSAction;
typedef void (^MOSGoActionBlock)(NSNumber *cmdId, NSArray *arguments);
@interface MOSDynamicTableViewCell : UITableViewCell
@property (weak, nonatomic)... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Utils/Suporte.h | <reponame>saulogatti/UX
//
// Suporte.h
// UXSDKOCSample
//
// Created by <NAME> on 02/01/19.
// Copyright © 2019 DJI. All rights reserved.
//
@import UIKit;
NS_ASSUME_NONNULL_BEGIN
@interface Suporte : NSObject
@property (nonatomic, strong) NSMutableDictionary * listTimer;
@property (nonatomic, assign) NSInteg... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/AppDelegate.h | <gh_stars>0
//
// AppDelegate.h
// UXSDKOCSample
//
// Created by DJI on 14/4/2017.
// Copyright © 2017 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
@class MOSModel;
@class MOSProductCommunicationManager;
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/New Group/MOSMainTabViewController.h | //
// MOSMainTabViewController.h
// MOS
//
//
// Copyright © 2016 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
@interface MOSMainTabViewController : UITabBarController
@property (weak, nonatomic) AppDelegate *appDelegate;
@end
|
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Network/GerenciadorTimer.h | //
// GerenciadorTimer.h
// UXSDKOCSample
//
// Created by <NAME> on 28/01/19.
// Copyright © 2019 DJI. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface GerenciadorTimer : NSObject
+ (GerenciadorTimer *)getInstancia;
- (void) play;
- (void) pause;
- (void) restart;
... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/New Group/ConfigTimerTableViewController.h | <gh_stars>0
//
// ConfigTimerTableViewController.h
// UXSDKOCSample
//
// Created by <NAME> on 03/01/19.
// Copyright © 2019 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface ConfigTimerTableViewController : UITableViewController<UITextFieldDelegate>
@end
NS_ASSUME_NONNULL... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Model/UI/Botao/Botao.h | //
// Botao.h
// UXSDKOCSample
//
// Created by <NAME> on 07/11/18.
// Copyright © 2018 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface Botao : UIButton
@end
NS_ASSUME_NONNULL_END
|
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Utils/Enum.h |
//
// Enum.m
// DJI O-SDK
//
// Created by <NAME> on 25/08/18.
// Copyright © 2018 DJI. All rights reserved.
//
@import UIKit;
typedef enum {
ValvulaUmAberta = 11,
ValvulaUmFechada = 10,
ValvulaDoisAberta = 21,
ValvulaDoisFechada = 20,
ValvulaTresAberta = 31,
ValvulaTresFechada = 30,
... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Model/MOSSection.h | //
// MOSSection.h
// MOS
//
//
// Copyright © 2016 DJI. All rights reserved.
//
#import <Foundation/Foundation.h>
@class MOSAction;
@interface MOSSection : NSObject
@property (strong, nonatomic) NSString *name;
@property (strong, nonatomic) NSMutableArray <MOSAction *> *actions;
- (instancetype)initWithName:(N... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/New Group/MOSLogConsoleViewController.h | //
// MOSLogConsoleViewController.h
// MOS
//
//
// Copyright © 2016 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
@interface MOSLogConsoleViewController : UIViewController
@property (weak, nonatomic) AppDelegate *appDelegate;
@property (weak, nonatomic) IBOutlet UITextView *logView... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Network/MOSProductCommunicationManager.h | <gh_stars>0
//
// MOSProductCommunicationManager.h
// MOS
//
//
// Copyright © 2016 DJI. All rights reserved.
//
#import <Foundation/Foundation.h>
@import DJISDK;
@class AppDelegate;
NS_ASSUME_NONNULL_BEGIN
typedef void (^MOSAckBlock)(NSData *data, NSError * _Nullable error);
@interface MOSProductCommunicationM... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Model/MOSModel.h | //
// MOSModel.h
// MOS
//
//
// Copyright © 2016 DJI. All rights reserved.
//
#import <Foundation/Foundation.h>
@class MOSSection;
typedef void(^MOSModelLogChangedBlock)();
@interface MOSModel : NSObject
/*********************************************************************************/
#pragma mark - JSON-Bas... |
saulogatti/UX | Framework/DJIUXSDK.framework/Headers/DUXStorageCapacityChecklistItem.h | //
// DUXStorageCapacityChecklistItem.h
// DJIUXSDK
//
// Copyright © 2016 DJI. All rights reserved.
//
#import <DJIUXSDK/DUXPreflightChecklistItem.h>
/**
* Preflight checklist item that reports the storage remaining for photo and video
* capture. This item will always report ready to fly.
*/
@interface DUXS... |
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Utils/ColorSuporte.h | //
// ColorSuporte.h
// DJI O-SDK
//
// Created by <NAME> on 29/08/18.
// Copyright © 2018 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ColorSuporte : NSObject
+ (UIColor*) ColorDefaultButtonOn;
+ (UIColor*) ColorDefaultButtonOff;
@end
|
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/New Group/CronometroViewController.h | <gh_stars>0
//
// CronometroViewController.h
// UXSDKOCSample
//
// Created by <NAME> on 29/11/18.
// Copyright © 2018 DJI. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface CronometroViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
|
saulogatti/UX | Sample Code/ObjcSampleCode/UXSDKOCSample/Oficial5/Model/MOSAction.h | <reponame>saulogatti/UX
//
// MOSAction.h
// MOS
//
//
// Copyright © 2016 DJI. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MOSAction : NSObject
@property (strong, nonatomic) NSString *key;
@property (strong, nonatomic) NSString *label;
@property (strong, nonatomic) NSString *informatio... |
rrainey/DSKY-matic | src/test/alarm-panel-test.c | <reponame>rrainey/DSKY-matic
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include <unistd.h>
#include <stdint.h>
#include <time.h>
#include <sys/ioctl.h>
#include "linux/i2c-dev.h"
/**
* seven bit device address (binary): 011 1000
*/
#define I2C_ALARM_PANEL_ADDR... |
rrainey/DSKY-matic | src/yaDSKY2/DSKYmaticIF.h | /*
* DSKY-matic driver interface for Raspberry Pi OS
*
* Copyright (c) 2020, <NAME>
*
* This file is part of the DSKY-matic project. All software in that project
* is release via the GPL v2 license. See src/SOFTWARE-LICENSE.txt. Hardware and
* artistic elements are covered by a separate CC-BY-SA license.
*
... |
rrainey/DSKY-matic | src/yaDSKY2/ChannelQueue.h | /*
* DSKY-matic driver interface for Raspberry Pi OS
*
* Copyright (c) 2020, <NAME>
*
* This file is part of the DSKY-matic project. All software in that project
* is release via the GPL v2 license. See src/SOFTWARE-LICENSE.txt. Hardware and
* artistic elements are covered by a separate CC-BY-SA licens... |
jarvanh/HyperFT | Prj-Linux/LandmarkTracking.h | #ifndef ZEUSEESFACETRACKING_H
#define ZEUSEESFACETRACKING_H
//#include <opencv2/opencv.hpp>
//#include <thread>
#include "mtcnn.h"
#include "time.h"
#include "colotracker.h"
cv::Rect boundingRect(const std::vector<cv::Point>& pts) {
if (pts.size() > 1)
{
int xmin = pts[0].x;
int ymin = pts[0].y;
int xmax = pt... |
jarvanh/HyperFT | Prj-Win/3rd/ncnn/include/modelbin.h | <filename>Prj-Win/3rd/ncnn/include/modelbin.h
// Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compl... |
jarvanh/HyperFT | Prj-Linux/colotracker.h | #ifndef COLOTRACKER_H
#define COLOTRACKER_H
//#include "cv.h"
//#include "highgui.h"
#include "opencv/cv.h"
#include "opencv/highgui.h"
#include <iostream>
using namespace std;
using namespace cv;
class ColorTracker
{
private:
double bbox_x;
double bbox_y;
double bbox_width;
double bbox_height;
... |
jarvanh/HyperFT | Prj-Android/app/src/main/cpp/LandmarkTracking.h | #ifndef ZEUSEESFACETRACKING_H
#define ZEUSEESFACETRACKING_H
#include <opencv2/opencv.hpp>
#include <thread>
#include "mtcnn.h"
#include "time.h"
#include <android/log.h>
namespace Shape{
template <typename T> class Rect{
public:
Rect(){}
Rect(T x,T y,T w,T h) {
this->x = x;
... |
cmkcoin/cmkcore | src/qt/forms/ui_darksendconfig.h | /********************************************************************************
** Form generated from reading UI file 'darksendconfig.ui'
**
** Created by: Qt User Interface Compiler version 5.5.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
************************************... |
davidebreso/etherdfs-client | src/etherdfs.c | <filename>src/etherdfs.c
/*
* EtherDFS - a network drive for DOS running over raw ethernet
* http://etherdfs.sourceforge.net
*
* Copyright (C) 2017, 2018 <NAME>
* Copyright (c) 2020 <NAME>
* Copyright (C) 2021 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this sof... |
davidebreso/etherdfs-client | src/version.h | /* program version and date */
#define PVER "0.9.3.1"
#define PDATE "2017,2018"
#define MODATE "2020"
#define DBDATE "2021,2022"
/* protocol version */
#define PROTOVER 2
|
davidebreso/etherdfs-client | src/chint.h | /* this is a copy of the _chain_intr() function, borrowed as-is from the
* source code of OpenWatcom 1.9 (bld/clib/intel/a/chint086.asm)
* the reason I'm doing this is to have it inside my own code segment, so I
* can use it from within the TSR after dropping all libc */
/* original declaration:
_WCRTLINK extern vo... |
davidebreso/etherdfs-client | src/globals.h | <gh_stars>1-10
/*
* This file is part of the etherdfs project.
* http://etherdfs.sourceforge.net
*
* Copyright (C) 2017 <NAME>
* Copyright (C) 2021 <NAME>
*
* Contains all global variables used by etherdfs.
*/
#ifndef GLOBALS_SENTINEL
#define GLOBALS_SENTINEL
/* set DEBUGLEVEL to 0, 1 or 2 to turn on debug mo... |
davidebreso/etherdfs-client | src/dosstruc.h | <reponame>davidebreso/etherdfs-client
/*
* This file is part of the etherdfs project.
* http://etherdfs.sourceforge.net
*
* Copyright (C) 2017 <NAME>
*
* Contains definitions of DOS structures used by etherdfs.
*/
#ifndef DOSSTRUCTS_SENTINEL
#define DOSSTRUCTS_SENTINEL
/* make sure structs are packed tightly ... |
davidebreso/etherdfs-client | src/resident.c | <filename>src/resident.c
/*
* EtherDFS - a network drive for DOS running over raw ethernet
* http://etherdfs.sourceforge.net
*
* Copyright (C) 2017, 2018 <NAME>
* Copyright (c) 2020 <NAME>
* Copyright (C) 2021 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this sof... |
davidebreso/etherdfs-client | src/genmsg.c | <filename>src/genmsg.c
/*
* This file is part of the EtherDFS project.
* http://etherdfs.sourceforge.net
*
* Copyright (C) 2017 <NAME>, 2021 <NAME>
*
* genmsg generates C files that contain assembly for outputting to screen
* every string that etherdfs might need to output.
*
* The assembly part is based on th... |
ppiecuch/gd_imagetools | register_types.h | void register_gd_imagetools_types();
void unregister_gd_imagetools_types();
|
ppiecuch/gd_imagetools | classes/image_blender.h | <reponame>ppiecuch/gd_imagetools
#ifndef GODOT_IMAGE_BLENDER_H
#define GODOT_IMAGE_BLENDER_H
#include "core/image.h"
class ImageBlender : public Reference {
GDCLASS(ImageBlender, Reference);
protected:
static void _bind_methods();
public:
enum BlendEquation {
FUNC_ADD,
FUNC_SUBTRACT,
FUNC_REVERSE_SUBTRACT,... |
TangZhiZhen/libva | va/va_enc_av1.h | <gh_stars>0
/*
* Copyright (c) 2021 Intel 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 rig... |
xiaohaichun/paddle-mobile | src/operators/kernel/central-arm-func/batchnorm_arm_func.h | <gh_stars>1-10
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ap... |
xiaohaichun/paddle-mobile | src/operators/math/gru_compute.h | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... |
xiaohaichun/paddle-mobile | metal/paddle-mobile-demo/paddle-mobile-demo/LoadPointerViewController.h | //
// LoadPointerViewController.h
// paddle-mobile-demo
//
// Created by Xiao,Haichun on 2018/9/19.
// Copyright © 2018年 orange. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LoadPointerViewController : UIViewController
@end
|
xiaohaichun/paddle-mobile | src/operators/math/pool_3x3.h | <filename>src/operators/math/pool_3x3.h
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2... |
xiaohaichun/paddle-mobile | src/operators/kernel/central-arm-func/mul_arm_func.h | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
xiaohaichun/paddle-mobile | src/operators/kernel/central-arm-func/fusion_fc_arm_func.h | <filename>src/operators/kernel/central-arm-func/fusion_fc_arm_func.h
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.... |
xiaohaichun/paddle-mobile | src/framework/loader.h | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
xiaohaichun/paddle-mobile | src/framework/executor.h | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
xiaohaichun/paddle-mobile | src/operators/math/activation_functions.h | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
xiaohaichun/paddle-mobile | src/framework/tensor.h | <gh_stars>0
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... |
xiaohaichun/paddle-mobile | src/operators/math/gru_kernel.h | <reponame>xiaohaichun/paddle-mobile
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
... |
xiaohaichun/paddle-mobile | src/operators/kernel/central-arm-func/pool_arm_func.h | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
xiaohaichun/paddle-mobile | src/operators/math/gru_cpu_kernel.h | <gh_stars>1-10
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ap... |
xiaohaichun/paddle-mobile | src/operators/kernel/central-arm-func/multiclass_nms_arm_func.h | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
xiaohaichun/paddle-mobile | src/operators/fill_constant_op.h | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
xiaohaichun/paddle-mobile | src/fpga/common/driver.h | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
xiaohaichun/paddle-mobile | src/io/api_paddle_mobile.h | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... |
xiaohaichun/paddle-mobile | src/operators/math/math_function.h | <gh_stars>0
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... |
luxomansilla/flutter_api | linux/include/flutter_api/flutter_api_plugin.h | #ifndef FLUTTER_PLUGIN_FLUTTER_API_PLUGIN_H_
#define FLUTTER_PLUGIN_FLUTTER_API_PLUGIN_H_
#include <flutter_linux/flutter_linux.h>
G_BEGIN_DECLS
#ifdef FLUTTER_PLUGIN_IMPL
#define FLUTTER_PLUGIN_EXPORT __attribute__((visibility("default")))
#else
#define FLUTTER_PLUGIN_EXPORT
#endif
typedef struct _FlutterApiPlugin... |
kriskate/motor-on-roller-blind-ws | src/MotorsSetup.h | #include <ArduinoJson.h>
#include "WebSocketsServer.h"
#include <Stepper_28BYJ_48.h>
int M1_1 = 13;
int M1_2 = 12;
int M1_3 = 14;
int M1_4 = 27;
Stepper_28BYJ_48 stepper_1(M1_1, M1_2, M1_3, M1_4); //Initiate stepper driver
String action; //Action manual/auto
int path = 0; //Direction of blind (1 = down, 0 = stop, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.