Patent · US Active

Determining different resolution states for a parametric constant in different contexts

US11972308B2 · kind B2 · utility

2Cited by
4References
14Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJan 7, 2022
Grant dateApr 30, 2024
Priority date
Expiry dateMay 1, 2042

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/289
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A parametric constant resolves to different values in different contexts, but a single value within a particular context. An anchor constant is a parametric constant that allows for a degree of parametricity for an API point. The context for the anchor constant is provided by a caller to the API point. The anchor constant resolves to an anchor value that records specialization decisions for the API point within the provided context. Specialization decisions may include type restrictions, memory layout, and/or memory size. The anchor value together with an unspecialized type of the API point result in a specialized type of the API point. A class object representing the specialized type is created. The class object may be accessible to the caller, but the full value of the anchor value is not accessible to the caller. The API point is executed based on the specialization decisions embodied in the anchor value.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.