text
stringlengths
4
6.14k
#ifndef _T3F_SDL_BOUTON #define _T3F_SDL_BOUTON #include <SDL/SDL.h> #include <SDL/SDL_ttf.h> #include <string> #include <iostream> #include "widget.h" #include "focuscontainer.h" class Bouton: public Widget { public: Bouton(SDL_Rect position, std::string cap, void (*cb)(void)); virtual ~Bouton(); void...
/* vi: ts=8 sts=4 sw=4 * * This file is part of the KDE project, module kdesu. * Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org> */ #ifndef __Lexer_h_included__ #define __Lexer_h_included__ #include <QByteArray> /** * This is a lexer for the kdesud protocol. */ class Lexer { public: Lexer(const QByt...
#include "common.h" PS_OPEN_FUNC(uwsgi) { PS_SET_MOD_DATA((char *)save_path); return SUCCESS; } PS_CLOSE_FUNC(uwsgi) { return SUCCESS; } PS_READ_FUNC(uwsgi) { char *cache = PS_GET_MOD_DATA(); uint64_t valsize = 0; #ifdef UWSGI_PHP7 char *value = uwsgi_cache_magic_get(key->val, key->len , &valsize, NULL, cache)...
/* Copyright (C) 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. 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...
//============================================================================= // AL // Audio Utility Library // $Id: al.h,v 1.1.2.2 2009/12/06 01:39:33 terminator356 Exp $ // // Copyright (C) 2002-2006 by Werner Schweer and others // // This program is free software; you can redistribute it and/or modify // it ...
/* ********************************************************************************************************* * uC/GUI * Universal graphic software for embedded applications * * (c) Copyright 2002, Micrium Inc., Weston, FL * ...
/** * Copyright (C) 2013 Raúl Moreno Galdón * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distri...
#pragma once /* * Copyright (C) 2005-2015 Team XBMC * 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 ve...
#include <resolv.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <stdlib.h> #include <arpa/inet.h> #include <unistd.h> #include <errno.h> #include <arpa/nameser.h> #include "dietfeatures.h" static char dnspacket[]="\xfe\xfe\001\000\000\001\000\0...
/* * 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, software *...
/** * @file */ /* Copyright (C) 2002-2020 UFO: Alien Invasion. 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...
/* ver_check.c Version number comparisons Copyright (C) 1995 Ian Jackson <iwj10@cus.cam.ac.uk> Copyright (C) 2000 Jeff Teunissen <deek@dusknet.dhs.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 Fo...
/* IA64-specific clocksource additions */ #ifndef _ASM_IA64_CLOCKSOURCE_H #define _ASM_IA64_CLOCKSOURCE_H struct arch_clocksource_data { void *fsys_mmio; /* used by fsyscall asm code */ }; #endif /* _ASM_IA64_CLOCKSOURCE_H */
/* * pydatum.h * * This file is part of NEST. * * Copyright (C) 2004 The NEST Initiative * * NEST 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...
/* mkvpropedit -- utility for editing properties of existing Matroska files Distributed under the GPL v2 see the file COPYING for details or visit http://www.gnu.org/copyleft/gpl.html Written by Moritz Bunkus <moritz@bunkus.org>. */ #ifndef MTX_PROPEDIT_ATTACHMENT_TARGET_H #define MTX_PROPEDIT_ATTACHM...
/****************************************************************************** * * This file is part of openDarkEngine project * Copyright (C) 2005-2006 openDarkEngine team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
/* * Copyright (c) 2002-2003, Intel Corporation. All rights reserved. * Created by: Rusty.Lnch 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. Test case for assertion #1 of the siga...
/* 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...
#define SMI_DEV_MAJOR_NUMBER 250 #define SMIMONITORMAGICNO 'p' typedef struct { unsigned long u4Master; //SMI master 0~3 unsigned long u4PortNo; unsigned long bBusType : 1;//0 for GMC, 1 for AXI unsigned long bDestType : 2;//0 for EMI+internal mem, 1 for EMI, 3 for internal mem unsigned long bR...
#ifndef __BTASKS_XML_PARSER_H__ #define __BTASKS_XML_PARSER_H__ /* Battle Tanks Game * Copyright (C) 2006-2009 Battle Tanks 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 ve...
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* * ClusterMeltSegmenter.h * * Created by Mark Levy on 23/03/2006. * Copyright 2006 Centre for Digital Music, Queen Mary, University of London. This program is free software; you can redistribute it and/or modify it under the ...
/* * Copyright (C) 2006 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 condit...
#include <stdlib.h> #include <linux/atmdev.h> #include <linux/atm.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> #include <stdlib.h> #include "net.h" #include "utils.h" // ARRAY_SIZE #include "compat.h" void atmpvc_gen_sockaddr(struct sockaddr **addr, socklen_t *addrlen) ...
/*************************************************************************** * Copyright (C) 2006 by Krasimir Marinov * * krasimir.vanev@gmail.com * * * * This program is free software; you can redistribute it and/or modify * * it...
/* * Generated by class-dump 3.1.2. * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard. */ #import "SBAlert.h" @interface SBSIMLockEntryAlert : SBAlert { int _status; // 48 = 0x30 } - (id)alertDisplayViewWithSize:(struct CGSize)fp8; // IMP=0x0006aa18 - (BOOL)deactivate; /...
/** * 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 * ...
#ifndef _MACH_REGS_TIMROT #define _MACH_REGS_TIMROT #define REGS_TIMROT_BASE (STMP3XXX_REGS_BASE + 0x68000) #define HW_TIMROT_ROTCTRL 0x0 #define BM_TIMROT_ROTCTRL_CLKGATE 0x40000000 #define BM_TIMROT_ROTCTRL_SFTRST 0x80000000 #define HW_TIMROT_TIMCTRL0 (0x20 + 0 * 0x20) #define HW_TIMROT_TIMCTRL1 (0x20 + 1 * 0x20)...
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 d...
// Organic Photovoltaic Device Model - a drift diffusion base/Shockley-Read-Hall // model for organic solar cells. // Copyright (C) 2012 Roderick C. I. MacKenzie // // roderick.mackenzie@nottingham.ac.uk // www.roderickmackenzie.eu // Room B86 Coates, University Park, Nottingham, NG7 2RD, UK // // This pro...
#define _UTIL_C_ #include "bbs.h" /* Remove an user from any BM of existing boards */ int check(void *data, int bid, boardheader_t *bh) { char changed = 0; char has_quote = 0; char *p; const char *userid = (const char *) data; char bmsrc[IDLEN * 3 + 3], bmout[IDLEN * 3 + 3] = ""; if (!bh->brdn...
#include <iostream> #include <vector> #include <string> #include <fstream> #include <cstdlib> using namespace std; int findNodeOutside(float x, float y); bool checkIfnode0(double x, double y); bool checkIfnode1(double x, double y); bool checkIfnode2(double x, double y); bool checkIfnode3(double x, double y); bool...
soc imx6 loadaddr 0x10000000 dcdofs 0x400 wm 32 0x020e0774 0x000C0000 wm 32 0x020e0754 0x00000000 wm 32 0x020e04ac 0x00000030 wm 32 0x020e04b0 0x00000030 wm 32 0x020e0464 0x00000030 wm 32 0x020e0490 0x00000030 wm 32 0x020e074c 0x00000030 wm 32 0x020e0494 0x00000030 wm 32 0x020e04a0 0x00000000 wm 32 0x020e04b4 0x000000...
#if !defined(__SWL_GRAPHICS__APPEARANCE__H_) #define __SWL_GRAPHICS__APPEARANCE__H_ 1 #include "swl/graphics/ExportGraphics.h" #include "swl/graphics/Color.h" namespace swl { //#if defined(_MSC_VER) //#pragma warning(disable:4231) //SWL_GRAPHICS_TEMPLATE_EXTERN template struct SWL_GRAPHICS_API Color4<f...
/* * Copyright 2014-2015 James Geboski <jgeboski@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 License, or * (at your option) any later version. * ...
#include "sorted-list.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #define INT_SIZE 10 #define FLOAT_SIZE 10 /****************************************************/ // FUNCTION PROTOTYPES void printList(SortedListPtr, void (*)(void* )); void testInt(); int compareInt(void * ,void * ); void destructIn...
/** * @file * @brief Trigger functions */ /* All original material Copyright (C) 2002-2020 UFO: Alien Invasion. Original file from Quake 2 v3.21: quake2-2.31/game/g_spawn.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 ...
/* * vsid-snapshot.c - VSID snapshot handling. * * Written by * Marco van den Heuvel <blackystardust68@yahoo.com> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms...
/** * @file autosar_tp_s2/protection_instance1.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 so...
/*Emulation of the SVGA chip in the IBM PS/1 Model 2121, or at least the 20 MHz version. I am not entirely sure what this chip actually is, possibly a CF62011? I can not find any documentation on the chip so have implemented enough to pass self-test in the PS/1 BIOS. It has 512kb video memory but I have...
/* * tinfgzip - tiny gzip decompressor * * Copyright (c) 2003 by Joergen Ibsen / Jibz * All Rights Reserved * * http://www.ibsensoftware.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 ...
/* * helper functions for physically contiguous capture buffers * * The functions support hardware lacking scatter gather support * (i.e. the buffers must be linear in physical memory) * * Copyright (c) 2008 Magnus Damm * * This program is free software; you can redistribute it and/or modify * it unde...
/* * Copyright 2008-2014 Freescale Semiconductor, Inc. * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <asm/mmu.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ SET_TLB_ENTR...
/************************************************************************************** * Hisilicon MP3 decoder * layer12.h - **************************************************************************************/ #ifndef __LAYER12_H__ #define __LAYER12_H__ #ifdef __cplusplus extern "C" { #endif #i...
/* * 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) 2002, 2004, 2007 by Ralf Baechle <ralf@linux-mips.org> */ #ifndef __ASM_MIPS_MACH_IP28_WAR_H #define __ASM_MIPS_MAC...
/* * Copyright (C) 2013 Allwinnertech, kevin.z.m <kevin@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 "../include/mbr.h" #include "../include/n...
/* Copyright (C) 2014 InfiniDB, 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 distributed in the hope that it will be useful, but W...
#ifndef __PARISC_IRQFLAGS_H #define __PARISC_IRQFLAGS_H #include <linux/types.h> #include <asm/psw.h> static inline unsigned long arch_local_save_flags(void) { unsigned long flags; asm volatile("ssm 0, %0" : "=r" (flags) : : "memory"); return flags; } static inline void arch_local_irq_disable(void) ...
/* * Copyright (C) 2012-2013 ProFUSION embedded systems * * 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...
/* bcal_present.h */ /* This file is part of the AVR-Crypto-Lib. Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either versio...
#ifndef _FSMC_DRIVER_ #define _FSMC_DRIVER_ #include <stdint.h> #include "NonCopyable.h" /* ---------------------------Default GPIOs Configuration ------------------------- Address Bus Data Bus Control Bus PF0 <-> FSMC_A0 PD14 <-> FSMC_D0 PE0 <-> FSMC_NBL0 PF1 <-> F...
/* * Copyright (C) 2009 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...
/* * Author: MontaVista Software, Inc. <source@mvista.com> * * 2007 (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...
/* * CDE - Common Desktop Environment * * Copyright (c) 1993-2012, The Open Group. All rights reserved. * * These libraries and programs are free software; you can * redistribute them and/or modify them under the terms of the GNU * Lesser General Public License as published by the Free Software * Foundation; ei...
/* * This file is part of the coreboot project. * * Copyright (C) 2013 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 di...
/* * CDE - Common Desktop Environment * * Copyright (c) 1993-2012, The Open Group. All rights reserved. * * These libraries and programs are free software; you can * redistribute them and/or modify them under the terms of the GNU * Lesser General Public License as published by the Free Software * Foundation; ei...
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 d...
/* * Author: MontaVista Software, Inc. <source@mvista.com> * * 2007 (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...
// // Person.h // BuchVerleih-Tutorial // // Created by Benjamin Herzog on 04.07.14. // Copyright (c) 2014 Benjamin Herzog. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @class Buch; @interface Person : NSManagedObject @property (nonatomic, retain) NSString * nachname; ...
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * LICENSE: See LICENSE in the top level directory * FILE: mods/deathmatch/logic/CScriptKeyBinds.h * PURPOSE: Header for script key binds class * * Multi Theft Auto is a...
/* * snapshape.c: read a snapshot file and calculate shape and rms radius. */ #include "stdinc.h" #include "mathfns.h" #include "getparam.h" #include "filestruct.h" #include "vectmath.h" #include "phatbody.h" #include <gsl/gsl_math.h> #include <gsl/gsl_eigen.h> string defv[] = { ";Estimate ellipticity & r.m...
#ifndef MRST_API_H_INCLUDED #define MRST_API_H_INCLUDED /* We preserve the old typedef here, since it is gone from grid.h. * This header is not standalone, grid.h (and more) must be included * before mrst_api.h */ typedef struct UnstructuredGrid grid_t; #ifdef __cplusplus extern "C" { #endif /* * "API" to MRST...
/* Copyright 2013 Barobo, Inc. This file is part of BaroboLink. BaroboLink 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...
/*! * \file volk_gnsssdr_8i_x2_add_8i.h * \brief VOLK_GNSSSDR kernel: adds pairs of 8 bits (char) scalars. * \authors <ul> * <li> Andres Cecilia, 2014. a.cecilia.luque(at)gmail.com * </ul> * * VOLK_GNSSSDR kernel that adds pairs of 8 bits (char) scalars * * -----------------------------------...
/* * This file is part of the #KAT Social Network Simulator. * * The #KAT Social Network Simulator 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...
/* Copyright (C) 2009 Klystofer Ortega, Victor Villela Serta This file is part of Kvnix. Kvnix 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 ...
// Template array classes with like-type math ops /* Copyright (C) 1996-2013 John W. Eaton This file is part of Octave. Octave 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...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Mupen64plus - cart_rom.h * * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ * * Copyright (C) 2014 Bobby Smiles * * ...
// This is a generated source file for Chilkat version 9.5.0.56 #if defined(WIN32) || defined(WINCE) #ifndef _C_CkCsp_H #define _C_CkCsp_H #include "chilkatDefs.h" #include "Chilkat_C.h" CK_VISIBLE_PUBLIC HCkCsp CkCsp_Create(void); CK_VISIBLE_PUBLIC void CkCsp_Dispose(HCkCsp handle); CK_VISIBLE_PUBLIC void CkCsp_get...
/** * Copyright (c) 2006-2014 LOVE Development Team * * 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 software for any purpose, * ...
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* overriding mpicc to link C programs (only for IBM) */ /* #undef CC */ /* arguments passed to configure script */ #define CONFIGURE_ARGS " '--enable-gnu' '--enable-fftw' '--enable-stride1' '--w...
/* * UFTP - UDP based FTP with multicast * * Copyright (C) 2001-2013 Dennis A. Bush, Jr. bush@tcnj.edu * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the L...
/* * pgeNet.h: Header for net/wifi * * This file is part of "Phoenix Game Engine". * * Copyright (C) 2008 Phoenix Game Engine * Copyright (C) 2008 InsertWittyName <tias_dp@hotmail.com> * Copyright (C) 2008 MK2k <pge@mk2k.net> * * Phoenix Game Engine is free software: you can redistribute it and/or modify * it...
/* mpz_si_kronecker -- long+mpz Kronecker/Jacobi symbol. Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP 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 ...
#pragma region Copyright (c) 2014-2017 OpenRCT2 Developers /***************************************************************************** * OpenRCT2, an open source clone of Roller Coaster Tycoon 2. * * OpenRCT2 is the work of many authors, a full list can be found in contributors.md * For more information, visit h...
// // MediaViewerController.h // PiChat // // Created by pi on 16/2/15. // Copyright © 2016年 pi. All rights reserved. // #import <UIKit/UIKit.h> @class CLLocation; /** * 媒体浏览,图片,视频,位置等. */ @interface MediaViewerController : NSObject +(void)showIn:(UIViewController*)controller withImage:(UIImage*)img ; +(void)...
#ifndef R2_REG_H #define R2_REG_H #include <r_types.h> #include <r_util.h> #include <list.h> R_LIB_VERSION_HEADER(r_reg); enum { R_REG_TYPE_GPR, R_REG_TYPE_DRX, R_REG_TYPE_FPU, R_REG_TYPE_MMX, R_REG_TYPE_XMM, R_REG_TYPE_FLG, R_REG_TYPE_SEG, R_REG_TYPE_LAST, R_REG_TYPE_ALL = -1, }; enum { R_REG_NAME_PC, //...
// --------------------------------------------------------------------- // pkt.h -- 1200/300/2400 baud AX.25 // // // This file is a proposed part of fldigi. Adapted very liberally from // rtty.h, with many thanks to John Hansen, W2FS, who wrote // 'dcc.doc' and 'dcc2.doc', GNU Octave, GNU Radio Companion, and fi...
#ifndef _TOWERENGINE_VRDEMO_VRPLAYER_H #define _TOWERENGINE_VRDEMO_VRPLAYER_H #include <towerengine.h> class VRPlayer { private: tVector origin; tVector base_position; tVector direction; float height; bool teleport; tVector teleport_dst; public: VRPlayer(tVector origin); ~VRPlayer(); tVector ...
// Copyright (c) 2005 - 2017 Settlers Freaks (sf-team at siedler25.org) // // This file is part of Return To The Roots. // // Return To The Roots 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 versio...
#ifndef SFACTOR3HEDPX_H_ #define SFACTOR3HEDPX_H_ #include <function/ArrayFunction.h> namespace jags { namespace nuclear { /** * @short Astrophysical S Factors; assumes B_c = Sc(E0), i.e., the * level shift is zero at the energy eigenvalue E0; * * sfactor3Hedpx returns the astrophysical S-factor as a...
/* code for the "obj4" pd class. This adds a creation argument, of type "float". */ #include "m_pd.h" typedef struct obj4 { t_object x_ob; t_outlet *x_outlet; float x_value; } t_obj4; void obj4_float(t_obj4 *x, t_floatarg f) { outlet_float(x->x_outlet, x->x_value + f); } void obj4_ft1(t_obj4 *x, t_floa...
#ifndef _ENGINES_H_ #define _ENGINES_H_ #include <gtk/gtk.h> #include <glib.h> //typedef void (*ActionInvokedCb)(GtkWindow *nw, const char *key); typedef void (*UrlClickedCb)(GtkWindow *nw, const char *url); GtkWindow *create_notification(UrlClickedCb url_clicked_cb); void destroy_notification(GtkWindow *nw); void ...
/** * Copyright (C) 2007-2012 Hypertable, Inc. * * This file is part of Hypertable. * * Hypertable 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 any later versio...
/* Articulation_enums.h * * Copyright (C) 1992-2009,2015 Paul Boersma * * 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 ve...
/********************************************************************* CombLayer : MCNP(X) Input builder * File: processInc/surfDIter.h * * Copyright (c) 2004-2015 by Stuart Ansell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License...
/**************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
#define CKPT (5) #define RECOVER (6) #define CKPT_RECOVER (7) int RTI_init(); void RTI_stub (int action, double lvt); int RTI_prune(double lvt); void RTI_print_data();
#include "mpfr_mul_d.h" static mpfr_t y; static int initialized = 0; int mpfr_mul_d(mpfr_ptr z, mpfr_srcptr x, double a, mpfr_rnd_t r) { if (!initialized) { mpfr_init2(y, 53); initialized = 1; } mpfr_set_d(y, a, GMP_RNDN); return mpfr_mul(z, x, y, r); } int mpfr_div_d(mpfr_ptr z, mpfr_srcptr x, dou...
#pragma region Copyright (c) 2014-2017 OpenRCT2 Developers /***************************************************************************** * OpenRCT2, an open source clone of Roller Coaster Tycoon 2. * * OpenRCT2 is the work of many authors, a full list can be found in contributors.md * For more information, visit h...
/** * Marlin 3D Printer Firmware * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
#include "common.c" void output_process(dwg_object *obj); void output_object(dwg_object* obj){ if (!obj) { printf("object is NULL\n"); return; } if (dwg_get_type(obj)== DWG_TYPE_MINSERT) { output_process(obj); } } void low_level_process(dwg_object *obj) { // casts dwg onject ...
////////////////////////////////////////////////////////////////// // // EUSTAGGER LITE // // Copyright (C) 1996-2013 IXA Taldea // EHU-UPV // // This file is part of EUSTAGGER LITE. // // EUSTAGGER LITE is free software: you can redistribute it and/or modify // it under the terms of the...
#pragma once #include <util/system/defaults.h> #define NN 312 #define MM 156 #define MATRIX_A ULL(0xB5026F5AA96619E9) #define UM ULL(0xFFFFFFFF80000000) #define LM ULL(0x7FFFFFFF) namespace NPrivate { inline static double ToRes53(ui64 v) throw () { return double(v * (1.0 / 18446744073709551616.0L)); ...
#pragma once #include <contrib/libs/protobuf/descriptor.h> #include <contrib/libs/protobuf/message.h> #include <util/generic/stroka.h> #include <util/generic/ptr.h> // A simple text config in form of single gazetteer article. // Allows describing configs of arbitrary level and complexity. // A description of config...
#pragma once #include <util/system/yassert.h> #include <string.h> struct IBinaryStream { virtual ~IBinaryStream() {}; virtual int Write(const void *userBuffer, int size) = 0; virtual int Read(void *userBuffer, int size) = 0; virtual bool IsValid() const = 0; virtual bool IsFailed() const = 0; }; t...
#ifndef KEYSPACE_CLIENT_WRAP_H #define KEYSPACE_CLIENT_WRAP_H // SWIG compatible wrapper interface for generating client wrappers #include <string> #include "System/Platform.h" typedef void * ClientObj; typedef void * ResultObj; // helper class for converting node array to Init argument struct Keyspace_NodeParams {...
#pragma once #ifndef id_1AB80237_6F9E_4EB1_9CDA_F0B79A1745C1 #define id_1AB80237_6F9E_4EB1_9CDA_F0B79A1745C1 #include <string> #include <algorithm> #include <windows.h> template<class T> std::wstring list2cmdline(T start, T end) { std::wstring result, bs_buf; while (start != end) { LPWSTR elem = *start; if (!...
/* * Copyright (C) 1994-2016 Altair Engineering, Inc. * For more information, contact Altair at www.altair.com. * * This file is part of the PBS Professional ("PBS Pro") software. * * Open Source License Information: * * PBS Pro is free software. You can redistribute it and/or modify it under the * terms ...
/* * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
/* Copyright (C) 2013 Mike Hansen This file is part of FLINT. FLINT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) an...