text
stringlengths
4
6.14k
/* * Copyright (C) 2007 Michael Brown <mbrown@fensystems.co.uk>. * * 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 any later version. * * This progr...
#ifndef _NETNS_NFTABLES_H_ #define _NETNS_NFTABLES_H_ #include <linux/list.h> struct nft_af_info; struct netns_nftables { struct list_head af_info; struct list_head commit_list; struct nft_af_info *ipv4; struct nft_af_info *ipv6; struct nft_af_info *arp; struct nft_af_info *bridge; u8 gencursor; u8 genct...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_STRINGS_STRING_SPLIT_H_ #define BASE_STRINGS_STRING_SPLIT_H_ #include <string> #include <utility> #include <vector> #include "base/base...
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** License...
/* SPDX-License-Identifier: MIT */ #ifndef __NVKM_CLK_H__ #define __NVKM_CLK_H__ #include <core/subdev.h> #include <core/notify.h> #include <subdev/pci.h> struct nvbios_pll; struct nvkm_pll_vals; #define NVKM_CLK_CSTATE_DEFAULT -1 /* POSTed default */ #define NVKM_CLK_CSTATE_BASE -2 /* pstate base */ #define NVKM_C...
/** \page doc_gc Garbage collection Though AngelScript uses reference counting for memory management, there is still need for a garbage collector to take care of the few cases where circular referencing between objects prevents the reference counter from reaching zero. As the application wants to guarantee responsiv...
// SPDX-License-Identifier: GPL-2.0+ // // Synopsys CREG (Control REGisters) GPIO driver // // Copyright (C) 2018 Synopsys // Author: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> #include <linux/gpio/driver.h> #include <linux/io.h> #include <linux/of.h> #include <linux/of_platform.h> #define MAX_GPIO 32 struct cre...
/* Copyright (c) 2013, 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...
/* An instruction which should crash any program is an unimp. */ #define ABORT_INSTRUCTION asm ("unimp 0xf00")
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************** * * Copyright(c) 2007 - 2016 Realtek Corporation. * * Contact Information: * wlanfae <wlanfae@realtek.com> * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, * Hsinchu 300,...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2012 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. ...
/****************************************************************************** * FREXXWARE * ---------------------------------------------------------------------------- * * Project: Frexx C Preprocessor * $Source: /home/user/start/cpp/RCS/FPP_protos.h,v $ * $Revision: 1.3 $ * $Dat...
/* * mach/sram.h - DaVinci simple SRAM allocator * * Copyright (C) 2009 David Brownell * * 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 __MACH_SRAM_H #define __MACH...
/* arch/arm/mach-msm/htc_bluetooth.c * * Code to extract Bluetooth bd_address information * from ATAG set up by the bootloader. * * Copyright (C) 2010 HTC Corporation * Author:Yomin Lin <yomin_lin@htc.com> * Author:Allen Ou <allen_ou@htc.com> * */ #include <linux/kernel.h> #include <linux/init.h> #include <li...
// 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...
#include <linux/string.h> #include <asm/io.h> #include <linux/module.h> void __memcpy_toio(unsigned long dst,const void*src,unsigned len) { __inline_memcpy((void *) dst,src,len); } EXPORT_SYMBOL(__memcpy_toio); void __memcpy_fromio(void *dst,unsigned long src,unsigned len) { __inline_memcpy(dst,(const void *) src,l...
/* { dg-do compile { target { ! { ia32 } } } } */ /* { dg-options "-O -fno-math-errno" } */ typedef double __m128d __attribute__((vector_size(16))); __m128d vsqrt1 (__m128d const x) { double const* __restrict__ const y = (double const*)&x; double const a = __builtin_sqrt(y[0]); double const b = __builtin_sqrt(y[...
/* Copyright (c) 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 the hope...
/* * 802.1Q VLAN protocol definitions * * $Copyright Open Broadcom Corporation$ * * $Id: vlan.h 382883 2013-02-04 23:26:09Z $ */ #ifndef _vlan_h_ #define _vlan_h_ #ifndef _TYPEDEFS_H_ #include <typedefs.h> #endif #include <packed_section_start.h> #ifndef VLAN_VID_MASK #define VLAN_VID_MASK 0xfff #endif #...
/* * Device driver for Hi6421 IC * * Copyright (c) <2011-2014> HiSilicon Technologies Co., Ltd. * http://www.hisilicon.com * Copyright (c) <2013-2014> Linaro Ltd. * http://www.linaro.org * * Author: Guodong Xu <guodong.xu@linaro.org> * * This program is free software; you can redistr...
/* * Hisilicon Hi6220 ION Driver * * Copyright (c) 2015 Hisilicon Limited. * * Author: Chen Feng <puck.chen@hisilicon.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 Foundation. *...
/* * linux/arch/arm/mach-s3c64xx/mach-smartq5.c * * Copyright (C) 2010 Maurus Cuelenaere * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #include <linux/fb.h> #include...
#ifndef _LINUX_MAJOR_H #define _LINUX_MAJOR_H /* * This file has definitions for major device numbers. * For the device number assignments, see Documentation/admin-guide/devices.rst. */ #define UNNAMED_MAJOR 0 #define MEM_MAJOR 1 #define RAMDISK_MAJOR 1 #define FLOPPY_MAJOR 2 #define PTY_MASTER_MAJOR 2 #define...
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __java_util_zip_DeflaterOutputStream__ #define __java_util_zip_DeflaterOutputStream__ #pragma interface #include <java/io/FilterOutputStream.h> #include <gcj/array.h> class java::util::zip::DeflaterOutputStream : public ::java::io::FilterOutpu...
/****************************************************************************** * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR ...
/* * Copyright (C) 1999-2011, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License version 2 (the "GPL"), * available at http://www.broa...
/* * include/media/smiapp/smiapp-regs.h * * Generic driver for SMIA/SMIA++ compliant camera modules * * Copyright (C) 2011--2012 Nokia Corporation * Contact: Sakari Ailus <sakari.ailus@iki.fi> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publi...
/* * Copyright (c) 2015, Christoph Hellwig. * Copyright (c) 2015, Intel Corporation. */ #include <linux/platform_device.h> #include <linux/memory_hotplug.h> #include <linux/libnvdimm.h> #include <linux/module.h> static const struct attribute_group *e820_pmem_attribute_groups[] = { &nvdimm_bus_attribute_group, NUL...
/* * arch/arm/mach-w90x900/include/mach/regs-serial.h * * Copyright (c) 2008 Nuvoton technology corporation * All rights reserved. * * Wan ZongShun <mcuos.com@gmail.com> * * Based on arch/arm/mach-s3c2410/include/mach/regs-serial.h * * This program is free software; you can redistribute it and/or modify * it...
/* Test further cases of warnings for comma expressions, with and without casts to void. */ /* Origin: Joseph Myers <joseph@codesourcery.com> */ /* { dg-do compile } */ /* { dg-options "-Wall" } */ int a, b, c, d; int e(void) { return (char)a, b; } /* { dg-warning "left-hand operand of comma expression has no effec...
/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* Copyright 2018-2019 Qiang Yu <yuq825@gmail.com> */ #ifndef __LIMA_DLBU_H__ #define __LIMA_DLBU_H__ struct lima_ip; struct lima_device; void lima_dlbu_enable(struct lima_device *dev, int num_pp); void lima_dlbu_disable(struct lima_device *dev); void lima_dlbu_set_reg(...
// // GADInAppPurchase.h // Google Mobile Ads SDK // // Copyright 2013 Google Inc. All rights reserved. // #import <Foundation/Foundation.h> #import "GADModules.h" /// Enum of the different statuses resulting from processing a purchase. typedef NS_ENUM(NSInteger, GADInAppPurchaseStatus) { kGADInAppPurchaseStatu...
/* * lwtunnel Infrastructure for light weight tunnels like mpls * * Authors: Roopa Prabhu, <roopa@cumulusnetworks.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 ...
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NVBIOS_NPDE_H__ #define __NVBIOS_NPDE_H__ struct nvbios_npdeT { u32 image_size; bool last; }; u32 nvbios_npdeTe(struct nvkm_bios *, u32); u32 nvbios_npdeTp(struct nvkm_bios *, u32, struct nvbios_npdeT *); #endif
#ifndef _POWERNV_H #define _POWERNV_H #ifdef CONFIG_SMP extern void pnv_smp_init(void); #else static inline void pnv_smp_init(void) { } #endif struct pci_dev; #ifdef CONFIG_PCI extern void pnv_pci_init(void); extern void pnv_pci_shutdown(void); extern int pnv_pci_dma_set_mask(struct pci_dev *pdev, u64 dma_mask); ext...
/* arch/arm/plat-s3c64xx/irq.c * * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * http://armlinux.simtec.co.uk/ * * S3C64XX - Interrupt handling * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
/* MN10300 Virtual kernel memory mappings for high memory * * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * - Derived from include/asm-i386/highmem.h * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU...
// SPDX-License-Identifier: GPL-2.0 /* * Memory preserving reboot related code. * * Created by: Hariprasad Nellitheertha (hari@in.ibm.com) * Copyright (C) IBM Corporation, 2004. All rights reserved */ #include <linux/errno.h> #include <linux/crash_dump.h> #include <linux/uaccess.h> #include <linux/io.h> #include ...
/************************************************************************** * * Copyright 2006 Tungsten Graphics, Inc., Bismack, ND. USA. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"...
/* $OpenBSD: gscpm.c,v 1.9 2012/08/16 18:42:04 tedu Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> * * 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 permission not...
/* * Copyright (c) 2015, Rémi Bazin <bazin.remi@gmail.com> * All rights reserved. * See LICENSE for licensing details. * * Source inspired by the qt-fuse example by qknight (https://github.com/qknight/qt-fuse-example) */ #ifndef __QDAEMON_H__ #define __QDAEMON_H__ #include <QSocketNotifier> class QDaemon : pub...
/* $OpenBSD: cache_sh4.h,v 1.3 2010/01/01 13:18:37 miod Exp $ */ /* $NetBSD: cache_sh4.h,v 1.11 2006/03/04 01:55:03 uwe Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by UCHIYAMA Yasushi. * * Redi...
//////////////////////////////////////////////////////////////////////////////// // SgCamera.h #pragma once #include "BtTypes.h" #include "MtVector3.h" // Class Declaration class SgCamera { public: // Accessors virtual BtFloat FarPlane() const = 0; virtual BtFloat NearPlane() const = 0; virtual BtFloat FieldOf...
/******************************************************************************* * File Name: servo_control.c * * Description: generate required PWM signals to control the turning servo * * History: * Author Date Description * ----------------------------------------------------...
// // Uuid.h // // Copyright (c) 2013-2017 Tomas Palazuelos // // Distributed under the MIT Software License. (See accompanying file LICENSE.md) // #ifndef UUID_H #define UUID_H #include <orion/Config.h> #include <memory> #include <string> namespace orion { /// Universally Unique Identifier (uuid). /// An uuid provi...
/* ** Copyright 2014-2015 Robert Fratto. See the LICENSE.txt file at the top-level ** directory of this distribution. ** ** Licensed under the MIT license <http://opensource.org/licenses/MIT>. This file ** may not be copied, modified, or distributed except according to those terms. */ #ifndef __ORANGE_TEST_H__ #defi...
// ====================================================================== /*! * \brief Selection utilities */ // ---------------------------------------------------------------------- #include "AttributeSelection.h" #include <boost/optional.hpp> #include <vector> namespace SmartMet { namespace Plugin { namespace Da...
#include "dynamicArray.h" #include <stdio.h> #include <time.h> #include <stdlib.h> /* VISUAL STUDIO (VS) USERS: COMMENT OUT THE LINE BELOW TO EXCLUDE THE MEMORY TEST CODE. */ #define MEMORY_TEST_INCLUDED #ifdef MEMORY_TEST_INCLUDED /* This header is needed for memory usage calculation. */ #include <sys/resource.h>...
// // ZSUtils.h // ZSPhotoBrowser // // Created by zuoshen on 2017/8/14. // Copyright © 2017年 zuoshen. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface ZSUtils : NSObject +(UIViewController *)getCurrentVC; @end
#pragma once #include "common.h" SQInteger gla_mod_util_date_augment( HSQUIRRELVM vm);
// // HeroDefaultAnimator.h // Hero-ObjectiveC // // Created by luca.li on 2017/1/24. // Copyright © 2017年 luca. All rights reserved. // #import <UIKit/UIKit.h> #import "HeroContext.h" #import "Hero.h" @interface HeroDefaultAnimator : NSObject <HeroAnimator> @property (nonatomic, strong, readonly) HeroContext *c...
#import <UIKit/UIKit.h> /// iupCocoaTouch version of iOS indeterminate progressView. @interface ICT_IndeterminateProgressView : UIView @property(nonatomic, strong, nullable) UIColor* progressTintColor; @property(nonatomic, strong, nullable) UIColor* trackTintColor; @property(nonatomic, getter=isAnimating) BOOL animati...
#ifndef __My__TextBox__ #define __My__TextBox__ #include "ui/UIWidget.h" #include "cocos2d.h" #include <string> class TextBox : public cocos2d::Sprite { public: TextBox(); static TextBox *create(const std::string &bg); bool addText(const std::string &txt); bool setText(const std::string &txt); v...
// This file is part of HOGclassifier. // HOGclassifier 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, or // (at your option) any later version. // HOGclassifier is distri...
#ifndef CVSTEREOGCSTATE_NAME #include "opencv2/opencv.hpp" #include "opencv2/legacy/legacy.hpp" #include "luacvaux.h" #include "CvMat.h" #define CVSTEREOGCSTATE_NAME "CvStereoGCState" #define checkCvStereoGCState(L,i) luacv_checkObject<CvStereoGCState>(L,i,CVSTEREOGCSTATE_NAME) #define pushCvStereoGCState(L,data) lua...
#ifndef TESTTESTSPARSEPCA_H #define TESTTESTSPARSEPCA_H #include "ForDebug.h" #include <iostream> #include "randgen.h" #include "Manifold.h" #include "Problem.h" #include "SolversLS.h" #include <ctime> #include "EucVariable.h" #include "EucVector.h" #include "EucFrechetMean.h" #include "EucQuadratic.h...
/* ** Copyright (c) 2014-2016 uboss.org All rights Reserved. ** uBoss - A lightweight micro service framework ** ** uBoss Lua Profile Library ** ** Dali Wang<dali@uboss.org> ** See Copyright Notice in uboss.h */ #include <stdio.h> #include <lua.h> #include <lauxlib.h> #include <time.h> #if defined(__APPLE__) #includ...
#pragma once #include "CoreMinimal.h" #include "Kismet/BlueprintFunctionLibrary.h" #include "GameFramework/Actor.h" #include "Templates/SubclassOf.h" #include "RTSCollisionLibrary.generated.h" class UObject; class UShapeComponent; /** * Utility functions for calculating actor collisions. */ UCLASS() class REALT...
static Scalar powu_(Scalar x, unsigned i) { Scalar y = 1; for (; i; i >>= 1) { if (i & 1) y *= x; x *= x; } return y; } static Scalar powi_(Scalar x, int i) { if (i < 0) return powu_(1 / x, -i); return powu_(x, i); }
// // CommonCrypto-Bridging-Header.h // two-half-password // // Created by Xinhong LIU on 13/6/15. // Copyright © 2015 ParseCool. All rights reserved. // #ifndef Bridging_Header_h #define Bridging_Header_h #import <CommonCrypto/CommonCrypto.h> #import "MBProgressHUD.h" #endif /* Bridging_Header_h */
// // ViewController.h // XTAlertDemo // // Created by Mac on 16/9/3. // Copyright © 2016年 夏天然后. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
#if !defined(__util_h__) #define __util_h__ #include <stdint.h> #if defined(_MEMPROF_DEBUG) #include <stdio.h> #define dbg_printf(...) do {\ fprintf(stderr, "%s:%d ", __FILE__, __LINE__);\ fprintf(stderr, __VA_ARGS__);\ } while (0) #else #define dbg_printf(...) #endif #define ASSERT_ON_COMPILE(pred) \ s...
#ifndef LANGUAGETEXTS_H #define LANGUAGETEXTS_H #include "webframework-qt_global.h" #include <Document.h> namespace web { namespace internationalisation { class LanguageTextsPrivate; class WEBFRAMEWORKQTSHARED_EXPORT LanguageTexts { public: LanguageTexts(arangodb::Document *doc); ~LanguageTexts(...
/* * Copyright (c) 2015 Kaprica Security, Inc. * * 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, mer...
/* * NPPGeoserver.h * Copyright (c) 2011-2015 db-in. More information at: http://db-in.com/nippur * * 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...
// Copyright 2017 ibelie, Chen Jie, Joungtao. All rights reserved. // Use of this source code is governed by The MIT License // that can be found in the LICENSE file. #include "Python.h" #include "typy.h" extern void init_typyd(void); int main() { Py_SetProgramName("testTypy"); Py_Initialize(); init_typyd(); PyR...
// // ViewController.h // ZQLoopScrollView // // Created by 庄琦 on 16/2/18. // Copyright © 2016年 Seven. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double Pods_ZLSwipeableViewSwiftDemoTestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_ZLSwipeableViewSwiftDemoTestsVersionString[];
// // Copyright (c) 2015 Datasnapio. All rights reserved. // #import <Foundation/Foundation.h> // Apple #import <CoreLocation/CoreLocation.h> @interface DSIOLocationMgr : NSObject <CLLocationManagerDelegate> /** * Set the accuracy of the location manager. */ - (void)setLocationAccuracyBestDistanceFilterNone; - (N...
// // VCRCassetteTests.h // // Copyright (c) 2012 Dustin Barker // // 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, c...
//////////////////////////////////////////////////////////////////////////////// // GUIButton.h // Furiosity // // Created by Bojan Endrovski on 9/27/13. // Copyright (c) 2013 Bojan Endrovski. All rights reserved. //////////////////////////////////////////////////////////////////////////////// #pragma once #inclu...
// -*- C++ -*- //---------------------------------------------------------------------- // // William S. Klug // University of California Los Angeles // (C) 2009 All Rights Reserved // //---------------------------------------------------------------------- #if...
#ifndef ossimKwlNodeFormatter_HEADER #define ossimKwlNodeFormatter_HEADER #include <ossim/base/KwlNode.h> namespace ossim { class KwlNodeFormatter { public: class FormatHints { public: enum FormatFlags { FORMAT_HINTS_NO_OPTION_FLAGS = 0, FORMAT_HINTS...
#pragma once #include "util/url.h" #include <atomic> #include <functional> #include <mutex> #include <string> #include <unordered_map> #include <vector> namespace Tangram { // Handle for URL requests. // This is the handle which Platform uses to identify an UrlRequest. using UrlRequestHandle = uint64_t; // Result ...
/////////////////////////////////////////////////////////////////////////////// // // This file is a part of the PadallelFDTD Finite-Difference Time-Domain // simulation library. It is released under the MIT License. You should have // received a copy of the MIT License along with ParallelFDTD. If not, see // http://...
// // C1SCMainViewController.h // ChallengeRSS_SoniaCasas // // Created by Sonia Casas on 18/4/15. // Copyright (c) 2015 Sonia Casas. All rights reserved. // #import <UIKit/UIKit.h> @interface C1SCMainViewController : UITableViewController <NSXMLParserDelegate> @end
/* * Copyright (c) 2015 Kaprica Security, Inc. * * 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, mer...
/****************************************************************************** * tick/tick_atmega328p.c * * ====================== * * ...
/* A Bison parser, made by GNU Bison 2.4.1. */ /* Skeleton interface for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the term...
// // The MIT License (MIT) // // Copyright (c) 2015 Joe Lagomarsino // // 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...
#pragma once #include "ofMain.h" #include "Particle.h" class ofApp: public ofBaseApp { public: void setup() override; void update() override; void draw() override; Particle p; };
#pragma once #include "OperatorViewBuilder.h" namespace operator_view { namespace opengl { class Builder : public operator_view::Builder { public: Builder(std::shared_ptr<IMediator> mediator); }; } }
// // 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" #import "WCDBCoding.h" @class NSString; @interface DBEmoticonUpload : NSObject <WCDBCoding> { unsigned int type; unsigned int createTime; unsigne...
// // GDDownloaderManager.h // 01-下载管理器 // // Created by apple on 15/1/20. // Copyright (c) 2015年 zhouguodong. All rights reserved. // // 负责管理所有的下载任务 - 单例 // #import <Foundation/Foundation.h> @interface GDDownloaderManager : NSObject + (instancetype)sharedDownloaderManager; /** * 下载指定的 URL * * block - 可以当...
#include <string.h> #ifndef CONFIGURATION_H #define CONFIGURATION_H #include "configuration.h" #endif /* sick makro shit ;-) */ #define bootLogger(loglevel, format, args...) \ bootLoggerLog(loglevel,"%s::%s(%d)>" format, __FILE__, \ __func__, __LINE__, ##args ) void openBootLog(Settings * settings); void b...
#pragma once #include <ostream> #include <utility> namespace simply { namespace clr { namespace metadata { using namespace std::rel_ops; class version { public: inline version(unsigned short major, unsigned short minor, unsigned short build, unsigned short revision) ...
// #include "i2c.h" #include "bitlit.h" #include "typedefs.h" #define PCF8583_ADDRESS 0x51 // PCF8563 device address (8 bit) #define I2C_BUSS "/dev/i2c-1" // i2c buss that the WaveShare Cape uses for the PCF8563 #define PCF8563_REGS 0x0f // numer of registers on the PCF8563 // control registers ...
#include "peons/sensors.h" #include "driver/dht.h" #include "board/cfg.h" #include "peons/log.h" #include "kernel/peons.h" #include "platform/clock.h" #include "platform/timer.h" #define SENSOR_MAX_FAILURES 10 #define DEFAULT_SENSOR_PERIOD 2 #define SENSOR_NAME_DHT "dht" /** * DHT sensor configuration */ static c...
#import <UIKit/UIKit.h> #import <QuartzCore/QuartzCore.h> #import "DCTransitionView.h" @interface DCPushTransitionView : DCTransitionView @end
#pragma once class RegistryUtilities { public: RegistryUtilities(); ~RegistryUtilities(); bool changeAllFeatures(DWORD value); bool lockStatus(); bool keepAppsStatus(); private: bool changeSingleFeature(HKEY regKey, LPCWSTR subKey, DWORD value, LPCWSTR valueName); };
// Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // // $Id:$ // // Copyright (C) 1993-1996 by id Software, Inc. // // This source is available for distribution and/or modification // only under the terms of the DOOM Source Code License as // publis...
// // TESTFFFFFF.h // TESTFFFFFF // // Created by Alex Padalko on 4/17/17. // Copyright © 2017 Alex Padalko. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for TESTFFFFFF. FOUNDATION_EXPORT double TESTFFFFFFVersionNumber; //! Project version string for TESTFFFFFF. FOUNDATION_EXPORT co...
#pragma once #include "CoreMinimal.h" #include "UI/RTSActorWidgetComponent.h" #include "RTSProductionProgressBarWidgetComponent.generated.h" /** * Adds a production progress bar widget to the actor. */ UCLASS(Blueprintable) class REALTIMESTRATEGY_API URTSProductionProgressBarWidgetComponent : public URTSActorWidge...
/* -*- Mode: C++; indent-tabs-mode: nil -*- */ #ifndef SCHWA_DR_EXCEPTION_H_ #define SCHWA_DR_EXCEPTION_H_ #include <string> #include <schwa/_base.h> #include <schwa/exception.h> namespace schwa { namespace dr { class ReaderException : public Exception { public: ReaderException(const std::string &ms...
#pragma once #include "nethandlers.h" namespace NetMsg { struct SVC_SetView { uint16_t entIndex; }; } DECLARE_NET_HANDLERS(SVC_SetView);
// // CRNotificationView.h // 和路通 // // Created by roger wu on 01/08/2018. // Copyright © 2018 asiainfo. All rights reserved. // #import <UIKit/UIKit.h> typedef void(^LTNotificationViewComplete)(void); @interface CRNotificationView : UIWindow + (instancetype)sharedInstance; /** 显示弹窗 @param title 标题 @param ...
#include "supergud.h" #include <stdio.h> int main(int argc, char * argv[]) { if (argc == 2) { printf("%s -> %s\n", argv[1], supergud_hash(argv[1], "I_BET_THE_JEWS_DID_THIS")); } }
/* * Listener.h * * Created on: Jan 17, 2014 * Author: lukas */ #ifndef LISTENER_H_ #define LISTENER_H_ /** * On value changed listener */ #include "ControlPort.h" template<typename V = float, typename P = ControlPortPtr> class OnValueChange: public ICallbackFunctor { private: V& m_pValueRef; ...
/* FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd. FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...