text
stringlengths
4
6.14k
#include "config.h" #include "rtapi.h" /* RTAPI realtime OS API */ #include "hal.h" /* HAL public API decls */ #include "hal_priv.h" /* HAL private decls */ #include "hal_internal.h" #if defined(ULAPI) #include <stdio.h> #include <sys/types.h> /* pid_t */ #include <unistd.h> /* getpid() */ #endif /**************...
// Copyright (c) 1997-2001 // Utrecht University (The Netherlands), // ETH Zurich (Switzerland), // INRIA Sophia-Antipolis (France), // Max-Planck-Institute Saarbruecken (Germany), // and Tel-Aviv University (Israel). All rights reserved. // // This file is part of CGAL (www.cgal.org); you can redistribute it and/o...
//////////////////////////////////////////////////////////////////////////////// /// @brief collection write locker /// /// @file /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the ...
//===------------ MIRVRegNamerUtils.h - MIR VReg Renaming Utilities -------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===--------------------------...
/* * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2017-5-30 bernard the first version */ #include <rtthread.h> #include <rtdevice.h> #include <board.h> #include "mbox.h" void set_led(int state) //se...
/* * Copyright 2014-2016 CyberVision, 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
// Copyright 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 IOS_CHROME_BROWSER_UI_SETTINGS_SYNC_UTILS_SYNC_ERROR_INFOBAR_DELEGATE_H_ #define IOS_CHROME_BROWSER_UI_SETTINGS_SYNC_UTILS_SYNC_ERROR_INFOBAR_DELE...
#define CAVL_PARAM_NAME NCDVal__MapTree #define CAVL_PARAM_FEATURE_COUNTS 0 #define CAVL_PARAM_FEATURE_KEYS_ARE_INDICES 0 #define CAVL_PARAM_FEATURE_NOKEYS 0 #define CAVL_PARAM_TYPE_ENTRY NCDVal__maptree_entry #define CAVL_PARAM_TYPE_LINK NCDVal__idx #define CAVL_PARAM_TYPE_KEY NCDValRef #define CAVL_PARAM_TYPE_ARG NCD...
/*************************************************************************** Copyright (c) 2016, The OpenBLAS Project 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...
// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-apple-darwin9 %s #pragma ms_struct on #pragma ms_struct off #pragma ms_struct reset #pragma ms_struct // expected-warning {{incorrect use of '#pragma ms_struct on|off' - ignored}} #pragma ms_struct on top of spaghetti // expected-warning {{extra tokens at en...
// Copyright 2016 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 ASH_DISPLAY_DISPLAY_CONFIGURATION_CONTROLLER_H_ #define ASH_DISPLAY_DISPLAY_CONFIGURATION_CONTROLLER_H_ #include <memory> #include "ash/ash_expo...
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
#pragma once #include "resource.h" class CSupportEnterCode : public CDialogImpl<CSupportEnterCode> { public: BEGIN_MSG_MAP_EX(CSettingConfig) MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) MESSAGE_HANDLER(WM_CTLCOLORSTATIC, OnColorStatic) MESSAGE_HANDLER(WM_ERASEBKGND, OnEraseBackground) ...
/* * Copyright (c) 2020 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...
/**************************************************************************** ** ** This file is part of the Qt Extended Opensource Package. ** ** Copyright (C) 2009 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public License ...
#include <console/console.h> #include <arch/stages.h> #include <program_loading.h> #include <ip_checksum.h> #include <string.h> #include <symbols.h> /* When the ramstage is relocatable the elf loading ensures an elf image cannot * be loaded over the ramstage code. */ static void jmp_payload_no_bounce_buffer(void *ent...
/* EABI unaligned read/write functions. Copyright (C) 2005-2017 Free Software Foundation, Inc. Contributed by CodeSourcery, LLC. This file 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 ve...
#ifndef _ASM_X86_VISWS_PIIX4_H #define _ASM_X86_VISWS_PIIX4_H /* */ #define PIIX_PM_START 0x0F80 #define SIO_GPIO_START 0x0FC0 #define SIO_PM_START 0x0FC8 #define PMBASE PIIX_PM_START #define GPIREG0 (PMBASE+0x30) #define GPIREG(x) (GPIREG0+((x)/8)) #define GPIB...
/* * Copyright (C) 2011, SAMSUNG Corporation. * Author: YongTaek Lee <ytk.lee@samsung.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. */ #ifndef __BQ24157_CHARGER_H #d...
/* * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #ifndef __UM_NET_USER_H__ #define __UM_NET_USER_H__ #define ETH_ADDR_LEN (6) #define ETH_HEADER_ETHERTAP (16) #define ETH_HEADER_OTHER (26) /* */ #define ETH_MAX_PAC...
/* Conversion from and to IBM037. Copyright (C) 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Pub...
// license:BSD-3-Clause // copyright-holders:Sandro Ronco #pragma once #ifndef __Z88_ROM_H__ #define __Z88_ROM_H__ #include "emu.h" #include "z88.h" //************************************************************************** // TYPE DEFINITIONS //********************************************************************...
// Vigenere Cipher // Author: Rishav Pandey #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> int main(int argc, char* argv[]) { //check if user give more or less than two arguments. if(argc != 2) { printf("Enter the Valid Key"); return 1; } else ...
/** * This file is part of Hercules. * http://herc.ws - http://github.com/HerculesWS/Hercules * * Copyright (C) 2012-2016 Hercules Dev Team * Copyright (C) Athena Dev Teams * * Hercules is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
/* Unaligned memory access functionality. Copyright (C) 2000, 2001, 2002, 2003, 2008 Red Hat, Inc. This file is part of elfutils. Written by Ulrich Drepper <drepper@redhat.com>, 2001. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
/* xoreos - A reimplementation of BioWare's Aurora engine * * xoreos is the legal property of its developers, whose names * can be found in the AUTHORS file distributed with this source * distribution. * * xoreos is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publ...
/* * Copyright 2014 Red Hat Inc., Durham, North Carolina. * All Rights Reserved. * * This 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 License, or (at your ...
/* * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2008 Collabora Ltd. * Copyright (C) 2009 Martin Robinson * * 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 Fr...
#include <Windows.h> #include <csp/csp.h> #include <csp/arch/csp_semaphore.h> int csp_mutex_create(csp_mutex_t * mutex) { HANDLE mutexHandle = CreateMutex(NULL, FALSE, FALSE); if( mutexHandle == NULL ) { return CSP_MUTEX_ERROR; } *mutex = mutexHandle; return CSP_MUTEX_OK; } int csp_mutex_r...
/* * File: ftk_cairo.c * Author: Li XianJing <xianjimli@hotmail.com> * Brief: cairo wrapper * * Copyright (c) 2009 - 2010 Li XianJing <xianjimli@hotmail.com> * * Licensed under the Academic Free License version 2.1 * * This program is free software; you can redistribute it and/or modify * it under the ter...
// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. // Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * SPDX-License-Identifier: Apache-2.0 * * ...
/* Copyright 2009 Google 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.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
//===-- Implementation header for fmin --------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
#include <dsverifier.h> digital_system controller = { .b = { 0 , -0.00097656 , 0 , 0 }, .b_uncertainty = { 0 , 0 , 0 , 0 }, .b_size = 4, .a = { 0.76172 , 0 , 0 , 0 }, .a_uncertainty = { 0 , 0 , 0 , 0 }, .a_size = 4, .sample_time = 2 }; implementation impl = { .int_bits = 9, .frac_bits = 7, .max =...
// Copyright 2010 Todd Ditchendorf // // 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 agreed...
/* * Copyright (C) 2009 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...
/****************************************************************************** * Filename: aon_rtc.c * Revised: 2016-10-06 17:21:09 +0200 (Thu, 06 Oct 2016) * Revision: 47343 * * Description: Driver for the AON RTC. * * Copyright (c) 2015 - 2017, Texas Instruments Incorporated * All rights ...
/* * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/) * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * * This library is free software; you can redistribute it and/or * modify it under the ...
// Copyright 2018 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 CONTENT_RENDERER_MEDIA_ANDROID_FLINGING_RENDERER_CLIENT_FACTORY_H_ #define CONTENT_RENDERER_MEDIA_ANDROID_FLINGING_RENDERER_CLIENT_FACTORY_H_ #in...
/* * Copyright 2010 The Native Client 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 <assert.h> #include <pthread.h> #include <stdint.h> #include <stdio.h> /* On x86, gcc normally assumes that the stack is already ...
// Copyright 2020 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_ASH_PLATFORM_KEYS_KEY_PERMISSIONS_MOCK_KEY_PERMISSIONS_MANAGER_H_ #define CHROME_BROWSER_ASH_PLATFORM_KEYS_KEY_PERMISSIONS_MOCK_KEY...
#define _GNU_SOURCE #include <stddef.h> #include <getopt.h> #include <stdio.h> #include <string.h> extern int __optpos, __optreset; static void permute(char *const *argv, int dest, int src) { char **av = (char **)argv; char *tmp = av[src]; int i; for (i=src; i>dest; i--) av[i] = av[i-1]; av[dest] = tmp; } voi...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
//===-- IntelJITEventsWrapper.h - Intel JIT Events API Wrapper --*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* Copyright (C) 2003-2007 Datapark corp. All rights reserved. Based on Electric Fence 2.2 by Bruce Perens 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,...
/* * Copyright (C) 2007 Voice System SRL * Copyright (C) 2011 Carsten Bock, carsten@ng-voice.com * * This file is part of Kamailio, a free SIP server. * * Kamailio 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 F...
#ifndef __TZPM_H__ #define __TZPM_H__ extern struct device *tzdev_mcd; #define TZDEV_USE_DEVICE_TREE #define NO_SLEEP_REQ 0 #define REQ_TO_SLEEP 1 #define NORMAL_EXECUTION 0 #define READY_TO_SLEEP 1 /* How much time after resume the daemon should backoff */ #define DAEMON_BACKOFF_TIME 500 /* Initialize secure cr...
/* * File: intset.h * Author: Vincent Gramoli <vincent.gramoli@sydney.edu.au>, * Vasileios Trigonakis <vasileios.trigonakis@epfl.ch> * Description: * intset.h is part of ASCYLIB * * Copyright (c) 2014 Vasileios Trigonakis <vasileios.trigonakis@epfl.ch>, * Tudor David <tudor.davi...
/* Compute radix independent exponent. Copyright (C) 2011, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gmail.com>, 2011. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser G...
/* Copyright (C) 1991-2013 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 ...
/* * This file is part of the coreboot project. * * Copyright (C) 2007 Advanced Micro Devices, 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; version 2 of the License. * * This ...
/* Copyright (C) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. 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 b...
/* Copyright (C) 1991-2013 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) 2002 Jeff Dike (jdike@karaya.com) * Licensed under the GPL */ #ifndef __UM_UACCESS_H #define __UM_UACCESS_H /* thread_info has a mm_segment_t in it, so put the definition up here */ typedef struct { unsigned long seg; } mm_segment_t; #include <linux/thread_info.h> #include <linux/errno.h> #inc...
/* This file is part of libmspack. * (C) 2003-2010 Stuart Caie. * * libmspack is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License (LGPL) version 2.1 * * For further details, see the file COPYING.LIB distributed with libmspack */ #ifndef MSPACK_KW...
/* morphology.h * * 20/9/09 * - from proto.h */ /* This file is part of VIPS. VIPS 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 of the License, or (at you...
// SPDX-License-Identifier: BSD-3-Clause /*============================================================================ This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic Package, Release 3a, by John R. Hauser. Copyright 2011, 2012, 2013, 2014 The Regents of the University of California. All ...
//-*- Mode: C++ -*- // $Id$ /************************************************************************** * Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. * * * * Authors: Per Thomas Hille for the ALICE ...
// Copyright 2020 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_FETCH_TRUST_TOKEN_PARAMS_CONVERSION_H_ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_FETCH_TRUST_T...
#ifndef ALIHLTTRIGGERDETECTORGEOMRECTANGLE_H #define ALIHLTTRIGGERDETECTORGEOMRECTANGLE_H //* This file is property of and copyright by the ALICE HLT Project * //* ALICE Experiment at CERN, All rights reserved. * //* See cxx source for full Copyright notice ...
// 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_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_H_ #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_H_ #incl...
/* Copyright (C) 1995 Aladdin Enterprises. All rights reserved. This file is part of Aladdin Ghostscript. Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author or distributor accepts any responsibility for the consequences of using it, or for whether it serves any particular purpose...
// 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 REMOTING_CLIENT_AUDIO_DECODE_SCHEDULER_H_ #define REMOTING_CLIENT_AUDIO_DECODE_SCHEDULER_H_ #include "base/macros.h" #include "base/memory/re...
/* Copyright ©2006-2010 Kris Maglione <maglione.k at Gmail> * See LICENSE file for license details. */ #include "event.h" void event_focusout(XFocusChangeEvent *ev) { Window *w; if(!((ev->detail == NotifyNonlinear) ||(ev->detail == NotifyNonlinearVirtual) ||(ev->detail == NotifyVirtual) ||(ev->detail ...
// This code is in the public domain -- castanyo@yahoo.es #ifndef NV_CORE_BITARRAY_H #define NV_CORE_BITARRAY_H #include <nvcore/nvcore.h> #include <nvcore/Containers.h> namespace nv { /// Count the bits of @a x. inline uint bitsSet(uint8 x) { uint count = 0; for(; x != 0; x >>= 1) { count += (x & 1); } retur...
/* Copyright (c) 2000, 2013, 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, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain software (...
/* * This file is part of the coreboot project. * * Copyright (C) 2011 Mark Norman <mpnorman@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 * published by the Free Software Foundation. * * This program is d...
/* * Copyright (C) 2010-2015 Junjiro R. Okajima * * This program, aufs 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...
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" { target { ! ilp32 } } } } */ #include "test_sve_acle.h" /* ** st2_s32_base: ** st2w {z0\.s(?: - |, )z1\.s}, p0, \[x0\] ** ret */ TEST_STORE (st2_s32_base, svint32x2_t, int32_t, svst2_s32 (p0, x0, z0), svst2 (p0, x0, z0)) /* ** st2_s32_index: ** s...
/* * Demonstrates loading a binary PPM file and displaying it in a window * as a Pixmap. */ /* Comment this definition out if you don't want to use server side pixmaps */ /* (it will be slower but will work on device drivers without bitblt) */ #define USE_PIXMAPS #include <stdio.h> #include <stdlib.h> #include <st...
#ifndef D_MOCK_DHT_MESSAGE_FACTORY_H #define D_MOCK_DHT_MESSAGE_FACTORY_H #include "DHTMessageFactory.h" #include "DHTNode.h" #include "MockDHTMessage.h" #include "DHTPingMessage.h" #include "DHTPingReplyMessage.h" #include "DHTFindNodeMessage.h" #include "DHTFindNodeReplyMessage.h" #include "DHTGetPeersMessage.h" #in...
// Archive/Tar/Header.h #ifndef __ARCHIVE_TAR_HEADER_H #define __ARCHIVE_TAR_HEADER_H #include "Common/Types.h" namespace NArchive { namespace NTar { namespace NFileHeader { const int kRecordSize = 512; const int kNameSize = 100; const int kUserNameSize = 32; const int kGroupNameSize = 32; ...
/* 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 ...
/* This file is part of Clementine. Copyright 2011, David Sansome <me@davidsansome.com> 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...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/*========================================================================= Program: ParaView Module: vtkXMLCompositeDataReader.h Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY...
// 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 EXTENSIONS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_ #define EXTENSIONS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_ #include "base/basictypes.h" #inclu...
// 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 EXTENSIONS_COMMON_FEATURES_COMPLEX_FEATURE_H_ #define EXTENSIONS_COMMON_FEATURES_COMPLEX_FEATURE_H_ #include <set> #include <string> #include <ve...
/* * * Copyright 2016, 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...
// Copyright 2018 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 BASE_TASK_SEQUENCE_MANAGER_TASK_TIME_OBSERVER_H_ #define BASE_TASK_SEQUENCE_MANAGER_TASK_TIME_OBSERVER_H_ #include "base/time/time.h" namespace ...
/* { dg-do run } */ /* { dg-options "-O2 -fno-strict-aliasing -msse2" } */ /* { dg-additional-options "-mno-mmx" { target { ! ia32 } } } */ #include "sse2-check.h" #include "mmx-vals.h" __attribute__((noinline, noclone)) static void test_pmaddwd (long long *ll1, long long *ll2, long long *r) { __m64 t1 = *(__m64 *...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> */ #include <common.h> #include <asm/io.h> #include <errno.h> #include <smsc_sio1007.h> static inline u8 sio1007_read(int port, int reg) { outb(reg, port); return inb(port + 1); } static inline void sio1007_write(int por...
/* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * 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 * published by the Free S...
/* -*- c++ -*- */ /* * Copyright 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 option...
/* RetroArch - A frontend for libretro. * Copyright (C) 2011-2017 - Daniel De Matteis * * RetroArch 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 Found- * ation, either version 3 of the License, or (at your opti...
#ifndef EXIFPARSER_H #define EXIFPARSER_H #include <QGeoCoordinate> #include <QDebug> #include "GeoTagController.h" class ExifParser { public: ExifParser(); ~ExifParser(); double readTime(QByteArray& buf); bool write(QByteArray& buf, GeoTagWorker::cameraFeedbackPacket& geotag); }; #endif // EXIFPARS...
#ifndef ROOT_TKDTree #define ROOT_TKDTree #ifndef ROOT_TObject #include "TObject.h" #endif #include "TMath.h" #include <vector> template <typename Index, typename Value> class TKDTree : public TObject { public: TKDTree(); TKDTree(Index npoints, Index ndim, UInt_t bsize); TKDTree(Index npoints, Index ndim,...
// // ______ _ _ _ _____ _____ _ __ // | ____| | | (_) | | / ____| __ \| |/ / // | |__ ___| |_ _ _ __ ___ ___ | |_ ___ | (___ | | | | ' / // | __| / __| __| | '_ ` _ \ / _ \| __/ _ \ \___ \| | | | < // | |____\__ \ |_| | | | | | | (_) | || __/ ...
/* Implementation of the CHDIR intrinsic. Copyright (C) 2005 Free Software Foundation, Inc. Contributed by François-Xavier Coudert <coudert@clipper.ens.fr> This file is part of the GNU Fortran 95 runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the term...
/* * This file is part of the coreboot project. * * Copyright (C) 2013 Google 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; version 2 of the License. * * This program is distri...
/* * Linux cfg80211 driver - Dongle Host Driver (DHD) related * * Copyright (C) 1999-2014, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public Li...
/* * Copyright (c) 2012 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Obere Lagerstr. 30 * 82178 Puchheim * Germany * <rtems@embedded-brains.de> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems....
#ifndef __LINUX_NET_AFUNIX_H #define __LINUX_NET_AFUNIX_H #include <linux/socket.h> #include <linux/un.h> #include <linux/mutex.h> #include <net/sock.h> extern void unix_inflight(struct file *fp); extern void unix_notinflight(struct file *fp); extern void unix_gc(void); #define UNIX_HASH_SIZE 256 extern unsigned in...
#if defined(HEADER_WARNING_DUPLICATE) /* mips/csb350/rtems/score/cpu.h */ #warning "This header should not be included directly. (duplicate)" #endif #include <mips/csb350/rtems/score/cpu.h>
/* * Unix SMB/Netbios implementation. * SEC_DESC handling functions * Copyright (C) Andrew Tridgell 1992-1998, * Copyright (C) Jeremy R. Allison 1995-2003. * Copyright (C) Luke Kenneth Casson Leighton 1996-1998, * Copyright (C) Paul Ashton 1997-1998. * * This prog...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
/** ****************************************************************************** * @file user_dynalib.h * @authors Matthew McGowan * @date 12 February 2015 ****************************************************************************** Copyright (c) 2015 Particle Industries, Inc. All rights reserved. ...
/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy Alliance, LLC ...
// RUN: %clang_cc1 -triple=x86_64-apple-darwin -fsyntax-only -verify %s typedef long long __m128i __attribute__((__vector_size__(16))); typedef float __m128 __attribute__((__vector_size__(16))); typedef double __m128d __attribute__((__vector_size__(16))); typedef float __m512 __attribute__((__vector_size__(64))); typ...
#ifndef HEADER_CURL_POLARSSL_H #define HEADER_CURL_POLARSSL_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * ...