text stringlengths 4 6.14k |
|---|
#include <stdc.h>
#include <malloc.h>
#include <pool.h>
#include <ktest.h>
typedef enum {
PALLOC_TEST_REGULAR, /* regular test */
PALLOC_TEST_CORRUPTION, /* memory corruption */
PALLOC_TEST_DOUBLEFREE, /* double free */
} palloc_test_t;
static void int_ctor(void *buf) {
int *num = buf;
*num = 0;
}
stati... |
#ifndef ELFTYPES_H
#define ELFTYPES_H
/** \file ElfTypes.h
* \brief This file contains the elf format support structures
*/
#define PACKED __attribute__((packed))
// Internal elf info
typedef struct {
char e_ident[4];
char e_class;
char endianness;
char version;
char osAbi;
char pad[8];
sh... |
/* This file is part of the YAZ toolkit.
* Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
* \file timing.c
* \brief Timing utilities
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include <windows.h>
#endif
#include <stdlib.h>
#if HAVE_SYS_TIMES_H
#include <sys/times.h>
#en... |
/*===================================================================
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... |
/*
* Written by J.T. Conklin <jtc@NetBSD.org>.
* Public domain.
*/
#if 0
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: l64a.c,v 1.13 2003/07/26 19:24:54 salo Exp $");
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <stdlib.h>
#define ADOT 46 /* ASCII '.' */
#defi... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/tinderbox/XR-Trunk/WINNT_5.2_Depend/mozilla/dom/public/idl/xul/nsIDOMXULImageElement.idl
*/
#ifndef __gen_nsIDOMXULImageElement_h__
#define __gen_nsIDOMXULImageElement_h__
#ifndef __gen_nsIDOMElement_h__
#include "nsIDOMElement.h"
#endif
#ifndef __gen_nsIDO... |
/* crypto/evp/m_mdc2.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-c... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// 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 t... |
/*
* Copyright (c) 2014, 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.
*
*/
#pragma once... |
#ifndef _MATMULC_
#define _MATMULC_
void MatMulC(int, int, double *, double *, double *);
void MatMulCopt(int, int, double *, double *, double *);
#endif
|
/*=========================================================================
Program: Visualization Toolkit
Module: vtkOutputStream.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: CWE114_Process_Control__w32_char_relativePath_61a.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-61a.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: relativePath Hard code the relative pathname to th... |
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the ... |
// 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 IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_BROWSER_AGENT_H_
#define IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_BROWSER_AGENT_H_
#import <Foundation/Foundat... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int_rand_multiply_01.c
Label Definition File: CWE191_Integer_Underflow__int.label.xml
Template File: sources-sinks-01.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: rand Set data to result of rand(), which may be z... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkAffineRepresentation.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
#pragma once
namespace dragon_li {
namespace util {
template< typename SizeType >
class CtaOutputAssignment {
public:
SizeType *devOutputOffset;
CtaOutputAssignment() : devOutputOffset(NULL) {}
int setup(SizeType startOffset) {
cudaError_t retVal;
if(retVal = cudaMalloc(&devOutputOffset, sizeof(SizeType)... |
/*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
* Copyright (C) 2011 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... |
/**
* 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... |
//////////////////////////////////////////////////////////////////////////
//
// 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 that the following conditions are
// met:
//
// * R... |
/*-------------------------------------------------------------------------
*
* relation.h
* Generic relation related routines.
*
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/access/relation.h
... |
/* -----------------------------------------------------------------------------
*
* Module : C support for Graphics.Rendering.OpenGL.Raw.GetProcAddress.hs
* Copyright : (c) Sven Panne 2009
* License : BSD-style (see the file LICENSE)
*
* Maintainer : sven.panne@aedion.de
* Stability : stable
... |
#ifndef THC_GENERIC_FILE
#define THC_GENERIC_FILE "generic/THCTensorMathReduce.h"
#else
THC_API void THCTensor_(sum)(THCState *state, THCTensor *self, THCTensor *src, long dim);
THC_API void THCTensor_(prod)(THCState *state, THCTensor *self, THCTensor *src, long dim);
THC_API accreal THCTensor_(sumall)(THCState *stat... |
/*
BLIS
An object-based framework for developing high-performance BLAS-like
libraries.
Copyright (C) 2014, The University of Texas
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributi... |
/*
* Order-1, 3D 7 point stencil with variable coefficients
* 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)
#... |
#ifndef CONSTS_H
#define CONSTS_H
const unsigned int NUM_ELEMENTS = 110;
// Energy Group Structures:
/// The Group Struct Types
/** This enum just contains codes for each different groups structure used
* in FEINDs various parsers
*/
enum GSType{
VITAMIN_J, /**< 175 group Vitamin - J structure, used by EA... |
/*-
* Copyright (c) 2006-2007 Daniel Roethlisberger <daniel@roe.ch>
* 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
* ... |
// 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 NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
#define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
#pragma once
#include <string>
#include "base/basictypes.h... |
/*=============================================================================
pamenlarge
===============================================================================
By Bryan Henderson 2004.09.26. Contributed to the public domain by its
author.
====================================... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistri... |
/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... |
#pragma once
#include <inttypes.h>
#ifdef QUICKSAND_WINDOWS_BUILD
#define PI32 "d"
#define PI64 "lld"
#define PU32 "u"
#define PU64 "llu"
#else
#define PI32 PRId32
#define PI64 PRId64
#define PU32 PRIu32
#define PU64 PRIu64
#endif
|
/****************************************************************************
** libmatroska : parse Matroska files, see http://www.matroska.org/
**
** <file/class description>
**
** Copyright (C) 2002-2010 Steve Lhomme. All rights reserved.
**
** This file is part of libmatroska.
**
** This library is free software; ... |
/*============================================================================
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
Package, Release 3c, by John R. Hauser.
Copyright 2011, 2012, 2013, 2014 The Regents of the University of California.
All rights reserved.
Redistribution... |
/*
* OPCODE - Optimized Collision Detection
* http://www.codercorner.com/Opcode.htm
*
* Copyright (c) 2001-2008 Pierre Terdiman, pierre@codercorner.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the u... |
#pragma once
#include "XBoxController.h"
#include "GameComponent.h"
#include <OVR.h>
#include <OVR_CAPI_GL.h>
#include "FBO.h"
namespace BGE
{
class RiftController :
public GameComponent
{
public:
RiftController(void);
~RiftController(void);
std::shared_ptr<BGE::XBoxController> xboxController;
void Upda... |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
#ifndef MicrosoftAzureMobile_MicrosoftAzureMobile_h
#define MicrosoftAzureMobile_MicrosoftAzureMob... |
#ifndef __CC_EXTENSION_CCSTORE_PRODUCT_H_
#define __CC_EXTENSION_CCSTORE_PRODUCT_H_
#include "cocos2dx_extensions.h"
#include "cocos2d.h"
NS_CC_EXT_BEGIN
#pragma mark -
#pragma mark CCStoreProduct
class CCStoreProduct : public cocos2d::CCObject
{
public:
static CCStoreProduct* productWithId(const char* product... |
/**
Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
A copy of the License is located at
http://aws.amazon.com/apache2.0
or in the "license" file accompan... |
//
// RKSetHeadingCommand.h
// RobotKit
//
// Created by Mike DePhillips on 11/27/12.
// Copyright 2011 Orbotix Inc. All rights reserved.
//
/*! @file */
#import <Foundation/Foundation.h>
#import <Robotkit/RKDeviceCommand.h>
/*!
* @brief Class to encapsulate a set heading command and it's parameters.
*
* Cla... |
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include <string.h>
#undef bcopy
void *
bcopy(const void *a, void *b, size_t len)
{
return memmove(b, a, len);
}
|
// This file was generated based on 'C:\ProgramData\Uno\Packages\Android\0.19.1\Android\Fallbacks\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Android.android.view.animation.Animation.h>
#include <Android.Base.Wrappers.IJWrapper.h>
#include <Uno.IDisposable.h>
namesp... |
/*
* PKCS #10
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_PKCS10_H__
#define BOTAN_PKCS10_H__
#include <botan/x509_obj.h>
#include <botan/x509_dn.h>
#include <botan/pkcs8.h>
#include <botan/datastor.h>
#include <vector>
namespace Botan {
/**
* PKCS #10 Certificat... |
/*
* SYSCALL_DEFINE1(setfsuid, uid_t, uid)
*/
#include "sanitise.h"
struct syscall syscall_setfsuid = {
.name = "setfsuid",
.num_args = 1,
.arg1name = "uid",
.group = GROUP_VFS,
};
|
/*
* 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 version.
*
* This program is distributed in the hope that it w... |
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
* Copyright (C) 2014 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retai... |
/* Area: ffi_call, closure_call
Purpose: Check passing of multiple signed short/char values.
Limitations: none.
PR: PR13221.
Originator: <andreast@gcc.gnu.org> 20031129 */
/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
#include "ffitest.h"
signed short test_func_fn(signed ... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2019-2020 PHYTEC Messtechnik GmbH
* Author: Teresa Remmet <t.remmet@phytec.de>
*/
#include <common.h>
#include <asm/arch/sys_proto.h>
#include <asm/io.h>
#include <asm/mach-imx/boot_mode.h>
#include <env.h>
#include <miiphy.h>
DECLARE_GLOBAL_DATA_PTR;... |
/**********************************************************************
* *
* Voreen - The Volume Rendering Engine *
* *
* Created between 2005 and 2012... |
/*
* LG Optimus Black (P970) codename sniper config
*
* Copyright (C) 2015 Paul Kocialkowski <contact@paulk.fr>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __CONFIG_H
#define __CONFIG_H
#include <asm/arch/cpu.h>
#include <asm/arch/omap.h>
/*
* CPU
*/
#define CONFIG_SYS_CACHELINE_SIZE 64
#define CONFIG... |
/*****************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___... |
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include "utils.h"
#include "pixman-inlines.h"
/* A trivial reference implementation for
* 'bilinear_pad_repeat_get_scanline_bounds'
*/
static void
bilinear_pad_repeat_get_scanline_bounds_ref (int32_t source_image_width,
pixman_fixed_t vx_,
... |
/*
* (C) Copyright IBM Corp. 2004, 2005
* Copyright (c) 2005, Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distribut... |
/*
* This file Copyright (C) Mnemosyne LLC
*
* 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.
*
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* $Id$
*/
#ifndef DE... |
#pragma once
/*
* Copyright (C) 2005-2013 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later... |
#ifndef CELL_H
#define CELL_H
#include <QTableWidgetItem>
class Cell : public QTableWidgetItem
{
public:
Cell();
QTableWidgetItem *clone() const;
void setData(int role, const QVariant &value);
QVariant data(int role) const;
void setFormula(const QString &formula);
QString formula() const;
... |
/*
* Copyright (C) 2009 RobotCub Consortium, European Commission FP6 Project IST-004370
* Authors: Vadim Tikhanoff & Ajay Mishra
* email: vadim.tikhanoff@iit.it
* website: www.robotcub.org
* Permission is granted to copy, distribute, and/or modify this program
* under the terms of the GNU General Public Licen... |
/***************************************************************************
cunixsocket.h - UNIX domain socket
-------------------
begin : Pi okt 3 2003
copyright : (C) 2003-2009 by Tomas Mecir
email : kmuddy@... |
/*
* (C) Copyright 2009
* jung hyun kim, Nexell Co, <jhkim@nexell.co.kr>
*
* 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... |
/* linux/arch/arm/plat-s5p64xx/include/plat/media.h
*
* Copyright 2009 Samsung Electronics
* Jinsung Yang <jsgood.yang@samsung.com>
* http://samsungsemi.com/
*
* Samsung Media device descriptions
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... |
/**
* This file is a part of Esperanza, an XMMS2 Client.
*
* Copyright (C) 2005-2007 XMMS2 Team
*
* 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... |
/*
Samba Unix/Linux SMB client library
net time command
Copyright (C) 2001 Andrew Tridgell (tridge@samba.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 t... |
#ifndef NAUTILUS_CONTAINER_MAX_WIDTH_H
#define NAUTILUS_CONTAINER_MAX_WIDTH_H
#include <glib.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define NAUTILUS_TYPE_CONTAINER_MAX_WIDTH (nautilus_container_max_width_get_type())
G_DECLARE_FINAL_TYPE (NautilusContainerMaxWidth, nautilus_container_max_width, NAUTILUS, CONTAINER_MA... |
#include <linux/types.h>
#include <mach/mt_pm_ldo.h>
#include <cust_alsps.h>
#include <mach/upmu_common.h>
static struct alsps_hw cust_alsps_hw = {
.i2c_num = 1,
.polling_mode_ps = 0, /* not work, define in epl8882.c */
.polling_mode_als = 0, /* not work, define in epl8882.c */
.power_i... |
/* Definitions for ARM running Linux-based GNU systems
using ELF with old binutils.
Copyright (C) 1999 Free Software Foundation, Inc.
Contributed by Philip Blundell <Philip.Blundell@pobox.com>
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of t... |
/*
* 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 version 2 as
* published by the Free Software Foundation.
*
* This program is distr... |
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/azalia_device.h>
const u32 cim_verb_data[] = {
/* Realtek, ALC293 */
0x10ec0293, /* Vendor ID */
0x155851a1, /* Subsystem ID */
12, /* Number of entries */
AZALIA_SUBVENDOR(0, 0x155851a1),
AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
AZALIA_PIN_CFG(0, 0x13, ... |
#ifndef __ASM_MIPS_FCNTL_H
#define __ASM_MIPS_FCNTL_H
/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
located on an ext2 file system */
#define O_ACCMODE 0x0003
#define O_RDONLY 0x0000
#define O_WRONLY 0x0001
#define O_RDWR 0x0002
#define O_APPEND 0x0008
#define O_SYNC 0x0010
#define O_N... |
// Copyright (C) 2009,2010,2011,2012 GlavSoft LLC.
// All rights reserved.
//
//-------------------------------------------------------------------------
// This file is part of the TightVNC software. Please visit our Web site:
//
// http://www.tightvnc.com/
//
// This program is free sof... |
/*
* arch/arm/mach-orion5x/rd88f6183-ap-ge-setup.c
*
* Marvell Orion-1-90 AP GE Reference Design Setup
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/gpi... |
/* $NetBSD: rent.c,v 1.6 2003/08/07 09:37:29 agc Exp $ */
/*
* Copyright (c) 1980, 1993
* The Regents of the University of California. 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.... |
/*
* Copyright (C) 2003,2004 Colin Walters <walters@verbum.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 option) any later vers... |
/*
* steghide 0.5.1 - a steganography program
* Copyright (C) 1999-2003 Stefan Hetzl <shetzl@chello.at>
*
* 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... |
#ifndef _ASMARM_BUG_H
#define _ASMARM_BUG_H
#include <linux/linkage.h>
#include <linux/types.h>
#include <asm/opcodes.h>
#ifdef CONFIG_BUG
/*
* Use a suitable undefined instruction to use for ARM/Thumb2 bug handling.
* We need to be careful not to conflict with those used by other modules and
* the register_undef... |
/*
* I2C bus driver for ADT7316/7/8 ADT7516/7/9 digital temperature
* sensor, ADC and DAC
*
* Copyright 2010 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include "adt7316.h"
/*
* adt7316 ... |
/*
* Copyright (C) 2004-2012 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... |
/*
$Id: st.c,v 1.9 2009/11/22 15:36:27 rhabarber1848 Exp $
DVBSNOOP
a dvb sniffer and mpeg2 stream analyzer tool
http://dvbsnoop.sourceforge.net/
(c) 2001-2006 Rainer.Scherg@gmx.de (rasc)
-- ST section (stuffing)
*/
#include "dvbsnoop.h"
#include "st.h"
#include "strings/dvb_str.h"
#include "misc/outpu... |
/*
* Hydrogen
* Copyright(c) 2002-2008 by Alex >Comix< Cominu [comix@users.sourceforge.net]
*
* http://www.hydrogen-music.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 ver... |
#ifndef COMMANDS_H
#define COMMANDS_H
/** \cond docNever */
#include <QUndoCommand>
#include "xbytearray.h"
/*! CharCommand is a class to prived undo/redo functionality in QHexEdit.
A QUndoCommand represents a single editing action on a document. CharCommand
is responsable for manipulations on single cha... |
/* Test of opening a file stream.
Copyright (C) 2007-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 3 of the License, or
(at your op... |
/*
*
* Copyright (c) 2008 by Christian Dietrich <stettberger@dokucode.de>
*
* 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 late... |
/*
* 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 "CellInfo-LCR-r8-ext.h"
static asn_TYPE_member_t asn_MBR_CellInfo_LCR_r8_ext_1[] = {
{ ATF_POINTER, 1, offsetof(... |
#include "readline.h"
#include <stddef.h>
#include "unistd/read.h"
extern void *memmove(void *dest, const void *src, __SIZE_TYPE__ n);
extern char* memchr(char* buf, int c, __SIZE_TYPE__ n);
const char* _readline(int fd, struct rdline_buffer* buf)
{
if (buf->next != 0)
{
memmove(buf->buffer, buf->buffer + buf->ne... |
#ifndef DEF_BLAST_PARSER_H
#define DEF_BLAST_PARSER_H
/**
* \file blastParser.h
* \author Lukas Habegger (lukas.habegger@yale.edu)
*/
/**
* BlastQuery.
*/
typedef struct {
char* qName;
Array entries; // of type BlastEntry
} BlastQuery;
/**
* BlastEntry.
*/
typedef struct {
char* tName;
... |
#ifndef UI_MUTUAL_H
#define UI_MUTUAL_H
#include "objects_def.h"
#include "device.h"
void ui_dev_descr_format(char *buf, int bufsize, DC_Dev *dev);
#endif // UI_MUTUAL_H
|
#ifndef TESTSUITE_H
#define TESTSUITE_H
#include<iostream>
#include<ctime>
static clock_t start_time;
static clock_t end_time;
#define TIME_STARTS() \
start_time = clock();
#define TIME_UP() \
end_time = clock();\
std::cout << "TIME USED: ";\
std::cout << (double)(end_time-start_time)/CLOCKS_PER_SEC*... |
/*
* Copyright (c) 2012-2013 Etnaviv Project
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge... |
/*
* H.265 video codec.
* Copyright (c) 2013-2014 struktur AG, Dirk Farin <farin@struktur.de>
*
* This file is part of libde265.
*
* libde265 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, eith... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIDOMNSHTMLFormControlList.idl
*/
#ifndef __gen_nsIDOMNSHTMLFormControlList_h__
#define __gen_nsIDOMNSHTMLFormControlList_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_V... |
#ifndef _DDSENTITYMGR_
#define _DDSENTITYMGR_
#include "ccpp_dds_dcps.h"
#include "CheckStatus.h"
using namespace DDS;
class DDSEntityManager
{
/* Generic DDS entities */
DomainParticipantFactory_var dpf;
DomainParticipant_var participant;
Topic_var topic;
Publisher_var pu... |
/*
* 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 "NidentifyAbort.h"
int
NidentifyAbort_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constrai... |
/* pmrfc3164.h
* These are the definitions for the RFC3164 parser module.
*
* File begun on 2009-11-04 by RGerhards
*
* Copyright 2009 Rainer Gerhards and Adiscon GmbH.
*
* This file is part of rsyslog.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c... |
/*
* Copyright (C) 2014 Martin Willi
* Copyright (C) 2014 revosec AG
*
* 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 ver... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2015 - 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-
* ati... |
// Copyright (C) by Ashton Mason. See LICENSE.txt for licensing information.
#ifndef THERON_YIELDSTRATEGY_H
#define THERON_YIELDSTRATEGY_H
/**
\file YieldStrategy.h
Defines the YieldStrategy enumerated type.
*/
namespace Theron
{
/**
\brief Enumerates the available worker thread yield strategies.
Each \ref Thero... |
/* Test file for mpfr_acos.
Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modify
it u... |
#ifndef _EXTENSIONS_H_
#define _EXTENSIONS_H_
#include <glib-object.h>
#include <telepathy-glib/channel.h>
#include "tests/lib/glib/extensions/_gen/enums.h"
#include "tests/lib/glib/extensions/_gen/svc-channel.h"
#include "tests/lib/glib/extensions/_gen/svc-misc.h"
G_BEGIN_DECLS
#include "tests/lib/glib/extensions/... |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.