text
stringlengths
4
6.14k
/* PR tree-optimization/36504 */ /* { dg-do compile } */ /* { dg-options "-O3 -fprefetch-loop-arrays -w" } */ struct A { struct { int a; } b[8]; }; struct B { int c; int d; }; struct C { struct B d; }; void bar (struct C *, int); struct B foo (struct C *p, struct A *e, int b) { struct B q; bar (p, e->b[b].a); ...
/* * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
/* Determine protocol families for which interfaces exist. Linux version. Copyright (C) 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as pu...
#ifndef ZBOOT_H #define ZBOOT_H #include <mach/zboot_macros.h> /************************************************** * * board specific settings * **************************************************/ #ifdef CONFIG_MACH_KZM9G #define MEMORY_START 0x43000000 #include "mach/head-kzm9g.txt" #else #error "unsupported b...
/** * Copyright (C) ARM Limited 2010-2014. All rights reserved. * * 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. * */ static void gator_buffer_write_packed_int(int cpu, int bu...
/* Copyright (c) 2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope...
/* Copyright (c) 2012 The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope ...
/* linux/arch/arm/mach-s3c2412/dma.c * * Copyright (c) 2006 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * S3C2412 DMA selection * * http://armlinux.simtec.co.uk/ * * 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...
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __org_omg_IOP_TaggedComponentHolder__ #define __org_omg_IOP_TaggedComponentHolder__ #pragma interface #include <java/lang/Object.h> extern "Java" { namespace org { namespace omg { namespace CORBA { class TypeCod...
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __gnu_java_rmi_dgc_LeaseRenewingTask__ #define __gnu_java_rmi_dgc_LeaseRenewingTask__ #pragma interface #include <java/lang/Object.h> extern "Java" { namespace gnu { namespace java { namespace rmi { namespace dgc ...
#ifndef __SOCK_DIAG_H__ #define __SOCK_DIAG_H__ #include <linux/user_namespace.h> #include <uapi/linux/sock_diag.h> struct sk_buff; struct nlmsghdr; struct sock; struct sock_diag_handler { __u8 family; int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh); int (*destroy)(struct sk_buff *skb, struct nlmsghdr *nlh...
/* $License: Copyright (C) 2010 InvenSense Corporation, All Rights Reserved. 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 option) ...
/* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. * * 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. * * This program is distributed in the hope that it woul...
/* Copyright (c) 2010-2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
/* * Copyright(c) 2009 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it ...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Derived from arch/ppc/mm/extable.c and arch/i386/mm/extable.c. * * Copyright (C) 2004 Paul Mackerras, IBM Corp. */ #include <linux/bsearch.h> #include <linux/module.h> #include <linux/init.h> #include <linux/sort.h> #include <linux/uaccess.h> #include <linux/extabl...
/* * Copyright 2010-2011 Freescale Semiconductor, Inc. * * Author: Roy Zang <tie-fei.zang@freescale.com> * * Description: * P1023 RDS Board Setup * * 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 Softw...
/* { dg-do run } */ /* { dg-require-weak "" } */ int g_6[1][2] = {{1,1}}; int g_34 = 0; int *const g_82 = &g_6[0][1]; int *g_85[2][1] __attribute__((weak)); void __attribute__((noinline)) func_4 (int x) { int i; for (i = 0; i <= x; i++) { if (g_6[0][1]) { *g_82 = 1; } else { int **l_109 = &g_85[...
#ifndef _NET_DN_FIB_H #define _NET_DN_FIB_H /* WARNING: The ordering of these elements must match ordering * of RTA_* rtnetlink attribute numbers. */ struct dn_kern_rta { void *rta_dst; void *rta_src; int *rta_iif; int *rta_oif; ...
#ifndef _ASM_ALPHA_FUTEX_H #define _ASM_ALPHA_FUTEX_H #ifdef __KERNEL__ #include <linux/futex.h> #include <linux/uaccess.h> #include <asm/errno.h> #include <asm/barrier.h> #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ __asm__ __volatile__( \ __ASM_SMP_MB \ "1: ldl_l %0,0(%2)\n" \ insn...
/* * arch/sh/mm/tlb-sh4.c * * SH-4 specific TLB operations * * Copyright (C) 1999 Niibe Yutaka * Copyright (C) 2002 - 2007 Paul Mundt * * Released under the terms of the GNU GPL v2.0. */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/io.h> #include <asm/system.h> #include <asm/mmu_context.h> ...
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2002, 2004, 2007 by Ralf Baechle <ralf@linux-mips.org> */ #ifndef __ASM_MIPS_MACH_BCM3384_WAR_H #define __ASM_MIPS_MACH_BCM...
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_RT_H #define _LINUX_SCHED_RT_H #include <linux/sched.h> struct task_struct; static inline int rt_prio(int prio) { if (unlikely(prio < MAX_RT_PRIO)) return 1; return 0; } static inline int rt_task(struct task_struct *p) { return rt_prio(p->prio); } st...
#undef TRACE_SYSTEM #define TRACE_SYSTEM cpufreq_interactive #if !defined(_TRACE_CPUFREQ_INTERACTIVE_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_CPUFREQ_INTERACTIVE_H #include <linux/tracepoint.h> DECLARE_EVENT_CLASS(set, TP_PROTO(u32 cpu_id, unsigned long targfreq, unsigned long actualfreq), T...
static int ap(int i); static void testit(void){ int ir[4] = {0,1,2,3}; int ix,n,m; n=1; m=3; for (ix=1;ix<=4;ix++) { if (n == 1) m = 4; else m = n-1; ap(ir[n-1]); n = m; } } static int t = 0; static int a[4]; static int ap(int i){ if (t > 3) abort(); a[t++] = i; return 1; } ...
/* * Core functions for Marvell System On Chip * * Copyright (C) 2012 Marvell * * Lior Amsalem <alior@marvell.com> * Gregory CLEMENT <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> * * This file is licensed under the terms of the GNU General Public * License versi...
/** * 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 <U...
/* * page.h - buffer/page management specific to NILFS * * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. * * 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 ver...
/* * Macros for manipulating and testing flags related to a * pageblock_nr_pages number of pages. * * 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 version 2 of the License * * This progr...
/* * stmp37xx: USBCTRL register definitions * * Copyright (c) 2008 Freescale Semiconductor * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved. * * 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 Fre...
#ifndef _ASM_X86_CRASH_H #define _ASM_X86_CRASH_H int crash_load_segments(struct kimage *image); int crash_copy_backup_region(struct kimage *image); int crash_setup_memmap_entries(struct kimage *image, struct boot_params *params); #endif /* _ASM_X86_CRASH_H */
// // Monitoring.h // ConexionAcademica // // Created by Cristian Palomino Rivera on 24/02/15. // Copyright (c) 2015 Cristian Palomino Rivera. All rights reserved. // #import <Foundation/Foundation.h> @interface Monitoring : NSObject <NSCoding> @property (nonatomic,strong) NSString *MONITORING_ID; @property (non...
/* $OpenBSD: scfio.h,v 1.3 2009/11/02 22:31:50 sobrado Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) * All rights reserved. * * This software was developed by Jason L. Wright under contract with * RTMX Incorporated (http://www.rtmx.com). * * Redistribution and use in source and binary for...
/* * Copyright (c) 2008 James Molloy, Jörg Pfähler, Matthew Iselin * * 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 "A...
/* $OpenBSD: reg.h,v 1.7 2014/09/08 01:47:05 guenther Exp $ */ /* $NetBSD: reg.h,v 1.2 1995/03/28 18:14:07 jtc Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. * All rights reserved. * * Author: Chris G. Demetriou * * Permission to use, copy, modify and distribute this software and * its docu...
/**************************************************************************** * * Copyright (c) 2014 Wi-Fi Alliance * * 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 i...
/* * %ISC_START_LICENSE% * --------------------------------------------------------------------- * Copyright 2014-2018, Pittsburgh Supercomputing Center * All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that ...
// // WYSettingViewController.h // StealTrunk // // Created by wangyong on 13-7-19. // // #import "JMStaticContentTableViewController.h" @interface WYSettingViewController : JMStaticContentTableViewController @end
#ifndef ARTISTBROWSECALLBACKS_H #define ARTISTBROWSECALLBACKS_H #include <QtCore/QCoreApplication> #include <QtCore/QHash> #include <QtSpotify/spotifyartistbrowse.h> #include <libspotify/api.h> static void SP_CALLCONV artistBrowseCompleteCallback(sp_artistbrowse* result, void* userData) { Q_UNUSED(userD...
// Copyright (c) 2011-2016 The Flericoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #pragma once #include <exception> #include <iomanip> #include <iostream> #include "IWalletLegacy.h" #include "Wallet/Walle...
// // SpotLightGroup.h // vrphysics // // Created by Robin Wu on 1/7/15. // Copyright (c) 2015 WSH. All rights reserved. // #ifndef __vrphysics__SpotLightGroup__ #define __vrphysics__SpotLightGroup__ #include <stdio.h> #include <stdio.h> #include <vector> #include <osg/Group> #include "SpotLight.h" class SpotLig...
void reverse(char *str, int len) { int i=0, j=len-1, temp; while (i<j) { temp = str[i]; str[i] = str[j]; str[j] = temp; i++; j--; } } // Converts a given integer x to string str[]. d is the number // of digits required in output. If d is more than the number // of digits in x, then 0s are a...
#ifndef _ROS_SERVICE_SearchParam_h #define _ROS_SERVICE_SearchParam_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" namespace rosapi { static const char SEARCHPARAM[] = "rosapi/SearchParam"; class SearchParamRequest : public ros::Msg { public: const char* name; S...
/**************************************************************************** * Atom implements a mechanism whereby each user action is atomic in terms of * display update and undo/redo * Author: Bill Forster * License: MIT license. Full text of license is in associated file LICENSE * Copyright 2010-2014,...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 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_INIT_H #define BITCOIN_INIT_H #include <string> #include "script....
// // SizePickerViewController.h // RoundabuyUI // // Created by JunhaoWang on 8/27/15. // Copyright (c) 2015 JunhaoWang. All rights reserved. // #import <UIKit/UIKit.h> @protocol SizePickerDelegate <NSObject> - (void)sizePickerSelectedSize:(NSString *)size; @end @interface SizePickerViewController : UIViewCon...
%% %% Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5 %% %% Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> %% $project=Qt5xHb $module=QtDeclarative $header $includes $beginSlotsClass $signal=|valueChanged() $endSlotsClass
#include "sys/types.h" #include "sys/socket.h" #include "netdb.h" int getaddrinfo( const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res );
// // ReactController.h // ProDevForIOS // // Created by 曹亚民 on 16/3/16. // Copyright © 2016年 曹亚民. All rights reserved. // #import "BaseViewController.h" @interface ReactController : BaseViewController @end
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_One00DaysVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_One00DaysVersionString[];
// // OneViewController.h // Demo // // Created by liuxing8807@126.com on 8/29/16. // Copyright © 2016 liuweizhen. All rights reserved. // #import <UIKit/UIKit.h> @interface OneViewController : UIViewController @end
// Copyright 2016 Jonathan Buchanan. // This file is part of Sunglasses, which is licensed under the MIT License. // See LICENSE.md for details. #ifndef CLOPTIONPARSING_H #define CLOPTIONPARSING_H #include <string> #include <functional> #include <vector> #include <tclap/CmdLine.h> namespace sunglasses { /// An abst...
// // CRFadedView.h // CRNumberFaded // // Created by Bear on 17/3/22. // Copyright © 2017年 Bear. All rights reserved. // #import <UIKit/UIKit.h> @class CRFadedView; typedef NS_ENUM(NSUInteger, CRFadedViewAnimationType) { CRFadedViewAnimationType_NormalToBig, CRFadedViewAnimationType_BigToNormal, CRFa...
#ifndef __LOCK_H_ #define __LOCK_H_ #include "../common.h" void Pthread_mutexattr_init(pthread_mutexattr_t *); void Pthread_mutexattr_setpshared(pthread_mutexattr_t *, int); void Pthread_mutex_init(pthread_mutex_t *, pthread_mutexattr_t *); void Pthread_mutex_lock(pthread_mutex_t *); void Pthread_mutex_unlock(pth...
#import <UIKit/UIKit.h> #import "ASTAutoLoggerVC.h" FOUNDATION_EXPORT double autoLogVersionNumber; FOUNDATION_EXPORT const unsigned char autoLogVersionString[];
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <PhotosUI/PULayoutSectionSampler.h> @interface PULayoutSectionSimpleSampler : PULayoutSectionSampler { long long _numberOfVisibleItems; long long _numberOfRealIt...
// // CCPClassDumpDefaultResultFormatter.h // CCPClassDump // // Created by cocopon on 2014/10/07. // Copyright (c) 2014 cocopon. All rights reserved. // #import <objc/runtime.h> #import <Foundation/Foundation.h> #import "CCPClassDumpResultFormatter.h" @interface CCPClassDumpDefaultResultFormatter : CCPClassDump...
// // RCSTableViewController.h // Created by Jim Roepcke. // See license below. // #import <UIKit/UIKit.h> @class RCSTableDefinition; @class RCSTable; @interface RCSTableViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> @property (nonatomic, strong) NSObject *rootObject; @property (n...
// // MPCharacteristic.h // MPBluetoothKit // // Created by MacPu on 15/10/29. // Copyright © 2015年 www.imxingzhe.com. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreBluetooth/CoreBluetooth.h> #import "MPBluetoothKitBlocks.h" @class MPPeripheral; @class MPService; @class MPDescriptor; @in...
/* MIT License 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 ...
// // CalendarDayCollectionViewCell.h // WillowTree // // Created by Steven Bishop on 5/26/16. // Copyright © 2016 WillowTree. All rights reserved. // #import <UIKit/UIKit.h> @interface CalendarDayCollectionViewCell : UICollectionViewCell - (void)configureWithDayOfWeek:(NSString *)dayOfWeek accessibilityString:(N...
// Copyright (c) 2013 NSCookbook. All rights reserved. // // 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,...
#ifndef _RocketUIPlugin_H_ #define _RocketUIPlugin_H_ /* ----------------------------------------------------------------------------- This file is a part of Gsage engine Copyright (c) 2014-2016 Artem Chernyshev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
// // TWCommonLib // @import UIKit; @interface UIView (TWFadeAnimations) - (void)tw_fadeInAnimationWithDuration:(NSTimeInterval)duration; - (void)tw_fadeInAnimationWithDuration:(NSTimeInterval)duration completion:(void (^)(BOOL finished))completion; - (void)tw_fadeOutAnimationWithDuration:(NSTimeInterval)duration;...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double Pods_URIDrumKit_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_URIDrumKit_TestsVersionString[];
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #ifndef INCLUDE_JET_FDM_LINEAR_SYSTEM3_H_ #define INCLUDE_JET_FDM_LINEAR_SYSTEM3_H_ #include <jet/array...
#ifndef DADO_H #define DADO_H void inicializarSemilla (); int tirar (int caras); int tirarVarios (int cantidad, int caras); int aleatorio (int numeroMax); int aleatorioInter (int numeroMin, int numeroMax); int d20 (); int d10 (); int d100 (); int d12 (); int d6 (); int d4 (); int d2 (); int dPorcentaje (); #endif
// // CropType.h // FarmKrappApp // // Created by Nicholas Outram on 16/12/2013. // Copyright (c) 2013 Plymouth University. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @class Field; @interface CropType : NSManagedObject @property (nonatomic, retain) NSString * display...
#pragma once namespace scratch { template<typename...> inline constexpr bool false_v = false; } // namespace scratch
#ifndef GUI_COLORS_H__ #define GUI_COLORS_H__ /** * Get the RGB values for hsv. */ void hsvToRgb(double h, double s, double v, unsigned char& r, unsigned char& g, unsigned char& b); /** * Get a (more or less random) color for an id. */ void idToRgb(unsigned int id, unsigned char& r, unsigned char& g, unsigned ch...
// Copyright (c) 2011-2014 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 RPCCONSOLE_H #define RPCCONSOLE_H #include <QDialog> class ClientModel; namespace Ui { class RPCConsole; } /**...
#ifndef FILEOPERATOR_H #define FILEOPERATOR_H #include <QObject> #include <QtCore> class fileOperator : public QObject { Q_OBJECT public: explicit fileOperator(QObject *parent = 0); signals: void statusChanged(QString); public slots: void set_dir(QString newDir); QStringList get_files_info(); ...
#ifndef ALINOUS_REMOTE_DB_CLIENT_COMMAND_REMOTESTORAGECONNECTCOMMAND_H_ #define ALINOUS_REMOTE_DB_CLIENT_COMMAND_REMOTESTORAGECONNECTCOMMAND_H_ namespace java {namespace io { class OutputStream;}} namespace alinous {namespace remote {namespace socket { class NetworkBinaryBuffer;}}} namespace java {namespace io { clas...
/* ----------------------------------------------------------------------------------------------- Copyright (C) 2013 Henry van Merode. All rights reserved. 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...
#include <unordered_map> #include <queue> namespace problema_busqueda { template <typename T> bool Problema_busqueda<T>::voraz() { struct Nodo_prioridad { size_t indice_en_lista; decltype(nodo_inicial.tipo_dato_coste()) coste_estimado; bool operator <(const Nodo_prioridad &nodo) const { return no...
// // BrickObject.h // HedzupPongGame // // Created by Michael Dube on 2014/10/05. // Copyright (c) 2014 tappnology. All rights reserved. // #import "HUPongGameObject.h" @interface BrickObject : HUPongGameObject { } @property (nonatomic) int ScorePOint; @property (nonatomic) int hitCount; @property (nonat...
#include <stdio.h> #include <string.h> #include <stdlib.h> char *find(char *haystack,char needle); int main() { int i; char* haystack = (char*)malloc(sizeof(char)*400); char needle,c; for(i=0;c!='\n';i++) { haystack[i]=getchar(); c=haystack[i]; } scanf("%c",&needle); printf("%ld",find(haystack,needle)-hay...
/* * Client.h * * Created on: Nov 13, 2012 * Author: se312002 */ #ifndef CLIENT_H_ #define CLIENT_H_ #include <string> class Client { public: Client(const std::string &name); virtual ~Client(); private: std::string name_; }; #endif /* CLIENT_H_ */
#ifndef MYIMAGEUTIL_H #define MYIMAGEUTIL_H #include "MyGeometry.h" #include "MyImage.h" enum RBGA_CHANNEL { RBGA_CHANNEL_RED, RBGA_CHANNEL_GREEN, RBGA_CHANNEL_BLUE, RBGA_CHANNEL_ALPHA}; enum SEPARATION_TYPE { SEPARATION_LIGHT, SEPARATION_DARK }; enum GRAYSCALE_TYPE { GRAYSCALE_MIN, GRAYSCALE_MED, GRAYSCALE_MAX, GRAY...
// // NetworkKit.h // NetworkKit // // Created by Muhammad Bassio on 8/23/17. // Copyright © 2017 N8ive Apps. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for NetworkKit. FOUNDATION_EXPORT double NetworkKitVersionNumber; //! Project version string for NetworkKit. FOUNDATION_EXPORT c...
/* * 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 NSDictionary, NSLock, NSMutableArray, NSTimer; @interface VSCacheUpdateListener : NSObject { NSLock *_lock; NSMutableArray *_updateRequestQu...
// // UIStoryboardSegue.h // UIKit // // Copyright 2011-2012 Apple Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <FakeUIKit/UIKitDefines.h> @class UIViewController; NS_CLASS_AVAILABLE_IOS(5_0) @interface UIStoryboardSegue : NSObject // Convenience constructor for returning a segue that p...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "ML3Track.h" @interface ML3Track (MPMediaAdditions) + (id)propertyForMPMediaEntityProperty:(id)arg1; @end
void fill(char* needle, int* next, int n){ int i = 0, j = -1; next[0] = -1; while (i != n - 1) { //这里注意,i==0的时候实际上求的是next[1]的值,以此类推 if (j == -1 || needle[i] == needle[j]) { ++i; ++j; next[i] = j; } else { ...
// // Pause.h // PONG4English // // Created by Kévin Mondésir on 05/04/2014. // Copyright (c) 2014 Kmonde. All rights reserved. // #ifndef PONG4English_Pause_h #define PONG4English_Pause_h #define PAUSESCREEN_VERTEX_COUNT 4 #define PAUSESCREEN_INDEX_COUNT 6 float pause_vertices[4][3]= { {90.0f,90.0f,1.0f}, {90.0...
/** * alltests.c * * All tests for the pnC library * * @author David LAWRENCE * **/ // Std includes #include <stdarg.h> #include <stddef.h> // Testing includes #include <setjmp.h> #include <cmocka.h> // Personal includes #include "pnC_tests.h" #include "dynarray_tests.h" int main() { const struct CMUnitT...
/* ----------------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2016-2017 Jean Michel Catanho 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 ...
// // CollectionsTests.h // CollectionsTests // // Created by James Heller on 9/18/13. // Copyright (c) 2013 SellJamHere. All rights reserved. // #import <SenTestingKit/SenTestingKit.h> #define kTestSize 1000
/* * Generated by class-dump 3.3.3 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard. */ @class NSString, NSURL; @interface JunkMailFilter : NSObject { struct __LSMMap *_map; NSString *_mapFilePath; NSURL *_mapFileURL; NSURL *_oldMapFileURL; do...
/* * Generated by class-dump 3.3.3 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard. */ #import "NSPortDelegate-Protocol.h" @protocol NSMachPortDelegate <NSPortDelegate> @optional - (void)handleMachMessage:(void *)arg1; @end
// // EventStorage.h // DrawingApp // // Created by miyaeyo on 2015. 9. 23.. // Copyright (c) 2015년 miyaeyo. All rights reserved. // #import <Foundation/Foundation.h> #import "DrawingDelegate.h" #import "MyPoint.h" @interface Recoder : NSObject @property (nonatomic, weak) id <DrawingDelegate> delegate; - (void)...
#ifndef GRAPH_H #define GRAPH_H #include <iostream> #include <fstream> #include <stdlib.h> #include "vertex.h" #include "compressedVertex.h" #include "parallel.h" using namespace std; // ************************************************************** // ADJACENCY ARRAY REPRESENTATION // *****************************...
// // CCBlogsMasterTableViewController.h // ChampShuttle // // Created by Matthew Huwiler on 4/15/14. // Copyright (c) 2014 Champlain College. All rights reserved. // #import <UIKit/UIKit.h> @interface CCBlogsMasterTableViewController : UITableViewController @end
#pragma once #include "Base.h" namespace DepthUI{ class DEPTHUI_API Renderer { public: uint viewport_pos_x; uint viewport_pos_y; uint viewport_size_x_absolute; uint viewport_size_y_absolute; public: Renderer(); ~Renderer(); }; }
#ifndef TESTWINDOW2_H #define TESTWINDOW2_H #include "testshader2.h" #include "batchtriangles.h" #include <mw/window.h> #include <mw/textureatlas.h> class TestWindow2 : public mw::Window { public: TestWindow2(int majorGlVersion, int minorGlVersion) : textureAtlas_(2048, 2048) { Window::setOpenGlVersion(majorGlVer...
// // InputEventController.h // atvHelloWorld // // Created by Michael Gile on 9/12/11. // Copyright 2011 Michael Gile. All rights reserved. // #import "BRTextEntryController.h" @interface InputEventController : BRTextEntryController { } @end
#include "f2c.h" #include "blaswrap.h" /* Table of constant values */ static integer c__1 = 1; static doublereal c_b10 = -1.; /* Subroutine */ int dtbt02_(char *uplo, char *trans, char *diag, integer *n, integer *kd, integer *nrhs, doublereal *ab, integer *ldab, doublereal *x, integer *ldx, doublereal *b, intege...
#pragma once #include <agge.text/font.h> namespace agge { namespace tests { const glyph::path_point c_outline_1[] = { { path_command_move_to, 1.1f, 2.4f }, { path_command_line_to, 4.1f, 7.5f }, { path_command_line_to | path_flag_close, 5.5f, 1.1f }, }; const glyph::path_point c_outline...
#ifndef EPOXY_AUDIOPLAYER_H #define EPOXY_AUDIOPLAYER_H class AudioPlayer { public: static AudioPlayer* file(const char* fn); // static AudioPlayer* url(const char* url); virtual ~AudioPlayer() {} virtual bool isPlaying() const = 0; virtual double duration() const = 0; virtual d...
// // GPKGFeatureIndexerIdQuery.h // geopackage-ios // // Created by Brian Osborn on 2/11/20. // Copyright © 2020 NGA. All rights reserved. // #import <Foundation/Foundation.h> /** * Feature Indexer Id query with nested SQL and arguments */ @interface GPKGFeatureIndexerIdQuery : NSObject /** * Initialize */...