代码搜索:Method

找到约 10,000 项符合「Method」的源代码

代码结果 10,000
www.eeworm.com/read/165810/5477226

cmp foreach-method.cmp

Foreach with a method. This is ArrayList element 1. This is ArrayList element 2. This is ArrayList element 3. This is ArrayList element 4.
www.eeworm.com/read/162614/5522735

mm method-16.mm

/* 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/162614/5522738

mm method-2.mm

/* 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/5522740

mm method-6.mm

/* The following should NOT generate "may not respond to" warnings, since a forward-declared @class (instance) should be treated like a 'Class') ('id'). */ /* { dg-do compile } */ #include
www.eeworm.com/read/162614/5522741

mm method-12.mm

/* Check that sending messages to variables of type 'Class' does not involve instance methods, unless they reside in root classes. */ /* Author: Ziemowit Laski */ /* { dg-options
www.eeworm.com/read/162614/5522743

mm method-17.mm

/* 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/162614/5522759

mm method-18.mm

/* Contributed by Igor Seleznev . */ /* This used to be broken. */ #include @interface A + (A *)currentContext; @end @interface B + (B *)currentContext; @end int mai
www.eeworm.com/read/162614/5522761

mm method-14.mm

/* 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/5522764

mm method-7.mm

/* Check if sending messages to "underspecified" objects is handled gracefully. */ /* Author: Ziemowit Laski . */ /* { dg-do compile } */ @class UnderSpecified; typedef struct No
www.eeworm.com/read/162614/5522766

mm method-9.mm

/* Test for lookup of class (factory) methods. */ /* Author: Ziemowit Laski . */ /* { dg-do compile } */ @interface MyBase - (void) rootInstanceMethod; @end @interface MyInterme