text stringlengths 4 6.14k |
|---|
/**********************************************************************
This source file is a part of Demi3D
__ ___ __ __ __
| \|_ |\/|| _)| \
|__/|__| || __)|__/
Copyright (c) 2013-2014 Demi team
https://github.com/wangyanxing/Demi3D
Released under the MIT License
https://github.com/wangyanxing/De... |
//
// ThreadSafeDictionary.h
// YandexTests
//
// Created by Mikhail Igonin on 16.03.15.
// Copyright (c) 2015 2BC Apps. All rights reserved.
//
typedef enum
{
TypeSynchronized = 0,
TypeNSLock,
TypeOSSpinLock,
TypePTMutex,
TypeGCDQueue,
TypeGCDSemaphore
}SyncType;
#import <Foundation/Found... |
#pragma once
#ifndef CAL_SVTOOL_H
#define CAL_SVTOOL_H
#include "Stutter.h"
#include "Copier.h"
#include "False.h"
#include "MeasureLine.h"
#include "Normalizer.h"
#include "Sine.h"
class CAL_svtool {
public:
//CALIBRATORF_I is the Calibrator for input functions
//Input (Bool) Stutter, (Bool) Copi... |
//
// TestViewController.h
// FSScrollContentViewDemo
//
// Created by huim on 2017/5/4.
// Copyright © 2017年 fengshun. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TestViewController : UIViewController
@end
|
/* _defs/object.h -- This file is part of ooduck
*
* Copyright (C) 2015 David Delassus <david.jose.delassus@gmail.com>
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#ifndef __OODUCK_DEF_OBJECT_H
#define __OODUCK_DEF_OBJECT_H
/* defi... |
/*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILI... |
#pragma once
#include "RandomInterface.h"
namespace GustyUtils
{
class GusRandom : public RandomInterface
{
public:
GusRandom( long seed = -1 );
~GusRandom();
void initialize( long seed = -1 );
long random( long maxValue );
};
} |
//
// SettingType.h
// ANMobilePaymentLib
//
// Created by Authorize.Net on 1/12/11.
// Copyright 2011 none. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SettingType : NSObject {
NSString *name;
NSString *value;
}
@property (nonatomic, retain) NSString *name;
@property (nonatomic, reta... |
/**
* Copyright (C) 2013 Mikael Andersson
* Written by Mikael Andersson <qubex2@gmail.com>.
*/
#ifndef EXCEPT_INCLUDED
#define EXCEPT_INCLUDED
#include <setjmp.h>
#define T Except_T
typedef struct T {
const char *reason;
} T;
void Except_raise(const char* e, const char *file, int line);
#define RAISE(e) Excep... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <IDEModelFoundation/XDUMLNamespaceImp.h>
#import "XDUMLPackage-Protocol.h"
@class XDModel;
@interface XDUMLPackageImp : XDUMLNamespaceImp <XDUMLPackage>
{
XDModel ... |
//
// SystemStructViewController.h
// Schneider
//
// Created by GongXuehan on 13-4-15.
// Copyright (c) 2013年 xhgong. All rights reserved.
//
#import "BaseViewController.h"
#import "SystemStructView.h"
#import "SystemManager.h"
#import "CustomObjectModbus.h"
#import "ModbusAuxiliary.h"
@interface SystemStructVie... |
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include "jansson_private.h"
#include "strbuffer.h"
#if JSON_HAVE_LOCALECONV
#include <locale.h>
/*
- This code assumes that the decimal separator is exactly one
character.
- If setlocale() is called by another thread between the c... |
/* Daniel Perry
* originally written in fall 2001 for cs3505
*
*/
#ifndef VECTOR3D_H
#define VECTOR3D_H
#include <cmath>
//#include <assert.h>
#include <iostream>
class vector3d {
public:
vector3d(){ data[0]=0; data[1]=0; data[2]=0; }
vector3d(double e0, double e1, double e2){ data[0]=e0;data[1]=e1;data... |
/*
* file: statevars.h
* created: 20160807
* author(s): mr-augustine
*
* This statevars header file defines the data structure that stores the
* robot's state data. This includes data from GPS, compass, odometer, and
* mobility systems. It also defines the status bits.
*/
#ifndef _STATEVARS_H_
#define _STATEVAR... |
#ifndef __CPUID_H__
#define __CPUID_H__
// Copy and paste from
// http://www.linuxquestions.org/questions/programming-9/looking-for-linux-equivalent-of-__cpuid-intrinsic-porting-from-visual-studio-706742/
enum CPUIDInfoType
{
String = 0, FeatureSupport = 1
};
struct CpuidString
{
union
{
int CPUInfo[4];
struc... |
#include "twocats-internal.h"
#if defined(__AVX2__) || defined(__SSE2__)
#include "../blake2-sse/blake2b.c"
#else
#include "../blake2-ref/blake2b-ref.c"
#endif
// Initilized the state.
static bool init(TwoCats_H *H) {
return !blake2b_init(&(H->c.blake2bState), 64);
}
// Update the state.
static bool update(TwoCa... |
//
// QDC CARAS data definitions
//
#ifndef QDC_CARAS_H
#define QDC_CARAS_H 1
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
QDC_X1_TYPE_ALIAS = 41,
QDC_X2_TYPE_ALIAS = 42,
QDC_X3_TYPE_ALIAS = 43,
QDC_X4_TYPE_ALIAS = 44,
QDC_TDC_X1_TYPE_ALIAS = 141,
QDC_TDC_X2_TYPE_ALIAS =... |
/*
* The OpenDiamond Platform for Interactive Search
*
* Copyright (c) 2002-2007 Intel Corporation
* Copyright (c) 2006 Larry Huston <larry@thehustons.net>
* Copyright (c) 2006-2010 Carnegie Mellon University
* All rights reserved.
*
* This software is distributed under the terms of the Eclipse Public
* ... |
/*! \file
Copyright Notice:
Copyright (C) 1990-2016, International Business Machines
Corporation and others. All rights reserved
*/
#ifndef _OtmMarkupTablePlugin_H_
#define _OtmMarkupTablePlugin_H_
#include "core\pluginmanager\OtmMarkupPlugin.h"
#include "core\pluginmanager\OtmMarkup.h"
#include "core... |
#ifndef NARY_BIT_LATTICE_H
#define NARY_BIT_LATTICE_H
#include "bit_lattice.h"
#include "nary.h"
// These are always inlined so they MUST be visible to
// instantiate or even declare.
typedef NaryL<UnaryRelation> BinaryRelation;
typedef NaryL<NaryL<UnaryRelation> > TrinaryRelation;
class BinaryRelationBitLattice {
... |
/**
*
*/
#include <msp430f1232.h>
#include "cfgintf.h"
#include "paramintf.h"
#include "reconfmodule.h"
#include "slowadt7410.h"
#ifdef WRAPAPP
# include "slowadt7410-wrapapp-driver.h"
#else
# include "slowadt7410-driver.h"
#endif
#ifndef SIMULATION
// delay between start of conversion command and query command,... |
// Copyright (c) 2011 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_UI_GTK_STATUS_BUBBLE_GTK_H_
#define CHROME_BROWSER_UI_GTK_STATUS_BUBBLE_GTK_H_
#pragma once
#include <gtk/gtk.h>
#include <st... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2010 Advanced Micro Devices, 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 ... |
enum {
RBC_SFUL,
RBC_SFREE
};
struct StressFree_v {
float *ll; /* eq. spring lengths */
float *aa; /* eq. triangle areas */
};
struct StressFul_v {
float l0; /* eq. spring length */
float a0; /* eq. triangle area */
};
union SFreeInfo {
StressFul_v sful;
StressFree_v sfree;
};
enum {... |
#ifndef _SDM_EXCEPTION_H_
#define _SDM_EXCEPTION_H_
#include "../sdmLib.h"
#include <string.h>
class SDMLIB_API SDMException
{
public:
SDMException();
SDMException(const char* ExceptionMessage);
virtual ~SDMException();
virtual const char* Message() const;
private:
char m_strMessage[256];
};
#endif
|
/***************************************************************************
* Copyright (C) 2013 by James Holodnak *
* jamesholodnak@gmail.com *
* *
* This pr... |
//
// SGWrapView.h
// aquachat
//
// Created by Steve Green on 7/4/05.
// Copyright 2005 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <SGView.h>
@interface SGWrapView : SGView
{
unsigned rows;
}
- (unsigned) rowCount;
@end
|
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <assert.h>
#include <string.h>
#include "ntlm.h"
#include "smbencrypt.h"
#include "smbbyteorder.h"
char versionString[] ="libntlm version 0.21";
/* Utility routines that handle NTLM auth structures. */
/* The [IS]VAL macros are to... |
/* config.h.in. Generated from configure.ac by autoheader. */
/* This copy of config.h.in is specifically for win32 Visual Studio builds */
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#undef ENABLE_NLS
/* gettext package name */
#define GETTEXT_PACKAGE "gst-pl... |
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright (C) 2000-2012 Julian Seward
jseward@acm.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 Foun... |
/*
* version.h
*/
#define SND_UTIL_MAJOR 1
#define SND_UTIL_MINOR 0
#define SND_UTIL_SUBMINOR 29
#define SND_UTIL_VERSION ((SND_UTIL_MAJOR<<16)|\
(SND_UTIL_MINOR<<8)|\
SND_UTIL_SUBMINOR)
#define SND_UTIL_VERSION_STR "1.0.29"
|
#ifndef _ASM_TSAR_SMP_MAP_H
#define _ASM_TSAR_SMP_MAP_H
/*
* Logical to physical CPU mapping
*/
#define INVALID_HWCPUID ULONG_MAX
extern unsigned long __cpu_logical_map[NR_CPUS];
#define cpu_logical_map(cpu) __cpu_logical_map[cpu]
#endif /* _ASM_TSAR_SMP_MAP_H */
|
static const char *copyright =
"PEEP: The Network Auralizer"
"Copyright (C) 2000 Michael Gilfix"
""
"This file is part of PEEP."
""
"You should have received a file COPYING containing license terms"
"along with this program; if not, write to Michael Gilfix"
"(mgilfix@eecs.tufts.edu) for a copy."
""
... |
/*
*
*
* Copyright 1990-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
* 2 only, as published by the Free ... |
/*
* Copyright (C) 2000-2006 the xine project
*
* This file is part of xine, a free video player.
*
* xine 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... |
#ifndef K3DSDK_IDOCUMENT_IMPORTER_H
#define K3DSDK_IDOCUMENT_IMPORTER_H
// K-3D
// Copyright (c) 1995-2010, Timothy M. Shead
//
// Contact: tshead@k-3d.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 Soft... |
/*
** Copyright (C) 1998-2010 George Tzanetakis <gtzan@cs.uvic.ca>
**
** 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... |
/* signals.c: handle some signals (currently SIGINT, SIGTSTP, SIGCHLD) */
# include <stdlib.h>
# include <signal.h>
# include <sys/types.h>
# include <sys/wait.h>
# include "../sharedlib/dhlist.h"
# include "../sharedlib/strmod.h"
# include "../rssh/rserrors.h"
static dhlist running_processes; /* a copy of the runn... |
#ifndef _DS1077L_H_
#define _DS1077L_H_
#include <argp.h>
#include <stdint.h>
#include <stdbool.h>
/* Addresses, structures and other shit as adapted from the spec sheet for the
* Maxim DS1077L oscillator. For definitive data consult the spec sheet:
* http://datasheets.maximintegrated.com/en/ds/DS1077L.pdf
*/
/* ... |
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* god-image.h: MS Office Graphic Object support
*
* Author:
* Michael Meeks (michael@ximian.com)
* Jody Goldberg (jody@gnome.org)
* Christopher James Lahey <clahey@ximian.com>
*
* (C) 1998-2003 Michael Meeks, ... |
/*
* include/asm-s390/sigcontext.h
*
* S390 version
* Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
*/
#ifndef _ASM_S390_SIGCONTEXT_H
#define _ASM_S390_SIGCONTEXT_H
#include <asm/s390-regs-common.h>
/*
Has to be at least _NSIG_WORDS from asm/signal.h
*/
#define _SIGCONTEXT_NSI... |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Comm... |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport
*/
#import <OfficeImport/ODICycle5.h>
__attribute__((visibility("hidden")))
@interface ODIGear1 : ODICycle5 {
}
+ (unsigned)nodeCountWithState:(id)state; // 0x2b3189
+ (void)mapS... |
#include <psd_base.h>
#include "pf_lib.h"
static void
clear_before_outers()
{
}
static void
clear_each_outer ()
{
}
static void
clear_between_outers()
{
}
static void
clear_after_outers()
{
}
static void
clear_each_text()
{
}
static void
clear_before_block()
{
}
static void
clear_after_block()
{
}
static void
c... |
/*
* linux/arch/sh/kernel/pci-bigsur.c
*
* By Dustin McIntire (dustin@sensoria.com) (c)2001
*
* Ported to new API by Paul Mundt <lethal@linux-sh.org>.
*
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*
* PCI initialization for the Hita... |
/*
* $Id$
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
* Squid is the result of efforts by numerous individuals from
* the Internet community; see the CONTRIBUTORS file for full
* details. Many organizations have provided ... |
// Copyright (C) 2003 Dolphin 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.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Aqua.rc
//
#define IDI_ICON1 101
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE ... |
/**
* Sailfish OS Factory Snapshot Update
* Copyright (C) 2015 Jolla Ltd.
* Contact: Thomas Perl <thomas.perl@jolla.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.
*
* ... |
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://lammps.sandia.gov/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC... |
/* This file is part of the KDE project
* Copyright (C) 2009 Pierre Stirnweiss <pstirnweiss@googlemail.com>
*
* 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 ... |
#ifndef _SYS_CDEFS_H
#define _SYS_CDEFS_H 1
#define __tos_libc 1
#endif
|
/* Copyright (C) 1990, 1993 Free Software Foundation, Inc.
This file is part of GNU ISPELL.
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 l... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <string.h>
#include <sys/mman.h>
/*
*
* asicc encode shellcode test program
*
* just work for stack-overflow in jmp-sep mode
*
*
*/
/*
*
* this is linux version
*
*/
/*
char shellcode[] = \
... |
/******************************************************************************
°æÈ¨ËùÓÐ (C), 2001-2011, »ªÎª¼¼ÊõÓÐÏÞ¹«Ë¾
******************************************************************************
ÎÄ ¼þ Ãû : ddrc_qos_cfg.h
°æ ±¾ ºÅ : ³õ¸å
×÷ Õß : ÆÝСÇå 00242728
Éú³ÉÈÕÆ... |
/*ARM*/
//uint32_t *usrregs[16],userregs[16],superregs[16],fiqregs[16],irqregs[16];
//uint32_t armregs[16];
//int armirq,armfiq;
//#define PC ((armregs[15])&0x3FFFFFC)
//void dumparmregs();
//int databort;
void arm_init();
void arm_reset();
void arm_exec();
void arm_close();
|
/*
Copyright (C) 2001, 2006 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... |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the mkspecs of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Co... |
#include "collerImages.h"
int max(int a, int b)
{
return a > b ? a : b;
}
int* taille(ListePoints* decalage, int hImage1, int hImage2, int lImage1, int lImage2)
{
int hauteur;
int largeur;
int* taille;
taille=mallocBis(2*sizeof(int));
if(decalage->x>=0 && decalage->y>=0){
largeur=max(lImage1,decalage->x + l... |
/*
* EffecTV for Android
* Copyright (C) 2013 Morihiro Soft
*
* LensTV.h :
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any l... |
#ifndef OKN_SYSTEM_H
#define OKN_SYSTEM_H
#include "okn_global.h"
#include "system/okn_time.h"
extern int okn_system_init(void);
extern int okn_system_dest(void);
#endif
|
/**
* \file mikc.c
* License details are found in the file LICENSE.
* \brief
* Initialization of IKC master channel
* \author Taku Shimosawa <shimosawa@is.s.u-tokyo.ac.jp> \par
* Copyright (C) 2011 - 2012 Taku Shimosawa
*/
/*
* HISTORY:
*/
#include <kmsg.h>
#include <ihk/cpu.h>
#include <ihk/debug.h>
#inc... |
/* Driver for Realtek PCI-Express card reader
* Header file
*
* Copyright(c) 2009 Realtek Semiconductor Corp. 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 as published by the
* Free Software Foundation;... |
/*
* libxl_conf.h: libxl configuration management
*
* Copyright (C) 2011-2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
* Copyright (C) 2011 Univention GmbH.
*
* 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 ... |
/*
All files except if stated otherwise in the begining of the file are under the ISC license:
-----------------------------------------------------------------------------------
Copyright (c) 2010-2012 Design Art Networks Ltd.
Permission to use, copy, modify, and/or distribute this software for any
purpose with... |
#ifndef __ASM_SH_MEMBLOCK_H
#define __ASM_SH_MEMBLOCK_H
#define MEMBLOCK_REAL_LIMIT 0
#endif /* __ASM_SH_MEMBLOCK_H */
|
/*
* Copyright (C) by Klaas Freitag <freitag@owncloud.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; version 2 of the License.
*
* This program is distributed in the hope that it ... |
/* FILE: avl.h */
/* definitions for AVL tree routines... */
#ifndef _AVL_H
#define _AVL_H
/*
Types defined: (defined in avl.h)
TAVLTree -- Struct containing root ptr, current compare func, etc.
PAVLTree -- Pointer to AVLTree structure
TAVLNode -- Struct containing the dat... |
/*
* Copyright (C) 2013 MACSi Project
* Author: Woody Rousseau
* email: woody.rousseau@ensta-paristech.fr
* website: www.macsi.isir.upmc.fr
* Permission is granted to copy, distribute, and/or modify this program
* under the terms of the GNU General Public License, version 2 or any
* later version published by t... |
/*
* PlayHandle.h - base class PlayHandle - core of rendering engine
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under t... |
#ifndef MODEL_GROUP_WALLGROUP_H_INCLUDED
#define MODEL_GROUP_WALLGROUP_H_INCLUDED
#include "../Wall.h"
#include <glm/vec2.hpp>
#include <vector>
namespace Model {
class WallGroup {
public:
void init();
void insertWall(const Wall& wall);
const std::vector<Wall>& getWa... |
/*********************************************************
*
* This source code is part of the Carnegie Mellon Robot
* Navigation Toolkit (CARMEN)
*
* CARMEN Copyright (c) 2002 Michael Montemerlo, Nicholas
* Roy, Sebastian Thrun, Dirk Haehnel, Cyrill Stachniss,
* and Jared Glover
*
* CARMEN is free software; ... |
#include "capwap.h"
#include "capwap_element.h"
/********************************************************************
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... |
/*
* linux/arch/arm/mach-omap2/irq.c
*
* Interrupt handler for OMAP2 boards.
*
* Copyright (C) 2005 Nokia Corporation
* Author: Paul Mundt <paul.mundt@nokia.com>
*
* 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 archiv... |
/* Copyright (C) 2010 The Android Open Source Project
**
** This software is licensed under the terms of the GNU General Public
** License version 2, as published by the Free Software Foundation, and
** may be copied, distributed, and modified under those terms.
**
** This program is distributed in the hope that it wil... |
#ifndef AJGRAPH_H
#define AJGRAPH_H
#include <itkDataObject.h>
#include <itkMacro.h>
#include <itkObjectFactory.h>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include "FeatureDescriptor.h"
#include <itkArray.h>
template<class TAJVertex,class TAJEdge> class AJGraph : public itk::D... |
/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*-
this file is part of rcssserver3D
Fri May 9 2003
Copyright (C) 2002,2003 Koblenz University
Copyright (C) 2003 RoboCup Soccer Server 3D Maintenance Group
$Id$
This program is free software; you can redistribute it and/or modify
it und... |
/***************************************************************************
file : aero.h
created : Sun Mar 19 00:04:59 CET 2000
copyright : (C) 2000 by Eric Espie
email : torcs@free.fr
version : $Id$
***************************... |
/*
k_os (Konnex Operating-System based on the OSEK/VDX-Standard).
(C) 2007-2012 by Christoph Schueler <github.com/Christoph2,
cpu12.gems@googlemail.com>
All Rights Reserved
This program is free software; you can redistribute it and/or modify
it under the terms o... |
#ifndef FILEFLAGS_H_
#define FILEFLAGS_H_
#include <fstream>
#include "../common/List.h"
#include "../common/ByteString.h"
#define NUMBER_OF_IDS sizeof(int)
#define ID_NUMBER sizeof(int)
class FileFlags {
private:
string fileName;
List<int> listOfID;
fstream fileFlag;
void saveFile();
void loadListOfIDs();
void... |
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#include <rtems.h>
#include <bsp.h>
#include <stdlib.h>
... |
/*
* long sys_clone(unsigned long clone_flags, unsigned long newsp,
void __user *parent_tid, void __user *child_tid, struct pt_regs *regs)
* On success, the thread ID of the child process is returned in the caller's thread of execution.
* On failure, -1 is returned in the caller's context, no child process will be ... |
/*
* SYS5 style killall
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <proc.h>
#include <fcntl.h>
static pid_t pid, ppid;
static struct p_tab_buffer buf;
static void writes(int fd, const char *p)
{
write(fd, p, strlen(p));
}
static int kill_pids(int sig)
{
int ... |
/*
* Drivedist algorithm for PostgreSQL
*
* Copyright (c) 2005 Sylvain Pasche
*
* 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 v... |
/*
* Copyright (C) 2004 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
*
* You should have received a copy... |
/*
* Copyright (c) 2014 Nuvoton Technology Corp.
*
* 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 under the terms of the GNU General Public License as
* published by the Free Software Foundation; either versi... |
//
// CriticViewController.h
// shige-yingping(2)
//
// Created by qianfeng on 15-6-5.
// Copyright (c) 2015年 qianfeng. All rights reserved.
//
#import "baseViewController.h"
@interface CriticViewController : baseViewController
@end
|
/* -*- mode: c -*- */
/* $Id: control.c 5682 2010-01-19 10:03:27Z cher $ */
/* Copyright (C) 2006 Alexander Chernov <cher@ejudge.ru> */
/*
* 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 <hidef.h> /* for EnableInterrupts macro */
#include "MC9S08QG8.h"
#include "derivative.h" /* include peripheral declarations */
#include "MCUinit.h"
#define S0 0
#define S1 1
#define S2 2
#define S3 3
#define ON 1
#define OFF 0
#define CW 1
#define CCW 0
#define COUNT 2
int stepState;
int motorDirection;
int... |
/*
* file: utils.h
* auth: cjfeii@126.com
* date: Aug 8, 2014
* desc: utils.
*/
#pragma once
//#define GET_NEED_COUNT(idx, div) ( (idx) / (div) + ( (idx) % (div) >= 1 )? 1 : 0 ) --> it's error, this result allway is 0 or 1
#define GET_NEED_COUNT(idx, div) ( (idx) / (div) + ( ((idx) % (div) >= 1 )? 1 : 0... |
/* ----------------------------------------------------------------------- *
*
* Copyright 1999-2008 H. Peter Anvin - All Rights Reserved
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in th... |
/*
* Copyright (c) International Business Machines Corp., 2001-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 ... |
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. 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 copyr... |
/*
* This file is part of sp-rtrace package.
*
* Copyright (C) 2011 by Nokia Corporation
*
* Contact: Eero Tamminen <eero.tamminen@nokia.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 Found... |
#include "stdio.h"
/**
default return type for function.
but you will get a warning when compile.
*/
print(char str[]){
printf("%s\n", str);
return 0;
}
main(){
putchar('H');
putchar('e');
putchar('l');
putchar('l');
putchar('o');
putchar('\n');
print("world.");
return 0;
}
|
/*
* Copyright (c) 2013 Alejandro Alemán Ramos (ICM-CIPF)
* Copyright (c) 2013 Cristina Yenyxe Gonzalez Garcia (ICM-CIPF)
* Copyright (c) 2013 Ignacio Medina (ICM-CIPF)
*
* This file is part of hpg-variant.
*
* hpg-variant is free software: you can redistribute it and/or modify
* it under the terms of the GNU G... |
/*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2012 Bolton Software Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file COPYING that should have accompan... |
/*
* ORXONOX - the hottest 3D action shooter ever to exist
* > www.orxonox.net <
*
*
* License notice:
*
* 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; eit... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2012 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... |
/*
* Switch a MMU context.
*
* 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) 1996, 1997, 1998, 1999 by Ralf Baechle
* Copyright (C) 1999 Silicon Graphics, Inc.
*/
#ifndef ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.