text stringlengths 4 6.14k |
|---|
//
// TABSegmentedControl.h
// TABSegmentedControl
//
// Created by Dale Webster on 12/12/2016.
// Copyright © 2016 TabApps. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for TABSegmentedControl.
FOUNDATION_EXPORT double TABSegmentedControlVersionNumber;
//! Project version string fo... |
#include <assert.h>
#include <pthread.h>
#include <unist.h>
#include "rpc_engine.h"
static na_class_t *network_class = NULL;
static na_context_t *na_context = NULL;
static hg_context_t *sgdb_context = NULL;
static hg_class_t *sgdb_class = NULL;
static pthread_t sgdb_progress_tid;
static int sgdb_progress_shutdown_f... |
/**
******************************************************************************
* @file DemoDatalog.h
* @author MEMS Application Team
* @version V2.1.0
* @date 01-September-2017
* @brief Header for DemoDatalog.c
*******************************************************... |
//
// XGSMarkdownElement.h
// TextKitPlayground
//
// Created by Julien Grimault on 13/10/13.
// Copyright (c) 2013 XiaoGouSoftware. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XGSMarkdownTagType.h"
/**
This is the base class providing common data for all MarkdownTag implementation.
Subcl... |
//
// DAViewController.h
// DAScratchPadExample
//
// Created by David Levi on 5/31/13.
// Copyright (c) 2013 Double Apps Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DAViewController : UIViewController
@end
|
/*
* Copyright (c) 2010-2014 OTClient <https://github.com/edubart/otclient>
*
* 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... |
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2014 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompa... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpiimpl.h"
/* -- Begin Profiling Symbol Block for routine MPI_Type_vector */
#if defined(HAVE_PRAGMA_WEAK)
#pragma weak MPI_Type_vector = PMPI... |
//
// AppDelegate.h
// CollectionViewLayout
//
// Created by 夏远全 on 2017/3/3.
// Copyright © 2017年 夏远全. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
#pragma once
#include <ppltasks.h>
#include <boost/signals2.hpp>
#include <boost/bind.hpp>
#include "VosVideo.Communication/CommunicationManager.h"
#include "DeviceConfigurationRequest.h"
#include "DeviceConfigurationResponse.h"
namespace vosvideo
{
namespace devicemanagement
{
enum class DeviceConfi... |
#ifndef UTILS_H
#define UTILS_H
#include <random>
#include <string>
#include <time.h>
#include <vector>
#include "feStats.h"
class feUtils {
public:
std::mt19937 rand;
feUtils() {
rand.seed(time(NULL));
}
feUtils(std::string s) {
std::seed_seq seed(s.begin(), s.end());
rand.seed(seed);
}
int... |
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include "temp.h"
#include "fans.h"
#define HISTORY_LEN 6
#define MAX_SENSORS 10
#define SLEEP_TIME 1
#define FAN_ON_TEMPERATURE 75
#define FAN_OFF_TEMPERATURE 65
volatile int need_exit = 0;
void restore_fans(int signo) {
need_exit ... |
#pragma once
void slack::api::ApiBase::run(const std::string &path,
const jsonDoc ¶ms,
const std::function<void(const std::string&)> & callback)
{
auto httpClient = std::shared_ptr<HttpClient>(new HttpClient(this, client->Service(), path, params, callba... |
/* lzo1f.h -- public interface of the LZO1F compression algorithm
This file is part of the LZO real-time data compression library.
Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2000 Markus Franz Xaver Johannes Oberhume... |
#include "stdint.h"
#include "occa/cBase.hpp"
#define OCCA_ARG_COUNT(...) OCCA_ARG_COUNT2(__VA_ARGS__, \
50,49,48,47,46,45,44,43,42,41, \
40,39,38,37,36,35,34,33,32,31, \
3... |
#ifndef VITA_IMPORT_H
#define VITA_IMPORT_H
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
/* These fields must always come at the beginning of the NID-bearing structs */
typedef struct {
char *name;
uint32_t NID;
} vita_imports_common_fields;
typedef struct {
char *name;
uint32_t NID;
} vita_import... |
/* - MuzicZapper - Copyright (C) 2011-2017 Sebastien Vavassori
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (t... |
/*
* protocol_manager.h
*
* Created on: 2016/4/15
* Author: gcy
*/
#ifndef _MANAGER_PROTOCOL_H_
#define _MANAGER_PROTOCOL_H_
#define START_FLAG (0xAA66)
#define MAX_IMEI_LENGTH (15)
enum
{
CMD_LOGIN = 1,
CMD_IMEI_DATA = 2
};
#pragma pack(push, 1)
/*
* Mess... |
//
// UIScrollView+APParallaxHeader.h
//
// Created by Mathias Amnell on 2013-04-12.
// Copyright (c) 2013 Apping AB. All rights reserved.
//
#import <UIKit/UIKit.h>
@class APParallaxView;
@class APParallaxShadowView;
#pragma mark UIScrollView Category
@interface UIScrollView (APParallaxHeader)
- (void)addParal... |
#ifndef INCLUDED_haxe_Timer
#define INCLUDED_haxe_Timer
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,Timer)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES Timer_obj : public hx::Object{
public:
typedef hx::Object super;
typedef Timer_obj OBJ_;
Timer_obj();
Void __construct(Float time);
... |
//
// ViewController.h
// PiconSampleProject
//
// Created by naoty on 2013/11/12.
// Copyright (c) 2013年 Naoto Kaneko. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: android/libcore/luni/src/main/java/java/nio/NioUtils.java
//
#ifndef _JavaNioNioUtils_H_
#define _JavaNioNioUtils_H_
#include "J2ObjC_header.h"
@class IOSByteArray;
@class JavaIoFileDescriptor;
@class JavaNioByteBuffer;
@class JavaNioChannelsFileCh... |
//
// IVVAPIConstants.h
// AwesomeCurrencyConverter
//
// Created by Vladimir Ignatov on 04/03/2017.
// Copyright © 2017 Ignatov inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#pragma mark - API endpoints
extern NSString * const IVVAPIBaseURL;
extern NSString * const IVVCurrencyRatesURL;
#pragma... |
//
// Copyright (c) 2008-2016 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mod... |
/*
Copyright (c) 2012 Martin Sustrik All rights reserved.
Copyright (c) 2013 GoPivotal, Inc. All rights reserved.
Copyright 2015 Garrett D'Amore <garrett@damore.org>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (t... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <vector>
#include "DexInstruction.h"
extern std::vector<DexOpcode> all_dex_opcodes;
extern std::vector<... |
#pragma once
#include "UnrealEnginePython.h"
PyObject *py_ue_pawn_get_controller(ue_PyUObject *, PyObject *);
|
// Check if already included
#ifndef _WIN_L_SLIDER_
#define _WIN_L_SLIDER_
#include <_lua/lua.lunar.h>
#include <_lua/lua.class.gadget.h>
#include <_gadget/gadget.slider.h>
/**
* Proxy Classes
*/
class _lua_slider : public _lua_gadget
{
public:
//! Lua-Ctor
_lua_slider( lua_State* L );
... |
#ifndef _RS_ODOMETER_H_
#define _RS_ODOMETER_H_
#include "GlobalDef.h"
extern volatile MultiType32_t odometer;
// Return : 32bits value
#define Rs_Odometer_GetValue() (odometer.l)
// Parameter : 32bits value
#define Rs_Odometer_SetValue(value) odometer.l=value
void Rs_Odometer_SetValueFromArray... |
/**********************************************************************
* File: conv_net_classifier.h
* Description: Declaration of Convolutional-NeuralNet Character Classifier
* Author: Ahmad Abdulkader
* Created: 2007
*
* (C) Copyright 2008, Google Inc.
** Licensed under the Apache License, Version... |
/*
* ControlScene.h
*
* Copyright (c) 2011 Yannick Loriot
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
#import "MOBProjection.h"
@interface MOBProjectionEPSG32728 : MOBProjection
@end
|
#ifndef __AL_SOCKET_H_
#define __AL_SOCKET_H_
#include "al_anapurna.h"
#include "anapurna-socket.h"
#include "anapurna-common.h"
#include "string.h"
#include <stdlib.h>
static int lsocket_new(lua_State* L) {
const char* proto = luaL_checkstring(L, 1);
int inet_proto = -1;
if (strncasecmp(proto, "TCP", str... |
//
// ServerController.h
// CocosPlayer
//
// Created by Viktor Lidholt on 7/13/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ThoMoServerStub.h"
#import "cocos2d.h"
@interface ServerController : NSObject <ThoMoServerDelegateProtocol>
{
ThoMoSer... |
#ifndef __DIO_H__
#define __DIO_H__
#define HIGH 1
#define LOW 0
#define NO_OUT -1
#define OUT 'O'
#define IN 'I'
#define NONE 'N'
class DIO{
public:
void setMode(int bar, int pin, char mode);
void digitalWrite(int bar, int pin, int power);
int digitalRead(int bar, int pin);
void digitalToggle(... |
//***************************************************************************
// Anubis Viewer 1.0 - A 3D Adventure Game Engine.
// Copyright (C) 2006-2007 Gorka Suárez García
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as publis... |
//
// ObsDetailQualityDetailsFooter.h
// iNaturalist
//
// Created by Alex Shepard on 1/8/16.
// Copyright © 2016 iNaturalist. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ObsDetailQualityDetailsFooter : UITableViewHeaderFooterView
@property NSString *dataQualityDetails;
@end
|
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <swiftCore/_TtCs12_SwiftObject.h>
@class MISSING_TYPE;
@interface _TtC12SourceEditor22GenericLanguageService : _TtCs12_SwiftObject
{
MISSING_TYPE *buffer;
MISS... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
#import "NSCoding-Protocol.h"
#import "NSCopying-Protocol.h"
@interface CIColor : NSObject <NSCoding, NSCopying>
{
void *_priv;
void *_pad[3];
}
+... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "WXPBGeneratedMessage.h"
@class BaseRequest, NSString;
@interface CheckBigFileUploadRequest : WXPBGeneratedMessage
{
}
+ (void)initialize;
// Remaining properties
@prope... |
/*
* ctrl_sixaxis2thruster_types.h
*
* Code generation for model "ctrl_sixaxis2thruster".
*
* Model version : 1.22
* Simulink Coder version : 8.6 (R2014a) 27-Dec-2013
* C source code generated on : Wed Feb 25 14:00:14 2015
*
* Target selection: NIVeriStand_VxWorks.tlc
* Note: GRT includes extra i... |
// Copyright 2017 The Lynx Authors. All rights reserved.
#ifndef UI_WIDGET_VIEW_LYNX_UI_VIEW_H_
#define UI_WIDGET_VIEW_LYNX_UI_VIEW_H_
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#include "widget/lynx_ui.h"
#include "widget/view/view_wrapper.h"
@interface LxUIView : LynxUI<ViewWrapper *>
@end
#endif ... |
#pragma once
#include <gamelogic/model/player.h>
#include <string>
namespace Morphling::Gamelogic {
class Player {
public:
Player(std::string name) : name(name) {}
virtual ~Player() = default;
std::string get_name() const { return name; }
private:
std::string name;
};
}
|
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... |
#ifndef COMMAND_CREATEFRAME_H
#define COMMAND_CREATEFRAME_H
#include "../interfaces/icommand.h"
#include "../interfaces/icore.h"
#include <QString>
#include <QStringList>
class CommandCreateFrame : public ICommand {
public:
CommandCreateFrame();
virtual bool isMultiLine();
virtual ICommand *create();
virtual ... |
#ifndef EG_DISPATCHER_API_H
#define EG_DISPATCHER_API_H
#include "stk_env.h"
#include "stk_data_flow.h"
/*
* This example dispatcher provides an example main loop and is used by the
* examples. It provides functions which allow dispatching of data received
* and provides functions to wakeup the dispatcher and to st... |
//
// UnlimitedScrollView.h
// UnlimitedScrollView
//
// Created by svpcadmin on 2015/10/23.
// Copyright © 2015年 tamanyan. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for UnlimitedScrollView.
FOUNDATION_EXPORT double UnlimitedScrollViewVersionNumber;
//! Project version string for... |
//
// TGDealCell.h
// 东莞团购平台
//
// Created by mac on 14-12-24.
// Copyright (c) 2014年 tuangou. All rights reserved.
//
#import <UIKit/UIKit.h>
@class TGDeal;
@interface TGDealCell : UITableViewCell
// 描述
@property (weak, nonatomic) IBOutlet UILabel *desc;
// 图片
@property (weak, nonatomic) IBOutlet UIImageView *i... |
//
// JXObject.h
// JXRuntime
//
// Created by andy on 9/28/14.
// Copyright (c) 2014 JianXiang Jin. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface JXObject : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *city;
@property (nonatomic, assign) NSInt... |
//
// IView.h
// Ola
//
// Created by Terrence Xing on 4/2/14.
// Copyright (c) 2014 Terrence Xing. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface IView : UIView
{
id delegate;
}
@property (nonatomic) id delegate;
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; //手指触摸屏幕时报告UITouc... |
//
// TBTDummyViewController.h
// MultiProductViewer
//
// Created by JN on 2014-3-20.
// Copyright (c) 2014 thoughtbot, inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TBTDummyViewController : UIViewController
@end
|
#ifndef PICTUREBOXPLOTDESTINATION_H
#define PICTUREBOXPLOTDESTINATION_H
#include "elementbase.h"
#include <QString>
#include <QtCore/qglobal.h>
#if defined(pictureboxplotdestination_EXPORTS)
# define PICTUREBOXPLOTDESTINATIONSHARED_EXPORT Q_DECL_EXPORT
#else
# define PICTUREBOXPLOTDESTINATIONSHARED_EXPORT Q_DECL_IM... |
/** ###################################################################
** THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
** Filename : Cpu112.H
** Project : SmartCar
** Processor : MC9S12DG128BCPV
** Beantype : MC9S12DG128_112
** Version : Bean 02.001, Driver 02.03, CP... |
//
// Created by Baoxing song on 2018-12-28.
//
#ifndef GEAN_SONG_CNS_H
#define GEAN_SONG_CNS_H
#include <string>
#include <map>
#include <set>
#include "./util/nucleotideCodeSubstitutionMatrix.h"
#include <stack>
#include<iostream>
#include <cstring>
#include <fstream>
#include <cstdlib>
#include <limits>
#include <... |
#pragma once
#include "common/geometry/point.h"
class Circle
{
Point center;
double squaredRadius;
public:
Circle(): center(Point()), squaredRadius(0) {}
Circle(const Point& center, double squaredRadius): center(center), squaredRadius(squaredRadius) {}
inline Point getCenter() const
{
... |
/**
* $Id: HA_Status_Dynamic.h 80826 2008-03-04 14:51:23Z wotte $
*
* Home Automation Status server. Sample code from The ACE Programmer's Guide,
* copyright 2003 Addison-Wesley. All Rights Reserved.
*/
#ifndef __HASTATUS_H_
#define __HASTATUS_H_
// Listing 1 code/ch19
#include "ace/OS.h"
#include "ace/Acceptor.... |
/*****************************************************************************
The following code is derived, directly or indirectly, from the SystemC
source code Copyright (c) 1996-2006 by all Contributors.
All Rights reserved.
The contents of this file are subject to the restrictions and limitations
... |
#ifndef SP2_AUDIO_MUSIC_H
#define SP2_AUDIO_MUSIC_H
#include "audio/source.h"
#include "stringImproved.h"
#include <string_view>
namespace sp {
namespace audio {
class Music : public Source
{
public:
bool open(const string& name, bool loop);
void setVolume(float volume); //range: 0-100
protected:
virtua... |
/*
* (C) Copyright 2014 CompuLab, Ltd. <www.compulab.co.il>
*
* Authors: Igor Grinberg <grinberg@compulab.co.il>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <environment.h>
#include <status_led.h>
#include <net.h>
#include <netdev.h>
#include <usb.h>
#include <mmc.h>
#include <linux/com... |
//
// ViewController.h
// ModuelOne
//
// Created by liuzewen on 16/11/4.
// Copyright © 2016年 etong. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
//
// NSString+JSONString.h
// ChimpUtilities
//
// Created by Andrew on 9/25/13.
// Copyright (c) 2013 Chimp Studios. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (JSONString)
- (NSString *)JSONString;
@end
|
//
// NTPortParser.h
// portparser
//
// Created by Sam Dunster on 31/10/2013.
// Copyright (c) 2013 sdunster. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NTPortParser : NSObject
@property (nonatomic) NSString *description;
@property (readonly) NSString *shortDescription;
@property (read... |
#ifndef EVENTDISPATCHERQPA_H
#define EVENTDISPATCHERQPA_H
#include "eventdispatcher_epoll_qpa.h"
class EventDispatcherQPA : public EventDispatcherEPollQPA {
Q_OBJECT
public:
explicit EventDispatcherQPA(QObject* parent = 0) : EventDispatcherEPollQPA(parent) {}
};
#endif // EVENTDISPATCHERQPA_H
|
#ifndef CFG_BUILDER_H__TOSTITOS
#define CFG_BUILDER_H__TOSTITOS
#include "../CFG/module.h"
#include "ssafunction.h"
#include <deque>
#include <memory>
#include <set>
#include <unordered_map>
namespace TosLang
{
namespace FrontEnd
{
class ASTNode;
class CompoundStmt;
class Expr;
... |
//
// NHWebViewTitleLabel.h
// Pods
//
// Created by Sergey Minakov on 01.06.15.
//
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, NHWebViewTitleViewState) {
NHWebViewTitleViewStateText,
NHWebViewTitleViewStateLoading,
NHWebViewTitleViewStateFailed,
};
@interface NHWebViewTitleView : UIView
@... |
/**
* File: tsearch.h
*
* This code is part of Data Transfer Security Protocol (DTSP) library.
*
* ANSI C code for Tree search generalised from Knuth Algorithm T (6.2.2).
* It is literally a copy of POSIX (not ANSI) search.h "t*" methods.
* Many search.h implementations are missing "tdestroy" implementation.
*
... |
/*
* BlockDrawingFunctions.h
*
* Created on: 13 Mar 2012
* Author: insano10
*/
#ifndef BLOCKDRAWINGFUNCTIONS_H_
#define BLOCKDRAWINGFUNCTIONS_H_
#include<stdint.h>
#include "../Structures.h"
typedef void (*drawFunction)(Coordinate, Coordinate, uint8_t, uint8_t);
void drawSquareBlock(Coordi... |
#ifndef JSON_SPIRIT_WRITER
#define JSON_SPIRIT_WRITER
//ticoin Copyright John W. Wilkinson 2007 - 2009.
//ticoin Distributed under the MIT License, see accompanying file LICENSE.txt
//ticoin json spirit version 4.03
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
#include "json_spirit_valu... |
SPORTH_UGEN("*", sporth_mul, SPORTH_MULv2)
SPORTH_UGEN("+", sporth_add, SPORTH_ADDv2)
SPORTH_UGEN("-", sporth_sub, SPORTH_SUBv2)
SPORTH_UGEN("/", sporth_divide, SPORTH_DIVv2)
SPORTH_UGEN("add", sporth_add, SPORTH_ADD)
SPORTH_UGEN("bitcrush", sporth_bitcrush, SPORTH_BITCRUSH)
SPORTH_UGEN("branch", sporth_branch, SPORTH_... |
#pragma once
#include "cgcore.h"
#include "lab2.h"
namespace lab4 {
extern std::vector<std::pair<TPoint, TPoint> > lines;
extern std::vector<TPoint> two_points;
char code_point(int x, int y);
bool cut_line(int &x1, int &y1, int &x2, int &y2);
void cut_lines(int xl, int xr, int yb, int yt);
void cut_poly(int xl,... |
#include <stdio.h>
int is_palindrome(int);
int main()
{
int num=0;
scanf("%d",&num);
for(; is_palindrome(num) == 0 ;num++);
printf("%X", num);
return 0;
}
int is_palindrome(int num)
{
char helper_hex[50];
int i = 0,end = 0,middle = 0,begin = 0;
sprintf(helper_hex, "%x",num);
... |
#include "stm32f4xx.h"
#include "stm32f4_discovery.h"
void Delay_Init(void);
void DelayMicros(uint32_t micros);
void DelayMillis(uint32_t millis);
|
/*
* @file Button.h
* Contains the declaration of the "Button" object.
* @author pavlov-vs
* @version 0.0.1
* @date 2017.09.09
**/
#pragma once
//TODO create multilpe constructors for button
#include "Window.h"
using namespace std;
/**
* Class containing the implementation of a button.
* <br>... |
#include <stdio.h>
#include "communication.h"
#include "../Drivers/timer.h"
void traiter_message(T_sensors *p_sensors)
{
}
void envoyer_message(T_sensors *p_sensors)
{
int i;
for (i=0;i<NB_OF_MPU;i++)
{
// Envoi d'une trame de detection de frappe
if(p_sensors->mpu[i].tap.tap_detecte... |
#include <libcgc.h>
#include "libc.h"
size_t MY_TID = TID_T5;
size_t PIPE_RECV = tid2recvpipe(TID_T5);
char * STR_THREAD_NAME = "T5";
|
#ifndef ARTNET_HELPERS_H
#define ARTNET_HELPERS_H
#include <stdio.h>
#define ARTNET_OpOutput 0x5000
extern const char artnet_header[8];
unsigned short decode_artnet_uint16_hilo(unsigned char *data);
unsigned short decode_artnet_uint16_lohi(unsigned char *data);
unsigned int decode_artnet_uint32_hilo(unsign... |
// Copyright 2021 Phyronnaz
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "VoxelPlaceableItems/VoxelPlaceableItemManager.h"
#include "VoxelPlaceableItemActorHelper.generated.h"
class AVoxelWorld;
class AVoxelDataItemActor;
UCLASS(Within=VoxelWorld)
class VOXEL_API UVox... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
#include "array_list.h"
void list_reserve(list* l,int size);
list* list_create(){
list* l = malloc(sizeof(list));
l->size =... |
//
// YCYFastLoginView.h
// BaiSiCommunity
//
// Created by Cheney on 16/6/28.
// Copyright © 2016年 Cheney. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface YCYFastLoginView : UIView
+ (instancetype)fastLoginView;
@end
|
/*
* Copyright (c) 2015 DeNA Co., Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publ... |
#pragma once
#include <vector>
#include <glm\vec2.hpp>
#include "CoreGeometry.h"
// UV maps the provided geometry from triangles onto a 2D texture
class IUvMapper
{
public:
// Maps each triangle in the provided geometry to a triplet of UV coordinates.
virtual std::vector<glm::vec2> MapToTexturePlane(... |
/*
* Copyright 1993-2012 NVIDIA Corporation. All rights reserved.
*
* NOTICE TO LICENSEE:
*
* This source code and/or documentation ("Licensed Deliverables") are
* subject to NVIDIA intellectual property rights under U.S. and
* international Copyright laws.
*
* These Licensed Deliverables contained herein is ... |
//
// KRPicture.h
// NeteaseNews
//
// Created by KaoRny on 17/3/12.
// Copyright © 2017年 KaoRny. All rights reserved.
//
#import <Foundation/Foundation.h>
//图片信息模型
@interface KRPicture : NSObject
/// 新闻图标
@property (nonatomic,copy) NSString *imgsrc;
@end
|
//
// ResumeScanCellLayout.h
// QiPinTong
//
// Created by taylor on 2017/3/21.
// Copyright © 2017年 ShiJiJiaLian. All rights reserved.
//
#import "LWLayout.h"
@interface ResumeScanCellLayout : LWLayout<NSCopying>
@property (assign,nonatomic) CGFloat resumeScanCellH;
-(id)initWithResumeScanCell;
@end
|
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
#include <io.h>
#include <fcntl.h>
#include <windows.h>
#include <comdef.h>
#include <atlbase.h>
#include <atlconv.h>
#include <string>
#include <iostream>
#include <vector>
#include <sstream>
#include <clocale>
#include <l... |
/*
* This file is part of the Micro Python project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2013, 2014 Damien P. George
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... |
/*
* File: IMU.h
* Author: Nicro ramicaza
*
* Created on March 7, 2015, 5:51 PM
*/
#ifndef IMU_H
#define IMU_H
#include <cstdlib>
#include <iostream>
#include <stdio.h>
#include <unistd.h> //Used for UART
#include <fcntl.h> //Used for UART
#include <termios.h> //Used for UART
#include <pthread.h>... |
#include <QImage>
#include <QTextStream>
#include <QFile>
#include <cstdlib>
#ifndef MYSEGMENTATION_H
#define MYSEGMENTATION_H
typedef std::vector<std::vector<double>> Matrix;
typedef std::vector<double> Vector;
struct myBoder
{
int leftBoder;
int rightBoder;
int topBoder;
int bottomBoder;
};
class ... |
#ifndef CONCURRENT_DEQUE_
#define CONCURRENT_DEQUE_
#include <deque>
#include <thread>
#include <mutex>
#include <condition_variable>
template <typename T>
class Deque
{
public:
T pop()
{
std::unique_lock<std::mutex> mlock(mutex_);
while (queue_.empty())
{
cond_.wait(mlock);
}
auto va... |
//
// Created by playmice on 5/1/17.
//
#ifndef SNIPPETS_BASENEXPANSION_H
#define SNIPPETS_BASENEXPANSION_H
std::string basenexpansion(int n, int b);
#endif //SNIPPETS_BASENEXPANSION_H
|
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <IDEKit/IDEBatchFindPathBarMenuItem.h>
@interface IDEBatchFindPathBarMatchStyleType : IDEBatchFindPathBarMenuItem
{
int _findType;
}
@property int findType; // @synthe... |
// GHSAppDelegate.h
//
// Copyright (c) 2012 Jean-Philippe Couture
//
// 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... |
#include <enet/enet.h>
#include <time.h>
#include "game/scenes/mainmenu/menu_listen.h"
#include "game/gui/gui.h"
#include "game/utils/settings.h"
#include "game/protos/scene.h"
#include "game/game_state.h"
#include "utils/log.h"
typedef struct {
ENetHost *host;
component *cancel_button;
scene *s;
} liste... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The BeCoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BECOIN_CHAINPARAMS_H
#define BECOIN_CHAINPARAMS_H
#include "chainparamsba... |
//
// MJShareContent.h
// MJSDK-iOS
//
// Created by John LXThyme on 16/6/20.
// Copyright © 2016年 WM. All rights reserved.
//
#import "MJBaseShareContent.h"
@interface MJShareFirst : MJBaseShareContent
@end
|
#ifndef SUNDOWN_UTIL_STRING_H
#define SUNDOWN_UTIL_STRING_H
namespace Sundown {
typedef std::string String;
}
#endif // SUNDOWN_UTIL_STRING_H
|
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_PledgesTestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_PledgesTestsVersionStrin... |
/* This file is part of the Palabos library.
*
* Copyright (C) 2011-2015 FlowKit Sarl
* Route d'Oron 2
* 1010 Lausanne, Switzerland
* E-mail contact: contact@flowkit.com
*
* The most recent release of Palabos can be downloaded at
* <http://www.palabos.org/>
*
* The library Palabos is free software: you can r... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "WAJSEventHandler_BaseEvent.h"
@interface WAJSEventHandler_switchTab : WAJSEventHandler_BaseEvent
{
}
- (void)popChildrenAndSwitchInMainTabWebView:(id)arg1 withPagePath:(i... |
#pragma once
#include <iostream>
#include <BF/IO/FileFormats/BFFFormat.h>
#include <BF/Graphics/Fonts/Font.h>
namespace Editor
{
namespace IO
{
class BFFWriter
{
private:
BF::IO::FileFormats::BFFFormat bffFormat;
public:
BFFWriter();
~BFFWriter();
void WriteToFile(const std::string& filename, c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.