text stringlengths 4 6.14k |
|---|
/***
* Inferno Engine v4 2015-2017
* Written by Tomasz "Rex Dex" Jonarski
***/
#pragma once
#include "public.h"
namespace base
{
namespace script
{
//--
extern base::mem::PoolID POOL_JIT;
//--
} // script
} // base |
/*
* Copyright © 2013 Intel Corporation
*
* 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, pub... |
//
// SBDynamicArcView.h
// SBLib
//
// Created by roronoa on 2017/7/27.
// Copyright © 2017年 roronoa. All rights reserved.
//
#import <UIKit/UIKit.h>
/** 加载转圈 我抄的代码 **/
@interface SBDynamicArcView : UIImageView
@property (strong, nonatomic) CAReplicatorLayer *replicatorLayer;
@property (strong, nonatomic) CASha... |
#ifndef _HELLO_H
#define _HELLO_H
void hello(const char *str);
#endif |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/chinthan/Framework/Logger/ConvertCode/OnePoint/Runtime/Common/AliasMap/AliasMap.java
//
// Created by chinthan on 1/15/14.
//
#import "IAliasMap.h"
#import "IGenerator.h"
@interface AliasMap : NSObject <IAliasMap> {
@public
id<IGenerator>... |
//
// LocationModel.h
// Prototype
//
// Created by Ivo Peric on 08/09/15.
// Copyright (c) 2015 Clover Studio. All rights reserved.
//
#import "CSModel.h"
@interface CSLocationModel : CSModel
@property (nonatomic) double lat;
@property (nonatomic) double lng;
@end
|
/* Copyright (C) 2017 Alexandru-Valentin Musat (contact@nexuralsoftware.com)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, co... |
/*--------------------------------------------------*/
#import "UIView+GLBUI.h"
/*--------------------------------------------------*/
#if defined(GLB_TARGET_IOS)
/*--------------------------------------------------*/
@interface GLBSpinnerView : UIView
@property(nonatomic, nullable, strong) IBInspectable UIColor* c... |
//
// ViewController.h
// Logger
//
// Created by Виктор on 02.11.14.
// Copyright (c) 2014 Victor. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ViewController : NSObject
@end
|
/**
* @file static_assert.h
* @brief 导入静态断言(STD_STATIC_ASSERT)<br />
* Licensed under the MIT licenses.
*
* @version 1.0
* @author OWenT, owt5008137@live.com
* @date 2013-12-25
*
* @history
*
*/
#ifndef _STD_STATIC_ASSERT_H_
#define _STD_STATIC_ASSERT_H_
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
... |
//
// NGRTransformView.h
// NGRCrop
//
// Created by Marcin Piesiak on 04.05.2015.
// Copyright (c) 2015 Marcin Piesiak. All rights reserved.
//
@import UIKit;
#import "NGRScalableView.h"
@interface NGRTransformView : UIView
/**
* A crop declaring bounds for croping image.
*/
@property (strong, nonatomic, re... |
/*
***********************************************************************************************************************
*
* Copyright (c) 2016-2021 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... |
//
// AppDelegate.h
// LeoTextFieldDemo
//
// Created by Leo.Chen on 2016/12/12.
// Copyright © 2016年 Leo.Chen. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
/*
* Created by Phil Nash on 1/2/2013.
* Copyright 2013 Two Blue Cubes Ltd. All rights reserved.
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef TWOBLUECUBES_CATCH_MESSAGE_H_INCLUDED
#define TWO... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define N 10
int id[N];
int root(int i) {
while(id[i] != i) {
i = id[i];
}
return i;
}
int main(int argc, char **argv) {
const char* INPUT_FILE = "resources/input.txt";
FILE *fp;
char *line = NULL;
char *token;
size_t len = 0;
for(i... |
//
// IKTextFieldInputView.h
// HanhwaIphone
//
// Created by Rickseong on 2015. 8. 10..
//
//
#import <UIKit/UIKit.h>
#import "CMTextField.h"
typedef void (^DoneBlock) (UITextField* textField);
@interface CMCustomNumberPadView : UIView
@property UITextField *textField;
@property (nonatomic, copy) DoneBlock done... |
/**
*
* Emerald (kbi/elude @2014)
*
* Private functions only.
*/
#ifndef COLLADA_DATA_EFFECT_H
#define COLLADA_DATA_EFFECT_H
#include "collada/collada_data_image.h"
#include "collada/collada_types.h"
#include "tinyxml2.h"
enum collada_data_effect_property
{
COLLADA_DATA_EFFECT_PROPERTY_ID,
COLLADA_DATA_E... |
#pragma once
#include <Thor/Framework/FrameworkFwdInternal.h>
#include <Thor/Framework/ThiTask.h>
#include <Thor/Framework/Containers/ThVector.h>
namespace Thor
{
//----------------------------------------------------------------------------------------
//
// ThTbbTaskManager
//
//--------------------... |
// This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.13.2\Source\Uno\Collections\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_UNO_COLLECTIONS_I_ENUMERABLE__FUSE_ANIMATIONS_MIXER_HANDLE_FUSE_E_4DDD6C02_H__
#define __APP_UNO_COLLECTIONS_I_ENUMERABLE__FUSE_... |
//
// ViewController.h
// SDKOCDemo
//
// Created by 杨涛 on 2017/10/26.
// Copyright © 2017年 finogeeks.com. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextField *txtUsername;
@property (weak, nonatomic) IBOutlet UITextField *t... |
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... |
#ifndef MOCK_LORA_SYSTEM_H
#define MOCK_LORA_SYSTEM_H
#include "lora_system.h"
struct mock_system_param {
uint8_t appEUI[8U];
uint8_t devEUI[8U];
uint8_t appKey[16U];
uint8_t battery_level;
uint16_t upCounter;
uint16_t downCounter;
};
void mock_lora_system_init(struc... |
//
// UIBarButtonItem+GKCategory.h
// GKNavigationBarViewController
//
// Created by QuintGao on 2017/7/7.
// Copyright © 2017年 高坤. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIBarButtonItem (GKCategory)
+ (instancetype)itemWithTitle:(NSString *)title imageName:(NSString *)imageName target:(id)ta... |
//
// RAFOrderedDictionary.h
// ReactiveFormlets
//
// Created by Jon Sterling on 6/12/12.
// Copyright (c) 2012 Jon Sterling. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol RAFMutableOrderedDictionary;
/// The block which allows guarded access to the mutable interface of an
/// immutable or... |
/*
* Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... |
/*
* Copyright (c) 2015-2019 Dubalu LLC
*
* 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, pub... |
/*
WeaponPsiCannonFightet.h
(c)2009 Palestar, Richard Lyle
Created by Robert Kelford, March 2009
*/
#ifndef WEAPON_PSI_CANNON_FIGHTER_H
#define WEAPON_PSI_CANNON_FIGHTER_H
#include "DarkSpace/Constants.h"
#include "DarkSpace/GadgetWeapon.h"
//--------------------------------------------------------------------... |
#ifndef QTMACTOOLBARSTANDARDITEM_P_H
#define QTMACTOOLBARSTANDARDITEM_P_H
#import <Cocoa/Cocoa.h>
#import <AppKit/AppKit.h>
class QtMacToolbarSidebarItem;
@interface QtSidebarToggleDelegate : NSObject
{
@public
QtMacToolbarSidebarItem* button;
}
- (IBAction)buttonClicked:(id)sender;
@end
#endif // QTMACTOOLBARSTA... |
//
// Animations.h
// templateARC
//
// Created by Mac Owner on 3/8/13.
//
//
#import <Foundation/Foundation.h>
#import "macros.h"
@interface Animations : NSObject
@property (strong,nonatomic) NSString *nameImage;
@property (assign,nonatomic) AnimationTypes animationType;
@property (assign,nonatomic) ButtonTypes a... |
//
// VMCompositeTableViewDataSource.h
// Pods
//
// Created by Valerio Mazzeo on 10/09/2014.
// Copyright (c) 2014 Valerio Mazzeo. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@protocol VMCompositeTableViewDataSource <UITableViewDataSource>
@optional
#pragma mark - Accessin... |
/*
* Copyright (c) 2014
*
* "License"
*
* Bug reports and issues: <"Email">
*
* This file is part of learn-glib.
*/
#ifndef COMMON_H_
#define COMMON_H_
#include <stdio.h>
#endif /* COMMON_H_ */
|
/**
* Swaggy Jenkins
* Jenkins API clients generated from Swagger / Open API specification
*
* The version of the OpenAPI document: 1.1.2-pre.0
* Contact: blah@cliffano.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the cl... |
/*
* File: BinFile.h
* Author: slate
*
* Created on April 5, 2013, 9:03 AM
*/
#ifndef BINFILE_H
#define BINFILE_H
#include <string>
namespace util {
class BinFile {
public:
BinFile();
BinFile(const BinFile& orig);
virtual ~BinFile();
unsigned int loadFile(const char *filename);
... |
// class Renderer encapsulates a specific rendering algorithm, which
// renders a given geometry (specific to the sub-class) to a given
// pixel buffer, using a given voxel array as texture data. All the
// details are in sub-classes. Subclasses will generally require
// additional attributes and access functions, an... |
/*!
NSDate extension
RFKit
Copyright (c) 2012-2013 BB9z
https://github.com/bb9z/RFKit
The MIT License (MIT)
http://www.opensource.org/licenses/mit-license.php
*/
#import <Foundation/Foundation.h>
@interface NSDate (RFKit)
- (BOOL)isSameDayWithDate:(NSDate *)date;
+ (NSString *)nowDate;
+(... |
//
// SEGAppDelegate.h
// MixedArcExample
//
// Created by CocoaPods on 11/13/2014.
// Copyright (c) 2014 Samuel E. Giddins. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SEGAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
/**
* \file
* Runtime functions
*
* Author:
* Jonathan Pryor
*
* (C) 2010 Novell, Inc.
*/
#ifndef _MONO_METADATA_RUNTIME_H_
#define _MONO_METADATA_RUNTIME_H_
#include <glib.h>
#include <mono/metadata/metadata.h>
#include <mono/utils/mono-publib.h>
#include <mono/utils/mono-compiler.h>
gboolean mono_runtime_t... |
#ifndef _BIN_GUARD
#define _BIN_GUARD
/* builtin stuff */
typedef void(builtin_func)(int argc, char* argv[]);
typedef struct builtin {
char const* name;
builtin_func* func;
} builtin;
builtin const* builtin_get(char const* name);
#endif
|
//
// AppDelegate.h
// KIZImagePlayer
//
// Created by Eugene on 15/8/13.
// Copyright (c) 2015年 kingizz. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
//
// NSData+JXKit.h
// JXKit
//
// Created by Jérôme ALVES on 27/02/13.
// Copyright (c) 2013 Jérôme Alves. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSData (JXKit)
- (NSString *)hexRepresentationString;
@end
|
//
// UIViewController+Hint.h
// BM4Group
//
// Created by 陈宇 on 16/2/1.
// Copyright © 2016年 陈宇. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, HintType) {
HintTypeSuccessful,
HintTypeFailure,
};
@interface UIViewController (Message)
/**
* 显示HintTypeSuccessful且offset为0的m... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <AddressBookUI/ABCardGroup.h>
@class NSArray;
@interface ABCardFaceTimeGroup : ABCardGroup
{
NSArray *_displayItems;
}
- (id)displayItems;
- (void)dealloc;
@end
|
#include "../../blocks/lua/src/ltablib.c"
#include "../../blocks/lua/src/ltm.c"
#include "../../blocks/lua/src/lua.c"
#include "../../blocks/lua/src/lundump.c"
#include "../../blocks/lua/src/lutf8lib.c"
#include "../../blocks/lua/src/lvm.c"
#include "../../blocks/lua/src/lzio.c"
#include "../../blocks/lua/src/la... |
#include <iostream>
class checkLength {
public:
checkLength(std::size_t low, std::size_t up) : lowb(low), upb(up) {}
bool operator()(const std::string& cst) {
return (cst.size() <= upb && cst.size() >= lowb);
}
private:
std::size_t lowb;
std::size_t upb;
}; |
/*
* Developing IoT Solutions with Azure IoT - Microsoft Sample Code - Copyright (c) 2017 - Licensed MIT
*
*
* ©2017 Microsoft Corporation. All rights reserved. The text in this document is available under the
* Creative Commons Attribution 4.0 License (https://creativecommons.org/licenses/by/4.0/legalcode),
* additi... |
/*
* The sources in the "XcodeKit" directory are based on the Ruby project Xcoder.
*
* Copyright (c) 2012 cisimple
*
* MIT License
*
* 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 w... |
/* -*- c-basic-offset: 3 -*-
*
* ENSICAEN
* 6 Boulevard Marechal Juin
* F-14050 Caen Cedex
*
* This file is owned by ENSICAEN students.
* No portion of this document may be reproduced, copied
* or revised without written permission of the authors.
*/
/**
* @author Hicham Benjelloun <benjelloun@ecole.ensi... |
//
// RHEmojiView.h
// RHToolkitsDemo
//
// Created by zhuruhong on 15/7/17.
// Copyright (c) 2015年 zhuruhong. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface RHEmojiView : UIView
@end
|
//
// CMConnection.h
// CMSignals
//
// Created by Tiago Bastos on 26/01/2013.
// Copyright (c) 2013 Codeminer42. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface CMConnection : NSObject <NSCopying>
@property (nonatomic, strong) id sender;
@property (nonatomic, strong) id receiver;
@property... |
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_JKLArrayDataSource_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_JKLArrayDataSource_TestsVersionString[];
|
//
// TBAStoreManager.h
// Mussels
//
// Copyright (C) 2015 Xiao Yao. All Rights Reserved.
// See LICENSE.txt for more information.
//
@import Foundation;
@import StoreKit;
@class TBAStoreManager;
#pragma mark - TBAStoreManagerObserver
/**
* Store manager protocol.
*/
@protocol TBAStoreManagerObserver <NSObje... |
#include <stdio.h>
#include <assert.h>
//#include <string.h>
#define __XPG4 // itoa, strccase
#define __UU
#define __OE_8
#include <stdlib.h>
#if defined(__IBMC__) || defined(__GNUC__)
#include <strings.h>
#elif defined(_MSC_VER)
#include <string.h>
#define strcasecmp _stricmp
#else
// error : compiler not supported
#e... |
#ifndef OBSIDIAN2D_CORE_UTIL_H
#define OBSIDIAN2D_CORE_UTIL_H
#include "vulkan/vulkan.h"
#if defined(NDEBUG) && defined(__GNUC__)
#define U_ASSERT_ONLY __attribute__((unused))
#else
#define U_ASSERT_ONLY
#endif
#ifdef ASSETS_FOLDER_PATH
#define ASSETS_FOLDER_PATH_STR ASSETS_FOLDER_PATH
#else
#define ASSETS_FOLDER_PAT... |
/*
** minishell.h for minishell in /Users/laxa/Documents/C/minishell
**
** Made by Julien EGLOFF
** Login <laxa>
**
** Started on Fri Nov 13 15:51:45 2015 Julien EGLOFF
** Last update Mon Nov 23 10:45:16 2015 EGLOFF Julien
*/
#ifndef __MINISHELL_H__
# define __MINISHELL_H__
# define UNUSED __attribute__ (... |
#ifndef RESULTKEY_H
#define RESULTKEY_H
#include "eirRes.h"
#include <eirType/EightCC.h>
#define RESULTKEY_ENUM(NV) \
class EIRRESSHARED_EXPORT ResultCode : public EightCC
{
public:
ResultCode(void);
ResultCode(const quint64 value);
ResultCode(const char * pc);
};
Q_DECLARE_TYPEINFO(Result... |
//
// FNRemoveKey.h
// Language
//
// Created by Todd Ditchendorf on 2/14/17.
// Copyright © 2017 Celestial Teapot. All rights reserved.
//
#import "XPFunctionBody.h"
@interface FNRemoveKey : XPFunctionBody
@end
|
/*
* Copyright (c) 2016 TAKAMORI Kaede <etheriqa@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 restriction, including without limitation the rights
* to use, copy... |
/* misc.h
*
* Copyright (C) 2006-2016 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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) ... |
//
// ZFThreeCollectionView.h
// ZF_iOS
//
// Created by 张木锋 on 2017/10/9.
// Copyright © 2017年 张木锋. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZFThreeCollectionView : UICollectionView
@end
|
#ifndef LYNX_LEPUS_VM_CONTEXT_H_
#define LYNX_LEPUS_VM_CONTEXT_H_
#include <list>
#include <unordered_map>
#include "lepus/context.h"
#include "lepus/value.h"
#include "lepus/lepus_string.h"
#include "lepus/heap.h"
namespace lepus {
class VMContext : public Context {
public:
virtual ~VMContext(... |
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//... |
//
// PLCoreDataStack.h
// PLDataSource
//
// Created by Hirad Motamed on 2015-11-15.
// Copyright © 2015 Hirad Motamed. All rights reserved.
//
#import <Foundation/Foundation.h>
@class NSManagedObjectContext;
@interface PLCoreDataStack : NSObject
@property (nonatomic, readonly) NSManagedObjectContext* managedO... |
/*
* This file is part of the Micro Python project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2019 I-SYST 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 Soft... |
//
// RUPatternDetailViewController.h
// Drink.io
//
// Created by Paul Jones on 11/23/13.
// Copyright (c) 2013 Principles of Informations and Data Management. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface RUPatternDetailViewController : UIViewController
@property IBOutlet UILabel * ageLabel;
@prop... |
/*
* 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"
// Not exported
@interface CPLocalizedStringMessages : NSObject
{
}
+ (void)initialize;
@end
|
//
// NTAnalyticsTimedEvent.h
//
#import "NTAnalyticsEvent.h"
@interface NTAnalyticsTimedEvent : NTAnalyticsEvent
-(void)start;
-(void)start:(NSDictionary *)params;
-(void)end;
-(void)end:(NSDictionary *)params;
@end
|
//矩阵头文件
//matrix.h
//支持线性规划一章的自定义数据结构
#include <iostream>
#include <cstring>
#ifndef MAX
#define MAX 60
#endif
using std::cout;
using std::endl;
struct matrix{
double m_m[MAX][MAX];
int m_row, m_col;
matrix(int crow = 0, int ccol = 0)
: m_row(crow), m_col(ccol){
memset(m_m, 0, MAX * MAX * sizeof(double));
}... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "PBCodable.h"
#import "NSCopying-Protocol.h"
@class NSString;
@interface GEORPUserCredentials : PBCodable <NSCopying>
{
NSString *_iCloudUserMapsAuthToken;
NSS... |
#ifndef BOARD_H_
#define BOARD_H_
#include <stdbool.h>
#include <stdint.h>
#include "misc.h"
#define BOARD_SIZE 8
#define PLAYERS 2
typedef uint_fast16_t Square;
#define SQUARE(x, y) (((x) << 8) | (y))
#define SQUARE_X(s) ((s) >> 8)
#define SQUARE_Y(s) ((s) & 0xF)
#define NULL_SQUARE ((Square)(~((Square)0)))
// Pi... |
// Copyright (c) 2005 Stanford University (USA).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); 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 3 of the License,
// or (at your ... |
//
// BMDownloadAPIManager.h
// BMWash
//
// Created by fenglh on 2017/2/20.
// Copyright © 2017年 月亮小屋(中国)有限公司. All rights reserved.
//
#import <BMBaseAPIManager.h>
@interface BMDownloadAPIManager : BMBaseAPIManager
/**
* 描述:文件下载
* 参数:url 完整的url地址,例如:http://abc.com/abc/file.txt
*/
- (NSInteger )downloadDataWit... |
#import "TCCategory.h"
@interface UITextField (Inspectable)
/** placeholder 颜色 */
@property (strong, nonatomic) IBInspectable UIColor *placeholderColor;
/** UITextField 的边框左侧和文字左侧的距离 */
@property (assign, nonatomic) IBInspectable CGFloat leadingSpacing;
/** UITextField 的边框右侧和文字右侧的距离 */
@property (assign, nonatomic) I... |
//
// GMSServices.h
// Google Maps SDK for iOS
//
// Copyright 2012 Google LLC
//
// Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
// Service: https://developers.google.com/maps/terms
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Service class for the Google Ma... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "PBXFrameworksBuildPhase.h"
@interface PBXFrameworksBuildPhase (PBXFileBuildPhaseModuleAdditions)
- (id)displayNameForAttributeOfBuildFile:(id)arg1 forColumnAtIndex:(lon... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: ./suggest/src/java/org/apache/lucene/search/spell/JaroWinklerDistance.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_OrgApacheLuceneSearchSpellJaroWinklerDistance")
#ifdef RESTRICT_OrgApacheLuceneSearchSpellJaroWinklerDistance
#d... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_console_w32spawnl_64a.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-64a.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: console Read input from the con... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE129_large_01.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE129.label.xml
Template File: sources-sinks-01.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: large Large index va... |
//
//
// MIT License
//
// Copyright (c) 2017 Stellacore Corporation.
//
// 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 ... |
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with... |
/*
* Legal Notice
*
* This document and associated source code (the "Work") is a preliminary
* version of a benchmark specification being developed by the TPC. The
* Work is being made available to the public for review and comment only.
* The TPC reserves all right, title, and interest to the Work as provided
*... |
#ifndef APACHE_UTILS_H
#define APACHE_UTILS_H
/* Include the required headers from httpd */
#include <httpd.h>
#include <http_core.h>
#include <http_protocol.h>
#include <http_request.h>
#include <http_config.h>
#include <http_log.h>
#include "mod_bio_version.h"
#ifndef MIN
#define MIN(a,b) (a<b?a:b)
#endif
#ifndef M... |
#pragma once
#include <stdlib.h>
#include <stdio.h>
template <class T>
class Singleton {
public:
static T* GetInstance() {
if ( !instance ) {
printf( " Creating Singleton...\n" );
instance = new T;
}
return instance;
}
static void DestroyInstance() {
instance = nullptr;
}
private:
static T* ins... |
//
// AppDelegate.h
// RotatingCollectionView
//
// Created by Cillian on 22/03/2014.
// Copyright (c) 2014 Cillian. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
// This library is distributed in the hope that it will be useful but without
// any warranty; without even the implied warranty of merchantability or
// fitness for a particular purpose.
// The use and distribution terms for this software are covered by the Eclipse
// Public License 1.0 (http://opensource.org/... |
#pragma once
// CAnalyzerOptionDlg ¶Ô»°¿ò
class CAnalyzerOptionDlg : public CDialog
{
DECLARE_DYNAMIC(CAnalyzerOptionDlg)
public:
CAnalyzerOptionDlg(LPCTSTR lpszParam,CWnd* pParent = NULL); // ±ê×¼¹¹Ô캯Êý
virtual ~CAnalyzerOptionDlg();
// ¶Ô»°¿òÊý¾Ý
enum { IDD = IDD_DIALOG_ANALYZER_OPTION };
... |
#ifndef _ENGINE_COMPONENT_PORTAL_H_
#define _ENGINE_COMPONENT_PORTAL_H_
#include "engine/component/component.h"
#include "engine/component/drawable.h"
#include "engine/component/entity.h"
#include "engine/component/player.h"
#include "engine/component/zone.h"
#include "engine/game/map.h"
namespace engine {
namespace ... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define T_INT 1
#define T_STRING 2
#define T_NONE 3
typedef struct lista{
struct lista *pxmo;
int tipo;
char id[256];
int pos;
}Lista;
typedef struct{
int tipo;
char id[256];
Lista *listaID;
} atributo;
Lista* iniciaLista(char* i... |
/* $Id$ */
/* Trivial i2c driver for the maxim DS1621 temperature sensor;
* just implements reading constant conversions with 8-bit
* resolution.
* Demonstrates the implementation of a i2c high-level driver.
*/
/*
* Authorship
* ----------
* This software was created by
* Till Straumann <strauman@slac.sta... |
/*
* $Id: syscalldefs.h,v 1.2 2009/05/25 00:03:34 fna Exp $
*
* This file belongs to FreeMiNT. It's not in the original MiNT 1.12
* distribution. See the file CHANGES for a detailed log of changes.
*
*
* Copyright 2000-2005 Frank Naumann <fnaumann@freemint.de>
* All rights reserved.
*
* Please send sugges... |
#ifndef FT_FONTWRAPPER_H
#define FT_FONTWRAPPER_H
#ifdef USE_TILE
#ifdef USE_FT
#include "tilefont.h"
// TODO enne - Fonts could be made better by:
//
// * handling kerning
// * using SDL_font (maybe?)
// * the possibility of streaming this class in and out so that Crawl doesn't
// have to link against FreeType2 o... |
/*
* Copyright (c) 2015-2016 Intel Corporation, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of t... |
#ifndef _STATS_
#define _STATS_
#include <stdlib.h>
#include <float.h>
#include <math.h>
/**
* The code contained in this file and the stats.c file was borrowed from the
* R package and is reproduced here in accordance with the GNU General Public
* License.
*/
#define ML_POSINF INFINITY
#define ML_NEGINF -INFINI... |
#include <common.h>
#include <asm/arch/ox820/regs.h>
DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; /* convert to MBytes */
gd->bd->bi_dram[0].start = PHYS_SDRAM_1_PA;
gd->ram_size = CONFIG_MAX_RAM_BANK_SIZE;
return 0;
}
|
#include "portcontrol.h"
#include "netx_io_areas.h"
void portcontrol_apply(const unsigned short *pusIndex, const unsigned short *pusConfiguration, size_t sizConfiguration)
{
const unsigned short *pusIndexCnt;
const unsigned short *pusIndexEnd;
const unsigned short *pusConfigurationCnt;
unsigned long ulConfigura... |
//
// Copyright(C) 2005-2014 Simon Howard
// Copyright(C) 2016-2022 Julian Nechaevsky
//
// 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... |
/*
* TwoLAME: an optimized MPEG Audio Layer Two encoder
*
* Copyright (C) 2001-2004 Michael Cheng
* Copyright (C) 2004-2005 The TwoLAME Project
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free ... |
#define _GNU_SOURCE
#include "badge_logger_common.h"
extern int qsize;
extern uint16_t *start, *current, msize;
extern char* queue;
extern int fd;
int pushData(char* param) {
int qfree;
if ((*current + elsize) % (qsize * elsize) == *start) {
return -1;
}
f_elock(fd);
sprintf(queue + *current, "%s", param);
*... |
#include "bbs.h"
/*
* buflen is a value-result variable. When it is passed to the function,
* its value is the buffer length (including the trailing '\0' character).
* When the function returned, its value is the number of characters
* actually copied to buf (excluding the trailing '\0' character).
*/
char... |
#include <linux/platform_device.h>
#include <asm/mach/time.h>
static void __init shmobile_late_time_init(void)
{
/*
* Make sure all compiled-in early timers register themselves.
*
* Run probe() for two "earlytimer" devices, these will be the
* clockevents and clocksource devices respectively. In the event
... |
#ifndef _ASM_S390_CRW_H
#define _ASM_S390_CRW_H
#include <linux/types.h>
struct crw {
__u32 res1 : 1; /* reserved zero */
__u32 slct : 1; /* solicited */
__u32 oflw : 1; /* overflow */
__u32 chn : 1; /* chained */
__u32 rsc : 4; /* reporting source code */
__u32 anc : 1; /* ancillary repo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.