代码搜索结果
找到约 10,000 项符合
Protocol 的代码
protocol-isequal-4.m
/* Contributed by David Ayers - Fri Jun 4 03:16:17 BST 2004 */
/* Test that a protocol is not equal to something which is not a protocol. */
#include
@protocol Foo
- (void)foo;
@e
formal_protocol-2.m
/* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
#include
#include
/* Test defining a protocol, a class adopting it, and using an object
of type `id
formal_protocol-1.m
/* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
#include
#include
/* Tests defining a protocol and a class adopting it */
@protocol Enabling
- (BOOL) is
formal_protocol-5.m
/* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
#include
#include
/* Test defining a protocol, and accessing it using @protocol */
@protocol Evaluatin
protocol-isequal-3.m
/* Contributed by Nicola Pero - Fri Jun 4 03:16:17 BST 2004 */
/* Test that a protocol is not equal to nil. */
#include
@protocol Foo
- (void)foo;
@end
int main (void)
{
if ([@
formal_protocol-4.m
/* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
#include
#include
/* Test defining a protocol, a class adopting it in a category */
@protocol Evaluating
formal_protocol-7.m
/* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
#include
#include
#include
/* Test defining two protocols, one incorporating the other
protocol-isequal-1.m
/* Contributed by Nicola Pero - Fri Jun 4 03:16:17 BST 2004 */
/* Test that a protocol is equal to itself. */
#include
@protocol Foo
- (void)foo;
@end
int main (void)
{
Protoco
formal_protocol-3.m
/* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
#include
#include
/* Test defining two protocol, a class adopting both of them,
and using an object o
ip_nat_protocol.h
/* Header for use in defining a given protocol. */
#ifndef _IP_NAT_PROTOCOL_H
#define _IP_NAT_PROTOCOL_H
#include
#include
struct iphdr;
struct ip_nat_range;
struct ip_