text
stringlengths
4
6.14k
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_wchar_t_declare_ncat_32.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.string.label.xml Template File: sources-sink-32.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: ...
/*++ Copyright (c) 2004 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distri...
/*========================================================================= Program: Visualization Toolkit Module: vtkPCosmoReader.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 is...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE195_Signed_to_Unsigned_Conversion_Error__rand_strncpy_14.c Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml Template File: sources-sink-14.tmpl.c */ /* * @description * CWE: 195 Signed to Unsigned Conversion Error * BadSource: rand S...
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #import <F...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
#include <stdio.h> #include <contiki.h> #include <contiki-net.h> #include "letmecreate/core/debug.h" #include "letmecreate/core/i2c.h" #include "letmecreate/click/weather.h" PROCESS(main_process, "Main process"); AUTOSTART_PROCESSES(&main_process); /*-------------------------------------------------------------------...
// 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 UI_GFX_GEOMETRY_CUBIC_BEZIER_H_ #define UI_GFX_GEOMETRY_CUBIC_BEZIER_H_ #include "base/macros.h" #include "ui/gfx/geometry/geometry_export.h" na...
/** * @file scan_cv.h * @brief load 3D Scans in opencv format for featuer based registration. * This class is an 3D scan container for scans that have different scan * file formats and add them to a OpenCV Mat data type also normalize the * reflectance. * @author HamidReza Houshiar. Jacobs University Bremen gGmbH...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE195_Signed_to_Unsigned_Conversion_Error__listen_socket_memcpy_41.c Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml Template File: sources-sink-41.tmpl.c */ /* * @description * CWE: 195 Signed to Unsigned Conversion Error * BadSource...
#ifndef MOTORCALIBRATE_H #define MOTORCALIBRATE_H #include "motorcalibrate.h" #include "Modeling/Resources.h" #include "Modeling/Robot.h" #include "Modeling/Interpolate.h" #include <robotics/ConstrainedDynamics.h> #include <math/differentiation.h> #include <math/LDL.h> #include <optimization/Minimization.h> #include <u...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE129_rand_51b.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE129.label.xml Template File: sources-sinks-51b.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: rand Set data to res...
// 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_PLUGIN_PREFS_FACTORY_H_ #define CHROME_BROWSER_PLUGIN_PREFS_FACTORY_H_ #pragma once #include "base/compiler_specific.h" #inclu...
// // TGAppDelegate.h // TGJSBridge // // Created by Chao Shen on 12-3-1. // Copyright (c) 2012年 Hangzhou Jiuyan Technology Co., Ltd. All rights reserved. // #import <UIKit/UIKit.h> #import "TGJSBridge.h" @class TGViewController; @interface TGAppDelegate : UIResponder <UIApplicationDelegate, TGJSBridgeDelegate> ...
/* Copyright (c) 2010 The Chromium OS 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 VBOOT_REFERENCE_SIGNATURE_DIGEST_H_ #define VBOOT_REFERENCE_SIGNATURE_DIGEST_H_ #include <stdint.h> /* Returns a buffer with DigestIn...
// 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 SKY_ENGINE_BINDINGS_SCHEDULED_ACTION_H_ #define SKY_ENGINE_BINDINGS_SCHEDULED_ACTION_H_ #include "dart/runtime/include/dart_api.h" #include "sky/...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
/* Copyright 2015~2016, Ian Olivieri <ianolivieri93@gmail.com> * All rights reserved. * * This file is part of the Firmata4CIAA program. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistribut...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE193_char_declare_loop_02.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE193.label.xml Template File: sources-sink-02.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Point dat...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE511_Logic_Time_Bomb__time_02.c Label Definition File: CWE511_Logic_Time_Bomb.label.xml Template File: point-flaw-02.tmpl.c */ /* * @description * CWE: 511 Logic Time Bomb * Sinks: time * GoodSink: After a certain date, do something harmless * BadSink...
#include <stdio.h> #include <ctype.h> #include "cmump.h" #undef DEBUG m_in(MINT *a, int b, FILE *f) { return m_in_b(a,b,f,1); } m_in_b(MINT *a, int b, FILE *f, int blanks) { MINT y, base; int sign, c, dectop, alphatop; short qy; int flag; mset(0,a); sign = 1; MSET(b,&base); y.len = 1; y.val = &qy; flag =...
//$Id: GroupManager.h,v 1.1.1.1 2007/11/05 19:09:10 jpolastre Exp $ #ifndef __GROUPMANAGER_H__ #define __GROUPMANAGER_H__ /* tab:4 * "Copyright (c) 2000-2005 The Regents of the University of California. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * ...
// 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 CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_ #define CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_H_ #include <memory> #include "base/cancelable_callba...
// Copyright 2017 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_METRICS_PUBLIC_CPP_UKM_SOURCE_H_ #define SERVICES_METRICS_PUBLIC_CPP_UKM_SOURCE_H_ #include <map> #include <vector> #include "base/macr...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE124_Buffer_Underwrite__char_alloca_memcpy_68a.c Label Definition File: CWE124_Buffer_Underwrite.stack.label.xml Template File: sources-sink-68a.tmpl.c */ /* * @description * CWE: 124 Buffer Underwrite * BadSource: Set data pointer to before the allocated memo...
/**************************************************************************** ** Copyright (c) 2006 - 2011, the LibQxt project. ** See the Qxt AUTHORS file for a list of authors and copyright holders. ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are ...
// Copyright 2017 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_BROWSER_UPDATER_EXTENSION_INSTALLER_H_ #define EXTENSIONS_BROWSER_UPDATER_EXTENSION_INSTALLER_H_ #include <memory> #include <string> ...
/*++ Copyright (c) 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribut...
/* * Copyright 2001-2010 Georges Menie (www.menie.org) * 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...
/* * Order-1, 3D 7 point stencil * Adapted from PLUTO and Pochoir test bench * * Tareq Malas */ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #ifdef LIKWID_PERFMON #include <likwid.h> #endif #include "print_utils.h" #define TESTS 2 #define MAX(a,b) ((a) > (b) ? a : b) #define MIN(a,b) ((a) < (b) ...
/* -*- buffer-read-only: t -*- vi: set ro: */ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* Test of <signal.h> substitute. 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 publis...
// Copyright 2018 The Flutter 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 FLUTTER_FLUTTEROBSERVATORYPUBLISHER_H_ #define FLUTTER_FLUTTEROBSERVATORYPUBLISHER_H_ #import <Foundation/Foundation.h> @interface FlutterObserva...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE127_Buffer_Underread__malloc_char_memcpy_54c.c Label Definition File: CWE127_Buffer_Underread__malloc.label.xml Template File: sources-sink-54c.tmpl.c */ /* * @description * CWE: 127 Buffer Under-read * BadSource: Set data pointer to before the allocated memo...
#ifndef __PHYSICS_H__ #define __PHYSICS_H__ #include <allegro5/allegro.h> #include "platform_data.h" #include "vaisseau_data.h" class physics_constants { public: physics_constants(float g, float xfrott, float yfrott, float coeffax, float coeffvx, float coeffay, float coeffvy, ...
static PROGMEM prog_uchar Wood32_pic[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, }; static PROGMEM prog_uchar Wood32_chr[] = { 0x55,...
typedef union #ifdef __cplusplus YYSTYPE #endif { TYPE type; VALUE number; char string[32]; } YYSTYPE; extern YYSTYPE yylval; # define CCONST 257 # define DCONST 258 # define LCONST 259 # define ULCONST 260 # define ABS 261 # define ACOS 262 # define ACOSH 263 # define AND 264 # define ARG 265 # define ASIN 266 ...
/* * Copyright (C) 2016, STMicroelectronics - All Rights Reserved * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics. * * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _SERIAL_STM32_X7_ #define _SERIAL_STM32_X7_ #define CR1_OFFSET(x) (x ? 0x0c : 0x00) #define CR3_OFFSET(x) (x ? 0x14 : 0x08)...
/*- * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Paul Borman at Krystal Technologies. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
// Copyright (c) 2014 The Bitcoin developers // Copyright (c) 2015 The Hivemind Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef HIVEMIND_QT_SCICON_H #define HIVEMIND_QT_SCICON_H #include <QtCore> QT_BEG...
#ifndef GINGER_TEST_GSEARCH_GCOMPUTEMATCH_H_ #define GINGER_TEST_GSEARCH_GCOMPUTEMATCH_H_ #include <seqan/basic.h> #include <seqan/sequence.h> #include <seqan/GSearch.h> #include <seqan/GSearch/GComputeMatch.h> using namespace seqan; using namespace std; SEQAN_DEFINE_TEST(test_GComputeMatch_dummy) { String<GMatc...
//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by Trainer.rc // // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 101 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONT...
#ifdef HAVE_CONFIG_H #include "../ext_config.h" #endif #include <php.h> #include "../php_ext.h" #include "../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" #include "kernel/operators.h" #include "kernel/memory.h" #include "kernel/...
// This file was generated based on 'C:\ProgramData\Uno\Packages\FuseCore\0.18.8\Input\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Fuse.Input.PointerLeftArgs.h> #include <Fuse.Input.PointerLeftHandler.h> #include <Fuse.NodeEvent-2.h> namespace g{namespace Fuse{names...
// // BaseView.h // BetterBaseClasses // // Created by Joshua Greene on 2/25/15. // Copyright (c) 2015 Joshua Greene. 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 ...
// // SXPhotoSetPage.h // 81 - 网易新闻 // // Created by 董 尚先 on 15/2/3. // Copyright (c) 2015年 ShangxianDante. All rights reserved. // #import <UIKit/UIKit.h> @class SXNewsEntity; @interface SXPhotoSetPage : UIViewController @property(nonatomic,strong) SXNewsEntity *newsModel; @end
/**************************************************************************** Copyright (C) 2013 Henry van Merode. All rights reserved. Copyright (c) 2015-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge,...
// // CitiesViewController.h // WeatherApp // // Created by Renzo Crisóstomo on 1/15/14. // Copyright (c) 2014 Ruenzuo. All rights reserved. // #import <UIKit/UIKit.h> @class Country; @interface CitiesViewController : UITableViewController @property (nonatomic, strong) Country *country; - (IBAction)onRefreshCo...
// // MojoModel.h // MojoDB // // Created by Craig Jolicoeur on 10/8/10. // Copyright 2010 Mojo Tech, LLC. All rights reserved. // #import <Foundation/Foundation.h> @class MojoDatabase; @interface MojoModel : NSObject { NSUInteger primaryKey; BOOL savedInDatabase; } @property (nonatomic) NSUInteger primaryKey...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <ugens.h> #define DEBUG /* ------------------------------------------------------------- somefunk --- */ double somefunk(float p[], int n_args, double pp[]) { int an_int_arg; float val, a_float_arg; char *a_str_arg;...
/**************************************************************************** ** libebml : parse EBML files, see http://embl.sourceforge.net/ ** ** <file/class description> ** ** Copyright (C) 2002-2004 Steve Lhomme. All rights reserved. ** ** This file is part of libebml. ** ** This library is free software; you can ...
/*========================================================================== NinjaSCSI-3 message handler By: YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp> This software may be used and distributed according to the terms of the GNU General Public License. */ /* $Id: nsp_message.c,v 1.1 2011/07/05 16:5...
/* Copyright (c) 2010, 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 hope th...
/* * system copy/paste routines * * Copyright (C) 2014-2016 LastPass. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later v...
/* * splitter.h * * Global definitions from the splitter main program. * * $Id: splitter.h,v 1.1.2.1 2006/01/13 00:25:01 jeffc Exp $ * */ #ifndef SPLITTER_H #define SPLITTER_H #include "splitparms.h" #include "splittypes.h" #define MAX(x,y) ( ((x)<(y)) ? (y) : (x) ) #define MIN(x,y) ( ((y)<(x)) ? (y) ...
#ifndef _ASM_X86_LOCAL_H #define _ASM_X86_LOCAL_H #include <linux/percpu.h> #include <asm/system.h> #include <asm/atomic.h> #include <asm/asm.h> typedef struct { atomic_long_t a; } local_t; #define LOCAL_INIT(i) { ATOMIC_LONG_INIT(i) } #define local_read(l) atomic_long_read(&(l)->a) #define local_set(l, i) atomic...
/* TI C6X control register information. Copyright 2010 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 your op...
/* * @BEGIN LICENSE * * Psi4: an open-source quantum chemistry software package * * Copyright (c) 2007-2017 The Psi4 Developers. * * The copyrights for code used from other parties are included in * the corresponding files. * * This program is free software; you can redistribute it and/or modify * it under t...
#include <NoLengthInfo1.d> #include <__oo2c.h> #include <setjmp.h> void OOC_NoLengthInfo1_init(void) { register OOC_INT32 i0; i0 = (OOC_INT32)NoLengthInfo1__a; *(OOC_UINT8*)i0 = 0u; return; ; } void OOC_NoLengthInfo1_destroy(void) { } /* --- */
/* * Copyright (C) 2007 HTC Incorporated * Author: Jay Tu (jay_tu@htc.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 distributed ...
//============================================================================= // File : Tdmb_modeldef.h // // Description: // // Revision History: // // Version Date Author Description of Changes //----------------------------------------------------------------------------- /...
/* search_frame.h * * $Id: search_frame.h 46591 2012-12-18 17:21:20Z gerald $ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public L...
#ifndef gsm0480_h #define gsm0480_h #include <osmocom/core/msgb.h> #include <osmocom/gsm/protocol/gsm_04_08.h> #include <osmocom/gsm/protocol/gsm_04_80.h> #define MAX_LEN_USSD_STRING 31 struct ussd_request { uint8_t text[MAX_LEN_USSD_STRING + 1]; uint8_t transaction_id; uint8_t invoke_id; }; int gsm0480_decode_u...
// ********************************************************************** // // Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
/* Copyright 1989, 1994, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in s...
/* This file is part of KOrganizer. Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.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 of the License, or (at y...
/* * This file is part of the coreboot project. * * Copyright (C) 2004 Tyan Computer * Written by Yinghai Lu <yhlu@tyan.com> for Tyan Computer. * * 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 Foun...
/* -*- c++ -*- ---------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
/* * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. 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; either version 2 * of the License, or (at your option) any...
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, pro...
#define BAD_MAGIC(q,m) 0 int __queue_add(Queue_t *queue, Scsi_Cmnd *SCpnt, int head) { if (BAD_MAGIC(1,12)) BUG(); }
/* MobileRobots Advanced Robotics Interface for Applications (ARIA) Copyright (C) 2004, 2005 ActivMedia Robotics LLC Copyright (C) 2006, 2007, 2008, 2009 MobileRobots 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...
/* Unix SMB/CIFS implementation. POSIX NTVFS backend - NT ACLs in xattrs Copyright (C) Andrew Tridgell 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 2 of th...
/* * * Copyright (c) Crackerjack Project., 2007 * Copyright (c) 2011 Cyril Hrubis <chrubis@suse.cz> * * 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...
/* $NetBSD: cprojf.c,v 1.3 2010/09/20 17:51:38 christos Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, 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...
/***************************************************************************** * Copyright (c) 2014-2020 OpenRCT2 developers * * For a complete list of all authors, please refer to contributors.md * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 * * OpenRCT2 is licensed under the GNU Gener...
#pragma once #include "AP_RangeFinder.h" #include "AP_RangeFinder_Backend_Serial.h" // WASP 200 LRF // http://www.attolloengineering.com/wasp-200-lrf.html class AP_RangeFinder_Wasp : public AP_RangeFinder_Backend_Serial { public: AP_RangeFinder_Wasp(RangeFinder::RangeFinder_State &_state, ...
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "InformationElements" * found in "../asn/InformationElements.asn" * `asn1c -fcompound-names -fnative-types` */ #ifndef _UL_CCTrCH_H_ #define _UL_CCTrCH_H_ #include <asn_application.h> /* Including external dependencies */ #include ...
/* * Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2008, 2011 * Tama Communications Corporation * #ifdef __DJGPP__ * Contributed by Jason Hood <jadoxa@yahoo.com.au>, 2001. # #endif * * This file is part of GNU GLOBAL. * * This program is free software: you can redistribute it and/or modify * it unde...
/*==LICENSE==* CyanWorlds.com Engine - MMOG client, server and tools Copyright (C) 2011 Cyan Worlds, 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...
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "InformationElements" * found in "../asn/InformationElements.asn" * `asn1c -fcompound-names -fnative-types` */ #include "HCS-CellReselectInformation-RSCP.h" static asn_TYPE_member_t asn_MBR_HCS_CellReselectInformation_RSCP_1[] = { {...
/* * Copyright 2005-2008 NVIDIA Corporation. All rights reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Soft...
#include <stdint.h> #include <math.h> // Rotation matrix volatile float R[3][3] = {{1,0,0},{0,1,0},{0,0,1}}; float accOffset[3] = {337, 337, 337}; // ~1.5 V float accScale[3] = {1/6.8, 1/6.8, 1/6.8}; // m/s^2 float gyrOffset[3] = {252, 252, 252}; // 1.23 V float gyrScale[3] = {1/39.1, -1/39.1, 1/39.1}; // rad/s /...
#if SH_HLSL == 1 || SH_CG == 1 #define shTexture2D sampler2D #define shSample(tex, coord) tex2D(tex, coord) #define shCubicSample(tex, coord) texCUBE(tex, coord) #define shLerp(a, b, t) lerp(a, b, t) #define shSaturate(a) saturate(a) #define shSampler2D(name) , uniform sampler2D name : registe...
#ifndef _KERNEL_TESTS_H #define _KERNEL_TESTS_H /* * Filename: tests.h * * Description: * These are the test functions for kernel feature implementations; * * Date: 01-Mar-2017 01:11 * * Copyleft 2017 Marko Trickovic * * TODO: Split this file into tests.h and tests.c */ void stack_smash_test(void) { char...
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "Internode-definitions" * found in "../asn/Internode-definitions.asn" * `asn1c -fcompound-names -fnative-types` */ #include "InterRATHandoverInfoWithInterRATCapabilities-r3-IEs.h" static int memb_interRATHandoverInfo_constraint_1(asn...
/* This file is part of the KDE project Copyright (C) 2007 David Faure <faure@kde.org> 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...
/* * scalblnf.c * * by Ian Ollmann * * Copyright (c) 2007, Apple Inc. All Rights Reserved. * * C99 impelemtnation of scalblnf(). */ #include <math.h> #include <stdint.h> float scalblnf( float x, long i ) { if( i > 300 ) i = 300; if( i < -300 ) i = -300; return scalbnf( x, (int) i ); }
/* * Copyright(C) 2011-2015 Pedro H. Penna <pedrohenriquepenna@gmail.com> * * This file is part of Nanvix. * * Nanvix 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, o...
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "InformationElements" * found in "../asn/InformationElements.asn" * `asn1c -fcompound-names -fnative-types` */ #ifndef _SysInfoType13_4_H_ #define _SysInfoType13_4_H_ #include <asn_application.h> /* Including external dependencies ...
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2014 Wenzel Jacob <wenzel@inf.ethz.ch> // // 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...
/* Copyright <SWGEmu> See file COPYING for copying conditions.*/ /** * \file RequestCoreSampleCommand.h * \author Kyle Burkhardt * \date 5-27-10 */ #ifndef REQUESTCORESAMPLECOMMAND_H_ #define REQUESTCORESAMPLECOMMAND_H_ #include "server/zone/objects/scene/SceneObject.h" #include "server/zone/objects/tangib...
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/> // Copyright (C) 2010 Winch Gate Property Limited // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version ...
/* * opencog/atomspace/FixedIntegerIndex.h * * Copyright (C) 2008 Linas Vepstas <linasvepstas@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * published by the Free Software Foundation and including the excep...
/* * kmail: KDE mail client * Copyright (c) 1996-1998 Stefan Taferner <taferner@kde.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 of the License, or * (at your o...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * Copyright (C) 2014 Richard Hughes <richard@hughsie.com> * * Licensed under the GNU Lesser General Public License Version 2.1 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser...
/*************************************************************************/ /* Copyright (c) 2004 */ /* Daniel Sleator, David Temperley, and John Lafferty */ /* Copyright (c) 2014 Linas Vepstas */ /* All rights re...
struct __DIR_s { int lock; int fd; off_t tell; int buf_pos; int buf_end; char buf[2048]; };
/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions ...