代码搜索:Method

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

代码结果 10,000
www.eeworm.com/read/162614/5522924

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/162614/5522928

m method-9.m

/* Check if finding multiple signatures for a method is handled gracefully when method lookup succeeds (see also method-7.m). */ /* Contributed by Ziemowit Laski */ /* { dg-do
www.eeworm.com/read/162614/5522933

m method-6.m

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

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/162614/5522943

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/162614/5522944

m method-17.m

/* Test for spurious "may or may not return a value" warnings. */ /* { dg-do compile } */ /* { dg-options "-Wextra" } */ #include @interface Foo: Object - (id) meth1; - (void) meth
www.eeworm.com/read/162614/5522950

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
www.eeworm.com/read/162614/5522951

m method-16.m

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

m method-13.m

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

m method-18.m

/* Do not warn about "slightly" mismatched method signatures if -Wstrict-selector-match is off. */ /* { dg-do compile } */ /* { dg-options "-Wno-strict-selector-match" } */ #include