Method and apparatus for dimensional analysis encoded in metatypes and generics
    1.
    发明授权
    Method and apparatus for dimensional analysis encoded in metatypes and generics 有权
    以元模式和仿制药编码的尺寸分析方法和装置

    公开(公告)号:US07530051B1

    公开(公告)日:2009-05-05

    申请号:US11034636

    申请日:2005-01-13

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F8/10 G06F8/24 G06F8/437

    摘要: In general, in one aspect, the invention relates to a method for integrating dimensional analysis in a program comprising defining a specific dimension class within the program, wherein the specific dimension class is an instance of the dimension meta-class, defining an instantiation of a unit class within the program, wherein the instantiation of the unit class comprises the specific dimension class as a type parameter associated with the instantiation of the unit class, defining a method within the program using the instantiation of the unit class and the specific dimension class, and compiling the program to generate an executable code corresponding to the program, wherein the program is written in an object-oriented language.

    摘要翻译: 一般来说,一方面,本发明涉及一种用于在程序中整合维度分析的方法,包括在程序内定义特定维度类别,其中特定维度类是维度元类的实例,定义一个 单元类的实例化,其中单元类的实例化将特定维类作为与单元类的实例相关联的类型参数,使用单元类和特定尺寸类的实例来定义程序中的方法, 以及编译所述程序以生成与所述程序相对应的可执行代码,其中所述程序以面向对象语言编写。

    Fast dispatch predicate for overloaded functions with generic type hierarchies that lack contravariance
    2.
    发明授权
    Fast dispatch predicate for overloaded functions with generic type hierarchies that lack contravariance 有权
    用于重载函数的快速调度谓词,具有缺乏对角线的泛型类型层次结构

    公开(公告)号:US08843887B2

    公开(公告)日:2014-09-23

    申请号:US13601730

    申请日:2012-08-31

    IPC分类号: G06F9/44

    CPC分类号: G06F9/449

    摘要: The disclosed embodiments provide a system that facilitates the development and execution of a software program. During runtime of the software program, the system obtains a function call associated with an overloaded function and a generic type hierarchy that lacks contravariance. Next, the system determines an applicability of an implementation of the overloaded function to the function call. Finally, the system selects the implementation for invocation by the function call based on the determined applicability and a partial order of implementations for the overloaded function.

    摘要翻译: 所公开的实施例提供了便于开发和执行软件程序的系统。 在软件程序的运行期间,系统获得与重载功能相关联的功能调用和缺乏对角线的通用类型层次结构。 接下来,系统确定重载函数的实现对函数调用的适用性。 最后,系统根据确定的适用性和重载功能的部分实现顺序选择函数调用的实现。

    FAST DISPATCH PREDICATE FOR OVERLOADED FUNCTIONS WITH GENERIC TYPE HIERARCHIES THAT LACK CONTRAVARIANCE
    3.
    发明申请
    FAST DISPATCH PREDICATE FOR OVERLOADED FUNCTIONS WITH GENERIC TYPE HIERARCHIES THAT LACK CONTRAVARIANCE 有权
    用于具有一般类型分类的超载功能的快速分配预测

    公开(公告)号:US20140068555A1

    公开(公告)日:2014-03-06

    申请号:US13601730

    申请日:2012-08-31

    IPC分类号: G06F9/44

    CPC分类号: G06F9/449

    摘要: The disclosed embodiments provide a system that facilitates the development and execution of a software program. During runtime of the software program, the system obtains a function call associated with an overloaded function and a generic type hierarchy that lacks contravariance. Next, the system determines an applicability of an implementation of the overloaded function to the function call. Finally, the system selects the implementation for invocation by the function call based on the determined applicability and a partial order of implementations for the overloaded function.

    摘要翻译: 所公开的实施例提供了便于开发和执行软件程序的系统。 在软件程序的运行期间,系统获得与重载功能相关联的功能调用和缺乏对角线的通用类型层次结构。 接下来,系统确定重载函数的实现对函数调用的适用性。 最后,系统根据确定的适用性和重载功能的部分实现顺序选择函数调用的实现。

    Dispatch predicate for overloaded functions using type intervals
    4.
    发明授权
    Dispatch predicate for overloaded functions using type intervals 有权
    使用类型间隔的重载功能的调度谓词

    公开(公告)号:US08898632B2

    公开(公告)日:2014-11-25

    申请号:US13601745

    申请日:2012-08-31

    IPC分类号: G06F9/44

    CPC分类号: G06F9/4492

    摘要: The disclosed embodiments provide a system that facilitates the development and execution of a software program. During runtime of the software program, the system obtains a function call associated with an overloaded function and a generic type hierarchy. Next, the system determines an applicability of an implementation of the overloaded function to the function call. Finally, the system selects the implementation for invocation by the function call based on the determined applicability and a partial order of implementations for the overloaded function.

    摘要翻译: 所公开的实施例提供了便于开发和执行软件程序的系统。 在软件程序的运行期间,系统获得与重载函数和通用类型层次结构相关联的函数调用。 接下来,系统确定重载函数的实现对函数调用的适用性。 最后,系统根据确定的适用性和重载功能的部分实现顺序选择函数调用的实现。

    DISPATCH PREDICATE FOR OVERLOADED FUNCTIONS USING TYPE INTERVALS
    5.
    发明申请
    DISPATCH PREDICATE FOR OVERLOADED FUNCTIONS USING TYPE INTERVALS 有权
    使用类型间隔预测过载功能

    公开(公告)号:US20140068556A1

    公开(公告)日:2014-03-06

    申请号:US13601745

    申请日:2012-08-31

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F9/4492

    摘要: The disclosed embodiments provide a system that facilitates the development and execution of a software program. During runtime of the software program, the system obtains a function call associated with an overloaded function and a generic type hierarchy. Next, the system determines an applicability of an implementation of the overloaded function to the function call. Finally, the system selects the implementation for invocation by the function call based on the determined applicability and a partial order of implementations for the overloaded function.

    摘要翻译: 所公开的实施例提供了便于开发和执行软件程序的系统。 在软件程序的运行期间,系统获得与重载函数和通用类型层次结构相关联的函数调用。 接下来,系统确定重载函数的实现对函数调用的适用性。 最后,系统根据确定的适用性和重载功能的部分实现顺序选择函数调用的实现。

    Parallel nested transactions
    6.
    发明授权
    Parallel nested transactions 有权
    并行嵌套事务

    公开(公告)号:US08473950B2

    公开(公告)日:2013-06-25

    申请号:US12490287

    申请日:2009-06-23

    IPC分类号: G06F9/46 G06F17/00

    CPC分类号: G06F9/466

    摘要: A system for managing transactions, including a first reference cell associated with a starting value for a first variable, a first thread having an outer atomic transaction including a first instruction to write a first value to the first variable, a second thread, executing in parallel with the first thread, having an inner atomic transaction including a second instruction to write a second value to the first variable, where the inner atomic transaction is nested within the outer atomic transaction, a first value node created by the outer atomic transaction and storing the first value in response to execution of the first instruction, and a second value node created by the inner atomic transaction, storing the second value in response to execution of the second instruction, and having a previous node pointer referencing the first value node.

    摘要翻译: 一种用于管理事务的系统,包括与第一变量的起始值相关联的第一参考单元,具有包含向第一变量写入第一值的第一指令的外部原子事务的第一线程,并行执行的第二线程 具有第一线程,具有包含向第一变量写入第二值的第二指令的内部原子事务,其中内部原子事务嵌套在外部原子事务内,由外部原子事务创建的第一个值节点并存储 响应于第一指令的执行的第一值和由内部原子事务创建的第二值节点,响应于第二指令的执行存储第二值,并且具有引用第一值节点的先前节点指针。

    PARALLEL NESTED TRANSACTIONS
    7.
    发明申请
    PARALLEL NESTED TRANSACTIONS 有权
    并行交易

    公开(公告)号:US20100325630A1

    公开(公告)日:2010-12-23

    申请号:US12490287

    申请日:2009-06-23

    IPC分类号: G06F9/46

    CPC分类号: G06F9/466

    摘要: A system for managing transactions, including a first reference cell associated with a starting value for a first variable, a first thread having an outer atomic transaction including a first instruction to write a first value to the first variable, a second thread, executing in parallel with the first thread, having an inner atomic transaction including a second instruction to write a second value to the first variable, where the inner atomic transaction is nested within the outer atomic transaction, a first value node created by the outer atomic transaction and storing the first value in response to execution of the first instruction, and a second value node created by the inner atomic transaction, storing the second value in response to execution of the second instruction, and having a previous node pointer referencing the first value node.

    摘要翻译: 一种用于管理事务的系统,包括与第一变量的起始值相关联的第一参考单元,具有包含向第一变量写入第一值的第一指令的外部原子事务的第一线程,并行执行的第二线程 具有第一线程,具有包含向第一变量写入第二值的第二指令的内部原子事务,其中内部原子事务嵌套在外部原子事务内,由外部原子事务创建的第一个值节点并存储 响应于第一指令的执行的第一值和由内部原子事务创建的第二值节点,响应于第二指令的执行存储第二值,并且具有引用第一值节点的先前节点指针。

    Code preparation technique employing lock-free pointer operations
    9.
    发明授权
    Code preparation technique employing lock-free pointer operations 有权
    采用无锁指针操作的代码准备技术

    公开(公告)号:US07805467B2

    公开(公告)日:2010-09-28

    申请号:US11343678

    申请日:2006-01-30

    IPC分类号: G06F12/00

    摘要: A methodology has been discovered for transforming garbage collection-dependent algorithms, shared object implementations and/or concurrent software mechanisms into a form that does not presume the existence of an independent, or execution environment provided, garbage collector. Algorithms, shared object implementations and/or mechanisms designed or transformed using techniques described herein provide explicit reclamation of storage using lock-free pointer operations. Transformations can be applied to lock-free algorithms and shared object implementations and preserve lock-freedom of such algorithms and implementations. As a result, existing and future lock-free algorithms and shared object implementations that depend on a garbage-collected execution environment can be exploited in environments that do not provide garbage collection. Furthermore, algorithms and shared object implementations that employ explicit reclamation of storage using lock-free pointer operations such as described herein may be employed in the implementation of a garbage collector itself.

    摘要翻译: 已经发现了一种方法,用于将垃圾回收依赖算法,共享对象实现和/或并发软件机制转换为不假定存在独立或执行环境(垃圾收集器)的形式。 使用本文描述的技术设计或变换的算法,共享对象实现和/或机制使用无锁指针操作来提供存储的显式回收。 转换可以应用于无锁算法和共享对象实现,并保持这种算法和实现的锁定自由度。 因此,依赖于垃圾回收执行环境的现有和将来的无锁算法和共享对象实现可以在不提供垃圾回收的环境中被利用。 此外,使用如本文所述的无锁定指针操作的使用显式回收存储的算法和共享对象实现可以用于实现垃圾收集器本身。

    Method and apparatus for expressing and checking relationships between types
    10.
    发明授权
    Method and apparatus for expressing and checking relationships between types 有权
    用于表达和检查类型之间的关系的方法和装置

    公开(公告)号:US08225294B2

    公开(公告)日:2012-07-17

    申请号:US11412662

    申请日:2006-04-27

    IPC分类号: G06F9/44

    CPC分类号: G06F8/437

    摘要: One embodiment of the present invention provides a system for generating executable code. During operation, the system receives source code, wherein the source code can include declarations for types and operations, wherein the type declarations may be parameterized, and wherein the source code may specify subtyping relationships between declared types. Next, the system compiles or interprets the source code to produce executable code, wherein the type parameters may be instantiated by different types during execution, and wherein the result of executing operations may depend upon the instantiations of the type parameters. While compiling or interpreting the source code, the system checks the types and operations in the source code to ensure that the executable code generated is type-safe, and hence will not generate type errors during execution.

    摘要翻译: 本发明的一个实施例提供了一种用于生成可执行代码的系统。 在操作期间,系统接收源代码,其中源代码可以包括类型和操作的声明,其中类型声明可以被参数化,并且其中源代码可以指定声明类型之间的子类型关系。 接下来,系统编译或解释源代码以产生可执行代码,其中类型参数可以在执行期间由不同类型实例化,并且其中执行操作的结果可以取决于类型参数的实例。 在编译或解释源代码时,系统将检查源代码中的类型和操作,以确保生成的可执行代码是类型安全的,因此在执行期间不会生成类型错误。