program assertion 中文意思是什麼

program assertion 解釋
請參閱程序斷言
  • program : 按遺傳密碼工作
  • assertion : n. 1. 主張,斷言,確言。2. 維護,堅持。
  1. Now, run the program with assertion checking enabled

    現在,請帶有啟用斷言檢查運行該程序:
  2. Running the program with assertion checking enabled produces the following error report

    帶啟用斷言檢查運行程序產生下面的錯誤報告:
  3. The following simple example walks you through the necessary steps to add assertion checking to your program

    下面的簡單示例向您介紹了向程序中添加斷言檢查的一些必要步驟。
  4. An assertion statement specifies a condition that you expect to hold true at some particular point in your program

    斷言語句指定在程序的某些特定點應為真的條件。
  5. Therefore, assertion statements have zero overhead in your final release program ; you can use them liberally in your code without affecting the performance of your release version and without having to use

    因此,斷言語句在最終發布程序中系統開銷為零;可以在代碼中大量使用斷言語句,而不影響「 release 」版本的性能,並且不必使用
  6. This is just a short list of the types of program properties that can be expressed in a traditional assertion language - properties that any programmer would like in code

    這只是可以用傳統斷言語言表示的程序特性類型的簡短列表所有程序員都希望在代碼中包含的特性:
  7. Let s take a quick look at three categories of common assertion properties common, but which don t offer us the full coverage we d like, compare them with the types of program properties that can be expressed in a traditional assertion language, and examine assertion properties that are necessary for a multithreading context but are impossible to express as conventional assertions

    讓我們快速瀏覽三種類型常見的斷言特性(雖然是常見的,但它們沒有提供我們所需的完整范圍) ,將它們與可以用傳統斷言語言表示的程序特性的類型進行比較,並檢查多線程上下文所必需的,但不可能表示成常規斷言的斷言特性。
分享友人