text
stringlengths
4
6.14k
/* * This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information * * 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 o...
/* Copyright (c) 2010, 2016, Oracle and/or its affiliates. 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; version 2 of the License. This program is distributed in t...
/* SPDX-License-Identifier: MIT */ #ifndef __NV50_DISP_H__ #define __NV50_DISP_H__ #define nv50_disp(p) container_of((p), struct nv50_disp, base) #include "priv.h" struct nvkm_head; #include <core/enum.h> struct nv50_disp { const struct nv50_disp_func *func; struct nvkm_disp base; struct workqueue_struct *wq; st...
/* Verify that overloaded built-ins for __builtin_vec_xl with short inputs produce the right code. */ /* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mvsx -O2" } */ #include <altivec.h> #define BUILD_VAR_TEST(TESTNAME1, RETTYPE, VAR_OFFSET, LOADFROM)\ RETTYPE \ TESTNAME1 ## _var (VA...
/*************************************************************************** qgswcsserver.h ------------------- begin : December 9, 2013 copyright : (C) 2013 by René-Luc D'Hont email : rldhont at 3liz dot com ***...
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */ #include "test_sve_acle.h" /* ** cmple_wide_s8_tied: ** cmple p0\.b, p0/z, z0\.b, z1\.d ** ret */ TEST_COMPARE_DUAL_Z (cmple_wide_s8_tied, svint8_t, svint64_t, p0 = svcmple_wide_s8 (p0, z0, z1), p0 = svcmple_wide (p0, z0, z1)) /* ** cmp...
// Check -B driver option. // // RUN: %clang %s -### -o %t.o -target i386-unknown-linux \ // RUN: -B %S/Inputs/B_opt_tree/dir1 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-B-OPT-TRIPLE %s // CHECK-B-OPT-TRIPLE: "{{.*}}/Inputs/B_opt_tree/dir1{{/|\\\\}}i386-unknown-linux-ld" // // RUN: %clang %s -### -o %t.o -ta...
#include "clar_libgit2.h" #include "git2/odb_backend.h" #include "pack_data_one.h" #include "pack.h" static git_odb *_odb; void test_odb_packed_one__initialize(void) { git_odb_backend *backend = NULL; cl_git_pass(git_odb_new(&_odb)); cl_git_pass(git_odb_backend_one_pack(&backend, cl_fixture("testrepo.git/objects...
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
/* * * Copyright 2015, 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 condi...
/* camellia-invert-key.c Inverting a key means reversing order of subkeys. Copyright (C) 2010 Niels Möller This file is part of GNU Nettle. GNU Nettle is free software: you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by th...
#ifndef MMAP_UTIL_H #define MMAP_UTIL_H #include <unistd.h> #ifdef HAVE_LINUX_MREMAP # define __USE_GNU /* for MREMAP_MAYMOVE */ #endif #include <sys/mman.h> #undef __USE_GNU #if !defined (MREMAP_MAYMOVE) && !defined (HAVE_LINUX_MREMAP) # define MREMAP_MAYMOVE 1 #endif #ifndef HAVE_MADVISE # define madvise my_m...
#ifndef CODE_H_ #define CODE_H_ #include <node.h> #include <node_object_wrap.h> #include <v8.h> using namespace v8; using namespace node; class Code : public ObjectWrap { public: char *code; Persistent<Object> scope_object; Code(char *code, Persistent<Object> scope_object); ~Code(); ...
/* Header file for routines that straddle the border between GIMPLE and SSA in gimple. Copyright (C) 2009-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 Softwa...
/* * include/linux/writeback.h */ #ifndef WRITEBACK_H #define WRITEBACK_H #include <linux/sched.h> #include <linux/fs.h> struct backing_dev_info; extern spinlock_t inode_lock; extern struct list_head inode_in_use; extern struct list_head inode_unused; /* * Yes, writeback.h requires sched.h * No, sched.h is not ...
/*************************************************************************** * Copyright (C) 2005 by Tarek Saidi * * tarek@linux * * * * This pr...
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
/* packet-dpvreq.c * Routines for DOCSIS 3.0 DOCSIS Path Verify Response Message dissection. * Copyright 2010, Guido Reismueller <g.reismueller[AT]avm.de> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can re...
/*========================================================================= Program: Visualization Toolkit Module: vtkAnnotationLayers.h ------------------------------------------------------------------------- Copyright 2008 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia C...
/* * Copyright (C) 2002-2004 Sistina Software, Inc. All rights reserved. * Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved. * * This file is part of LVM2. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * ...
// -*- C++ -*- //============================================================================= /** * @file Refcountable_T.h * * @author Doug Schmidt * @author Johnny Willemsen */ //============================================================================= #ifndef ACE_REFCOUNTABLE_T_H #define ACE_REFCOUNTABL...
// Copyright (c) 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. #ifndef NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ #define NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ #include <string> #include <vector> #include "base/memory/scoped...
// 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. #ifndef MEDIA_CAST_LOGGING_LOGGING_IMPL_H_ #define MEDIA_CAST_LOGGING_LOGGING_IMPL_H_ // Generic class that handles event logging for the cast library. //...
/* * Copyright (c) 2004 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * 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 sourc...
#ifndef UI_PATCH_H #define UI_PATCH_H extern void cgit_print_patch(const char *new_rev, const char *old_rev, const char *prefix); #endif /* UI_PATCH_H */
/* misc.c --- miscellaneous utility functions for RX simulator. Copyright (C) 2005-2016 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of the GNU simulators. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
/** @file Implementation of 64-bit swap bytes Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license...
/* * (C) Copyright 2011 * Emcraft Systems, <www.emcraft.com> * Alexander Potashev <aspotashev@emcraft.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 a...
#ifndef _SRC_CLUCENE_CLUCENE_CONFIG_H #define _SRC_CLUCENE_CLUCENE_CONFIG_H 1 /* src/shared/CLucene/clucene-config.h. * Normally generated automatically at end of cmake, * but here in LibreOffice this actually is a copy of * clucene/configs/clucene-config-generic.h. */ /* CMake will look for these headers: */ #def...
/* MCU tables for STM32G4 */ #if defined(STM32G4) #define STM32_UNKNOWN 0 mcu_des_t mcu_descriptions[] = { { STM32_UNKNOWN, "STM32G4??", '?'}, }; const mcu_rev_t silicon_revs[] = { }; #endif // STM32G4
/* LUFA Library Copyright (C) Dean Camera, 2011. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentati...
/* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. */ #ifndef vnsw_agent_pkt_packet_buffer_hpp #define vnsw_agent_pkt_packet_buffer_hpp #include <string> #include <stdint.h> #include <boost/shared_ptr.hpp> #include <boost/shared_array.hpp> #include <base/util.h> class PacketBuffer; class PacketBuf...
/*---------------------------------------------------------------------------- * File: ooaofooa_S_DIS_class.h * * Class: Datatype In Suppression (S_DIS) * Component: ooaofooa * * your copyright statement can go here (from te_copyright.body) *------------------------------------------------------...
#include <asm/syscall.h>
/* -*- buffer-read-only: t -*- vi: set ro: */ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* Tests of mkdir. Copyright (C) 2009-2011 Free Software Foundation, Inc. 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 F...
extern #ifdef __cplusplus "C" #endif void abort (void); #pragma omp declare reduction (foo: int: omp_out += omp_in - 1) initializer (omp_priv = 1) int main () { int i, v = 0; unsigned long long j; volatile unsigned long long sixtyfour = 64; int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0; #pragma omp par...
/* Test duplicating file descriptors. Copyright (C) 2009-2014 Free Software Foundation, Inc. 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 you...
/* * File : toplevel.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006 - 2009, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date ...
// @(#)root/roostats:$Id$ // Author: Kyle Cranmer, Lorenzo Moneta, Gregory Schott, Wouter Verkerke /************************************************************************* * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. * * All rights reserved. ...
/* Mersenne Twister pseudo-random number generator functions. Copyright 2002, 2003, 2013, 2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as...
/************************************************** * * This is a template for early application low-level initialization. * * Copyright 1996-2010 IAR Systems AB. * * $Revision: 5993 $ * **************************************************/ /* * The function __low_level_init it called by the start-up...
/* * Summary: regular expressions handling * Description: basic API for libxml regular expressions handling used * for XML Schemas and validation. * * Copy: See Copyright for the status of this software. * * Author: Daniel Veillard */ #ifndef __XML_REGEXP_H__ #define __XML_REGEXP_H__ #include "xm...
// Copyright 2006-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. #ifndef MINI_CHROMIUM_BASE_MAC_SCOPED_NSOBJECT_H_ #define MINI_CHROMIUM_BASE_MAC_SCOPED_NSOBJECT_H_ #import <Foundation/Foundation.h> #include <typ...
/* * (C) Copyright 2003 * Texas Instruments. * Kshitij Gupta <kshitij@ti.com> * Configuation settings for the TI OMAP Innovator board. * * (C) Copyright 2004 * ARM Ltd. * Philippe Robin, <philippe.robin@arm.com> * Configuration for Integrator AP board. *. * See file CREDITS for list of people who contributed...
/************************************************************************************ * configs/qemu-i486/include/board.h * include/arch/board/board.h * * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with...
/* * Copyright (c) 2011-2014, Intel Corporation * 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 o...
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Re...
#include <stdlib.h> #include <malloc.h> #include <loader/elfloader-arch-otf.h> #if 0 #include <stdio.h> #define PRINTF(...) printf(__VA_ARGS__) #else #define PRINTF(...) do {} while (0) #endif #define ELF32_R_TYPE(info) ((unsigned char)(info)) /* Supported relocations */ #define R_ARM_ABS32 2 #define R_ARM_THM...
/* Define and initialize the `__libc_enable_secure' flag. Hurd version. Copyright (C) 1998-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...
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
/* * Copyright (C) 2007 Google, Inc. * Author: Brian Swetland <swetland@google.com> * * 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 dis...
/* Copyright (C) 2009-2015 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 ...
/* * 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...
/* gmpstat.h */ /* Copyright 1999 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP 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 Lice...
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 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 a...
// Copyright 2013 Google Inc. All Rights Reserved. // // 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...
//****************************************************************************** // // Copyright (c) 2016 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LI...
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
/* Portions of this file are subject to the following copyright(s). See * the Net-SNMP's COPYING file for more details and other copyrights * that may apply: */ /* * Portions of this file are copyrighted by: * Copyright (C) 2007 Apple, Inc. All rights reserved. * Use is subject to license terms specified in the ...
#ifndef __esection_h #define __esection_h #include <lib/dvb/idemux.h> #include <set> #define TABLE_eDebug(x...) do { if (m_debug) eDebug(x); } while(0) #define TABLE_eDebugNoNewLineStart(x...) do { if (m_debug) eDebugNoNewLineStart(x); } while(0) #define TABLE_eDebugNoNewLine(x...) do { if (m_debug) eDebugNoNewLine(x...
/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009 - 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it and/or modify ...
/************************************************************************** * * Copyright 2010 Christian König * 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 ...
#ifndef __AP_HAL_UTIL_H__ #define __AP_HAL_UTIL_H__ #include <stdarg.h> #include "AP_HAL_Namespace.h" #include <AP_Progmem.h> class AP_HAL::Util { public: virtual int snprintf(char* str, size_t size, const char *format, ...) = 0; virtual int snprintf_P(char* str, size_t size, const p...
#ifndef __LINUX_LCD_NOTIFY_H #define __LINUX_LCD_NOTIFY_H #include <linux/notifier.h> /* the display on process started */ #define LCD_EVENT_ON_START 0x01 /* the display on process end */ #define LCD_EVENT_ON_END 0x02 /* the display off process started */ #define LCD_EVENT_OFF_START 0x03 /* the display off process...
#define meyerscal_N 16 #define meyerscal_P 3 #define meyerscal_NTRIES 1 static double meyerscal_x0[meyerscal_P] = { 8.85, 4.0, 2.5 }; static double meyerscal_epsrel = 1.0e-8; static double meyerscal_Y[meyerscal_N] = { 34780., 28610., 23650., 19630., 16370., 13720., 11540., 9744., 8261., 7030., ...
// This file is part of SVO - Semi-direct Visual Odometry. // // Copyright (C) 2014 Christian Forster <forster at ifi dot uzh dot ch> // (Robotics and Perception Group, University of Zurich, Switzerland). // // SVO is free software: you can redistribute it and/or modify it under the // terms of the GNU General Public L...
/* @(#)s_log1p.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided t...
/*========================================================================= Library: CTK Copyright (c) Kitware Inc. 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.ap...
// 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. // This defines helpful methods for dealing with Callbacks. Because Callbacks // are implemented using templates, with a class per callback signature...
/*------------------------------------------------------------------------- * * svr4.h * port-specific prototypes for Intel x86/Intel SVR4 * * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $PostgreSQL: pgsql/...
#define SHMLBA 4096 struct shmid_ds { struct ipc_perm shm_perm; size_t shm_segsz; time_t shm_atime; time_t shm_dtime; time_t shm_ctime; pid_t shm_cpid; pid_t shm_lpid; unsigned long shm_nattch; unsigned long __pad1; unsigned long __pad2; }; struct shminfo { unsigned long shmmax, shmmin, shmmni, shmseg, shm...
/***************************************************************************** Copyright (c) 2011, Intel Corp. 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...
//================================================================================================= /*! // \file blaze/util/Constraints.h // \brief Header file for compile time constraints // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You can redistribu...
// // HCDConcreteVisitor1.h // 23访问者模式 // // Created by 黄成都 on 15/8/27. // Copyright (c) 2015年 黄成都. All rights reserved. // #import "HCDVisitors.h" @interface HCDConcreteVisitor1 : HCDVisitors @end
/** @file FIRAuthErrors.h @brief Firebase Auth SDK @copyright Copyright 2015 Google Inc. @remarks Use of this SDK is subject to the Google APIs Terms of Service: https://developers.google.com/terms/ */ #import <Foundation/Foundation.h> /** @var FIRAuthErrorDomain @brief The Firebase Auth erro...
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following ...
// // Util.h // // $Id: //poco/1.3/Util/include/Poco/Util/Util.h#2 $ // // Library: Util // Package: Util // Module: Util // // Basic definitions for the Poco Util library. // This file must be the first file included by every other Util // header file. // // Copyright (c) 2004-2006, Applied Informatics Software Engin...
// // OCToolBar.h // Owncloud iOs Client // // Created by Gonzalo Gonzalez on 08/10/13. // /* Copyright (C) 2014, ownCloud, Inc. This code is covered by the GNU Public License Version 3. For distribution utilizing Apple mechanisms please see https://owncloud.org/contribute/iOS-license-exception/ You should have...
/* * linux/arch/arm/plat-omap/sram.c * * OMAP SRAM detection and management * * Copyright (C) 2005 Nokia Corporation * Written by Tony Lindgren <tony@atomide.com> * * Copyright (C) 2009-2012 Texas Instruments * Added OMAP4/5 support - Santosh Shilimkar <santosh.shilimkar@ti.com> * * This program is free soft...
// 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 COMPONENTS_DOMAIN_RELIABILITY_SCHEDULER_H_ #define COMPONENTS_DOMAIN_RELIABILITY_SCHEDULER_H_ #include <vector> #include "base/callback.h" #incl...
// // Copyright (c) 2015 The ANGLE 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. // // Device.h: Implements the egl::Device class, representing the abstract // device. Implements EGLDevice. #ifndef LIBANGLE_DEVICE_H_ #defi...
//================================================================================================= /*! // \file blazemark/flens/TDVecTDMatMult.h // \brief Header file for the FLENS transpose dense vector/transpose dense matrix multiplication kernel // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // /...
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) */ #ifndef __FRAME_KERN_H_ #define __FRAME_KERN_H_ extern int setup_signal_stack_sc(unsigned long stack_top, struct ksignal *ksig, struct pt_regs *regs, sigset_t *mask); extern int setup_signal_stack_si(unsigned long s...
/* Parsing of Suboptions Example Copyright (C) 1991-2015 Free Software Foundation, Inc. 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...
/* { dg-do run } */ #include <stdlib.h> extern int foo(void); int main(void) { if (foo()) exit(0); else abort(); }
/* * cli_cu_common.h * * Copyright(c) 1998 - 2010 Texas Instruments. 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 code must ret...
/* * Implement the manual drop-all-pagecache function */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/fs.h> #include <linux/writeback.h> #include <linux/sysctl.h> #include <linux/gfp.h> /* A global variable is a bit ugly, but it keeps the code simple */ int sysctl_drop_caches; static void drop_p...
// Copyright 2018-present the Material Components for iOS authors. All Rights Reserved. // // 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 //...
#ifndef TEST_INTEROP_C_FUNCTION_INPUTS_EMIT_CALLED_INLINE_FUNCTION_H #define TEST_INTEROP_C_FUNCTION_INPUTS_EMIT_CALLED_INLINE_FUNCTION_H #ifdef __cplusplus #define INLINE inline #else // When compiling as C, make the functions `static inline`. This is the flavor // of inline functions for which we require the behavio...
/* sparc-specific implementation of profiling support. Copyright (C) 2008-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David S. Miller <davem@davemloft.net>, 2008 The GNU C Library is free software; you can redistribute it and/or modify it under the terms of...
// license:BSD-3-Clause // copyright-holders:smf, windyfairy /* * Konami 573 Memory Card Reader * */ #ifndef MAME_MACHINE_K573_MCR_H #define MAME_MACHINE_K573_MCR_H #pragma once #include "bus/psx/ctlrport.h" #include "machine/jvsdev.h" #include "machine/timer.h" class k573mcr_device : public jvs_device { public: ...
/*************************************************************************** qgswcsdataitems.h --------------------- begin : 2 July, 2012 copyright : (C) 2012 by Radim Blazek email : radim dot blazek at gmail.com *********************************************...
/* { dg-do compile } */ /* { dg-require-effective-target label_values } */ void foo (void); void bar (void *); extern int t; static void kmalloc_large (int size, int flags) { (void) size; (void) flags; foo (); bar (({__here:&&__here;})); } static void kmalloc (int size, int flags) { if (size) { i...
/* Install given floating-point environment and raise exceptions. Copyright (C) 1997-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> The GNU C Library is free software; you can redistribute it and/or modi...
// license:BSD-3-Clause // copyright-holders:Aaron Giles, Phil Bennett /************************************************************************* Atari Cyberstorm hardware *************************************************************************/ #ifndef MAME_INCLUDES_CYBSTORM_H #define MAME_INCLUDES_CYBSTORM_H ...
////////////////////////////////////////////////////////////////////////////// // // Philips LPC2129 ARM7TDMI LED/Switch Example // // This example demonstrates writing to and reading from // the GPIO port. // (1) flash the LED 10 times // (2) wait for key-press, turn off LED if key is pressed // // WinARM example by M...
/* Blackfin Ethernet Media Access Controller (EMAC) model. Copyright (C) 2010-2012 Free Software Foundation, Inc. Contributed by Analog Devices, Inc. This file is part of simulators. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
// 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_TRANSLATE_TRANSLATE_ACCEPT_LANGUAGES_FACTORY_H_ #define CHROME_BROWSER_TRANSLATE_TRANSLATE_ACCEPT_LANGUAGES_FACTORY_H_ #include "b...
// 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. #ifndef CHROME_BROWSER_EXTENSIONS_GLOBAL_SHORTCUT_LISTENER_OZONE_H_ #define CHROME_BROWSER_EXTENSIONS_GLOBAL_SHORTCUT_LISTENER_OZONE_H_ #include "base/ma...
/* * Copyright (C) 2012, 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: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions...