text stringlengths 4 6.14k |
|---|
#ifndef INVENTORY_H_INCLUDED
#define INVENTORY_H_INCLUDED
int32_t inv_get_cnt();
void inv_set_cnt(int32_t cnt);
int32_t inv_get_item(int32_t index);
void inv_set_item(int32_t index, int32_t item);
void inv_drop(int item);
void inv_add(int item);
void inv_cycle();
#endif // INVENTORY_H_INCLUDED
|
//
// 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 FBSScene, SBAlert, SBAlertManager, SBAlertWindow, UIScreen;
@protocol SBAlertManagerDelegate <NSObject>
- (double)sceneLevelForAlerts;
- (struct CGRect... |
#ifndef _TASK_H
#define _TASK_H
#include <stdint.h>
#include "queue.h"
#ifndef F_CPU
#error "Define F_CPU"
#endif
#define MS_PER_TICK 2
#define US_PER_TICK (1000 * MS_PER_TICK)
#define US_PER_COUNT (US_PER_TICK / COUNTS_PER_TICK)
#if F_CPU == 16000000L
// Clock select: prescaler = 1/256
#define _TCCR0B (_BV(CS02))... |
#ifndef SOUNDEXCEPTION_H
#define SOUNDEXCEPTION_H
#include <stdexcept>
namespace thewizardplusplus {
namespace anna {
namespace sound {
namespace exceptions {
class SoundException : public std::runtime_error {
public:
SoundException(const std::string& message);
};
}
}
}
}
#endif
|
//
// ProvincesAndCitiesTableViewController.h
// MaShangTong-Personal
//
// Created by NY on 15/11/23.
// Copyright © 2015年 jeaner. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,ProvinceType) {
ProvinceTypeProvince,
ProvinceTypeCity,
};
@interface ProvincesAndCitiesTableViewCo... |
#ifndef SRC_COREALGORITHM_H
#define SRC_COREALGORITHM_H
#include <iostream>
#include <vector>
#include <cmath>
#include <bitset>
#include <set>
#include "ClusterEditingSolutions.h"
#include "ClusterEditingReduction.h"
#include "CplexInformer.h"
#include "KClustifier.h"
#include "ILPSolver.h"
#include "YParameterSet.h... |
#ifndef _NTNODETEST_H_
#define _NTNODETEST_H_
void ntNodeMatchIdTest();
void ntNodeNameTest();
void ntNodeTriggerPositiveTest();
void ntNodeTriggerNegativeTest();
void ntNodeUntriggerFromCmdTest();
void ntNodeGetVersionStrTest();
void ntNodeGetBoardStrTest();
void ntCrcCalcTest();
#endif |
//
// DHImageFaceSkinningFilter.h
// DHImageKit
//
// Created by 黄鸿森 on 2017/12/10.
// Copyright © 2017年 Huang Hongsen. All rights reserved.
//
#import "DHImageBaseFilter.h"
@interface DHImageFaceThinningFilter : DHImageBaseFilter {
GLuint radiusUniform, aspectRatioUniform, arraySizeUniform, leftContourPoints... |
// OCHamcrest by Jon Reid, http://qualitycoding.org/about/
// Copyright 2017 hamcrest.org. See LICENSE.txt
#import <OCHamcrestIOS/HCBaseMatcher.h>
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract Matches values with <code>-compare:</code>.
*/
@interface HCOrderingComparison : HCBaseMatcher
- (instancetype)initComparing... |
/*
* halm/platform/lpc/gpdma_defs.h
* Copyright (C) 2012 xent
* Project is distributed under the terms of the MIT License
*/
#ifndef HALM_PLATFORM_LPC_GPDMA_DEFS_H_
#define HALM_PLATFORM_LPC_GPDMA_DEFS_H_
/*----------------------------------------------------------------------------*/
#include <xcore/bits.h>
/*---... |
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... |
#pragma once
#include "GatherStats.h"
#include "EOBIWrap.h"
#include <iostream>
void msgLengthError(uint64_t bodyLen, uint64_t msgLen);
template<typename Msg, int tid>
struct MsgReader
{
static constexpr int id = tid;
const char* operator()(
const char* buffer,
const MessageHeaderCompT& he... |
#ifndef MATUTIL_H
#define MATUTIL_H
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
/// Generate a random matrix.
//
// Parameters:
// int *mat - pointer to the generated matrix. mat should have been
// allocated before callling this function.
// const int N - nu... |
//-------------------------------------------------------------------//
// CCustomizeDialog class
//-------------------------------------------------------------------//
//
// NOTE: Derived from code originally posted to CodeGuru.com by
// Nikolay Denisov (acnick@mail.lanck.net).
//
// Copyright © 2005 A better Softwa... |
#include "unistd.h"
int main(){
if(lseek(STDIN_FILENO, 0, SEEK_CUR) == -1){
printf("cannot seek\n");
}else{
printf("seek Ok\n");
}
exit(0);
}
|
// Copyright (c) 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 BITCOIN_VERSION_H
#define BITCOIN_VERSION_H
#include "clientversion.h"
#include <string>
//
// client versioning
//
stati... |
// *******************************************************************
// The MIT License (MIT)
//
// Copyright (c) 2014 Ioan "John" Rus
//
// 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... |
// Copyright (c) 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 BITCOIN_VERSION_H
#define BITCOIN_VERSION_H
#include "clientversion.h"
#include <string>
//
// client versioning
//
stati... |
#include <stdint.h>
typedef int32_t __s32; /* signed 32 b */
typedef uint32_t __u32; /* unsigned 32 b */
typedef uint8_t __u8; /* unsigned 8 b */
typedef int8_t __s8; /* signed 8 b */
typedef uint16_t __u16; /* unsigned 16 b */
typedef int16_t __s16; /* signed 16 b */
typedef __uint8_t sa_family_t; |
#ifndef _FWPREFERENCES_H_
#define _FWPREFERENCES_H_
#include <unordered_map>
#include <unordered_set>
#include <string>
#include <stdexcept>
class FWPreferences {
public:
FWPreferences() { }
const std::string & getText(const std::string & key) const {
auto it = data.find(key);
if (it != data.end()) retu... |
// No build information available
#define BUILD_DATE "2014-12-03 02:19:43 -0800"
|
// File for RK-4 Integration
void rk4(body bodies[], int N, double dt)
{
}
|
/*
Copyright (c) 2013 Mathias Kaerlev
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,... |
//
// TLCoreTextImage.h
// TLAttributedLabel-Demo
//
// Created by andezhou on 15/7/7.
// Copyright (c) 2015年 andezhou. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "TLAttributeConfig.h"
@interface TLAttributedLabelImage : NSObject
/**
* 用来保存图片名字
*/
@property (stron... |
//
// KeyChain.h
// Randomer
//
// Created by 王子轩 on 16/4/9.
// Copyright © 2016年 com.wzx. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface KeyChain : NSObject
//MARK: - Basic
+ (void)save:(NSString *)service data:(id)data;
+ (id)load:(NSString *)service;
+ (void)deleteKey:(NSString *)service;... |
/*
* File: Bullet.h
* Author: zach
*
* Created on March 5, 2009, 1:22 PM
*/
#ifndef _BULLET_H
#define _BULLET_H
#include <SDL/SDL_mixer.h>
#include "Sprite.h"
class Vector;
class Visitor;
class Bullet:public Sprite {
public:
Bullet(int x, int y, int mouse_x, int mouse_y);
~Bullet();
void update(... |
//
// UIPopoverController.h
// UIKit
//
// Copyright (c) 2009-2015 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#import <UIKit/UIKitDefines.h>
#import <UIKit/UIApplication.h>
#import <UIKit/UIViewController.h>
#import <UIKit/UIAppearance.h>
#import <UIK... |
#pragma once
void rose_js_input_mouse(const v8::FunctionCallbackInfo<v8::Value>& args);
void rose_js_input_btn(const v8::FunctionCallbackInfo<v8::Value>& args);
void rose_js_input_btnp(const v8::FunctionCallbackInfo<v8::Value>& args);
void rose_js_input_wheel(const v8::FunctionCallbackInfo<v8::Value>& args);
void ... |
// 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.
// AFNetworking
#define COCOAPODS_POD_AVAILABLE_AFNetworking
#define COCOAPODS_VERSION_MAJOR_... |
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#pragma once
#include "ATNConfigSet.h"
#include "ATNConfig.h"
namespace antlr4 {
namespace atn {
class ANTLR4CPP_PUBL... |
//
// ARNDataObject.h
//
// Created by Stefan Arn on 21.04.15.
// Copyright (c) 2015 Edge5. All rights reserved.
//
#import <Foundation/Foundation.h>
// ARNDataObjects are exactly the same as a CoreData object
// with the same interface, BUT not attached to CoreData.
// With those objects we can enforce a clean an... |
#include <string.h>
#include <strings.h>
#include <wlc/wlc.h>
#include "sway/commands.h"
#include "sway/container.h"
#include "sway/focus.h"
#include "sway/layout.h"
static swayc_t *fetch_view_from_scratchpad() {
if (sp_index >= scratchpad->length) {
sp_index = 0;
}
swayc_t *view = scratchpad->items[sp_index++];
... |
/******************************************************************************************
* Program name : Digital_IN.h
* Description : The declaration for Digital_IN module.
* Author : XU ZAN
* Date : Thu. July 26, 2012
* Copyright(C) 2010 --- 2012 Hella (Shanghai) Electronics Co., Ltd.
* All rights reserved... |
#ifndef __CONFIGURATIONTEST_H__
#define __CONFIGURATIONTEST_H__
#include "../testBasic.h"
USING_NS_CC;
// the class inherit from TestScene
// every Scene each test used must inherit from TestScene,
// make sure the test have the menu item for back to main menu
class ConfigurationTestScene : public TestSc... |
#ifndef SPIDAISYCHAIN_H_INCLUDED
#define SPIDAISYCHAIN_H_INCLUDED
#include <Arduino.h>
#include "pins_arduino.h"
#include <SPI.h>
class SPIDaisyChain : public SPIClass
{
public:
// chain id = 0 : the farthest motor
// chain id = n : the nearest motor
SPIDaisyChain(const int pinCS = 10, const int nDaisyChains = 1... |
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <signal.h>
#include "prussdrv.h"
#include "pruss_intc_mapping.h"
#include "common/mio.h"
#include "../bbb_common/pb_msg.h"
#include "../bbb_common/msg_queue.h"
#define PERROR() printf("[!... |
#pragma once
#include <stdlib.h>
static inline void destroy(void* ptr)
{
free(ptr);
ptr = NULL;
}
|
//
// SwiftyWalkthrough.h
// SwiftyWalkthrough
//
// Created by Rui Costa on 28/09/2015.
// Copyright © 2015 Rui Costa. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for SwiftyWalkthrough.
FOUNDATION_EXPORT double SwiftyWalkthroughVersionNumber;
//! Project version string for SwiftyW... |
float valor_pagamento(float x,float y);
int div_cont(int x);
|
/* paths.c: Path-related compatibility routines
Copyright (c) 1999-2012 Philip Kendall
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your opti... |
//
// NSObject+XDCommonLib.h
// XDCommonLib
//
// Created by suxinde on 16/4/11.
// Copyright © 2016年 su xinde. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* @brief 获取App信息工具类
*/
@interface NSObject (AppInfo)
- (NSString *)xd_appVersion;
- (NSString *)xd_appBuildId;
- (NSString *)xd_bundleI... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSUserDefaults.h"
@interface NSUserDefaults (NSKeyValueCoding)
- (void)setValue:(id)arg1 forKey:(id)arg2;
- (id)valueForKey:(id)arg1;
@end
|
//
// BAGridView_Version.h
// BAGridView
//
// Created by boai on 2017/12/23.
// Copyright © 2017年 boai. All rights reserved.
//
#ifndef BAGridView_Version_h
#define BAGridView_Version_h
/*!
*********************************************************************************
************************************ 更... |
//
// XYZToDoListTableViewController.h
// ThingToDo
//
// Created by Kul on 6/16/2557 BE.
// Copyright (c) 2557 Kul. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XYZToDoItem.h"
@interface XYZToDoListTableViewController : UITableViewController
@property NSMutableArray *toDoItems;
- (IBAction)unwindTo... |
//
// GNInstallment.h
// GNApiSdk
//
// Created by Thomaz Feitoza on 5/5/15.
// Copyright (c) 2015 Gerencianet. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface GNInstallment : NSObject
@property (strong, nonatomic, readonly) NSNumber *parcels;
@property (strong, nonatomic, readonly) NSNumber... |
#include "Types.h"
#include "UsartPutChar.h"
#include "UsartTransmitBufferStatus.h"
#ifdef SIMULATE
#include <stdio.h>
#endif
void Usart_PutChar(char data)
{
while(!Usart_ReadyToTransmit());
#ifdef SIMULATE
printf("%c", data);
#else
AT91C_BASE_US0->US_THR = data;
#endif
}
|
// 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, sublicense,
// and / or se... |
/*
* Copyright (c) 2015 Roman Kuznetsov
*
* 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, pub... |
#include<stdio.h>
int main( void )
{
int n[ 10 ];
int i;
for ( i = 0; i < 10; i++ ) {
n[ i ] = 0;
}
printf( "%s%13s\n", "Element", "Value" );
for ( i = 0; i < 10; i++ ) {
printf( "%7d%13d\n", i, n[ i ] );
}
return 0;
}
|
#ifndef STABLO_H
#define STABLO_H
/* modal tree construction for checking formula validity
* supported logics: K, GL
* half-supported: K4
*/
#include "wff.h"
using namespace std;
struct tree
{
// data
tree* mother = 0;
int modal_depth = 0;
vector<wff*> formulas;
vector<tree*> trees;
// me... |
//
// SplashHelper.h
// OneDay
//
// Created by Kimimaro on 13-5-10.
// Copyright (c) 2013年 Kimi Yu. All rights reserved.
//
#import <Foundation/Foundation.h>
@class SplashHelper;
typedef void (^LoadFlipSplashFinishedBlock)(SplashHelper *helper);
@interface SplashHelper : NSObject
@property (nonatomic, readon... |
//
// FoldingCell.h
// FoldingCell
//
// Created by Alex K. on 02/06/16.
// Copyright © 2016 Alex K. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for FoldingCell.
FOUNDATION_EXPORT double FoldingCellVersionNumber;
//! Project version string for FoldingCell.
FOUNDATION_EXPORT const u... |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
#include "IfcRelConnects.h"
class IFCQUERY_... |
//
// BMCommand.h
// Scorched
//
// Created by Mark Kim on 12/26/12.
// Copyright (c) 2012 Mark Kim. All rights reserved.
//
#import "BMModel.h"
#import "ASIHTTPRequestDelegate.h"
#import "server_constants.h"
@interface BMCommand : BMModel
@property (nonatomic, assign) id<ASIHTTPRequestDelegate> delegate;
@prope... |
//
// Copyright (c) 2008-2019 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, modify, m... |
/**********************************************************************
The following code is derived, directly or indirectly, from the SystemC
source code Copyright (c) 1996-2008 by all Contributors.
All Rights reserved.
The contents of this file are subject to the restrictions and limitations
... |
//
// GDCViewController.h
// GDChannel
//
// Created by Larry Tin on 03/16/2015.
// Copyright (c) 2014 Larry Tin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface GDCViewController : UIViewController
@end
|
//-------------------------------------------------------------------------------
//-- Title : AVALANCHE
//-- File : AVALANCHE.h
//-- Project : aes128avalanchev1.1
//-- Author : C4C Development Team
//-- Organization : King Abdulaziz City for Science and Technology (KACST)
//-- Created ... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <WebCore/DOMHTMLElement.h>
@class DOMStyleSheet, NSString;
@interface DOMHTMLStyleElement : DOMHTMLElement
{
}
@property(readonly) DOMStyleSheet *sheet;
@property(copy... |
//
// UserAViewController.h
// iChat
//
// Created by yz on 15/9/13.
// Copyright (c) 2015年 DeviceOne. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UserAViewController : UIViewController
@end
|
/**
* \file
*
* \brief Board configuration.
*
* Copyright (c) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Re... |
//
// AutoHideKeyboardControllers.h
// TestAutoHideKeyboardViewController
//
// Created by Zhang Zonghui on 9/7/13.
// Copyright (c) 2013 PhoneSoul. All rights reserved.
//
#ifndef TestAutoHideKeyboardViewController_AutoHideKeyboardControllers_h
#define TestAutoHideKeyboardViewController_AutoHideKeyboardController... |
/*
Copyright (C) 2011 by Ivan Safrin
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, ... |
//
// 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 IBDocument;
@protocol IBDocumentArbitrationResponder <NSObject>
- (void)document:(IBDocument *)arg1 willRunArbitrationOfUnits:(id <IBCollection>)arg2;
... |
// Copyright (c) 2015-2019 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 BITCOIN_HTTPSERVER_H
#define BITCOIN_HTTPSERVER_H
#include <string>
#include <functional>
#include <mutex>
#include ... |
/**
* @class dash::mpd::ISegmentURL
* @brief This interface is needed for accessing the attributes and elements of the <tt><b>SegmentURL</b></tt> element
* as specified in <em>ISO/IEC 23009-1, Part 1, 2012</em>, section 5.3.9.3.2, table 14
* @details Each Segment URL may contain the Me... |
//
// GlobalManager.h
// iNvity
//
// Created by Sharon Brizinov on 3/9/14.
// Copyright (c) 2014 Sharon Brizinov. All rights reserved.
//
#import "Globals.h"
@class Conversation;
@interface GlobalManager : NSObject
{
Conversation * conversation;
NSString * strUserName;
}
@property (nonatomic, retain... |
//
// UISwitch+DLSDescribable.h
// Dials
//
// Created by Akiva Leffert on 5/25/15.
// Copyright (c) 2015 Akiva Leffert. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "DLSDescribable.h"
@interface UISwitch (DLSDescribable) <DLSDescribable>
@end
|
/*
* Copyright (c) 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 contribut... |
//
// TypeDefsEnums.h
// Instasite
//
// Created by mike davis on 10/21/15.
// Copyright © 2015 Instasite. All rights reserved.
//
enum GitHubRepoTest {
GitHubRepoExists, GitHubRepoDoesNotExist, GitHubResponsePending, GitHubRepoError
};
typedef enum GitHubRepoTest GitHubRepoTest;
enum GitHubPagesStatus {
GitH... |
/* $OpenBSD: s_fmin.c,v 1.4 2008/12/10 01:08:24 martynas Exp $ */
/*-
* Copyright (c) 2004 David Schultz <das@FreeBSD.ORG>
* 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. Redistribut... |
/*
+------------------------------------------------------------------------+
| Zephir Language |
+------------------------------------------------------------------------+
| Copyright (c) 2011-2015 Zephir Team (http://www.zephir-lang.com) |
+----------... |
//
// ObjCAssembler.h
// MISGenerator
//
// Created by Todd Ditchendorf on 12/6/14.
// Copyright (c) 2014 Todd Ditchendorf. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ObjCAssembler : NSObject
@property (nonatomic, retain) NSMutableArray *classes;
@end
|
/**
* pavelkolodin@gmail.com
*
*/
#ifndef _FIR_STRING_MD5_H_
#define _FIR_STRING_MD5_H_
#include <cstddef>
namespace fir {
namespace str {
/// @brief Calculate MD5 value of the string _in.
/// _out - pre-allocated 16-bytes array.
void md5string(const char* _in, char *_out);
void md5buff(const char* _in, char ... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/tball/tmp/j2objc/jsr305/build_result/java/javax/annotation/WillCloseWhenClosed.java
//
#include "../../J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_JavaxAnnotationWillCloseWhenClosed")
#ifdef RESTRICT_JavaxAnnotationWillCloseWhenClosed
#d... |
// Copyright 2007-2010 Baptiste Lepilleur
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef CPPTL_JSON_ASSERTIONS_H_INCLUDED
#define CPPTL_JSON_ASSERTIONS_H_INCLUDED
#in... |
//
// PayPalPaymentViewController.h
//
// Version 2.8.5-bt1
//
// Copyright (c) 2014, PayPal
// All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PayPalConfiguration.h"
#import "PayPalPayment.h"
// Important note:
//
// This is a proof of payment system. You MUST verify all transactions
// via a call from ... |
typedef struct {
} sp_div;
int sp_div_create(sp_div **p);
int sp_div_destroy(sp_div **p);
int sp_div_init(sp_data *sp, sp_div *p);
int sp_div_compute(sp_data *sp, sp_div *p, SPFLOAT *in1, SPFLOAT *in2, SPFLOAT *out);
|
//
// BasicOpenGLController.h
// SpaceExampleOpenGL
//
// Created by Tim Jarratt on 6/17/13.
//
//
#import <OpenGL/OpenGL.h>
#import <Foundation/Foundation.h>
#import "GLGOpenGLView.h"
#import "GLGGalaxySidebar.h"
#import "GLGPlanetSidebar.h"
#import "GLGEasedPoint.h"
#import "GLGEasedValue.h"
#import "GLGNamePro... |
#pragma once
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/io.hpp>
class IndexMatrix {
public:
IndexMatrix(int length);
~IndexMatrix(void);
const int &operator() (int i, int j) const;
int &operator() (int i, int j);
void print();
private:
IndexMatrix(void);
... |
//========= Copyright Bernt Andreas Eide, All rights reserved. ============//
//
// Purpose: Torch
//
//=============================================================================//
#ifndef WEAPON_TORCH_H
#define WEAPON_TORCH_H
#include "basebludgeonweapon.h"
#if defined( _WIN32 )
#pragma once
#endif
class CWeap... |
#pragma strict_types
#include "../def.h"
inherit STD_ARMOUR;
void create_object(void)
{
set_short("A leather armour");
set_long("A pretty normal looking leather armour.\n");
set_name("armour");
add_id("leather armour");
set_value(30);
set_weight(2);
set_material("leather");
set_new_ac(6... |
#include <stdio.h>
#include <stdlib.h>
/*
4 - Desarrollar un programa que cree dinámicamente un arreglo de números reales que contenga
N elementos (N es ingresado por teclado). Ingresar sus elementos y mostrar aquellos que sean
positivos utilizando aritmética de punteros. Al finalizar, liberar la memoria solicitada e... |
/*
The MIT License (MIT)
Copyright (c) 2013 Newton Kim
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, pu... |
#import <YapDatabase/YapDatabase.h>
#import <YapDataBase/YapDatabaseView.h>
@interface YapDatabase (WMFExtensions)
/**
* Returns the shared DB for the app using the path below.
* This also registers all views by calling wmf_registerViews (See YapDatabase+WMFViews.h)
*/
+ (instancetype)sharedInstance;
+ (instanc... |
/*
File: MotionPrimitives.h
Authors:
Indranil Saha (isaha@cse.iitk.ac.in)
Ankush Desai(ankush@eecs.berkeley.edu)
This file defines data types for storing the robot state, position and motion primitive information.
*/
#include <iostream>
#include <vector>
using namespace std;
struct _RobotState
{
int velocity;
//... |
#pragma once
#include "common.h"
#include "base_objectBase.h"
#include "image.h"
#include <memory>
class Message : public ObjectBase , public std::enable_shared_from_this<Message>{
private:
MessageType type;
public:
Message(Point pos, MessageType type);
void update() override;
void draw() const override;
void a... |
/* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <Async... |
/* Example from Head First C.
Downloaded from https://github.com/twcamper/head-first-c
Modified by Allen Downey.
*/
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <wait.h>
void error(char *msg)
{
fprintf(stderr, "%s: %s\n", msg,... |
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int isRotation(char *str1, char *str2) {
int size = (strlen(str1) * 2) + 1;
char str[size];
strcpy(str, str1);
strcat(str, str1);
str[size-1] = 0;
return strstr(str, str2) == 0 ? 0 : 1;
}
int main() {
// t... |
#ifndef ALINOUS_COMPILE_STMT_TRYBLOCK_H_
#define ALINOUS_COMPILE_STMT_TRYBLOCK_H_
namespace alinous{namespace annotation{
class OneSource;
}}
namespace alinous {namespace compile {namespace analyse {
class SourceValidator;}}}
namespace alinous {namespace compile {
class IAlinousElementVisitor;}}
namespace alinous {na... |
//
// RefreshHeader.h
// SGPullToRefresh
//
// Created by ZhengXiankai on 15/5/19.
// Copyright (c) 2015年 ZhengXiankai. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef enum{
PullToRefreshHeaderViewStateNormal,
PullToRefreshHeaderViewStateReady,
PullToRefreshHeaderViewStateRefreshing,
} PullToR... |
//
// Tomato Media
// 公共头文件
// 作者:SunnyCase
// 创建时间:2015-08-04
//
#pragma once
#define DEFINE_NS_CORE namespace Tomato { namespace Core {
#define END_NS_CORE }}
#define NS_CORE Tomato::Core
#define DEFINE_NS_MEDIA namespace Tomato { namespace Media {
#define END_NS_MEDIA }}
#define NS_MEDIA Tomato::Media
#ifndef DE... |
/*
Implementation of POSIX directory browsing functions and types for Win32.
Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
History: Created March 1997. Updated June 2003 and July 2012.
Rights: See end of file.
*/
#include <TotemScriptTest/dirent.h>
#ifdef __cplusplus
extern "C"
{
#e... |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
#include "IfcResourceLevelRelationship.h"
c... |
//
// MBProgressHUD+MJ.h
//
// Created by mj on 13-4-18.
// Copyright (c) 2013年 itcast. All rights reserved.
//
#import "MBProgressHUD.h"
@interface MBProgressHUD (MJ)
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;
+ (void)showError:(NSString *)error toView:(UIView *)view;
+ (MBProgressHUD *)showM... |
//
// Created by Frank Gregor on 18.01.15.
// Copyright (c) 2015 cocoa:naut. All rights reserved.
//
/*
The MIT License (MIT)
Copyright © 2014 Frank Gregor, <phranck@cocoanaut.com>
http://cocoanaut.mit-license.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and... |
/*
* PIR LIBRARY FOR SPARK CORE
* =======================================================
* Copy this into a new application at:
* https://www.spark.io/build and go nuts!
* -------------------------------------------------------
* Author: Oliver Martini
* Date: Jul 29th 2014
* ==============================... |
/* -------------------------------------------------------------------------------------- *\
menu_direction.h
Header file for <program>:: Action Bar menu
to select animation direction
Author: Peter Deutsch (engineerbill@stemchest.com)
Date Created: 8/16/13 - implem... |
#ifndef _PARSECLI_H_
#define _PARSECLI_H_
#include <string>
#include <ostream>
#include <vector>
struct CLI_Input
{
std::string inputFile;
std::string puzzle;
std::ostream* output;
bool singleLine;
bool printBoard;
bool validCheck;
bool inputLegal;
};
struct GEN_Input
{
std::ostream* output;
int count;
in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.