会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 12. 发明授权
    • Dynamically typed unsafe variance
    • 动态类型不安全差异
    • US07694274B2
    • 2010-04-06
    • US11193692
    • 2005-07-29
    • Erik MeijerAnders HejlsbergMatthew J. WarrenLuca BolognesePeter A. HallamGary S. Katzenberger
    • Erik MeijerAnders HejlsbergMatthew J. WarrenLuca BolognesePeter A. HallamGary S. Katzenberger
    • G06F9/44G06F9/45
    • G06F9/44589G06F9/45516
    • A program execution engine that facilitates generic type variance verification is provided. The execution engine receives a program executable in the form of intermediate language (IL). The program executable can be based on code that includes expression(s) with generic type(s) which have been identified as requiring variance verification (e.g., covariance and/or contra-variance). The execution engine includes a variance verification component that dynamically determines whether value(s) associated with the generic type(s) identified as requiring variance verification comply with the particular variance verification requirement. The variance verification component can provide error information (e.g., throw an exception), if the specified variance is not safely compliant. Variance verification can be based on static checking which places the burden on a source language compiler to emit the run-time checks in intermediate language (IL), if run-time checked variance is required. Additionally, language(s) that do not support variance can treat generic type(s) as non-variant.
    • 提供了促进通用类型方差验证的程序执行引擎。 执行引擎以中间语言(IL)的形式接收可执行的程序。 程序可执行程序可以基于包括已经被识别为需要方差验证(例如协方差和/或反差)的通用类型的表达式的代码。 执行引擎包括方差验证组件,其动态地确定与被识别为需要方差验证的通用类型相关联的值是否符合特定方差验证要求。 方差验证组件可以提供错误信息(例如,抛出异常),如果指定的方差不能安全地符合。 方差验证可以基于静态检查,如果需要运行时检查方差,那么将源语言编译器的负担放在中间语言(IL)中发出运行时检查。 另外,不支持差异的语言可以将通用类型视为非变体。