text
stringlengths
4
6.14k
// // PPOcrResultView.h // PhotoPayFramework // // Created by Jura on 01/02/14. // Copyright (c) 2014 MicroBlink Ltd. All rights reserved. // #import <UIKit/UIKit.h> #import "PPOverlaySubview.h" NS_ASSUME_NONNULL_BEGIN @class PPOcrLayout; /** * Overlay subview presenting status of OCR detection. OCR results a...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2018-2019 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...
#include "tlc_window.h" namespace Centauri { class TLC { public: TLC(); ~TLC(); int test(); void init(); void error(std::string); TLCWindow* createWindow(); }; }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 Steve Nygard. // #import <Foundation/NSDictionary.h> @class NSArray; @interface DVTStablePropertyListDictionary : NSDictionary { NSDictionary *_dictionary; NSArray *_orderedKeys; } - ...
// // AppDelegate.h // RaisedCenterButton // // Created by Johnnie Pittman on 5/13/12. // Copyright (c) 2012 Group 6. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate, UITabBarControllerDelegate> @property (strong, nonatomic) UIWindow *window; @property...
#ifndef _MOSTRONET_H_ #define _MOSTRONET_H_ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <signal.h> #include <arpa/inet.h> #include <time.h> #includ...
// This file was generated based on 'C:\ProgramData\Uno\Packages\Fuse.Animations\0.11.3\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #ifndef __APP_FUSE_ANIMATIONS_CONVERTER__FUSE_ELEMENTS_CACHING_MODE_H__ #define __APP_FUSE_ANIMATIONS_CONVERTER__FUSE_ELEMENTS_CACHING_MODE_H__ #include <ap...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Mupen64plus-rsp-hle - alist_internal.h * * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ * * Copyright (C) 2002 Hacktarux * * ...
#import "GPUImageTwoInputFilter.h" // This is the feature extraction phase of the ColourFAST feature detector, as described in: // // A. Ensor and S. Hall. ColourFAST: GPU-based feature point detection and tracking on mobile devices. 28th International Conference of Image and Vision Computing, New Zealand, 2013, p...
// // TIPImage.h // TriviaOutlineView // // Created by Nur Monson on 1/30/07. // Copyright 2007 theidiotproject. All rights reserved. // #import <Cocoa/Cocoa.h> @interface TIPImage : NSImage { NSString *thePathToFile; } - (NSString *)pathToFile; - (void)setPathToFile:(NSString *)newPathToFile; @end
#include<stdio.h> int search(int v[],int num,int low,int high) { int middle; middle=(low+high)/2; if(low<=high) { if(num==v[middle]) { return middle; } else if(num>v[middle]) { return search(v,num,middle+1,high); } else { return search(v,num,low,middle-1); } } return -1; } int main(void...
#ifndef CLINE_JOIN_TYPE_H #define CLINE_JOIN_TYPE_H enum CLineJoinType { LINE_JOIN_TYPE_NONE = 0, LINE_JOIN_TYPE_MITRE = 1, LINE_JOIN_TYPE_ROUND = 2, LINE_JOIN_TYPE_BEVEL = 3 }; #endif
// // ViewController.h // SimpleWeather // // Created by choushayne on 14/12/31. // Copyright (c) 2014年 ShayneChow. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
// // DSDefinitions.h // sunny // // Created by Draco on 2013-08-20. // Copyright (c) 2013 Draco. All rights reserved. // // Configurations #define kShouldPlayWalkAnimationWhenBlocked YES #define kGameScale 1 #define kChatBoxZIndex 10 #define kChatBoxCursorBlinkFrequency 1 ////// Character Contants ////// #d...
// // MBSetupController.h // SetupController // // Created by Maksim Bauer on 26/04/14. // Copyright (c) 2014 Maksim Bauer. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @protocol MBSetupControllerDataSource; @protocol MBSetupControllerDelegate; #pragma mark - MBPage @protocol MBPage ...
/** * @file glfw_mesh_renderer.h * @brief Defines GLFWMeshRenderer. */ #pragma once #include "std/ogle_std.inc" #include "renderer/glfw_buffered_mesh.h" #include "renderer/mesh_renderer.h" #include "renderer/opengl_primitive_types.h" namespace ogle { class GLSLShaderProgram; /** * @brief MeshRenderer implement...
/* +----------------------------------------------------------------------+ | Forp | +----------------------------------------------------------------------+ | Copyright (c) 2012 Anthony Terrien | +---------------------...
/* * Copyright (c) 2013 Jeremy Yallop. * * This file is distributed under the terms of the MIT License. * See the file LICENSE for details. */ #include <caml/mlvalues.h> #include <caml/bigarray.h> #include "raw_pointer.h" /* address : 'b -> pointer */ value ctypes_bigarray_address(value ba) { return CTYPES_FR...
#define PYBV3 #define MICROPY_HW_BOARD_NAME "PYBv3" #define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_SDCARD (1) #define MICROPY_HW_HAS_MMA7660 (1) #define MICROPY_HW_HAS_LIS3DSH (0) #define MICROPY_HW_HAS_LCD (0) #define MICROPY_HW_HAS_WLAN (0) #define MICROPY_HW_E...
/* * * 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 ...
/***********************************************\ * draw.h * * George Koskeridis (C) 2016 * \***********************************************/ #pragma once #ifndef __DRAW_H #define __DRAW_H #include "common.h" #include "main.h" void ScaleGra...
/* * author: muggle wei <mugglewei@gmail.com> * * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ #include "thread.h" #include "muggle/c/base/err.h" #if MUGGLE_PLATFORM_WINDOWS #include <process.h> int muggle_thread_create(muggle_thread_t *thread, muggle_thre...
#import "MOBProjection.h" @interface MOBProjectionEPSG53010 : MOBProjection @end
/*! \file cg_keyboard.h * \brief Enter description here. * \author Georgi Gerganov */ #pragma once #include <mutex> #include <memory> #include <map> namespace CG { class Timer; class Keyboard { private: Keyboard(); ~Keyboard(); public: inline static Keyboard & getInstance() { static Keyboa...
#ifndef TEST_H #define TEST_H #pragma systemFile void BlockCubix(DesiredMotorVals *desiredMotorVals,DesiredEncVals *desiredEncVals){ joyWaitForStart(); while(true){ time1[T1] = 0; //in ms driveSetMecMotorN(desiredMotorVals, 1.0); while (time1[T1] < 2250) { motorSetActualPowerToDesired(desiredMotorVals); ...
// // IVVServiceAssembly.h // AwesomeCurrencyConverter // // Created by Vladimir Ignatov on 04/03/2017. // Copyright © 2017 Ignatov inc. All rights reserved. // #import "TyphoonAssembly.h" #import "IVVServiceAssembly.h" // Helpers #import <RamblerTyphoonUtils/AssemblyCollector.h> @protocol IVVHelperAssembly, IVV...
// Copyright (c) 2012-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_VERSION_H #define BITCOIN_VERSION_H /** * network protocol versioning */ static const int PROTOCOL_VERSION = 6...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "CDStructures.h" #import <IDEKit/IDEKeyDrivenNavigableItem.h> #import "IDENavigableItemFileReferenceProxy-Protocol.h" @class IDENavigableItem, NSString; @interface IDECon...
#ifndef GAUSSSIANDIALOG_H #define GAUSSSIANDIALOG_H #include <QDialog> #include <QColor> #include <gaussianfunctionpainter.h> #include <QImage> #include <QDial> class GausssianDialog : public QDialog { Q_OBJECT public: GausssianDialog(int xCenterCoordinate, int yCenterCoordinate, QColor color, QImage& image, ...
/* this example was written to debug a problem with a display width, which is not multiple of 8. the display width is set to 102 for this purpose */ #include "u8g2.h" #include <stdio.h> u8g2_t u8g2; int main(void) { u8g2_SetupBuffer_Utf8(&u8g2, U8G2_R0); u8g2_InitDisplay(&...
// // SphereBlock.h // sunflow // // Created by Okami Satoshi on 12/05/31. // Copyright (c) 2012 Okami Satoshi. All rights reserved. // #ifndef _SphereBlock_h #define _SphereBlock_h #include "MeshBlock.h" #include "BufferStream.h" class SphereBlock : public MeshBlock { public: SphereBlock(const string _name...
/* * DVFSOriginal.h * * Created on: 15 Feb, 2015 * Author: yeokm1 */ #ifndef DVFS_DVFSORIGINAL_H_ #define DVFS_DVFSORIGINAL_H_ #include <dvfs/DVFS.h> class DVFSOriginal: public DVFS { public: DVFSOriginal(int fpsLowBound, int fpsHighBound, bool maxTargetIfCharging); virtual ~DVFSOriginal(); protected: ...
// Comparator extern struct { // control and status register struct { unsigned int COMP1EN: 1; // Comparator 1 enable unsigned int COMP1_INP_DAC: 1; // COMP1_INP_DAC unsigned int COMP1MODE: 2; // Comparator 1 mode unsigned int COMP1INSEL: 3; // Comparator 1 inverting input selection unsi...
#pragma once namespace Engine { template <typename Cmp> struct comparator_traits : Cmp::traits {}; template <typename T> struct comparator_traits<std::less<T>> { using type = T; using cmp_type = std::less<T>; using item_type = T; static const T &to_cmp_type(const T &t) { return t; } }...
#ifndef _SRL_RADMIN_ #define _SRL_RADMIN_ #include "srl/sys/Daemon.h" #include "srl/radmin/Monitor.h" #include "srl/xml/XmlRpcProtocol.h" #include "srl/app/IniParser.h" #include "srl/log/Logger.h" #include "srl/radmin/RadminFTP.h" namespace SRL { namespace Radmin { /** * Simple thread...
// This file was generated based on 'C:\ProgramData\Uno\Packages\FuseCore\0.11.3\Input\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #ifndef __APP_FUSE_INPUT_POINTER_LEFT_ARGS_H__ #define __APP_FUSE_INPUT_POINTER_LEFT_ARGS_H__ #include <app/Fuse.Input.PointerEventArgs.h> #include <app/Fuse...
class view { view( const view& v ); // Deny copy construction void operator=( const view& v ); // Deny assignment public: sum_and_count* array; size_t change; view( size_t k ) : array(new sum_and_count[k]), change(0) {} ~view() {delete[] array;} }; typedef tbb::enumerable_...
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
// // SoCMViewController.h // 01-SinglePageApp // // Created by Nicholas Outram on 22/05/2014. // Copyright (c) 2014 Plymouth University. All rights reserved. // #import <UIKit/UIKit.h> #import "SoCMDetailTableTableViewController.h" //This is the class declaration @interface SoCMViewController : UIViewController<...
// 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_BSURFACESTORAGE_H__DAA97524_137F_11D4_9F37_8F90855A4202__INCLUDED_) #define AFX_BSURFACESTORAGE_H__DAA97524_137F_11D4_9F37_8F9085...
/* * port.h * * Created: 2017-10-16 17:32:54 * Author: kjph */ #ifndef PORT_H_ #define PORT_H_ #include <Arduino.h> /******************************************************************************* * Pin Mappins ******************************************************************************/ // Direct-Pins #...
/* * Copyright 2015, Yahoo Inc. * Copyrights licensed under the MIT License. * See the accompanying LICENSE file for terms. */ #import <Foundation/Foundation.h> #import "SNBBugCreateModelCell.h" @class SNBStateDataItem; @protocol SNBBugCreateScreenShotModel <SNBBugCreateModelCell> - (NSUInteger)screenShotCount;...
// // 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" @protocol BITFeedbackUserDataDelegate <NSObject> - (void)userDataUpdateFinished; - (void)userDataUpdateCancelled; @end
#include <stdio.h> int find_substr(char *sl, char *s2); int main(int argc, char **argv) { if (find_substr("C is fun", "fun") != -1) { printf("Substring is found.\n"); } } int find_substr(char *s1, char *s2) { register int t; char *p, *p2; for (t = 0; s1[t]; t++) { p = &s1[t]; p2 = s2; wh...
#import <Foundation/Foundation.h> @interface MultipleMatchingClasses : NSObject @end @interface FirstMultipleClass : MultipleMatchingClasses +(void) setSuccesses: (int) successes andFailures: (int) failures; @end @interface SecondMultipleClass : MultipleMatchingClasses +(void) setSuccesses: (int) successes andFailu...
// // UIImageView+MKNetworkKitAdditions.h // MKNetworkKit-iOS // // Created by Mugunth Kumar (@mugunthkumar) on 18/01/13. // Copyright (C) 2011-2020 by Steinlogic Consulting and Training Pte Ltd // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "Components/StaticMeshComponent.h" #include "TankTracks.generated.h" /** * TankTraks is used to set maximum driving force, and to apply forces to the tank. */ UCLASS( ClassGroup=(BattleTank), meta=( Bluep...
#pragma once #include "ofMain.h" class Particle { public: Particle(); ~Particle(); void update(); void draw(); glm::vec3 position; glm::vec3 velocity; glm::vec3 acceleration; glm::vec3 force; ofColor color; glm::vec3 orientation; glm::vec3 angularVelocity; glm::vec...
// // JPAppDelegate.h // JPCanvas // // Created by John McGlone on 11/13/13. // Copyright (c) 2013 JP. All rights reserved. // #import <UIKit/UIKit.h> @interface JPAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* * * 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 ...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double Pods_Plus_VersionNumber; FOUNDATION_EXPORT const unsigned char Pods_Plus_VersionString[];
#ifndef _code void encode(char* input, char* output); void decode(char* input); #endif
#ifndef MASTERNODELIST_H #define MASTERNODELIST_H #include "primitives/transaction.h" #include "platformstyle.h" #include "sync.h" #include "util.h" #include <QMenu> #include <QTimer> #include <QWidget> #define MY_MASTERNODELIST_UPDATE_SECONDS 60 #define MASTERNODELIST_UPDATE_SECONDS ...
/*! * \~chinese * @header EMClientDelegate.h * @abstract 此协议提供了一些实用工具类的回调 * @author Hyphenate * @version 3.00 * * \~english * @header EMClientDelegate.h * @abstract This protocol provides a number of utility classes callback * @author Hyphenate * @version 3.00 */ #import <Foundation/Foundation.h>...
// // AppDelegate.h // Observer // // Created by hukaiyin on 16/3/12. // Copyright © 2016年 HKY. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
#include <stdio.h> void main(){ unsigned z = output("z"); fput_float(1, z); fput_float(2, z); fput_float(3, z); fput_float(4, z); fput_float(5, z); fput_float(6, z); fput_float(7, z); fput_float(8, z); fput_float(9, z); fput_float(10, z); }
// // toastView.h // saltfish // // Created by alfred on 16/2/1. // Copyright © 2016年 Alfred. All rights reserved. // #import <UIKit/UIKit.h> @interface toastView : UIView + (void)showToastWith:(NSString *)text isErr:(BOOL)isErr duration:(double)duration superView:(UIView *)superView; @end
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "UIView.h" #import "SBIconAccessoryView.h" @class NSString, SBDarkeningImageView, SBIconAccessoryImage; @interface SBIconBadgeView : UIView <SBIconAccessoryView> { NS...
#ifndef TheaMaterialOverride_H #define TheaMaterialOverride_H //- // =========================================================================== // Copyright 2012 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installa...
// // CocoaPodsWarehouse.h // SecondApp // // Created by qianfeng01 on 15-8-4. // Copyright (c) 2015年 zg. All rights reserved. // #import <Foundation/Foundation.h> @interface CocoaPodsWarehouse : NSObject @end
// // Created by ron on 16/09/17. // #ifndef FORTUNA_LINUX_INTEGERTASK_H #define FORTUNA_LINUX_INTEGERTASK_H #include "ITask.h" // Create Fortuna with All Integer Sources // This class is used for testing, to determine how the sources are mixed together // when the source bytes are copied to the Pools when each sour...
/** @file SrRenderContext.h @author yikaiming ver:1.0 */ #ifndef SrRenderContext_h__ #define SrRenderContext_h__ #include <thread> class SrFragmentBuffer; SR_ALIGN struct SrRendContext { SrRendContext(int w, int h, int obpp) { memset(this, 0, sizeof(SrRendContext)); width = w; height = h; ...
#pragma once #include <mtao/types.h> namespace mtao { namespace geometry { namespace mesh { template <int D, typename IndexType = int> struct CellIndexer { public: template <typename Derived> std::array<IndexType,D> sorted_facet(const Eigen::DenseBase<Derived>...
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
#ifdef HAVE_CONFIG_H #include "../../../../ext_config.h" #endif #include <php.h> #include "../../../../php_ext.h" #include "../../../../ext.h" #include <Zend/zend_exceptions.h> #include "kernel/main.h" /* This file is part of the php-ext-zendframework package. For the full copyright and license information, ple...
#ifndef _UBER_LIBRARY_EXAMPLE #define _UBER_LIBRARY_EXAMPLE // Make library cross-compatiable // with Arduino, GNU C++ for tests, and Particle. //#if defined(ARDUINO) && ARDUINO >= 100 //#include "Arduino.h" //#elif defined(SPARK) //#include "application.h" //#endif // TEMPORARY UNTIL the stuff that supports the code...
/******************************************************************************* SPI Peripheral Library Template Implementation File Name: spi_FrameSyncPulseEdge_Default.h Summary: SPI PLIB Template Implementation Description: This header file contains template implementations For Feature : F...
// To check if a library is compiled with CocoaPods you // can use the `COCOAPODS` macro definition which is // defined in the xcconfigs so it is available in // headers also when they are imported in the client // project. // Facebook-iOS-SDK #define COCOAPODS_POD_AVAILABLE_Facebook_iOS_SDK #define COCOAPODS_VERSIO...
// // ShapedImageView.h // Boobuz // // Created by songmeng on 16/8/11. // Copyright © 2016年 erlinyou.com. All rights reserved. // #import <UIKit/UIKit.h> @interface ShapedImageView : UIView @property (nonatomic, strong) UIImage * image; @property (nonatomic, copy) void(^removeMessage)(); - (instancetype)init...
// This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.13.2\Source\Uno\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #ifndef __APP_UNO_COMPARISON__FUSE_STYLE_PROPERTY_H__ #define __APP_UNO_COMPARISON__FUSE_STYLE_PROPERTY_H__ #include <app/Uno.Delegate.h> #include <Uno.h...
/* * IRremote * Version 0.1 July, 2009 * Copyright 2009 Ken Shirriff * For details, see http://arcfn.com/2009/08/multi-protocol-infrared-remote-library.htm http://arcfn.com * Edited by Mitra to add new controller SANYO * * Interrupt code based on NECIRrcv by Joe Knapp * http://www.arduino.cc/cgi-bin/yabb2/YaBB....
// // Copyright (c) 2006 - 2021 Stephen F. Booth <me@sbooth.org> // Part of https://github.com/sbooth/SFBAudioEngine // MIT license // #import "SFBAudioFile+Internal.h" // An SFBAudioFile subclass supporting Musepack files @interface SFBMusepackFile : SFBAudioFile @end
// // GCIPAssetGridCell.h // // Copyright (c) 2011-2012 Caleb Davenport. // #import <UIKit/UIKit.h> @class GCIPAssetView; // cell designed to display a grid of assets @interface GCIPAssetGridCell : UITableViewCell // number of columns for the cell to display @property (nonatomic, assign) NSUInteger numberOfColumn...
#ifndef KEYBOARD_H #define KEYBOARD_H #include "Arduino.h" class Keyboard { public: Keyboard(); void init(); void run(); uint32_t data; bool isAvailable; }; #endif
// // BRSendViewController.h // DashWallet // // Created by Aaron Voisine on 5/8/13. // Copyright (c) 2013 Aaron Voisine <voisine@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 th...
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* Daniel Perry * for cs6620 - spring 2005 * started 27jan05 */ /* Background: superclass for different types of backgrounds * * direct subclasses: ConstantBackground, GradientBackground, StarfieldBackground, EnvironmentMapBackground. * */ #ifndef _BACKGROUND_H #define _BACKGROUND_H using namespace std; cla...
#include <stdbool.h> #include "md22DeviceInterface.h" #include "../../device/device.h" #include "../../device/deviceInterface.h" #include "../../device/deviceConstants.h" const char* getMD22MotorDeviceName(void) { return "MD22_MOTOR"; } int deviceMD22GetInterface(unsigned char header, DeviceInterfaceMode mode, ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_listen_socket_61a.c Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml Template File: sources-sinks-61a.tmpl.c */ /* * @description * CWE: 789 Uncontrolled Memory Allocation * BadSource: listen_soc...
// // JKHomeTopItem.h // 美团HD // // Created by 谢聪捷 on 3/10/15. // Copyright (c) 2015 Jack-Xie. All rights reserved. // #import <UIKit/UIKit.h> @interface JKHomeTopItem : UIView + (instancetype)item; // 标题 - (void)setTitle:(NSString *)title; // 子标题 - (void)setSubtitle:(NSString *)subtitle; // 设置普通 / 高亮图片 - (void)...
// // AppDelegate.h // TimAFAppConnectClient // // Created by tim on 16/11/17. // Copyright © 2016年 timRabbit. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @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 "WebSecurityOrigin.h" @interface WebSecurityOrigin (SafariExtras) - (id)safari_userVisibleName; @end
// // MPIMotionManager.h // Multipeer.Instrument // // Created by Kyle Beyer on 7/2/14. // Copyright (c) 2014 Kyle Beyer. All rights reserved. // #import <Foundation/Foundation.h> @protocol MPIMotionManagerDelegate; @interface MPIMotionManager : NSObject + (MPIMotionManager*)instance; @property (nonatomic,weak...
#include <string.h> #include "shared.h" int main(int argc, char **argv) { if (argc > 1 && strcmp("-s", argv[1]) == 0) { server_main(); } else { client_main(argc, argv); } return 0; }
#ifndef OPTIONSMODEL_H #define OPTIONSMODEL_H #include <QAbstractListModel> /** Interface from Qt to configuration data structure for Bitcoin client. To Qt, the options are presented as a list with the different options laid out vertically. This can be changed to a tree once the settings become suffi...
// // 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 DVTDispatchLock, NSMutableDictionary; @interface IDEIndexProductInfoManager : NSObject { DVTDispatchLock *_lock; NSMutableDictionary *_productI...
// // KMYBlock.h // KMYKit // // Created on 29/03/16. // Copyright © 2016 Karmeye. All rights reserved. // @import Foundation; #import <KMYKit/KMYDispatch.h> #import <KMYKit/KMYAssert.h> /// /// See Checking For Null Blocks: http://nshipster.com/new-years-2016/ /// #define KMYInvokeBlockIfSet(block, ...) ...
// ********************************************************************* // ____ _____ ____ // / ___| _ __ ___ _ __ ___|___ /| _ \ // \___ \| '_ \ / _ \| '__/ _ \ |_ \| | | | // ___) | |_) | (_) | | | __/___) | |_| | // |____/| .__/ \__...
// // PAWWallPostsTableViewController.h // AnyWall // // Created by Christopher Bowns on 2/6/12. // Copyright (c) 2012 Parse. All rights reserved. // #import <UIKit/UIKit.h> #import <Parse/Parse.h> #import "PAWWallViewController.h" @interface PAWWallPostsTableViewController : PFQueryTableViewController <PAWWallVi...
#ifndef USERSCONTROLLER_H #define USERSCONTROLLER_H #include <string> #include <vector> class UsersController { private: bool signedIn; std::string username; public: UsersController(): signedIn(false) {} UsersController(bool _signedIn) : signedIn(_signedIn) {} bool isSignedIn() { return sig...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int_fscanf_square_09.c Label Definition File: CWE190_Integer_Overflow__int.label.xml Template File: sources-sinks-09.tmpl.c */ /* * @description * CWE: 190 Integer Overflow * BadSource: fscanf Read data from the console using fscanf() *...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2019 Dan Halbert for Adafruit Industries * Copyright (c) 2018 Artur Pacholec * Copyright (c) 2016 Glenn Ruben Bakke * * Permission is hereby granted, free of charge, to any person obtaining a ...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "CDStructures.h" @class NSDictionary, NSMutableDictionary, NSString; @interface IDEAlertEvent : NSObject { NSString *_identifier; NSString *_title; NSString *_...
// // UIImage+CTAssetsPicker.h // Pods // // Created by wshaolin on 16/7/7. // Copyright © 2016年 wshaolin. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (CTAssetsPicker) + (UIImage *)ctAssets_imageNamed:(NSString *)name; @end
// UE4 Procedural Mesh Generation from the Epic Wiki (https://wiki.unrealengine.com/Procedural_Mesh_Generation) // // forked from "Engine/Plugins/Runtime/CustomMeshComponent/Source/CustomMeshComponent/Classes/CustomMeshComponent.h" #pragma once #include "GeneratedMeshComponent.generated.h" USTRUCT(BlueprintT...
/* * Copyright(c) Sophist Solutions, Inc. 1990-2022. All rights reserved */ #include "../../StroikaPreComp.h" #include <map> #include "../Mapping.h" #ifndef _Stroika_Foundation_Containers_Concrete_Mapping_stdmap_h_ #define _Stroika_Foundation_Containers_Concrete_Mapping_stdmap_h_ /** * \file * * \version ...
// // DataItemModel.h // downDropMenu // // Created by 凯东源 on 17/6/22. // Copyright © 2017年 xx. All rights reserved. // #import <Foundation/Foundation.h> @interface DataItemModel : NSObject @property (nonatomic, assign) NSInteger selected; @property (nonatomic, strong) NSString * title; -(instancetype)initWithD...
#ifndef CONWAY_H #define CONWAY_H char *genField(int w, int h); #endif
// // TableViewHeader.h // CJUIKitDemo // // Created by ciyouzen on 8/26/15. // Copyright (c) 2015 dvlproad. All rights reserved. // #import "CJTableViewHeaderFooterView.h" @interface TableViewHeader : CJTableViewHeaderFooterView { } @property(nonatomic, strong) IBOutlet UILabel *tilteLabel; @end
// // ViewController.h // LiftTrack // // Created by Jerry Wong on 5/1/15. // Copyright (c) 2015 Jerry Wong. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end