代码搜索:getClass

找到约 825 项符合「getClass」的源代码

代码结果 825
www.eeworm.com/read/154165/11984813

hpp q_label.hpp

/*########################################################### # # # 类 名 称:Q_Label # # 类 定 义:标签类,实现文
www.eeworm.com/read/162614/5522827

mm encode-6.mm

/* Encoding tests for ObjC class layouts. */ /* Contributed by Ziemowit Laski . */ /* { dg-options "-lobjc" } */ /* { dg-do run } */ #include #ifdef __NEXT_RUNTIME
www.eeworm.com/read/162614/5522972

m zero-link-1.m

/* Check if the '-fzero-link' flag correctly emits an objc_getClass() call. */ /* Contributed by Ziemowit Laski . */ /* { dg-options "-fnext-runtime -fzero-link" } */ /* { dg-do com
www.eeworm.com/read/379468/2673572

java golfball.java

class Golfball { //As before... public boolean equals(Object obj) { if (this == obj) return true; if (obj != null && getClass() == obj.getClass()) { Golfball
www.eeworm.com/read/162614/5522908

m zero-link-2.m

/* Check if the '-fno-zero-link' flag correctly _omits_ an objc_getClass() call. */ /* Contributed by Ziemowit Laski . */ /* { dg-options "-fnext-runtime -fno-zero-link" } */ /* { d
www.eeworm.com/read/379468/2673569

java golfball.java

class Golfball { //As before... public boolean equals(Object obj) { if (this == obj) return true; if (obj != null && getClass() == obj.getClass()) { Golfball g
www.eeworm.com/read/162614/5522830

mm cxx-ivars-3.mm

// Check if ObjC classes with non-POD C++ ivars are specially marked in the metadata. // { dg-do run { target *-*-darwin* } } // { dg-options "-fobjc-call-cxx-cdtors -fnext-runtime" } #include
www.eeworm.com/read/226285/4786238

java main.java

class Main { static void printIsInstance(Object a, Object b) { // Prints b instanceof a.getClass(). System.out.println(a.getClass().isInstance(b)); } public static v
www.eeworm.com/read/249104/4456864

java~4~ msi865pe.java~4~

package computerworld; public class MSI865PE extends MainBoard { public String AttachCPU(CPU cpu) { if(cpu.getClass().toString()!="computerworld.Intel") { return this.getClass().
www.eeworm.com/read/249104/4456833

java~3~ msi865pe.java~3~

package computerworld; public class MSI865PE extends MainBoard { public String AttachCPU(CPU cpu) { if(cpu.getClass().toString()!="computerworld.Intel") { return this.getClass().toStri