text
stringlengths
4
6.14k
#ifndef QGCMAVLINKMESSAGESENDER_H #define QGCMAVLINKMESSAGESENDER_H #include <QWidget> #include <QTreeWidgetItem> #include <QMap> #include <QTimer> #include "MAVLinkProtocol.h" namespace Ui { class QGCMAVLinkMessageSender; } class QGCMAVLinkMessageSender : public QWidget { Q_OBJECT friend class QTimer; ...
/* FTP extension for TCP NAT alteration. */ /* (C) 1999-2001 Paul `Rusty' Russell * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.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 Softwa...
/* * U-boot - setup.h * * Copyright (c) 2005-2007 Analog Devices Inc. * * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _SHARED_RESOURCES_H_ #define _SHARED_RESOURCES_H_ void swap_to(int device_id); #define FLASH 0 #define ETHERNET 1 #endif /* _SHARED_RESOURCES_H_ */
/* * AU1X00 UART support * * Hardcoded to UART 0 for now * Speed and options also hardcoded to 115200 8N1 * * Copyright (c) 2003 Thomas.Lange@corelatus.se * * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> #include <common.h> #include <asm/au1x00.h> #include <serial.h> #include <linux/compiler.h> ...
/* * AVID Meridien decoder * * Copyright (c) 2012 Carl Eugen Hoyos * * 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 Licen...
/* Copyright (C) 2002, 2003, 2004 Free Software Foundation. Verify that built-in math function constant folding of constant arguments is correctly performed by the compiler. Written by Roger Sayle, 16th August 2002. */ /* { dg-do link } */ /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ extern double ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include "pal_compiler.h" #include "pal_locale.h" DLLEXPORT void GlobalizationNative_ChangeCase(const UChar* lpSrc,...
/* linux/arch/arm/mach-msm/board-shooter-wifi.h * * Copyright (C) 2008 HTC Corporation. * * 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...
/* Unix SMB/CIFS implementation. Copyright (C) Stefan Metzmacher 2006 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 3 of the License, or (at your option) any l...
/** @file reg_pinmux.h * @brief PINMUX Register Layer Header File * @date 29.May.2013 * @version 03.05.02 * * This file contains: * - Definitions * - Types * - Interface Prototypes * . * which are relevant for the PINMUX driver. */ /* (c) Texas Instruments 2009-2013, All rights reserved. */ #ifnd...
/* * Copyright (C) by Basler Vision Technologies AG * Author: Thomas Koeller <thomas.koeller@baslereb.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 Li...
/* Unix SMB/CIFS implementation. An implementation of arc4. Copyright (C) Jeremy Allison 2005. 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,...
/* vi: set sw=4 ts=4: */ /* * Mini rmmod implementation for busybox * * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> * Copyright (C) 2008 Timo Teras <timo.teras@iki.fi> * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ //applet:IF_RMMOD(APPLET(rmmod, BB_DIR_SBIN, BB...
/* * Copyright (C) 2016-2018 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #pragma once #include <string> /*! * Responsible for safely unpacking/copying/removing addon files from/to the addon folder. ...
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Definitions and platform data for Analog Devices * Backlight drivers ADP8860 * * Copyright 2009-2010 Analog Devices Inc. */ #ifndef __LINUX_I2C_ADP8860_H #define __LINUX_I2C_ADP8860_H #include <linux/leds.h> #include <linux/types.h> #define ID_ADP8860 8860 ...
/* * Copyright (c) 2007-2012 Niels Provos, Nick Mathewson * Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu> * 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. Redistributi...
// // MAOverlay.h // MAMapKit // // Created by AutoNavi. // Copyright (c) 2013年 AutoNavi. All rights reserved. // #import "MAAnnotation.h" #import "MAGeometry.h" /*! @brief 该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类 */ @protocol MAOverlay <MAAnnotation> @required /*! @brief 返回区域中心坐标. */ @property (nonatomic, readonly) CLLo...
/* * Copyright (C) 2010 Google Inc. 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 code must retain the above copyright * notice, this list of conditio...
/* * QLogic iSCSI Offload Driver * Copyright (c) 2016 Cavium Inc. * * This software is available under the terms of the GNU General Public License * (GPL) Version 2, available from the file COPYING in the main directory of * this source tree. */ #ifndef _QEDI_ISCSI_H_ #define _QEDI_ISCSI_H_ #include <linux/soc...
// SPDX-License-Identifier: GPL-2.0 // // Copyright 2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // http://armlinux.simtec.co.uk/ #include <linux/kernel.h> #include <linux/types.h> #include <linux/interrupt.h> #include <linux/list.h> #include <linux/timer.h> #include <linux/init.h> #include <linux/serial_co...
#ifndef EVIL80_H #define EVIL80_H #include "quantum.h" #define LAYOUT( \ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \ K500, K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \ K501, K...
// Copyright (c) 2011 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 PPAPI_PROXY_INTERFACE_PROXY_H_ #define PPAPI_PROXY_INTERFACE_PROXY_H_ #include "base/basictypes.h" #include "ipc/ipc_listener.h" #include "ip...
// Copyright (c) 2012 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_SYNC_FILE_SYSTEM_LOCAL_CHANGE_PROCESSOR_H_ #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_CHANGE_PROCESSOR_H_ #include "base/ca...
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-pre-stats" } */ typedef int type[2]; int foo(type *a, int argc) { int d, e; /* Should be able to eliminate the second load of *a along the main path. */ d = (*a)[0]; if (argc) a++; e = (*a)[0]; return d + e; } /* { dg-final { scan-tree-dump-tim...
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-fab1" } */ typedef struct { int i; } FILE; FILE *fp; extern int fprintf (FILE *, const char *, ...); volatile int vi0, vi1, vi2, vi3, vi4, vi5, vi6, vi7, vi8, vi9; void test (void) { vi0 = 0; fprintf (fp, "hello"); vi1 = 0; fprintf (fp, "hello\n"); vi...
/* Test the `vextu64' ARM Neon intrinsic. */ /* { dg-options "-save-temps -O3 -fno-inline" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" extern void abort (void); int main (int argc, char **argv) { uint64_t arr1[] = {0}; uint64x1_t in1 = vld1_u64 (arr1); uint64_t arr2[] = {1}; uint64x1_t in2...
/* * (C) Copyright 2004, Psyent Corporation <www.psyent.com> * Scott McNutt <smcnutt@psyent.com> * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * publis...
#include <platform.h> #include <microhttpd.h> #define PORT 8888 #define POSTBUFFERSIZE 512 #define MAXCLIENTS 2 #define GET 0 #define POST 1 static unsigned char nr_of_uploading_clients = 0; struct connection_info_struct { int connectiontype; struct MHD_PostProcessor *pos...
/* * Copyright (C) Research In Motion Limited 2010. All rights reserved. * * 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 the Free Software Foundation; either * version 2 of the License, or (at your option) an...
/* * Copyright (c) 1995 X Consortium * Copyright 2004 Red Hat Inc., Durham, North Carolina. * * 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 restric...
/* Unix SMB/CIFS implementation. SMB parameters and setup Copyright (C) Andrew Tridgell 1992-1997 Copyright (C) Luke Kenneth Casson Leighton 1996-1997 Copyright (C) Paul Ashton 1997 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Publi...
/* SPDX-License-Identifier: GPL-2.0-only */ /**************************************************************************** * Driver for Solarflare network controllers and boards * Copyright 2007-2013 Solarflare Communications Inc. */ #ifndef EFX_ENUM_H #define EFX_ENUM_H /** * enum efx_loopback_mode - loopback mod...
/* * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corporation * * Provide default implementations of the DMA mapping callbacks for * directly mapped busses. */ #include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/dma-debug.h> #include <linux/gfp.h> #include <linux/memblock.h> #include <asm/b...
#include QMK_KEYBOARD_H // Each layer gets a name for readability, which is then used in the keymap matrix below. // The underscores don't mean anything - you can have a layer called STUFF or any other name. #define _BL 0 #define _FL 1 #define _CL 2 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* ...
#ifndef __ARCH_PARISC_POSIX_TYPES_H #define __ARCH_PARISC_POSIX_TYPES_H /* * This file is generally used by user-level software, so you need to * be a little careful about namespace pollution etc. Also, we cannot * assume GCC is being used. */ typedef unsigned long __kernel_ino_t; typedef unsigned short __kerne...
/* Check calling convention in the vector ABI. */ /* { dg-do compile { target { s390*-*-* } } } */ /* { dg-options "-O3 -mzarch -march=z13" } */ /* Make sure the last argument is fetched from the argument overflow area. */ /* { dg-final { scan-assembler "vl\t%v\[0-9\]*,160\\(%r15\\)" { target lp64 } } } */ /* { dg-...
#ifndef EXTERN_H #define EXTERN_H /* -*-C-*- ******************************************************************************** * * File: extern.h (Formerly extern.h) * Description: External definitions for C or C++ * Author: Mark Seaman, OCR Technology * Created: Tue Mar 20 14:01:22 1990 * Mo...
/* tls_test_c.c -- test TLS common symbol Copyright 2008 Free Software Foundation, Inc. Written by Ian Lance Taylor <iant@google.com> This file is part of gold. 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 ...
/* * Copyright (C) 2012 - Virtual Open Systems and Columbia University * Author: Christoffer Dall <c.dall@virtualopensystems.com> * * 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 Foundati...
/* rtc-max6916.c * * Driver for MAXIM max6916 Low Current, SPI Compatible * Real Time Clock * * Author : Venkat Prashanth B U <venkat.prashanth2498@gmail.com> * * 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 * publishe...
// // DDReceiveGroupAddMemberAPI.h // Duoduo // // Created by 独嘉 on 14-5-8. // Copyright (c) 2015年 MoguIM All rights reserved. // #import "DDUnrequestSuperAPI.h" @interface DDReceiveGroupAddMemberAPI : DDUnrequestSuperAPI @end
/* * 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) 1994, 95, 96, 97, 98, 99, 2000 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. */ #ifndef _ASM_PTRACE_H ...
/* * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators. * * Copyright (c) 2001 by Jay Schulist <jschlst@samba.org> * * This program can be redistributed or modified under the terms of the * GNU General Public License as published by the Free Software Foundation. * This program is distribut...
/* * arch/arm/mach-kirkwood/addr-map.c * * Address map functions for Marvell Kirkwood SoCs * * 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 express or implied. */ #include <linux/kernel.h> #inc...
/* * clk-h32mx.c * * Copyright (C) 2014 Atmel * * Alexandre Belloni <alexandre.belloni@free-electrons.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 Lic...
/* Linux epoll(2) based ae.c module * * Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com> * 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 ...
#ifndef CONFIG_USER_H #define CONFIG_USER_H #include "config_common.h" #ifdef AUDIO_ENABLE #define STARTUP_SONG SONG(PLANCK_SOUND) // #define STARTUP_SONG SONG(NO_SOUND) #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \ SONG(COLEMAK_SOUND), \ ...
/* -mlong-double-64 compatibility mode for <wchar.h> functions. Copyright (C) 2006, 2007 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 publish...
/**************************************************************************** Copyright (c) 2010 cocos2d-x.org http://www.cocos2d-x.org 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 res...
/* Simple DirectMedia Layer Copyright (C) 1997-2016 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 ...
/* exynos_drm_crtc.c * * Copyright (c) 2011 Samsung Electronics Co., Ltd. * Authors: * Inki Dae <inki.dae@samsung.com> * Joonyoung Shim <jy0922.shim@samsung.com> * Seung-Woo Kim <sw0312.kim@samsung.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU ...
/* { dg-do compile} */ /* { dg-options "-fsanitize=shift -w" } */ /* { dg-shouldfail "ubsan" } */ int x; int main (void) { /* None of the following should pass. */ int A[1 >> -1] = {}; /* { dg-error "variable-sized object may not be initialized" } */ int B[-1 >> -1] = {}; /* { dg-error "variable-sized obje...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // We would like to allow "util" collection classes to be usable both // from the VM and from the JIT. The latter c...
/* Copyright (c) 2011-2012, 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 ho...
/* * Copyright (C) 2012 Apple Inc. 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 copyright * notice, this list of conditions a...
/* * linux/arch/arm/mach-pxa/clock-pxa3xx.c * * 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. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #inc...
/* * Copyright 2020 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, me...
#ifndef __ASM_ARM_SWAB_H #define __ASM_ARM_SWAB_H #include <linux/compiler.h> #include <linux/types.h> #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) # define __SWAB_64_THRU_32__ #endif #if defined(__KERNEL__) #if __LINUX_ARM_ARCH__ >= 6 static inline __attribute_const__ __u32 __arch_swahb32(__u32 x) { __as...
// 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 FINALIZE_AFTER_DISPATCH_H_ #define FINALIZE_AFTER_DISPATCH_H_ #include "heap/stubs.h" namespace blink { class NeedsFinalize : public GarbageCol...
/* * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2015, Daniel Thompson */ #include <linux/clk.h> #include <linux/delay.h> #include <linux/hw_random.h> #include <linux/io.h> #include <linux/iopoll.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/of_pl...
/******************************************************************** * COPYRIGHT: * Copyright (c) 1997-2001, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /*******************************************************...
/* * Copyright (C) 2012 Invensense, Inc. * * 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 it will be useful, * but ...
/* * Pistachio IRQ setup * * Copyright (C) 2014 Google, Inc. * * 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. */ #ifndef __ASM_MACH_PISTACHIO_GPIO_H #define ...
#ifndef __NV04_DISPLAY_H__ #define __NV04_DISPLAY_H__ #include <subdev/bios/pll.h> #include "nouveau_display.h" enum nv04_fp_display_regs { FP_DISPLAY_END, FP_TOTAL, FP_CRTC, FP_SYNC_START, FP_SYNC_END, FP_VALID_START, FP_VALID_END }; struct nv04_crtc_reg { unsigned char MiscOutReg; uint8_t CRTC[0xa0]; ui...
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __org_omg_Dynamic_Parameter__ #define __org_omg_Dynamic_Parameter__ #pragma interface #include <java/lang/Object.h> extern "Java" { namespace org { namespace omg { namespace CORBA { class Any; class Pa...
/* * PL-2301/2302 USB host-to-host link cables * Copyright (C) 2000-2005 by David Brownell * * 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...
// Copyright (c) 2011 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 IPC_STRUCT_DESTRUCTOR_MACROS_H_ #define IPC_STRUCT_DESTRUCTOR_MACROS_H_ // Null out all the macros that need nulling. #include "ipc/ipc_messa...
#pragma once /* * Copyright (C) 2011-2013 Team XBMC * http://xbmc.org * * 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, or (at your option) * any later ve...
/* * ARC PGU DRM driver. * * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) * * 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. * * This program is distributed in the hope...
#ifndef _ASM_S390_FTRACE_H #define _ASM_S390_FTRACE_H #define ARCH_SUPPORTS_FTRACE_OPS 1 #ifdef CC_USING_HOTPATCH #define MCOUNT_INSN_SIZE 6 #else #define MCOUNT_INSN_SIZE 24 #define MCOUNT_RETURN_FIXUP 18 #endif #ifndef __ASSEMBLY__ #define ftrace_return_address(n) __builtin_return_address(n) void _mcount(void); ...
/* { dg-do run } */ /* { dg-require-effective-target sse4 } */ /* { dg-options "-O3 -msse4.1 -mno-avx2" } */ #ifndef CHECK_H #define CHECK_H "sse4_1-check.h" #endif #ifndef TEST #define TEST sse4_1_test #endif #include CHECK_H extern void abort (void); #define N 1024 short a[N], c, e; unsigned short b[N], d, f; _...
/* PR middle-end/44843 */ /* Verify that we don't use the alignment of struct S for inner accesses. */ struct S { double for_alignment; struct { int x, y, z; } a[16]; }; void f(struct S *s) __attribute__((noinline)); void f(struct S *s) { unsigned int i; for (i = 0; i < 16; ++i) { s->a[i].x = 0; ...
/* * 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...
/* * MTD partitioning layer definitions * * (C) 2000 Nicolas Pitre <nico@fluxnic.net> * * This code is GPL */ #ifndef MTD_PARTITIONS_H #define MTD_PARTITIONS_H #include <linux/types.h> /* * Partition definition structure: * * An array of struct partition is passed along with a MTD object to * mtd_device_r...
/* ** $Id: //Department/DaVinci/BRANCHES/MT6620_WIFI_DRIVER_V2_3/include/pwr_mgt.h#1 $ */ /*! \file "pwr_mgt.h" \brief In this file we define the STATE and EVENT for Power Management FSM. The SCAN FSM is responsible for performing SCAN behavior when the Arbiter enter ARB_STATE_SCAN. The STATE and EVENT...
/* * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public Licen...
/* Distilled from try_pre_increment in flow.c. If-conversion inserted new instructions at the wrong place on ppc. */ int foo(int a) { int x; x = 0; if (a > 0) x = 1; if (a < 0) x = 1; return x; } int main() { if (foo(1) != 1) abort(); return 0; }
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2016 Allwinnertech Co., Ltd. * Copyright (C) 2017-2018 Bootlin * * Maxime Ripard <maxime.ripard@bootlin.com> */ #ifndef _SUN6I_MIPI_DSI_H_ #define _SUN6I_MIPI_DSI_H_ #include <drm/drm_connector.h> #include <drm/drm_encoder.h> #include <drm/drm_mipi_dsi.h> ...
/* * IPMMU/IPMMUI * Copyright (C) 2012 Hideki EIRAKU * * 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. */ #include <linux/err.h> #include <linux/export.h> #inc...
/** * debug.h - DesignWare USB3 DRD Controller Debug Header * * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * * Authors: Felipe Balbi <balbi@ti.com>, * Sebastian Andrzej Siewior <bigeasy@linutronix.de> * * This program is free software: you can redistribute it and/or modify *...
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _IPT_AH_H #define _IPT_AH_H #include <linux/types.h> struct ipt_ah { __u32 spis[2]; /* Security Parameter Index */ __u8 invflags; /* Inverse flags */ }; /* Values for "invflags" field in struct ipt_ah. */ #define IPT_AH_INV_SPI 0x01 /* ...
// SPDX-License-Identifier: GPL-2.0 #include <linux/init.h> #include <linux/types.h> #include <linux/audit.h> #include <asm/unistd.h> #include "audit.h" static unsigned dir_class[] = { #include <asm-generic/audit_dir_write.h> ~0U }; static unsigned read_class[] = { #include <asm-generic/audit_read.h> ~0U }; static u...
/* ISC license. */ #include <skalibs/env.h> size_t env_mergn (char const **v, size_t vmax, char const *const *envp, char const *modifs, size_t modiflen, size_t modifn) { return env_mergen(v, vmax, envp, env_len(envp), modifs, modiflen, modifn) ; }
/* Simple example use of libwdog API for the watchdogd process monitor * * Copyright (c) 2015-2020 Joachim Wiberg <troglobit@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...
/* Copyright (c) 2008-2011, 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 l...
/* * Generated by class-dump 3.1.2. * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard. */ #import "_ADBannerContentSizeIdentifierLandscape.h" #import "IMConfigManagerDelegate-Protocol.h" #import "IMConfigValidator-Protocol.h" @class IMAPIMetricManager, IMCommonsNetworkReacha...
/** * Copyright © 2012-2013 Sergio Arroutbi Braojos <sarroutbi@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. * * THE SOFTWARE ...
#include "stack.h" void run(V, Stack*);
/* keyboard.h - Minimal set of key bindings. * * Copyright (c) 2004-2015 Joachim Nilsson <troglobit@gmail.com> * Copyright (c) 1998-2000 Joachim Nilsson, Jakob Eriksson, Anders Bornäs * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, pr...
// // TCCore.h // TCCore // // Created by Xin Zeng on 10/5/21. // #import <Foundation/Foundation.h> //! Project version number for TCCore. FOUNDATION_EXPORT double TCCoreVersionNumber; //! Project version string for TCCore. FOUNDATION_EXPORT const unsigned char TCCoreVersionString[]; // In this header, you shoul...
// // Created by Dmitry Mozgin on 21/04/2017. // #pragma once #include "YieldInstruction.h" namespace vd { class WaitForSeconds : public IYieldInstruction { public: WaitForSeconds(double seconds); //region Implementation of IYieldInstruction. void Update() override; bool IsDone() const override...
/** * stm32tpl -- STM32 C++ Template Peripheral Library * Visit https://github.com/antongus/stm32tpl for new versions * * Copyright (c) 2011-2020 Anton B. Gusev aka AHTOXA * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files ...
/********************************** * SCAENA FRAMEWORK * Author: Marco Andrés Lotto * License: MIT - 2016 **********************************/ #pragma once #include "Cubo.h" class GLSLProgram; class SistemaIluminacion; typedef glm::vec3 vec3; typedef glm::mat4 mat4; class Marcador{ private: vec3 posicion; Cubo ma...
#pragma once #include <string> #include <vector> #include "Color.h" class Theme { public: enum ElementType { PatternEditor, SequenceEditor, MacroEditor, Oscilloscope, SongName, MacroName, MacroNumber, SequencePosition, SequenceLength, PatternLength, OctaveNumber, TouchRegion, SynthGrid, ...
/* Contains the InputBox dialogs Copyright (C) 2015 Marius Messerschmidt */ #ifndef _HAVE_MIXED_FORM #define _HAVE_MIXED_FORM #include <stdlib.h> #include <stdbool.h> #include <gtk/gtk.h> #include "util.h" //creates an yesno dialog totalargs values where is the --yesno short create_mixed_form_dialog(int ...
#pragma once #include "http_parser.h" #include <string> #include "unordered.h" #include <assert.h> #include "nocopy.h" #include <memory> #include "utils.h" struct http_connection_t; /* http_request_t informs the server handler what the client is asking for */ struct http_request_t : static_count<http_request_t> { fr...
// // Tomato Music Codec // Media Foundation 媒体源操作 // // 作者:SunnyCase // 创建时间:2015-03-17 #pragma once #include <Tomato.Media/Tomato.Media.h> DEFINE_NS_MEDIA_CODEC // 媒体源操作类型 enum class MediaSourceOperationKind { // 无 None, // 开始 Start, // 暂停 Pause, // 停止 Stop, // 设置速率 SetRate, // 请求数据 RequestData, // 到...
/*=============================================================================== Copyright (c) 2015-2016 PTC Inc. All Rights Reserved. Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved. Vuforia is a trademark of PTC Inc., registered in the United States and other countries. @file ...