text
stringlengths
4
6.14k
#ifndef GENERATE_PARENTHESES_H_ #define GENERATE_PARENTHESES_H_ #include <string> #include <vector> // Method 1 // This will go from (((((( to ))))))) and verify each combination unsigned long getMaxSupported(int n); bool isValidParenthesis(unsigned long value, unsigned int bits); std::string generateParenthesis(unsi...
/* Functions to get information about Windows operating system. Copyright (C) 2006 Artica ST. Written by Esteban Sanchez. 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...
/* * * WPA supplicant library with GLib integration * * Copyright (C) 2012 Intel Corporation. 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. * *...
/****************************************************************************** * population.h * * Source of KaHIP -- Karlsruhe High Quality Partitioning. * *****************************************************************************/ #ifndef POPULATION_AEFH46G6 #define POPULATION_AEFH46G6 #include <sstream> ...
#include "dpoMatrix.h" SEXP dpoMatrix_validate(SEXP obj) { int i, n = INTEGER(GET_SLOT(obj, Matrix_DimSym))[0]; int np1 = n + 1; double *x = REAL(GET_SLOT(obj, Matrix_xSym)); /* quick but nondefinitive check on positive definiteness */ for (i = 0; i < n; i++) if (x[i * np1] < 0) return mkStr...
// // IBCAppDelegate.h // iBeacon // // Created by 羽田 健太郎 on 2013/12/01. // Copyright (c) 2013年 羽田 健太郎. All rights reserved. // #import <UIKit/UIKit.h> #import "IBCCommon.h" @interface IBCAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/*************************************************************************** * * * LinuxSampler - modular, streaming capable sampler * * * * Copyrig...
/**************************************************************************** Copyright (c) 2000 - 2010 Novell, Inc. 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 Free Software Foundation....
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_API_IDENTITY_GAIA_WEB_AUTH_FLOW_H_ #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_GAIA_WEB_AUTH_FLOW_H_ #include "c...
/** * 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 * ...
// Copyright Hugh Perkins 2004 // // 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...
// Copyright (c) 2012- PPSSPP Project. // 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.0 or later versions. // This program is distributed in the hope that it will be useful, // b...
#ifndef UNITVECTOR_H #define UNITVECTOR_H #include "node.h" class UnitVector : public Node { public: UnitVector(); }; #endif // UNITVECTOR_H
#include "displaymenutabview.h" cDisplayMenuTabView::cDisplayMenuTabView(cTemplateViewTab *tmplTab) : cView(tmplTab) { } cDisplayMenuTabView::~cDisplayMenuTabView() { CancelSave(); } void cDisplayMenuTabView::SetTokens(map < string, int > *intTokens, map < string, string > *stringTokens, map < string, vector< m...
/* ** gba_destroy_image.c for libmgba in /home/poirie_l/Documents/Epitech/modules/igraph/mgba/sources ** ** Made by Louis Poirier ** Login <poirie_l@epitech.net> ** ** Started on Thu Dec 26 17:28:47 2013 Louis Poirier ** Last update Thu Dec 26 17:30:24 2013 Louis Poirier */ #include "mgba.h" u8 gba_destroy_imag...
/******************************************************************************* * Copyright (c) 2012-2014, The Microsystems Design Labratory (MDL) * Department of Computer Science and Engineering, The Pennsylvania State University * All rights reserved. * * This source code is part of NVMain - A cycle accurate timing...
/** * 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 * ...
/* * download-objects.h * * Copyright 2010 Brett Mravec <brett.mravec@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...
#pragma once /* * Copyright (C) 2005-2012 Team XBMC * http://www.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...
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Sonic Visualiser An audio file viewer and annotation editor. Centre for Digital Music, Queen Mary, University of London. This file copyright 2006 Chris Cannam. This program is free software; you can redistribute ...
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/DataAccess.framework/Frameworks/DAEAS.framework/DAEAS */ @protocol ASAccountActorMessages - (oneway void)_accountPasswordChanged; - (oneway void)_foldersThatExternalClientsCareAboutChanged; - (oneway void)_folderHi...
/* * Copyright (C) 2005-2010 MaNGOS <http://getmangos.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 "drmP.h" int drm_dma_setup(struct drm_device *dev) { int i; dev->dma = kmalloc(sizeof(*dev->dma), GFP_KERNEL); if (!dev->dma) return -ENOMEM; memset(dev->dma, 0, sizeof(*dev->dma)); for (i = 0; i <= DRM_MAX_ORDER; i++) memset(&dev->dma->bufs[i], 0, sizeof(dev->dma->bufs[0])); return 0; } ...
/* * fs/f2fs/acl.h * * Copyright (c) 2012 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * Portions of this code from linux/fs/ext2/acl.h * * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de> * * This program is free software; you can redistribute it and/or modify * it unde...
// CkAtom.h: interface for the CkAtom class. // ////////////////////////////////////////////////////////////////////// #ifndef _CKAtom_H #define _CKAtom_H #pragma once #include "CkString.h" class CkByteData; /* IMPORTANT: Objects returned by methods as non-const pointers must be deleted by the calling appli...
#include <stdio.h> #define MAX 101 struct Node { int price; int bluk; }; int main( void ) { int v, n, i, j; while ( scanf("%d", &v) != EOF )//¿Ú´üµÄÌå»ý { if ( 0 == v )//Ìå»ýΪ0ʱÖÕÖ¹¼ÆËã break; scanf("%d", &n);//ÊäÈ뱦±´µÄÖÖÀà struct Node stud[MAX], temp; ...
#ifndef SHAPEWIDGET_H #define SHAPEWIDGET_H #include <QWidget> #include <QTimer> #include <QPixmap> class ShapeWidget : public QWidget { Q_OBJECT public: ShapeWidget(QWidget *parent = 0); ~ShapeWidget(); protected: void paintEvent(QPaintEvent *event); private: QPoint dragPosition; QTimer *ti...
#ifndef GLWIDGET_H #define GLWIDGET_H #include <QGLWidget> #include <QWidget> #include "v4l2capiture.h" #include "channels.h" class PicShowThread; QT_BEGIN_NAMESPACE class QPaintEvent; class QWidget; QT_END_NAMESPACE class GLWidget : public QGLWidget { Q_OBJECT void mouseMoveEvent (QMouseEvent * event); ...
/* * COPYRIGHT (c) 1989-2008. * 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. */ #if HAVE_CONFIG_H #include "config.h" #endif #include <rtems/system...
/* * SimpleGPIO.cpp * * Modifications by Derek Molloy, School of Electronic Engineering, DCU * www.derekmolloy.ie * Almost entirely based on Software by RidgeRun: * * Copyright (c) 2011, RidgeRun * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are...
/* * Copyright (C) 2001-2003 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg 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 Licens...
#ifndef ASM_X86__TYPES_H #define ASM_X86__TYPES_H #include <asm-generic/int-ll64.h> #ifndef __ASSEMBLY__ typedef unsigned short umode_t; #endif /* __ASSEMBLY__ */ /* * These aren't exported outside the kernel to avoid name space clashes */ #ifdef __KERNEL__ #ifdef CONFIG_X86_32 # define BITS_PER_LONG 32 #else #...
#pragma once #include "Phase.h" class Phase_Harvest : public Phase { public: Phase_Harvest(); ~Phase_Harvest(); void Tick(); };
/* created by click/linuxmodule/fixincludes.pl on Tue Nov 25 22:39:39 2014 */ /* from /lib/modules/2.6.27.5-117.fc10.i686/build/include/linux/crc-ccitt.h */ #ifndef _LINUX_CRC_CCITT_H #if defined(__cplusplus) && !CLICK_CXX_PROTECTED # error "missing #include <click/cxxprotect.h>" #endif #define _LINUX_CRC_CCITT_H #inc...
#ifndef GGP_UI_PLOT_H #define GGP_UI_PLOT_H #include "ui.h" struct Plot { Window window; struct Point { Point(double a, double b) : x(a), y(b) {} double x, y; }; Point max; Point min; Plot(int w, int h, double mx, double nx, double my, double ny) : window("Pl...
/********************************************\ * * Sire - Molecular Simulation Framework * * Copyright (C) 2009 Christopher Woods * * 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 Foun...
/* file: wfdbwhich.c G. Moody 20 June 1990 Last revised: 5 May 1999 ------------------------------------------------------------------------------- wfdbwhich: Find a WFDB file and print its pathname Copyright (C) 1999 George B. Moody This program is free software; you can redistribute it and/or modify it under th...
/* * The ManaPlus Client * Copyright (C) 2007-2009 The Mana World Development Team * Copyright (C) 2009-2010 The Mana Developers * Copyright (C) 2011-2014 The ManaPlus Developers * * This file is part of The ManaPlus Client. * * This program is free software; you can redistribute it and/or modify * i...
// Copyright 2014 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #pragma once #include <array> #include <memory> #include <string> #include <vector> #include "Common/CommonTypes.h" #include "VideoCommon/CPMemory.h" #include "VideoCommon/NativeVertexFormat.h" class DataR...
/* (C) Guenter Geiger <geiger@epy.co.at> */ /* These filter coefficients computations are taken from http://www.harmony-central.com/Computer/Programming/Audio-EQ-Cookbook.txt written by Robert Bristow-Johnson */ #ifdef ROCKBOX #include "plugin.h" #include "../../pdbox.h" #include "../src/m_pd.h" #include "m...
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ** ** Copyright (C), 2003, Victorian Partnership for Advanced Computing (VPAC) Ltd, 110 Victoria Street, Melbourne, 3053, Australia. ** ** Authors: ** Stevan M. Quenette, Senior Software ...
#define _POSIX_C_SOURCE 200809L #include <pthread.h> #include <time.h> #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include "mq_msg_ws.h" #ifdef SPEED_TEST #define TEST_ITERATIONS 10000000 #define DO_PRODUCER_SLEEP 0 #define DO_CONSUMER_SLEEP 0 #else #define TEST_ITERATIONS 100000 ...
/// @file ChannelManagerTest.cc /// /// @copyright (c) 2011 CSIRO /// Australia Telescope National Facility (ATNF) /// Commonwealth Scientific and Industrial Research Organisation (CSIRO) /// PO Box 76, Epping NSW 1710, Australia /// atnf-enquiries@csiro.au /// /// This file is part of the ASKAP software distribution. ...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_ #define CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_ namespace content { enum InvalidateTypes { INV...
/* * This file is part of the OregonCore Project. See AUTHORS file for Copyright information * * 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 ...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
#ifndef CE122_H #define CE122_H #include "Ce126.h" class Cce122:public Cce126 { public: Cce122(CPObject *parent=0); bool run(); void ComputeKey(KEYEVENT ke = KEY_PRESSED,int scancode=0,QMouseEvent *event=0); bool UpdateFinalImage(); virtual void TurnON(); virtual void TurnOFF(); bool pri...
/* * Copyright (c) 1991,1992,1995 Linus Torvalds * Copyright (c) 1994 Alan Modra * Copyright (c) 1995 Markus Kuhn * Copyright (c) 1996 Ingo Molnar * Copyright (c) 1998 Andrea Arcangeli * Copyright (c) 2002,2006 Vojtech Pavlik * Copyright (c) 2003 Andi Kleen * */ #include <linux/clockchips.h> #in...
#ifndef _NET_SECURE_SEQ #define _NET_SECURE_SEQ #include <linux/types.h> extern __u32 secure_ip_id(__be32 daddr); extern __u32 secure_ipv6_id(const __be32 daddr[4]); extern u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport); extern u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32...
//---------------------------------------------------------------------------- //Chiika //Copyright (C) 2015 Alperen Gezer //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 th...
/* $Id: flash.c,v 1.1.1.1 2004/06/19 05:03:37 ashieh Exp $ * flash.c: Allow mmap access to the OBP Flash, for OBP updates. * * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be) */ #include <linux/config.h> #include <linux/module.h> #include <linux/types.h> #include <linux/errno.h> #include <linux/miscdevice.h> #i...
/* ============================================================ * * This file is a part of digiKam project * http://www.digikam.org * * Date : 2007-11-15 * Description : widget item delegate for setup collection view * * Copyright (C) 2015 by Gilles Caulier <caulier dot gilles at gmail dot com> * C...
/** * 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 * ...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* * driver.c - centralized device driver management * * Copyright (c) 2002-3 Patrick Mochel * Copyright (c) 2002-3 Open Source Development Labs * Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de> * Copyright (c) 2007 Novell Inc. * * This file is released under the GPLv2 * */ #include <linux/device.h> #...
// -*- c++ -*- // Generated by gtkmmproc -- DO NOT MODIFY! #ifndef _GTKMM_OPTIONMENU_P_H #define _GTKMM_OPTIONMENU_P_H #ifndef GTKMM_DISABLE_DEPRECATED #include <gtkmm/private/button_p.h> #include <glibmm/class.h> namespace Gtk { class OptionMenu_Class : public Glib::Class { public: #ifndef DOXYGEN_SHOULD_SKIP_THI...
// -*- C++ -*- //============================================================================= /** * @file SStringfwd.h * * $Id: SStringfwd.h 80826 2008-03-04 14:51:23Z wotte $ * * Forward declarations and typedefs of ACE string types. * * @author Douglas C. Schmidt <schmidt@cs.wustl.edu> * ...
//------------------------------------------------ // The Virtual Monte Carlo examples // Copyright (C) 2007 - 2014 Ivana Hrivnacova // All rights reserved. // // For the licensing terms see geant4_vmc/LICENSE. // Contact: root-vmc@cern.ch //------------------------------------------------- /// \file exampleE02LinkDef...
#ifndef _VEC_TEMPLATE_H_ #define _VEC_TEMPLATE_H_ #include <cmath> #include <iostream> #include "parameters.h" #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> template<typename Type = Real> class Vec_template { public : static const gsl_rng_type * T; static gsl_rng * gsl_r; Type x,y; static void Init...
#include <stdio.h> int main(void) { void Exchange(int * a, int * b);//º¯ÊýÉùÃ÷ int first, last, index, sum;//¶¨Òå±äÁ¿ scanf("%d", &sum);//ÊäÈë²âÊÔÊý¾ÝµÄ×éÊý for (index = 1; index <= sum; index++) { scanf("%d %d", &first, &last);//ÊäÈë²âÊÔÊý¾Ý Exchange(&first, &last);//µ÷Óú¯Êý ...
/* ** initial coding by fx2 */ #include <stdio.h> #include <fcntl.h> #include <string.h> #include <signal.h> #include <sys/time.h> #include <rcinput.h> #include <draw.h> #include <pig.h> #include <colors.h> #include <yahtzee.h> #include <plugin.h> #include <fx2math.h> extern int doexit; extern int debug; extern uns...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/** * \file pkcs11.h * * \brief Wrapper for PKCS#11 library libpkcs11-helper * * \author Adriaan de Jong <dejong@fox-it.com> * * Copyright (C) 2006-2014, ARM Limited, All Rights Reserved * * This file is part of mbed TLS (https://tls.mbed.org) * * This program is free software; you can redistribute it and...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager -- Network link manager * * 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 th...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include <tchar.h> // TODO: reference additional ...
#include "Energy.h" int main(){ int a = 0; Energy *energy0 = calloc(sizeof(Energy), 1); Energy *energy1 = calloc(sizeof(Energy), 1); //Energy *energy2 = calloc(sizeof(Energy), 1); initEnergy(energy0, 1); initEnergy(energy1, 1); //initEnergy(energy2, 1); setSensor(energy0, "ACa", "A", "", "/dev/ttyACM0"); ...
/** * @file thinfnan.h * Therion number constants. */ /* Copyright (C) 2000 Stacho Mudrak * * $Date: $ * $RCSfile: $ * $Revision: $ * * -------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the ...
/* * This file is part of ltrace. * Copyright (C) 2011,2012,2013 Petr Machata, Red Hat 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; either version 2 of the * License, or (at you...
/* * Dolda Connect - Modular multiuser Direct Connect-style client * Copyright (C) 2004 Fredrik Tolf <fredrik@dolda2000.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...
/* This file is part of the KDE project Copyright (C) 2000 David Faure <faure@kde.org> 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 y...
#ifndef DECLARE_NODE_H #define DECLARE_NODE_H #include <memory> #include <vector> #include <boost/ptr_container/ptr_vector.hpp> #include "syntax_tree/stmt_node.h" #include "syntax_tree/type_node.h" #include "syntax_tree/exp_node.h" #include "syntax_tree/name_node.h" namespace flang { class VarDeclFragmentNode : pu...
#include "pbcc3_test.h" volatile char ofc = 0x12; int function(char param1, int param2, long param3) { return param1 + param2 + param3; } void main(void) { volatile int foo = function(11, 333, 77777); END_EXECUTION; // s0 == 0x29, s1 == 31 }
/* * Copyright (c) 2008 Cyrille Berger <cberger@cberger.net> * * 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; version 2 of the License. * * This program is distributed in the...
#define _GNU_SOURCE #include <sys/types.h> #include <sys/wait.h> #include <stdio.h> #include <sched.h> #include <signal.h> #include <unistd.h> #define STACK_SIZE (1024 * 1024) static char child_stack[STACK_SIZE]; char* const child_args[] = { "/bin/bash", NULL }; int child_main(void* arg) { printf(" - World ...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2014 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This ...
/* Monkey HTTP Daemon * ------------------ * Copyright (C) 2012, Sonny Karlsson * * 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...
struct Bullet { double x,y; double vx,vy; int shooter; };
/* * The ManaPlus Client * Copyright (C) 2009 The Mana World Development Team * Copyright (C) 2009-2010 The Mana Developers * Copyright (C) 2011-2013 The ManaPlus Developers * * This file is part of The ManaPlus Client. * * This program is free software; you can redistribute it and/or modify * it und...
/******************************************************************************** * Tangram Library - version 8.0 * ********************************************************************************* * Copyright (C) 2002-2015 by Tangram Team. All Rights Reserved. * * * THIS SOURCE FILE IS THE PROPERT...
/* *** Undo Event - Model DrawStyle *** src/undo/model_drawstyle.h Copyright T. Youngs 2007-2018 This file is part of Aten. Aten 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 Lic...
#include <stdio.h> #include <sys/socket.h> #include <linux/in.h> #include <sys/ioctl.h> #include <linux/types.h> #include <linux/if_packet.h> #include <sys/ioctl.h> #include <linux/if_ether.h> #include <stdlib.h> #include <string.h> #include <linux/mapi/ioctl.h> #include <tconfig.h> #include <subflow.h> #include <mapi...
/**************************************************************************** ** $Id: qiodevice.h,v 1.2 2003-07-10 02:40:11 llornkcor Exp $ ** ** Definition of QIODevice class ** ** Created : 940913 ** ** Copyright (C) 1992-2002 Trolltech AS. All rights reserved. ** ** This file is part of the tools module of the Qt G...
/*! \file socket.h * Osmocom socket convenience functions. */ #pragma once #if (!EMBEDDED) /*! \defgroup socket Socket convenience functions * @{ * \file socket.h */ #include <stdint.h> #include <stdbool.h> #include <stddef.h> #include <arpa/inet.h> /*! maximum length of a socket name ("r=1.2.3.4:123<->l=5.6...
#ifndef CP5_ex7_32_h #define CP5_ex7_32_h #include <vector> #include <string> #include <iostream> class Screen; class Window_mgr { public: using ScreenIndex = std::vector<Screen>::size_type; inline void clear(ScreenIndex); private: std::vector<Screen> screens; }; class Screen { friend void Window_mg...
/* * Generic parts * Linux ethernet bridge * * Authors: * Lennert Buytenhek <buytenh@gnu.org> * * $Id: br.c,v 1.47 2001/12/24 00:56:41 davem Exp $ * * 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 Softwa...
/****************************************************************************** DISCLAIMER THIS SOFTWARE PRODUCT ("SOFTWARE") IS PROPRIETARY TO ENOCEAN GMBH, OBERHACHING, GERMANY (THE "OWNER") AND IS PROTECTED BY COPYRIGHT AND INTERNATIONAL TREATIES OR PROTECTED AS TRADE SECRET OR AS OTHER INTELLECTUAL PROPERTY ...
/* * m_gact.c generic actions module * * This program is free software; you can distribute 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. * * Authors: J Hadi S...
/** * This file contains constant values for controlling the robot */ /* Note: In ANSI-C (not C++), shared constants must be declared * static to indicate that they will be resolved * at link time. Otherwise the compiler beleives the constant has * been re-declared in every file it is included into */ static con...
/* Armator - simulateur de jeu d'instruction ARMv5T à but pédagogique Copyright (C) 2011 Guillaume Huard Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon les termes de la Licence Publique Générale GNU publiée par la Free Software Foundation (version 2 ou bien toute autre version ultérieure ch...
/******************************************************** * Header file for eata_pio.c Linux EATA-PIO SCSI driver * * (c) 1993-96 Michael Neuffer * ********************************************************* * last change: 2002/11/02 * ********************************************************/...
#ifndef A01_MAG_FIELD_H #define A01_MAG_FIELD_H //------------------------------------------------ // The Virtual Monte Carlo examples // Copyright (C) 2007 - 2014 Ivana Hrivnacova // All rights reserved. // // For the licensing terms see geant4_vmc/LICENSE. // Contact: root-vmc@cern.ch //-----------------------------...
//----------------------------------------------------------------------------- // Copyright (C) 2010 iZsh <izsh at fail0verflow.com> // // This code is licensed to you under the terms of the GNU GPL, version 2 or, // at your option, any later version. See the LICENSE.txt file for the text of // the license. //--------...
/* * Copyright 2014 Freescale Semiconductor, 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; either version 2 of the License, or * (at your option) any later version. */ #ifndef _...
/*---------------------------------------------------------------------------+ | fpu_asm.h | | | | Copyright (C) 1992,1995,1997 | | ...
/* * * $Id$ * * This file is part of Fenice * * Fenice -- Open Media Server * * Copyright (C) 2004 by * * - Giampaolo Mancini <giampaolo.mancini@polito.it> * - Francesco Varano <francesco.varano@polito.it> * - Marco Penno <marco.penno@polito.it> * - Federico Ridolfo <federico.ridolfo@polito.it> ...
/* C-Dogs SDL A port of the legendary (and fun) action/arcade cdogs. Copyright (c) 2019 Cong Xu 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 cod...
/* * arch-tag: Header for generic audio player source object * * Copyright (C) 2005 James Livingston <doclivingston@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; eithe...
/* * Author - Mike Blandford * * 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 hope that it will be useful, * but WITHOUT ANY WARRANTY; w...
/************************************************************************** ALGLIB 3.10.0 (source code generated 2015-08-19) Copyright (c) Sergey Bochkanov (ALGLIB project). >>> SOURCE LICENSE >>> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
/* Copyright (C) 1996-1997 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 published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distribut...