代码搜索结果
找到约 10,000 项符合
Protocol 的代码
ip_conntrack_protocol.h
/* Header for use in defining a given protocol for connection tracking. */
#ifndef _IP_CONNTRACK_PROTOCOL_H
#define _IP_CONNTRACK_PROTOCOL_H
#include
struct ip_c
class-protocol-1.mm
/* Check Class types */
/* Author: David Ayers */
/* { dg-do compile } */
#include
#include
@protocol MyProto1
+(void)doItClass1;
-(voi
class-protocol-1.m
/* Check Class types */
/* Author: David Ayers */
/* { dg-do compile } */
#include
#include
@protocol MyProto1
+(void)doItClass1;
-(void
formal_protocol-6.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-2.m
/* Contributed by Nicola Pero - Fri Jun 4 03:16:17 BST 2004 */
/* Test that protocols with different names are different. */
#include
@protocol Foo1
- (void)foo1;
@end
@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 ([@