text stringlengths 4 6.14k |
|---|
/***********************************************************************
Copyright (c) 2006-2011, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retai... |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2018 Xilinx, Inc.
*/
#ifndef _DT_BINDINGS_ZYNQMP_RESETS_H
#define _DT_BINDINGS_ZYNQMP_RESETS_H
#define ZYNQMP_RESET_PCIE_CFG 0
#define ZYNQMP_RESET_PCIE_BRIDGE 1
#define ZYNQMP_RESET_PCIE_CTRL 2
#define ZYNQMP_RESET_DP 3
#define ZYNQMP_RESET_SWDT_C... |
/* { dg-do run } */
/* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
/* { dg-options "-fsanitize=float-cast-overflow -fno-sanitize-recover=float-cast-overflow" } */
/* FIXME: When _DecimalXX <-> {signed, unsigned} __int128 conversions are
supported, -DBROKEN_DECIMAL_INT128 can be removed. */
/* {... |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
/* vi: set expandtab shiftwidth=4 tabstop=4: */
/**
* \file
* <PRE>
* High performance base64 encoder / decoder
* Version 1.3 -- 17-Mar-2006
*
* Copyright © 2005, 2006, Nick Galbreath -- nickg [at] modp [dot] com
* All rights res... |
#include <linux/mount.h>
#include <linux/seq_file.h>
#include <linux/poll.h>
#include <linux/ns_common.h>
#include <linux/fs_pin.h>
struct mnt_namespace {
atomic_t count;
struct ns_common ns;
struct mount * root;
struct list_head list;
struct user_namespace *user_ns;
u64 seq; /* Sequence number to prevent loo... |
/* libunwind - a platform-independent unwind library
Copyright (C) 2003 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files... |
/* types.h - some common typedefs
* Copyright (C) 1998, 2000, 2002, 2003 Free Software Foundation, Inc.
*
* This file is part of Libgcrypt.
*
* Libgcrypt 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 Found... |
/* Reentrant version of rename system call. */
#include <reent.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/stat.h>
#include <_syslist.h>
/* Some targets provides their own versions of these functions. Those
targets should define REENTRANT_SYSCALLS_PROVIDED in TARGET_CFLAGS. */
#ifdef _REENT_ONLY
#i... |
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-fre1-details" } */
typedef union
{
int* data;
} SA;
typedef struct
{
int reserved;
char* array;
}SB;
typedef struct
{
int status;
}SC;
void foo(SA* pResult, SB* method, SC* self)
{
if (method->array[0] == 'L' && !self->status && pResult->data != 0)
... |
#ifndef ASMNAMES_H
#define ASMNAMES_H
#define C2(X, Y) X ## Y
#define C1(X, Y) C2(X, Y)
#ifdef __USER_LABEL_PREFIX__
# define C(X) C1(__USER_LABEL_PREFIX__, X)
#else
# define C(X) X
#endif
#ifdef __APPLE__
# define L(X) C1(L, X)
#else
# define L(X) C1(.L, X)
#endif
#if defined(__ELF__) && defined(_... |
#ifndef ethernetclient_h
#define ethernetclient_h
#include "Arduino.h"
#include "Print.h"
#include "Client.h"
#include "IPAddress.h"
class EthernetClient : public Client {
public:
EthernetClient();
EthernetClient(uint8_t sock);
uint8_t status();
virtual int connect(IPAddress ip, uint16_t port);
virtual in... |
/*************************************************************************/ /*!
@File
@Title Debugging and miscellaneous functions server implementation
@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
@Description Kernel services functions for debugging and other
... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* HID driver for ELECOM devices:
* - BM084 Bluetooth Mouse
* - EX-G Trackballs (M-XT3DRBK, M-XT3URBK, M-XT4DRBK)
* - DEFT Trackballs (M-DT1DRBK, M-DT1URBK, M-DT2DRBK, M-DT2URBK)
* - HUGE Trackballs (M-HT1DRBK, M-HT1URBK)
*
* Copyright (c) 2010 Richard Nauber ... |
#ifndef CONFIG_USER_H
#define CONFIG_USER_H
#include "../../config.h"
#define MUSIC_MASK (keycode != KC_NO)
/*
* MIDI options
*/
/* Prevent use of disabled MIDI features in the keymap */
//#define MIDI_ENABLE_STRICT 1
/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/
#define... |
/*
* Copyright (C) 2009 Apple Inc. All Rights Reserved.
* Copyright (C) 2009, 2011 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:
* 1. Redistributions of source code must retai... |
/*
* Test for pthread_join().
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyright(C) 1999,2005 Pthreads-win32 contributors
*
* Contact Email: rpj@callisto.canbe... |
#ifndef QEMU_HID_H
#define QEMU_HID_H
#include "migration/vmstate.h"
#include "ui/input.h"
#define HID_MOUSE 1
#define HID_TABLET 2
#define HID_KEYBOARD 3
typedef struct HIDPointerEvent {
int32_t xdx, ydy; /* relative iff it's a mouse, otherwise absolute */
int32_t dz, buttons_state;
} HIDPointerEven... |
/*
* Copyright (C) 2007 Apple 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... |
#ifndef _M68KNOMMU_DMA_MAPPING_H
#define _M68KNOMMU_DMA_MAPPING_H
#ifdef CONFIG_PCI
#include <asm-generic/dma-mapping.h>
#else
#include <asm-generic/dma-mapping-broken.h>
#endif
#endif /* _M68KNOMMU_DMA_MAPPING_H */
|
/*
* Copyright (C) 2017 Linus Walleij <linus.walleij@linaro.org>
* Parts of this file were based on sources as follows:
*
* Copyright (C) 2006-2008 Intel Corporation
* Copyright (C) 2007 Amos Lee <amos_lee@storlinksemi.com>
* Copyright (C) 2007 Dave Airlie <airlied@linux.ie>
* Copyright (C) 2011 Texas Instrument... |
/*
* debug.h - ChipIdea USB driver debug interfaces
*
* Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved.
*
* Author: David Lopo
*
* 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 t... |
/*
* Copyright (C) 2008 Google, Inc.
* Copyright (C) 2010-2013, The Linux Foundation. All rights reserved.
* Author: Nick Pelly <npelly@google.com>
*
* 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, distr... |
/*
* Copyright (c) 2007 Dave Airlie <airlied@linux.ie>
* Copyright (c) 2007 Intel Corporation
* Jesse Barnes <jesse.barnes@intel.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 Softwar... |
// SPDX-License-Identifier: GPL-2.0
/*
* bitops.c: atomic operations which got too long to be inlined all over
* the place.
*
* Copyright 1999 Philipp Rumpf (prumpf@tux.org)
* Copyright 2000 Grant Grundler (grundler@cup.hp.com)
*/
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/atomic... |
/*
* Copyright (C) 2010 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
extern int main(int argc, char **argv, char **envp);
extern int brk (void *value);
extern char bss_start;
extern char end;
char *__env[1] = {0};
char **environ = __env;
#define ENABLE_TRACE_MASK 1
__inline static void
enable_tracing (void)
{
register int mask = ENABLE_TRACE_MASK;
__asm__ volatile ("modpc %... |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_security_auth_login_Configuration__
#define __javax_security_auth_login_Configuration__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace javax
{
namespace security
{
name... |
/******************************************************************************
*
* Copyright(c) 2007 - 2010 Realtek Corporation. 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 ... |
/*
* The SH64 TLB miss.
*
* Original code from fault.c
* Copyright (C) 2000, 2001 Paolo Alberelli
*
* Fast PTE->TLB refill path
* Copyright (C) 2003 Richard.Curnow@superh.com
*
* IMPORTANT NOTES :
* The do_fast_page_fault function is called from a context in entry.S
* where very few registers have been save... |
/*
******************************************************************************
* Copyright (C) 1997-2010, International Business Machines
* Corporation and others. All Rights Reserved.
******************************************************************************
* Date Name Description
* 03/2... |
/*
* Copyright 2010 Tilera Corporation. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2.
*
* This program is distributed in the hope that it will ... |
#ifndef LINUX_CRASH_DUMP_H
#define LINUX_CRASH_DUMP_H
#ifdef CONFIG_CRASH_DUMP
#include <linux/kexec.h>
#include <linux/proc_fs.h>
#include <linux/elf.h>
#include <asm/pgtable.h> /* for pgprot_t */
#define ELFCORE_ADDR_MAX (-1ULL)
#define ELFCORE_ADDR_ERR (-2ULL)
extern unsigned long long elfcorehdr_addr;
extern un... |
#ifndef _PKEYS_HELPER_H
#define _PKEYS_HELPER_H
#define _GNU_SOURCE
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <signal.h>
#include <assert.h>
#include <stdlib.h>
#include <ucontext.h>
#include <sys/mman.h>
#define NR_PKEYS 16
#define PKRU_BITS_PER_PKEY ... |
//
// Created by Jesse Squires
// http://www.jessesquires.com
//
//
// Documentation
// http://cocoadocs.org/docsets/JSQMessagesViewController
//
//
// GitHub
// https://github.com/jessesquires/JSQMessagesViewController
//
//
// License
// Copyright (c) 2014 Jesse Squires
// Released under an MIT license: http... |
/*
* linux/fs/fifo.c
*
* written by Paul H. Hargrove
*
* Fixes:
* 10-06-1999, AV: fixed OOM handling in fifo_open(), moved
* initialization there, switched to external
* allocation of pipe_inode_info.
*/
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/pipe_fs_i.h>
... |
/*
* QFloat Module
*
* Copyright IBM, Corp. 2009
*
* Authors:
* Anthony Liguori <aliguori@us.ibm.com>
*
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
* See the COPYING.LIB file in the top-level directory.
*
*/
#ifndef QFLOAT_H
#define QFLOAT_H
#include <stdint.h>
#includ... |
/*
* Copyright (c) 2010-2014, The Linux Foundation. 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 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in ... |
// SPDX-License-Identifier: GPL-2.0
/*
* Shared Memory Communications over RDMA (SMC-R) and RoCE
*
* Generic netlink support functions to interact with SMC module
*
* Copyright IBM Corp. 2020
*
* Author(s): Guvenc Gulce <guvenc@linux.ibm.com>
*/
#include <linux/module.h>
#include <linux/list.h>
#include <l... |
/* PCMCIA/Cardbus */
#include "qemu-common.h"
typedef struct {
qemu_irq irq;
int attached;
const char *slot_string;
const char *card_string;
} PCMCIASocket;
void pcmcia_socket_register(PCMCIASocket *socket);
void pcmcia_socket_unregister(PCMCIASocket *socket);
void pcmcia_info(Monitor *mon);
struct ... |
/*
* Copyright (c) 2013-2014, The Linux Foundation. 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 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in ... |
/*
* Machine interface for the pinctrl subsystem.
*
* Copyright (C) 2011 ST-Ericsson SA
* Written on behalf of Linaro for ST-Ericsson
* Based on bits of regulator core, gpio core and clk core
*
* Author: Linus Walleij <linus.walleij@linaro.org>
*
* License terms: GNU General Public License (GPL) version 2
*/
... |
/* Copyright (c) 2011, The Linux Foundation. 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 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope... |
/*
* include/linux/tegra_nvavp.h
*
* Copyright (C) 2011 NVIDIA Corp.
*
* 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.
*/
#ifndef __LINUX_TEGRA_NVAVP_H
#define __LINUX_TEGRA_N... |
/*
* stmp378x: USBCTRL register definitions
*
* Copyright (c) 2008 Freescale Semiconductor
* Copyright 2008 Embedded Alley Solutions, 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 Fre... |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __RAS_DEBUGFS_H__
#define __RAS_DEBUGFS_H__
#include <linux/debugfs.h>
extern struct dentry *ras_debugfs_dir;
#endif /* __RAS_DEBUGFS_H__ */
|
/* Fallback per-CPU frame pointer holder
*
* Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.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 F... |
#ifndef __LINUX_SPINLOCK_API_SMP_H
#define __LINUX_SPINLOCK_API_SMP_H
#ifndef __LINUX_SPINLOCK_H
# error "please don't include this file directly"
#endif
/*
* include/linux/spinlock_api_smp.h
*
* spinlock API declarations on SMP (and debug)
* (implemented in kernel/spinlock.c)
*
* portions Copyright 2005, Red H... |
#ifndef _ASM_X86_PVCLOCK_ABI_H
#define _ASM_X86_PVCLOCK_ABI_H
#ifndef __ASSEMBLY__
/*
* These structs MUST NOT be changed.
* They are the ABI between hypervisor and guest OS.
* Both Xen and KVM are using this.
*
* pvclock_vcpu_time_info holds the system time and the tsc timestamp
* of the last update. So the gue... |
struct lm_device {
struct device dev;
struct resource resource;
unsigned int irq;
unsigned int id;
};
struct lm_driver {
struct device_driver drv;
int (*probe)(struct lm_device *);
void (*remove)(struct lm_device *);
int (*suspend)(struct lm_device *, pm_message_t);
int (*resume)(struct lm_device... |
#ifndef InvDistWeight_H
#define InvDistWeight_H
#include <ionMath/ionMath.h>
#include <map>
class InvDistWeight
{
public:
static float interpolate(std::map<vec3f, float> const &known, vec3f const &position, int power);
static float weight(vec3f const &x, vec3f const &x_i, int power);
};
#endif |
#ifndef __FSELECT_H
#define __FSELECT_H
#include <memory>
/*!
* \brief fselectが所属するnamespace
*/
namespace wl {
class fselect_private;
/*!
* \brief select(2)のwrapperクラス
*
* select(2)を呼び出すためのwrapperクラスです。
*
* read_watch()/write_watch()/except_watch()で監視するfdを登録した後、
* select()で無限待ち... |
/* $OpenBSD: pcib.c,v 1.6 2013/05/30 16:15:01 deraadt Exp $ */
/* $NetBSD: pcib.c,v 1.6 1997/06/06 23:29:16 thorpej Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe.
*
* Redistrib... |
/* See LICENSE file for copyright and license details. */
#include <errno.h>
#include <dirent.h>
#include <stdio.h>
#include <string.h>
#include "../util.h"
const char *
num_files(const char *dir)
{
struct dirent *dp;
DIR *fd;
int num = 0;
if ((fd = opendir(dir)) == NULL) {
fprintf(stderr, "opendir '%s': %s\n"... |
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
* contributed to Berkeley.
*
* Redistribution and use in source and bi... |
#pragma once
#include <iostream>
#include <glm.hpp>
#include <SDL.h>
#include "Shader.h"
/**
@brief A class for the UI Objects.
@author Jamie Slowgrove
*/
class UIObject
{
private:
/**The VBO for the rectangle*/
GLuint obj;
/**The dimensions for the rectangle*/
glm::vec2 dimensions;
/**The position for the UIObj... |
/*
* 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"
@class NSLock, SUScriptObject;
@interface SUScriptNativeObject : NSObject
{
NSLock *_lock;
id _nativeObject;
SUScriptObject *_scriptObject;
... |
//
// UIButton+YCYImagePosition.h
//
// Created by ycy on 16/1/15.
// Copyright © 2016年 NULLS. All rights reserved.
//
// 用button的titleEdgeInsets和 imageEdgeInsets属性来实现button文字图片上下或者左右排列的
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, YCYImagePosition) {
YCYImagePositionLeft = 0, //图片在左,文字在右,默认
... |
#pragma once
#ifndef TARGET_OPENGLES
/*
todo: add support for attachment of multiple shaders
if a uniform or attribute isn't available, this will cause an error
make sure to catch and report that error.
*/
#include "ofConstants.h"
#include "ofBaseTypes.h"
#include "ofTexture.h"
#include <map>
class ofShader {
... |
/* Header to define new/delete operators as they aren't provided by avr-gcc by default
Taken from http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=59453
*/
#ifndef NEW_H
#define NEW_H
#include <stdlib.h>
void * operator new(size_t size);
void operator delete(void * ptr);
void * operator new[](si... |
/*!The Treasure Box Library
*
* TBox is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* TBox is distributed in the h... |
#ifndef IRESOURCEMODEL_H
#define IRESOURCEMODEL_H
#include "engine_global.h"
#include "multilanguagestring.h"
#include <QObject>
#include <QList>
namespace BrowserAutomationStudioFramework
{
class ENGINESHARED_EXPORT IResourceModel : public QObject
{
Q_OBJECT
public:
explicit IResourceModel... |
#ifndef SPT_EXCEPTION_H
#define SPT_EXCEPTION_H
#include "stdafx.h"
namespace SPTracer
{
class Exception : public std::runtime_error
{
public:
explicit Exception(const char* msg) : std::runtime_error(msg) { };
explicit Exception(std::string msg) : std::runtime_error(msg.c_str()) { };
};
}
#endif
|
#include "os.h"
#include "http5.h"
static int
handleall(void **statep, Http5message *output, Http5message *input)
{
int state;
state = *(int*)statep;
switch(state){
case 0:
if(input->state == HTTP5_DONE){
if(http5ok(output) == -1)
return -1;
if(http5putheader(output, "content-type", "text/plain") == ... |
//############ OLED DEFINES: ####################
#define OLED_RESET 33
#define NUMFLAKES 10
#define XPOS 0
#define YPOS 1
#define DELTAY 2
Adafruit_SSD1306 display(OLED_RESET);
static const unsigned char PROGMEM logo16_glcd_bmp[] =
{ B00000000, B11000000,
B00000001, B11000000,
B00000001, B11000000,
B0000001... |
#ifndef BLOCKBUFFER_H
#define BLOCKBUFFER_H
#include "project_exceptions.h"
using namespace fs_excetion;
#include "filesystemblock.h"
#include "constants.h"
#include <memory>
#include <list>
#include <unordered_set>
class BlockFileAccessor;
class BlockBufferPool;
enum class SyncType {None = 0, ReadOnly = 1, WriteO... |
#ifndef ASM_GENERIC_TYPES64_H_
#define ASM_GENERIC_TYPES64_H_
#define __WORDSIZE 64
#ifndef __ASSEMBLER__
typedef signed char __s8;
typedef unsigned char __u8;
typedef signed short __s16;
typedef unsigned short __u16;
typedef signed int __s32;
typedef unsigned int __u32;
t... |
#pragma once
#include "CSceneNodeBoxyDecorator.h"
#include "3d.h"
#include "UnifiedCoord.h"
#include "VectorTraits.h"
#include <utility>
#include <bitset>
class CSceneNodeBoxyRepositioner: public CSceneNodeBoxyDecorator
{//ÔÚÒ»¸öSceneNodeBoxyÀïÃæ·ÅÒ»¸öSceneNodeBoxyµÄÀà.
public:
virtual void SetAABB(const... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if defined( _WIN32 )
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define NO... |
#pragma once
namespace Dolores {
class Consciousness
{
public:
Consciousness();
~Consciousness();
};
} |
#ifndef CG_PREDICATE_H
#define CG_PREDICATE_H
#include "Point.h"
#include "Edge.h"
int predicate_ahead(struct Point *p, struct Point *q, struct Point *r);
double predicate_distSquared(struct Point *p, struct Point *q);
int predicate_edgeIsPartOfRing(struct Edge *test, struct Edge *fromOrigin);
int predicate_isPoin... |
#ifndef __TERRAINHEIGHTMAP_H__
#define __TERRAINHEIGHTMAP_H__
#include <string>
#include "types.h"
/* Mostly downloaded and hacked to use SDL_image. Based on
* http://www.ogre3d.org/wiki/index.php/Ogre_Compatible_HeightMap
* Note that while the original was written for raw, that code has been
* fiddled with too, b... |
/* Copyright (c) 2013 The Squash Authors
*
* 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, ... |
#if !defined(__RSYS_VBL__)
#define __RSYS_VBL__
namespace Executor {
extern void C_ROMlib_vcatch( void );
}
#endif /* !defined(__RSYS_VBL__) */
|
// Copyright (c) 2010-14 Bifrost Entertainment AS and Tommy Nguyen
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
#ifndef COMMON_TIMEDEVENT_H_
#define COMMON_TIMEDEVENT_H_
#include "Common/Debug.h"
/// A ticker with a configurable time interval.... |
//
// AppDelegate.h
// RotationDemo
//
// Created by Michael D Zornek on 7/20/15.
// Copyright (c) 2015 Big Nerd Ranch. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
//
// NSObject+LTLNSObject.h
// 音乐播放器
//
// Created by LiTaiLiang on 16/12/13.
// Copyright © 2016年 LiTaiLiang. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSObject (LTLNSObject)
/* 获取对象的所有属性和属性内容 */
- (NSDictionary *)getAllPropertiesAndVaules;
/* 获取对象的所有属性 */
- (NSArray *)getAllPropertie... |
//
// XHViewController.h
// XHImageViewer
//
// Created by 曾 宪华 on 14-2-17.
// Copyright (c) 2014年 嗨,我是曾宪华(@xhzengAIB),曾加入YY Inc.担任高级移动开发工程师,拍立秀App联合创始人,热衷于简洁、而富有理性的事物 QQ:543413507 主页:http://zengxianhua.com All rights reserved.
//
#import <UIKit/UIKit.h>
@interface XHViewController : UIViewController
@end
|
//
// Created by Tomas Linhart.
// Copyright (c) 2014 Tomáš Linhart. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, TLLinearLayoutViewOrientation) {
TLLinearLayoutViewOrientationVertical,
TLLinearLayoutViewOrientationHorizontal,
};
@interface TLLi... |
//
// STKPostViewModel.h
// Stack
//
// Created by Bradley Smith on 12/22/15.
// Copyright © 2015 Brad Smith. All rights reserved.
//
@import Foundation;
@protocol STKCollectionListTableViewDelegate;
@class STKPost, ASTableView;
@interface STKPostViewModel : NSObject
- (instancetype)initWithPost:(STKPost *)post... |
//
// KSendMessageView.h
// KSharedSDKDemo
//
// Created by kyle on 14-3-11.
// Copyright (c) 2014年 kyle. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "KSharedMessage.h"
@protocol KSendMessageViewDelegate <NSObject>
- (void)sendWeiboMessage:(KSharedMessage *)m;
@end
@interface KSendMessage... |
#pragma strict_types
#include "../def.h"
inherit MASTER_ROOM;
inherit MOD_DOOR;
void create_object(void);
void reset(int arg);
void init(void);
void create_object(void)
{
set_short("Middle of the farm (e)");
set_long("A wide open space in the middle of the small farm. The grass " +
"on the ground... |
//
// HBStationCell.h
// HZBicycle
//
// Created by MADAO on 16/11/16.
// Copyright © 2016年 MADAO. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HBStationCell : UICollectionViewCell
@property (nonatomic, weak) HBBicycleStationModel *station;
@end
|
////////////////////////////////////////////////////////////////////////////////
// Name: autocomplete.h
// Purpose: Declaration of class wex::autocomplete
// Author: Anton van Wezenbeek
// Copyright: (c) 2018 Anton van Wezenbeek
////////////////////////////////////////////////////////////////////////////////... |
//
// ViewController.h
// ViewController
//
// Created by Yun on 13-8-12.
// Copyright (c) 2013年 伟平 周. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@property (nonatomic,retain) UIButton *button;
@end
|
#ifndef __REFRESH_H
#define __REFRESH_H
#include <vector>
#include "channel_state.h"
#include "common.h"
#include "configuration.h"
namespace dramsim3 {
class Refresh {
public:
Refresh(const Config& config, ChannelState& channel_state);
void ClockTick();
private:
uint64_t clk_;
int refresh_int... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <PhotoBoothEffects/PBFilter.h>
@interface PBXRayFilter : PBFilter
{
}
- (id)ciFilterName;
@end
|
#pragma once
#include <glm/glm.hpp>
struct LineSegment
{
glm::vec2 start;
glm::vec2 end;
LineSegment(float a_startX, float a_startY, float a_endX, float a_endY);
LineSegment(const glm::vec2& a_start, const glm::vec2& a_end);
LineSegment(const LineSegment& a_line);
bool contains(const glm::vec2& a_point) const... |
/**
* \file
* \brief Inline functions to allow manipulation of raw capability addresses
*
* This file is not part of the standard includes, because most user code should
* treat #capref as an opaque value.
*/
/*
* Copyright (c) 2007, 2008, 2009, 2010, 2012, ETH Zurich.
* All rights reserved.
*
* This file is... |
/*
* context.h
*
* Created on: June 09, 2016
* Author: Hotak
*/
#ifndef CONTEXT_H_
#define CONTEXT_H_
#include <AL/al.h>
#include <AL/alc.h>
#include <AL/alext.h>
#include "source.h"
#include <vector>
/*
* The Context class places Listener and Source objects within the given 3D space room
* and mixes au... |
//
// AccelerometerActions.h
// AccelActions
//
// Created by Antonio Cabezuelo Vivo on 23/11/08.
// Copyright 2008 Taps and Swipes. All rights reserved.
//
#import <UIKit/UIKit.h>
@class AccelerometerActionsValue;
// Types of accions tha the library wil send to the delegate
typedef enum {
AccelerometerActionMo... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSDictionary, NSString;
@protocol EnterpriseSearchDataControllerDelegate <NSObject>
@optional
- (_Bool)shouldProcessRemoteSearchResp:(NSString *)arg1 ... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __cplusplus
# error This he... |
//
// DConnectSDK.h
// DConnectSDK
//
// Copyright (c) 2014 NTT DOCOMO,INC.
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
//
/*!
@file
@brief Device Connect SDK for iOS "umbrella" ヘッダ
@author NTT DOCOMO
*/
/*!
@mainpage
<p>
Device Connect SDK for iOS は Device Connec... |
//
// Copyright Renga Software LLC, 2016. All rights reserved.
//
// Renga Software LLC PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
// Renga Software LLC DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
// UNINTERRUPTED OR ERROR FREE.
//
#pragma once
#include <QtCore/QObject>
#include <Renga... |
#pragma once
namespace Rumia
{
template <typename Ty, typename... Rest>
class Tuple : public Tuple<Rest...>
{
public:
template <typename _Ty>
Tuple( _Ty&& data, Rest... rest ) :
Tuple<Rest...>( rest... ),
m_data( std::forward<_Ty>( data ) )
{
}
... |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2014-2017 Luis B. Barrancos, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person ... |
/*
Dwarf Therapist
Copyright (c) 2009 Trey Stout (chmod)
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, m... |
//
// sdmTableViewDataSource.h
// CatFever
//
// Created by Peter JC Spencer on 19/05/2015.
// Copyright (c) 2015 Spencer's digital media. All rights reserved.
//
#import "sdmDataSource.h"
@interface sdmTableViewDataSource : sdmDataSource <UITableViewDataSource, UITableViewDelegate>
// Property(s).
@property(no... |
//
// ViewController.h
// KRGpsTracker V1.4
//
// Created by Kalvar on 13/6/23.
// Copyright (c) 2013 - 2015年 Kuo-Ming Lin. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "KRGpsTracker.h"
@interface ViewController : UIViewController
{
}
@property (nonatomic, weak) IBOutlet MKMapView *outMapView... |
@interface _MSRulerData : MSModelObject
{
long long _base; // 8 = 0x8
MSArray *_guides; // 16 = 0x10
}
@property(copy, nonatomic) MSArray *guides; // @synthesize guides=_guides;
@property(nonatomic) long long base; // @synthesize base=_base;
- (void).cxx_destruct;
- (BOOL)isEqualForSync:(id)arg1;
- (void)syncProperties... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.