text stringlengths 4 6.14k |
|---|
//
// Constants.h
// OGL_Basic
//
// Created by Sid on 22/08/13.
// Copyright (c) 2013 whackylabs. All rights reserved.
//
#ifndef OGL_Basic_Constants_h
#define OGL_Basic_Constants_h
/*******************************************************************************
* MARK: GL Attributes locations
*****************... |
//
// NSString+Core.h
// test
//
// Created by Dao Duy Thuy on 4/14/14.
// Copyright ThuyDao 2014. All rights reserved.
// Provider : Dao Duy Thuy
//
#import <UIKit/UIKit.h>
@interface UIView (TDCore)
#pragma mark - Get UI
- (UILabel *)td_lbWithTag:(NSInteger)tag;
- (UITextField *)td_tfWithTag:(NSInteger )tag;
-... |
/*
* Copyright (c) 2013 Serho Liu. All rights reserved.
*
* Use of this source code is governed by a MIT-style license that can be
* found in the MIT-LICENSE file.
*
* HashTable,采用开放地址解决 Hash 冲突, Hash 函数
* 和冲突解决方法参考自 Python mapobject 的实现
*
* 初始化大小是 512,当负载因子达到 2/3 时进行 resize 操作,
* 每次增加一倍
*/
#include "hash... |
#ifndef GAME_H
#define GAME_H
#include <stdlib.h>
#include <inttypes.h>
#include "scene.h"
typedef struct refc_ptr refc_ptr;
struct refc_ptr {
size_t c;
void* p;
refc_ptr* next;
refc_ptr* prev;
};
typedef struct {
size_t num_scenes;
scene* scenes;
scene* current;
refc_ptr* render_data;
refc_ptr* window... |
#include <stdio.h>
extern void moin(void);
void lol()
{
printf("lol\n");
}
void rofl()
{
printf("rofl\n");
lol();
}
void main()
{
printf("main\n");
lol();
rofl();
rofl();
lol();
moin();
}
|
double HML_DerivativeOfBellShapedKernelRectangle(double z); |
//
// AppDelegate.h
// ASFormatterCacheExample
//
// Created by Philippe Converset on 13/02/2014.
// Copyright (c) 2014 AutreSphere. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
#ifndef AUTO_H
#define AUTO_H
#include "vehiculo.h"
class Auto : public Vehiculo
{
public:
Auto();
};
#endif // AUTO_H
|
//
// CKAsset.h
// CloudKit
//
// Copyright (c) 2014 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_10, 8_0)
@interface CKAsset : NSObject
- (instancetype)init NS_UNAVAILABLE;
/* Initialize an asset to be saved with the content at the given file... |
/*
* The MIT License (MIT)
*
* Copyright © 2015-2016 Franklin "Snaipe" Mathieu <http://snai.pe/>
*
* 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 withou... |
//
// FLObjC.h
// FishLampiOS-Lib
//
// Created by Mike Fullerton on 2/18/12.
// Copyright (c) 2013 GreenTongue Software LLC, Mike Fullerton.
// The FishLamp Framework is released under the MIT License: http://fishlamp.com/license
//
// WARNING: don't import anything here. This file is imported by FishLamp. Th... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__malloc_char_cpy_61b.c
Label Definition File: CWE127_Buffer_Underread__malloc.label.xml
Template File: sources-sink-61b.tmpl.c
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated memory ... |
//
// SZNAuthor.h
//
// Copyright (c) 2013-2016 shazino (shazino SAS), http://www.shazino.com/
//
// 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 lim... |
/*=============================================================================
Copyright (c) 2012, Ludo Sapiens Inc. and contributors.
See accompanying file LICENSE.txt for details.
=============================================================================*/
#ifndef PLASMA_CONTROLLER_H
#define PLASMA_CONTROLL... |
/*
* Copyright (c) 2005, Eric Crahen
*
* 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, publis... |
//
// RecommendVC.h
// AmosJoyContact
//
// Created by Amos Wu on 15/11/13.
// Copyright © 2015年 Amos Wu. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "EYTagView.h"
#import "RecommendInfo.h"
@interface RecommendVC : UIViewController
@property (nonatomic)BOOL isNew;
@property (nonatomic) int rootPK;
@p... |
/*
This file is part of WME Lite.
http://dead-code.org/redir.php?target=wmelite
Copyright (c) 2011 Jan Nedoma
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, includin... |
#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <stdbool.h>
#include <stdint.h>
typedef struct {
PyObject_HEAD
PyObject *read; // cached read() method of fp
PyObject *tag_hook;
PyObject *object_hook;
PyObject *shareables;
PyObject *stringref_namespace;
PyObject *str_errors;
boo... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_environment_execl_61a.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-61a.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from an ... |
/*
Copyright (c) 2006-2010 Jesper Svennevid
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, dist... |
//
// NSDictionary+ZCSwizzle.h
// PrivateAccountBook
//
// Created by 唐周成 on 16/1/16.
// Copyright © 2016年 JiaPin. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDictionary(ZCSwizzle)
@end
|
//###################################################################
//###################################################################
// SORT FUNCTION FOR THE MEDIAN FILTER:
void isort(int *a, int n){
// *a is an array pointer, n is the array size
for (int i = 1; i < n; ++i)
{
int j = a[i];
int k... |
#pragma once
#include <cpp_odbc/statement.h>
#include <cpp_odbc/multi_value_buffer.h>
#include <turbodbc/field.h>
#include <turbodbc/description.h>
namespace turbodbc {
/**
* @brief This interface represents a single parameter of a query
*/
class parameter {
public:
/**
* @brief Create a new parameter, binding ... |
//
// JHDynamicViewController.h
// jiaxiaohuiDemo
//
// Created by 陈钰全 on 16/6/15.
// Copyright © 2016年 jiaXiaoHui. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface JHDynamicViewController : UIViewController
@end
|
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <DevToolsInterface/XCReferenceBasedFindable.h>
@class NSString, NSTextStorage;
@interface _XCTextFindable : XCReferenceBasedFindable
{
NSString *_textFilePath;
... |
#include "munit.h"
#include "util.h"
#include "darray.h"
/* GLOBAL VARIABLES */
static struct darray *array = NULL;
static int *val1 = NULL;
static int *val2 = NULL;
static int *new_val1 = NULL;
static int *new_val2 = NULL;
/* PROTOTYPES */
int test_darray_new_and_destroy(void);
int test_darray_push_pop(void);
int ... |
#ifndef DISPAY_H
#define DISPAY_H
#include <iostream>
#include <GL/glew.h>
#include <SDL2/SDL.h>
#include <string>
class dispay
{
public:
dispay(int width,int height,const std::string& title);
virtual ~dispay();
SDL_Window* m_window;
SDL_GLContext m_glContext;
bool isClos... |
/*
* Created by suemi on 2016/12/8.
*/
#ifndef SLOG_NULL_APPENDER_H
#define SLOG_NULL_APPENDER_H
#include "slog/appender/appender.h"
namespace slog {
/**
* 输出到/dev/null,什么也不做的Appender
* @author suemi
*/
class NullAppender : public Appender {
public:
NullAppender(const std::string& name="null_appender");
Nul... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Linaro Limited
*
* 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 So... |
#ifndef ROCNROLL_IPERFORMANCE_H
#define ROCNROLL_IPERFORMANCE_H
#include <config.h>
#include <string>
using namespace std;
class IPerformance {
public:
virtual void printYAML(const string& name, const string& indent) = 0;
virtual void printYAML() = 0;
virtual void compute() = 0;
virtual void makeF... |
#pragma once
#include <GameEngine/IGameScreen.h>
#include <GameEngine/Window.h>
#include <GameEngine\Camera2D.h>
#include <GameEngine\GLSLProgram.h>
#include <GameEngine\Timing.h>
#include <GameEngine\Random.h>
#include "World.h"
#include "Player.h"
#include "Zombie.h"
#include "PathRequestManager.h"
// ... |
#pragma once
#include <atomic>
#include <chrono>
#include <functional>
#include <memory>
#include <set>
#include <string>
#include <thread>
#include <folly/futures/Future.h>
#include <folly/futures/helpers.h>
#include <folly/futures/Promise.h>
#include <folly/io/async/EventBase.h>
#include <folly/ProducerConsumerQueue... |
//
// CMFriend.h
// CMSetController
//
// Created by Samuel Ford on 2/17/13.
// Copyright (c) 2013 Samuel Ford. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface CMFriend : NSObject
@property (strong) NSString *name;
@property (strong) NSString *favoriteColor;
@property (strong) NSNumber *rati... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <DevToolsCore/XCBuildPhaseDGSnapshot.h>
@interface XCHeadersBuildPhaseDGSnapshot : XCBuildPhaseDGSnapshot
{
}
+ (id)defaultName;
- (id)initWithInformationFromBuildPhase... |
#import "BackgroundView.h"
#import "StatusItemView.h"
#import <Firebase/Firebase.h>
@class PanelController;
@protocol PanelControllerDelegate <NSObject>
@optional
- (StatusItemView *)statusItemViewForPanelController:(PanelController *)controller;
@end
#pragma mark -
@interface PanelController : NSWindowControlle... |
/**
* Part of the RealTimeCapon (RTC) library.
*
* Author: Jon Petter Aasen
* E-mail: jon.p.asen@ntnu.no - jp.aasen@gmail.com
**/
#pragma once
template <typename C>
class ISolver
{
public:
virtual ~ISolver() {};
/**
* Method for solving N sets of linear equations Ax = b -> x = A^{-1}b.
* A must be in ro... |
//
// Lighting.h
// Chilli Source
// Created by Ian Copland on 07/07/2014.
//
// The MIT License (MIT)
//
// Copyright (c) 2014 Tag Games Limited
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... |
/**
* @file WeakSmartPointer.h
* @class WeakSmartPointer
* @author Jichan (development@jc-lab.net / http://ablog.jc-lab.net/category/JsCPPUtils )
* @date 2018/11/14
* @brief WeakSmartPointer. Can be check object is alive.
* @copyright Copyright (C) 2018 jichan.\n
* This software may be modified and di... |
#import "MOBProjection.h"
@interface MOBProjectionEPSG6606 : MOBProjection
@end
|
//
// DZLayoutAngle.h
// Pods
//
// Created by baidu on 2017/1/17.
//
//
#ifndef DZLayoutAngle_h
#define DZLayoutAngle_h
//角度转化
/**
将弧度表示转化为角度表示
@param x 弧度
@return 对应的角度
*/
#define DEGREE_TO_ANGLE(x) (x / 180.0f * M_PI)
/**
将角度表示转化为弧度表示
@param x 角度
@return 对应的弧度
*/
#define ANGLE_TO_DEGREE(x) (x * 18... |
/**
******************************************************************************
* @file Projects/Multi/Examples/IKS01A1/LSM6DS3_FIFOContinuousMode/Src/stm32l0xx_it.c
* @author CL
* @version V4.0.0
* @date 1-May-2017
* @brief Main Interrupt Service Routines.
* This file provides... |
// This file is part of Wintermute Engine
// For conditions of distribution and use, see copyright notice in license.txt
// http://dead-code.org/redir.php?target=wme
#if !defined(AFX_ADREGION_H__2802474C_5CE3_4B22_8794_402559E5D05B__INCLUDED_)
#define AFX_ADREGION_H__2802474C_5CE3_4B22_8794_402559E5D05B__INCLUD... |
/* Here is an encapsulation of the logic for collecting data over
* a Server at port 1180 from a client out there somewhere.
* Somewhere could be the driver station, where this code was
* tested, an accessory computer at the driver station, or on
* the robot itself. The stated intention is to perform vision
* pro... |
//
// UIScreenExtension.h
// UIScreenExtension
//
// Created by Jens Schwarzer on 02/10/2017.
// Copyright © 2017 marchv. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for UIScreenExtension.
FOUNDATION_EXPORT double UIScreenExtensionVersionNumber;
//! Project version string for UIScr... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "dtypes.h"
#ifdef WIN32
#include <malloc.h>
#include <sys/timeb.h>
#include <windows.h>
#undef NO_ERROR
#undef MOD_SHIFT
#undef ... |
/*
* 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 GQTableGenerator <NSObject>
+ (int)handleCell:(id)arg1 state:(id)arg2;
+ (int)endCells:(id)arg1 state:(id)arg2;
+ (int)beginCells:(id)arg... |
/*****************************************************************************
*
* \file
*
* \brief TLV320AIC23B stereo audio CODEC driver configuration file for AVR32.
*
* This file contains the possible external configuration of the TLV320AIC23B.
*
* can be used.
*
*
* Copyright (c) 2... |
//
// RTAppDelegate.h
// RTToastManager
//
// Created by Roman Temchenko on 7/8/13.
// Copyright (c) 2013 Roman Temchenko. All rights reserved.
//
// This code is distributed under the terms and conditions of the MIT license.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// ... |
#include<stdio.h>
main()
{
long nc;
nc = 0;
while(getchar() != EOF)
++nc;
printf("Total words in given line are : \t %ld \n",nc);
}
|
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2018-2020 The Ion Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_UTILITYDIALOG_H
#define BITCOIN_QT_UTILITYDIALOG_H
#in... |
/*****************************************************************************************
* *
* OpenSpace *
* ... |
#include "ceres.h"
#include "cutcopypaste.h"
#include "cachememhandler.h"
#include "clip.h"
struct Clip *CCP_clip=NULL;
bool CCP_copy(struct FFTSound *fftsound,int area_start,int area_end){
if(CCP_clip!=NULL) CLIP_delete(CCP_clip);
CCP_clip=CLIP_new(fftsound,area_start,area_end,areaf1,areaf2);
if(CCP_clip==NUL... |
/*
* ctrl_DP_mss_private.h
*
* Code generation for model "ctrl_DP_mss".
*
* Model version : 1.10
* Simulink Coder version : 8.6 (R2014a) 27-Dec-2013
* C source code generated on : Wed Jan 28 18:35:59 2015
*
* Target selection: NIVeriStand_VxWorks.tlc
* Note: GRT includes extra infrastructure and ... |
/**
******************************************************************************
* @file LIS302DL/main.h
* @author MCD Application Team
* @version V1.0.0
* @date 19-September-2011
* @brief Header for main.c module
******************************************************************************
... |
/**
* Copyright (c) 2021 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#pragma once
#include "saiga/config.h"
#include <cmath>
namespace Saiga
{
template <typename T>
constexpr T epsilon()
{
static_assert(std::is_floating_point<T>::value, "Only allowed for flo... |
#ifndef Manta_Core_UnknownComponent_h
#define Manta_Core_UnknownComponent_h
#include <Core/Exceptions/Exception.h>
#include <string>
namespace Manta {
using namespace std;
class UnknownComponent : public Exception {
public:
UnknownComponent(const std::string& error, const std::string& spec);
UnknownCom... |
#import <Foundation/Foundation.h>
#import "CP2DRenderer.h"
#include "GameWorld.h"
using namespace CoolPhysics2D;
@interface CP2DGameWorldRenderer : NSObject<CP2DRenderer>
-(id)initWithGameWorld:(GameWorld*)gameWorld;
@end
|
//
// RollbarLog.h
// Rollbar
//
// Created by Andrey Kornich on 2019-11-12.
// Copyright © 2019 Rollbar. All rights reserved.
//
#import <Foundation/Foundation.h>
/// Rollbar equivalent of NSLog(...) that also allows capture of the log messages as part of RollbarTelemetry data.
/// NOTE: When this SDK is used... |
#include <stdio.h>
#include <stdlib.h>
int main()
{
int n,
i,
j,
r = 0,
t = 0;
scanf("%d", &n);
int a[n][n];
for (i = 0; i < n; i++) {
for (j = 0; j < n; j++) {
scanf("%d", &a[i][j]);
}
}
f... |
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include "noc_control.h"
#include <altera_avalon_pio_regs.h>
#include <system.h>
#include "hw_timer.h"
static void *base_addr;
static buffer the_buffer;
static int total_flits = 0;
void noc_init()
{
printf("initial... |
#import <Cocoa/Cocoa.h>
#import "SPGUIController.h"
#import "SPArrayController.h"
@interface SPAppDelegate : NSObject <NSApplicationDelegate, SPGUIControllerDelegate, SPRecordDelegate>
{
}
@property SPGUIController *guiController;
@property NSObjectController *objectController;
@property SPArrayController *arrayContr... |
/*
* 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 _XCMarkerList : NSObject
{
long long _numMarks;
struct CGRect _markRect;
double *_marks;
long long _marksSize;
struct CGRect ... |
#ifndef _TASK_X86_H
#define _TASK_X86_H
#include "task.h"
#include "regs.h"
#include "string.hh"
typedef struct
{
unsigned short link;
unsigned short r_link;
unsigned long esp0;
unsigned short ss0;
unsigned short r_ss0;
unsigned long esp1;
unsigned short ss1;
unsigned short r_ss1;
... |
// MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#pragma once
#include "mx/core/ForwardDeclare.h"
#include "mx/core/ElementInterface.h"
#include "mx/core/Decimals.h"
#include <iosfwd>
#include <memory>
#include <vector>
namespace mx
{
namespace core
{
... |
#include <stdio.h>
void output_sum (int sum);
int add_numbers (int a, int b)
{
return a + b;
}
int subtract_numbers (int a, int b)
{
return a - b;
}
int main()
{
int sum;
sum = add_numbers(45, 74);
output_sum(sum);
sum = subtract_numbers(66, 12);
output_sum(sum);
re... |
/*
* timer.h
*
* Created on: Dec 7, 2015
* Author: longqi
*/
#ifndef INCL_TIMER_H_
#define INCL_TIMER_H_
#include <DSP2833x_CpuTimers.h>
#include "DSP2833x_Examples.h"
#include "DSP2833x_Device.h"
void configureTimer0();
interrupt void cpu_timer0_isr(void);
extern float32 heartbeat;
#endif /* INCL_TIMER_H... |
/* ###################################################################
** THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
** Filename : CsIO1.h
** Project : FreeRTOS_buttons
** Processor : MKL46Z256VLL4
** Component : ConsoleIO
** Version : Component 01.016, Dr... |
// This library is distributed in the hope that it will be useful but without
// any warranty; without even the implied warranty of merchantability or
// fitness for a particular purpose.
// The use and distribution terms for this software are covered by the Eclipse
// Public License 1.0 (http://opensource.org/... |
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_dot_prod_q15.c
* Description: Processing function for the Q15 Complex Dot product
*
* $Date: 18. March 2019
* $Revision: V1.6.0
*
* Target Processor: Cortex-M ... |
/*
* File name: UnionStringSwitchPath
* File type: Body file.
* Date : 14th February 2006
* Author: Toms Aguado Gmez taguado@gsyc.escet.urjc.es>
*/
/*
// (C) Copyright 2009 Telefonica Investigacion y Desarrollo
*
// S.A.Unipersonal (Telefonica I+D)
//
// This file is part of Morfeo CORBA Platform.
//
// ... |
/** \file padding_encoding.h \brief Content padding
*
* $Author: peltotal $ $Date: 2007/02/28 08:58:01 $ $Revision: 1.10 $
*
* MAD-FLUTELIB: Implementation of FLUTE protocol.
* Copyright (c) 2003-2007 TUT - Tampere University of Technology
* main authors/contacts: jani.peltotalo@tut.fi and sami.peltotal... |
#if (__cplusplus)
extern "C" {
#endif
void neoscrypt(const unsigned char *input, unsigned char *output,
unsigned int profile);
void neoscrypt_blake2s(const void *input, const unsigned int input_size,
const void *key, const unsigned char key_size,
void *output, const unsigned char output_size);
void neoscrypt_c... |
/*=========================================================================
Compatibility headers for Z88DK
GFX - a small graphics library
Copyright (C) 2004 Rafael de Oliveira Jannone
Contact the author:
by e-mail : rafael AT jannone DOT org
homepage : http://jannone.org/gfxlib
ICQ UIN : 10115284
$Id: d... |
/****************************************************************************
(c) SYSTEC electronic GmbH, D-07973 Greiz, August-Bebel-Str. 29
www.systec-electronic.com
Project: openPOWERLINK
Description: definitions for SDO Abort codes
License:
Redistribution and use in source and binary fo... |
/*
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
* COPYRIGHT (c) 1989-2009.
* 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 ... |
/*
* region.c --- code which manages allocations within a region.
*
* Copyright (C) 2001 Theodore Ts'o.
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Public
* License.
* %End-Header%
*/
#include "config.h"
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <string.h>
#ifde... |
/* Copyright 2009,2010 Klarälvdalens Datakonsult AB
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 version
a... |
/* Copyright 2004-2006, 2012 Theo Berkau
This file is part of EventEditor.
EventEditor 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... |
/*
* TI's Davinci platform specific USB wrapper functions.
*
* Copyright (c) 2008 Texas 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 Software Foundation; either version 2 of
* the License, o... |
/*
* GrandOrgue - free pipe organ simulator
*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2015 GrandOrgue contributors (see AUTHORS)
*
* 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 F... |
#ifndef _TSFileVersionInfo_H_
#define _TSFileVersionInfo_H_
#include "Constants.h"
class TSFileVersionInfo
{
public:
TSFileVersionInfo();
~TSFileVersionInfo();
bool Open(const wchar_t* p_file_path);
wchar_t* GetFileDescription();
wchar_t* GetInternelName();
wchar_t* GetLegalTradeM... |
/*
* Copyright (C) 2002 ARM Ltd.
* All Rights Reserved
* Copyright (c) 2010-2012, Code Aurora Forum. 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 version 2 as
* published by the Free Software Foundation.
*... |
/*
* ha1b.analogfunction.h - analog function header
*
* This 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.
*
*/
#ifndef __ha1b_ANALOGFUNCT... |
#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 ver... |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
*/
#import <StoreServices/SSCoding.h>
#import <StoreServices/XXUnknownSuperclass.h>
@class NSString, NSURL, NSDictionary, NSData;
@interface SSURLConnectionResponse : XXUnknown... |
/* gnuboy4cute
*
* Copyright (C) 2010 Summeli <summeli@summeli.fi>
*
* 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 versi... |
/*
* Copyright (c) 2006 Cyrille Berger <cberger@cberger.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later vers... |
#if defined(__GNUC__) && (__GNUC__ >= 5)
#include "uint64.h"
int imult64( int64 a, int64 b, int64* c) { return !__builtin_mul_overflow(a,b,c); }
#else
#include "safemult.h"
#if defined(__GNUC__) && (defined(__x86_64__) || defined(__ia64__) || defined(__powerpc64__) || defined(__alpha__) || defined(__mips64__) || d... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright 2007 University of Washington
*
* 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;
*
* This progra... |
#ifndef oxygeninputdemowidget_h
#define oxygeninputdemowidget_h
//////////////////////////////////////////////////////////////////////////////
// oxygeninputdemowidget.h
// oxygen input widgets (e.g. text editors) demo widget
// -------------------
//
// Copyright (c) 2010 Hugo Pereira Da Costa <hugo@oxygen-icons.org>... |
/********************************************
* *
* Eyüp Can KILINÇDEMİR *
* KARADENİZ TEKNİK UNİVERSİTESİ *
* ceksoft.wordpress.com *
* eyupcankilincdemir@gmail.com *
* ... |
/*
* MCMClib: A C Library for doing MCMC
* Copyright (C) 2009,2010 Antonio, Fabio Di Narzo
*
* 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... |
/*
* Unified handling of special chars.
*
* Copyright IBM Corp. 2001
* Author(s): Fritz Elfert <felfert@millenux.com> <elfert@de.ibm.com>
*
*/
#include <linux/stddef.h>
#include <asm/errno.h>
#include <linux/sysrq.h>
#include <linux/ctype.h>
#include "ctrlchar.h"
#ifdef CONFIG_MAGIC_SYSRQ
static int ctr... |
/*
* Generic cache management functions. Everything is arch-specific,
* but this header exists to make sure the defines/functions can be
* used in a generic way.
*
* 2000-11-13 Arjan van de Ven <arjan@fenrus.demon.nl>
*
*/
#ifndef _LINUX_PREFETCH_H
#define _LINUX_PREFETCH_H
#include <linux/types.h>
#i... |
/*
* Copyright (C) 2000 Lennert Buytenhek
*
* 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 ... |
/*(LGPLv2.1)
----------------------------------------------------------------------
filters.h - Filters for the sprite manager
----------------------------------------------------------------------
* Copyright 2001, 2003, 2009 David Olofson
* Copyright 2015-2016 David Olofson (Kobo Redux)
*
* This library is free ... |
#define BFD_VERSION_DATE 20120120
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
|
#ifndef _BOX_H
#define _BOX_H
#include "basic_types.h"
class Box
{
public:
Box():first_expand_(true){}
~Box(){}
void expand( const PointType& p )
{
diag_dirty_ = true;
if (first_expand_)
{
low_corner_ = p;
high_corner_ = p;
first_expand_ = false;
return;
}
for (int dim=0; dim <3; dim++)
... |
#ifndef HDS_FACE_H
#define HDS_FACE_H
#include "common.h"
#include <QVector3D>
class HDS_HalfEdge;
class HDS_Vertex;
class HDS_Face
{
private:
static size_t uid;
public:
static void resetIndex() { uid = 0; }
static size_t assignIndex() { return uid++; }
static float faceAngle(const HDS_Face* f0, const HDS_Face... |
/*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* Jerry Wang <wangflord@allwinnertech.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 t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.