text stringlengths 4 6.14k |
|---|
// ---------------------------------------------------------------------------
//
// This file is part of the <kortex> library suite
//
// Copyright (C) 2013 Engin Tola
//
// See LICENSE file for license information.
//
// author: Engin Tola
// e-mail: engintola@gmail.com
// web : http://www.engintola.com
//
// -----... |
#ifndef IMAGEANALYZER_H
#define IMAGEANALYZER_H
#include <D2d1helper.h>
#include <mfapi.h>
#include "Common.h"
// Forward declarations
class ImageProcessingUtils;
class ObjectDetails;
class ImageAnalyzer
{
public:
ImageAnalyzer(ImageProcessingUtils* imageProcessingUtils);
~ImageAnalyzer();
public:
std:... |
/*
* 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"
@class NSNumberFormatter, NSString;
@interface PLValue : NSObject
{
id _value;
NSString *_unit;
short _formatter;
}
+ (id)valueWithValue:(id)a... |
#include<stdio.h>
#include<stdlib.h>
void bubble(int vet[], int n) //funcao para ordenar o vetor
{
int a, j, i;
for(j=0; j<n-j; j++) //percorre o vetor
{
for (i=0; i<n-j-1;i++) /*percorre o vetor e compara cada elemento com o do seu lado direito (vet[i+1]).
Se o elemento da direita for menor, troca os dois de... |
//
// SOSimulateDB.h
// SODownloader_Example
//
// Created by 张豪 on 2017/11/5.
// Copyright © 2017年 scfhao. All rights reserved.
//
#import <Foundation/Foundation.h>
@class SOMusic;
/**
为了使整个 Demo 的功能更加完善,SimulateDB 类演示保存下载任务状态的功能。
大家在看 SOSimulateDB 类的代码的时候,可以“假装”这是一个数据库 :P
当你在你的项目中使用 SODownloader 完成下载功能时,要用你应用... |
/*
* CoopInfoReqMsg.h
*
* Created on: 18/set/2014
* Author: greeneyes
*/
#ifndef SRC_MESSAGES_COOPINFOREQMSG_H_
#define SRC_MESSAGES_COOPINFOREQMSG_H_
#include <Messages/Message.h>
class CoopInfoReqMsg: public Message {
private:
public:
CoopInfoReqMsg(NetworkNode* const src, NetworkNode* const dst,
... |
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use ... |
//
// WDECSegment.h
// WDeCom
//
// Created by Vrana, Jozef on 20/09/2018.
// Copyright © 2018 Wirecard Technologies GmbH. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface WDECSegment : NSObject
/** Carrier code
@brief The 2-letter airline code (e.g. LH, BA, KL) supplied by IATA for each leg... |
#import <Foundation/Foundation.h>
#import "SFATask.h"
@interface SFABaseTask : NSOperation <SFATask>
@end
|
#ifndef ROXLU_CONTROLLERH
#define ROXLU_CONTROLLERH
/*
#include "PBD.h"
#include "BoidTypes.h"
#include "Player.h"
*/
#include <pbd/PBD.h>
#include <application/BoidTypes.h>
#include <application/Player.h>
class Controller {
public:
Controller(Boids2& flockPS, Boids2& fxPS, vector<Player*>& players, int w, int h);
... |
/*-----------------------------------------------
GRAYS3.C -- Gray Shades Using Palette Manager
(c) Charles Petzold, 1998
-----------------------------------------------*/
#include <windows.h>
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;
int WINAPI WinMain (HINSTANCE hInstance... |
//
// Conspectus.h
// ConspectusTest
//
// Created by Jeffrey Davis on 6/28/14.
// Copyright (c) 2014 Jeff Davis. All rights reserved.
//
#pragma once
#import "CGGeometryExtensions.h"
#import "UIView+Debug.h"
#import "UIView+Hierarchy.h" |
/// PlnStatement model class declaration.
///
/// @file PlnStatement.h
/// @copyright 2017-2019 YAMAGUCHI Toshinobu
#pragma once
#include "../PlnModel.h"
// Statement: Expression | Block
enum PlnStmtType {
ST_EXPRSN,
ST_VARINIT,
ST_BLOCK,
ST_RETURN,
ST_WHILE,
ST_BREAK,
ST_CONTINUE,
ST_IF
};
class PlnStatemen... |
/* __ __ __ __
____/ /___ ____ ____ ____ ____/ /___ ____ _______ __ ______/ /_ ______/ /_____
/ __, / __ \/ __ \/ __ \/ ,_ \/ __, / __ \/ ,_ \/ ___/ / / / / ___\, / / / / __, /_/ __ \
/ /_/ / /_/ / /_/ / /_/ / / / / /_/ / /_/ / / / / /... |
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
@protocol MTLJSONSerializing
+ (id)JSONKeyPathsByPropertyKey;
@optional
+ (id)JSONTransformerForKey:(id)key;
+ (Class)classForParsingJSONDictionary:(id)parsingJSONDi... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 verev
*
* 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 u... |
/**
* @file HGIAnimation.h
* @brief Animation interface
*
* @author Master.G (MG), mg@snsteam.com
*
* @internal
* Created: 2013/01/11
* Company: SNSTEAM.inc
* (C) Copyright 2013 SNSTEAM.inc All rights reserved.
*
* This file is a part of Hourglass Engine Project.
*
* The copyright to the co... |
#ifndef ADXL345_h
#define ADXL345_h
#include "SPI.h"
#define CS 10
//ADXL345 Register Addresses
#define DEVID 0x00 //Device ID Register
#define THRESH_TAP 0x1D //Tap Threshold
#define OFSX 0x1E //X-axis offset
#define OFSY 0x1F //Y-axis offset
#define OFSZ 0x20 //Z-axis offset
#define DURATION 0x21 ... |
/*
* Copyright (C) 2010-2011 Mamadou Diop.
*
* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
*
* This file is part of Open Source Doubango Framework.
*
* DOUBANGO 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 Sof... |
/*******************************************************************************
USB stack external dependencies file
Company:
Microchip Technology Inc.
File Name:
drv_usb_external_dependencies.h
Summary:
USB Driver external dependencies file
Description:
USB Driver external dependencies f... |
/*
* Graph.h
*
* Created on: 29 jul. 2017
* Author: colosu
*/
#ifndef GRAPH_H_
#define GRAPH_H_
#include <fst/fstlib.h>
namespace fst {
class Graph {
public:
Graph();
Graph(StdMutableFst* trans);
~Graph();
StdMutableFst* getTransducer();
void setTransducer(StdMutableFst* trans);
string getRandInput... |
//
// MagicDefinition.h
// FlameDragon
//
// Created by sui toney on 11-11-23.
// Copyright 2011 ms. All rights reserved.
//
#import "cocos2d.h"
#import "FDRange.h"
#import "FDFileStream.h"
typedef enum MagicType
{
MagicType_Attack = 1,
MagicType_Recover = 2,
MagicType_Offensive = 3,
MagicType_Defensive = 4
... |
/*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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.apa... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#ifndef AMQP_ALLOC_H
#define AMQP_ALLOC_H
#pragma GCC diagnostic ignored "-Wunused-value"
#ifdef __cplusplus
extern "C" {
#include <cstddef>
#include <cstdbool>
#incl... |
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
@interface MapAnnotation : NSObject <MKAnnotation> {
NSString *title;
CLLocationCoordinate2D coordinate;
}
@property (nonatomic, copy) NSString *title;
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
- (id)initWithTitle:(NSStr... |
#include <stdio.h>
int main ()
{
float d; //disabile
float ac; //accompagnatore
float al; //altezza
float s; //supplemento
float p; //prezzo
printf("il cliente e' un disabile? (1=si, 0=no) ");
scanf("%f",&d);
if (d==0){
printf("il cliente e' un accompagnatore? (1=si, 0... |
/* --------------------------------------------------------------------------
*
* File APSGraphicGroup.h
* Author Young-Hwan Mun
*
* --------------------------------------------------------------------------
*
* Copyright (c) 2012 ArtPig Software LLC
*
* http://ww... |
/**
* @file ic_array.h
* @author impworks.
* ic_array header.
* Defines properties and methods of ic_array class.
*/
#ifndef IC_ARRAY_H
#define IC_ARRAY_H
/**
* ic_array constructor.
*/
ic_array::ic_array()
{
mItems = new sc_voidmap();
mCurrIdx = 0;
mCurr = NULL;
mFinished = false;
mAutoIndex.mValue... |
//
// SynthesizeSingleton.h
// CocoaWithLove
//
// Created by Matt Gallagher on 20/10/08.
// Copyright 2009 Matt Gallagher. All rights reserved.
//
// Permission is given to use this source code file without charge in any
// project, commercial or otherwise, entirely at your risk, with the condition
// that any ... |
#ifndef ICONPROVIDER_H
#define ICONPROVIDER_H
#include <QQuickImageProvider>
#define ICONPROVIDER_UNKNOWN_ICON "://icons/unknown.svg"
#define ICONPROVIDER_PIXMAPS_PATH "/usr/share/pixmaps/"
#define ICONPROVIDER_LOCAL_ICONS_PATH "/.local/share/icons"
#define ICONPROVIDER_DEFAULT_SIZE 80,80
#define ... |
//
// RCIsPresentTests.h
// RubyCocoaString
//
// Created by Parker Wightman on 12/24/12.
// Copyright (c) 2012 Parker Wightman Inc. All rights reserved.
//
#import <SenTestingKit/SenTestingKit.h>
@interface RCIsPresentTests : SenTestCase
@end
|
//
// AppDelegate.h
// Demo
//
// Created by kfzx-linz on 16/6/15.
// Copyright © 2016年 ICBC. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
#include <iostream>
#include <ostream>
#include <stdexcept>
using namespace std;
template<typename T>
class Chain; //µ¥Á´±íChain ÀàµÄÉùÃ÷
template<typename T>
class Node //µ¥Á´±í ½áµãNode ÀàµÄ¶¨Òå
{
friend class Chain<T>; //¶¨Òå ÀàChain Ϊ ÀàNode µÄÓÑÔªÀà
private:
T data; ... |
#ifndef SETUP_MV_H_
#define SETUP_MV_H_
#include <config.h>
extern void do_mv_experiment(MVConfig mv_xconfig, workload_config w_config);
#endif // SETUP_MV_H_
|
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "UIViewController.h"
#import "SKUISlideshowItemViewControllerDelegate-Protocol.h"
#import "UIPageViewControllerDataSource-Protocol.h"
#import "UIPageViewControllerDelega... |
// Copyright (c) 2014-present 650 Industries, Inc. All rights reserved.
#import "CNNativeBindingProtocol.h"
@interface OSBinding : NSObject <CNNativeBindingProtocol>
- (NSString *)endianness;
- (NSString *)hostname;
- (NSArray *)loadAverage;
- (NSNumber *)uptime;
- (NSNumber *)freeMemory;
- (NSNumber *)totalMemory;
... |
//
// TripCollectionViewController.h
// GoJournal
//
// Created by Elber Carneiro on 10/11/15.
// Copyright © 2015 Elber Carneiro. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LiquidFloatingActionButton-Swift.h"
#import "GJOutings.h"
@interface TripCollectionViewController : UIViewController <UICollec... |
#ifndef _SWAY_INPUT_INPUT_MANAGER_H
#define _SWAY_INPUT_INPUT_MANAGER_H
#include <libinput.h>
#include <wlr/types/wlr_input_inhibitor.h>
#include <wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h>
#include <wlr/types/wlr_virtual_keyboard_v1.h>
#include <wlr/types/wlr_virtual_pointer_v1.h>
#include "sway/server.h"
#include... |
//
// SecondViewController.h
// 2-1-17
//
// Created by yuu ogasawara on 2017/03/30.
// Copyright © 2017年 stv. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SecondViewController : UIViewController
@end
|
/**
* @file binson_fuzz.c.c
*
* Description
*
*/
/*======= Includes ==========================================================*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <string.h>
#include <stdint.h>
#include <assert.h>
#include "binson_parser.h"
/*======= Local M... |
/* #include "app_waveForm.h" */
#ifndef __APP_WAVEFORM_H
#define __APP_WAVEFORM_H
#include "stm32f30x.h"
/*=====================================================================================================*/
/*=====================================================================================================*/
#... |
#include <stdlib.h>
#include "game/game_state.h"
#include "game/scenes/credits.h"
#include "utils/allocator.h"
#include "video/video.h"
typedef struct credits_local_t {
int ticks;
} credits_local;
void credits_input_tick(scene *scene) {
game_player *player1 = game_state_get_player(scene->gs, 0);
ctrl_ev... |
//
// AddVenueViewController.h
// ShnergleApp
//
// Created by Stian Johansen on 10/06/2013.
// Copyright (c) 2013 Shnergle. All rights reserved.
//
#import "CustomBackViewController.h"
#import <MapKit/MapKit.h>
@interface AddVenueViewController : CustomBackViewController<UITableViewDataSource, UITableViewDelegat... |
/*
* Copyright (c) 2009-2011 Ricardo Quesada
* Copyright (c) 2011-2012 Zynga Inc.
*
* 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... |
//
// Copyright (c) 2013-2015, John Mettraux, jmettraux+flon@gmail.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 rights
// t... |
#ifndef _IMAGE_BASED_FITTING_MASK_H_
#define _IMAGE_BASED_FITTING_MASK_H_
#include "common.h"
#include "CImg.h"
class ImageBasedFittingMask{
public :
ImageBasedFittingMask(); //size of the patch
~ImageBasedFittingMask();
void runComputation(void);
private :
};
#endif //_IMAGE_BASED_FITTING... |
/*
* Copyright 2006 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkFixed_DEFINED
# define SkFixed_DEFINED
# include "include/core/SkScalar.h"
# include "include/core/SkTypes.h"
# include "include/private/SkSaf... |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/* Copyright (c) 2018 Facebook */
#ifndef __LINUX_BTF_H__
#define __LINUX_BTF_H__
#include <linux/types.h>
#define BTF_MAGIC 0xeB9F
#define BTF_VERSION 1
struct btf_header {
__u16 magic;
__u8 version;
__u8 flags;
__u32 hdr_len;
/* All offsets are i... |
//
// POAPinyin.h
// POA
//
// Created by haung he on 11-7-18.
// Copyright 2011年 huanghe. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface KCPinyinHelper : NSObject
// 中文转拼音,firstCharFinishBlock,汉子首字母;allCharFinishBlock,汉子全拼
+ (void)convertFromChineseToPinyin:(NSString *)chineseSource
... |
#ifndef PAIR_CO2_SILICAGEL_H
#define PAIR_CO2_SILICAGEL_H
#include "pair_template.h"
#include "eqn_template.h"
#include "eqn_toth.h"
class pair_CO2_silicaGel: public pair_template
{
public:
pair_CO2_silicaGel(std::string subType = "");
void init();
double calc(std::string eqn, double tK, double xMass);
}... |
/*
* Name: wx/dfb/chkconf.h
* Author: Vaclav Slavik
* Purpose: Compiler-specific configuration checking
* Created: 2006-08-10
* Copyright: (c) 2006 REA Elektronik GmbH
* Licence: wxWindows licence
*/
/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
#ifndef ... |
/*
* switch_pushbutton.h
*
* Created on: 2015-02-10
* Author: Allen
*/
#ifndef SWITCH_PUSHBUTTON_H_
#define SWITCH_PUSHBUTTON_H_
#define switchAddress (volatile char*) 0x00004870
#define ledAddress (volatile char*) 0x00004860
#define keyAddress (volatile char*) 0x00004840
#include <altera_av... |
//
// ZLPhotoBrowser.h
// 多选相册照片
//
// Created by long on 15/11/27.
// Copyright © 2015年 long. All rights reserved.
//
#import <UIKit/UIKit.h>
@class ZLPhotoModel;
@class PHAsset;
@class AVPlayerItem;
@interface ZLImageNavigationController : UINavigationController
@property (nonatomic, assign) UIStatusBarStyle ... |
#ifndef _CRITICALSECTION_
#define _CRITICALSECTION_
#include "PublicDef.h"
#include <list>
namespace BaseLabWin
{
class CCRITICAL_SECTION
{
public:
CCRITICAL_SECTION();
~CCRITICAL_SECTION();
inline void lock();
inline void unlock();
static CCRITICAL_SECTION& getInstance();
private:
CRITICAL_SECTION... |
/***********************************************
* # Copyright 2011. Thuy Diem Nguyen
* # Contact: thuy1@e.ntu.edu.sg
* #
* # GPL 3.0 applies.
* #
* ************************************************/
#ifndef _EUCLID_MAIN_H_
#define _EUCLID_MAIN_H_
#include <stdio.h>
#include <stdlib.h>
#include <iostream>... |
/*
LUFA Library
Copyright (C) Dean Camera, 2009.
dean [at] fourwalledcubicle [dot] com
www.fourwalledcubicle.com
*/
/*
Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, and distribute this software
and its do... |
//
// AppDelegate.h
// VBVerticalScrollViewExample
//
// Created by Valeriy Bezuglyy on 30/07/15.
// Copyright (c) 2015 Valeriy Bezuglyy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
//
// SingViewController.h
// HighCBar
//
// Created by shadow on 14-6-28.
// Copyright (c) 2014年 genio. All rights reserved.
//
#import <UIKit/UIKit.h>
@class WaterView, ScoreViewController;
@interface SingViewController : UIViewController <AVAudioPlayerDelegate>
@property (weak, nonatomic) IBOutlet WaterView *wa... |
//
// NewsCell.h
// Newsobj
//
// Created by gdarkness on 16/2/28.
// Copyright © 2016年 gdarkness. All rights reserved.
//
#import <UIKit/UIKit.h>
@class NewsModel;
@interface NewsCell : UITableViewCell
@property (nonatomic,strong)NewsModel *news;
+(NSString *)cellIdentiferWithNews:(NewsModel *)news;
+(CGFloat)cel... |
//
// StoreKISS.h
// StoreKISS
//
// Created by Misha Karpenko on 5/24/12.
// Copyright (c) 2012 Redigion. All rights reserved.
//
#import "StoreKISSShared.h"
#import "StoreKISSDataRequest.h"
#import "StoreKISSPaymentRequest.h"
|
//
// ViewController.h
// Coloroid
//
// Copyright (c) 2014 Ayan Yenbekbay. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <SpriteKit/SpriteKit.h>
@interface ViewController : UIViewController
@end
|
#ifndef nimbus_resource_load_h
#define nimbus_resource_load_h
#include <tyran_engine/resource/id.h>
#include <tyran_engine/resource/type_id.h>
#include <tyran_engine/resource/index.h>
extern const u8t NIMBUS_EVENT_RESOURCE_LOAD;
struct nimbus_event_write_stream;
typedef struct nimbus_resource_load {
nimbus_resourc... |
/***************************************************//**
* @file RawUSBBusAccessFeatureInterface.h
* @date October 2012
* @author Ocean Optics, Inc.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this... |
#pragma once
#include "glm/vec3.hpp"
enum ShapeType
{
PLANE = 0,
SPHERE = 1,
BOX = 2,
};
class PhysicsObject
{
public:
PhysicsObject();
~PhysicsObject();
virtual void fixedUpdate(glm::vec2 gravity, float timeStep) = 0;
virtual void debug() = 0;
virtual void makeGizmo() = 0;
virtual void... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <DVTDeviceFoundation/DVTBuildTargetDevice.h>
#import <IDEKit/DVTBasicDeviceUI-Protocol.h>
@class DVTPlatform, NSArray, NSError, NSImage, NSSet, NSString;
@interface D... |
#ifndef FSEGTFREECAMERACONTROLLERDEFINED
#define FSEGTFREECAMERACONTROLLERDEFINED
#include <memory>
#include <FlameSteelEngineGameToolkit/IO/Input/FSEGTInputController.h>
#include <FlameSteelCore/FSCObject.h>
class FSEGTFreeCameraControllerDelegate;
using namespace std;
class FSEGTFreeCameraController: public enabl... |
#include "../Ability_private.h"
int JiBenBianFa_cost(struct Ability* self)
{
return 0;
}
void JiBenBianFa_add_buff_to_attacker(struct Ability* self, struct Hero* attacker, struct Hero* target)
{
Hero_AddBuff(attacker, JiBenBianFaBuff_Get(99));
}
float JiBenBianFa_damage(struct Ability* self, struct Hero* attack... |
/*
* Copyright (c) 2015 Kadambari Melatur, Alexandre Monti, Rémi Saurel and Emma Vareilles
*
* 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 limita... |
/*
* File: udp.h
* Author: alpsayin
*
* Created on March 21, 2012, 2:54 PM
*/
#ifndef UDP_H
#define UDP_H
#include <stdio.h>
#include <inttypes.h>
#include <stdint.h>
#include "ax25.h"
#define UDP_MAX_PAYLOAD_LENGTH (256)
#define UDP_TOTAL_HEADERS_LENGTH (18+8)
#define IPV4_VERSIONnIHL_LENGTH 1
#define IPV... |
//
// highScore.h
// tapat
//
// Created by 吴 wuziqi on 11-1-26.
// Copyright 2011 同济大学. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "GameCenterManager.h"
@class GameCenterManager;
@interface highScore : CCLayer<UIAlertViewDelegate,GameCenterManagerDelegate> {
Gam... |
/* expat_config.h. Generated by configure. */
/* expat_config.h.in. Generated from configure.in by autoheader. */
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
#define BYTEORDER 1234
/* Define to 1 if you have the `bcopy' function. */
#define HAVE_BCOPY 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#def... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: ./suggest/src/java/org/apache/lucene/search/suggest/document/SuggestIndexSearcher.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_OrgApacheLuceneSearchSuggestDocumentSuggestIndexSearcher")
#ifdef RESTRICT_OrgApacheLuceneSearchSugg... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_spawnv_61b.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-61b.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read dat... |
//
// HunterEdgeData.h
// HunterEdges
//
// Created by James Forkey on 8/9/13.
// Copyright (c) 2013. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface HunterEdgeData : NSObject
@property (strong) NSString *title;
@property (assign) float rating;
@property (strong) NSString *dateTime;
- (id)i... |
/**
* FileMakerListSpy.h
*
* Created on: 2013/08/15
* Author: furukawayoshihiro
*/
#ifndef FILEMAKERLISTSPY_H_
#define FILEMAKERLISTSPY_H_
#include "FileMakerList.h"
class FileMakerListSpy: public FileMakerList {
private:
unsigned int numberOfCall_;
public:
FileMakerListSpy();
virtual ~FileMakerListSpy... |
#include <check.h>
#include <stdio.h>
#include "../file-stream.h"
START_TEST (stdio_test);
{
int i;
stream_t *stdo = stdout_stream_new ();
stream_t *stde = stderr_stream_new ();
stream_t *stdi = stdin_stream_new ();
for (i = 0; i < 2; ++i)
{
if (stdo->write (stdo, "Testing stdout.\n") == EOF)
... |
/*
* -------------------------------------------------------------------------------------------
* "THE MATE-WARE LICENSE" (Revision 42):
* Daniel Steuer <daniel.steuer@bingo-ev.de> schrieb diese Datei.
* Solange Sie diesen Vermerk nicht entfernen, können Sie mit dem Material machen,
* was Sie möchten. Wenn wir uns ein... |
#ifndef dplyr_tools_RowwiseDataFrame_H
#define dplyr_tools_RowwiseDataFrame_H
#include <tools/SlicingIndex.h>
#include <dplyr/Result/RowwiseSubset.h>
#include <tools/SymbolString.h>
namespace dplyr {
class RowwiseDataFrame;
class RowwiseDataFrameIndexIterator {
public:
RowwiseDataFrameIndexIterator() : i(0) {}
... |
/* $Id: util.c,v 1.1.1.1 2004/12/23 04:04:05 ellson Exp $ $Revision: 1.1.1.1 $ */
/* vim:set shiftwidth=4 ts=8: */
/**********************************************************
* This software is part of the graphviz package *
* http://www.graphviz.org/ *
* ... |
void getcolor(void);
void newcolor(char *);
void setcolor(void);
|
/*
VisionSVC_impl.h
Copyright (c) 2011 AIST All Rights Reserved.
Eclipse Public License v1.0 (http://www.eclipse.org/legal/epl-v10.html)
*/
// -*-C++-*-
/*!
* @file VisionSVC_impl.h
* @brief Service implementation header of Vision.idl
*
*/
#include "BasicDataTypeSkel.h"
#include "ImgSkel.h"
#include "Vision... |
/*
* Copyright (C) 2010 The Paparazzi Team
*
* This file is part of paparazzi.
*
* paparazzi 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, or (at your option)
* any later version.
... |
#include <stdio.h>
#include <unistd.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/rfcomm.h>
|
/* myShape.h Copyright (c) 2003 by T. HAYASHI and K. KATO */
/* All rights reserved */
#include <math.h>
#define PI2 2.0*3.1415926534
void myCircle( float r, int n )
{
float x, y, z, dq;
int i;
dq = PI2/(float)n;
glPushMatrix();
y = 0.0;
glBegin( GL_LINE_LOOP ... |
/*
* gbversion.h is generated from gbversion.h.in which uses autoconf voodoo
* to get the version number from configure.in.
*
* Isn't simplification via automation grand?
*/
#define VERSION "1.4.2"
#define WEB_DOC_DIR "http://www.gpsbabel.org/htmldoc-1.4.2"
|
/****************************************************************************
**
** This file is part of the Qtopia Opensource Edition Package.
**
** Copyright (C) 2008 Trolltech ASA.
**
** Contact: Qt Extended Information (info@qtextended.org)
**
** This file may be used under the terms of the GNU General Public Licen... |
/*=============================================================================
# FileName: graph.h
# Desc:
# Author: jlpeng
# Email: jlpeng1201@gmail.com
# HomePage:
# Created: 2013-04-02 16:07:56
# LastChange: 2013-05-09 04:06:06
# History:
==================================... |
/*
* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and ... |
#include <stdlib.h>
#include <stdio.h>
void endian_swap16bit(unsigned short* x)
{
*x = (*x>>8) |
(*x<<8);
}
void endian_swap32bit(unsigned int* x)
{
*x = (*x>>24) |
((*x<<8) & 0x00FF0000) |
((*x>>8) & 0x0000FF00) |
(*x<<24);
}
void endian_swap64bit(unsigned long long* x)
{
... |
#ifndef WEB_DOWNLOAD
#define WEB_DOWNLOAD
#include <string>
#include <curl/curl.h>
#include <map>
namespace hh_pc{
class DownloadUrl{
private:
CURL *curl;
CURLcode res;
//string content;
public:
DownloadUrl();
std::string download(const std::str... |
#ifndef LIST_H
#define LIST_H
#define New(a) (a*)malloc(sizeof(a))
#define New2(a,n) (a*)malloc(sizeof(a)*n)
#ifdef __cplusplus
extern "C"{
#endif
#include<stdlib.h>
#include<stdio.h>
typedef void (*nodeprint)(void* data);
typedef void (*nodefree)(void* _this);
typedef int (*nodeequal)(void* a,void* b);
typ... |
// treeprint.c
#include "tree.h"
static void TreeNode_print(TreeNode *tn)
{
printf("%d ",tn -> value);
}
static void Tree_printPreorder(TreeNode *tn)
{
if (tn == NULL)
{
return;
}
TreeNode_print(tn);
Tree_printPreorder(tn -> left);
Tree_printPreorder(tn -> right);
}
static void Tree_printInord... |
/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
*
* 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 optio... |
// Aseprite
// Copyright (C) 2001-2017 David Capello
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
#ifndef APP_UI_EDITOR_CUSTOMIZATION_DELEGATE_H_INCLUDED
#define APP_UI_EDITOR_CUSTOMIZATION_DELEGATE_H_INCLUDED
#pragma once
#include "app/ui/keyboard_shortcuts.h"... |
//@
//@ Dklab Realplexor: Comet server which handles 1000000+ parallel browser connections
//@ Author: Dmitry Koterov, dkLab (C)
//@ GitHub: http://github.com/DmitryKoterov/
//@ Homepage: http://dklab.ru/lib/dklab_realplexor/
//@
//@ ATTENTION: Java-style C++ programming below. :-)
//@
//@ This is a line-by-line C++ re... |
/*
* Card-specific functions for the Siano SMS1xxx USB dongle
*
* Copyright (c) 2008 Michael Krufky <mkrufky@linuxtv.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
... |
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* cedit-spell-checker-dialog.h
* This file is part of cedit
*
* Copyright (C) 2002 Paolo Maggi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... |
/* $Id: apb.h,v 1.1.1.1 2010/03/11 21:10:21 kris Exp $
* apb.h: Advanced PCI Bridge Configuration Registers and Bits
*
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
*/
#ifndef _SPARC64_APB_H
#define _SPARC64_APB_H
#define APB_TICK_REGISTER 0xb0
#define APB_INT_ACK 0xb8
#define APB_PRIMARY_MASTER_RETRY... |
/****************************************************************************
**
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** This file may be used under the terms of the GNU General Public
** License versions 2.0 or 3.0 as published... |
//////////////////////////////////////////////////////////////////////////////
// Copyright 2004-2014, SenseGraphics AB
//
// This file is part of H3D API.
//
// H3D API is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.