代码搜索:Method
找到约 10,000 项符合「Method」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4676522
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/233448/4676527
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/233448/4676534
m method-7.m
/* APPLE LOCAL file mainline */
/* Check if finding multiple signatures for a method is handled gracefully. Author: Ziemowit Laski */
/* { dg-do compile } */
#include
www.eeworm.com/read/233448/4676547
m method-11.m
/* Ensure that we indeed cannot obtain the value of a message send
if the chosen method signature returns 'void'. There used to
exist a cheesy hack that allowed it. While at it, check that
www.eeworm.com/read/233448/4676554
m method-9.m
/* 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/4676559
m method-6.m
/* APPLE LOCAL file mainline */
/* Check that sending messages to variables of type 'Class' does not involve instance methods, unless they reside in root classes. */
/* Author: Ziemowit Laski
www.eeworm.com/read/233448/4676560
m method-10.m
/* When there is only one candidate method available, make sure the
compiler uses its argument/return types when constructing the
message sends (so that proper C/C++ argument conversions may
www.eeworm.com/read/233448/4676573
m method-14.m
/* Test if context-sensitive "in", "out", "byref", etc., qualifiers can be
used as method selectors. */
/* Author: Ziemowit Laski . */
/* { dg-do compile } */
@interface Foo
-
www.eeworm.com/read/233448/4676574
m method-17.m
/* APPLE LOCAL file mainline */
/* Test for spurious "may or may not return a value" warnings. */
/* { dg-do compile } */
/* { dg-options "-Wextra" } */
#include
@interface Foo: Ob
www.eeworm.com/read/233448/4676581
m method-12.m
/* Contributed by Igor Seleznev . */
/* This used to be broken. */
#include
@interface A
+ (A *)currentContext;
@end
@interface B
+ (B *)currentContext;
@end
int mai