Tabnine Logo
CGlobalDataFactory.forSymbol
Code IndexAdd Tabnine to your IDE (free)

How to use
forSymbol
method
in
com.oracle.svm.core.c.CGlobalDataFactory

Best Java code snippets using com.oracle.svm.core.c.CGlobalDataFactory.forSymbol (Showing top 2 results out of 315)

origin: com.oracle.substratevm/svm

public CGlobalDataInfo addOrLookupMethod(ResolvedJavaMethod method) {
  if (method.getAnnotation(NodeIntrinsic.class) != null || method.getAnnotation(Word.Operation.class) != null) {
    return null;
  }
  return nameToFunction.computeIfAbsent(linkageName(method), symbolName -> {
    CGlobalData<CFunctionPointer> linkage = CGlobalDataFactory.forSymbol(symbolName);
    return CGlobalDataFeature.singleton().registerAsAccessed(linkage);
  });
}
origin: com.oracle.substratevm/library-support

public CGlobalDataInfo getBuiltInAddress() {
  assert this.isBuiltInFunction();
  if (builtInAddress == null) {
    CGlobalData<CFunctionPointer> linkage = CGlobalDataFactory.forSymbol(this.getShortName());
    builtInAddress = CGlobalDataFeature.singleton().registerAsAccessed(linkage);
  }
  return builtInAddress;
}
com.oracle.svm.core.cCGlobalDataFactoryforSymbol

Javadoc

Create a reference to the symbol with the specified name. Calling CGlobalData#get()on the returned object at runtime returns the referenced symbol's address.

Popular methods of CGlobalDataFactory

  • createBytes
    Same as #createBytes(Supplier), and additionally creates a symbol with the provided name for the all
  • createCString
    Same as #createCString(String), and additionally creates a symbol with the provided name for the all
  • createWord
    Same as #createWord(WordBase), and additionally creates a symbol with the provided name for the allo

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now