text stringlengths 4 6.14k |
|---|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_file_system_11.c
Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml
Template File: sources-sink-11.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: file Read input from a file
* Good... |
/**
** @file tcOptionsView2.h
*/
/*
** Copyright (c) 2014, GCBLUE 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:
**
** 1. Redistributions of source code must retain the above copyri... |
#ifndef COG_H
#define COG_H
#include <wheel.h>
namespace cog
{
class CoreEngine
{
private:
bool setup_paths(const char* pname);
protected:
wcl::ModuleLibrary modulelibrary;
wheel::interface::Video* window;
wheel:... |
/*
* libjingle
* Copyright 2012, Google Inc.
*
* 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 notice,
* this list of conditions and the f... |
// Copyright 2019 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 COMPONENTS_EXO_WAYLAND_WL_DATA_DEVICE_MANAGER_H_
#define COMPONENTS_EXO_WAYLAND_WL_DATA_DEVICE_MANAGER_H_
#include <stdint.h>
#include "base/mac... |
#include "stack.h"
#include <stdlib.h>
#include <stdio.h>
void kw_stack_init(stack *s) {
s->stack = malloc(STACK_DEFAULT_SIZE * sizeof(void*));
s->pos = 0;
s->mlen = STACK_DEFAULT_SIZE;
}
void kw_stack_free(stack *s) {
if(!s) return;
if(!s->stack) return;
free(s->stack);
}
void *kw_stack_grow(stack *s) ... |
/*
BLIS
An object-based framework for developing high-performance BLAS-like
libraries.
Copyright (C) 2014, The University of Texas
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributi... |
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrTestBatch_DEFINED
#define GrTestBatch_DEFINED
#include "GrBatch.h"
#include "GrVertexBuffer.h"
/*
* A simple batch only for testing purposes which actually doesn'... |
//
// UIViewController+INNControllerContext.h
// ControllerContextTest
//
// Created by Michael Raber on 5/14/14.
// Copyright (c) 2014 Innoruptor. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "INNControllerContext.h"
@interface UIViewController (INNControllerContext)
-(id) INN_initWithContext:(INNCon... |
// Copyright 2017 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 SERVICES_PREFERENCES_TRACKED_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H_
#define SERVICES_PREFERENCES_TRACKED_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H... |
/***************************************************************************
* Copyright (C) YEAR~YEAR by Your Name *
* your-email@address.com *
* *
* This pr... |
// Copyright 2018 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_BLOB_TESTING_FAKE_BLOB_REGISTRY_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_BLOB_TESTING_FAKE_BLOB_REGISTRY... |
// Copyright (c) 2013 - 2015 The Sporting Exchange 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:
// 1. Redistributions of source code must retain the above copyright
// notice, this ... |
// Copyright 2015-present 650 Industries. All rights reserved.
#import <React/RCTDevSettings.h>
@interface EXDevSettings : RCTDevSettings
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithScopeKey:(NSString *)scopeKey
isDevelopment:(BOOL)isDevelopment NS_DESIGNATED_INITIALIZER... |
// Copyright 2014 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 ServiceWorkerRegistration_h
#define ServiceWorkerRegistration_h
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/Sc... |
/*
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... |
/*
* Copyright (C) 2013 Google Inc. 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, this list of conditio... |
/********************************************************
* GoOS Loader - elf64.h
********************************************************
* Copyright (c) 2016, Gert Nutterts
* All rights reserved
*
* Released under the BSD 3-clause license.
* https://github.com/nutterts/GoOS/blob/master/LICENSE
***************... |
/**
* @file nwk_config.h
*
* @brief These are all timer IDs which are used in NWK.
*
* $Id: nwk_config.h 25096 2011-01-24 09:26:10Z uwalter $
*
* @author Atmel Corporation: http://www.atmel.com
* @author Support: http://www.atmel.com/design-support/
*/
/*
* Copyright (c) 2009-2014, Atmel Corporation All... |
// Copyright (c) 2009-2016 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Developers
// Copyright (c) 2015-2016 Silk Network
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DARKSILK_WALLETDB_H
#define DARKSIL... |
//
// CategoryViewModel.h
// CodeMonkeyReader
//
// Created by kino on 15/6/29.
//
//
#import <Foundation/Foundation.h>
#import "ReaderCategory.h"
#import <RVMViewModel.h>
@class ArticleListViewModel;
@interface CategoryViewModel : RVMViewModel
@property (strong, nonatomic, readonly) NSArray *categories;
//- (... |
//
// VerifyUtils.h
// PAAccountFramework
//
// Created by shen peng on 14-5-9.
// Copyright (c) 2014年 Ping An Health Insurance Company of China, Ltd. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface VerifyUtil : NSObject
/**
* 校验手机号是否有效
*
* @param mobile 手机号
*
* @return 是否有效
*/
+ (B... |
/* isupper( int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <ctype.h>
#ifndef REGTEST
#include "_PDCLIB_locale.h"
int isupper( int c )
{
return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_UPPER ... |
//
// SCAPIClient+SCFile.h
// Pods
//
// Created by Jan Lipmann on 30/06/15.
//
//
#import "SCAPIClient.h"
#import <AFNetworking/AFNetworking.h>
@interface SCAPIClient (SCFile)
+ (AFHTTPRequestOperation *)downloadFileFromURL:(NSURL *)fileURL withCompletion:(SCAPIFileDownloadCompletionBlock)completion;
@end
|
#pragma once
#define Mortgage_h
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
class Mortgage {
private:
/* **************************************************
Class Constants
************************************************** */
const float NUM_MONTHS = 12.0; // Number of months... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... |
#ifndef REPEATED_INCLUDE_H
#define REPEATED_INCLUDE_H
#include "repeated_include.h"
int ret_val()
//@ requires true;
//@ ensures true;
{
return CONST;
}
#endif |
//
// FLErrors.h
// FishLampCore
//
// Created by Mike Fullerton on 9/3/13.
// Copyright (c) 2013 Mike Fullerton. All rights reserved.
//
#import "FLCoreRequired.h"
#import "NSError+FLExtras.h"
#import "FLExceptions.h"
#import "FLErrorCodes.h"
#import "FLErrorException.h"
#import "FLCancelError.h"
#import "FLError... |
/*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#import "NSObject.h"
#import "DVTInvalidation.h"
@class DVTStackBacktrace, IDEActivityLogSection, IDELogStore, IDESourceControlExtension, IDESourceControlOperation, IDESourceCont... |
/**
http://www.w3.org/TR/2011/REC-SVG11-20110816/text.html#InterfaceSVGTextPositioningElement
interface SVGTextPositioningElement : SVGTextContentElement {
readonly attribute SVGAnimatedLengthList x;
readonly attribute SVGAnimatedLengthList y;
readonly attribute SVGAnimatedLengthList dx;
readonly attribute SVGA... |
/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
//
// UIAView.h
// FoundationExtension
//
// Created by Jeong YunWon on 13. 5. 24..
// Copyright (c) 2013 youknowone.org. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <UIKitExtension/UIAViewController.h>
/*!
* @brief UIView with refined lifecycle. (testing)
*/
@interface UIAView : UIView<UIAViewLife... |
//===-- XCoreMCTargetDesc.h - XCore Target Descriptions ---------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#pragma once
#include "types.h"
#include "rtmp/client.h"
#include "rtmp/messages.h"
#include "flex/messages.h"
#include <iostream>
#include <vector>
#include <functional>
namespace flex {
namespace messaging {
class Consumer {
typedef std::function<void(const amf::Variant&)> MessageListener;
... |
/*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#import "NSWindowController.h"
@class DVTBorderedView, IDEAssistant, IDEAssistantContext, IDEFilterControlBar, NSBox, NSButton, NSMutableArray, NSString, NSTextField, NSView;
@in... |
//
// MSColorSelectionView.h
//
// Created by Maksym Shcheglov on 2015-04-12.
//
// The MIT License (MIT)
// Copyright (c) 2015 Maksym Shcheglov
//
// 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 S... |
/*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#import <IDEKit/IDETemplateInstantiationAssistant.h>
#import "NSComboBoxDataSource.h"
@class NSArray, NSMutableDictionary, NSString, NSTextField, NSView;
@interface IDETemplateO... |
//
// AppDelegate.h
// Chapter 05 - Earth
//
// Created by David Rönnqvist on 2014-04-05.
// Copyright (c) 2014 David Rönnqvist.
//
// 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 with... |
//==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file pdRemoteProcessDebuggerDebuggingServerWatcherThread.h
///
//==================================================... |
/* Copyright (c) 2008-2009 Christopher J. W. Lloyd
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,copy,modify,merge,publish,distrib... |
/*
* Author: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2017 Intel Corporation.
*
* This program and the accompanying materials are made available under the
* terms of the The MIT License which is available at
* https://opensource.org/licenses/MIT.
*
* SPDX-License-Identifier: MIT
*/
#ifndef UPM_COMPASS_H_... |
//
// Person.h
// MVVMWithKVO
//
// Created by Bryan Luby on 10/27/13.
// Copyright (c) 2013 Bryan Luby. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Person : NSObject
@property (copy, nonatomic) NSString *name;
@property (strong, nonatomic) NSDate *birthday;
- (instancetype)initWithName:... |
//
// TrackParams.h
// ViSearch
//
// Created by Yaoxuan on 5/12/16.
// Copyright © 2016 Shaohuan Li. All rights reserved.
//
#ifndef TrackParams_h
#define TrackParams_h
#import <Foundation/Foundation.h>
#import "BaseSearchParams.h"
@interface TrackParams : BaseSearchParams
@property (nonatomic, readonly) NSStr... |
//
// RequestManager.h
// Organic
//
// Created by Mike on 1/18/15.
// Copyright (c) 2015 Mike Amaral. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface RequestManager : NSObject
+ (id)sharedInstance;
- (void)getGitHubDetailsForUser:(NSString *)user handler:(void (^)(NSError *error, NSDiction... |
//
// AppDelegate.h
// FFPickerView
//
// Created by Felix Ayala on 6/18/15.
// Copyright (c) 2015 Pandorga. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
// if97_xps stub - Interfaces CoolProp IF97 function to Mathcad
//
// this code executes the user function if97_xps(p,s), which is a wrapper for
// the CoolProp-IF97 function, Q_psmass(p,s).
LRESULT if97_XPS(
LPCOMPLEXSCALAR x, // pointer to the result
LPCCOMPLEXSCALAR p,
LPCCOMPLEXSCALAR s) // pointer t... |
#ifndef UTIL_TOKEN_H
#define UTIL_TOKEN_H
#include <stdbool.h>
#define TOKEN_STRLEN 33
bool generate_token(char out[static TOKEN_STRLEN]);
#endif
|
#ifndef JQ_PARSER_H
#define JQ_PARSER_H
int jq_parse(struct locfile* source, block* answer);
int jq_parse_library(struct locfile* locations, block* answer);
#endif
|
#if defined(PEGASUS_OS_HPUX)
# include "UNIX_DatabaseSystemPrivate_HPUX.h"
#elif defined(PEGASUS_OS_LINUX)
# include "UNIX_DatabaseSystemPrivate_LINUX.h"
#elif defined(PEGASUS_OS_DARWIN)
# include "UNIX_DatabaseSystemPrivate_DARWIN.h"
#elif defined(PEGASUS_OS_AIX)
# include "UNIX_DatabaseSystemPrivate_AIX.h"
#elif def... |
//
// KPCAASaturnMoons.h
// SwiftAA
//
// Created by Cédric Foellmi on 10/07/15.
// Licensed under the MIT License (see LICENSE file)
//
#import <Foundation/Foundation.h>
#import "KPCAA3DCoordinate.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct KPCAASaturnMoonDetails {
KPCAA3DCoordinateComponents T... |
#include "zerosInFactorial.c"
|
#include <io.h>
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
#define read(...) _read(__VA_ARGS__)
#define write(...) _write(__VA_ARGS__)
#define isatty(...) _isatty(__VA_ARGS__)
|
#ifndef __BARRIER_SYNC_CLIENT_H__
#define __BARRIER_SYNC_CLIENT_H__
#include "fixed_types.h"
#include "clock_skew_minimization_object.h"
#include "packetize.h"
#include "subsecond_time.h"
// Forward Decls
class Core;
class BarrierSyncClient : public ClockSkewMinimizationClient
{
private:
Core* m_core;
... |
//
// ELCodable_osx.h
// ELCodable_osx
//
// Created by Brandon Sneed on 6/16/16.
// Copyright © 2016 WalmartLabs. All rights reserved.
//
#import <Cocoa/Cocoa.h>
//! Project version number for ELCodable_osx.
FOUNDATION_EXPORT double ELCodable_osxVersionNumber;
//! Project version string for ELCodable_osx.
FOUND... |
/*******************************************************************************
** ArrayOperations.h
** Part of the mutual information toolbox
**
** Contains functions to floor arrays, and to merge arrays into a joint
** state.
**
** Author: Adam Pocock
** Created 17/2/2010
** Updated - 22/02/2014 - Added checking on... |
/*++
Module:
@file stringlib.h
Abstract:
@author Joe N. Turner <joe@agavemountain.com>
Copyright (C) 2008 Agave Mountain, Inc.; All right reserved.
*/
/*! \mainpage
Welcome to the C++ String Utility Library
<table>
<tr><th>Library <td>String utility shared library
<tr><th>Auth... |
/*
* Copyright (c) 2013 Apple Inc. All rights reserved.
*
* @APPLE_APACHE_LICENSE_HEADER_START@
*
* 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... |
/*
* 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-Protocol.h"
@protocol XDComponentIdentifying <NSObject>
+ (id)defaultIdentifier;
- (id)identifier;
@end
|
/* encodeErgeHssCellLines.h was originally generated by the autoSql program, which also
* generated encodeErgeHssCellLines.c and encodeErgeHssCellLines.sql. This header links the database and
* the RAM representation of objects. */
/* Copyright (C) 2008 The Regents of the University of California
* See README in... |
//*****************************************************************************
//
//! \file xdebug.h
//! \brief Drivers for assisting debug of the peripheral library.
//! \version V2.2.1.0
//! \date 11/20/2011
//! \author CooCox
//! \copy
//!
//! Copyright (c) 2011, CooCox
//! All rights reserved.
//!
/... |
/*************************************************************************/ /*!
@File
@Title RGX Transfer queue Functionality
@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
@Description Header for the RGX Transfer queue Functionality
@License Dual MIT/GPLv2
The conte... |
//========================== Open Steamworks ================================
//
// This file is part of the Open Steamworks project. All individuals associated
// with this project do not claim ownership of the contents
//
// The code, comments, and all related files, projects, resources,
// redistributables includ... |
//
// RECommonFunctions.h
// RESideMenu
//
// Copyright (c) 2013-2014 Roman Efimov (https://github.com/romaonthego)
//
// 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, ... |
/*
* Copyright (C) 2015-2016 Team Kodi
* http://kodi.tv
*
* 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 version.
*
* T... |
static int cmp1(const void *p, const void *q);
int main (int argc, char *argv[]) {
int i,y;
int NrOfLots;
int *lots;
if (argc < 5) {
printf("Dette programet splitter opp en urdil pasert på hovedlot.\n\n\tUsage:\n\tSplittUdfileByLot udfile filmedLoter filutenlotter lotnomre...\n\n");... |
/* Defines the LTC_ARGCHK macro used within the library */
/* ARGTYPE is defined in mycrypt_cfg.h */
#if ARGTYPE == 0
#include <signal.h>
/* this is the default LibTomCrypt macro */
void crypt_argchk(char *v, char *s, int d);
#define LTC_ARGCHK(x) if (!(x)) { crypt_argchk(#x, __FILE__, __LINE__); }
#elif ARGTYPE ==... |
/*
* LZO1X Decompressor from LZO
*
* Copyright (C) 1996-2012 Markus F.X.J. Oberhumer <markus@oberhumer.com>
*
* The full LZO package can be found at:
* http://www.oberhumer.com/opensource/lzo/
*
* Changed for Linux kernel use by:
* Nitin Gupta <nitingupta910@gmail.com>
* Richard Purdie <rpurdie@openedh... |
/* (c) 2001-2004 by Marcin Wiacek */
#ifndef __gsm_wap_h
#define __gsm_wap_h
#include <gammu-wap.h>
#include <gammu-message.h>
void NOKIA_EncodeWAPMMSSettingsSMSText(unsigned char *Buffer, size_t *Length, GSM_WAPSettings *settings, gboolean MMS);
/* -------------------------------- WAP Bookmark --------------------... |
/*
This program is part of Netmodeler, a library for graph and network
modeling and simulation.
Copyright (C) 2005 University of California
Copyright (C) 2005 P. Oscar Boykin <boykin@pobox.com>, University of Florida
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU G... |
#ifndef _CNWDOMAIN_H_
#define _CNWDOMAIN_H_
#include "nwndef.h"
class CNWDomain
{
public:
int GetDescriptionText();
int GetNameText();
~CNWDomain();
CNWDomain();
};
#endif
|
#pragma once
#ifdef LIBTGB_EXPORT
#define LIBTGB_API __declspec(dllexport)
#else
#define LIBTGB_API __declspec(dllimport)
#endif
class gb;
struct ext_hook;
namespace tgb
{
class GBRenderer;
class LIBTGB_API Emulator
{
private:
gb* _gb;
GBRenderer* _renderer;
ext_hook* _exthookDef;
public:
Emulator(... |
/*
* The Mana Client
* Copyright (C) 2009-2012 The Mana Developers
*
* This file is part of The Mana 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 version 2 of ... |
#pragma once
/*
* Copyright (C) 2005-2013 Team XBMC
* http://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 ve... |
/*
* Driver for the NXP SAA7164 PCIe bridge
*
* Copyright (c) 2010 Steven Toth <stoth@kernellabs.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... |
/* vim: set ts=8 sw=8 sts=8 noet tw=78:
*
* tup - A file-based build system
*
* Copyright (C) 2011-2017 Mike Shal <marfey@gmail.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 Foun... |
/* This file is part of the KDE project
* Copyright (C) 2010 Matus Talcik <matus.talcik@gmail.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 the Licen... |
/* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/
* Copyright : Copyright © Nequeo Pty Ltd 2014 http://www.nequeo.com.au/
*
* File : TextIterator.h
* Purpose : TextIterator header.
*
*/
/*
Permission is hereby granted, free of charge, to any person
obtaining a copy of this so... |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... |
/*
Copyright (c) 2007-2011 Gordon Gremme <gremme@zbh.uni-hamburg.de>
Copyright (c) 2007-2008 Center for Bioinformatics, University of Hamburg
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this ... |
/*
* Mach Operating System
* Copyright (c) 1993-1989 Carnegie Mellon University.
* Copyright (c) 1994 The University of Utah and
* the Computer Systems Laboratory (CSL).
* All rights reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided th... |
/* libdiskfs implementation of fs.defs: dir_link
Copyright (C) 1992,93,94,95,96,97,99 Free Software Foundation, 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, or (... |
/* Extended Module Player
* Copyright (C) 1996-2006 Claudio Matsuoka and Hipolito Carraro Jr
*
* $Id: liq.h,v 1.2 2006/02/12 16:58:48 cmatsuoka Exp $
*
* This file is part of the Extended Module Player and is distributed
* under the terms of the GNU General Public License. See doc/COPYING
* for more information.... |
#ifndef NODECACHE_H_
#define NODECACHE_H_
#include <vector>
#include <string>
#include "node.h"
/*!
Caches string values per node based on the node.index().
The node index guaranteed to be unique per node tree since the index is reset
every time a new tree is generated.
*/
class NodeCache
{
public:
NodeCache() {... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2013 Google Inc.
* Copyright (C) 2015 Intel 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; version 2 of the Lic... |
/**
* $Id$
*
* Copyright (C) 2012 Daniel-Constantin Mierla (asipto.com)
*
* This file is part of Kamailio, a free SIP server.
*
* This file 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... |
/*
* pxa2xx_udc_gpio.c: Generic driver for GPIO-controlled PXA2xx UDC.
*
* */
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dpm.h>
#include <asm/arch/udc.h>
#include <asm/arch/pxa2xx_udc_gpio.h>
static struct pxa2xx_udc_gpio_info *pdata;
static void pda_udc_... |
// Replacement for sys/mman.h which factors out platform differences.
#include <sys/mman.h>
#if defined(VGO_darwin) || defined(VGO_freebsd)
# define MAP_ANONYMOUS MAP_ANON
#endif
#include <assert.h>
#include <unistd.h>
// Map a page, then unmap it, then return that address. That
// guarantees to give an address ... |
//
// LQAnalyzeForYearUseItemModel.h
// 朝阳能源结算
//
// Created by admin on 15/9/4.
// Copyright (c) 2015年 dieshang. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface LQAnalyzeForYearUseItemModel : NSObject
@property (nonatomic, copy ) NSString *accountId;
@property (nonatomic, copy ) NSString ... |
/* Copyright 2013 David Axmark
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 law or agreed to in writing, software
distr... |
#ifndef KVM__VESA_H
#define KVM__VESA_H
#define VESA_WIDTH 640
#define VESA_HEIGHT 480
#define VESA_MEM_ADDR 0xd0000000
#define VESA_BPP 32
/*
* We actually only need VESA_BPP/8*VESA_WIDTH*VESA_HEIGHT bytes. But the memory
* size must be a power of 2, so we round up.
*/
#define VESA_MEM_SIZE (1 << 21)
struct kvm;... |
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at htt... |
/*
* Samsung Exynos5 SoC series FIMC-IS driver
*
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd
*
* 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.
*/
#ifndef FIMC_IS_BINA... |
/*****************************************************************************\
* $Id: php_genders.h,v 1.4 2010-02-02 00:04:34 chu11 Exp $
*****************************************************************************
* Copyright (C) 2007-2019 Lawrence Livermore National Security, LLC.
* Copyright (C) 2001-2007 T... |
/*
*@@sourcefile disk.h:
* header file for disk.c (XFldDisk implementation).
*
* This file is ALL new with V0.9.0.
*
*@@include #define INCL_DOSDEVIOCTL
*@@include #include <os2.h>
*@@include #include "shared\notebook.h"
*@@include #include "filesys\disk.h"
*/
/*
* Copyright (C... |
/*
* linux/drivers/cpufreq/freq_table.c
*
* Copyright (C) 2002 - 2003 Dominik Brodowski
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_CORE, "freq-table", msg)
/**********************************... |
/* Copyright (C) 2000-2008 by George Williams */
/*
* 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, this
* list of conditions and the following... |
#ifndef GUI_WINDOW_ABOUT_H_
#define GUI_WINDOW_ABOUT_H_
#include <QDialog>
#include "../../common.h"
namespace gui {
namespace window {
class about : public QDialog {
Q_OBJECT
public:
about(QWidget *parent);
};
} // ns window
} // ns gui
#endif //GUI_WINDOW_ABOUT_H_
|
/* ============================================================
*
* This file is a part of digiKam project
* http://www.digikam.org
*
* Date : 2012-10-03
* Description : kipi loader implementation
*
* Copyright (C) 2004-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
* Copyright (C) 2012 ... |
/*-
* Copyright (c) 1991 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Kenneth Almquist.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... |
#undef CONFIG_APM_IGNORE_USER_SUSPEND
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.