代码搜索:Method
找到约 10,000 项符合「Method」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5522850
mm method-5.mm
/* Do not warn about "slightly" mismatched method signatures if
-Wstrict-selector-match is off. */
/* { dg-do compile } */
/* { dg-options "-Wno-strict-selector-match" } */
#include
www.eeworm.com/read/162614/5522855
mm method-19.mm
/* 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 must be considered. */
/* Author
www.eeworm.com/read/162614/5522858
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/162614/5522861
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/162614/5522885
m method-15.m
/* Test if prior method lookup at method @implementation time is not
overly aggressive, leading to methods being found in other classes. */
/* Author: Ziemowit Laski . */
/* {
www.eeworm.com/read/162614/5522888
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/162614/5522893
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)
www.eeworm.com/read/162614/5522901
m method-2.m
/* Test for lookup of class (factory) methods. */
/* Author: Ziemowit Laski . */
/* { dg-do compile } */
@interface MyBase
- (void) rootInstanceMethod;
@end
@interface MyInterme
www.eeworm.com/read/162614/5522906
m method-4.m
/* Check if class references (generated for the NeXT runtime) are appropriately
folded. This test is safe to run on all targets. */
/* Author: Ziemowit Laski . */
/* { dg-opti
www.eeworm.com/read/162614/5522913
m method-7.m
/* Check if finding multiple signatures for a method is handled gracefully. */
/* Author: Ziemowit Laski */
/* { dg-do compile } */
/* { dg-options "-Wstrict-selector-match" } *