-
公开(公告)号:US08935686B2
公开(公告)日:2015-01-13
申请号:US13596303
申请日:2012-08-28
IPC分类号: G06F9/45
CPC分类号: G06F11/0718 , G06F8/41 , G06F9/449 , G06F11/0772
摘要: A condition detected by a virtual routine may be treated by setting an error code or raising an exception, depending on circumstances. Enhanced vtable layouts promote availability of both error-ID-based and exception-based virtual routines, while maintaining compatibility. Compilers treat virtual routines based on their circumstances. One enhanced vtable includes error-ID-based routine pointers in a COM-layout-compatible portion and exception-based routine pointers in an extension. For a virtual routine not overridden by a derived class, a compiler generates a direct call. For an object instance of a specific type, the compiler generates a direct exception-based call for the object's routine. For a factory-sourced object's routine, the compiler generates a virtual exception-based call. When the virtual routine belongs to a component having an enhanced vtable, the compiler may generate a virtual call using the exception-based routine pointer. Code wrappers between COM and native format may also be used.
摘要翻译: 可以根据情况通过设置错误代码或提高异常来处理由虚拟例程检测到的条件。 增强的vtable布局可以提高基于错误ID和基于异常的虚拟例程的可用性,同时保持兼容性。 编译器根据情况对虚拟例程进行处理。 一个增强的vtable在COM-layout兼容部分中包含基于错误ID的例程指针,并在扩展中包含基于异常的例程指针。 对于未被派生类覆盖的虚拟例程,编译器将生成直接调用。 对于特定类型的对象实例,编译器会为对象的例程生成直接基于异常的调用。 对于工厂来源的对象的例程,编译器生成基于虚拟异常的调用。 当虚拟例程属于具有增强型vtable的组件时,编译器可以使用基于异常的例程指针生成虚拟调用。 也可以使用COM和本机格式之间的代码包装。
-
公开(公告)号:US20140068573A1
公开(公告)日:2014-03-06
申请号:US13596303
申请日:2012-08-28
CPC分类号: G06F11/0718 , G06F8/41 , G06F9/449 , G06F11/0772
摘要: A condition detected by a virtual routine may be treated by setting an error code or raising an exception, depending on circumstances. Enhanced vtable layouts promote availability of both error-ID-based and exception-based virtual routines, while maintaining compatibility. Compilers treat virtual routines based on their circumstances. One enhanced vtable includes error-ID-based routine pointers in a COM-layout-compatible portion and exception-based routine pointers in an extension. For a virtual routine not overridden by a derived class, a compiler generates a direct call. For an object instance of a specific type, the compiler generates a direct exception-based call for the object's routine. For a factory-sourced object's routine, the compiler generates a virtual exception-based call. When the virtual routine belongs to a component having an enhanced vtable, the compiler may generate a virtual call using the exception-based routine pointer. Code wrappers between COM and native format may also be used.
摘要翻译: 可以根据情况通过设置错误代码或提高异常来处理由虚拟例程检测到的条件。 增强的vtable布局可以提高基于错误ID和基于异常的虚拟例程的可用性,同时保持兼容性。 编译器根据情况对虚拟例程进行处理。 一个增强的vtable在COM-layout兼容部分中包含基于错误ID的例程指针,并在扩展中包含基于异常的例程指针。 对于未被派生类覆盖的虚拟例程,编译器将生成直接调用。 对于特定类型的对象实例,编译器会为对象的例程生成直接基于异常的调用。 对于工厂来源的对象的例程,编译器生成基于虚拟异常的调用。 当虚拟例程属于具有增强型vtable的组件时,编译器可以使用基于异常的例程指针生成虚拟调用。 也可以使用COM和本机格式之间的代码包装。
-
公开(公告)号:US08949103B2
公开(公告)日:2015-02-03
申请号:US12433908
申请日:2009-05-01
申请人: Deon Brewis , Durham Goode , John Joseph Jordan , Sadi Khan
发明人: Deon Brewis , Durham Goode , John Joseph Jordan , Sadi Khan
CPC分类号: G06F11/3612 , G06F11/3692 , G06F11/3696
摘要: A system and method for facilitating simulation of a computer program. A program representation is generated from a computer program. A simulation of the program is performed. Simulation may include applying heuristics to determine program flow for selected instructions, such as a branch instruction or a loop instruction. Simulation may also include creating imaginary objects as surrogates for real objects, when program code to create real objects is restricted, or fields of the objects are unavailable or uncertain, or for other reasons. Data descriptive of the simulation is inserted into the program representation. A visualizer may retrieve the program representation and generate a visualization that shows sequence flows resulting from the simulation.
摘要翻译: 一种便于模拟计算机程序的系统和方法。 从计算机程序生成程序表示。 执行程序的模拟。 模拟可以包括应用启发式来确定所选指令的程序流程,例如分支指令或循环指令。 仿真还可以包括创建虚拟对象作为真实对象的代理,当创建真实对象的程序代码受到限制时,或者对象的字段不可用或不确定,或者出于其他原因。 将描述模拟的数据插入到程序表示中。 可视化程序可以检索程序表示并生成显示由仿真产生的序列流的可视化。
-
公开(公告)号:US20100281240A1
公开(公告)日:2010-11-04
申请号:US12433908
申请日:2009-05-01
申请人: Deon Brewis , Durham Goode , John Joseph Jordan , Sadi Khan
发明人: Deon Brewis , Durham Goode , John Joseph Jordan , Sadi Khan
CPC分类号: G06F11/3612 , G06F11/3692 , G06F11/3696
摘要: A system and method for facilitating simulation of a computer program. A program representation is generated from a computer program. A simulation of the program is performed. Simulation may include applying heuristics to determine program flow for selected instructions, such as a branch instruction or a loop instruction. Simulation may also include creating imaginary objects as surrogates for real objects, when program code to create real objects is restricted, or fields of the objects are unavailable or uncertain, or for other reasons. Data descriptive of the simulation is inserted into the program representation. A visualizer may retrieve the program representation and generate a visualization that shows sequence flows resulting from the simulation.
摘要翻译: 一种便于模拟计算机程序的系统和方法。 从计算机程序生成程序表示。 执行程序的模拟。 模拟可以包括应用启发式来确定所选指令的程序流程,例如分支指令或循环指令。 仿真还可以包括创建虚拟对象作为真实对象的代理,当创建真实对象的程序代码受到限制时,或者对象的字段不可用或不确定,或者出于其他原因。 将描述模拟的数据插入到程序表示中。 可视化程序可以检索程序表示并生成显示由仿真产生的序列流的可视化。
-
公开(公告)号:US20060026289A1
公开(公告)日:2006-02-02
申请号:US11067016
申请日:2005-02-28
IPC分类号: G06F15/16
CPC分类号: H04L67/36 , H04L61/2015 , H04W76/20
摘要: A method and user interface for informing a user of the status of a network connection are provided. Conventionally, the “connected” icon in the system tray only informs the user that the computer is linked to a network medium, such as an Ethernet or wireless access point. This icon does not indicate whether a routable IP address has been obtained. In this invention, an icon is used to inform the user that the network connection is disabled, connecting, connected (routable IP address obtained), or in a warning state. The warning state indicates that a non-routable IP address (e.g. autonet address) has been obtained, which will likely be unsatisfactory to the user. However, when connected to an 802.11 ad-hoc network, or when IP status checking is disabled, a non-routable IP address is deemed acceptable, and thus the “connected” icon is displayed.
摘要翻译: 提供了一种用于向用户通知网络连接的状态的方法和用户界面。 通常,系统托盘中的“已连接”图标仅通知用户计算机被链接到诸如以太网或无线接入点之类的网络介质。 该图标不表示是否获得了可路由的IP地址。 在本发明中,图标用于通知用户网络连接被禁用,连接,连接(获得可路由的IP地址)或处于警告状态。 警告状态表示已经获得了不可路由的IP地址(例如,自动编址地址),这可能对用户不满意。 然而,当连接到802.11自组织网络时,或者当禁用IP状态检查时,不可路由的IP地址被认为是可接受的,因此显示“连接”图标。
-
-
-
-