text
stringlengths
4
6.14k
///////////////////////////////////////////////////////////////////////////// // Name: slider.h // Purpose: wxSlider class // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 // RCS-ID: $Id: slider.h,v 1.9 2005/02/14 22:27:07 RN Exp $ // Copyright: (c) Stefan Csomor // Licence: ...
/***************************************************************************************** * * * owl * * ...
#ifndef STK_DF_INTERNAL_H #define STK_DF_INTERNAL_H /* Helpful socket defs */ #define set_sock_buf_nice(_socket, _level, _option_name, _bufsize, _port, _env) do { \ int _rc, _buf = _bufsize; \ while(_buf > 65536) { ...
// Memory layout #define EXTMEM 0x8000 // Start of extended memory(REAL) #define PHYSTOP 0x2000000 // Top physical memory (512MB) #define DEVSPACE 0xFE000000 // Other devices are at high addresses // MMI/O layout (GPI/O and UART) #ifdef QEMU #define GPIO_BASE_P 0x101e4000 #define UART0_...
/* * Copyright 2017 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 contributing ...
/////////////////////////////////////////////////////////////////////////////// // Name: wx/mgl/popupwin.h // Purpose: wxPopupWindow class for wxMGL // Author: Vadim Zeitlin // Created: 06.01.01 // RCS-ID: $Id: popupwin.h,v 1.7 2004/05/23 20:51:18 JS Exp $ // Copyright: (c) 2001-2002 SciTech ...
// // OKUtils_NSBundle.h // OKUtils // // Created by MAC on 2017/8/24. // Copyright © 2017年 HERB. All rights reserved. // #import <Foundation/Foundation.h> /// 获取当前语言 FOUNDATION_EXTERN NSString *OKCurrentLanguage(void); /// 获取APP名称 FOUNDATION_EXTERN NSString *OKAPP_NAME(void); /// 获取APP版本 FOUNDATION_EXTERN NSStri...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSData.h" // Not exported @interface NSConcreteData : NSData { unsigned int _isInline:1; unsigned int _retainCount:31; unsigned long long _length; unsig...
/* Copyright (c) 2007 Duncan Sharpe, Steve Arch ** ** 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...
/* Copyright (c) 2011, Tony Million. 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 and the fol...
#include <stdio.h> int main(int argc, char** argv) { printf("%d", 2) return 0; }
/* vi: set sw=4 ts=4: */ /* * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ #include "libbb.h" /* returns the array index of the string */ /* (index of first match is returned, or -1) */ int index_in_str_array(const char *const string_array[], const char *key) { int i; for (i = ...
#include "lsl_common.h" /* function [CreatedAt] = lsl_get_created_at(LibHandle,StreamInfo) */ void mexFunction( int nlhs, mxArray *plhs[], int nrhs, const mxArray*prhs[] ) { /* handle of the desired field */ mxArray *field; /* temp pointer */ uintptr_t *pTmp; /* function handle */...
// // TVIMediaTrack.h // TwilioVideo // // Copyright © 2016 Twilio Inc. All rights reserved. // /** * `TVITrackState` is an enum defines the possible states of a track. */ typedef NS_ENUM(NSUInteger, TVITrackState) { /** * Track ended. */ TVITrackStateEnded = 0, /** * Track live. ...
#ifndef __ETH_LOW__H__ #define __ETH_LOW__H__ #include "eth_low_cfg.h" void eth_low_deinit (mEth_t *eth); MadBool eth_low_init (mEth_t *eth, const mEth_InitData_t *initData, mEth_Callback_t fn, MadVptr ep); MadBool eth_phy_init (mEth_t *eth); MadBool eth_mac_deinit (mEth_t *eth); MadBool eth_mac_init (m...
/*************************************************************************/ /* image_loader_jpegd.h */ /*************************************************************************/ /* This file is part of: */ /* ...
// // JPSMainViewController.h // remotecam // // Created by JP Simard on 2014-04-10. // Copyright (c) 2014 JP Simard. All rights reserved. // #import <UIKit/UIKit.h> @interface JPSMainViewController : UIViewController @end
#ifndef LIST_H #define LIST_H #include <stdbool.h> struct list_node { void *data; struct list_node *next; struct list_node *prev; }; struct list { unsigned int length; struct list_node *head; struct list_node *tail; }; struct list_iter { const struct list *list; struct list_node *current; }; extern void li...
// // AppDelegate.h // ZJ 线程之间的通信 // // Created by base on 15/09/19. // Copyright © 2015年 base. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
// // PXLWheelBarController.h // PXLWheelBar // // Created by Fabio Cerdeiral on 12/01/12. // Copyright (c) 2012 pixel4. All rights reserved. // #import <UIKit/UIKit.h> #import "PXLWheelBar.h" @protocol PXLWheelBarControllerDelegate; @interface PXLWheelBarController : UIViewController <PXLWheelBarDelegate> { @pa...
#ifndef JANSSON_EXTENSION_UGLY_H #define JANSSON_EXTENSION_UGLY_H #include <jansson.h> #ifdef __cplusplus extern "C" { #endif /* Create a default object of the given json_type with a typical neutral value. @param type JSON type to create an object for. @returns Returns an object of the given type. */ json_t *json_o...
#ifndef MAXHOSTNAMELEN #define MAXHOSTNAMELEN 64 #endif /* rfc1716 */ #ifndef ICMP_UNREACH_FILTER_PROHIB #define ICMP_UNREACH_FILTER_PROHIB 13 /* admin prohibited filter */ #endif #ifndef ICMP_UNREACH_HOST_PRECEDENCE #define ICMP_UNREACH_HOST_PRECEDENCE 14 /* host precedence violation */ #endif #ifndef ICMP_UNREACH_PR...
#include "queue.h" #include<stdlib.h> #include<stdio.h> struct print_queue *head=NULL, *tail=NULL; int size=-1; void add(struct comando cmd){ //printf("%s %s\n", cmd.key, cmd.value); if(!tail){ tail = (struct print_queue*)malloc(sizeof(struct print_queue)); tail->cmd = (struct comando*)malloc(sizeof(cmd)); ...
/** * \file * The default implementation of bcp_queue (see \ref bcp_queue.h). This * implementation uses linked list DS to store data packets. * \author * Yad Tahir <yst11 at imperial.ac.uk> */ #include "bcp_queue.h" #include "bcp.h" #define DEBUG 0 #if DEBUG #include <stdio.h> #define P...
// // GSCollectionViewItemModel.h // GSKitDemo // // Created by OSU on 16/7/28. // Copyright © 2016年 GarryLance. All rights reserved. // #import "GSModelBase.h" @interface GSCollectionViewItemModel : GSModelBase @property (copy, nonatomic) NSString * placeholderImageName; @property (copy, nonatomic) NSString * i...
#ifndef __EDITOR_H__ #define __EDITOR_H__ #include "Module.h" #include "Skybox.h" #include "MathGeoLib\include\MathGeoLib.h" #include "ImGuizmo\ImGuizmo.h" #include "imgui/imgui.h" #include "WarningWindow.h" // Needed here because of WarningType #include <list> #include <vector> class GameObject; class FPSGraph;...
/**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ | | ...
// RUN: %ocheck 0 %s f_calls; f() { f_calls++; return 7; } struct A { int i, j, k; }; check(const struct A *p, int a, int b, int c) { if(p->i != a || p->j != b || p->k != c) abort(); } main() { struct A x[] = { { 1, 2, 3 }, { 1, 2, 3 }, [2 ... 5] = { f(), 5, 6 } }; if(f_calls != 1) abort(); chec...
// // BuffListViewController.h // BuffDemo // // Created by BoWang(r4l.xyz) on 16/5/5. // Copyright © 2016年 BoWang(r4l.xyz). All rights reserved. // #import <UIKit/UIKit.h> @interface BuffListViewController : UIViewController<UITableViewDelegate,UITableViewDataSource> { } @property (nonatomic,strong) UITableVi...
#import "MOBProjection.h" @interface MOBProjectionEPSG32127 : MOBProjection @end
// // TweetViewController.h // NicoTwi // // Created by Pontago on 2013/05/14. // Copyright (c) 2013年 Pontago. All rights reserved. // #import <UIKit/UIKit.h> @interface TweetViewController : UITableViewController @property (strong, nonatomic) NSNumber *videoId; @end
#ifndef UTILS_H #define UTILS_H /* File: utils.h Description: Various system-level utility functions. Created: May 6, 2017 Author: Matt Mumau */ #ifndef UTILS_DATETIME_MAXLEN #define UTILS_DATETIME_MAXLEN 23 #endif /* Copies a properly formatted time string into the provided string. */ v...
// // ScrollViewAutolayout.h // test app // // Created by Canopus 4 on 01/05/14. // Copyright (c) 2014 Iftekhar. All rights reserved. // #import <UIKit/UIKit.h> @interface ScrollViewAutolayout : UIScrollView @property(nonatomic, strong) IBOutlet UIView *contentView; @property(nonatomic, assign) CGSize scrollCon...
/* * Copyright (c) 2015-2015 Texas Instruments Incorporated * * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software ...
/* * Copyright (c) 2018-2019 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2016-2018 The PIVX developers // Copyright (c) 2018 The Ion Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license...
//=============================================================================== // // Copyright(c) 2015 Advanced Micro Devices, Inc.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"), to deal // ...
/* * Copyright (c) 2016 Renat R. Dusaev <crank@qcrypt.org> * Author: Renat R. Dusaev <crank@qcrypt.org> * * 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...
// // RGViewController.h // RGToastSample // // Copyright (c) 2013 Ryan Grier (http://www.ryangrier.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...
// // AppDelegate.h // Example // // Created by Seven on 15-2-10. // Copyright (c) 2015年 Allgateways. All rights reserved. // #import <UIKit/UIKit.h> #import <CoreData/CoreData.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property (readonly, st...
// // DAVSession.h // DAVKit // // Copyright Matt Rajca 2010. All rights reserved. // @class DAVBaseRequest; @protocol DAVSessionDelegate; /* All paths are relative to the root of the server */ @interface DAVSession : NSObject { @private NSURL *_rootURL; BOOL _allowUntrustedCertificate; BOOL _send100Cont...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2016 Damien P. George * * 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 ...
#include "unity.h" #include "mock_mapping.h" #include "../partition.h" void setUp(void) { mock_setUp(); } void tearDown(void) { mock_tearDown(); } #define ASSERT_RW(RET, MEM, ADDR, PTR, BYTES) \ TEST_ASSERT_EQUAL_INT(STATUS_OK, RET); \ TEST_ASSERT_EQUAL_PTR(&MEM, used_mem); \ TEST_ASSERT_EQUAL_UINT32(ADDR, used...
#include "touchmon.h" /* server thread to serve requests comming from socket */ void *server_thread(void *ptr) { int srv_socket_fd, con_socket_fd; struct sockaddr_un srv_sock_addr; fd_set fdset; struct timeval timeout; struct req_message request; struct rep_message reply; if((srv_socket_fd = s...
// // ScottAlertViewController.h // QQLive // // Created by Scott_Mr on 2016/12/1. // Copyright © 2016年 Scott. All rights reserved. // #import <UIKit/UIKit.h> #import "ScottAlertView.h" NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, ScottAlertTransitionStyle) { // 动画类型 ScottAlertTransitionStyleFade = 0,...
#pragma once #include "window.h" class DialogWindow : public Window { public: void setup() override; void registerWidgets() override; void nextTurn() override; void destroy() override; };
#pragma once #if ENABLE_THREADING # if USE_CUSTOM_THREADLOCAL # include "global.h" # include "threadstorage.h" # define THREADLOCAL(T) ::Engine::Threading::Global<T, ::Engine::Threading::ThreadStorage> # else # include "Generic/proxy.h" # define THREADLOCAL(T) thread_local ::...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import <SpriteKit/SKFieldNode.h> @interface SKLinearGravityFieldNode : SKFieldNode { } - (void)encodeWithCoder:(id)arg1; - (id)initWithCoder:(id)arg1; - (id)init; - (void)_initia...
/******************************************************************************** * The MIT License (MIT) * * * * Copyright (C) 2016 Alex Nolasco ...
#ifndef OPENTISSUE_UTILITY_GL_GL_DRAW_POINT_H #define OPENTISSUE_UTILITY_GL_GL_DRAW_POINT_H // // OpenTissue Template Library // - A generic toolbox for physics-based modeling and simulation. // Copyright (C) 2008 Department of Computer Science, University of Copenhagen. // // OTTL is licensed under zlib: http://openso...
#pragma once #include "resource.h" #include "Rectangle.h" #include "Color.h" namespace Syntax { namespace Graphics { class PanelPrototype : public Syntax::Graphics::Resource { public: PanelPrototype(const Syntax::Database::IRecord *record); virtual ~PanelPrototype(void); virtual void BuildResour...
// // 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" @interface CDMModelManager : NSObject { } + (id)stringRepresentationOfModelObject:(id)arg1; @end
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin 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 header can only be compiled as C++. #endif #ifnd...
// // AccessoryViewController.h // HomeKitDemo // // Copyright (c) 2014 AT&T. All rights reserved. // #import <UIKit/UIKit.h> #import <HomeKit/HomeKit.h> @interface AccessoryViewController : UITableViewController <UIPickerViewDataSource, UIPickerViewDelegate> @property (nonatomic, strong) HMHome *home; @property ...
%% %% KDE4xHb - Bindings libraries for Harbour/xHarbour and KDE 4 %% %% Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> %% $project=KDE4xHb $module=KDEUI $header $includes $beginSlotsClass $signal=|extenderCreated( QWidget * extender, const QModelIndex & index ) $signal=|extenderDestroy...
#pragma once #include "py_ptr.h" namespace python { template<typename T> struct py_iterator : public details::py_ptrbase<py_iterator<T>> { PYPTR_CONSTRUCTORS(py_iterator) typename details::pyptr_type<T>::type next() { if (ptr == nullptr) { return T(); ...
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QtNetwork> #include <QLabel> #include <QVector> #include <QListWidget> #include <QFile> #include "article.h" #include "login2.h" #include "cookiejar.h" namespace Ui { class MainWindow; } class MainWindow : public QMainWindow ...
//-*-c++-*- #pragma once #include <memory> #include "brightray/browser/browser_main_parts.h" #include "base/threading/thread.h" #include "content/public/browser/browser_main_parts.h" #include "base/memory/ref_counted.h" #include "browser/browser.h" #include "api/api.h" namespace meson { class APIServer; class Brows...
// Copyright (c) 2013-2014 The Gtacoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef GTACOIN_NOUI_H #define GTACOIN_NOUI_H extern void noui_connect(); #endif // GTACOIN_NOUI_H
#import <UIKit/UIKit.h> #import "MBTest.h" FOUNDATION_EXPORT double FWAddVersionNumber; FOUNDATION_EXPORT const unsigned char FWAddVersionString[];
// // MWPhotoBrowser.h // MWPhotoBrowser // // Created by Michael Waterfall on 14/10/2010. // Copyright 2010 d3i. All rights reserved. // #import <UIKit/UIKit.h> #import "MWPhoto.h" #import "MWPhotoProtocol.h" #import "MWCaptionView.h" // Debug Logging #if 0 // Set to 1 to enable debug logging #define MWLog(x, .....
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_snprintf_22a.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE806.label.xml Template File: sources-sink-22a.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Initialize...
#include "lily_api_embed.h" /* This file is to be compiled only by emscripten, and serves as a bridge between the js of a browser and Lily's C code. Since emscripten can't run main() twice, this instead supplies a series of helper functions to be called by the js side. It also has the impl for puts that's ...
#pragma once /* X-macro format: opcode, description, mask. Due to interpreter logic, operands MUST be sorted in "least (stricter) mask first" order. */ #define FOR_OPCODES(DO) \ DO(00E0, L"Clears the screen.", 0x00E0) \ DO(00EE, L"Returns from a subroutine.", 0x00EE) \ DO(0NNN, L"Calls RCA 1802 program ...
#pragma once #include "stdfx.h" #include <map> using namespace std; #include "Entity.h" class CEntityMgr{ public: CEntityMgr(){} CEntityMgr(const CEntityMgr &){} CEntityMgr& operator=(const CEntityMgr&){} ~CEntityMgr(){} public: static CEntityMgr& GetInstance(){ static CEntityMgr inst; return i...
//----------------------------------------------------------------------- // Copyright 2011 Ciaran McHale. // // 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...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSScroller.h" @interface OrganizerScroller : NSScroller { } + (void)initialize; - (BOOL)_needRedrawOnWindowChangedKeyState; - (void)drawKnobSlotInRect:(struct CGRect)a...
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Product and Trade Secret source code contains trade secrets ...
// // YYBBFormNetworkAPIClient.h // YYBBSDK // // Created by Wang_ruzhou on 16/8/18. // Copyright © 2016年 Wang_ruzhou. All rights reserved. // #import <Foundation/Foundation.h> #import "AFNetworking.h" #import "UIActivityIndicatorView+AFNetworking.h" #import "YYBBRequestURL.h" #import "YYBBBaseRequest.h" #import "...
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears i...
// Copyright (c) 2012 Kaue Soares da Silveira // // 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...
// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // Copyright (c) 2012 Fac...
// // UrbanModel.h // caa // // Created by xichao on 16/11/5. // Copyright © 2016年 xichao. All rights reserved. // #import "BaseModel.h" @interface UrbanModel : BaseModel @property(nonatomic,strong)NSString *district; @end
/**************************************************************************************** Copyright (C) 2014 Autodesk, Inc. All rights reserved. Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download, or which otherwise accompanies ...
/* * Semi-accurate physics simulator (SAPS) * * Copyright (C) 2014 Michael Davenport <Davenport.physics@gmail.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 *...
#ifndef _MINMAXHEAP_H_ #define _MINMAXHEAP_H_ #include <stdlib.h> #include <errno.h> #include <string.h> /* * Min-Max Heap Node * type -> Does the node belong to a min level or a max one ? * key -> Priority * dataL -> Points to the data */ typedef struct MMHeapNode_ { enum Type{ MIN, MAX } type; int ...
#pragma once class Cubic { public: static float EaseIn( float t, float b, float c, float d ); static float EaseOut( float t, float b, float c, float d ); static float EaseInOut( float t, float b, float c, float d ); };
#ifndef _BEARERAUTH_H_ #define _BEARERAUTH_H_ #include "Authorization.h" class BearerAuth : public Authorization { public: BearerAuth(const std::string & _data) : data(_data) { } std::string createHeader() const { std::string s = "Bearer "; s += data; return s; } private: std::string data; }; ...
#pragma once #include "stdafxMath.h" #include "StaticMatrix.h" namespace NumericOptimization { namespace Math { namespace LinearAlgebra { // ------------------------------------------------------------------------------------------------------- // Unary Operators // -----------------------------------...
#include "../include/csl.h" void CSL_Class_New ( void ) { byte * name = ( byte* ) DataStack_Pop ( ) ; DataObject_New (CLASS, 0, name, 0, 0, 0, 0, 0, 0, 0, 0, - 1 ) ; } void //Word * CSL_Class_Value_New ( ) { byte * name = ( byte* ) DataStack_Pop ( ) ; Word * word = DataObject_New (OBJECT, 0, name, 0,...
/* _priv/value.h -- This file is part of ooduck * * Copyright (C) 2015 David Delassus <david.jose.delassus@gmail.com> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #ifndef __OODUCK_VALUE_PRIV_H # error "Can't include private sectio...
#ifndef COMMAND__1__H #define COMMAND__1__H #include "AbstractCommand.hpp" class Data1; /** * A concrete Command using Data1 facade (mix of Mediator1 and Mediator2) **/ class Command1 : public AbstractCommandBase<Command1>{ public: explicit Command1(AbstractData *d=0, AbstractCommand * n=0); virtual ~Command1...
/* * 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 DocSetIndexDocument : NSObject { const void *_searchDocument; } + (id)searchDocumentWithScheme:(id)arg1 parent:(id)arg2 name:(id)arg3; + (id...
// // Cart.h // Maishoku // // Created by Jonathan Sweemer on 11/23/11. // Copyright (c) 2011 Dynaptico LLC. All rights reserved. // #import "Item.h" #import "Option.h" #import "Topping.h" #import "Position.h" #import <Foundation/Foundation.h> @interface Cart : NSObject + (void)setInstructions:(NSString *)instru...
#ifndef __SocketSession_H__ #define __SocketSession_H__ #include "dynamicpoolex.h" #include "ifnet.h" #include <set> #include <list> #include <deque> class BinaryDataHeader : public IFxDataHeader { public: BinaryDataHeader(); virtual ~BinaryDataHeader(); virtual unsigned int GetHeaderLength(){ return sizeof(m_da...
#ifndef BFBCOINFIELD_H #define BFBCOINFIELD_H #include <QWidget> QT_BEGIN_NAMESPACE class QDoubleSpinBox; class QValueComboBox; QT_END_NAMESPACE /** Widget for entering bitcoin amounts. */ class BitcoinAmountField: public QWidget { Q_OBJECT Q_PROPERTY(qint64 value READ value WRITE setValue NOTIFY textChang...
// // AppDelegate.h // PaperCitekeyHandler // // Created by Plantagenet on 21/03/13. // Copyright (c) 2013 Plantagenet. All rights reserved. // #import <Cocoa/Cocoa.h> @interface AppDelegate : NSObject <NSApplicationDelegate> @property (assign) IBOutlet NSWindow *window; @end
/* * Copyright (C) 2013-2020 Canonical, Ltd. * * 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 ...
#include <unistd.h> #include <sys/types.h> #include <sys/mman.h> #include <stdio.h> #include <fcntl.h> #include <string.h> #define GPIOBASE 0x80840000 #define PADR 0 #define PADDR (0x10 / sizeof(unsigned int)) #define PHDR (0x40 / sizeof(unsigned int)) #define PHDDR (0x44 / sizeof(unsigned int)) // These delay values...
/** \file ignorecase.c */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "physfs.h" #include "ignorecase.h" /** * Please see ignorecase.h for details. * * License: this code is public domain. I make no warranty that it is useful, * correct, harmless, or environmentally sa...
#include <stdlib.h> #include <inttypes.h> #include <unistd.h> #include <ncurses.h> #include <time.h> #include <string.h> #include "packet.h" #include "list.h" #include "devices.h" #include "colors.h" const char *serialPort = "/dev/ttyUSB0"; static bool running; int init_ncurses(); void close_ncurses(); void update_nc...
/* Kaleidoscope - Firmware for computer input devices * Copyright (C) 2013-2018 Keyboard.io, 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, version 3. * * This program is distrib...
/* * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver...
#ifndef TestState_h__ #define TestState_h__ #include <string> #include "StatefullTcpServer.h" #include "../ClientInfo.h" using namespace std; class TestState { private: string name; public: TestState(); virtual ~TestState(); string getName(); void setName(string name); }; #endif // TestState_h__
/* * board.h * * Created on: Jul 8, 2013 * Author: Administrator */ #ifndef BOARD_H_ #define BOARD_H_ void board_init(void); #endif /* BOARD_H_ */
/* * * Copyright (c) International Business Machines Corp., 2001 * * 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 l...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2014 Simon Stuerz * * This file is part of RobotStation. * * * * RobotSta...
/* { dg-do compile } */ /* { dg-options "-O2 -mbitops" } */ int f (int i) { return i & 0x0ffff000; } /* { dg-final { scan-assembler "movb\.cl" } } */
/* * X.25 Packet Layer release 002 * * This is ALPHA test software. This code may break your machine, * randomly fail to work with new releases, misbehave and/or generally * screw up. It might even work. * * This code REQUIRES 2.1.15 or higher * * This module: * This module is free software; you can redistri...
/* SPDX-License-Identifier: GPL-2.0-only */ #include <console/console.h> #include <device/device.h> #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> #include "i82801dx.h" static void usb_init(struct device *dev) { printk(BIOS_DEBUG, "USB: Setting up controller.. "); pci_or_config16(de...