assertion checking 中文意思是什麼

assertion checking 解釋
斷言檢查 用戶在程序中嵌入的斷言的檢查。

  1. For instance, the following syntax enables assertion checking for the

    例如,下面的語法對
  2. Now, run the program with assertion checking enabled

    現在,請帶有啟用斷言檢查運行該程序:
  3. For instance, the following syntax will enable assertion checking for the

    例如,下面的語法將對
  4. Option, to enable assertion checking

    選項來啟用斷言檢查。
  5. Running the program with assertion checking enabled produces the following error report

    帶啟用斷言檢查運行程序產生下面的錯誤報告:
  6. Because assertion checking is disabled by default no assertion error is detected

    由於在預設情況下禁用了斷言檢查,因此不會檢測到任何斷言錯誤。
  7. The following simple example walks you through the necessary steps to add assertion checking to your program

    下面的簡單示例向您介紹了向程序中添加斷言檢查的一些必要步驟。
  8. Assertion checking is disabled by default, so you ll also have to explicitly enable this facility at run time

    預設情況下,會禁用斷言檢查,因此在運行時您也要顯式地啟用這一功能。
  9. Assertion checking is like exception handling, but no exception is thrown when an assertion fails. instead, an

    斷言檢查就象異常處理,但是當斷言失敗時,卻不會拋出異常,而會拋出一個
  10. Discusses assertion statements, how they work, the benefits of using them catching logic errors, checking results of an operation, and testing error conditions, their interaction with

    討論斷言語句,包括它們的工作方式,使用它們的好處(捕捉邏輯錯誤、檢查操作的結果和測試錯誤情況) ,它們與
  11. In addition to enabling assertion checking from the command line, you can also programmatically enable or disable checking

    除了從命令行啟用斷言檢查之外,您也可以通過編程啟用(或禁用)檢查。
  12. If you want to enable assertion checking for a whole set of packages but not for a class or package tree, that s where the

    如果希望對包的整個集合啟用斷言檢查,而不是某個類或包(樹)啟用斷言檢查,則
  13. If a method on the call stack denies permission a, a stack walk checking for permission a will fail unless a valid assertion is found on the stack between the method doing the denial and the method that initiated the check for permission a. see also

    如果調用堆棧上的方法拒絕權限a ,則針對權限a的堆棧步檢查將會失敗,除非在執行拒絕的方法和啟動對權限a進行檢查的方法之間的椎棧上找到有效的斷言。請參見:
分享友人