text
stringlengths
4
6.14k
// Copyright (c) 2011, Ryan M. Lefever // 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 lis...
#include <immintrin.h> #include <stdint.h> #define MAX_INT 2147483647 int decimal_digits_avx512(uint32_t val) { const __m512i powers = _mm512_setr_epi32( /* 0 */ 9, /* 1 */ 99, /* 2 */ 999, /* 3 */ 9999, /* 4 */ 99999, /* 5 */ 999999, /* 6 */ 9999999, ...
/************************************************************************************ PublicHeader: OVR.h Filename : OVR_DeviceMessages.h Content : Definition of messages generated by devices Created : February 5, 2013 Authors : Lee Cooper Copyright : Copyright 2014 Oculus VR, LLC. All Ri...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. /*============================================================================= ParticleBeamTrailVertexFactory.h: Shared Particle Beam and Trail vertex factory definitions. =========================================================================...
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documen...
/* * Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2010-2011, Pieter Noordhuis <pcnoordhuis 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 condit...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "Editor/Sequencer/Public/MovieSceneTrackEditor.h" class IPropertyHandle; class F2DTransformTrackEditor : public FMovieSceneTrackEditor { public: /** * Constructor * * @param InSequencer The sequencer instance to be used by thi...
#include <math.h> #include <stdint.h> #include <Python.h> uint8_t isprime(uint64_t n) { uint64_t i; uint64_t maximum; if (n < 2) { return 0; } if (n == 2) { return 1; } if (n % 2 == 0) { return 0; } maximum = (uint64_t) sqrt((double) n); i ...
/* Flirt, an SWF rendering library Copyright (c) 2004-2006 Dave Hayden <dave@opaque.net> All rights reserved. http://www.opaque.net/flirt/ This code is distributed under the two-clause BSD license. Read the LICENSE file or visit the URL above for details */ #ifndef BLOCKTYPES_H_INCLUDED #define BLOCKTYPES_H_I...
/* * Copyright 2014, General Dynamics C4 Systems * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(GD_GPL) */ #ifndef __PLAT_IO_H #define __PLAT_IO_H #includ...
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
/* * 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...
/*============================================================================== * FILE: minmax.c * OVERVIEW: Test program to exercise the matching of definitions and uses * of CCs involving the carry flag. Also tests some RTL * simplification code for the Sparc subx instruction (e...
#ifndef INTERACTIVE_NODE_H #define INTERACTIVE_NODE_H /// PROJECT #include <csapex/model/node.h> #include <csapex_core_plugins/csapex_core_lib_export.h> /// SYSTEM #include <mutex> namespace csapex { class CSAPEX_CORE_LIB_EXPORT InteractiveNode : public Node { friend class InteractiveNodeAdapter; public: In...
#ifndef EXO_H_ #define EXO_H_ /* * Implement ramput/ramget, hashput/hashget, in native c outside * zaatar framework. Useful when writing exogenous checks. * */ #include <stdio.h> #include <stdlib.h> #include <include/db.h> #include <storage/merkle_ram.h> #include <storage/hasher.h> #include <storage/hash_block_sto...
/***************************************************************************************** * 8051 CPUÏà¹ØCÎļþ * * Copyright (C) 2010 Ô·³¼Ã¢ * * 2010-07-09 RaysRTOS *****************************************************************************************/ #include "RaySRTOS.h" /**********...
/* * Copyright (c) 2007, 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: * * Redistributions of source code must retain the above copyright notice, * this list of conditi...
// Copyright (c) 2014 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef XWALK_RUNTIME_BROWSER_XWALK_RUNNER_TIZEN_H_ #define XWALK_RUNTIME_BROWSER_XWALK_RUNNER_TIZEN_H_ #include <string> #include "xwalk/runtime/brows...
/*============================================================================= This file is part of FLINT. FLINT 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, ...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
/*---------------------------------------------------------------------------*/ #include <bl/nonblock/libexport.h> #include <bl/base/platform.h> #include <bl/nonblock/mpmc_bt.h> #include <string.h> #ifdef __cplusplus extern "C" { #endif /*----------------------------------------------------------------------------*/ ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/Exception.h> #ifndef ABI44_0_0RN_EXPORT #ifdef _MSC_VER #define ABI44_0_0RN_EXPORT #else #define ABI...
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2012, John Haddon. All rights reserved. // Copyright (c) 2013, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
// Copyright 2010-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 condit...
// 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 CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ #define CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ #include "base/environment.h" #include ...
/* * Copyright (c) 2014, Quarkslab * 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 conditions...
/* * mod_delay.c * * Copyright (c) 2001 Dug Song <dugsong@monkey.org> * * $Id: mod_delay.c,v 1.4 2002/04/07 22:55:20 dugsong Exp $ */ #include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include "pkt.h" #include "mod.h" #define DELAY_FIRST 1 #define DELAY_LAST 2 #define DELAY_RANDOM...
/** @copyright Copyright (C) 2011 Oleg Kertanov <okertanov@gmail.com> @license BSD */ #pragma once #include "types.h" typedef struct gdt_entry_struct { uint16_t limit_low; uint16_t base_low; uint8_t base_middle; uint8_t access; uint8_t granularity; uint8_t base_high; } __attri...
/* This file is part of AstC2C. Copyright (c) STMicroelectronics, 2013. 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 no...
// Copyright 2015 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_USB_WEB_USB_PERMISSION_PROVIDER_H_ #define CHROME_BROWSER_USB_WEB_USB_PERMISSION_PROVIDER_H_ #include "device/devices_app/usb/publ...
// 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 CHROME_BROWSER_ANDROID_DEVICE_UTILS_H_ #define CHROME_BROWSER_ANDROID_DEVICE_UTILS_H_ #include <string> namespace base { namespace android {...
/** * * Author: Paul McCarthy <pauld.mccarthy@gmail.com> */ #include <argp.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include "util/startup.h" #include "graph/graph.h" #include "io/ngdb_graph.h" #include "io/dot.h" static char doc[] = "cdot - convert a ngdb file to a dot fi...
/* * Copyright (c) 2014 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...
/* GDOME Document Object Model C API for openjs * $Id: gdome_extra.h 10131 2009-11-17 11:48:19Z jheusala $ */ #ifndef OPENJS_EXTENSIONS_CGDOME_EXTRA_H #define OPENJS_EXTENSIONS_CGDOME_EXTRA_H 1 #include <gdome.h> #include "pointer.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /** Create GdomeExcept...
/* _loader.c */ #include <stdint.h> extern char bss; extern char endOfBinary; int main(); void * memset(void * destiny, int32_t c, uint64_t length); int _start() { memset(&bss, 0, &endOfBinary - &bss); return main(); } void * memset(void * destiation, int32_t c, uint64_t length) { uint8_t chr = (uint8_t)c; c...
#ifndef _SYSLOG_H_ #define _SYSLOG_H_ #include "util.h" uint64_t get_total_lines(char *filename); void get_line(char *filename, uint64_t line); #endif
/*========================================================================= Program: Visualization Toolkit Module: vtkXMLDataReader.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software i...
/* * readdir.c * $Id$ * * Copyright (c) 2009 The MacPorts 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 retain the above copyright *...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
// Cyclone Maya Plugin // #ifndef _CYCLONE_H #define _CYCLONE_H #include <math.h> #include <maya/MPxNode.h> #include <maya/MFnPlugin.h> #include <maya/MTypeId.h> #include <maya/MDataBlock.h> #include <maya/MPlug.h> // -------------------------------------------------------------------------- // Cyclone node class...
/** \file MemoryChart.h \brief Declares the memory chart class. **/ #pragma once namespace AnimatSim { namespace Charting { /** \brief Saves the data in memory. \details This chart is primarily used by the GUI It keeps the data buffer filled up. If the buffer starts to run over it zeros o...
#define _RESEARCH_SOURCE #define _LOCK_EXTENSION #define _QLOCK_EXTENSION #define _BSD_EXTENSION #define _POSIX_EXTENSION #define _POSIX_SOURCE #define _PLAN9_SOURCE #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <fcntl.h> #include <u.h> #include <fmt.h> #include <lock.h> #include <qlock.h> #includ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <ABI41_0_0React/ABI41_0_0RCTComponentViewProtocol.h> NS_ASSUME_NONNULL_BEGIN /* * Holds a nativ...
// Copyright 2015 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 StyleRuleNamespace_h #define StyleRuleNamespace_h #include "core/css/StyleRule.h" namespace blink { // This class is never actually stored anyw...
/** Copyright (c) Audi Autonomous Driving Cup. 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 ...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Feb 20 2016 22:04:40). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <CoreSimulator/NSObject-Protocol.h> @class NSObject, NSString, SimPasteboardItem; @protocol NSSecureCoding; @protocol SimPast...
/* * Copyright (c) 2012 Gerard Green * All rights reserved * * Please see the file 'LICENSE' for further information */ #include "_Malloc.h" void *calloc(size_t nelem, size_t elsize) { void *pmem; size_t size; /* TODO: Check for overflow */ size = nelem * elsize; if ((pmem = malloc...
/** * The texture manager holds all the textures that the system supports. * Additionally to the textures in the ./textures directory, it also * holds some special textures. Here is a list of textures: * TODO: Shall the texture manager handle the render target stuff or not???? * - 'noise2D': Core 2D noise texture....
// Copyright (c) 2003-2019 Xsens Technologies B.V. or subsidiaries worldwide. // 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 ...
/** @file @brief Implementation of a very simple single linked list. Part of Georgios Portokalidis' Aho Corasick algorithm. ---- Fairly Fast Packet Filter http://ffpf.sourceforge.net/ Copyright (c), 2003 - 2004 Georgios Portokalidis, Herbert Bos & Willem de Bruijn contact info : wdebruij...
#import "HYDBase.h" #import "HYDMapper.h" #import "HYDConstants.h" /*! Returns a mapper that converts numbers to NSDates. * The number should be seconds relative to 1970. */ HYD_EXTERN_OVERLOADED id<HYDMapper> HYDMapNumberToDateSince1970(void); /*! Returns a mapper that converts numbers to NSDates. * The number ...
#define OINK_VERSION "22 Nov 2013"
// // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2010-2012 Alessandro Tasora // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file at the top level of the distribution // and at http://projectchrono.org/license-chrono.txt. /...
/********************************************************************** * Copyright (c) 2014 BFFT Gesellschaft fuer Fahrzeugtechnik mbH. * All rights reserved. ********************************************************************** * $Author:: exthanl#$ $Date:: 2014-09-04 11:39:27#$ $Rev:: 25772 $ **************...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__struct_twoIntsStruct_realloc_22a.c Label Definition File: CWE401_Memory_Leak.c.label.xml Template File: sources-sinks-22a.tmpl.c */ /* * @description * CWE: 401 Memory Leak * BadSource: realloc Allocate data using realloc() * GoodSource: All...
#pragma once #include <Reflection/Reflection.h> namespace DAVA { class StructureWrapperClass; class ComponentStructureWrapper : public StructureWrapper { public: ComponentStructureWrapper(const Type* type); ~ComponentStructureWrapper(); bool HasFields(const ReflectedObject& object, const ValueWrapper* vw...
/*------------------------------------------------------------------------- Copyright (C) 2008, Charles Wang Author: Charles Wang <charlesw123456@gmail.com> License: LGPLv2 (see LICENSE-LGPL) -------------------------------------------------------------------------*/ #ifndef COCO_BUFFER_H #define COCO_BUF...
/* $NetBSD: latchvar.h,v 1.1 2002/03/24 15:47:21 bjh21 Exp $ */ /*- * Copyright (c) 2001 Ben Harris * 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 mu...
/**ARGS: symbols --active */ /**SYSCODE: = 0 */ #ifdef UNDEF1 #define FOO #endif #ifndef UNDEF2 #define BAR #endif
/* * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ /* M I S C E L L A N E O U S U T I L I T I E S */ /* $Id$ */ /* Code for the allocation and de-allocation of temporary variables, allowing re-use. */ ...
/* Copyright (c) 2018, Ford Motor Company 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 conditions and the fo...
enum { AM_CC1000INTERFACEDRIPMSG = 8, }; typedef struct CC1000InterfaceDripMsg { uint8_t rfPowerChanged:1; uint8_t lplPowerChanged:1; uint8_t pad:6; // Valid values: 1-15. uint8_t rfPower; // Valid values: 0(full duty cycle) to 3(lowest duty cycle). uint8_t lplPower; } CC1000InterfaceDripMsg;
#import <Foundation/Foundation.h> #import "iOmniataAPI.h" @interface Logger : NSObject +(void)log:(SMT_LOG)log_Type :(NSString *) str :(NSString *)format, ...; @end #define LOG(log_type, format, ...) \ [Logger log: log_type: [NSString stringWithFormat:@"%s:%d",__PRETTY_FUNCTION__,__LINE__ ]: format, ## __VA_ARGS__...
// Copyright 2015 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. // IPC messages for extensions GuestViews. #ifndef EXTENSIONS_COMMON_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_MESSAGES_H_ #define EXTENSIONS_COMMON_GUEST_VIEW_EX...
#ifndef __NESIS_EVENT_FILTER_H #define __NESIS_EVENT_FILTER_H /*************************************************************************** * * * Copyright (C) 2007 by Kanardia d.o.o. [see www.kanardia.eu] * * Writen by: ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE127_Buffer_Underread__malloc_char_memmove_45.c Label Definition File: CWE127_Buffer_Underread__malloc.label.xml Template File: sources-sink-45.tmpl.c */ /* * @description * CWE: 127 Buffer Under-read * BadSource: Set data pointer to before the allocated memor...
/* Copyright (c) 2015, Linaro Limited * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include "config.h" #include <odp_api.h> #include <odp_packet_io_internal.h> #include <errno.h> #include <string.h> #include <inttypes.h> static int sysfs_get_val(const char *fname, uint64_t *val) { FIL...
/* $FreeBSD: releng/9.3/sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c 170268 2007-06-04 02:54:36Z darrenr $ */ /* * Copyright (C) 1998-2003 by Darren Reed * * See the IPFILTER.LICENCE file for details on licencing. * * $Id: ip_rcmd_pxy.c,v 1.41.2.7 2006/07/14 06:12:18 darrenr Exp $ * * Simple RCMD transparent prox...
/* * Copyright (C) 2014 Samsung Electronics. 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 co...
/** Copyright 2009-2017 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government retains certain rights in this software. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering...
// Copyright 2019 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 UI_GL_DC_LAYER_TREE_H_ #define UI_GL_DC_LAYER_TREE_H_ #include <windows.h> #include <d3d11.h> #include <dcomp.h> #include <wrl/client.h> #includ...
/***************************************************************************** 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...
/* * * 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...
// Copyright 2015 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_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_FACTORY_H_ #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_FACTORY_H_ #include ...
// // Latin1Encoding.h // // $Id$ // // Library: Foundation // Package: Text // Module: Latin1Encoding // // Definition of the Latin1Encoding class. // // Copyright (c) 2004-2007, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, to any person or or...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Feb 20 2016 22:04:40). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> @interface __SimKitPlaceholderClass : NSObject { } @end
// Copyright (c) 2014 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef XWALK_APPLICATION_COMMON_MANIFEST_HANDLERS_WIDGET_HANDLER_H_ #define XWALK_APPLICATION_COMMON_MANIFEST_HANDLERS_WIDGET_HANDLER_H_ #include <map> ...
/* * Copyright 2008, The Android Open Source Project * * 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 conditions and ...
// Copyright 2019 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 SERVICES_NETWORK_DHCP_PAC_FILE_FETCHER_MOJO_H_ #define SERVICES_NETWORK_DHCP_PAC_FILE_FETCHER_MOJO_H_ #include <memory> #include "base/component...
/* * Copyright (c) 2019 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...
/** Copyright (c) Audi Autonomous Driving Cup. 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 and th...
// 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 CONTENT_WEB_TEST_RENDERER_GAMEPAD_CONTROLLER_H_ #define CONTENT_WEB_TEST_RENDERER_GAMEPAD_CONTROLLER_H_ #include <bitset> #include <memory> #incl...
// 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_ANDROID_PROVIDER_BOOKMARK_MODEL_TASK_H_ #define CHROME_BROWSER_ANDROID_PROVIDER_BOOKMARK_MODEL_TASK_H_ #include "base/macros.h...
// Copyright 2009 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. // Per-P malloc cache for small objects. // // See malloc.h for an overview. #include "runtime.h" #include "arch_GOARCH.h" #include "malloc.h" extern volatile...
/* $FreeBSD: src/sys/ia64/include/_limits.h,v 1.11 2003/05/19 20:29:07 kan Exp $ */ /* From: NetBSD: limits.h,v 1.3 1997/04/06 08:47:31 cgd Exp */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or withou...
#ifndef IPROTOCOLHANDLER_H #define IPROTOCOLHANDLER_H #include "messagelocation.h" #include <xsens/xsmessage.h> #include <xsens/xsbytearray.h> //-------------------------------------------------------------------------------- /*! \brief Interface class for protocol handlers \details Describes the interfaces of the p...
#include <lib.h> /* telldir -- report directory stream position Author: D.A. Gwyn */ /* last edit: 25-Apr-1987 D A Gwyn */ #include <errno.h> #include <sys/types.h> #include <limits.h> #include <dirent.h> #include <unistd.h> #define DULL (DIR *) 0 #ifndef SEEK_CUR #define SEEK_CUR 1 #endif off_t telldir(dirp) /*...
// Generated by xsd compiler for ios/objective-c // DO NOT CHANGE! #import <Foundation/Foundation.h> #import "PicoClassSchema.h" #import "PicoPropertySchema.h" #import "PicoConstants.h" #import "PicoBindable.h" /** (public class) @ingroup AWSECommerceServicePortType */ @interface ItemMetaData : NSObject <PicoBi...
#include <stdlib.h> #include <stdio.h> #include <smlsharp.h> #include <intinf.h> #include <object.h> static void obj_dump__(int indent, void *obj) { unsigned int i; unsigned int *bitmap; void **field = obj; char *buf; if (obj == NULL) { printf("%*sNULL\n", indent, ""); return; } switch (OBJ_TYP...
// RUN: %clang_cc1 %s -triple i386-unknown-unknown -fvisibility default -emit-llvm -o - | FileCheck %s -check-prefix=CHECK-DEFAULT // RUN: %clang_cc1 %s -triple i386-unknown-unknown -fvisibility protected -emit-llvm -o - | FileCheck %s -check-prefix=CHECK-PROTECTED // RUN: %clang_cc1 %s -triple i386-unknown-unknown -fv...
//****************************************************************************** // // Copyright (c) 2015 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...
// // NSMutableSet+HelpMe.h // PPHelpMe // // Created by Marian Paul on 18/07/13. // // #import <Foundation/Foundation.h> @interface NSMutableSet (HelpMe) - (void)removeObjectIfNotNil:(id)object; @end
// // EMDropdownBox.h // Demo // // Created by Elliott Minns on 28/02/2014. // Copyright (c) 2014 Elliott Minns. All rights reserved. // #import <UIKit/UIKit.h> @class EMDropdownBox; @protocol EMDropdownBoxDelegate <NSObject> - (void)dropdownBox:(EMDropdownBox *)dropdown didSelectIndex:(NSUInteger)index; @end ...
#pragma once #include <Tokenizer.h> namespace Lspl { namespace Parser { /////////////////////////////////////////////////////////////////////////////// class CPatternsFileProcessor { CPatternsFileProcessor( const CPatternsFileProcessor& ) = delete; CPatternsFileProcessor& operator=( const CPatternsFileProcessor& ...
/* ** mruby/irep.h - mrb_irep structure ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_IREP_H #define MRUBY_IREP_H #if defined(__cplusplus) extern "C" { #endif /* Program data array struct */ typedef struct mrb_irep { uint32_t idx; uint16_t nlocals; /* Number of local variables */ uint16_t nregs...
// Copyright (c) 2011-2013 The Bitcredit Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCREDIT_QT_WALLETVIEW_H #define BITCREDIT_QT_WALLETVIEW_H #include "amount.h" #include <QStackedWidget> class ...
/* * SerialComm.h * * Author: Robert Katzschmann */ #ifndef SERIALCONTROL_SerialComm_H_ #define SERIALCONTROL_SerialComm_H_ #include "mbed.h" #include "MODSERIAL.h" #define SERIAL_DEFAULT_BAUD 9600 #define SERIAL_DEFAULT_TX USBTX #define SERIAL_DEFAULT_RX USBRX #define BUFFERSIZE 100 #define NUMBER_COUNT_DEF 5 #...
/* This file is part of the Pangolin Project. * http://github.com/stevenlovegrove/Pangolin * * Copyright (c) 2011 Steven Lovegrove * * 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 wit...
// // EKMacro.h // Copyright (c) 2014-2016 Moch Xiao (http://mochxiao.com). // // 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 ri...