text
stringlengths
4
6.14k
#include <stdio.h> #define _gc() getchar_unlocked() #define _pc(x) putchar_unlocked(x) #define NL() putchar_unlocked('\n') #define SS(x) scanf("%s",&x) #define PS(x) printf("%s",x) #define SC(x) scanf("%c",&x) #define PC(x) scanf("%c",x) typedef long long int I; inline I getint(){I x=0,c=_gc();while(!(c>='0'&&c<='9'))...
/* 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 ...
#if defined(PEGASUS_OS_HPUX) # include "UNIX_StorageRedundancySetPrivate_HPUX.h" #elif defined(PEGASUS_OS_LINUX) # include "UNIX_StorageRedundancySetPrivate_LINUX.h" #elif defined(PEGASUS_OS_DARWIN) # include "UNIX_StorageRedundancySetPrivate_DARWIN.h" #elif defined(PEGASUS_OS_AIX) # include "UNIX_StorageRedundancySet...
// // Created by Konstantin Kukin on 26/12/16. // #ifndef TGBOT_INPUTLOCATIONMESSAGECONTENT_H #define TGBOT_INPUTLOCATIONMESSAGECONTENT_H #include <memory> namespace TgBot { /** * Represents the content of a location message to be sent as the result of an inline query. * @ingroup types */ class InputLocationMessage...
#ifndef BMI_STORM_H_INCLUDED #define BMI_STORM_H_INCLUDED #if defined(__cplusplus) extern "C" { #endif #include "bmi.h" BMI_Model* register_bmi_storm(BMI_Model *model); #if defined(__cplusplus) } #endif #endif
// // The orbs // #ifndef _ORB_ #define _ORB_ // // The size of the arena the orbs are contained in. // #define ORB_ARENA (32.0F) // // The orbs // #define ORB_FLAG_USED (1 << 0) #define ORB_FLAG_COLLIDED (1 << 1) // Collided with the landscape last process typedef struct { ULONG flag; float x; float y;...
/*============================================================================== Copyright (c) 2012 QUALCOMM Austria Research Center GmbH. All Rights Reserved. Qualcomm Confidential and Proprietary @file VideoBackgroundConfig.h @brief Header file for VideoBackgroundConf...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holdi...
#import <React/RCTBridgeModule.h> #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, RNImagePickerTarget) { camera = 1, library }; @interface ImagePickerManager : NSObject <RCTBridgeModule> @end
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #ifndef GLOBALSTATE_H #define GLOBALSTATE_H #ifdef _WIN32 #pragma once #endif typedef enum { GLOBAL_OFF = 0, ...
/* * Auto generated Run-Time-Environment Component Configuration File * *** Do not modify ! *** * * Project: 'App' * Target: 'App_Stand' */ #ifndef RTE_COMPONENTS_H #define RTE_COMPONENTS_H #endif /* RTE_COMPONENTS_H */
#include <stdio.h> #define TABSTOP 4 main(int argc, char *argv[]) { int i,c,tab; int tabstop=TABSTOP; while(--argc > 0 && (*++argv)[0]=='-') while(c=*++argv[0]) switch(c){ case 't': break; default: argc=0; break; } if(argc > 0) tabstop=atoi(*argv); tab=0; while ((c=getchar())!...
#include "substdio.h" #include "subfd.h" #include "stralloc.h" #include "dns.h" #include "dnsdoe.h" #include "ip.h" #include "ipalloc.h" #include "exit.h" stralloc sa = {0}; ipalloc ia = {0}; void main(argc,argv) int argc; char **argv; { if (!argv[1]) _exit(100); if (!stralloc_copys(&sa,argv[1])) { substdio_puts...
30 mtime=1384256622.573415309 29 atime=1394144033.82212979 30 ctime=1384256622.573415309
/* * Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
/** ****************************************************************************** * @file CortexM/BitBand/stm32f4xx_it.c * @author MCD Application Team * @version V1.3.0 * @date 13-November-2013 * @brief Main Interrupt Service Routines. * This file provides template for all exceptions ...
/* u8x8_message.c Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/) Copyright (c) 2016, olikraus@gmail.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
#ifndef __adc_h__ #define __adc_h__ extern uint16_t analog_read(uint8_t); extern void adc_init(void); #endif
#include <string> #ifndef _Person_H #define _Person_H class Person { protected: std::string firstname; std::string lastname; public: Person(std::string first, std::string last); ~Person(); std::string GetName(); void SetFirstName(std::string name); //copy constructor Person(const Person& p); }; #endif
/// \file /// \brief \b [Internal] Generates a huffman encoding tree, used for string and global compression. /// /// This file is part of RakNet Copyright 2003 Kevin Jenkins. /// /// Usage of RakNet is subject to the appropriate license agreement. /// Creative Commons Licensees are subject to the /// license found at ...
// // KeyboardLetterLayer.h // SoundBoard // // Created by Klein, Greg on 1/23/15. // Copyright (c) 2015 Pure Virtual Studios, LLC. All rights reserved. // #import <QuartzCore/QuartzCore.h> #import "KeyboardTypedefs.h" @import UIKit; @interface KeyboardKeyLayer : CATextLayer + (instancetype)layerWithText:(NSStri...
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization // ...
#include "mlvalues.h" #include "memory.h" #include "callback.h" value mycallback1(value fun, value arg) { value res; res = callback(fun, arg); return res; } value mycallback2(value fun, value arg1, value arg2) { value res; res = callback2(fun, arg1, arg2); return res; } value mycallback3(value fun, value...
/******************************************************************************* *//** * @mainpage * @section section1 Introduction: * Having studied this LAB you will able to: \n * - Understand the advanced Timer functions \n * - Study the programs related to the Advanced timer * * ...
#ifndef __al_included_allegro5_gl_ext_h #define __al_included_allegro5_gl_ext_h /* * MSVC declares the following extensions and MinGW doesn't. In order to * export the same symbols on both platforms we removed the extensions from * MSVC. */ #ifdef ALLEGRO_MSVC #undef GL_EXT_vertex_array #undef ...
// // Lockbox.h // // Created by Mark H. Granoff on 4/19/12. // Copyright (c) 2012 Hawk iMedia. All rights reserved. // @interface Lockbox : NSObject +(BOOL)setString:(NSString *)value forKey:(NSString *)key; +(NSString *)stringForKey:(NSString *)key; +(BOOL)setArray:(NSArray *)value forKey:(NSString *)key; +(NSA...
/* recipf4 - for each of four float slots, compute reciprocal. Copyright (C) 2006, 2007 Sony Computer Entertainment 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: * Redist...
/* Package: dyncall Library: dyncallback File: dyncallback/dyncall_args_x86.c Description: Callback's Arguments VM - Implementation for x86 License: Copyright (c) 2007-2009 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, mo...
// // ViewController.h // UINavigationBarTest01 // // Created by bob on 16/11/25. // Copyright © 2016年 bob. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
// // UIView+SDExtension.h // SDRefreshView // // ##################################################################################### // 为了满足您的个性化需求,该库属性基本上都是暴露的,只要一层一层往下看,应该就可以找到你需要的属性进行修改。:) // 如有问题请加qq:619023485 // 也可以发送邮件到619023485@qq.com,mingyi_126.com或shionIsMyName@gmail.com. // #########################...
/***************************************************************************/ /* */ /* smooth.c */ /* */ /* ...
// Copyright (c) 2017 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef ATOM_RENDERER_ATOM_AUTOFILL_AGENT_H_ #define ATOM_RENDERER_ATOM_AUTOFILL_AGENT_H_ #include <vector> #include "base/memory/weak_ptr.h" #include "content/public/renderer/render...
const char *ps_txt[] = { "%%BeginProlog", "/DotDict 200 dict def", "DotDict begin", "", "/setupLatin1 {", "mark", "/EncodingVector 256 array def", " EncodingVector 0", "", "ISOLatin1Encoding 0 255 getinterval putinterval", "EncodingVector 45 /hyphen put", "", "% Set up ISO Latin 1 character encoding", "/starnetISO {", ...
/* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1....
#ifndef LANGREFCOUNT_H #define LANGREFCOUNT_H #include <vector> #include <map> #include <set> #include <QString> class QFileInfo; /** * @brief Loads and reference counts language information. */ class LangRegistry { static const QString DIR; public: struct LangEntry { LangEntry() : refs{0}, buildsys(""),...
/* * Copyright (C) 2005-2016 Junjiro R. Okajima * * This program, aufs 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...
/* Hey EMACS -*- linux-c -*- */ /* $Id: detect.c 663 2004-04-28 16:25:13Z tijl $ */ /* libticables - link cable library, a part of the TiLP project * Copyright (C) 1999-2004 Romain Lievin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
/* type_util.h * Types utility definitions * * $Id: type_util.h 47938 2013-02-28 14:09:46Z rbalint $ * * 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 oSIP library implements the Session Initiation Protocol (SIP -rfc3261-) Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Aymeric MOIZARD jack@atosc.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...
/* Get calling thread's ID. Copyright (C) 2000, 2008 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 Library General Public License as published by the Free Software Foundation;...
/* * Copyright (C) 2012 Samsung Electronics. * huangshr<huangshr@allwinnertech.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 Free Software Foundation. */ #include <linux/kernel.h> #include <linu...
/* ============================================================ * * This file is a part of digiKam project * http://www.digikam.org * * Date : 2000-12-05 * Description : base class for sidebar widgets * * Copyright (C) 2009 by Johannes Wienke <languitar at semipol dot de> * * This program is free softw...
/***************************************************************************** * speex.c : libspeex DSP resampler ***************************************************************************** * Copyright © 2011 Rémi Denis-Courmont * * This program is free software; you can redistribute it and/or modify it * under...
/* Memory handling for libdw. Copyright (C) 2003, 2004 Red Hat, Inc. Written by Ulrich Drepper <drepper@redhat.com>, 2003. This program is Open Source software; you can redistribute it and/or modify it under the terms of the Open Software License version 1.0 as published by the Open Source Initiative. ...
/* iobuf.h - I/O buffer * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. * * This file is part of GNUPG. * * GNUPG 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...
/**************************************************************************** ** $Id: .emacs,v 1.3 2006/02/20 15:06:53 gis Exp $ ** ** Created : 2006 ** ** Copyright (C) 2006 Carsten Pfeiffer <pfeiffer@kde.org> ** ****************************************************************************/ #ifndef FILECACHE_H #define...
/*************************************************************************** * Copyright (C) 2007 by * * Lisandro Damián Nicanor Pérez Meyer - perezmeyer en/at gmail.com * * * * This pr...
/* Copyright (C) 2015-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 ...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager Wireless Applet -- Display wireless access points and allow user control * * Dan Williams <dcbw@redhat.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
/*************************************************************************** * MDP: IPS Patcher. * * * * Copyright (c) 1999-2002 by Stéphane Dallongeville * * Copyright...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2014-2018 Broadcom * All rights reserved. */ #ifndef _BNXT_IRQ_H_ #define _BNXT_IRQ_H_ struct bnxt_irq { rte_intr_callback_fn handler; unsigned int vector; uint8_t requested; char name[RTE_ETH_NAME_MAX_LEN + 2]; }; struct bnxt; int bnxt_free_int(str...
/* Copyright 2005-2016 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks 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 Foundat...
#include "font_data.h" #include <stdint.h> #include <sys/types.h> #include <unistd.h> #include "picture_t.h" void osd_print(struct picture_t *pic, const char *str) { int i; for(i=0; i<16; i++){ int j = 0; const char *p = str; while(*p){ uint8_t tmp = ASCII[*p-32][i]; int k; for(k=0; k<8; k++){ uin...
/*********************************************************************** Geoid - Class to represent geoids, actually reference ellipsoids, to support coordinate system transformations between several spherical or ellipsoidal coordinate systems commonly used in geodesy. Copyright (c) 2009-2010 Oliver Kreylos This file ...
#pragma once /* * Copyright (C) 2005-2017 Team KODI * http://kodi.tv * * 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 vers...
// license:BSD-3-Clause // copyright-holders:Nicola Salmoria, Andreas Naive, Charles MacDonald /*************************************************************************** Hitachi FD1089A/FD1089B encryption emulation **************************************************************************** Copyright Nicol...
/* Copyright (C) 2005, 2010 - Cryptic Sea This file is part of Gish. Gish 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 p...
/* * (C) Copyright 2012, 2013 * Emcraft Systems, <www.emcraft.com> * Alexander Potashev <aspotashev@emcraft.com> * Vladimir Khusianov <vlad@emcraft.com> * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it unde...
/* * Copyright (C) 2009 Apple Inc. All rights reserved. * Copyright (C) 2009 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 ...
/* iqc.h This file is part of a program that implements a Software-Defined Radio. Copyright (C) 2013 Warren Pratt, NR0V 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 Lice...
// // Visopsys // Copyright (C) 1998-2015 J. Andrew McLaughlin // // 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 versi...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> // Mono.Security.X509.X509Certificate struct X509Certificate_t850; // System.Byte[] struct ByteU5BU5D_t104; // System.Security.Cryptography.DS...
#ifndef _XT_SERVICE_H #define _XT_SERVICE_H /* * Copyright (C) 2006-2012, BalaBit IT Ltd. * This program/include file 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 ...
/* * mptsd input handling header file * Copyright (C) 2010-2011 Unix Solutions Ltd. * * 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 distributed in the hop...
/** * @file XMLHandler.h * @brief XMLHandler interface * @author Ben Bornstein * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://sbml.org for more * information about SBML, and the latest version of libSBML. * * Copyrigh...
#include "config.h" #include <sys/types.h> #include <sys/quota.h> #include <errno.h> #include <stdio.h> #include "pot.h" static int copy_user_quota_limits(const char *block_device, uid_t from, uid_t to) { struct dqblk dq; if (quotactl(QCMD(Q_GETQUOTA, USRQUOTA), block_device, from, (caddr_t) & dq) == 0) { if (q...
/* Target-dependent code for the GNU Hurd. Copyright (C) 2002-2014 Free Software Foundation, Inc. This file is part of GDB. 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 vers...
// Aseprite Base Library // Copyright (c) 2001-2013 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #include <stdexcept> #include <windows.h> #include <shlobj.h> #include <sys/stat.h> #include "base/path.h" #include "base/string.h" #include "base...
/* * This file is part of the coreboot project. * * Copyright (C) 2013 Google 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; version 2 of the License. * * This program is distri...
/* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License...
/* type_util.h * Types utility definitions * * $Id$ * * 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 License * as published by...
/* * intelmid.h - Intel Sound card driver for MID * * Copyright (C) 2008-10 Intel Corp * Authors: Harsha Priya <priya.harsha@intel.com> * Vinod Koul <vinod.koul@intel.com> * Dharageswari R <dharageswari.r@intel.com> * KP Jeeja <jeeja.kp@intel.com> * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
#ifndef __MAIN_MENU_GUI_LAYER_H__ #define __MAIN_MENU_GUI_LAYER_H__ #include "cocos2d.h" #include "MainMenuScene.h" class MainMenuGUILayer : public cocos2d::Layer { public: virtual bool init(); CREATE_FUNC(MainMenuGUILayer); // eventy void menuPlayCallback(Ref* pSender); void menuOptionsCallback(Ref* pSender)...
/* packet-q931.h * Declarations of exported routines and tables for Q.931 and Q.2931 frame * disassembly * Guy Harris <guy@alum.mit.edu> * * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 * * This program is free software; you can redistribute it and/o...
/* * Copyright (C) 2010, 2011 Tuomo Penttinen, all rights reserved. * * Author: Tuomo Penttinen <tp@herqq.org> * * This file is part of Herqq UPnP (HUPnP) library. * * Herqq UPnP is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as publish...
/* * Asus MyPal A716 GPO Register driver * * 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. * * Copyright (C) 2005-2007 Pawel Kolodziejski */ #include <linux/kernel.h> #in...
/* -*- C++ -*- */ //============================================================================= /** * @file FILE.h * * FILE.h,v 4.24 2004/06/20 14:37:36 jwillemsen Exp * * @author Gerhard Lenzer */ //============================================================================= #ifndef ACE_FILE_H #define...
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* SPDX-License-Identifier: GPL-2.0-only */ #include <soc/cnl_memcfg_init.h> #include <soc/romstage.h> #include <variant/romstage.h> static const struct cnl_mb_cfg memcfg = { .spd[0] = { .read_type = READ_SMBUS, .spd_spec = {.spd_smbus_address = 0xa0}, }, .spd[2] = { .read_type = READ_SMBUS, .spd_spec = {....
/*产生随机字符串*/ unsigned int hrand(unsigned char *enc,unsigned char m){ unsigned char estr[]="gpwn5BtuiPGAT]=68ZFScKbNvQyO9I0XDE1hzkYRm2UJj[rqlL3Wos7aexfHV4CdM"; unsigned int i=0,k=0,c=0,t=0,j=0,n=m; srand((unsigned int)time(0)); /*随机因子*/ while(i<n){k=rand()%64; for(c=0;c<i;c++){if(enc[c+t]==estr[k]){break;}} if(c==i)...
#ifndef __cact_cclosure_marshal_MARSHAL_H__ #define __cact_cclosure_marshal_MARSHAL_H__ #include <glib-object.h> G_BEGIN_DECLS /* VOID:BOOLEAN,INT,INT,INT (/home/pierre/data/eclipse/caja-actions/src/cact/cact-marshal.def:2) */ extern void cact_cclosure_marshal_VOID__BOOLEAN_INT_INT_INT (GClosure *closure, ...
// // iTermStatusBarTextComponent.h // iTerm2SharedARC // // Created by George Nachman on 6/29/18. // #import <Foundation/Foundation.h> #import "iTermStatusBarBaseComponent.h" NS_ASSUME_NONNULL_BEGIN // A base class for components that show text. // This class only knows how to show static text. Subclasses may ch...
/* * Arizona-i2c.c -- Arizona I2C bus interface * * Copyright 2012 Wolfson Microelectronics plc * * Author: Mark Brown <broonie@opensource.wolfsonmicro.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...
/**************************************************************************** * Copyright (c) 1998,2000 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
/* * This file 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. * * In addition to the permissions in the GNU General Public License, * the authors give you unlimited permission to link the co...
/* Copyright 2004,2007,2010 ENSEIRB, INRIA & CNRS ** ** This file is part of the Scotch software package for static mapping, ** graph partitioning and sparse matrix ordering. ** ** This software is governed by the CeCILL-C license under French law ** and abiding by the rules of distribution of free software. You can **...
/* Copyright 2005-2007 Virtutech AB This file is part of the Virtutech Simics, which is distributed under the Virtutech Simics Software License Agreement. */ #include <simics/arch/mips.h>
/* * 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...
/* * console.h * * Copyright 2001-2010 Texas Instruments, Inc. - http://www.ti.com/ * * 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/...
// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 Stefan Roese <sr@denx.de>, DENX Software Engineering */ #include <common.h> #include <asm/io.h> #include "vct.h" static u32 ebi_read(u32 addr) { addr &= ~0xFC000000; reg_write(EBI_CPU_IO_ACCS(EBI_BASE), EXT_DEVICE_CHANNEL_2 | addr); ebi_wait(); retu...
/* * This file describes the structure passed from the BootX application * (for MacOS) when it is used to boot Linux. * * Written by Benjamin Herrenschmidt. */ #ifndef __ASM_BOOTX_H__ #define __ASM_BOOTX_H__ #ifdef macintosh #include <Types.h> #endif #ifdef macintosh /* All this requires PowerPC alignment */ #...
#ifndef _ZFTAPE_H #define _ZFTAPE_H /* * Copyright (C) 1996, 1997 Claus-Justus Heine. 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 version. ...
/* Portions Copyright (c) 2015-Present, Facebook, Inc. Portions Copyright (c) 2012,2013 Monty Program 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. T...
/* .LVT tape images */ #include "lviv_lvt.h" #define WAVEENTRY_LOW -32768 #define WAVEENTRY_HIGH 32767 #define LVIV_LVT_BIT_SAMPLES 60 #define LVIV_LVT_HEADER_PILOT_SAMPLES 5190*60 #define LVIV_LVT_HEADER_DATA_SAMPLES 16*11*60 #define LVIV_LVT_PAUSE_SAMPLES 69370 #define LVIV_LVT_BLOCK_PILOT_SAMPLES 1298*6...
/* * For declaring structures shared with assembly routines * * $Id$ */ #ifdef ASSEMBLER # define MO(t,a) (a) # define VMO(t,a) (a) # define BEGIN_STRUCT(x) _Off=0 # define S1A(t,x,n) _Off=(_Off+0)&~0; x=_Off; _Off=_Off+(1*n) # define S2A(t,x,n) _Off=(_Off+1)&~1; x=_Off; _Off=_Off+(2*n) # define S4A(t,x,n) _Of...
// Copyright 2014 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include <array> #include <glad/glad.h> #include "common/common_types.h" #include "common/math_util.h" #include "core/hw/gpu.h" #include "video_core/renderer_base.h" #include "...
/* * Author: MontaVista Software, Inc. <source@mvista.com> * * 2005 (c) MontaVista Software, Inc. 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/init.h> #inc...
#ifndef LVPA_COMPILE_CONFIG #define LVPA_COMPILE_CONFIG // choose a namespace name, or comment out this define to disable namespacing (not recommended) #define LVPA_NAMESPACE lvpa // if not configuring via CMake or setting these externally, // use these to enable a set of compression algorithms to use. //#define LVPA...
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * 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 re...
#ifndef PUBLICFUNCS #define PUBLICFUNCS #define LINUX #ifdef LINUX #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> #else #include <GLUT/glut.h> #endif #include "interface.h" #define FUNCPOINT_N 1000 extern GLPoint funcpoints[FUNCPOINT_N]; typedef float (*FUNC)(float x); void initWindow(void); void drawDo...