text stringlengths 4 6.14k |
|---|
/*****************************************************************************
*
* dbdupe.c
* Purpose ...............: Dupe checking.
*
*****************************************************************************
* Copyright (C) 1997-2005 Michiel Broek <mbse@mbse.eu>
* Copyright (C) 2013 Robert James Clay ... |
// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2000-2011
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <cpu_func.h>
#include <image.h>
#include <log.h>
#include <part.h>
int common_diskboot(struct cmd_tbl *cmdtp, const ch... |
/* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... |
#ifndef __KONST_UI_FUNC_H_
#define __KONST_UI_FUNC_H_
#include "kkstrtext.h"
#include "conf.h"
#include <string>
#include <vector>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <ncurses.h>
#include <ctype.h... |
#include <stdlib.h>
#include <stdio.h>
#include "../scl.h"
#include "../cfunc.h"
// (+ 2 3 4) => 9
VAL *sum(ND *n) { // suming
long double r = 0;
for (ND *m = n; m != NULL; m = m->tail) {
VAL *v = eval(m);
if (v == NULL) return NULL;
if (v->type != SCALAR) {
fprintf(stderr, ":: sum: not all val... |
/**
* @file
*
* @ingroup ClassicChains
*
* @brief Chain API.
*/
/*
* Copyright (c) 2010 embedded brains GmbH.
*
* 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... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Gypsy
*
* A simple to use and understand GPSD replacement
* that uses D-Bus, GLib and memory allocations
*
* Author: Iain Holmes <iain@sleepfive.com>
* Copyright (C) 2011
*
* This program is free software; you can redistribute it ... |
#include <system.h>
#include <isr.h>
#include <kbd.h>
#include <vfs.h>
uint32_t pos = 0;
void kbd_wait(void)
{
while(inb(0x64) & 2);
}
uint32_t spec = 0;
void kbd_handler(regs_t *r)
{
kbd_wait();
uint8_t scancode = inb(0x60);
if(scancode == 0xE0)
{
spec = 1;
return;
}
/*
static inode_t *i;
if(!i) i =... |
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-logotypecertextn.h */
/* ../../tools/asn2wrs.py -b -p logotypecertextn -c ./logotypecertextn.cnf -s... |
//
// SMITH3 - generates spin-free multireference electron correlation programs.
// Filename: op.h
// Copyright (C) 2012 Toru Shiozaki
//
// Author: Toru Shiozaki <shiozaki@northwestern.edu>
// Maintainer: Shiozaki group
//
// This file is part of the SMITH3 package.
//
// This program is free software: you can redistr... |
//
// ODBCException.h
//
// $Id: //poco/Main/Data/ODBC/include/Poco/Data/ODBC/ODBCException.h#4 $
//
// Library: ODBC
// Package: ODBC
// Module: ODBCException
//
// Definition of ODBCException.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission... |
/*
* Copyright (C) 2008 Martin Willi
* Copyright (C) 2009 Andreas Steffen
* Hochschule fuer Technik Rapperswil
*
* 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 Li... |
/*************************************************
* Perl-Compatible Regular Expressions *
*************************************************/
/* PCRE is a library of functions to support regular expressions whose syntax
and semantics are as close as possible to those of the Perl 5 language.
... |
/*
* Minion http://minion.sourceforge.net
* Copyright (C) 2006-09
*
* 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 file is part of the coreboot project.
*
* Copyright (C) 2013 Google Inc.
* Copyright (C) 2013 Sage Electronic Engineering, LLC.
*
* 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... |
/**
* (C) 2007-2010 Taobao Inc.
*
* 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.
*
* Version: $Id$
*
* Authors:
* yuanqi <yuanqi.xhf@taobao.com>
* - some work details... |
// PPMDSubAlloc.h
// This code is based on Dmitry Shkarin's PPMdH code
#ifndef __PPMD_SUBALLOC_H
#define __PPMD_SUBALLOC_H
#include "PPMDType.h"
extern "C" {
#include "../../../Common/Alloc.h"
}
const UINT N1=4, N2=4, N3=4, N4=(128+3-1*N1-2*N2-3*N3)/4;
const UINT UNIT_SIZE=12, N_INDEXES=N1+N2+N3+N4;
#... |
/*
* (C) Copyright 2004-2009
* Texas Instruments, <www.ti.com>
* Richard Woodruff <r-woodruff2@ti.com>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* ve... |
/*
* linux/include/asm-arm/arch-s3c2400/mz_dubug_ll.h
*
* Copyright (C) 2001 MIZI Research, 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
* (... |
/*
* Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/
#define PRN_STDERR 1
#define PRN_SPRINTF 2
extern FILE *dfd;
extern FILE *lfd;
extern int dostats;
extern int slirp_debug;
#define DBG_CALL 0x1
#define DBG_MISC 0x2
#define DBG_ERR... |
/* -*- mode: C -*- */
/*
IGraph library.
Copyright (C) 2006-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard st, Cambridge MA, 02139 USA
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 Softw... |
/******************************************************************************
* bwm-ng curses stuff *
* *
* Copyright (C) 2004 Volker Gropp (vgropp@pefra.de) *
... |
/*
Broadcom B43legacy wireless driver
Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>,
Stefano Brivio <stefano.brivio@polimi.it>
Michael Buesch <m@bues.ch>
Danny van Dyk <kugelfang@gentoo.org>
Andreas Jaggi <andreas.jaggi@waterwave.ch>
Some parts of the code in this file are... |
/* delete.h - CKS Key Deletion Application main header file
* Copyright (C) 2001-2004 CryptNET, V. Alex Brennen (VAB)
*
* This file is part of the CryptNET OpenPGP Public Key Server (cks).
*
* cks is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... |
/*
* LEDs driver for Dialog Semiconductor DA9030/DA9034
*
* Copyright (C) 2008 Compulab, Ltd.
* Mike Rapoport <mike@compulab.co.il>
*
* Copyright (C) 2006-2008 Marvell International Ltd.
* Eric Miao <eric.miao@marvell.com>
*
* This program is free software; you can redistribute it and/or modify
* ... |
#ifndef _RENDERDEFAULT_H
#define _RENDERDEFAULT_H
#include "renderinterface.h"
class RenderDefault : public QObject, public RenderInterface
{
Q_OBJECT
Q_INTERFACES(RenderInterface)
public:
void paintGL();
};
#endif
|
/*
* Copyright (C) 2005-2009 Martin Willi
* Copyright (C) 2005 Jan Hutter
* Hochschule fuer Technik Rapperswil
*
* 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 Li... |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/io.h>
#include <asm/proc-fns.h>
#include <mach/regs-ost.h>
#include <mach/reset.h>
unsigned int reset_status;
EXPORT_SYMBOL(reset_status);
static void do_hw_reset(void);
static int reset_gpio = -1;
... |
/*
* Maximus Version 3.02
* Copyright 1989, 2002 by Lanius 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
* as published by the Free Software Foundation; either version 2
* of the License, or (at y... |
#ifndef __WAL_LINUX_SCAN_H__
#define __WAL_LINUX_SCAN_H__
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
/*****************************************************************************
1 ÆäËûÍ·Îļþ°üº¬
*****************************************************************************/
#include "oal_ext_... |
/* sd2snes - SD card based universal cartridge for the SNES
Copyright (C) 2009-2010 Maximilian Rehkopf <otakon@gmx.net>
AVR firmware portion
Inspired by and based on code from sd2iec, written by Ingo Korb et al.
See sdcard.c|h, config.h.
FAT file system access based on code by ChaN, Jim Brain, Ingo Kor... |
/*
* adv7604 - Analog Devices ADV7604 video decoder driver
*
* Copyright 2012 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* This program is free software; you may redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundat... |
/*****************************************************************************
* wps service (private)
*
* Copyright (C) 2014, Broadcom Corporation
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, c... |
#define MC_CCR00_VALUE 0x00000400
#define MC_CCR01_VALUE 0x00000000
#define MC_CCR02_VALUE 0x0200c351
#define MC_CCR03_VALUE 0x02020308
#define MC_CCR04_VALUE 0x020c0f02
#define MC_CCR05_VALUE 0x03020204
#define MC_CCR06_VALUE 0x0303445A
#define MC_CCR07_VALUE 0x01010000
#defin... |
//! @file udp.h
//!
// UDP Client Server -- send/receive UDP packets
// Copyright (C) 2013 Made to Order Software Corp.
//
// 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 o... |
#define UTS_RELEASE "2.6.38.8-msku-kernel-jellybean"
|
/***********************************************************************
Copyright (c) 2006-2011, Skype Limited. 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 ... |
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <linux/wireless.h>
#include <linux/netlink.h>
#define NETLINK_MDRY 23
#define NL_GROUP 1
#define MAX_PAYLOAD 1024
int main(int argc, char **... |
/***************************************************************************
qgsrelationmanagerdialog.h
--------------------------------------
Date : 23.2.2013
Copyright : (C) 2013 Matthias Kuhn
Email : matthias at opengis dot ch
**************************... |
#include <linux/pm_qos.h>
#ifdef CONFIG_PM_RUNTIME
extern void pm_runtime_init(struct device *dev);
extern void pm_runtime_remove(struct device *dev);
#else /* !CONFIG_PM_RUNTIME */
static inline void pm_runtime_init(struct device *dev) {}
static inline void pm_runtime_remove(struct device *dev) {}
#endif /* !CONF... |
#include "../stralloc.h"
#undef stralloc_diffs
#include "../byte.h"
#include "../str.h"
extern int
stralloc_diffs(const stralloc* a, const char* b) {
size_t i;
int j;
for(i = 0;; ++i) {
if(i == a->len)
return !b[i] ? 0 : -1;
if(!b[i])
return 1;
if((j = ((unsigned char)(a->s[i]) - (unsigne... |
/***************************************************************************
* Copyright (C) 2005 - 2007 by *
* Last.fm Ltd <client@last.fm> *
* *
* Thi... |
/*
* Copyright (c) 2011, Intel Corporation.
*
* 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 ... |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Consortium theme widget (displays themed draw operations) */
/*
* Copyright (C) 2002 Havoc Pennington
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* publis... |
/*
* tkMacOSXNotify.c --
*
* This file contains the implementation of a tcl event source
* for the Carbon event loop.
*
* Copyright (c) 1995-1997 Sun Microsystems, Inc.
* Copyright 2001, Apple Computer, Inc.
* Copyright (c) 2005-2007 Daniel A. Steffen <das@users.sourceforge.net>
*
* See the file "license.term... |
/*
* This file is part of mpv.
*
* mpv 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.
*
* mpv is distributed in the h... |
/*
* Copyright (C) Kreogist Dev 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 program is distr... |
// Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org)
//
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "figures/noFigure.h"
class noBuildingSite;
class SerializedGameData;
/// Der Planierer
class nofPlaner : public noFigure
{
/// Arbeitsstelle des Planierers
noBuilding... |
/*
* SomePlayer - An alternate music player for Maemo 5
* Copyright (C) 2010 Nikolay (somebody) Tischenko <niktischenko@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 ... |
/*
* UV Navigator - Auswertungsvisualisierung fuer Universum V
* Copyright (C) 2004-2006 Daniel Roethlisberger <roe@chronator.ch>
*
* 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 v... |
/****************************************************************************************
* Copyright (c) 2009 Alejandro Wainzinger <aikawarazuni@gmail.com> *
* *
* This program is free software; you can redistri... |
/*
ettercap -- curses GUI
Copyright (C) ALoR & NaGA
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 VBA_PORT_H
#define VBA_PORT_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <ctime>
#ifndef NULL
#define NULL 0
#endif
typedef unsigned char bool8;
#ifdef HAVE_STDINT_H
#include <stdint.h>
typedef int8_t int8;
typedef uint8_t uint8;
typedef int16_t int16;
typedef uint16_t uint16;... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by OpenVPNUINetwork.rc
//
#define IDS_PROJNAME 100
#define IDR_OPENVPNUINETWORK 101
#define IDR_NETWORK 102
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO... |
/*
* capsule - the game recording and overlay toolkit
* Copyright (C) 2017, Amos Wenger
*
* 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 ... |
/* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferab... |
/* $Id: addr_resolv.h 2394 2008-12-23 17:27:53Z 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... |
/* -*- C++ -*-
*
* graphics_sse2.h - graphics routines using X86 SSE2 cpu functionality
*
* Copyright (c) 2009 Mion. 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 Foun... |
#ifndef WLBITEMMAPGETREQUEST_H
#define WLBITEMMAPGETREQUEST_H
#include <TaoApiCpp/TaoRequest.h>
#include <TaoApiCpp/TaoParser.h>
#include <TaoApiCpp/response/WlbItemMapGetResponse.h>
/**
* TOP API: 根据物流宝商品ID查询商品映射关系
*
* @author sd44 <sd44sdd44@yeah.net>
*/
class WlbItemMapGetRequest : public TaoRequest
{
public... |
/*
* Copyright (C) 2001-2008 Jacek Sieka, arnetheduck on gmail point 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 ... |
/* APPLE LOCAL file lno */
/* { dg-do compile } */
/* { dg-options "-O1 -floop-test -ftree-elim-checks -fdump-tree-lptest-details -fdump-tree-optimized" } */
void remove_me (void);
int main(void)
{
int a;
int b;
int c;
/* loop_1 runs 2 times. */
for (a = 22; a < 83; a+=1) /* a -> {22, +, 60}_1 */
... |
/* kernel/power/fbearlysuspend.c
*
* Copyright (C) 2005-2008 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 ... |
/**
* @file ns_cC.h creativeCommon RSS namespace support
*
* Copyright (C) 2003-2007 Lars Windolf <lars.lindner@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 versio... |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
/* Z80Load */
/***************************************************************************)
(* *)
(* Professional Adventure Writing System extractor. *)
(* Author: Jose Luis Cebri n Page ... |
/****************************************************************************
*
* Name: cnxtirq.c
*
* Description:
*
* Copyright: (c) 2002 Conexant Systems Inc.
*
*****************************************************************************
This program is free software; you can redistribute it and/or modify it
... |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/WebKit.framework/WebKit
*/
#import <WebKit/XXUnknownSuperclass.h>
#import <WebKit/WebKit-Structs.h>
@class NSMutableDictionary, NSMutableArray;
__attribute__((visibility("hidden")))
@interface WebHistoryPrivate : X... |
/*
* Copyright (C) 2015 TinyCore <http://www.tinycore.net/>
* Copyright (C) 2014 TrinityCore<http://trinitycore.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 ... |
/*
* Copyright (c) 2000-2003 Silicon Graphics, 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.
*
* This program is distributed in the hope that i... |
/*
FPTOOL - a fixed-point math to VHDL generation tool
Description: Reader, a class that reads a source file into memory
and provides in interface to it's characters with
an interface that supports roll-backs.
Author: Niels A. Moseley
*/
#ifndef reader_h
#define reader_h
#in... |
#ifndef R_INCLUDECONFIG_H
#define R_INCLUDECONFIG_H
#define R_NO_REMAP
#endif
|
/*
Copyright (c) 2016 Joey Babcock. All right reserved.
See: http://www.joeybabcock.me/blog/projects/arduino-lifx-api-control-library-for-esp8266/
ArduinoLifx API - A library to control your lifx bulbs via
ESP8266 on Arduino IDE.
This library is free software; you can redistribute it and/or
modify it under the terms ... |
/*
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2015 The ManaPlus Developers
* Copyright (C) 2009 Aethyra Development Team
*
* This file is part of The ManaPlus Client.
*
* This program is free soft... |
/*
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... |
/* UOL Messenger
* Copyright (c) 2005 Universo Online S/A
*
* Direitos Autorais Reservados
* All rights reserved
*
* Este programa é software livre; você pode redistribuí-lo e/ou modificá-lo
* sob os termos da Licença Pública Geral GNU conforme publicada pela Free
* Software Foundation; tanto a versão 2 da Lice... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt3Support module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid comm... |
/*****************************************************************************
* dbus.h : Low level dbus stuff header
*****************************************************************************
* LibMPRIS - Copyright (C) 2007 Milosz Derezynski, Mirsal Ennaime
*
* Authors: ... |
#ifndef __SITEMANAGER_DIALOG_H__
#define __SITEMANAGER_DIALOG_H__
#include "dialogex.h"
#include "sitemanager.h"
class CInterProcessMutex;
class CWindowStateManager;
class CSiteManagerDropTarget;
class CSiteManagerDialog final : public wxDialogEx
{
friend class CSiteManagerDropTarget;
DECLARE_EVENT_TABLE()
public... |
#include <gsl/gsl_math.h>
#include <gsl/gsl_cblas.h>
#include "cblas.h"
void
cblas_dgemm (const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE TransA,
const enum CBLAS_TRANSPOSE TransB, const int M, const int N,
const int K, const double alpha, const double *A, const int lda,
const double *B, con... |
#include <kernel.h>
#include <kdata.h>
#include <printf.h>
#include <devfd.h>
/*
* TODO: Debug, low density is half the sectors/track,
* what to do about 80 v 40 track ?
*
*/
/* Two drives but minors 2,3 are single density mode */
#define MAX_FD 4
#define OPDIR_NONE 0
#define OPDIR_READ 1
#define OPDIR_WRITE 2
#... |
#ifndef _LEC_ARP_H_
#define _LEC_ARP_H_
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/if_ether.h>
#include <linux/atmlec.h>
struct lec_arp_table {
struct hlist_node next;
unsigned char atm_addr[ATM_ESA_LEN];
unsigned char mac_addr[ETH_ALEN];
int is_rdesc;
struct atm_vcc *vcc;
struct ... |
/**
******************************************************************************
* @file TIM/OCInactive/stm32f10x_conf.h
* @author MCD Application Team
* @version V3.5.0
* @date 08-April-2011
* @brief Library configuration file.
*****************************************************************... |
/*
* TI OMAP L4 interconnect emulation.
*
* Copyright (C) 2007-2009 Nokia Corporation
* Written by Andrzej Zaborowski <andrew@openedhand.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 Founda... |
/*
* DO NOT EDIT THIS FILE - it is generated by Glade.
*/
GtkWidget* create_bfl_launcher_dialog (void);
GtkWidget* create_level_select_dialog (void);
|
/**
* @file rtems/score/threadmp.h
*
* This include file contains the specification for all routines
* and data specific to the multiprocessing portion of the thread package.
*/
/*
* COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for t... |
// boolean.c -- ʹÓÃ_BoolÀàÐ͵ıäÁ¿ variable
#include <stdio.h>
int main(void)
{
long num;
long sum = 0L;
_Bool input_is_good;
printf("Please Enter an integer to be summed ");
printf(" (q to quit): ");
input_is_good = (scanf("%ld", &num) == 1) ;
while (input_is_good)
{
sum = sum + num;
printf("Please ente... |
//============================================================================
//
// SSSS tt lll lll
// SS SS tt ll ll
// SS tttttt eeee ll ll aaaa
// SSSS tt ee ee ll ll aa
// SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emula... |
// -*- c-basic-offset: 8; indent-tabs-mode: t -*-
// vim:ts=8:sw=8:noet:ai:
/*
* Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com>
*
* This file is part of libass.
*
* libass is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... |
#pragma once
#include "device.h"
struct System;
namespace interrupt {
enum IrqNumber {
VBLANK = 0,
GPU = 1,
CDROM = 2,
DMA = 3,
TIMER0 = 4,
TIMER1 = 5,
TIMER2 = 6,
CONTROLLER = 7,
SIO = 8,
SPU = 9,
LIGHTPEN = 10
};
// Interrupt Channels
union IRQ {
struct {
uin... |
/************************************************************************
**
** Authors: Azazello <lachupe@gmail.com>,
** Nils Schimmelmann <nschimme@gmail.com> (Jahara)
**
** This file is part of the MMapper project.
** Maintained by Nils Schimmelmann <nschimme@gmail.com>
**
** This program is free softw... |
#ifndef LSSETEDITOR_H
#define LSSETEDITOR_H
#include <QWidget>
#include <QSpinBox>
#include <QComboBox>
class _LSSetEntryEditorBaseBase : public QWidget {
Q_OBJECT
protected:
explicit _LSSetEntryEditorBaseBase(QWidget *parent = 0) :
QWidget(parent) { }
signals:
void dataEdited();
};
// class prototype
template... |
#include <linux/types.h>
#include <linux/linkage.h>
#include <linux/ctype.h>
#include <linux/fs.h>
#include <linux/sysctl.h>
#include <linux/module.h>
#include <asm/uaccess.h>
#include <linux/sunrpc/types.h>
#include <linux/sunrpc/sched.h>
#include <linux/sunrpc/stats.h>
#include <linux/sunrpc/svc_xprt.h>
unsigned ... |
/*
Copyright (C) 2013- The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
#include "work_queue_resources.h"
#include "link.h"
#include "load_average.h"
#include "host_disk_info.h"
#include "host_memory_info.h"
#include "gpu_info.h"
#inc... |
/*
* chardev.c: Creates a read-only char device that says how many times you've
* read from the dev file.
*
* You can have some fun with this by removing the module_get/put calls,
* allowing the module to be removed while the file is still open.
*
* Compile with `make`. Load with `sudo insmod chardev.ko`. Check ... |
#ifndef BASIC_H
#define BASIC_H
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
struct Parameter
{
string source_image_name;
string water_image_name;
bool water_used;
string mask_image_name;
bool mask_used;
Rect rect;
string result_image_name;
};
class Basic
{... |
/* GNUTLS --- Guile bindings for GnuTLS.
Copyright (C) 2007 Free Software Foundation
GNUTLS 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 op... |
/*
* $Id$
*
* CentroidFold: A generalized centroid estimator for predicting RNA
* secondary structures
*
* Copyright (C) 2008-2010 Kengo Sato
*
* 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... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef _SECURE_ATL
#define _SECURE_ATL 1
#endif
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endi... |
/*
* Copyright (C) 2016-2018, Nils Asmussen <nils@os.inf.tu-dresden.de>
* Economic rights: Technische Universitaet Dresden (Germany)
*
* This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores).
*
* M3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU G... |
#ifndef MOTORS_H
#define MOTORS_H
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "../commons/geometry.h"
class Motor
{
public:
double speed, rotation_speed; // vitesse moyenne du robot en m/s et rad/s
long move_step, turn_step; // valeurs a passer a la carte de puissance
Position old_pos... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.