代码搜索:Method
找到约 10,000 项符合「Method」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4676429
mm method-15.mm
/* APPLE LOCAL file mainline */
/* Check if finding multiple signatures for a method is handled gracefully when method lookup succeeds (see also method-7.m). */
/* Contributed by Ziemowit Laski
www.eeworm.com/read/233448/4676436
mm method-21.mm
/* APPLE LOCAL file mainline */
/* Test for spurious "may or may not return a value" warnings. */
/* { dg-do compile } */
/* { dg-options "-Wextra" } */
#include
@interface Foo: Obj
www.eeworm.com/read/233448/4676454
mm method-5.mm
/* APPLE LOCAL file mainline */
/* Do not warn about "slightly" mismatched method signatures if
-Wstrict-selector-match is off. */
/* { dg-do compile } */
/* { dg-options "-Wno-strict-selector-ma
www.eeworm.com/read/233448/4676459
mm method-19.mm
/* APPLE LOCAL file mainline */
/* Test if instance methods of root classes are used as class methods, if no
"real" methods are found. For receivers of type 'id' and 'Class', all
root classes m
www.eeworm.com/read/233448/4676461
m method-8.m
/* Check if casting the receiver type causes method lookup to succeed. This was broken
in Objective-C++. */
/* Contributed by Ziemowit Laski */
/* { dg-do compile } */
@inter
www.eeworm.com/read/233448/4676468
m method-3.m
/* Test for sending messages to aliased classes (and instances thereof). */
/* Author: Ziemowit Laski . */
/* { dg-options "-lobjc" } */
/* { dg-do run } */
#include
www.eeworm.com/read/233448/4676496
m method-20.m
/* APPLE LOCAL file 4209854 */
/* Check if array and function parameters get decayed to pointers as
they should. */
/* { dg-do run } */
/* { dg-options "-O2" } */
#include
#includ
www.eeworm.com/read/233448/4676500
m method-15.m
/* APPLE LOCAL file mainline */
/* Test if prior method lookup at method @implementation time is not
overly aggressive, leading to methods being found in other classes. */
/* Author: Ziemowit Lask
www.eeworm.com/read/233448/4676503
m method-5.m
/* Check if sending messages to "underspecified" objects is handled gracefully. */
/* Author: Ziemowit Laski . */
/* { dg-do compile } */
@class UnderSpecified;
typedef struct Not
www.eeworm.com/read/233448/4676510
m method-1.m
/* Tests of duplication. */
/* { dg-do compile } */
@interface class1
- (int) meth1;
- (void) meth1; /* { dg-error "duplicate declaration of method .\\-meth1." } */
@end
@interface class2
+ (void)