text stringlengths 4 6.14k |
|---|
#ifndef __TEV_H__
#define __TEV_H__
#include <stdint.h>
#include <stdbool.h>
#include "queue.h"
#include "heap-inl.h"
#include "tev_conf.h"
#define TEV_ASSERT_NOT_NULL(x) do { \
if (NULL == (x)) { \
abort(); \
} \
} while (0)
typedef enum {
TEV_HANDLE_TYPE_TIMER = 0,
TEV_HANDLE_TYPE_IDLE,
... |
//
// OrderRefundViewController.h
// YuWa
//
// Created by double on 17/3/29.
// Copyright © 2017年 Shanghai DuRui Information Technology Company. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface OrderRefundViewController : UIViewController
@end
|
//
// GameAudioManager.h
// YakitoriGameV2
//
// Created by Tsai Zhen Ling on 4/9/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface GameAudioManager : NSObject <AVAudioPlayerDelegate>
@property (nonatomic, readw... |
//
// BQViewController.h
// BQLibrary
//
// Created by CHAU WING WAI on 07/05/2015.
// Copyright (c) 2015 CHAU WING WAI. All rights reserved.
//
@import UIKit;
@interface BQViewController : UIViewController
@end
|
#include "stm32f0xx_ll_bus.h"
#include "stm32f0xx_ll_gpio.h"
#include "stm32f0xx_ll_rcc.h"
#include "stm32f0xx_ll_system.h"
#include "stm32f0xx_ll_spi.h"
static void led_config(void)
{
/*
* Setting clock
*/
LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_GPIOC);
LL_AH... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
@interface XCElementDebugging : NSObject
{
}
+ (void)applicationDidFinishLaunching:(id)arg1;
+ (void)_setupDebuggingMenu;
+ (void)_displayWindowInfo:(id)ar... |
//
// RBPlayerView.h
// Pods
//
// Created by Ribs on 16/8/22.
//
//
#import <UIKit/UIKit.h>
#import "RBPlayerViewMask.h"
#import "RBPlayerContainerView.h"
#import "RBPlayerControlButton.h"
extern NSString *const RBPlayerViewWillOrientationChangeNotificationName;
extern NSString *const RBPlayerViewDidChangedOrient... |
//
// INDANCSDictionarySerialization.h
// INDANCSMac
//
// Created by Indragie Karunaratne on 12/15/2013.
// Copyright (c) 2013 Indragie Karunaratne. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* Protocol for serializing and deserializing objects from dictionaries.
*/
@protocol INDANCSDiction... |
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_LOGGER_H_INCLUDED__
#define __I_LOGGER_H_INCLUDED__
#include "IReferenceCounted.h"
namespace ue
{
//! Possible log levels.... |
//
// Created by byter on 2/26/18.
//
#ifndef THREE_PPQ_POINTS_H
#define THREE_PPQ_POINTS_H
#include <QVector3D>
#include <QList>
#include <threepp/quick/scene/Scene.h>
#include <threepp/objects/Points.h>
namespace three {
namespace quick {
class Points : public ThreeQObject
{
Q_OBJECT
Q_PROPERTY(float size READ ... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSTextStorage.h"
@interface NSTextStorage (UIKitUndoExtensions)
- (id)_undoRedoAttributedSubstringFromRange:(struct _NSRange)arg1;
- (void)_undoRedoTextOperation:(id)ar... |
/**
* @fileoverview Copyright (c) 2017-18, Stefano Gualandi,
* via Ferrata, 1, I-27100, Pavia, Italy
*
* @author stefano.gualandi@gmail.com (Stefano Gualandi)
*
*/
#pragma once
#include "DOT_BasicTypes.h"
#include <fstream>
#include <sstream>
namespace DOT {
/**
* @brief Two dimensional histogram
*/
... |
//
// ViewController.h
// AAPullToRefreshDemo
//
// Created by hyde on 2013/12/08.
// Copyright (c) 2013年 r-plus. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController <UIScrollViewDelegate>
@end
|
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "github_scmlinks.h"
github_scmlinks_t *github_scmlinks_create(
link_t *self,
char *_class
) {
github_scmlinks_t *github_scmlinks_local_var = malloc(sizeof(github_scmlinks_t));
if (!github_scmlinks_local_var) {
return NULL... |
//
// Created by oleg on 08.01.18.
//
#ifndef EVOLUTION_CLUSTERING_H
#define EVOLUTION_CLUSTERING_H
#include "GeneticAlgorithm/GAFwd.h"
#include "Species/Species.h"
LIST_TYPE(SpeciesPtr) Clustering_Template(
World* world,
LIST_TYPE(EntityPtr) new_entities,
double eps,
size_t min_pts,
... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <Foundation/NSKeyValueFastMutableOrderedSet.h>
@class NSKeyValueGetter;
// Not exported
@interface NSKeyValueFastMutableOrderedSet2 : NSKeyValueFastMutableOrderedSet
{
... |
//
// MSData.h
// Example
//
// Created by Ricky on 14-1-4.
// Copyright (c) 2014年 Monospace Ltd. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MSData : NSObject
{
}
+(NSMutableArray *)initWithData;
+(NSMutableArray *)initWithDataSection:(int)sections withStartDate:(NSDate *)startDate;
-... |
//
// ScottRefreshView.h
// QQLive
//
// Created by Scott_Mr on 2016/11/25.
// Copyright © 2016年 Scott. All rights reserved.
//
#import <MJRefresh/MJRefresh.h>
@interface ScottRefreshView : MJRefreshGifHeader
@end
|
//
// RWPickFlavor.h
// RWPickFlavor
//
// Created by Ziyang Tan on 7/29/15.
// Copyright (c) 2015 Ziyang Tan. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for RWPickFlavor.
FOUNDATION_EXPORT double RWPickFlavorVersionNumber;
//! Project version string for RWPickFlavor.
FOUNDATION_E... |
#pragma once
#include <GL/glew.h>
#include "defs.h"
#include "visualizer/pixelformat.h"
#define CALL_GL_API(func)\
func; \
{\
GLenum __gl_err__ = ::glGetError();\
if (__gl_err__ != GL_NO_ERROR) { AT_PRINTF("GL Error[%x](%s[%d])\n", __gl_err__, __FILE__, __LINE__); AT_ASSERT(false); }\
}
n... |
#include "SanUSB1X.h"
#include "lcd.h"
unsigned int i;
unsigned char buffer1[20];
unsigned char sino[8]= {0x04,0x0E,0x0E,0x0E,0x1F,0x00,0x04,0x00};
//#pragma interrupt interrupcao
void interrupt interrupcao(){}
void main(void) {
clock_int_4MHz();
habilita_canal_AD(AN0);
lcd_ini();
//Lcd_Cmd(LCD_CLEAR);
Lcd_Cm... |
#pragma once
#include "BuildStatusReporter.h"
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/variables_map.hpp>
#include <string>
#include <chrono>
class ProgramOptions
{
public: // Construction/Destruction.
ProgramOptions(int argc, char* argv[]);
~ProgramOptions();
priv... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "IDEIndexGeniusResultsFinder.h"
@interface IDEDMGeniusResultsFinder : IDEIndexGeniusResultsFinder
{
}
+ (Class)editorDocumentClass;
- (id)locationsFromSymbol:(id)arg1;
... |
#pragma once
#include "Include.h"
#include "ButtonBase.h"
namespace CellularNetworkDemonstration {
class MenuSystemClose :public ButtonBase {
public:
MenuSystemClose(SDL_Renderer *renderer)
:ButtonBase(renderer, 45, 20) {
SDL_Texture* origTarget = SDL_GetRenderTarget(m_pRendere... |
#ifndef EVALUATOR_H_
#define EVALUATOR_H_
class Expression;
class AstBinOp;
class AstUnOp;
class AstExpressionList;
struct lni_object;
#include "SymbolTable.h"
class Evaluator {
private:
SymbolTable sym_tab;
int c;
public:
Evaluator();
Expression* eval(Expression* e);
Expression* eval_binop(AstBinOp* b);
Expr... |
// This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... |
//
// Created by Tobias Sundstrand on 2014-03-24.
//
#import <Foundation/Foundation.h>
@interface TSExpandingArray : NSObject <NSFastEnumeration>
- (NSUInteger)count;
- (id)initWithSize:(NSUInteger)size;
- (id)objectAtIndex:(NSUInteger)idx;
- (id)initWithSize:(NSUInteger)size fillOutClass:(Class)class;
- (instan... |
#ifndef MK_SERIAL_TX_H_
#define MK_SERIAL_TX_H_
#include <inttypes.h>
enum MKTxBits {
MK_TX_VERSION = 1<<0,
};
enum MKStream {
MK_STREAM_NONE = 0,
MK_STREAM_DEBUG,
};
// =============================================================================
// Public functions:
// This function sends data that has ... |
/*
* ZSUMMER License
* -----------
*
* ZSUMMER is licensed under the terms of the MIT license reproduced below.
* This means that ZSUMMER is free software and can be used for both academic
* and commercial purposes at absolutely no cost.
*
*
* ===============================================================... |
//
// LogoLayer.h
// Air Hockey
//
// Created by Jianjun on 2/3/14.
//
//
#ifndef __Air_Hockey__LogoLayer__
#define __Air_Hockey__LogoLayer__
#include "cocos2d.h"
class LogoLayer: public cocos2d::Layer {
public:
// there's no 'id' in cpp, so we recommend returning the class instance pointer
static cocos2... |
#include <stdio.h>
void exact_square(int);
int main() {
int n=0;
scanf("%d",&n);
exact_square(n);
return 0;
}
void exact_square(int n){
int i=0, result=0;
for( i=0 ; i<n ; i++ ) {
if( i*i==n ){
result=1;
break;
}
}
if( result==1 ) {
printf("\n 1");
printf("\n %d=%d^2", n, i);
}
if( result==0 ... |
//
//
// MIT License
//
// Copyright (c) 2017 Stellacore Corporation.
//
// 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 the Software without restriction, including
// without limitation the rights to ... |
// Copyright (c) 2011-2013 The GreenCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef GREENCOIN_QT_TRANSACTIONDESCDIALOG_H
#define GREENCOIN_QT_TRANSACTIONDESCDIALOG_H
#include <QDialog>
namespace Ui ... |
//
// ChongZhiViewController.h
// Ocean
//
// Created by 爱海洋 on 15/5/29.
// Copyright (c) 2015年 xyzx5u. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ChongZhiViewController : UIViewController
@end
|
#include "../termo.h"
#include "taplib.h"
int
main (int argc, char *argv[])
{
termo_t *tk;
termo_sym_t sym;
const char *end;
plan_tests (10);
tk = termo_new_abstract ("vt100", NULL, 0);
sym = termo_keyname2sym (tk, "Space");
is_int (sym, TERMO_SYM_SPACE, "keyname2sym Space");
sym = termo_keyname2sym (tk, "... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE129_large_51b.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE129.label.xml
Template File: sources-sinks-51b.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: large Large index ... |
////////////////////////////////////////////////////////////////////
// 2 Dimensional Vector Mathematix Library //
// Part of Games Math library //
// Authors: KindarConrath //
/////////////////////////////////////////////... |
#pragma once
#include "VertexInfo.h"
#include "ParameterBlock.h"
#include <EtCore/Content/Asset.h>
#include <EtCore/Util/LinkerUtils.h>
namespace et { namespace render {
class TextureData;
} namespace pl {
class EditableShaderAsset;
} }
namespace et {
namespace render {
//---------------------------------
// S... |
//
// The MIT License (MIT)
//
// Copyright (c) 2017 Snips
//
// 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 the Software without restriction, including without limitation the rights
// to use, ... |
#ifndef ASSETDATABASE_H
#define ASSETDATABASE_H
#include "../../common.h"
#include "asset.h"
#include <unordered_map>
#include <typeinfo>
#include <typeindex>
#include <vector>
#include <thread>
#include <mutex>
class AssetDatabase
{
public:
static AssetDatabase * GetInstance();
template <class T>
T* Lo... |
#include "mobile_client.h"
static bool mobile_ready;
static SummaryMessageHandler *summary_msg_handler;
static void handle_received(DictionaryIterator *iter, void *ctx) {
if (!mobile_ready) {
Tuple *ready = dict_find(iter, MESSAGE_KEY_MobileReady);
if (ready) {
mobile_ready = true;
APP_LOG(APP_... |
/*
* GccApplication1.c
*
* Created: 08-07-2015 12:08:05
* Author: ROHIT
*/
#include <avr/io.h>
#include <util/delay.h>
unsigned char buffer[11];
unsigned char bufferi[11];
void ADC_init(void);
int ADC_read(uint8_t ch);
unsigned int cmd(unsigned int cd)
{
PORTD=cd;
PORTC=(0<<PC0)|(0<<PC1)|(1<<PC2);
... |
/********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************************... |
/*:ts=8*/
/*****************************************************************************
* FIDOGATE --- Gateway UNIX Mail/News <-> FTN NetMail/EchoMail
*
*
* Function for handling FTN addresses
*
*****************************************************************************
* Copyright (C) 1990-2002
* _____ ___... |
/*
*** GlyphData Variable and Array
*** src/parser/glyphdata.h
Copyright T. Youngs 2007-2016
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 License... |
#pragma once
#include "ogr_spatialref.h"
#include "ogr_srs_api.h"
enum GeoSystems{
GS_UTM,
GS_EPSG28992,
GS_EPSG4326,
GS_EPSG3857,
GS_MERCATOR,
};
class CGeoLoc
{
//attributes
public:
double m_xOffset;
double m_yOffset;
double m_orientation;
GeoSystems m_geoSystem;
double m_ge... |
/*
* Copyright (C) 2005-2011 MaNGOS <http://www.getmangos.com/>
* Copyright (C) 2008-2011 WCloud <http://www.wcloudcore.org/>
* Copyright (C) 2010-2011 Project WCloud <http://www.projectwcloud.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... |
/*
* Copyright (c) 1996-1998 Stefan Taferner <taferner@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 option) any later version.
... |
/* -*- c-file-style: "stroustrup"; indent-tabs-mode: nil; -*- */
#ifndef __HID_INTERN_H_INCLUDED__
#define __HID_INTERN_H_INCLUDED__
/* data for Input/Output/Feature */
#define IOF_CONSTANT (1<<0) /* 0: Data */
#define IOF_VARIABLE (1<<1) /* 0: Array */
#define IOF_RELATIVE (1<<2) /* 0: Absolute */
#define IOF_WRAP ... |
#include <stic.h>
#include <string.h>
#include "../../src/engine/cmds.h"
extern cmds_conf_t cmds_conf;
cmd_info_t user_cmd_info;
TEST(empty_ok)
{
const char cmd[] = "";
size_t len;
const char *last;
last = get_last_argument(cmd, &len);
assert_true(last == cmd);
assert_int_equal(0, len);
}
TEST(one_word_ok)... |
/**************************************************************************
Copyright (c) 2004-2014, Cray Inc. (See LICENSE file for more details)
**************************************************************************/
#ifndef _chpl_comm_locales_h_
#define _chpl_comm_locales_h_
#include "chpltypes.h"
//
// R... |
#define DRIVER_VERSION "SVN r201"
|
/*
Copyright (C) 2008 Paul Davis
Author: Sakari Bergen
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.
... |
/**********************************************************************
* Author: Cavium, Inc.
*
* Contact: support@cavium.com
* Please include "LiquidIO" in the subject.
*
* Copyright (c) 2003-2015 Cavium, Inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms... |
/* Author: G. Jungman
*/
#include <config.h>
#include <gsl/gsl_ieee_utils.h>
#include <gsl/gsl_qrng.h>
#include <gsl/gsl_test.h>
void test_sobol(void)
{
int status = 0;
double v[3];
/* int i; */
/* test in dimension 2 */
gsl_qrng * g = gsl_qrng_alloc(gsl_qrng_sobol, 2);
gsl_qrng_get(g, v);
gsl_qrng_ge... |
/*=============================================================================
LibPlot2D
Copyright Kerry R. Loux 2011-2016
This code is licensed under the GPLv2 License
(http://opensource.org/licenses/GPL-2.0).
===========... |
#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
typedef struct NameValue NV;
struct NameValue
{
NV *next;
char *name;
char *value;
};
struct Link
{
char *url;
NV *namevaluelist;
};
extern char * stristr(char * pszSource, const char * pcszS... |
// -*- mode: c++; c-basic-offset: 4; c-basic-style: bsd; -*-
/*
* This program is free software; you can redistribute it and/or
* modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 3.0 of
* the License, or (at your option) a... |
/*********************************************************************
* webcam_server *
* *
* (c) 2002 Donn Morrison donn@donn.dyndns.org *
* ... |
#ifndef __SETTINGS_DIALOG_H__
#define __SETTINGS_DIALOG_H__
////////////////////////////////////////////////////////////////////////////////
//
// Class Name : KFI::CSettingsDialog
// Author : Craig Drummond
// Project : K Font Installer
// Creation Date : 10/05/2005
// Version : $Revision$ $Date... |
#ifndef PLAYLISTMODEL_H
#define PLAYLISTMODEL_H
#include <QAbstractListModel>
#include <QAudioDecoder>
#include <QAudioDeviceInfo>
#include <QDebug>
#include <QUrl>
class song {
public:
explicit song(QUrl path, QString title, QString author);
QString getauthor() const;
QString gettitle() const;
QUrl g... |
/*
* Copyright (C) Christian Kaiser
*
* 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 i... |
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
*
* 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 your option) any... |
/*
* Copyright (C) 2010 Gautier Hattenberger
*
* This file is part of paparazzi.
*
* paparazzi 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 version... |
// 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_AUTOFILL_AUTOFILL_IE_TOOLBAR_IMPORT_WIN_H_
#define CHROME_BROWSER_AUTOFILL_AUTOFILL_IE_TOOLBAR_IMPORT_WIN_H_
class PersonalDat... |
// Copyright (c) 1999
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// ... |
/*
* Copyright (c) Bull S.A. 2007 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 it would be useful, but
* ... |
#pragma once
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright (C) 2019 The MMapper Authors
// Author: Nils Schimmelmann <nschimme@gmail.com> (Jahara)
#include <cstdint>
#include "../global/utils.h"
#include "../mapdata/ExitDirection.h"
enum class NODISCARD DirectSunlightEnum : uint32_t {
UNKNOWN = 0,
... |
/**********************************************************************************
This file is part of the game 'KTron'
Copyright (C) 1998-2000 by Matthias Kiefer <matthias.kiefer@gmx.de>
Copyright (C) 2005 Benjamin C. Meyer <ben at meyerhome dot net>
Copyright (C) 2008-2009 Stas Verberkt <legolas at legolas... |
/*
* lifi-spectrum-error-model.h
*
* Created on: 2014年4月10日
* Author: pp
*/
#ifndef LIFI_SPECTRUM_ERROR_MODEL_H_
#define LIFI_SPECTRUM_ERROR_MODEL_H_
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/spectrum-value.h"
#include "ns3/spectrum-signal-parameters.h"
namespace ns3 {
cl... |
/****************************************************************************
* MeshLab o o *
* A versatile mesh processing toolbox o o *
* _ O _ *
* Co... |
/***************************************************************************
* Copyright (C) 2010 by Volker Lanz <vl@fidra.de> *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... |
/* packet-rgmp.c
* Routines for IGMP/RGMP packet disassembly
* Copyright 2006 Jaap Keuter
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... |
/**
@file G3D/constants.h
@maintainer Morgan McGuire, http://graphics.cs.williams.edu
@created 2009-05-20
@edited 2010-05-20
*/
#ifndef G3D_constants_h
#define G3D_constants_h
#include "G3D/platform.h"
#include "G3D/enumclass.h"
#include "G3D/Any.h"
namespace G3D {
/** These are defined to ... |
#include <stic.h>
#include <unistd.h> /* chdir() symlink() */
#include <stdlib.h> /* remove() */
#include <string.h> /* strcpy() */
#include "../../src/menus/menus.h"
static int not_windows(void);
TEST(can_navigate_to_broken_symlink, IF(not_windows))
{
strcpy(lwin.curr_dir, ".");
assert_success(chdir(SANDBOX_PA... |
/*
* INETPEER - A storage for permanent information about peers
*
* Authors: Andrey V. Savochkin <saw@msu.ru>
*/
#ifndef _NET_INETPEER_H
#define _NET_INETPEER_H
#include <linux/types.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/spinlock.h>
<<<<<<< HEAD
#include <linux/rtnetlink.h>
#incl... |
/****************************************************************************
**
** 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... |
/*
SleepLib Fisher & Paykel Icon Loader Implementation
Author: Mark Watkins <jedimark64@users.sourceforge.net>
License: GPL
Copyright: (c)2012 Mark Watkins
*/
#ifndef ICON_LOADER_H
#define ICON_LOADER_H
#include <QMultiMap>
#include "SleepLib/machine.h"
#include "SleepLib/machine_loader.h"
#include "SleepLib/profi... |
/* This file is part of the UniSet project
* Copyright (c) 2002 Free Software Foundation, Inc.
* Copyright (c) 2002 Pavel Vainerman
*
* 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... |
/*
Copyright 2011 Kurt Hindenburg <kurt.hindenburg@gmail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later vers... |
#ifndef __DISP_DISPLAY_H__
#define __DISP_DISPLAY_H__
#include "disp_display_i.h"
#include "disp_layer.h"
#include "disp_scaler.h"
#include "disp_video.h"
#define IMAGE_USED 0x00000004
#define IMAGE_USED_MASK (~(IMAGE_USED))
#define YUV_CH_USED 0x00000010
#define YUV_CH_USED_MASK ... |
//
// OctopusBeast.h
// Octopus
//
// Created by K3A on 5/20/12.
// Copyright (c) 2012 K3A. All rights reserved.
//
#import <UIKit/UIKit.h>
#include "octopuscore/OctopusDaemon/octopus.h"
#include <vector>
#define MAX_SUGGS 12
#define PREF_FILE "/var/mobile/Library/Preferences/me.k3a.OctopusKeyboard.plist"
#defin... |
#ifndef CATCHMENTPOLYGON_H
#define CATCHMENTPOLYGON_H
#include <QDialog>
namespace Ui {
class CatchmentPolygon;
}
class CatchmentPolygon : public QDialog
{
Q_OBJECT
public:
explicit CatchmentPolygon(QWidget *parent = 0);
~CatchmentPolygon();
QString LogsString;
QStringList ProjectIOStringList;
... |
/** @file fail.h
*
* Interface to class signaling failure of operation. Considered obsolete
* somewhat obsolete (most of this can be replaced by exceptions). */
/*
* GiNaC Copyright (C) 1999-2009 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or mo... |
/* * ScreenCloud - An easy to use screenshot sharing application
* Copyright (C) 2016 Olav Sortland Thoresen <olav.s.th@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 v... |
/*
* Copyright (c) 2003, 2006 Matteo Frigo
* Copyright (c) 2003, 2006 Massachusetts Institute of Technology
*
* 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 Licens... |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/Message.framework/Message
*/
#import <Message/MFMailMimePart.h>
#import <Message/XXUnknownSuperclass.h>
@interface MFMailMimePart : XXUnknownSuperclass {
}
+ (BOOL)isRecognizedClassForContent:(id)content; // 0x1cb0... |
/*
* The ManaPlus Client
* Copyright (C) 2012-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 under the terms of the GNU General Public License as published by
* the Free Software Foundation; either v... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2009 Myles Watson <mylesgw@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; version 2 of the License.
*
* T... |
/*
maths.c
Bygfoot Football Manager -- a small and simple GTK2-based
football management game.
http://bygfoot.sourceforge.net
Copyright (C) 2005 Gyözö Both (gyboth@bygfoot.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public Lic... |
/*
C-Dogs SDL
A port of the legendary (and fun) action/arcade cdogs.
Copyright (c) 2016-2017, 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 code must retain the ... |
/*
ZynAddSubFX - a software synthesizer
Phaser.h - Phaser effect
Copyright (C) 2002-2005 Nasca Octavian Paul
Author: Nasca Octavian Paul
Modified for rakarrack by Josep Andreu
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public ... |
/**
* \addtogroup uip6
* @{
*/
/*
* Copyright (c) 2013, Swedish Institute of Computer Science.
* 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... |
/// @file CasdaUploadApp.h
///
/// @copyright (c) 2015 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.
///
/... |
/* simplelist.c
* High level routines for dealing with text files (read-only) with an item per line.
*
* Ziproxy - the HTTP acceleration proxy
* This code is under the following conditions:
*
* ---------------------------------------------------------------------
* Copyright (c)2005-2012 Daniel Mealha Cabrita
*... |
/*
* Copyright (c) 2006 Konstantin Shishkov
* Copyright (c) 2007 Loren Merritt
*
* This file is part of Libav.
*
* Libav 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 ... |
#include <stdio.h>
#include <string.h>
void swap(char *a, char *b){
char temp;
temp = *a;
*a = *b;
*b = temp;
return;
}
void permute(char arr[], int i, int n){
int j, x, y;
if(i == n - 1){
printf("%s\n", arr);
return;
}
else{
for(j = i ; j < n ; j++){
for(x = i, y = j ; x != y ; x++)
swap(arr+x,... |
#ifndef DECORATORCHOCOLATE_H
#define DECORATORCHOCOLATE_H
#include "idecorator.h"
class DecoratorChocolate : public IDecorator
{
public:
DecoratorChocolate(IProduct *product = 0, double price = 0.8);
virtual double price();
};
#endif // DECORATORCHOCOLATE_H
|
/*
* Copyright (c) 2003, Intel Corporation. All rights reserved.
* Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
*/
/*
* Basic test that mq_open() re... |
/*
* Copyright (c) 2002, Intel Corporation. All rights reserved.
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
*
* pthread_barrier_wait()
*
* The pthread_barrier_wait() function shall synchronize participating... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.