text stringlengths 4 6.14k |
|---|
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_ZKTwitterBarAnimation_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_ZKTwitterBarAnimation_ExampleVersionString[];
|
//
// HKSlideMenu3DController
// SlideMenu3D
//
// Created by Edgar on 4/6/15.
// Copyright (c) 2015 hunk. All rights reserved.
//
typedef enum {
MenuLeft,
MenuRight,
} Menu3DSide;
#import <UIKit/UIKit.h>
@class HKSlideMenu3DController;
@protocol HKSlideMenu3DControllerDelegate <NSObject>
@optional
-(v... |
#include "config.h"
short web_render_file(const char* uri, struct evbuffer *evb, s_config *conf);
|
#ifndef _ANT_ALLOCATOR_H_
#define _ANT_ALLOCATOR_H_
#define MIN_FRAG 64 // bytes, block overhead is 40 bytes
typedef enum { false, true } bool;
typedef struct block_hdr_s {
unsigned int id; // check for corruption
size_t user_mem_sz; // size of usable memory
bool free; // true if free block
struct b... |
#ifndef DUNGEON_FEATUREOPTIONS_H
#define DUNGEON_FEATUREOPTIONS_H
#include <functional>
#include <vector>
namespace dungeon
{
class Feature;
typedef std::function<Feature(int,int)> FeatureFunction;
//! Dungeon Options
/*!
* Options for controlling the parameters of dungeon generation
*/
class FeatureOptions
{
pu... |
/*
* Copyright 2014 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... |
/*
-----------------------------------------------------------------------------
This source file is part of fastbird engine
For the latest info, see http://www.jungwan.net/
Copyright (c) 2013-2015 Jungwan Byun
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and a... |
//
// ModelChat.h
// Talkfun_demo
//
// Created by moruiquan on 16/1/26.
// Copyright © 2016年 talk-fun. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TalkfunChatModel : NSObject
//头像
@property (nonatomic ,copy ) NSString *avatar;
@property (nonatomic ,strong ) NSDictionary *chat;
@p... |
/* Ferdinand Saufler <mail@saufler.de>
* 25.09.2016
* this program prints information about the current used kernel. */
#include <stdio.h>
#include <stdlib.h>
#include <file.h>
#include <kernel.h>
int main()
{
struct KernelVersionInfo kvi;
GetKernelVersion(&kvi);
printf("Sysname: %s\n", kvi.Sysname);
... |
// C++ for the Windows Runtime v1.0.161012.5
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
#pragma once
#include "Windows.Devices.Sensors.Custom.2.h"
WINRT_EXPORT namespace winrt {
namespace Windows::Devices::Sensors::Custom {
struct WINRT_EBO CustomSensor :
Windows::Devices::Sensors::Custo... |
// Copyright 2012 Rui Ueyama. Released under the MIT license.
// @wgtcc: passed
#include <float.h>
#include <stdarg.h>
#include <stdint.h>
#include "test.h"
float tf1(float a) { return a; }
float tf2(double a) { return a; }
float tf3(int a) { return a; }
double td1(float a) { return a; }
double td2(double a) { ... |
#pragma once
#include "types.h"
typedef struct {
char* data;
uint capacity;
uint nStrings;
} StringBuffer;
StringBuffer* StringBuffer_init(uint initialCapacity);
void StringBuffer_init_local(uint initialCapacity, StringBuffer* pResult);
void StringBuffer_term(StringBuffer* pBuffer);
void StringBuffer_a... |
#ifndef CLIENTVERSION_H
#define CLIENTVERSION_H
//
// client versioning and copyright year
//
// These need to be macros, as version.cpp's and eurocoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 8
#define CLIENT_VERSION_REVISION 996
#define CLIENT_VERSION_BUI... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSDictionary;
@interface SBScrollViewLayoutInfos : NSObject
{
NSDictionary *_indexPathsToFrames;
NSDictionary *_sectionToNumberOfItems;
NSD... |
//
// AKTCategory.h
// Pursue
//
// Created by YaHaoo on 16/4/8.
// Copyright © 2016年 YaHaoo. All rights reserved.
//
#ifndef AKTCategory_h
#define AKTCategory_h
#import "NSFileManager+AKTFileManager.h"
#import "NSObject+AKT.h"
#import "NSString+AKTFilePath.h"
#import "UILabel+Akt.h"
#import "UIView+AKT.h"
#import... |
//
// UIAlertController+Extended.h
// CocoaExtendedKit
//
// Created by Michael Reneer on 4/6/16.
// Copyright © 2016 Michael Reneer. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIAlertController (Extended)
+ (instancetype)alertControllerWithError:(NSError *)error;
@end
... |
/* Definition of available OpenCL devices.
Copyright (c) 2011 Universidad Rey Juan Carlos and
2012 Pekka Jääskeläinen / Tampere University of Technology
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "S... |
/*
*
* QueryFilter
* ledger-core
*
* Created by Pierre Pollastri on 28/06/2017.
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Ledger
*
* 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 S... |
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFramework/HUD.h"
#include "CppFirstPersonGameHUD.generated.h"
UCLASS()
class ACppFirstPersonGameHUD : public AHUD
{
GENERATED_BODY()
public:
ACppFirstPersonGameHUD();
/** Primary draw call for the HUD */
virtual void DrawHUD... |
//
// STHTTPNetTaskQueueHandler.h
// Sth4Me
//
// Created by Kevin Lin on 29/11/14.
// Copyright (c) 2014 Sth4Me. All rights reserved.
//
#import "STNetTaskQueue.h"
@interface STHTTPNetTaskQueueHandler : NSObject<STNetTaskQueueHandler>
- (instancetype)initWithBaseURL:(NSURL *)baseURL;
- (instancetype)initWithBas... |
// Author: Trenton Taylor
// Purpose: Prints a date in legal format
// Date 9/6/2015
#include <stdio.h>
// Obviously given up on messing with thigns other than OTB
// LLAP OTB
int main(void)
{
int month, day, year;
printf("Date (mm/dd/yy): ");
scanf("%d / %d / %d", &month, &day, &year);
// I don't lik... |
// gcc 4.7.2 +
// gcc -std=gnu99 -Wall -g -o helloworld_c helloworld_c.c -lpthread
#include <pthread.h>
#include <stdio.h>
/*
main:
global shared int i = 0
spawn thread_1
spawn thread_2
join all threads
print i
thread_1:
do 1_000_000 times:
i++
thread_2:
do 1_000_000 times:
i... |
//
// Pictures.h
// Aspose_Cloud_SDK_For_iOS
//
// Created by Muhammad Sohail Ismail on 11/24/14.
// Copyright (c) 2014 Muhammad Sohail Ismail. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ASPOSECPicturesResponse.h"
/**
* Using 'ASPOSECPictures' class you can get a specific picture from a w... |
#pragma once
#include <vector>
#include <queue>
#include <string>
#include <climits>
#include <cmath>
#include <stack>
#include <set>
#include <sstream>
#include <algorithm>
using namespace std;
class Solution {
public:
int findPeakElement(vector<int>& nums) {
int left = 0, right = nums.size() - 1;
int mid = 0;
... |
//
// UIColor+ExploreColors.h
// Explore Prototype
//
// Created by Alex Shepard on 10/20/14.
// Copyright (c) 2014 iNaturalist. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIColor (ExploreColors)
+ (UIColor *)inatGreen;
// iconic taxa
+ (UIColor *)colorForIconicTaxon:(NSString *)iconicTaxon;
//... |
/*
* 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... |
#ifndef VARIANTSCORES_H
#define VARIANTSCORES_H
#include "cppNGS_global.h"
#include "VariantList.h"
#include "BedFile.h"
#include "Phenotype.h"
//Variant scoring/ranking class.
class CPPNGSSHARED_EXPORT VariantScores
{
public:
//Result of the scoring
struct Result
{
//Algorithm name
QString algorithm;
//Scor... |
#ifndef ASSERTS_H
#define ASSERTS_H
#include <iostream>
#include <cstdarg>
#include <utility>
#ifdef _WIN32
#include <intrin.h>
#define AssertBreakForce(expr) ((expr) ? 1 : ((void)__debugbreak(), 0))
#else
#include <signal.h>
#define AssertBreakForce(expr) ((expr) ? 1 : ((void)raise_with_expr(#expr, SIGTRAP), 0))
#en... |
/*
* Best: O(n^2)
* Worst: O(n^2)
* Average: O(n^2)
*
* Online: No
* In Place:Yes
* Adaptive:No
* Stable: No
*/
#ifndef __SELECTION_H_
#define __SELECTION_H_
#include <iostream>
#include "sort.h"
template <typename T>
class SelectionSort : public Sort<T>
{
public:
virtual void sort(typen... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __cplusplus
# error This header can only be compiled as C++.
#endif
#ifnd... |
#ifndef MULTILOBEFIT_1931_H
#define MULTILOBEFIT_1931_H
#include "xyzAbstract.h"
class XYZMultiLobeFit1931 : public XYZAbstract
{
public:
XYZMultiLobeFit1931() { strcpy( name, "Multi-Lobe Fit (Sec 2.2) to CIE 1931" ); }
virtual ~XYZMultiLobeFit1931() {}
virtual float X( float wavelen );
virtual f... |
//
// DialogViewController.h
// ARIS
//
// Created by Kevin Harris on 09/11/17.
// Copyright Studio Tectorum 2009. All rights reserved.
//
#import "ARISViewController.h"
#import "InstantiableViewControllerProtocol.h"
#import "GamePlayTabBarViewControllerProtocol.h"
@protocol DialogViewControllerDelegate <Instanti... |
//
// KYNoteView.h
// KuaiYiSuper
//
// Created by WZZ on 16/4/28.
// Copyright © 2016年 WZZ. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KYNoteView : UIView
@property(nonatomic,strong)void(^loginBlcok)();
@end
|
//
// ZBManualReminderList.h
// Books
//
// Created by Balasankar J on 26/02/14.
// Copyright (c) 2014 Balasankar J. All rights reserved.
//
/**
\addtogroup List
*@{
*/
#import <Foundation/Foundation.h>
#import "ZBPageContext.h"
/**
ZBManualReminderList interface has array of ZBManualReminder object.\n
It i... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CDStructures.h"
@class NSBox, NSTextField;
@interface IDEDistributionTableCellView : NSTableCellView
{
NSBox *_bottomBorder;
NSTextField *_titleField;
}
@propert... |
/*
* The MIT License
*
* Copyright 2020 The OpenNARS authors.
*
* 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,... |
#ifndef ESMB_H_
#define ESMB_H_
void para_esmb_ini( struct config_t* cfg, struct parameters *ps );
void para_esmb_del( struct parameters *ps );
void para_esmb_update( long i_esmb, struct parameters *ps );
#endif
|
/* --------------------------------------------------------------------------
*
* File GameArea2D.h
* Ported By Young-Hwan Mun
* Contact xmsoft77@gmail.com
*
* --------------------------------------------------------------------------
*
* Copyright (c) 2010-2... |
/*
RFC - KScopedStructPointer.h
Copyright (C) 2013-2019 CrownSoft
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Lake Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_BITCOINUNITS_H
#define BITCOIN_QT_BITCOINUNITS_H
#inc... |
/* $Id: resample.h 3553 2011-05-05 06:14:19Z nanang $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... |
#ifndef __FRINGE_CONTEXT_BASE_H__
#define __FRINGE_CONTEXT_BASE_H__
template <class T>
class FringeContextBase {
public:
T *dut = NULL;
std::string path = "";
FringeContextBase(std::string p) {
path = p;
}
virtual void load() = 0;
virtual uint64_t malloc(size_t bytes) = 0;
virtual void free(uint64_t... |
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// DataBindingLib
#define COCOAPODS_POD_AVAILABLE_DataBindingLib
#define COCOAPODS_VERSION_MA... |
/* ----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support
* ----------------------------------------------------------------------------
* Copyright (c) 2008, Atmel Corporation
*
* All rights reserved.
*
* Redistribution and use in source an... |
// The MIT License (MIT)
// Copyright (c) 2013 lailongwei<lailongwei@126.com>
//
// 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 r... |
//----------------------------------------------------------------
// File: patReadNetworkFromXml.h
// Author: Michel Bierlaire
// Creation: Thu Oct 30 12:06:29 2008
//----------------------------------------------------------------
#ifndef patReadNetworkFromXml_h
#define patReadNetworkFromXml_h
#include "patString.h... |
#ifndef _AFE_Hardware_rainmeter_h
#define _AFE_Hardware_rainmeter_h
#define AFE_HARDWARE_RAINMETER_DEFAULT_BOUNCING 1
#define AFE_HARDWARE_RAINMETER_DEFAULT_INTERVAL 60
#if defined(AFE_DEVICE_iECS_WHEATER_STATION_20) || defined(AFE_DEVICE_iECS_WHEATER_STATION_21)
#define AFE_HARDWARE_RAINMETER_DEFAULT_GPIO 13
#define ... |
#import <Foundation/Foundation.h>
#import "XMPPCoreDataStorage.h"
#import "XMPPMessageArchiving.h"
#import "XMPPMessageArchiving_Message_CoreDataObject.h"
#import "XMPPMessageArchiving_Contact_CoreDataObject.h"
@interface XMPPMessageArchivingCoreDataStorage : XMPPCoreDataStorage <XMPPMessageArchivingStorage>... |
//-----------------------------------------------------------------------------
// VST Plug-Ins SDK
// VSTGUI: Graphical User Interface Framework for VST plugins :
//
// Version 4.2
//
//-----------------------------------------------------------------------------
// VSTGUI LICENSE
// (c) 2013, Steinberg Media Technolo... |
#ifndef CLIENTGUI_H
#define CLIENTGUI_H
#include <QMainWindow>
#include "login.h"
namespace Ui {
class client;
}
class client : public QMainWindow
{
Q_OBJECT
public:
Client* m_client;
login* m_loginWindow;
explicit client(QWidget *parent = 0);
~client();
private slots:
void ... |
#ifndef GINGER_GSEARCH_GSCORE_H_
#define GINGER_GSEARCH_GSCORE_H_
#include <iostream>
#include <seqan/sequence.h>
#include <seqan/align.h>
#include <seqan/index.h>
#include <seqan/GStructs/GFastaRecord.h>
using namespace seqan;
using namespace std;
// LocalAlignmentEnumerator
template<typename TScore, typename TSequ... |
#ifndef _CFL_TYPED_PROGRAM_H_
#define _CFL_TYPED_PROGRAM_H_
#include "cfl_typed_program.types.h"
#include "cfl_ast.h"
#include "cfl_type.types.h"
bool cfl_is_free_in_typed_node(char* name, cfl_typed_node* node);
cfl_typed_node* cfl_create_typed_node(cfl_node_type node_type,
cfl_... |
// Copyright (c) 2018-2021 The Dash Core developers
// Copyright (c) 2021 The PIVX Core developers
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PIVX_PROVIDERTX_H
#define PIVX_PROVIDERTX_H
#include "bls/bls_wrapper.h"
#include "primitives/transaction.h"
#include "netaddress.h"
#inclu... |
/* --------------------------------------------------------------------------
*
* File GameOver.h
* Created By Project B team
*
* --------------------------------------------------------------------------
*
* Copyright (c) 2013 XMsoft. All rights reserved.
*
* -----------... |
#ifndef STRATEGY_H_
#define STRATEGY_H_
struct strategy_ops;
struct strategy {
struct strategy_ops *ops;
};
struct strategy_ops {
void (*justify) (struct strategy *, char *line); /* virtual */
};
void strategy_init(struct strategy *);
static inline
void strategy_justify(struct strategy *strat, char *line)
{
str... |
#ifndef __MAUS_H
#define __MAUS_H
#include "config.h"
#include <glib.h>
typedef struct {
gchar *shutdown_command;
gint shutdown_delay;
gint pin_in;
gint pin_out;
} MausPrivate;
#define DIRECTION_IN "in"
#define DIRECTION_OUT "out"
#define WHEN_TO_RETURN "both"
typedef enum { VALUE_LOW = 0, VALUE_HIGH = 1 }... |
//
// XFSubControl2Presenter.h
// XFLegoVIPERExample
//
// Created by Yizzuide on 2016/10/4.
// Copyright © 2016年 Yizzuide. All rights reserved.
//
#import "XFPresenter.h"
#import "XFSubControl2EventHandlerPort.h"
@interface XFSubControl2Presenter : XFPresenter <XFSubControl2EventHandlerPort>
@property (nonatomi... |
/*
* Test interface for the character encoding toolkit.
*
* Copyright (C) 1999-2020 J.M. Heisz. All Rights Reserved.
* See the LICENSE file accompanying the distribution your rights to use
* this software.
*/
#include "encoding.h"
#include "log.h"
/**
* Main testing entry point. Just a bunch of test instances... |
//
// UITextField+HLHExtend.h
// HLHKitDemo
//
// Created by lihuiHan on 16/9/28.
// Copyright © 2016年 Lottery. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UITextField (HLHExtend)
/**
Set all text selected.
*/
- (void)selectAllText;
/**
Set text in range selected.
@param range The range of... |
void init_terminal(void)
{
const char str[] = "CynOS - 1.0";
unsigned int str_index = 0;
char *VIDEO_MEM = (char*)0x000b8000; //VGA Memory begins here
//VGA memory is stored in words.
// So we have to skip by 2 to access the char at c+0 and the attrib at c+1
for(int row = 0; row < 25; row++) {
for(int c... |
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "AWSMobileAnalyticsSessionClientState.h"
#import <XXUnknownSuperclass.h> // Unknown library
@class NSString;
@interface AWSMobileAnalyticsInactiveSessionStat... |
// Copyright (c) 2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SYSCOIN_UTIL_TRACE_H
#define SYSCOIN_UTIL_TRACE_H
#ifdef ENABLE_TRACING
#include <sys/sdt.h>
#define TRACE(context, eve... |
//
// RunPython.h
// Calendarize
//
// Created by Percich Michele (UniCredit Business Integrated Solutions) on 27/01/17.
// Copyright © 2017 Michele Percich. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface RunPython : NSObject
+ (NSString*)runPythonCode:(NSString*)code withPythonPath:(NSStri... |
#pragma once
#include <string>
#include "wangSet.h"
#include "sample.h"
#include "pixelArray.h"
struct parameters {
int nT = 0; // Define length of tile width
int nO = 0; // Defines width of sample overlap
int nS = 0; // Define length of sample width
double tileScale = 2.0 / sqrt(2.0);
};
void load_JS... |
#ifndef README_H
#define README_H
/*
* Architecture of module:
*
* -> IOHandler
* /
* /
* /
* (www) -> TcpServer ----> IOHandler
* \
* \
* \
* -> IOH... |
// stdafx.h : 標準のシステム インクルード ファイルのインクルード ファイル、または
// 参照回数が多く、かつあまり変更されない、プロジェクト専用のインクルード ファイル
// を記述します。
//
#pragma once
#include "targetver.h"
#define STRICT
#define WIN32_LEAN_AND_MEAN // Windows ヘッダーから使用されていない部分を除外します。
// Windows ヘッダー ファイル:
#include <windows.h>
|
#pragma once
#include <stdbool.h>
typedef const char* (*pPluginOpSupported)();
typedef bool (*pPluginPerformOp)(char op, int a, int b, int *res);
const char* PluginOpSupported();
bool PluginPerformOp(char op, int a, int b, int *res);
|
/* ch09-pipedemo.c --- demonstrate I/O with a pipe. */
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
/* main --- create a pipe, write to it, and read from it. */
int main(int argc, char **argv)
{
static const char mesg[] = "Don't Panic!"; /* a famous message */
char buf[BUFSIZ];
ssize_t rcount, wcount... |
// The MIT License (MIT)
//
// Copyright(c) 2015 huan.wang
//
// 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, ... |
//
// ViewController.h
// ZLSwitchCityController
//
// Created by zhaoliang on 15/12/16.
// Copyright © 2015年 zhao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
/**************************************************************************/
/*!
@file uart.c
@author K. Townsend
@section LICENSE
Software License Agreement (BSD License)
Copyright (c) 2013, K. Townsend (microBuilder.eu)
All rights reserved.
Redistribution and use in source and bi... |
#import "MOBProjection.h"
@interface MOBProjectionEPSG4588 : MOBProjection
@end
|
/* spmchk: see if there is a portmaster running on the specified machine
* by attempting to open a Socket on it. If the attempt fails, return 1,
* otherwise 0.
*
* XTDIO_USAGE: spmchk [machine]
*
* This can be used in a script like so:
*
* spmchk || Spm
*
* -or-
*
* spmchk || (nohup Spm > /dev/null... |
#ifndef QUESTEXPUSERINFO_H
#define QUESTEXPUSERINFO_H
#include "QuestExpDefine.h"
#pragma once
class UserQuestAskInfo {
public:
UserQuestAskInfo() {
Init();
}
~UserQuestAskInfo() {
}
void Init() {
this->m_iQuestType = 0;
this->m_bComplete = false;
this->m_iValue... |
#ifndef CQChartsViewPlotObj_h
#define CQChartsViewPlotObj_h
#include <CQChartsObj.h>
#include <CQChartsRect.h>
#include <CQChartsPosition.h>
#include <CQChartsLength.h>
#include <CQChartsLineDash.h>
#include <CQChartsFillPattern.h>
#include <CQChartsTextOptions.h>
class CQChartsView;
class CQChartsPlot;
class CQCh... |
//
// IVVMoneyStorage.h
// AwesomeCurrencyConverter
//
// Created by Vladimir Ignatov on 06/03/2017.
// Copyright © 2017 Ignatov inc. All rights reserved.
//
#import "IVVCurrencyConstants.h"
@protocol IVVMoneyStorage <NSObject>
- (BOOL)addMoney:(NSDecimalNumber *)amount
forCurrency:(IVVCurrencyType)currency... |
//
// QYTableViewController.h
// 03-UITableViewControllerDemo
//
// Created by qingyun on 15/12/1.
// Copyright (c) 2015年 河南青云信息技术有限公司. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface QYTableViewController : UITableViewController
@end
|
#ifndef _CC4784251B4CDC4192BF4863D8B38C61_GUARD_
#define _CC4784251B4CDC4192BF4863D8B38C61_GUARD_
#include "JsonCommon.h"
namespace Json
{
struct Value;
struct StringNode;
struct ListNode : NonCopyable
{
ListNode(const Value &value);
ListNode(StringNode *key);
ListNode(String... |
#ifndef VIDEOGAME_H
#define VIDEOGAME_H
#include "EntertainmentItem.h"
/**
* @class Videogame
*/
class Videogame : public EntertainmentItem {
private:
///
unsigned long long esrbRating;
///
unsigned long long platform;
public:
/**
* @enum ESRBRating
*/
enum ESRBRating {
... |
//
// WSPPhotoImageView.h
// WSPNews
//
// Created by auto on 16/3/4.
// Copyright © 2016年 auto. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol WSPTapDetectingImageViewDelegate;
@interface WSPPhotoImageView : UIImageView
@property (nonatomic, weak) id <WSPTapDetectingImageViewDelegate> tapDelegate;
... |
#ifndef STDAFX_H
#define STDAFX_H
#include "../SDK/Platform.h"
#include <time.h>
#pragma comment(lib, "Math_Win32_Debug")
#endif // STDAFX_H |
/****************************************************************************************
Copyright (C) 2012 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 accompanies... |
#include <stdio.h>
#include <stdlib.h>
#include "mh.h"
void display_progress(int completed, int total, int cmp_mod)
{
/* clear line */
/*printf("\33[2K\r");*/
if(completed % cmp_mod == 0)
{
double pct_complete = 100* ((double)completed / (double)total);
printf("%d of %d (%.2f%%) Comp... |
//
// JavaInterface.h
// Chilli Source
// Created by Ian Copland on 09/08/2012.
//
// The MIT License (MIT)
//
// Copyright (c) 2012 Tag Games Limited
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to dea... |
#import <UIKit/UIKit.h>
@interface HomeViewController : UIViewController
@end
|
//
// contactUsViewController.h
// SendMyGift
//
// Created by sendmygift on 29/07/16.
// Copyright © 2016 venkataramana. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface contactUsViewController : UIViewController
@property (nonatomic, assign) BOOL slideOutAnimationEnabled;
@end
|
///
/// @file
/// @details A simple base class for each of the components of the drive-train that have rotating bodies.
///
/// <!-- This file is made available under the terms of the MIT license(see LICENSE.md) -->
/// <!-- Copyright (c) 2017 Contributers: Tim Beaudet, -->
///------------------------------------... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#pragma once
namespace signalr
{
enum class connection_state
{
connecting,
connected,
reconnecting,
disconnecti... |
/*
* << Haru Free PDF Library >> -- hpdf_destination.c
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentati... |
//
// QuickFile-Bridging-Header.h
// QuickFile
//
// Created by Yurii Boiko on 9/25/17.
// Copyright © 2017 Yurii Boiko. All rights reserved.
//
#ifndef QuickFile_Bridging_Header_h
#define QuickFile_Bridging_Header_h
#import "MJRefreshAutoFooter.h"
#import "MJRefreshBackFooter.h"
#import "MJRefreshComponent.h"
#i... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memcpy_07.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.label.xml
Template File: sources-sink-07.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Set d... |
// Copyright (c) 2009-2016 The Oakcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CHECKPOINTS_H
#define BITCOIN_CHECKPOINTS_H
#include "uint256.h"
#include <map>
class CBlockIndex;
struct ... |
//
// SecondViewController.h
// Connect
//
// Created by Zhiyong Yang on 4/1/15.
// Copyright (c) 2015 Andrew Yang. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SecondViewController : UIViewController
@end
|
#pragma once
#include "object.h"
#include "collision.hpp"
namespace rt {
class Plane : public Object {
private:
Vec3 normal;
public:
Plane( Vec3 point, Vec3 _normal, Material * mat )
: Object( point, mat )
, normal( _normal )
{}
~Plane() {}
... |
//
// YPBannerManager.h
// YPBannerDemo
//
// Created by yupao on 12/25/15.
// Copyright © 2015 yupao. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "YPBannerItem.h"
@class YPBannerManager;
@protocol YPBannerManagerDelegate<NSObject>
@required
- (void)YPBannerManager:(YPBannerManager *)manager ... |
#pragma once
#include "ofMain.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void aLine(int x1, int y1, int x2, int y2, string shape);
//void drawCurve(float pointNumber, float startPointX, float startPointY, float endPointX, float endPointY, float ct... |
//
// SLCAppDelegate.h
// IntroToCocoapods
//
// Created by Vinayak Ram on 7/1/14.
// Copyright (c) 2014 Slalom Consulting. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SLCAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
// MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#pragma once
#include "mx/core/ForwardDeclare.h"
#include "mx/core/AttributesInterface.h"
#include "mx/core/Color.h"
#include "mx/core/CommaSeparatedText.h"
#include "mx/core/Decimals.h"
#include "mx/core/Enums.h"
... |
/* IHLPOS Copyright (c) 2017 Peter M.
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, publish, distribute,... |
// RUN: %ucc -fsyntax-only %s
// RUN: %check --only -e %s -DERROR
const void f() // CHECK: warning: function has qualified void return type (const)
{
}
double h(void);
const double h(void); // CHECK: warning: const qualification on return type has no effect
main()
{
double (*hp)(void) = h;
double const (*hpc)(void... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.