text stringlengths 4 6.14k |
|---|
/*
FreeRTOS V7.5.3 - Copyright (C) 2013 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
***************************************************************************
* ... |
/****************************************************************************
*
* $Id: vpMeTracker.h 4056 2013-01-05 13:04:42Z fspindle $
*
* This file is part of the ViSP software.
* Copyright (C) 2005 - 2013 by INRIA. All rights reserved.
*
* This software is free software; you can redistribute it and/or
* m... |
/*
* VncProxyConnectionFactory.h - abstract factory class for VncProxyConnectionFactory objects
*
* Copyright (c) 2017-2022 Tobias Junghans <tobydox@veyon.io>
*
* This file is part of Veyon - https://veyon.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GN... |
/*
* DFF -- An Open Source Digital Forensics Framework
* Copyright (C) 2009-2010 ArxSys
* This program is free software, distributed under the terms of
* the GNU General Public License Version 2. See the LICENSE file
* at the top of the source tree.
*
* See http: *www.digital-forensic.org for more information ... |
#ifndef DEBUGGER_ASSEMBLER_H
#define DEBUGGER_ASSEMBLER_H
// Directives
// Assemblers
// A = Acme
// B = Big Mac S= S-C Macro Assembler
// D = DOS Tool Kit T = TED II
// L = Lisa W = Weller's Assembler
// M = Merlin
// u = MicroSparc
// O = ORCA/M
en... |
/** @file visx/exptdriver.h root element in a psychophysics experiment */
///////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1999-2004 California Institute of Technology
// Copyright (c) 2004-2007 University of Southern California
// Rob Peters <https://github.com/rjpcal/>
//
/... |
/*
* 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... |
namespace sc {
class LocalUHFContribution {
private:
double * const gmata;
double * const gmatb;
double * const pmata;
double * const pmatb;
public:
LocalUHFContribution(double *ga, double *pa, double *gb, double *pb) :
gmata(ga), gmatb(gb), pmata(pa), pmatb(pb) {}
~LocalUHFContribu... |
#pragma once
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright (C) 2019 The MMapper Authors
// Author: Ulf Hermann <ulfonk_mennhar@gmx.de> (Alve)
// Author: Marek Krejza <krejza@gmail.com> (Caligor)
// Author: Nils Schimmelmann <nschimme@gmail.com> (Jahara)
#include <memory>
#include <QPoint>
#include <QString... |
/*! \file exif-mem.h
* \brief Define the ExifMem data type and the associated functions.
* ExifMem defines the memory management functions used by the ExifLoader.
*/
/* exif-mem.h
*
* Copyright (c) 2003 Lutz Mueller <lutz@users.sourceforge.net>
*
* This library is free software; you can redistribute it and/or... |
/*
* Copyright (C) 2016, 2017 by Rafael Santiago
*
* This is a free software. You can redistribute it and/or modify under
* the terms of the GNU General Public License version 2.
*
*/
#ifndef CP8_ASM_DTP_DTP2_H
#define CP8_ASM_DTP_DTP2_H 1
char *cp8_dsm_dtp2(unsigned short nnn);
#endif... |
#ifndef __SEGMENT_H
#define __SEGMENT_H
typedef struct bound
{
int bx,by;
float bJ;
} BOUND;
#endif
#define TN 6
int segment(unsigned char *rmap,unsigned char *cmap,int N,int nt,int ny,int nx,
unsigned char *RGB,char *outfname,char *exten,int type,int dim,int NSCALEi,
float displayintensity,int verbose,... |
#ifndef _ASM_X86_HW_IRQ_H
#define _ASM_X86_HW_IRQ_H
/*
* (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar
*
* moved some of the old arch/i386/kernel/irq.h to here. VY
*
* IRQ/IPI changes taken from work by Thomas Radke
* <tomsoft@informatik.tu-chemnitz.de>
*
* hacked by Andi Kleen for x86-64.
* unified by ... |
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* 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
* (... |
#include "pieces/walks/skylla_charybdis.h"
#include "pieces/walks/locusts.h"
#include "solving/move_generator.h"
#include "solving/fork.h"
#include "debugging/trace.h"
static void generate_one_move(numvec dir_arrival, numvec dir_capture)
{
square const sq_departure = curr_generation->departure;
square const sq_cap... |
/**
* @file
* @brief A simple line between two points
*/
/*
Copyright (C) 2002-2015 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 (a... |
#ifndef PREFDEFAULTSLAYOUT_H
#define PREFDEFAULTSLAYOUT_H
#include "ui_prefdefaultslayout.h"
class PrefDefaultsLayout : public QWidget, public Ui_PrefDefaultsLayout
{
Q_OBJECT
public:
explicit PrefDefaultsLayout( QWidget* parent = 0 );
};
#endif
|
#include "..\\include\\dict.h"
void
show_all_select_results(MYSQL *conn)
{
MYSQL_RES *res;
MYSQL_ROW row;
uint num_fields;
res = mysql_store_result(conn);
num_fields = mysql_num_fields(res);
while (row = mysql_fetch_row(res))
{
for (int i = 0; i < num_fields; i++)
{
printf("%s ", row[i] ? row[i] : "NUL... |
/* Return value of complex exponential function for float complex value.
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
modify it u... |
/*
* Generic GPIO card-detect helper
*
* Copyright (C) 2011, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
*
* 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 <linux... |
/*
* The ManaPlus Client
* Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* 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... |
/*
* kmod - one tool to rule them all
*
* Copyright (C) 2011-2013 ProFUSION embedded systems
*
* 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 ... |
/***************************************************************************//**
* @file drv_usart.h
* @brief USART driver of RT-Thread RTOS for MiniSTM32
* COPYRIGHT (C) 2011, RT-Thread Development Team
* @author onelife
* @version 0.4 beta
*****************************************************************... |
/*
* Copyright (C) 2013 by Jonathan Naylor, G4KLX
*
* 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 wi... |
#ifndef MAN_H
#define MAN_H
#include "define.h"
/*---------------------------------------------------------*/
/* The 'DC_Man' class is used for making a movable man */
/* for use in the DC Project. Its functions are as follows */
/*---------------------------------------------------------*/
class DC_Ma... |
/*
* Copyright (c) 2014 CASIA(Institute of Automation,Chinese Academy of Sciences)
*
* fb resource and device definitions
*
* 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.
*/
#... |
/*
* Copyright (C) 1999-2001 Harri Porten (porten@kde.org)
* Copyright (C) 2003, 2007, 2008, 2009, 2016 Apple Inc. All rights reserved.
*
* 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 F... |
/*
* Xiphos Bible Study Tool
* biblesync_glue.h
*
* Copyright (C) 2000-2016 Xiphos Developer 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
*... |
/*
* env.c
*
* Created on: 2017. 2. 7.
* Author: root
*/
#include <stdio.h>
#include <stdlib.h>
#include "env.h"
#include "common.h"
int get_air_env(AIR_ENV *env)
{
if (!getenv("DB_HOME")) {
fprintf(stderr, "DB_HOME is not defined\n");
return -1;
}
if (!getenv("CONF_HOME")) {
fprintf(stderr, "CON... |
/**
* (c) 2014-2016 Alexandro Sanchez Bach. All rights reserved.
* Released under GPL v2 license. Read LICENSE for more details.
*/
#pragma once
#include "nucleus/common.h"
#include "../hle_macro.h"
#include <mutex>
namespace sys {
struct sys_lwmutex_attribute_t
{
BE<U32> protocol;
BE<U32> recursive;
... |
/**
* The Forgotten Server - a free and open-source MMORPG server emulator
* Copyright (C) 2020 Mark Samman <mark.samman@gmail.com>
* Modifications made by Caduceus <decapitatedsoulot@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publi... |
#include <SDL/SDL.h>
#include <stdio.h>
void fillSurfaceWithColor(SDL_Surface *surf, Uint32 color)
{
SDL_Rect dstrect;
dstrect.x = 0;
dstrect.y = 0;
dstrect.w = surf->w;
dstrect.h = surf->h;
SDL_FillRect(surf, &dstrect, color);
return;
}
void fillSurfaceWithBlack(SDL_Surface *surf)
{
Uint32 color;
... |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport
*/
#import <OfficeImport/OfficeImport-Structs.h>
#import <OfficeImport/NSCopying.h>
#import <OfficeImport/XXUnknownSuperclass.h>
@class NSString;
__attribute__((visibility("hidde... |
//-------------------------------------------------------------------------
/*
Copyright (C) 2010 EDuke32 developers and contributors
This file is part of EDuke32.
EDuke32 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 So... |
/**********************************************************************
*
* Copyright (C) Imagination Technologies Ltd. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by ... |
#include <stdio.h>
#include <stdlib.h>
int len;
struct foo {
char* p;
char c;
char* pad;
int x;
} * d;
char* str;
int main(int argc, char** argv)
{
struct foo bar, *ptr;
char c = '1';
int i;
str = "I am a String!\n";
len = 10;
bar.x = 1;
struct foo* p = &bar;
p->c = 'a'... |
/* This file originates from the linux kernel provided in Samsung's YP-R0 Open
* Source package.
*/
/*
* Bigbang project
* Copyright (c) 2009 VPS R&D Group, Samsung Electronics, Inc.
* All rights reserved.
*/
/**
* This file defines data structures and APIs for Freescale SC900776
*
* @name sc900776.h
* @author ... |
/*
* motors.h
*
* Specifies motor ports.
*/
#ifndef MOTORS_H_
#define MOTORS_H_
// Drive Motors
#define driveBackLeft 1
#define driveBackRight 10
#define driveMiddleLeft 2
#define driveMiddleRight 9
#define driveFrontLeft 3
#define driveFrontRight 8
// Lift Motors
#define liftLeft 4 /* power expander (A... |
/*
*--------------------------------------------------------------------------
* File Name: global.h
*
* Author: Zhao Yanbai [zhaoyanbai@126.com]
* Sat Jan 23 14:12:40 2010
*
* Description: none
*
*--------------------------------------------------------------------------
*/
#ifndef _GLOB... |
#ifndef __VFMW_SEC_SHARE_H__
#define __VFMW_SEC_SHARE_H__
#include "vfmw.h"
// Interface of SEC Share
SINT32 SEC_ShareZone_Init(UINT32 Share);
VOID SEC_ShareZone_Exit(VOID);
SINT32 SEC_EventReport(SINT32 ChanID, SINT32 Type, VOID* pArgs, UINT32 Len);
SINT32 SEC_ReadRawStream(SINT32 InstID, STREAM_DATA_S ... |
/*
** Job Arranger for ZABBIX
** Copyright (C) 2012 FitechForce, Inc. 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 your o... |
// *************************************************************************
//
// Copyright 2004-2010 Bruno PAGES .
//
// This file is part of the BOUML Uml Toolkit.
//
// 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
// th... |
/* -*- c++ -*-
capabilities.h
This file is part of tdeio_smtp, the KDE SMTP tdeioslave.
Copyright (c) 2003 Marc Mutz <mutz@kde.org>
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 So... |
//
// NAGGameScene.h
// Miner
//
// Created by AndrewShmig on 5/25/14.
// Copyright (c) 2014 Non Atomic Games. All rights reserved.
//
@import SpriteKit;
@interface NAGGameScene : SKScene
@end
|
#include "stdafx.h"
#include "Wuapi.h"
#include <iostream>
#include <ATLComTime.h>
using namespace std;
// VARIABLE DECLARATIONS
PVOID OldValue = NULL;
// system code to be run (after arch detection)
void mainCode(bool aMode, bool guiMC)
{
if(guiMC == true)
{
// GUI mode
system("wusa /uninstall /kb:3035583");... |
/******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
* File Name : usb_pwr.h
* Author : MCD Application Team
* Version : V3.3.0
* Date : 21-March-2011
* Description : Connection/disconnection & power management header
*********************... |
inline UINT EncodingToCodePage( char * encoding )
{
if( stricmp(encoding,"utf8") == 0 || stricmp(encoding,"utf-8") == 0 )
return CP_UTF8;
else if( stricmp(encoding,"iso-8859-1") == 0 || stricmp(encoding,"iso8859-1") == 0 )
return 28591;
else if( stricmp(encoding,"iso-8859-2") == 0 || stricmp(encoding,"iso885... |
#include <linux/wait.h>
#include <linux/timer.h>
struct lbtf_private;
#define CMD_TYPE_REQUEST 0xF00DFACE
#define CMD_TYPE_DATA 0xBEADC0DE
#define CMD_TYPE_INDICATION 0xBEEFFACE
#define BOOT_CMD_FW_BY_USB 0x01
#define BOOT_CMD_FW_IN_EEPROM 0x02
#define BOOT_CMD_UPDATE_BOOT2 0x03
#define BOOT_CMD_UPDATE_FW ... |
//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of BCGControlBar Library Professional Edition
// Copyright (C) 1998-2010 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only unde... |
/* SPDX-License-Identifier: GPL-2.0-only */
#include <console/console.h>
#include <bootmode.h>
#include <boot/coreboot_tables.h>
#include <device/device.h>
#include <southbridge/intel/bd82x6x/pch.h>
#include <southbridge/intel/common/gpio.h>
#include <ec/quanta/ene_kb3940q/ec.h>
#include <vendorcode/google/chromeos/c... |
//===--- DiagnosticDriver.h - Diagnostics for libdriver ---------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* 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.
*
* ... |
/*
* Copyright 2015 Linaro Limited
*
* 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 will be useful,
* bu... |
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
#include "fd-util.h"
#include "escape.h"
#include "libmount-util.h"
#include "tests.h"
static void test_libmount_unescaping_one(
const char *title,
const char *string,
bool may_fail,
const ... |
/*
* uics8900.c - CS8900 submenu
*
* Written by
* Bas Wassink <b.wassink@ziggo.nl>
*
* 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 of the GNU General Public Lice... |
/*
* Copyright (C) 2008 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, t... |
// 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 CONTENT_BROWSER_RENDERER_HOST_MEMORY_BENCHMARK_MESSAGE_FILTER_H_
#define CONTENT_BROWSER_RENDERER_HOST_MEMORY_BENCHMARK_MESSAGE_FILTER_H_
#in... |
/* dh.h
*
* Copyright (C) 2006-2021 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) an... |
#ifndef _TESTS_H_
#define _TESTS_H_
#include "UnitTest/UnitTest.h"
#include "NewRendererTest/NewRendererTest.h"
#include "ConsoleTest/ConsoleTest.h"
#include "NewEventDispatcherTest/NewEventDispatcherTest.h"
#include "ActionsTest/ActionsTest.h"
#include "TransitionsTest/TransitionsTest.h"
#include "ActionsProgressTest... |
/* ui-log.c: functions for log output
*
* Copyright (C) 2006 Lars Hjemli
*
* Licensed under GNU General Public License v2
* (see COPYING for full license text)
*/
#include "cgit.h"
#include "html.h"
#include "ui-shared.h"
int files, add_lines, rem_lines;
void count_lines(char *line, int size)
{
if (size <= ... |
/*
* c_dynload.c
*
* Created on: Jan 21, 2014
* Author: Xander Soldaat <xander@robotc.net>
*
* Copyright (C) 2014 Robomatter/National Instruments
*
* 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 So... |
/************************************************************
Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
Copyright 2017 D. R. Commander
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby ... |
/*
This file is part of Warzone 2100.
Copyright (C) 1999-2004 Eidos Interactive
Copyright (C) 2005-2017 Warzone 2100 Project
Warzone 2100 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... |
#ifndef COIN_SOTIMERSENSOR_H
#define COIN_SOTIMERSENSOR_H
/**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) 1998-2008 by Kongsberg SIM. All rights reserved.
*
* This library is free software; you can redistr... |
/******************************************************************************
* This file is part of evfilter library. *
* *
* Evfilter library is free software; you can redistribute it and/or modify *
... |
/* linux/arch/arm/mach-via/board-broadcom-bt.c
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/irq.h>
#include <asm/mach-types.h>
//#include <asm/gpio.h>
#include <asm/io.h>
#include <linux/skbuff.h>
#include <linux/... |
#pragma once
/*
* Copyright (C) 2005-2008 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... |
/* ***** BEGIN LICENSE BLOCK *****
* Source last modified: $Id: hxmediasource.h,v 1.2 2006/09/19 23:56:33 gashish Exp $
*
* Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file,
* are subject to the current version of the Rea... |
/*
* Voxels 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.
*
* Voxels is distributed in the hope that it will be useful,
* but ... |
/*
* Copyright (C) 2001-2004 Peter J Jones (pjones@pmade.org)
* 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
* ... |
//////////////////////////////////////////////////////////////////////
// BasicSynth Composer
//
/// @file Text editor window class declaration.
//
// Copyright 2010, Daniel R. Mitchell
// License: Creative Commons/GNU-GPL
// (http://creativecommons.org/licenses/GPL/2.0/)
// (http://www.gnu.org/licenses/gpl.ht... |
// FiSHy, a plugin for Colloquy providing Blowfish encryption.
// Copyright (C) 2007 Henning Kiel
//
// 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 (... |
#include <cbehave/cbehave.h>
#include <stdlib.h>
#include <string.h>
#include <c_hashmap/hashmap.h>
// All tests in this file adapted from example code in the original c_hashmap
// package's main.c
FEATURE(hashmap_put, "Hashmap put")
SCENARIO("Put one value")
GIVEN("a new hashmap")
map_t map = hashmap_new();... |
#ifndef _SWELL_MENUGEN_H_
#define _SWELL_MENUGEN_H_
/**
SWELL - (Simple Windows Emulation Layer Library)
Copyright (C) 2006 and later, Cockos Incorporated.
Dynamic menu generation
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held lia... |
/*
C -programmering, en innføring.
Eksempel 34
*/
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include "modell.h"
#include "spaceinvader.h"
#include "rektangel.h"
#include "kanon.h"
Kanon * Kanon_opprett(void * spaceinvader) {
Skjerm * skjerm = ((Spaceinvader*)spaceinvader)->skjerm;
... |
/*
* Copyright 2006 Rob Kendrick <rjek@rjek.com>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
* NetSurf 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.
... |
/*
* Copyright (C) 2001 Momchil Velikov
* Portions Copyright (C) 2001 Christoph Hellwig
*
* 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... |
#ifndef MEASURETIME_H
#define MEASURETIME_H
#ifdef __MACH__
#include <mach/clock.h>
#include <mach/mach.h>
#endif
double gettime(){ // Fix for Mac OS X
#ifdef __MACH__ // OS X does not have clock_gettime, use clock_get_time
clock_serv_t cclock;
mach_timespec_t spec;
host_get_clock_service(mach_host_self(), CALENDA... |
/*
* PPRacer
* Copyright (C) 2004-2005 Volker Stroebel <volker@planetpenguin.de>
*
* Copyright (C) 1999-2001 Jasmin F. Patry
*
* 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... |
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: release/8.2.0/lib/libc/gen/getprogname.c 93399 2002-03-29 22:43:43Z markm $");
#include "namespace.h"
#include <stdlib.h>
#include "un-namespace.h"
#include "libc_private.h"
__weak_reference(_getprogname, getprogname);
const char *
_getprogname(void)
{
return (__progname... |
/*-----------------------------------------------------------------
sprintf.c - formatted output conversion
Copyright (C) 1999, Martijn van Balen <aed AT iae.nl>
Refactored by - Maarten Brock (2004)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Gener... |
/*
* Copyright © 2011 Keith Packard <keithp@keithp.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 wil... |
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
Written by Denis Oliver Kropp <dok@directfb.org>,
Andreas Hundt <andi@fischlustig.de>,
Sven Neumann <neo@di... |
/* SconeServer (http://www.sconemad.com)
Socket address for TCP/IP version 4 (host:port)
Copyright (c) 2000-2011 Andrew Wedgbury <wedge@sconemad.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;... |
// Adapter Without network
// SQLGetData() test
// SQLNumResultCols test
//
#include<stdio.h>
#include<stdlib.h>
#include<sql.h>
#include<sqlext.h>
#include<string.h>
//*************************************************************************
inline void checkrc(int rc,int line)
{
if(rc)
{
printf("E... |
/**
* @file
*
* This include file contains some definitions specific to the
* JMR3904 simulator in gdb.
*/
/*
* COPYRIGHT (c) 1989-2012.
* 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 ... |
/*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any l... |
// 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 UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
#define UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
#include "base/compiler_specific.h"
#include "base/strings/stri... |
/**
* @file sha512_224.c
* @brief SHA-512/224 (Secure Hash Algorithm)
*
* @section License
*
* Copyright (C) 2010-2013 Oryx Embedded. All rights reserved.
*
* This file is part of CycloneCrypto Open.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... |
//
// CityManageViewController.h
// 天气
//
// Created by qianfeng on 14/5/9.
// Copyright © 2014年 zhangying. All rights reserved.
//
#import "BaseViewController.h"
@protocol CityManageViewControllerDelegate <NSObject>
- (void)cityManagerVCPopToLocationCity;
- (void)changeCurrentChooseCity:(NSInteger)cityIndex;
... |
/*
* %kadu copyright begin%
* Copyright 2011 Rafał Przemysław Malinowski (rafal.przemyslaw.malinowski@gmail.com)
* %kadu copyright end%
*
* 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; e... |
#define INET6
#define BUILD_TARGET
#define MODULE_DATATYPE void
#define MODULE_NAME "TRACE"
#include "../module_iface.h"
ModuleDef _module = {
.type = MODULE_TYPE,
.name = MODULE_NAME,
.size = IP6T_ALIGN(0),
.size_uspace = IP6T_ALIGN(0),
};
ModuleDef *init(void) {
return(&_module);
}
/* vim: ts=4
*/
|
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Copyright (C) 2009 Sun Microsystems, 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... |
#ifndef REDDIT_CONSTANTS_H
#define REDDIT_CONSTANTS_H
namespace reddit {
const char kCommentPrefix[] = "t1";
const char kAccountPrefix[] = "t2";
const char kLinkPrefix[] = "t3";
const char kMessagePrefix[] = "t4";
const char kSubredditPrefix[] = "t5";
const char kListingPrefix[] = "Listing";
const char k... |
#ifndef _X86_IRQFLAGS_H_
#define _X86_IRQFLAGS_H_
#include <asm/processor-flags.h>
#ifndef __ASSEMBLY__
/*
* Interrupt control:
*/
static inline unsigned long native_save_fl(void)
{
unsigned long flags;
/*
* "=rm" is safe here, because "pop" adjusts the stack before
* it evaluates its effective address -- t... |
/*This module is created to simulate a dynamic array and to make/alter linked lists
F.A. Kuipers 25/01/2000*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <assert.h>
/*dynamic_array represents an array of integers*/
struct dynamic_array{
int data; /*data g... |
/*
* Author: MontaVista Software, Inc. <source@mvista.com>
*
* 2008 (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... |
/* This file is part of the KDE project
Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your... |
/*
* Common AAC and AC-3 parser
* Copyright (c) 2003 Fabrice Bellard
* Copyright (c) 2003 Michael Niedermayer
*
* 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 Fou... |
/*
LFN.c - long file name functions.
Copyright (C) 2000 Imre Leber
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 ver... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.