代码搜索结果
找到约 33,168 项符合
Protocol 的代码
class-protocol-1.mm
/* APPLE LOCAL file mainline */
/* Check Class types */
/* Author: David Ayers */
/* { dg-do compile } */
#include
#include
@protocol My
class-protocol-1.m
/* Check Class types */
/* Author: David Ayers */
/* { dg-do compile } */
#include
#include
@protocol MyProto1
+(void)doItClass1;
-(void
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.m
@protocol Foo
- (void)foo;
@end
@interface Foo_c
{
}
- (void)foo;
@end
@implementation Foo_c
- (void)foo
{
}
@end
int main (void)
{
return 0;
}
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
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 ([@
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
protocol
#
# IP protocol numbers and names
#
0 reserved # IPv4, pseudo protocol number
1 icmp # internet control message
2 igmp # internet group managemen
protocol.java
package com.j2medev.chapter5;
public class Protocol {
public static final int SINGUP = 101;
public static final int QUIT = 102;
public static final int FULL = 103;
public
protocol.java
package com.j2medev.chapter5;
public class Protocol {
public static final int SINGUP = 101;
public static final int QUIT = 102;
public static final int FULL = 103;
public