text
stringlengths
4
6.14k
/* Copyright (c) 2008-2011, Hisilicon Tech. Co., Ltd. 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 * not...
/* $Id: exception.c 2878 2009-08-14 10:41:00Z bennylp $ */ /* * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as p...
// qt-redmine client // Copyright (C) 2015, Danila Demidow // Author: dandemidow@gmail.com (Danila Demidow) #ifndef INCLUDING #define INCLUDING #include <QString> #include <QUrl> #include "parameter.h" template <class Self> class Includeble { QString _include; public: explicit Includeble() {} Self &operator <...
#ifndef __SUBJECT_H__ #define __SUBJECT_H__ #include "Observer.h" namespace weather { class Subject { public: virtual void registerObserver(Observer *ob) = 0; virtual void removeObserver(Observer *ob) = 0; virtual void notifyObservers() = 0; }; } #endif
#include <stdio.h> #define MAXLINE 1000 /* maximum line size */ #define PRINTLONGER 80 /* size of longer lines to print */ int getline(char line[],int maxline); void copy(char to[], char from[]); /* print longest line */ main() { int len; char line[MAXLINE]; while( (len = getline(line,MAXLINE)) > 0) if(...
#ifndef __XFS_ARCH_H__ #define __XFS_ARCH_H__ #ifndef XFS_BIG_INUMS # error XFS_BIG_INUMS must be defined true or false #endif #ifdef __KERNEL__ #include <asm/byteorder.h> #ifdef __BIG_ENDIAN #define XFS_NATIVE_HOST 1 #else #undef XFS_NATIVE_HOST #endif #else /* __KERNEL__ */ #if __BYTE_ORDER == __BIG_ENDIAN #de...
// -*- mode:objc -*- // $Id: Tree.h,v 1.4 2008-09-18 18:03:05 yfabian Exp $ // /* ** Tree.h ** ** Copyright (c) 2002-2004 ** ** Author: Ujwal S. Setlur ** ** Project: iTerm ** ** Description: Headertree structure for bookmarks. ** Adapted from Apple's example code. ** ** This program is free sof...
/** ***************************************************************************** @example receive.c @brief receive data packets and write content of packet on SD card and send via uart with RSSI Note that VAR_LENGTH must have the same value in transmit.c and receive.c ...
/* * include/asm-s390/fcntl.h * * S390 version * * Derived from "include/asm-i386/fcntl.h" */ #ifndef _S390_FCNTL_H #define _S390_FCNTL_H /* open/fcntl - O_SYNC is only implemented on blocks devices and on files located on an ext2 file system */ #define O_ACCMODE 0003 #define O_RDONLY 00 #define O_...
// // BRWallet.h // BreadWallet // // Created by Aaron Voisine on 5/12/13. // Copyright (c) 2013 Aaron Voisine <voisine@gmail.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 Software...
/***************************************************************************** * * DOWNTIME.H - Header file for scheduled downtime functions * * Copyright (c) 2001-2009 Ethan Galstad (egalstad@nagios.org) * Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors * Copyright (c) 2009-2011 I...
/* $Id: ipac.h,v 1.1.1.1 2010/03/11 21:07:42 kris Exp $ * * IPAC specific defines * * Author Karsten Keil * Copyright by Karsten Keil <keil@isdn4linux.de> * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. *...
// // CGSTransitions.h // Skid // // Created by Brad Allred on 12/17/11. // Copyright (c) 2011 For Every Body. All rights reserved. // #ifndef Skid_CGSTransitions_h #define Skid_CGSTransitions_h #endif
/* include/linux/wlan_plat.h * * Copyright (C) 2010 Google, 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 hop...
#include "ets_sys.h" #include "osapi.h" #include "gpio.h" #include "os_type.h" #include "user_interface.h" #include "softuart.h" #define user_procTaskPrio 0 #define user_procTaskQueueLen 1 os_event_t user_procTaskQueue[user_procTaskQueueLen]; //create global softuart instances Softuart softuart; Softuar...
#ifndef GUI_DRAW_H #define GUI_DRAW_H //------------------------------------------------------------------- #if CAM_BITMAP_PALETTE==1 #define COLOR_TRANSPARENT 0x00 #define COLOR_WHITE 0x11 #define COLOR_RED 0x22 #define COLOR_GREY 0x3F #define COLOR_GREEN 0x55 #define COLOR_BLUE_L...
/* * libosinfo: * * Copyright (C) 2009-2012 Red Hat, 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) any later vers...
#ifndef _LINUX_AUXVEC_H #define _LINUX_AUXVEC_H #include <asm/auxvec.h> #define AT_NULL 0 /* end of vector */ #define AT_IGNORE 1 /* entry should be ignored */ #define AT_EXECFD 2 /* file descriptor of program */ #define AT_PHDR 3 /* program headers for program */ #define AT_PHENT 4 /* size of program header en...
/* * zero_srcsnk.c * fill the source and sink variables with 0.0 at the start of the simulation * * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* * Biome-BGC version 4.2 (final release) * See copyright.txt for Copyright information * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* */ #include "bgc.h" ...
/* Copyright (C) 2001 Tensilica, Inc. All Rights Reserved. Revised to support Tensilica processors and to improve overall performance */ /* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the term...
#if !defined(AFX_RMREPORTPAGE_H__68DEA34F_CB16_40BC_821E_8D57F58A50CA__INCLUDED_) #define AFX_RMREPORTPAGE_H__68DEA34F_CB16_40BC_821E_8D57F58A50CA__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modi...
#ifndef AMBIENTLIGHT_H #define AMBIENTLIGHT_H #include "light.h" class AmbientLight: public Light { public: AmbientLight(); void setLight(Vec4 amb); void drawLight(); void drawReferenceLight(); Vec4 calculateColor(Vec4 pit,Vec4 n,Vec4 viewer, Material *m,Vec4 pos=Vec4(0,0,0...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "pq_htable.h" #include "pq_genetics.h" #include "pq_generics.h" #include "pq_args.h" // values = [nvcodons, nsyn, nnon, ds, dn, ps, pn] // outs = [nsam, nvcodons, nsyn, nnon, ds, dn, ps, pn] void pq_swupdate_pnds(struct StatObject *stats, char **a...
/* * Copyright(c) 2000 UltraMaster Group * * License to use UltraMaster Juno-6 is provided free of charge subject to the * following restrictions: * * 1.) This license is for your personal use only. * * 2.) No portion of this software may be redistributed by you to any other * person in any form. * * ...
#include <limits.h> #include <stdio.h> #include <string.h> #include "cab202_graphics.h" #define I_TO_S_LENGTH ((CHAR_BIT * sizeof(int) - 1) / 3) + 2 void draw_score(int x, int y, int score) { char i_to_s[I_TO_S_LENGTH]; char str[I_TO_S_LENGTH + 8]; snprintf(i_to_s, I_TO_S_LENGTH, "%d", score); stpcpy(str, "Scor...
/* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #if !ENABLE_EFI # include <errno.h> #endif #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include "sd-id128.h" #include "efi/loader-features.h" #include "time-util.h" #define EFI_VENDOR_LOADER SD_ID128_MAKE(4a,67,b0,82,0a,4c,41,cf,b6,c7,...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include "../include/message.h" int main(int argc, char *argv[]) { char *buffer = (char *)malloc(sizeof(char) * 8); char *buffert = (char *)malloc(sizeof(char) * 8); size_t data_size = sizeof(char) * 8; int op = 1; int who = 2; st...
/** arch/arm/mach-msm/smd_rpcrouter.h * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2007-2008 QUALCOMM Incorporated. * Author: San Mehat <san@android.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be...
/* * arch/sh/kernel/vsyscall.c * * Copyright (C) 2006 Paul Mundt * * vDSO randomization * Copyright(C) 2005-2006, Red Hat, Inc., Ingo Molnar * * 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 detai...
/** * @file clocks.c * @author Pavel Komarov <pkomarov@gatech.edu> 941-545-7573 * @brief A library that provides easy ways to set system clocks * @ingroup Digital * @version 1 * * http://solarracing.gatech.edu/wiki/Main_Page */ #include "F2806x_Device.h" #include "clocks.h" /* * divsel and div make setting th...
/* * Copyright (C) 2005-2016 by Rafael Santiago * * This is a free software. You can redistribute it and/or modify under * the terms of the GNU General Public License version 2. * */ #include <dsl/compiler/verifiers/vibrato.h> #include <dsl/compiler/verifiers/sepexpander.h> #include <dsl...
// ********************************************************************** // // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_mat_scale_q31.c * Description: Multiplies a Q31 matrix by a scalar * * $Date: 18. March 2019 * $Revision: V1.6.0 * * Target Processor: Cortex-M cores * -----------...
/* * AG-HPX500 board header */ #ifndef _DEFS_XXXX_H #define _DEFS_XXXX_H #define SPD_P2PF_ARCH "K250" enum SPD_GENERIC_ENUM { /* for Power Mode */ SPD_PM_HIGH = 0x4d, /* R:600mA, W:600mA */ SPD_PM_LOW = 0x34, /* R:400mA, W:400mA */ SPD_PM_NORMAL = 0x00, /* R:400mA, W:600mA */ }; enum SPD_K250_ENUM...
/*************************************************************************** SimpleMail - Copyright (C) 2000 Hynek Schlawack and Sebastian Bauer 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; ei...
#include "read_string.h" char *read_string(pid_t child, unsigned long addr) { char *val = malloc(4096); int allocated = 4096; int read = 0; unsigned long tmp; while (1) { if (read + sizeof tmp > allocated) { allocated *= 2; val = realloc(val, allocated...
#include <ctype.h> static const char base64digits[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; #define BAD -1 static const char base64val[] = { BAD,BAD,BAD,BAD, BAD,BAD,BAD,BAD, BAD,BAD,BAD,BAD, BAD,BAD,BAD,BAD, BAD,BAD,BAD,BAD, BAD,BAD,BAD,BAD, BAD,BAD,BAD,BAD, BA...
#ifndef SMBASE_EVENTQUEUE_H #define SMBASE_EVENTQUEUE_H #include <queue> #include <QMutex> #include <QWaitCondition> #include "Event.h" namespace __smbase{ class EventQueue{ private: std::queue<Event *> myQueue; const unsigned int MAX_EVENTS; QMutex *mutex; QWaitCondition *full; QWaitConditio...
// This file is part of the uSTL library, an STL implementation. // // Copyright (c) 2005 by Mike Sharov <msharov@users.sourceforge.net> // This file is free software, distributed under the MIT License. #pragma once #include "uvector.h" #include "uctralgo.h" namespace ustl { /// \class list ulist.h ustl.h /// \ingro...
/* * \brief Connection to Terminal service * \author Norman Feske * \date 2011-08-12 */ /* * Copyright (C) 2011-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. */ #ifndef _INCLUDE__TERMINAL_SESSION_...
/* * Copyright (C) 2008-2022 by the Widelands Development 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, or (at your option) any later version. ...
/** * This header is generated by class-dump-z 0.2b. * * Source: (null) */ @protocol AFSyncBeginInfo - (void)resetWithValidity:(id)validity; @end
/* * $Id$ * * Copyright (C) 2006 - 2007 Stephen F. Booth <me@sbooth.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) an...
#ifndef _BAT_ID_H_ #define _BAT_ID_H_ #define GPIO_BATTERY_DATA_PIN GPIO20 #define GPIO_BATTERY_DATA_PIN_M_GPIO GPIO_MODE_00 #define CHK_BATTERY_ID #define BATTERY_PACK_ERROR 0 #define BATTERY_PACK_BL_44JH 1 //1700mAh #define BATTERY_PACK_BL_44JN 2 //1540mAh extern kal_uint8 battery_pack_id; extern vo...
/* remar2d - a 2D graphics engine using SDL Copyright (C) 2007 Andreas Remar, andreas.remar@gmail.com 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 Licen...
#include<linux/init.h> #include<linux/kernel.h> #include<linux/slab.h> static struct kmem_cache *cache_ex; static struct example { char a[20]; short b[20]; unsigned int c[10]; unsigned long d[20]; }; struct example ex, *p; static int slab_in(void) { printk("size of structure: %d",sizeof(struct example)); ...
/* * The ManaPlus Client * Copyright (C) 2009-2010 The Mana Developers * Copyright (C) 2011-2019 The ManaPlus Developers * Copyright (C) 2019-2022 Andrei Karas * * This file is part of The ManaPlus Client. * * This program is free software; you can redistribute it and/or modify * it under the terms o...
/** * @file */ /* All original material Copyright (C) 2002-2015 UFO: Alien Invasion. Original file from Quake 2 v3.21: quake2-2.31/client/cl_input.c Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as...
// @(#)root/mathcore:$Id: MinimizerOptions.h 26508 2008-11-28 14:22:29Z moneta $ // Author: L. Moneta Fri Aug 15 2008 /********************************************************************** * * * Copyright (c) 2008 LCG ROOT Math Team, CERN/PH-SFT ...
// // bisearchtree.h // BiSearchTree // // Created by nonstriater on 14-2-22. // // /** * 二叉查找树(Binary search tree),也叫有序二叉树(Ordered binary tree),排序二叉树(Sorted binary tree)。是指一个空树或者具有下列性质的二叉树: 1. 若任意节点的左子树不为空,则左子树上所有的节点值小于它的根节点值 2. 若任意节点的右子树不为空,则右子树上所有节点的值均大于它的根节点的值 3. 任意节点左右子树也为二叉查找树 4. 没有键值相等的节点 */ #i...
/* ****************************************************************************** * * File: cmd_opts.h * * Purpose: Header file for fwknop command line options. * * Fwknop is developed primarily by the people listed in the file 'AUTHORS'. * Copyright (C) 2009-2014 fwknop developers and contributors. For a ...
#ifndef TAGEDITOR_NETWORKACCESSMANAGER_H #define TAGEDITOR_NETWORKACCESSMANAGER_H #include <QtGlobal> QT_FORWARD_DECLARE_CLASS(QNetworkAccessManager) namespace Utility { QNetworkAccessManager &networkAccessManager(); } #endif // TAGEDITOR_NETWORKACCESSMANAGER_H
// ライセンス: GPL2 // // ポップアップ系ビュー // #ifndef _ARTICLEVIEWPOPUP_H #define _ARTICLEVIEWPOPUP_H #include "articleviewbase.h" namespace ARTICLE { // ポップアップビューのベース class ArticleViewPopup : public ArticleViewBase { bool m_show_abone; public: ArticleViewPopup( const std::string& url, bool...
// // NSDate+Util.h // iosapp // // Created by AeternChan on 10/15/15. // Copyright © 2015 oschina. All rights reserved. // #import <Foundation/Foundation.h> #import <DateTools.h> @interface NSDate (Util) + (instancetype)dateFromString:(NSString *)string; - (NSString *)weekdayString; @end
/* * linux/arch/sh/boards/se/770x/setup.c * * Copyright (C) 2000 Kazumoto Kojima * * Hitachi SolutionEngine Support. * */ #include <linux/init.h> #include <linux/platform_device.h> #include <mach-se/mach/se.h> #include <mach-se/mach/mrshpc.h> #include <asm/machvec.h> #include <asm/io.h> #include <asm/smc37c93x....
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2010 The PHP Group | +---------...
#include "../frisbee.c" /* * 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 2.1 of the License, or (at your * option) any later version. * * This program is distribute...
/* RNG.h * by Alex Chadwick * * Copyright (C) 2014, Alex Chadwick * * 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 * t...
/* * XBMC Media Center * Copyright (c) 2002 d7o3g4q and RUNTiME * Portions Copyright (c) by the authors of ffmpeg and xvid * * 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...
/*************************************************************************** file : CarControl.h copyright : (C) 2007 Daniele Loiacono ***************************************************************************/ /*************************************************************************** ...
#ifndef __LOG_H #define __LOG_H class Log { public: Log() { Serial.begin(57600); Serial3.begin(57600); } void waitSerial() { Serial.println("Enter key to start"); Serial3.println("Enter key to start"); while (!Serial.available() && !Serial3.available()); while ((Serial.available() &&...
#include <linux/module.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/delay.h> #include <linux/power_supply.h> #include <linux/workqueue.h> #include <linux/reboot.h> #include <asm/unaligned.h> #include <mach/gpio.h> #include <mach/iomux.h> #inclu...
/* Copyright (C) 2003-2010 Jesper K. Pedersen <blackie@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ...
#include <stdio.h> int main(void) { char oldname[80]; char newname[80]; // prompt for file to rename and new name printf("File to rename: "); gets(oldname); printf("New name: "); gets(newname); // Rename the file if (0 == rename(oldname, newname)) { printf("Renamed %s to...
/* * pure C program showing how you can use popen() to perform * a NEMO task without the need to link NEMO code. * Not very efficient, but it works. */ #include <stdio.h> #define N 1000 void main() { float x[N], y[N], z[N], pot[N]; int i, n; FILE *fp; /* before you run this program, crea...
/* created by click/linuxmodule/fixincludes.pl on Tue Nov 25 22:39:40 2014 */ /* from /lib/modules/2.6.27.5-117.fc10.i686/build/include/config/jffs2/summary.h */
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * viking -- GPS Data and Topo Analyzer, Explorer, and Manager * * Copyright (C) 2011, Rob Norris <rw_norris@hotmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General P...
// IXUS120-SD940 fw 1.00e #include "platform.h" long vid_get_bitmap_screen_width() { return 360 ; // SD940 103c ? 360 103b: seems to use same number. } long vid_get_bitmap_screen_height() { return 240; // SD940 103c 103b: seems to use same number. } int vid_get_viewport_width() { retu...
/* * Linux cfg80211 driver - Android related functions * * Copyright (C) 1999-2012, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License v...
#ifndef __GPIO_H__ #define __GPIO_H__ #define GPIO0 #define GPIO1 #define GPIO2 #define GPIO3 #define GPIO4 #define GPIO5 #define GPIO6 #define GPIO7 #endif /* __GPIO_H__ */
#ifndef _OBJ_OPS_H_ #define _OBJ_OPS_H_ #include <stdint.h> #include "internal.h" struct nlattr; struct nlmsghdr; struct nftnl_obj; struct nftnl_obj { struct list_head head; struct obj_ops *ops; const char *table; const char *name; uint32_t family; uint32_t use; uint32_t flags; union { struct nft...
/* * cstring.c * * Created on: Dec 30, 2014 * Author: muneer */ #include "cstring.h" #include <string.h> #include <stdlib.h> t_cstring *cstring_create() { t_cstring *str; str = (t_cstring *) malloc(sizeof(t_cstring)); str->size = 1; str->value = (char *) malloc(1); str->value[0] = '\0'; return str;...
#include <linux/fs.h> #include <linux/init.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> #include "devices.h" static int c_show(struct seq_file *m, void *v) { seq_printf(m, "%d\n", engineer_id); return 0; } static void *c_start(struct seq_file *m, loff_t *pos) { return *pos < 1 ? (void *)1 : NULL; } ...
/* Copyright 2000 Kjetil S. Matheussen 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...
/* tpg.h * Definitions of helper functions for TPG * * (c) 2005, Luis E. Garcia Ontanon <luis@ontanon.org> * * $Id: tpg.h 43536 2012-06-28 22:56:06Z darkjames $ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software;...
/* * * Copyright (C) 2010 Google, Inc. * * Author: * Colin Cross <ccross@google.com> * * Copyright (C) 2010-2011 NVIDIA Corporation. * * 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...
#include <linux/platform_device.h> #include <linux/gpio.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> #include <asm/mach/time.h> #include <asm/mach/map.h> #include <mach/hardware.h> #include <mach/common.h> #include <mach/imx-uart.h> #include <mach/iomux.h> #include <mach/board-mx27lite.h> #include "devi...
/* * This source file is part of the ZipArc project source distribution and * is Copyrighted 2000 - 2006 by Tadeusz Dracz (http://www.artpol-software.com/) * * This code may be used in compiled form in any way you desire PROVIDING * it is not sold for profit as a stand-alone application. * * This file may be redistrib...
/* * MATLAB Compiler: 3.0 * Date: Thu May 3 10:27:14 2007 * Arguments: "-B" "macro_default" "-O" "all" "-O" "fold_scalar_mxarrays:on" * "-O" "fold_non_scalar_mxarrays:on" "-O" "optimize_integer_for_loops:on" "-O" * "array_indexing:on" "-O" "optimize_conditionals:on" "-m" "-W" "main" "-L" * "C" "-t" "-T" "link:ex...
// SysIconUtils.h #ifndef __SYS_ICON_UTILS_H #define __SYS_ICON_UTILS_H #include "Common/MyString.h" struct CExtIconPair { UString Ext; int IconIndex; UString TypeName; }; struct CAttribIconPair { DWORD Attrib; int IconIndex; UString TypeName; }; inline bool operator==(const CExtIconPair &a1, const CEx...
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ // // Purpose: // // $NoKeywords: $ //============================================================================= // trace.c #include "light.h" typedef struct tnode_s { int type; vec3_t normal; float dist; int children[2]; int ...
/* * This file is part of the KDE libraries * Copyright (c) 2001 Michael Goffioul <kdeprint@swing.be> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License version 2 as published by the Free Software Foundation. * * This l...
/* Characters Map/2 * Copyright (C) 2001-2005 Dmitry A.Steklenev * * 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....
/* linux/drivers/mtd/onenand/samsung_captivate.h * * Partition Layout for Samsung Captivate * */ struct mtd_partition s3c_partition_info[] = { /*This is partition layout from the oneNAND it SHOULD match the pitfile on the second page of the NAND. It will work if it doesn't but beware to write below the adress...
/* * Copyright (C) 2015 TinyCore <http://www.tinycore.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 of the License, or (at your * option) any later version. * ...
/* * Copyright (C) 2005,2006,2007 MaNGOS <http://www.mangosproject.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...
/* ***** BEGIN LICENSE BLOCK ***** * Source last modified: $Id: symbian_string.h,v 1.2 2006/08/23 00:41:11 gashish Exp $ * * Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved. * * The contents of this file, and the files included with this file, * are subject to the current version of the ...
/* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright (C) 2001, 2002 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@cambridge.redhat.com> * * For licensing information, see the file 'LICENCE' in the * jffs2 directory. * * $Id: jffs2.h,v 1.25 2002/08/20 21:37:27 dwmw2 Exp $ * */ #ifnde...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < ...
#ifndef _OS_SELECT_H_ #define _OS_SELECT_H_ 1 /* * Overlay the system select call to handle many more FD's than * an fd_set can hold. * David McCullough <david_mccullough@securecomputing.com> */ #include <sys/select.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h> /* * allow build system to o...
/* Copyright (C) 2002 Paul Davis 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 distr...
/** eMail is a command line SMTP client. Copyright (C) 2001 - 2008 email by Dean Jones Software supplied and written by http://deanproxy.com/ This file is part of eMail. eMail is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publi...
// rddb.h // // Database driver with automatic reconnect // // (C) Copyright 2007 Dan Mills <dmills@exponent.myzen.co.uk> // // $Id: rddb.h,v 1.4 2008/03/28 20:00:05 fredg Exp $ // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License ...
#ifndef POLARSSL_DH_H #define POLARSSL_DH_H /* for size_t */ #include <stdlib.h> typedef enum { POLARSSL_DH_NONE=0, POLARSSL_DH_DHM, POLARSSL_DH_EC, /* Need to specify which curve to use */ NACL_DH_CV25519, POLARSSL_DH_LWE, } dh_type_t; typedef struct { dh_type_t type; const char *name; ...
/* * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd). * ircd_signal.h: A header for ircd signals. * * Copyright (C) 2002 by the past and present ircd coders, and others. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
#pragma once #include "stdafx.h" class CSymbol; typedef enum { SYM_INVALID = -1, SYM_CODE, SYM_DATA, SYM_U8, SYM_U16, SYM_U32, SYM_U64, SYM_S8, SYM_S16, SYM_S32, SYM_S64, SYM_FLOAT, SYM_DOUBLE, SYM_VECTOR2, SYM_VECTOR3, SYM_VECTOR4, NUM_SYM_TYPES } s...
#ifndef __AQUA__INT_IDT_H #define __AQUA__INT_IDT_H #include "../types.h" #include "../common/print.h" #include "../common/system.h" #include "../memory/memset.h" struct idt_entry_t { uint16_t offset_low; uint16_t selector; uint8_t zero; uint8_t attrs; uint16_t offset_high; } __attribute__...
/* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once #include "sd-network.h" bool network_is_online(void);
// // gmrf.h // physher // // Created by Mathieu Fourment on 18/03/2019. // Copyright © 2019 Mathieu Fourment. All rights reserved. // #ifndef gmrf_h #define gmrf_h #include <stdio.h> #include "hashtable.h" #include "mjson.h" #include "parameters.h" Model* new_GMRFModel_from_json(json_node* node, Hashtable* has...
/* * For small machines it's cheaper to simply allocate banks in the size * needed for the largest swapout of the application as that'll be under * 64K. For split I/D we can allocate pairs of swap banks. * * It's possible to be a lot smarter about this and for 32bit systems * it becomes a necessity not to use thi...