代码搜索:Method
找到约 10,000 项符合「Method」的源代码
代码结果 10,000
www.eeworm.com/read/240162/4585248
m va_method.m
/* Contributed by Nicola Pero - Thu Mar 8 16:27:46 CET 2001 */
#include
#include
#include
/* Test method with variable number of arguments */
@interface M
www.eeworm.com/read/233448/4676291
mm method-16.mm
/* APPLE LOCAL file mainline */
/* 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
www.eeworm.com/read/233448/4676294
mm method-2.mm
/* 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/4676298
mm method-6.mm
/* APPLE LOCAL file mainline */
/* The following should NOT generate "may not respond to" warnings, since a forward-declared
@class (instance) should be treated like a 'Class') ('id'). */
/* { dg-
www.eeworm.com/read/233448/4676299
mm method-12.mm
/* 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/4676302
mm method-17.mm
/* APPLE LOCAL file mainline */
/* 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/
www.eeworm.com/read/233448/4676325
mm method-18.mm
/* APPLE LOCAL file mainline */
/* Contributed by Igor Seleznev . */
/* This used to be broken. */
#include
@interface A
+ (A *)currentContext;
@end
@interface B
+ (B
www.eeworm.com/read/233448/4676327
mm method-14.mm
/* APPLE LOCAL file mainline */
/* Check if casting the receiver type causes method lookup to succeed. This was broken
in Objective-C++. */
/* Contributed by Ziemowit Laski */
www.eeworm.com/read/233448/4676333
mm method-7.mm
/* APPLE LOCAL file mainline */
/* Check if sending messages to "underspecified" objects is handled gracefully. */
/* Author: Ziemowit Laski . */
/* { dg-do compile } */
@class Un
www.eeworm.com/read/233448/4676335
mm method-9.mm
/* APPLE LOCAL file mainline */
/* Test for lookup of class (factory) methods. */
/* Author: Ziemowit Laski . */
/* { dg-do compile } */
@interface MyBase
- (void) rootInstanceMe