text
stringlengths
4
6.14k
#include "WebCore/loader/FrameLoaderClient.h"
/* * QEMU Epson S1D13744/S1D13745 templates * * Copyright (C) 2008 Nokia Corporation * Written by Andrzej Zaborowski <andrew@openedhand.com> * * 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 Foundat...
/* Copyright 2020 MaiKong<704340378@qq.com> * * 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) any later version. * *...
/* GStreamer buffer-frames conversion plugin * Copyright (C) 2004 Andy Wingo <wingo at pobox.com> * * plugin.h: the stubs for the buffer-frames-convert plugin * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by ...
/* * Copyright (c) 2018, Linaro Limited. and Contributors. All rights reserved. * 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. Redistributions of source code must retain the above c...
// Copyright (c) 2014, 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. #pragma once #include <stdint....
/* Copyright 2019 Ryota Goto * * 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) any later version. * * This program is distributed in...
/* ______ ___ ___ * /\ _ \ /\_ \ /\_ \ * \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___ * \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ * \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \ * \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/ * ...
// // LIFO.h // A LIFO Stack Library ver 1.00 // // Provides a universal LIFO stack class for storage of generic objects. // // Created by benjk on 7/15/05. // // This software is released as open source under the terms of the new BSD // License obtained from http://www.opensource.org/licenses/bsd-license.php // on Tue...
/* * Copyright (c) 2018 Mellanox Technologies. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this sou...
/************************************************************************** * * Copyright (C) 2010 VMware, Inc., Palo Alto, CA., USA * 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...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_COCOA_APPS_QUIT_WITH_APPS_CONTROLLER_MAC_H_ #define CHROME_BROWSER_UI_COCOA_APPS_QUIT_WITH_APPS_CONTROLLER_MAC_H_ #include "bas...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef DEVICE_HID_INPUT_SERVICE_LINUX_H_ #define DEVICE_HID_INPUT_SERVICE_LINUX_H_ #include <string> #include <vector> #include "base/compiler_specific...
/* { dg-do compile } */ #define OUTER 32 #define INNER 40 static unsigned int bar (const unsigned int x[INNER][2], unsigned int sum) { int i; for (i = 0; i < INNER; i++) sum += x[i][0] * x[i][0] + x[i][1] * x[i][1]; return sum; } unsigned int foo (const unsigned int x[OUTER][INNER][2]) { int i; unsign...
/************************************************************************** * * Copyright © 2012 VMware, Inc., Palo Alto, CA., USA * 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 d...
/* * Copyright (c) 2010 The WebM 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 contributin...
/* * Copyright (c) 2007-2013 Nicira, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT...
/* Copyright (C) 1997-2014 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 published by the Free Software Foundation; either version 2.1 of the ...
/* contrib/arm-neon/android-ndk.c * * Copyright (c) 2014 Glenn Randers-Pehrson * Written by John Bowler, 2014. * Last changed in libpng 1.6.10 [March 6, 2014] * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer * and license in png.h * * SEE contrib...
/* * STMicroelectronics st_lsm6dsx i2c driver * * Copyright 2016 STMicroelectronics Inc. * * Lorenzo Bianconi <lorenzo.bianconi@st.com> * Denis Ciocca <denis.ciocca@st.com> * * Licensed under the GPL-2. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/i2c.h> #include <linux/slab.h> #incl...
/* 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...
/* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2015, Intel Corporation. * * 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 progra...
/* io_efa2.h by CyteX Based on io_mpfc.h by chishm (Michael Chisholm) Hardware Routines for reading the NAND flash located on EFA2 flash carts This software is completely free. No warranty is provided. If you use it, please give me credit and email me about your project at cytex <at> gmx <dot> de and d...
//----------------------------------------------------------------------------- // // DoorLock.h // // Implementation of the Z-Wave COMMAND_CLASS_DOOR_LOCK // // Copyright (c) 2014 Justin Hammond <justin@dynam.ac> // // SOFTWARE NOTICE AND LICENSE // // This file is part of OpenZWave. // // OpenZWave is free software: ...
/* * AC-3 parser prototypes * Copyright (c) 2003 Fabrice Bellard * Copyright (c) 2003 Michael Niedermayer * * 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 Foundat...
/* * This file is part of the SDWebImage package. * (c) Olivier Poitrey <rs@dailymotion.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import <Foundation/Foundation.h> #import "SDWebImageDownloader.h" #import "SDWebImageOper...
/* * Copyright (C) 2018 Intel Corp. * * 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...
/**************************************************************************** Copyright (c) 2009 On-Core Copyright (c) 2010-2012 cocos2d-x.org Copyright (C) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software ...
/* include/linux/if_pppopns.h * * Header for PPP on PPTP Network Server / PPPoPNS Socket (RFC 2637) * * Copyright (C) 2009 Google, Inc. * Author: Chia-chi Yeh <chiachi@android.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foun...
/*- * BSD LICENSE * * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source cod...
/* Simple DirectMedia Layer Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org> 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 ...
/* * Copyright (C) 2013 Intel Corporation * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
// **************************************************************** // This is free software licensed under the NUnit license. You // may obtain a copy of the license as well as information regarding // copyright ownership at http://nunit.org/?p=license&r=2.4. // ********************************************************...
/* Copyright (C) 1992-2015 Free Software Foundation, Inc. This file is part of GCC. GCC 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 3, or (at your option) any later version. GCC is distribute...
// SPDX-License-Identifier: GPL-2.0-or-later /* * lib/lshrdi3.c */ #include <linux/module.h> #include <linux/libgcc.h> long long notrace __lshrdi3(long long u, word_type b) { DWunion uu, w; word_type bm; if (b == 0) return u; uu.ll = u; bm = 32 - b; if (bm <= 0) { w.s.high = 0; w.s.low = (unsigned in...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*============================================================ ** ** Source: test.c ** ** Purpose: IsBadReadPtr() function ** ** **==============================...
// SPDX-License-Identifier: GPL-2.0-or-later /* early printk support * * Copyright (c) 2009 Philippe Vachon <philippe@cowpig.ca> * Copyright (c) 2009 Lemote Inc. * Author: Wu Zhangjin, wuzhangjin@gmail.com */ #include <linux/serial_reg.h> #include <asm/setup.h> #include <loongson.h> #define PORT(base, offset...
/* -*- c++ -*- */ /* * Copyright 2006,2012 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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 3, or (at your o...
#include <string.h> extern int __strncasecmp_l_nonascii (const char *__s1, const char *__s2, size_t __n, __locale_t __loc); #define __strncasecmp_l __strncasecmp_l_nonascii #define USE_IN_EXTENDED_LOCALE_MODEL 1 #include <string/strncase.c>
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2000-2008 Marc Alexander Lehmann <schmorp@schmorp.de> * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or witho...
/***************************************************************************/ /* */ /* sfntpic.c */ /* */ /* Th...
/* Copyright 2013 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "nacl_io/kernel_intercept.h" #include "nacl_io/kernel_wrap.h" #if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) int socket(int domain,...
/* PR tree-optimization/64715 */ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ void bar (char *, int); void foo (int x) { char p[16], *q; q = p; if (x) q = p + 3; __builtin___strcpy_chk (q, "abcdefghijkl", __builtin_object_size (q, 1)); bar (p, x); } /* { dg-final { scan-tree...
// Copyright (c) 2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Written in NSPR style to also be suitable for adding to the NSS demo suite #ifndef __MEMIO_H #define __MEMIO_H #pragma once #include <stddef.h> #...
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _XFRM_HASH_H #define _XFRM_HASH_H #include <linux/xfrm.h> #include <linux/socket.h> #include <linux/jhash.h> static inline unsigned int __xfrm4_addr_hash(const xfrm_address_t *addr) { return ntohl(addr->a4); } static inline unsigned int __xfrm6_addr_hash(const xfrm_add...
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ #pragma once /*** This file is part of systemd. Copyright 2013 Lennart Poettering systemd 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 Foun...
/* elfcomm.h -- include file of common code for ELF format file. Copyright 2010 Free Software Foundation, Inc. Originally developed by Eric Youngdale <eric@andante.jic.com> Modifications by Nick Clifton <nickc@redhat.com> This file is part of GNU Binutils. This program is free software; you can red...
#include "clar_libgit2.h" static git_remote *_remote; static git_repository *_repo; static git_config *_config; static char url[] = "http://github.com/libgit2/libgit2.git"; void test_network_remote_createthenload__initialize(void) { cl_fixture_sandbox("testrepo.git"); cl_git_pass(git_repository_open(&_repo, "testr...
#ifndef __UAPI_CORESIGHT_STM_H_ #define __UAPI_CORESIGHT_STM_H_ enum { OST_ENTITY_NONE = 0x00, OST_ENTITY_FTRACE_EVENTS = 0x01, OST_ENTITY_TRACE_PRINTK = 0x02, OST_ENTITY_TRACE_MARKER = 0x04, OST_ENTITY_DEV_NODE = 0x08, OST_ENTITY_DIAG = 0xEE, OST_ENTITY_QVIEW = 0xFE, OST_ENTITY_MAX = 0xFF, }; enum ...
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NET_NS_HASH_H__ #define __NET_NS_HASH_H__ #include <net/net_namespace.h> static inline u32 net_hash_mix(const struct net *net) { return net->hash_mix; } #endif
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- #ifndef __AP_HAL_PX4_ANALOGIN_H__ #define __AP_HAL_PX4_ANALOGIN_H__ #include "AP_HAL_PX4.h" #include <pthread.h> #include <uORB/uORB.h> #define PX4_ANALOG_MAX_CHANNELS 16 #ifdef CONFIG_ARCH_BOARD_PX4FMU_V1 // these are virtual pins that ...
/* * QEMU live migration via Unix Domain Sockets * * Copyright Red Hat, Inc. 2009 * * Authors: * Chris Lalancette <clalance@redhat.com> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. * * Contributions after 2012-01-13 are licensed und...
//------------------------------------------------------------------------------ // <copyright file="p2p_api.h" company="Atheros"> // Copyright (c) 2004-2010 Atheros Corporation. All rights reserved. // // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is...
/* * lv8093_regs.h * * Copyright (C) 2008-2009 Texas Instruments. * Copyright (C) 2009 Hewlett-Packard. * * This package 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. * * THIS PACKAGE IS ...
/* * linux/arch/arm/mach-s5pc100/setup-fb-24bpp.c * * Copyright 2009 Samsung Electronics * * Base S5PC100 setup information for 24bpp LCD framebuffer * * 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 F...
/* Copyright (C) 2011-2015 Free Software Foundation, Inc. This file is part of GCC. GCC 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 3, or (at your option) any later version. GCC is distribute...
// Copyright (c) 2011-2014 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_QT_UTILITYDIALOG_H #define BITCOIN_QT_UTILITYDIALOG_H #include <QDialog> #include <QObject> class BitcoinGU...
/**************************************************************************** Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2011 Zynga Inc. Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to an...
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * 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.apache.org/licenses/LICENSE-2.0 * * Unless re...
/* * Support for o32 Linux/MIPS ELF binaries. * Author: Ralf Baechle (ralf@linux-mips.org) * * Copyright (C) 1999, 2001 Ralf Baechle * Copyright (C) 1999, 2001 Silicon Graphics, Inc. * * Heavily inspired by the 32-bit Sparc compat code which is * Copyright (C) 1995, 1996, 1997, 1998 David S. Miller (davem@redha...
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #ifndef SENSORS_ANDROID_H #define SENSORS_ANDROID_H typedef struct android_SensorManager { ASensorEventQueue* queue; ALooper* looper; int looperId; } and...
//------------------------------------------------------------------------ // Copyright 2010 (c) Jeff Brown <spadix@users.sourceforge.net> // // This file is part of the ZBar Bar Code Reader. // // The ZBar Bar Code Reader is free software; you can redistribute it // and/or modify it under the terms of the GNU Less...
/* * linux/drivers/media/video/s5p-mfc/s5p_mfc_shm.h * * Copyright (c) 2011 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * 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; eit...
/* * Copyright 2018 Advanced Micro Devices, 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 rights to use, copy, modify, m...
#ifndef _FIB_LOOKUP_H #define _FIB_LOOKUP_H #include <linux/types.h> #include <linux/list.h> #include <net/ip_fib.h> struct fib_alias { struct list_head fa_list; struct fib_info *fa_info; u8 fa_tos; u8 fa_type; u8 fa_state; struct rcu_head rcu; }; #define FA_S_ACCESSED 0x01 /* Dont write on fa_state u...
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __java_nio_ShortViewBufferImpl__ #define __java_nio_ShortViewBufferImpl__ #pragma interface #include <java/nio/ShortBuffer.h> extern "Java" { namespace java { namespace nio { class ByteBuffer; class ByteOrder; ...
/* * Copyright 2018 Red Hat 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 rights to use, copy, modify, merge, publish, d...
/* * linux/compr_mm.h * * Memory management for pre-boot and ramdisk uncompressors * * Authors: Alain Knaff <alain@knaff.lu> * */ #ifndef DECOMPR_MM_H #define DECOMPR_MM_H #ifdef STATIC /* Code active when included from pre-boot environment: */ /* * Some architectures want to ensure there is no local data i...
/******************************************************************************* * * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver * Copyright(c) 2013 - 2014 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of th...
/* * Error Corrected Code Controller (ECC) - System peripherals regsters. * Based on AT91SAM9260 datasheet revision B. * * 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...
#ifndef QEMU_TYPES_H #define QEMU_TYPES_H #include "cpu.h" #ifdef TARGET_ABI32 typedef uint32_t abi_ulong; typedef int32_t abi_long; #define TARGET_ABI_FMT_lx "%08x" #define TARGET_ABI_FMT_ld "%d" #define TARGET_ABI_FMT_lu "%u" #define TARGET_ABI_BITS 32 static inline abi_ulong tswapal(abi_ulong v) { return tswap...
#ifndef __SW842_H__ #define __SW842_H__ #define SW842_MEM_COMPRESS (0xf000) int sw842_compress(const u8 *src, unsigned int srclen, u8 *dst, unsigned int *destlen, void *wmem); int sw842_decompress(const u8 *src, unsigned int srclen, u8 *dst, unsigned int *destlen); #endif
/* * Vortex Mixer support. * * There is much more than just the AC97 mixer... * */ #include <linux/time.h> #include <linux/init.h> #include <sound/core.h> #include "au88x0.h" static int __devinit snd_vortex_mixer(vortex_t * vortex) { struct snd_ac97_bus *pbus; struct snd_ac97_template ac97; int err; static s...
/* * Tiny Code Interpreter for QEMU - disassembler * * Copyright (c) 2011 Stefan Weil * * 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 opt...
#ifndef _system_syslog_h #define _system_syslog_h /* Unix SMB/CIFS implementation. syslog system include wrappers Copyright (C) Andrew Tridgell 2004 ** NOTE! The following LGPL license applies to the replace ** library. This does NOT imply that all of Samba is released ** under the LGPL ...
/* * linux/fs/sysv/ialloc.c * * minix/bitmap.c * Copyright (C) 1991, 1992 Linus Torvalds * * ext/freelists.c * Copyright (C) 1992 Remy Card (card@masi.ibp.fr) * * xenix/alloc.c * Copyright (C) 1992 Doug Evans * * coh/alloc.c * Copyright (C) 1993 Pascal Haible, Bruno Haible * * sysv/ialloc.c...
/* * Copyright 2015 Advanced Micro Devices, 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 rights to use, copy, modify, m...
#ifndef __ASM_SH_MIGOR_H #define __ASM_SH_MIGOR_H #define PORT_MSELCRA 0xa4050180 #define PORT_MSELCRB 0xa4050182 #define BSC_CS4BCR 0xfec10010 #define BSC_CS6ABCR 0xfec1001c #define BSC_CS4WCR 0xfec10030 #include <video/sh_mobile_lcdc.h> int migor_lcd_qvga_setup(void *board_data, void *sys_ops_handle, struct sh...
/* Area: ffi_call, closure_call Purpose: Check structure passing with different structure size. Especially with small structures which may fit in one register. Depending on the ABI. Limitations: none. PR: none. Originator: <andreast@gcc.gnu.org> 20030828 */ /* { dg-do run } */ #include "ffitest.h" t...
/* Power management interface routines. Written by Mariusz Matuszek. This code is currently just a placeholder for later work and does not do anything useful. This is part of rtl8180 OpenSource driver. Copyright (C) Andrea Merello 2004 <andreamrl@tiscali.it> Released under the terms of GPL (General Publ...
/* * Mapping of the rootfs in a physical region of memory * * Copyright (C) 2005-2007 PMC-Sierra Inc. * Author: Andrew Hughes, Andrew_Hughes@pmc-sierra.com * * 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 * ...
/* ** Compat-5.1 ** Copyright Kepler Project 2004-2006 (http://www.keplerproject.org/compat/) ** $Id: compat-5.1.h,v 1.8 2006/02/20 21:12:47 carregal Exp $ */ #ifndef COMPAT_H LUALIB_API void luaL_module(lua_State *L, const char *libname, const luaL_reg *l, int nup); #define lua...
/* * testSchemas.c : a small tester program for Schema validation * * See Copyright for the status of this software. * * Daniel.Veillard@w3.org */ #include "libxml.h" #ifdef LIBXML_SCHEMAS_ENABLED #include <libxml/xmlversion.h> #include <libxml/parser.h> #include <stdio.h> #include <string.h> #include <stdarg....
/* Copyright (c) 2008, Avian Contributors 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. There is NO WARRANTY for this software. See licens...
/* ISC license. */ #include <skalibs/nonposix.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> int open2 (char const *s, unsigned int flags) { int r ; do r = open(s, flags) ; while ((r == -1) && (errno == EINTR)) ; return r ; }
/* This file is part of the Brother MFC/DCP backend for SANE. 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) any later version. This prog...
/* This file is part of Lwt, released under the MIT license. See LICENSE.md for details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ #include "lwt_config.h" #if defined(LWT_ON_WINDOWS) #include <caml/mlvalues.h> #include <caml/unixsupport.h> #include "lwt_unix.h" struct job_system { ...
// Copyright (c) 2017-2021 offa // Copyright 2011 Ciaran McHale. // // 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, ...
// // UIImage+RenderMode.h // BaisiTest // // Created by HEYANG on 16/1/19. // Copyright © 2016年 HEYANG. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (RenderMode) /** 取消UIImage的渲染模式 */ + (UIImage *)imageRenderingModeImageNamed:(NSString *)imageName; @end
#ifndef EVOLVE_H #define EVOLVE_H void evolve_step(const double mass[], double pos[][NDIM], double vel[][NDIM], double acc[][NDIM], double jrk[][NDIM], double dst[], double old_pos[][NDIM], double old_vel[][NDIM], double old_acc[][NDIM], double old_jrk[][NDIM], int n, double dt, double & epot, doub...
// // UIImageView+BKUpload.h // BKFrameworkDemo // // Created by bestkai on 2017/3/22. // Copyright © 2017年 bestkai. All rights reserved. // #import <UIKit/UIKit.h> #import "BKBaseRequest.h" @interface UIImageView (BKUpload) /** Upload self image @param url <#url description#> @param parameters <#parameters ...
// // CustomCell.h // RKAccordionTableView // // Created by Pai on 7/4/17. // Copyright © 2017 Radhakrishna Pai. All rights reserved. // #import <UIKit/UIKit.h> #import "RKAccordionCell.h" typedef void (^ActionBlock)(); @interface CustomCell : RKAccordionCell @property (weak, nonatomic) IBOutlet UILabel *label; ...
// // YNCoreData.h // YNCommonProject // // Created by 王阳 on 2016/12/6. // Copyright © 2016年 王阳. All rights reserved. // #ifndef YNCoreData_h #define YNCoreData_h #import "NSFetchRequest+YNExtensions.h" #import "NSManagedObject+YNDictionary.h" #import "NSManagedObject+YNExtensions.h" #import "NSManagedObjectConte...
// // MasterViewController.h // iCloud Test One // // Created by Lucien Dupont on 6/21/15. // Copyright © 2015 Lucien Dupont. All rights reserved. // #import <UIKit/UIKit.h> @class DetailViewController; @interface MasterViewController : UITableViewController @property (strong, nonatomic) DetailViewController *d...
#ifndef _PRINTING_H_ #define _PRINTING_H_ /* C/C++ headers */ #include <stdio.h> #include <cstdlib> #include <string> /* Local headers */ #include "types.h" #include "cminus.h" #include "cminus.tab.h" /* Printing and String manipulation */ const char * iboolToString( int ib ); // Returns "true" for 1, "false" f...
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Product and Trade Secret source code contains trade secrets ...
#include<REG52.h>//51µ¥Æ¬»úÍ·Îļþ void delay();//ÑÓʱº¯ÊýÉùÃ÷ sbit a = P1^0;//Êä³ö¶Ë¿Ú¶¨Òå main() { while(1) { a = 0; delay(); a = 1; delay(); } } void delay()//ÑÓʱº¯Êý { unsigned char i;//×Ö·ûÐͱäÁ¿i¶¨Òå for(i=200;i>0;i--);//Ñ­»·ÑÓʱ }
#define CIMPLE_PLATFORM_LINUX_IX86_GNU //#define CIMPLE_PLATFORM_LINUX_PPC_GNU
// // open horizon -- undefined_darkness@outlook.com // #pragma once #include <vector> #include <string> //------------------------------------------------------------ //ToDo - dependency inversion? namespace gui { struct menu_controls; } namespace game { struct plane_controls; } //-------------------------------...
#include <errno.h> #include <stdint.h> #include <sys/mman.h> #include <onyx/heap.h> #include <onyx/limits.h> #include "syscall.h" /* Expand the heap in-place if brk can be used, or otherwise via mmap, * using an exponential lower bound on growth by mmap to make * fragmentation asymptotically irrelevant. The size a...