text
stringlengths
4
6.14k
/***********************************************************************/ /* */ /* Objective Caml */ /* */ /* Xavier Ler...
/* * Copyright 2006, Haiku. * Distributed under the terms of the MIT License. * * Authors: * Stephan Aßmus <superstippi@gmx.de> */ #ifndef VOLUME_SLIDER_H #define VOLUME_SLIDER_H #include <Control.h> class VolumeSlider : public BControl { public: VolumeSlider(BRect frame, const char* name...
/* * Copyright (C) 2011 Samsung Electronics Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list...
/***********************************************************************/ /* */ /* Objective Caml */ /* */ /* Xavier Ler...
/* Program to cut a sphere out of a gadget snapshot gcc -std=c99 -lm -o a.out whatever.c libgad.o */ #include <stdlib.h> #include <stdio.h> #include <math.h> #include <time.h> #include <string.h> #include "libgad.h" #define USE 63 void usage() { fprintf(stderr," v0.01\n"); fprintf(stderr," -i <input file ...
#ifndef __DMDEV_H__ #define __DMDEV_H__ typedef struct { struct list_head list; uint32_t type; struct acpi_device *acpi_dev; struct pci_dev *pci_dev; }dmdev_t; #endif /* __DMDEV_H_ */
#import <UIKit/UIKit.h> @class NoteColorView; @protocol NoteColorViewDelegate - (void)colorView:(NoteColorView *)view didSelectIndex:(NSUInteger)index color:(UIColor *)color; @end @interface NoteColorView : UIView @property (weak) id<NoteColorViewDelegate> IBOutlet delegate; - (void)show; @end
// // NVPanel.h // Anvil // // Created by Elliott Kember on 30/07/2012. // Copyright (c) 2012 Riot. All rights reserved. // @interface NVPanel : NSPanel @end
// csatr_includeguard1.v.h -*-C++-*- #ifndef INCLUDED_CSATR_INCLUDEGUARD0 #define INCLUDED_CSATR_INCLUDEGUARD1 #if !defined(INCLUDED_BDES_IDENT) # include <bdes_ident.h> #endif #ifndef INCLUDED_CSASCM_VERSION # include <csascm_version.h> #endif #endif // ----------------...
/** * This header is generated by class-dump-z 0.1-11o. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. */ #import <WebKit/DOMHTMLObjectElement.h> @interface DOMHTMLObjectElement (UIWebInteraction) -(BOOL)showsTapHighlight; @end
/* * object.h */ #ifndef _object_H_ #define _object_H_ #include <string.h> #include "../external/cJSON.h" #include "../include/list.h" #include "../include/keyValuePair.h" #include "../include/binary.h" typedef struct object_t { void *temporary; } object_t; object_t *object_create(); void object_free(object...
/* * Block.h * * Copyright 2008-2009 Apple, Inc. 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 Software without restriction, including without limitation the rights *...
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
/* bParse Copyright (c) 2006-2010 Charlie C & Erwin Coumans http://gamekit.googlecode.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 use of this software. Permission is granted to anyone to use this sof...
// Copyright 2013 Google Inc. #import <Foundation/Foundation.h> #import <GoogleCast/GCKDefines.h> @class GCKDevice; @class GCKFilterCriteria; @protocol GCKDeviceScannerListener; /** * A class that (asynchronously) scans for available devices and sends corresponding notifications * to its listener(s). This class i...
#include "../libc/_raw_print.h" int main() { print_int(7); print_int(42); print_int(123); print_int(0); //print_int(-99); return 0; }
/* * Copyright (c) 2011, Vicent Marti * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIM...
#ifndef DRAWERDP_H #define DRAWERDP_H #include "defines.h" #include "drawer.h" #include "dp/continuousdp.h" class DrawerDP : public Drawer { public: DrawerDP(); virtual ~DrawerDP(); virtual int Draw(mglGraph *gr); void Proc(QString fname, bool ref = false); virtual void reProc();...
//@ #include "arrays.gh" //@ #include "counting.gh" #include "malloc.h" #include "stdlib.h" #include "threading.h" static int cell; /*@ predicate_family_instance thread_run_pre(m)(void *data, any info) = ticket(integer, &cell, ?frac) &*& [frac]integer(&cell, _); predicate_family_instance thread_run_post(m...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
// // MJNavigationController.h // Common // // Created by 黄磊 on 16/4/6. // Copyright © 2016年 Musjoy. All rights reserved. // #import <UIKit/UIKit.h> #ifndef kNavTintColor #define kNavTintColor [UIColor colorWithRed:0 green:122.0/255.0 blue:1 alpha:1] #endif @interface MJNavigationController : UINavigationControl...
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use ...
/**************************************************************************** * $Id:: wdt.h 3635 2012-10-31 00:31:46Z usb00423 $ * Project: NXP LPC8xx WDT example * * Description: * This file contains WDT code header definition. * *****************************************...
static PyObject * basic_hello(PyObject *self) { const char * msg = "Hello world"; return PyUnicode_FromString(msg); }
/* 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 ...
/* * HP iPAQ h1910/h1915 Buttons driver * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for * more details. * * Copyright (C) 2005-2007 Pawel Kolodziejski * Copyright (C) 2003 Joshua Wise * */ #include <linu...
/* EcoSwarm library for individual-based modeling, last revised April 2013. Developed and maintained by Steve Railsback, Lang, Railsback & Associates, Steve@LangRailsback.com; Colin Sheppard, critter@stanfordalumni.org; and Steve Jackson, Jackson Scientific Computing, McKinleyville, California. Development sponsored b...
/* * delaycontrols.h - declaration of DelayControl class. * * Copyright (c) 2014 David French <dave/dot/french3/at/googlemail/dot/com> * * This file is part of LMMS - https://lmms.io * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * Licens...
/* * Early serial console for 8250/16550 devices * * (c) Copyright 2004 Hewlett-Packard Development Company, L.P. * Bjorn Helgaas <bjorn.helgaas@hp.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the...
/* Copyright 2007,2013 Theo Berkau This file is part of Iapetus. Iapetus 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 versio...
/* * board IDME driver header file * * Copyright (C) 2011 Amazon 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 version 2 as * published by the Free Software Foundation. */ #ifndef _BOWSER_IDME_IN...
/****************************************************************************** * * Copyright(c) 2009-2012 Realtek Corporation. 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 F...
/** * @file interrupts_s6/error_instance9.c * * @section desc File description * * @section copyright Copyright * * Trampoline Test Suite * * Trampoline Test Suite is copyright (c) IRCCyN 2005-2007 * Trampoline Test Suite is protected by the French intellectual property law. * * This program is free softwar...
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2017 UniPro <ugene@unipro.ru> * http://ugene.net * * 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 * ...
/* * gedit-file-browser-view.h - Gedit plugin providing easy file access * from the sidepanel * * Copyright (C) 2006 - Jesse van den Kieboom <jesse@icecrew.nl> * * 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 F...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/xr19rel/WINNT_5.2_Depend/mozilla/netwerk/base/public/nsIStreamListenerTee.idl */ #ifndef __gen_nsIStreamListenerTee_h__ #define __gen_nsIStreamListenerTee_h__ #ifndef __gen_nsIStreamListener_h__ #include "nsIStreamListener.h" #endif /* For IDL files th...
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Systems and Networking, University of Augsburg, Germany * * 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 S...
// -*- mode: cpp; mode: fold -*- // Description /*{{{*/ // $Id: sha1.h,v 1.3 2001/05/07 05:05:47 jgg Exp $ /* ###################################################################### SHA1SumValue - Storage for a SHA-1 hash. SHA1Summation - SHA-1 Secure Hash Algorithm. This is a C++ interface to a set...
#ifndef _TIMGFILTERDGBOB_H_ #define _TIMGFILTERDGBOB_H_ #include "TimgFilter.h" DECLARE_FILTER(TimgFilterDGbob, public, TimgFilter) private: struct TtempPict { void done(void) { buf.clear(); } TffPict p; Tbuffer buf; } *picts0[5], **picts; enum { PRVPRV = -2, PRV = -1, ...
/* * Tiny Code Generator for QEMU * * Copyright (c) 2008 Fabrice Bellard * * 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 ...
/* SPDX-License-Identifier: LGPL-2.1+ */ #include <errno.h> #include <netinet/in.h> #include <stdbool.h> #include <stddef.h> #include <string.h> #include <sys/un.h> #include <unistd.h> #include "alloc-util.h" #include "fd-util.h" #include "fs-util.h" #include "log.h" #include "macro.h" #include "missing_socket.h" #in...
/*--------------------------------------------------------------------*/ /*--- The thread state. pub_tool_threadstate.h ---*/ /*--------------------------------------------------------------------*/ /* This file is part of Valgrind, a dynamic binary instrumentation framework. Copyright (...
#include <stdio.h> int main(int argv,char* argc[]) { printf("hello world \n"); return 0; }
/************************************************************************ * RSTP library - Rapid Spanning Tree (802.1D-2004) * Copyright (C) 2001-2003 Optical Access * Author: Alex Rozin * * This file is part of RSTP library. * * RSTP library is free software; you can redistribute it and/or modify it * ...
/* */ #ifndef SQUID_IPC_KID_H #define SQUID_IPC_KID_H #include "SquidString.h" /// Squid child, including current forked process info and /// info persistent across restarts class Kid { public: #if _SQUID_NEXT_ typedef union wait status_type; #else typedef int status_type; #endif /// keep restarting un...
/* ============================================================ * * This file is a part of digiKam project * http://www.digikam.org * * Date : 2010-12-15 * Description : white balance color correction settings container * * Copyright (C) 2007-2014 by Gilles Caulier <caulier dot gilles at gmail dot com> ...
/* Copyright (C) 2003 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT AN...
/* gtkmenuitempeer.c -- Native implementation of GtkMenuItemPeer Copyright (C) 1999 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 Foundat...
/* $Id: SUPSvcInternal.h $ */ /** @file * VirtualBox Support Service - Internal header. */ /* * Copyright (C) 2008-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or mo...
/********************************************************************* * * Filename: irmod.c * Version: 0.9 * Description: IrDA stack main entry points * Status: Experimental. * Author: Dag Brattli <dagb@cs.uit.no> * Created at: Mon Dec 15 13:55:39 1997 * Modified at: Wed...
#include "testutils.h" #include "memxor.h" #define MAX_SIZE 256 static uint8_t * set_align(uint8_t *buf, unsigned align) { unsigned offset; /* An extra redzon char at the beginning */ buf++; offset = (uintptr_t) (buf) % sizeof(unsigned long); if (offset < align) buf += (align - offset); else if (offs...
/* $NoKeywords:$ */ /** * @file * * PCIe family specific services. * * * * @xrefitem bom "File Content Label" "Release Content" * @e project: AGESA * @e sub-project: GNB * @e \$Revision: 34897 $ @e \$Date: 2010-07-13 19:07:10 -0700 (Tue, 13 Jul 2010) $ * */ /* ****************************************...
/* * Copyright (c) 2012 Deng Hengyi. * * This test case is to test atomic store operation. * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #inclu...
/*************************************************************************** kvncview.h - widget that shows the vnc client ------------------- begin : Thu Dec 20 15:11:42 CET 2001 copyright : (C) 2001-2003 by Tim Jansen email ...
/* * Copyright (C) International Business Machines Corp., 2000-2002 * Portions Copyright (C) Christoph Hellwig, 2001-2002 * * 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; eithe...
/* * * Copyright (c) International Business Machines Corp., 2001 * * 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 l...
#ifndef COMPILER_H_ #define COMPILER_H_ #include <compiler/LogicalFactory.h> #include <compiler/ConstantFactory.h> #include <compiler/MixtureFactory.h> #include <compiler/CounterTab.h> #include <compiler/ObsFuncTab.h> #include <distribution/DistTab.h> #include <function/FuncTab.h> #include <model/BUGSModel.h> #include...
#ifndef _X_NODE_H_ #define _X_NODE_H_ #include <ev.h> #include <stddef.h> #include "list.h" #include "hash.h" #include "xltop.h" enum { X_HOST, X_JOB, X_CLUS, X_U, X_SERV, X_FS, X_V, NR_X_TYPES, }; #define X_U_NAME "ALL" #define X_V_NAME "ALL" #define K_TICK 10.0 #define K_WINDOW 600.0 extern double...
/* * iSCSI over TCP/IP Data-Path lib * * Copyright (C) 2008 Mike Christie * Copyright (C) 2008 Red Hat, Inc. All rights reserved. * maintained by open-iscsi@googlegroups.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publis...
void S_Init( void ); void S_Shutdown( void ); // if origin is NULL, the sound will be dynamically sourced from the entity void S_MuteSound(int entityNum, int entchannel); void S_StartSound( vec3_t origin, int entnum, int entchannel, sfxHandle_t sfx ); void S_StartLocalSound( sfxHandle_t sfx, int channelNum )...
/* 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 te...
/* init/start/stop/exit stream functions Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publi...
/* * @file fluid_render_util.h * @Brief class FluidRenderUtil * @author Wei Chen * * This file is part of Physika, a versatile physics simulation library. * Copyright (C) 2013- Physika Group. * * This Source Code Form is subject to the terms of the GNU General Public License v2.0. * If a copy of the GPL was...
/* * spectrumMngmntMgr.h * * Copyright(c) 1998 - 2010 Texas Instruments. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without...
/* EIBD eib bus access and management daemon Copyright (C) 2005-2011 Martin Koegler <mkoegler@auto.tuwien.ac.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 o...
/* * Driver for Xceive XC4000 "QAM/8VSB single chip tuner" * * Copyright (c) 2007 Steven Toth <stoth@linuxtv.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 o...
/* * Copyright (c) 2002, Intel Corporation. All rights reserved. * Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. */ /* * return codes */ #define PT...
/* * COM1 NS16550 support */ #include <linux/config.h> #include <linux/serialP.h> #include <linux/serial_reg.h> #include <asm/serial.h> #define SERIAL_BAUD 9600 extern void outb(int port, unsigned char val); extern unsigned char inb(int port); extern unsigned long ISA_io; static struct serial_state rs_table[RS_TA...
/**************************************************************************** ** ** Copyright (C) Qxt Foundation. Some rights reserved. ** ** This file is part of the QxtCore module of the Qxt library. ** ** This library is free software; you can redistribute it and/or modify it ** under the terms of the Common ...
/* * $Id: config.h,v 1.3 2003/09/02 01:17:19 pauli Exp $ * * AUTHOR: Duane Wessels * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * * Squid is the result of efforts by numerous individuals from * the Internet community; see the CONT...
/*************************************************************************** * Copyright (C) 2008-2010 by Andrzej Rybczak * * electricityispower@gmail.com * * * * This pr...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include "../common/define.h" #include "../common/lot.h" #include "../common/lotlist.h" int main (int argc, char *argv[]) { int i; int lotNr; int count; FILE *newudfilefp; struct udfile...
/* * Phusion Passenger - http://www.modrails.com/ * Copyright (C) 2008 Phusion * * Phusion Passenger is a trademark of Hongli Lai & Ninh Bui. * * 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...
/* Copyright (C) 2006 - 2011 ScriptDev2 <http://www.scriptdev2.com/> * This program is free software licensed under GPL version 2 * Please see the included DOCS/LICENSE.TXT for more information */ #ifndef DEF_BLOOD_FURNACE_H #define DEF_BLOOD_FURNACE_H enum { MAX_ENCOUNTER = 3, MAX_ORC_WAV...
/* * This file is part of the coreboot project. * * Copyright (c) 2011 Sven Schnelle <svens@stackframe.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; version 2 of * the License. ...
//---------------------------------------------------------------------------------------------------------------------- // // GALGAS Command Line Interface Options // // This file is part of libpm library // // Copyright (C) 2015, ..., 2015 Pierre Molinaro. // // e-mail : pierre@pcmolinaro.name // // This library...
/* * include/asm-microblaze/io.h -- Misc I/O operations * * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au> * Copyright (C) 2001,02 NEC Corporation * Copyright (C) 2001,02 Miles Bader <miles@gnu.org> * * This file is subject to the terms and conditions of the GNU General * Public License. ...
#include <stdlib.h> #include <string.h> #include <stdio.h> #include <syslog.h> #include "syslogd.h" #include "syslogd_config.h" #define __LOG_FILE "/var/log/messages" static int syslogd_level(const char *name) { int pri; if (strcmp(name, "none") == 0) { return LOG_NONE; } pri = syslog_name_to_pri(name); if...
// Copyright 2012 the V8 project authors. 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 ...
/* SPDX-License-Identifier: GPL-2.0 */ /* * include/configs/porter.h * This file is Porter board configuration. * * Copyright (C) 2015 Renesas Electronics Corporation * Copyright (C) 2015 Cogent Embedded, Inc. */ #ifndef __PORTER_H #define __PORTER_H #include "rcar-gen2-common.h" #define CONFIG_SYS_INIT_SP...
/* Copyright (C) 2001-2003 KSVG Team This file is part of the KDE project 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 (at your ...
/**************************************************************************/ /* */ /* Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/. */ /* */ /* NXCOMP, N...
/* * Copyright (C) 2016 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
/* * get_file_size.c - Part of AFD, an automatic file distribution program. * Copyright (c) 1996 - 2009 Deutscher Wetterdienst (DWD), * Holger Kiehl <Holger.Kiehl@dwd.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General...
/* * Spinlock Manager -- Translate SuperCore Status * * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * * $Id: pspinlo...
/* This file is part of the KDE project Copyright (C) 2010 Colin Guthrie <cguthrie@mandriva.org> 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 distri...
/* This file is a part of the NVDA project. URL: http://www.nvda-project.org/ Copyright 2010-2012 World Light Information Limited and Hong Kong Blind Union. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2.0, as published by...
/* 描述 根据输入的半径值,计算球的体积。 输入 输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。(0<R<100) 输出 输出对应的球的体积,对于每组输入数据,输出一行,计算结果四舍五入为整数 Hint:PI=3.1415926 样例输入 1 1.5 样例输出 4 14 */ #include <stdio.h> //#define PI 3.1415926 int main(int argc, char *argv[]) { double r,s1; int s2; while (~scanf("%lf",&r)){ // s1 =4/3.0*PI*r*r*r;//从左到右...
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD 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. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
#ifndef _FT1000_USB_H_ #define _FT1000_USB_H_ /*Jim*/ #include "../ft1000.h" #include "ft1000_ioctl.h" #define FT1000_DRV_VER 0x01010403 #define MAX_NUM_APP 6 #define MAX_MSG_LIMIT 200 #define NUM_OF_FREE_BUFFERS 1500 #define PSEUDOSZ 16 #define SUCCESS ...
/* * Copyright (c) 2003 Century Software, Inc. All Rights Reserved. * * This file is part of the PIXIL Operating Environment * ...
/****************************************************************************** * * * Copyright (C) 2015, 2016, 2017 Xilinx, 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 modifie...
/* Copyright (c) 2010 Samuel Lidén Borell <samuel@kodafritt.se> 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...
typedef void (*tgp_func)(running_machine &machine); enum {FIFO_SIZE = 256}; enum {MAT_STACK_SIZE = 32}; class model1_state : public driver_device { public: model1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } struct view *m_view; stru...
/* Copyright (C) 1997-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
#ifndef SCRIPT_API_H #define SCRIPT_API_H #include "flt.h" // Return values from 'script_run' #define SCRIPT_RUN_ENDED 0 #define SCRIPT_RUN_RUNNING 1 #define SCRIPT_RUN_ERROR -1 enum { SCRIPT_SHOOT_HOOK_PRESHOOT=0, SCRIPT_SHOOT_HOOK_SHOOT, SCRIPT_SHOOT_HOOK_RAW, SCRIPT_NUM_SHOOT_HO...
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
/* Smiley Smiley * By Henk Poley * * Displays lots of Smileys in a ( = the same) smiley pattern. * * Idea taken from "SmallC4.1 for UsGard"-compiler. * * First ported to Ti8xcc. * Later on ported to the Z88DK. */ #pragma string name Smiley Smiley (picture) #pragma output nostreams #pragma data ic...
/* * Copyright (C) 2008 Samsung Electronics, 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 will b...
/* test_keylister.h This file is part of libkleopatra's test suite. Copyright (c) 2004 Klarälvdalens Datakonsult AB Libkleopatra 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...