text
stringlengths
4
6.14k
/* * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that ...
/* { dg-do compile { target powerpc*-*-* } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ /* { dg-options "-maltivec -ansi" } */ /* PR 16155 * Compilation of a simple altivec test program fails if the -ansi flag is * given to gcc, when compiling with -maltivec. */ #include <altivec.h> void foo(void...
/* * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or...
int __atomic_readv_replacement(unsigned char iov_len, int count, int i) { unsigned char bytes = 0; if ((unsigned char)((char)127 - bytes) < iov_len) return 22; return 0; }
// SPDX-License-Identifier: GPL-2.0-or-later /* * v4l2-i2c - I2C helpers for Video4Linux2 */ #include <linux/i2c.h> #include <linux/module.h> #include <media/v4l2-common.h> #include <media/v4l2-device.h> void v4l2_i2c_subdev_unregister(struct v4l2_subdev *sd) { struct i2c_client *client = v4l2_get_subdevdata(sd); ...
/* Compiler options: #notarget: cris*-*-elf #cc: additional_flags=-pthread #output: abb ok\n Testing a pthread corner case. Output will change with glibc releases. */ #include <stddef.h> #include <stdio.h> #include <unistd.h> #include <pthread.h> #include <stdlib.h> static void * process (void *arg) { int ...
#ifndef _LINUX_KERNEL_STAT_H #define _LINUX_KERNEL_STAT_H #include <linux/smp.h> #include <linux/threads.h> #include <linux/percpu.h> #include <linux/cpumask.h> #include <linux/interrupt.h> #include <asm/irq.h> #include <asm/cputime.h> /* * 'kernel_stat.h' contains the definitions needed for doing * some kernel sta...
/* * Copyright (C) ST-Ericsson SA 2011 * * License Terms: GNU General Public License v2 * Author: Mattias Wallin <mattias.wallin@stericsson.com> for ST-Ericsson */ #include <linux/io.h> #include <linux/errno.h> #include <linux/clksrc-dbx500-prcmu.h> #include <asm/localtimer.h> #include <plat/mtu.h> #include <ma...
/* * Copyright (C) 1999-2013, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License version 2 (the "GPL"), * available at http://www.broadco...
/* * Device Tree support for Allwinner A1X SoCs * * Copyright (C) 2012 Maxime Ripard * * Maxime Ripard <maxime.ripard@free-electrons.com> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether expres...
/* Copyright 2014-2016, Mansour Moufid <mansourmoufid@gmail.com> * * 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 this permission notice appear in all copies. * * THIS SOFTWARE IS PROVIDED "...
/* * Copyright (c) 2012-2013 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTH...
#include <assert.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> inline const char * bool_to_str (const bool); inline const char * charptr_to_str (const char * const); enum Verbosity { Quiet, Verbose, Debug }; struct pet_opts_t { char * input_fn; /* input filen...
/* $OpenBSD: aac_tables.h,v 1.5 2009/03/06 07:28:10 grange Exp $ */ /*- * Copyright (c) 2000 Michael Smith * Copyright (c) 2000 BSDi * Copyright (c) 2000 Niklas Hallqvist * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
// // ViewController.h // activeSearchDemo // // Created by Neil Mansilla on 11/12/12. // Copyright (c) 2012 Mashery. All rights reserved. // #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import <MapKit/MapKit.h> #import <CoreLocation/CoreLocation.h> #import <CoreData/CoreData.h> #import "Activity.h" ...
// global.h // created by Kuangdai on 27-Mar-2016 // global constants and macros #pragma once // tiny number const float tinySingle = 1e-5f; const double tinyDouble = 1e-10; // solver precision #ifdef _USE_DOUBLE typedef double Real; const Real tinyReal = tinyDouble; #else typedef float Real; const...
// Copyright (c) 2011-2013 The Yescoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef SENDCOINSENTRY_H #define SENDCOINSENTRY_H #include "walletmodel.h" #include <QStackedWidget> class WalletModel; na...
/* sentinel.h - lite message bus framework for device to host functions The MIT License Copyright (c) 2016 Sky Morey 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, i...
// // 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 CPushContact, MMUIViewController; @protocol SayHelloDataLogicDelegate <NSObject> - (void)OnSayHelloDataChange; - (MMUIViewController *)getViewControlle...
// // IntroLayer.h // Eclosion // // Created by Tsubasa on 13-9-1. // Copyright __MyCompanyName__ 2013年. All rights reserved. // // When you import this file, you import all the cocos2d classes #import "cocos2d.h" // HelloWorldLayer @interface IntroLayer : CCLayer { } // returns a CCScene that contains the Hell...
#ifndef _CO_TYPELOADER_H_ #define _CO_TYPELOADER_H_ #include "csl/Loader.h" #include <co/RefPtr.h> namespace co { class IType; class INamespace; class ITypeBuilder; class ITypeManager; class TypeManager; /*! Locates and loads a co::IType from a CSL file in the filesystem. The type is identified ...
#pragma once #include <pebble.h> //#ifdef PBL_COLOR char* get_gbitmapformat_text(GBitmapFormat format); const char* get_gcolor_text(GColor m_color); void replace_gbitmap_color(GColor color_to_replace, GColor replace_with_color, GBitmap *im, BitmapLayer *bml); void spit_gbitmap_color_palette(GBitmap *im); bool gbitmap_...
#include "common.h" #include "parser.h" #include "parser_codes.h" #include "keywords_hash.h" static struct resword_decl { const char *keyword; int token_code; } reswords_table[32] = { "auto", lxm_auto, "break", lxm_break, "case", lxm_case, "char", lxm_cha...
#version 120 void main() { }
#pragma once #include <glm/vec2.hpp> namespace OpenGLGUI { struct Drawable { virtual void draw(glm::vec2 origin, glm::vec2 canvasSize) = 0; }; }
/* * This an unstable interface of wlroots. No guarantees are made regarding the * future consistency of this API. */ #ifndef WLR_USE_UNSTABLE #error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features" #endif #ifndef WLR_TYPES_TABLET_TOOL_H #define WLR_TYPES_TABLET_TOOL_H #include <stdint.h> #include <way...
#ifndef NRG_SC_LOG_ITEM_H #define NRG_SC_LOG_ITEM_H #include <log_item.h> namespace Log_viewer { class NRG_legacy_log_item : public Log_item { public: NRG_legacy_log_item(const QString& value, const QString& separator, const QString& origin); pr...
// // KLDraggableTransition.h // Pods // // Created by Dara on 26/08/2016. // // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @protocol KLDraggableTransitionDelegate; @interface KLDraggableTransition : NSObject <UIViewControllerAnimatedTransitioning, UIViewControllerInteractiveTransitioning> + (inst...
// // JEToolkit.h // JEToolkit // // Copyright (c) 2013 John Rommel Estropia // // 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 ...
/*************************************************************************/ /* LightEngine.h */ /*************************************************************************/ /* This file is part of: */ /* ...
// // AppDelegate.h // Sample04_UsingTrackingResultSet // // Created by Tae Hyun Na on 2012. 3. 10. // Copyright (c) 2014, P9 SOFT, Inc. All rights reserved. // // Licensed under the MIT license. #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) U...
#ifndef RIRC_STATE_H #define RIRC_STATE_H #include "src/components/buffer.h" #include "src/components/channel.h" #include "src/components/server.h" #define FROM_INFO "--" #define FROM_ERROR "-!!-" #define FROM_UNKNOWN "-\?\?-" #define FROM_JOIN ">>" #define FROM_PART "<<" #define FROM_QUIT "<<" #define...
// The following ifdef block is the standard way of creating macros which make exporting // from a DLL simpler. All files within this DLL are compiled with the LIBEFFECTS_EXPORTS // symbol defined on the command line. this symbol should not be defined on any project // that uses this DLL. This way any other project...
// qxTerrainTile.h // // Original code: GenScape (c) 1999, Lucas Ackerman // // Author: Jeff Thelen // // Copyright 2000 Quixotic, Inc. All Rights Reserved. ////////////////////////////////////////////////////////////////////// #ifndef qxTerrainTile_H #define qxTerrainTile_H class qxTerrainPoly; class qxTerrainVert...
// // NSObject+Common.h // #import <Foundation/Foundation.h> @interface NSObject (Common) //成功信息 + (void)showSuccessMsg:(NSString *)success; //失败信息 + (void)showErrorMsg:(NSString *)error; @end
#pragma once #include <glm\glm.hpp> namespace vertex { class VertexFormat { public: glm::vec3 position; glm::vec3 normal; glm::vec2 texture; public: //------------------------------ Constructors VertexFormat(); VertexFormat(glm::vec3 position, glm::vec3 normal, glm::vec2 texture); //-------------...
/* -*- C++ -*- */ //============================================================================= /** * @file Asynch_Connector3.h * * * @author Alexander Libman <libman@terabit.com.au> */ //============================================================================= #ifndef TPROACTOR_BASECONNECTOR_H #defi...
// // LaunchStateManager.h // healthcoming // // Created by Bennett on 16/5/4. // Copyright © 2016年 Franky. All rights reserved. // #import <Foundation/Foundation.h> @interface LaunchStateManager : NSObject @property (nonatomic,assign) BOOL firstLaunch;//是否是首次安装 @property (nonatomic,assign) BOOL everLaunch;//是否是...
// // MessageBox.h // tdgame // // Created by Like Zhang on 3/17/13. // // #ifndef __tdgame__MessageBox__ #define __tdgame__MessageBox__ #include <iostream> #include "cocos2d.h" #include <string> #include <queue> using namespace cocos2d; using namespace std; struct MessageIcon { string name; string descr...
#pragma once #include <fstream> #include <string> #include <vector> #include <queue> #include <SFML\System.hpp> #include "Definitions.h" class Quadtree { int size; std::vector<std::vector<Index>> quadtree; // std::vector<std::vector<std::ofstream*>> quadtreeFiles; // std::vector<std::vector<long>> qua...
// // AFZRequestReviewsRelatedToArticleWithId.h // Pods // // Created by Alexander Fedosov on 27.01.16. // // #import <Foundation/Foundation.h> #import "AFZRequest.h" #import "AFZRequestPagination.h" @interface AFZRequestReviewsRelatedToArticleWithId : AFZRequest<AFZRequestPagination> @property (nonatomic, strong...
// // NSManagedObject+IVGUtils.h // IVGCoreDataUtils // // Created by Douglas Sjoquist on 3/28/14. // Copyright (c) 2014 Ivy Gulch, LLC. All rights reserved. // #import <CoreData/CoreData.h> typedef void(^IVGMOObserverBlock)(id managedObject, NSString *keyPath, id oldValue, id newValue); @interface NSManagedObje...
/** * BasicFunc.h * * Created on: 2016年4月4日 * Author: fyabc */ #ifndef INCLUDE_MPL_BASICFUNC_H_ #define INCLUDE_MPL_BASICFUNC_H_ namespace fylib { namespace mpl { /// compose template <typename f, typename g> struct compose { template <typename... args> using apply = typename g::template apply< ...
/* ** Definitions for a less error-prone memory allocator. */ #include <stdlib.h> #define malloc DON'T CALL malloc DIRECTLY! #define MALLOC(num,type) (type *)alloc( (num) * sizeof(type) ) extern void *alloc( size_t size );
// // CardGameViewController.h // Matchismo // // Created by Yuhua Mai on 7/2/13. // Copyright (c) 2013 Yuhua Mai. All rights reserved. // #import <UIKit/UIKit.h> @interface CardGameViewController : UIViewController<UIAlertViewDelegate> @end
//--- // // License: MIT // // Author: David Burken // // Description: // // Motion Imagery File TRE(MTIMFA) class declaration. // // See document NGA.STND.0044_1.3_MIE4NITF, table 15 for more info. // //--- // $Id #ifndef ossimNitfMtimfaTag_HEADER #define ossimNitfMtimfaTag_HEADER 1 #include <ossim/support_data/ossi...
// // Created by kevin on 26/07/16. // #ifndef CPP_CSP_SUCCESSOR_H #define CPP_CSP_SUCCESSOR_H #include "../process.h" #include "../chan.h" namespace csp { namespace plugnplay { /*! \class successor * \brief A process that increments its input. * * \tparam T The type that t...
// 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...
// // Establishment.h // Inbtwn // // Created by Corey Schaf on 4/23/14. // Copyright (c) 2014 Rogue Bit Studios. All rights reserved. // #import <Foundation/Foundation.h> @interface Establishment : NSObject @property (nonatomic, strong) NSString *identifier; @property (nonatomic, strong) NSString *name; @proper...
// Copyright (C) 2011 Dg Nechtan <dnechtan@gmail.com>, MIT /* $Id: fnx_session.h 315615 2011-08-27 14:14:48Z nechtan $ */ #ifndef FNX_SESSION_H #define FNX_SESSION_H #define FNX_SESSION_PROPERTY_NAME_STATUS "_started" #define FNX_SESSION_PROPERTY_NAME_SESSION "_session" #define FNX_SESSION_PROPERTY_NAME_INSTANCE...
// // XHInstagramStoreManager.h // InstagramThumbnail // // Created by 曾 宪华 on 14-2-23. // Copyright (c) 2014年 嗨,我是曾宪华(@xhzengAIB),曾加入YY Inc.担任高级移动开发工程师,拍立秀App联合创始人,热衷于简洁、而富有理性的事物 QQ:543413507 主页:http://zengxianhua.com All rights reserved. // #import <Foundation/Foundation.h> typedef void (^DownloadDataSourceCompl...
// // SRHStreamCell.h // StreamPerfect // // Created by Francois Courville on 2014-05-03. // Copyright (c) 2014 Swift Synergy. All rights reserved. // #import <UIKit/UIKit.h> @class SRHStream; @interface SRHStreamCell : UICollectionViewCell @property(nonatomic, weak) SRHStream *stream; @end
#import "MOBProjection.h" @interface MOBProjectionEPSG42308 : MOBProjection @end
/* 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 "IfcFlowControllerType.h" class IF...
// // AppDelegate.h // Week01 // // Created by Lucas Campos on 5/23/16. // Copyright © 2016 Lucas Campos. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* * Copyright (c) 2013 Jens Schmer * This file is distributed under the MIT License. * See COPYING within this package for further information. */ #pragma once #include <glm/glm.hpp> #include <SFMLApp.h> #include <IRender.h> #include <CameraInterface.hpp> class Teapot : public CameraInterface, public IRender ...
#include<stdio.h> int power(); main() { int i; for(i=0;i<10;i++) printf("%d %d %d \n",i,power(2,i), power(-3,i)); return 0; } power(base,n) int base,n; { int i,p; p = 1; for(i=1;i<=n;++i) p = p * base; return p; }
/* * NH hash algorithm, specifically the variant used by Adiantum hashing * * Copyright (C) 2018 Google LLC * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. */ #include "nh.h" #include "testvec.h" #if 0 /* unop...
/* * libpal - Automated Placement of Labels Library http://pal.heig-vd.ch * * * Copyright (C) 2007, 2008 MIS-TIC, HEIG-VD (University of Applied Sciences Western Switzerland) * Copyright (C) 2008, 2009 IICT-SYSIN, HEIG-VD (University of Applied Sciences Western Switzerland) * * * This file is part of ...
#include "../include/apue.h" #include <dirent.h> #include <limits.h> #include <string.h> typedef int Myfunc(const char *, const struct stat *, int); static int myftw(char *, Myfunc *); static int dopath(Myfunc *); static int myfunc(const char *pathname, const struct stat *statptr, int type); static long nreg, ndir, n...
// // NSManagedObjectContext+ContextSave.h // MADDisc // // Created by LEE CHIEN-MING on 2/19/15. // Copyright (c) 2015 Furnace . All rights reserved. // #import <CoreData/CoreData.h> #import "NSManagedObjectContextTypeDefine.h" @interface NSManagedObjectContext (ContextSave) - (void)contextSaveAsync:(DDContextSa...
// // NineStyleDelegate.h // MobileFramework // // Created by Think on 14-5-22. // Copyright (c) 2014年 wt. All rights reserved. // #import <Foundation/Foundation.h> @protocol NineStyleDelegate <NSObject> @end
#pragma once class Game; class FrameObject { public: virtual void frameUpdate(const Game& game) = 0; virtual ~FrameObject() {} };
// // NBViewController.h // demo // // Created by Josh Justice on 3/9/14. // Copyright (c) 2014 NeedBee. All rights reserved. // #import <UIKit/UIKit.h> @interface NBViewController : UIViewController <UITableViewDataSource> @end
#ifndef _IGNORE_WARNINGS_H__ #define _IGNORE_WARNINGS_H__ #ifndef _SCL_SECURE_NO_WARNINGS #define _SCL_SECURE_NO_WARNINGS #endif #ifndef BOOST_DISABLE_ABI_HEADERS #define BOOST_DISABLE_ABI_HEADERS #endif #if defined (BOOST_WINDOWS) && BOOST_WINDOWS #ifndef NOMINMAX # define NOMINMAX // ignore min, max def...
#ifndef ORG_WALRUS_ALARMFSCK_ALARMFSCK_H #define ORG_WALRUS_ALARMFSCK_ALARMFSCK_H #include "common.h" #include <gtkmm/button.h> #include <gtkmm/window.h> #include <gtkmm/box.h> #include <gtkmm/label.h> #include <gtkmm/entry.h> #include <glibmm/dispatcher.h> #include <canberra-gtk.h> #include <cryptopp/osrng.h> class ...
#pragma once #include <FalconEngine/Graphics/Renderer/Resource/BufferAdaptor.h> namespace FalconEngine { FALCON_ENGINE_CLASS_BEGIN BufferCircular : public BufferAdaptor { public: explicit BufferCircular(const std::shared_ptr<Buffer>& buffer, size_t bufferZoneSize); protected: /******************************...
// stdafx.h : ±ê׼ϵͳ°üº¬ÎļþµÄ°üº¬Îļþ£¬ // »òÊǾ­³£Ê¹Óõ«²»³£¸ü¸ÄµÄ // ÌØ¶¨ÓÚÏîÄ¿µÄ°üº¬Îļþ // #pragma once #include "YTSvrLib.h" #include <unordered_map> #include <unordered_set> #define USE_CHATSVR #define USE_ADMINSVR #include "../Common/GlobalDefine.h" #include "../Common/MsgRetDef.h" #include "../Common/Cl...
// // BK4Model.h // LTKit // // Created by bmob-LT on 2016/10/11. // Copyright © 2016年 bmob-LT. All rights reserved. // #import <Foundation/Foundation.h> @interface BK4Model : NSObject @property (copy) NSMutableArray *array; @end
#include "../../math/reinterpret.h" #include <stdint.h> long double __floatunditf(uint64_t a) { if (!a) return 0; int space = __builtin_clzll(a); unsigned __int128 significand = (unsigned __int128)(a << space & INT64_MAX) << 49; unsigned __int128 exp = 0x3FFF + 63 - space; return reinterp...
// // OrgnizedViewUpdator.h // StockListener // // Created by Guozhen Li on 6/16/16. // Copyright © 2016 Guangzhen Li. All rights reserved. // #import <Foundation/Foundation.h> @interface OrgnizedViewUpdator : NSObject -(void) updateOrgnizedStocks; @end
// stdafx.h : ±ê׼ϵͳ°üº¬ÎļþµÄ°üº¬Îļþ£¬ // »òÊǾ­³£Ê¹Óõ«²»³£¸ü¸ÄµÄ // ÌØ¶¨ÓÚÏîÄ¿µÄ°üº¬Îļþ #pragma once #ifndef VC_EXTRALEAN #define VC_EXTRALEAN // ´Ó Windows Í·ÖÐÅųý¼«ÉÙʹÓõÄ×ÊÁÏ #endif #include "targetver.h" #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // ijЩ CString ¹¹Ô캯Êý½«...
// // HTTP.h // snowcrash // // Created by Zdenek Nemec on 7/11/13. // Copyright (c) 2013 Apiary Inc. All rights reserved. // #ifndef SNOWCRASH_HTTP_H #define SNOWCRASH_HTTP_H #include <string> #include "Blueprint.h" /** * \brief HTTP Methods * * Technical note: Using preprocessor macro instead of strict *...
// The MIT License (MIT) // // Copyright (c) 2014 Joakim Gyllströ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...
#include <string.h> #include "video/stats.h" VIDEO_STATS video_stats; void videostats_reset(void) { memset(&video_stats, 0, sizeof(video_stats)); }
#ifdef __LP64__ #define DTABLE_OFFSET 64 #define SMALLOBJ_BITS 3 #define SHIFT_OFFSET 0 #define DATA_OFFSET 8 #define SLOT_OFFSET 0 #elif defined(_WIN64) // long is 32 bits on Win64, so struct objc_class is smaller. All other offsets are the same. #define DTABLE_OFFSET 56 #define SMALLOBJ_BITS 3 #define SH...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "PLLogger.h" @interface PLApplicationLogger : PLLogger { } - (void)appStateChanged:(id)arg1; - (void)logStateForDisplayID:(id)arg1 pidString:(id)arg2 andState:(id)arg3 ...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSData.h" // Not exported @interface _NSDispatchData : NSData { } + (_Bool)supportsSecureCoding; - (Class)classForCoder; - (id)initWithCoder:(id)arg1; - (void)encodeWi...
// // 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 DVTSystemActivityToken, IDEPlaygroundDocument, IDEPlaygroundExecutionParameters; @interface _IDEPlaygroundCompletionInfo : NSObject { CDUnknownBloc...
#ifndef __URL_VERSION_H__ #define __URL_VERSION_H__ 1 #include "url.h" #define URL_VERSION_MAJOR 0 #define URL_VERSION_MINOR 0 #define URL_VERSION_PATCH 1 #define URL_VERSION ( \ (URL_VERSION_MAJOR << 16) | \...
// // HotTakeRealm.h // HotTakeRealm // // Created by Ian Dundas on 30/11/2016. // Copyright © 2016 Ian Dundas. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for HotTakeRealm. FOUNDATION_EXPORT double HotTakeRealmVersionNumber; //! Project version string for HotTakeRealm. FOUNDATION_...
#ifndef DETECTION_TRANSLATIONS_H #define DETECTION_TRANSLATIONS_H #include <QFileInfo> #include "idetection.h" class DetectionTranslations : public IDetection { public: virtual void types(QStringList &list); virtual bool isType(const QFileInfo &fi, QString &type, QString &subtype); }; #endif // DETECTION_TRANSL...
//******************************************************************************* // COPYRIGHT NOTES // --------------- // This is a part of the BCGControlBar Library // Copyright (C) 1998-2000 BCGSoft Ltd. // All rights reserved. // // This source code can be used, distributed or modified // only under terms a...
/* * http://github.com/dusty-nv/jetson-inference */ #ifndef __CUDA_YUV_CONVERT_H #define __CUDA_YUV_CONVERT_H #include "cudaUtility.h" #include <stdint.h> ////////////////////////////////////////////////////////////////////////////////// /// @name RGBA to YUV 4:2:0 planar (I420 & YV12) /// @ingroup util ////////...
/** * Copyright (c) 2006-2015 LOVE Development Team * * 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, * ...
#pragma once extern "C" { #include "libavformat/avformat.h" #include "libavcodec/avcodec.h" #include "libavutil/imgutils.h" #include "libavutil/samplefmt.h" #include "libavutil/timestamp.h" } template<class T> class SeqList; struct SeqStreamContext; struct SDL_mutex; enum class SeqDecoderStatus { Inactive, Op...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <iWorkImport/TSCH3DShaderEffect.h> // Not exported @interface TSCH3DLightingPackageShaderEffect : TSCH3DShaderEffect { } + (void)setLightingPackageEffectState:(const st...
#ifndef TEXT_WRAPPER_H #define TEXT_WRAPPER_H #include <interface/View.h> #include <support/String.h> #include <support/List.h> #include <vector> #include "TagQueue.h" class Tag; class TaggedText; class LineBuffer; #define K_LINE_SPACER 4.0f class TextWrapper { public: enum WrappingMode { K_WIDTH_FIXED = 0,...
#pragma once #include "defs.h" #include "io.h" struct particle_data { float Pos[3]; float Vel[3]; float Mass; int32_t Type; }; struct particle_data * loadsnapshot(const char *fname,struct io_header *header); void reordering(struct particle_data *P,id64 *Id,int64 N);
#include<stdio.h> #include<stdlib.h> #include<math.h> /* somma e prodotto con sottoprogrammi Autore: Davide Vallati - Classe: 3° INA - Data: 03/01/2017 - Versione: 1.0 */ int main(){ int a;//n1 int b;//n2 int somma;//somma int prodotto;//prodotto printf("Inserire il primo numero:"); scanf("%d...
#include <string.h> #include <unistd.h> #include <fcntl.h> #include "panic.h" #include "alloc.h" #include "log.h" char * slurp(char const *path, size_t *n) { int fd = open(path, O_RDONLY); if (fd == -1) epanic("open(%s)", path); off_t size = lseek(fd, 0, SEEK_END); if (...
#pragma once #include "Properties.h" #include "Object.h" #include <vector> namespace tmx { class ObjectGroup { public: Properties properties; vector<Object> objects; const char* name; const char* color; int x = 0; int y = 0; int width = 0; int height = 0; const char* opacity; const char* visible...
#ifndef SHADERTOBODY_H #define SHADERTOBODY_H #include <stdio.h> #include <IESoR/Construction/Bodies/outputsToBodies.h> class ShaderToBody { public: ShaderToBody(); private: ~ShaderToBody(); }; #endif //SHADERTOBODY_H
// // Created by Yanke Guo on 16/3/7. // #import <Foundation/Foundation.h> #import "YMLogItem.h" @class YMLogger; @protocol YMLoggerOutput<NSObject> /** * Output a line of log */ - (void)logger:(YMLogger *__nonnull)logger didOutputItem:(YMLogItem *__nonnull)item; @optional - (void)didAddToLogger:(YMLogger *__no...
/****************************************************************************** * Copyright (C) 2012-2016 A. C. Open Hardware Ideas Lab * * Authors: * Marco Giammarini <m.giammarini@warcomeb.it> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated do...
#pragma once #include <glbinding/nogl.h> #include <glbinding/gl/types.h> namespace gl43ext { using gl::GLextension; using gl::GLenum; using gl::GLboolean; using gl::GLbitfield; using gl::GLvoid; using gl::GLbyte; using gl::GLshort; using gl::GLint; using gl::GLclampx; using gl::GLubyte; using gl::GLushort; using...
// // DHMenuVC.h // GoBangGraduationProject // // Created by 刘人华 on 16/5/30. // Copyright © 2016年 dahua. All rights reserved. // #import <UIKit/UIKit.h> @interface DHMenuVC : UIViewController @end
/* * 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 NSString; // Not exported @interface _VKPOIIconKey : NSObject { CDStruct_cf20f7af _style; NSString *_name; } - (id).cxx_construct; - (_Bool...
#pragma once #include <coffee/comp_app/services.h> #include <coffee/core/types/display/event.h> struct SDL_Window; struct SDL_Surface; using SDL_GLContext = void*; namespace sdl2 { using comp_app::position_t; using comp_app::size_2d_t; struct Context : comp_app::AppService< Context, ...
#ifndef __Mt_Parser_H__ #define __Mt_Parser_H__ #include <string> #include "symbol.h" #include <deque> class Parser { std::string parsed_string; std::deque<Symbol> elements; std::deque<Symbol> symbols; const Symbol *findSymbol(const std::string &value) const; Symbol stringToSymbol(const std::str...