text stringlengths 4 6.14k |
|---|
/* This file handles the 4 system calls that get and set uids and gids.
* It also handles getpid(), setsid(), and getpgrp(). The code for each
* one is so tiny that it hardly seemed worthwhile to make each a separate
* function.
*/
#include "mm.h"
#include <minix/callnr.h>
#include <signal.h>
#include "mproc.h"
#... |
/*-
* Copyright (c) 2003 Nate Lawson
* 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 conditi... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE427_Uncontrolled_Search_Path_Element__char_environment_09.c
Label Definition File: CWE427_Uncontrolled_Search_Path_Element.label.xml
Template File: sources-sink-09.tmpl.c
*/
/*
* @description
* CWE: 427 Uncontrolled Search Path Element
* BadSource: environment... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__malloc_free_int64_t_82.h
Label Definition File: CWE415_Double_Free__malloc_free.label.xml
Template File: sources-sinks-82.tmpl.h
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using malloc() and Deallocate data using f... |
/***************************************************************************
*
* Copyright (c) 2012 Baidu.com, Inc. All Rights Reserved
* $Id$
*
**************************************************************************/
/**
* @file callback_recv_impl.h
* @author
* @date 2012/11/13 11:31:37
* @version 1.0.0... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE806_wchar_t_memmove_51b.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE806.label.xml
Template File: sources-sink-51b.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initiali... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__wchar_t_alloca_loop_65a.c
Label Definition File: CWE124_Buffer_Underwrite.stack.label.xml
Template File: sources-sink-65a.tmpl.c
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated mem... |
// 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_BROWSER_SCHEDULER_RESPONSIVENESS_WATCHER_H_
#define CONTENT_BROWSER_SCHEDULER_RESPONSIVENESS_WATCHER_H_
#include <vector>
#include "base... |
#include "KMotionDef.h"
#include "..\CorrectAnalogFunction.c"
#define RPM_FACTOR 500.0 // RPM for full duty cycle (max analog out)
// desired speed is passed in variable 1
main()
{
float speed = *(float *)&persist.UserData[1]; // value stored is actually a float
FPGA(KAN_TRIG_REG)=4; // Mux PW... |
/*===================================================================
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 (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 PPAPI_PROXY_PLUGIN_RESOURCE_TRACKER_H_
#define PPAPI_PROXY_PLUGIN_RESOURCE_TRACKER_H_
#include <map>
#include <unordered_set>
#include <utili... |
/***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** following c... |
/** @file
*
* @ingroup modularLibrary
*
* @brief TTObjectBase to handle xml file reading and writing to be able to store / recall state of an object into/from xml files.
*
* @details
*
* @authors Théo de la Hogue
*
* @copyright © 2010, Théo de la Hogue @n
* This code is licensed under the terms of the "New B... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE617_Reachable_Assertion__zero_05.c
Label Definition File: CWE617_Reachable_Assertion__zero.label.xml
Template File: point-flaw-05.tmpl.c
*/
/*
* @description
* CWE: 617 Reachable Assertion
* Sinks:
* GoodSink: assert(true), which will never trigger
* ... |
// 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_CHROMEOS_CROS_NETWORK_PARSER_H_
#define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_PARSER_H_
#include <map>
#include <string>
#incl... |
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008-2014, Image Engine Design Inc. All rights reserved.
//
// Copyright 2010 Dr D Studios Pty Limited (ACN 127 184 954) (Dr. D Studios),
// its affiliates and/or its licensors.
//
// Redistribution and use in source and ... |
/*
* Order-2, 3D 25 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)... |
// functional_hash.h header -*- C++ -*-
// Copyright (C) 2007,2008 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Fou... |
#include <usual/event.h>
#include <usual/socket.h>
#include <string.h>
#include "test_common.h"
static int ev_count;
static void bumper(int fd, short flags, void *arg)
{
int res;
int *other = arg;
char buf[10];
ev_count++;
res = recv(fd, buf, 10, 0);
if (res != 1) {
fprintf(stderr, "recv: %s\n", strerror(... |
/////////////////////////////////////////////////
// Macro-Processor
ClassTP(TMacro, PMacro)//{
public:
bool Ok;
TStr MsgStr;
char MacroCh;
char VarCh;
TStr TxtStr;
TStrStrH SubstToValStrH;
TStrStrH VarNmToValStrH;
public:
TMacro(const TStr& TxtStr, const char& _MacroCh='$', const char& _Var... |
#ifndef RENDER_H
#define RENDER_H
#include "sam.h"
void Render(sam_memory* sam);
void SetMouthThroat(unsigned char mouth, unsigned char throat);
void OutputFrames(sam_memory *sam, unsigned char frame_count);
/** Scaling c64 rate to sample rate */
// Rate for 22.05kHz
// #define SCALE_RATE(x) (((x)*1310)>>16)
// Rate... |
/*
* Copyright (C) 2009 Philippe Gerum <rpm@xenomai.org>.
*
* 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 of the License, or (at your option) any later version.... |
/*
* EAC1_1 objects
* (C) 2008 Falko Strenzke
*
* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_EAC_OBJ_H__
#define BOTAN_EAC_OBJ_H__
#include <botan/signed_obj.h>
#include <botan/ecdsa_sig.h>
namespace Botan {
/**
* TR03110 v1.1 EAC CV Certificate
*/
template<typename Derived> // CRTP is used e... |
//
// ReceptionKit-Bridging-Header.h
// ReceptionKit
//
// Created by Andy Cho on 2015-04-23.
// Copyright (c) 2015 Andy Cho. All rights reserved.
//
#ifndef ReceptionKit_ReceptionKit_Bridging_Header_h
#define ReceptionKit_ReceptionKit_Bridging_Header_h
#import <SupportKit/SKTConversation.h>
#import <SupportKit/S... |
/*
* Copyright (c) 2015 Travis Geiselbrecht
*
* 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,... |
/* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferab... |
//
// ASTraitCollection.h
// Texture
//
// Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
// Changes after 4/13/2017 are: Copyright (c) Pinterest, Inc. All rights reserved.
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
//
#import <UIKit/UIKit.h>
#import <Async... |
#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/object.h"
#include "kernel/memory.h"
#include "k... |
/*
* This file is part of MXE.
* See index.html for further information.
*/
#include <modplug.h>
int main(int argc, char *argv[])
{
(void)argc;
(void)argv;
ModPlug_Settings settings;
ModPlug_GetSettings(&settings);
ModPlug_SetSettings(&settings);
return 0;
}
|
#ifndef PID_H
#define PID_H
#include "mbed.h"
#include <algorithm>
/*
Bryce Williams 11/19/2015
PID Controller Class based on Brett Beauregard's Arduino PID Library
and PID blog post.
Brett Beauregard's blog post explains the PID code implementation very well
and discusses wh... |
/*
* Dibbler - a portable DHCPv6
*
* authors: Tomasz Mrugalski <thomson@klub.com.pl>
*
* Released under GNU GPL v2 licence
*
* $Id: ReqCfgMgr.h,v 1.3 2007-12-08 04:14:03 thomson Exp $
*/
#ifndef REQCFGMGR_H
#define REQCFGMGR_H
typedef struct {
// global parameters
char * iface;
int timeout;
... |
/*
* a52_internal.h
* Copyright (C) 2000-2003 Michel Lespinasse <walken@zoy.org>
* Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
*
* This file is part of a52dec, a free ATSC A-52 stream decoder.
* See http://liba52.sourceforge.net/ for updates.
*
* a52dec is free software; you can redistrib... |
/*
* Commandline option parsing functions
*
* Copyright (c) 2003-2008 Fabrice Bellard
* Copyright (c) 2009 Kevin Wolf <kwolf@redhat.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 Softw... |
/*
* \brief Signal driven network handler
* \author Stefan Kalkowski
* \auhtor Sebastian Sumpf
* \date 2013-09-24
*/
/*
* Copyright (C) 2010-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifnd... |
/*
* linux/arch/parisc/kernel/sys_hpux.c
*
* implements HPUX syscalls.
*/
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/file.h>
#include <linux/smp_lock.h>
#include <linux/slab.h>
#include <asm/errno.h>
#include <asm/uaccess.h>
int hpux_execve(struct pt_regs *regs)
{
int error;
char *filename;
... |
/* include/linux/mhl.h
*
* Copyright (C) 2010 HTC, Inc.
*
* 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 in the hope that it... |
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <net/if_arp.h>
#include <string.h>
#include "arphrd-list.h"
#include "macro.h"
static const struct arphrd_name* lookup_arphrd(register const char *str, register GPERF_LEN_TYPE len);
#include "arphrd-from-name.h"
#include "arphrd-to-name.h"
const char *arphrd_to_nam... |
//------------------------------------------------------------------------------
// Copyright (c) 2004-2010 Atheros Communications Inc.
// All rights reserved.
//
//
// The software source and binaries included in this development package are
// licensed, not sold. You, or your company, received the package under one
/... |
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 8 -*-
//
// is_na.h: Rcpp R/C++ interface class library -- is_na
//
// Copyright (C) 2010 - 2013 Dirk Eddelbuettel and Romain Francois
//
// This file is part of Rcpp.
//
// Rcpp is free software: you can redistribute it and/or modify it
// under the te... |
#ifndef PROPSET2_H
#define PROPSET2_H
/*
constants for propset 2, most digic3 camera
WARNING:
The build uses tools/gen_propset_lua.sed to generate propset2.lua from this file
*/
#define PROPCASE_DRIVE_MODE 102
#define PROPCASE_FOCUS_MODE 133
#define PROPCASE_FLASH_MODE ... |
/*
* cxgb3i.h: Chelsio S3xx iSCSI driver.
*
* Copyright (c) 2008 Chelsio Communications, 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.
*
* Written by: Karen Xie (kxie@chelsio.c... |
/******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
*
* File Name : lsm303dlh.h
* Authors : MSH - Motion Mems BU - Application Team
* : Carmine Iascone (carmine.iascone@st.com)
* : Matteo Dameno (matteo.dameno@st.com)
* Version : V 1.0.1
* Date ... |
/*****************************************************************************
*
* Copyright (C) 2010 Thomas Volkert <thomas@homer-conferencing.com>
*
* This software is free software.
* Your are allowed to redistribute it and/or modify it under the terms of
* the GNU General Public License version 2 as pub... |
/* headers-check.c
*
* Test program to ensure all required headers are in the debian package,
* by Laszio <ezerotven@gmail.com>.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <wireshark... |
//
// EmulatorViewController.h
// emulator
//
// Created by Karen Tsai (angelXwind) on 2014/3/5.
// Copyright (c) 2014 Karen Tsai (angelXwind). All rights reserved.
//
#import <UIKit/UIKit.h>
#import <GLKit/GLKit.h>
@interface ViewController : GLKViewController
@end
|
/*
* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
* Copyright (C) 2004-2013 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* ... |
/*
* key derivation 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 vers... |
/*
* spawn.h - Lua configuration management header
*
* Copyright © 2009 Julien Danjou <julien@danjou.info>
*
* 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 Licens... |
/*
Copyright 2020 Ananya Kirti
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... |
/**********************************************************************
**
** Definition of QGPluginManager class
**
** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
**
** This file is part of the tools module of the Qt GUI Toolkit.
**
** This file may be used under the terms of the GNU General
** Public... |
struct foo {int a;};
typedef struct blah {int a;} name;
typedef struct {int a;} xxx;
|
/*
*
* This file is part of the FFTlib library. This library 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 library is distributed in the hope that it will be usef... |
/**
* Represents the data on a 2D plot as a set of (x,y) values connected
* by a line.
*/
#pragma once
#include "Plot2D.h"
#include <qwt_plot_curve.h>
#include <QString>
#include <memory>
namespace Carta {
namespace Lib {
namespace PixelPipeline {
class CustomizablePixelPipeline;
}
... |
/***************************************************************************
qgsproviderguimetadata.h
-------------------
begin : June 4th 2019
copyright : (C) 2019 by Peter Petrik
email : zilolv at gmail dot com
*********************... |
/**
******************************************************************************
* @file I2C/I2C_TwoBoards_ComIT/Inc/stm32f4xx_it.h
* @author MCD Application Team
* @version V1.0.1
* @date 26-February-2014
* @brief This file contains the headers of the interrupt handlers.
**************... |
#ifndef QFSOSTRINGMAP_H
#define QFSOSTRINGMAP_H
#include <QtDBus>
typedef QMap<QString, QString> QFsoStringMap;
Q_DECLARE_METATYPE(QFsoStringMap)
#endif // QFSOSTRINGMAP_H
|
/********************************************************************
* gnc-slots-sql.h: load and save data to SQL *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU ... |
/* capture_dlg.h
* Definitions for the "Capture Options" dialog and dialog windows popped
* up from it
*
* $Id: capture_dlg.h 46780 2012-12-26 12:24:55Z guy $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you ... |
/* 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 ... |
/* Aseprite
* Copyright (C) 2001-2013 David Capello
*
* 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 ... |
/*
Unix SMB/CIFS implementation.
RPC pipe client
Copyright (C) Tim Potter 2003
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 opti... |
/* This file is part of the Calligra project
* Copyright (C) 2005 Thomas Zander <zander@kde.org>
* Copyright (C) 2005 C. Boemann <cbo@boemann.dk>
*
* 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 F... |
#ifndef WXRC_H
#define WXRC_H
#include <wx/cmdline.h>
#include <wx/ffile.h>
#include <wx/filename.h>
#include <wx/hashset.h>
#include <wx/mimetype.h>
#include <wx/utils.h>
#include <wx/vector.h>
#include <wx/wfstream.h>
#include <wx/xml/xml.h>
WX_DECLARE_HASH_SET(wxString, ::wxStringHash, ::wxStringEqual, StringSet);... |
/*
* Routines for handling tunneling (sit, ipip, gre) device settings
*
* Copyright (C) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
*
* 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... |
/* sna-utils.h
* Definitions for SNA dissection.
*
* $Id$
*
* 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.
*
... |
#include <element.h>
int update_PLUT(UPDATE_FUNC_ARGS) {
if (1>rand()%100 && ((int)(5.0f*pv[y/CELL][x/CELL]))>(rand()%1000))
{
create_part(i, x, y, PT_NEUT);
}
return 0;
}
|
// clang-format off
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of ... |
/*
* Copyright (C) 2013-2014, 2016-2017 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licen... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/time.h>
#include "libhashish.h"
#include "analysis_common.h"
static void die_usage(void)
{
fputs("Usage: hashstr algorithm string\n", stderr);
exit(1);
}
int main(int argc, char *argv[])
{
hash_function_t fun;
if (arg... |
/**
* @file
* @author Chrisitan Urich <christian.urich@gmail.com>
* @version 1.0
* @section LICENSE
*
* This file is part of DynaMind
*
* Copyright (C) 2011-2012 Christian Urich
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* ... |
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "netdev/vcan.h"
const NetDevVTable vcan_vtable = {
.object_size = sizeof(VCan),
.create_type = NETDEV_CREATE_INDEPENDENT,
};
|
#pragma once
/*
* Copyright (C) 2016 Christian Browet
* http://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 v... |
#ifndef THR_COND_INCLUDED
#define THR_COND_INCLUDED
/* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; ve... |
/* Output stream that accumulates the output in memory.
Copyright (C) 2006-2007 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 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 Fr... |
//
// Imei.h
// Prey
//
// Created by Carlos Yaconi on 22-01-13.
// Copyright (c) 2013 Fork Ltd. All rights reserved.
//
#import "DataModule.h"
@interface Imei : DataModule
@end
|
/*
* Copyright 2004, 2005 PathScale, Inc. All Rights Reserved.
*/
/*
Copyright (C) 1999-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.1 of the GNU Lesser General Public License
as published by the Free... |
/*
Drawpile - a collaborative drawing program.
Copyright (C) 2019 Calle Laakkonen
Drawpile 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 option) a... |
/* -*- c++ -*- */
/*
* Copyright 2011 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... |
/*
* This file is part of EasyRPG Player.
*
* EasyRPG Player 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 option) any later version.
*
* EasyRPG Player... |
/*
* This file is part of Cleanflight.
*
* Cleanflight is free software. You can redistribute
* this software and/or modify this software 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 option)
* any later version.
... |
/*
* This program 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 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that i... |
/*
* 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 "PLMN-ValueTag.h"
int
PLMN_ValueTag_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint... |
#include "pluto/libpluto.h"
#include "isl/union_set.h"
#include "isl/union_map.h"
int another()
{
isl_ctx *ctx = isl_ctx_alloc();
isl_union_set *domains = isl_union_set_read_from_str(ctx,
"[p_0, p_1, p_2, p_3, p_4, p_5, p_7] -> { S_1[i0, i1] : i0 >= 0 and i0 <= p_0 and i1 >= 0 and i1 <= p_3 and p_2 >... |
// randequivalent.h
// 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, sof... |
// 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 ... |
/*
* Copyright 2010-2012 Fabric Engine Inc. All rights reserved.
*/
#ifndef _FABRIC_AST_REPORT_H
#define _FABRIC_AST_REPORT_H
#include <Fabric/Core/AST/Statement.h>
#include <Fabric/Core/AST/Expr.h>
namespace Fabric
{
namespace Util
{
class SimpleString;
};
namespace AST
{
class Report: publi... |
/*BHEADER**********************************************************************
* Copyright (c) 2008, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* This file is part of HYPRE. See file COPYRIGHT for details.
*
* HYPRE is free software; you can redistribute... |
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... |
#ifndef STATE_CONTROL_WOLF_H
#define STATE_CONTROL_WOLF_H
/*
* ====== WOLF'S ANIMATIONS ======
*/
#define TR_ANIMATION_WOLF_STAY_TO_IDLE 0
#define TR_ANIMATION_WOLF_IDLE_TO_STAY 1
#define TR_ANIMATION_WOLF_START_WALK 2
#define TR_ANIMATION_WOLF_WALK 3
#define TR_ANIMATION_WOLF_WALK_TO_CROUCH 4
#define TR_ANIMATION... |
/*
Copyright (C) 2000-2012 Novell, Inc
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 option) version 3.0 of the License. This library
... |
// -*-c++-*-
/*!
\file view_normal.h
\brief change view width to normal
*/
/*
*Copyright:
Copyright (C) Hidehisa AKIYAMA
This code 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
versio... |
/* radare2 - LGPL - Copyright 2015-2018 - pancake */
#ifndef R2_BIND_H
#define R2_BIND_H
// TODO: move riobind here too?
// TODO: move rprint here too
typedef int (*RCoreCmd)(void *core, const char *cmd);
typedef int (*RCoreCmdF)(void *user, const char *fmt, ...);
typedef int (*RCoreDebugBpHit)(void *core, void *bp)... |
/* Test file for mpfr_add_d
Copyright 2007-2016 Free Software Foundation, Inc.
Contributed by the AriC and Caramba 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 under the terms of the GNU Lesser General Public License as pu... |
//
// FDOException.h
// FoundationDataObjects
//
// Created by Doug on 1/4/09.
// Copyright 2009 Douglas Richardson. All rights reserved.
//
#import <Foundation/Foundation.h>
#define kFDOInvalidArgumentException @"FDOInvalidArgument"
#define kFDOCommandClosedException @"FDOCommandClosedException"
#define kFDOType... |
/* CFUUID.h
Copyright (c) 1999-2018, Apple Inc. and the Swift project authors
Portions Copyright (c) 2014-2018, Apple Inc. and the Swift project authors
Licensed under Apache License v2.0 with Runtime Library Exception
See http://swift.org/LICENSE.txt for license information
See http://swift.org/CONTRIBUTORS.txt... |
/* libwmf ("ipa/x/region.h"): library for wmf conversion
Copyright (C) 2000 - various; see CREDITS, ChangeLog, and sources
The libwmf 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; ei... |
/*
*
* 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... |
#ifndef SHADOW_H
#define SHADOW_H
// platform specific defines
#include <_ShadowOs.h>
#include <_ShadowArch.h>
// primitives
#include <standard/Boolean.h>
#include <standard/Byte.h>
#include <standard/UByte.h>
#include <standard/Short.h>
#include <standard/UShort.h>
#include <standard/Int.h>
#include <standard/UInt.h... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace MediaConvert
{
namespace Model
{
enum class AfdSignaling
... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/frauddetector/FraudDetector_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonVa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.